From df45a688a029c0ffab38155dd8c0bd3de57ce4cd Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 15:36:10 +0100 Subject: [PATCH 01/29] Relocating module `@kbn/canvas-plugin` --- .eslintignore | 6 +++--- .eslintrc.js | 20 +++++++++--------- .github/CODEOWNERS | 2 +- .github/codeql/codeql-config.yml | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- packages/kbn-cli-dev-mode/src/watcher.ts | 2 +- .../tasks/build_canvas_shareable_runtime.ts | 4 ++-- .../tasks/create_archives_sources_task.ts | 2 +- src/dev/precommit_hook/casing_check_config.js | 6 +++--- src/dev/storybook/aliases.ts | 2 +- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../plugins/private}/canvas/.eslintrc.json | 0 .../plugins/private}/canvas/.gitignore | 0 .../plugins/private}/canvas/CONTRIBUTING.md | 2 +- .../plugins/private}/canvas/PLUGINS.mdx | 8 +++---- .../plugins/private}/canvas/README.md | 0 .../canvas/__fixtures__/elasticsearch.js | 0 .../__fixtures__/elasticsearch_plugin.js | 0 .../canvas/__fixtures__/function_specs.ts | 0 .../private}/canvas/__fixtures__/kibana.js | 0 .../private}/canvas/__fixtures__/workpads.ts | 0 .../canvas/canvas_plugin_src/canvas_addons.ts | 0 .../elements/area_chart/index.ts | 0 .../elements/bubble_chart/index.ts | 0 .../canvas_plugin_src/elements/debug/index.ts | 0 .../elements/dropdown_filter/index.ts | 0 .../elements/filter_debug/index.ts | 0 .../elements/heatmap/index.ts | 0 .../elements/horizontal_bar_chart/index.ts | 0 .../elements/horizontal_progress_bar/index.ts | 0 .../horizontal_progress_pill/index.ts | 0 .../canvas_plugin_src/elements/image/index.ts | 0 .../canvas_plugin_src/elements/index.ts | 0 .../elements/line_chart/index.ts | 0 .../elements/markdown/index.ts | 0 .../elements/metric/index.ts | 0 .../elements/metric_vis/index.ts | 0 .../elements/metric_vis_legacy/index.ts | 0 .../canvas_plugin_src/elements/pie/index.ts | 0 .../elements/pie_vis/index.ts | 0 .../canvas_plugin_src/elements/plot/index.ts | 0 .../elements/progress_gauge/index.ts | 0 .../elements/progress_semicircle/index.ts | 0 .../elements/progress_wheel/index.ts | 0 .../elements/repeat_image/index.ts | 0 .../elements/reveal_image/index.ts | 0 .../canvas_plugin_src/elements/shape/index.ts | 0 .../canvas_plugin_src/elements/table/index.ts | 0 .../elements/tag_cloud/index.ts | 0 .../elements/time_filter/index.ts | 0 .../elements/vert_bar_chart/index.ts | 0 .../elements/vertical_progress_bar/index.ts | 0 .../elements/vertical_progress_pill/index.ts | 0 .../expression_types/embeddable.ts | 0 .../expression_types/embeddable_types.ts | 0 .../expression_types/index.ts | 0 .../functions/browser/escount.ts | 0 .../functions/browser/esdocs.ts | 0 .../functions/browser/index.ts | 0 .../functions/browser/location.ts | 0 .../functions/browser/markdown.test.js | 0 .../functions/browser/markdown.ts | 0 .../functions/browser/urlparam.ts | 0 .../common/__fixtures__/test_filters.js | 0 .../common/__fixtures__/test_pointseries.js | 0 .../common/__fixtures__/test_styles.js | 0 .../common/__fixtures__/test_tables.ts | 0 .../functions/common/all.test.js | 0 .../canvas_plugin_src/functions/common/all.ts | 0 .../functions/common/alterColumn.test.js | 0 .../functions/common/alterColumn.ts | 0 .../functions/common/any.test.js | 0 .../canvas_plugin_src/functions/common/any.ts | 0 .../functions/common/as.test.js | 0 .../canvas_plugin_src/functions/common/as.ts | 0 .../functions/common/axisConfig.ts | 0 .../functions/common/axis_config.test.js | 0 .../functions/common/case.test.js | 0 .../functions/common/case.ts | 0 .../functions/common/clear.test.js | 0 .../functions/common/clear.ts | 0 .../functions/common/columns.test.js | 0 .../functions/common/columns.ts | 0 .../functions/common/compare.test.js | 0 .../functions/common/compare.ts | 0 .../functions/common/containerStyle.ts | 0 .../functions/common/container_style.test.js | 0 .../functions/common/context.test.js | 0 .../functions/common/context.ts | 0 .../functions/common/csv.test.ts | 0 .../canvas_plugin_src/functions/common/csv.ts | 0 .../functions/common/date.test.js | 0 .../functions/common/date.ts | 0 .../functions/common/do.test.js | 0 .../canvas_plugin_src/functions/common/do.ts | 0 .../functions/common/dropdownControl.ts | 0 .../functions/common/dropdown_control.test.ts | 0 .../functions/common/eq.test.js | 0 .../canvas_plugin_src/functions/common/eq.ts | 0 .../functions/common/exactly.test.js | 0 .../functions/common/exactly.ts | 0 .../functions/common/filterrows.test.js | 0 .../functions/common/filterrows.ts | 0 .../functions/common/formatdate.test.js | 0 .../functions/common/formatdate.ts | 0 .../functions/common/formatnumber.test.js | 0 .../functions/common/formatnumber.ts | 0 .../functions/common/getCell.test.js | 0 .../functions/common/getCell.ts | 0 .../functions/common/gt.test.js | 0 .../canvas_plugin_src/functions/common/gt.ts | 0 .../functions/common/gte.test.js | 0 .../canvas_plugin_src/functions/common/gte.ts | 0 .../functions/common/head.test.js | 0 .../functions/common/head.ts | 0 .../functions/common/if.test.js | 0 .../canvas_plugin_src/functions/common/if.ts | 0 .../functions/common/index.ts | 0 .../functions/common/join_rows.test.js | 0 .../functions/common/join_rows.ts | 0 .../functions/common/lt.test.js | 0 .../canvas_plugin_src/functions/common/lt.ts | 0 .../functions/common/lte.test.js | 0 .../canvas_plugin_src/functions/common/lte.ts | 0 .../functions/common/map_center.ts | 0 .../functions/common/neq.test.js | 0 .../canvas_plugin_src/functions/common/neq.ts | 0 .../functions/common/ply.test.js | 0 .../canvas_plugin_src/functions/common/ply.ts | 0 .../functions/common/render.test.js | 0 .../functions/common/render.ts | 0 .../functions/common/replace.test.js | 0 .../functions/common/replace.ts | 0 .../functions/common/rounddate.test.js | 0 .../functions/common/rounddate.ts | 0 .../functions/common/rowCount.test.js | 0 .../functions/common/rowCount.ts | 0 .../functions/common/seriesStyle.ts | 0 .../functions/common/series_style.test.js | 0 .../functions/common/sort.test.js | 0 .../functions/common/sort.ts | 0 .../functions/common/staticColumn.test.js | 0 .../functions/common/staticColumn.ts | 0 .../functions/common/string.test.js | 0 .../functions/common/string.ts | 0 .../functions/common/switch.test.js | 0 .../functions/common/switch.ts | 0 .../functions/common/table.test.js | 0 .../functions/common/table.ts | 0 .../functions/common/tail.test.js | 0 .../functions/common/tail.ts | 0 .../functions/common/time_range.ts | 0 .../functions/common/timefilter.test.js | 0 .../functions/common/timefilter.ts | 0 .../functions/common/timefilterControl.ts | 0 .../common/timefilter_control.test.js | 0 .../functions/external/embeddable.test.ts | 0 .../functions/external/embeddable.ts | 0 .../functions/external/index.ts | 0 .../functions/external/saved_lens.test.ts | 0 .../functions/external/saved_lens.ts | 0 .../functions/external/saved_map.test.ts | 0 .../functions/external/saved_map.ts | 0 .../functions/external/saved_search.test.ts | 0 .../functions/external/saved_search.ts | 0 .../external/saved_visualization.test.ts | 0 .../functions/external/saved_visualization.ts | 0 .../functions/server/demodata.test.ts | 0 .../functions/server/demodata/ci.json | 0 .../server/demodata/demo_rows_types.ts | 0 .../server/demodata/get_demo_rows.ts | 0 .../functions/server/demodata/index.ts | 0 .../functions/server/demodata/shirts.json | 0 .../functions/server/filters.test.ts | 0 .../functions/server/filters.ts | 0 .../server/get_expression_type.test.ts | 0 .../functions/server/get_field_names.test.ts | 0 .../functions/server/index.ts | 0 .../server/is_column_reference.test.ts | 0 .../functions/server/pointseries.test.js | 0 .../functions/server/pointseries/index.ts | 0 .../pointseries/lib/get_expression_type.ts | 0 .../server/pointseries/lib/get_field_names.ts | 0 .../pointseries/lib/is_column_reference.ts | 0 .../canvas/canvas_plugin_src/plugin.ts | 0 .../__snapshots__/table.stories.storyshot | 0 .../renderers/__stories__/render.tsx | 0 .../renderers/__stories__/table.stories.tsx | 0 .../canvas_plugin_src/renderers/core.ts | 0 .../renderers/embeddable/embeddable.scss | 0 .../renderers/embeddable/embeddable.tsx | 0 .../embeddable_input_to_expression.test.ts | 0 .../embeddable_input_to_expression.ts | 0 .../renderers/embeddable/index.ts | 0 .../embeddable.test.ts | 0 .../input_type_to_expression/embeddable.ts | 0 .../input_type_to_expression/lens.test.ts | 0 .../input_type_to_expression/lens.ts | 0 .../input_type_to_expression/map.test.ts | 0 .../input_type_to_expression/map.ts | 0 .../visualization.test.ts | 0 .../input_type_to_expression/visualization.ts | 0 .../embeddable/use_get_app_context.tsx | 0 .../canvas_plugin_src/renderers/external.ts | 0 .../advanced_filter.stories.storyshot | 0 .../__stories__/advanced_filter.stories.tsx | 0 .../component/advanced_filter.scss | 0 .../component/advanced_filter.tsx | 0 .../advanced_filter/component/index.ts | 0 .../filters/advanced_filter/index.tsx | 0 .../dropdown_filter.stories.storyshot | 0 .../__stories__/dropdown_filter.stories.tsx | 0 .../component/dropdown_filter.scss | 0 .../component/dropdown_filter.tsx | 0 .../dropdown_filter/component/index.ts | 0 .../filters/dropdown_filter/index.tsx | 0 .../renderers/filters/index.ts | 0 .../time_filter.stories.storyshot | 0 .../__stories__/time_filter.stories.tsx | 0 .../filters/time_filter/components/index.tsx | 0 .../time_filter/components/time_filter.tsx | 0 .../renderers/filters/time_filter/index.tsx | 0 .../canvas_plugin_src/renderers/index.ts | 0 .../__snapshots__/markdown.stories.storyshot | 0 .../markdown/__stories__/markdown.stories.tsx | 0 .../renderers/markdown/index.tsx | 0 .../__snapshots__/pie.stories.storyshot | 0 .../renderers/pie/__stories__/pie.stories.tsx | 0 .../canvas_plugin_src/renderers/pie/index.tsx | 0 .../renderers/pie/plugins/pie.js | 0 .../__snapshots__/plot.stories.storyshot | 0 .../plot/__stories__/plot.stories.tsx | 0 .../canvas_plugin_src/renderers/plot/index.ts | 0 .../renderers/plot/plot.scss | 0 .../renderers/plot/plugins/size.js | 0 .../renderers/plot/plugins/text.js | 0 .../canvas_plugin_src/renderers/table.tsx | 0 .../canvas_plugin_src/renderers/text.tsx | 0 .../__snapshots__/palette.stories.storyshot | 0 .../arguments/__stories__/palette.stories.tsx | 0 .../extended_template.stories.storyshot | 0 .../simple_template.stories.storyshot | 0 .../__stories__/extended_template.stories.tsx | 0 .../__stories__/simple_template.stories.tsx | 0 .../axis_config/extended_template.tsx | 0 .../uis/arguments/axis_config/index.ts | 0 .../arguments/axis_config/simple_template.tsx | 0 .../arguments/color_picker/color_picker.tsx | 0 .../uis/arguments/color_picker/index.ts | 0 .../datacolumn/get_form_object.test.ts | 0 .../arguments/datacolumn/get_form_object.ts | 0 .../uis/arguments/datacolumn/index.js | 0 .../datacolumn/simple_math_function.js | 0 .../date_format.stories.storyshot | 0 .../__stories__/date_format.stories.tsx | 0 .../uis/arguments/date_format/date_format.tsx | 0 .../uis/arguments/date_format/index.tsx | 0 .../uis/arguments/editor.tsx | 0 .../uis/arguments/filter_group.js | 0 .../uis/arguments/image_upload/forms/file.js | 0 .../uis/arguments/image_upload/forms/index.js | 0 .../uis/arguments/image_upload/forms/link.js | 0 .../arguments/image_upload/image_upload.scss | 0 .../uis/arguments/image_upload/index.js | 0 .../canvas_plugin_src/uis/arguments/index.ts | 0 .../canvas_plugin_src/uis/arguments/number.js | 0 .../number_format.stories.storyshot | 0 .../__stories__/number_format.stories.tsx | 0 .../uis/arguments/number_format/index.tsx | 0 .../arguments/number_format/number_format.tsx | 0 .../uis/arguments/palette/index.tsx | 0 .../uis/arguments/palette/palette.tsx | 0 .../uis/arguments/palette/palette_types.ts | 0 .../uis/arguments/palette/utils.ts | 0 .../partition_labels/default_expression.ts | 0 .../partition_labels/extended_template.tsx | 0 .../uis/arguments/partition_labels/index.ts | 0 .../partition_labels/simple_template.tsx | 0 .../uis/arguments/partition_labels/types.ts | 0 .../uis/arguments/partition_labels/utils.ts | 0 .../uis/arguments/percentage.js | 0 .../canvas_plugin_src/uis/arguments/range.js | 0 .../canvas_plugin_src/uis/arguments/select.js | 0 .../canvas_plugin_src/uis/arguments/shape.js | 0 .../canvas_plugin_src/uis/arguments/string.js | 0 .../uis/arguments/textarea.js | 0 .../canvas_plugin_src/uis/arguments/toggle.js | 0 .../uis/arguments/vis_dimension.tsx | 0 .../uis/datasources/demodata.js | 0 .../uis/datasources/esdocs.js | 0 .../uis/datasources/essql.js | 0 .../uis/datasources/index.js | 0 .../uis/datasources/timelion.js | 0 .../uis/models/heatmap_grid.ts | 0 .../uis/models/heatmap_legend.ts | 0 .../canvas_plugin_src/uis/models/index.js | 0 .../canvas_plugin_src/uis/models/math.js | 0 .../uis/models/metric_vis.ts | 0 .../uis/models/partition_labels.ts | 0 .../uis/models/point_series.js | 0 .../canvas_plugin_src/uis/models/tagcloud.ts | 0 .../canvas_plugin_src/uis/tags/index.ts | 0 .../uis/tags/presentation.ts | 0 .../canvas_plugin_src/uis/tags/report.ts | 0 .../uis/transforms/formatdate.ts | 0 .../uis/transforms/formatnumber.ts | 0 .../canvas_plugin_src/uis/transforms/index.js | 0 .../uis/transforms/rounddate.ts | 0 .../canvas_plugin_src/uis/transforms/sort.js | 0 .../uis/views/dropdownControl.js | 0 .../canvas_plugin_src/uis/views/getCell.js | 0 .../canvas_plugin_src/uis/views/heatmap.ts | 0 .../canvas_plugin_src/uis/views/image.js | 0 .../canvas_plugin_src/uis/views/index.ts | 0 .../canvas_plugin_src/uis/views/markdown.js | 0 .../canvas_plugin_src/uis/views/metric.ts | 0 .../canvas/canvas_plugin_src/uis/views/pie.js | 0 .../canvas_plugin_src/uis/views/pie_vis.ts | 0 .../canvas_plugin_src/uis/views/plot.js | 0 .../canvas_plugin_src/uis/views/progress.js | 0 .../canvas_plugin_src/uis/views/render.js | 0 .../uis/views/repeatImage.js | 0 .../uis/views/revealImage.js | 0 .../canvas_plugin_src/uis/views/shape.js | 0 .../canvas_plugin_src/uis/views/table.js | 0 .../uis/views/timefilterControl.js | 0 .../canvas/common/functions/filters.ts | 0 .../private}/canvas/common/functions/index.ts | 0 .../plugins/private}/canvas/common/index.ts | 0 .../canvas/common/lib/build_bool_array.js | 0 .../lib/build_embeddable_filters.test.ts | 0 .../common/lib/build_embeddable_filters.ts | 0 .../private}/canvas/common/lib/constants.ts | 0 .../canvas/common/lib/datatable/index.ts | 0 .../canvas/common/lib/datatable/query.ts | 0 .../canvas/common/lib/embeddable_dataurl.ts | 0 .../private}/canvas/common/lib/errors.test.js | 0 .../private}/canvas/common/lib/errors.ts | 0 .../lib/expression_form_handlers.test.js | 0 .../common/lib/expression_form_handlers.ts | 0 .../private}/canvas/common/lib/fetch.test.ts | 0 .../private}/canvas/common/lib/fetch.ts | 0 .../private}/canvas/common/lib/filters.js | 0 .../private}/canvas/common/lib/fonts.ts | 0 .../canvas/common/lib/get_es_filter.js | 0 .../canvas/common/lib/get_field_type.test.ts | 0 .../canvas/common/lib/get_field_type.ts | 0 .../private}/canvas/common/lib/get_id.ts | 0 .../common/lib/get_legend_config.test.js | 0 .../canvas/common/lib/get_legend_config.ts | 0 .../private}/canvas/common/lib/handlebars.js | 0 .../canvas/common/lib/handlebars.test.js | 0 .../canvas/common/lib/hex_to_rgb.test.ts | 0 .../private}/canvas/common/lib/hex_to_rgb.ts | 0 .../private}/canvas/common/lib/index.ts | 0 .../private}/canvas/common/lib/palettes.ts | 0 .../common/lib/pivot_object_array.test.ts | 0 .../canvas/common/lib/pivot_object_array.ts | 0 .../common/lib/request/build_bool_array.ts | 0 .../common/lib/request/build_es_request.js | 0 .../canvas/common/lib/request/filters.ts | 0 .../common/lib/request/format_response.js | 0 .../common/lib/request/get_es_filter.ts | 0 .../common/lib/request/normalize_type.ts | 0 .../private}/canvas/common/lib/time_units.ts | 0 .../canvas/common/lib/unquote_string.test.ts | 0 .../canvas/common/lib/unquote_string.ts | 0 .../plugins/private}/canvas/common/locator.ts | 0 .../plugins/private}/canvas/i18n/README.md | 0 .../private}/canvas/i18n/capabilities.ts | 0 .../plugins/private}/canvas/i18n/constants.ts | 0 .../canvas/i18n/elements/apply_strings.ts | 0 .../i18n/elements/element_strings.test.ts | 0 .../canvas/i18n/elements/element_strings.ts | 0 .../private}/canvas/i18n/elements/index.ts | 0 .../plugins/private}/canvas/i18n/errors.ts | 0 .../private}/canvas/i18n/expression_types.ts | 0 .../canvas/i18n/functions/dict/all.ts | 0 .../i18n/functions/dict/alter_column.ts | 0 .../canvas/i18n/functions/dict/any.ts | 0 .../private}/canvas/i18n/functions/dict/as.ts | 0 .../canvas/i18n/functions/dict/asset.ts | 0 .../canvas/i18n/functions/dict/axis_config.ts | 0 .../canvas/i18n/functions/dict/case.ts | 0 .../canvas/i18n/functions/dict/clear.ts | 0 .../canvas/i18n/functions/dict/columns.ts | 0 .../canvas/i18n/functions/dict/compare.ts | 0 .../i18n/functions/dict/container_style.ts | 0 .../canvas/i18n/functions/dict/context.ts | 0 .../canvas/i18n/functions/dict/csv.ts | 0 .../canvas/i18n/functions/dict/date.ts | 0 .../canvas/i18n/functions/dict/demodata.ts | 0 .../private}/canvas/i18n/functions/dict/do.ts | 0 .../i18n/functions/dict/dropdown_control.ts | 0 .../canvas/i18n/functions/dict/embeddable.ts | 0 .../private}/canvas/i18n/functions/dict/eq.ts | 0 .../canvas/i18n/functions/dict/escount.ts | 0 .../canvas/i18n/functions/dict/esdocs.ts | 0 .../canvas/i18n/functions/dict/exactly.ts | 0 .../canvas/i18n/functions/dict/filterrows.ts | 0 .../canvas/i18n/functions/dict/filters.ts | 0 .../canvas/i18n/functions/dict/formatdate.ts | 0 .../i18n/functions/dict/formatnumber.ts | 0 .../canvas/i18n/functions/dict/get_cell.ts | 0 .../private}/canvas/i18n/functions/dict/gt.ts | 0 .../canvas/i18n/functions/dict/gte.ts | 0 .../canvas/i18n/functions/dict/head.ts | 0 .../private}/canvas/i18n/functions/dict/if.ts | 0 .../canvas/i18n/functions/dict/join_rows.ts | 0 .../canvas/i18n/functions/dict/location.ts | 0 .../private}/canvas/i18n/functions/dict/lt.ts | 0 .../canvas/i18n/functions/dict/lte.ts | 0 .../canvas/i18n/functions/dict/map_center.ts | 0 .../canvas/i18n/functions/dict/markdown.ts | 0 .../canvas/i18n/functions/dict/neq.ts | 0 .../canvas/i18n/functions/dict/pie.ts | 0 .../canvas/i18n/functions/dict/plot.ts | 0 .../canvas/i18n/functions/dict/ply.ts | 0 .../canvas/i18n/functions/dict/pointseries.ts | 0 .../canvas/i18n/functions/dict/render.ts | 0 .../canvas/i18n/functions/dict/replace.ts | 0 .../canvas/i18n/functions/dict/rounddate.ts | 0 .../canvas/i18n/functions/dict/row_count.ts | 0 .../canvas/i18n/functions/dict/saved_lens.ts | 0 .../canvas/i18n/functions/dict/saved_map.ts | 0 .../i18n/functions/dict/saved_search.ts | 0 .../functions/dict/saved_visualization.ts | 0 .../i18n/functions/dict/series_style.ts | 0 .../canvas/i18n/functions/dict/sort.ts | 0 .../i18n/functions/dict/static_column.ts | 0 .../canvas/i18n/functions/dict/string.ts | 0 .../canvas/i18n/functions/dict/switch.ts | 0 .../canvas/i18n/functions/dict/table.ts | 0 .../canvas/i18n/functions/dict/tail.ts | 0 .../canvas/i18n/functions/dict/time_range.ts | 0 .../canvas/i18n/functions/dict/timefilter.ts | 0 .../i18n/functions/dict/timefilter_control.ts | 0 .../canvas/i18n/functions/dict/timelion.ts | 0 .../private}/canvas/i18n/functions/dict/to.ts | 0 .../canvas/i18n/functions/dict/urlparam.ts | 0 .../canvas/i18n/functions/function_errors.ts | 0 .../canvas/i18n/functions/function_help.ts | 0 .../private}/canvas/i18n/functions/index.ts | 0 .../plugins/private}/canvas/i18n/index.ts | 0 .../plugins/private}/canvas/i18n/lib.ts | 0 .../plugins/private}/canvas/i18n/renderers.ts | 0 .../plugins/private}/canvas/i18n/shortcuts.ts | 0 .../plugins/private}/canvas/i18n/tags.ts | 0 .../canvas/i18n/templates/apply_strings.ts | 0 .../private}/canvas/i18n/templates/index.ts | 0 .../i18n/templates/template_strings.test.ts | 0 .../canvas/i18n/templates/template_strings.ts | 0 .../private}/canvas/i18n/transitions.ts | 0 .../plugins/private}/canvas/i18n/ui.ts | 0 .../plugins/private}/canvas/i18n/units.ts | 0 .../plugins/private}/canvas/images/canvas.png | Bin .../plugins/private}/canvas/images/canvas.svg | 0 .../private}/canvas/images/canvas_blank.svg | 0 .../private}/canvas/images/icon_black.svg | 0 .../plugins/private}/canvas/images/logo.gif | Bin .../plugins/private}/canvas/jest.config.js | 10 ++++----- .../plugins/private}/canvas/jest_setup.ts | 0 .../plugins/private}/canvas/kibana.jsonc | 0 .../private}/canvas/public/application.tsx | 0 .../canvas/public/components/app/index.tsx | 0 .../public/components/arg_add/arg_add.scss | 0 .../public/components/arg_add/arg_add.tsx | 0 .../canvas/public/components/arg_add/index.ts | 0 .../arg_add_popover/arg_add_popover.scss | 0 .../arg_add_popover/arg_add_popover.tsx | 0 .../components/arg_add_popover/index.ts | 0 .../components/arg_form/advanced_failure.js | 0 .../public/components/arg_form/arg_form.js | 0 .../public/components/arg_form/arg_form.scss | 0 .../public/components/arg_form/arg_label.js | 0 .../components/arg_form/arg_simple_form.tsx | 0 .../components/arg_form/arg_template_form.tsx | 0 .../public/components/arg_form/index.js | 0 .../components/arg_form/pending_arg_value.js | 0 .../components/arg_form/simple_failure.tsx | 0 .../__snapshots__/asset.stories.storyshot | 0 .../asset_manager.stories.storyshot | 0 .../__stories__/asset.stories.tsx | 0 .../__stories__/asset_manager.stories.tsx | 0 .../asset_manager/__stories__/assets.ts | 0 .../asset_manager/asset.component.tsx | 0 .../public/components/asset_manager/asset.tsx | 0 .../asset_manager/asset_manager.component.tsx | 0 .../asset_manager/asset_manager.scss | 0 .../components/asset_manager/asset_manager.ts | 0 .../public/components/asset_manager/index.ts | 0 .../components/asset_picker/asset_picker.scss | 0 .../components/asset_picker/asset_picker.tsx | 0 .../public/components/asset_picker/index.ts | 0 .../canvas_loading.component.tsx | 0 .../public/components/canvas_loading/index.ts | 0 .../components/clipboard/clipboard.scss | 0 .../public/components/clipboard/clipboard.tsx | 0 .../public/components/clipboard/index.ts | 0 .../__snapshots__/color_dot.stories.storyshot | 0 .../__stories__/color_dot.stories.tsx | 0 .../components/color_dot/color_dot.scss | 0 .../public/components/color_dot/color_dot.tsx | 0 .../public/components/color_dot/index.ts | 0 .../color_manager.stories.storyshot | 0 .../__stories__/color_manager.stories.tsx | 0 .../color_manager/color_manager.tsx | 0 .../public/components/color_manager/index.ts | 0 .../color_palette.stories.storyshot | 0 .../__stories__/color_palette.stories.tsx | 0 .../color_palette/color_palette.scss | 0 .../color_palette/color_palette.tsx | 0 .../public/components/color_palette/index.ts | 0 .../color_picker.stories.storyshot | 0 .../__stories__/color_picker.stories.tsx | 0 .../components/color_picker/color_picker.tsx | 0 .../public/components/color_picker/index.ts | 0 .../color_picker_popover.stories.storyshot | 0 .../color_picker_popover.stories.tsx | 0 .../color_picker_popover.scss | 0 .../color_picker_popover.tsx | 0 .../components/color_picker_popover/index.ts | 0 .../confirm_modal/confirm_modal.tsx | 0 .../public/components/confirm_modal/index.ts | 0 .../custom_element_modal.stories.storyshot | 0 .../custom_element_modal.stories.tsx | 0 .../custom_element_modal.scss | 0 .../custom_element_modal.tsx | 0 .../components/custom_element_modal/index.tsx | 0 .../datasource_component.stories.storyshot | 0 .../datasource_component.stories.tsx | 0 .../components/datasource/datasource.js | 0 .../components/datasource/datasource.scss | 0 .../datasource/datasource_component.js | 0 .../datasource_preview/datasource_preview.js | 0 .../datasource_preview.scss | 0 .../datasource/datasource_preview/index.js | 0 .../datasource/datasource_selector.js | 0 .../public/components/datasource/index.js | 0 .../components/datasource/no_datasource.js | 0 .../components/datatable/datatable.scss | 0 .../public/components/datatable/datatable.tsx | 0 .../public/components/datatable/index.ts | 0 .../components/dom_preview/dom_preview.scss | 0 .../components/dom_preview/dom_preview.tsx | 0 .../public/components/dom_preview/index.ts | 0 .../components/download/download.test.tsx | 0 .../public/components/download/download.tsx | 0 .../public/components/download/index.ts | 0 .../element_card.stories.storyshot | 0 .../__stories__/element_card.stories.tsx | 0 .../components/element_card/element_card.scss | 0 .../components/element_card/element_card.tsx | 0 .../public/components/element_card/index.tsx | 0 .../element_config/element_config.tsx | 0 .../public/components/element_config/index.js | 0 .../element_content/element_content.scss | 0 .../element_content/element_content.tsx | 0 .../components/element_content/index.tsx | 0 .../element_content/invalid_element_type.tsx | 0 .../element_content/invalid_expression.tsx | 0 .../element_share_container.js | 0 .../element_share_container/index.js | 0 .../element_wrapper/element_wrapper.js | 0 .../components/element_wrapper/index.js | 0 .../embeddable_flyout/flyout.component.tsx | 0 .../components/embeddable_flyout/flyout.tsx | 0 .../components/embeddable_flyout/index.ts | 0 .../components/enhance/error_boundary.tsx | 0 .../components/enhance/stateful_prop.js | 0 .../es_data_view_select.component.tsx | 0 .../es_data_view_select.tsx | 0 .../components/es_data_view_select/index.tsx | 0 .../es_field_select/es_field_select.tsx | 0 .../components/es_field_select/index.tsx | 0 .../es_fields_select.component.tsx | 0 .../es_fields_select/es_fields_select.tsx | 0 .../components/es_fields_select/index.tsx | 0 .../__snapshots__/export_app.test.tsx.snap | 0 .../export_app/export_app.component.tsx | 0 .../components/export_app/export_app.scss | 0 .../components/export_app/export_app.test.tsx | 0 .../components/export_app/export_app.ts | 0 .../public/components/export_app/index.ts | 0 .../expression/element_not_selected.js | 0 .../components/expression/expression.scss | 0 .../components/expression/expression.tsx | 0 .../public/components/expression/index.tsx | 0 .../expression_input.stories.storyshot | 0 .../__stories__/expression_input.stories.tsx | 0 .../expression_input/expression_input.tsx | 0 .../components/expression_input/index.ts | 0 .../file_upload.stories.storyshot | 0 .../file_upload/file_upload.stories.tsx | 0 .../components/file_upload/file_upload.tsx | 0 .../public/components/flyouts/index.tsx | 0 .../font_picker.stories.storyshot | 0 .../__stories__/font_picker.stories.tsx | 0 .../components/font_picker/font_picker.tsx | 0 .../public/components/font_picker/index.ts | 0 .../format_select/format_select.tsx | 0 .../public/components/format_select/index.ts | 0 .../components/fullscreen/fullscreen.scss | 0 .../components/fullscreen/fullscreen.ts | 0 .../public/components/fullscreen/index.tsx | 0 .../function_form/function_form.scss | 0 .../function_form/function_form.tsx | 0 .../function_form/function_form_component.tsx | 0 .../function_form_context_error.tsx | 0 .../function_form_context_pending.tsx | 0 .../function_form/function_unknown.tsx | 0 .../public/components/function_form/index.tsx | 0 .../function_form_list/function_form_list.js | 0 .../components/function_form_list/index.js | 0 .../help_menu/help_menu.component.tsx | 0 .../public/components/help_menu/help_menu.tsx | 0 .../public/components/help_menu/index.ts | 0 .../home/__snapshots__/home.stories.storyshot | 0 .../public/components/home/home.component.tsx | 0 .../public/components/home/home.stories.tsx | 0 .../canvas/public/components/home/home.tsx | 0 .../public/components/home/hooks/index.ts | 0 .../home/hooks/use_clone_workpad.ts | 0 .../home/hooks/use_create_from_template.ts | 0 .../home/hooks/use_create_workpad.ts | 0 .../home/hooks/use_delete_workpad.ts | 0 .../home/hooks/use_find_templates.ts | 0 .../components/home/hooks/use_find_workpad.ts | 0 .../home/hooks/use_import_workpad.ts | 0 .../home/hooks/use_upload_workpad.ts | 0 .../canvas/public/components/home/index.ts | 0 .../canvas/public/components/home/loading.tsx | 0 .../empty_prompt.stories.storyshot | 0 .../my_workpads.stories.storyshot | 0 .../workpad_table.stories.storyshot | 0 .../home/my_workpads/empty_prompt.stories.tsx | 0 .../home/my_workpads/empty_prompt.tsx | 0 .../components/home/my_workpads/index.ts | 0 .../my_workpads/my_workpads.component.tsx | 0 .../home/my_workpads/my_workpads.stories.tsx | 0 .../home/my_workpads/my_workpads.tsx | 0 .../my_workpads/upload_dropzone.component.tsx | 0 .../home/my_workpads/upload_dropzone.scss | 0 .../home/my_workpads/upload_dropzone.tsx | 0 .../my_workpads/workpad_import.component.tsx | 0 .../home/my_workpads/workpad_import.tsx | 0 .../my_workpads/workpad_table.component.tsx | 0 .../my_workpads/workpad_table.stories.tsx | 0 .../home/my_workpads/workpad_table.tsx | 0 .../workpad_table_tools.component.tsx | 0 .../home/my_workpads/workpad_table_tools.tsx | 0 .../home/workpad_create.component.tsx | 0 .../public/components/home/workpad_create.tsx | 0 .../workpad_templates.stories.storyshot | 0 .../home/workpad_templates/index.ts | 0 .../workpad_templates.component.tsx | 0 .../workpad_templates.stories.tsx | 0 .../workpad_templates/workpad_templates.tsx | 0 .../home_app/home_app.component.tsx | 0 .../public/components/home_app/home_app.scss | 0 .../public/components/home_app/home_app.tsx | 0 .../public/components/home_app/index.ts | 0 .../canvas/public/components/hooks/index.tsx | 0 .../components/hooks/use_canvas_api.tsx | 0 .../public/components/hooks/workpad/index.tsx | 0 .../hooks/workpad/use_download_workpad.ts | 0 .../hooks/workpad/use_incoming_embeddable.ts | 0 .../__snapshots__/item_grid.stories.storyshot | 0 .../__stories__/item_grid.stories.tsx | 0 .../public/components/item_grid/index.ts | 0 .../public/components/item_grid/item_grid.tsx | 0 .../keyboard_shortcuts_doc.stories.storyshot | 0 .../keyboard_shortcuts_doc.stories.tsx | 0 .../keyboard_shortcuts_doc/index.ts | 0 .../keyboard_shortcuts_doc.tsx | 0 .../keyboard_shortcuts_doc_panel/index.ts | 0 ...keyboard_shortcuts_doc_panel.component.tsx | 0 .../keyboard_shortcuts_doc_panel.tsx | 0 .../layout_annotations/alignment_guide.tsx | 0 .../layout_annotations/border_connection.tsx | 0 .../border_resize_handle.tsx | 0 .../layout_annotations/dragbox_annotation.tsx | 0 .../layout_annotations/hover_annotation.tsx | 0 .../components/layout_annotations/index.ts | 0 .../layout_annotations.scss | 0 .../layout_annotations/rotation_handle.tsx | 0 .../layout_annotations/tooltip_annotation.tsx | 0 .../canvas/public/components/loading/index.ts | 0 .../public/components/loading/loading.scss | 0 .../components/loading/loading.test.tsx | 0 .../public/components/loading/loading.tsx | 0 .../public/components/page_config/index.js | 0 .../components/page_config/page_config.js | 0 .../public/components/page_manager/index.ts | 0 .../page_manager/page_manager.component.tsx | 0 .../components/page_manager/page_manager.scss | 0 .../components/page_manager/page_manager.tsx | 0 .../public/components/page_preview/index.ts | 0 .../components/page_preview/page_controls.tsx | 0 .../page_preview/page_preview.component.tsx | 0 .../components/page_preview/page_preview.tsx | 0 .../public/components/paginate/index.tsx | 0 .../public/components/paginate/paginate.tsx | 0 .../public/components/palette_picker/index.ts | 0 .../palette_picker.stories.storyshot | 0 .../__stories__/palette_picker.stories.tsx | 0 .../clearable_palette_picker.tsx | 0 .../palette_picker/default_palette_picker.tsx | 0 .../palette_picker/palette_picker/index.ts | 0 .../palette_picker/palette_picker.tsx | 0 .../stops_palette_picker/index.ts | 0 .../stop_color_picker.tsx | 0 .../stops_palette_picker.tsx | 0 .../stops_palette_picker/types.ts | 0 .../stops_palette_picker/utils.ts | 0 .../public/components/palette_picker/types.ts | 0 .../public/components/palette_picker/utils.ts | 0 .../canvas/public/components/popover/index.ts | 0 .../public/components/popover/popover.tsx | 0 .../public/components/positionable/index.ts | 0 .../components/positionable/positionable.scss | 0 .../components/positionable/positionable.tsx | 0 .../public/components/render_to_dom/index.ts | 0 .../render_to_dom/render_to_dom.tsx | 0 .../public/components/render_with_fn/index.ts | 0 .../render_with_fn/render_with_fn.tsx | 0 .../canvas/public/components/routing/index.ts | 0 .../components/routing/routing_link.tsx | 0 .../element_controls.stories.storyshot | 0 .../element_grid.stories.storyshot | 0 .../saved_elements_modal.stories.storyshot | 0 .../__stories__/element_controls.stories.tsx | 0 .../__stories__/element_grid.stories.tsx | 0 .../__stories__/fixtures/test_elements.tsx | 0 .../saved_elements_modal.stories.tsx | 0 .../saved_elements_modal/element_controls.tsx | 0 .../saved_elements_modal/element_grid.tsx | 0 .../components/saved_elements_modal/index.ts | 0 .../saved_elements_modal.component.tsx | 0 .../saved_elements_modal.tsx | 0 .../shape_picker.stories.storyshot | 0 .../__stories__/shape_picker.stories.tsx | 0 .../public/components/shape_picker/index.ts | 0 .../components/shape_picker/shape_picker.scss | 0 .../components/shape_picker/shape_picker.tsx | 0 .../shape_picker_popover.stories.storyshot | 0 .../shape_picker_popover.stories.tsx | 0 .../components/shape_picker_popover/index.tsx | 0 .../shape_picker_popover.tsx | 0 .../shape_preview.stories.storyshot | 0 .../__stories__/shape_preview.stories.tsx | 0 .../public/components/shape_preview/index.ts | 0 .../shape_preview/shape_preview.scss | 0 .../shape_preview/shape_preview.tsx | 0 .../group_settings.stories.storyshot | 0 .../multi_element_settings.stories.storyshot | 0 .../__stories__/group_settings.stories.tsx | 0 .../multi_element_settings.stories.tsx | 0 .../element_settings.component.tsx | 0 .../element_settings/element_settings.tsx | 0 .../sidebar/element_settings/index.ts | 0 .../sidebar/global_config/filter_config.tsx | 0 .../sidebar/global_config/general_config.tsx | 0 .../sidebar/global_config/global_config.tsx | 0 .../sidebar/global_config/index.tsx | 0 .../components/sidebar/group_settings.tsx | 0 .../public/components/sidebar/index.tsx | 0 .../sidebar/multi_element_settings.tsx | 0 .../public/components/sidebar/sidebar.scss | 0 .../public/components/sidebar/sidebar.tsx | 0 .../sidebar/sidebar_content/index.ts | 0 .../sidebar_content.component.tsx | 0 .../sidebar_content/sidebar_content.tsx | 0 .../components/sidebar/sidebar_section.js | 0 .../sidebar/sidebar_section_title.js | 0 .../sidebar_header.stories.storyshot | 0 .../__stories__/sidebar_header.stories.tsx | 0 .../components/sidebar_header/index.tsx | 0 .../sidebar_header.component.tsx | 0 .../sidebar_header/sidebar_header.scss | 0 .../sidebar_header/sidebar_header.tsx | 0 .../__snapshots__/tag.stories.storyshot | 0 .../tag/__stories__/tag.stories.tsx | 0 .../canvas/public/components/tag/index.tsx | 0 .../canvas/public/components/tag/tag.tsx | 0 .../__snapshots__/tag_list.stories.storyshot | 0 .../tag_list/__stories__/tag_list.stories.tsx | 0 .../public/components/tag_list/index.tsx | 0 .../public/components/tag_list/tag_list.tsx | 0 .../text_style_picker.stories.storyshot | 0 .../__stories__/text_style_picker.stories.tsx | 0 .../text_style_picker/font_sizes.ts | 0 .../components/text_style_picker/index.ts | 0 .../text_style_picker/text_style_picker.tsx | 0 .../tool_tip_shortcut.stories.storyshot | 0 .../__stories__/tool_tip_shortcut.stories.tsx | 0 .../components/tool_tip_shortcut/index.tsx | 0 .../tool_tip_shortcut/tool_tip_shortcut.tsx | 0 .../__snapshots__/toolbar.stories.storyshot | 0 .../toolbar/__stories__/toolbar.stories.tsx | 0 .../canvas/public/components/toolbar/index.ts | 0 .../components/toolbar/toolbar.component.tsx | 0 .../public/components/toolbar/toolbar.scss | 0 .../public/components/toolbar/toolbar.ts | 0 .../public/components/toolbar/tray/index.ts | 0 .../public/components/toolbar/tray/tray.scss | 0 .../public/components/toolbar/tray/tray.tsx | 0 .../public/components/tooltip_icon/index.ts | 0 .../components/tooltip_icon/tooltip_icon.tsx | 0 .../delete_var.stories.storyshot | 0 .../__snapshots__/edit_var.stories.storyshot | 0 .../var_config.stories.storyshot | 0 .../__stories__/delete_var.stories.tsx | 0 .../__stories__/edit_var.stories.tsx | 0 .../__stories__/var_config.stories.tsx | 0 .../components/var_config/delete_var.tsx | 0 .../components/var_config/edit_var.scss | 0 .../public/components/var_config/edit_var.tsx | 0 .../public/components/var_config/index.tsx | 0 .../components/var_config/var_config.scss | 0 .../components/var_config/var_config.tsx | 0 .../components/var_config/var_panel.scss | 0 .../components/var_config/var_value_field.tsx | 0 .../components/with_debounce_arg/index.ts | 0 .../with_debounce_arg/with_debounce_arg.tsx | 0 .../canvas/public/components/workpad/index.ts | 0 .../components/workpad/workpad.component.tsx | 0 .../public/components/workpad/workpad.scss | 0 .../public/components/workpad/workpad.tsx | 0 .../workpad/workpad_shortcuts.component.tsx | 0 .../public/components/workpad_app/index.ts | 0 .../workpad_app/workpad_app.component.tsx | 0 .../components/workpad_app/workpad_app.scss | 0 .../components/workpad_app/workpad_app.ts | 0 .../workpad_app/workpad_telemetry.test.tsx | 0 .../workpad_app/workpad_telemetry.tsx | 0 .../components/workpad_color_picker/index.ts | 0 .../workpad_color_picker.component.tsx | 0 .../workpad_color_picker.ts | 0 .../public/components/workpad_config/index.ts | 0 .../workpad_config.component.tsx | 0 .../workpad_config/workpad_config.ts | 0 .../filter.component.stories.storyshot | 0 .../filters_group.component.stories.storyshot | 0 ...orkpad_filters.component.stories.storyshot | 0 .../workpad_filters/__stories__/elements.ts | 0 .../__stories__/filter.component.stories.tsx | 0 .../filters_group.component.stories.tsx | 0 .../workpad_filters.component.stories.tsx | 0 .../__stories__/workpad_filters.stories.tsx | 0 .../workpad_filters/filter.component.tsx | 0 .../filter_views/default_filter.ts | 0 .../workpad_filters/filter_views/index.ts | 0 .../filter_views/time_filter.ts | 0 .../filters_group.component.tsx | 0 .../components/workpad_filters/hooks/index.ts | 0 .../hooks/use_canvas_filters.ts | 0 .../components/workpad_filters/index.tsx | 0 .../components/workpad_filters/types.ts | 0 .../components/workpad_filters/utils.ts | 0 .../workpad_filters.component.tsx | 0 .../workpad_filters/workpad_filters.tsx | 0 .../__snapshots__/edit_menu.stories.storyshot | 0 .../__stories__/edit_menu.stories.tsx | 0 .../edit_menu/edit_menu.component.tsx | 0 .../workpad_header/edit_menu/edit_menu.tsx | 0 .../workpad_header/edit_menu/index.ts | 0 .../editor_menu.stories.storyshot | 0 .../__stories__/editor_menu.stories.tsx | 0 .../editor_menu/editor_menu.component.tsx | 0 .../editor_menu/editor_menu.tsx | 0 .../workpad_header/editor_menu/index.ts | 0 .../element_menu.stories.storyshot | 0 .../__stories__/element_menu.stories.tsx | 0 .../element_menu/element_menu.component.tsx | 0 .../element_menu/element_menu.tsx | 0 .../workpad_header/element_menu/index.ts | 0 .../fullscreen_control/fullscreen_control.tsx | 0 .../fullscreen_control/index.js | 0 .../public/components/workpad_header/index.ts | 0 .../workpad_header/labs_control/index.ts | 0 .../labs_control/labs_control.tsx | 0 .../workpad_header/refresh_control/index.ts | 0 .../refresh_control.component.tsx | 0 .../refresh_control/refresh_control.ts | 0 .../__snapshots__/pdf_panel.stories.storyshot | 0 .../share_menu.stories.storyshot | 0 .../__stories__/share_menu.stories.tsx | 0 .../flyout/__stories__/flyout.stories.tsx | 0 .../share_menu/flyout/flyout.component.tsx | 0 .../share_menu/flyout/flyout.tsx | 0 .../share_menu/flyout/hooks/index.ts | 0 .../flyout/hooks/use_download_runtime.ts | 0 .../workpad_header/share_menu/flyout/index.ts | 0 .../share_menu/flyout/runtime_step.tsx | 0 .../share_menu/flyout/snippets_step.tsx | 0 .../share_menu/flyout/workpad_step.tsx | 0 .../workpad_header/share_menu/index.ts | 0 .../share_menu/share_menu.component.tsx | 0 .../workpad_header/share_menu/share_menu.scss | 0 .../workpad_header/share_menu/share_menu.tsx | 0 .../workpad_header/share_menu/utils.test.ts | 0 .../workpad_header/share_menu/utils.ts | 0 .../__snapshots__/view_menu.stories.storyshot | 0 .../__stories__/view_menu.stories.tsx | 0 .../view_menu/auto_refresh_controls.tsx | 0 .../view_menu/custom_interval.tsx | 0 .../workpad_header/view_menu/index.ts | 0 .../view_menu/kiosk_controls.tsx | 0 .../view_menu/lib/get_fit_zoom_scale.ts | 0 .../view_menu/view_menu.component.tsx | 0 .../workpad_header/view_menu/view_menu.scss | 0 .../workpad_header/view_menu/view_menu.tsx | 0 .../workpad_header.component.tsx | 0 .../workpad_header/workpad_header.tsx | 0 .../public/components/workpad_page/index.js | 0 .../workpad_page/integration_utils.js | 0 .../workpad_page/positioning_utils.ts | 0 .../components/workpad_page/prop_types.js | 0 .../event_handlers.ts | 0 .../workpad_interactive_page/index.js | 0 .../interaction_boundary.tsx | 0 .../interactive_workpad_page.js | 0 .../workpad_interactive_page.scss | 0 .../components/workpad_page/workpad_page.scss | 0 .../workpad_page/workpad_static_page/index.js | 0 .../static_workpad_page.js | 0 .../workpad_static_page.scss | 0 .../components/workpad_shortcuts/index.tsx | 0 .../workpad_shortcuts/workpad_shortcuts.tsx | 0 .../canvas/public/expression_types/arg.ts | 0 .../public/expression_types/arg_type.ts | 0 .../expression_types/arg_type_registry.ts | 0 .../expression_types/arg_types/color.js | 0 .../extended_template.stories.storyshot | 0 .../simple_template.stories.storyshot | 0 .../__stories__/extended_template.stories.tsx | 0 .../__stories__/simple_template.stories.tsx | 0 .../container_style/appearance_form.tsx | 0 .../arg_types/container_style/border_form.tsx | 0 .../container_style/extended_template.tsx | 0 .../arg_types/container_style/index.ts | 0 .../container_style/simple_template.tsx | 0 .../public/expression_types/arg_types/font.js | 0 .../expression_types/arg_types/index.js | 0 .../extended_template.stories.storyshot | 0 .../simple_template.stories.storyshot | 0 .../__stories__/extended_template.stories.tsx | 0 .../__stories__/simple_template.stories.tsx | 0 .../series_style/extended_template.tsx | 0 .../arg_types/series_style/index.ts | 0 .../series_style/simple_template.tsx | 0 .../public/expression_types/base_form.ts | 0 .../public/expression_types/datasource.tsx | 0 .../expression_types/datasource_registry.ts | 0 .../public/expression_types/function_form.tsx | 0 .../canvas/public/expression_types/index.ts | 0 .../canvas/public/expression_types/model.ts | 0 .../public/expression_types/model_registry.ts | 0 .../public/expression_types/transform.ts | 0 .../expression_types/transform_registry.ts | 0 .../canvas/public/expression_types/types.ts | 0 .../canvas/public/expression_types/view.ts | 0 .../public/expression_types/view_registry.ts | 0 .../private}/canvas/public/functions/asset.ts | 0 .../canvas/public/functions/filters.ts | 0 .../private}/canvas/public/functions/index.ts | 0 .../canvas/public/functions/pie.test.js | 0 .../private}/canvas/public/functions/pie.ts | 0 .../canvas/public/functions/plot.test.js | 0 .../plot/get_flot_axis_config.test.js | 0 .../functions/plot/get_flot_axis_config.ts | 0 .../functions/plot/get_font_spec.test.js | 0 .../public/functions/plot/get_font_spec.ts | 0 .../functions/plot/get_tick_hash.test.js | 0 .../public/functions/plot/get_tick_hash.ts | 0 .../canvas/public/functions/plot/index.ts | 0 .../plot/series_style_to_flot.test.js | 0 .../functions/plot/series_style_to_flot.ts | 0 .../canvas/public/functions/timelion.ts | 0 .../private}/canvas/public/functions/to.ts | 0 .../plugins/private}/canvas/public/icon.svg | 0 .../plugins/private}/canvas/public/index.ts | 0 .../canvas/public/lib/aeroelastic/common.js | 0 .../public/lib/aeroelastic/functional.js | 0 .../canvas/public/lib/aeroelastic/geometry.js | 0 .../canvas/public/lib/aeroelastic/gestures.js | 0 .../canvas/public/lib/aeroelastic/index.d.ts | 0 .../canvas/public/lib/aeroelastic/layout.js | 0 .../lib/aeroelastic/layout_functions.js | 0 .../canvas/public/lib/aeroelastic/matrix.ts | 0 .../canvas/public/lib/aeroelastic/matrix2d.ts | 0 .../canvas/public/lib/aeroelastic/select.ts | 0 .../canvas/public/lib/aeroelastic/store.ts | 0 .../public/lib/aeroelastic/typespec.test.ts | 0 .../canvas/public/lib/app_handler_creators.ts | 0 .../private}/canvas/public/lib/arg_helpers.js | 0 .../private}/canvas/public/lib/args.ts | 0 .../private}/canvas/public/lib/assets.ts | 0 .../private}/canvas/public/lib/breadcrumbs.ts | 0 .../canvas/public/lib/clipboard.test.ts | 0 .../private}/canvas/public/lib/clipboard.ts | 0 .../canvas/public/lib/clone_subgraphs.ts | 0 .../canvas/public/lib/create_handlers.ts | 0 .../canvas/public/lib/create_thunk.ts | 0 .../canvas/public/lib/data_view_helpers.ts | 0 .../private}/canvas/public/lib/doc_title.ts | 0 .../plugins/private}/canvas/public/lib/dom.ts | 0 .../private}/canvas/public/lib/element.ts | 0 .../public/lib/element_handler_creators.ts | 0 .../canvas/public/lib/elements_registry.js | 0 .../canvas/public/lib/extract_search.js | 0 .../private}/canvas/public/lib/filter.test.ts | 0 .../private}/canvas/public/lib/filter.ts | 0 .../canvas/public/lib/filter_adapters.test.ts | 0 .../canvas/public/lib/filter_adapters.ts | 0 .../canvas/public/lib/find_existing_asset.js | 0 .../canvas/public/lib/find_expression_type.ts | 0 .../canvas/public/lib/flatten_panel_tree.ts | 0 .../canvas/public/lib/format_msg.test.ts | 0 .../private}/canvas/public/lib/format_msg.ts | 0 .../private}/canvas/public/lib/fullscreen.js | 0 .../canvas/public/lib/get_client_platform.ts | 0 .../private}/canvas/public/lib/get_id.ts | 0 .../public/lib/get_pretty_shortcut.test.ts | 0 .../canvas/public/lib/get_pretty_shortcut.ts | 0 .../private}/canvas/public/lib/get_window.ts | 0 .../canvas/public/lib/is_text_input.ts | 0 .../private}/canvas/public/lib/keymap.ts | 0 .../canvas/public/lib/legend_options.js | 0 .../public/lib/load_expression_types.js | 0 .../canvas/public/lib/load_transitions.js | 0 .../canvas/public/lib/loading_indicator.ts | 0 .../canvas/public/lib/modify_path.test.ts | 0 .../private}/canvas/public/lib/modify_path.ts | 0 .../public/lib/parse_single_function_chain.js | 0 .../canvas/public/lib/readable_color.test.ts | 0 .../canvas/public/lib/readable_color.ts | 0 .../canvas/public/lib/resolved_arg.test.ts | 0 .../canvas/public/lib/resolved_arg.ts | 0 .../canvas/public/lib/shortcut_manager.js | 0 .../private}/canvas/public/lib/storage.ts | 0 .../public/lib/sync_filter_expression.ts | 0 .../plugins/private}/canvas/public/lib/tag.ts | 0 .../canvas/public/lib/tags_registry.ts | 0 .../private}/canvas/public/lib/template.js | 0 .../lib/template_from_react_component.tsx | 0 .../canvas/public/lib/template_service.ts | 0 .../canvas/public/lib/templates_registry.js | 0 .../canvas/public/lib/time_duration.ts | 0 .../canvas/public/lib/time_interval.test.ts | 0 .../canvas/public/lib/time_interval.ts | 0 .../canvas/public/lib/transitions_registry.js | 0 .../private}/canvas/public/lib/ui_metric.ts | 0 .../private}/canvas/public/lib/workpad.ts | 0 .../plugins/private}/canvas/public/plugin.tsx | 0 .../private}/canvas/public/plugin_api.ts | 0 .../private}/canvas/public/registries.ts | 0 .../canvas/public/routes/home/home_route.tsx | 0 .../canvas/public/routes/home/index.tsx | 0 .../private}/canvas/public/routes/index.tsx | 0 .../hooks/use_autoplay_helper.test.tsx | 0 .../workpad/hooks/use_autoplay_helper.ts | 0 .../use_fullscreen_presentation_helper.ts | 0 .../workpad/hooks/use_page_sync.test.ts | 0 .../routes/workpad/hooks/use_page_sync.ts | 0 .../workpad/hooks/use_refresh_helper.test.tsx | 0 .../workpad/hooks/use_refresh_helper.ts | 0 .../hooks/use_restore_history.test.tsx | 0 .../workpad/hooks/use_restore_history.ts | 0 .../workpad/hooks/use_routing_context.ts | 0 .../routes/workpad/hooks/use_workpad.test.tsx | 0 .../routes/workpad/hooks/use_workpad.ts | 0 .../workpad/hooks/use_workpad_history.test.ts | 0 .../workpad/hooks/use_workpad_history.ts | 0 .../hooks/use_workpad_persist.test.tsx | 0 .../workpad/hooks/use_workpad_persist.ts | 0 .../canvas/public/routes/workpad/index.tsx | 0 .../public/routes/workpad/route_state.ts | 0 .../workpad/workpad_presentation_helper.tsx | 0 .../public/routes/workpad/workpad_route.tsx | 0 .../workpad/workpad_routing_context.tsx | 0 .../services/canvas_custom_element_service.ts | 0 .../services/canvas_expressions_service.ts | 0 .../public/services/canvas_filters_service.ts | 0 .../public/services/canvas_notify_service.ts | 0 .../public/services/canvas_workpad_service.ts | 0 .../public/services/get_has_workpads.ts | 0 .../private}/canvas/public/services/index.ts | 0 .../canvas/public/services/kibana_services.ts | 0 .../canvas/public/services/legacy/context.tsx | 0 .../canvas/public/services/legacy/index.ts | 0 .../canvas/public/services/legacy/search.ts | 0 .../public/services/legacy/stubs/index.ts | 0 .../public/services/legacy/stubs/search.ts | 0 .../private}/canvas/public/services/mocks.ts | 0 .../canvas/public/setup_expressions.ts | 0 .../canvas/public/state/actions/app.js | 0 .../canvas/public/state/actions/assets.js | 0 .../canvas/public/state/actions/elements.js | 0 .../public/state/actions/elements.test.js | 0 .../canvas/public/state/actions/embeddable.ts | 0 .../canvas/public/state/actions/filters.js | 0 .../canvas/public/state/actions/flyouts.ts | 0 .../canvas/public/state/actions/history.js | 0 .../canvas/public/state/actions/pages.js | 0 .../public/state/actions/resolved_args.ts | 0 .../canvas/public/state/actions/sidebar.ts | 0 .../canvas/public/state/actions/transient.js | 0 .../canvas/public/state/actions/workpad.ts | 0 .../private}/canvas/public/state/defaults.js | 0 .../canvas/public/state/initial_state.js | 0 .../public/state/middleware/element_stats.ts | 0 .../public/state/middleware/in_flight.test.ts | 0 .../public/state/middleware/in_flight.ts | 0 .../canvas/public/state/middleware/index.js | 0 .../public/state/middleware/resolved_args.js | 0 .../public/state/middleware/workpad_update.js | 0 .../reducers/__fixtures__/action_creator.js | 0 .../canvas/public/state/reducers/app.js | 0 .../canvas/public/state/reducers/assets.js | 0 .../canvas/public/state/reducers/elements.js | 0 .../public/state/reducers/elements.test.js | 0 .../public/state/reducers/embeddable.ts | 0 .../public/state/reducers/embeddables.test.ts | 0 .../canvas/public/state/reducers/flyouts.ts | 0 .../canvas/public/state/reducers/history.js | 0 .../canvas/public/state/reducers/index.js | 0 .../canvas/public/state/reducers/pages.js | 0 .../public/state/reducers/resolved_args.js | 0 .../state/reducers/resolved_args.test.js | 0 .../canvas/public/state/reducers/sidebar.ts | 0 .../canvas/public/state/reducers/transient.js | 0 .../canvas/public/state/reducers/workpad.js | 0 .../canvas/public/state/selectors/app.ts | 0 .../canvas/public/state/selectors/assets.ts | 0 .../canvas/public/state/selectors/flyouts.ts | 0 .../state/selectors/resolved_args.test.js | 0 .../public/state/selectors/resolved_args.ts | 0 .../canvas/public/state/selectors/sidebar.ts | 0 .../public/state/selectors/workpad.test.js | 0 .../canvas/public/state/selectors/workpad.ts | 0 .../private}/canvas/public/state/store.js | 0 .../triggers/add_canvas_element_trigger.ts | 0 .../plugins/private}/canvas/public/store.ts | 0 .../private}/canvas/public/style/hackery.scss | 0 .../private}/canvas/public/style/index.scss | 0 .../private}/canvas/public/style/main.scss | 0 .../canvas/public/transitions/fade/fade.scss | 0 .../canvas/public/transitions/fade/index.ts | 0 .../canvas/public/transitions/index.ts | 0 .../canvas/public/transitions/rotate/index.ts | 0 .../public/transitions/rotate/rotate.scss | 0 .../canvas/public/transitions/slide/index.ts | 0 .../public/transitions/slide/slide.scss | 0 .../canvas/public/transitions/transition.js | 0 .../canvas/public/transitions/zoom/index.ts | 0 .../canvas/public/transitions/zoom/zoom.scss | 0 .../plugins/private}/canvas/scripts/jest.js | 2 +- .../canvas/scripts/shareable_runtime.js | 0 .../canvas/server/collectors/collector.ts | 0 .../server/collectors/collector_helpers.ts | 0 .../custom_element_collector.test.ts | 0 .../collectors/custom_element_collector.ts | 0 .../canvas/server/collectors/index.ts | 0 .../collectors/workpad_collector.test.ts | 0 .../server/collectors/workpad_collector.ts | 0 .../plugins/private}/canvas/server/config.ts | 0 .../private}/canvas/server/feature.test.ts | 0 .../plugins/private}/canvas/server/feature.ts | 0 .../plugins/private}/canvas/server/index.ts | 0 .../private}/canvas/server/mocks/index.ts | 0 .../server/mocks/workpad_route_context.ts | 0 .../plugins/private}/canvas/server/plugin.ts | 0 .../server/routes/catch_error_handler.ts | 0 .../routes/custom_elements/create.test.ts | 0 .../server/routes/custom_elements/create.ts | 0 .../custom_element_attributes.ts | 0 .../custom_elements/custom_element_schema.ts | 0 .../routes/custom_elements/delete.test.ts | 0 .../server/routes/custom_elements/delete.ts | 0 .../routes/custom_elements/find.test.ts | 0 .../server/routes/custom_elements/find.ts | 0 .../server/routes/custom_elements/get.test.ts | 0 .../server/routes/custom_elements/get.ts | 0 .../server/routes/custom_elements/index.ts | 0 .../routes/custom_elements/update.test.ts | 0 .../server/routes/custom_elements/update.ts | 0 .../server/routes/functions/functions.test.ts | 0 .../server/routes/functions/functions.ts | 0 .../canvas/server/routes/functions/index.ts | 0 .../private}/canvas/server/routes/index.ts | 0 .../canvas/server/routes/ok_response.ts | 0 .../server/routes/shareables/download.test.ts | 0 .../server/routes/shareables/download.ts | 0 .../canvas/server/routes/shareables/index.ts | 0 .../shareables/rendered_workpad_schema.ts | 0 .../server/routes/shareables/zip.test.ts | 0 .../canvas/server/routes/shareables/zip.ts | 0 .../canvas/server/routes/templates/index.ts | 0 .../server/routes/templates/list.test.ts | 0 .../canvas/server/routes/templates/list.ts | 0 .../canvas/server/routes/test_helpers.ts | 0 .../server/routes/workpad/create.test.ts | 0 .../canvas/server/routes/workpad/create.ts | 0 .../server/routes/workpad/delete.test.ts | 0 .../canvas/server/routes/workpad/delete.ts | 0 .../canvas/server/routes/workpad/find.test.ts | 0 .../canvas/server/routes/workpad/find.ts | 0 .../canvas/server/routes/workpad/get.test.ts | 0 .../canvas/server/routes/workpad/get.ts | 0 .../server/routes/workpad/has_workpads.ts | 0 .../canvas/server/routes/workpad/import.ts | 0 .../canvas/server/routes/workpad/index.ts | 0 .../server/routes/workpad/resolve.test.ts | 0 .../canvas/server/routes/workpad/resolve.ts | 0 .../server/routes/workpad/shim_workpad.ts | 0 .../server/routes/workpad/update.test.ts | 0 .../canvas/server/routes/workpad/update.ts | 0 .../routes/workpad/workpad_attributes.ts | 0 .../routes/workpad/workpad_schema.test.ts | 0 .../server/routes/workpad/workpad_schema.ts | 0 .../server/saved_objects/custom_element.ts | 0 .../canvas/server/saved_objects/index.ts | 0 .../saved_objects/migrations/expressions.ts | 0 .../server/saved_objects/migrations/index.ts | 0 .../migrations/remove_attributes_id.test.ts | 0 .../migrations/remove_attributes_id.ts | 0 .../server/saved_objects/migrations/types.ts | 0 .../saved_objects/migrations/workpad.ts | 0 .../canvas/server/saved_objects/workpad.ts | 0 .../saved_objects/workpad_references.ts | 0 .../server/saved_objects/workpad_template.ts | 0 .../canvas/server/setup_interpreter.ts | 0 .../048ed81e-84ae-4a48-9c30-641cf72b0376.jpg | Bin .../0791ed56-9a2e-4d0d-8d2d-a2f8c3c268ee.jpg | Bin .../0c6f377f-771e-432e-8e2e-15c3e9142ad6.png | Bin .../23edd689-2d34-4bb8-a3eb-05420dd87b85.svg | 0 .../6fb8f925-0e1e-4108-8442-3dbf88d145e5.jpg | Bin .../7f2d5d96-3c85-49a0-94f3-e9b05de23cb6.jpg | Bin .../9c2e5ab5-2dbe-43a8-bc84-e67f191fbcd8.png | Bin .../a30a06eb-2276-44b1-a62d-856e2116138c.jpg | Bin .../aa91a324-8012-477e-a7e4-7c3cd7a6332f.svg | 0 .../b22b6fa7-618c-4a59-82a1-ca921454da48.svg | 0 .../d38c5025-eafc-4a35-a5fd-fb7b5bdc9efa.jpg | Bin .../private}/canvas/server/templates/index.ts | 0 .../server/templates/pitch_presentation.ts | 0 .../canvas/server/templates/status_report.ts | 0 .../canvas/server/templates/summary_report.ts | 0 .../canvas/server/templates/theme_dark.ts | 0 .../canvas/server/templates/theme_light.ts | 0 .../private}/canvas/server/ui_settings.ts | 0 .../server/workpad_route_context.test.ts | 0 .../canvas/server/workpad_route_context.ts | 0 .../canvas/shareable_runtime/README.mdx | 0 .../__mocks__/supported_renderers.js | 0 .../api/__snapshots__/shareable.test.tsx.snap | 0 .../canvas/shareable_runtime/api/index.ts | 0 .../shareable_runtime/api/shareable.test.tsx | 0 .../shareable_runtime/api/shareable.tsx | 0 .../__snapshots__/app.test.tsx.snap | 0 .../__snapshots__/canvas.stories.storyshot | 0 .../__snapshots__/page.stories.storyshot | 0 .../rendered_element.stories.storyshot | 0 .../components/__stories__/canvas.stories.tsx | 0 .../components/__stories__/page.stories.tsx | 0 .../__stories__/rendered_element.stories.tsx | 0 .../shareable_runtime/components/app.test.tsx | 0 .../shareable_runtime/components/app.tsx | 0 .../components/canvas.module.scss | 0 .../components/canvas.test.tsx | 0 .../shareable_runtime/components/canvas.tsx | 0 .../__snapshots__/footer.stories.storyshot | 0 .../page_controls.stories.storyshot | 0 .../__snapshots__/scrubber.stories.storyshot | 0 .../__snapshots__/title.stories.storyshot | 0 .../footer/__stories__/footer.stories.tsx | 0 .../__stories__/page_controls.stories.tsx | 0 .../footer/__stories__/scrubber.stories.tsx | 0 .../footer/__stories__/title.stories.tsx | 0 .../components/footer/footer.module.scss | 0 .../components/footer/footer.test.tsx | 0 .../components/footer/footer.tsx | 0 .../components/footer/index.ts | 0 .../components/footer/page_controls.test.tsx | 0 .../components/footer/page_controls.tsx | 0 .../footer/page_preview.module.scss | 0 .../components/footer/page_preview.test.tsx | 0 .../components/footer/page_preview.tsx | 0 .../components/footer/scrubber.module.scss | 0 .../components/footer/scrubber.test.tsx | 0 .../components/footer/scrubber.tsx | 0 .../__snapshots__/settings.test.tsx.snap | 0 .../autoplay_settings.stories.storyshot | 0 .../__snapshots__/settings.stories.storyshot | 0 .../toolbar_settings.stories.storyshot | 0 .../__stories__/autoplay_settings.stories.tsx | 0 .../settings/__stories__/settings.stories.tsx | 0 .../__stories__/toolbar_settings.stories.tsx | 0 .../settings/autoplay_settings.test.tsx | 0 .../footer/settings/autoplay_settings.tsx | 0 .../components/footer/settings/index.ts | 0 .../footer/settings/settings.test.tsx | 0 .../components/footer/settings/settings.tsx | 0 .../footer/settings/toolbar_settings.test.tsx | 0 .../footer/settings/toolbar_settings.tsx | 0 .../components/footer/title.test.tsx | 0 .../components/footer/title.tsx | 0 .../components/page.module.scss | 0 .../components/page.test.tsx | 0 .../shareable_runtime/components/page.tsx | 0 .../components/rendered_element.module.scss | 0 .../components/rendered_element.tsx | 0 .../canvas/shareable_runtime/constants.d.ts | 0 .../canvas/shareable_runtime/constants.js | 4 ++-- .../shareable_runtime/constants_static.d.ts | 0 .../shareable_runtime/constants_static.js | 0 .../shareable_runtime/context/actions.ts | 0 .../canvas/shareable_runtime/context/index.ts | 0 .../shareable_runtime/context/reducer.ts | 0 .../shareable_runtime/context/state.tsx | 0 .../canvas/shareable_runtime/css_modules.d.ts | 0 .../canvas/shareable_runtime/index.html | 0 .../canvas/shareable_runtime/index.ts | 0 .../shareable_runtime/postcss.config.js | 0 .../supported_renderers.d.ts | 0 .../shareable_runtime/supported_renderers.js | 0 .../canvas/shareable_runtime/template.html | 0 .../canvas/shareable_runtime/test/context.tsx | 0 .../shareable_runtime/test/context_example.ts | 0 .../shareable_runtime/test/context_jest.ts | 0 .../canvas/shareable_runtime/test/index.ts | 0 .../shareable_runtime/test/interactions.ts | 0 .../shareable_runtime/test/selectors.ts | 0 .../canvas/shareable_runtime/test/utils.ts | 0 .../test/workpads/austin.json | 0 .../test/workpads/hello.json | 0 .../shareable_runtime/test/workpads/test.json | 0 .../canvas/shareable_runtime/types.ts | 0 .../shareable_runtime/webpack.config.js | 0 .../webpack/ci_stats_plugin.ts | 0 .../canvas/storybook/__mocks__/es_service.ts | 0 .../addon/components/action_list.tsx | 0 .../addon/components/action_tree.tsx | 0 .../storybook/addon/components/index.ts | 0 .../addon/components/state_change.tsx | 0 .../canvas/storybook/addon/constants.ts | 0 .../private}/canvas/storybook/addon/panel.css | 0 .../private}/canvas/storybook/addon/panel.tsx | 0 .../canvas/storybook/addon/register.tsx | 0 .../private}/canvas/storybook/addon/state.ts | 0 .../private}/canvas/storybook/addon/types.ts | 0 .../canvas/storybook/canvas_webpack.ts | 2 +- .../private}/canvas/storybook/constants.ts | 2 +- .../canvas/storybook/decorators/index.ts | 0 .../storybook/decorators/kibana_decorator.tsx | 0 .../storybook/decorators/redux_decorator.tsx | 0 .../storybook/decorators/router_decorator.tsx | 0 .../decorators/services_decorator.tsx | 0 .../private}/canvas/storybook/index.ts | 0 .../plugins/private}/canvas/storybook/main.js | 0 .../private}/canvas/storybook/preview.ts | 0 .../storybook/storyshots.skipped_test.tsx | 2 +- .../tasks/mocks/customElementService.js | 0 .../canvas/tasks/mocks/downloadWorkpad.js | 0 .../private}/canvas/tasks/mocks/esService.ts | 0 .../tasks/mocks/uiAbsoluteToParsedUrl.ts | 0 .../private}/canvas/tasks/mocks/uiChrome.js | 0 .../private}/canvas/tasks/mocks/uiMetric.js | 0 .../private}/canvas/tasks/mocks/uiNotify.js | 0 .../canvas/tasks/mocks/uiNotifyFormatMsg.js | 0 .../plugins/private}/canvas/tsconfig.json | 6 +++--- .../private}/canvas/types/arguments.ts | 0 .../plugins/private}/canvas/types/assets.ts | 0 .../plugins/private}/canvas/types/canvas.ts | 0 .../plugins/private}/canvas/types/elements.ts | 0 .../private}/canvas/types/embeddables.ts | 0 .../plugins/private}/canvas/types/filters.ts | 0 .../private}/canvas/types/functions.ts | 0 .../plugins/private}/canvas/types/global.d.ts | 0 .../plugins/private}/canvas/types/index.ts | 0 .../canvas/types/react_moment_prototypes.d.ts | 0 .../private}/canvas/types/renderers.ts | 0 .../private}/canvas/types/shortcuts.ts | 0 .../plugins/private}/canvas/types/state.ts | 0 .../plugins/private}/canvas/types/strategy.ts | 0 .../plugins/private}/canvas/types/style.ts | 0 .../private}/canvas/types/telemetry.ts | 0 .../private}/canvas/types/transforms.ts | 0 .../reporting/server/config/ui_settings.ts | 2 +- yarn.lock | 2 +- 1393 files changed, 49 insertions(+), 49 deletions(-) rename x-pack/{plugins => platform/plugins/private}/canvas/.eslintrc.json (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/.gitignore (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/CONTRIBUTING.md (95%) rename x-pack/{plugins => platform/plugins/private}/canvas/PLUGINS.mdx (95%) rename x-pack/{plugins => platform/plugins/private}/canvas/README.md (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/__fixtures__/elasticsearch.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/__fixtures__/elasticsearch_plugin.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/__fixtures__/function_specs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/__fixtures__/kibana.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/__fixtures__/workpads.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/canvas_addons.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/area_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/bubble_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/debug/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/filter_debug/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/heatmap/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/image/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/line_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/markdown/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/metric/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/metric_vis/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/metric_vis_legacy/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/pie/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/pie_vis/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/plot/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/progress_gauge/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/progress_wheel/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/repeat_image/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/reveal_image/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/shape/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/table/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/tag_cloud/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/time_filter/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/expression_types/embeddable.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/expression_types/embeddable_types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/expression_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/browser/escount.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/browser/esdocs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/browser/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/browser/location.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/browser/markdown.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/browser/markdown.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/browser/urlparam.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/__fixtures__/test_filters.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/__fixtures__/test_pointseries.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/__fixtures__/test_styles.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/__fixtures__/test_tables.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/all.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/all.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/alterColumn.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/alterColumn.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/any.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/any.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/as.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/as.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/axisConfig.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/axis_config.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/case.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/case.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/clear.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/clear.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/columns.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/columns.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/compare.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/compare.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/containerStyle.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/container_style.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/context.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/context.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/csv.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/csv.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/date.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/date.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/do.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/do.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/dropdownControl.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/dropdown_control.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/eq.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/eq.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/exactly.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/exactly.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/filterrows.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/filterrows.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/formatdate.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/formatdate.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/formatnumber.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/formatnumber.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/getCell.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/getCell.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/gt.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/gt.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/gte.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/gte.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/head.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/head.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/if.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/if.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/join_rows.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/join_rows.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/lt.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/lt.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/lte.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/lte.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/map_center.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/neq.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/neq.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/ply.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/ply.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/render.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/render.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/replace.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/replace.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/rounddate.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/rounddate.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/rowCount.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/rowCount.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/seriesStyle.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/series_style.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/sort.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/sort.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/staticColumn.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/staticColumn.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/string.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/string.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/switch.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/switch.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/table.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/table.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/tail.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/tail.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/time_range.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/timefilter.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/timefilter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/timefilterControl.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/common/timefilter_control.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/external/embeddable.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/external/embeddable.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/external/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/external/saved_lens.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/external/saved_lens.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/external/saved_map.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/external/saved_map.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/external/saved_search.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/external/saved_search.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/external/saved_visualization.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/demodata.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/demodata/ci.json (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/demodata/demo_rows_types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/demodata/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/demodata/shirts.json (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/filters.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/filters.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/get_expression_type.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/get_field_names.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/is_column_reference.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/pointseries.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/pointseries/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/__stories__/__snapshots__/table.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/__stories__/render.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/__stories__/table.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/core.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/embeddable/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/embeddable/use_get_app_context.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/external.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/__snapshots__/advanced_filter.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/advanced_filter.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/advanced_filter/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/__snapshots__/dropdown_filter.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/dropdown_filter.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/__snapshots__/time_filter.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/time_filter.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/time_filter/components/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/time_filter/components/time_filter.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/filters/time_filter/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/markdown/__stories__/__snapshots__/markdown.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/markdown/__stories__/markdown.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/markdown/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/pie/__stories__/__snapshots__/pie.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/pie/__stories__/pie.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/pie/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/plot/__stories__/__snapshots__/plot.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/plot/__stories__/plot.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/plot/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/plot/plot.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/plot/plugins/size.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/plot/plugins/text.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/table.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/renderers/text.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/__stories__/palette.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/extended_template.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/simple_template.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/extended_template.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/simple_template.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/axis_config/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/__snapshots__/date_format.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/date_format.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/date_format/date_format.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/date_format/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/editor.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/filter_group.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/number.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/__snapshots__/number_format.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/number_format.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/number_format/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/number_format/number_format.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/palette/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/palette/palette.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/palette/palette_types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/palette/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/partition_labels/default_expression.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/partition_labels/extended_template.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/partition_labels/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/partition_labels/simple_template.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/partition_labels/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/partition_labels/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/percentage.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/range.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/select.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/shape.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/string.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/textarea.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/toggle.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/datasources/demodata.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/datasources/esdocs.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/datasources/essql.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/datasources/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/datasources/timelion.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/models/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/models/math.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/models/metric_vis.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/models/partition_labels.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/models/point_series.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/models/tagcloud.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/tags/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/tags/presentation.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/tags/report.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/transforms/formatdate.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/transforms/formatnumber.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/transforms/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/transforms/rounddate.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/transforms/sort.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/dropdownControl.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/getCell.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/heatmap.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/image.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/markdown.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/metric.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/pie.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/pie_vis.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/plot.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/progress.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/render.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/repeatImage.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/revealImage.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/shape.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/table.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/canvas_plugin_src/uis/views/timefilterControl.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/functions/filters.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/functions/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/build_bool_array.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/build_embeddable_filters.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/build_embeddable_filters.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/datatable/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/datatable/query.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/embeddable_dataurl.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/errors.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/errors.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/expression_form_handlers.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/expression_form_handlers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/fetch.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/fetch.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/filters.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/fonts.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/get_es_filter.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/get_field_type.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/get_field_type.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/get_id.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/get_legend_config.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/get_legend_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/handlebars.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/handlebars.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/hex_to_rgb.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/hex_to_rgb.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/palettes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/pivot_object_array.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/pivot_object_array.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/request/build_bool_array.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/request/build_es_request.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/request/filters.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/request/format_response.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/request/get_es_filter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/request/normalize_type.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/time_units.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/unquote_string.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/lib/unquote_string.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/common/locator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/README.md (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/elements/apply_strings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/elements/element_strings.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/elements/element_strings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/elements/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/errors.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/expression_types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/all.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/alter_column.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/any.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/as.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/asset.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/axis_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/case.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/clear.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/columns.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/compare.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/container_style.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/context.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/csv.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/date.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/demodata.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/do.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/dropdown_control.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/embeddable.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/eq.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/escount.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/esdocs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/exactly.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/filterrows.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/filters.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/formatdate.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/formatnumber.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/get_cell.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/gt.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/gte.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/head.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/if.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/join_rows.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/location.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/lt.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/lte.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/map_center.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/markdown.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/neq.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/pie.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/plot.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/ply.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/pointseries.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/render.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/replace.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/rounddate.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/row_count.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/saved_lens.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/saved_map.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/saved_search.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/saved_visualization.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/series_style.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/sort.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/static_column.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/string.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/switch.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/table.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/tail.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/time_range.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/timefilter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/timefilter_control.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/timelion.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/to.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/dict/urlparam.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/function_errors.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/function_help.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/functions/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/lib.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/renderers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/shortcuts.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/tags.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/templates/apply_strings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/templates/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/templates/template_strings.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/templates/template_strings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/transitions.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/ui.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/i18n/units.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/images/canvas.png (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/images/canvas.svg (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/images/canvas_blank.svg (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/images/icon_black.svg (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/images/logo.gif (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/jest.config.js (60%) rename x-pack/{plugins => platform/plugins/private}/canvas/jest_setup.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/application.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/app/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_add/arg_add.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_add/arg_add.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_add/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_add_popover/arg_add_popover.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_add_popover/arg_add_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_add_popover/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_form/advanced_failure.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_form/arg_form.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_form/arg_form.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_form/arg_label.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_form/arg_simple_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_form/arg_template_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_form/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_form/pending_arg_value.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/arg_form/simple_failure.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/asset_manager/__stories__/asset.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/asset_manager/__stories__/asset_manager.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/asset_manager/__stories__/assets.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/asset_manager/asset.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/asset_manager/asset.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/asset_manager/asset_manager.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/asset_manager/asset_manager.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/asset_manager/asset_manager.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/asset_manager/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/asset_picker/asset_picker.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/asset_picker/asset_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/asset_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/canvas_loading/canvas_loading.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/canvas_loading/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/clipboard/clipboard.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/clipboard/clipboard.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/clipboard/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_dot/color_dot.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_dot/color_dot.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_dot/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_manager/__stories__/color_manager.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_manager/color_manager.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_manager/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_palette/__stories__/__snapshots__/color_palette.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_palette/__stories__/color_palette.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_palette/color_palette.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_palette/color_palette.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_palette/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_picker/__stories__/__snapshots__/color_picker.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_picker/__stories__/color_picker.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_picker/color_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_picker_popover/__stories__/__snapshots__/color_picker_popover.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_picker_popover/__stories__/color_picker_popover.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_picker_popover/color_picker_popover.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_picker_popover/color_picker_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/color_picker_popover/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/confirm_modal/confirm_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/confirm_modal/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/custom_element_modal/__stories__/__snapshots__/custom_element_modal.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/custom_element_modal/__stories__/custom_element_modal.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/custom_element_modal/custom_element_modal.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/custom_element_modal/custom_element_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/custom_element_modal/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/datasource/__stories__/__snapshots__/datasource_component.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/datasource/datasource.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/datasource/datasource.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/datasource/datasource_component.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/datasource/datasource_preview/datasource_preview.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/datasource/datasource_preview/datasource_preview.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/datasource/datasource_preview/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/datasource/datasource_selector.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/datasource/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/datasource/no_datasource.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/datatable/datatable.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/datatable/datatable.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/datatable/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/dom_preview/dom_preview.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/dom_preview/dom_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/dom_preview/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/download/download.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/download/download.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/download/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_card/__stories__/__snapshots__/element_card.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_card/__stories__/element_card.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_card/element_card.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_card/element_card.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_card/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_config/element_config.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_config/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_content/element_content.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_content/element_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_content/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_content/invalid_element_type.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_content/invalid_expression.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_share_container/element_share_container.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_share_container/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_wrapper/element_wrapper.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/element_wrapper/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/embeddable_flyout/flyout.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/embeddable_flyout/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/embeddable_flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/enhance/error_boundary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/enhance/stateful_prop.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/es_data_view_select/es_data_view_select.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/es_data_view_select/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/es_field_select/es_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/es_field_select/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/es_fields_select/es_fields_select.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/es_fields_select/es_fields_select.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/es_fields_select/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/export_app/__snapshots__/export_app.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/export_app/export_app.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/export_app/export_app.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/export_app/export_app.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/export_app/export_app.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/export_app/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/expression/element_not_selected.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/expression/expression.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/expression/expression.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/expression/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/expression_input/__stories__/expression_input.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/expression_input/expression_input.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/expression_input/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/file_upload/__snapshots__/file_upload.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/file_upload/file_upload.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/file_upload/file_upload.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/flyouts/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/font_picker/__stories__/font_picker.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/font_picker/font_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/font_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/format_select/format_select.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/format_select/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/fullscreen/fullscreen.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/fullscreen/fullscreen.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/fullscreen/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/function_form/function_form.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/function_form/function_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/function_form/function_form_component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/function_form/function_form_context_error.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/function_form/function_form_context_pending.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/function_form/function_unknown.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/function_form/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/function_form_list/function_form_list.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/function_form_list/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/help_menu/help_menu.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/help_menu/help_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/help_menu/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/__snapshots__/home.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/home.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/home.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/home.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/hooks/use_clone_workpad.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/hooks/use_create_from_template.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/hooks/use_create_workpad.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/hooks/use_delete_workpad.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/hooks/use_find_templates.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/hooks/use_find_workpad.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/hooks/use_import_workpad.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/hooks/use_upload_workpad.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/loading.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/__snapshots__/empty_prompt.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/__snapshots__/my_workpads.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/empty_prompt.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/empty_prompt.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/my_workpads.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/my_workpads.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/my_workpads.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/upload_dropzone.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/upload_dropzone.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/upload_dropzone.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/workpad_import.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/workpad_import.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/workpad_table.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/workpad_table.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/workpad_table.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/workpad_table_tools.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/my_workpads/workpad_table_tools.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/workpad_create.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/workpad_create.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/workpad_templates/__snapshots__/workpad_templates.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/workpad_templates/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/workpad_templates/workpad_templates.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/workpad_templates/workpad_templates.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home/workpad_templates/workpad_templates.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home_app/home_app.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home_app/home_app.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home_app/home_app.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/home_app/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/hooks/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/hooks/use_canvas_api.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/hooks/workpad/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/hooks/workpad/use_download_workpad.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/hooks/workpad/use_incoming_embeddable.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/item_grid/__stories__/__snapshots__/item_grid.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/item_grid/__stories__/item_grid.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/item_grid/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/item_grid/item_grid.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/keyboard_shortcuts_doc/__stories__/__snapshots__/keyboard_shortcuts_doc.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/keyboard_shortcuts_doc/__stories__/keyboard_shortcuts_doc.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/keyboard_shortcuts_doc/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/keyboard_shortcuts_doc_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/layout_annotations/alignment_guide.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/layout_annotations/border_connection.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/layout_annotations/border_resize_handle.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/layout_annotations/dragbox_annotation.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/layout_annotations/hover_annotation.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/layout_annotations/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/layout_annotations/layout_annotations.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/layout_annotations/rotation_handle.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/layout_annotations/tooltip_annotation.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/loading/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/loading/loading.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/loading/loading.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/loading/loading.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/page_config/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/page_config/page_config.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/page_manager/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/page_manager/page_manager.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/page_manager/page_manager.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/page_manager/page_manager.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/page_preview/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/page_preview/page_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/page_preview/page_preview.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/page_preview/page_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/paginate/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/paginate/paginate.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/palette_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/palette_picker/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/palette_picker/palette_picker/__stories__/palette_picker.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/palette_picker/palette_picker/clearable_palette_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/palette_picker/palette_picker/default_palette_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/palette_picker/palette_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/palette_picker/palette_picker/palette_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/palette_picker/stops_palette_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/palette_picker/stops_palette_picker/stop_color_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/palette_picker/stops_palette_picker/stops_palette_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/palette_picker/stops_palette_picker/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/palette_picker/stops_palette_picker/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/palette_picker/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/palette_picker/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/popover/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/popover/popover.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/positionable/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/positionable/positionable.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/positionable/positionable.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/render_to_dom/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/render_to_dom/render_to_dom.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/render_with_fn/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/render_with_fn/render_with_fn.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/routing/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/routing/routing_link.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/saved_elements_modal/__stories__/element_controls.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/saved_elements_modal/__stories__/element_grid.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/saved_elements_modal/__stories__/fixtures/test_elements.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/saved_elements_modal/__stories__/saved_elements_modal.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/saved_elements_modal/element_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/saved_elements_modal/element_grid.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/saved_elements_modal/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/saved_elements_modal/saved_elements_modal.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/saved_elements_modal/saved_elements_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/shape_picker/__stories__/__snapshots__/shape_picker.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/shape_picker/__stories__/shape_picker.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/shape_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/shape_picker/shape_picker.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/shape_picker/shape_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/shape_picker_popover/__stories__/__snapshots__/shape_picker_popover.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/shape_picker_popover/__stories__/shape_picker_popover.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/shape_picker_popover/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/shape_preview/__stories__/__snapshots__/shape_preview.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/shape_preview/__stories__/shape_preview.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/shape_preview/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/shape_preview/shape_preview.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/shape_preview/shape_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/__stories__/__snapshots__/group_settings.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/__stories__/__snapshots__/multi_element_settings.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/__stories__/group_settings.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/__stories__/multi_element_settings.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/element_settings/element_settings.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/element_settings/element_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/element_settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/global_config/filter_config.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/global_config/general_config.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/global_config/global_config.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/global_config/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/group_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/multi_element_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/sidebar.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/sidebar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/sidebar_content/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/sidebar_section.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar/sidebar_section_title.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar_header/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar_header/sidebar_header.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar_header/sidebar_header.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/sidebar_header/sidebar_header.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/tag/__stories__/__snapshots__/tag.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/tag/__stories__/tag.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/tag/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/tag/tag.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/tag_list/__stories__/__snapshots__/tag_list.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/tag_list/__stories__/tag_list.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/tag_list/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/tag_list/tag_list.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/text_style_picker/__stories__/text_style_picker.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/text_style_picker/font_sizes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/text_style_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/text_style_picker/text_style_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/tool_tip_shortcut/__stories__/__snapshots__/tool_tip_shortcut.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/tool_tip_shortcut/__stories__/tool_tip_shortcut.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/tool_tip_shortcut/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/toolbar/__stories__/__snapshots__/toolbar.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/toolbar/__stories__/toolbar.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/toolbar/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/toolbar/toolbar.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/toolbar/toolbar.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/toolbar/toolbar.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/toolbar/tray/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/toolbar/tray/tray.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/toolbar/tray/tray.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/tooltip_icon/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/tooltip_icon/tooltip_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/var_config/__stories__/__snapshots__/delete_var.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/var_config/__stories__/delete_var.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/var_config/__stories__/edit_var.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/var_config/__stories__/var_config.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/var_config/delete_var.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/var_config/edit_var.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/var_config/edit_var.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/var_config/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/var_config/var_config.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/var_config/var_config.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/var_config/var_panel.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/var_config/var_value_field.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/with_debounce_arg/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/with_debounce_arg/with_debounce_arg.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad/workpad.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad/workpad.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad/workpad.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad/workpad_shortcuts.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_app/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_app/workpad_app.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_app/workpad_app.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_app/workpad_app.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_app/workpad_telemetry.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_app/workpad_telemetry.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_color_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_color_picker/workpad_color_picker.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_color_picker/workpad_color_picker.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_config/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_config/workpad_config.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_config/workpad_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/__stories__/__snapshots__/filter.component.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/__stories__/__snapshots__/filters_group.component.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/__stories__/__snapshots__/workpad_filters.component.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/__stories__/elements.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/__stories__/filter.component.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/__stories__/filters_group.component.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/__stories__/workpad_filters.component.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/__stories__/workpad_filters.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/filter.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/filter_views/default_filter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/filter_views/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/filter_views/time_filter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/filters_group.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/hooks/use_canvas_filters.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/workpad_filters.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_filters/workpad_filters.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/edit_menu/__stories__/__snapshots__/edit_menu.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/edit_menu/__stories__/edit_menu.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/edit_menu/edit_menu.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/edit_menu/edit_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/edit_menu/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/editor_menu/__stories__/__snapshots__/editor_menu.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/editor_menu/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/element_menu/__stories__/__snapshots__/element_menu.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/element_menu/__stories__/element_menu.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/element_menu/element_menu.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/element_menu/element_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/element_menu/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/fullscreen_control/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/labs_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/labs_control/labs_control.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/refresh_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/refresh_control/refresh_control.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/refresh_control/refresh_control.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/pdf_panel.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/share_menu.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/__stories__/share_menu.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/flyout/__stories__/flyout.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/flyout/hooks/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/flyout/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/flyout/runtime_step.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/flyout/snippets_step.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/flyout/workpad_step.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/share_menu.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/share_menu.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/share_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/share_menu/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/view_menu/__stories__/__snapshots__/view_menu.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/view_menu/__stories__/view_menu.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/view_menu/auto_refresh_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/view_menu/custom_interval.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/view_menu/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/view_menu/kiosk_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/view_menu/lib/get_fit_zoom_scale.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/view_menu/view_menu.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/view_menu/view_menu.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/view_menu/view_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/workpad_header.component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_header/workpad_header.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_page/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_page/integration_utils.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_page/positioning_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_page/prop_types.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_page/workpad_interactive_page/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_page/workpad_interactive_page/interaction_boundary.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_page/workpad_page.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_page/workpad_static_page/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_shortcuts/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_type.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_type_registry.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/color.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/simple_template.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/container_style/__stories__/extended_template.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/container_style/__stories__/simple_template.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/container_style/appearance_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/container_style/border_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/container_style/extended_template.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/container_style/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/container_style/simple_template.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/font.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/extended_template.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/series_style/__stories__/simple_template.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/series_style/extended_template.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/series_style/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/arg_types/series_style/simple_template.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/base_form.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/datasource.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/datasource_registry.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/function_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/model.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/model_registry.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/transform.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/transform_registry.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/view.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/expression_types/view_registry.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/asset.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/filters.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/pie.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/pie.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/plot.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/plot/get_flot_axis_config.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/plot/get_flot_axis_config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/plot/get_font_spec.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/plot/get_font_spec.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/plot/get_tick_hash.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/plot/get_tick_hash.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/plot/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/plot/series_style_to_flot.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/plot/series_style_to_flot.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/timelion.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/functions/to.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/icon.svg (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/aeroelastic/common.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/aeroelastic/functional.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/aeroelastic/geometry.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/aeroelastic/gestures.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/aeroelastic/index.d.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/aeroelastic/layout.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/aeroelastic/layout_functions.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/aeroelastic/matrix.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/aeroelastic/matrix2d.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/aeroelastic/select.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/aeroelastic/store.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/aeroelastic/typespec.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/app_handler_creators.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/arg_helpers.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/args.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/assets.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/breadcrumbs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/clipboard.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/clipboard.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/clone_subgraphs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/create_handlers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/create_thunk.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/data_view_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/doc_title.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/dom.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/element.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/element_handler_creators.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/elements_registry.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/extract_search.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/filter.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/filter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/filter_adapters.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/filter_adapters.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/find_existing_asset.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/find_expression_type.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/flatten_panel_tree.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/format_msg.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/format_msg.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/fullscreen.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/get_client_platform.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/get_id.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/get_pretty_shortcut.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/get_pretty_shortcut.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/get_window.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/is_text_input.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/keymap.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/legend_options.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/load_expression_types.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/load_transitions.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/loading_indicator.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/modify_path.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/modify_path.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/parse_single_function_chain.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/readable_color.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/readable_color.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/resolved_arg.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/resolved_arg.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/shortcut_manager.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/storage.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/sync_filter_expression.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/tag.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/tags_registry.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/template.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/template_from_react_component.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/template_service.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/templates_registry.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/time_duration.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/time_interval.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/time_interval.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/transitions_registry.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/ui_metric.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/lib/workpad.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/plugin_api.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/registries.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/home/home_route.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/home/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_autoplay_helper.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_autoplay_helper.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_fullscreen_presentation_helper.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_page_sync.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_page_sync.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_refresh_helper.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_refresh_helper.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_restore_history.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_restore_history.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_routing_context.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_workpad.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_workpad.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_workpad_history.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_workpad_history.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_workpad_persist.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/hooks/use_workpad_persist.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/index.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/route_state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/workpad_presentation_helper.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/workpad_route.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/routes/workpad/workpad_routing_context.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/services/canvas_custom_element_service.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/services/canvas_expressions_service.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/services/canvas_filters_service.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/services/canvas_notify_service.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/services/canvas_workpad_service.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/services/get_has_workpads.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/services/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/services/kibana_services.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/services/legacy/context.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/services/legacy/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/services/legacy/search.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/services/legacy/stubs/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/services/legacy/stubs/search.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/services/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/setup_expressions.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/actions/app.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/actions/assets.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/actions/elements.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/actions/elements.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/actions/embeddable.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/actions/filters.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/actions/flyouts.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/actions/history.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/actions/pages.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/actions/resolved_args.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/actions/sidebar.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/actions/transient.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/actions/workpad.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/defaults.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/initial_state.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/middleware/element_stats.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/middleware/in_flight.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/middleware/in_flight.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/middleware/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/middleware/resolved_args.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/middleware/workpad_update.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/__fixtures__/action_creator.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/app.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/assets.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/elements.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/elements.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/embeddable.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/embeddables.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/flyouts.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/history.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/index.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/pages.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/resolved_args.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/resolved_args.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/sidebar.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/transient.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/reducers/workpad.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/selectors/app.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/selectors/assets.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/selectors/flyouts.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/selectors/resolved_args.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/selectors/resolved_args.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/selectors/sidebar.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/selectors/workpad.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/selectors/workpad.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/store.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/state/triggers/add_canvas_element_trigger.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/store.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/style/hackery.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/style/index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/style/main.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/transitions/fade/fade.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/transitions/fade/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/transitions/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/transitions/rotate/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/transitions/rotate/rotate.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/transitions/slide/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/transitions/slide/slide.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/transitions/transition.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/transitions/zoom/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/public/transitions/zoom/zoom.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/scripts/jest.js (94%) rename x-pack/{plugins => platform/plugins/private}/canvas/scripts/shareable_runtime.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/collectors/collector.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/collectors/collector_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/collectors/custom_element_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/collectors/custom_element_collector.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/collectors/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/collectors/workpad_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/collectors/workpad_collector.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/feature.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/feature.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/mocks/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/mocks/workpad_route_context.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/catch_error_handler.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/custom_elements/create.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/custom_elements/create.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/custom_elements/custom_element_attributes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/custom_elements/custom_element_schema.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/custom_elements/delete.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/custom_elements/delete.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/custom_elements/find.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/custom_elements/find.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/custom_elements/get.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/custom_elements/get.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/custom_elements/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/custom_elements/update.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/custom_elements/update.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/functions/functions.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/functions/functions.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/functions/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/ok_response.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/shareables/download.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/shareables/download.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/shareables/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/shareables/rendered_workpad_schema.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/shareables/zip.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/shareables/zip.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/templates/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/templates/list.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/templates/list.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/test_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/create.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/create.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/delete.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/delete.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/find.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/find.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/get.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/get.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/has_workpads.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/import.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/resolve.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/resolve.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/shim_workpad.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/update.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/update.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/workpad_attributes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/workpad_schema.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/routes/workpad/workpad_schema.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/saved_objects/custom_element.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/saved_objects/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/saved_objects/migrations/expressions.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/saved_objects/migrations/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/saved_objects/migrations/remove_attributes_id.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/saved_objects/migrations/remove_attributes_id.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/saved_objects/migrations/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/saved_objects/migrations/workpad.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/saved_objects/workpad.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/saved_objects/workpad_references.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/saved_objects/workpad_template.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/setup_interpreter.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/assets/048ed81e-84ae-4a48-9c30-641cf72b0376.jpg (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/assets/0791ed56-9a2e-4d0d-8d2d-a2f8c3c268ee.jpg (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/assets/0c6f377f-771e-432e-8e2e-15c3e9142ad6.png (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/assets/23edd689-2d34-4bb8-a3eb-05420dd87b85.svg (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/assets/6fb8f925-0e1e-4108-8442-3dbf88d145e5.jpg (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/assets/7f2d5d96-3c85-49a0-94f3-e9b05de23cb6.jpg (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/assets/9c2e5ab5-2dbe-43a8-bc84-e67f191fbcd8.png (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/assets/a30a06eb-2276-44b1-a62d-856e2116138c.jpg (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/assets/aa91a324-8012-477e-a7e4-7c3cd7a6332f.svg (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/assets/b22b6fa7-618c-4a59-82a1-ca921454da48.svg (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/assets/d38c5025-eafc-4a35-a5fd-fb7b5bdc9efa.jpg (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/pitch_presentation.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/status_report.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/summary_report.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/theme_dark.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/templates/theme_light.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/ui_settings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/workpad_route_context.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/server/workpad_route_context.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/README.mdx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/__mocks__/supported_renderers.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/api/__snapshots__/shareable.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/api/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/api/shareable.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/api/shareable.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/__stories__/__snapshots__/canvas.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/__stories__/__snapshots__/page.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/__stories__/__snapshots__/rendered_element.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/__stories__/canvas.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/__stories__/page.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/__stories__/rendered_element.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/app.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/app.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/canvas.module.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/canvas.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/canvas.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/footer.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/page_controls.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/scrubber.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/title.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/__stories__/footer.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/__stories__/page_controls.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/__stories__/scrubber.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/__stories__/title.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/footer.module.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/footer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/footer.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/page_controls.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/page_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/page_preview.module.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/page_preview.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/page_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/scrubber.module.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/scrubber.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/scrubber.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/autoplay_settings.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/settings.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/toolbar_settings.stories.storyshot (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/settings/__stories__/autoplay_settings.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/settings/__stories__/settings.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/settings/__stories__/toolbar_settings.stories.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/settings/autoplay_settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/settings/autoplay_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/settings/settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/settings/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/settings/toolbar_settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/settings/toolbar_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/title.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/footer/title.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/page.module.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/page.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/page.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/rendered_element.module.scss (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/components/rendered_element.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/constants.d.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/constants.js (91%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/constants_static.d.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/constants_static.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/context/actions.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/context/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/context/reducer.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/context/state.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/css_modules.d.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/index.html (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/postcss.config.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/supported_renderers.d.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/supported_renderers.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/template.html (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/test/context.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/test/context_example.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/test/context_jest.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/test/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/test/interactions.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/test/selectors.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/test/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/test/workpads/austin.json (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/test/workpads/hello.json (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/test/workpads/test.json (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/webpack.config.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/shareable_runtime/webpack/ci_stats_plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/__mocks__/es_service.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/addon/components/action_list.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/addon/components/action_tree.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/addon/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/addon/components/state_change.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/addon/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/addon/panel.css (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/addon/panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/addon/register.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/addon/state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/addon/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/canvas_webpack.ts (94%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/constants.ts (91%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/decorators/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/decorators/kibana_decorator.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/decorators/redux_decorator.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/decorators/router_decorator.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/decorators/services_decorator.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/main.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/preview.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/storybook/storyshots.skipped_test.tsx (98%) rename x-pack/{plugins => platform/plugins/private}/canvas/tasks/mocks/customElementService.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/tasks/mocks/downloadWorkpad.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/tasks/mocks/esService.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/tasks/mocks/uiAbsoluteToParsedUrl.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/tasks/mocks/uiChrome.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/tasks/mocks/uiMetric.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/tasks/mocks/uiNotify.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/tasks/mocks/uiNotifyFormatMsg.js (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/tsconfig.json (94%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/arguments.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/assets.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/canvas.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/elements.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/embeddables.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/filters.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/functions.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/global.d.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/react_moment_prototypes.d.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/renderers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/shortcuts.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/strategy.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/style.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/telemetry.ts (100%) rename x-pack/{plugins => platform/plugins/private}/canvas/types/transforms.ts (100%) diff --git a/.eslintignore b/.eslintignore index e2b06124e936a..6a11ccb600e93 100644 --- a/.eslintignore +++ b/.eslintignore @@ -22,9 +22,9 @@ snapshots.js # plugin overrides /src/core/lib/kbn_internal_native_observable /src/plugins/data/common/es_query/kuery/ast/_generated_/** -/x-pack/plugins/canvas/canvas_plugin -/x-pack/plugins/canvas/shareable_runtime/build -/x-pack/plugins/canvas/storybook/build +/x-pack/platform/plugins/private/canvas/canvas_plugin +/x-pack/platform/plugins/private/canvas/shareable_runtime/build +/x-pack/platform/plugins/private/canvas/storybook/build /x-pack/plugins/reporting/server/export_types/printable_pdf/server/lib/pdf/assets/** /x-pack/plugins/reporting/server/export_types/printable_pdf_v2/server/lib/pdf/assets/** /x-pack/plugins/cloud_integrations/cloud_full_story/server/assets/** diff --git a/.eslintrc.js b/.eslintrc.js index 93e3dabf3b861..9803432324454 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -296,7 +296,7 @@ module.exports = { }, }, { - files: ['x-pack/plugins/canvas/**/*.{js,mjs,ts,tsx}'], + files: ['x-pack/platform/plugins/private/canvas/**/*.{js,mjs,ts,tsx}'], rules: { 'jsx-a11y/click-events-have-key-events': 'off', }, @@ -1692,7 +1692,7 @@ module.exports = { * Canvas overrides */ { - files: ['x-pack/plugins/canvas/**/*.js'], + files: ['x-pack/platform/plugins/private/canvas/**/*.js'], rules: { radix: 'error', @@ -1736,12 +1736,12 @@ module.exports = { }, { files: [ - 'x-pack/plugins/canvas/gulpfile.js', - 'x-pack/plugins/canvas/scripts/*.js', - 'x-pack/plugins/canvas/tasks/*.js', - 'x-pack/plugins/canvas/tasks/**/*.js', - 'x-pack/plugins/canvas/__tests__/**/*.js', - 'x-pack/plugins/canvas/**/{__tests__,__test__,__jest__,__fixtures__,__mocks__}/**/*.js', + 'x-pack/platform/plugins/private/canvas/gulpfile.js', + 'x-pack/platform/plugins/private/canvas/scripts/*.js', + 'x-pack/platform/plugins/private/canvas/tasks/*.js', + 'x-pack/platform/plugins/private/canvas/tasks/**/*.js', + 'x-pack/platform/plugins/private/canvas/__tests__/**/*.js', + 'x-pack/platform/plugins/private/canvas/**/{__tests__,__test__,__jest__,__fixtures__,__mocks__}/**/*.js', ], rules: { 'import/no-extraneous-dependencies': [ @@ -1755,11 +1755,11 @@ module.exports = { }, }, { - files: ['x-pack/plugins/canvas/canvas_plugin_src/**/*.js'], + files: ['x-pack/platform/plugins/private/canvas/canvas_plugin_src/**/*.js'], globals: { canvas: true, $: true }, }, { - files: ['x-pack/plugins/canvas/public/**/*.js'], + files: ['x-pack/platform/plugins/private/canvas/public/**/*.js'], env: { browser: true, }, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 05ba8d0ac18a8..c52ae00e31e39 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -838,6 +838,7 @@ x-pack/platform/packages/shared/ml/response_stream @elastic/ml-ui x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team +x-pack/platform/plugins/private/canvas @elastic/kibana-presentation x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration @elastic/kibana-management x-pack/platform/plugins/private/cross_cluster_replication @elastic/kibana-management x-pack/platform/plugins/private/data_usage @elastic/obs-ai-assistant @elastic/security-solution @@ -869,7 +870,6 @@ x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management x-pack/plugins/actions @elastic/response-ops x-pack/plugins/alerting @elastic/response-ops x-pack/plugins/banners @elastic/appex-sharedux -x-pack/plugins/canvas @elastic/kibana-presentation x-pack/plugins/cases @elastic/response-ops x-pack/plugins/cloud @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_chat @elastic/kibana-core diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index 3077ac0f51674..c37460f4717e1 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -73,7 +73,7 @@ paths-ignore: - packages/kbn-yarn-lock-validator - scripts - test - - x-pack/plugins/canvas/scripts + - x-pack/platform/plugins/private/canvas/scripts - x-pack/solutions/security/plugins/cloud_security_posture/common/scripts - x-pack/solutions/security/plugins/elastic_assistant/scripts - x-pack/plugins/event_log/scripts diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 80511095a000f..e84b586f015d4 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -479,7 +479,7 @@ The plugin exposes the static DefaultEditorController class to consume. |Allow to add a header banner that will be displayed on every page of the Kibana application -|{kib-repo}blob/{branch}/x-pack/plugins/canvas/README.md[canvas] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/canvas/README.md[canvas] |"Never look back. The past is done. The future is a blank canvas." ― Suzy Kassem, Rise Up and Salute the Sun diff --git a/package.json b/package.json index 7ac4a95fe5631..438490e384306 100644 --- a/package.json +++ b/package.json @@ -200,7 +200,7 @@ "@kbn/bfetch-plugin": "link:src/plugins/bfetch", "@kbn/calculate-auto": "link:packages/kbn-calculate-auto", "@kbn/calculate-width-from-char-count": "link:packages/kbn-calculate-width-from-char-count", - "@kbn/canvas-plugin": "link:x-pack/plugins/canvas", + "@kbn/canvas-plugin": "link:x-pack/platform/plugins/private/canvas", "@kbn/cases-api-integration-test-plugin": "link:x-pack/test/cases_api_integration/common/plugins/cases", "@kbn/cases-components": "link:packages/kbn-cases-components", "@kbn/cases-plugin": "link:x-pack/plugins/cases", diff --git a/packages/kbn-cli-dev-mode/src/watcher.ts b/packages/kbn-cli-dev-mode/src/watcher.ts index 193458495aa21..ddbe5eb2844a1 100644 --- a/packages/kbn-cli-dev-mode/src/watcher.ts +++ b/packages/kbn-cli-dev-mode/src/watcher.ts @@ -20,7 +20,7 @@ const packageMatcher = makeMatcher([ '**/*', '!**/.*', '!x-pack/platform/plugins/shared/screenshotting/chromium/**', - '!x-pack/plugins/canvas/shareable_runtime/**', + '!x-pack/platform/plugins/private/canvas/shareable_runtime/**', ]); /** diff --git a/src/dev/build/tasks/build_canvas_shareable_runtime.ts b/src/dev/build/tasks/build_canvas_shareable_runtime.ts index ff67fc06aab5c..07419026c9e95 100644 --- a/src/dev/build/tasks/build_canvas_shareable_runtime.ts +++ b/src/dev/build/tasks/build_canvas_shareable_runtime.ts @@ -19,9 +19,9 @@ export const BuildCanvasShareableRuntime: Task = { log.info('Skipping Canvas shareable runtime for serverless builds'); return; } - await del(config.resolveFromRepo('x-pack/plugins/canvas/shareable_runtime/build')); + await del(config.resolveFromRepo('x-pack/platform/plugins/private/canvas/shareable_runtime/build')); - await exec(log, process.execPath, ['plugins/canvas/scripts/shareable_runtime'], { + await exec(log, process.execPath, ['platform/plugins/private/canvas/scripts/shareable_runtime'], { cwd: config.resolveFromRepo('x-pack'), level: 'info', }); diff --git a/src/dev/build/tasks/create_archives_sources_task.ts b/src/dev/build/tasks/create_archives_sources_task.ts index dcf63d6beb0b1..920faae57c1a3 100644 --- a/src/dev/build/tasks/create_archives_sources_task.ts +++ b/src/dev/build/tasks/create_archives_sources_task.ts @@ -44,7 +44,7 @@ export const CreateArchivesSources: Task = { if (platform.isServerless()) { await deleteAll( [ - 'x-pack/plugins/canvas/shareable_runtime/build', + 'x-pack/platform/plugins/private/canvas/shareable_runtime/build', 'node_modules/@kbn/screenshotting-plugin/server/assets', ].map((path) => build.resolvePathForPlatform(platform, path)), log diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index 30383559e7fe0..0a158ee6fbc83 100644 --- a/src/dev/precommit_hook/casing_check_config.js +++ b/src/dev/precommit_hook/casing_check_config.js @@ -26,9 +26,9 @@ export const IGNORE_FILE_GLOBS = [ '**/LICENSE', '**/*.txt', '**/{Dockerfile,docker-compose.yml}', - 'x-pack/plugins/canvas/tasks/**/*', - 'x-pack/plugins/canvas/canvas_plugin_src/**/*', - 'x-pack/plugins/canvas/server/templates/assets/*.{png,jpg,svg}', + 'x-pack/platform/plugins/private/canvas/tasks/**/*', + 'x-pack/platform/plugins/private/canvas/canvas_plugin_src/**/*', + 'x-pack/platform/plugins/private/canvas/server/templates/assets/*.{png,jpg,svg}', 'x-pack/plugins/cases/docs/**/*', 'x-pack/plugins/monitoring/public/lib/jquery_flot/**/*', 'x-pack/plugins/fleet/cypress/packages/*.zip', diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 2bf3888ce6cb2..f8bba982f3c9c 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -14,7 +14,7 @@ export const storybookAliases = { ai_assistant: 'x-pack/packages/kbn-ai-assistant/.storybook', apm: 'x-pack/plugins/observability_solution/apm/.storybook', - canvas: 'x-pack/plugins/canvas/storybook', + canvas: 'x-pack/platform/plugins/private/canvas/storybook', cases: 'packages/kbn-cases-components/.storybook', cell_actions: 'src/platform/packages/shared/kbn-cell-actions/.storybook', cloud_security_posture_packages: diff --git a/tsconfig.base.json b/tsconfig.base.json index 15e2e250e0d08..cb243c05f293d 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -124,8 +124,8 @@ "@kbn/calculate-auto/*": ["packages/kbn-calculate-auto/*"], "@kbn/calculate-width-from-char-count": ["packages/kbn-calculate-width-from-char-count"], "@kbn/calculate-width-from-char-count/*": ["packages/kbn-calculate-width-from-char-count/*"], - "@kbn/canvas-plugin": ["x-pack/plugins/canvas"], - "@kbn/canvas-plugin/*": ["x-pack/plugins/canvas/*"], + "@kbn/canvas-plugin": ["x-pack/platform/plugins/private/canvas"], + "@kbn/canvas-plugin/*": ["x-pack/platform/plugins/private/canvas/*"], "@kbn/capture-oas-snapshot-cli": ["packages/kbn-capture-oas-snapshot-cli"], "@kbn/capture-oas-snapshot-cli/*": ["packages/kbn-capture-oas-snapshot-cli/*"], "@kbn/cases-api-integration-test-plugin": ["x-pack/test/cases_api_integration/common/plugins/cases"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index c01b9ef40aed4..19fe4e91f79bb 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -17,7 +17,7 @@ "xpack.apm": "plugins/observability_solution/apm", "xpack.apmDataAccess": "plugins/observability_solution/apm_data_access", "xpack.banners": "plugins/banners", - "xpack.canvas": "plugins/canvas", + "xpack.canvas": "platform/plugins/private/canvas", "xpack.cases": "plugins/cases", "xpack.cloud": "plugins/cloud", "xpack.cloudDefend": "solutions/security/plugins/cloud_defend", diff --git a/x-pack/plugins/canvas/.eslintrc.json b/x-pack/platform/plugins/private/canvas/.eslintrc.json similarity index 100% rename from x-pack/plugins/canvas/.eslintrc.json rename to x-pack/platform/plugins/private/canvas/.eslintrc.json diff --git a/x-pack/plugins/canvas/.gitignore b/x-pack/platform/plugins/private/canvas/.gitignore similarity index 100% rename from x-pack/plugins/canvas/.gitignore rename to x-pack/platform/plugins/private/canvas/.gitignore diff --git a/x-pack/plugins/canvas/CONTRIBUTING.md b/x-pack/platform/plugins/private/canvas/CONTRIBUTING.md similarity index 95% rename from x-pack/plugins/canvas/CONTRIBUTING.md rename to x-pack/platform/plugins/private/canvas/CONTRIBUTING.md index d8a657ea73c40..a63d9e6422022 100644 --- a/x-pack/plugins/canvas/CONTRIBUTING.md +++ b/x-pack/platform/plugins/private/canvas/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing to Canvas -Canvas is a plugin for Kibana, therefore its [contribution guidelines](../../../CONTRIBUTING.md) apply to Canvas development, as well. This document contains Canvas-specific guidelines that extend from the Kibana guidelines. +Canvas is a plugin for Kibana, therefore its [contribution guidelines](../../../../../CONTRIBUTING.md) apply to Canvas development, as well. This document contains Canvas-specific guidelines that extend from the Kibana guidelines. - [Active Migrations](#active_migrations) - [i18n](#i18n) diff --git a/x-pack/plugins/canvas/PLUGINS.mdx b/x-pack/platform/plugins/private/canvas/PLUGINS.mdx similarity index 95% rename from x-pack/plugins/canvas/PLUGINS.mdx rename to x-pack/platform/plugins/private/canvas/PLUGINS.mdx index c0e0bc9c92f5a..a639b58760198 100644 --- a/x-pack/plugins/canvas/PLUGINS.mdx +++ b/x-pack/platform/plugins/private/canvas/PLUGINS.mdx @@ -60,8 +60,8 @@ In your plugin folder, create a new folder `public` and an `index.ts` file withi This `index.ts` will need export a Kibana Plugin. You can use this as a starting point for your plugin. ```typescript -import { Plugin, CoreSetup, CoreStart } from '../../../src/core/public'; -import { CanvasSetup } from '../../../x-pack/plugins/canvas/public'; +import { Plugin, CoreSetup, CoreStart } from '../../../../../src/core/public'; +import { CanvasSetup } from '../../../../../x-pack/plugins/canvas/public'; interface CanvasExampleSetupPlugins { canvas: CanvasSetup; @@ -171,8 +171,8 @@ Now, much like we made the client plugin, we'll make a server plugin. Start by making the `server` directory and an `index.ts` file with a shell for your server plugin: ```typescript -import { Plugin, CoreSetup, CoreStart } from '../../../src/core/server'; -import { ExpressionsServerSetup } from '../../../src/plugins/expressions/server'; +import { Plugin, CoreSetup, CoreStart } from '../../../../../src/core/server'; +import { ExpressionsServerSetup } from '../../../../../src/plugins/expressions/server'; interface CanvasExamplePluginsSetup { expressions: ExpressionsServerSetup; diff --git a/x-pack/plugins/canvas/README.md b/x-pack/platform/plugins/private/canvas/README.md similarity index 100% rename from x-pack/plugins/canvas/README.md rename to x-pack/platform/plugins/private/canvas/README.md diff --git a/x-pack/plugins/canvas/__fixtures__/elasticsearch.js b/x-pack/platform/plugins/private/canvas/__fixtures__/elasticsearch.js similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/elasticsearch.js rename to x-pack/platform/plugins/private/canvas/__fixtures__/elasticsearch.js diff --git a/x-pack/plugins/canvas/__fixtures__/elasticsearch_plugin.js b/x-pack/platform/plugins/private/canvas/__fixtures__/elasticsearch_plugin.js similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/elasticsearch_plugin.js rename to x-pack/platform/plugins/private/canvas/__fixtures__/elasticsearch_plugin.js diff --git a/x-pack/plugins/canvas/__fixtures__/function_specs.ts b/x-pack/platform/plugins/private/canvas/__fixtures__/function_specs.ts similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/function_specs.ts rename to x-pack/platform/plugins/private/canvas/__fixtures__/function_specs.ts diff --git a/x-pack/plugins/canvas/__fixtures__/kibana.js b/x-pack/platform/plugins/private/canvas/__fixtures__/kibana.js similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/kibana.js rename to x-pack/platform/plugins/private/canvas/__fixtures__/kibana.js diff --git a/x-pack/plugins/canvas/__fixtures__/workpads.ts b/x-pack/platform/plugins/private/canvas/__fixtures__/workpads.ts similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/workpads.ts rename to x-pack/platform/plugins/private/canvas/__fixtures__/workpads.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/canvas_addons.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/canvas_addons.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/canvas_addons.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/canvas_addons.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/area_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/area_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/area_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/area_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/bubble_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/bubble_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/bubble_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/bubble_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/debug/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/debug/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/debug/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/debug/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/filter_debug/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/filter_debug/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/filter_debug/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/filter_debug/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/heatmap/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/heatmap/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/heatmap/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/heatmap/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/image/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/image/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/image/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/image/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/line_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/line_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/line_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/line_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/markdown/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/markdown/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/markdown/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/markdown/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/metric/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/metric/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/metric_vis/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric_vis/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/metric_vis/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric_vis/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/metric_vis_legacy/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric_vis_legacy/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/metric_vis_legacy/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric_vis_legacy/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/pie/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/pie/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/pie/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/pie/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/pie_vis/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/pie_vis/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/pie_vis/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/pie_vis/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/plot/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/plot/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/plot/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/plot/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_gauge/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_gauge/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_gauge/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_gauge/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_wheel/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_wheel/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_wheel/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_wheel/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/repeat_image/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/repeat_image/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/repeat_image/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/repeat_image/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/reveal_image/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/reveal_image/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/reveal_image/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/reveal_image/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/shape/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/shape/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/shape/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/shape/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/table/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/table/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/table/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/table/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/tag_cloud/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/tag_cloud/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/tag_cloud/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/tag_cloud/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/time_filter/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/time_filter/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/time_filter/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/time_filter/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/embeddable.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable_types.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/embeddable_types.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable_types.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/embeddable_types.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/expression_types/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/expression_types/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/location.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/location.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/location.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/location.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/urlparam.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/urlparam.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/urlparam.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/urlparam.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_filters.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_filters.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_filters.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_filters.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_pointseries.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_pointseries.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_pointseries.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_pointseries.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_styles.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_styles.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_styles.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_styles.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_tables.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_tables.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_tables.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_tables.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/all.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/all.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/all.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/all.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/all.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/all.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/all.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/all.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/alterColumn.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/alterColumn.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/alterColumn.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/alterColumn.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/any.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/any.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/any.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/any.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/any.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/any.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/any.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/any.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/as.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/as.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/as.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/as.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/as.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/as.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/as.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/as.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/axisConfig.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/axisConfig.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/axisConfig.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/axisConfig.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/axis_config.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/axis_config.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/axis_config.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/axis_config.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/case.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/case.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/case.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/case.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/clear.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/clear.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/clear.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/clear.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/clear.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/clear.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/clear.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/clear.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/columns.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/columns.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/columns.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/columns.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/columns.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/columns.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/columns.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/columns.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/compare.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/compare.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/compare.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/compare.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/compare.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/compare.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/compare.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/compare.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/containerStyle.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/containerStyle.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/containerStyle.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/containerStyle.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/container_style.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/container_style.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/container_style.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/container_style.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/context.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/context.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/context.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/context.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/context.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/context.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/context.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/context.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/csv.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/csv.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/csv.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/csv.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/csv.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/csv.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/csv.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/csv.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/date.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/date.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/date.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/date.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/do.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/do.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/do.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/do.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/do.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/do.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/do.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/do.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/dropdownControl.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/dropdownControl.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/dropdownControl.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/dropdownControl.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/dropdown_control.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/dropdown_control.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/dropdown_control.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/dropdown_control.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/eq.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/eq.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/eq.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/eq.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/eq.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/eq.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/eq.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/eq.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/exactly.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/exactly.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/exactly.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/exactly.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/exactly.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/exactly.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/exactly.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/exactly.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/filterrows.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/filterrows.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/filterrows.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/filterrows.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/filterrows.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/filterrows.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/filterrows.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/filterrows.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatdate.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatdate.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatdate.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatdate.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatdate.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatdate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatdate.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatdate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatnumber.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatnumber.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatnumber.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatnumber.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/getCell.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/getCell.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/getCell.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/getCell.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/getCell.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/getCell.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/getCell.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/getCell.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/gt.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gt.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/gt.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gt.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/gt.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gt.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/gt.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gt.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/gte.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gte.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/gte.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gte.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/gte.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gte.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/gte.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gte.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/head.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/head.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/head.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/head.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/head.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/head.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/head.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/head.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/if.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/if.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/if.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/if.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/if.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/if.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/if.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/if.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/join_rows.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/join_rows.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/join_rows.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/join_rows.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/join_rows.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/join_rows.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/join_rows.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/join_rows.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/lt.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lt.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/lt.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lt.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/lt.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lt.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/lt.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lt.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/lte.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lte.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/lte.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lte.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/lte.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lte.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/lte.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lte.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/map_center.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/map_center.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/map_center.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/map_center.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/ply.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/ply.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/ply.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/ply.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/ply.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/ply.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/ply.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/ply.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/render.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/render.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/render.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/render.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/replace.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/replace.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/replace.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/replace.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/replace.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/replace.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/replace.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/replace.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/rounddate.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rounddate.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/rounddate.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rounddate.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/rounddate.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rounddate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/rounddate.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rounddate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/rowCount.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rowCount.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/rowCount.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rowCount.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/rowCount.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rowCount.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/rowCount.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rowCount.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/seriesStyle.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/seriesStyle.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/seriesStyle.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/seriesStyle.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/series_style.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/series_style.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/series_style.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/series_style.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/sort.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/sort.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/sort.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/sort.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/sort.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/sort.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/sort.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/sort.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/staticColumn.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/staticColumn.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/staticColumn.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/staticColumn.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/string.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/string.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/string.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/string.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/string.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/string.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/string.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/string.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/switch.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/switch.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/switch.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/switch.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/switch.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/switch.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/switch.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/switch.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/tail.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/tail.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/tail.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/tail.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/tail.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/tail.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/tail.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/tail.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/time_range.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/time_range.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/time_range.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/time_range.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilterControl.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilterControl.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter_control.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter_control.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter_control.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter_control.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/ci.json b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/ci.json similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/ci.json rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/ci.json diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/demo_rows_types.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/demo_rows_types.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/demo_rows_types.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/demo_rows_types.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/shirts.json b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/shirts.json similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/shirts.json rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/shirts.json diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/filters.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/filters.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/filters.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/filters.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/filters.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/filters.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/filters.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/filters.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/get_expression_type.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/get_expression_type.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/get_expression_type.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/get_expression_type.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/get_field_names.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/get_field_names.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/get_field_names.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/get_field_names.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/is_column_reference.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/is_column_reference.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/is_column_reference.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/is_column_reference.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/plugin.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/plugin.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/plugin.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/plugin.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/__snapshots__/table.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/__snapshots__/table.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/__snapshots__/table.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/__snapshots__/table.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/render.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/render.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/render.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/render.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/table.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/table.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/table.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/table.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/core.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/core.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/core.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/core.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/use_get_app_context.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/use_get_app_context.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/use_get_app_context.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/use_get_app_context.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/external.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/external.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/external.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/external.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/__snapshots__/advanced_filter.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/__snapshots__/advanced_filter.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/__snapshots__/advanced_filter.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/__snapshots__/advanced_filter.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/advanced_filter.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/advanced_filter.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/advanced_filter.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/advanced_filter.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/__snapshots__/dropdown_filter.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/__snapshots__/dropdown_filter.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/__snapshots__/dropdown_filter.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/__snapshots__/dropdown_filter.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/dropdown_filter.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/dropdown_filter.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/dropdown_filter.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/dropdown_filter.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/__snapshots__/time_filter.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/__snapshots__/time_filter.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/__snapshots__/time_filter.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/__snapshots__/time_filter.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/time_filter.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/time_filter.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/time_filter.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/time_filter.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/time_filter.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/time_filter.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/time_filter.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/time_filter.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/__stories__/__snapshots__/markdown.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/__stories__/__snapshots__/markdown.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/__stories__/__snapshots__/markdown.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/__stories__/__snapshots__/markdown.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/__stories__/markdown.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/__stories__/markdown.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/__stories__/markdown.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/__stories__/markdown.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/__stories__/__snapshots__/pie.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/__stories__/__snapshots__/pie.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/__stories__/__snapshots__/pie.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/__stories__/__snapshots__/pie.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/__stories__/pie.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/__stories__/pie.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/__stories__/pie.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/__stories__/pie.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/__stories__/__snapshots__/plot.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/__stories__/__snapshots__/plot.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/__stories__/__snapshots__/plot.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/__stories__/__snapshots__/plot.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/__stories__/plot.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/__stories__/plot.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/__stories__/plot.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/__stories__/plot.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plot.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plot.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plot.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plot.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/size.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plugins/size.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/size.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plugins/size.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/text.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plugins/text.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/text.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plugins/text.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/table.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/table.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/table.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/table.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/text.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/text.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/text.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/text.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/palette.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/__stories__/palette.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/palette.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/__stories__/palette.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/extended_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/extended_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/extended_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/extended_template.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/simple_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/simple_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/simple_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/simple_template.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/extended_template.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/extended_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/extended_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/extended_template.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/simple_template.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/simple_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/simple_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/simple_template.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/__snapshots__/date_format.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/__snapshots__/date_format.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/__snapshots__/date_format.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/__snapshots__/date_format.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/date_format.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/date_format.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/date_format.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/date_format.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/date_format.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/date_format.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/date_format.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/date_format.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/editor.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/editor.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/editor.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/editor.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/filter_group.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/filter_group.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/filter_group.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/filter_group.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/__snapshots__/number_format.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/__snapshots__/number_format.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/__snapshots__/number_format.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/__snapshots__/number_format.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/number_format.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/number_format.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/number_format.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/number_format.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/number_format.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/number_format.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/number_format.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/number_format.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/palette.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/palette.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/palette.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/palette.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/palette_types.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/palette_types.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/palette_types.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/palette_types.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/utils.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/utils.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/utils.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/utils.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/default_expression.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/default_expression.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/default_expression.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/default_expression.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/extended_template.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/extended_template.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/extended_template.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/extended_template.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/simple_template.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/simple_template.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/simple_template.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/simple_template.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/types.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/types.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/types.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/types.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/utils.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/utils.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/utils.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/utils.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/percentage.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/percentage.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/percentage.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/percentage.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/range.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/range.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/range.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/range.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/select.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/select.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/select.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/select.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/shape.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/shape.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/shape.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/shape.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/string.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/string.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/string.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/string.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/textarea.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/textarea.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/textarea.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/textarea.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/toggle.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/toggle.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/toggle.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/toggle.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/demodata.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/demodata.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/demodata.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/demodata.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/esdocs.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/esdocs.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/esdocs.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/esdocs.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/essql.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/essql.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/essql.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/essql.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/timelion.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/timelion.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/timelion.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/timelion.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/math.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/math.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/math.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/math.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/metric_vis.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/metric_vis.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/metric_vis.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/metric_vis.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/partition_labels.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/partition_labels.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/partition_labels.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/partition_labels.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/point_series.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/point_series.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/point_series.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/point_series.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/tagcloud.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/tagcloud.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/tagcloud.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/tagcloud.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/presentation.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/presentation.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/presentation.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/presentation.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/report.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/report.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/report.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/report.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/formatdate.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/formatdate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/formatdate.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/formatdate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/formatnumber.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/formatnumber.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/formatnumber.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/formatnumber.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/rounddate.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/rounddate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/rounddate.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/rounddate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/sort.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/sort.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/sort.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/sort.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/dropdownControl.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/dropdownControl.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/dropdownControl.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/dropdownControl.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/getCell.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/getCell.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/getCell.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/getCell.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/heatmap.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/heatmap.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/heatmap.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/heatmap.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/image.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/image.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/image.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/image.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/markdown.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/markdown.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/markdown.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/markdown.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/metric.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/metric.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/metric.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/metric.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/pie.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/pie.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/pie.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/pie.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/pie_vis.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/pie_vis.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/pie_vis.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/pie_vis.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/plot.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/plot.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/plot.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/plot.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/progress.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/progress.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/progress.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/progress.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/render.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/render.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/render.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/render.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/repeatImage.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/repeatImage.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/repeatImage.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/repeatImage.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/revealImage.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/revealImage.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/revealImage.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/revealImage.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/shape.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/shape.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/shape.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/shape.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/table.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/table.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/table.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/table.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/timefilterControl.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/timefilterControl.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/timefilterControl.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/timefilterControl.js diff --git a/x-pack/plugins/canvas/common/functions/filters.ts b/x-pack/platform/plugins/private/canvas/common/functions/filters.ts similarity index 100% rename from x-pack/plugins/canvas/common/functions/filters.ts rename to x-pack/platform/plugins/private/canvas/common/functions/filters.ts diff --git a/x-pack/plugins/canvas/common/functions/index.ts b/x-pack/platform/plugins/private/canvas/common/functions/index.ts similarity index 100% rename from x-pack/plugins/canvas/common/functions/index.ts rename to x-pack/platform/plugins/private/canvas/common/functions/index.ts diff --git a/x-pack/plugins/canvas/common/index.ts b/x-pack/platform/plugins/private/canvas/common/index.ts similarity index 100% rename from x-pack/plugins/canvas/common/index.ts rename to x-pack/platform/plugins/private/canvas/common/index.ts diff --git a/x-pack/plugins/canvas/common/lib/build_bool_array.js b/x-pack/platform/plugins/private/canvas/common/lib/build_bool_array.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/build_bool_array.js rename to x-pack/platform/plugins/private/canvas/common/lib/build_bool_array.js diff --git a/x-pack/plugins/canvas/common/lib/build_embeddable_filters.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/build_embeddable_filters.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/build_embeddable_filters.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/build_embeddable_filters.test.ts diff --git a/x-pack/plugins/canvas/common/lib/build_embeddable_filters.ts b/x-pack/platform/plugins/private/canvas/common/lib/build_embeddable_filters.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/build_embeddable_filters.ts rename to x-pack/platform/plugins/private/canvas/common/lib/build_embeddable_filters.ts diff --git a/x-pack/plugins/canvas/common/lib/constants.ts b/x-pack/platform/plugins/private/canvas/common/lib/constants.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/constants.ts rename to x-pack/platform/plugins/private/canvas/common/lib/constants.ts diff --git a/x-pack/plugins/canvas/common/lib/datatable/index.ts b/x-pack/platform/plugins/private/canvas/common/lib/datatable/index.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/datatable/index.ts rename to x-pack/platform/plugins/private/canvas/common/lib/datatable/index.ts diff --git a/x-pack/plugins/canvas/common/lib/datatable/query.ts b/x-pack/platform/plugins/private/canvas/common/lib/datatable/query.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/datatable/query.ts rename to x-pack/platform/plugins/private/canvas/common/lib/datatable/query.ts diff --git a/x-pack/plugins/canvas/common/lib/embeddable_dataurl.ts b/x-pack/platform/plugins/private/canvas/common/lib/embeddable_dataurl.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/embeddable_dataurl.ts rename to x-pack/platform/plugins/private/canvas/common/lib/embeddable_dataurl.ts diff --git a/x-pack/plugins/canvas/common/lib/errors.test.js b/x-pack/platform/plugins/private/canvas/common/lib/errors.test.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/errors.test.js rename to x-pack/platform/plugins/private/canvas/common/lib/errors.test.js diff --git a/x-pack/plugins/canvas/common/lib/errors.ts b/x-pack/platform/plugins/private/canvas/common/lib/errors.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/errors.ts rename to x-pack/platform/plugins/private/canvas/common/lib/errors.ts diff --git a/x-pack/plugins/canvas/common/lib/expression_form_handlers.test.js b/x-pack/platform/plugins/private/canvas/common/lib/expression_form_handlers.test.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/expression_form_handlers.test.js rename to x-pack/platform/plugins/private/canvas/common/lib/expression_form_handlers.test.js diff --git a/x-pack/plugins/canvas/common/lib/expression_form_handlers.ts b/x-pack/platform/plugins/private/canvas/common/lib/expression_form_handlers.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/expression_form_handlers.ts rename to x-pack/platform/plugins/private/canvas/common/lib/expression_form_handlers.ts diff --git a/x-pack/plugins/canvas/common/lib/fetch.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/fetch.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/fetch.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/fetch.test.ts diff --git a/x-pack/plugins/canvas/common/lib/fetch.ts b/x-pack/platform/plugins/private/canvas/common/lib/fetch.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/fetch.ts rename to x-pack/platform/plugins/private/canvas/common/lib/fetch.ts diff --git a/x-pack/plugins/canvas/common/lib/filters.js b/x-pack/platform/plugins/private/canvas/common/lib/filters.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/filters.js rename to x-pack/platform/plugins/private/canvas/common/lib/filters.js diff --git a/x-pack/plugins/canvas/common/lib/fonts.ts b/x-pack/platform/plugins/private/canvas/common/lib/fonts.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/fonts.ts rename to x-pack/platform/plugins/private/canvas/common/lib/fonts.ts diff --git a/x-pack/plugins/canvas/common/lib/get_es_filter.js b/x-pack/platform/plugins/private/canvas/common/lib/get_es_filter.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_es_filter.js rename to x-pack/platform/plugins/private/canvas/common/lib/get_es_filter.js diff --git a/x-pack/plugins/canvas/common/lib/get_field_type.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/get_field_type.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_field_type.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/get_field_type.test.ts diff --git a/x-pack/plugins/canvas/common/lib/get_field_type.ts b/x-pack/platform/plugins/private/canvas/common/lib/get_field_type.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_field_type.ts rename to x-pack/platform/plugins/private/canvas/common/lib/get_field_type.ts diff --git a/x-pack/plugins/canvas/common/lib/get_id.ts b/x-pack/platform/plugins/private/canvas/common/lib/get_id.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_id.ts rename to x-pack/platform/plugins/private/canvas/common/lib/get_id.ts diff --git a/x-pack/plugins/canvas/common/lib/get_legend_config.test.js b/x-pack/platform/plugins/private/canvas/common/lib/get_legend_config.test.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_legend_config.test.js rename to x-pack/platform/plugins/private/canvas/common/lib/get_legend_config.test.js diff --git a/x-pack/plugins/canvas/common/lib/get_legend_config.ts b/x-pack/platform/plugins/private/canvas/common/lib/get_legend_config.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_legend_config.ts rename to x-pack/platform/plugins/private/canvas/common/lib/get_legend_config.ts diff --git a/x-pack/plugins/canvas/common/lib/handlebars.js b/x-pack/platform/plugins/private/canvas/common/lib/handlebars.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/handlebars.js rename to x-pack/platform/plugins/private/canvas/common/lib/handlebars.js diff --git a/x-pack/plugins/canvas/common/lib/handlebars.test.js b/x-pack/platform/plugins/private/canvas/common/lib/handlebars.test.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/handlebars.test.js rename to x-pack/platform/plugins/private/canvas/common/lib/handlebars.test.js diff --git a/x-pack/plugins/canvas/common/lib/hex_to_rgb.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/hex_to_rgb.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/hex_to_rgb.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/hex_to_rgb.test.ts diff --git a/x-pack/plugins/canvas/common/lib/hex_to_rgb.ts b/x-pack/platform/plugins/private/canvas/common/lib/hex_to_rgb.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/hex_to_rgb.ts rename to x-pack/platform/plugins/private/canvas/common/lib/hex_to_rgb.ts diff --git a/x-pack/plugins/canvas/common/lib/index.ts b/x-pack/platform/plugins/private/canvas/common/lib/index.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/index.ts rename to x-pack/platform/plugins/private/canvas/common/lib/index.ts diff --git a/x-pack/plugins/canvas/common/lib/palettes.ts b/x-pack/platform/plugins/private/canvas/common/lib/palettes.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/palettes.ts rename to x-pack/platform/plugins/private/canvas/common/lib/palettes.ts diff --git a/x-pack/plugins/canvas/common/lib/pivot_object_array.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/pivot_object_array.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/pivot_object_array.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/pivot_object_array.test.ts diff --git a/x-pack/plugins/canvas/common/lib/pivot_object_array.ts b/x-pack/platform/plugins/private/canvas/common/lib/pivot_object_array.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/pivot_object_array.ts rename to x-pack/platform/plugins/private/canvas/common/lib/pivot_object_array.ts diff --git a/x-pack/plugins/canvas/common/lib/request/build_bool_array.ts b/x-pack/platform/plugins/private/canvas/common/lib/request/build_bool_array.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/build_bool_array.ts rename to x-pack/platform/plugins/private/canvas/common/lib/request/build_bool_array.ts diff --git a/x-pack/plugins/canvas/common/lib/request/build_es_request.js b/x-pack/platform/plugins/private/canvas/common/lib/request/build_es_request.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/build_es_request.js rename to x-pack/platform/plugins/private/canvas/common/lib/request/build_es_request.js diff --git a/x-pack/plugins/canvas/common/lib/request/filters.ts b/x-pack/platform/plugins/private/canvas/common/lib/request/filters.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/filters.ts rename to x-pack/platform/plugins/private/canvas/common/lib/request/filters.ts diff --git a/x-pack/plugins/canvas/common/lib/request/format_response.js b/x-pack/platform/plugins/private/canvas/common/lib/request/format_response.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/format_response.js rename to x-pack/platform/plugins/private/canvas/common/lib/request/format_response.js diff --git a/x-pack/plugins/canvas/common/lib/request/get_es_filter.ts b/x-pack/platform/plugins/private/canvas/common/lib/request/get_es_filter.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/get_es_filter.ts rename to x-pack/platform/plugins/private/canvas/common/lib/request/get_es_filter.ts diff --git a/x-pack/plugins/canvas/common/lib/request/normalize_type.ts b/x-pack/platform/plugins/private/canvas/common/lib/request/normalize_type.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/normalize_type.ts rename to x-pack/platform/plugins/private/canvas/common/lib/request/normalize_type.ts diff --git a/x-pack/plugins/canvas/common/lib/time_units.ts b/x-pack/platform/plugins/private/canvas/common/lib/time_units.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/time_units.ts rename to x-pack/platform/plugins/private/canvas/common/lib/time_units.ts diff --git a/x-pack/plugins/canvas/common/lib/unquote_string.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/unquote_string.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/unquote_string.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/unquote_string.test.ts diff --git a/x-pack/plugins/canvas/common/lib/unquote_string.ts b/x-pack/platform/plugins/private/canvas/common/lib/unquote_string.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/unquote_string.ts rename to x-pack/platform/plugins/private/canvas/common/lib/unquote_string.ts diff --git a/x-pack/plugins/canvas/common/locator.ts b/x-pack/platform/plugins/private/canvas/common/locator.ts similarity index 100% rename from x-pack/plugins/canvas/common/locator.ts rename to x-pack/platform/plugins/private/canvas/common/locator.ts diff --git a/x-pack/plugins/canvas/i18n/README.md b/x-pack/platform/plugins/private/canvas/i18n/README.md similarity index 100% rename from x-pack/plugins/canvas/i18n/README.md rename to x-pack/platform/plugins/private/canvas/i18n/README.md diff --git a/x-pack/plugins/canvas/i18n/capabilities.ts b/x-pack/platform/plugins/private/canvas/i18n/capabilities.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/capabilities.ts rename to x-pack/platform/plugins/private/canvas/i18n/capabilities.ts diff --git a/x-pack/plugins/canvas/i18n/constants.ts b/x-pack/platform/plugins/private/canvas/i18n/constants.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/constants.ts rename to x-pack/platform/plugins/private/canvas/i18n/constants.ts diff --git a/x-pack/plugins/canvas/i18n/elements/apply_strings.ts b/x-pack/platform/plugins/private/canvas/i18n/elements/apply_strings.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/elements/apply_strings.ts rename to x-pack/platform/plugins/private/canvas/i18n/elements/apply_strings.ts diff --git a/x-pack/plugins/canvas/i18n/elements/element_strings.test.ts b/x-pack/platform/plugins/private/canvas/i18n/elements/element_strings.test.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/elements/element_strings.test.ts rename to x-pack/platform/plugins/private/canvas/i18n/elements/element_strings.test.ts diff --git a/x-pack/plugins/canvas/i18n/elements/element_strings.ts b/x-pack/platform/plugins/private/canvas/i18n/elements/element_strings.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/elements/element_strings.ts rename to x-pack/platform/plugins/private/canvas/i18n/elements/element_strings.ts diff --git a/x-pack/plugins/canvas/i18n/elements/index.ts b/x-pack/platform/plugins/private/canvas/i18n/elements/index.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/elements/index.ts rename to x-pack/platform/plugins/private/canvas/i18n/elements/index.ts diff --git a/x-pack/plugins/canvas/i18n/errors.ts b/x-pack/platform/plugins/private/canvas/i18n/errors.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/errors.ts rename to x-pack/platform/plugins/private/canvas/i18n/errors.ts diff --git a/x-pack/plugins/canvas/i18n/expression_types.ts b/x-pack/platform/plugins/private/canvas/i18n/expression_types.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/expression_types.ts rename to x-pack/platform/plugins/private/canvas/i18n/expression_types.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/all.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/all.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/all.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/all.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/alter_column.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/alter_column.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/alter_column.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/alter_column.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/any.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/any.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/any.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/any.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/as.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/as.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/as.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/as.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/asset.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/asset.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/asset.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/asset.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/axis_config.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/axis_config.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/axis_config.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/axis_config.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/case.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/case.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/case.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/case.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/clear.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/clear.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/clear.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/clear.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/columns.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/columns.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/columns.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/columns.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/compare.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/compare.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/compare.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/compare.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/container_style.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/container_style.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/container_style.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/container_style.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/context.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/context.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/context.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/context.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/csv.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/csv.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/csv.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/csv.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/date.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/date.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/date.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/date.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/demodata.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/demodata.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/demodata.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/demodata.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/do.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/do.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/do.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/do.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/dropdown_control.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/dropdown_control.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/dropdown_control.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/dropdown_control.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/embeddable.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/embeddable.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/embeddable.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/eq.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/eq.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/eq.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/eq.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/escount.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/escount.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/escount.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/escount.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/esdocs.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/esdocs.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/esdocs.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/esdocs.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/exactly.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/exactly.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/exactly.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/exactly.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/filterrows.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/filterrows.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/filterrows.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/filterrows.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/filters.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/filters.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/filters.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/filters.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/formatdate.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/formatdate.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/formatdate.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/formatdate.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/formatnumber.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/formatnumber.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/formatnumber.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/formatnumber.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/get_cell.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/get_cell.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/get_cell.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/get_cell.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/gt.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/gt.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/gt.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/gt.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/gte.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/gte.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/gte.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/gte.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/head.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/head.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/head.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/head.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/if.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/if.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/if.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/if.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/join_rows.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/join_rows.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/join_rows.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/join_rows.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/location.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/location.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/location.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/location.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/lt.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/lt.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/lt.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/lt.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/lte.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/lte.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/lte.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/lte.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/map_center.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/map_center.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/map_center.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/map_center.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/markdown.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/markdown.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/markdown.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/markdown.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/neq.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/neq.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/neq.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/neq.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/pie.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/pie.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/pie.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/pie.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/plot.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/plot.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/plot.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/plot.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/ply.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/ply.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/ply.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/ply.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/pointseries.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/pointseries.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/pointseries.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/pointseries.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/render.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/render.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/render.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/render.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/replace.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/replace.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/replace.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/replace.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/rounddate.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/rounddate.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/rounddate.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/rounddate.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/row_count.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/row_count.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/row_count.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/row_count.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_lens.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_lens.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/saved_lens.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_lens.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_map.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_map.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/saved_map.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_map.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_search.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_search.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/saved_search.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_search.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_visualization.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_visualization.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/saved_visualization.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_visualization.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/series_style.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/series_style.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/series_style.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/series_style.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/sort.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/sort.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/sort.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/sort.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/static_column.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/static_column.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/static_column.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/static_column.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/string.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/string.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/string.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/string.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/switch.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/switch.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/switch.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/switch.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/table.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/table.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/table.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/table.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/tail.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/tail.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/tail.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/tail.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/time_range.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/time_range.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/time_range.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/time_range.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/timefilter.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/timefilter.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/timefilter.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/timefilter.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/timefilter_control.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/timefilter_control.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/timefilter_control.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/timefilter_control.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/timelion.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/timelion.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/timelion.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/timelion.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/to.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/to.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/to.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/to.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/urlparam.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/urlparam.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/urlparam.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/urlparam.ts diff --git a/x-pack/plugins/canvas/i18n/functions/function_errors.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/function_errors.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/function_errors.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/function_errors.ts diff --git a/x-pack/plugins/canvas/i18n/functions/function_help.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/function_help.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/function_help.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/function_help.ts diff --git a/x-pack/plugins/canvas/i18n/functions/index.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/index.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/index.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/index.ts diff --git a/x-pack/plugins/canvas/i18n/index.ts b/x-pack/platform/plugins/private/canvas/i18n/index.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/index.ts rename to x-pack/platform/plugins/private/canvas/i18n/index.ts diff --git a/x-pack/plugins/canvas/i18n/lib.ts b/x-pack/platform/plugins/private/canvas/i18n/lib.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/lib.ts rename to x-pack/platform/plugins/private/canvas/i18n/lib.ts diff --git a/x-pack/plugins/canvas/i18n/renderers.ts b/x-pack/platform/plugins/private/canvas/i18n/renderers.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/renderers.ts rename to x-pack/platform/plugins/private/canvas/i18n/renderers.ts diff --git a/x-pack/plugins/canvas/i18n/shortcuts.ts b/x-pack/platform/plugins/private/canvas/i18n/shortcuts.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/shortcuts.ts rename to x-pack/platform/plugins/private/canvas/i18n/shortcuts.ts diff --git a/x-pack/plugins/canvas/i18n/tags.ts b/x-pack/platform/plugins/private/canvas/i18n/tags.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/tags.ts rename to x-pack/platform/plugins/private/canvas/i18n/tags.ts diff --git a/x-pack/plugins/canvas/i18n/templates/apply_strings.ts b/x-pack/platform/plugins/private/canvas/i18n/templates/apply_strings.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/templates/apply_strings.ts rename to x-pack/platform/plugins/private/canvas/i18n/templates/apply_strings.ts diff --git a/x-pack/plugins/canvas/i18n/templates/index.ts b/x-pack/platform/plugins/private/canvas/i18n/templates/index.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/templates/index.ts rename to x-pack/platform/plugins/private/canvas/i18n/templates/index.ts diff --git a/x-pack/plugins/canvas/i18n/templates/template_strings.test.ts b/x-pack/platform/plugins/private/canvas/i18n/templates/template_strings.test.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/templates/template_strings.test.ts rename to x-pack/platform/plugins/private/canvas/i18n/templates/template_strings.test.ts diff --git a/x-pack/plugins/canvas/i18n/templates/template_strings.ts b/x-pack/platform/plugins/private/canvas/i18n/templates/template_strings.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/templates/template_strings.ts rename to x-pack/platform/plugins/private/canvas/i18n/templates/template_strings.ts diff --git a/x-pack/plugins/canvas/i18n/transitions.ts b/x-pack/platform/plugins/private/canvas/i18n/transitions.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/transitions.ts rename to x-pack/platform/plugins/private/canvas/i18n/transitions.ts diff --git a/x-pack/plugins/canvas/i18n/ui.ts b/x-pack/platform/plugins/private/canvas/i18n/ui.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/ui.ts rename to x-pack/platform/plugins/private/canvas/i18n/ui.ts diff --git a/x-pack/plugins/canvas/i18n/units.ts b/x-pack/platform/plugins/private/canvas/i18n/units.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/units.ts rename to x-pack/platform/plugins/private/canvas/i18n/units.ts diff --git a/x-pack/plugins/canvas/images/canvas.png b/x-pack/platform/plugins/private/canvas/images/canvas.png similarity index 100% rename from x-pack/plugins/canvas/images/canvas.png rename to x-pack/platform/plugins/private/canvas/images/canvas.png diff --git a/x-pack/plugins/canvas/images/canvas.svg b/x-pack/platform/plugins/private/canvas/images/canvas.svg similarity index 100% rename from x-pack/plugins/canvas/images/canvas.svg rename to x-pack/platform/plugins/private/canvas/images/canvas.svg diff --git a/x-pack/plugins/canvas/images/canvas_blank.svg b/x-pack/platform/plugins/private/canvas/images/canvas_blank.svg similarity index 100% rename from x-pack/plugins/canvas/images/canvas_blank.svg rename to x-pack/platform/plugins/private/canvas/images/canvas_blank.svg diff --git a/x-pack/plugins/canvas/images/icon_black.svg b/x-pack/platform/plugins/private/canvas/images/icon_black.svg similarity index 100% rename from x-pack/plugins/canvas/images/icon_black.svg rename to x-pack/platform/plugins/private/canvas/images/icon_black.svg diff --git a/x-pack/plugins/canvas/images/logo.gif b/x-pack/platform/plugins/private/canvas/images/logo.gif similarity index 100% rename from x-pack/plugins/canvas/images/logo.gif rename to x-pack/platform/plugins/private/canvas/images/logo.gif diff --git a/x-pack/plugins/canvas/jest.config.js b/x-pack/platform/plugins/private/canvas/jest.config.js similarity index 60% rename from x-pack/plugins/canvas/jest.config.js rename to x-pack/platform/plugins/private/canvas/jest.config.js index f7a9224795b4a..5198fd00fb35b 100644 --- a/x-pack/plugins/canvas/jest.config.js +++ b/x-pack/platform/plugins/private/canvas/jest.config.js @@ -7,15 +7,15 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/canvas'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/canvas'], transform: { '^.+\\.stories\\.tsx?$': '@storybook/addon-storyshots/injectFileName', }, - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/canvas', + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/private/canvas', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/canvas/{canvas_plugin_src,common,i18n,public,server,shareable_runtime}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/private/canvas/{canvas_plugin_src,common,i18n,public,server,shareable_runtime}/**/*.{js,ts,tsx}', ], - setupFiles: ['/x-pack/plugins/canvas/jest_setup.ts'], + setupFiles: ['/x-pack/platform/plugins/private/canvas/jest_setup.ts'], }; diff --git a/x-pack/plugins/canvas/jest_setup.ts b/x-pack/platform/plugins/private/canvas/jest_setup.ts similarity index 100% rename from x-pack/plugins/canvas/jest_setup.ts rename to x-pack/platform/plugins/private/canvas/jest_setup.ts diff --git a/x-pack/plugins/canvas/kibana.jsonc b/x-pack/platform/plugins/private/canvas/kibana.jsonc similarity index 100% rename from x-pack/plugins/canvas/kibana.jsonc rename to x-pack/platform/plugins/private/canvas/kibana.jsonc diff --git a/x-pack/plugins/canvas/public/application.tsx b/x-pack/platform/plugins/private/canvas/public/application.tsx similarity index 100% rename from x-pack/plugins/canvas/public/application.tsx rename to x-pack/platform/plugins/private/canvas/public/application.tsx diff --git a/x-pack/plugins/canvas/public/components/app/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/app/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/app/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/app/index.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_add/arg_add.scss b/x-pack/platform/plugins/private/canvas/public/components/arg_add/arg_add.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add/arg_add.scss rename to x-pack/platform/plugins/private/canvas/public/components/arg_add/arg_add.scss diff --git a/x-pack/plugins/canvas/public/components/arg_add/arg_add.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_add/arg_add.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add/arg_add.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_add/arg_add.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_add/index.ts b/x-pack/platform/plugins/private/canvas/public/components/arg_add/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/arg_add/index.ts diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.scss b/x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/arg_add_popover.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.scss rename to x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/arg_add_popover.scss diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/arg_add_popover.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/arg_add_popover.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/index.ts b/x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add_popover/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/index.ts diff --git a/x-pack/plugins/canvas/public/components/arg_form/advanced_failure.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/advanced_failure.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/advanced_failure.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/advanced_failure.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_form.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_form.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_form.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_form.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_form.scss b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_form.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_form.scss rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_form.scss diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_label.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_label.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_label.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_label.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_simple_form.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_simple_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_simple_form.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_simple_form.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_template_form.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_template_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_template_form.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_template_form.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_form/index.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/index.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/index.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/pending_arg_value.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/pending_arg_value.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/pending_arg_value.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/pending_arg_value.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/simple_failure.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_form/simple_failure.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/simple_failure.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/simple_failure.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/asset.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/asset.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/asset.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/asset.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/asset_manager.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/asset_manager.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/asset_manager.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/asset_manager.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/assets.ts b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/assets.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/assets.ts rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/assets.ts diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset.component.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset_manager.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset_manager.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.component.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset_manager.scss b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset_manager.scss rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.scss diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset_manager.ts b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset_manager.ts rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.ts diff --git a/x-pack/plugins/canvas/public/components/asset_manager/index.ts b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/index.ts diff --git a/x-pack/plugins/canvas/public/components/asset_picker/asset_picker.scss b/x-pack/platform/plugins/private/canvas/public/components/asset_picker/asset_picker.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_picker/asset_picker.scss rename to x-pack/platform/plugins/private/canvas/public/components/asset_picker/asset_picker.scss diff --git a/x-pack/plugins/canvas/public/components/asset_picker/asset_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_picker/asset_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_picker/asset_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_picker/asset_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/asset_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/asset_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/canvas_loading/canvas_loading.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/canvas_loading/canvas_loading.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/canvas_loading/canvas_loading.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/canvas_loading/canvas_loading.component.tsx diff --git a/x-pack/plugins/canvas/public/components/canvas_loading/index.ts b/x-pack/platform/plugins/private/canvas/public/components/canvas_loading/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/canvas_loading/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/canvas_loading/index.ts diff --git a/x-pack/plugins/canvas/public/components/clipboard/clipboard.scss b/x-pack/platform/plugins/private/canvas/public/components/clipboard/clipboard.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/clipboard/clipboard.scss rename to x-pack/platform/plugins/private/canvas/public/components/clipboard/clipboard.scss diff --git a/x-pack/plugins/canvas/public/components/clipboard/clipboard.tsx b/x-pack/platform/plugins/private/canvas/public/components/clipboard/clipboard.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/clipboard/clipboard.tsx rename to x-pack/platform/plugins/private/canvas/public/components/clipboard/clipboard.tsx diff --git a/x-pack/plugins/canvas/public/components/clipboard/index.ts b/x-pack/platform/plugins/private/canvas/public/components/clipboard/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/clipboard/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/clipboard/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_dot/color_dot.scss b/x-pack/platform/plugins/private/canvas/public/components/color_dot/color_dot.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/color_dot.scss rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/color_dot.scss diff --git a/x-pack/plugins/canvas/public/components/color_dot/color_dot.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_dot/color_dot.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/color_dot.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/color_dot.tsx diff --git a/x-pack/plugins/canvas/public/components/color_dot/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_dot/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_manager/__stories__/color_manager.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_manager/__stories__/color_manager.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/__stories__/color_manager.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_manager/__stories__/color_manager.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_manager/color_manager.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_manager/color_manager.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/color_manager.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_manager/color_manager.tsx diff --git a/x-pack/plugins/canvas/public/components/color_manager/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_manager/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_manager/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_palette/__stories__/__snapshots__/color_palette.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_palette/__stories__/__snapshots__/color_palette.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/__stories__/__snapshots__/color_palette.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/__stories__/__snapshots__/color_palette.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_palette/__stories__/color_palette.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_palette/__stories__/color_palette.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/__stories__/color_palette.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/__stories__/color_palette.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_palette/color_palette.scss b/x-pack/platform/plugins/private/canvas/public/components/color_palette/color_palette.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/color_palette.scss rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/color_palette.scss diff --git a/x-pack/plugins/canvas/public/components/color_palette/color_palette.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_palette/color_palette.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/color_palette.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/color_palette.tsx diff --git a/x-pack/plugins/canvas/public/components/color_palette/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_palette/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_picker/__stories__/__snapshots__/color_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_picker/__stories__/__snapshots__/color_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/__stories__/__snapshots__/color_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_picker/__stories__/__snapshots__/color_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_picker/__stories__/color_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_picker/__stories__/color_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/__stories__/color_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_picker/__stories__/color_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker/color_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_picker/color_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/color_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_picker/color_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/__stories__/__snapshots__/color_picker_popover.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/__stories__/__snapshots__/color_picker_popover.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/__stories__/__snapshots__/color_picker_popover.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/__stories__/__snapshots__/color_picker_popover.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/__stories__/color_picker_popover.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/__stories__/color_picker_popover.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/__stories__/color_picker_popover.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/__stories__/color_picker_popover.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.scss b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/color_picker_popover.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.scss rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/color_picker_popover.scss diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/color_picker_popover.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/color_picker_popover.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/index.ts diff --git a/x-pack/plugins/canvas/public/components/confirm_modal/confirm_modal.tsx b/x-pack/platform/plugins/private/canvas/public/components/confirm_modal/confirm_modal.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/confirm_modal/confirm_modal.tsx rename to x-pack/platform/plugins/private/canvas/public/components/confirm_modal/confirm_modal.tsx diff --git a/x-pack/plugins/canvas/public/components/confirm_modal/index.ts b/x-pack/platform/plugins/private/canvas/public/components/confirm_modal/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/confirm_modal/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/confirm_modal/index.ts diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/__stories__/__snapshots__/custom_element_modal.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/__stories__/__snapshots__/custom_element_modal.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/__stories__/__snapshots__/custom_element_modal.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/__stories__/__snapshots__/custom_element_modal.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/__stories__/custom_element_modal.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/__stories__/custom_element_modal.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/__stories__/custom_element_modal.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/__stories__/custom_element_modal.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.scss b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/custom_element_modal.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.scss rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/custom_element_modal.scss diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.tsx b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/custom_element_modal.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.tsx rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/custom_element_modal.tsx diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/index.tsx diff --git a/x-pack/plugins/canvas/public/components/datasource/__stories__/__snapshots__/datasource_component.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/datasource/__stories__/__snapshots__/datasource_component.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/__stories__/__snapshots__/datasource_component.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/datasource/__stories__/__snapshots__/datasource_component.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource.scss b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource.scss rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource.scss diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_component.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_component.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/datasource_preview.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/datasource_preview.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.scss b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/datasource_preview.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.scss rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/datasource_preview.scss diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_preview/index.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_preview/index.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/index.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_selector.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_selector.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_selector.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_selector.js diff --git a/x-pack/plugins/canvas/public/components/datasource/index.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/index.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/index.js diff --git a/x-pack/plugins/canvas/public/components/datasource/no_datasource.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/no_datasource.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/no_datasource.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/no_datasource.js diff --git a/x-pack/plugins/canvas/public/components/datatable/datatable.scss b/x-pack/platform/plugins/private/canvas/public/components/datatable/datatable.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/datatable/datatable.scss rename to x-pack/platform/plugins/private/canvas/public/components/datatable/datatable.scss diff --git a/x-pack/plugins/canvas/public/components/datatable/datatable.tsx b/x-pack/platform/plugins/private/canvas/public/components/datatable/datatable.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/datatable/datatable.tsx rename to x-pack/platform/plugins/private/canvas/public/components/datatable/datatable.tsx diff --git a/x-pack/plugins/canvas/public/components/datatable/index.ts b/x-pack/platform/plugins/private/canvas/public/components/datatable/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/datatable/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/datatable/index.ts diff --git a/x-pack/plugins/canvas/public/components/dom_preview/dom_preview.scss b/x-pack/platform/plugins/private/canvas/public/components/dom_preview/dom_preview.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/dom_preview/dom_preview.scss rename to x-pack/platform/plugins/private/canvas/public/components/dom_preview/dom_preview.scss diff --git a/x-pack/plugins/canvas/public/components/dom_preview/dom_preview.tsx b/x-pack/platform/plugins/private/canvas/public/components/dom_preview/dom_preview.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/dom_preview/dom_preview.tsx rename to x-pack/platform/plugins/private/canvas/public/components/dom_preview/dom_preview.tsx diff --git a/x-pack/plugins/canvas/public/components/dom_preview/index.ts b/x-pack/platform/plugins/private/canvas/public/components/dom_preview/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/dom_preview/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/dom_preview/index.ts diff --git a/x-pack/plugins/canvas/public/components/download/download.test.tsx b/x-pack/platform/plugins/private/canvas/public/components/download/download.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/download/download.test.tsx rename to x-pack/platform/plugins/private/canvas/public/components/download/download.test.tsx diff --git a/x-pack/plugins/canvas/public/components/download/download.tsx b/x-pack/platform/plugins/private/canvas/public/components/download/download.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/download/download.tsx rename to x-pack/platform/plugins/private/canvas/public/components/download/download.tsx diff --git a/x-pack/plugins/canvas/public/components/download/index.ts b/x-pack/platform/plugins/private/canvas/public/components/download/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/download/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/download/index.ts diff --git a/x-pack/plugins/canvas/public/components/element_card/__stories__/__snapshots__/element_card.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/element_card/__stories__/__snapshots__/element_card.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/__stories__/__snapshots__/element_card.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/element_card/__stories__/__snapshots__/element_card.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/element_card/__stories__/element_card.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_card/__stories__/element_card.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/__stories__/element_card.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_card/__stories__/element_card.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/element_card/element_card.scss b/x-pack/platform/plugins/private/canvas/public/components/element_card/element_card.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/element_card.scss rename to x-pack/platform/plugins/private/canvas/public/components/element_card/element_card.scss diff --git a/x-pack/plugins/canvas/public/components/element_card/element_card.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_card/element_card.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/element_card.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_card/element_card.tsx diff --git a/x-pack/plugins/canvas/public/components/element_card/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_card/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_card/index.tsx diff --git a/x-pack/plugins/canvas/public/components/element_config/element_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_config/element_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_config/element_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_config/element_config.tsx diff --git a/x-pack/plugins/canvas/public/components/element_config/index.js b/x-pack/platform/plugins/private/canvas/public/components/element_config/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_config/index.js rename to x-pack/platform/plugins/private/canvas/public/components/element_config/index.js diff --git a/x-pack/plugins/canvas/public/components/element_content/element_content.scss b/x-pack/platform/plugins/private/canvas/public/components/element_content/element_content.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/element_content.scss rename to x-pack/platform/plugins/private/canvas/public/components/element_content/element_content.scss diff --git a/x-pack/plugins/canvas/public/components/element_content/element_content.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_content/element_content.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/element_content.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_content/element_content.tsx diff --git a/x-pack/plugins/canvas/public/components/element_content/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_content/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_content/index.tsx diff --git a/x-pack/plugins/canvas/public/components/element_content/invalid_element_type.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_content/invalid_element_type.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/invalid_element_type.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_content/invalid_element_type.tsx diff --git a/x-pack/plugins/canvas/public/components/element_content/invalid_expression.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_content/invalid_expression.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/invalid_expression.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_content/invalid_expression.tsx diff --git a/x-pack/plugins/canvas/public/components/element_share_container/element_share_container.js b/x-pack/platform/plugins/private/canvas/public/components/element_share_container/element_share_container.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_share_container/element_share_container.js rename to x-pack/platform/plugins/private/canvas/public/components/element_share_container/element_share_container.js diff --git a/x-pack/plugins/canvas/public/components/element_share_container/index.js b/x-pack/platform/plugins/private/canvas/public/components/element_share_container/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_share_container/index.js rename to x-pack/platform/plugins/private/canvas/public/components/element_share_container/index.js diff --git a/x-pack/plugins/canvas/public/components/element_wrapper/element_wrapper.js b/x-pack/platform/plugins/private/canvas/public/components/element_wrapper/element_wrapper.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_wrapper/element_wrapper.js rename to x-pack/platform/plugins/private/canvas/public/components/element_wrapper/element_wrapper.js diff --git a/x-pack/plugins/canvas/public/components/element_wrapper/index.js b/x-pack/platform/plugins/private/canvas/public/components/element_wrapper/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_wrapper/index.js rename to x-pack/platform/plugins/private/canvas/public/components/element_wrapper/index.js diff --git a/x-pack/plugins/canvas/public/components/embeddable_flyout/flyout.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/flyout.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/embeddable_flyout/flyout.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/flyout.component.tsx diff --git a/x-pack/plugins/canvas/public/components/embeddable_flyout/flyout.tsx b/x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/flyout.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/embeddable_flyout/flyout.tsx rename to x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/flyout.tsx diff --git a/x-pack/plugins/canvas/public/components/embeddable_flyout/index.ts b/x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/embeddable_flyout/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/index.ts diff --git a/x-pack/plugins/canvas/public/components/enhance/error_boundary.tsx b/x-pack/platform/plugins/private/canvas/public/components/enhance/error_boundary.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/enhance/error_boundary.tsx rename to x-pack/platform/plugins/private/canvas/public/components/enhance/error_boundary.tsx diff --git a/x-pack/plugins/canvas/public/components/enhance/stateful_prop.js b/x-pack/platform/plugins/private/canvas/public/components/enhance/stateful_prop.js similarity index 100% rename from x-pack/plugins/canvas/public/components/enhance/stateful_prop.js rename to x-pack/platform/plugins/private/canvas/public/components/enhance/stateful_prop.js diff --git a/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx diff --git a/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/es_data_view_select.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/es_data_view_select.tsx diff --git a/x-pack/plugins/canvas/public/components/es_data_view_select/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_data_view_select/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/index.tsx diff --git a/x-pack/plugins/canvas/public/components/es_field_select/es_field_select.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_field_select/es_field_select.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_field_select/es_field_select.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_field_select/es_field_select.tsx diff --git a/x-pack/plugins/canvas/public/components/es_field_select/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_field_select/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_field_select/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_field_select/index.tsx diff --git a/x-pack/plugins/canvas/public/components/es_fields_select/es_fields_select.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_fields_select/es_fields_select.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_fields_select/es_fields_select.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_fields_select/es_fields_select.component.tsx diff --git a/x-pack/plugins/canvas/public/components/es_fields_select/es_fields_select.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_fields_select/es_fields_select.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_fields_select/es_fields_select.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_fields_select/es_fields_select.tsx diff --git a/x-pack/plugins/canvas/public/components/es_fields_select/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_fields_select/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_fields_select/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_fields_select/index.tsx diff --git a/x-pack/plugins/canvas/public/components/export_app/__snapshots__/export_app.test.tsx.snap b/x-pack/platform/plugins/private/canvas/public/components/export_app/__snapshots__/export_app.test.tsx.snap similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/__snapshots__/export_app.test.tsx.snap rename to x-pack/platform/plugins/private/canvas/public/components/export_app/__snapshots__/export_app.test.tsx.snap diff --git a/x-pack/plugins/canvas/public/components/export_app/export_app.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/export_app.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.component.tsx diff --git a/x-pack/plugins/canvas/public/components/export_app/export_app.scss b/x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/export_app.scss rename to x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.scss diff --git a/x-pack/plugins/canvas/public/components/export_app/export_app.test.tsx b/x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/export_app.test.tsx rename to x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.test.tsx diff --git a/x-pack/plugins/canvas/public/components/export_app/export_app.ts b/x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/export_app.ts rename to x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.ts diff --git a/x-pack/plugins/canvas/public/components/export_app/index.ts b/x-pack/platform/plugins/private/canvas/public/components/export_app/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/export_app/index.ts diff --git a/x-pack/plugins/canvas/public/components/expression/element_not_selected.js b/x-pack/platform/plugins/private/canvas/public/components/expression/element_not_selected.js similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/element_not_selected.js rename to x-pack/platform/plugins/private/canvas/public/components/expression/element_not_selected.js diff --git a/x-pack/plugins/canvas/public/components/expression/expression.scss b/x-pack/platform/plugins/private/canvas/public/components/expression/expression.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/expression.scss rename to x-pack/platform/plugins/private/canvas/public/components/expression/expression.scss diff --git a/x-pack/plugins/canvas/public/components/expression/expression.tsx b/x-pack/platform/plugins/private/canvas/public/components/expression/expression.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/expression.tsx rename to x-pack/platform/plugins/private/canvas/public/components/expression/expression.tsx diff --git a/x-pack/plugins/canvas/public/components/expression/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/expression/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/expression/index.tsx diff --git a/x-pack/plugins/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/expression_input/__stories__/expression_input.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/expression_input/__stories__/expression_input.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/__stories__/expression_input.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/expression_input/__stories__/expression_input.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/expression_input/expression_input.tsx b/x-pack/platform/plugins/private/canvas/public/components/expression_input/expression_input.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/expression_input.tsx rename to x-pack/platform/plugins/private/canvas/public/components/expression_input/expression_input.tsx diff --git a/x-pack/plugins/canvas/public/components/expression_input/index.ts b/x-pack/platform/plugins/private/canvas/public/components/expression_input/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/expression_input/index.ts diff --git a/x-pack/plugins/canvas/public/components/file_upload/__snapshots__/file_upload.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/file_upload/__snapshots__/file_upload.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/file_upload/__snapshots__/file_upload.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/file_upload/__snapshots__/file_upload.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/file_upload/file_upload.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/file_upload/file_upload.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/file_upload/file_upload.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/file_upload/file_upload.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/file_upload/file_upload.tsx b/x-pack/platform/plugins/private/canvas/public/components/file_upload/file_upload.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/file_upload/file_upload.tsx rename to x-pack/platform/plugins/private/canvas/public/components/file_upload/file_upload.tsx diff --git a/x-pack/plugins/canvas/public/components/flyouts/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/flyouts/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/flyouts/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/flyouts/index.tsx diff --git a/x-pack/plugins/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/font_picker/__stories__/font_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/font_picker/__stories__/font_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/__stories__/font_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/font_picker/__stories__/font_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/font_picker/font_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/font_picker/font_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/font_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/font_picker/font_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/font_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/font_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/font_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/format_select/format_select.tsx b/x-pack/platform/plugins/private/canvas/public/components/format_select/format_select.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/format_select/format_select.tsx rename to x-pack/platform/plugins/private/canvas/public/components/format_select/format_select.tsx diff --git a/x-pack/plugins/canvas/public/components/format_select/index.ts b/x-pack/platform/plugins/private/canvas/public/components/format_select/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/format_select/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/format_select/index.ts diff --git a/x-pack/plugins/canvas/public/components/fullscreen/fullscreen.scss b/x-pack/platform/plugins/private/canvas/public/components/fullscreen/fullscreen.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/fullscreen/fullscreen.scss rename to x-pack/platform/plugins/private/canvas/public/components/fullscreen/fullscreen.scss diff --git a/x-pack/plugins/canvas/public/components/fullscreen/fullscreen.ts b/x-pack/platform/plugins/private/canvas/public/components/fullscreen/fullscreen.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/fullscreen/fullscreen.ts rename to x-pack/platform/plugins/private/canvas/public/components/fullscreen/fullscreen.ts diff --git a/x-pack/plugins/canvas/public/components/fullscreen/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/fullscreen/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/fullscreen/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/fullscreen/index.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form.scss b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form.scss rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form.scss diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_component.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form_component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_component.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_context_error.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_context_error.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form_context_error.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_context_error.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_context_pending.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_context_pending.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form_context_pending.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_context_pending.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_unknown.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_unknown.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_unknown.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_unknown.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/index.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form_list/function_form_list.js b/x-pack/platform/plugins/private/canvas/public/components/function_form_list/function_form_list.js similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form_list/function_form_list.js rename to x-pack/platform/plugins/private/canvas/public/components/function_form_list/function_form_list.js diff --git a/x-pack/plugins/canvas/public/components/function_form_list/index.js b/x-pack/platform/plugins/private/canvas/public/components/function_form_list/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form_list/index.js rename to x-pack/platform/plugins/private/canvas/public/components/function_form_list/index.js diff --git a/x-pack/plugins/canvas/public/components/help_menu/help_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/help_menu/help_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/help_menu/help_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/help_menu/help_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/help_menu/help_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/help_menu/help_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/help_menu/help_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/help_menu/help_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/help_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/help_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/help_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/help_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/__snapshots__/home.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/__snapshots__/home.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/__snapshots__/home.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/__snapshots__/home.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/home.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/home.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/home.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/home.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/home.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/home.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/home.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/home.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/home.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/home.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/home.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/home.tsx diff --git a/x-pack/plugins/canvas/public/components/home/hooks/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_clone_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_clone_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_clone_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_clone_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_create_from_template.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_create_from_template.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_create_from_template.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_create_from_template.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_create_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_create_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_create_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_create_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_delete_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_delete_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_delete_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_delete_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_find_templates.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_find_templates.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_find_templates.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_find_templates.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_find_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_find_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_find_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_find_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_import_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_import_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_import_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_import_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/loading.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/loading.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/loading.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/loading.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/empty_prompt.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/empty_prompt.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/empty_prompt.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/empty_prompt.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/my_workpads.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/my_workpads.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/my_workpads.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/my_workpads.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/empty_prompt.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/empty_prompt.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/empty_prompt.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/empty_prompt.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/empty_prompt.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/empty_prompt.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/empty_prompt.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.scss b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.scss rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.scss diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_import.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_import.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_import.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_import.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_import.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_import.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_import.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_import.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table_tools.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table_tools.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table_tools.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table_tools.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table_tools.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table_tools.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table_tools.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table_tools.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_create.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_create.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_create.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_create.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_create.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_create.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_create.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_create.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/__snapshots__/workpad_templates.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/__snapshots__/workpad_templates.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/__snapshots__/workpad_templates.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/__snapshots__/workpad_templates.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.tsx diff --git a/x-pack/plugins/canvas/public/components/home_app/home_app.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home_app/home_app.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home_app/home_app.scss b/x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/home_app/home_app.scss rename to x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.scss diff --git a/x-pack/plugins/canvas/public/components/home_app/home_app.tsx b/x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home_app/home_app.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.tsx diff --git a/x-pack/plugins/canvas/public/components/home_app/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home_app/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home_app/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home_app/index.ts diff --git a/x-pack/plugins/canvas/public/components/hooks/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/hooks/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/hooks/index.tsx diff --git a/x-pack/plugins/canvas/public/components/hooks/use_canvas_api.tsx b/x-pack/platform/plugins/private/canvas/public/components/hooks/use_canvas_api.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/use_canvas_api.tsx rename to x-pack/platform/plugins/private/canvas/public/components/hooks/use_canvas_api.tsx diff --git a/x-pack/plugins/canvas/public/components/hooks/workpad/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/workpad/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/index.tsx diff --git a/x-pack/plugins/canvas/public/components/hooks/workpad/use_download_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/use_download_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/workpad/use_download_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/use_download_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/hooks/workpad/use_incoming_embeddable.ts b/x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/use_incoming_embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/workpad/use_incoming_embeddable.ts rename to x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/use_incoming_embeddable.ts diff --git a/x-pack/plugins/canvas/public/components/item_grid/__stories__/__snapshots__/item_grid.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/item_grid/__stories__/__snapshots__/item_grid.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/__stories__/__snapshots__/item_grid.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/item_grid/__stories__/__snapshots__/item_grid.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/item_grid/__stories__/item_grid.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/item_grid/__stories__/item_grid.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/__stories__/item_grid.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/item_grid/__stories__/item_grid.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/item_grid/index.ts b/x-pack/platform/plugins/private/canvas/public/components/item_grid/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/item_grid/index.ts diff --git a/x-pack/plugins/canvas/public/components/item_grid/item_grid.tsx b/x-pack/platform/plugins/private/canvas/public/components/item_grid/item_grid.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/item_grid.tsx rename to x-pack/platform/plugins/private/canvas/public/components/item_grid/item_grid.tsx diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__stories__/__snapshots__/keyboard_shortcuts_doc.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/__stories__/__snapshots__/keyboard_shortcuts_doc.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__stories__/__snapshots__/keyboard_shortcuts_doc.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/__stories__/__snapshots__/keyboard_shortcuts_doc.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__stories__/keyboard_shortcuts_doc.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/__stories__/keyboard_shortcuts_doc.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__stories__/keyboard_shortcuts_doc.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/__stories__/keyboard_shortcuts_doc.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/index.ts b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/index.ts diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/index.ts b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/index.ts diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.component.tsx diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.tsx b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.tsx rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/alignment_guide.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/alignment_guide.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/alignment_guide.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/alignment_guide.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/border_connection.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/border_connection.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/border_connection.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/border_connection.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/border_resize_handle.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/border_resize_handle.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/border_resize_handle.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/border_resize_handle.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/dragbox_annotation.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/dragbox_annotation.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/dragbox_annotation.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/dragbox_annotation.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/hover_annotation.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/hover_annotation.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/hover_annotation.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/hover_annotation.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/index.ts b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/index.ts diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/layout_annotations.scss b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/layout_annotations.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/layout_annotations.scss rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/layout_annotations.scss diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/rotation_handle.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/rotation_handle.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/rotation_handle.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/rotation_handle.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/tooltip_annotation.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/tooltip_annotation.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/tooltip_annotation.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/tooltip_annotation.tsx diff --git a/x-pack/plugins/canvas/public/components/loading/index.ts b/x-pack/platform/plugins/private/canvas/public/components/loading/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/loading/index.ts diff --git a/x-pack/plugins/canvas/public/components/loading/loading.scss b/x-pack/platform/plugins/private/canvas/public/components/loading/loading.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/loading.scss rename to x-pack/platform/plugins/private/canvas/public/components/loading/loading.scss diff --git a/x-pack/plugins/canvas/public/components/loading/loading.test.tsx b/x-pack/platform/plugins/private/canvas/public/components/loading/loading.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/loading.test.tsx rename to x-pack/platform/plugins/private/canvas/public/components/loading/loading.test.tsx diff --git a/x-pack/plugins/canvas/public/components/loading/loading.tsx b/x-pack/platform/plugins/private/canvas/public/components/loading/loading.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/loading.tsx rename to x-pack/platform/plugins/private/canvas/public/components/loading/loading.tsx diff --git a/x-pack/plugins/canvas/public/components/page_config/index.js b/x-pack/platform/plugins/private/canvas/public/components/page_config/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/page_config/index.js rename to x-pack/platform/plugins/private/canvas/public/components/page_config/index.js diff --git a/x-pack/plugins/canvas/public/components/page_config/page_config.js b/x-pack/platform/plugins/private/canvas/public/components/page_config/page_config.js similarity index 100% rename from x-pack/plugins/canvas/public/components/page_config/page_config.js rename to x-pack/platform/plugins/private/canvas/public/components/page_config/page_config.js diff --git a/x-pack/plugins/canvas/public/components/page_manager/index.ts b/x-pack/platform/plugins/private/canvas/public/components/page_manager/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/page_manager/index.ts diff --git a/x-pack/plugins/canvas/public/components/page_manager/page_manager.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/page_manager.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.component.tsx diff --git a/x-pack/plugins/canvas/public/components/page_manager/page_manager.scss b/x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/page_manager.scss rename to x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.scss diff --git a/x-pack/plugins/canvas/public/components/page_manager/page_manager.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/page_manager.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.tsx diff --git a/x-pack/plugins/canvas/public/components/page_preview/index.ts b/x-pack/platform/plugins/private/canvas/public/components/page_preview/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/page_preview/index.ts diff --git a/x-pack/plugins/canvas/public/components/page_preview/page_controls.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_preview/page_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/page_controls.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_preview/page_controls.tsx diff --git a/x-pack/plugins/canvas/public/components/page_preview/page_preview.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_preview/page_preview.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/page_preview.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_preview/page_preview.component.tsx diff --git a/x-pack/plugins/canvas/public/components/page_preview/page_preview.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_preview/page_preview.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/page_preview.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_preview/page_preview.tsx diff --git a/x-pack/plugins/canvas/public/components/paginate/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/paginate/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/paginate/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/paginate/index.tsx diff --git a/x-pack/plugins/canvas/public/components/paginate/paginate.tsx b/x-pack/platform/plugins/private/canvas/public/components/paginate/paginate.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/paginate/paginate.tsx rename to x-pack/platform/plugins/private/canvas/public/components/paginate/paginate.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/__stories__/palette_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/__stories__/palette_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/__stories__/palette_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/__stories__/palette_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/clearable_palette_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/clearable_palette_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/clearable_palette_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/clearable_palette_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/default_palette_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/default_palette_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/default_palette_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/default_palette_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/palette_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/palette_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/palette_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/palette_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/stop_color_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/stop_color_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/stop_color_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/stop_color_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/stops_palette_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/stops_palette_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/stops_palette_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/stops_palette_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/types.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/types.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/types.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/types.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/utils.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/utils.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/types.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/types.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/types.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/types.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/utils.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/utils.ts diff --git a/x-pack/plugins/canvas/public/components/popover/index.ts b/x-pack/platform/plugins/private/canvas/public/components/popover/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/popover/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/popover/index.ts diff --git a/x-pack/plugins/canvas/public/components/popover/popover.tsx b/x-pack/platform/plugins/private/canvas/public/components/popover/popover.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/popover/popover.tsx rename to x-pack/platform/plugins/private/canvas/public/components/popover/popover.tsx diff --git a/x-pack/plugins/canvas/public/components/positionable/index.ts b/x-pack/platform/plugins/private/canvas/public/components/positionable/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/positionable/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/positionable/index.ts diff --git a/x-pack/plugins/canvas/public/components/positionable/positionable.scss b/x-pack/platform/plugins/private/canvas/public/components/positionable/positionable.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/positionable/positionable.scss rename to x-pack/platform/plugins/private/canvas/public/components/positionable/positionable.scss diff --git a/x-pack/plugins/canvas/public/components/positionable/positionable.tsx b/x-pack/platform/plugins/private/canvas/public/components/positionable/positionable.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/positionable/positionable.tsx rename to x-pack/platform/plugins/private/canvas/public/components/positionable/positionable.tsx diff --git a/x-pack/plugins/canvas/public/components/render_to_dom/index.ts b/x-pack/platform/plugins/private/canvas/public/components/render_to_dom/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/render_to_dom/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/render_to_dom/index.ts diff --git a/x-pack/plugins/canvas/public/components/render_to_dom/render_to_dom.tsx b/x-pack/platform/plugins/private/canvas/public/components/render_to_dom/render_to_dom.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/render_to_dom/render_to_dom.tsx rename to x-pack/platform/plugins/private/canvas/public/components/render_to_dom/render_to_dom.tsx diff --git a/x-pack/plugins/canvas/public/components/render_with_fn/index.ts b/x-pack/platform/plugins/private/canvas/public/components/render_with_fn/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/render_with_fn/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/render_with_fn/index.ts diff --git a/x-pack/plugins/canvas/public/components/render_with_fn/render_with_fn.tsx b/x-pack/platform/plugins/private/canvas/public/components/render_with_fn/render_with_fn.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/render_with_fn/render_with_fn.tsx rename to x-pack/platform/plugins/private/canvas/public/components/render_with_fn/render_with_fn.tsx diff --git a/x-pack/plugins/canvas/public/components/routing/index.ts b/x-pack/platform/plugins/private/canvas/public/components/routing/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/routing/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/routing/index.ts diff --git a/x-pack/plugins/canvas/public/components/routing/routing_link.tsx b/x-pack/platform/plugins/private/canvas/public/components/routing/routing_link.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/routing/routing_link.tsx rename to x-pack/platform/plugins/private/canvas/public/components/routing/routing_link.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/element_controls.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/element_controls.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/element_controls.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/element_controls.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/element_grid.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/element_grid.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/element_grid.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/element_grid.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/fixtures/test_elements.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/fixtures/test_elements.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/fixtures/test_elements.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/fixtures/test_elements.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/saved_elements_modal.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/saved_elements_modal.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/saved_elements_modal.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/saved_elements_modal.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/element_controls.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/element_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/element_controls.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/element_controls.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/element_grid.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/element_grid.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/element_grid.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/element_grid.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/index.ts b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/index.ts diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/saved_elements_modal.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/saved_elements_modal.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/saved_elements_modal.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/saved_elements_modal.component.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/saved_elements_modal.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/saved_elements_modal.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/saved_elements_modal.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/saved_elements_modal.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker/__stories__/__snapshots__/shape_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/__stories__/__snapshots__/shape_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/__stories__/__snapshots__/shape_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/__stories__/__snapshots__/shape_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/shape_picker/__stories__/shape_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/__stories__/shape_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/__stories__/shape_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/__stories__/shape_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/shape_picker/shape_picker.scss b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/shape_picker.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/shape_picker.scss rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/shape_picker.scss diff --git a/x-pack/plugins/canvas/public/components/shape_picker/shape_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/shape_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/shape_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/shape_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/__stories__/__snapshots__/shape_picker_popover.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/__stories__/__snapshots__/shape_picker_popover.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/__stories__/__snapshots__/shape_picker_popover.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/__stories__/__snapshots__/shape_picker_popover.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/__stories__/shape_picker_popover.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/__stories__/shape_picker_popover.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/__stories__/shape_picker_popover.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/__stories__/shape_picker_popover.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/index.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_preview/__stories__/__snapshots__/shape_preview.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/__stories__/__snapshots__/shape_preview.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/__stories__/__snapshots__/shape_preview.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/__stories__/__snapshots__/shape_preview.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/shape_preview/__stories__/shape_preview.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/__stories__/shape_preview.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/__stories__/shape_preview.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/__stories__/shape_preview.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_preview/index.ts b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/index.ts diff --git a/x-pack/plugins/canvas/public/components/shape_preview/shape_preview.scss b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/shape_preview.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/shape_preview.scss rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/shape_preview.scss diff --git a/x-pack/plugins/canvas/public/components/shape_preview/shape_preview.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/shape_preview.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/shape_preview.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/shape_preview.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/__stories__/__snapshots__/group_settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/__snapshots__/group_settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__stories__/__snapshots__/group_settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/__snapshots__/group_settings.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/sidebar/__stories__/__snapshots__/multi_element_settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/__snapshots__/multi_element_settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__stories__/__snapshots__/multi_element_settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/__snapshots__/multi_element_settings.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/sidebar/__stories__/group_settings.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/group_settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__stories__/group_settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/group_settings.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/__stories__/multi_element_settings.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/multi_element_settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__stories__/multi_element_settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/multi_element_settings.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/element_settings.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/element_settings.component.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/element_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/element_settings.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/element_settings/index.ts b/x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/element_settings/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/index.ts diff --git a/x-pack/plugins/canvas/public/components/sidebar/global_config/filter_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/filter_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/global_config/filter_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/filter_config.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/global_config/general_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/general_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/global_config/general_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/general_config.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/global_config/global_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/global_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/global_config/global_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/global_config.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/global_config/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/global_config/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/index.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/group_settings.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/group_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/group_settings.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/group_settings.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/index.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/multi_element_settings.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/multi_element_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/multi_element_settings.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/multi_element_settings.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar.scss b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar.scss rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar.scss diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/index.ts b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_content/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/index.ts diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_section.js b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_section.js similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_section.js rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_section.js diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_section_title.js b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_section_title.js similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_section_title.js rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_section_title.js diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/index.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.component.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.scss b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.scss rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.scss diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.tsx diff --git a/x-pack/plugins/canvas/public/components/tag/__stories__/__snapshots__/tag.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/tag/__stories__/__snapshots__/tag.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/__stories__/__snapshots__/tag.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/tag/__stories__/__snapshots__/tag.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/tag/__stories__/tag.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag/__stories__/tag.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/__stories__/tag.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag/__stories__/tag.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/tag/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag/index.tsx diff --git a/x-pack/plugins/canvas/public/components/tag/tag.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag/tag.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/tag.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag/tag.tsx diff --git a/x-pack/plugins/canvas/public/components/tag_list/__stories__/__snapshots__/tag_list.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/tag_list/__stories__/__snapshots__/tag_list.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/__stories__/__snapshots__/tag_list.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/tag_list/__stories__/__snapshots__/tag_list.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/tag_list/__stories__/tag_list.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag_list/__stories__/tag_list.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/__stories__/tag_list.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag_list/__stories__/tag_list.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/tag_list/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag_list/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag_list/index.tsx diff --git a/x-pack/plugins/canvas/public/components/tag_list/tag_list.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag_list/tag_list.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/tag_list.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag_list/tag_list.tsx diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/__stories__/text_style_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/__stories__/text_style_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/__stories__/text_style_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/__stories__/text_style_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/font_sizes.ts b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/font_sizes.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/font_sizes.ts rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/font_sizes.ts diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/text_style_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/text_style_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/text_style_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/text_style_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/__stories__/__snapshots__/tool_tip_shortcut.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/__stories__/__snapshots__/tool_tip_shortcut.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/__stories__/__snapshots__/tool_tip_shortcut.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/__stories__/__snapshots__/tool_tip_shortcut.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/__stories__/tool_tip_shortcut.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/__stories__/tool_tip_shortcut.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/__stories__/tool_tip_shortcut.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/__stories__/tool_tip_shortcut.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/index.tsx diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx b/x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx diff --git a/x-pack/plugins/canvas/public/components/toolbar/__stories__/__snapshots__/toolbar.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/toolbar/__stories__/__snapshots__/toolbar.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/__stories__/__snapshots__/toolbar.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/__stories__/__snapshots__/toolbar.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/toolbar/__stories__/toolbar.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/toolbar/__stories__/toolbar.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/__stories__/toolbar.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/__stories__/toolbar.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/toolbar/index.ts b/x-pack/platform/plugins/private/canvas/public/components/toolbar/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/index.ts diff --git a/x-pack/plugins/canvas/public/components/toolbar/toolbar.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/toolbar.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.component.tsx diff --git a/x-pack/plugins/canvas/public/components/toolbar/toolbar.scss b/x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/toolbar.scss rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.scss diff --git a/x-pack/plugins/canvas/public/components/toolbar/toolbar.ts b/x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/toolbar.ts rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.ts diff --git a/x-pack/plugins/canvas/public/components/toolbar/tray/index.ts b/x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/tray/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/index.ts diff --git a/x-pack/plugins/canvas/public/components/toolbar/tray/tray.scss b/x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/tray.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/tray/tray.scss rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/tray.scss diff --git a/x-pack/plugins/canvas/public/components/toolbar/tray/tray.tsx b/x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/tray.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/tray/tray.tsx rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/tray.tsx diff --git a/x-pack/plugins/canvas/public/components/tooltip_icon/index.ts b/x-pack/platform/plugins/private/canvas/public/components/tooltip_icon/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/tooltip_icon/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/tooltip_icon/index.ts diff --git a/x-pack/plugins/canvas/public/components/tooltip_icon/tooltip_icon.tsx b/x-pack/platform/plugins/private/canvas/public/components/tooltip_icon/tooltip_icon.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tooltip_icon/tooltip_icon.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tooltip_icon/tooltip_icon.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/delete_var.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/delete_var.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/delete_var.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/delete_var.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/delete_var.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/delete_var.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/delete_var.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/delete_var.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/edit_var.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/edit_var.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/edit_var.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/edit_var.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/var_config.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/var_config.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/var_config.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/var_config.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/delete_var.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/delete_var.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/delete_var.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/delete_var.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/edit_var.scss b/x-pack/platform/plugins/private/canvas/public/components/var_config/edit_var.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/edit_var.scss rename to x-pack/platform/plugins/private/canvas/public/components/var_config/edit_var.scss diff --git a/x-pack/plugins/canvas/public/components/var_config/edit_var.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/edit_var.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/edit_var.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/edit_var.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/index.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/var_config.scss b/x-pack/platform/plugins/private/canvas/public/components/var_config/var_config.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/var_config.scss rename to x-pack/platform/plugins/private/canvas/public/components/var_config/var_config.scss diff --git a/x-pack/plugins/canvas/public/components/var_config/var_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/var_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/var_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/var_config.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/var_panel.scss b/x-pack/platform/plugins/private/canvas/public/components/var_config/var_panel.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/var_panel.scss rename to x-pack/platform/plugins/private/canvas/public/components/var_config/var_panel.scss diff --git a/x-pack/plugins/canvas/public/components/var_config/var_value_field.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/var_value_field.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/var_value_field.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/var_value_field.tsx diff --git a/x-pack/plugins/canvas/public/components/with_debounce_arg/index.ts b/x-pack/platform/plugins/private/canvas/public/components/with_debounce_arg/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/with_debounce_arg/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/with_debounce_arg/index.ts diff --git a/x-pack/plugins/canvas/public/components/with_debounce_arg/with_debounce_arg.tsx b/x-pack/platform/plugins/private/canvas/public/components/with_debounce_arg/with_debounce_arg.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/with_debounce_arg/with_debounce_arg.tsx rename to x-pack/platform/plugins/private/canvas/public/components/with_debounce_arg/with_debounce_arg.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad/workpad.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/workpad.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad/workpad.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/workpad.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.scss diff --git a/x-pack/plugins/canvas/public/components/workpad/workpad.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/workpad.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad/workpad_shortcuts.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad/workpad_shortcuts.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/workpad_shortcuts.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad/workpad_shortcuts.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_app/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_app.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_app.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_app.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_app.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_app.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_app.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_telemetry.test.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_telemetry.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_telemetry.test.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_telemetry.test.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_telemetry.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_telemetry.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_telemetry.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_telemetry.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_color_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_color_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/workpad_color_picker.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/workpad_color_picker.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/workpad_color_picker.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/workpad_color_picker.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_config/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_config/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_config/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_config/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_config/workpad_config.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_config/workpad_config.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_config/workpad_config.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_config/workpad_config.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_config/workpad_config.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_config/workpad_config.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_config/workpad_config.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_config/workpad_config.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/filter.component.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/filter.component.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/filter.component.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/filter.component.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/filters_group.component.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/filters_group.component.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/filters_group.component.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/filters_group.component.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/workpad_filters.component.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/workpad_filters.component.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/workpad_filters.component.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/workpad_filters.component.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/elements.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/elements.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/elements.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/elements.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/filter.component.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/filter.component.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/filter.component.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/filter.component.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/filters_group.component.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/filters_group.component.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/filters_group.component.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/filters_group.component.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/workpad_filters.component.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/workpad_filters.component.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/workpad_filters.component.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/workpad_filters.component.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/workpad_filters.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/workpad_filters.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/workpad_filters.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/workpad_filters.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filter.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filter.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filter_views/default_filter.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/default_filter.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filter_views/default_filter.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/default_filter.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filter_views/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filter_views/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filter_views/time_filter.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/time_filter.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filter_views/time_filter.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/time_filter.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filters_group.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filters_group.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filters_group.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filters_group.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/hooks/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/hooks/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/hooks/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/hooks/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/hooks/use_canvas_filters.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/hooks/use_canvas_filters.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/hooks/use_canvas_filters.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/hooks/use_canvas_filters.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/index.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/types.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/types.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/types.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/types.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/utils.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/utils.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/workpad_filters.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/workpad_filters.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/workpad_filters.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/workpad_filters.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/workpad_filters.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/workpad_filters.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/workpad_filters.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/workpad_filters.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/__stories__/__snapshots__/edit_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/__stories__/__snapshots__/edit_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/__stories__/__snapshots__/edit_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/__stories__/__snapshots__/edit_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/__stories__/edit_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/__stories__/edit_menu.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/__stories__/edit_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/__stories__/edit_menu.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/edit_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/edit_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/edit_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/edit_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/edit_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/edit_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/edit_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/edit_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/__snapshots__/editor_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/__stories__/__snapshots__/editor_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/__snapshots__/editor_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/__stories__/__snapshots__/editor_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/__stories__/__snapshots__/element_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/__stories__/__snapshots__/element_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/__stories__/__snapshots__/element_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/__stories__/__snapshots__/element_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/__stories__/element_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/__stories__/element_menu.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/__stories__/element_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/__stories__/element_menu.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/element_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/element_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/element_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/element_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/element_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/element_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/element_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/element_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/index.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/fullscreen_control/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/index.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/fullscreen_control/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/labs_control/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/labs_control/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/labs_control/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/labs_control/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/labs_control/labs_control.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/labs_control/labs_control.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/labs_control/labs_control.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/labs_control/labs_control.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/refresh_control/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/refresh_control/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/refresh_control.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/refresh_control.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/refresh_control.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/refresh_control.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/pdf_panel.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/pdf_panel.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/pdf_panel.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/pdf_panel.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/share_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/share_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/share_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/share_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/share_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/share_menu.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/share_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/share_menu.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/__stories__/flyout.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/__stories__/flyout.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/__stories__/flyout.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/__stories__/flyout.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/hooks/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/hooks/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/runtime_step.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/runtime_step.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/runtime_step.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/runtime_step.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/snippets_step.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/snippets_step.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/snippets_step.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/snippets_step.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/workpad_step.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/workpad_step.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/workpad_step.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/workpad_step.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/utils.test.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/utils.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/utils.test.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/utils.test.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/utils.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/utils.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/__stories__/__snapshots__/view_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/__stories__/__snapshots__/view_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/__stories__/__snapshots__/view_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/__stories__/__snapshots__/view_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/__stories__/view_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/__stories__/view_menu.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/__stories__/view_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/__stories__/view_menu.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/auto_refresh_controls.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/auto_refresh_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/auto_refresh_controls.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/auto_refresh_controls.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/custom_interval.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/custom_interval.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/custom_interval.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/custom_interval.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/kiosk_controls.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/kiosk_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/kiosk_controls.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/kiosk_controls.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/lib/get_fit_zoom_scale.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/lib/get_fit_zoom_scale.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/lib/get_fit_zoom_scale.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/lib/get_fit_zoom_scale.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/workpad_header.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/workpad_header.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/workpad_header.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/workpad_header.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/workpad_header.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/workpad_header.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/workpad_header.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/workpad_header.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_page/index.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/index.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/integration_utils.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/integration_utils.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/integration_utils.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/integration_utils.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/positioning_utils.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/positioning_utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/positioning_utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/positioning_utils.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_page/prop_types.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/prop_types.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/prop_types.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/prop_types.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/index.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/index.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interaction_boundary.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/interaction_boundary.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interaction_boundary.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/interaction_boundary.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_page.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_page.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_page.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_page.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/index.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/index.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_shortcuts/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_shortcuts/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_shortcuts/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_shortcuts/index.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_type.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_type.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_type.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_type.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_type_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_type_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_type_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_type_registry.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/color.js b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/color.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/color.js rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/color.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/simple_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/simple_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/simple_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/simple_template.stories.storyshot diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/extended_template.stories.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/extended_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/extended_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/extended_template.stories.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/simple_template.stories.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/simple_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/simple_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/simple_template.stories.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/appearance_form.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/appearance_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/appearance_form.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/appearance_form.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/border_form.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/border_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/border_form.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/border_form.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/extended_template.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/extended_template.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/extended_template.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/extended_template.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/index.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/index.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/index.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/simple_template.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/simple_template.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/simple_template.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/simple_template.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/font.js b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/font.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/font.js rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/font.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/index.js b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/index.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/index.js rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/index.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/extended_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/extended_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/extended_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/extended_template.stories.storyshot diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/simple_template.stories.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/simple_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/simple_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/simple_template.stories.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/extended_template.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/extended_template.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/extended_template.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/extended_template.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/index.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/index.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/index.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/simple_template.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/simple_template.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/simple_template.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/simple_template.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/base_form.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/base_form.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/base_form.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/base_form.ts diff --git a/x-pack/plugins/canvas/public/expression_types/datasource.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/datasource.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/datasource.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/datasource.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/datasource_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/datasource_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/datasource_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/datasource_registry.ts diff --git a/x-pack/plugins/canvas/public/expression_types/function_form.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/function_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/function_form.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/function_form.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/index.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/index.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/index.ts diff --git a/x-pack/plugins/canvas/public/expression_types/model.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/model.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/model.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/model.ts diff --git a/x-pack/plugins/canvas/public/expression_types/model_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/model_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/model_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/model_registry.ts diff --git a/x-pack/plugins/canvas/public/expression_types/transform.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/transform.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/transform.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/transform.ts diff --git a/x-pack/plugins/canvas/public/expression_types/transform_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/transform_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/transform_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/transform_registry.ts diff --git a/x-pack/plugins/canvas/public/expression_types/types.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/types.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/types.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/types.ts diff --git a/x-pack/plugins/canvas/public/expression_types/view.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/view.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/view.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/view.ts diff --git a/x-pack/plugins/canvas/public/expression_types/view_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/view_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/view_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/view_registry.ts diff --git a/x-pack/plugins/canvas/public/functions/asset.ts b/x-pack/platform/plugins/private/canvas/public/functions/asset.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/asset.ts rename to x-pack/platform/plugins/private/canvas/public/functions/asset.ts diff --git a/x-pack/plugins/canvas/public/functions/filters.ts b/x-pack/platform/plugins/private/canvas/public/functions/filters.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/filters.ts rename to x-pack/platform/plugins/private/canvas/public/functions/filters.ts diff --git a/x-pack/plugins/canvas/public/functions/index.ts b/x-pack/platform/plugins/private/canvas/public/functions/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/index.ts rename to x-pack/platform/plugins/private/canvas/public/functions/index.ts diff --git a/x-pack/plugins/canvas/public/functions/pie.test.js b/x-pack/platform/plugins/private/canvas/public/functions/pie.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/pie.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/pie.test.js diff --git a/x-pack/plugins/canvas/public/functions/pie.ts b/x-pack/platform/plugins/private/canvas/public/functions/pie.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/pie.ts rename to x-pack/platform/plugins/private/canvas/public/functions/pie.ts diff --git a/x-pack/plugins/canvas/public/functions/plot.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/get_flot_axis_config.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_flot_axis_config.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_flot_axis_config.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_flot_axis_config.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/get_flot_axis_config.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_flot_axis_config.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_flot_axis_config.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_flot_axis_config.ts diff --git a/x-pack/plugins/canvas/public/functions/plot/get_font_spec.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_font_spec.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_font_spec.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_font_spec.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/get_font_spec.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_font_spec.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_font_spec.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_font_spec.ts diff --git a/x-pack/plugins/canvas/public/functions/plot/get_tick_hash.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_tick_hash.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_tick_hash.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_tick_hash.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/get_tick_hash.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_tick_hash.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_tick_hash.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_tick_hash.ts diff --git a/x-pack/plugins/canvas/public/functions/plot/index.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/index.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/index.ts diff --git a/x-pack/plugins/canvas/public/functions/plot/series_style_to_flot.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot/series_style_to_flot.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/series_style_to_flot.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot/series_style_to_flot.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/series_style_to_flot.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/series_style_to_flot.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/series_style_to_flot.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/series_style_to_flot.ts diff --git a/x-pack/plugins/canvas/public/functions/timelion.ts b/x-pack/platform/plugins/private/canvas/public/functions/timelion.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/timelion.ts rename to x-pack/platform/plugins/private/canvas/public/functions/timelion.ts diff --git a/x-pack/plugins/canvas/public/functions/to.ts b/x-pack/platform/plugins/private/canvas/public/functions/to.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/to.ts rename to x-pack/platform/plugins/private/canvas/public/functions/to.ts diff --git a/x-pack/plugins/canvas/public/icon.svg b/x-pack/platform/plugins/private/canvas/public/icon.svg similarity index 100% rename from x-pack/plugins/canvas/public/icon.svg rename to x-pack/platform/plugins/private/canvas/public/icon.svg diff --git a/x-pack/plugins/canvas/public/index.ts b/x-pack/platform/plugins/private/canvas/public/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/index.ts rename to x-pack/platform/plugins/private/canvas/public/index.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/common.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/common.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/common.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/common.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/functional.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/functional.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/functional.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/functional.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/geometry.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/geometry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/geometry.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/geometry.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/gestures.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/gestures.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/gestures.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/gestures.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/index.d.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/index.d.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/index.d.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/index.d.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/layout.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/layout.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/layout.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/layout.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/layout_functions.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/layout_functions.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/layout_functions.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/layout_functions.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/matrix.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/matrix.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/matrix.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/matrix.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/matrix2d.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/matrix2d.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/matrix2d.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/matrix2d.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/select.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/select.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/select.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/select.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/store.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/store.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/store.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/store.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/typespec.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/typespec.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/typespec.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/typespec.test.ts diff --git a/x-pack/plugins/canvas/public/lib/app_handler_creators.ts b/x-pack/platform/plugins/private/canvas/public/lib/app_handler_creators.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/app_handler_creators.ts rename to x-pack/platform/plugins/private/canvas/public/lib/app_handler_creators.ts diff --git a/x-pack/plugins/canvas/public/lib/arg_helpers.js b/x-pack/platform/plugins/private/canvas/public/lib/arg_helpers.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/arg_helpers.js rename to x-pack/platform/plugins/private/canvas/public/lib/arg_helpers.js diff --git a/x-pack/plugins/canvas/public/lib/args.ts b/x-pack/platform/plugins/private/canvas/public/lib/args.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/args.ts rename to x-pack/platform/plugins/private/canvas/public/lib/args.ts diff --git a/x-pack/plugins/canvas/public/lib/assets.ts b/x-pack/platform/plugins/private/canvas/public/lib/assets.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/assets.ts rename to x-pack/platform/plugins/private/canvas/public/lib/assets.ts diff --git a/x-pack/plugins/canvas/public/lib/breadcrumbs.ts b/x-pack/platform/plugins/private/canvas/public/lib/breadcrumbs.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/breadcrumbs.ts rename to x-pack/platform/plugins/private/canvas/public/lib/breadcrumbs.ts diff --git a/x-pack/plugins/canvas/public/lib/clipboard.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/clipboard.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/clipboard.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/clipboard.test.ts diff --git a/x-pack/plugins/canvas/public/lib/clipboard.ts b/x-pack/platform/plugins/private/canvas/public/lib/clipboard.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/clipboard.ts rename to x-pack/platform/plugins/private/canvas/public/lib/clipboard.ts diff --git a/x-pack/plugins/canvas/public/lib/clone_subgraphs.ts b/x-pack/platform/plugins/private/canvas/public/lib/clone_subgraphs.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/clone_subgraphs.ts rename to x-pack/platform/plugins/private/canvas/public/lib/clone_subgraphs.ts diff --git a/x-pack/plugins/canvas/public/lib/create_handlers.ts b/x-pack/platform/plugins/private/canvas/public/lib/create_handlers.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/create_handlers.ts rename to x-pack/platform/plugins/private/canvas/public/lib/create_handlers.ts diff --git a/x-pack/plugins/canvas/public/lib/create_thunk.ts b/x-pack/platform/plugins/private/canvas/public/lib/create_thunk.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/create_thunk.ts rename to x-pack/platform/plugins/private/canvas/public/lib/create_thunk.ts diff --git a/x-pack/plugins/canvas/public/lib/data_view_helpers.ts b/x-pack/platform/plugins/private/canvas/public/lib/data_view_helpers.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/data_view_helpers.ts rename to x-pack/platform/plugins/private/canvas/public/lib/data_view_helpers.ts diff --git a/x-pack/plugins/canvas/public/lib/doc_title.ts b/x-pack/platform/plugins/private/canvas/public/lib/doc_title.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/doc_title.ts rename to x-pack/platform/plugins/private/canvas/public/lib/doc_title.ts diff --git a/x-pack/plugins/canvas/public/lib/dom.ts b/x-pack/platform/plugins/private/canvas/public/lib/dom.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/dom.ts rename to x-pack/platform/plugins/private/canvas/public/lib/dom.ts diff --git a/x-pack/plugins/canvas/public/lib/element.ts b/x-pack/platform/plugins/private/canvas/public/lib/element.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/element.ts rename to x-pack/platform/plugins/private/canvas/public/lib/element.ts diff --git a/x-pack/plugins/canvas/public/lib/element_handler_creators.ts b/x-pack/platform/plugins/private/canvas/public/lib/element_handler_creators.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/element_handler_creators.ts rename to x-pack/platform/plugins/private/canvas/public/lib/element_handler_creators.ts diff --git a/x-pack/plugins/canvas/public/lib/elements_registry.js b/x-pack/platform/plugins/private/canvas/public/lib/elements_registry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/elements_registry.js rename to x-pack/platform/plugins/private/canvas/public/lib/elements_registry.js diff --git a/x-pack/plugins/canvas/public/lib/extract_search.js b/x-pack/platform/plugins/private/canvas/public/lib/extract_search.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/extract_search.js rename to x-pack/platform/plugins/private/canvas/public/lib/extract_search.js diff --git a/x-pack/plugins/canvas/public/lib/filter.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/filter.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/filter.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/filter.test.ts diff --git a/x-pack/plugins/canvas/public/lib/filter.ts b/x-pack/platform/plugins/private/canvas/public/lib/filter.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/filter.ts rename to x-pack/platform/plugins/private/canvas/public/lib/filter.ts diff --git a/x-pack/plugins/canvas/public/lib/filter_adapters.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/filter_adapters.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/filter_adapters.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/filter_adapters.test.ts diff --git a/x-pack/plugins/canvas/public/lib/filter_adapters.ts b/x-pack/platform/plugins/private/canvas/public/lib/filter_adapters.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/filter_adapters.ts rename to x-pack/platform/plugins/private/canvas/public/lib/filter_adapters.ts diff --git a/x-pack/plugins/canvas/public/lib/find_existing_asset.js b/x-pack/platform/plugins/private/canvas/public/lib/find_existing_asset.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/find_existing_asset.js rename to x-pack/platform/plugins/private/canvas/public/lib/find_existing_asset.js diff --git a/x-pack/plugins/canvas/public/lib/find_expression_type.ts b/x-pack/platform/plugins/private/canvas/public/lib/find_expression_type.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/find_expression_type.ts rename to x-pack/platform/plugins/private/canvas/public/lib/find_expression_type.ts diff --git a/x-pack/plugins/canvas/public/lib/flatten_panel_tree.ts b/x-pack/platform/plugins/private/canvas/public/lib/flatten_panel_tree.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/flatten_panel_tree.ts rename to x-pack/platform/plugins/private/canvas/public/lib/flatten_panel_tree.ts diff --git a/x-pack/plugins/canvas/public/lib/format_msg.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/format_msg.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/format_msg.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/format_msg.test.ts diff --git a/x-pack/plugins/canvas/public/lib/format_msg.ts b/x-pack/platform/plugins/private/canvas/public/lib/format_msg.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/format_msg.ts rename to x-pack/platform/plugins/private/canvas/public/lib/format_msg.ts diff --git a/x-pack/plugins/canvas/public/lib/fullscreen.js b/x-pack/platform/plugins/private/canvas/public/lib/fullscreen.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/fullscreen.js rename to x-pack/platform/plugins/private/canvas/public/lib/fullscreen.js diff --git a/x-pack/plugins/canvas/public/lib/get_client_platform.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_client_platform.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_client_platform.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_client_platform.ts diff --git a/x-pack/plugins/canvas/public/lib/get_id.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_id.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_id.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_id.ts diff --git a/x-pack/plugins/canvas/public/lib/get_pretty_shortcut.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_pretty_shortcut.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_pretty_shortcut.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_pretty_shortcut.test.ts diff --git a/x-pack/plugins/canvas/public/lib/get_pretty_shortcut.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_pretty_shortcut.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_pretty_shortcut.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_pretty_shortcut.ts diff --git a/x-pack/plugins/canvas/public/lib/get_window.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_window.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_window.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_window.ts diff --git a/x-pack/plugins/canvas/public/lib/is_text_input.ts b/x-pack/platform/plugins/private/canvas/public/lib/is_text_input.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/is_text_input.ts rename to x-pack/platform/plugins/private/canvas/public/lib/is_text_input.ts diff --git a/x-pack/plugins/canvas/public/lib/keymap.ts b/x-pack/platform/plugins/private/canvas/public/lib/keymap.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/keymap.ts rename to x-pack/platform/plugins/private/canvas/public/lib/keymap.ts diff --git a/x-pack/plugins/canvas/public/lib/legend_options.js b/x-pack/platform/plugins/private/canvas/public/lib/legend_options.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/legend_options.js rename to x-pack/platform/plugins/private/canvas/public/lib/legend_options.js diff --git a/x-pack/plugins/canvas/public/lib/load_expression_types.js b/x-pack/platform/plugins/private/canvas/public/lib/load_expression_types.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/load_expression_types.js rename to x-pack/platform/plugins/private/canvas/public/lib/load_expression_types.js diff --git a/x-pack/plugins/canvas/public/lib/load_transitions.js b/x-pack/platform/plugins/private/canvas/public/lib/load_transitions.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/load_transitions.js rename to x-pack/platform/plugins/private/canvas/public/lib/load_transitions.js diff --git a/x-pack/plugins/canvas/public/lib/loading_indicator.ts b/x-pack/platform/plugins/private/canvas/public/lib/loading_indicator.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/loading_indicator.ts rename to x-pack/platform/plugins/private/canvas/public/lib/loading_indicator.ts diff --git a/x-pack/plugins/canvas/public/lib/modify_path.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/modify_path.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/modify_path.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/modify_path.test.ts diff --git a/x-pack/plugins/canvas/public/lib/modify_path.ts b/x-pack/platform/plugins/private/canvas/public/lib/modify_path.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/modify_path.ts rename to x-pack/platform/plugins/private/canvas/public/lib/modify_path.ts diff --git a/x-pack/plugins/canvas/public/lib/parse_single_function_chain.js b/x-pack/platform/plugins/private/canvas/public/lib/parse_single_function_chain.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/parse_single_function_chain.js rename to x-pack/platform/plugins/private/canvas/public/lib/parse_single_function_chain.js diff --git a/x-pack/plugins/canvas/public/lib/readable_color.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/readable_color.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/readable_color.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/readable_color.test.ts diff --git a/x-pack/plugins/canvas/public/lib/readable_color.ts b/x-pack/platform/plugins/private/canvas/public/lib/readable_color.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/readable_color.ts rename to x-pack/platform/plugins/private/canvas/public/lib/readable_color.ts diff --git a/x-pack/plugins/canvas/public/lib/resolved_arg.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/resolved_arg.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/resolved_arg.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/resolved_arg.test.ts diff --git a/x-pack/plugins/canvas/public/lib/resolved_arg.ts b/x-pack/platform/plugins/private/canvas/public/lib/resolved_arg.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/resolved_arg.ts rename to x-pack/platform/plugins/private/canvas/public/lib/resolved_arg.ts diff --git a/x-pack/plugins/canvas/public/lib/shortcut_manager.js b/x-pack/platform/plugins/private/canvas/public/lib/shortcut_manager.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/shortcut_manager.js rename to x-pack/platform/plugins/private/canvas/public/lib/shortcut_manager.js diff --git a/x-pack/plugins/canvas/public/lib/storage.ts b/x-pack/platform/plugins/private/canvas/public/lib/storage.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/storage.ts rename to x-pack/platform/plugins/private/canvas/public/lib/storage.ts diff --git a/x-pack/plugins/canvas/public/lib/sync_filter_expression.ts b/x-pack/platform/plugins/private/canvas/public/lib/sync_filter_expression.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/sync_filter_expression.ts rename to x-pack/platform/plugins/private/canvas/public/lib/sync_filter_expression.ts diff --git a/x-pack/plugins/canvas/public/lib/tag.ts b/x-pack/platform/plugins/private/canvas/public/lib/tag.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/tag.ts rename to x-pack/platform/plugins/private/canvas/public/lib/tag.ts diff --git a/x-pack/plugins/canvas/public/lib/tags_registry.ts b/x-pack/platform/plugins/private/canvas/public/lib/tags_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/tags_registry.ts rename to x-pack/platform/plugins/private/canvas/public/lib/tags_registry.ts diff --git a/x-pack/plugins/canvas/public/lib/template.js b/x-pack/platform/plugins/private/canvas/public/lib/template.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/template.js rename to x-pack/platform/plugins/private/canvas/public/lib/template.js diff --git a/x-pack/plugins/canvas/public/lib/template_from_react_component.tsx b/x-pack/platform/plugins/private/canvas/public/lib/template_from_react_component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/lib/template_from_react_component.tsx rename to x-pack/platform/plugins/private/canvas/public/lib/template_from_react_component.tsx diff --git a/x-pack/plugins/canvas/public/lib/template_service.ts b/x-pack/platform/plugins/private/canvas/public/lib/template_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/template_service.ts rename to x-pack/platform/plugins/private/canvas/public/lib/template_service.ts diff --git a/x-pack/plugins/canvas/public/lib/templates_registry.js b/x-pack/platform/plugins/private/canvas/public/lib/templates_registry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/templates_registry.js rename to x-pack/platform/plugins/private/canvas/public/lib/templates_registry.js diff --git a/x-pack/plugins/canvas/public/lib/time_duration.ts b/x-pack/platform/plugins/private/canvas/public/lib/time_duration.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/time_duration.ts rename to x-pack/platform/plugins/private/canvas/public/lib/time_duration.ts diff --git a/x-pack/plugins/canvas/public/lib/time_interval.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/time_interval.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/time_interval.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/time_interval.test.ts diff --git a/x-pack/plugins/canvas/public/lib/time_interval.ts b/x-pack/platform/plugins/private/canvas/public/lib/time_interval.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/time_interval.ts rename to x-pack/platform/plugins/private/canvas/public/lib/time_interval.ts diff --git a/x-pack/plugins/canvas/public/lib/transitions_registry.js b/x-pack/platform/plugins/private/canvas/public/lib/transitions_registry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/transitions_registry.js rename to x-pack/platform/plugins/private/canvas/public/lib/transitions_registry.js diff --git a/x-pack/plugins/canvas/public/lib/ui_metric.ts b/x-pack/platform/plugins/private/canvas/public/lib/ui_metric.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/ui_metric.ts rename to x-pack/platform/plugins/private/canvas/public/lib/ui_metric.ts diff --git a/x-pack/plugins/canvas/public/lib/workpad.ts b/x-pack/platform/plugins/private/canvas/public/lib/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/workpad.ts rename to x-pack/platform/plugins/private/canvas/public/lib/workpad.ts diff --git a/x-pack/plugins/canvas/public/plugin.tsx b/x-pack/platform/plugins/private/canvas/public/plugin.tsx similarity index 100% rename from x-pack/plugins/canvas/public/plugin.tsx rename to x-pack/platform/plugins/private/canvas/public/plugin.tsx diff --git a/x-pack/plugins/canvas/public/plugin_api.ts b/x-pack/platform/plugins/private/canvas/public/plugin_api.ts similarity index 100% rename from x-pack/plugins/canvas/public/plugin_api.ts rename to x-pack/platform/plugins/private/canvas/public/plugin_api.ts diff --git a/x-pack/plugins/canvas/public/registries.ts b/x-pack/platform/plugins/private/canvas/public/registries.ts similarity index 100% rename from x-pack/plugins/canvas/public/registries.ts rename to x-pack/platform/plugins/private/canvas/public/registries.ts diff --git a/x-pack/plugins/canvas/public/routes/home/home_route.tsx b/x-pack/platform/plugins/private/canvas/public/routes/home/home_route.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/home/home_route.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/home/home_route.tsx diff --git a/x-pack/plugins/canvas/public/routes/home/index.tsx b/x-pack/platform/plugins/private/canvas/public/routes/home/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/home/index.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/home/index.tsx diff --git a/x-pack/plugins/canvas/public/routes/index.tsx b/x-pack/platform/plugins/private/canvas/public/routes/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/index.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/index.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_autoplay_helper.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_autoplay_helper.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_autoplay_helper.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_autoplay_helper.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_autoplay_helper.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_autoplay_helper.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_autoplay_helper.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_autoplay_helper.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_fullscreen_presentation_helper.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_fullscreen_presentation_helper.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_fullscreen_presentation_helper.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_fullscreen_presentation_helper.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_page_sync.test.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_page_sync.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_page_sync.test.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_page_sync.test.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_page_sync.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_page_sync.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_page_sync.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_page_sync.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_refresh_helper.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_refresh_helper.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_refresh_helper.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_refresh_helper.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_refresh_helper.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_refresh_helper.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_refresh_helper.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_refresh_helper.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_restore_history.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_restore_history.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_restore_history.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_restore_history.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_restore_history.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_restore_history.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_restore_history.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_restore_history.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_routing_context.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_routing_context.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_routing_context.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_routing_context.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_history.test.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_history.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_history.test.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_history.test.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_history.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_history.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_history.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_history.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_persist.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_persist.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_persist.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_persist.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_persist.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_persist.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_persist.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_persist.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/index.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/index.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/index.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/route_state.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/route_state.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/route_state.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/route_state.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/workpad_presentation_helper.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_presentation_helper.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/workpad_presentation_helper.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_presentation_helper.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/workpad_route.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_route.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/workpad_route.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_route.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/workpad_routing_context.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_routing_context.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/workpad_routing_context.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_routing_context.tsx diff --git a/x-pack/plugins/canvas/public/services/canvas_custom_element_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_custom_element_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_custom_element_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_custom_element_service.ts diff --git a/x-pack/plugins/canvas/public/services/canvas_expressions_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_expressions_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_expressions_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_expressions_service.ts diff --git a/x-pack/plugins/canvas/public/services/canvas_filters_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_filters_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_filters_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_filters_service.ts diff --git a/x-pack/plugins/canvas/public/services/canvas_notify_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_notify_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_notify_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_notify_service.ts diff --git a/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_workpad_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts diff --git a/x-pack/plugins/canvas/public/services/get_has_workpads.ts b/x-pack/platform/plugins/private/canvas/public/services/get_has_workpads.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/get_has_workpads.ts rename to x-pack/platform/plugins/private/canvas/public/services/get_has_workpads.ts diff --git a/x-pack/plugins/canvas/public/services/index.ts b/x-pack/platform/plugins/private/canvas/public/services/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/index.ts rename to x-pack/platform/plugins/private/canvas/public/services/index.ts diff --git a/x-pack/plugins/canvas/public/services/kibana_services.ts b/x-pack/platform/plugins/private/canvas/public/services/kibana_services.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/kibana_services.ts rename to x-pack/platform/plugins/private/canvas/public/services/kibana_services.ts diff --git a/x-pack/plugins/canvas/public/services/legacy/context.tsx b/x-pack/platform/plugins/private/canvas/public/services/legacy/context.tsx similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/context.tsx rename to x-pack/platform/plugins/private/canvas/public/services/legacy/context.tsx diff --git a/x-pack/plugins/canvas/public/services/legacy/index.ts b/x-pack/platform/plugins/private/canvas/public/services/legacy/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/index.ts rename to x-pack/platform/plugins/private/canvas/public/services/legacy/index.ts diff --git a/x-pack/plugins/canvas/public/services/legacy/search.ts b/x-pack/platform/plugins/private/canvas/public/services/legacy/search.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/search.ts rename to x-pack/platform/plugins/private/canvas/public/services/legacy/search.ts diff --git a/x-pack/plugins/canvas/public/services/legacy/stubs/index.ts b/x-pack/platform/plugins/private/canvas/public/services/legacy/stubs/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/stubs/index.ts rename to x-pack/platform/plugins/private/canvas/public/services/legacy/stubs/index.ts diff --git a/x-pack/plugins/canvas/public/services/legacy/stubs/search.ts b/x-pack/platform/plugins/private/canvas/public/services/legacy/stubs/search.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/stubs/search.ts rename to x-pack/platform/plugins/private/canvas/public/services/legacy/stubs/search.ts diff --git a/x-pack/plugins/canvas/public/services/mocks.ts b/x-pack/platform/plugins/private/canvas/public/services/mocks.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/mocks.ts rename to x-pack/platform/plugins/private/canvas/public/services/mocks.ts diff --git a/x-pack/plugins/canvas/public/setup_expressions.ts b/x-pack/platform/plugins/private/canvas/public/setup_expressions.ts similarity index 100% rename from x-pack/plugins/canvas/public/setup_expressions.ts rename to x-pack/platform/plugins/private/canvas/public/setup_expressions.ts diff --git a/x-pack/plugins/canvas/public/state/actions/app.js b/x-pack/platform/plugins/private/canvas/public/state/actions/app.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/app.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/app.js diff --git a/x-pack/plugins/canvas/public/state/actions/assets.js b/x-pack/platform/plugins/private/canvas/public/state/actions/assets.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/assets.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/assets.js diff --git a/x-pack/plugins/canvas/public/state/actions/elements.js b/x-pack/platform/plugins/private/canvas/public/state/actions/elements.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/elements.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/elements.js diff --git a/x-pack/plugins/canvas/public/state/actions/elements.test.js b/x-pack/platform/plugins/private/canvas/public/state/actions/elements.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/elements.test.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/elements.test.js diff --git a/x-pack/plugins/canvas/public/state/actions/embeddable.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/embeddable.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/embeddable.ts diff --git a/x-pack/plugins/canvas/public/state/actions/filters.js b/x-pack/platform/plugins/private/canvas/public/state/actions/filters.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/filters.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/filters.js diff --git a/x-pack/plugins/canvas/public/state/actions/flyouts.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/flyouts.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/flyouts.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/flyouts.ts diff --git a/x-pack/plugins/canvas/public/state/actions/history.js b/x-pack/platform/plugins/private/canvas/public/state/actions/history.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/history.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/history.js diff --git a/x-pack/plugins/canvas/public/state/actions/pages.js b/x-pack/platform/plugins/private/canvas/public/state/actions/pages.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/pages.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/pages.js diff --git a/x-pack/plugins/canvas/public/state/actions/resolved_args.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/resolved_args.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/resolved_args.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/resolved_args.ts diff --git a/x-pack/plugins/canvas/public/state/actions/sidebar.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/sidebar.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/sidebar.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/sidebar.ts diff --git a/x-pack/plugins/canvas/public/state/actions/transient.js b/x-pack/platform/plugins/private/canvas/public/state/actions/transient.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/transient.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/transient.js diff --git a/x-pack/plugins/canvas/public/state/actions/workpad.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/workpad.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/workpad.ts diff --git a/x-pack/plugins/canvas/public/state/defaults.js b/x-pack/platform/plugins/private/canvas/public/state/defaults.js similarity index 100% rename from x-pack/plugins/canvas/public/state/defaults.js rename to x-pack/platform/plugins/private/canvas/public/state/defaults.js diff --git a/x-pack/plugins/canvas/public/state/initial_state.js b/x-pack/platform/plugins/private/canvas/public/state/initial_state.js similarity index 100% rename from x-pack/plugins/canvas/public/state/initial_state.js rename to x-pack/platform/plugins/private/canvas/public/state/initial_state.js diff --git a/x-pack/plugins/canvas/public/state/middleware/element_stats.ts b/x-pack/platform/plugins/private/canvas/public/state/middleware/element_stats.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/element_stats.ts rename to x-pack/platform/plugins/private/canvas/public/state/middleware/element_stats.ts diff --git a/x-pack/plugins/canvas/public/state/middleware/in_flight.test.ts b/x-pack/platform/plugins/private/canvas/public/state/middleware/in_flight.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/in_flight.test.ts rename to x-pack/platform/plugins/private/canvas/public/state/middleware/in_flight.test.ts diff --git a/x-pack/plugins/canvas/public/state/middleware/in_flight.ts b/x-pack/platform/plugins/private/canvas/public/state/middleware/in_flight.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/in_flight.ts rename to x-pack/platform/plugins/private/canvas/public/state/middleware/in_flight.ts diff --git a/x-pack/plugins/canvas/public/state/middleware/index.js b/x-pack/platform/plugins/private/canvas/public/state/middleware/index.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/index.js rename to x-pack/platform/plugins/private/canvas/public/state/middleware/index.js diff --git a/x-pack/plugins/canvas/public/state/middleware/resolved_args.js b/x-pack/platform/plugins/private/canvas/public/state/middleware/resolved_args.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/resolved_args.js rename to x-pack/platform/plugins/private/canvas/public/state/middleware/resolved_args.js diff --git a/x-pack/plugins/canvas/public/state/middleware/workpad_update.js b/x-pack/platform/plugins/private/canvas/public/state/middleware/workpad_update.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/workpad_update.js rename to x-pack/platform/plugins/private/canvas/public/state/middleware/workpad_update.js diff --git a/x-pack/plugins/canvas/public/state/reducers/__fixtures__/action_creator.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/__fixtures__/action_creator.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/__fixtures__/action_creator.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/__fixtures__/action_creator.js diff --git a/x-pack/plugins/canvas/public/state/reducers/app.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/app.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/app.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/app.js diff --git a/x-pack/plugins/canvas/public/state/reducers/assets.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/assets.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/assets.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/assets.js diff --git a/x-pack/plugins/canvas/public/state/reducers/elements.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/elements.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/elements.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/elements.js diff --git a/x-pack/plugins/canvas/public/state/reducers/elements.test.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/elements.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/elements.test.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/elements.test.js diff --git a/x-pack/plugins/canvas/public/state/reducers/embeddable.ts b/x-pack/platform/plugins/private/canvas/public/state/reducers/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/embeddable.ts rename to x-pack/platform/plugins/private/canvas/public/state/reducers/embeddable.ts diff --git a/x-pack/plugins/canvas/public/state/reducers/embeddables.test.ts b/x-pack/platform/plugins/private/canvas/public/state/reducers/embeddables.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/embeddables.test.ts rename to x-pack/platform/plugins/private/canvas/public/state/reducers/embeddables.test.ts diff --git a/x-pack/plugins/canvas/public/state/reducers/flyouts.ts b/x-pack/platform/plugins/private/canvas/public/state/reducers/flyouts.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/flyouts.ts rename to x-pack/platform/plugins/private/canvas/public/state/reducers/flyouts.ts diff --git a/x-pack/plugins/canvas/public/state/reducers/history.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/history.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/history.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/history.js diff --git a/x-pack/plugins/canvas/public/state/reducers/index.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/index.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/index.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/index.js diff --git a/x-pack/plugins/canvas/public/state/reducers/pages.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/pages.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/pages.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/pages.js diff --git a/x-pack/plugins/canvas/public/state/reducers/resolved_args.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/resolved_args.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/resolved_args.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/resolved_args.js diff --git a/x-pack/plugins/canvas/public/state/reducers/resolved_args.test.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/resolved_args.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/resolved_args.test.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/resolved_args.test.js diff --git a/x-pack/plugins/canvas/public/state/reducers/sidebar.ts b/x-pack/platform/plugins/private/canvas/public/state/reducers/sidebar.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/sidebar.ts rename to x-pack/platform/plugins/private/canvas/public/state/reducers/sidebar.ts diff --git a/x-pack/plugins/canvas/public/state/reducers/transient.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/transient.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/transient.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/transient.js diff --git a/x-pack/plugins/canvas/public/state/reducers/workpad.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/workpad.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/workpad.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/workpad.js diff --git a/x-pack/plugins/canvas/public/state/selectors/app.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/app.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/app.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/app.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/assets.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/assets.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/assets.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/assets.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/flyouts.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/flyouts.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/flyouts.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/flyouts.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/resolved_args.test.js b/x-pack/platform/plugins/private/canvas/public/state/selectors/resolved_args.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/resolved_args.test.js rename to x-pack/platform/plugins/private/canvas/public/state/selectors/resolved_args.test.js diff --git a/x-pack/plugins/canvas/public/state/selectors/resolved_args.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/resolved_args.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/resolved_args.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/resolved_args.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/sidebar.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/sidebar.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/sidebar.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/sidebar.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/workpad.test.js b/x-pack/platform/plugins/private/canvas/public/state/selectors/workpad.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/workpad.test.js rename to x-pack/platform/plugins/private/canvas/public/state/selectors/workpad.test.js diff --git a/x-pack/plugins/canvas/public/state/selectors/workpad.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/workpad.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/workpad.ts diff --git a/x-pack/plugins/canvas/public/state/store.js b/x-pack/platform/plugins/private/canvas/public/state/store.js similarity index 100% rename from x-pack/plugins/canvas/public/state/store.js rename to x-pack/platform/plugins/private/canvas/public/state/store.js diff --git a/x-pack/plugins/canvas/public/state/triggers/add_canvas_element_trigger.ts b/x-pack/platform/plugins/private/canvas/public/state/triggers/add_canvas_element_trigger.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/triggers/add_canvas_element_trigger.ts rename to x-pack/platform/plugins/private/canvas/public/state/triggers/add_canvas_element_trigger.ts diff --git a/x-pack/plugins/canvas/public/store.ts b/x-pack/platform/plugins/private/canvas/public/store.ts similarity index 100% rename from x-pack/plugins/canvas/public/store.ts rename to x-pack/platform/plugins/private/canvas/public/store.ts diff --git a/x-pack/plugins/canvas/public/style/hackery.scss b/x-pack/platform/plugins/private/canvas/public/style/hackery.scss similarity index 100% rename from x-pack/plugins/canvas/public/style/hackery.scss rename to x-pack/platform/plugins/private/canvas/public/style/hackery.scss diff --git a/x-pack/plugins/canvas/public/style/index.scss b/x-pack/platform/plugins/private/canvas/public/style/index.scss similarity index 100% rename from x-pack/plugins/canvas/public/style/index.scss rename to x-pack/platform/plugins/private/canvas/public/style/index.scss diff --git a/x-pack/plugins/canvas/public/style/main.scss b/x-pack/platform/plugins/private/canvas/public/style/main.scss similarity index 100% rename from x-pack/plugins/canvas/public/style/main.scss rename to x-pack/platform/plugins/private/canvas/public/style/main.scss diff --git a/x-pack/plugins/canvas/public/transitions/fade/fade.scss b/x-pack/platform/plugins/private/canvas/public/transitions/fade/fade.scss similarity index 100% rename from x-pack/plugins/canvas/public/transitions/fade/fade.scss rename to x-pack/platform/plugins/private/canvas/public/transitions/fade/fade.scss diff --git a/x-pack/plugins/canvas/public/transitions/fade/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/fade/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/fade/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/fade/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/rotate/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/rotate/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/rotate/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/rotate/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/rotate/rotate.scss b/x-pack/platform/plugins/private/canvas/public/transitions/rotate/rotate.scss similarity index 100% rename from x-pack/plugins/canvas/public/transitions/rotate/rotate.scss rename to x-pack/platform/plugins/private/canvas/public/transitions/rotate/rotate.scss diff --git a/x-pack/plugins/canvas/public/transitions/slide/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/slide/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/slide/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/slide/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/slide/slide.scss b/x-pack/platform/plugins/private/canvas/public/transitions/slide/slide.scss similarity index 100% rename from x-pack/plugins/canvas/public/transitions/slide/slide.scss rename to x-pack/platform/plugins/private/canvas/public/transitions/slide/slide.scss diff --git a/x-pack/plugins/canvas/public/transitions/transition.js b/x-pack/platform/plugins/private/canvas/public/transitions/transition.js similarity index 100% rename from x-pack/plugins/canvas/public/transitions/transition.js rename to x-pack/platform/plugins/private/canvas/public/transitions/transition.js diff --git a/x-pack/plugins/canvas/public/transitions/zoom/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/zoom/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/zoom/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/zoom/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/zoom/zoom.scss b/x-pack/platform/plugins/private/canvas/public/transitions/zoom/zoom.scss similarity index 100% rename from x-pack/plugins/canvas/public/transitions/zoom/zoom.scss rename to x-pack/platform/plugins/private/canvas/public/transitions/zoom/zoom.scss diff --git a/x-pack/plugins/canvas/scripts/jest.js b/x-pack/platform/plugins/private/canvas/scripts/jest.js similarity index 94% rename from x-pack/plugins/canvas/scripts/jest.js rename to x-pack/platform/plugins/private/canvas/scripts/jest.js index 77e0feb15165f..c0f539a363fc5 100644 --- a/x-pack/plugins/canvas/scripts/jest.js +++ b/x-pack/platform/plugins/private/canvas/scripts/jest.js @@ -14,7 +14,7 @@ const allPosition = process.argv.indexOf('--all'); console.log(` A helper proxying to the following command: - yarn jest --config x-pack/plugins/canvas/jest.config.js + yarn jest --config x-pack/platform/plugins/private/canvas/jest.config.js Provides the following additional options: --all Runs all tests and snapshots. Slower. diff --git a/x-pack/plugins/canvas/scripts/shareable_runtime.js b/x-pack/platform/plugins/private/canvas/scripts/shareable_runtime.js similarity index 100% rename from x-pack/plugins/canvas/scripts/shareable_runtime.js rename to x-pack/platform/plugins/private/canvas/scripts/shareable_runtime.js diff --git a/x-pack/plugins/canvas/server/collectors/collector.ts b/x-pack/platform/plugins/private/canvas/server/collectors/collector.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/collector.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/collector.ts diff --git a/x-pack/plugins/canvas/server/collectors/collector_helpers.ts b/x-pack/platform/plugins/private/canvas/server/collectors/collector_helpers.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/collector_helpers.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/collector_helpers.ts diff --git a/x-pack/plugins/canvas/server/collectors/custom_element_collector.test.ts b/x-pack/platform/plugins/private/canvas/server/collectors/custom_element_collector.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/custom_element_collector.test.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/custom_element_collector.test.ts diff --git a/x-pack/plugins/canvas/server/collectors/custom_element_collector.ts b/x-pack/platform/plugins/private/canvas/server/collectors/custom_element_collector.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/custom_element_collector.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/custom_element_collector.ts diff --git a/x-pack/plugins/canvas/server/collectors/index.ts b/x-pack/platform/plugins/private/canvas/server/collectors/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/index.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/index.ts diff --git a/x-pack/plugins/canvas/server/collectors/workpad_collector.test.ts b/x-pack/platform/plugins/private/canvas/server/collectors/workpad_collector.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/workpad_collector.test.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/workpad_collector.test.ts diff --git a/x-pack/plugins/canvas/server/collectors/workpad_collector.ts b/x-pack/platform/plugins/private/canvas/server/collectors/workpad_collector.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/workpad_collector.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/workpad_collector.ts diff --git a/x-pack/plugins/canvas/server/config.ts b/x-pack/platform/plugins/private/canvas/server/config.ts similarity index 100% rename from x-pack/plugins/canvas/server/config.ts rename to x-pack/platform/plugins/private/canvas/server/config.ts diff --git a/x-pack/plugins/canvas/server/feature.test.ts b/x-pack/platform/plugins/private/canvas/server/feature.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/feature.test.ts rename to x-pack/platform/plugins/private/canvas/server/feature.test.ts diff --git a/x-pack/plugins/canvas/server/feature.ts b/x-pack/platform/plugins/private/canvas/server/feature.ts similarity index 100% rename from x-pack/plugins/canvas/server/feature.ts rename to x-pack/platform/plugins/private/canvas/server/feature.ts diff --git a/x-pack/plugins/canvas/server/index.ts b/x-pack/platform/plugins/private/canvas/server/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/index.ts rename to x-pack/platform/plugins/private/canvas/server/index.ts diff --git a/x-pack/plugins/canvas/server/mocks/index.ts b/x-pack/platform/plugins/private/canvas/server/mocks/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/mocks/index.ts rename to x-pack/platform/plugins/private/canvas/server/mocks/index.ts diff --git a/x-pack/plugins/canvas/server/mocks/workpad_route_context.ts b/x-pack/platform/plugins/private/canvas/server/mocks/workpad_route_context.ts similarity index 100% rename from x-pack/plugins/canvas/server/mocks/workpad_route_context.ts rename to x-pack/platform/plugins/private/canvas/server/mocks/workpad_route_context.ts diff --git a/x-pack/plugins/canvas/server/plugin.ts b/x-pack/platform/plugins/private/canvas/server/plugin.ts similarity index 100% rename from x-pack/plugins/canvas/server/plugin.ts rename to x-pack/platform/plugins/private/canvas/server/plugin.ts diff --git a/x-pack/plugins/canvas/server/routes/catch_error_handler.ts b/x-pack/platform/plugins/private/canvas/server/routes/catch_error_handler.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/catch_error_handler.ts rename to x-pack/platform/plugins/private/canvas/server/routes/catch_error_handler.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/create.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/create.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/create.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/create.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/custom_element_attributes.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/custom_element_attributes.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/custom_element_attributes.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/custom_element_attributes.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/custom_element_schema.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/custom_element_schema.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/custom_element_schema.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/custom_element_schema.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/delete.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/delete.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/delete.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/delete.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/find.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/find.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/find.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/find.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/get.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/get.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/get.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/get.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/index.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/update.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/update.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/update.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/update.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.ts diff --git a/x-pack/plugins/canvas/server/routes/functions/functions.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/functions/functions.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts diff --git a/x-pack/plugins/canvas/server/routes/functions/functions.ts b/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/functions/functions.ts rename to x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts diff --git a/x-pack/plugins/canvas/server/routes/functions/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/functions/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/functions/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/functions/index.ts diff --git a/x-pack/plugins/canvas/server/routes/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/index.ts diff --git a/x-pack/plugins/canvas/server/routes/ok_response.ts b/x-pack/platform/plugins/private/canvas/server/routes/ok_response.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/ok_response.ts rename to x-pack/platform/plugins/private/canvas/server/routes/ok_response.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/download.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/download.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/download.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/download.test.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/download.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/download.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/download.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/download.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/index.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/rendered_workpad_schema.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/rendered_workpad_schema.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/rendered_workpad_schema.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/rendered_workpad_schema.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/zip.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/zip.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.test.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/zip.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/zip.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.ts diff --git a/x-pack/plugins/canvas/server/routes/templates/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/templates/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/templates/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/templates/index.ts diff --git a/x-pack/plugins/canvas/server/routes/templates/list.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/templates/list.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/templates/list.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/templates/list.test.ts diff --git a/x-pack/plugins/canvas/server/routes/templates/list.ts b/x-pack/platform/plugins/private/canvas/server/routes/templates/list.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/templates/list.ts rename to x-pack/platform/plugins/private/canvas/server/routes/templates/list.ts diff --git a/x-pack/plugins/canvas/server/routes/test_helpers.ts b/x-pack/platform/plugins/private/canvas/server/routes/test_helpers.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/test_helpers.ts rename to x-pack/platform/plugins/private/canvas/server/routes/test_helpers.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/create.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/create.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/create.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/create.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/create.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/create.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/create.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/create.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/delete.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/delete.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/delete.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/delete.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/find.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/find.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/find.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/find.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/find.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/get.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/get.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/get.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/get.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/get.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/get.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/get.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/get.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/import.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/import.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/import.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/import.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/index.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/resolve.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/resolve.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/resolve.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/resolve.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/shim_workpad.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/shim_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/shim_workpad.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/shim_workpad.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/update.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/update.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/update.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/update.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/update.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/update.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/workpad_attributes.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_attributes.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/workpad_attributes.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_attributes.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/workpad_schema.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_schema.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/workpad_schema.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_schema.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/workpad_schema.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_schema.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/workpad_schema.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_schema.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/custom_element.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/custom_element.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/index.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/index.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/index.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/expressions.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/expressions.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/expressions.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/expressions.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/index.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/index.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/index.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/remove_attributes_id.test.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/remove_attributes_id.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/remove_attributes_id.test.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/remove_attributes_id.test.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/remove_attributes_id.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/remove_attributes_id.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/remove_attributes_id.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/remove_attributes_id.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/types.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/types.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/types.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/types.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/workpad.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/workpad.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/workpad.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/workpad.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/workpad.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/workpad_references.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_references.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/workpad_references.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_references.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/workpad_template.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_template.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/workpad_template.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_template.ts diff --git a/x-pack/plugins/canvas/server/setup_interpreter.ts b/x-pack/platform/plugins/private/canvas/server/setup_interpreter.ts similarity index 100% rename from x-pack/plugins/canvas/server/setup_interpreter.ts rename to x-pack/platform/plugins/private/canvas/server/setup_interpreter.ts diff --git a/x-pack/plugins/canvas/server/templates/assets/048ed81e-84ae-4a48-9c30-641cf72b0376.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/048ed81e-84ae-4a48-9c30-641cf72b0376.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/048ed81e-84ae-4a48-9c30-641cf72b0376.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/048ed81e-84ae-4a48-9c30-641cf72b0376.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/0791ed56-9a2e-4d0d-8d2d-a2f8c3c268ee.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/0791ed56-9a2e-4d0d-8d2d-a2f8c3c268ee.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/0791ed56-9a2e-4d0d-8d2d-a2f8c3c268ee.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/0791ed56-9a2e-4d0d-8d2d-a2f8c3c268ee.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/0c6f377f-771e-432e-8e2e-15c3e9142ad6.png b/x-pack/platform/plugins/private/canvas/server/templates/assets/0c6f377f-771e-432e-8e2e-15c3e9142ad6.png similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/0c6f377f-771e-432e-8e2e-15c3e9142ad6.png rename to x-pack/platform/plugins/private/canvas/server/templates/assets/0c6f377f-771e-432e-8e2e-15c3e9142ad6.png diff --git a/x-pack/plugins/canvas/server/templates/assets/23edd689-2d34-4bb8-a3eb-05420dd87b85.svg b/x-pack/platform/plugins/private/canvas/server/templates/assets/23edd689-2d34-4bb8-a3eb-05420dd87b85.svg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/23edd689-2d34-4bb8-a3eb-05420dd87b85.svg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/23edd689-2d34-4bb8-a3eb-05420dd87b85.svg diff --git a/x-pack/plugins/canvas/server/templates/assets/6fb8f925-0e1e-4108-8442-3dbf88d145e5.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/6fb8f925-0e1e-4108-8442-3dbf88d145e5.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/6fb8f925-0e1e-4108-8442-3dbf88d145e5.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/6fb8f925-0e1e-4108-8442-3dbf88d145e5.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/7f2d5d96-3c85-49a0-94f3-e9b05de23cb6.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/7f2d5d96-3c85-49a0-94f3-e9b05de23cb6.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/7f2d5d96-3c85-49a0-94f3-e9b05de23cb6.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/7f2d5d96-3c85-49a0-94f3-e9b05de23cb6.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/9c2e5ab5-2dbe-43a8-bc84-e67f191fbcd8.png b/x-pack/platform/plugins/private/canvas/server/templates/assets/9c2e5ab5-2dbe-43a8-bc84-e67f191fbcd8.png similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/9c2e5ab5-2dbe-43a8-bc84-e67f191fbcd8.png rename to x-pack/platform/plugins/private/canvas/server/templates/assets/9c2e5ab5-2dbe-43a8-bc84-e67f191fbcd8.png diff --git a/x-pack/plugins/canvas/server/templates/assets/a30a06eb-2276-44b1-a62d-856e2116138c.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/a30a06eb-2276-44b1-a62d-856e2116138c.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/a30a06eb-2276-44b1-a62d-856e2116138c.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/a30a06eb-2276-44b1-a62d-856e2116138c.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/aa91a324-8012-477e-a7e4-7c3cd7a6332f.svg b/x-pack/platform/plugins/private/canvas/server/templates/assets/aa91a324-8012-477e-a7e4-7c3cd7a6332f.svg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/aa91a324-8012-477e-a7e4-7c3cd7a6332f.svg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/aa91a324-8012-477e-a7e4-7c3cd7a6332f.svg diff --git a/x-pack/plugins/canvas/server/templates/assets/b22b6fa7-618c-4a59-82a1-ca921454da48.svg b/x-pack/platform/plugins/private/canvas/server/templates/assets/b22b6fa7-618c-4a59-82a1-ca921454da48.svg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/b22b6fa7-618c-4a59-82a1-ca921454da48.svg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/b22b6fa7-618c-4a59-82a1-ca921454da48.svg diff --git a/x-pack/plugins/canvas/server/templates/assets/d38c5025-eafc-4a35-a5fd-fb7b5bdc9efa.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/d38c5025-eafc-4a35-a5fd-fb7b5bdc9efa.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/d38c5025-eafc-4a35-a5fd-fb7b5bdc9efa.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/d38c5025-eafc-4a35-a5fd-fb7b5bdc9efa.jpg diff --git a/x-pack/plugins/canvas/server/templates/index.ts b/x-pack/platform/plugins/private/canvas/server/templates/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/index.ts rename to x-pack/platform/plugins/private/canvas/server/templates/index.ts diff --git a/x-pack/plugins/canvas/server/templates/pitch_presentation.ts b/x-pack/platform/plugins/private/canvas/server/templates/pitch_presentation.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/pitch_presentation.ts rename to x-pack/platform/plugins/private/canvas/server/templates/pitch_presentation.ts diff --git a/x-pack/plugins/canvas/server/templates/status_report.ts b/x-pack/platform/plugins/private/canvas/server/templates/status_report.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/status_report.ts rename to x-pack/platform/plugins/private/canvas/server/templates/status_report.ts diff --git a/x-pack/plugins/canvas/server/templates/summary_report.ts b/x-pack/platform/plugins/private/canvas/server/templates/summary_report.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/summary_report.ts rename to x-pack/platform/plugins/private/canvas/server/templates/summary_report.ts diff --git a/x-pack/plugins/canvas/server/templates/theme_dark.ts b/x-pack/platform/plugins/private/canvas/server/templates/theme_dark.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/theme_dark.ts rename to x-pack/platform/plugins/private/canvas/server/templates/theme_dark.ts diff --git a/x-pack/plugins/canvas/server/templates/theme_light.ts b/x-pack/platform/plugins/private/canvas/server/templates/theme_light.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/theme_light.ts rename to x-pack/platform/plugins/private/canvas/server/templates/theme_light.ts diff --git a/x-pack/plugins/canvas/server/ui_settings.ts b/x-pack/platform/plugins/private/canvas/server/ui_settings.ts similarity index 100% rename from x-pack/plugins/canvas/server/ui_settings.ts rename to x-pack/platform/plugins/private/canvas/server/ui_settings.ts diff --git a/x-pack/plugins/canvas/server/workpad_route_context.test.ts b/x-pack/platform/plugins/private/canvas/server/workpad_route_context.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/workpad_route_context.test.ts rename to x-pack/platform/plugins/private/canvas/server/workpad_route_context.test.ts diff --git a/x-pack/plugins/canvas/server/workpad_route_context.ts b/x-pack/platform/plugins/private/canvas/server/workpad_route_context.ts similarity index 100% rename from x-pack/plugins/canvas/server/workpad_route_context.ts rename to x-pack/platform/plugins/private/canvas/server/workpad_route_context.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/README.mdx b/x-pack/platform/plugins/private/canvas/shareable_runtime/README.mdx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/README.mdx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/README.mdx diff --git a/x-pack/plugins/canvas/shareable_runtime/__mocks__/supported_renderers.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/__mocks__/supported_renderers.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/__mocks__/supported_renderers.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/__mocks__/supported_renderers.js diff --git a/x-pack/plugins/canvas/shareable_runtime/api/__snapshots__/shareable.test.tsx.snap b/x-pack/platform/plugins/private/canvas/shareable_runtime/api/__snapshots__/shareable.test.tsx.snap similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/api/__snapshots__/shareable.test.tsx.snap rename to x-pack/platform/plugins/private/canvas/shareable_runtime/api/__snapshots__/shareable.test.tsx.snap diff --git a/x-pack/plugins/canvas/shareable_runtime/api/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/api/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/api/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/api/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/api/shareable.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/api/shareable.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/api/shareable.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/api/shareable.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/api/shareable.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/api/shareable.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/api/shareable.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/api/shareable.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/canvas.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/canvas.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/canvas.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/canvas.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/page.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/page.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/page.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/page.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/rendered_element.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/rendered_element.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/rendered_element.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/rendered_element.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/canvas.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/canvas.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/canvas.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/canvas.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/page.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/page.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/page.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/page.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/rendered_element.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/rendered_element.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/rendered_element.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/rendered_element.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/app.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/app.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/app.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/app.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/app.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/app.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/app.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/app.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/canvas.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/canvas.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/canvas.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/canvas.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/canvas.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/canvas.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/footer.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/footer.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/footer.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/footer.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/page_controls.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/page_controls.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/page_controls.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/page_controls.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/scrubber.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/scrubber.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/scrubber.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/scrubber.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/title.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/title.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/title.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/title.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/footer.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/footer.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/footer.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/footer.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/page_controls.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/page_controls.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/page_controls.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/page_controls.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/scrubber.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/scrubber.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/scrubber.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/scrubber.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/title.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/title.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/title.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/title.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/footer.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/footer.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/footer.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/footer.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/footer.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/footer.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_controls.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_controls.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_controls.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_controls.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_controls.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_controls.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_controls.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/autoplay_settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/autoplay_settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/autoplay_settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/autoplay_settings.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/settings.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/toolbar_settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/toolbar_settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/toolbar_settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/toolbar_settings.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/autoplay_settings.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/autoplay_settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/autoplay_settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/autoplay_settings.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/settings.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/settings.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/toolbar_settings.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/toolbar_settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/toolbar_settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/toolbar_settings.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/autoplay_settings.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/autoplay_settings.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/autoplay_settings.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/autoplay_settings.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/autoplay_settings.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/autoplay_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/autoplay_settings.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/autoplay_settings.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/settings.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/settings.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/settings.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/settings.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/settings.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/settings.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/settings.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/settings.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/toolbar_settings.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/toolbar_settings.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/toolbar_settings.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/toolbar_settings.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/toolbar_settings.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/toolbar_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/toolbar_settings.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/toolbar_settings.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/title.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/title.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/title.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/title.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/title.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/title.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/title.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/title.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/page.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/page.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/page.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/page.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/page.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/page.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/rendered_element.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/rendered_element.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/rendered_element.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/rendered_element.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/rendered_element.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/rendered_element.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/rendered_element.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/rendered_element.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/constants.d.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants.d.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/constants.d.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/constants.d.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/constants.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js similarity index 91% rename from x-pack/plugins/canvas/shareable_runtime/constants.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js index 72446dd669a78..133f2eafa1dc3 100644 --- a/x-pack/plugins/canvas/shareable_runtime/constants.js +++ b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js @@ -8,8 +8,8 @@ const path = require('path'); const { LIBRARY_NAME, SHAREABLE_RUNTIME_NAME } = require('./constants_static'); -const KIBANA_ROOT_PATH = '../../../..'; -const CANVAS_ROOT_PATH = 'x-pack/plugins/canvas'; +const KIBANA_ROOT_PATH = '../../../../../..'; +const CANVAS_ROOT_PATH = 'x-pack/platform/plugins/private/canvas'; const SHAREABLE_RUNTIME_PATH = 'shareable_runtime'; const SHAREABLE_RUNTIME_OUTPUT_PATH = 'shareable_runtime/build'; const SHAREABLE_RUNTIME_FILE_PATH = 'shareable_runtime/build/kbn_canvas.js'; diff --git a/x-pack/plugins/canvas/shareable_runtime/constants_static.d.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants_static.d.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/constants_static.d.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/constants_static.d.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/constants_static.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants_static.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/constants_static.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/constants_static.js diff --git a/x-pack/plugins/canvas/shareable_runtime/context/actions.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/context/actions.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/context/actions.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/context/actions.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/context/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/context/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/context/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/context/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/context/reducer.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/context/reducer.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/context/reducer.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/context/reducer.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/context/state.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/context/state.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/context/state.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/context/state.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/css_modules.d.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/css_modules.d.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/css_modules.d.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/css_modules.d.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/index.html b/x-pack/platform/plugins/private/canvas/shareable_runtime/index.html similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/index.html rename to x-pack/platform/plugins/private/canvas/shareable_runtime/index.html diff --git a/x-pack/plugins/canvas/shareable_runtime/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/postcss.config.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/postcss.config.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/postcss.config.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/postcss.config.js diff --git a/x-pack/plugins/canvas/shareable_runtime/supported_renderers.d.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/supported_renderers.d.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/supported_renderers.d.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/supported_renderers.d.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/supported_renderers.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/supported_renderers.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/supported_renderers.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/supported_renderers.js diff --git a/x-pack/plugins/canvas/shareable_runtime/template.html b/x-pack/platform/plugins/private/canvas/shareable_runtime/template.html similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/template.html rename to x-pack/platform/plugins/private/canvas/shareable_runtime/template.html diff --git a/x-pack/plugins/canvas/shareable_runtime/test/context.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/context.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/context.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/context.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/test/context_example.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/context_example.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/context_example.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/context_example.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/context_jest.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/context_jest.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/context_jest.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/context_jest.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/interactions.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/interactions.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/interactions.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/interactions.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/selectors.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/selectors.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/selectors.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/selectors.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/utils.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/utils.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/utils.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/utils.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/workpads/austin.json b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/austin.json similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/workpads/austin.json rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/austin.json diff --git a/x-pack/plugins/canvas/shareable_runtime/test/workpads/hello.json b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/hello.json similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/workpads/hello.json rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/hello.json diff --git a/x-pack/plugins/canvas/shareable_runtime/test/workpads/test.json b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/test.json similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/workpads/test.json rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/test.json diff --git a/x-pack/plugins/canvas/shareable_runtime/types.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/types.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/webpack.config.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/webpack.config.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/webpack.config.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/webpack.config.js diff --git a/x-pack/plugins/canvas/shareable_runtime/webpack/ci_stats_plugin.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/webpack/ci_stats_plugin.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/webpack/ci_stats_plugin.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/webpack/ci_stats_plugin.ts diff --git a/x-pack/plugins/canvas/storybook/__mocks__/es_service.ts b/x-pack/platform/plugins/private/canvas/storybook/__mocks__/es_service.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/__mocks__/es_service.ts rename to x-pack/platform/plugins/private/canvas/storybook/__mocks__/es_service.ts diff --git a/x-pack/plugins/canvas/storybook/addon/components/action_list.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/components/action_list.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/components/action_list.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/components/action_list.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/components/action_tree.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/components/action_tree.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/components/action_tree.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/components/action_tree.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/components/index.ts b/x-pack/platform/plugins/private/canvas/storybook/addon/components/index.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/components/index.ts rename to x-pack/platform/plugins/private/canvas/storybook/addon/components/index.ts diff --git a/x-pack/plugins/canvas/storybook/addon/components/state_change.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/components/state_change.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/components/state_change.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/components/state_change.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/constants.ts b/x-pack/platform/plugins/private/canvas/storybook/addon/constants.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/constants.ts rename to x-pack/platform/plugins/private/canvas/storybook/addon/constants.ts diff --git a/x-pack/plugins/canvas/storybook/addon/panel.css b/x-pack/platform/plugins/private/canvas/storybook/addon/panel.css similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/panel.css rename to x-pack/platform/plugins/private/canvas/storybook/addon/panel.css diff --git a/x-pack/plugins/canvas/storybook/addon/panel.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/panel.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/panel.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/panel.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/register.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/register.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/register.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/register.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/state.ts b/x-pack/platform/plugins/private/canvas/storybook/addon/state.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/state.ts rename to x-pack/platform/plugins/private/canvas/storybook/addon/state.ts diff --git a/x-pack/plugins/canvas/storybook/addon/types.ts b/x-pack/platform/plugins/private/canvas/storybook/addon/types.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/types.ts rename to x-pack/platform/plugins/private/canvas/storybook/addon/types.ts diff --git a/x-pack/plugins/canvas/storybook/canvas_webpack.ts b/x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts similarity index 94% rename from x-pack/plugins/canvas/storybook/canvas_webpack.ts rename to x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts index c6ae4a9dbaa95..52695f5429381 100644 --- a/x-pack/plugins/canvas/storybook/canvas_webpack.ts +++ b/x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts @@ -46,7 +46,7 @@ export const canvasWebpack = { // Exclude large-dependency, troublesome or irrelevant modules. { test: [ - resolve(KIBANA_ROOT, 'x-pack/plugins/canvas/public/components/embeddable_flyout'), + resolve(KIBANA_ROOT, 'x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout'), resolve(KIBANA_ROOT, 'x-pack/plugins/reporting/public'), ], use: 'null-loader', diff --git a/x-pack/plugins/canvas/storybook/constants.ts b/x-pack/platform/plugins/private/canvas/storybook/constants.ts similarity index 91% rename from x-pack/plugins/canvas/storybook/constants.ts rename to x-pack/platform/plugins/private/canvas/storybook/constants.ts index 4f0ad2a602da0..ac449e3361c00 100644 --- a/x-pack/plugins/canvas/storybook/constants.ts +++ b/x-pack/platform/plugins/private/canvas/storybook/constants.ts @@ -7,7 +7,7 @@ import path from 'path'; -export const KIBANA_ROOT = path.resolve(__dirname, '../../../..'); +export const KIBANA_ROOT = path.resolve(__dirname, '../../../../../..'); export const argTypes = { hasTemplates: { diff --git a/x-pack/plugins/canvas/storybook/decorators/index.ts b/x-pack/platform/plugins/private/canvas/storybook/decorators/index.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/index.ts rename to x-pack/platform/plugins/private/canvas/storybook/decorators/index.ts diff --git a/x-pack/plugins/canvas/storybook/decorators/kibana_decorator.tsx b/x-pack/platform/plugins/private/canvas/storybook/decorators/kibana_decorator.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/kibana_decorator.tsx rename to x-pack/platform/plugins/private/canvas/storybook/decorators/kibana_decorator.tsx diff --git a/x-pack/plugins/canvas/storybook/decorators/redux_decorator.tsx b/x-pack/platform/plugins/private/canvas/storybook/decorators/redux_decorator.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/redux_decorator.tsx rename to x-pack/platform/plugins/private/canvas/storybook/decorators/redux_decorator.tsx diff --git a/x-pack/plugins/canvas/storybook/decorators/router_decorator.tsx b/x-pack/platform/plugins/private/canvas/storybook/decorators/router_decorator.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/router_decorator.tsx rename to x-pack/platform/plugins/private/canvas/storybook/decorators/router_decorator.tsx diff --git a/x-pack/plugins/canvas/storybook/decorators/services_decorator.tsx b/x-pack/platform/plugins/private/canvas/storybook/decorators/services_decorator.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/services_decorator.tsx rename to x-pack/platform/plugins/private/canvas/storybook/decorators/services_decorator.tsx diff --git a/x-pack/plugins/canvas/storybook/index.ts b/x-pack/platform/plugins/private/canvas/storybook/index.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/index.ts rename to x-pack/platform/plugins/private/canvas/storybook/index.ts diff --git a/x-pack/plugins/canvas/storybook/main.js b/x-pack/platform/plugins/private/canvas/storybook/main.js similarity index 100% rename from x-pack/plugins/canvas/storybook/main.js rename to x-pack/platform/plugins/private/canvas/storybook/main.js diff --git a/x-pack/plugins/canvas/storybook/preview.ts b/x-pack/platform/plugins/private/canvas/storybook/preview.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/preview.ts rename to x-pack/platform/plugins/private/canvas/storybook/preview.ts diff --git a/x-pack/plugins/canvas/storybook/storyshots.skipped_test.tsx b/x-pack/platform/plugins/private/canvas/storybook/storyshots.skipped_test.tsx similarity index 98% rename from x-pack/plugins/canvas/storybook/storyshots.skipped_test.tsx rename to x-pack/platform/plugins/private/canvas/storybook/storyshots.skipped_test.tsx index 1088113124578..c5b33cd240e6c 100644 --- a/x-pack/plugins/canvas/storybook/storyshots.skipped_test.tsx +++ b/x-pack/platform/plugins/private/canvas/storybook/storyshots.skipped_test.tsx @@ -83,7 +83,7 @@ jest.mock('../shareable_runtime/components/rendered_element'); RenderedElement.mockImplementation(() => 'RenderedElement'); // Some of the code requires that this directory exists, but the tests don't actually require any css to be present -const cssDir = path.resolve(__dirname, '../../../../built_assets/css'); +const cssDir = path.resolve(__dirname, '../../../../../../built_assets/css'); if (!fs.existsSync(cssDir)) { fs.mkdirSync(cssDir, { recursive: true }); } diff --git a/x-pack/plugins/canvas/tasks/mocks/customElementService.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/customElementService.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/customElementService.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/customElementService.js diff --git a/x-pack/plugins/canvas/tasks/mocks/downloadWorkpad.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/downloadWorkpad.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/downloadWorkpad.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/downloadWorkpad.js diff --git a/x-pack/plugins/canvas/tasks/mocks/esService.ts b/x-pack/platform/plugins/private/canvas/tasks/mocks/esService.ts similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/esService.ts rename to x-pack/platform/plugins/private/canvas/tasks/mocks/esService.ts diff --git a/x-pack/plugins/canvas/tasks/mocks/uiAbsoluteToParsedUrl.ts b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiAbsoluteToParsedUrl.ts similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiAbsoluteToParsedUrl.ts rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiAbsoluteToParsedUrl.ts diff --git a/x-pack/plugins/canvas/tasks/mocks/uiChrome.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiChrome.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiChrome.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiChrome.js diff --git a/x-pack/plugins/canvas/tasks/mocks/uiMetric.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiMetric.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiMetric.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiMetric.js diff --git a/x-pack/plugins/canvas/tasks/mocks/uiNotify.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiNotify.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiNotify.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiNotify.js diff --git a/x-pack/plugins/canvas/tasks/mocks/uiNotifyFormatMsg.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiNotifyFormatMsg.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiNotifyFormatMsg.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiNotifyFormatMsg.js diff --git a/x-pack/plugins/canvas/tsconfig.json b/x-pack/platform/plugins/private/canvas/tsconfig.json similarity index 94% rename from x-pack/plugins/canvas/tsconfig.json rename to x-pack/platform/plugins/private/canvas/tsconfig.json index 251deca87c4ee..1c372fabda1d3 100644 --- a/x-pack/plugins/canvas/tsconfig.json +++ b/x-pack/platform/plugins/private/canvas/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", @@ -13,7 +13,7 @@ }, "include": [ "*.ts", - "../../../typings/**/*", + "../../../../../typings/**/*", "__fixtures__/**/*", "canvas_plugin_src/**/*", "common/**/*", @@ -26,7 +26,7 @@ "types/**/*" ], "kbn_references": [ - { "path": "../../../src/setup_node_env/tsconfig.json" }, + { "path": "../../../../../src/setup_node_env/tsconfig.json" }, "@kbn/core", "@kbn/charts-plugin", "@kbn/data-plugin", diff --git a/x-pack/plugins/canvas/types/arguments.ts b/x-pack/platform/plugins/private/canvas/types/arguments.ts similarity index 100% rename from x-pack/plugins/canvas/types/arguments.ts rename to x-pack/platform/plugins/private/canvas/types/arguments.ts diff --git a/x-pack/plugins/canvas/types/assets.ts b/x-pack/platform/plugins/private/canvas/types/assets.ts similarity index 100% rename from x-pack/plugins/canvas/types/assets.ts rename to x-pack/platform/plugins/private/canvas/types/assets.ts diff --git a/x-pack/plugins/canvas/types/canvas.ts b/x-pack/platform/plugins/private/canvas/types/canvas.ts similarity index 100% rename from x-pack/plugins/canvas/types/canvas.ts rename to x-pack/platform/plugins/private/canvas/types/canvas.ts diff --git a/x-pack/plugins/canvas/types/elements.ts b/x-pack/platform/plugins/private/canvas/types/elements.ts similarity index 100% rename from x-pack/plugins/canvas/types/elements.ts rename to x-pack/platform/plugins/private/canvas/types/elements.ts diff --git a/x-pack/plugins/canvas/types/embeddables.ts b/x-pack/platform/plugins/private/canvas/types/embeddables.ts similarity index 100% rename from x-pack/plugins/canvas/types/embeddables.ts rename to x-pack/platform/plugins/private/canvas/types/embeddables.ts diff --git a/x-pack/plugins/canvas/types/filters.ts b/x-pack/platform/plugins/private/canvas/types/filters.ts similarity index 100% rename from x-pack/plugins/canvas/types/filters.ts rename to x-pack/platform/plugins/private/canvas/types/filters.ts diff --git a/x-pack/plugins/canvas/types/functions.ts b/x-pack/platform/plugins/private/canvas/types/functions.ts similarity index 100% rename from x-pack/plugins/canvas/types/functions.ts rename to x-pack/platform/plugins/private/canvas/types/functions.ts diff --git a/x-pack/plugins/canvas/types/global.d.ts b/x-pack/platform/plugins/private/canvas/types/global.d.ts similarity index 100% rename from x-pack/plugins/canvas/types/global.d.ts rename to x-pack/platform/plugins/private/canvas/types/global.d.ts diff --git a/x-pack/plugins/canvas/types/index.ts b/x-pack/platform/plugins/private/canvas/types/index.ts similarity index 100% rename from x-pack/plugins/canvas/types/index.ts rename to x-pack/platform/plugins/private/canvas/types/index.ts diff --git a/x-pack/plugins/canvas/types/react_moment_prototypes.d.ts b/x-pack/platform/plugins/private/canvas/types/react_moment_prototypes.d.ts similarity index 100% rename from x-pack/plugins/canvas/types/react_moment_prototypes.d.ts rename to x-pack/platform/plugins/private/canvas/types/react_moment_prototypes.d.ts diff --git a/x-pack/plugins/canvas/types/renderers.ts b/x-pack/platform/plugins/private/canvas/types/renderers.ts similarity index 100% rename from x-pack/plugins/canvas/types/renderers.ts rename to x-pack/platform/plugins/private/canvas/types/renderers.ts diff --git a/x-pack/plugins/canvas/types/shortcuts.ts b/x-pack/platform/plugins/private/canvas/types/shortcuts.ts similarity index 100% rename from x-pack/plugins/canvas/types/shortcuts.ts rename to x-pack/platform/plugins/private/canvas/types/shortcuts.ts diff --git a/x-pack/plugins/canvas/types/state.ts b/x-pack/platform/plugins/private/canvas/types/state.ts similarity index 100% rename from x-pack/plugins/canvas/types/state.ts rename to x-pack/platform/plugins/private/canvas/types/state.ts diff --git a/x-pack/plugins/canvas/types/strategy.ts b/x-pack/platform/plugins/private/canvas/types/strategy.ts similarity index 100% rename from x-pack/plugins/canvas/types/strategy.ts rename to x-pack/platform/plugins/private/canvas/types/strategy.ts diff --git a/x-pack/plugins/canvas/types/style.ts b/x-pack/platform/plugins/private/canvas/types/style.ts similarity index 100% rename from x-pack/plugins/canvas/types/style.ts rename to x-pack/platform/plugins/private/canvas/types/style.ts diff --git a/x-pack/plugins/canvas/types/telemetry.ts b/x-pack/platform/plugins/private/canvas/types/telemetry.ts similarity index 100% rename from x-pack/plugins/canvas/types/telemetry.ts rename to x-pack/platform/plugins/private/canvas/types/telemetry.ts diff --git a/x-pack/plugins/canvas/types/transforms.ts b/x-pack/platform/plugins/private/canvas/types/transforms.ts similarity index 100% rename from x-pack/plugins/canvas/types/transforms.ts rename to x-pack/platform/plugins/private/canvas/types/transforms.ts diff --git a/x-pack/plugins/reporting/server/config/ui_settings.ts b/x-pack/plugins/reporting/server/config/ui_settings.ts index 3a7898e861a12..a70e717820795 100644 --- a/x-pack/plugins/reporting/server/config/ui_settings.ts +++ b/x-pack/plugins/reporting/server/config/ui_settings.ts @@ -14,7 +14,7 @@ import { PLUGIN_ID } from '@kbn/reporting-server'; const kbToBase64Length = (kb: number) => Math.floor((kb * 1024 * 8) / 6); const maxLogoSizeInBase64 = kbToBase64Length(200); -// inspired by x-pack/plugins/canvas/common/lib/dataurl.ts +// inspired by x-pack/platform/plugins/private/canvas/common/lib/dataurl.ts const dataurlRegex = /^data:([a-z]+\/[a-z0-9-+.]+)(;[a-z-]+=[a-z0-9-]+)?(;([a-z0-9]+))?,/; const imageTypes = ['image/svg+xml', 'image/jpeg', 'image/png', 'image/gif']; diff --git a/yarn.lock b/yarn.lock index 90597fb5545cc..a8069f2f0ee05 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4065,7 +4065,7 @@ version "0.0.0" uid "" -"@kbn/canvas-plugin@link:x-pack/plugins/canvas": +"@kbn/canvas-plugin@link:x-pack/platform/plugins/private/canvas": version "0.0.0" uid "" From d8fb200bc19f6a8cc496e8bc62f4a9b6121248d8 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 15:39:09 +0100 Subject: [PATCH 02/29] Relocating module `@kbn/controls-plugin` --- .buildkite/scripts/pipelines/pull_request/pipeline.ts | 2 +- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/shared}/controls/README.mdx | 0 .../plugins/shared}/controls/common/constants.ts | 0 .../shared}/controls/common/control_group/index.ts | 0 .../shared}/controls/common/control_group/types.ts | 0 .../plugins/shared}/controls/common/index.ts | 0 .../shared}/controls/common/options_list/index.ts | 0 .../controls/common/options_list/ip_search.test.ts | 0 .../shared}/controls/common/options_list/ip_search.ts | 0 .../common/options_list/is_valid_search.test.ts | 0 .../controls/common/options_list/is_valid_search.ts | 0 .../common/options_list/options_list_selections.ts | 0 .../common/options_list/suggestions_searching.ts | 0 .../common/options_list/suggestions_sorting.ts | 0 .../shared}/controls/common/options_list/types.ts | 0 .../plugins/shared}/controls/common/types.ts | 0 .../plugins/shared}/controls/jest.config.js | 10 +++++----- .../plugins/shared}/controls/jest_setup.ts | 0 .../plugins/shared}/controls/kibana.jsonc | 0 .../public/actions/clear_control_action.test.tsx | 0 .../controls/public/actions/clear_control_action.tsx | 0 .../clear_control_action_compatibility_check.ts | 0 .../public/actions/delete_control_action.test.tsx | 0 .../controls/public/actions/delete_control_action.tsx | 0 .../delete_control_action_compatibility_check.ts | 0 .../public/actions/edit_control_action.test.tsx | 0 .../controls/public/actions/edit_control_action.tsx | 0 .../actions/edit_control_action_compatibility_check.ts | 0 .../plugins/shared}/controls/public/actions/index.ts | 0 .../plugins/shared}/controls/public/constants.ts | 0 .../controls/public/control_factory_registry.ts | 0 .../public/control_group/components/control_clone.tsx | 0 .../public/control_group/components/control_error.tsx | 0 .../public/control_group/components/control_group.scss | 0 .../public/control_group/components/control_group.tsx | 0 .../components/control_group_editor.test.tsx | 0 .../control_group/components/control_group_editor.tsx | 0 .../public/control_group/components/control_panel.scss | 0 .../control_group/components/control_panel.test.tsx | 0 .../public/control_group/components/control_panel.tsx | 0 .../control_group/components/control_renderer.tsx | 0 .../components/control_setting_tooltip_label.tsx | 0 .../control_group/control_fetch/chaining.test.ts | 0 .../public/control_group/control_fetch/chaining.ts | 0 .../control_group/control_fetch/control_fetch.ts | 0 .../control_group/control_fetch/control_group_fetch.ts | 0 .../public/control_group/control_fetch/index.ts | 0 .../control_group_renderer.test.tsx | 0 .../control_group_renderer/control_group_renderer.tsx | 0 .../control_group_renderer_lazy.tsx | 0 .../control_group/control_group_renderer/index.ts | 0 .../control_group/control_group_renderer/types.ts | 0 .../public/control_group/control_group_strings.tsx | 0 .../control_group/control_group_unsaved_changes_api.ts | 0 .../public/control_group/get_control_group_factory.tsx | 0 .../public/control_group/init_controls_manager.test.ts | 0 .../public/control_group/init_controls_manager.ts | 0 .../control_group/open_edit_control_group_flyout.tsx | 0 .../control_group/register_control_group_embeddable.ts | 0 .../public/control_group/selections_manager.test.ts | 0 .../public/control_group/selections_manager.ts | 0 .../shared}/controls/public/control_group/types.ts | 0 .../control_group/utils/control_group_state_builder.ts | 0 .../public/control_group/utils/initialization_utils.ts | 0 .../public/control_group/utils/is_compressed.test.ts | 0 .../public/control_group/utils/is_compressed.ts | 0 .../public/control_group/utils/serialization_utils.ts | 0 .../shared}/controls/public/controls/constants.ts | 0 .../controls/data_controls/data_control_constants.tsx | 0 .../data_controls/data_control_editor.test.tsx | 0 .../controls/data_controls/data_control_editor.tsx | 0 .../data_controls/data_control_editor_utils.ts | 0 .../public/controls/data_controls/editor_constants.ts | 0 .../data_controls/initialize_data_control.test.tsx | 0 .../controls/data_controls/initialize_data_control.ts | 0 .../public/controls/data_controls/mocks/api_mocks.tsx | 0 .../controls/data_controls/mocks/factory_mocks.tsx | 0 .../data_controls/open_data_control_editor.tsx | 0 .../options_list_control/components/options_list.scss | 0 .../components/options_list_control.test.tsx | 0 .../components/options_list_control.tsx | 0 .../components/options_list_editor_options.test.tsx | 0 .../components/options_list_editor_options.tsx | 0 .../components/options_list_popover.test.tsx | 0 .../components/options_list_popover.tsx | 0 .../components/options_list_popover_action_bar.tsx | 0 .../components/options_list_popover_empty_message.tsx | 0 .../components/options_list_popover_footer.tsx | 0 .../options_list_popover_invalid_selections.tsx | 0 .../options_list_popover_sorting_button.test.tsx | 0 .../components/options_list_popover_sorting_button.tsx | 0 .../options_list_popover_suggestion_badge.tsx | 0 .../components/options_list_popover_suggestions.tsx | 0 .../data_controls/options_list_control/constants.ts | 0 .../options_list_control/fetch_and_validate.tsx | 0 .../get_options_list_control_factory.test.tsx | 0 .../get_options_list_control_factory.tsx | 0 .../options_list_context_provider.tsx | 0 .../options_list_control_selections.ts | 0 .../options_list_control/options_list_fetch_cache.ts | 0 .../options_list_control/options_list_strings.ts | 0 .../register_options_list_control.ts | 0 .../data_controls/options_list_control/types.ts | 0 .../controls/data_controls/publishes_async_filters.ts | 0 .../range_slider/components/range_slider.styles.ts | 0 .../range_slider/components/range_slider_control.tsx | 0 .../get_range_slider_control_factory.test.tsx | 0 .../range_slider/get_range_slider_control_factory.tsx | 0 .../data_controls/range_slider/has_no_results.ts | 0 .../controls/data_controls/range_slider/min_max.ts | 0 .../range_slider/range_control_selections.ts | 0 .../data_controls/range_slider/range_slider_strings.ts | 0 .../range_slider/register_range_slider_control.ts | 0 .../controls/data_controls/range_slider/types.ts | 0 .../controls/data_controls/reference_name_utils.ts | 0 .../controls/public/controls/data_controls/types.ts | 0 .../public/controls/initialize_default_control_api.tsx | 0 .../controls/public/controls/mocks/control_mocks.ts | 0 .../controls/timeslider_control/components/index.scss | 0 .../timeslider_control/components/play_button.tsx | 0 .../components/time_slider_anchored_range.tsx | 0 .../components/time_slider_popover_button.tsx | 0 .../components/time_slider_popover_content.tsx | 0 .../components/time_slider_prepend.tsx | 0 .../components/time_slider_sliding_window_range.tsx | 0 .../components/time_slider_strings.ts | 0 .../controls/timeslider_control/get_time_range_meta.ts | 0 .../get_timeslider_control_factory.test.tsx | 0 .../get_timeslider_control_factory.tsx | 0 .../timeslider_control/init_time_range_percentage.ts | 0 .../timeslider_control/init_time_range_subscription.ts | 0 .../timeslider_control/register_timeslider_control.ts | 0 .../public/controls/timeslider_control/time_utils.tsx | 0 .../public/controls/timeslider_control/types.ts | 0 .../plugins/shared}/controls/public/controls/types.ts | 0 .../plugins/shared}/controls/public/index.ts | 0 .../plugins/shared}/controls/public/plugin.ts | 0 .../controls/public/services/kibana_services.ts | 0 .../plugins/shared}/controls/public/services/mocks.ts | 0 .../plugins/shared}/controls/public/types.ts | 0 .../control_group/control_group_container_factory.ts | 0 .../control_group/control_group_migrations.test.ts | 0 .../server/control_group/control_group_migrations.ts | 0 .../control_group/control_group_persistable_state.ts | 0 .../server/control_group/control_group_persistence.ts | 0 .../control_group/control_group_telemetry.test.ts | 0 .../server/control_group/control_group_telemetry.ts | 0 .../shared}/controls/server/control_group/types.ts | 0 .../plugins/shared}/controls/server/index.ts | 0 .../plugins/shared}/controls/server/mocks.tsx | 0 .../options_list_cluster_settings_route.ts | 0 .../options_list/options_list_embeddable_factory.ts | 0 .../options_list/options_list_persistable_state.ts | 0 .../options_list/options_list_suggestions_route.ts | 0 .../options_list_validation_queries.test.ts | 0 .../options_list/options_list_validation_queries.ts | 0 .../server/options_list/suggestion_queries/index.ts | 0 .../options_list_all_suggestions.test.ts | 0 .../suggestion_queries/options_list_all_suggestions.ts | 0 .../options_list_exact_match.test.ts | 0 .../suggestion_queries/options_list_exact_match.ts | 0 .../options_list_search_suggestions.test.ts | 0 .../options_list_search_suggestions.ts | 0 .../options_list_suggestion_queries.test.ts | 0 .../options_list_suggestion_queries.ts | 0 .../options_list_suggestion_query_helpers.ts | 0 .../shared}/controls/server/options_list/types.ts | 0 .../plugins/shared}/controls/server/plugin.ts | 0 .../range_slider/range_slider_embeddable_factory.ts | 0 .../range_slider/range_slider_persistable_state.ts | 0 .../time_slider/time_slider_embeddable_factory.ts | 0 .../time_slider/time_slider_persistable_state.ts | 0 .../plugins/shared}/controls/tsconfig.json | 4 ++-- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 179 files changed, 15 insertions(+), 15 deletions(-) rename src/{plugins => platform/plugins/shared}/controls/README.mdx (100%) rename src/{plugins => platform/plugins/shared}/controls/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/common/control_group/index.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/common/control_group/types.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/common/options_list/index.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/common/options_list/ip_search.test.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/common/options_list/ip_search.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/common/options_list/is_valid_search.test.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/common/options_list/is_valid_search.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/common/options_list/options_list_selections.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/common/options_list/suggestions_searching.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/common/options_list/suggestions_sorting.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/common/options_list/types.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/common/types.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/jest.config.js (66%) rename src/{plugins => platform/plugins/shared}/controls/jest_setup.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/controls/public/actions/clear_control_action.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/actions/clear_control_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/actions/clear_control_action_compatibility_check.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/actions/delete_control_action.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/actions/delete_control_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/actions/delete_control_action_compatibility_check.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/actions/edit_control_action.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/actions/edit_control_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/actions/edit_control_action_compatibility_check.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/actions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_factory_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/components/control_clone.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/components/control_error.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/components/control_group.scss (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/components/control_group.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/components/control_group_editor.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/components/control_group_editor.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/components/control_panel.scss (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/components/control_panel.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/components/control_panel.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/components/control_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/components/control_setting_tooltip_label.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/control_fetch/chaining.test.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/control_fetch/chaining.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/control_fetch/control_fetch.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/control_fetch/control_group_fetch.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/control_fetch/index.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/control_group_renderer/control_group_renderer.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/control_group_renderer/control_group_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/control_group_renderer/index.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/control_group_renderer/types.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/control_group_strings.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/control_group_unsaved_changes_api.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/get_control_group_factory.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/init_controls_manager.test.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/init_controls_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/open_edit_control_group_flyout.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/register_control_group_embeddable.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/selections_manager.test.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/selections_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/types.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/utils/control_group_state_builder.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/utils/initialization_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/utils/is_compressed.test.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/utils/is_compressed.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/control_group/utils/serialization_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/data_control_constants.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/data_control_editor.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/data_control_editor.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/data_control_editor_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/editor_constants.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/initialize_data_control.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/initialize_data_control.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/mocks/api_mocks.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/mocks/factory_mocks.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/open_data_control_editor.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list.scss (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list_control.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list_popover.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list_popover.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list_popover_action_bar.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list_popover_empty_message.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list_popover_footer.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list_popover_invalid_selections.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestion_badge.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestions.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/fetch_and_validate.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/options_list_context_provider.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/options_list_control_selections.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/options_list_strings.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/register_options_list_control.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/options_list_control/types.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/publishes_async_filters.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/range_slider/has_no_results.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/range_slider/min_max.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/range_slider/range_control_selections.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/range_slider/range_slider_strings.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/range_slider/register_range_slider_control.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/range_slider/types.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/reference_name_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/data_controls/types.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/initialize_default_control_api.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/mocks/control_mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/components/index.scss (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/components/play_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/components/time_slider_anchored_range.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/components/time_slider_popover_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/components/time_slider_prepend.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/components/time_slider_sliding_window_range.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/components/time_slider_strings.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/get_time_range_meta.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/init_time_range_percentage.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/init_time_range_subscription.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/register_timeslider_control.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/time_utils.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/timeslider_control/types.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/controls/types.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/services/kibana_services.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/services/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/control_group/control_group_container_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/control_group/control_group_migrations.test.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/control_group/control_group_migrations.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/control_group/control_group_persistable_state.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/control_group/control_group_persistence.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/control_group/control_group_telemetry.test.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/control_group/control_group_telemetry.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/control_group/types.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/mocks.tsx (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/options_list_cluster_settings_route.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/options_list_embeddable_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/options_list_persistable_state.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/options_list_suggestions_route.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/options_list_validation_queries.test.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/options_list_validation_queries.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/suggestion_queries/index.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/suggestion_queries/options_list_all_suggestions.test.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/suggestion_queries/options_list_all_suggestions.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/suggestion_queries/options_list_exact_match.test.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/suggestion_queries/options_list_exact_match.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/suggestion_queries/options_list_search_suggestions.test.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/suggestion_queries/options_list_search_suggestions.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.test.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/suggestion_queries/options_list_suggestion_query_helpers.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/options_list/types.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/range_slider/range_slider_embeddable_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/range_slider/range_slider_persistable_state.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/time_slider/time_slider_embeddable_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/server/time_slider/time_slider_persistable_state.ts (100%) rename src/{plugins => platform/plugins/shared}/controls/tsconfig.json (92%) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 51587280c4ed5..acd2a9f240378 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -317,7 +317,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^packages\/shared-ux/, /^src\/core/, /^src\/plugins\/charts/, - /^src\/plugins\/controls/, + /^src\/platform\/plugins\/shared\/controls/, /^src\/plugins\/data/, /^src\/plugins\/data_views/, /^src\/plugins\/discover/, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c52ae00e31e39..5f99b31e241c9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -612,6 +612,7 @@ src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-manageme src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant src/platform/plugins/shared/console @elastic/kibana-management +src/platform/plugins/shared/controls @elastic/kibana-presentation src/platform/plugins/shared/dev_tools @elastic/kibana-management src/platform/plugins/shared/es_ui_shared @elastic/kibana-management src/platform/plugins/shared/esql @elastic/kibana-esql @@ -629,7 +630,6 @@ src/plugins/chart_expressions/expression_tagcloud @elastic/kibana-visualizations src/plugins/chart_expressions/expression_xy @elastic/kibana-visualizations src/plugins/charts @elastic/kibana-visualizations src/plugins/content_management @elastic/appex-sharedux -src/plugins/controls @elastic/kibana-presentation src/plugins/custom_integrations @elastic/fleet src/plugins/dashboard @elastic/kibana-presentation src/plugins/data @elastic/kibana-visualizations @elastic/kibana-data-discovery diff --git a/.i18nrc.json b/.i18nrc.json index 0e167c2b08b54..79914ea07ee6b 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -21,7 +21,7 @@ "dashboard": "src/plugins/dashboard", "cloud": "packages/cloud", "domDragDrop": "packages/kbn-dom-drag-drop", - "controls": "src/plugins/controls", + "controls": "src/platform/plugins/shared/controls", "data": "src/plugins/data", "observabilityAlertDetails": "x-pack/solutions/observability/packages/alert_details", "dataViews": "src/plugins/data_views", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index e84b586f015d4..97774958ff7e1 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -48,7 +48,7 @@ as uiSettings within the code. |The content management plugin provides functionality to manage content in Kibana. -|{kib-repo}blob/{branch}/src/plugins/controls/README.mdx[controls] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/controls/README.mdx[controls] |The Controls plugin contains Embeddables which can be used to add user-friendly interactivity to apps. diff --git a/package.json b/package.json index 438490e384306..1a8ce3496c19c 100644 --- a/package.json +++ b/package.json @@ -244,7 +244,7 @@ "@kbn/content-management-user-profiles": "link:packages/content-management/user_profiles", "@kbn/content-management-utils": "link:packages/kbn-content-management-utils", "@kbn/controls-example-plugin": "link:examples/controls_example", - "@kbn/controls-plugin": "link:src/plugins/controls", + "@kbn/controls-plugin": "link:src/platform/plugins/shared/controls", "@kbn/core": "link:src/core", "@kbn/core-analytics-browser": "link:packages/core/analytics/core-analytics-browser", "@kbn/core-analytics-browser-internal": "link:packages/core/analytics/core-analytics-browser-internal", diff --git a/src/plugins/controls/README.mdx b/src/platform/plugins/shared/controls/README.mdx similarity index 100% rename from src/plugins/controls/README.mdx rename to src/platform/plugins/shared/controls/README.mdx diff --git a/src/plugins/controls/common/constants.ts b/src/platform/plugins/shared/controls/common/constants.ts similarity index 100% rename from src/plugins/controls/common/constants.ts rename to src/platform/plugins/shared/controls/common/constants.ts diff --git a/src/plugins/controls/common/control_group/index.ts b/src/platform/plugins/shared/controls/common/control_group/index.ts similarity index 100% rename from src/plugins/controls/common/control_group/index.ts rename to src/platform/plugins/shared/controls/common/control_group/index.ts diff --git a/src/plugins/controls/common/control_group/types.ts b/src/platform/plugins/shared/controls/common/control_group/types.ts similarity index 100% rename from src/plugins/controls/common/control_group/types.ts rename to src/platform/plugins/shared/controls/common/control_group/types.ts diff --git a/src/plugins/controls/common/index.ts b/src/platform/plugins/shared/controls/common/index.ts similarity index 100% rename from src/plugins/controls/common/index.ts rename to src/platform/plugins/shared/controls/common/index.ts diff --git a/src/plugins/controls/common/options_list/index.ts b/src/platform/plugins/shared/controls/common/options_list/index.ts similarity index 100% rename from src/plugins/controls/common/options_list/index.ts rename to src/platform/plugins/shared/controls/common/options_list/index.ts diff --git a/src/plugins/controls/common/options_list/ip_search.test.ts b/src/platform/plugins/shared/controls/common/options_list/ip_search.test.ts similarity index 100% rename from src/plugins/controls/common/options_list/ip_search.test.ts rename to src/platform/plugins/shared/controls/common/options_list/ip_search.test.ts diff --git a/src/plugins/controls/common/options_list/ip_search.ts b/src/platform/plugins/shared/controls/common/options_list/ip_search.ts similarity index 100% rename from src/plugins/controls/common/options_list/ip_search.ts rename to src/platform/plugins/shared/controls/common/options_list/ip_search.ts diff --git a/src/plugins/controls/common/options_list/is_valid_search.test.ts b/src/platform/plugins/shared/controls/common/options_list/is_valid_search.test.ts similarity index 100% rename from src/plugins/controls/common/options_list/is_valid_search.test.ts rename to src/platform/plugins/shared/controls/common/options_list/is_valid_search.test.ts diff --git a/src/plugins/controls/common/options_list/is_valid_search.ts b/src/platform/plugins/shared/controls/common/options_list/is_valid_search.ts similarity index 100% rename from src/plugins/controls/common/options_list/is_valid_search.ts rename to src/platform/plugins/shared/controls/common/options_list/is_valid_search.ts diff --git a/src/plugins/controls/common/options_list/options_list_selections.ts b/src/platform/plugins/shared/controls/common/options_list/options_list_selections.ts similarity index 100% rename from src/plugins/controls/common/options_list/options_list_selections.ts rename to src/platform/plugins/shared/controls/common/options_list/options_list_selections.ts diff --git a/src/plugins/controls/common/options_list/suggestions_searching.ts b/src/platform/plugins/shared/controls/common/options_list/suggestions_searching.ts similarity index 100% rename from src/plugins/controls/common/options_list/suggestions_searching.ts rename to src/platform/plugins/shared/controls/common/options_list/suggestions_searching.ts diff --git a/src/plugins/controls/common/options_list/suggestions_sorting.ts b/src/platform/plugins/shared/controls/common/options_list/suggestions_sorting.ts similarity index 100% rename from src/plugins/controls/common/options_list/suggestions_sorting.ts rename to src/platform/plugins/shared/controls/common/options_list/suggestions_sorting.ts diff --git a/src/plugins/controls/common/options_list/types.ts b/src/platform/plugins/shared/controls/common/options_list/types.ts similarity index 100% rename from src/plugins/controls/common/options_list/types.ts rename to src/platform/plugins/shared/controls/common/options_list/types.ts diff --git a/src/plugins/controls/common/types.ts b/src/platform/plugins/shared/controls/common/types.ts similarity index 100% rename from src/plugins/controls/common/types.ts rename to src/platform/plugins/shared/controls/common/types.ts diff --git a/src/plugins/controls/jest.config.js b/src/platform/plugins/shared/controls/jest.config.js similarity index 66% rename from src/plugins/controls/jest.config.js rename to src/platform/plugins/shared/controls/jest.config.js index cd1396d9c60a6..771a1fd2984e0 100644 --- a/src/plugins/controls/jest.config.js +++ b/src/platform/plugins/shared/controls/jest.config.js @@ -9,10 +9,10 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/controls'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/controls', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/controls'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/controls', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/controls/{common,public,server}/**/*.{ts,tsx}'], - setupFiles: ['/src/plugins/controls/jest_setup.ts'], + collectCoverageFrom: ['/src/platform/plugins/shared/controls/{common,public,server}/**/*.{ts,tsx}'], + setupFiles: ['/src/platform/plugins/shared/controls/jest_setup.ts'], }; diff --git a/src/plugins/controls/jest_setup.ts b/src/platform/plugins/shared/controls/jest_setup.ts similarity index 100% rename from src/plugins/controls/jest_setup.ts rename to src/platform/plugins/shared/controls/jest_setup.ts diff --git a/src/plugins/controls/kibana.jsonc b/src/platform/plugins/shared/controls/kibana.jsonc similarity index 100% rename from src/plugins/controls/kibana.jsonc rename to src/platform/plugins/shared/controls/kibana.jsonc diff --git a/src/plugins/controls/public/actions/clear_control_action.test.tsx b/src/platform/plugins/shared/controls/public/actions/clear_control_action.test.tsx similarity index 100% rename from src/plugins/controls/public/actions/clear_control_action.test.tsx rename to src/platform/plugins/shared/controls/public/actions/clear_control_action.test.tsx diff --git a/src/plugins/controls/public/actions/clear_control_action.tsx b/src/platform/plugins/shared/controls/public/actions/clear_control_action.tsx similarity index 100% rename from src/plugins/controls/public/actions/clear_control_action.tsx rename to src/platform/plugins/shared/controls/public/actions/clear_control_action.tsx diff --git a/src/plugins/controls/public/actions/clear_control_action_compatibility_check.ts b/src/platform/plugins/shared/controls/public/actions/clear_control_action_compatibility_check.ts similarity index 100% rename from src/plugins/controls/public/actions/clear_control_action_compatibility_check.ts rename to src/platform/plugins/shared/controls/public/actions/clear_control_action_compatibility_check.ts diff --git a/src/plugins/controls/public/actions/delete_control_action.test.tsx b/src/platform/plugins/shared/controls/public/actions/delete_control_action.test.tsx similarity index 100% rename from src/plugins/controls/public/actions/delete_control_action.test.tsx rename to src/platform/plugins/shared/controls/public/actions/delete_control_action.test.tsx diff --git a/src/plugins/controls/public/actions/delete_control_action.tsx b/src/platform/plugins/shared/controls/public/actions/delete_control_action.tsx similarity index 100% rename from src/plugins/controls/public/actions/delete_control_action.tsx rename to src/platform/plugins/shared/controls/public/actions/delete_control_action.tsx diff --git a/src/plugins/controls/public/actions/delete_control_action_compatibility_check.ts b/src/platform/plugins/shared/controls/public/actions/delete_control_action_compatibility_check.ts similarity index 100% rename from src/plugins/controls/public/actions/delete_control_action_compatibility_check.ts rename to src/platform/plugins/shared/controls/public/actions/delete_control_action_compatibility_check.ts diff --git a/src/plugins/controls/public/actions/edit_control_action.test.tsx b/src/platform/plugins/shared/controls/public/actions/edit_control_action.test.tsx similarity index 100% rename from src/plugins/controls/public/actions/edit_control_action.test.tsx rename to src/platform/plugins/shared/controls/public/actions/edit_control_action.test.tsx diff --git a/src/plugins/controls/public/actions/edit_control_action.tsx b/src/platform/plugins/shared/controls/public/actions/edit_control_action.tsx similarity index 100% rename from src/plugins/controls/public/actions/edit_control_action.tsx rename to src/platform/plugins/shared/controls/public/actions/edit_control_action.tsx diff --git a/src/plugins/controls/public/actions/edit_control_action_compatibility_check.ts b/src/platform/plugins/shared/controls/public/actions/edit_control_action_compatibility_check.ts similarity index 100% rename from src/plugins/controls/public/actions/edit_control_action_compatibility_check.ts rename to src/platform/plugins/shared/controls/public/actions/edit_control_action_compatibility_check.ts diff --git a/src/plugins/controls/public/actions/index.ts b/src/platform/plugins/shared/controls/public/actions/index.ts similarity index 100% rename from src/plugins/controls/public/actions/index.ts rename to src/platform/plugins/shared/controls/public/actions/index.ts diff --git a/src/plugins/controls/public/constants.ts b/src/platform/plugins/shared/controls/public/constants.ts similarity index 100% rename from src/plugins/controls/public/constants.ts rename to src/platform/plugins/shared/controls/public/constants.ts diff --git a/src/plugins/controls/public/control_factory_registry.ts b/src/platform/plugins/shared/controls/public/control_factory_registry.ts similarity index 100% rename from src/plugins/controls/public/control_factory_registry.ts rename to src/platform/plugins/shared/controls/public/control_factory_registry.ts diff --git a/src/plugins/controls/public/control_group/components/control_clone.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_clone.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_clone.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_clone.tsx diff --git a/src/plugins/controls/public/control_group/components/control_error.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_error.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_error.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_error.tsx diff --git a/src/plugins/controls/public/control_group/components/control_group.scss b/src/platform/plugins/shared/controls/public/control_group/components/control_group.scss similarity index 100% rename from src/plugins/controls/public/control_group/components/control_group.scss rename to src/platform/plugins/shared/controls/public/control_group/components/control_group.scss diff --git a/src/plugins/controls/public/control_group/components/control_group.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_group.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_group.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_group.tsx diff --git a/src/plugins/controls/public/control_group/components/control_group_editor.test.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_group_editor.test.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_group_editor.test.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_group_editor.test.tsx diff --git a/src/plugins/controls/public/control_group/components/control_group_editor.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_group_editor.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_group_editor.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_group_editor.tsx diff --git a/src/plugins/controls/public/control_group/components/control_panel.scss b/src/platform/plugins/shared/controls/public/control_group/components/control_panel.scss similarity index 100% rename from src/plugins/controls/public/control_group/components/control_panel.scss rename to src/platform/plugins/shared/controls/public/control_group/components/control_panel.scss diff --git a/src/plugins/controls/public/control_group/components/control_panel.test.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_panel.test.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_panel.test.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_panel.test.tsx diff --git a/src/plugins/controls/public/control_group/components/control_panel.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_panel.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_panel.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_panel.tsx diff --git a/src/plugins/controls/public/control_group/components/control_renderer.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_renderer.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_renderer.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_renderer.tsx diff --git a/src/plugins/controls/public/control_group/components/control_setting_tooltip_label.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_setting_tooltip_label.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_setting_tooltip_label.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_setting_tooltip_label.tsx diff --git a/src/plugins/controls/public/control_group/control_fetch/chaining.test.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/chaining.test.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/chaining.test.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/chaining.test.ts diff --git a/src/plugins/controls/public/control_group/control_fetch/chaining.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/chaining.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/chaining.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/chaining.ts diff --git a/src/plugins/controls/public/control_group/control_fetch/control_fetch.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/control_fetch.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/control_fetch.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/control_fetch.ts diff --git a/src/plugins/controls/public/control_group/control_fetch/control_group_fetch.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/control_group_fetch.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/control_group_fetch.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/control_group_fetch.ts diff --git a/src/plugins/controls/public/control_group/control_fetch/index.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/index.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/index.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/index.ts diff --git a/src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.test.tsx b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.test.tsx similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.test.tsx rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.test.tsx diff --git a/src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx diff --git a/src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx diff --git a/src/plugins/controls/public/control_group/control_group_renderer/index.ts b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/index.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/index.ts rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/index.ts diff --git a/src/plugins/controls/public/control_group/control_group_renderer/types.ts b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/types.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/types.ts rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/types.ts diff --git a/src/plugins/controls/public/control_group/control_group_strings.tsx b/src/platform/plugins/shared/controls/public/control_group/control_group_strings.tsx similarity index 100% rename from src/plugins/controls/public/control_group/control_group_strings.tsx rename to src/platform/plugins/shared/controls/public/control_group/control_group_strings.tsx diff --git a/src/plugins/controls/public/control_group/control_group_unsaved_changes_api.ts b/src/platform/plugins/shared/controls/public/control_group/control_group_unsaved_changes_api.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_group_unsaved_changes_api.ts rename to src/platform/plugins/shared/controls/public/control_group/control_group_unsaved_changes_api.ts diff --git a/src/plugins/controls/public/control_group/get_control_group_factory.tsx b/src/platform/plugins/shared/controls/public/control_group/get_control_group_factory.tsx similarity index 100% rename from src/plugins/controls/public/control_group/get_control_group_factory.tsx rename to src/platform/plugins/shared/controls/public/control_group/get_control_group_factory.tsx diff --git a/src/plugins/controls/public/control_group/init_controls_manager.test.ts b/src/platform/plugins/shared/controls/public/control_group/init_controls_manager.test.ts similarity index 100% rename from src/plugins/controls/public/control_group/init_controls_manager.test.ts rename to src/platform/plugins/shared/controls/public/control_group/init_controls_manager.test.ts diff --git a/src/plugins/controls/public/control_group/init_controls_manager.ts b/src/platform/plugins/shared/controls/public/control_group/init_controls_manager.ts similarity index 100% rename from src/plugins/controls/public/control_group/init_controls_manager.ts rename to src/platform/plugins/shared/controls/public/control_group/init_controls_manager.ts diff --git a/src/plugins/controls/public/control_group/open_edit_control_group_flyout.tsx b/src/platform/plugins/shared/controls/public/control_group/open_edit_control_group_flyout.tsx similarity index 100% rename from src/plugins/controls/public/control_group/open_edit_control_group_flyout.tsx rename to src/platform/plugins/shared/controls/public/control_group/open_edit_control_group_flyout.tsx diff --git a/src/plugins/controls/public/control_group/register_control_group_embeddable.ts b/src/platform/plugins/shared/controls/public/control_group/register_control_group_embeddable.ts similarity index 100% rename from src/plugins/controls/public/control_group/register_control_group_embeddable.ts rename to src/platform/plugins/shared/controls/public/control_group/register_control_group_embeddable.ts diff --git a/src/plugins/controls/public/control_group/selections_manager.test.ts b/src/platform/plugins/shared/controls/public/control_group/selections_manager.test.ts similarity index 100% rename from src/plugins/controls/public/control_group/selections_manager.test.ts rename to src/platform/plugins/shared/controls/public/control_group/selections_manager.test.ts diff --git a/src/plugins/controls/public/control_group/selections_manager.ts b/src/platform/plugins/shared/controls/public/control_group/selections_manager.ts similarity index 100% rename from src/plugins/controls/public/control_group/selections_manager.ts rename to src/platform/plugins/shared/controls/public/control_group/selections_manager.ts diff --git a/src/plugins/controls/public/control_group/types.ts b/src/platform/plugins/shared/controls/public/control_group/types.ts similarity index 100% rename from src/plugins/controls/public/control_group/types.ts rename to src/platform/plugins/shared/controls/public/control_group/types.ts diff --git a/src/plugins/controls/public/control_group/utils/control_group_state_builder.ts b/src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/control_group_state_builder.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts diff --git a/src/plugins/controls/public/control_group/utils/initialization_utils.ts b/src/platform/plugins/shared/controls/public/control_group/utils/initialization_utils.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/initialization_utils.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/initialization_utils.ts diff --git a/src/plugins/controls/public/control_group/utils/is_compressed.test.ts b/src/platform/plugins/shared/controls/public/control_group/utils/is_compressed.test.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/is_compressed.test.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/is_compressed.test.ts diff --git a/src/plugins/controls/public/control_group/utils/is_compressed.ts b/src/platform/plugins/shared/controls/public/control_group/utils/is_compressed.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/is_compressed.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/is_compressed.ts diff --git a/src/plugins/controls/public/control_group/utils/serialization_utils.ts b/src/platform/plugins/shared/controls/public/control_group/utils/serialization_utils.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/serialization_utils.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/serialization_utils.ts diff --git a/src/plugins/controls/public/controls/constants.ts b/src/platform/plugins/shared/controls/public/controls/constants.ts similarity index 100% rename from src/plugins/controls/public/controls/constants.ts rename to src/platform/plugins/shared/controls/public/controls/constants.ts diff --git a/src/plugins/controls/public/controls/data_controls/data_control_constants.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/data_control_constants.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/data_control_constants.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/data_control_constants.tsx diff --git a/src/plugins/controls/public/controls/data_controls/data_control_editor.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/data_control_editor.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/data_control_editor.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/data_control_editor.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor.tsx diff --git a/src/plugins/controls/public/controls/data_controls/data_control_editor_utils.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor_utils.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/data_control_editor_utils.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor_utils.ts diff --git a/src/plugins/controls/public/controls/data_controls/editor_constants.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/editor_constants.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/editor_constants.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/editor_constants.ts diff --git a/src/plugins/controls/public/controls/data_controls/initialize_data_control.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/initialize_data_control.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/initialize_data_control.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/initialize_data_control.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/initialize_data_control.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/initialize_data_control.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/initialize_data_control.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/initialize_data_control.ts diff --git a/src/plugins/controls/public/controls/data_controls/mocks/api_mocks.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/mocks/api_mocks.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/mocks/api_mocks.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/mocks/api_mocks.tsx diff --git a/src/plugins/controls/public/controls/data_controls/mocks/factory_mocks.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/mocks/factory_mocks.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/mocks/factory_mocks.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/mocks/factory_mocks.tsx diff --git a/src/plugins/controls/public/controls/data_controls/open_data_control_editor.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/open_data_control_editor.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/open_data_control_editor.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/open_data_control_editor.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list.scss b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list.scss similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list.scss rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list.scss diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_control.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_control.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_action_bar.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_action_bar.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_action_bar.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_action_bar.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_empty_message.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_empty_message.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_empty_message.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_empty_message.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_footer.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_footer.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_footer.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_footer.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_invalid_selections.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_invalid_selections.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_invalid_selections.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_invalid_selections.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestion_badge.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestion_badge.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestion_badge.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestion_badge.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestions.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestions.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestions.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestions.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/constants.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/constants.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/constants.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/constants.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/fetch_and_validate.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/fetch_and_validate.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/fetch_and_validate.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/fetch_and_validate.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/options_list_context_provider.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_context_provider.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/options_list_context_provider.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_context_provider.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/options_list_control_selections.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_control_selections.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/options_list_control_selections.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_control_selections.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/options_list_strings.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_strings.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/options_list_strings.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_strings.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/register_options_list_control.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/register_options_list_control.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/register_options_list_control.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/register_options_list_control.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/types.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/types.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/types.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/types.ts diff --git a/src/plugins/controls/public/controls/data_controls/publishes_async_filters.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/publishes_async_filters.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/publishes_async_filters.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/publishes_async_filters.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.tsx diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/has_no_results.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/has_no_results.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/has_no_results.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/has_no_results.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/min_max.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/min_max.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/min_max.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/min_max.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/range_control_selections.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/range_control_selections.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/range_control_selections.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/range_control_selections.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/range_slider_strings.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/range_slider_strings.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/range_slider_strings.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/range_slider_strings.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/register_range_slider_control.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/register_range_slider_control.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/register_range_slider_control.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/register_range_slider_control.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/types.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/types.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/types.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/types.ts diff --git a/src/plugins/controls/public/controls/data_controls/reference_name_utils.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/reference_name_utils.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/reference_name_utils.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/reference_name_utils.ts diff --git a/src/plugins/controls/public/controls/data_controls/types.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/types.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/types.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/types.ts diff --git a/src/plugins/controls/public/controls/initialize_default_control_api.tsx b/src/platform/plugins/shared/controls/public/controls/initialize_default_control_api.tsx similarity index 100% rename from src/plugins/controls/public/controls/initialize_default_control_api.tsx rename to src/platform/plugins/shared/controls/public/controls/initialize_default_control_api.tsx diff --git a/src/plugins/controls/public/controls/mocks/control_mocks.ts b/src/platform/plugins/shared/controls/public/controls/mocks/control_mocks.ts similarity index 100% rename from src/plugins/controls/public/controls/mocks/control_mocks.ts rename to src/platform/plugins/shared/controls/public/controls/mocks/control_mocks.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/components/index.scss b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/index.scss similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/index.scss rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/index.scss diff --git a/src/plugins/controls/public/controls/timeslider_control/components/play_button.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/play_button.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/play_button.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/play_button.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_anchored_range.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_anchored_range.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_anchored_range.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_anchored_range.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_popover_button.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_popover_button.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_popover_button.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_popover_button.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_prepend.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_prepend.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_prepend.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_prepend.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_sliding_window_range.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_sliding_window_range.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_sliding_window_range.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_sliding_window_range.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_strings.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_strings.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_strings.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_strings.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/get_time_range_meta.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/get_time_range_meta.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/get_time_range_meta.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/get_time_range_meta.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/init_time_range_percentage.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/init_time_range_percentage.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/init_time_range_percentage.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/init_time_range_percentage.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/init_time_range_subscription.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/init_time_range_subscription.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/init_time_range_subscription.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/init_time_range_subscription.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/register_timeslider_control.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/register_timeslider_control.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/register_timeslider_control.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/register_timeslider_control.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/time_utils.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/time_utils.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/time_utils.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/time_utils.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/types.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/types.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/types.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/types.ts diff --git a/src/plugins/controls/public/controls/types.ts b/src/platform/plugins/shared/controls/public/controls/types.ts similarity index 100% rename from src/plugins/controls/public/controls/types.ts rename to src/platform/plugins/shared/controls/public/controls/types.ts diff --git a/src/plugins/controls/public/index.ts b/src/platform/plugins/shared/controls/public/index.ts similarity index 100% rename from src/plugins/controls/public/index.ts rename to src/platform/plugins/shared/controls/public/index.ts diff --git a/src/plugins/controls/public/plugin.ts b/src/platform/plugins/shared/controls/public/plugin.ts similarity index 100% rename from src/plugins/controls/public/plugin.ts rename to src/platform/plugins/shared/controls/public/plugin.ts diff --git a/src/plugins/controls/public/services/kibana_services.ts b/src/platform/plugins/shared/controls/public/services/kibana_services.ts similarity index 100% rename from src/plugins/controls/public/services/kibana_services.ts rename to src/platform/plugins/shared/controls/public/services/kibana_services.ts diff --git a/src/plugins/controls/public/services/mocks.ts b/src/platform/plugins/shared/controls/public/services/mocks.ts similarity index 100% rename from src/plugins/controls/public/services/mocks.ts rename to src/platform/plugins/shared/controls/public/services/mocks.ts diff --git a/src/plugins/controls/public/types.ts b/src/platform/plugins/shared/controls/public/types.ts similarity index 100% rename from src/plugins/controls/public/types.ts rename to src/platform/plugins/shared/controls/public/types.ts diff --git a/src/plugins/controls/server/control_group/control_group_container_factory.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_container_factory.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_container_factory.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_container_factory.ts diff --git a/src/plugins/controls/server/control_group/control_group_migrations.test.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_migrations.test.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_migrations.test.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_migrations.test.ts diff --git a/src/plugins/controls/server/control_group/control_group_migrations.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_migrations.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_migrations.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_migrations.ts diff --git a/src/plugins/controls/server/control_group/control_group_persistable_state.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_persistable_state.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts diff --git a/src/plugins/controls/server/control_group/control_group_persistence.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_persistence.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_persistence.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_persistence.ts diff --git a/src/plugins/controls/server/control_group/control_group_telemetry.test.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.test.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_telemetry.test.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.test.ts diff --git a/src/plugins/controls/server/control_group/control_group_telemetry.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_telemetry.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.ts diff --git a/src/plugins/controls/server/control_group/types.ts b/src/platform/plugins/shared/controls/server/control_group/types.ts similarity index 100% rename from src/plugins/controls/server/control_group/types.ts rename to src/platform/plugins/shared/controls/server/control_group/types.ts diff --git a/src/plugins/controls/server/index.ts b/src/platform/plugins/shared/controls/server/index.ts similarity index 100% rename from src/plugins/controls/server/index.ts rename to src/platform/plugins/shared/controls/server/index.ts diff --git a/src/plugins/controls/server/mocks.tsx b/src/platform/plugins/shared/controls/server/mocks.tsx similarity index 100% rename from src/plugins/controls/server/mocks.tsx rename to src/platform/plugins/shared/controls/server/mocks.tsx diff --git a/src/plugins/controls/server/options_list/options_list_cluster_settings_route.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_cluster_settings_route.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_cluster_settings_route.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_cluster_settings_route.ts diff --git a/src/plugins/controls/server/options_list/options_list_embeddable_factory.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_embeddable_factory.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_embeddable_factory.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_embeddable_factory.ts diff --git a/src/plugins/controls/server/options_list/options_list_persistable_state.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_persistable_state.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts diff --git a/src/plugins/controls/server/options_list/options_list_suggestions_route.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_suggestions_route.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_suggestions_route.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_suggestions_route.ts diff --git a/src/plugins/controls/server/options_list/options_list_validation_queries.test.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_validation_queries.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_validation_queries.test.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_validation_queries.test.ts diff --git a/src/plugins/controls/server/options_list/options_list_validation_queries.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_validation_queries.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_validation_queries.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_validation_queries.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/index.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/index.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/index.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/index.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_all_suggestions.test.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_all_suggestions.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_all_suggestions.test.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_all_suggestions.test.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_all_suggestions.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_all_suggestions.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_all_suggestions.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_all_suggestions.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_exact_match.test.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_exact_match.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_exact_match.test.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_exact_match.test.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_exact_match.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_exact_match.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_exact_match.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_exact_match.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_search_suggestions.test.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_search_suggestions.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_search_suggestions.test.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_search_suggestions.test.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_search_suggestions.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_search_suggestions.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_search_suggestions.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_search_suggestions.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.test.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.test.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.test.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_query_helpers.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_query_helpers.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_query_helpers.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_query_helpers.ts diff --git a/src/plugins/controls/server/options_list/types.ts b/src/platform/plugins/shared/controls/server/options_list/types.ts similarity index 100% rename from src/plugins/controls/server/options_list/types.ts rename to src/platform/plugins/shared/controls/server/options_list/types.ts diff --git a/src/plugins/controls/server/plugin.ts b/src/platform/plugins/shared/controls/server/plugin.ts similarity index 100% rename from src/plugins/controls/server/plugin.ts rename to src/platform/plugins/shared/controls/server/plugin.ts diff --git a/src/plugins/controls/server/range_slider/range_slider_embeddable_factory.ts b/src/platform/plugins/shared/controls/server/range_slider/range_slider_embeddable_factory.ts similarity index 100% rename from src/plugins/controls/server/range_slider/range_slider_embeddable_factory.ts rename to src/platform/plugins/shared/controls/server/range_slider/range_slider_embeddable_factory.ts diff --git a/src/plugins/controls/server/range_slider/range_slider_persistable_state.ts b/src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts similarity index 100% rename from src/plugins/controls/server/range_slider/range_slider_persistable_state.ts rename to src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts diff --git a/src/plugins/controls/server/time_slider/time_slider_embeddable_factory.ts b/src/platform/plugins/shared/controls/server/time_slider/time_slider_embeddable_factory.ts similarity index 100% rename from src/plugins/controls/server/time_slider/time_slider_embeddable_factory.ts rename to src/platform/plugins/shared/controls/server/time_slider/time_slider_embeddable_factory.ts diff --git a/src/plugins/controls/server/time_slider/time_slider_persistable_state.ts b/src/platform/plugins/shared/controls/server/time_slider/time_slider_persistable_state.ts similarity index 100% rename from src/plugins/controls/server/time_slider/time_slider_persistable_state.ts rename to src/platform/plugins/shared/controls/server/time_slider/time_slider_persistable_state.ts diff --git a/src/plugins/controls/tsconfig.json b/src/platform/plugins/shared/controls/tsconfig.json similarity index 92% rename from src/plugins/controls/tsconfig.json rename to src/platform/plugins/shared/controls/tsconfig.json index 7759a0fdc7935..57bfc5a49f73d 100644 --- a/src/plugins/controls/tsconfig.json +++ b/src/platform/plugins/shared/controls/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -9,7 +9,7 @@ "public/**/*", "public/**/*.json", "server/**/*", - "../../../typings/**/*", + "../../../../../typings/**/*", "./jest_setup.ts" ], "kbn_references": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index cb243c05f293d..21c5097060d88 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -230,8 +230,8 @@ "@kbn/content-management-utils/*": ["packages/kbn-content-management-utils/*"], "@kbn/controls-example-plugin": ["examples/controls_example"], "@kbn/controls-example-plugin/*": ["examples/controls_example/*"], - "@kbn/controls-plugin": ["src/plugins/controls"], - "@kbn/controls-plugin/*": ["src/plugins/controls/*"], + "@kbn/controls-plugin": ["src/platform/plugins/shared/controls"], + "@kbn/controls-plugin/*": ["src/platform/plugins/shared/controls/*"], "@kbn/core": ["src/core"], "@kbn/core/*": ["src/core/*"], "@kbn/core-analytics-browser": ["packages/core/analytics/core-analytics-browser"], diff --git a/yarn.lock b/yarn.lock index a8069f2f0ee05..b9041017742cd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4277,7 +4277,7 @@ version "0.0.0" uid "" -"@kbn/controls-plugin@link:src/plugins/controls": +"@kbn/controls-plugin@link:src/platform/plugins/shared/controls": version "0.0.0" uid "" From adc29945c603d4ae1eb04566dade9845b4e638bf Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 15:42:04 +0100 Subject: [PATCH 03/29] Relocating module `@kbn/dashboard-enhanced-plugin` --- .github/CODEOWNERS | 2 +- .github/paths-labeller.yml | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../__tests__/mocks/team_assign_mock.txt | 66 +++++++++---------- src/dev/storybook/aliases.ts | 2 +- tsconfig.base.json | 4 +- x-pack/.i18nrc.json | 2 +- .../dashboard_enhanced/.storybook/main.js | 0 .../dashboard_enhanced/README.asciidoc | 0 .../dashboard_drilldown/constants.ts | 0 ...hboard_drilldown_persistable_state.test.ts | 0 .../dashboard_drilldown_persistable_state.ts | 0 .../drilldowns/dashboard_drilldown/index.ts | 0 .../drilldowns/dashboard_drilldown/types.ts | 0 .../common/drilldowns/index.ts | 0 .../dashboard_enhanced/common/index.ts | 0 .../shared}/dashboard_enhanced/jest.config.js | 8 +-- .../shared}/dashboard_enhanced/kibana.jsonc | 0 .../dashboard_enhanced/public/index.ts | 0 .../dashboard_enhanced/public/mocks.ts | 0 .../dashboard_enhanced/public/plugin.ts | 0 .../abstract_dashboard_drilldown.tsx | 0 .../components/collect_config_container.tsx | 0 .../dashboard_drilldown_config.test.tsx | 0 .../dashboard_drilldown_config.tsx | 0 .../dashboard_drilldown_config/i18n.ts | 0 .../dashboard_drilldown_config/index.ts | 0 .../components/i18n.ts | 0 .../components/index.ts | 0 .../abstract_dashboard_drilldown/i18n.ts | 0 .../abstract_dashboard_drilldown/index.ts | 0 .../abstract_dashboard_drilldown/types.ts | 0 .../drilldowns/actions/drilldown_shared.ts | 0 .../flyout_create_drilldown.test.tsx | 0 .../flyout_create_drilldown.tsx | 0 .../actions/flyout_create_drilldown/index.ts | 0 .../flyout_edit_drilldown.test.tsx | 0 .../flyout_edit_drilldown.tsx | 0 .../actions/flyout_edit_drilldown/i18n.ts | 0 .../actions/flyout_edit_drilldown/index.tsx | 0 .../flyout_edit_drilldown/menu_item.test.tsx | 0 .../flyout_edit_drilldown/menu_item.tsx | 0 .../services/drilldowns/actions/index.ts | 0 .../dashboard_drilldowns_services.ts | 0 .../constants.ts | 0 ...embeddable_to_dashboard_drilldown.test.tsx | 0 .../embeddable_to_dashboard_drilldown.tsx | 0 .../index.ts | 0 .../public/services/drilldowns/index.ts | 0 .../public/services/index.ts | 0 .../dashboard_enhanced/server/index.ts | 0 .../dashboard_enhanced/server/plugin.ts | 0 .../shared}/dashboard_enhanced/tsconfig.json | 2 +- yarn.lock | 2 +- 55 files changed, 47 insertions(+), 47 deletions(-) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/.storybook/main.js (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/README.asciidoc (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/common/drilldowns/dashboard_drilldown/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/common/drilldowns/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/jest.config.js (62%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/i18n.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/drilldowns/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/public/services/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/dashboard_enhanced/tsconfig.json (93%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5f99b31e241c9..d59b6c9a14d62 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -857,6 +857,7 @@ x-pack/platform/plugins/private/watcher @elastic/kibana-management x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra x-pack/platform/plugins/shared/aiops @elastic/ml-ui +x-pack/platform/plugins/shared/dashboard_enhanced @elastic/kibana-presentation x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management @@ -877,7 +878,6 @@ x-pack/plugins/cloud_integrations/cloud_experiments @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_full_story @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_links @elastic/kibana-core x-pack/plugins/custom_branding @elastic/appex-sharedux -x-pack/plugins/dashboard_enhanced @elastic/kibana-presentation x-pack/plugins/data_quality @elastic/obs-ux-logs-team x-pack/plugins/discover_enhanced @elastic/kibana-data-discovery x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux diff --git a/.github/paths-labeller.yml b/.github/paths-labeller.yml index bc67d3a6f6d93..27ba51f4c828e 100644 --- a/.github/paths-labeller.yml +++ b/.github/paths-labeller.yml @@ -4,7 +4,7 @@ - 'src/plugins/dashboard_embeddable_container/**/*.*' - 'Feature:Drilldowns': - 'x-pack/plugins/drilldowns/**/*.*' - - 'x-pack/plugins/dashboard_enhanced/public/services/drilldowns/**/*.*' + - 'x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/**/*.*' - 'Feature:ExpressionLanguage': - 'src/plugins/expressions/**/*.*' - 'src/plugins/bfetch/**/*.*' diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 97774958ff7e1..c7153b3565b5f 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -987,6 +987,6 @@ in their infrastructure. include::{kibana-root}/src/plugins/dashboard/README.asciidoc[leveloffset=+1] include::{kibana-root}/src/plugins/expressions/README.asciidoc[leveloffset=+1] include::{kibana-root}/src/plugins/ui_actions/README.asciidoc[leveloffset=+1] -include::{kibana-root}/x-pack/plugins/dashboard_enhanced/README.asciidoc[leveloffset=+1] +include::{kibana-root}/x-pack/platform/plugins/shared/dashboard_enhanced/README.asciidoc[leveloffset=+1] include::{kibana-root}/x-pack/plugins/embeddable_enhanced/README.asciidoc[leveloffset=+1] include::{kibana-root}/x-pack/platform/plugins/private/translations/README.asciidoc[leveloffset=+1] diff --git a/package.json b/package.json index 1a8ce3496c19c..67ed5dc37c415 100644 --- a/package.json +++ b/package.json @@ -421,7 +421,7 @@ "@kbn/custom-icons": "link:packages/kbn-custom-icons", "@kbn/custom-integrations": "link:packages/kbn-custom-integrations", "@kbn/custom-integrations-plugin": "link:src/plugins/custom_integrations", - "@kbn/dashboard-enhanced-plugin": "link:x-pack/plugins/dashboard_enhanced", + "@kbn/dashboard-enhanced-plugin": "link:x-pack/platform/plugins/shared/dashboard_enhanced", "@kbn/dashboard-plugin": "link:src/plugins/dashboard", "@kbn/data-forge": "link:x-pack/platform/packages/shared/kbn-data-forge", "@kbn/data-plugin": "link:src/plugins/data", diff --git a/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt b/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt index b04178ec71c6f..565187b84aac9 100644 --- a/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt +++ b/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt @@ -1,36 +1,36 @@ -x-pack/plugins/dashboard_enhanced/public/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/mocks.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/plugin.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/test_helpers.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/collect_config_container.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.story.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/i18n.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/constants.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/drilldown.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/drilldown.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/i18n.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/types.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/scripts/storybook.js kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/mocks.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/test_helpers.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/collect_config_container.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.story.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/i18n.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/constants.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/drilldown.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/drilldown.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/i18n.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/types.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/scripts/storybook.js kibana-app x-pack/plugins/discover_enhanced/common/config.ts kibana-app x-pack/plugins/discover_enhanced/common/index.ts kibana-app x-pack/plugins/discover_enhanced/public/actions/explore_data/abstract_explore_data_action.ts kibana-app diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index f8bba982f3c9c..fb4a0c31ad93d 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -27,7 +27,7 @@ export const storybookAliases = { content_management_examples: 'examples/content_management_examples/.storybook', custom_icons: 'packages/kbn-custom-icons/.storybook', custom_integrations: 'src/plugins/custom_integrations/storybook', - dashboard_enhanced: 'x-pack/plugins/dashboard_enhanced/.storybook', + dashboard_enhanced: 'x-pack/platform/plugins/shared/dashboard_enhanced/.storybook', dashboard: 'src/plugins/dashboard/.storybook', data: 'src/plugins/data/.storybook', discover: 'src/plugins/discover/.storybook', diff --git a/tsconfig.base.json b/tsconfig.base.json index 21c5097060d88..154a71219a8f8 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -696,8 +696,8 @@ "@kbn/custom-integrations-plugin/*": ["src/plugins/custom_integrations/*"], "@kbn/cypress-config": ["packages/kbn-cypress-config"], "@kbn/cypress-config/*": ["packages/kbn-cypress-config/*"], - "@kbn/dashboard-enhanced-plugin": ["x-pack/plugins/dashboard_enhanced"], - "@kbn/dashboard-enhanced-plugin/*": ["x-pack/plugins/dashboard_enhanced/*"], + "@kbn/dashboard-enhanced-plugin": ["x-pack/platform/plugins/shared/dashboard_enhanced"], + "@kbn/dashboard-enhanced-plugin/*": ["x-pack/platform/plugins/shared/dashboard_enhanced/*"], "@kbn/dashboard-plugin": ["src/plugins/dashboard"], "@kbn/dashboard-plugin/*": ["src/plugins/dashboard/*"], "@kbn/data-forge": ["x-pack/platform/packages/shared/kbn-data-forge"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 19fe4e91f79bb..b5e80011a2f42 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -29,7 +29,7 @@ "packages/kbn-cloud-security-posture" ], "xpack.customBranding": "plugins/custom_branding", - "xpack.dashboard": "plugins/dashboard_enhanced", + "xpack.dashboard": "platform/plugins/shared/dashboard_enhanced", "xpack.dataQuality": "plugins/data_quality", "xpack.datasetQuality": "plugins/observability_solution/dataset_quality", "xpack.dataUsage": "platform/plugins/private/data_usage", diff --git a/x-pack/plugins/dashboard_enhanced/.storybook/main.js b/x-pack/platform/plugins/shared/dashboard_enhanced/.storybook/main.js similarity index 100% rename from x-pack/plugins/dashboard_enhanced/.storybook/main.js rename to x-pack/platform/plugins/shared/dashboard_enhanced/.storybook/main.js diff --git a/x-pack/plugins/dashboard_enhanced/README.asciidoc b/x-pack/platform/plugins/shared/dashboard_enhanced/README.asciidoc similarity index 100% rename from x-pack/plugins/dashboard_enhanced/README.asciidoc rename to x-pack/platform/plugins/shared/dashboard_enhanced/README.asciidoc diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.test.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.test.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.test.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.test.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/jest.config.js b/x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js similarity index 62% rename from x-pack/plugins/dashboard_enhanced/jest.config.js rename to x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js index 86ae949431e69..457d137ec4999 100644 --- a/x-pack/plugins/dashboard_enhanced/jest.config.js +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js @@ -7,11 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/dashboard_enhanced'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/dashboard_enhanced', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/dashboard_enhanced'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/dashboard_enhanced', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/dashboard_enhanced/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/shared/dashboard_enhanced/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/dashboard_enhanced/kibana.jsonc b/x-pack/platform/plugins/shared/dashboard_enhanced/kibana.jsonc similarity index 100% rename from x-pack/plugins/dashboard_enhanced/kibana.jsonc rename to x-pack/platform/plugins/shared/dashboard_enhanced/kibana.jsonc diff --git a/x-pack/plugins/dashboard_enhanced/public/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/mocks.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/mocks.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/mocks.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/mocks.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/plugin.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/plugin.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/i18n.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/i18n.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/i18n.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/i18n.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/server/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/server/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/server/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/server/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/server/plugin.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/server/plugin.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts diff --git a/x-pack/plugins/dashboard_enhanced/tsconfig.json b/x-pack/platform/plugins/shared/dashboard_enhanced/tsconfig.json similarity index 93% rename from x-pack/plugins/dashboard_enhanced/tsconfig.json rename to x-pack/platform/plugins/shared/dashboard_enhanced/tsconfig.json index 6663b6096e27c..b8026be8652b2 100644 --- a/x-pack/plugins/dashboard_enhanced/tsconfig.json +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/yarn.lock b/yarn.lock index b9041017742cd..3f5765b829c42 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5209,7 +5209,7 @@ version "0.0.0" uid "" -"@kbn/dashboard-enhanced-plugin@link:x-pack/plugins/dashboard_enhanced": +"@kbn/dashboard-enhanced-plugin@link:x-pack/platform/plugins/shared/dashboard_enhanced": version "0.0.0" uid "" From a6e6eed5974f1c4852be22d1e5394c9aaa780411 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 15:45:04 +0100 Subject: [PATCH 04/29] Relocating module `@kbn/dashboard-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- .../contributing/development-tests.asciidoc | 12 ++++++------ docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- .../plugins/shared}/dashboard/.storybook/main.js | 0 .../plugins/shared}/dashboard/README.asciidoc | 0 .../plugins/shared}/dashboard/README.md | 0 .../plugins/shared}/dashboard/common/bwc/types.ts | 0 .../dashboard/common/content_management/constants.ts | 0 .../dashboard/common/content_management/index.ts | 0 .../dashboard/common/content_management/types.ts | 0 .../dashboard/common/content_management/v1/index.ts | 0 .../dashboard/common/content_management/v1/types.ts | 0 .../dashboard/common/content_management/v2/index.ts | 0 .../dashboard/common/content_management/v2/types.ts | 0 .../dashboard_container_references.test.ts | 0 .../dashboard_container_references.ts | 0 .../dashboard/common/dashboard_container/types.ts | 0 .../dashboard_saved_object_references.test.ts | 0 .../dashboard_saved_object_references.ts | 0 .../plugins/shared}/dashboard/common/index.ts | 0 .../common/lib/dashboard_panel_converters.ts | 0 .../plugins/shared}/dashboard/common/types.ts | 0 .../plugins/shared}/dashboard/jest.config.js | 10 +++++----- .../plugins/shared}/dashboard/jest_setup.ts | 0 .../plugins/shared}/dashboard/kibana.jsonc | 0 .../dashboard/public/assets/dashboards_dark.svg | 0 .../dashboard/public/assets/dashboards_light.svg | 0 .../dashboard_actions/_dashboard_actions_strings.ts | 0 .../dashboard_actions/add_to_library_action.tsx | 0 .../dashboard_actions/clone_panel_action.test.tsx | 0 .../public/dashboard_actions/clone_panel_action.tsx | 0 .../dashboard_actions/copy_to_dashboard_action.tsx | 0 .../dashboard_actions/copy_to_dashboard_modal.tsx | 0 .../dashboard_actions/expand_panel_action.test.tsx | 0 .../public/dashboard_actions/expand_panel_action.tsx | 0 .../dashboard_actions/export_csv_action.test.tsx | 0 .../public/dashboard_actions/export_csv_action.tsx | 0 .../filters_notification_action.test.tsx | 0 .../filters_notification_action.tsx | 0 .../filters_notification_popover.test.tsx | 0 .../filters_notification_popover.tsx | 0 .../dashboard/public/dashboard_actions/index.ts | 0 .../legacy_add_to_library_action.test.tsx | 0 .../legacy_add_to_library_action.tsx | 0 .../legacy_unlink_from_library_action.test.tsx | 0 .../legacy_unlink_from_library_action.tsx | 0 .../dashboard_actions/unlink_from_library_action.tsx | 0 .../public/dashboard_api/are_panel_layouts_equal.ts | 0 .../public/dashboard_api/data_loading_manager.ts | 0 .../public/dashboard_api/data_views_manager.ts | 0 .../public/dashboard_api/get_dashboard_api.ts | 0 .../public/dashboard_api/load_dashboard_api.ts | 0 .../public/dashboard_api/open_save_modal.tsx | 0 .../dashboard/public/dashboard_api/panels_manager.ts | 0 .../public/dashboard_api/search_session_manager.ts | 0 .../public/dashboard_api/settings_manager.ts | 0 .../public/dashboard_api/track_contentful_render.ts | 0 .../dashboard/public/dashboard_api/track_overlay.ts | 0 .../dashboard/public/dashboard_api/track_panel.ts | 0 .../shared}/dashboard/public/dashboard_api/types.ts | 0 .../public/dashboard_api/unified_search_manager.ts | 0 .../public/dashboard_api/unsaved_changes_manager.ts | 0 .../public/dashboard_api/use_dashboard_api.ts | 0 .../dashboard_api/use_dashboard_internal_api.ts | 0 .../public/dashboard_api/view_mode_manager.ts | 0 .../public/dashboard_app/_dashboard_app.scss | 0 .../public/dashboard_app/_dashboard_app_strings.ts | 0 .../public/dashboard_app/dashboard_app.test.tsx | 0 .../dashboard/public/dashboard_app/dashboard_app.tsx | 0 .../public/dashboard_app/dashboard_router.tsx | 0 .../dashboard_app/hooks/dashboard_mount_context.ts | 0 .../hooks/use_dashboard_outcome_validation.tsx | 0 .../hooks/use_observability_ai_assistant_context.tsx | 0 .../listing_page/dashboard_listing_page.test.tsx | 0 .../listing_page/dashboard_listing_page.tsx | 0 .../listing_page/dashboard_no_match.tsx | 0 .../get_dashboard_list_item_link.test.ts | 0 .../listing_page/get_dashboard_list_item_link.ts | 0 .../locator/get_dashboard_locator_params.ts | 0 .../locator/load_dashboard_history_location_state.ts | 0 .../public/dashboard_app/locator/locator.test.ts | 0 .../public/dashboard_app/locator/locator.ts | 0 .../dashboard_app/no_data/dashboard_app_no_data.tsx | 0 .../tab_title_setter/dashboard_tab_title_setter.tsx | 0 .../add_panel_action_menu_items.test.ts | 0 .../add_new_panel/add_panel_action_menu_items.ts | 0 .../dashboard_panel_selection_flyout.test.tsx | 0 .../dashboard_panel_selection_flyout.tsx | 0 .../dashboard_app/top_nav/add_new_panel/index.ts | 0 .../add_new_panel/use_get_dashboard_panels.test.ts | 0 .../add_new_panel/use_get_dashboard_panels.ts | 0 .../add_data_control_button.tsx | 0 .../add_time_slider_control_button.tsx | 0 .../controls_toolbar_button.tsx | 0 .../edit_control_group_button.tsx | 0 .../top_nav/controls_toolbar_button/index.ts | 0 .../top_nav/dashboard_editing_toolbar.tsx | 0 .../public/dashboard_app/top_nav/editor_menu.scss | 0 .../dashboard_app/top_nav/editor_menu.test.tsx | 0 .../public/dashboard_app/top_nav/editor_menu.tsx | 0 .../top_nav/share/show_share_modal.test.tsx | 0 .../dashboard_app/top_nav/share/show_share_modal.tsx | 0 .../top_nav/use_dashboard_menu_items.tsx | 0 .../shared}/dashboard/public/dashboard_app/types.ts | 0 .../dashboard_app/url/search_sessions_integration.ts | 0 .../dashboard/public/dashboard_app/url/url_utils.ts | 0 .../shared}/dashboard/public/dashboard_constants.ts | 0 .../dashboard_container/_dashboard_container.scss | 0 .../_dashboard_container_strings.ts | 0 .../dashboard_empty_screen.test.tsx.snap | 8 ++++---- .../empty_screen/dashboard_empty_screen.test.tsx | 0 .../empty_screen/dashboard_empty_screen.tsx | 0 .../component/grid/_dashboard_grid.scss | 0 .../component/grid/_dashboard_panel.scss | 0 .../dashboard_container/component/grid/_index.scss | 0 .../component/grid/dashboard_grid.test.tsx | 0 .../component/grid/dashboard_grid.tsx | 0 .../component/grid/dashboard_grid_item.test.tsx | 0 .../component/grid/dashboard_grid_item.tsx | 0 .../dashboard_container/component/grid/index.ts | 0 .../component/grid/use_dashboard_grid_settings.tsx | 0 .../dashboard_container/component/settings/index.ts | 0 .../component/settings/settings_flyout.tsx | 0 .../dashboard_container/component/viewport/README.md | 0 .../component/viewport/_dashboard_viewport.scss | 0 .../component/viewport/_index.scss | 0 .../component/viewport/_print_viewport.scss | 0 .../component/viewport/dashboard_viewport.tsx | 0 .../component/viewport/print_media/README.md | 0 .../viewport/print_media/styling/_index.scss | 0 .../viewport/print_media/styling/_vars.scss | 0 .../embeddable/api/add_panel_from_library.ts | 0 .../dashboard_container/embeddable/api/index.ts | 0 .../api/lib/extract_title_and_count.test.ts | 0 .../embeddable/api/lib/extract_title_and_count.ts | 0 .../embeddable/api/open_settings_flyout.tsx | 0 .../overlays/__snapshots__/save_modal.test.js.snap | 0 .../embeddable/api/overlays/save_modal.test.js | 0 .../embeddable/api/overlays/save_modal.tsx | 0 .../performance/query_performance_tracking.test.ts | 0 .../create/performance/query_performance_tracking.ts | 0 .../create/search_sessions/new_session.test.ts | 0 .../embeddable/create/search_sessions/new_session.ts | 0 .../start_dashboard_search_session_integration.ts | 0 .../external_api/dashboard_404.tsx | 0 .../external_api/dashboard_renderer.tsx | 0 .../external_api/lazy_dashboard_renderer.tsx | 0 .../dashboard/public/dashboard_container/index.ts | 0 .../dashboard_container/panel_placement/index.ts | 0 .../panel_placement/panel_placement_registry.ts | 0 .../panel_placement/place_clone_panel_strategy.ts | 0 .../panel_placement/place_new_panel_strategies.ts | 0 .../dashboard_container/panel_placement/types.ts | 0 .../dashboard/public/dashboard_container/types.ts | 0 .../dashboard_listing/_dashboard_listing_strings.ts | 0 .../public/dashboard_listing/confirm_overlays.tsx | 0 .../dashboard_listing/dashboard_listing.test.tsx | 0 .../public/dashboard_listing/dashboard_listing.tsx | 0 .../dashboard_listing_empty_prompt.test.tsx | 0 .../dashboard_listing_empty_prompt.tsx | 0 .../dashboard_listing/dashboard_listing_table.tsx | 0 .../dashboard_unsaved_listing.test.tsx | 0 .../dashboard_listing/dashboard_unsaved_listing.tsx | 0 .../hooks/use_dashboard_listing_table.test.tsx | 0 .../hooks/use_dashboard_listing_table.tsx | 0 .../dashboard/public/dashboard_listing/index.tsx | 0 .../dashboard/public/dashboard_listing/types.ts | 0 .../public/dashboard_top_nav/_dashboard_top_nav.scss | 0 .../dashboard_top_nav_with_context.tsx | 0 .../dashboard/public/dashboard_top_nav/index.tsx | 0 .../internal_dashboard_top_nav.test.tsx | 0 .../dashboard_top_nav/internal_dashboard_top_nav.tsx | 0 .../plugins/shared}/dashboard/public/index.ts | 0 .../plugins/shared}/dashboard/public/mocks.tsx | 0 .../plugins/shared}/dashboard/public/plugin.tsx | 0 .../public/services/dashboard_backup_service.ts | 0 .../dashboard_content_management_cache.ts | 0 .../dashboard_content_management_service/index.ts | 0 .../lib/check_for_duplicate_dashboard_title.test.ts | 0 .../lib/check_for_duplicate_dashboard_title.ts | 0 .../lib/dashboard_versioning.ts | 0 .../lib/delete_dashboards.ts | 0 .../lib/find_dashboards.ts | 0 .../lib/load_dashboard_state.test.ts | 0 .../lib/load_dashboard_state.ts | 0 .../lib/save_dashboard_state.test.ts | 0 .../lib/save_dashboard_state.ts | 0 .../lib/update_dashboard_meta.ts | 0 .../dashboard_content_management_service/types.ts | 0 .../services/dashboard_recently_accessed_service.ts | 0 .../dashboard/public/services/kibana_services.ts | 0 .../shared}/dashboard/public/services/mocks.ts | 0 .../public/utils/clean_filters_for_serialize.test.ts | 0 .../public/utils/clean_filters_for_serialize.ts | 0 .../public/utils/get_dashboard_capabilities.ts | 0 .../shared}/dashboard/server/api/constants.ts | 0 .../plugins/shared}/dashboard/server/api/index.ts | 0 .../shared}/dashboard/server/api/register_routes.ts | 0 .../dashboard/server/capabilities_provider.ts | 0 .../plugins/shared}/dashboard/server/config.ts | 0 .../server/content_management/cm_services.ts | 0 .../server/content_management/dashboard_storage.ts | 0 .../dashboard/server/content_management/index.ts | 0 .../dashboard/server/content_management/latest.ts | 0 .../server/content_management/v1/cm_services.ts | 0 .../dashboard/server/content_management/v1/index.ts | 0 .../server/content_management/v2/cm_services.ts | 0 .../dashboard/server/content_management/v2/index.ts | 0 .../server/content_management/v3/cm_services.ts | 0 .../dashboard/server/content_management/v3/index.ts | 0 .../content_management/v3/transform_utils.test.ts | 0 .../server/content_management/v3/transform_utils.ts | 0 .../dashboard/server/content_management/v3/types.ts | 0 .../dashboard_container_embeddable_factory.ts | 0 .../dashboard_saved_object.test.ts | 0 .../dashboard_saved_object/dashboard_saved_object.ts | 0 .../dashboard/server/dashboard_saved_object/index.ts | 0 .../dashboard_saved_object_migrations.test.ts | 0 .../migrations/dashboard_saved_object_migrations.ts | 0 .../migrations/migrate_by_value_dashboard_panels.ts | 0 .../migrations/migrate_extract_panel_references.ts | 0 .../migrations/migrate_hidden_titles.ts | 0 .../migrate_index_pattern_reference.test.ts | 0 .../migrations/migrate_index_pattern_reference.ts | 0 .../migrations/migrate_match_all_query.test.ts | 0 .../migrations/migrate_match_all_query.ts | 0 .../migrations/migrate_to_730/index.ts | 0 .../migrate_to_730/migrate_to_730_panels.test.ts | 0 .../migrate_to_730/migrate_to_730_panels.ts | 0 .../migrations/migrate_to_730/migrations_700.ts | 0 .../migrations/migrate_to_730/migrations_730.test.ts | 0 .../migrations/migrate_to_730/migrations_730.ts | 0 .../migrate_to_730/move_filters_to_query.test.ts | 0 .../migrate_to_730/move_filters_to_query.ts | 0 .../migrations/migrate_to_730/readme.md | 0 .../migrations/migrate_to_730/types.ts | 0 .../dashboard_saved_object/migrations/utils.test.ts | 0 .../dashboard_saved_object/migrations/utils.ts | 0 .../server/dashboard_saved_object/schema/index.ts | 0 .../server/dashboard_saved_object/schema/latest.ts | 0 .../server/dashboard_saved_object/schema/v1/index.ts | 0 .../server/dashboard_saved_object/schema/v1/types.ts | 0 .../server/dashboard_saved_object/schema/v1/v1.ts | 0 .../server/dashboard_saved_object/schema/v2/index.ts | 0 .../server/dashboard_saved_object/schema/v2/types.ts | 0 .../server/dashboard_saved_object/schema/v2/v2.ts | 0 .../plugins/shared}/dashboard/server/index.ts | 0 .../plugins/shared}/dashboard/server/plugin.test.ts | 0 .../plugins/shared}/dashboard/server/plugin.ts | 0 .../plugins/shared}/dashboard/server/types.ts | 0 .../plugins/shared}/dashboard/server/ui_settings.ts | 0 .../server/usage/dashboard_telemetry.test.ts | 0 .../dashboard/server/usage/dashboard_telemetry.ts | 0 .../usage/dashboard_telemetry_collection_task.ts | 0 .../dashboard/server/usage/register_collector.ts | 0 .../dashboard/server/usage/task_state.test.ts | 0 .../shared}/dashboard/server/usage/task_state.ts | 0 .../plugins/shared}/dashboard/tsconfig.json | 2 +- .../public/visualize_app/utils/migrate_app_state.ts | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 264 files changed, 25 insertions(+), 25 deletions(-) rename src/{plugins => platform/plugins/shared}/dashboard/.storybook/main.js (100%) rename src/{plugins => platform/plugins/shared}/dashboard/README.asciidoc (100%) rename src/{plugins => platform/plugins/shared}/dashboard/README.md (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/bwc/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/content_management/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/content_management/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/content_management/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/content_management/v1/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/content_management/v1/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/content_management/v2/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/content_management/v2/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/dashboard_container/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/lib/dashboard_panel_converters.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/common/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/jest.config.js (65%) rename src/{plugins => platform/plugins/shared}/dashboard/jest_setup.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/assets/dashboards_dark.svg (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/assets/dashboards_light.svg (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/_dashboard_actions_strings.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/add_to_library_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/clone_panel_action.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/clone_panel_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/copy_to_dashboard_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/expand_panel_action.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/expand_panel_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/export_csv_action.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/export_csv_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/filters_notification_action.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/filters_notification_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/filters_notification_popover.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/filters_notification_popover.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/legacy_add_to_library_action.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_actions/unlink_from_library_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/are_panel_layouts_equal.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/data_loading_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/data_views_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/get_dashboard_api.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/load_dashboard_api.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/open_save_modal.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/panels_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/search_session_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/settings_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/track_contentful_render.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/track_overlay.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/track_panel.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/unified_search_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/unsaved_changes_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/use_dashboard_api.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/use_dashboard_internal_api.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_api/view_mode_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/_dashboard_app.scss (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/_dashboard_app_strings.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/dashboard_app.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/dashboard_app.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/dashboard_router.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/hooks/dashboard_mount_context.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/hooks/use_dashboard_outcome_validation.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/hooks/use_observability_ai_assistant_context.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/listing_page/dashboard_no_match.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/locator/load_dashboard_history_location_state.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/locator/locator.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/locator/locator.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/no_data/dashboard_app_no_data.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/tab_title_setter/dashboard_tab_title_setter.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/add_new_panel/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_data_control_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/edit_control_group_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/editor_menu.scss (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/editor_menu.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/share/show_share_modal.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/share/show_share_modal.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/url/search_sessions_integration.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_app/url/url_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_constants.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/_dashboard_container.scss (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/_dashboard_container_strings.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap (97%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/grid/_dashboard_grid.scss (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/grid/_dashboard_panel.scss (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/grid/_index.scss (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/grid/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/grid/use_dashboard_grid_settings.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/settings/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/settings/settings_flyout.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/viewport/README.md (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/viewport/_dashboard_viewport.scss (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/viewport/_index.scss (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/viewport/_print_viewport.scss (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/viewport/dashboard_viewport.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/viewport/print_media/README.md (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/viewport/print_media/styling/_index.scss (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/component/viewport/print_media/styling/_vars.scss (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/embeddable/api/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/embeddable/api/open_settings_flyout.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/embeddable/api/overlays/__snapshots__/save_modal.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.test.js (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/external_api/dashboard_404.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/panel_placement/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/panel_placement/panel_placement_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/panel_placement/place_clone_panel_strategy.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/panel_placement/place_new_panel_strategies.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/panel_placement/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_container/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_listing/_dashboard_listing_strings.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_listing/confirm_overlays.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_listing/dashboard_listing.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_listing/dashboard_listing.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_listing/dashboard_listing_table.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_listing/dashboard_unsaved_listing.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_listing/dashboard_unsaved_listing.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_listing/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_listing/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_top_nav/_dashboard_top_nav.scss (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_top_nav/dashboard_top_nav_with_context.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_top_nav/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/mocks.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/plugin.tsx (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_backup_service.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_content_management_service/dashboard_content_management_cache.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_content_management_service/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_content_management_service/lib/dashboard_versioning.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_content_management_service/lib/delete_dashboards.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_content_management_service/lib/update_dashboard_meta.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_content_management_service/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/dashboard_recently_accessed_service.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/kibana_services.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/services/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/utils/clean_filters_for_serialize.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/utils/clean_filters_for_serialize.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/public/utils/get_dashboard_capabilities.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/api/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/api/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/api/register_routes.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/capabilities_provider.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/config.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/content_management/cm_services.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/content_management/dashboard_storage.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/content_management/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/content_management/latest.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/content_management/v1/cm_services.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/content_management/v1/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/content_management/v2/cm_services.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/content_management/v2/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/content_management/v3/cm_services.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/content_management/v3/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/content_management/v3/transform_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/content_management/v3/transform_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/content_management/v3/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_container/dashboard_container_embeddable_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/dashboard_saved_object.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_by_value_dashboard_panels.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_extract_panel_references.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_hidden_titles.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_700.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/readme.md (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/migrations/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/schema/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/schema/latest.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/schema/v1/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/schema/v1/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/schema/v1/v1.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/schema/v2/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/schema/v2/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/dashboard_saved_object/schema/v2/v2.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/types.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/ui_settings.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/usage/dashboard_telemetry.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/usage/dashboard_telemetry.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/usage/dashboard_telemetry_collection_task.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/usage/register_collector.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/usage/task_state.test.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/server/usage/task_state.ts (100%) rename src/{plugins => platform/plugins/shared}/dashboard/tsconfig.json (98%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d59b6c9a14d62..491047bdeca97 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -613,6 +613,7 @@ src/platform/packages/shared/serverless/settings/security_project @elastic/secur src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant src/platform/plugins/shared/console @elastic/kibana-management src/platform/plugins/shared/controls @elastic/kibana-presentation +src/platform/plugins/shared/dashboard @elastic/kibana-presentation src/platform/plugins/shared/dev_tools @elastic/kibana-management src/platform/plugins/shared/es_ui_shared @elastic/kibana-management src/platform/plugins/shared/esql @elastic/kibana-esql @@ -631,7 +632,6 @@ src/plugins/chart_expressions/expression_xy @elastic/kibana-visualizations src/plugins/charts @elastic/kibana-visualizations src/plugins/content_management @elastic/appex-sharedux src/plugins/custom_integrations @elastic/fleet -src/plugins/dashboard @elastic/kibana-presentation src/plugins/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/plugins/data_view_editor @elastic/kibana-data-discovery src/plugins/data_view_field_editor @elastic/kibana-data-discovery diff --git a/.i18nrc.json b/.i18nrc.json index 79914ea07ee6b..bf63135b82383 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -18,7 +18,7 @@ "core": ["src/core", "packages/core"], "customIntegrations": "src/plugins/custom_integrations", "customIntegrationsPackage": "packages/kbn-custom-integrations", - "dashboard": "src/plugins/dashboard", + "dashboard": "src/platform/plugins/shared/dashboard", "cloud": "packages/cloud", "domDragDrop": "packages/kbn-dom-drag-drop", "controls": "src/platform/plugins/shared/controls", diff --git a/docs/developer/contributing/development-tests.asciidoc b/docs/developer/contributing/development-tests.asciidoc index d4a478040b4f8..fc610a2ffca84 100644 --- a/docs/developer/contributing/development-tests.asciidoc +++ b/docs/developer/contributing/development-tests.asciidoc @@ -33,27 +33,27 @@ Kibana primarily uses Jest for unit testing. Each plugin or package defines a `j [source,bash] ---- -yarn jest --config src/plugins/dashboard/jest.config.js +yarn jest --config src/platform/plugins/shared/dashboard/jest.config.js ---- A script is available to provide a better user experience when testing while navigating throughout the repository. To run the tests within your current working directory, use `yarn test:jest`. Like the Jest CLI, you can also supply a path to determine which tests to run. [source,bash] ---- -kibana/src/plugins/dashboard/server$ yarn test:jest #or -kibana/src/plugins/dashboard$ yarn test:jest server #or -kibana$ yarn test:jest src/plugins/dashboard/server +kibana/src/platform/plugins/shared/dashboard/server$ yarn test:jest #or +kibana/src/platform/plugins/shared/dashboard$ yarn test:jest server #or +kibana$ yarn test:jest src/platform/plugins/shared/dashboard/server ---- Any additional options supplied to `test:jest` will be passed onto the Jest CLI with the resulting Jest command always being outputted. [source,bash] ---- -kibana/src/plugins/dashboard/server$ yarn test:jest --coverage +kibana/src/platform/plugins/shared/dashboard/server$ yarn test:jest --coverage # is equivalent to -yarn jest --coverage --verbose --config /home/tyler/elastic/kibana/src/plugins/dashboard/jest.config.js server +yarn jest --coverage --verbose --config /home/tyler/elastic/kibana/src/platform/plugins/shared/dashboard/jest.config.js server ---- You can generate code coverage report for a single plugin. diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index c7153b3565b5f..85b036e14d5f2 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -984,7 +984,7 @@ in their infrastructure. |=== -include::{kibana-root}/src/plugins/dashboard/README.asciidoc[leveloffset=+1] +include::{kibana-root}/src/platform/plugins/shared/dashboard/README.asciidoc[leveloffset=+1] include::{kibana-root}/src/plugins/expressions/README.asciidoc[leveloffset=+1] include::{kibana-root}/src/plugins/ui_actions/README.asciidoc[leveloffset=+1] include::{kibana-root}/x-pack/platform/plugins/shared/dashboard_enhanced/README.asciidoc[leveloffset=+1] diff --git a/package.json b/package.json index 67ed5dc37c415..671ca826e4d0b 100644 --- a/package.json +++ b/package.json @@ -422,7 +422,7 @@ "@kbn/custom-integrations": "link:packages/kbn-custom-integrations", "@kbn/custom-integrations-plugin": "link:src/plugins/custom_integrations", "@kbn/dashboard-enhanced-plugin": "link:x-pack/platform/plugins/shared/dashboard_enhanced", - "@kbn/dashboard-plugin": "link:src/plugins/dashboard", + "@kbn/dashboard-plugin": "link:src/platform/plugins/shared/dashboard", "@kbn/data-forge": "link:x-pack/platform/packages/shared/kbn-data-forge", "@kbn/data-plugin": "link:src/plugins/data", "@kbn/data-quality-plugin": "link:x-pack/plugins/data_quality", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index fb4a0c31ad93d..c8873cc31ae9c 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -28,7 +28,7 @@ export const storybookAliases = { custom_icons: 'packages/kbn-custom-icons/.storybook', custom_integrations: 'src/plugins/custom_integrations/storybook', dashboard_enhanced: 'x-pack/platform/plugins/shared/dashboard_enhanced/.storybook', - dashboard: 'src/plugins/dashboard/.storybook', + dashboard: 'src/platform/plugins/shared/dashboard/.storybook', data: 'src/plugins/data/.storybook', discover: 'src/plugins/discover/.storybook', esql_ast_inspector: 'examples/esql_ast_inspector/.storybook', diff --git a/src/plugins/dashboard/.storybook/main.js b/src/platform/plugins/shared/dashboard/.storybook/main.js similarity index 100% rename from src/plugins/dashboard/.storybook/main.js rename to src/platform/plugins/shared/dashboard/.storybook/main.js diff --git a/src/plugins/dashboard/README.asciidoc b/src/platform/plugins/shared/dashboard/README.asciidoc similarity index 100% rename from src/plugins/dashboard/README.asciidoc rename to src/platform/plugins/shared/dashboard/README.asciidoc diff --git a/src/plugins/dashboard/README.md b/src/platform/plugins/shared/dashboard/README.md similarity index 100% rename from src/plugins/dashboard/README.md rename to src/platform/plugins/shared/dashboard/README.md diff --git a/src/plugins/dashboard/common/bwc/types.ts b/src/platform/plugins/shared/dashboard/common/bwc/types.ts similarity index 100% rename from src/plugins/dashboard/common/bwc/types.ts rename to src/platform/plugins/shared/dashboard/common/bwc/types.ts diff --git a/src/plugins/dashboard/common/content_management/constants.ts b/src/platform/plugins/shared/dashboard/common/content_management/constants.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/constants.ts rename to src/platform/plugins/shared/dashboard/common/content_management/constants.ts diff --git a/src/plugins/dashboard/common/content_management/index.ts b/src/platform/plugins/shared/dashboard/common/content_management/index.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/index.ts rename to src/platform/plugins/shared/dashboard/common/content_management/index.ts diff --git a/src/plugins/dashboard/common/content_management/types.ts b/src/platform/plugins/shared/dashboard/common/content_management/types.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/types.ts rename to src/platform/plugins/shared/dashboard/common/content_management/types.ts diff --git a/src/plugins/dashboard/common/content_management/v1/index.ts b/src/platform/plugins/shared/dashboard/common/content_management/v1/index.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/v1/index.ts rename to src/platform/plugins/shared/dashboard/common/content_management/v1/index.ts diff --git a/src/plugins/dashboard/common/content_management/v1/types.ts b/src/platform/plugins/shared/dashboard/common/content_management/v1/types.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/v1/types.ts rename to src/platform/plugins/shared/dashboard/common/content_management/v1/types.ts diff --git a/src/plugins/dashboard/common/content_management/v2/index.ts b/src/platform/plugins/shared/dashboard/common/content_management/v2/index.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/v2/index.ts rename to src/platform/plugins/shared/dashboard/common/content_management/v2/index.ts diff --git a/src/plugins/dashboard/common/content_management/v2/types.ts b/src/platform/plugins/shared/dashboard/common/content_management/v2/types.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/v2/types.ts rename to src/platform/plugins/shared/dashboard/common/content_management/v2/types.ts diff --git a/src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts b/src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts similarity index 100% rename from src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts diff --git a/src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts b/src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts similarity index 100% rename from src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts diff --git a/src/plugins/dashboard/common/dashboard_container/types.ts b/src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts similarity index 100% rename from src/plugins/dashboard/common/dashboard_container/types.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts diff --git a/src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.test.ts b/src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.test.ts similarity index 100% rename from src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.test.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.test.ts diff --git a/src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts b/src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts similarity index 100% rename from src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts diff --git a/src/plugins/dashboard/common/index.ts b/src/platform/plugins/shared/dashboard/common/index.ts similarity index 100% rename from src/plugins/dashboard/common/index.ts rename to src/platform/plugins/shared/dashboard/common/index.ts diff --git a/src/plugins/dashboard/common/lib/dashboard_panel_converters.ts b/src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts similarity index 100% rename from src/plugins/dashboard/common/lib/dashboard_panel_converters.ts rename to src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts diff --git a/src/plugins/dashboard/common/types.ts b/src/platform/plugins/shared/dashboard/common/types.ts similarity index 100% rename from src/plugins/dashboard/common/types.ts rename to src/platform/plugins/shared/dashboard/common/types.ts diff --git a/src/plugins/dashboard/jest.config.js b/src/platform/plugins/shared/dashboard/jest.config.js similarity index 65% rename from src/plugins/dashboard/jest.config.js rename to src/platform/plugins/shared/dashboard/jest.config.js index fb095ef361b06..465782b50cabe 100644 --- a/src/plugins/dashboard/jest.config.js +++ b/src/platform/plugins/shared/dashboard/jest.config.js @@ -9,10 +9,10 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/dashboard'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/dashboard', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/dashboard'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/dashboard', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/dashboard/{common,public,server}/**/*.{ts,tsx}'], - setupFiles: ['/src/plugins/dashboard/jest_setup.ts'], + collectCoverageFrom: ['/src/platform/plugins/shared/dashboard/{common,public,server}/**/*.{ts,tsx}'], + setupFiles: ['/src/platform/plugins/shared/dashboard/jest_setup.ts'], }; diff --git a/src/plugins/dashboard/jest_setup.ts b/src/platform/plugins/shared/dashboard/jest_setup.ts similarity index 100% rename from src/plugins/dashboard/jest_setup.ts rename to src/platform/plugins/shared/dashboard/jest_setup.ts diff --git a/src/plugins/dashboard/kibana.jsonc b/src/platform/plugins/shared/dashboard/kibana.jsonc similarity index 100% rename from src/plugins/dashboard/kibana.jsonc rename to src/platform/plugins/shared/dashboard/kibana.jsonc diff --git a/src/plugins/dashboard/public/assets/dashboards_dark.svg b/src/platform/plugins/shared/dashboard/public/assets/dashboards_dark.svg similarity index 100% rename from src/plugins/dashboard/public/assets/dashboards_dark.svg rename to src/platform/plugins/shared/dashboard/public/assets/dashboards_dark.svg diff --git a/src/plugins/dashboard/public/assets/dashboards_light.svg b/src/platform/plugins/shared/dashboard/public/assets/dashboards_light.svg similarity index 100% rename from src/plugins/dashboard/public/assets/dashboards_light.svg rename to src/platform/plugins/shared/dashboard/public/assets/dashboards_light.svg diff --git a/src/plugins/dashboard/public/dashboard_actions/_dashboard_actions_strings.ts b/src/platform/plugins/shared/dashboard/public/dashboard_actions/_dashboard_actions_strings.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/_dashboard_actions_strings.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/_dashboard_actions_strings.ts diff --git a/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/clone_panel_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/clone_panel_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/clone_panel_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/clone_panel_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/clone_panel_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/clone_panel_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/clone_panel_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/clone_panel_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/copy_to_dashboard_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/copy_to_dashboard_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/expand_panel_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/expand_panel_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/expand_panel_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/expand_panel_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/expand_panel_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/expand_panel_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/expand_panel_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/expand_panel_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/export_csv_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/export_csv_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/export_csv_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/export_csv_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/export_csv_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/export_csv_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/export_csv_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/export_csv_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/filters_notification_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/filters_notification_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/filters_notification_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/filters_notification_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/filters_notification_popover.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_popover.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/filters_notification_popover.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_popover.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/filters_notification_popover.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_popover.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/filters_notification_popover.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_popover.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_actions/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/index.ts diff --git a/src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/unlink_from_library_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/unlink_from_library_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/unlink_from_library_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/unlink_from_library_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_api/are_panel_layouts_equal.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/are_panel_layouts_equal.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/are_panel_layouts_equal.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/are_panel_layouts_equal.ts diff --git a/src/plugins/dashboard/public/dashboard_api/data_loading_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/data_loading_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/data_loading_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/data_loading_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/data_views_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/data_views_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/data_views_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/data_views_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/get_dashboard_api.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/get_dashboard_api.ts diff --git a/src/plugins/dashboard/public/dashboard_api/load_dashboard_api.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/load_dashboard_api.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/load_dashboard_api.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/load_dashboard_api.ts diff --git a/src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_api/open_save_modal.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_api/open_save_modal.tsx diff --git a/src/plugins/dashboard/public/dashboard_api/panels_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/panels_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/panels_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/panels_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/search_session_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/search_session_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/search_session_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/search_session_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/settings_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/settings_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/settings_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/settings_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/track_contentful_render.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/track_contentful_render.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/track_contentful_render.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/track_contentful_render.ts diff --git a/src/plugins/dashboard/public/dashboard_api/track_overlay.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/track_overlay.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/track_overlay.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/track_overlay.ts diff --git a/src/plugins/dashboard/public/dashboard_api/track_panel.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/track_panel.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/track_panel.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/track_panel.ts diff --git a/src/plugins/dashboard/public/dashboard_api/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts diff --git a/src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/unified_search_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/unified_search_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/unsaved_changes_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/unsaved_changes_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/unsaved_changes_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/unsaved_changes_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/use_dashboard_api.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/use_dashboard_api.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/use_dashboard_api.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/use_dashboard_api.ts diff --git a/src/plugins/dashboard/public/dashboard_api/use_dashboard_internal_api.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/use_dashboard_internal_api.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/use_dashboard_internal_api.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/use_dashboard_internal_api.ts diff --git a/src/plugins/dashboard/public/dashboard_api/view_mode_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/view_mode_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/view_mode_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/view_mode_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_app/_dashboard_app.scss b/src/platform/plugins/shared/dashboard/public/dashboard_app/_dashboard_app.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/_dashboard_app.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_app/_dashboard_app.scss diff --git a/src/plugins/dashboard/public/dashboard_app/_dashboard_app_strings.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/_dashboard_app_strings.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/_dashboard_app_strings.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/_dashboard_app_strings.ts diff --git a/src/plugins/dashboard/public/dashboard_app/dashboard_app.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_app.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/dashboard_app.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_app.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/dashboard_app.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_app.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/dashboard_app.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_app.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/dashboard_router.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_router.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/dashboard_router.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_router.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/hooks/dashboard_mount_context.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/dashboard_mount_context.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/hooks/dashboard_mount_context.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/dashboard_mount_context.ts diff --git a/src/plugins/dashboard/public/dashboard_app/hooks/use_dashboard_outcome_validation.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/use_dashboard_outcome_validation.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/hooks/use_dashboard_outcome_validation.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/use_dashboard_outcome_validation.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/hooks/use_observability_ai_assistant_context.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/use_observability_ai_assistant_context.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/hooks/use_observability_ai_assistant_context.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/use_observability_ai_assistant_context.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_no_match.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_no_match.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_no_match.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_no_match.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.test.ts diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.ts diff --git a/src/plugins/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts diff --git a/src/plugins/dashboard/public/dashboard_app/locator/load_dashboard_history_location_state.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/locator/load_dashboard_history_location_state.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/locator/load_dashboard_history_location_state.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/locator/load_dashboard_history_location_state.ts diff --git a/src/plugins/dashboard/public/dashboard_app/locator/locator.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/locator/locator.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.test.ts diff --git a/src/plugins/dashboard/public/dashboard_app/locator/locator.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/locator/locator.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.ts diff --git a/src/plugins/dashboard/public/dashboard_app/no_data/dashboard_app_no_data.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/no_data/dashboard_app_no_data.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/no_data/dashboard_app_no_data.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/no_data/dashboard_app_no_data.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/tab_title_setter/dashboard_tab_title_setter.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/tab_title_setter/dashboard_tab_title_setter.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/tab_title_setter/dashboard_tab_title_setter.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/tab_title_setter/dashboard_tab_title_setter.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.test.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/index.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.test.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_data_control_button.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_data_control_button.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_data_control_button.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_data_control_button.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/edit_control_group_button.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/edit_control_group_button.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/edit_control_group_button.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/edit_control_group_button.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/index.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.scss b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.scss diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/share/show_share_modal.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/share/show_share_modal.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/share/show_share_modal.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/share/show_share_modal.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/share/show_share_modal.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/share/show_share_modal.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/share/show_share_modal.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/share/show_share_modal.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/types.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/types.ts diff --git a/src/plugins/dashboard/public/dashboard_app/url/search_sessions_integration.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/url/search_sessions_integration.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/url/search_sessions_integration.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/url/search_sessions_integration.ts diff --git a/src/plugins/dashboard/public/dashboard_app/url/url_utils.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/url/url_utils.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/url/url_utils.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/url/url_utils.ts diff --git a/src/plugins/dashboard/public/dashboard_constants.ts b/src/platform/plugins/shared/dashboard/public/dashboard_constants.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_constants.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_constants.ts diff --git a/src/plugins/dashboard/public/dashboard_container/_dashboard_container.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/_dashboard_container.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/_dashboard_container.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/_dashboard_container.scss diff --git a/src/plugins/dashboard/public/dashboard_container/_dashboard_container_strings.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/_dashboard_container_strings.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/_dashboard_container_strings.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/_dashboard_container_strings.ts diff --git a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap similarity index 97% rename from src/plugins/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap index d478b18ef2ddb..b2a6bde7cae17 100644 --- a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap +++ b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap @@ -34,7 +34,7 @@ exports[`DashboardEmptyScreen renders correctly with edit mode 1`] = ` @@ -155,7 +155,7 @@ exports[`DashboardEmptyScreen renders correctly with readonly and edit mode 1`] @@ -225,7 +225,7 @@ exports[`DashboardEmptyScreen renders correctly with readonly mode 1`] = ` @@ -295,7 +295,7 @@ exports[`DashboardEmptyScreen renders correctly with view mode 1`] = ` diff --git a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/_dashboard_grid.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_dashboard_grid.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/_dashboard_grid.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_dashboard_grid.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/_dashboard_panel.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_dashboard_panel.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/_dashboard_panel.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_dashboard_panel.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/_index.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_index.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/_index.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_index.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/use_dashboard_grid_settings.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/use_dashboard_grid_settings.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/use_dashboard_grid_settings.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/use_dashboard_grid_settings.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/settings/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/settings/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/settings/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/settings/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/component/settings/settings_flyout.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/settings/settings_flyout.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/settings/settings_flyout.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/settings/settings_flyout.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/README.md b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/README.md similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/README.md rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/README.md diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/_dashboard_viewport.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_dashboard_viewport.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/_dashboard_viewport.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_dashboard_viewport.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/_index.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_index.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/_index.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_index.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/_print_viewport.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_print_viewport.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/_print_viewport.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_print_viewport.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/dashboard_viewport.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/dashboard_viewport.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/dashboard_viewport.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/dashboard_viewport.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/README.md b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/README.md similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/README.md rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/README.md diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/styling/_index.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/styling/_index.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/styling/_index.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/styling/_index.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/styling/_vars.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/styling/_vars.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/styling/_vars.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/styling/_vars.scss diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.test.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/open_settings_flyout.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/open_settings_flyout.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/open_settings_flyout.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/open_settings_flyout.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/__snapshots__/save_modal.test.js.snap b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/__snapshots__/save_modal.test.js.snap similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/__snapshots__/save_modal.test.js.snap rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/__snapshots__/save_modal.test.js.snap diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.test.js b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.test.js similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.test.js rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.test.js diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.test.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts diff --git a/src/plugins/dashboard/public/dashboard_container/external_api/dashboard_404.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/dashboard_404.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/external_api/dashboard_404.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/dashboard_404.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/panel_placement_registry.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/panel_placement_registry.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/panel_placement_registry.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/panel_placement_registry.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/place_clone_panel_strategy.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/place_clone_panel_strategy.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/place_clone_panel_strategy.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/place_clone_panel_strategy.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/place_new_panel_strategies.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/place_new_panel_strategies.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/place_new_panel_strategies.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/place_new_panel_strategies.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/types.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/types.ts diff --git a/src/plugins/dashboard/public/dashboard_container/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/types.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/types.ts diff --git a/src/plugins/dashboard/public/dashboard_listing/_dashboard_listing_strings.ts b/src/platform/plugins/shared/dashboard/public/dashboard_listing/_dashboard_listing_strings.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/_dashboard_listing_strings.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/_dashboard_listing_strings.ts diff --git a/src/plugins/dashboard/public/dashboard_listing/confirm_overlays.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/confirm_overlays.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/confirm_overlays.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/confirm_overlays.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing_table.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_table.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing_table.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_table.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_unsaved_listing.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_unsaved_listing.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_unsaved_listing.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_unsaved_listing.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_unsaved_listing.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_unsaved_listing.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_unsaved_listing.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_unsaved_listing.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/index.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/index.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/index.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/index.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_listing/types.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/types.ts diff --git a/src/plugins/dashboard/public/dashboard_top_nav/_dashboard_top_nav.scss b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/_dashboard_top_nav.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/_dashboard_top_nav.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/_dashboard_top_nav.scss diff --git a/src/plugins/dashboard/public/dashboard_top_nav/dashboard_top_nav_with_context.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/dashboard_top_nav_with_context.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/dashboard_top_nav_with_context.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/dashboard_top_nav_with_context.tsx diff --git a/src/plugins/dashboard/public/dashboard_top_nav/index.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/index.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/index.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/index.tsx diff --git a/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx diff --git a/src/plugins/dashboard/public/index.ts b/src/platform/plugins/shared/dashboard/public/index.ts similarity index 100% rename from src/plugins/dashboard/public/index.ts rename to src/platform/plugins/shared/dashboard/public/index.ts diff --git a/src/plugins/dashboard/public/mocks.tsx b/src/platform/plugins/shared/dashboard/public/mocks.tsx similarity index 100% rename from src/plugins/dashboard/public/mocks.tsx rename to src/platform/plugins/shared/dashboard/public/mocks.tsx diff --git a/src/plugins/dashboard/public/plugin.tsx b/src/platform/plugins/shared/dashboard/public/plugin.tsx similarity index 100% rename from src/plugins/dashboard/public/plugin.tsx rename to src/platform/plugins/shared/dashboard/public/plugin.tsx diff --git a/src/plugins/dashboard/public/services/dashboard_backup_service.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_backup_service.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_backup_service.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_backup_service.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/dashboard_content_management_cache.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/dashboard_content_management_cache.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/dashboard_content_management_cache.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/dashboard_content_management_cache.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/index.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/index.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/index.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/index.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.test.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.test.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.test.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.test.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/dashboard_versioning.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/dashboard_versioning.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/dashboard_versioning.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/dashboard_versioning.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/delete_dashboards.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/delete_dashboards.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/delete_dashboards.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/delete_dashboards.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/update_dashboard_meta.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/update_dashboard_meta.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/update_dashboard_meta.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/update_dashboard_meta.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/types.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/types.ts diff --git a/src/plugins/dashboard/public/services/dashboard_recently_accessed_service.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_recently_accessed_service.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_recently_accessed_service.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_recently_accessed_service.ts diff --git a/src/plugins/dashboard/public/services/kibana_services.ts b/src/platform/plugins/shared/dashboard/public/services/kibana_services.ts similarity index 100% rename from src/plugins/dashboard/public/services/kibana_services.ts rename to src/platform/plugins/shared/dashboard/public/services/kibana_services.ts diff --git a/src/plugins/dashboard/public/services/mocks.ts b/src/platform/plugins/shared/dashboard/public/services/mocks.ts similarity index 100% rename from src/plugins/dashboard/public/services/mocks.ts rename to src/platform/plugins/shared/dashboard/public/services/mocks.ts diff --git a/src/plugins/dashboard/public/utils/clean_filters_for_serialize.test.ts b/src/platform/plugins/shared/dashboard/public/utils/clean_filters_for_serialize.test.ts similarity index 100% rename from src/plugins/dashboard/public/utils/clean_filters_for_serialize.test.ts rename to src/platform/plugins/shared/dashboard/public/utils/clean_filters_for_serialize.test.ts diff --git a/src/plugins/dashboard/public/utils/clean_filters_for_serialize.ts b/src/platform/plugins/shared/dashboard/public/utils/clean_filters_for_serialize.ts similarity index 100% rename from src/plugins/dashboard/public/utils/clean_filters_for_serialize.ts rename to src/platform/plugins/shared/dashboard/public/utils/clean_filters_for_serialize.ts diff --git a/src/plugins/dashboard/public/utils/get_dashboard_capabilities.ts b/src/platform/plugins/shared/dashboard/public/utils/get_dashboard_capabilities.ts similarity index 100% rename from src/plugins/dashboard/public/utils/get_dashboard_capabilities.ts rename to src/platform/plugins/shared/dashboard/public/utils/get_dashboard_capabilities.ts diff --git a/src/plugins/dashboard/server/api/constants.ts b/src/platform/plugins/shared/dashboard/server/api/constants.ts similarity index 100% rename from src/plugins/dashboard/server/api/constants.ts rename to src/platform/plugins/shared/dashboard/server/api/constants.ts diff --git a/src/plugins/dashboard/server/api/index.ts b/src/platform/plugins/shared/dashboard/server/api/index.ts similarity index 100% rename from src/plugins/dashboard/server/api/index.ts rename to src/platform/plugins/shared/dashboard/server/api/index.ts diff --git a/src/plugins/dashboard/server/api/register_routes.ts b/src/platform/plugins/shared/dashboard/server/api/register_routes.ts similarity index 100% rename from src/plugins/dashboard/server/api/register_routes.ts rename to src/platform/plugins/shared/dashboard/server/api/register_routes.ts diff --git a/src/plugins/dashboard/server/capabilities_provider.ts b/src/platform/plugins/shared/dashboard/server/capabilities_provider.ts similarity index 100% rename from src/plugins/dashboard/server/capabilities_provider.ts rename to src/platform/plugins/shared/dashboard/server/capabilities_provider.ts diff --git a/src/plugins/dashboard/server/config.ts b/src/platform/plugins/shared/dashboard/server/config.ts similarity index 100% rename from src/plugins/dashboard/server/config.ts rename to src/platform/plugins/shared/dashboard/server/config.ts diff --git a/src/plugins/dashboard/server/content_management/cm_services.ts b/src/platform/plugins/shared/dashboard/server/content_management/cm_services.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/cm_services.ts rename to src/platform/plugins/shared/dashboard/server/content_management/cm_services.ts diff --git a/src/plugins/dashboard/server/content_management/dashboard_storage.ts b/src/platform/plugins/shared/dashboard/server/content_management/dashboard_storage.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/dashboard_storage.ts rename to src/platform/plugins/shared/dashboard/server/content_management/dashboard_storage.ts diff --git a/src/plugins/dashboard/server/content_management/index.ts b/src/platform/plugins/shared/dashboard/server/content_management/index.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/index.ts rename to src/platform/plugins/shared/dashboard/server/content_management/index.ts diff --git a/src/plugins/dashboard/server/content_management/latest.ts b/src/platform/plugins/shared/dashboard/server/content_management/latest.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/latest.ts rename to src/platform/plugins/shared/dashboard/server/content_management/latest.ts diff --git a/src/plugins/dashboard/server/content_management/v1/cm_services.ts b/src/platform/plugins/shared/dashboard/server/content_management/v1/cm_services.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v1/cm_services.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v1/cm_services.ts diff --git a/src/plugins/dashboard/server/content_management/v1/index.ts b/src/platform/plugins/shared/dashboard/server/content_management/v1/index.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v1/index.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v1/index.ts diff --git a/src/plugins/dashboard/server/content_management/v2/cm_services.ts b/src/platform/plugins/shared/dashboard/server/content_management/v2/cm_services.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v2/cm_services.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v2/cm_services.ts diff --git a/src/plugins/dashboard/server/content_management/v2/index.ts b/src/platform/plugins/shared/dashboard/server/content_management/v2/index.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v2/index.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v2/index.ts diff --git a/src/plugins/dashboard/server/content_management/v3/cm_services.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/cm_services.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/cm_services.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/cm_services.ts diff --git a/src/plugins/dashboard/server/content_management/v3/index.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/index.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/index.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/index.ts diff --git a/src/plugins/dashboard/server/content_management/v3/transform_utils.test.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/transform_utils.test.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/transform_utils.test.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/transform_utils.test.ts diff --git a/src/plugins/dashboard/server/content_management/v3/transform_utils.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/transform_utils.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/transform_utils.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/transform_utils.ts diff --git a/src/plugins/dashboard/server/content_management/v3/types.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/types.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/types.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/types.ts diff --git a/src/plugins/dashboard/server/dashboard_container/dashboard_container_embeddable_factory.ts b/src/platform/plugins/shared/dashboard/server/dashboard_container/dashboard_container_embeddable_factory.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_container/dashboard_container_embeddable_factory.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_container/dashboard_container_embeddable_factory.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_by_value_dashboard_panels.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_by_value_dashboard_panels.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_by_value_dashboard_panels.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_by_value_dashboard_panels.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_extract_panel_references.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_extract_panel_references.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_extract_panel_references.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_extract_panel_references.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_hidden_titles.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_hidden_titles.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_hidden_titles.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_hidden_titles.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_700.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_700.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_700.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_700.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/readme.md b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/readme.md similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/readme.md rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/readme.md diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/types.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/types.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/types.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/types.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/utils.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/utils.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/utils.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/utils.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/utils.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/utils.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/utils.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/utils.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/latest.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/latest.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/latest.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/latest.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v1/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v1/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v1/types.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/types.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v1/types.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/types.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v1/v1.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/v1.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v1/v1.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/v1.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v2/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v2/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v2/types.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/types.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v2/types.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/types.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v2/v2.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/v2.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v2/v2.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/v2.ts diff --git a/src/plugins/dashboard/server/index.ts b/src/platform/plugins/shared/dashboard/server/index.ts similarity index 100% rename from src/plugins/dashboard/server/index.ts rename to src/platform/plugins/shared/dashboard/server/index.ts diff --git a/src/plugins/dashboard/server/plugin.test.ts b/src/platform/plugins/shared/dashboard/server/plugin.test.ts similarity index 100% rename from src/plugins/dashboard/server/plugin.test.ts rename to src/platform/plugins/shared/dashboard/server/plugin.test.ts diff --git a/src/plugins/dashboard/server/plugin.ts b/src/platform/plugins/shared/dashboard/server/plugin.ts similarity index 100% rename from src/plugins/dashboard/server/plugin.ts rename to src/platform/plugins/shared/dashboard/server/plugin.ts diff --git a/src/plugins/dashboard/server/types.ts b/src/platform/plugins/shared/dashboard/server/types.ts similarity index 100% rename from src/plugins/dashboard/server/types.ts rename to src/platform/plugins/shared/dashboard/server/types.ts diff --git a/src/plugins/dashboard/server/ui_settings.ts b/src/platform/plugins/shared/dashboard/server/ui_settings.ts similarity index 100% rename from src/plugins/dashboard/server/ui_settings.ts rename to src/platform/plugins/shared/dashboard/server/ui_settings.ts diff --git a/src/plugins/dashboard/server/usage/dashboard_telemetry.test.ts b/src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry.test.ts similarity index 100% rename from src/plugins/dashboard/server/usage/dashboard_telemetry.test.ts rename to src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry.test.ts diff --git a/src/plugins/dashboard/server/usage/dashboard_telemetry.ts b/src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry.ts similarity index 100% rename from src/plugins/dashboard/server/usage/dashboard_telemetry.ts rename to src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry.ts diff --git a/src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts b/src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry_collection_task.ts similarity index 100% rename from src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts rename to src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry_collection_task.ts diff --git a/src/plugins/dashboard/server/usage/register_collector.ts b/src/platform/plugins/shared/dashboard/server/usage/register_collector.ts similarity index 100% rename from src/plugins/dashboard/server/usage/register_collector.ts rename to src/platform/plugins/shared/dashboard/server/usage/register_collector.ts diff --git a/src/plugins/dashboard/server/usage/task_state.test.ts b/src/platform/plugins/shared/dashboard/server/usage/task_state.test.ts similarity index 100% rename from src/plugins/dashboard/server/usage/task_state.test.ts rename to src/platform/plugins/shared/dashboard/server/usage/task_state.test.ts diff --git a/src/plugins/dashboard/server/usage/task_state.ts b/src/platform/plugins/shared/dashboard/server/usage/task_state.ts similarity index 100% rename from src/plugins/dashboard/server/usage/task_state.ts rename to src/platform/plugins/shared/dashboard/server/usage/task_state.ts diff --git a/src/plugins/dashboard/tsconfig.json b/src/platform/plugins/shared/dashboard/tsconfig.json similarity index 98% rename from src/plugins/dashboard/tsconfig.json rename to src/platform/plugins/shared/dashboard/tsconfig.json index 3370a7fd85f83..cbf2b4c469875 100644 --- a/src/plugins/dashboard/tsconfig.json +++ b/src/platform/plugins/shared/dashboard/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/src/plugins/visualizations/public/visualize_app/utils/migrate_app_state.ts b/src/plugins/visualizations/public/visualize_app/utils/migrate_app_state.ts index 053f76db46246..9aa7902f2713a 100644 --- a/src/plugins/visualizations/public/visualize_app/utils/migrate_app_state.ts +++ b/src/plugins/visualizations/public/visualize_app/utils/migrate_app_state.ts @@ -14,7 +14,7 @@ import { VisualizeAppState } from '../types'; * Creates a new instance of AppState based on the table vis state. * * Dashboards have a similar implementation; see - * src/plugins/dashboard/public/application/lib/migrate_app_state.ts + * src/platform/plugins/shared/dashboard/public/application/lib/migrate_app_state.ts * * @param appState {VisualizeAppState} */ diff --git a/tsconfig.base.json b/tsconfig.base.json index 154a71219a8f8..748bd59ceb53c 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -698,8 +698,8 @@ "@kbn/cypress-config/*": ["packages/kbn-cypress-config/*"], "@kbn/dashboard-enhanced-plugin": ["x-pack/platform/plugins/shared/dashboard_enhanced"], "@kbn/dashboard-enhanced-plugin/*": ["x-pack/platform/plugins/shared/dashboard_enhanced/*"], - "@kbn/dashboard-plugin": ["src/plugins/dashboard"], - "@kbn/dashboard-plugin/*": ["src/plugins/dashboard/*"], + "@kbn/dashboard-plugin": ["src/platform/plugins/shared/dashboard"], + "@kbn/dashboard-plugin/*": ["src/platform/plugins/shared/dashboard/*"], "@kbn/data-forge": ["x-pack/platform/packages/shared/kbn-data-forge"], "@kbn/data-forge/*": ["x-pack/platform/packages/shared/kbn-data-forge/*"], "@kbn/data-plugin": ["src/plugins/data"], diff --git a/yarn.lock b/yarn.lock index 3f5765b829c42..0519945571976 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5213,7 +5213,7 @@ version "0.0.0" uid "" -"@kbn/dashboard-plugin@link:src/plugins/dashboard": +"@kbn/dashboard-plugin@link:src/platform/plugins/shared/dashboard": version "0.0.0" uid "" From 4131d2de03e6a7c240fbb89eaf1452d088cbdb3a Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 15:48:07 +0100 Subject: [PATCH 05/29] Relocating module `@kbn/embeddable-enhanced-plugin` --- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../common/drilldowns/dashboard_drilldown/constants.ts | 2 +- .../embeddable_to_dashboard_drilldown/constants.ts | 2 +- .../plugins/shared}/embeddable_enhanced/README.asciidoc | 0 .../plugins/shared}/embeddable_enhanced/jest.config.js | 8 ++++---- .../plugins/shared}/embeddable_enhanced/kibana.jsonc | 0 .../public/embeddables/dynamic_action_storage.test.ts | 0 .../public/embeddables/dynamic_action_storage.ts | 0 .../embeddable_enhanced/public/embeddables/index.ts | 0 .../public/embeddables/interfaces/has_dynamic_actions.ts | 0 .../public/get_dynamic_actions_state.test.ts | 0 .../public/get_dynamic_actions_state.ts | 0 .../plugins/shared}/embeddable_enhanced/public/index.ts | 0 .../plugins/shared}/embeddable_enhanced/public/mocks.ts | 0 .../plugins/shared}/embeddable_enhanced/public/plugin.ts | 0 .../plugins/shared}/embeddable_enhanced/tsconfig.json | 2 +- yarn.lock | 2 +- 21 files changed, 14 insertions(+), 14 deletions(-) rename x-pack/{plugins => platform/plugins/shared}/embeddable_enhanced/README.asciidoc (100%) rename x-pack/{plugins => platform/plugins/shared}/embeddable_enhanced/jest.config.js (60%) rename x-pack/{plugins => platform/plugins/shared}/embeddable_enhanced/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/embeddable_enhanced/public/embeddables/dynamic_action_storage.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/embeddable_enhanced/public/embeddables/dynamic_action_storage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/embeddable_enhanced/public/embeddables/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/embeddable_enhanced/public/get_dynamic_actions_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/embeddable_enhanced/public/get_dynamic_actions_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/embeddable_enhanced/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/embeddable_enhanced/public/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/embeddable_enhanced/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/embeddable_enhanced/tsconfig.json (87%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 491047bdeca97..c22856aeaa55a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -858,6 +858,7 @@ x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra x-pack/platform/plugins/shared/aiops @elastic/ml-ui x-pack/platform/plugins/shared/dashboard_enhanced @elastic/kibana-presentation +x-pack/platform/plugins/shared/embeddable_enhanced @elastic/kibana-presentation x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management @@ -881,7 +882,6 @@ x-pack/plugins/custom_branding @elastic/appex-sharedux x-pack/plugins/data_quality @elastic/obs-ux-logs-team x-pack/plugins/discover_enhanced @elastic/kibana-data-discovery x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux -x-pack/plugins/embeddable_enhanced @elastic/kibana-presentation x-pack/plugins/encrypted_saved_objects @elastic/kibana-security x-pack/plugins/enterprise_search @elastic/search-kibana x-pack/plugins/event_log @elastic/response-ops diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 85b036e14d5f2..65cb35ec3cfc2 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -988,5 +988,5 @@ include::{kibana-root}/src/platform/plugins/shared/dashboard/README.asciidoc[lev include::{kibana-root}/src/plugins/expressions/README.asciidoc[leveloffset=+1] include::{kibana-root}/src/plugins/ui_actions/README.asciidoc[leveloffset=+1] include::{kibana-root}/x-pack/platform/plugins/shared/dashboard_enhanced/README.asciidoc[leveloffset=+1] -include::{kibana-root}/x-pack/plugins/embeddable_enhanced/README.asciidoc[leveloffset=+1] +include::{kibana-root}/x-pack/platform/plugins/shared/embeddable_enhanced/README.asciidoc[leveloffset=+1] include::{kibana-root}/x-pack/platform/plugins/private/translations/README.asciidoc[leveloffset=+1] diff --git a/package.json b/package.json index 671ca826e4d0b..bf1f1dc014ae4 100644 --- a/package.json +++ b/package.json @@ -471,7 +471,7 @@ "@kbn/elastic-assistant-plugin": "link:x-pack/solutions/security/plugins/elastic_assistant", "@kbn/elasticsearch-client-plugin": "link:test/plugin_functional/plugins/elasticsearch_client_plugin", "@kbn/elasticsearch-client-xpack-plugin": "link:x-pack/test/plugin_api_integration/plugins/elasticsearch_client", - "@kbn/embeddable-enhanced-plugin": "link:x-pack/plugins/embeddable_enhanced", + "@kbn/embeddable-enhanced-plugin": "link:x-pack/platform/plugins/shared/embeddable_enhanced", "@kbn/embeddable-examples-plugin": "link:examples/embeddable_examples", "@kbn/embeddable-plugin": "link:src/plugins/embeddable", "@kbn/embedded-lens-example-plugin": "link:x-pack/examples/embedded_lens_example", diff --git a/tsconfig.base.json b/tsconfig.base.json index 748bd59ceb53c..6c4ff8e3ba8ba 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -810,8 +810,8 @@ "@kbn/elasticsearch-client-plugin/*": ["test/plugin_functional/plugins/elasticsearch_client_plugin/*"], "@kbn/elasticsearch-client-xpack-plugin": ["x-pack/test/plugin_api_integration/plugins/elasticsearch_client"], "@kbn/elasticsearch-client-xpack-plugin/*": ["x-pack/test/plugin_api_integration/plugins/elasticsearch_client/*"], - "@kbn/embeddable-enhanced-plugin": ["x-pack/plugins/embeddable_enhanced"], - "@kbn/embeddable-enhanced-plugin/*": ["x-pack/plugins/embeddable_enhanced/*"], + "@kbn/embeddable-enhanced-plugin": ["x-pack/platform/plugins/shared/embeddable_enhanced"], + "@kbn/embeddable-enhanced-plugin/*": ["x-pack/platform/plugins/shared/embeddable_enhanced/*"], "@kbn/embeddable-examples-plugin": ["examples/embeddable_examples"], "@kbn/embeddable-examples-plugin/*": ["examples/embeddable_examples/*"], "@kbn/embeddable-plugin": ["src/plugins/embeddable"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index b5e80011a2f42..cc24a634e8e0e 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -39,7 +39,7 @@ "xpack.elasticAssistantCommon": "platform/packages/shared/kbn-elastic-assistant-common", "xpack.elasticAssistantPlugin": "solutions/security/plugins/elastic_assistant", "xpack.ecsDataQualityDashboard": "solutions/security/plugins/ecs_data_quality_dashboard", - "xpack.embeddableEnhanced": "plugins/embeddable_enhanced", + "xpack.embeddableEnhanced": "platform/plugins/shared/embeddable_enhanced", "xpack.endpoint": "plugins/endpoint", "xpack.enterpriseSearch": "plugins/enterprise_search", "xpack.features": "plugins/features", diff --git a/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts index e763d34bc3cb5..68f80f364a744 100644 --- a/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts @@ -10,6 +10,6 @@ * STORED IN SAVED OBJECTS. * * Also temporary dashboard drilldown migration code inside embeddable plugin relies on it - * x-pack/plugins/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts + * x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts */ export const EMBEDDABLE_TO_DASHBOARD_DRILLDOWN = 'DASHBOARD_TO_DASHBOARD_DRILLDOWN'; diff --git a/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts index e763d34bc3cb5..68f80f364a744 100644 --- a/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts @@ -10,6 +10,6 @@ * STORED IN SAVED OBJECTS. * * Also temporary dashboard drilldown migration code inside embeddable plugin relies on it - * x-pack/plugins/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts + * x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts */ export const EMBEDDABLE_TO_DASHBOARD_DRILLDOWN = 'DASHBOARD_TO_DASHBOARD_DRILLDOWN'; diff --git a/x-pack/plugins/embeddable_enhanced/README.asciidoc b/x-pack/platform/plugins/shared/embeddable_enhanced/README.asciidoc similarity index 100% rename from x-pack/plugins/embeddable_enhanced/README.asciidoc rename to x-pack/platform/plugins/shared/embeddable_enhanced/README.asciidoc diff --git a/x-pack/plugins/embeddable_enhanced/jest.config.js b/x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js similarity index 60% rename from x-pack/plugins/embeddable_enhanced/jest.config.js rename to x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js index fc9eaec5c972c..bcf7ff104076e 100644 --- a/x-pack/plugins/embeddable_enhanced/jest.config.js +++ b/x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js @@ -7,9 +7,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/embeddable_enhanced'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/embeddable_enhanced', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/embeddable_enhanced'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/embeddable_enhanced', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/embeddable_enhanced/public/**/*.{ts,tsx}'], + collectCoverageFrom: ['/x-pack/platform/plugins/shared/embeddable_enhanced/public/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/embeddable_enhanced/kibana.jsonc b/x-pack/platform/plugins/shared/embeddable_enhanced/kibana.jsonc similarity index 100% rename from x-pack/plugins/embeddable_enhanced/kibana.jsonc rename to x-pack/platform/plugins/shared/embeddable_enhanced/kibana.jsonc diff --git a/x-pack/plugins/embeddable_enhanced/public/embeddables/dynamic_action_storage.test.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/dynamic_action_storage.test.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/embeddables/dynamic_action_storage.test.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/dynamic_action_storage.test.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/embeddables/dynamic_action_storage.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/dynamic_action_storage.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/embeddables/dynamic_action_storage.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/dynamic_action_storage.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/embeddables/index.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/index.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/embeddables/index.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/index.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/get_dynamic_actions_state.test.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/get_dynamic_actions_state.test.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/get_dynamic_actions_state.test.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/get_dynamic_actions_state.test.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/get_dynamic_actions_state.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/get_dynamic_actions_state.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/get_dynamic_actions_state.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/get_dynamic_actions_state.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/index.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/index.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/index.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/index.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/mocks.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/mocks.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/mocks.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/mocks.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/plugin.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/plugin.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts diff --git a/x-pack/plugins/embeddable_enhanced/tsconfig.json b/x-pack/platform/plugins/shared/embeddable_enhanced/tsconfig.json similarity index 87% rename from x-pack/plugins/embeddable_enhanced/tsconfig.json rename to x-pack/platform/plugins/shared/embeddable_enhanced/tsconfig.json index a065672b9162a..686878ff9b6fd 100644 --- a/x-pack/plugins/embeddable_enhanced/tsconfig.json +++ b/x-pack/platform/plugins/shared/embeddable_enhanced/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/yarn.lock b/yarn.lock index 0519945571976..80b8b703f3fcb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5437,7 +5437,7 @@ version "0.0.0" uid "" -"@kbn/embeddable-enhanced-plugin@link:x-pack/plugins/embeddable_enhanced": +"@kbn/embeddable-enhanced-plugin@link:x-pack/platform/plugins/shared/embeddable_enhanced": version "0.0.0" uid "" From a6dc231c27487d97492c14edf796dec9c6a6f945 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 15:51:03 +0100 Subject: [PATCH 06/29] Relocating module `@kbn/embeddable-plugin` --- .github/CODEOWNERS | 2 +- .github/paths-labeller.yml | 2 +- .i18nrc.json | 2 +- docs/developer/best-practices/index.asciidoc | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- packages/kbn-docs-utils/src/utils.test.ts | 2 +- .../plugins/shared}/embeddable/.eslintrc.json | 0 .../plugins/shared}/embeddable/README.md | 0 .../plugins/shared}/embeddable/common/index.ts | 0 .../plugins/shared}/embeddable/common/lib/extract.ts | 0 .../embeddable/common/lib/get_all_migrations.test.ts | 0 .../embeddable/common/lib/get_all_migrations.ts | 0 .../plugins/shared}/embeddable/common/lib/index.ts | 0 .../plugins/shared}/embeddable/common/lib/inject.ts | 0 .../plugins/shared}/embeddable/common/lib/migrate.ts | 0 .../embeddable/common/lib/migrate_base_input.ts | 0 .../embeddable/common/lib/saved_object_embeddable.ts | 0 .../plugins/shared}/embeddable/common/lib/telemetry.ts | 0 .../plugins/shared}/embeddable/common/mocks.ts | 0 .../plugins/shared}/embeddable/common/types.ts | 0 .../plugins/shared}/embeddable/jest.config.js | 10 +++++----- .../plugins/shared}/embeddable/jest_setup.ts | 0 .../plugins/shared}/embeddable/kibana.jsonc | 0 .../public/__snapshots__/plugin.test.ts.snap | 0 .../add_from_library/add_from_library_flyout.test.tsx | 0 .../add_from_library/add_from_library_flyout.tsx | 0 .../add_from_library/open_add_from_library_flyout.tsx | 0 .../embeddable/public/add_from_library/registry.ts | 0 .../plugins/shared}/embeddable/public/bootstrap.ts | 0 .../plugins/shared}/embeddable/public/index.ts | 0 .../shared}/embeddable/public/kibana_services.ts | 0 .../public/lib/embeddables/common/constants.ts | 0 .../compatibility/embeddable_compatibility_utils.ts | 0 .../compatibility/legacy_embeddable_to_api.ts | 0 .../embeddables/default_embeddable_factory_provider.ts | 0 .../lib/embeddables/diff_embeddable_input.test.ts | 0 .../public/lib/embeddables/diff_embeddable_input.ts | 0 .../embeddable/public/lib/embeddables/embeddable.tsx | 0 .../lib/embeddables/embeddable_error_handler.tsx | 0 .../public/lib/embeddables/embeddable_factory.ts | 0 .../lib/embeddables/embeddable_factory_definition.ts | 0 .../public/lib/embeddables/error_embeddable.scss | 0 .../public/lib/embeddables/error_embeddable.tsx | 0 .../embeddable/public/lib/embeddables/i_embeddable.ts | 0 .../shared}/embeddable/public/lib/embeddables/index.ts | 0 .../embeddable/public/lib/embeddables/is_embeddable.ts | 0 .../public/lib/embeddables/is_error_embeddable.ts | 0 .../public/lib/embeddables/with_subscription.tsx | 0 .../shared}/embeddable/public/lib/errors.test.ts | 0 .../plugins/shared}/embeddable/public/lib/errors.ts | 0 .../factory_migrations/run_factory_migrations.test.ts | 0 .../lib/factory_migrations/run_factory_migrations.ts | 0 .../public/lib/filterable_embeddable/index.ts | 0 .../lib/filterable_embeddable/should_fetch.test.tsx | 0 .../public/lib/filterable_embeddable/should_fetch.tsx | 0 .../public/lib/filterable_embeddable/types.ts | 0 .../plugins/shared}/embeddable/public/lib/index.ts | 0 .../plugins/shared}/embeddable/public/lib/inspector.ts | 0 .../public/lib/reference_or_value_embeddable/index.ts | 0 .../public/lib/reference_or_value_embeddable/types.ts | 0 .../public/lib/self_styled_embeddable/index.ts | 0 .../public/lib/self_styled_embeddable/types.ts | 0 .../state_transfer/embeddable_state_transfer.test.ts | 0 .../lib/state_transfer/embeddable_state_transfer.ts | 0 .../embeddable/public/lib/state_transfer/index.ts | 0 .../embeddable/public/lib/state_transfer/types.ts | 0 .../shared}/embeddable/public/lib/triggers/index.ts | 0 .../shared}/embeddable/public/lib/triggers/triggers.ts | 0 .../plugins/shared}/embeddable/public/lib/types.ts | 0 .../shared}/embeddable/public/lib/ui_actions.ts | 0 .../plugins/shared}/embeddable/public/mocks.tsx | 0 .../plugins/shared}/embeddable/public/plugin.test.ts | 0 .../plugins/shared}/embeddable/public/plugin.tsx | 0 .../embeddable/public/react_embeddable_system/index.ts | 0 .../react_embeddable_system/phase_tracker.test.ts | 0 .../public/react_embeddable_system/phase_tracker.ts | 0 .../react_embeddable_registry.test.tsx | 0 .../react_embeddable_registry.ts | 0 .../react_embeddable_renderer.test.tsx | 0 .../react_embeddable_renderer.tsx | 0 .../embeddable/public/react_embeddable_system/types.ts | 0 .../shared}/embeddable/public/tests/test_plugin.ts | 0 .../plugins/shared}/embeddable/public/types.ts | 0 .../plugins/shared}/embeddable/server/index.ts | 0 .../plugins/shared}/embeddable/server/mocks.ts | 0 .../plugins/shared}/embeddable/server/plugin.ts | 0 .../plugins/shared}/embeddable/server/types.ts | 0 .../plugins/shared}/embeddable/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 91 files changed, 16 insertions(+), 16 deletions(-) rename src/{plugins => platform/plugins/shared}/embeddable/.eslintrc.json (100%) rename src/{plugins => platform/plugins/shared}/embeddable/README.md (100%) rename src/{plugins => platform/plugins/shared}/embeddable/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/common/lib/extract.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/common/lib/get_all_migrations.test.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/common/lib/get_all_migrations.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/common/lib/index.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/common/lib/inject.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/common/lib/migrate.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/common/lib/migrate_base_input.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/common/lib/saved_object_embeddable.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/common/lib/telemetry.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/common/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/common/types.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/jest.config.js (65%) rename src/{plugins => platform/plugins/shared}/embeddable/jest_setup.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/__snapshots__/plugin.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/add_from_library/add_from_library_flyout.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/add_from_library/add_from_library_flyout.tsx (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/add_from_library/open_add_from_library_flyout.tsx (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/add_from_library/registry.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/bootstrap.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/kibana_services.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/compatibility/embeddable_compatibility_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/compatibility/legacy_embeddable_to_api.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/diff_embeddable_input.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/embeddable.tsx (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/embeddable_error_handler.tsx (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/embeddable_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/embeddable_factory_definition.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/error_embeddable.scss (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/error_embeddable.tsx (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/i_embeddable.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/index.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/is_embeddable.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/is_error_embeddable.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/embeddables/with_subscription.tsx (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/errors.test.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/errors.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/factory_migrations/run_factory_migrations.test.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/factory_migrations/run_factory_migrations.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/filterable_embeddable/index.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/filterable_embeddable/should_fetch.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/filterable_embeddable/should_fetch.tsx (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/filterable_embeddable/types.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/index.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/inspector.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/reference_or_value_embeddable/index.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/reference_or_value_embeddable/types.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/self_styled_embeddable/index.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/self_styled_embeddable/types.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/state_transfer/index.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/state_transfer/types.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/triggers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/triggers/triggers.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/types.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/lib/ui_actions.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/mocks.tsx (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/plugin.tsx (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/react_embeddable_system/index.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/react_embeddable_system/phase_tracker.test.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/react_embeddable_system/phase_tracker.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/react_embeddable_system/react_embeddable_registry.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/react_embeddable_system/react_embeddable_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/react_embeddable_system/types.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/tests/test_plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/server/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/server/types.ts (100%) rename src/{plugins => platform/plugins/shared}/embeddable/tsconfig.json (94%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c22856aeaa55a..49734b5efec5f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -615,6 +615,7 @@ src/platform/plugins/shared/console @elastic/kibana-management src/platform/plugins/shared/controls @elastic/kibana-presentation src/platform/plugins/shared/dashboard @elastic/kibana-presentation src/platform/plugins/shared/dev_tools @elastic/kibana-management +src/platform/plugins/shared/embeddable @elastic/kibana-presentation src/platform/plugins/shared/es_ui_shared @elastic/kibana-management src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql @@ -639,7 +640,6 @@ src/plugins/data_view_management @elastic/kibana-data-discovery src/plugins/data_views @elastic/kibana-data-discovery src/plugins/discover @elastic/kibana-data-discovery src/plugins/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team -src/plugins/embeddable @elastic/kibana-presentation src/plugins/event_annotation @elastic/kibana-visualizations src/plugins/event_annotation_listing @elastic/kibana-visualizations src/plugins/expression_error @elastic/kibana-presentation diff --git a/.github/paths-labeller.yml b/.github/paths-labeller.yml index 27ba51f4c828e..ea9e406225260 100644 --- a/.github/paths-labeller.yml +++ b/.github/paths-labeller.yml @@ -1,6 +1,6 @@ --- - 'Feature:Embedding': - - 'src/plugins/embeddable/**/*.*' + - 'src/platform/plugins/shared/embeddable/**/*.*' - 'src/plugins/dashboard_embeddable_container/**/*.*' - 'Feature:Drilldowns': - 'x-pack/plugins/drilldowns/**/*.*' diff --git a/.i18nrc.json b/.i18nrc.json index bf63135b82383..b4f32ad81ba8c 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -33,7 +33,7 @@ "packages/kbn-discover-contextual-components" ], "savedSearch": "src/plugins/saved_search", - "embeddableApi": "src/plugins/embeddable", + "embeddableApi": "src/platform/plugins/shared/embeddable", "presentationPanel": "src/plugins/presentation_panel", "embeddableExamples": "examples/embeddable_examples", "esQuery": "packages/kbn-es-query/src", diff --git a/docs/developer/best-practices/index.asciidoc b/docs/developer/best-practices/index.asciidoc index 57a10ee06a697..f4c6baab43281 100644 --- a/docs/developer/best-practices/index.asciidoc +++ b/docs/developer/best-practices/index.asciidoc @@ -78,7 +78,7 @@ strategies] *** Use the `esSearchStrategy` to make raw queries to ES that will support async searching and partial results, as well as injecting the right advanced settings like whether to include frozen indices or not. -* {kib-repo}blob/{branch}/src/plugins/embeddable/README.md[Embeddables] +* {kib-repo}blob/{branch}/src/platform/plugins/shared/embeddable/README.md[Embeddables] ** Rendering maps, visualizations, dashboards in your application ** Register new widgets that will can be added to a dashboard or Canvas workpad, or rendered in another plugin. diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 65cb35ec3cfc2..1095be034c1ee 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -98,7 +98,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |A stateful layer to register shared features and provide an access point to discover without a direct dependency. -|{kib-repo}blob/{branch}/src/plugins/embeddable/README.md[embeddable] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/embeddable/README.md[embeddable] |Embeddables are React components that manage their own state, can be serialized and deserialized, and return an API that can be used to interact with them imperatively. diff --git a/package.json b/package.json index bf1f1dc014ae4..9607d79b4e6e9 100644 --- a/package.json +++ b/package.json @@ -473,7 +473,7 @@ "@kbn/elasticsearch-client-xpack-plugin": "link:x-pack/test/plugin_api_integration/plugins/elasticsearch_client", "@kbn/embeddable-enhanced-plugin": "link:x-pack/platform/plugins/shared/embeddable_enhanced", "@kbn/embeddable-examples-plugin": "link:examples/embeddable_examples", - "@kbn/embeddable-plugin": "link:src/plugins/embeddable", + "@kbn/embeddable-plugin": "link:src/platform/plugins/shared/embeddable", "@kbn/embedded-lens-example-plugin": "link:x-pack/examples/embedded_lens_example", "@kbn/encrypted-saved-objects-plugin": "link:x-pack/plugins/encrypted_saved_objects", "@kbn/enterprise-search-plugin": "link:x-pack/plugins/enterprise_search", diff --git a/packages/kbn-docs-utils/src/utils.test.ts b/packages/kbn-docs-utils/src/utils.test.ts index 8f3b11b9700b9..f5e14afec0eb7 100644 --- a/packages/kbn-docs-utils/src/utils.test.ts +++ b/packages/kbn-docs-utils/src/utils.test.ts @@ -28,7 +28,7 @@ it('getFileName', () => { it('test getPluginForPath', () => { const plugins = findPlugins(); - const path = Path.resolve(REPO_ROOT, 'src/plugins/embeddable/public/service/file.ts'); + const path = Path.resolve(REPO_ROOT, 'src/platform/plugins/shared/embeddable/public/service/file.ts'); expect(getPluginForPath(path, plugins)).toBeDefined(); }); diff --git a/src/plugins/embeddable/.eslintrc.json b/src/platform/plugins/shared/embeddable/.eslintrc.json similarity index 100% rename from src/plugins/embeddable/.eslintrc.json rename to src/platform/plugins/shared/embeddable/.eslintrc.json diff --git a/src/plugins/embeddable/README.md b/src/platform/plugins/shared/embeddable/README.md similarity index 100% rename from src/plugins/embeddable/README.md rename to src/platform/plugins/shared/embeddable/README.md diff --git a/src/plugins/embeddable/common/index.ts b/src/platform/plugins/shared/embeddable/common/index.ts similarity index 100% rename from src/plugins/embeddable/common/index.ts rename to src/platform/plugins/shared/embeddable/common/index.ts diff --git a/src/plugins/embeddable/common/lib/extract.ts b/src/platform/plugins/shared/embeddable/common/lib/extract.ts similarity index 100% rename from src/plugins/embeddable/common/lib/extract.ts rename to src/platform/plugins/shared/embeddable/common/lib/extract.ts diff --git a/src/plugins/embeddable/common/lib/get_all_migrations.test.ts b/src/platform/plugins/shared/embeddable/common/lib/get_all_migrations.test.ts similarity index 100% rename from src/plugins/embeddable/common/lib/get_all_migrations.test.ts rename to src/platform/plugins/shared/embeddable/common/lib/get_all_migrations.test.ts diff --git a/src/plugins/embeddable/common/lib/get_all_migrations.ts b/src/platform/plugins/shared/embeddable/common/lib/get_all_migrations.ts similarity index 100% rename from src/plugins/embeddable/common/lib/get_all_migrations.ts rename to src/platform/plugins/shared/embeddable/common/lib/get_all_migrations.ts diff --git a/src/plugins/embeddable/common/lib/index.ts b/src/platform/plugins/shared/embeddable/common/lib/index.ts similarity index 100% rename from src/plugins/embeddable/common/lib/index.ts rename to src/platform/plugins/shared/embeddable/common/lib/index.ts diff --git a/src/plugins/embeddable/common/lib/inject.ts b/src/platform/plugins/shared/embeddable/common/lib/inject.ts similarity index 100% rename from src/plugins/embeddable/common/lib/inject.ts rename to src/platform/plugins/shared/embeddable/common/lib/inject.ts diff --git a/src/plugins/embeddable/common/lib/migrate.ts b/src/platform/plugins/shared/embeddable/common/lib/migrate.ts similarity index 100% rename from src/plugins/embeddable/common/lib/migrate.ts rename to src/platform/plugins/shared/embeddable/common/lib/migrate.ts diff --git a/src/plugins/embeddable/common/lib/migrate_base_input.ts b/src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts similarity index 100% rename from src/plugins/embeddable/common/lib/migrate_base_input.ts rename to src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts diff --git a/src/plugins/embeddable/common/lib/saved_object_embeddable.ts b/src/platform/plugins/shared/embeddable/common/lib/saved_object_embeddable.ts similarity index 100% rename from src/plugins/embeddable/common/lib/saved_object_embeddable.ts rename to src/platform/plugins/shared/embeddable/common/lib/saved_object_embeddable.ts diff --git a/src/plugins/embeddable/common/lib/telemetry.ts b/src/platform/plugins/shared/embeddable/common/lib/telemetry.ts similarity index 100% rename from src/plugins/embeddable/common/lib/telemetry.ts rename to src/platform/plugins/shared/embeddable/common/lib/telemetry.ts diff --git a/src/plugins/embeddable/common/mocks.ts b/src/platform/plugins/shared/embeddable/common/mocks.ts similarity index 100% rename from src/plugins/embeddable/common/mocks.ts rename to src/platform/plugins/shared/embeddable/common/mocks.ts diff --git a/src/plugins/embeddable/common/types.ts b/src/platform/plugins/shared/embeddable/common/types.ts similarity index 100% rename from src/plugins/embeddable/common/types.ts rename to src/platform/plugins/shared/embeddable/common/types.ts diff --git a/src/plugins/embeddable/jest.config.js b/src/platform/plugins/shared/embeddable/jest.config.js similarity index 65% rename from src/plugins/embeddable/jest.config.js rename to src/platform/plugins/shared/embeddable/jest.config.js index bbb53214d1e99..a04a72f321617 100644 --- a/src/plugins/embeddable/jest.config.js +++ b/src/platform/plugins/shared/embeddable/jest.config.js @@ -9,10 +9,10 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/embeddable'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/embeddable', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/embeddable'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/embeddable', coverageReporters: ['text', 'html'], - setupFiles: ['/src/plugins/embeddable/jest_setup.ts'], - collectCoverageFrom: ['/src/plugins/embeddable/{common,public,server}/**/*.{ts,tsx}'], + setupFiles: ['/src/platform/plugins/shared/embeddable/jest_setup.ts'], + collectCoverageFrom: ['/src/platform/plugins/shared/embeddable/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/embeddable/jest_setup.ts b/src/platform/plugins/shared/embeddable/jest_setup.ts similarity index 100% rename from src/plugins/embeddable/jest_setup.ts rename to src/platform/plugins/shared/embeddable/jest_setup.ts diff --git a/src/plugins/embeddable/kibana.jsonc b/src/platform/plugins/shared/embeddable/kibana.jsonc similarity index 100% rename from src/plugins/embeddable/kibana.jsonc rename to src/platform/plugins/shared/embeddable/kibana.jsonc diff --git a/src/plugins/embeddable/public/__snapshots__/plugin.test.ts.snap b/src/platform/plugins/shared/embeddable/public/__snapshots__/plugin.test.ts.snap similarity index 100% rename from src/plugins/embeddable/public/__snapshots__/plugin.test.ts.snap rename to src/platform/plugins/shared/embeddable/public/__snapshots__/plugin.test.ts.snap diff --git a/src/plugins/embeddable/public/add_from_library/add_from_library_flyout.test.tsx b/src/platform/plugins/shared/embeddable/public/add_from_library/add_from_library_flyout.test.tsx similarity index 100% rename from src/plugins/embeddable/public/add_from_library/add_from_library_flyout.test.tsx rename to src/platform/plugins/shared/embeddable/public/add_from_library/add_from_library_flyout.test.tsx diff --git a/src/plugins/embeddable/public/add_from_library/add_from_library_flyout.tsx b/src/platform/plugins/shared/embeddable/public/add_from_library/add_from_library_flyout.tsx similarity index 100% rename from src/plugins/embeddable/public/add_from_library/add_from_library_flyout.tsx rename to src/platform/plugins/shared/embeddable/public/add_from_library/add_from_library_flyout.tsx diff --git a/src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx b/src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx similarity index 100% rename from src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx rename to src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx diff --git a/src/plugins/embeddable/public/add_from_library/registry.ts b/src/platform/plugins/shared/embeddable/public/add_from_library/registry.ts similarity index 100% rename from src/plugins/embeddable/public/add_from_library/registry.ts rename to src/platform/plugins/shared/embeddable/public/add_from_library/registry.ts diff --git a/src/plugins/embeddable/public/bootstrap.ts b/src/platform/plugins/shared/embeddable/public/bootstrap.ts similarity index 100% rename from src/plugins/embeddable/public/bootstrap.ts rename to src/platform/plugins/shared/embeddable/public/bootstrap.ts diff --git a/src/plugins/embeddable/public/index.ts b/src/platform/plugins/shared/embeddable/public/index.ts similarity index 100% rename from src/plugins/embeddable/public/index.ts rename to src/platform/plugins/shared/embeddable/public/index.ts diff --git a/src/plugins/embeddable/public/kibana_services.ts b/src/platform/plugins/shared/embeddable/public/kibana_services.ts similarity index 100% rename from src/plugins/embeddable/public/kibana_services.ts rename to src/platform/plugins/shared/embeddable/public/kibana_services.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/common/constants.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/common/constants.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/compatibility/embeddable_compatibility_utils.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/compatibility/embeddable_compatibility_utils.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/compatibility/embeddable_compatibility_utils.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/compatibility/embeddable_compatibility_utils.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/compatibility/legacy_embeddable_to_api.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/compatibility/legacy_embeddable_to_api.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/compatibility/legacy_embeddable_to_api.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/compatibility/legacy_embeddable_to_api.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/default_embeddable_factory_provider.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/diff_embeddable_input.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/diff_embeddable_input.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable.tsx b/src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/embeddable.tsx rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_error_handler.tsx b/src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable_error_handler.tsx similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/embeddable_error_handler.tsx rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable_error_handler.tsx diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable_factory.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable_factory.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable_factory_definition.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable_factory_definition.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/error_embeddable.scss b/src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.scss similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/error_embeddable.scss rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.scss diff --git a/src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx b/src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx diff --git a/src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/index.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/index.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/index.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/is_embeddable.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/is_embeddable.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/is_embeddable.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/is_embeddable.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/is_error_embeddable.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/is_error_embeddable.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/is_error_embeddable.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/is_error_embeddable.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/with_subscription.tsx b/src/platform/plugins/shared/embeddable/public/lib/embeddables/with_subscription.tsx similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/with_subscription.tsx rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/with_subscription.tsx diff --git a/src/plugins/embeddable/public/lib/errors.test.ts b/src/platform/plugins/shared/embeddable/public/lib/errors.test.ts similarity index 100% rename from src/plugins/embeddable/public/lib/errors.test.ts rename to src/platform/plugins/shared/embeddable/public/lib/errors.test.ts diff --git a/src/plugins/embeddable/public/lib/errors.ts b/src/platform/plugins/shared/embeddable/public/lib/errors.ts similarity index 100% rename from src/plugins/embeddable/public/lib/errors.ts rename to src/platform/plugins/shared/embeddable/public/lib/errors.ts diff --git a/src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.test.ts b/src/platform/plugins/shared/embeddable/public/lib/factory_migrations/run_factory_migrations.test.ts similarity index 100% rename from src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.test.ts rename to src/platform/plugins/shared/embeddable/public/lib/factory_migrations/run_factory_migrations.test.ts diff --git a/src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts b/src/platform/plugins/shared/embeddable/public/lib/factory_migrations/run_factory_migrations.ts similarity index 100% rename from src/plugins/embeddable/public/lib/factory_migrations/run_factory_migrations.ts rename to src/platform/plugins/shared/embeddable/public/lib/factory_migrations/run_factory_migrations.ts diff --git a/src/plugins/embeddable/public/lib/filterable_embeddable/index.ts b/src/platform/plugins/shared/embeddable/public/lib/filterable_embeddable/index.ts similarity index 100% rename from src/plugins/embeddable/public/lib/filterable_embeddable/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/filterable_embeddable/index.ts diff --git a/src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.test.tsx b/src/platform/plugins/shared/embeddable/public/lib/filterable_embeddable/should_fetch.test.tsx similarity index 100% rename from src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.test.tsx rename to src/platform/plugins/shared/embeddable/public/lib/filterable_embeddable/should_fetch.test.tsx diff --git a/src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.tsx b/src/platform/plugins/shared/embeddable/public/lib/filterable_embeddable/should_fetch.tsx similarity index 100% rename from src/plugins/embeddable/public/lib/filterable_embeddable/should_fetch.tsx rename to src/platform/plugins/shared/embeddable/public/lib/filterable_embeddable/should_fetch.tsx diff --git a/src/plugins/embeddable/public/lib/filterable_embeddable/types.ts b/src/platform/plugins/shared/embeddable/public/lib/filterable_embeddable/types.ts similarity index 100% rename from src/plugins/embeddable/public/lib/filterable_embeddable/types.ts rename to src/platform/plugins/shared/embeddable/public/lib/filterable_embeddable/types.ts diff --git a/src/plugins/embeddable/public/lib/index.ts b/src/platform/plugins/shared/embeddable/public/lib/index.ts similarity index 100% rename from src/plugins/embeddable/public/lib/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/index.ts diff --git a/src/plugins/embeddable/public/lib/inspector.ts b/src/platform/plugins/shared/embeddable/public/lib/inspector.ts similarity index 100% rename from src/plugins/embeddable/public/lib/inspector.ts rename to src/platform/plugins/shared/embeddable/public/lib/inspector.ts diff --git a/src/plugins/embeddable/public/lib/reference_or_value_embeddable/index.ts b/src/platform/plugins/shared/embeddable/public/lib/reference_or_value_embeddable/index.ts similarity index 100% rename from src/plugins/embeddable/public/lib/reference_or_value_embeddable/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/reference_or_value_embeddable/index.ts diff --git a/src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts b/src/platform/plugins/shared/embeddable/public/lib/reference_or_value_embeddable/types.ts similarity index 100% rename from src/plugins/embeddable/public/lib/reference_or_value_embeddable/types.ts rename to src/platform/plugins/shared/embeddable/public/lib/reference_or_value_embeddable/types.ts diff --git a/src/plugins/embeddable/public/lib/self_styled_embeddable/index.ts b/src/platform/plugins/shared/embeddable/public/lib/self_styled_embeddable/index.ts similarity index 100% rename from src/plugins/embeddable/public/lib/self_styled_embeddable/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/self_styled_embeddable/index.ts diff --git a/src/plugins/embeddable/public/lib/self_styled_embeddable/types.ts b/src/platform/plugins/shared/embeddable/public/lib/self_styled_embeddable/types.ts similarity index 100% rename from src/plugins/embeddable/public/lib/self_styled_embeddable/types.ts rename to src/platform/plugins/shared/embeddable/public/lib/self_styled_embeddable/types.ts diff --git a/src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts b/src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts similarity index 100% rename from src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts rename to src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts diff --git a/src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts b/src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts similarity index 100% rename from src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts rename to src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts diff --git a/src/plugins/embeddable/public/lib/state_transfer/index.ts b/src/platform/plugins/shared/embeddable/public/lib/state_transfer/index.ts similarity index 100% rename from src/plugins/embeddable/public/lib/state_transfer/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/state_transfer/index.ts diff --git a/src/plugins/embeddable/public/lib/state_transfer/types.ts b/src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts similarity index 100% rename from src/plugins/embeddable/public/lib/state_transfer/types.ts rename to src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts diff --git a/src/plugins/embeddable/public/lib/triggers/index.ts b/src/platform/plugins/shared/embeddable/public/lib/triggers/index.ts similarity index 100% rename from src/plugins/embeddable/public/lib/triggers/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/triggers/index.ts diff --git a/src/plugins/embeddable/public/lib/triggers/triggers.ts b/src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts similarity index 100% rename from src/plugins/embeddable/public/lib/triggers/triggers.ts rename to src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts diff --git a/src/plugins/embeddable/public/lib/types.ts b/src/platform/plugins/shared/embeddable/public/lib/types.ts similarity index 100% rename from src/plugins/embeddable/public/lib/types.ts rename to src/platform/plugins/shared/embeddable/public/lib/types.ts diff --git a/src/plugins/embeddable/public/lib/ui_actions.ts b/src/platform/plugins/shared/embeddable/public/lib/ui_actions.ts similarity index 100% rename from src/plugins/embeddable/public/lib/ui_actions.ts rename to src/platform/plugins/shared/embeddable/public/lib/ui_actions.ts diff --git a/src/plugins/embeddable/public/mocks.tsx b/src/platform/plugins/shared/embeddable/public/mocks.tsx similarity index 100% rename from src/plugins/embeddable/public/mocks.tsx rename to src/platform/plugins/shared/embeddable/public/mocks.tsx diff --git a/src/plugins/embeddable/public/plugin.test.ts b/src/platform/plugins/shared/embeddable/public/plugin.test.ts similarity index 100% rename from src/plugins/embeddable/public/plugin.test.ts rename to src/platform/plugins/shared/embeddable/public/plugin.test.ts diff --git a/src/plugins/embeddable/public/plugin.tsx b/src/platform/plugins/shared/embeddable/public/plugin.tsx similarity index 100% rename from src/plugins/embeddable/public/plugin.tsx rename to src/platform/plugins/shared/embeddable/public/plugin.tsx diff --git a/src/plugins/embeddable/public/react_embeddable_system/index.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/index.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/index.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/index.ts diff --git a/src/plugins/embeddable/public/react_embeddable_system/phase_tracker.test.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/phase_tracker.test.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/phase_tracker.test.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/phase_tracker.test.ts diff --git a/src/plugins/embeddable/public/react_embeddable_system/phase_tracker.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/phase_tracker.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/phase_tracker.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/phase_tracker.ts diff --git a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.test.tsx b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.test.tsx similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.test.tsx rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.test.tsx diff --git a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.ts diff --git a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx diff --git a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx diff --git a/src/plugins/embeddable/public/react_embeddable_system/types.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/types.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts diff --git a/src/plugins/embeddable/public/tests/test_plugin.ts b/src/platform/plugins/shared/embeddable/public/tests/test_plugin.ts similarity index 100% rename from src/plugins/embeddable/public/tests/test_plugin.ts rename to src/platform/plugins/shared/embeddable/public/tests/test_plugin.ts diff --git a/src/plugins/embeddable/public/types.ts b/src/platform/plugins/shared/embeddable/public/types.ts similarity index 100% rename from src/plugins/embeddable/public/types.ts rename to src/platform/plugins/shared/embeddable/public/types.ts diff --git a/src/plugins/embeddable/server/index.ts b/src/platform/plugins/shared/embeddable/server/index.ts similarity index 100% rename from src/plugins/embeddable/server/index.ts rename to src/platform/plugins/shared/embeddable/server/index.ts diff --git a/src/plugins/embeddable/server/mocks.ts b/src/platform/plugins/shared/embeddable/server/mocks.ts similarity index 100% rename from src/plugins/embeddable/server/mocks.ts rename to src/platform/plugins/shared/embeddable/server/mocks.ts diff --git a/src/plugins/embeddable/server/plugin.ts b/src/platform/plugins/shared/embeddable/server/plugin.ts similarity index 100% rename from src/plugins/embeddable/server/plugin.ts rename to src/platform/plugins/shared/embeddable/server/plugin.ts diff --git a/src/plugins/embeddable/server/types.ts b/src/platform/plugins/shared/embeddable/server/types.ts similarity index 100% rename from src/plugins/embeddable/server/types.ts rename to src/platform/plugins/shared/embeddable/server/types.ts diff --git a/src/plugins/embeddable/tsconfig.json b/src/platform/plugins/shared/embeddable/tsconfig.json similarity index 94% rename from src/plugins/embeddable/tsconfig.json rename to src/platform/plugins/shared/embeddable/tsconfig.json index bf97096d1484b..a464f88fe0851 100644 --- a/src/plugins/embeddable/tsconfig.json +++ b/src/platform/plugins/shared/embeddable/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/tsconfig.base.json b/tsconfig.base.json index 6c4ff8e3ba8ba..80af676b905fb 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -814,8 +814,8 @@ "@kbn/embeddable-enhanced-plugin/*": ["x-pack/platform/plugins/shared/embeddable_enhanced/*"], "@kbn/embeddable-examples-plugin": ["examples/embeddable_examples"], "@kbn/embeddable-examples-plugin/*": ["examples/embeddable_examples/*"], - "@kbn/embeddable-plugin": ["src/plugins/embeddable"], - "@kbn/embeddable-plugin/*": ["src/plugins/embeddable/*"], + "@kbn/embeddable-plugin": ["src/platform/plugins/shared/embeddable"], + "@kbn/embeddable-plugin/*": ["src/platform/plugins/shared/embeddable/*"], "@kbn/embedded-lens-example-plugin": ["x-pack/examples/embedded_lens_example"], "@kbn/embedded-lens-example-plugin/*": ["x-pack/examples/embedded_lens_example/*"], "@kbn/encrypted-saved-objects-plugin": ["x-pack/plugins/encrypted_saved_objects"], diff --git a/yarn.lock b/yarn.lock index 80b8b703f3fcb..807f365841988 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5445,7 +5445,7 @@ version "0.0.0" uid "" -"@kbn/embeddable-plugin@link:src/plugins/embeddable": +"@kbn/embeddable-plugin@link:src/platform/plugins/shared/embeddable": version "0.0.0" uid "" From c8ab30313ae2fbcb986e1fcb6beb47bb70f317e5 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 15:53:56 +0100 Subject: [PATCH 07/29] Relocating module `@kbn/expression-error-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- .../plugins/shared}/expression_error/.storybook/main.js | 0 .../plugins/shared}/expression_error/README.md | 0 .../plugins/shared}/expression_error/common/constants.ts | 0 .../plugins/shared}/expression_error/common/index.ts | 0 .../expression_error/common/types/expression_renderers.ts | 0 .../plugins/shared}/expression_error/common/types/index.ts | 0 .../plugins/shared}/expression_error/kibana.jsonc | 0 .../debug/__stories__/__snapshots__/debug.stories.storyshot | 0 .../public/components/debug/__stories__/debug.stories.tsx | 0 .../public/components/debug/__stories__/helpers.tsx | 0 .../expression_error/public/components/debug/debug.scss | 0 .../expression_error/public/components/debug/debug.tsx | 0 .../expression_error/public/components/debug/index.tsx | 0 .../expression_error/public/components/debug_component.tsx | 0 .../expression_error/public/components/error/error.tsx | 0 .../shared}/expression_error/public/components/error/index.ts | 0 .../public/components/error/show_debugging.tsx | 0 .../expression_error/public/components/error_component.tsx | 0 .../shared}/expression_error/public/components/index.ts | 0 .../__stories__/__snapshots__/error.stories.storyshot | 0 .../__stories__/error_renderer.stories.tsx | 0 .../public/expression_renderers/debug_renderer.tsx | 0 .../public/expression_renderers/error_renderer.tsx | 0 .../expression_error/public/expression_renderers/index.ts | 0 .../plugins/shared}/expression_error/public/index.ts | 0 .../plugins/shared}/expression_error/public/plugin.ts | 0 .../plugins/shared}/expression_error/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 34 files changed, 9 insertions(+), 9 deletions(-) rename src/{plugins => platform/plugins/shared}/expression_error/.storybook/main.js (100%) rename src/{plugins => platform/plugins/shared}/expression_error/README.md (100%) rename src/{plugins => platform/plugins/shared}/expression_error/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_error/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_error/common/types/expression_renderers.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_error/common/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_error/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/components/debug/__stories__/__snapshots__/debug.stories.storyshot (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/components/debug/__stories__/debug.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/components/debug/__stories__/helpers.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/components/debug/debug.scss (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/components/debug/debug.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/components/debug/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/components/debug_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/components/error/error.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/components/error/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/components/error/show_debugging.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/components/error_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/expression_renderers/__stories__/__snapshots__/error.stories.storyshot (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/expression_renderers/__stories__/error_renderer.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/expression_renderers/debug_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/expression_renderers/error_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/expression_renderers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_error/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_error/tsconfig.json (90%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 49734b5efec5f..d0b9bb536f8ae 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -619,6 +619,7 @@ src/platform/plugins/shared/embeddable @elastic/kibana-presentation src/platform/plugins/shared/es_ui_shared @elastic/kibana-management src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql +src/platform/plugins/shared/expression_error @elastic/kibana-presentation src/platform/plugins/shared/management @elastic/kibana-management src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/bfetch @elastic/appex-sharedux @@ -642,7 +643,6 @@ src/plugins/discover @elastic/kibana-data-discovery src/plugins/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team src/plugins/event_annotation @elastic/kibana-visualizations src/plugins/event_annotation_listing @elastic/kibana-visualizations -src/plugins/expression_error @elastic/kibana-presentation src/plugins/expression_image @elastic/kibana-presentation src/plugins/expression_metric @elastic/kibana-presentation src/plugins/expression_repeat_image @elastic/kibana-presentation diff --git a/.i18nrc.json b/.i18nrc.json index b4f32ad81ba8c..ebde87635284b 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -40,7 +40,7 @@ "kbnGridLayout": "packages/kbn-grid-layout", "esUi": "src/platform/plugins/shared/es_ui_shared", "expandableFlyout": "packages/kbn-expandable-flyout", - "expressionError": "src/plugins/expression_error", + "expressionError": "src/platform/plugins/shared/expression_error", "expressionGauge": "src/plugins/chart_expressions/expression_gauge", "expressionHeatmap": "src/plugins/chart_expressions/expression_heatmap", "expressionImage": "src/plugins/expression_image", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 1095be034c1ee..3acbe2f0ac071 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -122,7 +122,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |This plugin contains the library listing page for event annotation groups. -|{kib-repo}blob/{branch}/src/plugins/expression_error/README.md[expressionError] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_error/README.md[expressionError] |Expression Error plugin adds an error renderer to the expression plugin. The renderer will display the error image. diff --git a/package.json b/package.json index 9607d79b4e6e9..4e4488206862f 100644 --- a/package.json +++ b/package.json @@ -507,7 +507,7 @@ "@kbn/expandable-flyout": "link:x-pack/solutions/security/packages/expandable-flyout", "@kbn/exploratory-view-example-plugin": "link:x-pack/examples/exploratory_view_example", "@kbn/exploratory-view-plugin": "link:x-pack/solutions/observability/plugins/exploratory_view", - "@kbn/expression-error-plugin": "link:src/plugins/expression_error", + "@kbn/expression-error-plugin": "link:src/platform/plugins/shared/expression_error", "@kbn/expression-gauge-plugin": "link:src/plugins/chart_expressions/expression_gauge", "@kbn/expression-heatmap-plugin": "link:src/plugins/chart_expressions/expression_heatmap", "@kbn/expression-image-plugin": "link:src/plugins/expression_image", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index c8873cc31ae9c..ec6efea1492ea 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -34,7 +34,7 @@ export const storybookAliases = { esql_ast_inspector: 'examples/esql_ast_inspector/.storybook', es_ui_shared: 'src/platform/plugins/shared/es_ui_shared/.storybook', expandable_flyout: 'x-pack/solutions/security/packages/kbn-expandable-flyout/.storybook', - expression_error: 'src/plugins/expression_error/.storybook', + expression_error: 'src/platform/plugins/shared/expression_error/.storybook', expression_image: 'src/plugins/expression_image/.storybook', expression_metric_vis: 'src/plugins/chart_expressions/expression_legacy_metric/.storybook', expression_metric: 'src/plugins/expression_metric/.storybook', diff --git a/src/plugins/expression_error/.storybook/main.js b/src/platform/plugins/shared/expression_error/.storybook/main.js similarity index 100% rename from src/plugins/expression_error/.storybook/main.js rename to src/platform/plugins/shared/expression_error/.storybook/main.js diff --git a/src/plugins/expression_error/README.md b/src/platform/plugins/shared/expression_error/README.md similarity index 100% rename from src/plugins/expression_error/README.md rename to src/platform/plugins/shared/expression_error/README.md diff --git a/src/plugins/expression_error/common/constants.ts b/src/platform/plugins/shared/expression_error/common/constants.ts similarity index 100% rename from src/plugins/expression_error/common/constants.ts rename to src/platform/plugins/shared/expression_error/common/constants.ts diff --git a/src/plugins/expression_error/common/index.ts b/src/platform/plugins/shared/expression_error/common/index.ts similarity index 100% rename from src/plugins/expression_error/common/index.ts rename to src/platform/plugins/shared/expression_error/common/index.ts diff --git a/src/plugins/expression_error/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_error/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_error/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_error/common/types/expression_renderers.ts diff --git a/src/plugins/expression_error/common/types/index.ts b/src/platform/plugins/shared/expression_error/common/types/index.ts similarity index 100% rename from src/plugins/expression_error/common/types/index.ts rename to src/platform/plugins/shared/expression_error/common/types/index.ts diff --git a/src/plugins/expression_error/kibana.jsonc b/src/platform/plugins/shared/expression_error/kibana.jsonc similarity index 100% rename from src/plugins/expression_error/kibana.jsonc rename to src/platform/plugins/shared/expression_error/kibana.jsonc diff --git a/src/plugins/expression_error/public/components/debug/__stories__/__snapshots__/debug.stories.storyshot b/src/platform/plugins/shared/expression_error/public/components/debug/__stories__/__snapshots__/debug.stories.storyshot similarity index 100% rename from src/plugins/expression_error/public/components/debug/__stories__/__snapshots__/debug.stories.storyshot rename to src/platform/plugins/shared/expression_error/public/components/debug/__stories__/__snapshots__/debug.stories.storyshot diff --git a/src/plugins/expression_error/public/components/debug/__stories__/debug.stories.tsx b/src/platform/plugins/shared/expression_error/public/components/debug/__stories__/debug.stories.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug/__stories__/debug.stories.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug/__stories__/debug.stories.tsx diff --git a/src/plugins/expression_error/public/components/debug/__stories__/helpers.tsx b/src/platform/plugins/shared/expression_error/public/components/debug/__stories__/helpers.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug/__stories__/helpers.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug/__stories__/helpers.tsx diff --git a/src/plugins/expression_error/public/components/debug/debug.scss b/src/platform/plugins/shared/expression_error/public/components/debug/debug.scss similarity index 100% rename from src/plugins/expression_error/public/components/debug/debug.scss rename to src/platform/plugins/shared/expression_error/public/components/debug/debug.scss diff --git a/src/plugins/expression_error/public/components/debug/debug.tsx b/src/platform/plugins/shared/expression_error/public/components/debug/debug.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug/debug.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug/debug.tsx diff --git a/src/plugins/expression_error/public/components/debug/index.tsx b/src/platform/plugins/shared/expression_error/public/components/debug/index.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug/index.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug/index.tsx diff --git a/src/plugins/expression_error/public/components/debug_component.tsx b/src/platform/plugins/shared/expression_error/public/components/debug_component.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug_component.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug_component.tsx diff --git a/src/plugins/expression_error/public/components/error/error.tsx b/src/platform/plugins/shared/expression_error/public/components/error/error.tsx similarity index 100% rename from src/plugins/expression_error/public/components/error/error.tsx rename to src/platform/plugins/shared/expression_error/public/components/error/error.tsx diff --git a/src/plugins/expression_error/public/components/error/index.ts b/src/platform/plugins/shared/expression_error/public/components/error/index.ts similarity index 100% rename from src/plugins/expression_error/public/components/error/index.ts rename to src/platform/plugins/shared/expression_error/public/components/error/index.ts diff --git a/src/plugins/expression_error/public/components/error/show_debugging.tsx b/src/platform/plugins/shared/expression_error/public/components/error/show_debugging.tsx similarity index 100% rename from src/plugins/expression_error/public/components/error/show_debugging.tsx rename to src/platform/plugins/shared/expression_error/public/components/error/show_debugging.tsx diff --git a/src/plugins/expression_error/public/components/error_component.tsx b/src/platform/plugins/shared/expression_error/public/components/error_component.tsx similarity index 100% rename from src/plugins/expression_error/public/components/error_component.tsx rename to src/platform/plugins/shared/expression_error/public/components/error_component.tsx diff --git a/src/plugins/expression_error/public/components/index.ts b/src/platform/plugins/shared/expression_error/public/components/index.ts similarity index 100% rename from src/plugins/expression_error/public/components/index.ts rename to src/platform/plugins/shared/expression_error/public/components/index.ts diff --git a/src/plugins/expression_error/public/expression_renderers/__stories__/__snapshots__/error.stories.storyshot b/src/platform/plugins/shared/expression_error/public/expression_renderers/__stories__/__snapshots__/error.stories.storyshot similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/__stories__/__snapshots__/error.stories.storyshot rename to src/platform/plugins/shared/expression_error/public/expression_renderers/__stories__/__snapshots__/error.stories.storyshot diff --git a/src/plugins/expression_error/public/expression_renderers/__stories__/error_renderer.stories.tsx b/src/platform/plugins/shared/expression_error/public/expression_renderers/__stories__/error_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/__stories__/error_renderer.stories.tsx rename to src/platform/plugins/shared/expression_error/public/expression_renderers/__stories__/error_renderer.stories.tsx diff --git a/src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx b/src/platform/plugins/shared/expression_error/public/expression_renderers/debug_renderer.tsx similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx rename to src/platform/plugins/shared/expression_error/public/expression_renderers/debug_renderer.tsx diff --git a/src/plugins/expression_error/public/expression_renderers/error_renderer.tsx b/src/platform/plugins/shared/expression_error/public/expression_renderers/error_renderer.tsx similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/error_renderer.tsx rename to src/platform/plugins/shared/expression_error/public/expression_renderers/error_renderer.tsx diff --git a/src/plugins/expression_error/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_error/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_error/public/expression_renderers/index.ts diff --git a/src/plugins/expression_error/public/index.ts b/src/platform/plugins/shared/expression_error/public/index.ts similarity index 100% rename from src/plugins/expression_error/public/index.ts rename to src/platform/plugins/shared/expression_error/public/index.ts diff --git a/src/plugins/expression_error/public/plugin.ts b/src/platform/plugins/shared/expression_error/public/plugin.ts similarity index 100% rename from src/plugins/expression_error/public/plugin.ts rename to src/platform/plugins/shared/expression_error/public/plugin.ts diff --git a/src/plugins/expression_error/tsconfig.json b/src/platform/plugins/shared/expression_error/tsconfig.json similarity index 90% rename from src/plugins/expression_error/tsconfig.json rename to src/platform/plugins/shared/expression_error/tsconfig.json index 72103987db1d8..861d068a3746c 100644 --- a/src/plugins/expression_error/tsconfig.json +++ b/src/platform/plugins/shared/expression_error/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/tsconfig.base.json b/tsconfig.base.json index 80af676b905fb..8252aa7e960f6 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -902,8 +902,8 @@ "@kbn/exploratory-view-example-plugin/*": ["x-pack/examples/exploratory_view_example/*"], "@kbn/exploratory-view-plugin": ["x-pack/solutions/observability/plugins/exploratory_view"], "@kbn/exploratory-view-plugin/*": ["x-pack/solutions/observability/plugins/exploratory_view/*"], - "@kbn/expression-error-plugin": ["src/plugins/expression_error"], - "@kbn/expression-error-plugin/*": ["src/plugins/expression_error/*"], + "@kbn/expression-error-plugin": ["src/platform/plugins/shared/expression_error"], + "@kbn/expression-error-plugin/*": ["src/platform/plugins/shared/expression_error/*"], "@kbn/expression-gauge-plugin": ["src/plugins/chart_expressions/expression_gauge"], "@kbn/expression-gauge-plugin/*": ["src/plugins/chart_expressions/expression_gauge/*"], "@kbn/expression-heatmap-plugin": ["src/plugins/chart_expressions/expression_heatmap"], diff --git a/yarn.lock b/yarn.lock index 807f365841988..9a7ead41e4199 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5621,7 +5621,7 @@ version "0.0.0" uid "" -"@kbn/expression-error-plugin@link:src/plugins/expression_error": +"@kbn/expression-error-plugin@link:src/platform/plugins/shared/expression_error": version "0.0.0" uid "" From f3f343f682a7d4cd1245eb64e15e46e61508a2ac Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 15:56:58 +0100 Subject: [PATCH 08/29] Relocating module `@kbn/expression-image-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- .../plugins/shared}/expression_image/.storybook/main.js | 0 .../plugins/shared}/expression_image/README.md | 0 .../expression_image/__fixtures__/function_specs.ts | 0 .../shared}/expression_image/__fixtures__/index.ts | 0 .../plugins/shared}/expression_image/common/constants.ts | 0 .../common/expression_functions/image_function.test.ts | 0 .../common/expression_functions/image_function.ts | 0 .../expression_image/common/expression_functions/index.ts | 0 .../plugins/shared}/expression_image/common/index.ts | 0 .../expression_image/common/types/expression_functions.ts | 0 .../expression_image/common/types/expression_renderers.ts | 0 .../shared}/expression_image/common/types/index.ts | 0 .../plugins/shared}/expression_image/jest.config.js | 8 ++++---- .../plugins/shared}/expression_image/kibana.jsonc | 0 .../__stories__/__snapshots__/image.stories.storyshot | 0 .../__stories__/image_renderer.stories.tsx | 0 .../public/expression_renderers/image_renderer.tsx | 0 .../expression_image/public/expression_renderers/index.ts | 0 .../plugins/shared}/expression_image/public/index.ts | 0 .../plugins/shared}/expression_image/public/plugin.ts | 0 .../plugins/shared}/expression_image/server/index.ts | 0 .../plugins/shared}/expression_image/server/plugin.ts | 0 .../plugins/shared}/expression_image/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 30 files changed, 13 insertions(+), 13 deletions(-) rename src/{plugins => platform/plugins/shared}/expression_image/.storybook/main.js (100%) rename src/{plugins => platform/plugins/shared}/expression_image/README.md (100%) rename src/{plugins => platform/plugins/shared}/expression_image/__fixtures__/function_specs.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/__fixtures__/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/common/expression_functions/image_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/common/expression_functions/image_function.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/common/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/common/types/expression_functions.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/common/types/expression_renderers.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/common/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/jest.config.js (72%) rename src/{plugins => platform/plugins/shared}/expression_image/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/expression_image/public/expression_renderers/__stories__/__snapshots__/image.stories.storyshot (100%) rename src/{plugins => platform/plugins/shared}/expression_image/public/expression_renderers/__stories__/image_renderer.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_image/public/expression_renderers/image_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_image/public/expression_renderers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_image/tsconfig.json (90%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d0b9bb536f8ae..8fb03a32d8801 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -620,6 +620,7 @@ src/platform/plugins/shared/es_ui_shared @elastic/kibana-management src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/platform/plugins/shared/expression_error @elastic/kibana-presentation +src/platform/plugins/shared/expression_image @elastic/kibana-presentation src/platform/plugins/shared/management @elastic/kibana-management src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/bfetch @elastic/appex-sharedux @@ -643,7 +644,6 @@ src/plugins/discover @elastic/kibana-data-discovery src/plugins/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team src/plugins/event_annotation @elastic/kibana-visualizations src/plugins/event_annotation_listing @elastic/kibana-visualizations -src/plugins/expression_image @elastic/kibana-presentation src/plugins/expression_metric @elastic/kibana-presentation src/plugins/expression_repeat_image @elastic/kibana-presentation src/plugins/expression_reveal_image @elastic/kibana-presentation diff --git a/.i18nrc.json b/.i18nrc.json index ebde87635284b..ffe9e1540c637 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -43,7 +43,7 @@ "expressionError": "src/platform/plugins/shared/expression_error", "expressionGauge": "src/plugins/chart_expressions/expression_gauge", "expressionHeatmap": "src/plugins/chart_expressions/expression_heatmap", - "expressionImage": "src/plugins/expression_image", + "expressionImage": "src/platform/plugins/shared/expression_image", "expressionMetric": "src/plugins/expression_metric", "expressionMetricVis": "src/plugins/chart_expressions/expression_metric", "expressionLegacyMetricVis": "src/plugins/chart_expressions/expression_legacy_metric", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 3acbe2f0ac071..acc9125d55de6 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -134,7 +134,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/expression_image/README.md[expressionImage] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_image/README.md[expressionImage] |Expression Image plugin adds an image renderer to the expression plugin. The renderer will display the given image. diff --git a/package.json b/package.json index 4e4488206862f..11091d468faf8 100644 --- a/package.json +++ b/package.json @@ -510,7 +510,7 @@ "@kbn/expression-error-plugin": "link:src/platform/plugins/shared/expression_error", "@kbn/expression-gauge-plugin": "link:src/plugins/chart_expressions/expression_gauge", "@kbn/expression-heatmap-plugin": "link:src/plugins/chart_expressions/expression_heatmap", - "@kbn/expression-image-plugin": "link:src/plugins/expression_image", + "@kbn/expression-image-plugin": "link:src/platform/plugins/shared/expression_image", "@kbn/expression-legacy-metric-vis-plugin": "link:src/plugins/chart_expressions/expression_legacy_metric", "@kbn/expression-metric-plugin": "link:src/plugins/expression_metric", "@kbn/expression-metric-vis-plugin": "link:src/plugins/chart_expressions/expression_metric", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index ec6efea1492ea..6f97937a9563a 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -35,7 +35,7 @@ export const storybookAliases = { es_ui_shared: 'src/platform/plugins/shared/es_ui_shared/.storybook', expandable_flyout: 'x-pack/solutions/security/packages/kbn-expandable-flyout/.storybook', expression_error: 'src/platform/plugins/shared/expression_error/.storybook', - expression_image: 'src/plugins/expression_image/.storybook', + expression_image: 'src/platform/plugins/shared/expression_image/.storybook', expression_metric_vis: 'src/plugins/chart_expressions/expression_legacy_metric/.storybook', expression_metric: 'src/plugins/expression_metric/.storybook', expression_partition_vis: 'src/plugins/chart_expressions/expression_partition_vis/.storybook', diff --git a/src/plugins/expression_image/.storybook/main.js b/src/platform/plugins/shared/expression_image/.storybook/main.js similarity index 100% rename from src/plugins/expression_image/.storybook/main.js rename to src/platform/plugins/shared/expression_image/.storybook/main.js diff --git a/src/plugins/expression_image/README.md b/src/platform/plugins/shared/expression_image/README.md similarity index 100% rename from src/plugins/expression_image/README.md rename to src/platform/plugins/shared/expression_image/README.md diff --git a/src/plugins/expression_image/__fixtures__/function_specs.ts b/src/platform/plugins/shared/expression_image/__fixtures__/function_specs.ts similarity index 100% rename from src/plugins/expression_image/__fixtures__/function_specs.ts rename to src/platform/plugins/shared/expression_image/__fixtures__/function_specs.ts diff --git a/src/plugins/expression_image/__fixtures__/index.ts b/src/platform/plugins/shared/expression_image/__fixtures__/index.ts similarity index 100% rename from src/plugins/expression_image/__fixtures__/index.ts rename to src/platform/plugins/shared/expression_image/__fixtures__/index.ts diff --git a/src/plugins/expression_image/common/constants.ts b/src/platform/plugins/shared/expression_image/common/constants.ts similarity index 100% rename from src/plugins/expression_image/common/constants.ts rename to src/platform/plugins/shared/expression_image/common/constants.ts diff --git a/src/plugins/expression_image/common/expression_functions/image_function.test.ts b/src/platform/plugins/shared/expression_image/common/expression_functions/image_function.test.ts similarity index 100% rename from src/plugins/expression_image/common/expression_functions/image_function.test.ts rename to src/platform/plugins/shared/expression_image/common/expression_functions/image_function.test.ts diff --git a/src/plugins/expression_image/common/expression_functions/image_function.ts b/src/platform/plugins/shared/expression_image/common/expression_functions/image_function.ts similarity index 100% rename from src/plugins/expression_image/common/expression_functions/image_function.ts rename to src/platform/plugins/shared/expression_image/common/expression_functions/image_function.ts diff --git a/src/plugins/expression_image/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_image/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_image/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_image/common/expression_functions/index.ts diff --git a/src/plugins/expression_image/common/index.ts b/src/platform/plugins/shared/expression_image/common/index.ts similarity index 100% rename from src/plugins/expression_image/common/index.ts rename to src/platform/plugins/shared/expression_image/common/index.ts diff --git a/src/plugins/expression_image/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_image/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_image/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_image/common/types/expression_functions.ts diff --git a/src/plugins/expression_image/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_image/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts diff --git a/src/plugins/expression_image/common/types/index.ts b/src/platform/plugins/shared/expression_image/common/types/index.ts similarity index 100% rename from src/plugins/expression_image/common/types/index.ts rename to src/platform/plugins/shared/expression_image/common/types/index.ts diff --git a/src/plugins/expression_image/jest.config.js b/src/platform/plugins/shared/expression_image/jest.config.js similarity index 72% rename from src/plugins/expression_image/jest.config.js rename to src/platform/plugins/shared/expression_image/jest.config.js index c8c330398a233..f0f986ba95551 100644 --- a/src/plugins/expression_image/jest.config.js +++ b/src/platform/plugins/shared/expression_image/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_image', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_image'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_image', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/expression_image/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/expression_image/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/expression_image/kibana.jsonc b/src/platform/plugins/shared/expression_image/kibana.jsonc similarity index 100% rename from src/plugins/expression_image/kibana.jsonc rename to src/platform/plugins/shared/expression_image/kibana.jsonc diff --git a/src/plugins/expression_image/public/expression_renderers/__stories__/__snapshots__/image.stories.storyshot b/src/platform/plugins/shared/expression_image/public/expression_renderers/__stories__/__snapshots__/image.stories.storyshot similarity index 100% rename from src/plugins/expression_image/public/expression_renderers/__stories__/__snapshots__/image.stories.storyshot rename to src/platform/plugins/shared/expression_image/public/expression_renderers/__stories__/__snapshots__/image.stories.storyshot diff --git a/src/plugins/expression_image/public/expression_renderers/__stories__/image_renderer.stories.tsx b/src/platform/plugins/shared/expression_image/public/expression_renderers/__stories__/image_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_image/public/expression_renderers/__stories__/image_renderer.stories.tsx rename to src/platform/plugins/shared/expression_image/public/expression_renderers/__stories__/image_renderer.stories.tsx diff --git a/src/plugins/expression_image/public/expression_renderers/image_renderer.tsx b/src/platform/plugins/shared/expression_image/public/expression_renderers/image_renderer.tsx similarity index 100% rename from src/plugins/expression_image/public/expression_renderers/image_renderer.tsx rename to src/platform/plugins/shared/expression_image/public/expression_renderers/image_renderer.tsx diff --git a/src/plugins/expression_image/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_image/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_image/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_image/public/expression_renderers/index.ts diff --git a/src/plugins/expression_image/public/index.ts b/src/platform/plugins/shared/expression_image/public/index.ts similarity index 100% rename from src/plugins/expression_image/public/index.ts rename to src/platform/plugins/shared/expression_image/public/index.ts diff --git a/src/plugins/expression_image/public/plugin.ts b/src/platform/plugins/shared/expression_image/public/plugin.ts similarity index 100% rename from src/plugins/expression_image/public/plugin.ts rename to src/platform/plugins/shared/expression_image/public/plugin.ts diff --git a/src/plugins/expression_image/server/index.ts b/src/platform/plugins/shared/expression_image/server/index.ts similarity index 100% rename from src/plugins/expression_image/server/index.ts rename to src/platform/plugins/shared/expression_image/server/index.ts diff --git a/src/plugins/expression_image/server/plugin.ts b/src/platform/plugins/shared/expression_image/server/plugin.ts similarity index 100% rename from src/plugins/expression_image/server/plugin.ts rename to src/platform/plugins/shared/expression_image/server/plugin.ts diff --git a/src/plugins/expression_image/tsconfig.json b/src/platform/plugins/shared/expression_image/tsconfig.json similarity index 90% rename from src/plugins/expression_image/tsconfig.json rename to src/platform/plugins/shared/expression_image/tsconfig.json index 90dc26c409c59..b9d9e0e95002e 100644 --- a/src/plugins/expression_image/tsconfig.json +++ b/src/platform/plugins/shared/expression_image/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/tsconfig.base.json b/tsconfig.base.json index 8252aa7e960f6..15870f3209723 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -908,8 +908,8 @@ "@kbn/expression-gauge-plugin/*": ["src/plugins/chart_expressions/expression_gauge/*"], "@kbn/expression-heatmap-plugin": ["src/plugins/chart_expressions/expression_heatmap"], "@kbn/expression-heatmap-plugin/*": ["src/plugins/chart_expressions/expression_heatmap/*"], - "@kbn/expression-image-plugin": ["src/plugins/expression_image"], - "@kbn/expression-image-plugin/*": ["src/plugins/expression_image/*"], + "@kbn/expression-image-plugin": ["src/platform/plugins/shared/expression_image"], + "@kbn/expression-image-plugin/*": ["src/platform/plugins/shared/expression_image/*"], "@kbn/expression-legacy-metric-vis-plugin": ["src/plugins/chart_expressions/expression_legacy_metric"], "@kbn/expression-legacy-metric-vis-plugin/*": ["src/plugins/chart_expressions/expression_legacy_metric/*"], "@kbn/expression-metric-plugin": ["src/plugins/expression_metric"], diff --git a/yarn.lock b/yarn.lock index 9a7ead41e4199..e0769c636164d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5633,7 +5633,7 @@ version "0.0.0" uid "" -"@kbn/expression-image-plugin@link:src/plugins/expression_image": +"@kbn/expression-image-plugin@link:src/platform/plugins/shared/expression_image": version "0.0.0" uid "" From dcff5fd512fdb3e664cdc1f313bdfe67f3cbd19f Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 15:59:51 +0100 Subject: [PATCH 09/29] Relocating module `@kbn/expression-metric-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- .../plugins/shared}/expression_metric/.storybook/main.js | 0 .../plugins/shared}/expression_metric/README.md | 0 .../expression_metric/__fixtures__/function_specs.ts | 0 .../shared}/expression_metric/__fixtures__/index.ts | 0 .../plugins/shared}/expression_metric/common/constants.ts | 0 .../common/expression_functions/index.ts | 0 .../common/expression_functions/metric_function.test.ts | 0 .../common/expression_functions/metric_function.ts | 0 .../plugins/shared}/expression_metric/common/index.ts | 0 .../common/types/expression_functions.ts | 0 .../common/types/expression_renderers.ts | 0 .../shared}/expression_metric/common/types/index.ts | 0 .../plugins/shared}/expression_metric/jest.config.js | 8 ++++---- .../plugins/shared}/expression_metric/kibana.jsonc | 0 .../shared}/expression_metric/public/components/index.ts | 0 .../public/components/metric_component.tsx | 0 .../__stories__/__snapshots__/metric.stories.storyshot | 0 .../__stories__/metric_renderer.stories.tsx | 0 .../public/expression_renderers/index.ts | 0 .../public/expression_renderers/metric_renderer.tsx | 0 .../plugins/shared}/expression_metric/public/index.ts | 0 .../plugins/shared}/expression_metric/public/plugin.ts | 0 .../plugins/shared}/expression_metric/server/index.ts | 0 .../plugins/shared}/expression_metric/server/plugin.ts | 0 .../plugins/shared}/expression_metric/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 32 files changed, 13 insertions(+), 13 deletions(-) rename src/{plugins => platform/plugins/shared}/expression_metric/.storybook/main.js (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/README.md (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/__fixtures__/function_specs.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/__fixtures__/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/common/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/common/expression_functions/metric_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/common/expression_functions/metric_function.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/common/types/expression_functions.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/common/types/expression_renderers.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/common/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/jest.config.js (72%) rename src/{plugins => platform/plugins/shared}/expression_metric/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/public/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/public/components/metric_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/public/expression_renderers/__stories__/__snapshots__/metric.stories.storyshot (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/public/expression_renderers/__stories__/metric_renderer.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/public/expression_renderers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/public/expression_renderers/metric_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_metric/tsconfig.json (89%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8fb03a32d8801..a7d617da7f439 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -621,6 +621,7 @@ src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/platform/plugins/shared/expression_error @elastic/kibana-presentation src/platform/plugins/shared/expression_image @elastic/kibana-presentation +src/platform/plugins/shared/expression_metric @elastic/kibana-presentation src/platform/plugins/shared/management @elastic/kibana-management src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/bfetch @elastic/appex-sharedux @@ -644,7 +645,6 @@ src/plugins/discover @elastic/kibana-data-discovery src/plugins/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team src/plugins/event_annotation @elastic/kibana-visualizations src/plugins/event_annotation_listing @elastic/kibana-visualizations -src/plugins/expression_metric @elastic/kibana-presentation src/plugins/expression_repeat_image @elastic/kibana-presentation src/plugins/expression_reveal_image @elastic/kibana-presentation src/plugins/expression_shape @elastic/kibana-presentation diff --git a/.i18nrc.json b/.i18nrc.json index ffe9e1540c637..a5d108c1af7d7 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -44,7 +44,7 @@ "expressionGauge": "src/plugins/chart_expressions/expression_gauge", "expressionHeatmap": "src/plugins/chart_expressions/expression_heatmap", "expressionImage": "src/platform/plugins/shared/expression_image", - "expressionMetric": "src/plugins/expression_metric", + "expressionMetric": "src/platform/plugins/shared/expression_metric", "expressionMetricVis": "src/plugins/chart_expressions/expression_metric", "expressionLegacyMetricVis": "src/plugins/chart_expressions/expression_legacy_metric", "expressionPartitionVis": "src/plugins/chart_expressions/expression_partition_vis", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index acc9125d55de6..75f08fc7236f5 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -142,7 +142,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |Expression MetricVis plugin adds a metric renderer and function to the expression plugin. The renderer will display the metric chart. -|{kib-repo}blob/{branch}/src/plugins/expression_metric/README.md[expressionMetric] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_metric/README.md[expressionMetric] |Expression Metric plugin adds a metric renderer and function to the expression plugin. diff --git a/package.json b/package.json index 11091d468faf8..192ad669d352f 100644 --- a/package.json +++ b/package.json @@ -512,7 +512,7 @@ "@kbn/expression-heatmap-plugin": "link:src/plugins/chart_expressions/expression_heatmap", "@kbn/expression-image-plugin": "link:src/platform/plugins/shared/expression_image", "@kbn/expression-legacy-metric-vis-plugin": "link:src/plugins/chart_expressions/expression_legacy_metric", - "@kbn/expression-metric-plugin": "link:src/plugins/expression_metric", + "@kbn/expression-metric-plugin": "link:src/platform/plugins/shared/expression_metric", "@kbn/expression-metric-vis-plugin": "link:src/plugins/chart_expressions/expression_metric", "@kbn/expression-partition-vis-plugin": "link:src/plugins/chart_expressions/expression_partition_vis", "@kbn/expression-repeat-image-plugin": "link:src/plugins/expression_repeat_image", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 6f97937a9563a..595ef67398c53 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -37,7 +37,7 @@ export const storybookAliases = { expression_error: 'src/platform/plugins/shared/expression_error/.storybook', expression_image: 'src/platform/plugins/shared/expression_image/.storybook', expression_metric_vis: 'src/plugins/chart_expressions/expression_legacy_metric/.storybook', - expression_metric: 'src/plugins/expression_metric/.storybook', + expression_metric: 'src/platform/plugins/shared/expression_metric/.storybook', expression_partition_vis: 'src/plugins/chart_expressions/expression_partition_vis/.storybook', expression_repeat_image: 'src/plugins/expression_repeat_image/.storybook', expression_reveal_image: 'src/plugins/expression_reveal_image/.storybook', diff --git a/src/plugins/expression_metric/.storybook/main.js b/src/platform/plugins/shared/expression_metric/.storybook/main.js similarity index 100% rename from src/plugins/expression_metric/.storybook/main.js rename to src/platform/plugins/shared/expression_metric/.storybook/main.js diff --git a/src/plugins/expression_metric/README.md b/src/platform/plugins/shared/expression_metric/README.md similarity index 100% rename from src/plugins/expression_metric/README.md rename to src/platform/plugins/shared/expression_metric/README.md diff --git a/src/plugins/expression_metric/__fixtures__/function_specs.ts b/src/platform/plugins/shared/expression_metric/__fixtures__/function_specs.ts similarity index 100% rename from src/plugins/expression_metric/__fixtures__/function_specs.ts rename to src/platform/plugins/shared/expression_metric/__fixtures__/function_specs.ts diff --git a/src/plugins/expression_metric/__fixtures__/index.ts b/src/platform/plugins/shared/expression_metric/__fixtures__/index.ts similarity index 100% rename from src/plugins/expression_metric/__fixtures__/index.ts rename to src/platform/plugins/shared/expression_metric/__fixtures__/index.ts diff --git a/src/plugins/expression_metric/common/constants.ts b/src/platform/plugins/shared/expression_metric/common/constants.ts similarity index 100% rename from src/plugins/expression_metric/common/constants.ts rename to src/platform/plugins/shared/expression_metric/common/constants.ts diff --git a/src/plugins/expression_metric/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_metric/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_metric/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_metric/common/expression_functions/index.ts diff --git a/src/plugins/expression_metric/common/expression_functions/metric_function.test.ts b/src/platform/plugins/shared/expression_metric/common/expression_functions/metric_function.test.ts similarity index 100% rename from src/plugins/expression_metric/common/expression_functions/metric_function.test.ts rename to src/platform/plugins/shared/expression_metric/common/expression_functions/metric_function.test.ts diff --git a/src/plugins/expression_metric/common/expression_functions/metric_function.ts b/src/platform/plugins/shared/expression_metric/common/expression_functions/metric_function.ts similarity index 100% rename from src/plugins/expression_metric/common/expression_functions/metric_function.ts rename to src/platform/plugins/shared/expression_metric/common/expression_functions/metric_function.ts diff --git a/src/plugins/expression_metric/common/index.ts b/src/platform/plugins/shared/expression_metric/common/index.ts similarity index 100% rename from src/plugins/expression_metric/common/index.ts rename to src/platform/plugins/shared/expression_metric/common/index.ts diff --git a/src/plugins/expression_metric/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_metric/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts diff --git a/src/plugins/expression_metric/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_metric/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts diff --git a/src/plugins/expression_metric/common/types/index.ts b/src/platform/plugins/shared/expression_metric/common/types/index.ts similarity index 100% rename from src/plugins/expression_metric/common/types/index.ts rename to src/platform/plugins/shared/expression_metric/common/types/index.ts diff --git a/src/plugins/expression_metric/jest.config.js b/src/platform/plugins/shared/expression_metric/jest.config.js similarity index 72% rename from src/plugins/expression_metric/jest.config.js rename to src/platform/plugins/shared/expression_metric/jest.config.js index 331dafefe3305..70382c3c0785a 100644 --- a/src/plugins/expression_metric/jest.config.js +++ b/src/platform/plugins/shared/expression_metric/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_metric'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_metric', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_metric'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_metric', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/expression_metric/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/expression_metric/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/expression_metric/kibana.jsonc b/src/platform/plugins/shared/expression_metric/kibana.jsonc similarity index 100% rename from src/plugins/expression_metric/kibana.jsonc rename to src/platform/plugins/shared/expression_metric/kibana.jsonc diff --git a/src/plugins/expression_metric/public/components/index.ts b/src/platform/plugins/shared/expression_metric/public/components/index.ts similarity index 100% rename from src/plugins/expression_metric/public/components/index.ts rename to src/platform/plugins/shared/expression_metric/public/components/index.ts diff --git a/src/plugins/expression_metric/public/components/metric_component.tsx b/src/platform/plugins/shared/expression_metric/public/components/metric_component.tsx similarity index 100% rename from src/plugins/expression_metric/public/components/metric_component.tsx rename to src/platform/plugins/shared/expression_metric/public/components/metric_component.tsx diff --git a/src/plugins/expression_metric/public/expression_renderers/__stories__/__snapshots__/metric.stories.storyshot b/src/platform/plugins/shared/expression_metric/public/expression_renderers/__stories__/__snapshots__/metric.stories.storyshot similarity index 100% rename from src/plugins/expression_metric/public/expression_renderers/__stories__/__snapshots__/metric.stories.storyshot rename to src/platform/plugins/shared/expression_metric/public/expression_renderers/__stories__/__snapshots__/metric.stories.storyshot diff --git a/src/plugins/expression_metric/public/expression_renderers/__stories__/metric_renderer.stories.tsx b/src/platform/plugins/shared/expression_metric/public/expression_renderers/__stories__/metric_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_metric/public/expression_renderers/__stories__/metric_renderer.stories.tsx rename to src/platform/plugins/shared/expression_metric/public/expression_renderers/__stories__/metric_renderer.stories.tsx diff --git a/src/plugins/expression_metric/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_metric/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_metric/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_metric/public/expression_renderers/index.ts diff --git a/src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx b/src/platform/plugins/shared/expression_metric/public/expression_renderers/metric_renderer.tsx similarity index 100% rename from src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx rename to src/platform/plugins/shared/expression_metric/public/expression_renderers/metric_renderer.tsx diff --git a/src/plugins/expression_metric/public/index.ts b/src/platform/plugins/shared/expression_metric/public/index.ts similarity index 100% rename from src/plugins/expression_metric/public/index.ts rename to src/platform/plugins/shared/expression_metric/public/index.ts diff --git a/src/plugins/expression_metric/public/plugin.ts b/src/platform/plugins/shared/expression_metric/public/plugin.ts similarity index 100% rename from src/plugins/expression_metric/public/plugin.ts rename to src/platform/plugins/shared/expression_metric/public/plugin.ts diff --git a/src/plugins/expression_metric/server/index.ts b/src/platform/plugins/shared/expression_metric/server/index.ts similarity index 100% rename from src/plugins/expression_metric/server/index.ts rename to src/platform/plugins/shared/expression_metric/server/index.ts diff --git a/src/plugins/expression_metric/server/plugin.ts b/src/platform/plugins/shared/expression_metric/server/plugin.ts similarity index 100% rename from src/plugins/expression_metric/server/plugin.ts rename to src/platform/plugins/shared/expression_metric/server/plugin.ts diff --git a/src/plugins/expression_metric/tsconfig.json b/src/platform/plugins/shared/expression_metric/tsconfig.json similarity index 89% rename from src/plugins/expression_metric/tsconfig.json rename to src/platform/plugins/shared/expression_metric/tsconfig.json index 026013a9496ad..ee40034a7e747 100644 --- a/src/plugins/expression_metric/tsconfig.json +++ b/src/platform/plugins/shared/expression_metric/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/tsconfig.base.json b/tsconfig.base.json index 15870f3209723..a026291cf6737 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -912,8 +912,8 @@ "@kbn/expression-image-plugin/*": ["src/platform/plugins/shared/expression_image/*"], "@kbn/expression-legacy-metric-vis-plugin": ["src/plugins/chart_expressions/expression_legacy_metric"], "@kbn/expression-legacy-metric-vis-plugin/*": ["src/plugins/chart_expressions/expression_legacy_metric/*"], - "@kbn/expression-metric-plugin": ["src/plugins/expression_metric"], - "@kbn/expression-metric-plugin/*": ["src/plugins/expression_metric/*"], + "@kbn/expression-metric-plugin": ["src/platform/plugins/shared/expression_metric"], + "@kbn/expression-metric-plugin/*": ["src/platform/plugins/shared/expression_metric/*"], "@kbn/expression-metric-vis-plugin": ["src/plugins/chart_expressions/expression_metric"], "@kbn/expression-metric-vis-plugin/*": ["src/plugins/chart_expressions/expression_metric/*"], "@kbn/expression-partition-vis-plugin": ["src/plugins/chart_expressions/expression_partition_vis"], diff --git a/yarn.lock b/yarn.lock index e0769c636164d..0f7a57d7f3d7a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5641,7 +5641,7 @@ version "0.0.0" uid "" -"@kbn/expression-metric-plugin@link:src/plugins/expression_metric": +"@kbn/expression-metric-plugin@link:src/platform/plugins/shared/expression_metric": version "0.0.0" uid "" From d66df0f7f5a74f4a42f033d3cca3d49f34f9853b Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:02:48 +0100 Subject: [PATCH 10/29] Relocating module `@kbn/expression-repeat-image-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- .../shared}/expression_repeat_image/.storybook/main.js | 0 .../plugins/shared}/expression_repeat_image/README.md | 0 .../shared}/expression_repeat_image/common/constants.ts | 0 .../common/expression_functions/index.ts | 0 .../expression_functions/repeat_image_function.test.ts | 0 .../common/expression_functions/repeat_image_function.ts | 0 .../shared}/expression_repeat_image/common/index.ts | 0 .../common/types/expression_functions.ts | 0 .../common/types/expression_renderers.ts | 0 .../shared}/expression_repeat_image/common/types/index.ts | 0 .../shared}/expression_repeat_image/jest.config.js | 8 ++++---- .../plugins/shared}/expression_repeat_image/kibana.jsonc | 0 .../expression_repeat_image/public/components/index.ts | 0 .../public/components/repeat_image_component.tsx | 0 .../__snapshots__/repeat_image.stories.storyshot | 0 .../__stories__/repeat_image_renderer.stories.tsx | 0 .../public/expression_renderers/index.ts | 0 .../public/expression_renderers/repeat_image_renderer.tsx | 0 .../shared}/expression_repeat_image/public/index.ts | 0 .../shared}/expression_repeat_image/public/plugin.ts | 0 .../shared}/expression_repeat_image/server/index.ts | 0 .../shared}/expression_repeat_image/server/plugin.ts | 0 .../plugins/shared}/expression_repeat_image/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 30 files changed, 13 insertions(+), 13 deletions(-) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/.storybook/main.js (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/README.md (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/common/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/common/expression_functions/repeat_image_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/common/expression_functions/repeat_image_function.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/common/types/expression_functions.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/common/types/expression_renderers.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/common/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/jest.config.js (71%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/public/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/public/components/repeat_image_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/public/expression_renderers/__stories__/__snapshots__/repeat_image.stories.storyshot (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/public/expression_renderers/__stories__/repeat_image_renderer.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/public/expression_renderers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_repeat_image/tsconfig.json (89%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a7d617da7f439..0ea72d85f7771 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -622,6 +622,7 @@ src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/platform/plugins/shared/expression_error @elastic/kibana-presentation src/platform/plugins/shared/expression_image @elastic/kibana-presentation src/platform/plugins/shared/expression_metric @elastic/kibana-presentation +src/platform/plugins/shared/expression_repeat_image @elastic/kibana-presentation src/platform/plugins/shared/management @elastic/kibana-management src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/bfetch @elastic/appex-sharedux @@ -645,7 +646,6 @@ src/plugins/discover @elastic/kibana-data-discovery src/plugins/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team src/plugins/event_annotation @elastic/kibana-visualizations src/plugins/event_annotation_listing @elastic/kibana-visualizations -src/plugins/expression_repeat_image @elastic/kibana-presentation src/plugins/expression_reveal_image @elastic/kibana-presentation src/plugins/expression_shape @elastic/kibana-presentation src/plugins/expressions @elastic/kibana-visualizations diff --git a/.i18nrc.json b/.i18nrc.json index a5d108c1af7d7..adf36cba41b9e 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -49,7 +49,7 @@ "expressionLegacyMetricVis": "src/plugins/chart_expressions/expression_legacy_metric", "expressionPartitionVis": "src/plugins/chart_expressions/expression_partition_vis", "expressionXY": "src/plugins/chart_expressions/expression_xy", - "expressionRepeatImage": "src/plugins/expression_repeat_image", + "expressionRepeatImage": "src/platform/plugins/shared/expression_repeat_image", "expressionRevealImage": "src/plugins/expression_reveal_image", "expressions": "src/plugins/expressions", "expressionShape": "src/plugins/expression_shape", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 75f08fc7236f5..fd9ad341702b0 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -154,7 +154,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |Expression Partition Visualization plugin adds a partitionVis renderer and pieVis, mosaicVis, treemapVis, waffleVis functions to the expression plugin. The renderer will display the pie, waffle, treemap and mosaic charts. -|{kib-repo}blob/{branch}/src/plugins/expression_repeat_image/README.md[expressionRepeatImage] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_repeat_image/README.md[expressionRepeatImage] |Expression Repeat Image plugin adds a repeatImage function to the expression plugin and an associated renderer. The renderer will display the given image in mutliple instances. diff --git a/package.json b/package.json index 192ad669d352f..315b53057e290 100644 --- a/package.json +++ b/package.json @@ -515,7 +515,7 @@ "@kbn/expression-metric-plugin": "link:src/platform/plugins/shared/expression_metric", "@kbn/expression-metric-vis-plugin": "link:src/plugins/chart_expressions/expression_metric", "@kbn/expression-partition-vis-plugin": "link:src/plugins/chart_expressions/expression_partition_vis", - "@kbn/expression-repeat-image-plugin": "link:src/plugins/expression_repeat_image", + "@kbn/expression-repeat-image-plugin": "link:src/platform/plugins/shared/expression_repeat_image", "@kbn/expression-reveal-image-plugin": "link:src/plugins/expression_reveal_image", "@kbn/expression-shape-plugin": "link:src/plugins/expression_shape", "@kbn/expression-tagcloud-plugin": "link:src/plugins/chart_expressions/expression_tagcloud", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 595ef67398c53..61cd2307c6b24 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -39,7 +39,7 @@ export const storybookAliases = { expression_metric_vis: 'src/plugins/chart_expressions/expression_legacy_metric/.storybook', expression_metric: 'src/platform/plugins/shared/expression_metric/.storybook', expression_partition_vis: 'src/plugins/chart_expressions/expression_partition_vis/.storybook', - expression_repeat_image: 'src/plugins/expression_repeat_image/.storybook', + expression_repeat_image: 'src/platform/plugins/shared/expression_repeat_image/.storybook', expression_reveal_image: 'src/plugins/expression_reveal_image/.storybook', expression_shape: 'src/plugins/expression_shape/.storybook', expression_tagcloud: 'src/plugins/chart_expressions/expression_tagcloud/.storybook', diff --git a/src/plugins/expression_repeat_image/.storybook/main.js b/src/platform/plugins/shared/expression_repeat_image/.storybook/main.js similarity index 100% rename from src/plugins/expression_repeat_image/.storybook/main.js rename to src/platform/plugins/shared/expression_repeat_image/.storybook/main.js diff --git a/src/plugins/expression_repeat_image/README.md b/src/platform/plugins/shared/expression_repeat_image/README.md similarity index 100% rename from src/plugins/expression_repeat_image/README.md rename to src/platform/plugins/shared/expression_repeat_image/README.md diff --git a/src/plugins/expression_repeat_image/common/constants.ts b/src/platform/plugins/shared/expression_repeat_image/common/constants.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/constants.ts rename to src/platform/plugins/shared/expression_repeat_image/common/constants.ts diff --git a/src/plugins/expression_repeat_image/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_repeat_image/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_repeat_image/common/expression_functions/index.ts diff --git a/src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.test.ts b/src/platform/plugins/shared/expression_repeat_image/common/expression_functions/repeat_image_function.test.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.test.ts rename to src/platform/plugins/shared/expression_repeat_image/common/expression_functions/repeat_image_function.test.ts diff --git a/src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.ts b/src/platform/plugins/shared/expression_repeat_image/common/expression_functions/repeat_image_function.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.ts rename to src/platform/plugins/shared/expression_repeat_image/common/expression_functions/repeat_image_function.ts diff --git a/src/plugins/expression_repeat_image/common/index.ts b/src/platform/plugins/shared/expression_repeat_image/common/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/index.ts rename to src/platform/plugins/shared/expression_repeat_image/common/index.ts diff --git a/src/plugins/expression_repeat_image/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts diff --git a/src/plugins/expression_repeat_image/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts diff --git a/src/plugins/expression_repeat_image/common/types/index.ts b/src/platform/plugins/shared/expression_repeat_image/common/types/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/types/index.ts rename to src/platform/plugins/shared/expression_repeat_image/common/types/index.ts diff --git a/src/plugins/expression_repeat_image/jest.config.js b/src/platform/plugins/shared/expression_repeat_image/jest.config.js similarity index 71% rename from src/plugins/expression_repeat_image/jest.config.js rename to src/platform/plugins/shared/expression_repeat_image/jest.config.js index 75fd80914f229..b63c02abdaa4a 100644 --- a/src/plugins/expression_repeat_image/jest.config.js +++ b/src/platform/plugins/shared/expression_repeat_image/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_repeat_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_repeat_image', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_repeat_image'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_repeat_image', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/expression_repeat_image/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/expression_repeat_image/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/expression_repeat_image/kibana.jsonc b/src/platform/plugins/shared/expression_repeat_image/kibana.jsonc similarity index 100% rename from src/plugins/expression_repeat_image/kibana.jsonc rename to src/platform/plugins/shared/expression_repeat_image/kibana.jsonc diff --git a/src/plugins/expression_repeat_image/public/components/index.ts b/src/platform/plugins/shared/expression_repeat_image/public/components/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/public/components/index.ts rename to src/platform/plugins/shared/expression_repeat_image/public/components/index.ts diff --git a/src/plugins/expression_repeat_image/public/components/repeat_image_component.tsx b/src/platform/plugins/shared/expression_repeat_image/public/components/repeat_image_component.tsx similarity index 100% rename from src/plugins/expression_repeat_image/public/components/repeat_image_component.tsx rename to src/platform/plugins/shared/expression_repeat_image/public/components/repeat_image_component.tsx diff --git a/src/plugins/expression_repeat_image/public/expression_renderers/__stories__/__snapshots__/repeat_image.stories.storyshot b/src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/__stories__/__snapshots__/repeat_image.stories.storyshot similarity index 100% rename from src/plugins/expression_repeat_image/public/expression_renderers/__stories__/__snapshots__/repeat_image.stories.storyshot rename to src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/__stories__/__snapshots__/repeat_image.stories.storyshot diff --git a/src/plugins/expression_repeat_image/public/expression_renderers/__stories__/repeat_image_renderer.stories.tsx b/src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/__stories__/repeat_image_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_repeat_image/public/expression_renderers/__stories__/repeat_image_renderer.stories.tsx rename to src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/__stories__/repeat_image_renderer.stories.tsx diff --git a/src/plugins/expression_repeat_image/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/index.ts diff --git a/src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx b/src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx similarity index 100% rename from src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx rename to src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx diff --git a/src/plugins/expression_repeat_image/public/index.ts b/src/platform/plugins/shared/expression_repeat_image/public/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/public/index.ts rename to src/platform/plugins/shared/expression_repeat_image/public/index.ts diff --git a/src/plugins/expression_repeat_image/public/plugin.ts b/src/platform/plugins/shared/expression_repeat_image/public/plugin.ts similarity index 100% rename from src/plugins/expression_repeat_image/public/plugin.ts rename to src/platform/plugins/shared/expression_repeat_image/public/plugin.ts diff --git a/src/plugins/expression_repeat_image/server/index.ts b/src/platform/plugins/shared/expression_repeat_image/server/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/server/index.ts rename to src/platform/plugins/shared/expression_repeat_image/server/index.ts diff --git a/src/plugins/expression_repeat_image/server/plugin.ts b/src/platform/plugins/shared/expression_repeat_image/server/plugin.ts similarity index 100% rename from src/plugins/expression_repeat_image/server/plugin.ts rename to src/platform/plugins/shared/expression_repeat_image/server/plugin.ts diff --git a/src/plugins/expression_repeat_image/tsconfig.json b/src/platform/plugins/shared/expression_repeat_image/tsconfig.json similarity index 89% rename from src/plugins/expression_repeat_image/tsconfig.json rename to src/platform/plugins/shared/expression_repeat_image/tsconfig.json index dd41610e31b3a..750c42cdf0052 100644 --- a/src/plugins/expression_repeat_image/tsconfig.json +++ b/src/platform/plugins/shared/expression_repeat_image/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/tsconfig.base.json b/tsconfig.base.json index a026291cf6737..5f5b3fc879154 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -918,8 +918,8 @@ "@kbn/expression-metric-vis-plugin/*": ["src/plugins/chart_expressions/expression_metric/*"], "@kbn/expression-partition-vis-plugin": ["src/plugins/chart_expressions/expression_partition_vis"], "@kbn/expression-partition-vis-plugin/*": ["src/plugins/chart_expressions/expression_partition_vis/*"], - "@kbn/expression-repeat-image-plugin": ["src/plugins/expression_repeat_image"], - "@kbn/expression-repeat-image-plugin/*": ["src/plugins/expression_repeat_image/*"], + "@kbn/expression-repeat-image-plugin": ["src/platform/plugins/shared/expression_repeat_image"], + "@kbn/expression-repeat-image-plugin/*": ["src/platform/plugins/shared/expression_repeat_image/*"], "@kbn/expression-reveal-image-plugin": ["src/plugins/expression_reveal_image"], "@kbn/expression-reveal-image-plugin/*": ["src/plugins/expression_reveal_image/*"], "@kbn/expression-shape-plugin": ["src/plugins/expression_shape"], diff --git a/yarn.lock b/yarn.lock index 0f7a57d7f3d7a..e53513b672e20 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5653,7 +5653,7 @@ version "0.0.0" uid "" -"@kbn/expression-repeat-image-plugin@link:src/plugins/expression_repeat_image": +"@kbn/expression-repeat-image-plugin@link:src/platform/plugins/shared/expression_repeat_image": version "0.0.0" uid "" From b8d45942c054218b9764c7bd96493256e4883147 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:05:42 +0100 Subject: [PATCH 11/29] Relocating module `@kbn/expression-reveal-image-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- .../shared}/expression_reveal_image/.storybook/main.js | 0 .../plugins/shared}/expression_reveal_image/README.md | 0 .../shared}/expression_reveal_image/common/constants.ts | 0 .../common/expression_functions/index.ts | 0 .../common/expression_functions/reveal_image.test.ts | 0 .../common/expression_functions/reveal_image_function.ts | 0 .../shared}/expression_reveal_image/common/index.ts | 0 .../common/types/expression_functions.ts | 0 .../common/types/expression_renderers.ts | 0 .../shared}/expression_reveal_image/common/types/index.ts | 0 .../shared}/expression_reveal_image/jest.config.js | 8 ++++---- .../plugins/shared}/expression_reveal_image/kibana.jsonc | 0 .../expression_reveal_image/public/components/index.ts | 0 .../public/components/reveal_image_component.tsx | 0 .../__snapshots__/reveal_image.stories.storyshot | 0 .../__stories__/reveal_image_renderer.stories.tsx | 0 .../public/expression_renderers/index.ts | 0 .../public/expression_renderers/reveal_image_renderer.tsx | 0 .../shared}/expression_reveal_image/public/index.ts | 0 .../shared}/expression_reveal_image/public/plugin.ts | 0 .../shared}/expression_reveal_image/server/index.ts | 0 .../shared}/expression_reveal_image/server/plugin.ts | 0 .../plugins/shared}/expression_reveal_image/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 30 files changed, 13 insertions(+), 13 deletions(-) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/.storybook/main.js (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/README.md (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/common/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/common/expression_functions/reveal_image.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/common/expression_functions/reveal_image_function.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/common/types/expression_functions.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/common/types/expression_renderers.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/common/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/jest.config.js (71%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/public/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/public/components/reveal_image_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/public/expression_renderers/__stories__/__snapshots__/reveal_image.stories.storyshot (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/public/expression_renderers/__stories__/reveal_image_renderer.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/public/expression_renderers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_reveal_image/tsconfig.json (89%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0ea72d85f7771..a82f1994d93a6 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -623,6 +623,7 @@ src/platform/plugins/shared/expression_error @elastic/kibana-presentation src/platform/plugins/shared/expression_image @elastic/kibana-presentation src/platform/plugins/shared/expression_metric @elastic/kibana-presentation src/platform/plugins/shared/expression_repeat_image @elastic/kibana-presentation +src/platform/plugins/shared/expression_reveal_image @elastic/kibana-presentation src/platform/plugins/shared/management @elastic/kibana-management src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/bfetch @elastic/appex-sharedux @@ -646,7 +647,6 @@ src/plugins/discover @elastic/kibana-data-discovery src/plugins/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team src/plugins/event_annotation @elastic/kibana-visualizations src/plugins/event_annotation_listing @elastic/kibana-visualizations -src/plugins/expression_reveal_image @elastic/kibana-presentation src/plugins/expression_shape @elastic/kibana-presentation src/plugins/expressions @elastic/kibana-visualizations src/plugins/field_formats @elastic/kibana-data-discovery diff --git a/.i18nrc.json b/.i18nrc.json index adf36cba41b9e..bef190c1726e1 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -50,7 +50,7 @@ "expressionPartitionVis": "src/plugins/chart_expressions/expression_partition_vis", "expressionXY": "src/plugins/chart_expressions/expression_xy", "expressionRepeatImage": "src/platform/plugins/shared/expression_repeat_image", - "expressionRevealImage": "src/plugins/expression_reveal_image", + "expressionRevealImage": "src/platform/plugins/shared/expression_reveal_image", "expressions": "src/plugins/expressions", "expressionShape": "src/plugins/expression_shape", "expressionTagcloud": "src/plugins/chart_expressions/expression_tagcloud", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index fd9ad341702b0..7241a6dca361b 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -158,7 +158,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |Expression Repeat Image plugin adds a repeatImage function to the expression plugin and an associated renderer. The renderer will display the given image in mutliple instances. -|{kib-repo}blob/{branch}/src/plugins/expression_reveal_image/README.md[expressionRevealImage] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_reveal_image/README.md[expressionRevealImage] |Expression Reveal Image plugin adds a revealImage function to the expression plugin and an associated renderer. The renderer will display the given percentage of a given image. diff --git a/package.json b/package.json index 315b53057e290..e6b78f9edb0cc 100644 --- a/package.json +++ b/package.json @@ -516,7 +516,7 @@ "@kbn/expression-metric-vis-plugin": "link:src/plugins/chart_expressions/expression_metric", "@kbn/expression-partition-vis-plugin": "link:src/plugins/chart_expressions/expression_partition_vis", "@kbn/expression-repeat-image-plugin": "link:src/platform/plugins/shared/expression_repeat_image", - "@kbn/expression-reveal-image-plugin": "link:src/plugins/expression_reveal_image", + "@kbn/expression-reveal-image-plugin": "link:src/platform/plugins/shared/expression_reveal_image", "@kbn/expression-shape-plugin": "link:src/plugins/expression_shape", "@kbn/expression-tagcloud-plugin": "link:src/plugins/chart_expressions/expression_tagcloud", "@kbn/expression-xy-plugin": "link:src/plugins/chart_expressions/expression_xy", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 61cd2307c6b24..21e7224c07761 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -40,7 +40,7 @@ export const storybookAliases = { expression_metric: 'src/platform/plugins/shared/expression_metric/.storybook', expression_partition_vis: 'src/plugins/chart_expressions/expression_partition_vis/.storybook', expression_repeat_image: 'src/platform/plugins/shared/expression_repeat_image/.storybook', - expression_reveal_image: 'src/plugins/expression_reveal_image/.storybook', + expression_reveal_image: 'src/platform/plugins/shared/expression_reveal_image/.storybook', expression_shape: 'src/plugins/expression_shape/.storybook', expression_tagcloud: 'src/plugins/chart_expressions/expression_tagcloud/.storybook', fleet: 'x-pack/plugins/fleet/.storybook', diff --git a/src/plugins/expression_reveal_image/.storybook/main.js b/src/platform/plugins/shared/expression_reveal_image/.storybook/main.js similarity index 100% rename from src/plugins/expression_reveal_image/.storybook/main.js rename to src/platform/plugins/shared/expression_reveal_image/.storybook/main.js diff --git a/src/plugins/expression_reveal_image/README.md b/src/platform/plugins/shared/expression_reveal_image/README.md similarity index 100% rename from src/plugins/expression_reveal_image/README.md rename to src/platform/plugins/shared/expression_reveal_image/README.md diff --git a/src/plugins/expression_reveal_image/common/constants.ts b/src/platform/plugins/shared/expression_reveal_image/common/constants.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/constants.ts rename to src/platform/plugins/shared/expression_reveal_image/common/constants.ts diff --git a/src/plugins/expression_reveal_image/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_reveal_image/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_reveal_image/common/expression_functions/index.ts diff --git a/src/plugins/expression_reveal_image/common/expression_functions/reveal_image.test.ts b/src/platform/plugins/shared/expression_reveal_image/common/expression_functions/reveal_image.test.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/expression_functions/reveal_image.test.ts rename to src/platform/plugins/shared/expression_reveal_image/common/expression_functions/reveal_image.test.ts diff --git a/src/plugins/expression_reveal_image/common/expression_functions/reveal_image_function.ts b/src/platform/plugins/shared/expression_reveal_image/common/expression_functions/reveal_image_function.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/expression_functions/reveal_image_function.ts rename to src/platform/plugins/shared/expression_reveal_image/common/expression_functions/reveal_image_function.ts diff --git a/src/plugins/expression_reveal_image/common/index.ts b/src/platform/plugins/shared/expression_reveal_image/common/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/index.ts rename to src/platform/plugins/shared/expression_reveal_image/common/index.ts diff --git a/src/plugins/expression_reveal_image/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_reveal_image/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_reveal_image/common/types/expression_functions.ts diff --git a/src/plugins/expression_reveal_image/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_reveal_image/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_reveal_image/common/types/expression_renderers.ts diff --git a/src/plugins/expression_reveal_image/common/types/index.ts b/src/platform/plugins/shared/expression_reveal_image/common/types/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/types/index.ts rename to src/platform/plugins/shared/expression_reveal_image/common/types/index.ts diff --git a/src/plugins/expression_reveal_image/jest.config.js b/src/platform/plugins/shared/expression_reveal_image/jest.config.js similarity index 71% rename from src/plugins/expression_reveal_image/jest.config.js rename to src/platform/plugins/shared/expression_reveal_image/jest.config.js index bb6affeacc2bd..2502108b25ce9 100644 --- a/src/plugins/expression_reveal_image/jest.config.js +++ b/src/platform/plugins/shared/expression_reveal_image/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_reveal_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_reveal_image', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_reveal_image'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_reveal_image', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/expression_reveal_image/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/expression_reveal_image/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/expression_reveal_image/kibana.jsonc b/src/platform/plugins/shared/expression_reveal_image/kibana.jsonc similarity index 100% rename from src/plugins/expression_reveal_image/kibana.jsonc rename to src/platform/plugins/shared/expression_reveal_image/kibana.jsonc diff --git a/src/plugins/expression_reveal_image/public/components/index.ts b/src/platform/plugins/shared/expression_reveal_image/public/components/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/public/components/index.ts rename to src/platform/plugins/shared/expression_reveal_image/public/components/index.ts diff --git a/src/plugins/expression_reveal_image/public/components/reveal_image_component.tsx b/src/platform/plugins/shared/expression_reveal_image/public/components/reveal_image_component.tsx similarity index 100% rename from src/plugins/expression_reveal_image/public/components/reveal_image_component.tsx rename to src/platform/plugins/shared/expression_reveal_image/public/components/reveal_image_component.tsx diff --git a/src/plugins/expression_reveal_image/public/expression_renderers/__stories__/__snapshots__/reveal_image.stories.storyshot b/src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/__stories__/__snapshots__/reveal_image.stories.storyshot similarity index 100% rename from src/plugins/expression_reveal_image/public/expression_renderers/__stories__/__snapshots__/reveal_image.stories.storyshot rename to src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/__stories__/__snapshots__/reveal_image.stories.storyshot diff --git a/src/plugins/expression_reveal_image/public/expression_renderers/__stories__/reveal_image_renderer.stories.tsx b/src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/__stories__/reveal_image_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_reveal_image/public/expression_renderers/__stories__/reveal_image_renderer.stories.tsx rename to src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/__stories__/reveal_image_renderer.stories.tsx diff --git a/src/plugins/expression_reveal_image/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/index.ts diff --git a/src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx b/src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx similarity index 100% rename from src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx rename to src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx diff --git a/src/plugins/expression_reveal_image/public/index.ts b/src/platform/plugins/shared/expression_reveal_image/public/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/public/index.ts rename to src/platform/plugins/shared/expression_reveal_image/public/index.ts diff --git a/src/plugins/expression_reveal_image/public/plugin.ts b/src/platform/plugins/shared/expression_reveal_image/public/plugin.ts similarity index 100% rename from src/plugins/expression_reveal_image/public/plugin.ts rename to src/platform/plugins/shared/expression_reveal_image/public/plugin.ts diff --git a/src/plugins/expression_reveal_image/server/index.ts b/src/platform/plugins/shared/expression_reveal_image/server/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/server/index.ts rename to src/platform/plugins/shared/expression_reveal_image/server/index.ts diff --git a/src/plugins/expression_reveal_image/server/plugin.ts b/src/platform/plugins/shared/expression_reveal_image/server/plugin.ts similarity index 100% rename from src/plugins/expression_reveal_image/server/plugin.ts rename to src/platform/plugins/shared/expression_reveal_image/server/plugin.ts diff --git a/src/plugins/expression_reveal_image/tsconfig.json b/src/platform/plugins/shared/expression_reveal_image/tsconfig.json similarity index 89% rename from src/plugins/expression_reveal_image/tsconfig.json rename to src/platform/plugins/shared/expression_reveal_image/tsconfig.json index dd41610e31b3a..750c42cdf0052 100644 --- a/src/plugins/expression_reveal_image/tsconfig.json +++ b/src/platform/plugins/shared/expression_reveal_image/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/tsconfig.base.json b/tsconfig.base.json index 5f5b3fc879154..6b3fdc2b30cc2 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -920,8 +920,8 @@ "@kbn/expression-partition-vis-plugin/*": ["src/plugins/chart_expressions/expression_partition_vis/*"], "@kbn/expression-repeat-image-plugin": ["src/platform/plugins/shared/expression_repeat_image"], "@kbn/expression-repeat-image-plugin/*": ["src/platform/plugins/shared/expression_repeat_image/*"], - "@kbn/expression-reveal-image-plugin": ["src/plugins/expression_reveal_image"], - "@kbn/expression-reveal-image-plugin/*": ["src/plugins/expression_reveal_image/*"], + "@kbn/expression-reveal-image-plugin": ["src/platform/plugins/shared/expression_reveal_image"], + "@kbn/expression-reveal-image-plugin/*": ["src/platform/plugins/shared/expression_reveal_image/*"], "@kbn/expression-shape-plugin": ["src/plugins/expression_shape"], "@kbn/expression-shape-plugin/*": ["src/plugins/expression_shape/*"], "@kbn/expression-tagcloud-plugin": ["src/plugins/chart_expressions/expression_tagcloud"], diff --git a/yarn.lock b/yarn.lock index e53513b672e20..451cc877b8ebf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5657,7 +5657,7 @@ version "0.0.0" uid "" -"@kbn/expression-reveal-image-plugin@link:src/plugins/expression_reveal_image": +"@kbn/expression-reveal-image-plugin@link:src/platform/plugins/shared/expression_reveal_image": version "0.0.0" uid "" From 544213d3b9a364bec00a063ba0be45eb3e13269e Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:08:33 +0100 Subject: [PATCH 12/29] Relocating module `@kbn/expression-shape-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- .../plugins/shared}/expression_shape/.storybook/main.js | 0 .../plugins/shared}/expression_shape/README.md | 0 .../expression_shape/__fixtures__/function_specs.ts | 0 .../shared}/expression_shape/__fixtures__/index.ts | 0 .../plugins/shared}/expression_shape/common/constants.ts | 0 .../expression_shape/common/expression_functions/index.ts | 0 .../common/expression_functions/progress_function.test.ts | 0 .../common/expression_functions/progress_function.ts | 0 .../common/expression_functions/shape_function.ts | 0 .../plugins/shared}/expression_shape/common/index.ts | 0 .../expression_shape/common/lib/available_shapes.ts | 0 .../plugins/shared}/expression_shape/common/lib/get_id.ts | 0 .../plugins/shared}/expression_shape/common/lib/index.ts | 0 .../shared}/expression_shape/common/lib/view_box.ts | 0 .../expression_shape/common/types/expression_functions.ts | 0 .../expression_shape/common/types/expression_renderers.ts | 0 .../shared}/expression_shape/common/types/index.ts | 0 .../plugins/shared}/expression_shape/jest.config.js | 8 ++++---- .../plugins/shared}/expression_shape/kibana.jsonc | 0 .../expression_shape/public/components/progress/index.ts | 0 .../public/components/progress/progress_component.tsx | 0 .../public/components/progress/progress_drawer.tsx | 0 .../public/components/progress/shapes/gauge.tsx | 0 .../public/components/progress/shapes/horizontal_bar.tsx | 0 .../public/components/progress/shapes/horizontal_pill.tsx | 0 .../public/components/progress/shapes/index.ts | 0 .../public/components/progress/shapes/semicircle.tsx | 0 .../public/components/progress/shapes/unicorn.tsx | 0 .../public/components/progress/shapes/vertical_bar.tsx | 0 .../public/components/progress/shapes/vertical_pill.tsx | 0 .../public/components/progress/shapes/wheel.tsx | 0 .../expression_shape/public/components/progress/utils.ts | 0 .../expression_shape/public/components/reusable/index.tsx | 0 .../public/components/reusable/shape_drawer.tsx | 0 .../public/components/reusable/shape_factory.tsx | 0 .../expression_shape/public/components/reusable/types.tsx | 0 .../expression_shape/public/components/reusable/utils.ts | 0 .../expression_shape/public/components/shape/index.ts | 0 .../public/components/shape/shape_component.tsx | 0 .../public/components/shape/shape_drawer.tsx | 0 .../public/components/shape/shapes/arrow.tsx | 0 .../public/components/shape/shapes/arrow_multi.tsx | 0 .../public/components/shape/shapes/bookmark.tsx | 0 .../public/components/shape/shapes/circle.tsx | 0 .../public/components/shape/shapes/cross.tsx | 0 .../public/components/shape/shapes/hexagon.tsx | 0 .../public/components/shape/shapes/index.ts | 0 .../public/components/shape/shapes/kite.tsx | 0 .../public/components/shape/shapes/pentagon.tsx | 0 .../public/components/shape/shapes/rhombus.tsx | 0 .../public/components/shape/shapes/semicircle.tsx | 0 .../public/components/shape/shapes/speech_bubble.tsx | 0 .../public/components/shape/shapes/square.tsx | 0 .../public/components/shape/shapes/star.tsx | 0 .../public/components/shape/shapes/tag.tsx | 0 .../public/components/shape/shapes/triangle.tsx | 0 .../public/components/shape/shapes/triangle_right.tsx | 0 .../expression_shape/public/components/shape/types.ts | 0 .../__stories__/__snapshots__/shape.stories.storyshot | 0 .../__stories__/progress_renderer.stories.tsx | 0 .../__stories__/shape_renderer.stories.tsx | 0 .../expression_shape/public/expression_renderers/index.ts | 0 .../public/expression_renderers/progress_renderer.tsx | 0 .../public/expression_renderers/shape_renderer.tsx | 0 .../plugins/shared}/expression_shape/public/index.ts | 0 .../plugins/shared}/expression_shape/public/plugin.ts | 0 .../plugins/shared}/expression_shape/server/index.ts | 0 .../plugins/shared}/expression_shape/server/plugin.ts | 0 .../plugins/shared}/expression_shape/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 76 files changed, 13 insertions(+), 13 deletions(-) rename src/{plugins => platform/plugins/shared}/expression_shape/.storybook/main.js (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/README.md (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/__fixtures__/function_specs.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/__fixtures__/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/common/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/common/expression_functions/progress_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/common/expression_functions/progress_function.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/common/expression_functions/shape_function.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/common/lib/available_shapes.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/common/lib/get_id.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/common/lib/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/common/lib/view_box.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/common/types/expression_functions.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/common/types/expression_renderers.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/common/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/jest.config.js (72%) rename src/{plugins => platform/plugins/shared}/expression_shape/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/progress/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/progress/progress_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/progress/progress_drawer.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/progress/shapes/gauge.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/progress/shapes/horizontal_bar.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/progress/shapes/horizontal_pill.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/progress/shapes/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/progress/shapes/semicircle.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/progress/shapes/unicorn.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/progress/shapes/vertical_bar.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/progress/shapes/vertical_pill.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/progress/shapes/wheel.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/progress/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/reusable/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/reusable/shape_drawer.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/reusable/shape_factory.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/reusable/types.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/reusable/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shape_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shape_drawer.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/arrow.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/arrow_multi.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/bookmark.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/circle.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/cross.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/hexagon.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/kite.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/pentagon.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/rhombus.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/semicircle.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/speech_bubble.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/square.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/star.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/tag.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/triangle.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/shapes/triangle_right.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/components/shape/types.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/expression_renderers/__stories__/__snapshots__/shape.stories.storyshot (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/expression_renderers/__stories__/progress_renderer.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/expression_renderers/__stories__/shape_renderer.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/expression_renderers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/expression_renderers/progress_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/expression_renderers/shape_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/expression_shape/tsconfig.json (90%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a82f1994d93a6..5813b7889f882 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -624,6 +624,7 @@ src/platform/plugins/shared/expression_image @elastic/kibana-presentation src/platform/plugins/shared/expression_metric @elastic/kibana-presentation src/platform/plugins/shared/expression_repeat_image @elastic/kibana-presentation src/platform/plugins/shared/expression_reveal_image @elastic/kibana-presentation +src/platform/plugins/shared/expression_shape @elastic/kibana-presentation src/platform/plugins/shared/management @elastic/kibana-management src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/bfetch @elastic/appex-sharedux @@ -647,7 +648,6 @@ src/plugins/discover @elastic/kibana-data-discovery src/plugins/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team src/plugins/event_annotation @elastic/kibana-visualizations src/plugins/event_annotation_listing @elastic/kibana-visualizations -src/plugins/expression_shape @elastic/kibana-presentation src/plugins/expressions @elastic/kibana-visualizations src/plugins/field_formats @elastic/kibana-data-discovery src/plugins/files @elastic/appex-sharedux diff --git a/.i18nrc.json b/.i18nrc.json index bef190c1726e1..a0cb83b887582 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -52,7 +52,7 @@ "expressionRepeatImage": "src/platform/plugins/shared/expression_repeat_image", "expressionRevealImage": "src/platform/plugins/shared/expression_reveal_image", "expressions": "src/plugins/expressions", - "expressionShape": "src/plugins/expression_shape", + "expressionShape": "src/platform/plugins/shared/expression_shape", "expressionTagcloud": "src/plugins/chart_expressions/expression_tagcloud", "eventAnnotation": "src/plugins/event_annotation", "eventAnnotationListing": "src/plugins/event_annotation_listing", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 7241a6dca361b..cfce3584a75b5 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -184,7 +184,7 @@ want to incorporate their own functions, types, and renderers into the service for use in their own application. -|{kib-repo}blob/{branch}/src/plugins/expression_shape/README.md[expressionShape] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_shape/README.md[expressionShape] |Expression Shape plugin adds a shape function to the expression plugin and an associated renderer. The renderer will display the given shape with selected decorations. diff --git a/package.json b/package.json index e6b78f9edb0cc..17ade2e3ca163 100644 --- a/package.json +++ b/package.json @@ -517,7 +517,7 @@ "@kbn/expression-partition-vis-plugin": "link:src/plugins/chart_expressions/expression_partition_vis", "@kbn/expression-repeat-image-plugin": "link:src/platform/plugins/shared/expression_repeat_image", "@kbn/expression-reveal-image-plugin": "link:src/platform/plugins/shared/expression_reveal_image", - "@kbn/expression-shape-plugin": "link:src/plugins/expression_shape", + "@kbn/expression-shape-plugin": "link:src/platform/plugins/shared/expression_shape", "@kbn/expression-tagcloud-plugin": "link:src/plugins/chart_expressions/expression_tagcloud", "@kbn/expression-xy-plugin": "link:src/plugins/chart_expressions/expression_xy", "@kbn/expressions-explorer-plugin": "link:examples/expressions_explorer", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 21e7224c07761..e226cedee928e 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -41,7 +41,7 @@ export const storybookAliases = { expression_partition_vis: 'src/plugins/chart_expressions/expression_partition_vis/.storybook', expression_repeat_image: 'src/platform/plugins/shared/expression_repeat_image/.storybook', expression_reveal_image: 'src/platform/plugins/shared/expression_reveal_image/.storybook', - expression_shape: 'src/plugins/expression_shape/.storybook', + expression_shape: 'src/platform/plugins/shared/expression_shape/.storybook', expression_tagcloud: 'src/plugins/chart_expressions/expression_tagcloud/.storybook', fleet: 'x-pack/plugins/fleet/.storybook', grouping: 'packages/kbn-grouping/.storybook', diff --git a/src/plugins/expression_shape/.storybook/main.js b/src/platform/plugins/shared/expression_shape/.storybook/main.js similarity index 100% rename from src/plugins/expression_shape/.storybook/main.js rename to src/platform/plugins/shared/expression_shape/.storybook/main.js diff --git a/src/plugins/expression_shape/README.md b/src/platform/plugins/shared/expression_shape/README.md similarity index 100% rename from src/plugins/expression_shape/README.md rename to src/platform/plugins/shared/expression_shape/README.md diff --git a/src/plugins/expression_shape/__fixtures__/function_specs.ts b/src/platform/plugins/shared/expression_shape/__fixtures__/function_specs.ts similarity index 100% rename from src/plugins/expression_shape/__fixtures__/function_specs.ts rename to src/platform/plugins/shared/expression_shape/__fixtures__/function_specs.ts diff --git a/src/plugins/expression_shape/__fixtures__/index.ts b/src/platform/plugins/shared/expression_shape/__fixtures__/index.ts similarity index 100% rename from src/plugins/expression_shape/__fixtures__/index.ts rename to src/platform/plugins/shared/expression_shape/__fixtures__/index.ts diff --git a/src/plugins/expression_shape/common/constants.ts b/src/platform/plugins/shared/expression_shape/common/constants.ts similarity index 100% rename from src/plugins/expression_shape/common/constants.ts rename to src/platform/plugins/shared/expression_shape/common/constants.ts diff --git a/src/plugins/expression_shape/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_shape/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_shape/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_shape/common/expression_functions/index.ts diff --git a/src/plugins/expression_shape/common/expression_functions/progress_function.test.ts b/src/platform/plugins/shared/expression_shape/common/expression_functions/progress_function.test.ts similarity index 100% rename from src/plugins/expression_shape/common/expression_functions/progress_function.test.ts rename to src/platform/plugins/shared/expression_shape/common/expression_functions/progress_function.test.ts diff --git a/src/plugins/expression_shape/common/expression_functions/progress_function.ts b/src/platform/plugins/shared/expression_shape/common/expression_functions/progress_function.ts similarity index 100% rename from src/plugins/expression_shape/common/expression_functions/progress_function.ts rename to src/platform/plugins/shared/expression_shape/common/expression_functions/progress_function.ts diff --git a/src/plugins/expression_shape/common/expression_functions/shape_function.ts b/src/platform/plugins/shared/expression_shape/common/expression_functions/shape_function.ts similarity index 100% rename from src/plugins/expression_shape/common/expression_functions/shape_function.ts rename to src/platform/plugins/shared/expression_shape/common/expression_functions/shape_function.ts diff --git a/src/plugins/expression_shape/common/index.ts b/src/platform/plugins/shared/expression_shape/common/index.ts similarity index 100% rename from src/plugins/expression_shape/common/index.ts rename to src/platform/plugins/shared/expression_shape/common/index.ts diff --git a/src/plugins/expression_shape/common/lib/available_shapes.ts b/src/platform/plugins/shared/expression_shape/common/lib/available_shapes.ts similarity index 100% rename from src/plugins/expression_shape/common/lib/available_shapes.ts rename to src/platform/plugins/shared/expression_shape/common/lib/available_shapes.ts diff --git a/src/plugins/expression_shape/common/lib/get_id.ts b/src/platform/plugins/shared/expression_shape/common/lib/get_id.ts similarity index 100% rename from src/plugins/expression_shape/common/lib/get_id.ts rename to src/platform/plugins/shared/expression_shape/common/lib/get_id.ts diff --git a/src/plugins/expression_shape/common/lib/index.ts b/src/platform/plugins/shared/expression_shape/common/lib/index.ts similarity index 100% rename from src/plugins/expression_shape/common/lib/index.ts rename to src/platform/plugins/shared/expression_shape/common/lib/index.ts diff --git a/src/plugins/expression_shape/common/lib/view_box.ts b/src/platform/plugins/shared/expression_shape/common/lib/view_box.ts similarity index 100% rename from src/plugins/expression_shape/common/lib/view_box.ts rename to src/platform/plugins/shared/expression_shape/common/lib/view_box.ts diff --git a/src/plugins/expression_shape/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_shape/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts diff --git a/src/plugins/expression_shape/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_shape/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts diff --git a/src/plugins/expression_shape/common/types/index.ts b/src/platform/plugins/shared/expression_shape/common/types/index.ts similarity index 100% rename from src/plugins/expression_shape/common/types/index.ts rename to src/platform/plugins/shared/expression_shape/common/types/index.ts diff --git a/src/plugins/expression_shape/jest.config.js b/src/platform/plugins/shared/expression_shape/jest.config.js similarity index 72% rename from src/plugins/expression_shape/jest.config.js rename to src/platform/plugins/shared/expression_shape/jest.config.js index db039178653bb..fb9279139c783 100644 --- a/src/plugins/expression_shape/jest.config.js +++ b/src/platform/plugins/shared/expression_shape/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_shape'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_shape', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_shape'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_shape', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/expression_shape/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/expression_shape/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/expression_shape/kibana.jsonc b/src/platform/plugins/shared/expression_shape/kibana.jsonc similarity index 100% rename from src/plugins/expression_shape/kibana.jsonc rename to src/platform/plugins/shared/expression_shape/kibana.jsonc diff --git a/src/plugins/expression_shape/public/components/progress/index.ts b/src/platform/plugins/shared/expression_shape/public/components/progress/index.ts similarity index 100% rename from src/plugins/expression_shape/public/components/progress/index.ts rename to src/platform/plugins/shared/expression_shape/public/components/progress/index.ts diff --git a/src/plugins/expression_shape/public/components/progress/progress_component.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/progress_component.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/progress_component.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/progress_component.tsx diff --git a/src/plugins/expression_shape/public/components/progress/progress_drawer.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/progress_drawer.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/progress_drawer.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/progress_drawer.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/gauge.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/gauge.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/gauge.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/gauge.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/horizontal_bar.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/horizontal_bar.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/horizontal_bar.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/horizontal_bar.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/horizontal_pill.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/horizontal_pill.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/horizontal_pill.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/horizontal_pill.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/index.ts b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/index.ts similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/index.ts rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/index.ts diff --git a/src/plugins/expression_shape/public/components/progress/shapes/semicircle.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/semicircle.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/semicircle.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/semicircle.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/unicorn.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/unicorn.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/unicorn.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/unicorn.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/vertical_bar.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/vertical_bar.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/vertical_bar.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/vertical_bar.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/vertical_pill.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/vertical_pill.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/vertical_pill.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/vertical_pill.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/wheel.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/wheel.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/wheel.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/wheel.tsx diff --git a/src/plugins/expression_shape/public/components/progress/utils.ts b/src/platform/plugins/shared/expression_shape/public/components/progress/utils.ts similarity index 100% rename from src/plugins/expression_shape/public/components/progress/utils.ts rename to src/platform/plugins/shared/expression_shape/public/components/progress/utils.ts diff --git a/src/plugins/expression_shape/public/components/reusable/index.tsx b/src/platform/plugins/shared/expression_shape/public/components/reusable/index.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/index.tsx rename to src/platform/plugins/shared/expression_shape/public/components/reusable/index.tsx diff --git a/src/plugins/expression_shape/public/components/reusable/shape_drawer.tsx b/src/platform/plugins/shared/expression_shape/public/components/reusable/shape_drawer.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/shape_drawer.tsx rename to src/platform/plugins/shared/expression_shape/public/components/reusable/shape_drawer.tsx diff --git a/src/plugins/expression_shape/public/components/reusable/shape_factory.tsx b/src/platform/plugins/shared/expression_shape/public/components/reusable/shape_factory.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/shape_factory.tsx rename to src/platform/plugins/shared/expression_shape/public/components/reusable/shape_factory.tsx diff --git a/src/plugins/expression_shape/public/components/reusable/types.tsx b/src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/types.tsx rename to src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx diff --git a/src/plugins/expression_shape/public/components/reusable/utils.ts b/src/platform/plugins/shared/expression_shape/public/components/reusable/utils.ts similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/utils.ts rename to src/platform/plugins/shared/expression_shape/public/components/reusable/utils.ts diff --git a/src/plugins/expression_shape/public/components/shape/index.ts b/src/platform/plugins/shared/expression_shape/public/components/shape/index.ts similarity index 100% rename from src/plugins/expression_shape/public/components/shape/index.ts rename to src/platform/plugins/shared/expression_shape/public/components/shape/index.ts diff --git a/src/plugins/expression_shape/public/components/shape/shape_component.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shape_component.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shape_component.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shape_component.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shape_drawer.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shape_drawer.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shape_drawer.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shape_drawer.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/arrow.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/arrow.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/arrow.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/arrow.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/arrow_multi.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/arrow_multi.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/arrow_multi.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/arrow_multi.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/bookmark.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/bookmark.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/bookmark.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/bookmark.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/circle.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/circle.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/circle.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/circle.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/cross.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/cross.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/cross.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/cross.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/hexagon.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/hexagon.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/hexagon.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/hexagon.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/index.ts b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/index.ts similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/index.ts rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/index.ts diff --git a/src/plugins/expression_shape/public/components/shape/shapes/kite.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/kite.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/kite.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/kite.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/pentagon.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/pentagon.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/pentagon.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/pentagon.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/rhombus.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/rhombus.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/rhombus.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/rhombus.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/semicircle.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/semicircle.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/semicircle.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/semicircle.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/speech_bubble.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/speech_bubble.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/speech_bubble.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/speech_bubble.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/square.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/square.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/square.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/square.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/star.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/star.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/star.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/star.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/tag.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/tag.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/tag.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/tag.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/triangle.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/triangle.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/triangle.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/triangle.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/triangle_right.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/triangle_right.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/triangle_right.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/triangle_right.tsx diff --git a/src/plugins/expression_shape/public/components/shape/types.ts b/src/platform/plugins/shared/expression_shape/public/components/shape/types.ts similarity index 100% rename from src/plugins/expression_shape/public/components/shape/types.ts rename to src/platform/plugins/shared/expression_shape/public/components/shape/types.ts diff --git a/src/plugins/expression_shape/public/expression_renderers/__stories__/__snapshots__/shape.stories.storyshot b/src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/__snapshots__/shape.stories.storyshot similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/__stories__/__snapshots__/shape.stories.storyshot rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/__snapshots__/shape.stories.storyshot diff --git a/src/plugins/expression_shape/public/expression_renderers/__stories__/progress_renderer.stories.tsx b/src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/progress_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/__stories__/progress_renderer.stories.tsx rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/progress_renderer.stories.tsx diff --git a/src/plugins/expression_shape/public/expression_renderers/__stories__/shape_renderer.stories.tsx b/src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/shape_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/__stories__/shape_renderer.stories.tsx rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/shape_renderer.stories.tsx diff --git a/src/plugins/expression_shape/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_shape/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/index.ts diff --git a/src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx b/src/platform/plugins/shared/expression_shape/public/expression_renderers/progress_renderer.tsx similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/progress_renderer.tsx diff --git a/src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx b/src/platform/plugins/shared/expression_shape/public/expression_renderers/shape_renderer.tsx similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/shape_renderer.tsx diff --git a/src/plugins/expression_shape/public/index.ts b/src/platform/plugins/shared/expression_shape/public/index.ts similarity index 100% rename from src/plugins/expression_shape/public/index.ts rename to src/platform/plugins/shared/expression_shape/public/index.ts diff --git a/src/plugins/expression_shape/public/plugin.ts b/src/platform/plugins/shared/expression_shape/public/plugin.ts similarity index 100% rename from src/plugins/expression_shape/public/plugin.ts rename to src/platform/plugins/shared/expression_shape/public/plugin.ts diff --git a/src/plugins/expression_shape/server/index.ts b/src/platform/plugins/shared/expression_shape/server/index.ts similarity index 100% rename from src/plugins/expression_shape/server/index.ts rename to src/platform/plugins/shared/expression_shape/server/index.ts diff --git a/src/plugins/expression_shape/server/plugin.ts b/src/platform/plugins/shared/expression_shape/server/plugin.ts similarity index 100% rename from src/plugins/expression_shape/server/plugin.ts rename to src/platform/plugins/shared/expression_shape/server/plugin.ts diff --git a/src/plugins/expression_shape/tsconfig.json b/src/platform/plugins/shared/expression_shape/tsconfig.json similarity index 90% rename from src/plugins/expression_shape/tsconfig.json rename to src/platform/plugins/shared/expression_shape/tsconfig.json index 5c99b7a58ee85..9f2e65cc3d2e9 100644 --- a/src/plugins/expression_shape/tsconfig.json +++ b/src/platform/plugins/shared/expression_shape/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/tsconfig.base.json b/tsconfig.base.json index 6b3fdc2b30cc2..0a05f876e7ee0 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -922,8 +922,8 @@ "@kbn/expression-repeat-image-plugin/*": ["src/platform/plugins/shared/expression_repeat_image/*"], "@kbn/expression-reveal-image-plugin": ["src/platform/plugins/shared/expression_reveal_image"], "@kbn/expression-reveal-image-plugin/*": ["src/platform/plugins/shared/expression_reveal_image/*"], - "@kbn/expression-shape-plugin": ["src/plugins/expression_shape"], - "@kbn/expression-shape-plugin/*": ["src/plugins/expression_shape/*"], + "@kbn/expression-shape-plugin": ["src/platform/plugins/shared/expression_shape"], + "@kbn/expression-shape-plugin/*": ["src/platform/plugins/shared/expression_shape/*"], "@kbn/expression-tagcloud-plugin": ["src/plugins/chart_expressions/expression_tagcloud"], "@kbn/expression-tagcloud-plugin/*": ["src/plugins/chart_expressions/expression_tagcloud/*"], "@kbn/expression-xy-plugin": ["src/plugins/chart_expressions/expression_xy"], diff --git a/yarn.lock b/yarn.lock index 451cc877b8ebf..815388ed119aa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5661,7 +5661,7 @@ version "0.0.0" uid "" -"@kbn/expression-shape-plugin@link:src/plugins/expression_shape": +"@kbn/expression-shape-plugin@link:src/platform/plugins/shared/expression_shape": version "0.0.0" uid "" From 75166710f5028c46188bbd2b7a85d89011f9dce4 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:11:26 +0100 Subject: [PATCH 13/29] Relocating module `@kbn/file-upload-plugin` --- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- packages/kbn-test/src/jest/setup/polyfills.jsdom.js | 2 +- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../plugins/private}/file_upload/common/constants.ts | 0 .../plugins/private}/file_upload/common/index.ts | 0 .../plugins/private}/file_upload/common/types.ts | 0 .../plugins/private}/file_upload/jest.config.js | 8 ++++---- .../plugins/private}/file_upload/kibana.jsonc | 0 .../public/api/geo_upload_wizard_async_wrapper.tsx | 0 .../plugins/private}/file_upload/public/api/index.ts | 0 .../public/api/index_name_form_async_wrapper.tsx | 0 .../__snapshots__/import_complete_view.test.tsx.snap | 0 .../public/components/geo_upload_form/geo_file_picker.tsx | 0 .../public/components/geo_upload_form/geo_upload_form.tsx | 0 .../public/components/geo_upload_form/index.ts | 0 .../public/components/geo_upload_form/index_name_form.tsx | 0 .../file_upload/public/components/geo_upload_wizard.tsx | 0 .../public/components/import_complete_view.test.tsx | 0 .../public/components/import_complete_view.tsx | 0 .../private}/file_upload/public/components/utils.ts | 0 .../public/importer/geo/abstract_geo_file_importer.tsx | 0 .../file_upload/public/importer/geo/create_chunks.test.ts | 0 .../file_upload/public/importer/geo/create_chunks.ts | 0 .../public/importer/geo/geojson_clean_and_validate.js | 0 .../importer/geo/geojson_clean_and_validate.test.js | 0 .../geo/geojson_importer/geojson_importer.test.js | 0 .../importer/geo/geojson_importer/geojson_importer.ts | 0 .../public/importer/geo/geojson_importer/index.ts | 0 .../private}/file_upload/public/importer/geo/index.ts | 0 .../public/importer/geo/shapefile_importer/index.ts | 0 .../importer/geo/shapefile_importer/shapefile_editor.tsx | 0 .../geo/shapefile_importer/shapefile_importer.tsx | 0 .../geo/shapefile_importer/side_car_file_picker.test.ts | 0 .../geo/shapefile_importer/side_car_file_picker.tsx | 0 .../private}/file_upload/public/importer/geo/types.ts | 0 .../private}/file_upload/public/importer/get_max_bytes.ts | 0 .../private}/file_upload/public/importer/importer.ts | 0 .../file_upload/public/importer/importer_factory.ts | 0 .../plugins/private}/file_upload/public/importer/index.ts | 0 .../file_upload/public/importer/message_importer.ts | 0 .../file_upload/public/importer/ndjson_importer.ts | 0 .../private}/file_upload/public/importer/tika_importer.ts | 0 .../plugins/private}/file_upload/public/importer/types.ts | 0 .../private}/file_upload/public/importer/validate_file.ts | 0 .../plugins/private}/file_upload/public/index.ts | 0 .../private}/file_upload/public/kibana_services.ts | 0 .../private}/file_upload/public/lazy_load_bundle/index.ts | 0 .../file_upload/public/lazy_load_bundle/lazy/index.ts | 0 .../plugins/private}/file_upload/public/plugin.ts | 0 .../file_upload/public/validate_index_name.test.ts | 0 .../private}/file_upload/public/validate_index_name.ts | 0 .../plugins/private}/file_upload/server/analyze_file.tsx | 0 .../private}/file_upload/server/capabilities.test.ts | 0 .../plugins/private}/file_upload/server/capabilities.ts | 0 .../private}/file_upload/server/check_privileges.ts | 0 .../plugins/private}/file_upload/server/error_wrapper.ts | 0 .../private}/file_upload/server/get_time_field_range.ts | 0 .../plugins/private}/file_upload/server/import_data.ts | 0 .../plugins/private}/file_upload/server/index.ts | 0 .../plugins/private}/file_upload/server/plugin.ts | 0 .../file_upload/server/preview_index_time_range.ts | 0 .../private}/file_upload/server/preview_tika_contents.ts | 0 .../plugins/private}/file_upload/server/routes.ts | 0 .../plugins/private}/file_upload/server/schemas.ts | 0 .../private}/file_upload/server/telemetry/index.ts | 0 .../file_upload/server/telemetry/internal_repository.ts | 0 .../private}/file_upload/server/telemetry/mappings.ts | 0 .../file_upload/server/telemetry/telemetry.test.ts | 0 .../private}/file_upload/server/telemetry/telemetry.ts | 0 .../file_upload/server/telemetry/usage_collector.ts | 0 .../plugins/private}/file_upload/server/types.ts | 0 .../file_upload/server/utils/runtime_field_utils.ts | 0 .../plugins/private}/file_upload/tsconfig.json | 2 +- yarn.lock | 2 +- 77 files changed, 13 insertions(+), 13 deletions(-) rename x-pack/{plugins => platform/plugins/private}/file_upload/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/jest.config.js (64%) rename x-pack/{plugins => platform/plugins/private}/file_upload/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/api/geo_upload_wizard_async_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/api/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/api/index_name_form_async_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/components/geo_upload_form/geo_file_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/components/geo_upload_form/geo_upload_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/components/geo_upload_form/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/components/geo_upload_form/index_name_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/components/geo_upload_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/components/import_complete_view.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/components/import_complete_view.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/components/utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/abstract_geo_file_importer.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/create_chunks.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/create_chunks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/geojson_clean_and_validate.js (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/geojson_clean_and_validate.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/geojson_importer/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/shapefile_importer/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/shapefile_importer/shapefile_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/geo/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/get_max_bytes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/importer.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/importer_factory.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/message_importer.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/ndjson_importer.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/tika_importer.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/importer/validate_file.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/kibana_services.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/lazy_load_bundle/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/lazy_load_bundle/lazy/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/validate_index_name.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/public/validate_index_name.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/analyze_file.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/capabilities.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/capabilities.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/check_privileges.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/error_wrapper.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/get_time_field_range.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/import_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/preview_index_time_range.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/preview_tika_contents.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/routes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/schemas.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/telemetry/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/telemetry/internal_repository.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/telemetry/mappings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/telemetry/telemetry.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/telemetry/telemetry.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/telemetry/usage_collector.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/server/utils/runtime_field_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/file_upload/tsconfig.json (90%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5813b7889f882..ed05c0ec854c6 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -843,6 +843,7 @@ x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration @elastic x-pack/platform/plugins/private/cross_cluster_replication @elastic/kibana-management x-pack/platform/plugins/private/data_usage @elastic/obs-ai-assistant @elastic/security-solution x-pack/platform/plugins/private/data_visualizer @elastic/ml-ui +x-pack/platform/plugins/private/file_upload @elastic/kibana-presentation @elastic/ml-ui x-pack/platform/plugins/private/grokdebugger @elastic/kibana-management x-pack/platform/plugins/private/index_lifecycle_management @elastic/kibana-management x-pack/platform/plugins/private/license_api_guard @elastic/kibana-management @@ -887,7 +888,6 @@ x-pack/plugins/enterprise_search @elastic/search-kibana x-pack/plugins/event_log @elastic/response-ops x-pack/plugins/features @elastic/kibana-core x-pack/plugins/fields_metadata @elastic/obs-ux-logs-team -x-pack/plugins/file_upload @elastic/kibana-presentation @elastic/ml-ui x-pack/plugins/fleet @elastic/fleet x-pack/plugins/global_search @elastic/appex-sharedux x-pack/plugins/global_search_bar @elastic/appex-sharedux diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index cfce3584a75b5..f1f5db992b095 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -605,7 +605,7 @@ activities. |The @kbn/fields-metadata-plugin is designed to provide a centralized and asynchronous way to consume field metadata across Kibana. This plugin addresses the need for on-demand retrieval of field metadata from static ECS/Metadata definitions and integration manifests, with the flexibility to extend to additional resolution sources in the future. -|{kib-repo}blob/{branch}/x-pack/plugins/file_upload[fileUpload] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/file_upload[fileUpload] |WARNING: Missing README. diff --git a/package.json b/package.json index 17ade2e3ca163..dc44236941bf2 100644 --- a/package.json +++ b/package.json @@ -533,7 +533,7 @@ "@kbn/field-types": "link:packages/kbn-field-types", "@kbn/field-utils": "link:packages/kbn-field-utils", "@kbn/fields-metadata-plugin": "link:x-pack/plugins/fields_metadata", - "@kbn/file-upload-plugin": "link:x-pack/plugins/file_upload", + "@kbn/file-upload-plugin": "link:x-pack/platform/plugins/private/file_upload", "@kbn/files-example-plugin": "link:examples/files_example", "@kbn/files-management-plugin": "link:src/plugins/files_management", "@kbn/files-plugin": "link:src/plugins/files", diff --git a/packages/kbn-test/src/jest/setup/polyfills.jsdom.js b/packages/kbn-test/src/jest/setup/polyfills.jsdom.js index e6616c2bccfa1..1aaeede644b9b 100644 --- a/packages/kbn-test/src/jest/setup/polyfills.jsdom.js +++ b/packages/kbn-test/src/jest/setup/polyfills.jsdom.js @@ -25,7 +25,7 @@ if (!Object.hasOwn(global, 'TextEncoder')) { // NOTE: We should evaluate removing this once we upgrade to Node 18 and find out if loaders.gl already fixed this usage // or instead check if we can use the official Blob implementation. -// This is needed for x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js +// This is needed for x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js // // https://github.com/jsdom/jsdom/issues/2555 global.Blob = require('blob-polyfill').Blob; diff --git a/tsconfig.base.json b/tsconfig.base.json index 0a05f876e7ee0..713b334ef4b78 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -956,8 +956,8 @@ "@kbn/field-utils/*": ["packages/kbn-field-utils/*"], "@kbn/fields-metadata-plugin": ["x-pack/plugins/fields_metadata"], "@kbn/fields-metadata-plugin/*": ["x-pack/plugins/fields_metadata/*"], - "@kbn/file-upload-plugin": ["x-pack/plugins/file_upload"], - "@kbn/file-upload-plugin/*": ["x-pack/plugins/file_upload/*"], + "@kbn/file-upload-plugin": ["x-pack/platform/plugins/private/file_upload"], + "@kbn/file-upload-plugin/*": ["x-pack/platform/plugins/private/file_upload/*"], "@kbn/files-example-plugin": ["examples/files_example"], "@kbn/files-example-plugin/*": ["examples/files_example/*"], "@kbn/files-management-plugin": ["src/plugins/files_management"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index cc24a634e8e0e..f10c4786d6948 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -45,7 +45,7 @@ "xpack.features": "plugins/features", "xpack.dataVisualizer": "platform/plugins/private/data_visualizer", "xpack.exploratoryView": "solutions/observability/plugins/exploratory_view", - "xpack.fileUpload": "plugins/file_upload", + "xpack.fileUpload": "platform/plugins/private/file_upload", "xpack.globalSearch": [ "plugins/global_search" ], diff --git a/x-pack/plugins/file_upload/common/constants.ts b/x-pack/platform/plugins/private/file_upload/common/constants.ts similarity index 100% rename from x-pack/plugins/file_upload/common/constants.ts rename to x-pack/platform/plugins/private/file_upload/common/constants.ts diff --git a/x-pack/plugins/file_upload/common/index.ts b/x-pack/platform/plugins/private/file_upload/common/index.ts similarity index 100% rename from x-pack/plugins/file_upload/common/index.ts rename to x-pack/platform/plugins/private/file_upload/common/index.ts diff --git a/x-pack/plugins/file_upload/common/types.ts b/x-pack/platform/plugins/private/file_upload/common/types.ts similarity index 100% rename from x-pack/plugins/file_upload/common/types.ts rename to x-pack/platform/plugins/private/file_upload/common/types.ts diff --git a/x-pack/plugins/file_upload/jest.config.js b/x-pack/platform/plugins/private/file_upload/jest.config.js similarity index 64% rename from x-pack/plugins/file_upload/jest.config.js rename to x-pack/platform/plugins/private/file_upload/jest.config.js index 92b3c27c74f11..2ea92473dbe07 100644 --- a/x-pack/plugins/file_upload/jest.config.js +++ b/x-pack/platform/plugins/private/file_upload/jest.config.js @@ -7,11 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/file_upload'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/file_upload', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/file_upload'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/private/file_upload', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/file_upload/{common,public,server}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/private/file_upload/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/plugins/file_upload/kibana.jsonc b/x-pack/platform/plugins/private/file_upload/kibana.jsonc similarity index 100% rename from x-pack/plugins/file_upload/kibana.jsonc rename to x-pack/platform/plugins/private/file_upload/kibana.jsonc diff --git a/x-pack/plugins/file_upload/public/api/geo_upload_wizard_async_wrapper.tsx b/x-pack/platform/plugins/private/file_upload/public/api/geo_upload_wizard_async_wrapper.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/api/geo_upload_wizard_async_wrapper.tsx rename to x-pack/platform/plugins/private/file_upload/public/api/geo_upload_wizard_async_wrapper.tsx diff --git a/x-pack/plugins/file_upload/public/api/index.ts b/x-pack/platform/plugins/private/file_upload/public/api/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/api/index.ts rename to x-pack/platform/plugins/private/file_upload/public/api/index.ts diff --git a/x-pack/plugins/file_upload/public/api/index_name_form_async_wrapper.tsx b/x-pack/platform/plugins/private/file_upload/public/api/index_name_form_async_wrapper.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/api/index_name_form_async_wrapper.tsx rename to x-pack/platform/plugins/private/file_upload/public/api/index_name_form_async_wrapper.tsx diff --git a/x-pack/plugins/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap b/x-pack/platform/plugins/private/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap similarity index 100% rename from x-pack/plugins/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap rename to x-pack/platform/plugins/private/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_form/geo_file_picker.tsx b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/geo_file_picker.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_form/geo_file_picker.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/geo_file_picker.tsx diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_form/geo_upload_form.tsx b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/geo_upload_form.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_form/geo_upload_form.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/geo_upload_form.tsx diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_form/index.ts b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_form/index.ts rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index.ts diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_wizard.tsx b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_wizard.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_wizard.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_wizard.tsx diff --git a/x-pack/plugins/file_upload/public/components/import_complete_view.test.tsx b/x-pack/platform/plugins/private/file_upload/public/components/import_complete_view.test.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/import_complete_view.test.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/import_complete_view.test.tsx diff --git a/x-pack/plugins/file_upload/public/components/import_complete_view.tsx b/x-pack/platform/plugins/private/file_upload/public/components/import_complete_view.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/import_complete_view.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/import_complete_view.tsx diff --git a/x-pack/plugins/file_upload/public/components/utils.ts b/x-pack/platform/plugins/private/file_upload/public/components/utils.ts similarity index 100% rename from x-pack/plugins/file_upload/public/components/utils.ts rename to x-pack/platform/plugins/private/file_upload/public/components/utils.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/abstract_geo_file_importer.tsx b/x-pack/platform/plugins/private/file_upload/public/importer/geo/abstract_geo_file_importer.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/abstract_geo_file_importer.tsx rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/abstract_geo_file_importer.tsx diff --git a/x-pack/plugins/file_upload/public/importer/geo/create_chunks.test.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/create_chunks.test.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/create_chunks.test.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/create_chunks.test.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/create_chunks.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/create_chunks.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/create_chunks.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/create_chunks.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_clean_and_validate.js b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_clean_and_validate.js similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_clean_and_validate.js rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_clean_and_validate.js diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_clean_and_validate.test.js b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_clean_and_validate.test.js similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_clean_and_validate.test.js rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_clean_and_validate.test.js diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_importer/index.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_importer/index.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/index.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/index.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/index.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/index.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/index.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/index.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/index.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_editor.tsx b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/shapefile_editor.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_editor.tsx rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/shapefile_editor.tsx diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.test.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.test.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.test.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.test.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.tsx b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.tsx rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.tsx diff --git a/x-pack/plugins/file_upload/public/importer/geo/types.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/types.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/types.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/types.ts diff --git a/x-pack/plugins/file_upload/public/importer/get_max_bytes.ts b/x-pack/platform/plugins/private/file_upload/public/importer/get_max_bytes.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/get_max_bytes.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/get_max_bytes.ts diff --git a/x-pack/plugins/file_upload/public/importer/importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/importer_factory.ts b/x-pack/platform/plugins/private/file_upload/public/importer/importer_factory.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/importer_factory.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/importer_factory.ts diff --git a/x-pack/plugins/file_upload/public/importer/index.ts b/x-pack/platform/plugins/private/file_upload/public/importer/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/index.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/index.ts diff --git a/x-pack/plugins/file_upload/public/importer/message_importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/message_importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/ndjson_importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/ndjson_importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/ndjson_importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/ndjson_importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/tika_importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/tika_importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/tika_importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/tika_importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/types.ts b/x-pack/platform/plugins/private/file_upload/public/importer/types.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/types.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/types.ts diff --git a/x-pack/plugins/file_upload/public/importer/validate_file.ts b/x-pack/platform/plugins/private/file_upload/public/importer/validate_file.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/validate_file.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/validate_file.ts diff --git a/x-pack/plugins/file_upload/public/index.ts b/x-pack/platform/plugins/private/file_upload/public/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/index.ts rename to x-pack/platform/plugins/private/file_upload/public/index.ts diff --git a/x-pack/plugins/file_upload/public/kibana_services.ts b/x-pack/platform/plugins/private/file_upload/public/kibana_services.ts similarity index 100% rename from x-pack/plugins/file_upload/public/kibana_services.ts rename to x-pack/platform/plugins/private/file_upload/public/kibana_services.ts diff --git a/x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts b/x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts rename to x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts diff --git a/x-pack/plugins/file_upload/public/lazy_load_bundle/lazy/index.ts b/x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/lazy/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/lazy_load_bundle/lazy/index.ts rename to x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/lazy/index.ts diff --git a/x-pack/plugins/file_upload/public/plugin.ts b/x-pack/platform/plugins/private/file_upload/public/plugin.ts similarity index 100% rename from x-pack/plugins/file_upload/public/plugin.ts rename to x-pack/platform/plugins/private/file_upload/public/plugin.ts diff --git a/x-pack/plugins/file_upload/public/validate_index_name.test.ts b/x-pack/platform/plugins/private/file_upload/public/validate_index_name.test.ts similarity index 100% rename from x-pack/plugins/file_upload/public/validate_index_name.test.ts rename to x-pack/platform/plugins/private/file_upload/public/validate_index_name.test.ts diff --git a/x-pack/plugins/file_upload/public/validate_index_name.ts b/x-pack/platform/plugins/private/file_upload/public/validate_index_name.ts similarity index 100% rename from x-pack/plugins/file_upload/public/validate_index_name.ts rename to x-pack/platform/plugins/private/file_upload/public/validate_index_name.ts diff --git a/x-pack/plugins/file_upload/server/analyze_file.tsx b/x-pack/platform/plugins/private/file_upload/server/analyze_file.tsx similarity index 100% rename from x-pack/plugins/file_upload/server/analyze_file.tsx rename to x-pack/platform/plugins/private/file_upload/server/analyze_file.tsx diff --git a/x-pack/plugins/file_upload/server/capabilities.test.ts b/x-pack/platform/plugins/private/file_upload/server/capabilities.test.ts similarity index 100% rename from x-pack/plugins/file_upload/server/capabilities.test.ts rename to x-pack/platform/plugins/private/file_upload/server/capabilities.test.ts diff --git a/x-pack/plugins/file_upload/server/capabilities.ts b/x-pack/platform/plugins/private/file_upload/server/capabilities.ts similarity index 100% rename from x-pack/plugins/file_upload/server/capabilities.ts rename to x-pack/platform/plugins/private/file_upload/server/capabilities.ts diff --git a/x-pack/plugins/file_upload/server/check_privileges.ts b/x-pack/platform/plugins/private/file_upload/server/check_privileges.ts similarity index 100% rename from x-pack/plugins/file_upload/server/check_privileges.ts rename to x-pack/platform/plugins/private/file_upload/server/check_privileges.ts diff --git a/x-pack/plugins/file_upload/server/error_wrapper.ts b/x-pack/platform/plugins/private/file_upload/server/error_wrapper.ts similarity index 100% rename from x-pack/plugins/file_upload/server/error_wrapper.ts rename to x-pack/platform/plugins/private/file_upload/server/error_wrapper.ts diff --git a/x-pack/plugins/file_upload/server/get_time_field_range.ts b/x-pack/platform/plugins/private/file_upload/server/get_time_field_range.ts similarity index 100% rename from x-pack/plugins/file_upload/server/get_time_field_range.ts rename to x-pack/platform/plugins/private/file_upload/server/get_time_field_range.ts diff --git a/x-pack/plugins/file_upload/server/import_data.ts b/x-pack/platform/plugins/private/file_upload/server/import_data.ts similarity index 100% rename from x-pack/plugins/file_upload/server/import_data.ts rename to x-pack/platform/plugins/private/file_upload/server/import_data.ts diff --git a/x-pack/plugins/file_upload/server/index.ts b/x-pack/platform/plugins/private/file_upload/server/index.ts similarity index 100% rename from x-pack/plugins/file_upload/server/index.ts rename to x-pack/platform/plugins/private/file_upload/server/index.ts diff --git a/x-pack/plugins/file_upload/server/plugin.ts b/x-pack/platform/plugins/private/file_upload/server/plugin.ts similarity index 100% rename from x-pack/plugins/file_upload/server/plugin.ts rename to x-pack/platform/plugins/private/file_upload/server/plugin.ts diff --git a/x-pack/plugins/file_upload/server/preview_index_time_range.ts b/x-pack/platform/plugins/private/file_upload/server/preview_index_time_range.ts similarity index 100% rename from x-pack/plugins/file_upload/server/preview_index_time_range.ts rename to x-pack/platform/plugins/private/file_upload/server/preview_index_time_range.ts diff --git a/x-pack/plugins/file_upload/server/preview_tika_contents.ts b/x-pack/platform/plugins/private/file_upload/server/preview_tika_contents.ts similarity index 100% rename from x-pack/plugins/file_upload/server/preview_tika_contents.ts rename to x-pack/platform/plugins/private/file_upload/server/preview_tika_contents.ts diff --git a/x-pack/plugins/file_upload/server/routes.ts b/x-pack/platform/plugins/private/file_upload/server/routes.ts similarity index 100% rename from x-pack/plugins/file_upload/server/routes.ts rename to x-pack/platform/plugins/private/file_upload/server/routes.ts diff --git a/x-pack/plugins/file_upload/server/schemas.ts b/x-pack/platform/plugins/private/file_upload/server/schemas.ts similarity index 100% rename from x-pack/plugins/file_upload/server/schemas.ts rename to x-pack/platform/plugins/private/file_upload/server/schemas.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/index.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/index.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/index.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/index.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/internal_repository.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/internal_repository.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/internal_repository.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/internal_repository.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/mappings.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/mappings.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/mappings.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/mappings.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/telemetry.test.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/telemetry.test.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/telemetry.test.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/telemetry.test.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/telemetry.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/telemetry.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/telemetry.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/telemetry.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/usage_collector.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/usage_collector.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/usage_collector.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/usage_collector.ts diff --git a/x-pack/plugins/file_upload/server/types.ts b/x-pack/platform/plugins/private/file_upload/server/types.ts similarity index 100% rename from x-pack/plugins/file_upload/server/types.ts rename to x-pack/platform/plugins/private/file_upload/server/types.ts diff --git a/x-pack/plugins/file_upload/server/utils/runtime_field_utils.ts b/x-pack/platform/plugins/private/file_upload/server/utils/runtime_field_utils.ts similarity index 100% rename from x-pack/plugins/file_upload/server/utils/runtime_field_utils.ts rename to x-pack/platform/plugins/private/file_upload/server/utils/runtime_field_utils.ts diff --git a/x-pack/plugins/file_upload/tsconfig.json b/x-pack/platform/plugins/private/file_upload/tsconfig.json similarity index 90% rename from x-pack/plugins/file_upload/tsconfig.json rename to x-pack/platform/plugins/private/file_upload/tsconfig.json index 8b7fa66cbf14b..ab6402f8d3501 100644 --- a/x-pack/plugins/file_upload/tsconfig.json +++ b/x-pack/platform/plugins/private/file_upload/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/yarn.lock b/yarn.lock index 815388ed119aa..146020f7f8229 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5729,7 +5729,7 @@ version "0.0.0" uid "" -"@kbn/file-upload-plugin@link:x-pack/plugins/file_upload": +"@kbn/file-upload-plugin@link:x-pack/platform/plugins/private/file_upload": version "0.0.0" uid "" From ee6403dfdfca04dbae5f46e36105acc6ba509fcb Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:14:20 +0100 Subject: [PATCH 14/29] Relocating module `@kbn/flot-charts` --- .eslintignore | 2 +- .eslintrc.js | 2 +- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- package.json | 2 +- .../platform/packages/shared}/kbn-flot-charts/API.md | 0 .../platform/packages/shared}/kbn-flot-charts/BUILD.bazel | 0 .../platform/packages/shared}/kbn-flot-charts/index.js | 0 .../platform/packages/shared}/kbn-flot-charts/kibana.jsonc | 0 .../shared}/kbn-flot-charts/lib/jquery_colorhelpers.js | 0 .../packages/shared}/kbn-flot-charts/lib/jquery_flot.js | 0 .../shared}/kbn-flot-charts/lib/jquery_flot_axislabels.js | 0 .../shared}/kbn-flot-charts/lib/jquery_flot_canvas.js | 0 .../shared}/kbn-flot-charts/lib/jquery_flot_categories.js | 0 .../shared}/kbn-flot-charts/lib/jquery_flot_crosshair.js | 0 .../shared}/kbn-flot-charts/lib/jquery_flot_errorbars.js | 0 .../shared}/kbn-flot-charts/lib/jquery_flot_fillbetween.js | 0 .../packages/shared}/kbn-flot-charts/lib/jquery_flot_image.js | 0 .../packages/shared}/kbn-flot-charts/lib/jquery_flot_log.js | 0 .../shared}/kbn-flot-charts/lib/jquery_flot_navigate.js | 0 .../packages/shared}/kbn-flot-charts/lib/jquery_flot_pie.js | 0 .../shared}/kbn-flot-charts/lib/jquery_flot_resize.js | 0 .../shared}/kbn-flot-charts/lib/jquery_flot_selection.js | 0 .../packages/shared}/kbn-flot-charts/lib/jquery_flot_stack.js | 0 .../shared}/kbn-flot-charts/lib/jquery_flot_symbol.js | 0 .../shared}/kbn-flot-charts/lib/jquery_flot_threshold.js | 0 .../packages/shared}/kbn-flot-charts/lib/jquery_flot_time.js | 0 .../platform/packages/shared}/kbn-flot-charts/package.json | 0 .../platform/packages/shared}/kbn-flot-charts/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 31 files changed, 9 insertions(+), 9 deletions(-) rename {packages => src/platform/packages/shared}/kbn-flot-charts/API.md (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/BUILD.bazel (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/index.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_colorhelpers.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_axislabels.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_canvas.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_categories.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_crosshair.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_errorbars.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_fillbetween.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_image.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_log.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_navigate.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_pie.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_resize.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_selection.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_stack.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_symbol.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_threshold.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/lib/jquery_flot_time.js (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-flot-charts/tsconfig.json (77%) diff --git a/.eslintignore b/.eslintignore index 6a11ccb600e93..39ad20f0c1e01 100644 --- a/.eslintignore +++ b/.eslintignore @@ -37,7 +37,7 @@ snapshots.js /packages/kbn-test/src/functional_test_runner/__tests__/fixtures/ /packages/kbn-test/src/functional_test_runner/lib/config/__tests__/fixtures/ /packages/kbn-ui-framework/dist -/packages/kbn-flot-charts/lib +/src/platform/packages/shared/kbn-flot-charts/lib /packages/kbn-monaco/src/**/antlr /src/platform/packages/shared/kbn-esql-ast/src/**/antlr diff --git a/.eslintrc.js b/.eslintrc.js index 9803432324454..673de9c9bfc3f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1765,7 +1765,7 @@ module.exports = { }, }, { - files: ['packages/kbn-flot-charts/lib/**/*.js'], + files: ['src/platform/packages/shared/kbn-flot-charts/lib/**/*.js'], env: { jquery: true, }, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ed05c0ec854c6..1ad0a21c8d979 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -348,7 +348,6 @@ packages/kbn-failed-test-reporter-cli @elastic/kibana-operations @elastic/appex- packages/kbn-field-types @elastic/kibana-data-discovery packages/kbn-field-utils @elastic/kibana-data-discovery packages/kbn-find-used-node-modules @elastic/kibana-operations -packages/kbn-flot-charts @elastic/kibana-presentation @elastic/stack-monitoring packages/kbn-formatters @elastic/obs-ux-logs-team packages/kbn-ftr-common-functional-services @elastic/kibana-operations @elastic/appex-qa packages/kbn-ftr-common-functional-ui-services @elastic/appex-qa @@ -588,6 +587,7 @@ src/platform/packages/shared/kbn-doc-links @elastic/docs src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql src/platform/packages/shared/kbn-esql-validation-autocomplete @elastic/kibana-esql +src/platform/packages/shared/kbn-flot-charts @elastic/kibana-presentation @elastic/stack-monitoring src/platform/packages/shared/kbn-io-ts-utils @elastic/obs-knowledge-team src/platform/packages/shared/kbn-management/cards_navigation @elastic/kibana-management src/platform/packages/shared/kbn-management/settings/components/field_input @elastic/kibana-management diff --git a/.i18nrc.json b/.i18nrc.json index a0cb83b887582..8e9156edd3786 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -62,7 +62,7 @@ "fieldFormats": "src/plugins/field_formats", "files": "src/plugins/files", "filesManagement": "src/plugins/files_management", - "flot": "packages/kbn-flot-charts/lib", + "flot": "src/platform/packages/shared/kbn-flot-charts/lib", "generateCsv": "packages/kbn-generate-csv", "grouping": "packages/kbn-grouping/src", "alertsGrouping": "packages/kbn-alerts-grouping", diff --git a/package.json b/package.json index dc44236941bf2..f2f832d636b4e 100644 --- a/package.json +++ b/package.json @@ -538,7 +538,7 @@ "@kbn/files-management-plugin": "link:src/plugins/files_management", "@kbn/files-plugin": "link:src/plugins/files", "@kbn/fleet-plugin": "link:x-pack/plugins/fleet", - "@kbn/flot-charts": "link:packages/kbn-flot-charts", + "@kbn/flot-charts": "link:src/platform/packages/shared/kbn-flot-charts", "@kbn/foo-plugin": "link:x-pack/test/ui_capabilities/common/plugins/foo_plugin", "@kbn/formatters": "link:packages/kbn-formatters", "@kbn/ftr-apis-plugin": "link:src/plugins/ftr_apis", diff --git a/packages/kbn-flot-charts/API.md b/src/platform/packages/shared/kbn-flot-charts/API.md similarity index 100% rename from packages/kbn-flot-charts/API.md rename to src/platform/packages/shared/kbn-flot-charts/API.md diff --git a/packages/kbn-flot-charts/BUILD.bazel b/src/platform/packages/shared/kbn-flot-charts/BUILD.bazel similarity index 100% rename from packages/kbn-flot-charts/BUILD.bazel rename to src/platform/packages/shared/kbn-flot-charts/BUILD.bazel diff --git a/packages/kbn-flot-charts/index.js b/src/platform/packages/shared/kbn-flot-charts/index.js similarity index 100% rename from packages/kbn-flot-charts/index.js rename to src/platform/packages/shared/kbn-flot-charts/index.js diff --git a/packages/kbn-flot-charts/kibana.jsonc b/src/platform/packages/shared/kbn-flot-charts/kibana.jsonc similarity index 100% rename from packages/kbn-flot-charts/kibana.jsonc rename to src/platform/packages/shared/kbn-flot-charts/kibana.jsonc diff --git a/packages/kbn-flot-charts/lib/jquery_colorhelpers.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_colorhelpers.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_colorhelpers.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_colorhelpers.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_axislabels.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_axislabels.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_axislabels.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_axislabels.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_canvas.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_canvas.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_canvas.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_canvas.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_categories.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_categories.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_categories.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_categories.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_crosshair.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_crosshair.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_crosshair.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_crosshair.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_errorbars.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_errorbars.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_errorbars.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_errorbars.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_fillbetween.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_fillbetween.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_fillbetween.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_fillbetween.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_image.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_image.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_image.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_image.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_log.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_log.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_log.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_log.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_navigate.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_navigate.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_navigate.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_navigate.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_pie.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_pie.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_pie.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_pie.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_resize.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_resize.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_resize.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_resize.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_selection.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_selection.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_selection.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_selection.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_stack.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_stack.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_stack.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_stack.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_symbol.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_symbol.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_symbol.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_symbol.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_threshold.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_threshold.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_threshold.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_threshold.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_time.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_time.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_time.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_time.js diff --git a/packages/kbn-flot-charts/package.json b/src/platform/packages/shared/kbn-flot-charts/package.json similarity index 100% rename from packages/kbn-flot-charts/package.json rename to src/platform/packages/shared/kbn-flot-charts/package.json diff --git a/packages/kbn-flot-charts/tsconfig.json b/src/platform/packages/shared/kbn-flot-charts/tsconfig.json similarity index 77% rename from packages/kbn-flot-charts/tsconfig.json rename to src/platform/packages/shared/kbn-flot-charts/tsconfig.json index 7718842c7491f..74fbac0a101b6 100644 --- a/packages/kbn-flot-charts/tsconfig.json +++ b/src/platform/packages/shared/kbn-flot-charts/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/tsconfig.base.json b/tsconfig.base.json index 713b334ef4b78..195ea88303d29 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -968,8 +968,8 @@ "@kbn/find-used-node-modules/*": ["packages/kbn-find-used-node-modules/*"], "@kbn/fleet-plugin": ["x-pack/plugins/fleet"], "@kbn/fleet-plugin/*": ["x-pack/plugins/fleet/*"], - "@kbn/flot-charts": ["packages/kbn-flot-charts"], - "@kbn/flot-charts/*": ["packages/kbn-flot-charts/*"], + "@kbn/flot-charts": ["src/platform/packages/shared/kbn-flot-charts"], + "@kbn/flot-charts/*": ["src/platform/packages/shared/kbn-flot-charts/*"], "@kbn/foo-plugin": ["x-pack/test/ui_capabilities/common/plugins/foo_plugin"], "@kbn/foo-plugin/*": ["x-pack/test/ui_capabilities/common/plugins/foo_plugin/*"], "@kbn/formatters": ["packages/kbn-formatters"], diff --git a/yarn.lock b/yarn.lock index 146020f7f8229..6923ab590bfed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5753,7 +5753,7 @@ version "0.0.0" uid "" -"@kbn/flot-charts@link:packages/kbn-flot-charts": +"@kbn/flot-charts@link:src/platform/packages/shared/kbn-flot-charts": version "0.0.0" uid "" From 51a8a170d1a9f8b73fdb7a25cdd0cb0f7b7e5048 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:17:22 +0100 Subject: [PATCH 15/29] Relocating module `@kbn/input-control-vis-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/input_control_vis/README.md | 0 .../plugins/private}/input_control_vis/jest.config.js | 8 ++++---- .../plugins/private}/input_control_vis/kibana.jsonc | 0 .../public/__snapshots__/input_control_fn.test.ts.snap | 0 .../public/__snapshots__/to_ast.test.ts.snap | 0 .../editor/__snapshots__/controls_tab.test.tsx.snap | 0 .../__snapshots__/list_control_editor.test.tsx.snap | 0 .../editor/__snapshots__/options_tab.test.tsx.snap | 0 .../__snapshots__/range_control_editor.test.tsx.snap | 0 .../public/components/editor/control_editor.scss | 0 .../public/components/editor/control_editor.tsx | 0 .../public/components/editor/controls_tab.test.tsx | 0 .../public/components/editor/controls_tab.tsx | 0 .../public/components/editor/field_select.tsx | 0 .../input_control_vis/public/components/editor/index.tsx | 0 .../components/editor/index_pattern_select_form_row.tsx | 0 .../public/components/editor/list_control_editor.test.tsx | 0 .../public/components/editor/list_control_editor.tsx | 0 .../public/components/editor/options_tab.test.tsx | 0 .../public/components/editor/options_tab.tsx | 0 .../components/editor/range_control_editor.test.tsx | 0 .../public/components/editor/range_control_editor.tsx | 0 .../components/vis/__snapshots__/form_row.test.tsx.snap | 0 .../vis/__snapshots__/input_control_vis.test.tsx.snap | 0 .../vis/__snapshots__/list_control.test.tsx.snap | 0 .../vis/__snapshots__/range_control.test.tsx.snap | 0 .../public/components/vis/form_row.test.tsx | 0 .../input_control_vis/public/components/vis/form_row.tsx | 0 .../public/components/vis/input_control_vis.scss | 0 .../public/components/vis/input_control_vis.test.tsx | 0 .../public/components/vis/input_control_vis.tsx | 0 .../public/components/vis/list_control.test.tsx | 0 .../public/components/vis/list_control.tsx | 0 .../public/components/vis/range_control.test.tsx | 0 .../public/components/vis/range_control.tsx | 0 .../input_control_vis/public/control/control.test.ts | 0 .../private}/input_control_vis/public/control/control.ts | 0 .../input_control_vis/public/control/control_factory.ts | 0 .../public/control/create_search_source.ts | 0 .../public/control/filter_manager/filter_manager.test.ts | 0 .../public/control/filter_manager/filter_manager.ts | 0 .../control/filter_manager/phrase_filter_manager.test.ts | 0 .../control/filter_manager/phrase_filter_manager.ts | 0 .../control/filter_manager/range_filter_manager.test.ts | 0 .../public/control/filter_manager/range_filter_manager.ts | 0 .../public/control/list_control_factory.test.ts | 0 .../public/control/list_control_factory.ts | 0 .../public/control/range_control_factory.test.ts | 0 .../public/control/range_control_factory.ts | 0 .../input_control_vis/public/deprecation_badge.ts | 0 .../private}/input_control_vis/public/editor_utils.ts | 0 .../plugins/private}/input_control_vis/public/index.ts | 0 .../input_control_vis/public/input_control_fn.test.ts | 0 .../private}/input_control_vis/public/input_control_fn.ts | 0 .../public/input_control_vis_renderer.tsx | 0 .../input_control_vis/public/input_control_vis_type.ts | 0 .../private}/input_control_vis/public/lineage/index.ts | 0 .../input_control_vis/public/lineage/lineage_map.test.ts | 0 .../input_control_vis/public/lineage/lineage_map.ts | 0 .../public/lineage/parent_candidates.test.ts | 0 .../input_control_vis/public/lineage/parent_candidates.ts | 0 .../plugins/private}/input_control_vis/public/plugin.ts | 0 .../input_control_vis/public/test_utils/get_deps_mock.tsx | 0 .../public/test_utils/get_index_pattern_mock.ts | 0 .../public/test_utils/get_index_patterns_mock.ts | 0 .../public/test_utils/get_search_service_mock.ts | 0 .../private}/input_control_vis/public/test_utils/index.ts | 0 .../public/test_utils/update_component.ts | 0 .../private}/input_control_vis/public/to_ast.test.ts | 0 .../plugins/private}/input_control_vis/public/to_ast.ts | 0 .../plugins/private}/input_control_vis/public/types.ts | 0 .../private}/input_control_vis/public/vis_controller.tsx | 0 .../plugins/private}/input_control_vis/server/config.ts | 0 .../plugins/private}/input_control_vis/server/index.ts | 0 .../plugins/private}/input_control_vis/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 81 files changed, 12 insertions(+), 12 deletions(-) rename src/{plugins => platform/plugins/private}/input_control_vis/README.md (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/jest.config.js (71%) rename src/{plugins => platform/plugins/private}/input_control_vis/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/__snapshots__/to_ast.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/control_editor.scss (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/control_editor.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/controls_tab.test.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/controls_tab.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/field_select.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/index.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/list_control_editor.test.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/list_control_editor.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/options_tab.test.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/options_tab.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/range_control_editor.test.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/editor/range_control_editor.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/vis/form_row.test.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/vis/form_row.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/vis/input_control_vis.scss (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/vis/input_control_vis.test.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/vis/input_control_vis.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/vis/list_control.test.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/vis/list_control.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/vis/range_control.test.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/components/vis/range_control.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/control/control.test.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/control/control.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/control/control_factory.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/control/create_search_source.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/control/filter_manager/filter_manager.test.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/control/filter_manager/filter_manager.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/control/filter_manager/range_filter_manager.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/control/list_control_factory.test.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/control/list_control_factory.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/control/range_control_factory.test.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/control/range_control_factory.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/deprecation_badge.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/editor_utils.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/input_control_fn.test.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/input_control_fn.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/input_control_vis_renderer.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/input_control_vis_type.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/lineage/index.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/lineage/lineage_map.test.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/lineage/lineage_map.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/lineage/parent_candidates.test.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/lineage/parent_candidates.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/test_utils/get_deps_mock.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/test_utils/get_index_pattern_mock.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/test_utils/get_index_patterns_mock.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/test_utils/get_search_service_mock.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/test_utils/index.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/test_utils/update_component.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/to_ast.test.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/to_ast.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/public/vis_controller.tsx (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/input_control_vis/tsconfig.json (93%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1ad0a21c8d979..eb433f7ad2a21 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -610,6 +610,7 @@ src/platform/packages/shared/kbn-sse-utils-server @elastic/obs-knowledge-team src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management +src/platform/plugins/private/input_control_vis @elastic/kibana-presentation src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant src/platform/plugins/shared/console @elastic/kibana-management src/platform/plugins/shared/controls @elastic/kibana-presentation @@ -656,7 +657,6 @@ src/plugins/ftr_apis @elastic/kibana-core src/plugins/guided_onboarding @elastic/appex-sharedux src/plugins/home @elastic/appex-sharedux src/plugins/image_embeddable @elastic/appex-sharedux -src/plugins/input_control_vis @elastic/kibana-presentation src/plugins/inspector @elastic/kibana-presentation src/plugins/interactive_setup @elastic/kibana-security src/plugins/kibana_overview @elastic/appex-sharedux diff --git a/.i18nrc.json b/.i18nrc.json index 8e9156edd3786..8ca3c1c188aac 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -73,7 +73,7 @@ "indexPatternEditor": "src/plugins/data_view_editor", "indexPatternFieldEditor": "src/plugins/data_view_field_editor", "indexPatternManagement": "src/plugins/data_view_management", - "inputControl": "src/plugins/input_control_vis", + "inputControl": "src/platform/plugins/private/input_control_vis", "inspector": "src/plugins/inspector", "inspectorViews": "src/legacy/core_plugins/inspector_views", "interactiveSetup": "src/plugins/interactive_setup", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index f1f5db992b095..2aec871b6906c 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -225,7 +225,7 @@ for use in their own application. Images can be added either by URL or by uploading the image file via file service. -|{kib-repo}blob/{branch}/src/plugins/input_control_vis/README.md[inputControlVis] +|{kib-repo}blob/{branch}/src/platform/plugins/private/input_control_vis/README.md[inputControlVis] |Contains the input control visualization allowing to place custom filter controls on a dashboard. diff --git a/package.json b/package.json index f2f832d636b4e..be6944ab5a5fc 100644 --- a/package.json +++ b/package.json @@ -583,7 +583,7 @@ "@kbn/infra-forge": "link:x-pack/platform/packages/private/kbn-infra-forge", "@kbn/infra-plugin": "link:x-pack/plugins/observability_solution/infra", "@kbn/ingest-pipelines-plugin": "link:x-pack/platform/plugins/shared/ingest_pipelines", - "@kbn/input-control-vis-plugin": "link:src/plugins/input_control_vis", + "@kbn/input-control-vis-plugin": "link:src/platform/plugins/private/input_control_vis", "@kbn/inspector-plugin": "link:src/plugins/inspector", "@kbn/integration-assistant-plugin": "link:x-pack/platform/plugins/shared/integration_assistant", "@kbn/interactive-setup-plugin": "link:src/plugins/interactive_setup", diff --git a/src/plugins/input_control_vis/README.md b/src/platform/plugins/private/input_control_vis/README.md similarity index 100% rename from src/plugins/input_control_vis/README.md rename to src/platform/plugins/private/input_control_vis/README.md diff --git a/src/plugins/input_control_vis/jest.config.js b/src/platform/plugins/private/input_control_vis/jest.config.js similarity index 71% rename from src/plugins/input_control_vis/jest.config.js rename to src/platform/plugins/private/input_control_vis/jest.config.js index 21d88f50c056d..0cb485cb734bb 100644 --- a/src/plugins/input_control_vis/jest.config.js +++ b/src/platform/plugins/private/input_control_vis/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/input_control_vis'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/input_control_vis', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/input_control_vis'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/input_control_vis', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/input_control_vis/public/**/*.{ts,tsx}'], + collectCoverageFrom: ['/src/platform/plugins/private/input_control_vis/public/**/*.{ts,tsx}'], }; diff --git a/src/plugins/input_control_vis/kibana.jsonc b/src/platform/plugins/private/input_control_vis/kibana.jsonc similarity index 100% rename from src/plugins/input_control_vis/kibana.jsonc rename to src/platform/plugins/private/input_control_vis/kibana.jsonc diff --git a/src/plugins/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap b/src/platform/plugins/private/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap similarity index 100% rename from src/plugins/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap rename to src/platform/plugins/private/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap diff --git a/src/plugins/input_control_vis/public/__snapshots__/to_ast.test.ts.snap b/src/platform/plugins/private/input_control_vis/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/input_control_vis/public/__snapshots__/to_ast.test.ts.snap rename to src/platform/plugins/private/input_control_vis/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/control_editor.scss b/src/platform/plugins/private/input_control_vis/public/components/editor/control_editor.scss similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/control_editor.scss rename to src/platform/plugins/private/input_control_vis/public/components/editor/control_editor.scss diff --git a/src/plugins/input_control_vis/public/components/editor/control_editor.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/control_editor.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/control_editor.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/control_editor.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/controls_tab.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/controls_tab.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.test.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/controls_tab.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/controls_tab.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/field_select.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/field_select.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/field_select.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/field_select.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/index.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/index.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/index.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/index.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/list_control_editor.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/list_control_editor.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/list_control_editor.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/list_control_editor.test.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/list_control_editor.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/list_control_editor.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/options_tab.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/options_tab.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/options_tab.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/options_tab.test.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/options_tab.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/options_tab.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/options_tab.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/options_tab.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/range_control_editor.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/range_control_editor.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/range_control_editor.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/range_control_editor.test.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/range_control_editor.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/range_control_editor.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/form_row.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/form_row.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/form_row.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/form_row.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/form_row.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/form_row.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/form_row.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/form_row.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/input_control_vis.scss b/src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.scss similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/input_control_vis.scss rename to src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.scss diff --git a/src/plugins/input_control_vis/public/components/vis/input_control_vis.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/input_control_vis.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/input_control_vis.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/input_control_vis.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/list_control.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/list_control.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/list_control.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/list_control.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/list_control.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/list_control.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/list_control.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/list_control.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/range_control.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/range_control.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/range_control.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/range_control.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/range_control.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/range_control.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/range_control.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/range_control.tsx diff --git a/src/plugins/input_control_vis/public/control/control.test.ts b/src/platform/plugins/private/input_control_vis/public/control/control.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/control.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/control.test.ts diff --git a/src/plugins/input_control_vis/public/control/control.ts b/src/platform/plugins/private/input_control_vis/public/control/control.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/control.ts rename to src/platform/plugins/private/input_control_vis/public/control/control.ts diff --git a/src/plugins/input_control_vis/public/control/control_factory.ts b/src/platform/plugins/private/input_control_vis/public/control/control_factory.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/control_factory.ts rename to src/platform/plugins/private/input_control_vis/public/control/control_factory.ts diff --git a/src/plugins/input_control_vis/public/control/create_search_source.ts b/src/platform/plugins/private/input_control_vis/public/control/create_search_source.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/create_search_source.ts rename to src/platform/plugins/private/input_control_vis/public/control/create_search_source.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/filter_manager.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/filter_manager.test.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/filter_manager.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/filter_manager.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/range_filter_manager.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/range_filter_manager.ts diff --git a/src/plugins/input_control_vis/public/control/list_control_factory.test.ts b/src/platform/plugins/private/input_control_vis/public/control/list_control_factory.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/list_control_factory.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/list_control_factory.test.ts diff --git a/src/plugins/input_control_vis/public/control/list_control_factory.ts b/src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/list_control_factory.ts rename to src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts diff --git a/src/plugins/input_control_vis/public/control/range_control_factory.test.ts b/src/platform/plugins/private/input_control_vis/public/control/range_control_factory.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/range_control_factory.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/range_control_factory.test.ts diff --git a/src/plugins/input_control_vis/public/control/range_control_factory.ts b/src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/range_control_factory.ts rename to src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts diff --git a/src/plugins/input_control_vis/public/deprecation_badge.ts b/src/platform/plugins/private/input_control_vis/public/deprecation_badge.ts similarity index 100% rename from src/plugins/input_control_vis/public/deprecation_badge.ts rename to src/platform/plugins/private/input_control_vis/public/deprecation_badge.ts diff --git a/src/plugins/input_control_vis/public/editor_utils.ts b/src/platform/plugins/private/input_control_vis/public/editor_utils.ts similarity index 100% rename from src/plugins/input_control_vis/public/editor_utils.ts rename to src/platform/plugins/private/input_control_vis/public/editor_utils.ts diff --git a/src/plugins/input_control_vis/public/index.ts b/src/platform/plugins/private/input_control_vis/public/index.ts similarity index 100% rename from src/plugins/input_control_vis/public/index.ts rename to src/platform/plugins/private/input_control_vis/public/index.ts diff --git a/src/plugins/input_control_vis/public/input_control_fn.test.ts b/src/platform/plugins/private/input_control_vis/public/input_control_fn.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/input_control_fn.test.ts rename to src/platform/plugins/private/input_control_vis/public/input_control_fn.test.ts diff --git a/src/plugins/input_control_vis/public/input_control_fn.ts b/src/platform/plugins/private/input_control_vis/public/input_control_fn.ts similarity index 100% rename from src/plugins/input_control_vis/public/input_control_fn.ts rename to src/platform/plugins/private/input_control_vis/public/input_control_fn.ts diff --git a/src/plugins/input_control_vis/public/input_control_vis_renderer.tsx b/src/platform/plugins/private/input_control_vis/public/input_control_vis_renderer.tsx similarity index 100% rename from src/plugins/input_control_vis/public/input_control_vis_renderer.tsx rename to src/platform/plugins/private/input_control_vis/public/input_control_vis_renderer.tsx diff --git a/src/plugins/input_control_vis/public/input_control_vis_type.ts b/src/platform/plugins/private/input_control_vis/public/input_control_vis_type.ts similarity index 100% rename from src/plugins/input_control_vis/public/input_control_vis_type.ts rename to src/platform/plugins/private/input_control_vis/public/input_control_vis_type.ts diff --git a/src/plugins/input_control_vis/public/lineage/index.ts b/src/platform/plugins/private/input_control_vis/public/lineage/index.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/index.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/index.ts diff --git a/src/plugins/input_control_vis/public/lineage/lineage_map.test.ts b/src/platform/plugins/private/input_control_vis/public/lineage/lineage_map.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/lineage_map.test.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/lineage_map.test.ts diff --git a/src/plugins/input_control_vis/public/lineage/lineage_map.ts b/src/platform/plugins/private/input_control_vis/public/lineage/lineage_map.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/lineage_map.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/lineage_map.ts diff --git a/src/plugins/input_control_vis/public/lineage/parent_candidates.test.ts b/src/platform/plugins/private/input_control_vis/public/lineage/parent_candidates.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/parent_candidates.test.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/parent_candidates.test.ts diff --git a/src/plugins/input_control_vis/public/lineage/parent_candidates.ts b/src/platform/plugins/private/input_control_vis/public/lineage/parent_candidates.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/parent_candidates.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/parent_candidates.ts diff --git a/src/plugins/input_control_vis/public/plugin.ts b/src/platform/plugins/private/input_control_vis/public/plugin.ts similarity index 100% rename from src/plugins/input_control_vis/public/plugin.ts rename to src/platform/plugins/private/input_control_vis/public/plugin.ts diff --git a/src/plugins/input_control_vis/public/test_utils/get_deps_mock.tsx b/src/platform/plugins/private/input_control_vis/public/test_utils/get_deps_mock.tsx similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_deps_mock.tsx rename to src/platform/plugins/private/input_control_vis/public/test_utils/get_deps_mock.tsx diff --git a/src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/get_index_pattern_mock.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/get_index_pattern_mock.ts diff --git a/src/plugins/input_control_vis/public/test_utils/get_index_patterns_mock.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/get_index_patterns_mock.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_index_patterns_mock.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/get_index_patterns_mock.ts diff --git a/src/plugins/input_control_vis/public/test_utils/get_search_service_mock.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/get_search_service_mock.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_search_service_mock.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/get_search_service_mock.ts diff --git a/src/plugins/input_control_vis/public/test_utils/index.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/index.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/index.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/index.ts diff --git a/src/plugins/input_control_vis/public/test_utils/update_component.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/update_component.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/update_component.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/update_component.ts diff --git a/src/plugins/input_control_vis/public/to_ast.test.ts b/src/platform/plugins/private/input_control_vis/public/to_ast.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/to_ast.test.ts rename to src/platform/plugins/private/input_control_vis/public/to_ast.test.ts diff --git a/src/plugins/input_control_vis/public/to_ast.ts b/src/platform/plugins/private/input_control_vis/public/to_ast.ts similarity index 100% rename from src/plugins/input_control_vis/public/to_ast.ts rename to src/platform/plugins/private/input_control_vis/public/to_ast.ts diff --git a/src/plugins/input_control_vis/public/types.ts b/src/platform/plugins/private/input_control_vis/public/types.ts similarity index 100% rename from src/plugins/input_control_vis/public/types.ts rename to src/platform/plugins/private/input_control_vis/public/types.ts diff --git a/src/plugins/input_control_vis/public/vis_controller.tsx b/src/platform/plugins/private/input_control_vis/public/vis_controller.tsx similarity index 100% rename from src/plugins/input_control_vis/public/vis_controller.tsx rename to src/platform/plugins/private/input_control_vis/public/vis_controller.tsx diff --git a/src/plugins/input_control_vis/server/config.ts b/src/platform/plugins/private/input_control_vis/server/config.ts similarity index 100% rename from src/plugins/input_control_vis/server/config.ts rename to src/platform/plugins/private/input_control_vis/server/config.ts diff --git a/src/plugins/input_control_vis/server/index.ts b/src/platform/plugins/private/input_control_vis/server/index.ts similarity index 100% rename from src/plugins/input_control_vis/server/index.ts rename to src/platform/plugins/private/input_control_vis/server/index.ts diff --git a/src/plugins/input_control_vis/tsconfig.json b/src/platform/plugins/private/input_control_vis/tsconfig.json similarity index 93% rename from src/plugins/input_control_vis/tsconfig.json rename to src/platform/plugins/private/input_control_vis/tsconfig.json index 5b4900ad1845c..4f9370c591ee4 100644 --- a/src/plugins/input_control_vis/tsconfig.json +++ b/src/platform/plugins/private/input_control_vis/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/tsconfig.base.json b/tsconfig.base.json index 195ea88303d29..a190cd8355701 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1074,8 +1074,8 @@ "@kbn/infra-plugin/*": ["x-pack/plugins/observability_solution/infra/*"], "@kbn/ingest-pipelines-plugin": ["x-pack/platform/plugins/shared/ingest_pipelines"], "@kbn/ingest-pipelines-plugin/*": ["x-pack/platform/plugins/shared/ingest_pipelines/*"], - "@kbn/input-control-vis-plugin": ["src/plugins/input_control_vis"], - "@kbn/input-control-vis-plugin/*": ["src/plugins/input_control_vis/*"], + "@kbn/input-control-vis-plugin": ["src/platform/plugins/private/input_control_vis"], + "@kbn/input-control-vis-plugin/*": ["src/platform/plugins/private/input_control_vis/*"], "@kbn/inspector-plugin": ["src/plugins/inspector"], "@kbn/inspector-plugin/*": ["src/plugins/inspector/*"], "@kbn/integration-assistant-plugin": ["x-pack/platform/plugins/shared/integration_assistant"], diff --git a/yarn.lock b/yarn.lock index 6923ab590bfed..272de04570e66 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5965,7 +5965,7 @@ version "0.0.0" uid "" -"@kbn/input-control-vis-plugin@link:src/plugins/input_control_vis": +"@kbn/input-control-vis-plugin@link:src/platform/plugins/private/input_control_vis": version "0.0.0" uid "" From 23990de9ff481469017f24887cca0273ea36f5ea Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:20:22 +0100 Subject: [PATCH 16/29] Relocating module `@kbn/inspector-plugin` --- .buildkite/scripts/pipelines/pull_request/pipeline.ts | 2 +- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/shared}/inspector/README.md | 0 .../plugins/shared}/inspector/common/adapters/index.ts | 0 .../shared}/inspector/common/adapters/request/index.ts | 0 .../request/move_request_params_to_top_level.test.ts | 0 .../adapters/request/move_request_params_to_top_level.ts | 0 .../common/adapters/request/request_adapter.test.ts | 0 .../inspector/common/adapters/request/request_adapter.ts | 0 .../common/adapters/request/request_responder.ts | 0 .../shared}/inspector/common/adapters/request/types.ts | 0 .../plugins/shared}/inspector/common/adapters/types.ts | 0 .../plugins/shared}/inspector/common/index.ts | 0 .../plugins/shared}/inspector/jest.config.js | 8 ++++---- .../plugins/shared}/inspector/kibana.jsonc | 0 .../inspector/public/adapters/has_inspector_adapters.ts | 0 .../plugins/shared}/inspector/public/index.scss | 0 .../plugins/shared}/inspector/public/index.ts | 0 .../plugins/shared}/inspector/public/mocks.ts | 0 .../plugins/shared}/inspector/public/plugin.tsx | 0 .../shared}/inspector/public/test/is_available.test.ts | 0 .../plugins/shared}/inspector/public/test/open.test.ts | 0 .../plugins/shared}/inspector/public/types.ts | 0 .../public/ui/__snapshots__/inspector_panel.test.tsx.snap | 0 .../shared}/inspector/public/ui/inspector_panel.scss | 0 .../shared}/inspector/public/ui/inspector_panel.test.tsx | 0 .../shared}/inspector/public/ui/inspector_panel.tsx | 0 .../inspector/public/ui/inspector_view_chooser.tsx | 0 .../shared}/inspector/public/view_registry.test.ts | 0 .../plugins/shared}/inspector/public/view_registry.ts | 0 .../plugins/shared}/inspector/public/views/_index.scss | 0 .../plugins/shared}/inspector/public/views/index.ts | 0 .../shared}/inspector/public/views/requests/_index.scss | 0 .../inspector/public/views/requests/_requests.scss | 0 .../clusters_view/clusters_health/cluster_health.tsx | 0 .../clusters_view/clusters_health/clusters_health.tsx | 0 .../clusters_view/clusters_health/gradient.test.ts | 0 .../details/clusters_view/clusters_health/gradient.ts | 0 .../details/clusters_view/clusters_health/index.ts | 0 .../__snapshots__/cluster_view.test.tsx.snap | 0 .../clusters_view/clusters_table/cluster_view.test.tsx | 0 .../details/clusters_view/clusters_table/cluster_view.tsx | 0 .../clusters_view/clusters_table/clusters_table.test.tsx | 0 .../clusters_view/clusters_table/clusters_table.tsx | 0 .../details/clusters_view/clusters_table/index.ts | 0 .../shards_view/__snapshots__/shards_view.test.tsx.snap | 0 .../clusters_view/clusters_table/shards_view/index.ts | 0 .../shards_view/open_shard_failure_flyout_button.tsx | 0 .../clusters_table/shards_view/shard_failure_details.tsx | 0 .../clusters_table/shards_view/shard_failure_flyout.tsx | 0 .../clusters_table/shards_view/shard_failure_table.tsx | 0 .../clusters_table/shards_view/shards_view.test.tsx | 0 .../clusters_table/shards_view/shards_view.tsx | 0 .../details/clusters_view/clusters_view.test.tsx | 0 .../components/details/clusters_view/clusters_view.tsx | 0 .../details/clusters_view/find_clusters.test.ts | 0 .../components/details/clusters_view/find_clusters.ts | 0 .../requests/components/details/clusters_view/index.ts | 0 .../components/details/clusters_view/local_cluster.ts | 0 .../details/clusters_view/local_clusters.test.ts | 0 .../public/views/requests/components/details/index.ts | 0 .../views/requests/components/details/req_code_viewer.tsx | 0 .../requests/components/details/req_details_request.tsx | 0 .../components/details/req_details_request_content.tsx | 0 .../requests/components/details/req_details_response.tsx | 0 .../requests/components/details/req_details_stats.tsx | 0 .../public/views/requests/components/details/types.ts | 0 .../components/disambiguate_request_names.test.ts | 0 .../requests/components/disambiguate_request_names.ts | 0 .../public/views/requests/components/get_next_tab.test.ts | 0 .../public/views/requests/components/get_next_tab.ts | 0 .../public/views/requests/components/request_details.tsx | 0 .../public/views/requests/components/request_selector.tsx | 0 .../public/views/requests/components/requests_view.tsx | 0 .../inspector/public/views/requests/components/types.ts | 0 .../shared}/inspector/public/views/requests/index.ts | 0 .../plugins/shared}/inspector/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 82 files changed, 13 insertions(+), 13 deletions(-) rename src/{plugins => platform/plugins/shared}/inspector/README.md (100%) rename src/{plugins => platform/plugins/shared}/inspector/common/adapters/index.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/common/adapters/request/index.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/common/adapters/request/move_request_params_to_top_level.test.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/common/adapters/request/move_request_params_to_top_level.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/common/adapters/request/request_adapter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/common/adapters/request/request_adapter.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/common/adapters/request/request_responder.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/common/adapters/request/types.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/common/adapters/types.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/jest.config.js (72%) rename src/{plugins => platform/plugins/shared}/inspector/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/adapters/has_inspector_adapters.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/index.scss (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/plugin.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/test/is_available.test.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/test/open.test.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/ui/__snapshots__/inspector_panel.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/ui/inspector_panel.scss (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/ui/inspector_panel.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/ui/inspector_panel.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/ui/inspector_view_chooser.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/view_registry.test.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/view_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/_index.scss (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/index.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/_index.scss (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/_requests.scss (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_health/cluster_health.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_health/clusters_health.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.test.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_health/index.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_table/__snapshots__/cluster_view.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_table/index.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/__snapshots__/shards_view.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/index.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/open_shard_failure_flyout_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_details.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_flyout.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_table.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_view.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/find_clusters.test.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/find_clusters.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/index.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/local_cluster.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/clusters_view/local_clusters.test.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/index.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/req_code_viewer.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/req_details_request.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/req_details_request_content.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/req_details_response.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/req_details_stats.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/details/types.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/disambiguate_request_names.test.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/disambiguate_request_names.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/get_next_tab.test.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/get_next_tab.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/request_details.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/request_selector.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/requests_view.tsx (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/components/types.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/public/views/requests/index.ts (100%) rename src/{plugins => platform/plugins/shared}/inspector/tsconfig.json (91%) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index acd2a9f240378..8ab005ca467cc 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -322,7 +322,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^src\/plugins\/data_views/, /^src\/plugins\/discover/, /^src\/plugins\/field_formats/, - /^src\/plugins\/inspector/, + /^src\/platform\/plugins\/shared\/inspector/, /^src\/plugins\/kibana_react/, /^src\/plugins\/kibana_utils/, /^src\/plugins\/saved_search/, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index eb433f7ad2a21..fee2591d89ce6 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -626,6 +626,7 @@ src/platform/plugins/shared/expression_metric @elastic/kibana-presentation src/platform/plugins/shared/expression_repeat_image @elastic/kibana-presentation src/platform/plugins/shared/expression_reveal_image @elastic/kibana-presentation src/platform/plugins/shared/expression_shape @elastic/kibana-presentation +src/platform/plugins/shared/inspector @elastic/kibana-presentation src/platform/plugins/shared/management @elastic/kibana-management src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/bfetch @elastic/appex-sharedux @@ -657,7 +658,6 @@ src/plugins/ftr_apis @elastic/kibana-core src/plugins/guided_onboarding @elastic/appex-sharedux src/plugins/home @elastic/appex-sharedux src/plugins/image_embeddable @elastic/appex-sharedux -src/plugins/inspector @elastic/kibana-presentation src/plugins/interactive_setup @elastic/kibana-security src/plugins/kibana_overview @elastic/appex-sharedux src/plugins/kibana_react @elastic/appex-sharedux diff --git a/.i18nrc.json b/.i18nrc.json index 8ca3c1c188aac..67c9a7a40a85b 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -74,7 +74,7 @@ "indexPatternFieldEditor": "src/plugins/data_view_field_editor", "indexPatternManagement": "src/plugins/data_view_management", "inputControl": "src/platform/plugins/private/input_control_vis", - "inspector": "src/plugins/inspector", + "inspector": "src/platform/plugins/shared/inspector", "inspectorViews": "src/legacy/core_plugins/inspector_views", "interactiveSetup": "src/plugins/interactive_setup", "interpreter": "src/legacy/core_plugins/interpreter", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 2aec871b6906c..7f497acb19c71 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -229,7 +229,7 @@ Images can be added either by URL or by uploading the image file via file servic |Contains the input control visualization allowing to place custom filter controls on a dashboard. -|{kib-repo}blob/{branch}/src/plugins/inspector/README.md[inspector] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/inspector/README.md[inspector] |The inspector is a contextual tool to gain insights into different elements in Kibana, e.g. visualizations. It has the form of a flyout panel. diff --git a/package.json b/package.json index be6944ab5a5fc..db8e345179526 100644 --- a/package.json +++ b/package.json @@ -584,7 +584,7 @@ "@kbn/infra-plugin": "link:x-pack/plugins/observability_solution/infra", "@kbn/ingest-pipelines-plugin": "link:x-pack/platform/plugins/shared/ingest_pipelines", "@kbn/input-control-vis-plugin": "link:src/platform/plugins/private/input_control_vis", - "@kbn/inspector-plugin": "link:src/plugins/inspector", + "@kbn/inspector-plugin": "link:src/platform/plugins/shared/inspector", "@kbn/integration-assistant-plugin": "link:x-pack/platform/plugins/shared/integration_assistant", "@kbn/interactive-setup-plugin": "link:src/plugins/interactive_setup", "@kbn/interactive-setup-test-endpoints-plugin": "link:test/interactive_setup_api_integration/plugins/test_endpoints", diff --git a/src/plugins/inspector/README.md b/src/platform/plugins/shared/inspector/README.md similarity index 100% rename from src/plugins/inspector/README.md rename to src/platform/plugins/shared/inspector/README.md diff --git a/src/plugins/inspector/common/adapters/index.ts b/src/platform/plugins/shared/inspector/common/adapters/index.ts similarity index 100% rename from src/plugins/inspector/common/adapters/index.ts rename to src/platform/plugins/shared/inspector/common/adapters/index.ts diff --git a/src/plugins/inspector/common/adapters/request/index.ts b/src/platform/plugins/shared/inspector/common/adapters/request/index.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/index.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/index.ts diff --git a/src/plugins/inspector/common/adapters/request/move_request_params_to_top_level.test.ts b/src/platform/plugins/shared/inspector/common/adapters/request/move_request_params_to_top_level.test.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/move_request_params_to_top_level.test.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/move_request_params_to_top_level.test.ts diff --git a/src/plugins/inspector/common/adapters/request/move_request_params_to_top_level.ts b/src/platform/plugins/shared/inspector/common/adapters/request/move_request_params_to_top_level.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/move_request_params_to_top_level.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/move_request_params_to_top_level.ts diff --git a/src/plugins/inspector/common/adapters/request/request_adapter.test.ts b/src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.test.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/request_adapter.test.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.test.ts diff --git a/src/plugins/inspector/common/adapters/request/request_adapter.ts b/src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/request_adapter.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts diff --git a/src/plugins/inspector/common/adapters/request/request_responder.ts b/src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/request_responder.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts diff --git a/src/plugins/inspector/common/adapters/request/types.ts b/src/platform/plugins/shared/inspector/common/adapters/request/types.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/types.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/types.ts diff --git a/src/plugins/inspector/common/adapters/types.ts b/src/platform/plugins/shared/inspector/common/adapters/types.ts similarity index 100% rename from src/plugins/inspector/common/adapters/types.ts rename to src/platform/plugins/shared/inspector/common/adapters/types.ts diff --git a/src/plugins/inspector/common/index.ts b/src/platform/plugins/shared/inspector/common/index.ts similarity index 100% rename from src/plugins/inspector/common/index.ts rename to src/platform/plugins/shared/inspector/common/index.ts diff --git a/src/plugins/inspector/jest.config.js b/src/platform/plugins/shared/inspector/jest.config.js similarity index 72% rename from src/plugins/inspector/jest.config.js rename to src/platform/plugins/shared/inspector/jest.config.js index 639569e8e6670..9bf7bea7b2937 100644 --- a/src/plugins/inspector/jest.config.js +++ b/src/platform/plugins/shared/inspector/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/inspector'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/inspector', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/inspector'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/inspector', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/inspector/{common,public}/**/*.{ts,tsx}'], + collectCoverageFrom: ['/src/platform/plugins/shared/inspector/{common,public}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/inspector/kibana.jsonc b/src/platform/plugins/shared/inspector/kibana.jsonc similarity index 100% rename from src/plugins/inspector/kibana.jsonc rename to src/platform/plugins/shared/inspector/kibana.jsonc diff --git a/src/plugins/inspector/public/adapters/has_inspector_adapters.ts b/src/platform/plugins/shared/inspector/public/adapters/has_inspector_adapters.ts similarity index 100% rename from src/plugins/inspector/public/adapters/has_inspector_adapters.ts rename to src/platform/plugins/shared/inspector/public/adapters/has_inspector_adapters.ts diff --git a/src/plugins/inspector/public/index.scss b/src/platform/plugins/shared/inspector/public/index.scss similarity index 100% rename from src/plugins/inspector/public/index.scss rename to src/platform/plugins/shared/inspector/public/index.scss diff --git a/src/plugins/inspector/public/index.ts b/src/platform/plugins/shared/inspector/public/index.ts similarity index 100% rename from src/plugins/inspector/public/index.ts rename to src/platform/plugins/shared/inspector/public/index.ts diff --git a/src/plugins/inspector/public/mocks.ts b/src/platform/plugins/shared/inspector/public/mocks.ts similarity index 100% rename from src/plugins/inspector/public/mocks.ts rename to src/platform/plugins/shared/inspector/public/mocks.ts diff --git a/src/plugins/inspector/public/plugin.tsx b/src/platform/plugins/shared/inspector/public/plugin.tsx similarity index 100% rename from src/plugins/inspector/public/plugin.tsx rename to src/platform/plugins/shared/inspector/public/plugin.tsx diff --git a/src/plugins/inspector/public/test/is_available.test.ts b/src/platform/plugins/shared/inspector/public/test/is_available.test.ts similarity index 100% rename from src/plugins/inspector/public/test/is_available.test.ts rename to src/platform/plugins/shared/inspector/public/test/is_available.test.ts diff --git a/src/plugins/inspector/public/test/open.test.ts b/src/platform/plugins/shared/inspector/public/test/open.test.ts similarity index 100% rename from src/plugins/inspector/public/test/open.test.ts rename to src/platform/plugins/shared/inspector/public/test/open.test.ts diff --git a/src/plugins/inspector/public/types.ts b/src/platform/plugins/shared/inspector/public/types.ts similarity index 100% rename from src/plugins/inspector/public/types.ts rename to src/platform/plugins/shared/inspector/public/types.ts diff --git a/src/plugins/inspector/public/ui/__snapshots__/inspector_panel.test.tsx.snap b/src/platform/plugins/shared/inspector/public/ui/__snapshots__/inspector_panel.test.tsx.snap similarity index 100% rename from src/plugins/inspector/public/ui/__snapshots__/inspector_panel.test.tsx.snap rename to src/platform/plugins/shared/inspector/public/ui/__snapshots__/inspector_panel.test.tsx.snap diff --git a/src/plugins/inspector/public/ui/inspector_panel.scss b/src/platform/plugins/shared/inspector/public/ui/inspector_panel.scss similarity index 100% rename from src/plugins/inspector/public/ui/inspector_panel.scss rename to src/platform/plugins/shared/inspector/public/ui/inspector_panel.scss diff --git a/src/plugins/inspector/public/ui/inspector_panel.test.tsx b/src/platform/plugins/shared/inspector/public/ui/inspector_panel.test.tsx similarity index 100% rename from src/plugins/inspector/public/ui/inspector_panel.test.tsx rename to src/platform/plugins/shared/inspector/public/ui/inspector_panel.test.tsx diff --git a/src/plugins/inspector/public/ui/inspector_panel.tsx b/src/platform/plugins/shared/inspector/public/ui/inspector_panel.tsx similarity index 100% rename from src/plugins/inspector/public/ui/inspector_panel.tsx rename to src/platform/plugins/shared/inspector/public/ui/inspector_panel.tsx diff --git a/src/plugins/inspector/public/ui/inspector_view_chooser.tsx b/src/platform/plugins/shared/inspector/public/ui/inspector_view_chooser.tsx similarity index 100% rename from src/plugins/inspector/public/ui/inspector_view_chooser.tsx rename to src/platform/plugins/shared/inspector/public/ui/inspector_view_chooser.tsx diff --git a/src/plugins/inspector/public/view_registry.test.ts b/src/platform/plugins/shared/inspector/public/view_registry.test.ts similarity index 100% rename from src/plugins/inspector/public/view_registry.test.ts rename to src/platform/plugins/shared/inspector/public/view_registry.test.ts diff --git a/src/plugins/inspector/public/view_registry.ts b/src/platform/plugins/shared/inspector/public/view_registry.ts similarity index 100% rename from src/plugins/inspector/public/view_registry.ts rename to src/platform/plugins/shared/inspector/public/view_registry.ts diff --git a/src/plugins/inspector/public/views/_index.scss b/src/platform/plugins/shared/inspector/public/views/_index.scss similarity index 100% rename from src/plugins/inspector/public/views/_index.scss rename to src/platform/plugins/shared/inspector/public/views/_index.scss diff --git a/src/plugins/inspector/public/views/index.ts b/src/platform/plugins/shared/inspector/public/views/index.ts similarity index 100% rename from src/plugins/inspector/public/views/index.ts rename to src/platform/plugins/shared/inspector/public/views/index.ts diff --git a/src/plugins/inspector/public/views/requests/_index.scss b/src/platform/plugins/shared/inspector/public/views/requests/_index.scss similarity index 100% rename from src/plugins/inspector/public/views/requests/_index.scss rename to src/platform/plugins/shared/inspector/public/views/requests/_index.scss diff --git a/src/plugins/inspector/public/views/requests/_requests.scss b/src/platform/plugins/shared/inspector/public/views/requests/_requests.scss similarity index 100% rename from src/plugins/inspector/public/views/requests/_requests.scss rename to src/platform/plugins/shared/inspector/public/views/requests/_requests.scss diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/cluster_health.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/cluster_health.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/cluster_health.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/cluster_health.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/clusters_health.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/clusters_health.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/clusters_health.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/clusters_health.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/__snapshots__/cluster_view.test.tsx.snap b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/__snapshots__/cluster_view.test.tsx.snap similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/__snapshots__/cluster_view.test.tsx.snap rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/__snapshots__/cluster_view.test.tsx.snap diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.test.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.test.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.test.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.test.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.test.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.test.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.test.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.test.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/__snapshots__/shards_view.test.tsx.snap b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/__snapshots__/shards_view.test.tsx.snap similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/__snapshots__/shards_view.test.tsx.snap rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/__snapshots__/shards_view.test.tsx.snap diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/open_shard_failure_flyout_button.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/open_shard_failure_flyout_button.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/open_shard_failure_flyout_button.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/open_shard_failure_flyout_button.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_details.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_details.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_details.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_details.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_flyout.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_flyout.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_flyout.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_flyout.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_table.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_table.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_table.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_table.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.test.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.test.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.test.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.test.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.test.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.test.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.test.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.test.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/find_clusters.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/find_clusters.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/find_clusters.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/find_clusters.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/find_clusters.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/find_clusters.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/find_clusters.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/find_clusters.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/local_cluster.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/local_cluster.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/local_cluster.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/local_cluster.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/local_clusters.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/local_clusters.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/local_clusters.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/local_clusters.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/req_code_viewer.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_code_viewer.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_code_viewer.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_code_viewer.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_request.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_request.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_details_request.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_request.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_request_content.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_request_content.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_details_request_content.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_request_content.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_response.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_response.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_details_response.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_response.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_stats.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_stats.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_details_stats.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_stats.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/types.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/types.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/types.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/types.ts diff --git a/src/plugins/inspector/public/views/requests/components/disambiguate_request_names.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/disambiguate_request_names.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/disambiguate_request_names.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/disambiguate_request_names.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/disambiguate_request_names.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/disambiguate_request_names.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/disambiguate_request_names.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/disambiguate_request_names.ts diff --git a/src/plugins/inspector/public/views/requests/components/get_next_tab.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/get_next_tab.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/get_next_tab.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/get_next_tab.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/get_next_tab.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/get_next_tab.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/get_next_tab.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/get_next_tab.ts diff --git a/src/plugins/inspector/public/views/requests/components/request_details.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/request_details.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/request_details.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/request_details.tsx diff --git a/src/plugins/inspector/public/views/requests/components/request_selector.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/request_selector.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/request_selector.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/request_selector.tsx diff --git a/src/plugins/inspector/public/views/requests/components/requests_view.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/requests_view.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/requests_view.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/requests_view.tsx diff --git a/src/plugins/inspector/public/views/requests/components/types.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/types.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/types.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/types.ts diff --git a/src/plugins/inspector/public/views/requests/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/index.ts diff --git a/src/plugins/inspector/tsconfig.json b/src/platform/plugins/shared/inspector/tsconfig.json similarity index 91% rename from src/plugins/inspector/tsconfig.json rename to src/platform/plugins/shared/inspector/tsconfig.json index f0a23ddf01958..0b0b7217ef8f9 100644 --- a/src/plugins/inspector/tsconfig.json +++ b/src/platform/plugins/shared/inspector/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/tsconfig.base.json b/tsconfig.base.json index a190cd8355701..b028bcf54a07a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1076,8 +1076,8 @@ "@kbn/ingest-pipelines-plugin/*": ["x-pack/platform/plugins/shared/ingest_pipelines/*"], "@kbn/input-control-vis-plugin": ["src/platform/plugins/private/input_control_vis"], "@kbn/input-control-vis-plugin/*": ["src/platform/plugins/private/input_control_vis/*"], - "@kbn/inspector-plugin": ["src/plugins/inspector"], - "@kbn/inspector-plugin/*": ["src/plugins/inspector/*"], + "@kbn/inspector-plugin": ["src/platform/plugins/shared/inspector"], + "@kbn/inspector-plugin/*": ["src/platform/plugins/shared/inspector/*"], "@kbn/integration-assistant-plugin": ["x-pack/platform/plugins/shared/integration_assistant"], "@kbn/integration-assistant-plugin/*": ["x-pack/platform/plugins/shared/integration_assistant/*"], "@kbn/interactive-setup-plugin": ["src/plugins/interactive_setup"], diff --git a/yarn.lock b/yarn.lock index 272de04570e66..6e005bcc2f2fb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5969,7 +5969,7 @@ version "0.0.0" uid "" -"@kbn/inspector-plugin@link:src/plugins/inspector": +"@kbn/inspector-plugin@link:src/platform/plugins/shared/inspector": version "0.0.0" uid "" From bf0341b536899cb8c3cb78721e1d0a7989fbabf6 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:23:16 +0100 Subject: [PATCH 17/29] Relocating module `@kbn/links-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/links/README.md | 0 .../plugins/private}/links/common/constants.ts | 0 .../private}/links/common/content_management/index.ts | 0 .../private}/links/common/content_management/latest.ts | 0 .../links/common/content_management/v1/constants.ts | 0 .../links/common/content_management/v1/index.ts | 0 .../links/common/content_management/v1/types.ts | 0 .../plugins/private}/links/common/index.ts | 0 .../private}/links/common/persistable_state/index.ts | 0 .../links/common/persistable_state/references.test.ts | 0 .../links/common/persistable_state/references.ts | 0 .../plugins/private}/links/common/types.ts | 0 .../plugins/private}/links/jest.config.js | 10 +++++----- .../plugins/private}/links/jest_setup.ts | 0 .../plugins/private}/links/kibana.jsonc | 0 .../plugins/private}/links/public/_mixins.scss | 2 +- .../links/public/actions/compatibility_check.ts | 0 .../links/public/actions/create_links_panel_action.ts | 0 .../dashboard_link/dashboard_link_component.test.tsx | 0 .../dashboard_link/dashboard_link_component.tsx | 0 .../dashboard_link_destination_picker.tsx | 0 .../dashboard_link/dashboard_link_strings.ts | 0 .../components/dashboard_link/dashboard_link_tools.ts | 0 .../links/public/components/editor/constants.ts | 0 .../public/components/editor/link_destination.tsx | 0 .../links/public/components/editor/link_editor.tsx | 0 .../links/public/components/editor/link_options.tsx | 0 .../links/public/components/editor/links_editor.scss | 0 .../public/components/editor/links_editor.test.tsx | 0 .../links/public/components/editor/links_editor.tsx | 0 .../components/editor/links_editor_empty_prompt.tsx | 0 .../components/editor/links_editor_single_link.tsx | 0 .../external_link/external_link_component.test.tsx | 0 .../external_link/external_link_component.tsx | 0 .../external_link/external_link_destination_picker.tsx | 0 .../components/external_link/external_link_strings.ts | 0 .../components/external_link/external_link_tools.ts | 0 .../links/public/components/links_component.scss | 0 .../private}/links/public/components/links_strings.ts | 0 .../links/public/components/tooltip_wrapper.tsx | 0 .../public/content_management/duplicate_title_check.ts | 0 .../private}/links/public/content_management/index.ts | 0 .../links_content_management_client.ts | 0 .../public/content_management/save_to_library.tsx | 0 .../links/public/editor/links_editor_tools.tsx | 0 .../links/public/editor/open_editor_flyout.tsx | 0 .../links/public/editor/open_link_editor_flyout.tsx | 0 .../links/public/embeddable/links_embeddable.test.tsx | 0 .../links/public/embeddable/links_embeddable.tsx | 0 .../plugins/private}/links/public/index.ts | 0 .../links/public/lib/deserialize_from_library.ts | 0 .../private}/links/public/lib/resolve_links.test.ts | 0 .../plugins/private}/links/public/lib/resolve_links.ts | 0 .../private}/links/public/lib/serialize_attributes.ts | 0 .../plugins/private}/links/public/mocks.ts | 0 .../plugins/private}/links/public/plugin.ts | 0 .../private}/links/public/services/kibana_services.ts | 0 .../plugins/private}/links/public/types.ts | 0 .../private}/links/server/content_management/index.ts | 0 .../links/server/content_management/links_storage.ts | 0 .../server/content_management/schema/cm_services.ts | 0 .../server/content_management/schema/v1/cm_services.ts | 0 .../plugins/private}/links/server/index.ts | 0 .../plugins/private}/links/server/plugin.ts | 0 .../private}/links/server/saved_objects/index.ts | 0 .../private}/links/server/saved_objects/links.ts | 0 .../plugins/private}/links/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 73 files changed, 14 insertions(+), 14 deletions(-) rename src/{plugins => platform/plugins/private}/links/README.md (100%) rename src/{plugins => platform/plugins/private}/links/common/constants.ts (100%) rename src/{plugins => platform/plugins/private}/links/common/content_management/index.ts (100%) rename src/{plugins => platform/plugins/private}/links/common/content_management/latest.ts (100%) rename src/{plugins => platform/plugins/private}/links/common/content_management/v1/constants.ts (100%) rename src/{plugins => platform/plugins/private}/links/common/content_management/v1/index.ts (100%) rename src/{plugins => platform/plugins/private}/links/common/content_management/v1/types.ts (100%) rename src/{plugins => platform/plugins/private}/links/common/index.ts (100%) rename src/{plugins => platform/plugins/private}/links/common/persistable_state/index.ts (100%) rename src/{plugins => platform/plugins/private}/links/common/persistable_state/references.test.ts (100%) rename src/{plugins => platform/plugins/private}/links/common/persistable_state/references.ts (100%) rename src/{plugins => platform/plugins/private}/links/common/types.ts (100%) rename src/{plugins => platform/plugins/private}/links/jest.config.js (66%) rename src/{plugins => platform/plugins/private}/links/jest_setup.ts (100%) rename src/{plugins => platform/plugins/private}/links/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/links/public/_mixins.scss (93%) rename src/{plugins => platform/plugins/private}/links/public/actions/compatibility_check.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/actions/create_links_panel_action.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/components/dashboard_link/dashboard_link_component.test.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/components/dashboard_link/dashboard_link_component.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/components/dashboard_link/dashboard_link_destination_picker.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/components/dashboard_link/dashboard_link_strings.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/components/dashboard_link/dashboard_link_tools.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/components/editor/constants.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/components/editor/link_destination.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/components/editor/link_editor.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/components/editor/link_options.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/components/editor/links_editor.scss (100%) rename src/{plugins => platform/plugins/private}/links/public/components/editor/links_editor.test.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/components/editor/links_editor.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/components/editor/links_editor_empty_prompt.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/components/editor/links_editor_single_link.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/components/external_link/external_link_component.test.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/components/external_link/external_link_component.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/components/external_link/external_link_destination_picker.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/components/external_link/external_link_strings.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/components/external_link/external_link_tools.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/components/links_component.scss (100%) rename src/{plugins => platform/plugins/private}/links/public/components/links_strings.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/components/tooltip_wrapper.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/content_management/duplicate_title_check.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/content_management/index.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/content_management/links_content_management_client.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/content_management/save_to_library.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/editor/links_editor_tools.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/editor/open_editor_flyout.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/editor/open_link_editor_flyout.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/embeddable/links_embeddable.test.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/embeddable/links_embeddable.tsx (100%) rename src/{plugins => platform/plugins/private}/links/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/lib/deserialize_from_library.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/lib/resolve_links.test.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/lib/resolve_links.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/lib/serialize_attributes.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/mocks.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/services/kibana_services.ts (100%) rename src/{plugins => platform/plugins/private}/links/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/links/server/content_management/index.ts (100%) rename src/{plugins => platform/plugins/private}/links/server/content_management/links_storage.ts (100%) rename src/{plugins => platform/plugins/private}/links/server/content_management/schema/cm_services.ts (100%) rename src/{plugins => platform/plugins/private}/links/server/content_management/schema/v1/cm_services.ts (100%) rename src/{plugins => platform/plugins/private}/links/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/links/server/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/links/server/saved_objects/index.ts (100%) rename src/{plugins => platform/plugins/private}/links/server/saved_objects/links.ts (100%) rename src/{plugins => platform/plugins/private}/links/tsconfig.json (95%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fee2591d89ce6..1e11fdd3c56fc 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -611,6 +611,7 @@ src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledg src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management src/platform/plugins/private/input_control_vis @elastic/kibana-presentation +src/platform/plugins/private/links @elastic/kibana-presentation src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant src/platform/plugins/shared/console @elastic/kibana-management src/platform/plugins/shared/controls @elastic/kibana-presentation @@ -663,7 +664,6 @@ src/plugins/kibana_overview @elastic/appex-sharedux src/plugins/kibana_react @elastic/appex-sharedux src/plugins/kibana_usage_collection @elastic/kibana-core src/plugins/kibana_utils @elastic/appex-sharedux -src/plugins/links @elastic/kibana-presentation src/plugins/maps_ems @elastic/kibana-presentation src/plugins/navigation @elastic/appex-sharedux src/plugins/newsfeed @elastic/kibana-core diff --git a/.i18nrc.json b/.i18nrc.json index 67c9a7a40a85b..528a316f1aa74 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -98,7 +98,7 @@ ], "monaco": "packages/kbn-monaco/src", "navigation": ["src/plugins/navigation", "packages/solution-nav"], - "links": "src/plugins/links", + "links": "src/platform/plugins/private/links", "newsfeed": "src/plugins/newsfeed", "presentationUtil": "src/plugins/presentation_util", "randomSampling": "x-pack/packages/kbn-random-sampling", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 7f497acb19c71..3f22fc4f730c5 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -254,7 +254,7 @@ in Kibana, e.g. visualizations. It has the form of a flyout panel. |Utilities for building Kibana plugins. -|{kib-repo}blob/{branch}/src/plugins/links/README.md[links] +|{kib-repo}blob/{branch}/src/platform/plugins/private/links/README.md[links] |This plugin adds the Links panel which allows authors to create hard links to navigate on click and bring all context from the source dashboard to the destination dashboard. diff --git a/package.json b/package.json index db8e345179526..20c16671c594e 100644 --- a/package.json +++ b/package.json @@ -618,7 +618,7 @@ "@kbn/license-api-guard-plugin": "link:x-pack/platform/plugins/private/license_api_guard", "@kbn/license-management-plugin": "link:x-pack/platform/plugins/shared/license_management", "@kbn/licensing-plugin": "link:x-pack/plugins/licensing", - "@kbn/links-plugin": "link:src/plugins/links", + "@kbn/links-plugin": "link:src/platform/plugins/private/links", "@kbn/lists-plugin": "link:x-pack/solutions/security/plugins/lists", "@kbn/llm-tasks-plugin": "link:x-pack/platform/plugins/shared/ai_infra/llm_tasks", "@kbn/locator-examples-plugin": "link:examples/locator_examples", diff --git a/src/plugins/links/README.md b/src/platform/plugins/private/links/README.md similarity index 100% rename from src/plugins/links/README.md rename to src/platform/plugins/private/links/README.md diff --git a/src/plugins/links/common/constants.ts b/src/platform/plugins/private/links/common/constants.ts similarity index 100% rename from src/plugins/links/common/constants.ts rename to src/platform/plugins/private/links/common/constants.ts diff --git a/src/plugins/links/common/content_management/index.ts b/src/platform/plugins/private/links/common/content_management/index.ts similarity index 100% rename from src/plugins/links/common/content_management/index.ts rename to src/platform/plugins/private/links/common/content_management/index.ts diff --git a/src/plugins/links/common/content_management/latest.ts b/src/platform/plugins/private/links/common/content_management/latest.ts similarity index 100% rename from src/plugins/links/common/content_management/latest.ts rename to src/platform/plugins/private/links/common/content_management/latest.ts diff --git a/src/plugins/links/common/content_management/v1/constants.ts b/src/platform/plugins/private/links/common/content_management/v1/constants.ts similarity index 100% rename from src/plugins/links/common/content_management/v1/constants.ts rename to src/platform/plugins/private/links/common/content_management/v1/constants.ts diff --git a/src/plugins/links/common/content_management/v1/index.ts b/src/platform/plugins/private/links/common/content_management/v1/index.ts similarity index 100% rename from src/plugins/links/common/content_management/v1/index.ts rename to src/platform/plugins/private/links/common/content_management/v1/index.ts diff --git a/src/plugins/links/common/content_management/v1/types.ts b/src/platform/plugins/private/links/common/content_management/v1/types.ts similarity index 100% rename from src/plugins/links/common/content_management/v1/types.ts rename to src/platform/plugins/private/links/common/content_management/v1/types.ts diff --git a/src/plugins/links/common/index.ts b/src/platform/plugins/private/links/common/index.ts similarity index 100% rename from src/plugins/links/common/index.ts rename to src/platform/plugins/private/links/common/index.ts diff --git a/src/plugins/links/common/persistable_state/index.ts b/src/platform/plugins/private/links/common/persistable_state/index.ts similarity index 100% rename from src/plugins/links/common/persistable_state/index.ts rename to src/platform/plugins/private/links/common/persistable_state/index.ts diff --git a/src/plugins/links/common/persistable_state/references.test.ts b/src/platform/plugins/private/links/common/persistable_state/references.test.ts similarity index 100% rename from src/plugins/links/common/persistable_state/references.test.ts rename to src/platform/plugins/private/links/common/persistable_state/references.test.ts diff --git a/src/plugins/links/common/persistable_state/references.ts b/src/platform/plugins/private/links/common/persistable_state/references.ts similarity index 100% rename from src/plugins/links/common/persistable_state/references.ts rename to src/platform/plugins/private/links/common/persistable_state/references.ts diff --git a/src/plugins/links/common/types.ts b/src/platform/plugins/private/links/common/types.ts similarity index 100% rename from src/plugins/links/common/types.ts rename to src/platform/plugins/private/links/common/types.ts diff --git a/src/plugins/links/jest.config.js b/src/platform/plugins/private/links/jest.config.js similarity index 66% rename from src/plugins/links/jest.config.js rename to src/platform/plugins/private/links/jest.config.js index c0f838d194111..e41a0fbf44078 100644 --- a/src/plugins/links/jest.config.js +++ b/src/platform/plugins/private/links/jest.config.js @@ -9,10 +9,10 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/links'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/links', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/links'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/links', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/links/{common,public,server}/**/*.{ts,tsx}'], - setupFiles: ['/src/plugins/links/jest_setup.ts'], + collectCoverageFrom: ['/src/platform/plugins/private/links/{common,public,server}/**/*.{ts,tsx}'], + setupFiles: ['/src/platform/plugins/private/links/jest_setup.ts'], }; diff --git a/src/plugins/links/jest_setup.ts b/src/platform/plugins/private/links/jest_setup.ts similarity index 100% rename from src/plugins/links/jest_setup.ts rename to src/platform/plugins/private/links/jest_setup.ts diff --git a/src/plugins/links/kibana.jsonc b/src/platform/plugins/private/links/kibana.jsonc similarity index 100% rename from src/plugins/links/kibana.jsonc rename to src/platform/plugins/private/links/kibana.jsonc diff --git a/src/plugins/links/public/_mixins.scss b/src/platform/plugins/private/links/public/_mixins.scss similarity index 93% rename from src/plugins/links/public/_mixins.scss rename to src/platform/plugins/private/links/public/_mixins.scss index b41c0d7f1ab62..d4025a7ef57b9 100644 --- a/src/plugins/links/public/_mixins.scss +++ b/src/platform/plugins/private/links/public/_mixins.scss @@ -1,4 +1,4 @@ -@import '../../../core/public/mixins'; +@import '../../../../../core/public/mixins'; @keyframes euiFlyoutOpenAnimation { 0% { diff --git a/src/plugins/links/public/actions/compatibility_check.ts b/src/platform/plugins/private/links/public/actions/compatibility_check.ts similarity index 100% rename from src/plugins/links/public/actions/compatibility_check.ts rename to src/platform/plugins/private/links/public/actions/compatibility_check.ts diff --git a/src/plugins/links/public/actions/create_links_panel_action.ts b/src/platform/plugins/private/links/public/actions/create_links_panel_action.ts similarity index 100% rename from src/plugins/links/public/actions/create_links_panel_action.ts rename to src/platform/plugins/private/links/public/actions/create_links_panel_action.ts diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_component.test.tsx b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_component.test.tsx similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_component.test.tsx rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_component.test.tsx diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_component.tsx b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_component.tsx similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_component.tsx rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_component.tsx diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_destination_picker.tsx b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_destination_picker.tsx similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_destination_picker.tsx rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_destination_picker.tsx diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_strings.ts b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_strings.ts similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_strings.ts rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_strings.ts diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_tools.ts b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_tools.ts similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_tools.ts rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_tools.ts diff --git a/src/plugins/links/public/components/editor/constants.ts b/src/platform/plugins/private/links/public/components/editor/constants.ts similarity index 100% rename from src/plugins/links/public/components/editor/constants.ts rename to src/platform/plugins/private/links/public/components/editor/constants.ts diff --git a/src/plugins/links/public/components/editor/link_destination.tsx b/src/platform/plugins/private/links/public/components/editor/link_destination.tsx similarity index 100% rename from src/plugins/links/public/components/editor/link_destination.tsx rename to src/platform/plugins/private/links/public/components/editor/link_destination.tsx diff --git a/src/plugins/links/public/components/editor/link_editor.tsx b/src/platform/plugins/private/links/public/components/editor/link_editor.tsx similarity index 100% rename from src/plugins/links/public/components/editor/link_editor.tsx rename to src/platform/plugins/private/links/public/components/editor/link_editor.tsx diff --git a/src/plugins/links/public/components/editor/link_options.tsx b/src/platform/plugins/private/links/public/components/editor/link_options.tsx similarity index 100% rename from src/plugins/links/public/components/editor/link_options.tsx rename to src/platform/plugins/private/links/public/components/editor/link_options.tsx diff --git a/src/plugins/links/public/components/editor/links_editor.scss b/src/platform/plugins/private/links/public/components/editor/links_editor.scss similarity index 100% rename from src/plugins/links/public/components/editor/links_editor.scss rename to src/platform/plugins/private/links/public/components/editor/links_editor.scss diff --git a/src/plugins/links/public/components/editor/links_editor.test.tsx b/src/platform/plugins/private/links/public/components/editor/links_editor.test.tsx similarity index 100% rename from src/plugins/links/public/components/editor/links_editor.test.tsx rename to src/platform/plugins/private/links/public/components/editor/links_editor.test.tsx diff --git a/src/plugins/links/public/components/editor/links_editor.tsx b/src/platform/plugins/private/links/public/components/editor/links_editor.tsx similarity index 100% rename from src/plugins/links/public/components/editor/links_editor.tsx rename to src/platform/plugins/private/links/public/components/editor/links_editor.tsx diff --git a/src/plugins/links/public/components/editor/links_editor_empty_prompt.tsx b/src/platform/plugins/private/links/public/components/editor/links_editor_empty_prompt.tsx similarity index 100% rename from src/plugins/links/public/components/editor/links_editor_empty_prompt.tsx rename to src/platform/plugins/private/links/public/components/editor/links_editor_empty_prompt.tsx diff --git a/src/plugins/links/public/components/editor/links_editor_single_link.tsx b/src/platform/plugins/private/links/public/components/editor/links_editor_single_link.tsx similarity index 100% rename from src/plugins/links/public/components/editor/links_editor_single_link.tsx rename to src/platform/plugins/private/links/public/components/editor/links_editor_single_link.tsx diff --git a/src/plugins/links/public/components/external_link/external_link_component.test.tsx b/src/platform/plugins/private/links/public/components/external_link/external_link_component.test.tsx similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_component.test.tsx rename to src/platform/plugins/private/links/public/components/external_link/external_link_component.test.tsx diff --git a/src/plugins/links/public/components/external_link/external_link_component.tsx b/src/platform/plugins/private/links/public/components/external_link/external_link_component.tsx similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_component.tsx rename to src/platform/plugins/private/links/public/components/external_link/external_link_component.tsx diff --git a/src/plugins/links/public/components/external_link/external_link_destination_picker.tsx b/src/platform/plugins/private/links/public/components/external_link/external_link_destination_picker.tsx similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_destination_picker.tsx rename to src/platform/plugins/private/links/public/components/external_link/external_link_destination_picker.tsx diff --git a/src/plugins/links/public/components/external_link/external_link_strings.ts b/src/platform/plugins/private/links/public/components/external_link/external_link_strings.ts similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_strings.ts rename to src/platform/plugins/private/links/public/components/external_link/external_link_strings.ts diff --git a/src/plugins/links/public/components/external_link/external_link_tools.ts b/src/platform/plugins/private/links/public/components/external_link/external_link_tools.ts similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_tools.ts rename to src/platform/plugins/private/links/public/components/external_link/external_link_tools.ts diff --git a/src/plugins/links/public/components/links_component.scss b/src/platform/plugins/private/links/public/components/links_component.scss similarity index 100% rename from src/plugins/links/public/components/links_component.scss rename to src/platform/plugins/private/links/public/components/links_component.scss diff --git a/src/plugins/links/public/components/links_strings.ts b/src/platform/plugins/private/links/public/components/links_strings.ts similarity index 100% rename from src/plugins/links/public/components/links_strings.ts rename to src/platform/plugins/private/links/public/components/links_strings.ts diff --git a/src/plugins/links/public/components/tooltip_wrapper.tsx b/src/platform/plugins/private/links/public/components/tooltip_wrapper.tsx similarity index 100% rename from src/plugins/links/public/components/tooltip_wrapper.tsx rename to src/platform/plugins/private/links/public/components/tooltip_wrapper.tsx diff --git a/src/plugins/links/public/content_management/duplicate_title_check.ts b/src/platform/plugins/private/links/public/content_management/duplicate_title_check.ts similarity index 100% rename from src/plugins/links/public/content_management/duplicate_title_check.ts rename to src/platform/plugins/private/links/public/content_management/duplicate_title_check.ts diff --git a/src/plugins/links/public/content_management/index.ts b/src/platform/plugins/private/links/public/content_management/index.ts similarity index 100% rename from src/plugins/links/public/content_management/index.ts rename to src/platform/plugins/private/links/public/content_management/index.ts diff --git a/src/plugins/links/public/content_management/links_content_management_client.ts b/src/platform/plugins/private/links/public/content_management/links_content_management_client.ts similarity index 100% rename from src/plugins/links/public/content_management/links_content_management_client.ts rename to src/platform/plugins/private/links/public/content_management/links_content_management_client.ts diff --git a/src/plugins/links/public/content_management/save_to_library.tsx b/src/platform/plugins/private/links/public/content_management/save_to_library.tsx similarity index 100% rename from src/plugins/links/public/content_management/save_to_library.tsx rename to src/platform/plugins/private/links/public/content_management/save_to_library.tsx diff --git a/src/plugins/links/public/editor/links_editor_tools.tsx b/src/platform/plugins/private/links/public/editor/links_editor_tools.tsx similarity index 100% rename from src/plugins/links/public/editor/links_editor_tools.tsx rename to src/platform/plugins/private/links/public/editor/links_editor_tools.tsx diff --git a/src/plugins/links/public/editor/open_editor_flyout.tsx b/src/platform/plugins/private/links/public/editor/open_editor_flyout.tsx similarity index 100% rename from src/plugins/links/public/editor/open_editor_flyout.tsx rename to src/platform/plugins/private/links/public/editor/open_editor_flyout.tsx diff --git a/src/plugins/links/public/editor/open_link_editor_flyout.tsx b/src/platform/plugins/private/links/public/editor/open_link_editor_flyout.tsx similarity index 100% rename from src/plugins/links/public/editor/open_link_editor_flyout.tsx rename to src/platform/plugins/private/links/public/editor/open_link_editor_flyout.tsx diff --git a/src/plugins/links/public/embeddable/links_embeddable.test.tsx b/src/platform/plugins/private/links/public/embeddable/links_embeddable.test.tsx similarity index 100% rename from src/plugins/links/public/embeddable/links_embeddable.test.tsx rename to src/platform/plugins/private/links/public/embeddable/links_embeddable.test.tsx diff --git a/src/plugins/links/public/embeddable/links_embeddable.tsx b/src/platform/plugins/private/links/public/embeddable/links_embeddable.tsx similarity index 100% rename from src/plugins/links/public/embeddable/links_embeddable.tsx rename to src/platform/plugins/private/links/public/embeddable/links_embeddable.tsx diff --git a/src/plugins/links/public/index.ts b/src/platform/plugins/private/links/public/index.ts similarity index 100% rename from src/plugins/links/public/index.ts rename to src/platform/plugins/private/links/public/index.ts diff --git a/src/plugins/links/public/lib/deserialize_from_library.ts b/src/platform/plugins/private/links/public/lib/deserialize_from_library.ts similarity index 100% rename from src/plugins/links/public/lib/deserialize_from_library.ts rename to src/platform/plugins/private/links/public/lib/deserialize_from_library.ts diff --git a/src/plugins/links/public/lib/resolve_links.test.ts b/src/platform/plugins/private/links/public/lib/resolve_links.test.ts similarity index 100% rename from src/plugins/links/public/lib/resolve_links.test.ts rename to src/platform/plugins/private/links/public/lib/resolve_links.test.ts diff --git a/src/plugins/links/public/lib/resolve_links.ts b/src/platform/plugins/private/links/public/lib/resolve_links.ts similarity index 100% rename from src/plugins/links/public/lib/resolve_links.ts rename to src/platform/plugins/private/links/public/lib/resolve_links.ts diff --git a/src/plugins/links/public/lib/serialize_attributes.ts b/src/platform/plugins/private/links/public/lib/serialize_attributes.ts similarity index 100% rename from src/plugins/links/public/lib/serialize_attributes.ts rename to src/platform/plugins/private/links/public/lib/serialize_attributes.ts diff --git a/src/plugins/links/public/mocks.ts b/src/platform/plugins/private/links/public/mocks.ts similarity index 100% rename from src/plugins/links/public/mocks.ts rename to src/platform/plugins/private/links/public/mocks.ts diff --git a/src/plugins/links/public/plugin.ts b/src/platform/plugins/private/links/public/plugin.ts similarity index 100% rename from src/plugins/links/public/plugin.ts rename to src/platform/plugins/private/links/public/plugin.ts diff --git a/src/plugins/links/public/services/kibana_services.ts b/src/platform/plugins/private/links/public/services/kibana_services.ts similarity index 100% rename from src/plugins/links/public/services/kibana_services.ts rename to src/platform/plugins/private/links/public/services/kibana_services.ts diff --git a/src/plugins/links/public/types.ts b/src/platform/plugins/private/links/public/types.ts similarity index 100% rename from src/plugins/links/public/types.ts rename to src/platform/plugins/private/links/public/types.ts diff --git a/src/plugins/links/server/content_management/index.ts b/src/platform/plugins/private/links/server/content_management/index.ts similarity index 100% rename from src/plugins/links/server/content_management/index.ts rename to src/platform/plugins/private/links/server/content_management/index.ts diff --git a/src/plugins/links/server/content_management/links_storage.ts b/src/platform/plugins/private/links/server/content_management/links_storage.ts similarity index 100% rename from src/plugins/links/server/content_management/links_storage.ts rename to src/platform/plugins/private/links/server/content_management/links_storage.ts diff --git a/src/plugins/links/server/content_management/schema/cm_services.ts b/src/platform/plugins/private/links/server/content_management/schema/cm_services.ts similarity index 100% rename from src/plugins/links/server/content_management/schema/cm_services.ts rename to src/platform/plugins/private/links/server/content_management/schema/cm_services.ts diff --git a/src/plugins/links/server/content_management/schema/v1/cm_services.ts b/src/platform/plugins/private/links/server/content_management/schema/v1/cm_services.ts similarity index 100% rename from src/plugins/links/server/content_management/schema/v1/cm_services.ts rename to src/platform/plugins/private/links/server/content_management/schema/v1/cm_services.ts diff --git a/src/plugins/links/server/index.ts b/src/platform/plugins/private/links/server/index.ts similarity index 100% rename from src/plugins/links/server/index.ts rename to src/platform/plugins/private/links/server/index.ts diff --git a/src/plugins/links/server/plugin.ts b/src/platform/plugins/private/links/server/plugin.ts similarity index 100% rename from src/plugins/links/server/plugin.ts rename to src/platform/plugins/private/links/server/plugin.ts diff --git a/src/plugins/links/server/saved_objects/index.ts b/src/platform/plugins/private/links/server/saved_objects/index.ts similarity index 100% rename from src/plugins/links/server/saved_objects/index.ts rename to src/platform/plugins/private/links/server/saved_objects/index.ts diff --git a/src/plugins/links/server/saved_objects/links.ts b/src/platform/plugins/private/links/server/saved_objects/links.ts similarity index 100% rename from src/plugins/links/server/saved_objects/links.ts rename to src/platform/plugins/private/links/server/saved_objects/links.ts diff --git a/src/plugins/links/tsconfig.json b/src/platform/plugins/private/links/tsconfig.json similarity index 95% rename from src/plugins/links/tsconfig.json rename to src/platform/plugins/private/links/tsconfig.json index 321809cb507d0..ac7594cc5d76a 100644 --- a/src/plugins/links/tsconfig.json +++ b/src/platform/plugins/private/links/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/tsconfig.base.json b/tsconfig.base.json index b028bcf54a07a..03d0173dc499b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1154,8 +1154,8 @@ "@kbn/license-management-plugin/*": ["x-pack/platform/plugins/shared/license_management/*"], "@kbn/licensing-plugin": ["x-pack/plugins/licensing"], "@kbn/licensing-plugin/*": ["x-pack/plugins/licensing/*"], - "@kbn/links-plugin": ["src/plugins/links"], - "@kbn/links-plugin/*": ["src/plugins/links/*"], + "@kbn/links-plugin": ["src/platform/plugins/private/links"], + "@kbn/links-plugin/*": ["src/platform/plugins/private/links/*"], "@kbn/lint-packages-cli": ["packages/kbn-lint-packages-cli"], "@kbn/lint-packages-cli/*": ["packages/kbn-lint-packages-cli/*"], "@kbn/lint-ts-projects-cli": ["packages/kbn-lint-ts-projects-cli"], diff --git a/yarn.lock b/yarn.lock index 6e005bcc2f2fb..3a9a5719a6fc3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6125,7 +6125,7 @@ version "0.0.0" uid "" -"@kbn/links-plugin@link:src/plugins/links": +"@kbn/links-plugin@link:src/platform/plugins/private/links": version "0.0.0" uid "" From 06413b00ac3cc1568a905bb26fbed06be9896574 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:26:09 +0100 Subject: [PATCH 18/29] Relocating module `@kbn/mapbox-gl` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../platform/packages/private}/kbn-mapbox-gl/README.md | 0 .../platform/packages/private}/kbn-mapbox-gl/index.ts | 0 .../platform/packages/private}/kbn-mapbox-gl/kibana.jsonc | 0 .../platform/packages/private}/kbn-mapbox-gl/package.json | 0 .../platform/packages/private}/kbn-mapbox-gl/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 9 files changed, 6 insertions(+), 6 deletions(-) rename {packages => src/platform/packages/private}/kbn-mapbox-gl/README.md (100%) rename {packages => src/platform/packages/private}/kbn-mapbox-gl/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-mapbox-gl/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/kbn-mapbox-gl/package.json (100%) rename {packages => src/platform/packages/private}/kbn-mapbox-gl/tsconfig.json (75%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1e11fdd3c56fc..a01fc726ef9c9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -387,7 +387,6 @@ packages/kbn-management/settings/section_registry @elastic/appex-sharedux @elast packages/kbn-management/settings/setting_ids @elastic/appex-sharedux @elastic/kibana-management packages/kbn-management/storybook/config @elastic/kibana-management packages/kbn-manifest @elastic/kibana-core -packages/kbn-mapbox-gl @elastic/kibana-presentation packages/kbn-mock-idp-plugin @elastic/kibana-security packages/kbn-mock-idp-utils @elastic/kibana-security packages/kbn-monaco @elastic/appex-sharedux @@ -576,6 +575,7 @@ src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql src/platform/packages/private/kbn-management/settings/application @elastic/kibana-management src/platform/packages/private/kbn-management/settings/components/field_category @elastic/kibana-management src/platform/packages/private/kbn-management/settings/components/form @elastic/kibana-management +src/platform/packages/private/kbn-mapbox-gl @elastic/kibana-presentation src/platform/packages/shared/deeplinks/devtools @elastic/kibana-management src/platform/packages/shared/deeplinks/management @elastic/kibana-management src/platform/packages/shared/deeplinks/ml @elastic/ml-ui diff --git a/package.json b/package.json index 20c16671c594e..f39f802b9a884 100644 --- a/package.json +++ b/package.json @@ -643,7 +643,7 @@ "@kbn/management-settings-types": "link:src/platform/packages/shared/kbn-management/settings/types", "@kbn/management-settings-utilities": "link:src/platform/packages/shared/kbn-management/settings/utilities", "@kbn/management-test-plugin": "link:test/plugin_functional/plugins/management_test_plugin", - "@kbn/mapbox-gl": "link:packages/kbn-mapbox-gl", + "@kbn/mapbox-gl": "link:src/platform/packages/private/kbn-mapbox-gl", "@kbn/maps-custom-raster-source-plugin": "link:x-pack/examples/third_party_maps_source_example", "@kbn/maps-ems-plugin": "link:src/plugins/maps_ems", "@kbn/maps-plugin": "link:x-pack/plugins/maps", diff --git a/packages/kbn-mapbox-gl/README.md b/src/platform/packages/private/kbn-mapbox-gl/README.md similarity index 100% rename from packages/kbn-mapbox-gl/README.md rename to src/platform/packages/private/kbn-mapbox-gl/README.md diff --git a/packages/kbn-mapbox-gl/index.ts b/src/platform/packages/private/kbn-mapbox-gl/index.ts similarity index 100% rename from packages/kbn-mapbox-gl/index.ts rename to src/platform/packages/private/kbn-mapbox-gl/index.ts diff --git a/packages/kbn-mapbox-gl/kibana.jsonc b/src/platform/packages/private/kbn-mapbox-gl/kibana.jsonc similarity index 100% rename from packages/kbn-mapbox-gl/kibana.jsonc rename to src/platform/packages/private/kbn-mapbox-gl/kibana.jsonc diff --git a/packages/kbn-mapbox-gl/package.json b/src/platform/packages/private/kbn-mapbox-gl/package.json similarity index 100% rename from packages/kbn-mapbox-gl/package.json rename to src/platform/packages/private/kbn-mapbox-gl/package.json diff --git a/packages/kbn-mapbox-gl/tsconfig.json b/src/platform/packages/private/kbn-mapbox-gl/tsconfig.json similarity index 75% rename from packages/kbn-mapbox-gl/tsconfig.json rename to src/platform/packages/private/kbn-mapbox-gl/tsconfig.json index 225d37d8136ea..9a47088cfbaa3 100644 --- a/packages/kbn-mapbox-gl/tsconfig.json +++ b/src/platform/packages/private/kbn-mapbox-gl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [] diff --git a/tsconfig.base.json b/tsconfig.base.json index 03d0173dc499b..2278a2490034f 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1216,8 +1216,8 @@ "@kbn/management-test-plugin/*": ["test/plugin_functional/plugins/management_test_plugin/*"], "@kbn/manifest": ["packages/kbn-manifest"], "@kbn/manifest/*": ["packages/kbn-manifest/*"], - "@kbn/mapbox-gl": ["packages/kbn-mapbox-gl"], - "@kbn/mapbox-gl/*": ["packages/kbn-mapbox-gl/*"], + "@kbn/mapbox-gl": ["src/platform/packages/private/kbn-mapbox-gl"], + "@kbn/mapbox-gl/*": ["src/platform/packages/private/kbn-mapbox-gl/*"], "@kbn/maps-custom-raster-source-plugin": ["x-pack/examples/third_party_maps_source_example"], "@kbn/maps-custom-raster-source-plugin/*": ["x-pack/examples/third_party_maps_source_example/*"], "@kbn/maps-ems-plugin": ["src/plugins/maps_ems"], diff --git a/yarn.lock b/yarn.lock index 3a9a5719a6fc3..f7b75e1a6f8b1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6249,7 +6249,7 @@ version "0.0.0" uid "" -"@kbn/mapbox-gl@link:packages/kbn-mapbox-gl": +"@kbn/mapbox-gl@link:src/platform/packages/private/kbn-mapbox-gl": version "0.0.0" uid "" From 4eef6d6e145839e869e9b4cd753dda582e06a2f1 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:29:03 +0100 Subject: [PATCH 19/29] Relocating module `@kbn/maps-ems-plugin` --- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/maps_ems/README.md | 0 .../plugins/private}/maps_ems/common/ems_defaults.ts | 0 .../plugins/private}/maps_ems/common/ems_settings.test.ts | 0 .../plugins/private}/maps_ems/common/ems_settings.ts | 0 .../plugins/private}/maps_ems/common/index.ts | 0 .../plugins/private}/maps_ems/jest.config.js | 8 ++++---- .../plugins/private}/maps_ems/kibana.jsonc | 0 .../plugins/private}/maps_ems/public/index.ts | 0 .../plugins/private}/maps_ems/public/kibana_services.ts | 0 .../public/lazy_load_bundle/create_ems_client.test.ts | 0 .../maps_ems/public/lazy_load_bundle/create_ems_client.ts | 0 .../private}/maps_ems/public/lazy_load_bundle/index.ts | 0 .../plugins/private}/maps_ems/public/plugin.ts | 0 .../plugins/private}/maps_ems/server/config.ts | 0 .../plugins/private}/maps_ems/server/index.ts | 0 .../plugins/private}/maps_ems/server/plugin.ts | 0 .../plugins/private}/maps_ems/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 22 files changed, 11 insertions(+), 11 deletions(-) rename src/{plugins => platform/plugins/private}/maps_ems/README.md (100%) rename src/{plugins => platform/plugins/private}/maps_ems/common/ems_defaults.ts (100%) rename src/{plugins => platform/plugins/private}/maps_ems/common/ems_settings.test.ts (100%) rename src/{plugins => platform/plugins/private}/maps_ems/common/ems_settings.ts (100%) rename src/{plugins => platform/plugins/private}/maps_ems/common/index.ts (100%) rename src/{plugins => platform/plugins/private}/maps_ems/jest.config.js (71%) rename src/{plugins => platform/plugins/private}/maps_ems/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/maps_ems/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/maps_ems/public/kibana_services.ts (100%) rename src/{plugins => platform/plugins/private}/maps_ems/public/lazy_load_bundle/create_ems_client.test.ts (100%) rename src/{plugins => platform/plugins/private}/maps_ems/public/lazy_load_bundle/create_ems_client.ts (100%) rename src/{plugins => platform/plugins/private}/maps_ems/public/lazy_load_bundle/index.ts (100%) rename src/{plugins => platform/plugins/private}/maps_ems/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/maps_ems/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/maps_ems/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/maps_ems/server/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/maps_ems/tsconfig.json (88%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a01fc726ef9c9..239ecd2cc7f05 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -612,6 +612,7 @@ src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-manageme src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management src/platform/plugins/private/input_control_vis @elastic/kibana-presentation src/platform/plugins/private/links @elastic/kibana-presentation +src/platform/plugins/private/maps_ems @elastic/kibana-presentation src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant src/platform/plugins/shared/console @elastic/kibana-management src/platform/plugins/shared/controls @elastic/kibana-presentation @@ -664,7 +665,6 @@ src/plugins/kibana_overview @elastic/appex-sharedux src/plugins/kibana_react @elastic/appex-sharedux src/plugins/kibana_usage_collection @elastic/kibana-core src/plugins/kibana_utils @elastic/appex-sharedux -src/plugins/maps_ems @elastic/kibana-presentation src/plugins/navigation @elastic/appex-sharedux src/plugins/newsfeed @elastic/kibana-core src/plugins/no_data_page @elastic/appex-sharedux diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 3f22fc4f730c5..7d148b48e606a 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -264,7 +264,7 @@ to link individual management section into it. This plugin does not contain any management section itself. -|{kib-repo}blob/{branch}/src/plugins/maps_ems/README.md[mapsEms] +|{kib-repo}blob/{branch}/src/platform/plugins/private/maps_ems/README.md[mapsEms] |Utility plugin: diff --git a/package.json b/package.json index f39f802b9a884..8c4673d83b8e6 100644 --- a/package.json +++ b/package.json @@ -645,7 +645,7 @@ "@kbn/management-test-plugin": "link:test/plugin_functional/plugins/management_test_plugin", "@kbn/mapbox-gl": "link:src/platform/packages/private/kbn-mapbox-gl", "@kbn/maps-custom-raster-source-plugin": "link:x-pack/examples/third_party_maps_source_example", - "@kbn/maps-ems-plugin": "link:src/plugins/maps_ems", + "@kbn/maps-ems-plugin": "link:src/platform/plugins/private/maps_ems", "@kbn/maps-plugin": "link:x-pack/plugins/maps", "@kbn/maps-vector-tile-utils": "link:x-pack/packages/maps/vector_tile_utils", "@kbn/metrics-data-access-plugin": "link:x-pack/plugins/observability_solution/metrics_data_access", diff --git a/src/plugins/maps_ems/README.md b/src/platform/plugins/private/maps_ems/README.md similarity index 100% rename from src/plugins/maps_ems/README.md rename to src/platform/plugins/private/maps_ems/README.md diff --git a/src/plugins/maps_ems/common/ems_defaults.ts b/src/platform/plugins/private/maps_ems/common/ems_defaults.ts similarity index 100% rename from src/plugins/maps_ems/common/ems_defaults.ts rename to src/platform/plugins/private/maps_ems/common/ems_defaults.ts diff --git a/src/plugins/maps_ems/common/ems_settings.test.ts b/src/platform/plugins/private/maps_ems/common/ems_settings.test.ts similarity index 100% rename from src/plugins/maps_ems/common/ems_settings.test.ts rename to src/platform/plugins/private/maps_ems/common/ems_settings.test.ts diff --git a/src/plugins/maps_ems/common/ems_settings.ts b/src/platform/plugins/private/maps_ems/common/ems_settings.ts similarity index 100% rename from src/plugins/maps_ems/common/ems_settings.ts rename to src/platform/plugins/private/maps_ems/common/ems_settings.ts diff --git a/src/plugins/maps_ems/common/index.ts b/src/platform/plugins/private/maps_ems/common/index.ts similarity index 100% rename from src/plugins/maps_ems/common/index.ts rename to src/platform/plugins/private/maps_ems/common/index.ts diff --git a/src/plugins/maps_ems/jest.config.js b/src/platform/plugins/private/maps_ems/jest.config.js similarity index 71% rename from src/plugins/maps_ems/jest.config.js rename to src/platform/plugins/private/maps_ems/jest.config.js index 9f9bebc3967a4..1f5f714565bc8 100644 --- a/src/plugins/maps_ems/jest.config.js +++ b/src/platform/plugins/private/maps_ems/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/maps_ems'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/maps_ems', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/maps_ems'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/maps_ems', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/maps_ems/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: ['/src/platform/plugins/private/maps_ems/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/maps_ems/kibana.jsonc b/src/platform/plugins/private/maps_ems/kibana.jsonc similarity index 100% rename from src/plugins/maps_ems/kibana.jsonc rename to src/platform/plugins/private/maps_ems/kibana.jsonc diff --git a/src/plugins/maps_ems/public/index.ts b/src/platform/plugins/private/maps_ems/public/index.ts similarity index 100% rename from src/plugins/maps_ems/public/index.ts rename to src/platform/plugins/private/maps_ems/public/index.ts diff --git a/src/plugins/maps_ems/public/kibana_services.ts b/src/platform/plugins/private/maps_ems/public/kibana_services.ts similarity index 100% rename from src/plugins/maps_ems/public/kibana_services.ts rename to src/platform/plugins/private/maps_ems/public/kibana_services.ts diff --git a/src/plugins/maps_ems/public/lazy_load_bundle/create_ems_client.test.ts b/src/platform/plugins/private/maps_ems/public/lazy_load_bundle/create_ems_client.test.ts similarity index 100% rename from src/plugins/maps_ems/public/lazy_load_bundle/create_ems_client.test.ts rename to src/platform/plugins/private/maps_ems/public/lazy_load_bundle/create_ems_client.test.ts diff --git a/src/plugins/maps_ems/public/lazy_load_bundle/create_ems_client.ts b/src/platform/plugins/private/maps_ems/public/lazy_load_bundle/create_ems_client.ts similarity index 100% rename from src/plugins/maps_ems/public/lazy_load_bundle/create_ems_client.ts rename to src/platform/plugins/private/maps_ems/public/lazy_load_bundle/create_ems_client.ts diff --git a/src/plugins/maps_ems/public/lazy_load_bundle/index.ts b/src/platform/plugins/private/maps_ems/public/lazy_load_bundle/index.ts similarity index 100% rename from src/plugins/maps_ems/public/lazy_load_bundle/index.ts rename to src/platform/plugins/private/maps_ems/public/lazy_load_bundle/index.ts diff --git a/src/plugins/maps_ems/public/plugin.ts b/src/platform/plugins/private/maps_ems/public/plugin.ts similarity index 100% rename from src/plugins/maps_ems/public/plugin.ts rename to src/platform/plugins/private/maps_ems/public/plugin.ts diff --git a/src/plugins/maps_ems/server/config.ts b/src/platform/plugins/private/maps_ems/server/config.ts similarity index 100% rename from src/plugins/maps_ems/server/config.ts rename to src/platform/plugins/private/maps_ems/server/config.ts diff --git a/src/plugins/maps_ems/server/index.ts b/src/platform/plugins/private/maps_ems/server/index.ts similarity index 100% rename from src/plugins/maps_ems/server/index.ts rename to src/platform/plugins/private/maps_ems/server/index.ts diff --git a/src/plugins/maps_ems/server/plugin.ts b/src/platform/plugins/private/maps_ems/server/plugin.ts similarity index 100% rename from src/plugins/maps_ems/server/plugin.ts rename to src/platform/plugins/private/maps_ems/server/plugin.ts diff --git a/src/plugins/maps_ems/tsconfig.json b/src/platform/plugins/private/maps_ems/tsconfig.json similarity index 88% rename from src/plugins/maps_ems/tsconfig.json rename to src/platform/plugins/private/maps_ems/tsconfig.json index 95c001e37d28d..8fe46eb8a885f 100644 --- a/src/plugins/maps_ems/tsconfig.json +++ b/src/platform/plugins/private/maps_ems/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/tsconfig.base.json b/tsconfig.base.json index 2278a2490034f..a2fa9ea1862a3 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1220,8 +1220,8 @@ "@kbn/mapbox-gl/*": ["src/platform/packages/private/kbn-mapbox-gl/*"], "@kbn/maps-custom-raster-source-plugin": ["x-pack/examples/third_party_maps_source_example"], "@kbn/maps-custom-raster-source-plugin/*": ["x-pack/examples/third_party_maps_source_example/*"], - "@kbn/maps-ems-plugin": ["src/plugins/maps_ems"], - "@kbn/maps-ems-plugin/*": ["src/plugins/maps_ems/*"], + "@kbn/maps-ems-plugin": ["src/platform/plugins/private/maps_ems"], + "@kbn/maps-ems-plugin/*": ["src/platform/plugins/private/maps_ems/*"], "@kbn/maps-plugin": ["x-pack/plugins/maps"], "@kbn/maps-plugin/*": ["x-pack/plugins/maps/*"], "@kbn/maps-vector-tile-utils": ["x-pack/packages/maps/vector_tile_utils"], diff --git a/yarn.lock b/yarn.lock index f7b75e1a6f8b1..680050a23e146 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6257,7 +6257,7 @@ version "0.0.0" uid "" -"@kbn/maps-ems-plugin@link:src/plugins/maps_ems": +"@kbn/maps-ems-plugin@link:src/platform/plugins/private/maps_ems": version "0.0.0" uid "" From cd309cd88883872421e018d8b83ff4873f543158 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:32:17 +0100 Subject: [PATCH 20/29] Relocating module `@kbn/maps-plugin` --- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- legacy_rfcs/text/0018_timeslider.md | 2 +- package.json | 2 +- src/dev/precommit_hook/casing_check_config.js | 2 +- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../plugins/shared}/maps/README.md | 2 +- .../plugins/shared}/maps/common/constants.ts | 0 .../maps/common/content_management/constants.ts | 0 .../shared}/maps/common/content_management/index.ts | 0 .../maps/common/content_management/latest.ts | 0 .../shared}/maps/common/content_management/types.ts | 0 .../maps/common/content_management/v1/index.ts | 0 .../maps/common/content_management/v1/types.ts | 0 .../data_request_descriptor_types.ts | 0 .../shared}/maps/common/descriptor_types/index.ts | 0 .../descriptor_types/layer_descriptor_types.ts | 0 .../maps/common/descriptor_types/map_descriptor.ts | 0 .../descriptor_types/source_descriptor_types.ts | 0 .../style_property_descriptor_types.ts | 0 .../elasticsearch_geo_utils.test.js | 0 .../elasticsearch_util/elasticsearch_geo_utils.ts | 0 .../common/elasticsearch_util/es_agg_utils.test.ts | 0 .../maps/common/elasticsearch_util/es_agg_utils.ts | 0 .../shared}/maps/common/elasticsearch_util/index.ts | 0 .../elasticsearch_util/spatial_filter_utils.test.ts | 0 .../elasticsearch_util/spatial_filter_utils.ts | 0 .../common/elasticsearch_util/total_hits.test.ts | 0 .../maps/common/elasticsearch_util/total_hits.ts | 0 .../shared}/maps/common/embeddable/extract.test.ts | 0 .../shared}/maps/common/embeddable/extract.ts | 0 .../plugins/shared}/maps/common/embeddable/index.ts | 0 .../shared}/maps/common/embeddable/inject.test.ts | 0 .../shared}/maps/common/embeddable/inject.ts | 0 .../plugins/shared}/maps/common/embeddable/types.ts | 0 .../plugins/shared}/maps/common/get_agg_key.ts | 0 .../plugins/shared}/maps/common/i18n_getters.ts | 0 .../plugins/shared}/maps/common/index.ts | 0 .../common/migrations/add_field_meta_options.js | 0 .../migrations/add_field_meta_options.test.js | 0 .../common/migrations/add_type_to_termjoin.test.ts | 0 .../maps/common/migrations/add_type_to_termjoin.ts | 0 .../ems_raster_tile_to_ems_vector_tile.js | 0 .../ems_raster_tile_to_ems_vector_tile.test.js | 0 .../maps/common/migrations/join_agg_key.test.ts | 0 .../shared}/maps/common/migrations/join_agg_key.ts | 0 .../migrations/migrate_data_persisted_state.test.ts | 0 .../migrations/migrate_data_persisted_state.ts | 0 .../migrate_data_view_persisted_state.test.ts | 0 .../migrations/migrate_data_view_persisted_state.ts | 0 .../migrations/migrate_other_category_color.test.ts | 0 .../migrations/migrate_other_category_color.ts | 0 .../migrations/migrate_symbol_style_descriptor.js | 0 .../migrate_symbol_style_descriptor.test.js | 0 .../common/migrations/move_apply_global_query.js | 0 .../migrations/move_apply_global_query.test.js | 0 .../maps/common/migrations/move_attribution.test.ts | 0 .../maps/common/migrations/move_attribution.ts | 0 .../maps/common/migrations/references.test.ts | 0 .../shared}/maps/common/migrations/references.ts | 0 .../maps/common/migrations/remove_bounds.test.ts | 0 .../shared}/maps/common/migrations/remove_bounds.ts | 0 .../common/migrations/rename_layer_types.test.ts | 0 .../maps/common/migrations/rename_layer_types.ts | 0 .../maps/common/migrations/scaling_type.test.ts | 0 .../shared}/maps/common/migrations/scaling_type.ts | 0 .../set_default_auto_fit_to_bounds.test.tsx | 0 .../migrations/set_default_auto_fit_to_bounds.ts | 0 .../migrations/set_ems_tms_default_modes.test.ts | 0 .../common/migrations/set_ems_tms_default_modes.ts | 0 .../maps/common/migrations/top_hits_time_to_sort.js | 0 .../common/migrations/top_hits_time_to_sort.test.js | 0 .../shared}/maps/common/mvt_request_body.test.ts | 0 .../plugins/shared}/maps/common/mvt_request_body.ts | 0 .../shared}/maps/common/parse_xml_string.test.ts | 0 .../plugins/shared}/maps/common/parse_xml_string.ts | 0 .../plugins/shared}/maps/common/telemetry/index.ts | 0 .../common/telemetry/layer_stats_collector.test.ts | 0 .../maps/common/telemetry/layer_stats_collector.ts | 0 .../common/telemetry/map_settings_collector.test.ts | 0 .../maps/common/telemetry/map_settings_collector.ts | 0 .../test_resources/sample_map_saved_objects.json | 0 .../plugins/shared}/maps/common/telemetry/types.ts | 0 .../plugins/shared}/maps/common/types.ts | 0 .../plugins/shared}/maps/jest.config.js | 8 ++++---- .../plugins/shared}/maps/kibana.jsonc | 0 .../plugins/shared}/maps/public/_animations.scss | 0 .../plugins/shared}/maps/public/_index.scss | 0 .../plugins/shared}/maps/public/_main.scss | 2 +- .../plugins/shared}/maps/public/_mapbox_hacks.scss | 0 .../plugins/shared}/maps/public/_mixins.scss | 0 .../maps/public/actions/data_request_actions.ts | 0 .../maps/public/actions/get_layers_extent.tsx | 0 .../plugins/shared}/maps/public/actions/index.ts | 0 .../maps/public/actions/layer_actions.test.ts | 0 .../shared}/maps/public/actions/layer_actions.ts | 0 .../maps/public/actions/map_action_constants.ts | 0 .../shared}/maps/public/actions/map_actions.test.ts | 0 .../shared}/maps/public/actions/map_actions.ts | 0 .../maps/public/actions/tooltip_actions.test.ts | 0 .../shared}/maps/public/actions/tooltip_actions.ts | 0 .../shared}/maps/public/actions/ui_actions.ts | 0 .../maps/public/api/create_layer_descriptors.ts | 0 .../plugins/shared}/maps/public/api/ems.ts | 0 .../plugins/shared}/maps/public/api/index.ts | 0 .../plugins/shared}/maps/public/api/setup_api.ts | 0 .../plugins/shared}/maps/public/api/start_api.ts | 0 .../maps/public/assets/boundaries_screenshot.png | Bin .../shared}/maps/public/assets/gdal_logo.svg | 0 .../plugins/shared}/maps/public/classes/_index.scss | 0 .../public/classes/fields/agg/agg_field.test.ts | 0 .../maps/public/classes/fields/agg/agg_field.ts | 0 .../public/classes/fields/agg/agg_field_types.ts | 0 .../classes/fields/agg/count_agg_field.test.ts | 0 .../public/classes/fields/agg/count_agg_field.ts | 0 .../classes/fields/agg/es_agg_factory.test.ts | 0 .../public/classes/fields/agg/es_agg_factory.ts | 0 .../shared}/maps/public/classes/fields/agg/index.ts | 0 .../classes/fields/agg/percentile_agg_field.test.ts | 0 .../classes/fields/agg/percentile_agg_field.ts | 0 .../classes/fields/agg/top_term_percentage_field.ts | 0 .../maps/public/classes/fields/ems_file_field.ts | 0 .../maps/public/classes/fields/es_doc_field.ts | 0 .../shared}/maps/public/classes/fields/field.ts | 0 .../maps/public/classes/fields/inline_field.ts | 0 .../shared}/maps/public/classes/fields/mvt_field.ts | 0 .../maps/public/classes/joins/inner_join.test.ts | 0 .../shared}/maps/public/classes/joins/inner_join.ts | 0 .../maps/public/classes/joins/is_spatial_join.ts | 0 .../layers/__fixtures__/mock_sync_context.ts | 0 .../layers/__fixtures__/mock_vector_layer.ts | 0 .../shared}/maps/public/classes/layers/_index.scss | 0 .../shared}/maps/public/classes/layers/_layers.scss | 0 .../classes/layers/build_vector_request_meta.ts | 0 .../layers/create_basemap_layer_descriptor.test.ts | 0 .../layers/create_basemap_layer_descriptor.ts | 0 .../layers/create_region_map_layer_descriptor.ts | 0 .../layers/create_tile_map_layer_descriptor.test.ts | 0 .../layers/create_tile_map_layer_descriptor.ts | 0 .../ems_vector_tile_layer.test.ts | 0 .../ems_vector_tile_layer/ems_vector_tile_layer.tsx | 0 .../layers/ems_vector_tile_layer/image_utils.js | 0 .../classes/layers/heatmap_layer/heatmap_layer.ts | 0 .../public/classes/layers/heatmap_layer/index.ts | 0 .../shared}/maps/public/classes/layers/index.ts | 0 .../maps/public/classes/layers/invalid_layer.ts | 0 .../maps/public/classes/layers/layer.test.ts | 0 .../shared}/maps/public/classes/layers/layer.tsx | 0 .../maps/public/classes/layers/layer_group/index.ts | 0 .../classes/layers/layer_group/layer_group.test.ts | 0 .../classes/layers/layer_group/layer_group.tsx | 0 .../raster_tile_layer/raster_tile_layer.test.tsx | 0 .../layers/raster_tile_layer/raster_tile_layer.ts | 0 .../maps/public/classes/layers/tile_errors_list.tsx | 0 .../blended_vector_layer.test.tsx | 0 .../blended_vector_layer/blended_vector_layer.ts | 0 .../vector_layer/blended_vector_layer/index.ts | 0 .../classes/layers/vector_layer/bounds_data.ts | 0 .../geojson_vector_layer/assign_feature_ids.test.ts | 0 .../geojson_vector_layer/assign_feature_ids.ts | 0 .../geojson_vector_layer/geojson_source_data.tsx | 0 .../geojson_vector_layer.test.ts | 0 .../geojson_vector_layer/geojson_vector_layer.tsx | 0 .../get_centroid_features.test.ts | 0 .../geojson_vector_layer/get_centroid_features.ts | 0 .../vector_layer/geojson_vector_layer/index.ts | 0 .../perform_inner_joins.test.ts | 0 .../geojson_vector_layer/perform_inner_joins.ts | 0 .../pluck_style_meta_from_features.test.ts | 0 .../pluck_style_meta_from_features.ts | 0 .../public/classes/layers/vector_layer/index.ts | 0 .../maps/public/classes/layers/vector_layer/mask.ts | 0 .../__snapshots__/mvt_vector_layer.test.tsx.snap | 0 .../layers/vector_layer/mvt_vector_layer/index.ts | 0 .../mvt_vector_layer/mvt_source_data.test.ts | 0 .../mvt_vector_layer/mvt_source_data.ts | 0 .../mvt_vector_layer/mvt_vector_layer.test.tsx | 0 .../mvt_vector_layer/mvt_vector_layer.tsx | 0 .../mvt_vector_layer/pluck_style_meta.test.ts | 0 .../mvt_vector_layer/pluck_style_meta.ts | 0 .../public/classes/layers/vector_layer/types.ts | 0 .../layers/vector_layer/vector_layer.test.tsx | 0 .../classes/layers/vector_layer/vector_layer.tsx | 0 .../__snapshots__/layer_template.test.tsx.snap | 0 .../choropleth_layer_wizard.tsx | 0 .../create_choropleth_layer_descriptor.ts | 0 .../layers/wizards/choropleth_layer_wizard/index.ts | 0 .../choropleth_layer_wizard/layer_template.test.tsx | 0 .../choropleth_layer_wizard/layer_template.tsx | 0 .../layers/wizards/file_upload_wizard/config.tsx | 0 .../layers/wizards/file_upload_wizard/index.ts | 0 .../layers/wizards/file_upload_wizard/wizard.tsx | 0 .../layers/wizards/icons/cloropleth_layer_icon.tsx | 0 .../layers/wizards/icons/clusters_layer_icon.tsx | 0 .../layers/wizards/icons/documents_layer_icon.tsx | 0 .../layers/wizards/icons/draw_layer_icon.tsx | 0 .../wizards/icons/ems_boundaries_layer_icon.tsx | 0 .../layers/wizards/icons/heatmap_layer_icon.tsx | 0 .../wizards/icons/point_2_point_layer_icon.tsx | 0 .../wizards/icons/spatial_join_layer_icon.tsx | 0 .../layers/wizards/icons/top_hits_layer_icon.tsx | 0 .../layers/wizards/icons/tracks_layer_icon.tsx | 0 .../layers/wizards/icons/vector_tile_layer_icon.tsx | 0 .../wizards/icons/web_map_service_layer_icon.tsx | 0 .../layers/wizards/icons/world_map_layer_icon.tsx | 0 .../maps/public/classes/layers/wizards/index.ts | 0 .../layers/wizards/layer_group_wizard/config.tsx | 0 .../layers/wizards/layer_group_wizard/index.ts | 0 .../layers/wizards/layer_group_wizard/wizard.tsx | 0 .../layers/wizards/layer_wizard_registry.test.tsx | 0 .../classes/layers/wizards/layer_wizard_registry.ts | 0 .../classes/layers/wizards/load_layer_wizards.ts | 0 .../wizards/new_vector_layer_wizard/config.tsx | 0 .../create_new_index_pattern.ts | 0 .../layers/wizards/new_vector_layer_wizard/index.ts | 0 .../wizards/new_vector_layer_wizard/wizard.tsx | 0 .../observability/create_layer_descriptor.test.ts | 0 .../observability/create_layer_descriptor.ts | 0 .../observability/display_select.tsx | 0 .../wizards/solution_layers/observability/index.ts | 0 .../solution_layers/observability/layer_select.tsx | 0 .../solution_layers/observability/metric_select.tsx | 0 .../observability/observability_layer_template.tsx | 0 .../observability/observability_layer_wizard.tsx | 0 .../security/create_layer_descriptors.test.ts | 0 .../security/create_layer_descriptors.ts | 0 .../wizards/solution_layers/security/index.ts | 0 .../security/index_pattern_select.tsx | 0 .../security/security_index_pattern_utils.test.ts | 0 .../security/security_index_pattern_utils.ts | 0 .../security/security_layer_template.tsx | 0 .../security/security_layer_wizard.tsx | 0 .../layers/wizards/spatial_join_wizard/index.ts | 0 .../spatial_join_wizard_config.tsx | 0 .../create_spatial_join_layer_descriptor.ts | 0 .../wizard_form/distance_form.tsx | 0 .../spatial_join_wizard/wizard_form/index.ts | 0 .../wizard_form/left_source_panel.tsx | 0 .../wizard_form/relationship_expression.tsx | 0 .../wizard_form/right_source_panel.tsx | 0 .../spatial_join_wizard/wizard_form/wizard_form.tsx | 0 .../classes/sources/create_source_instance.ts | 0 .../ems_file_source/create_source_editor.tsx | 0 .../ems_file_source/ems_boundaries_layer_wizard.tsx | 0 .../ems_file_source/ems_file_source.test.tsx | 0 .../sources/ems_file_source/ems_file_source.tsx | 0 .../public/classes/sources/ems_file_source/index.ts | 0 .../ems_file_source/update_source_editor.tsx | 0 .../sources/ems_tms_source/create_source_editor.tsx | 0 .../ems_tms_source/ems_base_map_layer_wizard.tsx | 0 .../sources/ems_tms_source/ems_tms_source.tsx | 0 .../public/classes/sources/ems_tms_source/index.ts | 0 .../sources/ems_tms_source/tile_service_select.tsx | 0 .../sources/ems_tms_source/update_source_editor.tsx | 0 .../sources/es_agg_source/es_agg_source.test.ts | 0 .../classes/sources/es_agg_source/es_agg_source.ts | 0 .../sources/es_agg_source/get_agg_display_name.ts | 0 .../public/classes/sources/es_agg_source/index.ts | 0 .../public/classes/sources/es_agg_source/types.ts | 0 .../__snapshots__/resolution_editor.test.tsx.snap | 0 .../update_source_editor.test.tsx.snap | 0 .../es_geo_grid_source/clusters_layer_wizard.tsx | 0 .../es_geo_grid_source/convert_to_geojson.d.ts | 0 .../es_geo_grid_source/convert_to_geojson.js | 0 .../es_geo_grid_source/convert_to_geojson.test.ts | 0 .../es_geo_grid_source/create_source_editor.js | 0 .../es_geo_grid_source/es_geo_grid_source.test.ts | 0 .../es_geo_grid_source/es_geo_grid_source.tsx | 0 .../sources/es_geo_grid_source/get_icon_size.ts | 0 .../es_geo_grid_source/heatmap_layer_wizard.tsx | 0 .../classes/sources/es_geo_grid_source/index.ts | 0 .../classes/sources/es_geo_grid_source/is_mvt.ts | 0 .../render_as_select/i18n_constants.ts | 0 .../es_geo_grid_source/render_as_select/index.ts | 0 .../render_as_select/render_as_select.tsx | 0 .../render_as_select/show_as_label.tsx | 0 .../es_geo_grid_source/resolution_editor.test.tsx | 0 .../es_geo_grid_source/resolution_editor.tsx | 0 .../update_source_editor.test.tsx | 0 .../es_geo_grid_source/update_source_editor.tsx | 0 .../classes/sources/es_geo_line_source/constants.ts | 0 .../es_geo_line_source/convert_to_geojson.test.ts | 0 .../es_geo_line_source/convert_to_geojson.ts | 0 .../es_geo_line_source/create_source_editor.tsx | 0 .../es_geo_line_source/es_geo_line_source.test.ts | 0 .../es_geo_line_source/es_geo_line_source.tsx | 0 .../geo_line_form/geo_line_form.tsx | 0 .../geo_line_form/group_by_button_group.tsx | 0 .../geo_line_form/group_by_label.tsx | 0 .../geo_line_form/i18n_constants.ts | 0 .../es_geo_line_source/geo_line_form/index.ts | 0 .../geo_line_form/size_slider.tsx | 0 .../classes/sources/es_geo_line_source/index.ts | 0 .../sources/es_geo_line_source/layer_wizard.tsx | 0 .../es_geo_line_source/update_source_editor.tsx | 0 .../es_pew_pew_source/convert_to_lines.test.ts | 0 .../sources/es_pew_pew_source/convert_to_lines.ts | 0 .../es_pew_pew_source/create_source_editor.js | 0 .../sources/es_pew_pew_source/es_pew_pew_source.tsx | 0 .../classes/sources/es_pew_pew_source/index.ts | 0 .../point_2_point_layer_wizard.tsx | 0 .../es_pew_pew_source/update_source_editor.tsx | 0 .../__snapshots__/update_source_editor.test.js.snap | 0 .../classes/sources/es_search_source/constants.ts | 0 .../create_layer_descriptor.test.ts | 0 .../es_search_source/create_layer_descriptor.ts | 0 .../es_search_source/create_source_editor.tsx | 0 .../es_search_source/es_documents_layer_wizard.tsx | 0 .../es_search_source/es_search_source.test.ts | 0 .../sources/es_search_source/es_search_source.tsx | 0 .../classes/sources/es_search_source/index.ts | 0 .../top_hits/create_source_editor.tsx | 0 .../sources/es_search_source/top_hits/index.ts | 0 .../es_search_source/top_hits/top_hits_form.tsx | 0 .../top_hits/update_source_editor.tsx | 0 .../sources/es_search_source/top_hits/wizard.tsx | 0 .../es_search_source/update_source_editor.test.js | 0 .../es_search_source/update_source_editor.tsx | 0 .../util/__snapshots__/scaling_form.test.tsx.snap | 0 .../sources/es_search_source/util/feature_edit.ts | 0 .../util/get_docvalue_source_fields.test.ts | 0 .../util/get_docvalue_source_fields.ts | 0 .../es_search_source/util/load_index_settings.ts | 0 .../util/scaling_documenation_popover.tsx | 0 .../es_search_source/util/scaling_form.test.tsx | 0 .../sources/es_search_source/util/scaling_form.tsx | 0 .../public/classes/sources/es_source/es_source.ts | 0 .../maps/public/classes/sources/es_source/index.ts | 0 .../maps/public/classes/sources/es_source/types.ts | 0 .../sources/esql_source/convert_to_geojson.test.ts | 0 .../sources/esql_source/convert_to_geojson.ts | 0 .../esql_source/create_source_editor.test.tsx | 0 .../sources/esql_source/create_source_editor.tsx | 0 .../classes/sources/esql_source/esql_editor.tsx | 0 .../sources/esql_source/esql_layer_wizard.tsx | 0 .../classes/sources/esql_source/esql_source.test.ts | 0 .../classes/sources/esql_source/esql_source.tsx | 0 .../classes/sources/esql_source/esql_utils.test.ts | 0 .../classes/sources/esql_source/esql_utils.ts | 0 .../public/classes/sources/esql_source/index.ts | 0 .../classes/sources/esql_source/narrow_by_field.tsx | 0 .../esql_source/update_source_editor.test.tsx | 0 .../sources/esql_source/update_source_editor.tsx | 0 .../classes/sources/execution_context_utils.test.ts | 0 .../classes/sources/execution_context_utils.ts | 0 .../geojson_file_source/geojson_file.test.ts | 0 .../geojson_file_source/geojson_file_source.ts | 0 .../classes/sources/geojson_file_source/index.ts | 0 .../es_distance_source/es_distance_source.ts | 0 .../join_sources/es_distance_source/index.ts | 0 .../process_distance_response.test.ts | 0 .../es_distance_source/process_distance_response.ts | 0 .../es_term_source/es_term_source.test.ts | 0 .../join_sources/es_term_source/es_term_source.ts | 0 .../sources/join_sources/es_term_source/index.ts | 0 .../es_term_source/is_term_source_complete.ts | 0 .../classes/sources/join_sources/i18n_utils.ts | 0 .../public/classes/sources/join_sources/index.ts | 0 .../join_sources/is_spatial_source_complete.ts | 0 .../sources/join_sources/table_source/index.ts | 0 .../join_sources/table_source/table_source.test.ts | 0 .../join_sources/table_source/table_source.ts | 0 .../public/classes/sources/join_sources/types.ts | 0 .../kibana_tilemap_source/create_source_editor.js | 0 .../extract_attributions.test.ts | 0 .../kibana_tilemap_source/extract_attributions.ts | 0 .../classes/sources/kibana_tilemap_source/index.js | 0 .../kibana_base_map_layer_wizard.tsx | 0 .../kibana_tilemap_source/kibana_tilemap_source.js | 0 .../mvt_field_config_editor.test.tsx.snap | 0 .../mvt_single_layer_source_settings.test.tsx.snap | 0 ..._single_layer_vector_source_editor.test.tsx.snap | 0 .../update_source_editor.test.tsx.snap | 0 .../sources/mvt_single_layer_vector_source/index.ts | 0 .../mvt_single_layer_vector_source/layer_wizard.tsx | 0 .../mvt_field_config_editor.test.tsx | 0 .../mvt_field_config_editor.tsx | 0 .../mvt_single_layer_source_settings.test.tsx | 0 .../mvt_single_layer_source_settings.tsx | 0 .../mvt_single_layer_vector_source.test.tsx | 0 .../mvt_single_layer_vector_source.tsx | 0 .../mvt_single_layer_vector_source_editor.test.tsx | 0 .../mvt_single_layer_vector_source_editor.tsx | 0 .../update_source_editor.test.tsx | 0 .../update_source_editor.tsx | 0 .../public/classes/sources/raster_source/index.ts | 0 .../public/classes/sources/setup_sources.test.ts | 0 .../maps/public/classes/sources/setup_sources.ts | 0 .../shared}/maps/public/classes/sources/source.ts | 0 .../maps/public/classes/sources/source_registry.ts | 0 .../maps/public/classes/sources/tms_source/index.ts | 0 .../public/classes/sources/vector_source/index.ts | 0 .../sources/vector_source/mvt_vector_source.ts | 0 .../classes/sources/vector_source/vector_source.tsx | 0 .../maps/public/classes/sources/wms_source/index.js | 0 .../public/classes/sources/wms_source/wms_client.js | 0 .../classes/sources/wms_source/wms_client.test.js | 0 .../sources/wms_source/wms_create_source_editor.js | 0 .../classes/sources/wms_source/wms_layer_wizard.tsx | 0 .../classes/sources/wms_source/wms_source.tsx | 0 .../__snapshots__/xyz_tms_editor.test.tsx.snap | 0 .../public/classes/sources/xyz_tms_source/index.ts | 0 .../classes/sources/xyz_tms_source/layer_wizard.tsx | 0 .../sources/xyz_tms_source/xyz_tms_editor.test.tsx | 0 .../sources/xyz_tms_source/xyz_tms_editor.tsx | 0 .../sources/xyz_tms_source/xyz_tms_source.test.ts | 0 .../sources/xyz_tms_source/xyz_tms_source.tsx | 0 .../shared}/maps/public/classes/styles/_index.scss | 0 .../public/classes/styles/color_palettes.test.ts | 0 .../maps/public/classes/styles/color_palettes.ts | 0 .../styles/components/ranged_style_legend_row.tsx | 0 .../ems_vector_tile_style_editor.test.tsx.snap | 0 .../ems_vector_tile_style_editor.test.tsx | 0 .../ems/components/ems_vector_tile_style_editor.tsx | 0 .../classes/styles/ems/ems_vector_tile_style.tsx | 0 .../heatmap_style_editor.test.tsx.snap | 0 .../styles/heatmap/components/heatmap_constants.ts | 0 .../components/heatmap_style_editor.test.tsx | 0 .../heatmap/components/heatmap_style_editor.tsx | 0 .../heatmap/components/legend/_color_gradient.scss | 0 .../heatmap/components/legend/color_gradient.tsx | 0 .../heatmap/components/legend/heatmap_legend.tsx | 0 .../public/classes/styles/heatmap/heatmap_style.tsx | 0 .../shared}/maps/public/classes/styles/style.ts | 0 .../maps/public/classes/styles/tile/tile_style.ts | 0 .../vector/__snapshots__/symbol_utils.test.ts.snap | 0 .../__snapshots__/vector_style_editor.test.tsx.snap | 0 .../vector/components/_style_prop_editor.scss | 0 .../vector/components/color/_color_stops.scss | 0 .../vector/components/color/color_map_select.js | 0 .../styles/vector/components/color/color_stops.js | 0 .../components/color/color_stops_categorical.js | 0 .../vector/components/color/color_stops_ordinal.js | 0 .../vector/components/color/color_stops_utils.js | 0 .../vector/components/color/dynamic_color_form.tsx | 0 .../components/color/mb_validated_color_picker.tsx | 0 .../color/other_category_color_picker.tsx | 0 .../vector/components/color/static_color_form.tsx | 0 .../components/color/vector_style_color_editor.tsx | 0 .../categorical_data_mapping_popover.tsx | 0 .../data_mapping/data_mapping_popover.tsx | 0 .../styles/vector/components/data_mapping/index.ts | 0 .../data_mapping/ordinal_data_mapping_popover.tsx | 0 .../components/data_mapping/percentiles_form.tsx | 0 .../styles/vector/components/field_select.tsx | 0 .../vector/components/get_vector_style_label.ts | 0 .../label_position_editor.test.tsx.snap | 0 .../vector/components/label/dynamic_label_form.tsx | 0 .../components/label/label_position_editor.test.tsx | 0 .../components/label/label_position_editor.tsx | 0 .../components/label/label_zoom_range_editor.tsx | 0 .../vector/components/label/static_label_form.tsx | 0 .../label/vector_style_label_border_size_editor.js | 0 .../components/label/vector_style_label_editor.tsx | 0 .../legend/__snapshots__/vector_icon.test.tsx.snap | 0 .../styles/vector/components/legend/_category.scss | 0 .../vector/components/legend/_vector_legend.scss | 0 .../vector/components/legend/breaked_legend.tsx | 0 .../styles/vector/components/legend/category.tsx | 0 .../styles/vector/components/legend/circle_icon.tsx | 0 .../extract_color_from_style_property.test.ts | 0 .../legend/extract_color_from_style_property.ts | 0 .../styles/vector/components/legend/line_icon.tsx | 0 .../styles/vector/components/legend/mask_legend.tsx | 0 .../vector/components/legend/polygon_icon.tsx | 0 .../vector/components/legend/right_aligned_text.tsx | 0 .../__snapshots__/marker_size_legend.test.tsx.snap | 0 .../size/__snapshots__/ordinal_legend.test.tsx.snap | 0 .../components/legend/size/get_ordinal_label.ts | 0 .../styles/vector/components/legend/size/index.ts | 0 .../vector/components/legend/size/marker_list.ts | 0 .../legend/size/marker_size_legend.test.tsx | 0 .../components/legend/size/marker_size_legend.tsx | 0 .../components/legend/size/ordinal_legend.test.tsx | 0 .../components/legend/size/ordinal_legend.tsx | 0 .../styles/vector/components/legend/style_error.tsx | 0 .../styles/vector/components/legend/symbol_icon.tsx | 0 .../vector/components/legend/vector_icon.test.tsx | 0 .../styles/vector/components/legend/vector_icon.tsx | 0 .../components/legend/vector_style_legend.tsx | 0 .../orientation/dynamic_orientation_form.js | 0 .../components/orientation/orientation_editor.js | 0 .../orientation/static_orientation_form.js | 0 .../styles/vector/components/row_action_buttons.tsx | 0 .../vector/components/size/dynamic_size_form.tsx | 0 .../vector/components/size/size_range_selector.tsx | 0 .../vector/components/size/static_size_form.tsx | 0 .../components/size/vector_style_size_editor.tsx | 0 .../classes/styles/vector/components/stop_input.tsx | 0 .../styles/vector/components/style_option_shapes.js | 0 .../styles/vector/components/style_prop_editor.tsx | 0 .../__snapshots__/custom_icon_modal.test.tsx.snap | 0 .../__snapshots__/icon_map_select.test.tsx.snap | 0 .../symbol/__snapshots__/icon_select.test.js.snap | 0 .../components/symbol/_custom_icon_modal.scss | 0 .../vector/components/symbol/_icon_preview.scss | 0 .../vector/components/symbol/_icon_select.scss | 0 .../components/symbol/custom_icon_modal.test.tsx | 0 .../vector/components/symbol/custom_icon_modal.tsx | 0 .../vector/components/symbol/dynamic_icon_form.tsx | 0 .../components/symbol/icon_map_select.test.tsx | 0 .../vector/components/symbol/icon_map_select.tsx | 0 .../vector/components/symbol/icon_preview.tsx | 0 .../styles/vector/components/symbol/icon_select.js | 0 .../vector/components/symbol/icon_select.test.js | 0 .../styles/vector/components/symbol/icon_stops.js | 0 .../vector/components/symbol/icon_stops.test.js | 0 .../vector/components/symbol/static_icon_form.tsx | 0 .../components/symbol/vector_style_icon_editor.tsx | 0 .../symbol/vector_style_symbolize_as_editor.js | 0 .../vector/components/vector_style_editor.test.tsx | 0 .../vector/components/vector_style_editor.tsx | 0 .../maps/public/classes/styles/vector/maki_icons.ts | 0 .../dynamic_color_property.test.tsx.snap | 0 .../dynamic_icon_property.test.tsx.snap | 0 .../properties/dynamic_color_property.test.tsx | 0 .../vector/properties/dynamic_color_property.tsx | 0 .../properties/dynamic_icon_property.test.tsx | 0 .../vector/properties/dynamic_icon_property.tsx | 0 .../properties/dynamic_orientation_property.ts | 0 .../dynamic_size_property.test.tsx.snap | 0 .../dynamic_size_property.test.tsx | 0 .../dynamic_size_property/dynamic_size_property.tsx | 0 .../dynamic_size_property/icon_size.test.ts | 0 .../properties/dynamic_size_property/index.ts | 0 .../dynamic_size_property/line_width.test.ts | 0 .../properties/dynamic_style_property.test.ts | 0 .../vector/properties/dynamic_style_property.tsx | 0 .../properties/dynamic_text_property.test.tsx | 0 .../vector/properties/dynamic_text_property.ts | 0 .../vector/properties/label_border_size_property.ts | 0 .../properties/label_position_property.test.ts | 0 .../vector/properties/label_position_property.ts | 0 .../vector/properties/label_zoom_range_property.tsx | 0 .../vector/properties/static_color_property.ts | 0 .../vector/properties/static_icon_property.ts | 0 .../properties/static_orientation_property.ts | 0 .../vector/properties/static_size_property.ts | 0 .../vector/properties/static_style_property.ts | 0 .../vector/properties/static_text_property.test.ts | 0 .../vector/properties/static_text_property.ts | 0 .../styles/vector/properties/style_property.ts | 0 .../vector/properties/symbolize_as_property.ts | 0 .../vector/properties/test_helpers/test_util.ts | 0 .../styles/vector/style_fields_helper.test.ts | 0 .../classes/styles/vector/style_fields_helper.ts | 0 .../maps/public/classes/styles/vector/style_meta.ts | 0 .../public/classes/styles/vector/style_util.test.ts | 0 .../maps/public/classes/styles/vector/style_util.ts | 0 .../classes/styles/vector/symbol_utils.test.ts | 0 .../public/classes/styles/vector/symbol_utils.tsx | 0 .../classes/styles/vector/vector_style.test.js | 0 .../public/classes/styles/vector/vector_style.tsx | 0 .../styles/vector/vector_style_defaults.test.ts | 0 .../classes/styles/vector/vector_style_defaults.ts | 0 .../classes/tooltips/es_agg_tooltip_property.ts | 0 .../classes/tooltips/es_tooltip_property.test.ts | 0 .../public/classes/tooltips/es_tooltip_property.tsx | 0 .../tooltips/term_join_tooltip_property/index.ts | 0 .../term_join_key_label.tsx | 0 .../term_join_tooltip_property.tsx | 0 .../public/classes/tooltips/tooltip_property.ts | 0 .../maps/public/classes/util/can_skip_fetch.test.ts | 0 .../maps/public/classes/util/can_skip_fetch.ts | 0 .../maps/public/classes/util/data_request.tsx | 0 .../maps/public/classes/util/geo_tile_utils.test.ts | 0 .../maps/public/classes/util/geo_tile_utils.ts | 0 .../util/get_feature_collection_bounds.test.tsx | 0 .../classes/util/get_feature_collection_bounds.ts | 0 .../maps/public/classes/util/is_metric_countable.ts | 0 .../maps/public/classes/util/maplibre_utils.ts | 0 .../public/classes/util/mb_filter_expressions.ts | 0 .../maps/public/classes/util/ordinal_suffix.ts | 0 .../classes/util/tile_meta_feature_utils.test.ts | 0 .../public/classes/util/tile_meta_feature_utils.ts | 0 .../maps/public/classes/util/valid_string_config.ts | 0 .../geo_index_pattern_select.test.tsx.snap | 0 .../validated_number_input.test.tsx.snap | 0 .../__snapshots__/validated_range.test.js.snap | 0 .../maps/public/components/_action_select.scss | 0 .../shared}/maps/public/components/_index.scss | 0 .../maps/public/components/action_select.tsx | 0 .../shared}/maps/public/components/alpha_slider.tsx | 0 .../components/draw_forms/distance_filter_form.tsx | 0 .../__snapshots__/geometry_filter_form.test.js.snap | 0 .../geometry_filter_form/_geometry_filter.scss | 0 .../geometry_filter_form.test.js | 0 .../geometry_filter_form/geometry_filter_form.tsx | 0 .../maps/public/components/ems_file_select.tsx | 0 .../public/components/ems_unavailable_message.tsx | 0 .../public/components/force_refresh_checkbox.tsx | 0 .../maps/public/components/geo_field_select.tsx | 0 .../components/geo_index_pattern_select.test.tsx | 0 .../public/components/geo_index_pattern_select.tsx | 0 .../public/components/global_filter_checkbox.tsx | 0 .../maps/public/components/global_time_checkbox.tsx | 0 .../__snapshots__/metrics_editor.test.tsx.snap | 0 .../components/metrics_editor/_metric_editors.scss | 0 .../maps/public/components/metrics_editor/index.ts | 0 .../metrics_editor/mask_expression/index.ts | 0 .../metrics_editor/mask_expression/mask_editor.tsx | 0 .../mask_expression/mask_expression.tsx | 0 .../components/metrics_editor/metric_editor.tsx | 0 .../components/metrics_editor/metric_select.tsx | 0 .../metrics_editor/metrics_editor.test.tsx | 0 .../components/metrics_editor/metrics_editor.tsx | 0 .../components/remove_layer_confirm_modal.tsx | 0 .../maps/public/components/single_field_select.tsx | 0 .../add_tooltip_field_popover.test.tsx.snap | 0 .../__snapshots__/tooltip_selector.test.tsx.snap | 0 .../tooltip_selector/_tooltip_selector.scss | 0 .../add_tooltip_field_popover.test.tsx | 0 .../tooltip_selector/add_tooltip_field_popover.tsx | 0 .../public/components/tooltip_selector/index.ts | 0 .../tooltip_selector/tooltip_selector.test.tsx | 0 .../tooltip_selector/tooltip_selector.tsx | 0 .../components/validated_number_input.test.tsx | 0 .../public/components/validated_number_input.tsx | 0 .../maps/public/components/validated_range.js | 0 .../maps/public/components/validated_range.test.js | 0 .../maps/public/connected_components/_index.scss | 0 .../__snapshots__/layer_wizard_select.test.tsx.snap | 0 .../add_layer_panel/flyout_body/flyout_body.tsx | 0 .../add_layer_panel/flyout_body/index.ts | 0 .../flyout_body/layer_wizard_select.scss | 0 .../flyout_body/layer_wizard_select.test.tsx | 0 .../flyout_body/layer_wizard_select.tsx | 0 .../connected_components/add_layer_panel/index.ts | 0 .../connected_components/add_layer_panel/view.tsx | 0 .../__snapshots__/edit_layer_panel.test.tsx.snap | 0 .../edit_layer_panel/_index.scss | 0 .../edit_layer_panel/_layer_panel.scss | 0 .../edit_layer_panel/edit_layer_panel.test.tsx | 0 .../edit_layer_panel/edit_layer_panel.tsx | 0 .../filter_editor/_filter_editor.scss | 0 .../filter_editor/filter_editor.tsx | 0 .../edit_layer_panel/filter_editor/index.ts | 0 .../flyout_footer/flyout_footer.tsx | 0 .../edit_layer_panel/flyout_footer/index.ts | 0 .../connected_components/edit_layer_panel/index.ts | 0 .../__snapshots__/join_editor.test.tsx.snap | 0 .../join_editor/add_join_button.tsx | 0 .../edit_layer_panel/join_editor/index.ts | 0 .../join_editor/join_editor.test.tsx | 0 .../edit_layer_panel/join_editor/join_editor.tsx | 0 .../__snapshots__/metrics_expression.test.tsx.snap | 0 .../join_editor/resources/_join.scss | 0 .../edit_layer_panel/join_editor/resources/join.tsx | 0 .../resources/join_documentation_popover.tsx | 0 .../resources/metrics_expression.test.tsx | 0 .../join_editor/resources/metrics_expression.tsx | 0 .../resources/spatial_join_expression/index.ts | 0 .../spatial_join_expression.tsx | 0 .../spatial_join_popover_content.tsx | 0 .../resources/term_join_expression/index.ts | 0 .../term_join_expression/term_join_expression.tsx | 0 .../term_join_popover_content.tsx | 0 .../join_editor/resources/where_expression.tsx | 0 .../attribution_form_row.test.tsx.snap | 0 .../layer_settings/_attribution_form_row.scss | 0 .../layer_settings/_attribution_popover.scss | 0 .../edit_layer_panel/layer_settings/_index.scss | 0 .../layer_settings/attribution_form_row.test.tsx | 0 .../layer_settings/attribution_form_row.tsx | 0 .../layer_settings/attribution_popover.tsx | 0 .../edit_layer_panel/layer_settings/index.tsx | 0 .../layer_settings/layer_settings.tsx | 0 .../edit_layer_panel/source_details/index.ts | 0 .../source_details/source_details.tsx | 0 .../style_settings/_style_settings.scss | 0 .../edit_layer_panel/style_settings/index.ts | 0 .../style_settings/style_settings.tsx | 0 .../public/connected_components/input_strings.ts | 0 .../map_container/_map_container.scss | 0 .../connected_components/map_container/index.ts | 0 .../map_container/map_container.tsx | 0 .../__snapshots__/custom_icons_panel.test.tsx.snap | 0 .../__snapshots__/navigation_panel.test.tsx.snap | 0 .../map_settings_panel/custom_icons_panel.test.tsx | 0 .../map_settings_panel/custom_icons_panel.tsx | 0 .../map_settings_panel/display_panel.tsx | 0 .../map_settings_panel/index.ts | 0 .../map_settings_panel/map_settings_panel.tsx | 0 .../map_settings_panel/navigation_panel.test.tsx | 0 .../map_settings_panel/navigation_panel.tsx | 0 .../map_settings_panel/spatial_filters_panel.tsx | 0 .../mb_map/draw_control/draw_circle.ts | 0 .../mb_map/draw_control/draw_control.tsx | 0 .../draw_feature_control/draw_feature_control.tsx | 0 .../draw_control/draw_feature_control/index.ts | 0 .../draw_filter_control/draw_filter_control.tsx | 0 .../draw_control/draw_filter_control/index.ts | 0 .../mb_map/draw_control/draw_tooltip.tsx | 0 .../connected_components/mb_map/get_initial_view.ts | 0 .../connected_components/mb_map/glyphs.test.ts | 0 .../public/connected_components/mb_map/glyphs.ts | 0 .../public/connected_components/mb_map/index.ts | 0 .../mb_map/keydown_scroll_zoom/_index.scss | 0 .../keydown_scroll_zoom/keydown_scroll_zoom.tsx | 0 .../public/connected_components/mb_map/mb_map.tsx | 0 .../mb_map/remove_orphaned.test.ts | 0 .../connected_components/mb_map/remove_orphaned.ts | 0 .../__snapshots__/scale_control.test.tsx.snap | 0 .../mb_map/scale_control/_index.scss | 0 .../mb_map/scale_control/index.ts | 0 .../mb_map/scale_control/scale_control.test.tsx | 0 .../mb_map/scale_control/scale_control.tsx | 0 .../connected_components/mb_map/sort_layers.test.ts | 0 .../connected_components/mb_map/sort_layers.ts | 0 .../mb_map/tile_status_tracker/index.ts | 0 .../mb_map/tile_status_tracker/tile_error_cache.ts | 0 .../tile_status_tracker.test.tsx | 0 .../tile_status_tracker/tile_status_tracker.tsx | 0 .../__snapshots__/tooltip_control.test.tsx.snap | 0 .../__snapshots__/tooltip_popover.test.tsx.snap | 0 .../__snapshots__/feature_properties.test.tsx.snap | 0 .../__snapshots__/footer.test.tsx.snap | 0 .../__snapshots__/header.test.tsx.snap | 0 .../tooltip_control/features_tooltip/_index.scss | 0 .../feature_geometry_filter_form.tsx | 0 .../features_tooltip/feature_properties.test.tsx | 0 .../features_tooltip/feature_properties.tsx | 0 .../features_tooltip/features_tooltip.tsx | 0 .../features_tooltip/footer.test.tsx | 0 .../tooltip_control/features_tooltip/footer.tsx | 0 .../features_tooltip/header.test.tsx | 0 .../tooltip_control/features_tooltip/header.tsx | 0 .../tooltip_control/features_tooltip/index.ts | 0 .../mb_map/tooltip_control/index.ts | 0 .../mb_map/tooltip_control/tooltip_control.test.tsx | 0 .../mb_map/tooltip_control/tooltip_control.tsx | 0 .../mb_map/tooltip_control/tooltip_popover.test.tsx | 0 .../mb_map/tooltip_control/tooltip_popover.tsx | 0 .../mb_map/transform_request.test.ts | 0 .../mb_map/transform_request.ts | 0 .../public/connected_components/panel_strings.ts | 0 .../right_side_controls/_index.scss | 0 .../right_side_controls/_mixins.scss | 0 .../right_side_controls/_right_side_controls.scss | 0 .../__snapshots__/attribution_control.test.tsx.snap | 0 .../attribution_control/_attribution_control.scss | 0 .../attribution_control.test.tsx | 0 .../attribution_control/attribution_control.tsx | 0 .../attribution_control/index.ts | 0 .../right_side_controls/index.ts | 0 .../__snapshots__/layer_control.test.tsx.snap | 0 .../right_side_controls/layer_control/_index.scss | 0 .../layer_control/_layer_control.scss | 0 .../layer_control/expand_button.tsx | 0 .../right_side_controls/layer_control/index.ts | 0 .../layer_control/layer_control.test.tsx | 0 .../layer_control/layer_control.tsx | 0 .../layer_toc/__snapshots__/layer_toc.test.tsx.snap | 0 .../layer_control/layer_toc/_layer_toc.scss | 0 .../layer_control/layer_toc/index.ts | 0 .../layer_control/layer_toc/layer_toc.test.tsx | 0 .../layer_control/layer_toc/layer_toc.tsx | 0 .../toc_entry/__snapshots__/toc_entry.test.tsx.snap | 0 .../layer_toc/toc_entry/_toc_entry.scss | 0 .../layer_toc/toc_entry/action_labels.ts | 0 .../layer_control/layer_toc/toc_entry/index.ts | 0 .../layer_toc/toc_entry/legend_details.test.tsx | 0 .../layer_toc/toc_entry/legend_details.tsx | 0 .../layer_toc/toc_entry/toc_entry.test.tsx | 0 .../layer_control/layer_toc/toc_entry/toc_entry.tsx | 0 .../toc_entry_actions_popover.test.tsx.snap | 0 .../toc_entry/toc_entry_actions_popover/index.ts | 0 .../toc_entry_actions_popover.test.tsx | 0 .../toc_entry_actions_popover.tsx | 0 .../layer_toc/toc_entry/toc_entry_button/index.ts | 0 .../toc_entry/toc_entry_button/toc_entry_button.tsx | 0 .../_mouse_coordinates_control.scss | 0 .../mouse_coordinates_control/index.ts | 0 .../mouse_coordinates_control.tsx | 0 .../right_side_controls/right_side_controls.tsx | 0 .../connected_components/timeslider/_index.scss | 0 .../public/connected_components/timeslider/index.ts | 0 .../connected_components/timeslider/timeslider.tsx | 0 .../__snapshots__/toolbar_overlay.test.tsx.snap | 0 .../toolbar_overlay/_index.scss | 0 .../toolbar_overlay/_toolbar_overlay.scss | 0 .../feature_draw_controls/_index.scss | 0 .../feature_edit_tools/feature_edit_tools.tsx | 0 .../feature_edit_tools/index.ts | 0 .../feature_edit_tools/vector_circle_icon.tsx | 0 .../feature_edit_tools/vector_line_icon.tsx | 0 .../feature_edit_tools/vector_square_icon.tsx | 0 .../toolbar_overlay/fit_to_data/fit_to_data.tsx | 0 .../toolbar_overlay/fit_to_data/index.ts | 0 .../connected_components/toolbar_overlay/index.ts | 0 .../set_view_control/decimal_degrees_form.tsx | 0 .../toolbar_overlay/set_view_control/index.ts | 0 .../toolbar_overlay/set_view_control/mgrs_form.tsx | 0 .../set_view_control/set_view_control.tsx | 0 .../set_view_control/set_view_form.tsx | 0 .../toolbar_overlay/set_view_control/utils.ts | 0 .../toolbar_overlay/set_view_control/utm_form.tsx | 0 .../timeslider_toggle_button/index.ts | 0 .../timeslider_toggle_button.tsx | 0 .../toolbar_overlay/toolbar_overlay.test.tsx | 0 .../toolbar_overlay/toolbar_overlay.tsx | 0 .../__snapshots__/tools_control.test.tsx.snap | 0 .../toolbar_overlay/tools_control/_index.scss | 0 .../toolbar_overlay/tools_control/index.ts | 0 .../tools_control/tools_control.test.tsx | 0 .../toolbar_overlay/tools_control/tools_control.tsx | 0 .../content_management/duplicate_title_check.ts | 0 .../shared}/maps/public/content_management/index.ts | 0 .../maps/public/content_management/maps_client.ts | 0 .../public/ems_autosuggest/ems_autosuggest.test.ts | 0 .../maps/public/ems_autosuggest/ems_autosuggest.ts | 0 .../shared}/maps/public/ems_autosuggest/index.ts | 0 .../shared}/maps/public/feature_catalogue_entry.ts | 0 .../plugins/shared}/maps/public/icon.svg | 0 .../plugins/shared}/maps/public/index.ts | 0 .../shared}/maps/public/index_pattern_util.test.ts | 0 .../shared}/maps/public/index_pattern_util.ts | 0 .../plugins/shared}/maps/public/inspector/index.ts | 0 .../maps/public/inspector/map_adapter/index.ts | 0 .../public/inspector/map_adapter/map_adapter.ts | 0 .../public/inspector/map_adapter/map_details.tsx | 0 .../inspector/map_adapter/map_inspector_view.tsx | 0 .../inspector/map_adapter/map_view_component.tsx | 0 .../maps/public/inspector/map_adapter/types.ts | 0 .../vector_tile_adapter/components/empty_prompt.tsx | 0 .../components/get_tile_request.test.ts | 0 .../components/get_tile_request.ts | 0 .../components/requests_view_callout.tsx | 0 .../components/tile_request_tab.tsx | 0 .../components/vector_tile_inspector.test.tsx | 0 .../components/vector_tile_inspector.tsx | 0 .../public/inspector/vector_tile_adapter/index.ts | 0 .../public/inspector/vector_tile_adapter/types.ts | 0 .../vector_tile_adapter/vector_tile_adapter.test.ts | 0 .../vector_tile_adapter/vector_tile_adapter.ts | 0 .../vector_tile_inspector_view.tsx | 0 .../plugins/shared}/maps/public/kibana_services.ts | 0 .../maps/public/legacy_visualizations/index.ts | 0 .../public/legacy_visualizations/is_legacy_map.ts | 0 .../legacy_visualizations/region_map/index.ts | 0 .../region_map/region_map_editor.tsx | 0 .../region_map/region_map_fn.ts | 0 .../region_map/region_map_renderer.tsx | 0 .../region_map/region_map_vis_type.tsx | 0 .../region_map/region_map_visualization.tsx | 0 .../legacy_visualizations/region_map/to_ast.ts | 0 .../legacy_visualizations/region_map/types.ts | 0 .../legacy_visualizations/region_map/utils.ts | 0 .../legacy_visualizations/tile_map/geo_hash.ts | 0 .../public/legacy_visualizations/tile_map/index.ts | 0 .../tile_map/tile_map_editor.tsx | 0 .../legacy_visualizations/tile_map/tile_map_fn.ts | 0 .../tile_map/tile_map_renderer.tsx | 0 .../tile_map/tile_map_vis_type.tsx | 0 .../tile_map/tile_map_visualization.tsx | 0 .../public/legacy_visualizations/tile_map/to_ast.ts | 0 .../public/legacy_visualizations/tile_map/types.ts | 0 .../public/legacy_visualizations/tile_map/utils.ts | 0 .../public/legacy_visualizations/view_in_maps.tsx | 0 .../lens/choropleth_chart/choropleth_chart.tsx | 0 .../lens/choropleth_chart/expression_function.ts | 0 .../lens/choropleth_chart/expression_renderer.tsx | 0 .../lens/choropleth_chart/get_ems_suggestion.ts | 0 .../maps/public/lens/choropleth_chart/index.ts | 0 .../lens/choropleth_chart/region_key_editor.tsx | 0 .../maps/public/lens/choropleth_chart/setup.ts | 0 .../public/lens/choropleth_chart/suggestions.ts | 0 .../lens/choropleth_chart/suggestions_lazy.ts | 0 .../maps/public/lens/choropleth_chart/types.ts | 0 .../public/lens/choropleth_chart/visualization.tsx | 0 .../plugins/shared}/maps/public/lens/index.ts | 0 .../shared}/maps/public/lens/passive_map.tsx | 0 .../shared}/maps/public/lens/passive_map_lazy.tsx | 0 .../shared}/maps/public/licensed_features.ts | 0 .../public/locators/map_locator/get_location.ts | 0 .../locators/map_locator/locator_definition.test.ts | 0 .../locators/map_locator/locator_definition.ts | 0 .../maps/public/locators/map_locator/types.ts | 0 .../locators/region_map_locator/get_location.ts | 0 .../region_map_locator/locator_definition.ts | 0 .../public/locators/region_map_locator/types.ts | 0 .../locators/tile_map_locator/get_location.ts | 0 .../locators/tile_map_locator/locator_definition.ts | 0 .../maps/public/locators/tile_map_locator/types.ts | 0 .../shared}/maps/public/maps_vis_type_alias.ts | 0 .../plugins/shared}/maps/public/plugin.ts | 0 .../maps/public/react_embeddable/_index.scss | 0 .../react_embeddable/get_geo_fields_label.test.ts | 0 .../public/react_embeddable/get_geo_fields_label.ts | 0 .../react_embeddable/initialize_action_handlers.ts | 0 .../initialize_cross_panel_actions.ts | 0 .../react_embeddable/initialize_data_views.test.ts | 0 .../react_embeddable/initialize_data_views.ts | 0 .../public/react_embeddable/initialize_edit_api.ts | 0 .../public/react_embeddable/initialize_fetch.ts | 0 .../react_embeddable/initialize_redux_sync.ts | 0 .../public/react_embeddable/library_transforms.ts | 0 .../react_embeddable/map_embeddables_singleton.ts | 0 .../react_embeddable/map_react_embeddable.tsx | 0 .../react_embeddable/map_renderer/map_renderer.tsx | 0 .../map_renderer/map_renderer_lazy.tsx | 0 .../public/react_embeddable/map_renderer/types.ts | 0 .../public/react_embeddable/setup_map_embeddable.ts | 0 .../shared}/maps/public/react_embeddable/types.ts | 0 .../public/reducers/copy_persistent_state.test.ts | 0 .../maps/public/reducers/copy_persistent_state.ts | 0 .../public/reducers/map/data_request_utils.test.ts | 0 .../maps/public/reducers/map/data_request_utils.ts | 0 .../public/reducers/map/default_map_settings.ts | 0 .../shared}/maps/public/reducers/map/index.ts | 0 .../shared}/maps/public/reducers/map/layer_utils.ts | 0 .../shared}/maps/public/reducers/map/map.test.ts | 0 .../plugins/shared}/maps/public/reducers/map/map.ts | 0 .../shared}/maps/public/reducers/map/types.ts | 0 .../public/reducers/non_serializable_instances.d.ts | 0 .../public/reducers/non_serializable_instances.js | 0 .../plugins/shared}/maps/public/reducers/store.d.ts | 0 .../plugins/shared}/maps/public/reducers/store.js | 0 .../plugins/shared}/maps/public/reducers/ui.ts | 0 .../plugins/shared}/maps/public/render_app.tsx | 0 .../plugins/shared}/maps/public/routes/index.ts | 0 .../shared}/maps/public/routes/list_page/index.ts | 0 .../routes/list_page/load_list_and_render.tsx | 0 .../maps/public/routes/list_page/maps_list_view.tsx | 0 .../shared}/maps/public/routes/map_page/index.ts | 0 .../maps/public/routes/map_page/map_app/index.ts | 0 .../maps/public/routes/map_page/map_app/map_app.tsx | 0 .../map_page/map_app/wait_until_time_layers_load.ts | 0 .../maps/public/routes/map_page/map_page.tsx | 0 .../map_page/saved_map/get_breadcrumbs.test.tsx | 0 .../routes/map_page/saved_map/get_breadcrumbs.tsx | 0 .../saved_map/get_initial_layers_from_url_param.ts | 0 .../routes/map_page/saved_map/get_initial_query.ts | 0 .../saved_map/get_initial_refresh_config.ts | 0 .../saved_map/get_open_layer_wizard_url_param.ts | 0 .../maps/public/routes/map_page/saved_map/index.ts | 0 .../routes/map_page/saved_map/load_from_library.ts | 0 .../routes/map_page/saved_map/save_to_library.ts | 0 .../public/routes/map_page/saved_map/saved_map.ts | 0 .../maps/public/routes/map_page/saved_map/types.ts | 0 .../maps/public/routes/map_page/top_nav_config.tsx | 0 .../routes/map_page/url_state/app_state_manager.ts | 0 .../public/routes/map_page/url_state/app_sync.ts | 0 .../maps/public/routes/map_page/url_state/index.ts | 0 .../maps/public/selectors/map_selectors.test.ts | 0 .../shared}/maps/public/selectors/map_selectors.ts | 0 .../shared}/maps/public/selectors/ui_selectors.ts | 0 .../trigger_actions/filter_by_map_extent/action.ts | 0 .../trigger_actions/filter_by_map_extent/modal.tsx | 0 .../trigger_actions/filter_by_map_extent/types.ts | 0 .../maps/public/trigger_actions/get_maps_link.ts | 0 .../trigger_actions/synchronize_movement/action.ts | 0 .../synchronize_movement/is_compatible.ts | 0 .../trigger_actions/synchronize_movement/modal.tsx | 0 .../trigger_actions/synchronize_movement/types.ts | 0 .../maps/public/trigger_actions/trigger_utils.ts | 0 .../trigger_actions/visualize_geo_field_action.ts | 0 .../plugins/shared}/maps/public/util.ts | 0 .../plugins/shared}/maps/server/config.ts | 0 .../shared}/maps/server/content_management/index.ts | 0 .../maps/server/content_management/maps_storage.ts | 0 .../server/content_management/schema/cm_services.ts | 0 .../content_management/schema/v1/cm_services.ts | 0 .../maps/server/data_indexing/create_doc_source.ts | 0 .../data_indexing/get_indexes_matching_pattern.ts | 0 .../shared}/maps/server/data_indexing/index_data.ts | 0 .../maps/server/data_indexing/indexing_routes.ts | 0 .../server/embeddable/embeddable_migrations.test.ts | 0 .../maps/server/embeddable/embeddable_migrations.ts | 0 .../plugins/shared}/maps/server/embeddable/index.ts | 0 .../maps/server/embeddable/setup_embeddable.ts | 0 .../shared}/maps/server/fonts/open_sans/0-255.pbf | Bin .../maps/server/fonts/open_sans/1024-1279.pbf | Bin .../shared}/maps/server/fonts/open_sans/256-511.pbf | Bin .../maps/server/fonts/open_sans/768-1023.pbf | Bin .../maps/server/fonts/open_sans/8192-8447.pbf | Bin .../shared}/maps/server/fonts/open_sans/license.txt | 0 .../plugins/shared}/maps/server/index.ts | 0 .../shared}/maps/server/kibana_server_services.ts | 0 .../server/lib/get_index_pattern_settings.test.js | 0 .../maps/server/lib/get_index_pattern_settings.ts | 0 .../server/maps_telemetry/collectors/register.ts | 0 .../collectors/register_collector.test.js | 0 .../maps/server/maps_telemetry/find_maps.test.ts | 0 .../shared}/maps/server/maps_telemetry/find_maps.ts | 0 .../maps/server/maps_telemetry/map_stats/index.ts | 0 .../map_stats/map_stats_collector.test.ts | 0 .../maps_telemetry/map_stats/map_stats_collector.ts | 0 .../maps/server/maps_telemetry/map_stats/types.ts | 0 .../maps/server/maps_telemetry/maps_telemetry.ts | 0 .../shared}/maps/server/mvt/mvt_routes.test.ts | 0 .../plugins/shared}/maps/server/mvt/mvt_routes.ts | 0 .../plugins/shared}/maps/server/plugin.ts | 0 .../shared}/maps/server/register_integrations.ts | 0 .../plugins/shared}/maps/server/routes.ts | 0 .../server/sample_data/ecommerce_saved_objects.js | 0 .../server/sample_data/flights_saved_objects.js | 0 .../server/sample_data/web_logs_saved_objects.js | 0 .../shared}/maps/server/saved_objects/index.ts | 0 .../server/saved_objects/saved_object_migrations.ts | 0 .../server/saved_objects/setup_saved_objects.ts | 0 .../plugins/shared}/maps/server/test_utils/index.js | 0 .../shared}/maps/server/tutorials/ems/index.ts | 0 .../plugins/shared}/maps/server/types.ts | 0 .../plugins/shared}/maps/tsconfig.json | 4 ++-- x-pack/test/api_integration/apis/maps/fonts_api.js | 2 +- yarn.lock | 2 +- 1008 files changed, 18 insertions(+), 18 deletions(-) rename x-pack/{plugins => platform/plugins/shared}/maps/README.md (89%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/content_management/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/content_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/content_management/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/content_management/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/content_management/v1/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/content_management/v1/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/descriptor_types/data_request_descriptor_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/descriptor_types/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/descriptor_types/layer_descriptor_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/descriptor_types/map_descriptor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/descriptor_types/source_descriptor_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/descriptor_types/style_property_descriptor_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/elasticsearch_util/es_agg_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/elasticsearch_util/es_agg_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/elasticsearch_util/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/elasticsearch_util/spatial_filter_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/elasticsearch_util/spatial_filter_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/elasticsearch_util/total_hits.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/elasticsearch_util/total_hits.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/embeddable/extract.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/embeddable/extract.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/embeddable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/embeddable/inject.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/embeddable/inject.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/embeddable/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/get_agg_key.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/i18n_getters.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/add_field_meta_options.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/add_field_meta_options.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/add_type_to_termjoin.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/add_type_to_termjoin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/join_agg_key.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/join_agg_key.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/migrate_data_persisted_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/migrate_data_persisted_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/migrate_data_view_persisted_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/migrate_data_view_persisted_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/migrate_other_category_color.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/migrate_other_category_color.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/migrate_symbol_style_descriptor.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/migrate_symbol_style_descriptor.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/move_apply_global_query.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/move_apply_global_query.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/move_attribution.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/move_attribution.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/references.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/references.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/remove_bounds.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/remove_bounds.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/rename_layer_types.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/rename_layer_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/scaling_type.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/scaling_type.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/set_default_auto_fit_to_bounds.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/set_default_auto_fit_to_bounds.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/set_ems_tms_default_modes.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/set_ems_tms_default_modes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/top_hits_time_to_sort.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/migrations/top_hits_time_to_sort.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/mvt_request_body.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/mvt_request_body.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/parse_xml_string.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/parse_xml_string.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/telemetry/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/telemetry/layer_stats_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/telemetry/layer_stats_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/telemetry/map_settings_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/telemetry/map_settings_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/telemetry/test_resources/sample_map_saved_objects.json (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/telemetry/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/jest.config.js (62%) rename x-pack/{plugins => platform/plugins/shared}/maps/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/_animations.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/_main.scss (87%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/_mapbox_hacks.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/_mixins.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/actions/data_request_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/actions/get_layers_extent.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/actions/layer_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/actions/layer_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/actions/map_action_constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/actions/map_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/actions/map_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/actions/tooltip_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/actions/tooltip_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/actions/ui_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/api/create_layer_descriptors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/api/ems.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/api/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/api/setup_api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/api/start_api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/assets/boundaries_screenshot.png (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/assets/gdal_logo.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/agg/agg_field.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/agg/agg_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/agg/agg_field_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/agg/count_agg_field.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/agg/count_agg_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/agg/es_agg_factory.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/agg/es_agg_factory.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/agg/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/agg/percentile_agg_field.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/agg/percentile_agg_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/agg/top_term_percentage_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/ems_file_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/es_doc_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/inline_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/fields/mvt_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/joins/inner_join.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/joins/inner_join.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/joins/is_spatial_join.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/__fixtures__/mock_sync_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/__fixtures__/mock_vector_layer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/_layers.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/build_vector_request_meta.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/create_basemap_layer_descriptor.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/create_basemap_layer_descriptor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/create_region_map_layer_descriptor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/create_tile_map_layer_descriptor.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/create_tile_map_layer_descriptor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/ems_vector_tile_layer/image_utils.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/heatmap_layer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/invalid_layer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/layer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/layer_group/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/layer_group/layer_group.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/layer_group/layer_group.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/tile_errors_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/blended_vector_layer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/bounds_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_source_data.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/geojson_vector_layer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/mask.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/mvt_vector_layer/__snapshots__/mvt_vector_layer.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/mvt_vector_layer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/vector_layer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/vector_layer/vector_layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/choropleth_layer_wizard/choropleth_layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/choropleth_layer_wizard/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/file_upload_wizard/config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/file_upload_wizard/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/file_upload_wizard/wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/icons/cloropleth_layer_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/icons/clusters_layer_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/icons/documents_layer_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/icons/draw_layer_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/icons/ems_boundaries_layer_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/icons/heatmap_layer_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/icons/point_2_point_layer_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/icons/spatial_join_layer_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/icons/top_hits_layer_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/icons/tracks_layer_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/icons/vector_tile_layer_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/icons/web_map_service_layer_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/icons/world_map_layer_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/layer_group_wizard/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/layer_wizard_registry.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/layer_wizard_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/load_layer_wizards.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/new_vector_layer_wizard/config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/new_vector_layer_wizard/create_new_index_pattern.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/new_vector_layer_wizard/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/observability/display_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/observability/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/observability/layer_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/observability/metric_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_template.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/security/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/security/index_pattern_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/security/security_layer_template.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/solution_layers/security/security_layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/spatial_join_wizard/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/spatial_join_wizard/spatial_join_wizard_config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/create_spatial_join_layer_descriptor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/distance_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/left_source_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/relationship_expression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/right_source_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/wizard_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/create_source_instance.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/ems_file_source/create_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/ems_file_source/ems_boundaries_layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/ems_file_source/ems_file_source.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/ems_file_source/ems_file_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/ems_file_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/ems_file_source/update_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/ems_tms_source/create_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/ems_tms_source/ems_base_map_layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/ems_tms_source/ems_tms_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/ems_tms_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/ems_tms_source/tile_service_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/ems_tms_source/update_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_agg_source/es_agg_source.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_agg_source/get_agg_display_name.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_agg_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_agg_source/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/__snapshots__/resolution_editor.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/__snapshots__/update_source_editor.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/clusters_layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/create_source_editor.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/get_icon_size.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/heatmap_layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/is_mvt.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/render_as_select/i18n_constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/render_as_select/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/render_as_select/render_as_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/render_as_select/show_as_label.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/resolution_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/resolution_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/update_source_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/geo_line_form/geo_line_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_button_group.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_label.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/geo_line_form/i18n_constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/geo_line_form/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/geo_line_form/size_slider.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_pew_pew_source/create_source_editor.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_pew_pew_source/es_pew_pew_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_pew_pew_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_pew_pew_source/point_2_point_layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_pew_pew_source/update_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/create_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/es_search_source.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/es_search_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/top_hits/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/top_hits/wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/update_source_editor.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/update_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/util/feature_edit.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/util/load_index_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/util/scaling_form.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_search_source/util/scaling_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_source/es_source.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/es_source/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/esql_source/convert_to_geojson.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/esql_source/convert_to_geojson.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/esql_source/create_source_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/esql_source/create_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/esql_source/esql_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/esql_source/esql_layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/esql_source/esql_source.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/esql_source/esql_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/esql_source/esql_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/esql_source/esql_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/esql_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/esql_source/narrow_by_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/esql_source/update_source_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/esql_source/update_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/execution_context_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/execution_context_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/geojson_file_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/es_distance_source/es_distance_source.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/es_distance_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/es_term_source/es_term_source.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/es_term_source/es_term_source.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/es_term_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/es_term_source/is_term_source_complete.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/i18n_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/is_spatial_source_complete.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/table_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/table_source/table_source.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/table_source/table_source.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/join_sources/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/kibana_tilemap_source/create_source_editor.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/kibana_tilemap_source/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/kibana_tilemap_source/kibana_base_map_layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_field_config_editor.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_vector_source_editor.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/update_source_editor.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/raster_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/setup_sources.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/setup_sources.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/source.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/source_registry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/tms_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/vector_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/vector_source/mvt_vector_source.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/vector_source/vector_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/wms_source/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/wms_source/wms_client.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/wms_source/wms_client.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/wms_source/wms_create_source_editor.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/wms_source/wms_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/xyz_tms_source/__snapshots__/xyz_tms_editor.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/xyz_tms_source/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/xyz_tms_source/layer_wizard.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/color_palettes.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/color_palettes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/components/ranged_style_legend_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/ems/components/__snapshots__/ems_vector_tile_style_editor.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/ems/ems_vector_tile_style.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/heatmap/components/__snapshots__/heatmap_style_editor.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/heatmap/components/heatmap_constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/heatmap/components/heatmap_style_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/heatmap/components/heatmap_style_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/heatmap/components/legend/_color_gradient.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/heatmap/components/legend/color_gradient.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/heatmap/components/legend/heatmap_legend.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/heatmap/heatmap_style.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/style.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/tile/tile_style.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/__snapshots__/symbol_utils.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/__snapshots__/vector_style_editor.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/_style_prop_editor.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/color/_color_stops.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/color/color_map_select.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/color/color_stops.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/color/color_stops_categorical.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/color/color_stops_ordinal.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/color/color_stops_utils.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/color/dynamic_color_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/color/mb_validated_color_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/color/other_category_color_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/color/static_color_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/color/vector_style_color_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/data_mapping/categorical_data_mapping_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/data_mapping/data_mapping_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/data_mapping/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/data_mapping/ordinal_data_mapping_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/data_mapping/percentiles_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/get_vector_style_label.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/label/dynamic_label_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/label/label_position_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/label/label_position_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/label/label_zoom_range_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/label/static_label_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/label/vector_style_label_border_size_editor.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/label/vector_style_label_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/__snapshots__/vector_icon.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/_category.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/_vector_legend.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/breaked_legend.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/category.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/circle_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/line_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/mask_legend.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/polygon_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/right_aligned_text.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/size/__snapshots__/ordinal_legend.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/size/get_ordinal_label.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/size/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/size/marker_list.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/style_error.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/symbol_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/vector_icon.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/vector_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/legend/vector_style_legend.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/orientation/dynamic_orientation_form.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/orientation/orientation_editor.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/orientation/static_orientation_form.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/row_action_buttons.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/size/dynamic_size_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/size/size_range_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/size/static_size_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/size/vector_style_size_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/stop_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/style_option_shapes.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/style_prop_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/__snapshots__/custom_icon_modal.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_map_select.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/_custom_icon_modal.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/_icon_preview.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/_icon_select.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/dynamic_icon_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/icon_map_select.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/icon_map_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/icon_preview.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/icon_select.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/icon_select.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/icon_stops.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/icon_stops.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/static_icon_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/vector_style_icon_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/symbol/vector_style_symbolize_as_editor.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/vector_style_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/components/vector_style_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/maki_icons.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_color_property.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_color_property.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_icon_property.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_icon_property.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_size_property/__snapshots__/dynamic_size_property.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_size_property/icon_size.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_size_property/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_size_property/line_width.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_style_property.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_text_property.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/dynamic_text_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/label_border_size_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/label_position_property.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/label_position_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/label_zoom_range_property.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/static_color_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/static_icon_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/static_orientation_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/static_size_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/static_style_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/static_text_property.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/static_text_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/style_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/symbolize_as_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/properties/test_helpers/test_util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/style_fields_helper.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/style_fields_helper.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/style_meta.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/style_util.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/style_util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/symbol_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/symbol_utils.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/vector_style.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/vector_style.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/vector_style_defaults.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/styles/vector/vector_style_defaults.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/tooltips/es_agg_tooltip_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/tooltips/es_tooltip_property.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/tooltips/es_tooltip_property.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/tooltips/term_join_tooltip_property/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/tooltips/term_join_tooltip_property/term_join_key_label.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/tooltips/term_join_tooltip_property/term_join_tooltip_property.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/tooltips/tooltip_property.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/util/can_skip_fetch.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/util/can_skip_fetch.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/util/data_request.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/util/geo_tile_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/util/geo_tile_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/util/get_feature_collection_bounds.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/util/get_feature_collection_bounds.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/util/is_metric_countable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/util/maplibre_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/util/mb_filter_expressions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/util/ordinal_suffix.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/util/tile_meta_feature_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/util/tile_meta_feature_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/classes/util/valid_string_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/__snapshots__/geo_index_pattern_select.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/__snapshots__/validated_number_input.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/__snapshots__/validated_range.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/_action_select.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/action_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/alpha_slider.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/draw_forms/distance_filter_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/draw_forms/geometry_filter_form/__snapshots__/geometry_filter_form.test.js.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/draw_forms/geometry_filter_form/_geometry_filter.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/ems_file_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/ems_unavailable_message.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/force_refresh_checkbox.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/geo_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/geo_index_pattern_select.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/geo_index_pattern_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/global_filter_checkbox.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/global_time_checkbox.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/metrics_editor/__snapshots__/metrics_editor.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/metrics_editor/_metric_editors.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/metrics_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/metrics_editor/mask_expression/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/metrics_editor/mask_expression/mask_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/metrics_editor/mask_expression/mask_expression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/metrics_editor/metric_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/metrics_editor/metric_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/metrics_editor/metrics_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/metrics_editor/metrics_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/remove_layer_confirm_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/single_field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/tooltip_selector/__snapshots__/add_tooltip_field_popover.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/tooltip_selector/__snapshots__/tooltip_selector.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/tooltip_selector/_tooltip_selector.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/tooltip_selector/add_tooltip_field_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/tooltip_selector/add_tooltip_field_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/tooltip_selector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/tooltip_selector/tooltip_selector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/tooltip_selector/tooltip_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/validated_number_input.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/validated_number_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/validated_range.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/components/validated_range.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/add_layer_panel/flyout_body/__snapshots__/layer_wizard_select.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/add_layer_panel/flyout_body/flyout_body.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/add_layer_panel/flyout_body/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/add_layer_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/add_layer_panel/view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/__snapshots__/edit_layer_panel.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/_layer_panel.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/edit_layer_panel.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/edit_layer_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/filter_editor/_filter_editor.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/filter_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/flyout_footer/flyout_footer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/flyout_footer/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/add_join_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/resources/__snapshots__/metrics_expression.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/resources/_join.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_documentation_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_expression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_popover_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_expression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_popover_content.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/layer_settings/__snapshots__/attribution_form_row.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_form_row.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_popover.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/layer_settings/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/layer_settings/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/layer_settings/layer_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/source_details/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/source_details/source_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/style_settings/_style_settings.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/style_settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/edit_layer_panel/style_settings/style_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/input_strings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/map_container/_map_container.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/map_container/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/map_container/map_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/map_settings_panel/__snapshots__/custom_icons_panel.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/map_settings_panel/custom_icons_panel.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/map_settings_panel/custom_icons_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/map_settings_panel/display_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/map_settings_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/map_settings_panel/map_settings_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/map_settings_panel/navigation_panel.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/map_settings_panel/navigation_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/map_settings_panel/spatial_filters_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/draw_control/draw_circle.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/draw_control/draw_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/draw_control/draw_feature_control/draw_feature_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/draw_control/draw_feature_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/draw_control/draw_filter_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/draw_control/draw_tooltip.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/get_initial_view.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/glyphs.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/glyphs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/keydown_scroll_zoom/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/keydown_scroll_zoom/keydown_scroll_zoom.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/mb_map.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/remove_orphaned.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/remove_orphaned.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/scale_control/__snapshots__/scale_control.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/scale_control/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/scale_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/scale_control/scale_control.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/scale_control/scale_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/sort_layers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/sort_layers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tile_status_tracker/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tile_status_tracker/tile_error_cache.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_control.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_popover.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/footer.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/header.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/transform_request.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/mb_map/transform_request.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/panel_strings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/_mixins.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/_right_side_controls.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/attribution_control/__snapshots__/attribution_control.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/attribution_control/_attribution_control.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/attribution_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/_layer_control.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/expand_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_control.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/__snapshots__/layer_toc.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/_layer_toc.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/__snapshots__/toc_entry.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/_toc_entry.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/action_labels.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/__snapshots__/toc_entry_actions_popover.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/mouse_coordinates_control/_mouse_coordinates_control.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/mouse_coordinates_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/mouse_coordinates_control/mouse_coordinates_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/right_side_controls/right_side_controls.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/timeslider/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/timeslider/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/timeslider/timeslider.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/__snapshots__/toolbar_overlay.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/_toolbar_overlay.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/feature_draw_controls/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/feature_edit_tools.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_circle_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_line_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_square_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/fit_to_data/fit_to_data.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/fit_to_data/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/set_view_control/decimal_degrees_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/set_view_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/set_view_control/mgrs_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/set_view_control/utm_form.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/timeslider_toggle_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/toolbar_overlay.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/tools_control/__snapshots__/tools_control.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/tools_control/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/tools_control/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/content_management/duplicate_title_check.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/content_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/content_management/maps_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/ems_autosuggest/ems_autosuggest.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/ems_autosuggest/ems_autosuggest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/ems_autosuggest/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/feature_catalogue_entry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/icon.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/index_pattern_util.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/index_pattern_util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/map_adapter/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/map_adapter/map_adapter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/map_adapter/map_details.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/map_adapter/map_inspector_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/map_adapter/map_view_component.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/map_adapter/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/vector_tile_adapter/components/empty_prompt.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/vector_tile_adapter/components/get_tile_request.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/vector_tile_adapter/components/get_tile_request.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/vector_tile_adapter/components/requests_view_callout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/vector_tile_adapter/components/tile_request_tab.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/vector_tile_adapter/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/vector_tile_adapter/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/inspector/vector_tile_adapter/vector_tile_inspector_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/kibana_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/is_legacy_map.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/region_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/region_map/region_map_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/region_map/region_map_fn.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/region_map/region_map_renderer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/region_map/region_map_vis_type.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/region_map/to_ast.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/region_map/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/region_map/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/tile_map/geo_hash.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/tile_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/tile_map/tile_map_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/tile_map/tile_map_renderer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/tile_map/tile_map_vis_type.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/tile_map/to_ast.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/tile_map/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/tile_map/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/legacy_visualizations/view_in_maps.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/lens/choropleth_chart/choropleth_chart.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/lens/choropleth_chart/expression_function.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/lens/choropleth_chart/expression_renderer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/lens/choropleth_chart/get_ems_suggestion.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/lens/choropleth_chart/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/lens/choropleth_chart/region_key_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/lens/choropleth_chart/setup.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/lens/choropleth_chart/suggestions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/lens/choropleth_chart/suggestions_lazy.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/lens/choropleth_chart/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/lens/choropleth_chart/visualization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/lens/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/lens/passive_map.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/lens/passive_map_lazy.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/licensed_features.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/locators/map_locator/get_location.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/locators/map_locator/locator_definition.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/locators/map_locator/locator_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/locators/map_locator/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/locators/region_map_locator/get_location.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/locators/region_map_locator/locator_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/locators/region_map_locator/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/locators/tile_map_locator/get_location.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/locators/tile_map_locator/locator_definition.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/locators/tile_map_locator/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/maps_vis_type_alias.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/_index.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/get_geo_fields_label.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/get_geo_fields_label.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/initialize_action_handlers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/initialize_cross_panel_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/initialize_data_views.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/initialize_data_views.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/initialize_edit_api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/initialize_fetch.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/initialize_redux_sync.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/library_transforms.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/map_embeddables_singleton.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/map_react_embeddable.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/map_renderer/map_renderer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/map_renderer/map_renderer_lazy.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/map_renderer/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/setup_map_embeddable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/react_embeddable/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/copy_persistent_state.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/copy_persistent_state.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/map/data_request_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/map/data_request_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/map/default_map_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/map/layer_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/map/map.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/map/map.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/map/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/non_serializable_instances.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/non_serializable_instances.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/store.d.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/store.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/reducers/ui.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/render_app.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/list_page/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/list_page/load_list_and_render.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/list_page/maps_list_view.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/map_app/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/map_app/map_app.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/map_app/wait_until_time_layers_load.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/map_page.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/saved_map/get_breadcrumbs.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/saved_map/get_breadcrumbs.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/saved_map/get_initial_layers_from_url_param.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/saved_map/get_initial_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/saved_map/get_initial_refresh_config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/saved_map/get_open_layer_wizard_url_param.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/saved_map/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/saved_map/load_from_library.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/saved_map/save_to_library.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/saved_map/saved_map.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/saved_map/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/top_nav_config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/url_state/app_state_manager.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/url_state/app_sync.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/routes/map_page/url_state/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/selectors/map_selectors.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/selectors/map_selectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/selectors/ui_selectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/trigger_actions/filter_by_map_extent/action.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/trigger_actions/filter_by_map_extent/modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/trigger_actions/filter_by_map_extent/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/trigger_actions/get_maps_link.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/trigger_actions/synchronize_movement/action.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/trigger_actions/synchronize_movement/is_compatible.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/trigger_actions/synchronize_movement/modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/trigger_actions/synchronize_movement/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/trigger_actions/trigger_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/trigger_actions/visualize_geo_field_action.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/public/util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/content_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/content_management/maps_storage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/content_management/schema/cm_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/content_management/schema/v1/cm_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/data_indexing/create_doc_source.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/data_indexing/get_indexes_matching_pattern.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/data_indexing/index_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/data_indexing/indexing_routes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/embeddable/embeddable_migrations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/embeddable/embeddable_migrations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/embeddable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/embeddable/setup_embeddable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/fonts/open_sans/0-255.pbf (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/fonts/open_sans/1024-1279.pbf (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/fonts/open_sans/256-511.pbf (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/fonts/open_sans/768-1023.pbf (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/fonts/open_sans/8192-8447.pbf (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/fonts/open_sans/license.txt (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/kibana_server_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/lib/get_index_pattern_settings.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/lib/get_index_pattern_settings.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/maps_telemetry/collectors/register.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/maps_telemetry/collectors/register_collector.test.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/maps_telemetry/find_maps.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/maps_telemetry/find_maps.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/maps_telemetry/map_stats/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/maps_telemetry/map_stats/map_stats_collector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/maps_telemetry/map_stats/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/maps_telemetry/maps_telemetry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/mvt/mvt_routes.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/mvt/mvt_routes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/register_integrations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/routes.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/sample_data/ecommerce_saved_objects.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/sample_data/flights_saved_objects.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/sample_data/web_logs_saved_objects.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/saved_objects/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/saved_objects/saved_object_migrations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/saved_objects/setup_saved_objects.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/test_utils/index.js (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/tutorials/ems/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/server/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/maps/tsconfig.json (96%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 239ecd2cc7f05..701b46af992d2 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -865,6 +865,7 @@ x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management x-pack/platform/plugins/shared/integration_assistant @elastic/security-scalability x-pack/platform/plugins/shared/license_management @elastic/kibana-management +x-pack/platform/plugins/shared/maps @elastic/kibana-presentation x-pack/platform/plugins/shared/ml @elastic/ml-ui x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant @elastic/obs-ai-assistant x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows @@ -897,7 +898,6 @@ x-pack/plugins/index_management @elastic/kibana-management x-pack/plugins/lens @elastic/kibana-visualizations x-pack/plugins/licensing @elastic/kibana-core x-pack/plugins/logstash @elastic/logstash -x-pack/plugins/maps @elastic/kibana-presentation x-pack/plugins/monitoring @elastic/stack-monitoring x-pack/plugins/monitoring_collection @elastic/stack-monitoring x-pack/plugins/notifications @elastic/appex-sharedux diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 7d148b48e606a..4eaa1d9842e9d 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -719,7 +719,7 @@ using the CURL scripts in the scripts folder. |WARNING: Missing README. -|{kib-repo}blob/{branch}/x-pack/plugins/maps/README.md[maps] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/maps/README.md[maps] |Visualize geo data from Elasticsearch or 3rd party geo-services. diff --git a/legacy_rfcs/text/0018_timeslider.md b/legacy_rfcs/text/0018_timeslider.md index aa8e7263260d2..4367c42421d7f 100644 --- a/legacy_rfcs/text/0018_timeslider.md +++ b/legacy_rfcs/text/0018_timeslider.md @@ -82,7 +82,7 @@ export interface TimesliderProps { Any change to `timeslice`, either by dragging the handles of the timeslider, or pressing the back or forward buttons, calls the `onTimesliceChanged` handler. -Since the initial use is inside Maps, the initial location of this React-component is inside the Maps plugin, `x-pack/plugins/maps/public/timeslider`. +Since the initial use is inside Maps, the initial location of this React-component is inside the Maps plugin, `x-pack/platform/plugins/shared/maps/public/timeslider`. Nonetheless, this UI-component should be easily "cut-and-pastable" to another location. diff --git a/package.json b/package.json index 8c4673d83b8e6..e6f5a53553738 100644 --- a/package.json +++ b/package.json @@ -646,7 +646,7 @@ "@kbn/mapbox-gl": "link:src/platform/packages/private/kbn-mapbox-gl", "@kbn/maps-custom-raster-source-plugin": "link:x-pack/examples/third_party_maps_source_example", "@kbn/maps-ems-plugin": "link:src/platform/plugins/private/maps_ems", - "@kbn/maps-plugin": "link:x-pack/plugins/maps", + "@kbn/maps-plugin": "link:x-pack/platform/plugins/shared/maps", "@kbn/maps-vector-tile-utils": "link:x-pack/packages/maps/vector_tile_utils", "@kbn/metrics-data-access-plugin": "link:x-pack/plugins/observability_solution/metrics_data_access", "@kbn/ml-agg-utils": "link:x-pack/platform/packages/private/ml/agg_utils", diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index 0a158ee6fbc83..888020acc1c71 100644 --- a/src/dev/precommit_hook/casing_check_config.js +++ b/src/dev/precommit_hook/casing_check_config.js @@ -68,7 +68,7 @@ export const IGNORE_FILE_GLOBS = [ 'packages/kbn-handlebars/src/upstream/**/*', 'packages/kbn-handlebars/.patches/**/*', - 'x-pack/plugins/maps/server/fonts/**/*', + 'x-pack/platform/plugins/shared/maps/server/fonts/**/*', 'x-pack/plugins/observability_solution/profiling/Makefile', diff --git a/tsconfig.base.json b/tsconfig.base.json index a2fa9ea1862a3..381b4cf7ee543 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1222,8 +1222,8 @@ "@kbn/maps-custom-raster-source-plugin/*": ["x-pack/examples/third_party_maps_source_example/*"], "@kbn/maps-ems-plugin": ["src/platform/plugins/private/maps_ems"], "@kbn/maps-ems-plugin/*": ["src/platform/plugins/private/maps_ems/*"], - "@kbn/maps-plugin": ["x-pack/plugins/maps"], - "@kbn/maps-plugin/*": ["x-pack/plugins/maps/*"], + "@kbn/maps-plugin": ["x-pack/platform/plugins/shared/maps"], + "@kbn/maps-plugin/*": ["x-pack/platform/plugins/shared/maps/*"], "@kbn/maps-vector-tile-utils": ["x-pack/packages/maps/vector_tile_utils"], "@kbn/maps-vector-tile-utils/*": ["x-pack/packages/maps/vector_tile_utils/*"], "@kbn/metrics-data-access-plugin": ["x-pack/plugins/observability_solution/metrics_data_access"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index f10c4786d6948..5c2ab7fedb050 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -81,7 +81,7 @@ ], "xpack.main": "legacy/plugins/xpack_main", "xpack.maps": [ - "plugins/maps" + "platform/plugins/shared/maps" ], "xpack.metricsData": "plugins/observability_solution/metrics_data_access", "xpack.ml": [ diff --git a/x-pack/plugins/maps/README.md b/x-pack/platform/plugins/shared/maps/README.md similarity index 89% rename from x-pack/plugins/maps/README.md rename to x-pack/platform/plugins/shared/maps/README.md index de683af8ac627..ce44a4baf6e0b 100644 --- a/x-pack/plugins/maps/README.md +++ b/x-pack/platform/plugins/shared/maps/README.md @@ -7,7 +7,7 @@ Visualize geo data from Elasticsearch or 3rd party geo-services. Run all tests from the `x-pack` root directory -- Unit tests: `yarn test:jest x-pack/plugins/maps --watch` +- Unit tests: `yarn test:jest x-pack/platform/plugins/shared/maps --watch` - Functional tests: - Run `node scripts/functional_tests_server` - Run `node ../scripts/functional_test_runner.js --config ./test/functional/apps/maps/group1/config.ts` diff --git a/x-pack/plugins/maps/common/constants.ts b/x-pack/platform/plugins/shared/maps/common/constants.ts similarity index 100% rename from x-pack/plugins/maps/common/constants.ts rename to x-pack/platform/plugins/shared/maps/common/constants.ts diff --git a/x-pack/plugins/maps/common/content_management/constants.ts b/x-pack/platform/plugins/shared/maps/common/content_management/constants.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/constants.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/constants.ts diff --git a/x-pack/plugins/maps/common/content_management/index.ts b/x-pack/platform/plugins/shared/maps/common/content_management/index.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/index.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/index.ts diff --git a/x-pack/plugins/maps/common/content_management/latest.ts b/x-pack/platform/plugins/shared/maps/common/content_management/latest.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/latest.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/latest.ts diff --git a/x-pack/plugins/maps/common/content_management/types.ts b/x-pack/platform/plugins/shared/maps/common/content_management/types.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/types.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/types.ts diff --git a/x-pack/plugins/maps/common/content_management/v1/index.ts b/x-pack/platform/plugins/shared/maps/common/content_management/v1/index.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/v1/index.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/v1/index.ts diff --git a/x-pack/plugins/maps/common/content_management/v1/types.ts b/x-pack/platform/plugins/shared/maps/common/content_management/v1/types.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/v1/types.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/v1/types.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/data_request_descriptor_types.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/data_request_descriptor_types.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/index.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/index.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/index.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/index.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/layer_descriptor_types.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/layer_descriptor_types.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/map_descriptor.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/map_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/map_descriptor.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/map_descriptor.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/source_descriptor_types.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/source_descriptor_types.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/source_descriptor_types.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/source_descriptor_types.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/style_property_descriptor_types.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/style_property_descriptor_types.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/style_property_descriptor_types.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/style_property_descriptor_types.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js diff --git a/x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.test.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/es_agg_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.test.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/es_agg_utils.test.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/es_agg_utils.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/es_agg_utils.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/index.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/index.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/index.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/index.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/spatial_filter_utils.test.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/spatial_filter_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/spatial_filter_utils.test.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/spatial_filter_utils.test.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/spatial_filter_utils.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/spatial_filter_utils.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/spatial_filter_utils.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/spatial_filter_utils.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/total_hits.test.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/total_hits.test.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/total_hits.test.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/total_hits.test.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/total_hits.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/total_hits.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/total_hits.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/total_hits.ts diff --git a/x-pack/plugins/maps/common/embeddable/extract.test.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/extract.test.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/extract.test.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/extract.test.ts diff --git a/x-pack/plugins/maps/common/embeddable/extract.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/extract.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/extract.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/extract.ts diff --git a/x-pack/plugins/maps/common/embeddable/index.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/index.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/index.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/index.ts diff --git a/x-pack/plugins/maps/common/embeddable/inject.test.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/inject.test.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/inject.test.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/inject.test.ts diff --git a/x-pack/plugins/maps/common/embeddable/inject.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/inject.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/inject.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/inject.ts diff --git a/x-pack/plugins/maps/common/embeddable/types.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/types.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/types.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/types.ts diff --git a/x-pack/plugins/maps/common/get_agg_key.ts b/x-pack/platform/plugins/shared/maps/common/get_agg_key.ts similarity index 100% rename from x-pack/plugins/maps/common/get_agg_key.ts rename to x-pack/platform/plugins/shared/maps/common/get_agg_key.ts diff --git a/x-pack/plugins/maps/common/i18n_getters.ts b/x-pack/platform/plugins/shared/maps/common/i18n_getters.ts similarity index 100% rename from x-pack/plugins/maps/common/i18n_getters.ts rename to x-pack/platform/plugins/shared/maps/common/i18n_getters.ts diff --git a/x-pack/plugins/maps/common/index.ts b/x-pack/platform/plugins/shared/maps/common/index.ts similarity index 100% rename from x-pack/plugins/maps/common/index.ts rename to x-pack/platform/plugins/shared/maps/common/index.ts diff --git a/x-pack/plugins/maps/common/migrations/add_field_meta_options.js b/x-pack/platform/plugins/shared/maps/common/migrations/add_field_meta_options.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/add_field_meta_options.js rename to x-pack/platform/plugins/shared/maps/common/migrations/add_field_meta_options.js diff --git a/x-pack/plugins/maps/common/migrations/add_field_meta_options.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/add_field_meta_options.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/add_field_meta_options.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/add_field_meta_options.test.js diff --git a/x-pack/plugins/maps/common/migrations/add_type_to_termjoin.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/add_type_to_termjoin.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/add_type_to_termjoin.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/add_type_to_termjoin.test.ts diff --git a/x-pack/plugins/maps/common/migrations/add_type_to_termjoin.ts b/x-pack/platform/plugins/shared/maps/common/migrations/add_type_to_termjoin.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/add_type_to_termjoin.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/add_type_to_termjoin.ts diff --git a/x-pack/plugins/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.js b/x-pack/platform/plugins/shared/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.js rename to x-pack/platform/plugins/shared/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.js diff --git a/x-pack/plugins/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.test.js diff --git a/x-pack/plugins/maps/common/migrations/join_agg_key.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/join_agg_key.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/join_agg_key.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/join_agg_key.test.ts diff --git a/x-pack/plugins/maps/common/migrations/join_agg_key.ts b/x-pack/platform/plugins/shared/maps/common/migrations/join_agg_key.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/join_agg_key.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/join_agg_key.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_data_persisted_state.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_persisted_state.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_data_persisted_state.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_persisted_state.test.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_data_persisted_state.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_persisted_state.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_data_persisted_state.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_persisted_state.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_data_view_persisted_state.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_view_persisted_state.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_data_view_persisted_state.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_view_persisted_state.test.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_data_view_persisted_state.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_view_persisted_state.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_data_view_persisted_state.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_view_persisted_state.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_other_category_color.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_other_category_color.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_other_category_color.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_other_category_color.test.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_other_category_color.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_other_category_color.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_other_category_color.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_other_category_color.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_symbol_style_descriptor.js b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_symbol_style_descriptor.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_symbol_style_descriptor.js rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_symbol_style_descriptor.js diff --git a/x-pack/plugins/maps/common/migrations/migrate_symbol_style_descriptor.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_symbol_style_descriptor.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_symbol_style_descriptor.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_symbol_style_descriptor.test.js diff --git a/x-pack/plugins/maps/common/migrations/move_apply_global_query.js b/x-pack/platform/plugins/shared/maps/common/migrations/move_apply_global_query.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/move_apply_global_query.js rename to x-pack/platform/plugins/shared/maps/common/migrations/move_apply_global_query.js diff --git a/x-pack/plugins/maps/common/migrations/move_apply_global_query.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/move_apply_global_query.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/move_apply_global_query.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/move_apply_global_query.test.js diff --git a/x-pack/plugins/maps/common/migrations/move_attribution.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/move_attribution.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/move_attribution.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/move_attribution.test.ts diff --git a/x-pack/plugins/maps/common/migrations/move_attribution.ts b/x-pack/platform/plugins/shared/maps/common/migrations/move_attribution.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/move_attribution.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/move_attribution.ts diff --git a/x-pack/plugins/maps/common/migrations/references.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/references.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/references.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/references.test.ts diff --git a/x-pack/plugins/maps/common/migrations/references.ts b/x-pack/platform/plugins/shared/maps/common/migrations/references.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/references.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/references.ts diff --git a/x-pack/plugins/maps/common/migrations/remove_bounds.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/remove_bounds.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/remove_bounds.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/remove_bounds.test.ts diff --git a/x-pack/plugins/maps/common/migrations/remove_bounds.ts b/x-pack/platform/plugins/shared/maps/common/migrations/remove_bounds.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/remove_bounds.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/remove_bounds.ts diff --git a/x-pack/plugins/maps/common/migrations/rename_layer_types.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/rename_layer_types.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/rename_layer_types.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/rename_layer_types.test.ts diff --git a/x-pack/plugins/maps/common/migrations/rename_layer_types.ts b/x-pack/platform/plugins/shared/maps/common/migrations/rename_layer_types.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/rename_layer_types.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/rename_layer_types.ts diff --git a/x-pack/plugins/maps/common/migrations/scaling_type.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/scaling_type.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/scaling_type.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/scaling_type.test.ts diff --git a/x-pack/plugins/maps/common/migrations/scaling_type.ts b/x-pack/platform/plugins/shared/maps/common/migrations/scaling_type.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/scaling_type.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/scaling_type.ts diff --git a/x-pack/plugins/maps/common/migrations/set_default_auto_fit_to_bounds.test.tsx b/x-pack/platform/plugins/shared/maps/common/migrations/set_default_auto_fit_to_bounds.test.tsx similarity index 100% rename from x-pack/plugins/maps/common/migrations/set_default_auto_fit_to_bounds.test.tsx rename to x-pack/platform/plugins/shared/maps/common/migrations/set_default_auto_fit_to_bounds.test.tsx diff --git a/x-pack/plugins/maps/common/migrations/set_default_auto_fit_to_bounds.ts b/x-pack/platform/plugins/shared/maps/common/migrations/set_default_auto_fit_to_bounds.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/set_default_auto_fit_to_bounds.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/set_default_auto_fit_to_bounds.ts diff --git a/x-pack/plugins/maps/common/migrations/set_ems_tms_default_modes.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/set_ems_tms_default_modes.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/set_ems_tms_default_modes.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/set_ems_tms_default_modes.test.ts diff --git a/x-pack/plugins/maps/common/migrations/set_ems_tms_default_modes.ts b/x-pack/platform/plugins/shared/maps/common/migrations/set_ems_tms_default_modes.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/set_ems_tms_default_modes.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/set_ems_tms_default_modes.ts diff --git a/x-pack/plugins/maps/common/migrations/top_hits_time_to_sort.js b/x-pack/platform/plugins/shared/maps/common/migrations/top_hits_time_to_sort.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/top_hits_time_to_sort.js rename to x-pack/platform/plugins/shared/maps/common/migrations/top_hits_time_to_sort.js diff --git a/x-pack/plugins/maps/common/migrations/top_hits_time_to_sort.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/top_hits_time_to_sort.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/top_hits_time_to_sort.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/top_hits_time_to_sort.test.js diff --git a/x-pack/plugins/maps/common/mvt_request_body.test.ts b/x-pack/platform/plugins/shared/maps/common/mvt_request_body.test.ts similarity index 100% rename from x-pack/plugins/maps/common/mvt_request_body.test.ts rename to x-pack/platform/plugins/shared/maps/common/mvt_request_body.test.ts diff --git a/x-pack/plugins/maps/common/mvt_request_body.ts b/x-pack/platform/plugins/shared/maps/common/mvt_request_body.ts similarity index 100% rename from x-pack/plugins/maps/common/mvt_request_body.ts rename to x-pack/platform/plugins/shared/maps/common/mvt_request_body.ts diff --git a/x-pack/plugins/maps/common/parse_xml_string.test.ts b/x-pack/platform/plugins/shared/maps/common/parse_xml_string.test.ts similarity index 100% rename from x-pack/plugins/maps/common/parse_xml_string.test.ts rename to x-pack/platform/plugins/shared/maps/common/parse_xml_string.test.ts diff --git a/x-pack/plugins/maps/common/parse_xml_string.ts b/x-pack/platform/plugins/shared/maps/common/parse_xml_string.ts similarity index 100% rename from x-pack/plugins/maps/common/parse_xml_string.ts rename to x-pack/platform/plugins/shared/maps/common/parse_xml_string.ts diff --git a/x-pack/plugins/maps/common/telemetry/index.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/index.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/index.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/index.ts diff --git a/x-pack/plugins/maps/common/telemetry/layer_stats_collector.test.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/layer_stats_collector.test.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/layer_stats_collector.test.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/layer_stats_collector.test.ts diff --git a/x-pack/plugins/maps/common/telemetry/layer_stats_collector.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/layer_stats_collector.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/layer_stats_collector.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/layer_stats_collector.ts diff --git a/x-pack/plugins/maps/common/telemetry/map_settings_collector.test.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/map_settings_collector.test.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/map_settings_collector.test.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/map_settings_collector.test.ts diff --git a/x-pack/plugins/maps/common/telemetry/map_settings_collector.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/map_settings_collector.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/map_settings_collector.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/map_settings_collector.ts diff --git a/x-pack/plugins/maps/common/telemetry/test_resources/sample_map_saved_objects.json b/x-pack/platform/plugins/shared/maps/common/telemetry/test_resources/sample_map_saved_objects.json similarity index 100% rename from x-pack/plugins/maps/common/telemetry/test_resources/sample_map_saved_objects.json rename to x-pack/platform/plugins/shared/maps/common/telemetry/test_resources/sample_map_saved_objects.json diff --git a/x-pack/plugins/maps/common/telemetry/types.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/types.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/types.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/types.ts diff --git a/x-pack/plugins/maps/common/types.ts b/x-pack/platform/plugins/shared/maps/common/types.ts similarity index 100% rename from x-pack/plugins/maps/common/types.ts rename to x-pack/platform/plugins/shared/maps/common/types.ts diff --git a/x-pack/plugins/maps/jest.config.js b/x-pack/platform/plugins/shared/maps/jest.config.js similarity index 62% rename from x-pack/plugins/maps/jest.config.js rename to x-pack/platform/plugins/shared/maps/jest.config.js index c9bd7bf4cd0d4..cba35de1cd53b 100644 --- a/x-pack/plugins/maps/jest.config.js +++ b/x-pack/platform/plugins/shared/maps/jest.config.js @@ -7,9 +7,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/maps'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/maps', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/maps'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/maps', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/maps/{common,public,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: ['/x-pack/platform/plugins/shared/maps/{common,public,server}/**/*.{js,ts,tsx}'], }; diff --git a/x-pack/plugins/maps/kibana.jsonc b/x-pack/platform/plugins/shared/maps/kibana.jsonc similarity index 100% rename from x-pack/plugins/maps/kibana.jsonc rename to x-pack/platform/plugins/shared/maps/kibana.jsonc diff --git a/x-pack/plugins/maps/public/_animations.scss b/x-pack/platform/plugins/shared/maps/public/_animations.scss similarity index 100% rename from x-pack/plugins/maps/public/_animations.scss rename to x-pack/platform/plugins/shared/maps/public/_animations.scss diff --git a/x-pack/plugins/maps/public/_index.scss b/x-pack/platform/plugins/shared/maps/public/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/_index.scss rename to x-pack/platform/plugins/shared/maps/public/_index.scss diff --git a/x-pack/plugins/maps/public/_main.scss b/x-pack/platform/plugins/shared/maps/public/_main.scss similarity index 87% rename from x-pack/plugins/maps/public/_main.scss rename to x-pack/platform/plugins/shared/maps/public/_main.scss index 02298872d4f7d..3089ed516ca34 100644 --- a/x-pack/plugins/maps/public/_main.scss +++ b/x-pack/platform/plugins/shared/maps/public/_main.scss @@ -1,4 +1,4 @@ -@import '../../../../src/core/public/mixins'; +@import '../../../../../../src/core/public/mixins'; // sass-lint:disable no-ids #maps-plugin { diff --git a/x-pack/plugins/maps/public/_mapbox_hacks.scss b/x-pack/platform/plugins/shared/maps/public/_mapbox_hacks.scss similarity index 100% rename from x-pack/plugins/maps/public/_mapbox_hacks.scss rename to x-pack/platform/plugins/shared/maps/public/_mapbox_hacks.scss diff --git a/x-pack/plugins/maps/public/_mixins.scss b/x-pack/platform/plugins/shared/maps/public/_mixins.scss similarity index 100% rename from x-pack/plugins/maps/public/_mixins.scss rename to x-pack/platform/plugins/shared/maps/public/_mixins.scss diff --git a/x-pack/plugins/maps/public/actions/data_request_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/data_request_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/data_request_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/data_request_actions.ts diff --git a/x-pack/plugins/maps/public/actions/get_layers_extent.tsx b/x-pack/platform/plugins/shared/maps/public/actions/get_layers_extent.tsx similarity index 100% rename from x-pack/plugins/maps/public/actions/get_layers_extent.tsx rename to x-pack/platform/plugins/shared/maps/public/actions/get_layers_extent.tsx diff --git a/x-pack/plugins/maps/public/actions/index.ts b/x-pack/platform/plugins/shared/maps/public/actions/index.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/index.ts rename to x-pack/platform/plugins/shared/maps/public/actions/index.ts diff --git a/x-pack/plugins/maps/public/actions/layer_actions.test.ts b/x-pack/platform/plugins/shared/maps/public/actions/layer_actions.test.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/layer_actions.test.ts rename to x-pack/platform/plugins/shared/maps/public/actions/layer_actions.test.ts diff --git a/x-pack/plugins/maps/public/actions/layer_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/layer_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/layer_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/layer_actions.ts diff --git a/x-pack/plugins/maps/public/actions/map_action_constants.ts b/x-pack/platform/plugins/shared/maps/public/actions/map_action_constants.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/map_action_constants.ts rename to x-pack/platform/plugins/shared/maps/public/actions/map_action_constants.ts diff --git a/x-pack/plugins/maps/public/actions/map_actions.test.ts b/x-pack/platform/plugins/shared/maps/public/actions/map_actions.test.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/map_actions.test.ts rename to x-pack/platform/plugins/shared/maps/public/actions/map_actions.test.ts diff --git a/x-pack/plugins/maps/public/actions/map_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/map_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/map_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/map_actions.ts diff --git a/x-pack/plugins/maps/public/actions/tooltip_actions.test.ts b/x-pack/platform/plugins/shared/maps/public/actions/tooltip_actions.test.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/tooltip_actions.test.ts rename to x-pack/platform/plugins/shared/maps/public/actions/tooltip_actions.test.ts diff --git a/x-pack/plugins/maps/public/actions/tooltip_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/tooltip_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/tooltip_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/tooltip_actions.ts diff --git a/x-pack/plugins/maps/public/actions/ui_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/ui_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/ui_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/ui_actions.ts diff --git a/x-pack/plugins/maps/public/api/create_layer_descriptors.ts b/x-pack/platform/plugins/shared/maps/public/api/create_layer_descriptors.ts similarity index 100% rename from x-pack/plugins/maps/public/api/create_layer_descriptors.ts rename to x-pack/platform/plugins/shared/maps/public/api/create_layer_descriptors.ts diff --git a/x-pack/plugins/maps/public/api/ems.ts b/x-pack/platform/plugins/shared/maps/public/api/ems.ts similarity index 100% rename from x-pack/plugins/maps/public/api/ems.ts rename to x-pack/platform/plugins/shared/maps/public/api/ems.ts diff --git a/x-pack/plugins/maps/public/api/index.ts b/x-pack/platform/plugins/shared/maps/public/api/index.ts similarity index 100% rename from x-pack/plugins/maps/public/api/index.ts rename to x-pack/platform/plugins/shared/maps/public/api/index.ts diff --git a/x-pack/plugins/maps/public/api/setup_api.ts b/x-pack/platform/plugins/shared/maps/public/api/setup_api.ts similarity index 100% rename from x-pack/plugins/maps/public/api/setup_api.ts rename to x-pack/platform/plugins/shared/maps/public/api/setup_api.ts diff --git a/x-pack/plugins/maps/public/api/start_api.ts b/x-pack/platform/plugins/shared/maps/public/api/start_api.ts similarity index 100% rename from x-pack/plugins/maps/public/api/start_api.ts rename to x-pack/platform/plugins/shared/maps/public/api/start_api.ts diff --git a/x-pack/plugins/maps/public/assets/boundaries_screenshot.png b/x-pack/platform/plugins/shared/maps/public/assets/boundaries_screenshot.png similarity index 100% rename from x-pack/plugins/maps/public/assets/boundaries_screenshot.png rename to x-pack/platform/plugins/shared/maps/public/assets/boundaries_screenshot.png diff --git a/x-pack/plugins/maps/public/assets/gdal_logo.svg b/x-pack/platform/plugins/shared/maps/public/assets/gdal_logo.svg similarity index 100% rename from x-pack/plugins/maps/public/assets/gdal_logo.svg rename to x-pack/platform/plugins/shared/maps/public/assets/gdal_logo.svg diff --git a/x-pack/plugins/maps/public/classes/_index.scss b/x-pack/platform/plugins/shared/maps/public/classes/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/_index.scss rename to x-pack/platform/plugins/shared/maps/public/classes/_index.scss diff --git a/x-pack/plugins/maps/public/classes/fields/agg/agg_field.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/agg_field.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field.test.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field_types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field_types.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/count_agg_field.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/count_agg_field.test.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/count_agg_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/count_agg_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/es_agg_factory.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/es_agg_factory.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/es_agg_factory.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/es_agg_factory.test.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/es_agg_factory.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/es_agg_factory.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/es_agg_factory.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/es_agg_factory.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/index.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/percentile_agg_field.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/percentile_agg_field.test.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/percentile_agg_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/percentile_agg_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/top_term_percentage_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/top_term_percentage_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/top_term_percentage_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/top_term_percentage_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/ems_file_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/ems_file_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/ems_file_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/ems_file_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/es_doc_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/es_doc_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/es_doc_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/inline_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/inline_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/inline_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/inline_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/mvt_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/mvt_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/mvt_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/mvt_field.ts diff --git a/x-pack/plugins/maps/public/classes/joins/inner_join.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/joins/inner_join.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/joins/inner_join.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/joins/inner_join.test.ts diff --git a/x-pack/plugins/maps/public/classes/joins/inner_join.ts b/x-pack/platform/plugins/shared/maps/public/classes/joins/inner_join.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/joins/inner_join.ts rename to x-pack/platform/plugins/shared/maps/public/classes/joins/inner_join.ts diff --git a/x-pack/plugins/maps/public/classes/joins/is_spatial_join.ts b/x-pack/platform/plugins/shared/maps/public/classes/joins/is_spatial_join.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/joins/is_spatial_join.ts rename to x-pack/platform/plugins/shared/maps/public/classes/joins/is_spatial_join.ts diff --git a/x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_sync_context.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/__fixtures__/mock_sync_context.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_sync_context.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/__fixtures__/mock_sync_context.ts diff --git a/x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_vector_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/__fixtures__/mock_vector_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_vector_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/__fixtures__/mock_vector_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/_index.scss b/x-pack/platform/plugins/shared/maps/public/classes/layers/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/_index.scss rename to x-pack/platform/plugins/shared/maps/public/classes/layers/_index.scss diff --git a/x-pack/plugins/maps/public/classes/layers/_layers.scss b/x-pack/platform/plugins/shared/maps/public/classes/layers/_layers.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/_layers.scss rename to x-pack/platform/plugins/shared/maps/public/classes/layers/_layers.scss diff --git a/x-pack/plugins/maps/public/classes/layers/build_vector_request_meta.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/build_vector_request_meta.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/build_vector_request_meta.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/build_vector_request_meta.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_basemap_layer_descriptor.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_basemap_layer_descriptor.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_basemap_layer_descriptor.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_basemap_layer_descriptor.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_basemap_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_basemap_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_basemap_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_basemap_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_region_map_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_region_map_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_region_map_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_region_map_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_tile_map_layer_descriptor.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_tile_map_layer_descriptor.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_tile_map_layer_descriptor.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_tile_map_layer_descriptor.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_tile_map_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_tile_map_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_tile_map_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_tile_map_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/image_utils.js b/x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/image_utils.js similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/image_utils.js rename to x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/image_utils.js diff --git a/x-pack/plugins/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/heatmap_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/heatmap_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/heatmap_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/heatmap_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/invalid_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/invalid_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/invalid_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/invalid_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/layer.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/layer_group/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer_group/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/layer_group.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/layer_group.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/layer_group.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/layer_group.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/tile_errors_list.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/tile_errors_list.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/tile_errors_list.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/tile_errors_list.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/bounds_data.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/bounds_data.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/bounds_data.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/bounds_data.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_source_data.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_source_data.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_source_data.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_source_data.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mask.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mask.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mask.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mask.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/__snapshots__/mvt_vector_layer.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/__snapshots__/mvt_vector_layer.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/__snapshots__/mvt_vector_layer.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/__snapshots__/mvt_vector_layer.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/types.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/types.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/vector_layer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/vector_layer.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/vector_layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/vector_layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/choropleth_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/choropleth_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/choropleth_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/choropleth_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/config.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/config.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/config.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/config.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/cloropleth_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/cloropleth_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/cloropleth_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/cloropleth_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/clusters_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/clusters_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/clusters_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/clusters_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/documents_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/documents_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/documents_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/documents_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/draw_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/draw_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/draw_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/draw_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/ems_boundaries_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/ems_boundaries_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/ems_boundaries_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/ems_boundaries_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/heatmap_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/heatmap_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/heatmap_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/heatmap_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/point_2_point_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/point_2_point_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/point_2_point_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/point_2_point_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/spatial_join_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/spatial_join_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/spatial_join_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/spatial_join_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/top_hits_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/top_hits_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/top_hits_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/top_hits_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/tracks_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/tracks_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/tracks_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/tracks_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/vector_tile_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/vector_tile_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/vector_tile_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/vector_tile_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/web_map_service_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/web_map_service_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/web_map_service_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/web_map_service_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/world_map_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/world_map_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/world_map_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/world_map_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/load_layer_wizards.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/load_layer_wizards.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/load_layer_wizards.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/load_layer_wizards.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/config.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/config.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/config.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/config.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/create_new_index_pattern.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/create_new_index_pattern.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/create_new_index_pattern.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/create_new_index_pattern.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/display_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/display_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/display_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/display_select.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/layer_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/layer_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/layer_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/layer_select.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/metric_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/metric_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/metric_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/metric_select.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_template.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_template.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_template.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_template.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/index_pattern_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/index_pattern_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/index_pattern_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/index_pattern_select.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_layer_template.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_layer_template.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_layer_template.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_layer_template.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/spatial_join_wizard_config.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/spatial_join_wizard_config.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/spatial_join_wizard_config.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/spatial_join_wizard_config.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/create_spatial_join_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/create_spatial_join_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/create_spatial_join_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/create_spatial_join_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/distance_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/distance_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/distance_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/distance_form.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/left_source_panel.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/left_source_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/left_source_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/left_source_panel.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/relationship_expression.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/relationship_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/relationship_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/relationship_expression.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/right_source_panel.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/right_source_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/right_source_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/right_source_panel.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/wizard_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/wizard_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/wizard_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/wizard_form.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/create_source_instance.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/create_source_instance.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/create_source_instance.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/create_source_instance.ts diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_boundaries_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_boundaries_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_boundaries_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_boundaries_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_file_source.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_file_source.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_file_source.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_file_source.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_file_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_file_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_file_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_file_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/ems_base_map_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/ems_base_map_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/ems_base_map_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/ems_base_map_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/ems_tms_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/ems_tms_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/ems_tms_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/ems_tms_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/tile_service_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/tile_service_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/tile_service_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/tile_service_select.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/es_agg_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/es_agg_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/get_agg_display_name.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/get_agg_display_name.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/get_agg_display_name.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/get_agg_display_name.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/types.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/types.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/__snapshots__/resolution_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/__snapshots__/resolution_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/__snapshots__/resolution_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/__snapshots__/resolution_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/__snapshots__/update_source_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/__snapshots__/update_source_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/__snapshots__/update_source_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/__snapshots__/update_source_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/clusters_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/clusters_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/clusters_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/clusters_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.d.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.d.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.d.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.d.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.js diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/create_source_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/create_source_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/get_icon_size.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/get_icon_size.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/get_icon_size.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/get_icon_size.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/heatmap_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/heatmap_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/heatmap_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/heatmap_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/is_mvt.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/is_mvt.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/is_mvt.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/is_mvt.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/i18n_constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/i18n_constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/i18n_constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/i18n_constants.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/render_as_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/render_as_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/render_as_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/render_as_select.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/show_as_label.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/show_as_label.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/show_as_label.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/show_as_label.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/resolution_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/resolution_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/resolution_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/resolution_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/resolution_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/resolution_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/resolution_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/resolution_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/update_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/update_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/constants.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/geo_line_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/geo_line_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/geo_line_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/geo_line_form.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_button_group.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_button_group.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_button_group.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_button_group.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_label.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_label.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_label.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_label.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/i18n_constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/i18n_constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/i18n_constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/i18n_constants.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/size_slider.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/size_slider.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/size_slider.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/size_slider.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/create_source_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/create_source_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/es_pew_pew_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/es_pew_pew_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/es_pew_pew_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/es_pew_pew_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/point_2_point_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/point_2_point_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/point_2_point_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/point_2_point_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/constants.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.test.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/update_source_editor.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/update_source_editor.test.js diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/feature_edit.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/feature_edit.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/feature_edit.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/feature_edit.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/load_index_settings.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/load_index_settings.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/load_index_settings.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/load_index_settings.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/es_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/es_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_source/types.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_source/types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/types.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/convert_to_geojson.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/convert_to_geojson.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/convert_to_geojson.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/convert_to_geojson.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/convert_to_geojson.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/convert_to_geojson.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/convert_to_geojson.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/convert_to_geojson.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/create_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/create_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_utils.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/narrow_by_field.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/narrow_by_field.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/narrow_by_field.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/narrow_by_field.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/update_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/update_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/execution_context_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/execution_context_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/execution_context_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/execution_context_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/execution_context_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/execution_context_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/execution_context_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/execution_context_utils.ts diff --git a/x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/geojson_file_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/geojson_file_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/es_distance_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/es_distance_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/es_distance_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/es_distance_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/es_term_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/es_term_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/es_term_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/es_term_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/es_term_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/es_term_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/es_term_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/es_term_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/is_term_source_complete.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/is_term_source_complete.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/is_term_source_complete.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/is_term_source_complete.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/i18n_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/i18n_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/i18n_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/i18n_utils.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/is_spatial_source_complete.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/is_spatial_source_complete.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/is_spatial_source_complete.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/is_spatial_source_complete.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/table_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/table_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/table_source/table_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/table_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/table_source/table_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/table_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/table_source/table_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/table_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/table_source/table_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/table_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/types.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/types.ts diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/create_source_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/create_source_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.ts diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/index.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/index.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/index.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/index.js diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_base_map_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/kibana_base_map_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_base_map_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/kibana_base_map_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_field_config_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_field_config_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_field_config_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_field_config_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_vector_source_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_vector_source_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_vector_source_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_vector_source_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/update_source_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/update_source_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/update_source_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/update_source_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/raster_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/raster_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/setup_sources.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/setup_sources.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/setup_sources.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/setup_sources.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/setup_sources.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/setup_sources.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/setup_sources.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/setup_sources.ts diff --git a/x-pack/plugins/maps/public/classes/sources/source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/source_registry.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/source_registry.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/source_registry.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/source_registry.ts diff --git a/x-pack/plugins/maps/public/classes/sources/tms_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/tms_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/tms_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/tms_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/vector_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/vector_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/vector_source/mvt_vector_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/mvt_vector_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/vector_source/mvt_vector_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/mvt_vector_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/index.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/index.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/index.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/index.js diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_client.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_client.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_client.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_client.js diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_client.test.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_client.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_client.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_client.test.js diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_create_source_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_create_source_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_create_source_editor.js diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/__snapshots__/xyz_tms_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/__snapshots__/xyz_tms_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/__snapshots__/xyz_tms_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/__snapshots__/xyz_tms_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/_index.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/_index.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/_index.scss diff --git a/x-pack/plugins/maps/public/classes/styles/color_palettes.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/color_palettes.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/color_palettes.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/color_palettes.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/color_palettes.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/color_palettes.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/color_palettes.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/color_palettes.ts diff --git a/x-pack/plugins/maps/public/classes/styles/components/ranged_style_legend_row.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/components/ranged_style_legend_row.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/components/ranged_style_legend_row.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/components/ranged_style_legend_row.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/ems/components/__snapshots__/ems_vector_tile_style_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/__snapshots__/ems_vector_tile_style_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/ems/components/__snapshots__/ems_vector_tile_style_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/__snapshots__/ems_vector_tile_style_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/ems/ems_vector_tile_style.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/ems/ems_vector_tile_style.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/ems/ems_vector_tile_style.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/ems/ems_vector_tile_style.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/__snapshots__/heatmap_style_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/__snapshots__/heatmap_style_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/__snapshots__/heatmap_style_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/__snapshots__/heatmap_style_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_constants.ts diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_style_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_style_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_style_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_style_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_style_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_style_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_style_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_style_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/_color_gradient.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/_color_gradient.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/_color_gradient.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/_color_gradient.scss diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/color_gradient.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/color_gradient.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/color_gradient.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/color_gradient.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/heatmap_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/heatmap_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/heatmap_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/heatmap_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/heatmap_style.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/heatmap_style.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/heatmap_style.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/heatmap_style.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/style.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/style.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/style.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/style.ts diff --git a/x-pack/plugins/maps/public/classes/styles/tile/tile_style.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/tile/tile_style.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/tile/tile_style.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/tile/tile_style.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/__snapshots__/symbol_utils.test.ts.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/__snapshots__/symbol_utils.test.ts.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/__snapshots__/symbol_utils.test.ts.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/__snapshots__/symbol_utils.test.ts.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/__snapshots__/vector_style_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/__snapshots__/vector_style_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/__snapshots__/vector_style_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/__snapshots__/vector_style_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/_style_prop_editor.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/_style_prop_editor.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/_style_prop_editor.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/_style_prop_editor.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/_color_stops.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/_color_stops.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/_color_stops.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/_color_stops.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_map_select.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_map_select.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_map_select.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_map_select.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_categorical.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_categorical.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_categorical.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_categorical.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_ordinal.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_ordinal.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_ordinal.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_ordinal.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_utils.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_utils.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_utils.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_utils.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/dynamic_color_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/dynamic_color_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/dynamic_color_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/dynamic_color_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/mb_validated_color_picker.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/mb_validated_color_picker.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/mb_validated_color_picker.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/mb_validated_color_picker.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/other_category_color_picker.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/other_category_color_picker.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/other_category_color_picker.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/other_category_color_picker.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/static_color_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/static_color_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/static_color_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/static_color_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/vector_style_color_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/vector_style_color_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/vector_style_color_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/vector_style_color_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/categorical_data_mapping_popover.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/categorical_data_mapping_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/categorical_data_mapping_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/categorical_data_mapping_popover.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/data_mapping_popover.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/data_mapping_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/data_mapping_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/data_mapping_popover.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/index.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/ordinal_data_mapping_popover.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/ordinal_data_mapping_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/ordinal_data_mapping_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/ordinal_data_mapping_popover.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/percentiles_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/percentiles_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/percentiles_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/percentiles_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/field_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/field_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/field_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/field_select.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/get_vector_style_label.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/get_vector_style_label.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/get_vector_style_label.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/get_vector_style_label.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/dynamic_label_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/dynamic_label_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/dynamic_label_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/dynamic_label_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/label_position_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_position_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/label_position_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_position_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/label_position_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_position_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/label_position_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_position_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/label_zoom_range_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_zoom_range_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/label_zoom_range_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_zoom_range_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/static_label_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/static_label_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/static_label_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/static_label_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/vector_style_label_border_size_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/vector_style_label_border_size_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/vector_style_label_border_size_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/vector_style_label_border_size_editor.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/vector_style_label_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/vector_style_label_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/vector_style_label_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/vector_style_label_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/__snapshots__/vector_icon.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/__snapshots__/vector_icon.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/__snapshots__/vector_icon.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/__snapshots__/vector_icon.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/_category.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/_category.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/_category.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/_category.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/_vector_legend.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/_vector_legend.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/_vector_legend.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/_vector_legend.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/breaked_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/breaked_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/breaked_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/breaked_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/category.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/category.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/category.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/category.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/circle_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/circle_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/circle_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/circle_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/line_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/line_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/line_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/line_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/mask_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/mask_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/mask_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/mask_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/polygon_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/polygon_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/polygon_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/polygon_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/right_aligned_text.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/right_aligned_text.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/right_aligned_text.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/right_aligned_text.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/__snapshots__/ordinal_legend.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/ordinal_legend.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/__snapshots__/ordinal_legend.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/ordinal_legend.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/get_ordinal_label.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/get_ordinal_label.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/get_ordinal_label.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/get_ordinal_label.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/index.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_list.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_list.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_list.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_list.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/style_error.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/style_error.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/style_error.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/style_error.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/symbol_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/symbol_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/symbol_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/symbol_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_icon.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_icon.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_icon.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_icon.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_style_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_style_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_style_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_style_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/orientation/dynamic_orientation_form.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/dynamic_orientation_form.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/orientation/dynamic_orientation_form.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/dynamic_orientation_form.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/orientation/orientation_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/orientation_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/orientation/orientation_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/orientation_editor.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/orientation/static_orientation_form.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/static_orientation_form.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/orientation/static_orientation_form.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/static_orientation_form.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/row_action_buttons.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/row_action_buttons.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/row_action_buttons.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/row_action_buttons.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/size/dynamic_size_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/dynamic_size_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/size/dynamic_size_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/dynamic_size_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/size/size_range_selector.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/size_range_selector.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/size/size_range_selector.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/size_range_selector.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/size/static_size_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/static_size_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/size/static_size_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/static_size_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/size/vector_style_size_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/vector_style_size_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/size/vector_style_size_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/vector_style_size_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/stop_input.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/stop_input.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/stop_input.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/stop_input.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/style_option_shapes.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/style_option_shapes.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/style_option_shapes.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/style_option_shapes.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/style_prop_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/style_prop_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/style_prop_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/style_prop_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/custom_icon_modal.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/custom_icon_modal.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/custom_icon_modal.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/custom_icon_modal.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_map_select.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_map_select.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_map_select.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_map_select.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_custom_icon_modal.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_custom_icon_modal.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_custom_icon_modal.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_custom_icon_modal.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_icon_preview.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_icon_preview.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_icon_preview.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_icon_preview.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_icon_select.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_icon_select.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_icon_select.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_icon_select.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/dynamic_icon_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/dynamic_icon_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/dynamic_icon_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/dynamic_icon_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_map_select.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_map_select.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_map_select.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_map_select.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_map_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_map_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_map_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_map_select.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_preview.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_preview.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_preview.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_preview.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_select.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_select.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_select.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_select.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_select.test.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_select.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_select.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_select.test.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_stops.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_stops.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_stops.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_stops.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_stops.test.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_stops.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_stops.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_stops.test.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/static_icon_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/static_icon_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/static_icon_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/static_icon_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/vector_style_icon_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/vector_style_icon_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/vector_style_icon_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/vector_style_icon_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/vector_style_symbolize_as_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/vector_style_symbolize_as_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/vector_style_symbolize_as_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/vector_style_symbolize_as_editor.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/vector_style_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/vector_style_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/vector_style_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/vector_style_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/maki_icons.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/maki_icons.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/maki_icons.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/maki_icons.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_color_property.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_color_property.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_color_property.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_color_property.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_color_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_color_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_color_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_color_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_icon_property.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_icon_property.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_icon_property.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_icon_property.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_icon_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_icon_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_icon_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_icon_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/__snapshots__/dynamic_size_property.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/__snapshots__/dynamic_size_property.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/__snapshots__/dynamic_size_property.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/__snapshots__/dynamic_size_property.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/icon_size.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/icon_size.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/icon_size.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/icon_size.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/index.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/line_width.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/line_width.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/line_width.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/line_width.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_style_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_style_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_text_property.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_text_property.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_text_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_text_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/label_border_size_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_border_size_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/label_border_size_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_border_size_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/label_position_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_position_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/label_position_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_position_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/label_position_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_position_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/label_position_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_position_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/label_zoom_range_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_zoom_range_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/label_zoom_range_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_zoom_range_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_color_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_color_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_color_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_color_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_icon_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_icon_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_icon_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_icon_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_orientation_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_orientation_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_orientation_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_orientation_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_size_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_size_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_size_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_size_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_style_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_style_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_style_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_style_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_text_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_text_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_text_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_text_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_text_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_text_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_text_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_text_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/style_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/style_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/style_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/style_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/symbolize_as_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/symbolize_as_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/symbolize_as_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/symbolize_as_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/test_helpers/test_util.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/test_helpers/test_util.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/test_helpers/test_util.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/test_helpers/test_util.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_fields_helper.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_fields_helper.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_fields_helper.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_fields_helper.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_fields_helper.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_fields_helper.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_fields_helper.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_fields_helper.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_meta.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_meta.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_meta.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_meta.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_util.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_util.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_util.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_util.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_util.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_util.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_util.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_util.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/symbol_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/symbol_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/symbol_utils.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/symbol_utils.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/vector_style.test.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/vector_style.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style.test.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/vector_style.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/vector_style.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style_defaults.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style_defaults.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style_defaults.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style_defaults.ts diff --git a/x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_agg_tooltip_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_agg_tooltip_property.ts diff --git a/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.tsx diff --git a/x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/index.ts diff --git a/x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/term_join_key_label.tsx b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/term_join_key_label.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/term_join_key_label.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/term_join_key_label.tsx diff --git a/x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/term_join_tooltip_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/term_join_tooltip_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/term_join_tooltip_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/term_join_tooltip_property.tsx diff --git a/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts diff --git a/x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/can_skip_fetch.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/can_skip_fetch.test.ts diff --git a/x-pack/plugins/maps/public/classes/util/can_skip_fetch.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/can_skip_fetch.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/can_skip_fetch.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/can_skip_fetch.ts diff --git a/x-pack/plugins/maps/public/classes/util/data_request.tsx b/x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/util/data_request.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx diff --git a/x-pack/plugins/maps/public/classes/util/geo_tile_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/geo_tile_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/geo_tile_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/geo_tile_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/util/geo_tile_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/geo_tile_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/geo_tile_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/geo_tile_utils.ts diff --git a/x-pack/plugins/maps/public/classes/util/get_feature_collection_bounds.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/util/get_feature_collection_bounds.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/util/get_feature_collection_bounds.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/util/get_feature_collection_bounds.test.tsx diff --git a/x-pack/plugins/maps/public/classes/util/get_feature_collection_bounds.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/get_feature_collection_bounds.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/get_feature_collection_bounds.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/get_feature_collection_bounds.ts diff --git a/x-pack/plugins/maps/public/classes/util/is_metric_countable.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/is_metric_countable.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/is_metric_countable.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/is_metric_countable.ts diff --git a/x-pack/plugins/maps/public/classes/util/maplibre_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/maplibre_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/maplibre_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/maplibre_utils.ts diff --git a/x-pack/plugins/maps/public/classes/util/mb_filter_expressions.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/mb_filter_expressions.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/mb_filter_expressions.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/mb_filter_expressions.ts diff --git a/x-pack/plugins/maps/public/classes/util/ordinal_suffix.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/ordinal_suffix.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/ordinal_suffix.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/ordinal_suffix.ts diff --git a/x-pack/plugins/maps/public/classes/util/tile_meta_feature_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/tile_meta_feature_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/tile_meta_feature_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/tile_meta_feature_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/util/tile_meta_feature_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/tile_meta_feature_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/tile_meta_feature_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/tile_meta_feature_utils.ts diff --git a/x-pack/plugins/maps/public/classes/util/valid_string_config.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/valid_string_config.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/valid_string_config.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/valid_string_config.ts diff --git a/x-pack/plugins/maps/public/components/__snapshots__/geo_index_pattern_select.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/__snapshots__/geo_index_pattern_select.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/__snapshots__/geo_index_pattern_select.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/__snapshots__/geo_index_pattern_select.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/__snapshots__/validated_number_input.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/__snapshots__/validated_number_input.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/__snapshots__/validated_number_input.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/__snapshots__/validated_number_input.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/__snapshots__/validated_range.test.js.snap b/x-pack/platform/plugins/shared/maps/public/components/__snapshots__/validated_range.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/components/__snapshots__/validated_range.test.js.snap rename to x-pack/platform/plugins/shared/maps/public/components/__snapshots__/validated_range.test.js.snap diff --git a/x-pack/plugins/maps/public/components/_action_select.scss b/x-pack/platform/plugins/shared/maps/public/components/_action_select.scss similarity index 100% rename from x-pack/plugins/maps/public/components/_action_select.scss rename to x-pack/platform/plugins/shared/maps/public/components/_action_select.scss diff --git a/x-pack/plugins/maps/public/components/_index.scss b/x-pack/platform/plugins/shared/maps/public/components/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/components/_index.scss rename to x-pack/platform/plugins/shared/maps/public/components/_index.scss diff --git a/x-pack/plugins/maps/public/components/action_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/action_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/action_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/action_select.tsx diff --git a/x-pack/plugins/maps/public/components/alpha_slider.tsx b/x-pack/platform/plugins/shared/maps/public/components/alpha_slider.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/alpha_slider.tsx rename to x-pack/platform/plugins/shared/maps/public/components/alpha_slider.tsx diff --git a/x-pack/plugins/maps/public/components/draw_forms/distance_filter_form.tsx b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/distance_filter_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/distance_filter_form.tsx rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/distance_filter_form.tsx diff --git a/x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/__snapshots__/geometry_filter_form.test.js.snap b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/__snapshots__/geometry_filter_form.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/__snapshots__/geometry_filter_form.test.js.snap rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/__snapshots__/geometry_filter_form.test.js.snap diff --git a/x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/_geometry_filter.scss b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/_geometry_filter.scss similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/_geometry_filter.scss rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/_geometry_filter.scss diff --git a/x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.test.js b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.test.js similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.test.js rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.test.js diff --git a/x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.tsx b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.tsx rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.tsx diff --git a/x-pack/plugins/maps/public/components/ems_file_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/ems_file_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/ems_file_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/ems_file_select.tsx diff --git a/x-pack/plugins/maps/public/components/ems_unavailable_message.tsx b/x-pack/platform/plugins/shared/maps/public/components/ems_unavailable_message.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/ems_unavailable_message.tsx rename to x-pack/platform/plugins/shared/maps/public/components/ems_unavailable_message.tsx diff --git a/x-pack/plugins/maps/public/components/force_refresh_checkbox.tsx b/x-pack/platform/plugins/shared/maps/public/components/force_refresh_checkbox.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/force_refresh_checkbox.tsx rename to x-pack/platform/plugins/shared/maps/public/components/force_refresh_checkbox.tsx diff --git a/x-pack/plugins/maps/public/components/geo_field_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/geo_field_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/geo_field_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/geo_field_select.tsx diff --git a/x-pack/plugins/maps/public/components/geo_index_pattern_select.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/geo_index_pattern_select.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/geo_index_pattern_select.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/geo_index_pattern_select.test.tsx diff --git a/x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/geo_index_pattern_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/geo_index_pattern_select.tsx diff --git a/x-pack/plugins/maps/public/components/global_filter_checkbox.tsx b/x-pack/platform/plugins/shared/maps/public/components/global_filter_checkbox.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/global_filter_checkbox.tsx rename to x-pack/platform/plugins/shared/maps/public/components/global_filter_checkbox.tsx diff --git a/x-pack/plugins/maps/public/components/global_time_checkbox.tsx b/x-pack/platform/plugins/shared/maps/public/components/global_time_checkbox.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/global_time_checkbox.tsx rename to x-pack/platform/plugins/shared/maps/public/components/global_time_checkbox.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/__snapshots__/metrics_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/__snapshots__/metrics_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/__snapshots__/metrics_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/__snapshots__/metrics_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/metrics_editor/_metric_editors.scss b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/_metric_editors.scss similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/_metric_editors.scss rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/_metric_editors.scss diff --git a/x-pack/plugins/maps/public/components/metrics_editor/index.ts b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/index.ts similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/index.ts rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/index.ts diff --git a/x-pack/plugins/maps/public/components/metrics_editor/mask_expression/index.ts b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/index.ts similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/mask_expression/index.ts rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/index.ts diff --git a/x-pack/plugins/maps/public/components/metrics_editor/mask_expression/mask_editor.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/mask_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/mask_expression/mask_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/mask_editor.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/mask_expression/mask_expression.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/mask_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/mask_expression/mask_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/mask_expression.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metric_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metric_editor.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/metric_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metric_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/metric_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metric_select.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metrics_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metrics_editor.test.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metrics_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metrics_editor.tsx diff --git a/x-pack/plugins/maps/public/components/remove_layer_confirm_modal.tsx b/x-pack/platform/plugins/shared/maps/public/components/remove_layer_confirm_modal.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/remove_layer_confirm_modal.tsx rename to x-pack/platform/plugins/shared/maps/public/components/remove_layer_confirm_modal.tsx diff --git a/x-pack/plugins/maps/public/components/single_field_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/single_field_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/single_field_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/single_field_select.tsx diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/__snapshots__/add_tooltip_field_popover.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/__snapshots__/add_tooltip_field_popover.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/__snapshots__/add_tooltip_field_popover.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/__snapshots__/add_tooltip_field_popover.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/__snapshots__/tooltip_selector.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/__snapshots__/tooltip_selector.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/__snapshots__/tooltip_selector.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/__snapshots__/tooltip_selector.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/_tooltip_selector.scss b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/_tooltip_selector.scss similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/_tooltip_selector.scss rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/_tooltip_selector.scss diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/add_tooltip_field_popover.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/add_tooltip_field_popover.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/add_tooltip_field_popover.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/add_tooltip_field_popover.test.tsx diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/add_tooltip_field_popover.tsx b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/add_tooltip_field_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/add_tooltip_field_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/add_tooltip_field_popover.tsx diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/index.ts b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/index.ts similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/index.ts rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/index.ts diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/tooltip_selector.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/tooltip_selector.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/tooltip_selector.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/tooltip_selector.test.tsx diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/tooltip_selector.tsx b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/tooltip_selector.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/tooltip_selector.tsx rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/tooltip_selector.tsx diff --git a/x-pack/plugins/maps/public/components/validated_number_input.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/validated_number_input.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/validated_number_input.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/validated_number_input.test.tsx diff --git a/x-pack/plugins/maps/public/components/validated_number_input.tsx b/x-pack/platform/plugins/shared/maps/public/components/validated_number_input.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/validated_number_input.tsx rename to x-pack/platform/plugins/shared/maps/public/components/validated_number_input.tsx diff --git a/x-pack/plugins/maps/public/components/validated_range.js b/x-pack/platform/plugins/shared/maps/public/components/validated_range.js similarity index 100% rename from x-pack/plugins/maps/public/components/validated_range.js rename to x-pack/platform/plugins/shared/maps/public/components/validated_range.js diff --git a/x-pack/plugins/maps/public/components/validated_range.test.js b/x-pack/platform/plugins/shared/maps/public/components/validated_range.test.js similarity index 100% rename from x-pack/plugins/maps/public/components/validated_range.test.js rename to x-pack/platform/plugins/shared/maps/public/components/validated_range.test.js diff --git a/x-pack/plugins/maps/public/connected_components/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/__snapshots__/layer_wizard_select.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/__snapshots__/layer_wizard_select.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/__snapshots__/layer_wizard_select.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/__snapshots__/layer_wizard_select.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/flyout_body.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/flyout_body.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/flyout_body.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/flyout_body.tsx diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.scss diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.tsx diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/view.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/view.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/view.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/view.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/__snapshots__/edit_layer_panel.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/__snapshots__/edit_layer_panel.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/__snapshots__/edit_layer_panel.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/__snapshots__/edit_layer_panel.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/_layer_panel.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/_layer_panel.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/_layer_panel.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/_layer_panel.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/edit_layer_panel.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/edit_layer_panel.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/edit_layer_panel.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/edit_layer_panel.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/edit_layer_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/edit_layer_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/edit_layer_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/edit_layer_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/_filter_editor.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/_filter_editor.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/_filter_editor.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/_filter_editor.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/flyout_footer/flyout_footer.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/flyout_footer/flyout_footer.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/flyout_footer/flyout_footer.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/flyout_footer/flyout_footer.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/flyout_footer/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/flyout_footer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/flyout_footer/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/flyout_footer/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/add_join_button.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/add_join_button.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/add_join_button.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/add_join_button.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/__snapshots__/metrics_expression.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/__snapshots__/metrics_expression.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/__snapshots__/metrics_expression.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/__snapshots__/metrics_expression.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/_join.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/_join.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/_join.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/_join.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_documentation_popover.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_documentation_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_documentation_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_documentation_popover.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_expression.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_expression.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_popover_content.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_popover_content.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_popover_content.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_popover_content.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_expression.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_expression.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_popover_content.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_popover_content.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_popover_content.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_popover_content.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/__snapshots__/attribution_form_row.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/__snapshots__/attribution_form_row.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/__snapshots__/attribution_form_row.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/__snapshots__/attribution_form_row.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_form_row.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_form_row.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_form_row.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_form_row.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_popover.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_popover.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_popover.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_popover.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_popover.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_popover.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/index.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/index.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/index.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/index.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/layer_settings.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/layer_settings.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/layer_settings.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/layer_settings.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/source_details/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/source_details/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/source_details/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/source_details/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/source_details/source_details.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/source_details/source_details.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/source_details/source_details.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/source_details/source_details.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/_style_settings.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/_style_settings.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/_style_settings.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/_style_settings.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/style_settings.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/style_settings.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/style_settings.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/style_settings.tsx diff --git a/x-pack/plugins/maps/public/connected_components/input_strings.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/input_strings.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/input_strings.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/input_strings.ts diff --git a/x-pack/plugins/maps/public/connected_components/map_container/_map_container.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/map_container/_map_container.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_container/_map_container.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_container/_map_container.scss diff --git a/x-pack/plugins/maps/public/connected_components/map_container/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/map_container/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_container/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_container/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_container/map_container.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_container/map_container.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/__snapshots__/custom_icons_panel.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/custom_icons_panel.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/__snapshots__/custom_icons_panel.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/custom_icons_panel.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/custom_icons_panel.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/custom_icons_panel.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/custom_icons_panel.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/custom_icons_panel.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/custom_icons_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/custom_icons_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/custom_icons_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/custom_icons_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/display_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/display_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/display_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/display_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/map_settings_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/map_settings_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/map_settings_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/map_settings_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/spatial_filters_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/spatial_filters_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/spatial_filters_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/spatial_filters_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_circle.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_circle.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_circle.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_circle.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_feature_control/draw_feature_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_feature_control/draw_feature_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_feature_control/draw_feature_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_feature_control/draw_feature_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_feature_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_feature_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_feature_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_feature_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_filter_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_filter_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_tooltip.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_tooltip.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_tooltip.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_tooltip.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/get_initial_view.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/get_initial_view.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/get_initial_view.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/get_initial_view.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/glyphs.test.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/glyphs.test.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/glyphs.test.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/glyphs.test.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/glyphs.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/glyphs.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/glyphs.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/glyphs.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/keydown_scroll_zoom/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/keydown_scroll_zoom/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/keydown_scroll_zoom/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/keydown_scroll_zoom/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/keydown_scroll_zoom/keydown_scroll_zoom.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/keydown_scroll_zoom/keydown_scroll_zoom.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/keydown_scroll_zoom/keydown_scroll_zoom.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/keydown_scroll_zoom/keydown_scroll_zoom.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/mb_map.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/mb_map.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/remove_orphaned.test.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/remove_orphaned.test.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/remove_orphaned.test.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/remove_orphaned.test.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/remove_orphaned.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/remove_orphaned.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/remove_orphaned.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/remove_orphaned.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/__snapshots__/scale_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/__snapshots__/scale_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/__snapshots__/scale_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/__snapshots__/scale_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/scale_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/scale_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/scale_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/scale_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/scale_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/scale_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/scale_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/scale_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/sort_layers.test.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/sort_layers.test.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/sort_layers.test.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/sort_layers.test.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/sort_layers.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/sort_layers.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/sort_layers.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/sort_layers.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_error_cache.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_error_cache.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_error_cache.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_error_cache.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_popover.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_popover.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_popover.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_popover.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/footer.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/footer.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/footer.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/footer.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/header.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/header.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/header.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/header.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/transform_request.test.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/transform_request.test.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/transform_request.test.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/transform_request.test.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/transform_request.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/transform_request.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/transform_request.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/transform_request.ts diff --git a/x-pack/plugins/maps/public/connected_components/panel_strings.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/panel_strings.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/panel_strings.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/panel_strings.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/_mixins.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_mixins.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/_mixins.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_mixins.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/_right_side_controls.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_right_side_controls.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/_right_side_controls.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_right_side_controls.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/__snapshots__/attribution_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/__snapshots__/attribution_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/__snapshots__/attribution_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/__snapshots__/attribution_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/_attribution_control.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/_attribution_control.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/_attribution_control.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/_attribution_control.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/_layer_control.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/_layer_control.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/_layer_control.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/_layer_control.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/expand_button.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/expand_button.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/expand_button.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/expand_button.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/__snapshots__/layer_toc.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/__snapshots__/layer_toc.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/__snapshots__/layer_toc.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/__snapshots__/layer_toc.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/_layer_toc.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/_layer_toc.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/_layer_toc.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/_layer_toc.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/__snapshots__/toc_entry.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/__snapshots__/toc_entry.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/__snapshots__/toc_entry.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/__snapshots__/toc_entry.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/_toc_entry.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/_toc_entry.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/_toc_entry.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/_toc_entry.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/action_labels.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/action_labels.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/action_labels.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/action_labels.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/__snapshots__/toc_entry_actions_popover.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/__snapshots__/toc_entry_actions_popover.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/__snapshots__/toc_entry_actions_popover.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/__snapshots__/toc_entry_actions_popover.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/_mouse_coordinates_control.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/_mouse_coordinates_control.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/_mouse_coordinates_control.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/_mouse_coordinates_control.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/mouse_coordinates_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/mouse_coordinates_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/mouse_coordinates_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/mouse_coordinates_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/right_side_controls.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/right_side_controls.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/right_side_controls.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/right_side_controls.tsx diff --git a/x-pack/plugins/maps/public/connected_components/timeslider/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/timeslider/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/timeslider/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/timeslider/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/timeslider/timeslider.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/timeslider.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/timeslider/timeslider.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/timeslider.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/__snapshots__/toolbar_overlay.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/__snapshots__/toolbar_overlay.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/__snapshots__/toolbar_overlay.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/__snapshots__/toolbar_overlay.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/_toolbar_overlay.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/_toolbar_overlay.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/_toolbar_overlay.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/_toolbar_overlay.scss diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/feature_edit_tools.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/feature_edit_tools.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/feature_edit_tools.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/feature_edit_tools.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_circle_icon.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_circle_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_circle_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_circle_icon.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_line_icon.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_line_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_line_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_line_icon.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_square_icon.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_square_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_square_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_square_icon.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/fit_to_data/fit_to_data.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/fit_to_data/fit_to_data.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/fit_to_data/fit_to_data.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/fit_to_data/fit_to_data.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/fit_to_data/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/fit_to_data/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/fit_to_data/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/fit_to_data/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/decimal_degrees_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/decimal_degrees_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/decimal_degrees_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/decimal_degrees_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/mgrs_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/mgrs_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/mgrs_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/mgrs_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utm_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/utm_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utm_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/utm_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/timeslider_toggle_button.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/timeslider_toggle_button.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/timeslider_toggle_button.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/timeslider_toggle_button.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/toolbar_overlay.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/toolbar_overlay.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/__snapshots__/tools_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/__snapshots__/tools_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/__snapshots__/tools_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/__snapshots__/tools_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.tsx diff --git a/x-pack/plugins/maps/public/content_management/duplicate_title_check.ts b/x-pack/platform/plugins/shared/maps/public/content_management/duplicate_title_check.ts similarity index 100% rename from x-pack/plugins/maps/public/content_management/duplicate_title_check.ts rename to x-pack/platform/plugins/shared/maps/public/content_management/duplicate_title_check.ts diff --git a/x-pack/plugins/maps/public/content_management/index.ts b/x-pack/platform/plugins/shared/maps/public/content_management/index.ts similarity index 100% rename from x-pack/plugins/maps/public/content_management/index.ts rename to x-pack/platform/plugins/shared/maps/public/content_management/index.ts diff --git a/x-pack/plugins/maps/public/content_management/maps_client.ts b/x-pack/platform/plugins/shared/maps/public/content_management/maps_client.ts similarity index 100% rename from x-pack/plugins/maps/public/content_management/maps_client.ts rename to x-pack/platform/plugins/shared/maps/public/content_management/maps_client.ts diff --git a/x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.test.ts b/x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.test.ts similarity index 100% rename from x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.test.ts rename to x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.test.ts diff --git a/x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts b/x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts similarity index 100% rename from x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts rename to x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts diff --git a/x-pack/plugins/maps/public/ems_autosuggest/index.ts b/x-pack/platform/plugins/shared/maps/public/ems_autosuggest/index.ts similarity index 100% rename from x-pack/plugins/maps/public/ems_autosuggest/index.ts rename to x-pack/platform/plugins/shared/maps/public/ems_autosuggest/index.ts diff --git a/x-pack/plugins/maps/public/feature_catalogue_entry.ts b/x-pack/platform/plugins/shared/maps/public/feature_catalogue_entry.ts similarity index 100% rename from x-pack/plugins/maps/public/feature_catalogue_entry.ts rename to x-pack/platform/plugins/shared/maps/public/feature_catalogue_entry.ts diff --git a/x-pack/plugins/maps/public/icon.svg b/x-pack/platform/plugins/shared/maps/public/icon.svg similarity index 100% rename from x-pack/plugins/maps/public/icon.svg rename to x-pack/platform/plugins/shared/maps/public/icon.svg diff --git a/x-pack/plugins/maps/public/index.ts b/x-pack/platform/plugins/shared/maps/public/index.ts similarity index 100% rename from x-pack/plugins/maps/public/index.ts rename to x-pack/platform/plugins/shared/maps/public/index.ts diff --git a/x-pack/plugins/maps/public/index_pattern_util.test.ts b/x-pack/platform/plugins/shared/maps/public/index_pattern_util.test.ts similarity index 100% rename from x-pack/plugins/maps/public/index_pattern_util.test.ts rename to x-pack/platform/plugins/shared/maps/public/index_pattern_util.test.ts diff --git a/x-pack/plugins/maps/public/index_pattern_util.ts b/x-pack/platform/plugins/shared/maps/public/index_pattern_util.ts similarity index 100% rename from x-pack/plugins/maps/public/index_pattern_util.ts rename to x-pack/platform/plugins/shared/maps/public/index_pattern_util.ts diff --git a/x-pack/plugins/maps/public/inspector/index.ts b/x-pack/platform/plugins/shared/maps/public/inspector/index.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/index.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/index.ts diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/index.ts b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/index.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/index.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/index.ts diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/map_adapter.ts b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_adapter.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/map_adapter.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_adapter.ts diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/map_details.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_details.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/map_details.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_details.tsx diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/map_inspector_view.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_inspector_view.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/map_inspector_view.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_inspector_view.tsx diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/map_view_component.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_view_component.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/map_view_component.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_view_component.tsx diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/types.ts b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/types.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/types.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/types.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/empty_prompt.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/empty_prompt.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/empty_prompt.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/get_tile_request.test.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/get_tile_request.test.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/get_tile_request.test.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/get_tile_request.test.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/get_tile_request.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/get_tile_request.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/get_tile_request.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/get_tile_request.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/requests_view_callout.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/requests_view_callout.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/requests_view_callout.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/requests_view_callout.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/tile_request_tab.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/tile_request_tab.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/tile_request_tab.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/tile_request_tab.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.test.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.test.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.test.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/index.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/index.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/index.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/index.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/types.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/types.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/types.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/types.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.test.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.test.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.test.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.test.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_inspector_view.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_inspector_view.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_inspector_view.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_inspector_view.tsx diff --git a/x-pack/plugins/maps/public/kibana_services.ts b/x-pack/platform/plugins/shared/maps/public/kibana_services.ts similarity index 100% rename from x-pack/plugins/maps/public/kibana_services.ts rename to x-pack/platform/plugins/shared/maps/public/kibana_services.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/index.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/index.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/index.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/index.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/index.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/index.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/index.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_editor.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_editor.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_fn.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_fn.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_fn.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_fn.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_renderer.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_renderer.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_renderer.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_renderer.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_vis_type.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_vis_type.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_vis_type.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_vis_type.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/to_ast.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/to_ast.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/to_ast.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/to_ast.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/types.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/types.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/types.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/types.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/utils.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/utils.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/utils.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/utils.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/geo_hash.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/geo_hash.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/geo_hash.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/geo_hash.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/index.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/index.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/index.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_editor.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_editor.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_renderer.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_renderer.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_renderer.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_renderer.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_vis_type.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_vis_type.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_vis_type.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_vis_type.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/to_ast.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/to_ast.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/to_ast.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/to_ast.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/types.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/types.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/types.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/types.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/utils.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/utils.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/utils.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/utils.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/view_in_maps.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/view_in_maps.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/view_in_maps.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/view_in_maps.tsx diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/choropleth_chart.tsx b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/choropleth_chart.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/choropleth_chart.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/choropleth_chart.tsx diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/expression_function.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/expression_function.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/expression_function.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/expression_function.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/expression_renderer.tsx b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/expression_renderer.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/expression_renderer.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/expression_renderer.tsx diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/get_ems_suggestion.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/get_ems_suggestion.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/get_ems_suggestion.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/get_ems_suggestion.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/index.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/index.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/index.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/index.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/region_key_editor.tsx b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/region_key_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/region_key_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/region_key_editor.tsx diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/setup.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/setup.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/setup.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/setup.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/suggestions.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/suggestions.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/suggestions.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/suggestions.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/suggestions_lazy.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/suggestions_lazy.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/suggestions_lazy.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/suggestions_lazy.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/types.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/types.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/types.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/types.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/visualization.tsx b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/visualization.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/visualization.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/visualization.tsx diff --git a/x-pack/plugins/maps/public/lens/index.ts b/x-pack/platform/plugins/shared/maps/public/lens/index.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/index.ts rename to x-pack/platform/plugins/shared/maps/public/lens/index.ts diff --git a/x-pack/plugins/maps/public/lens/passive_map.tsx b/x-pack/platform/plugins/shared/maps/public/lens/passive_map.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/passive_map.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/passive_map.tsx diff --git a/x-pack/plugins/maps/public/lens/passive_map_lazy.tsx b/x-pack/platform/plugins/shared/maps/public/lens/passive_map_lazy.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/passive_map_lazy.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/passive_map_lazy.tsx diff --git a/x-pack/plugins/maps/public/licensed_features.ts b/x-pack/platform/plugins/shared/maps/public/licensed_features.ts similarity index 100% rename from x-pack/plugins/maps/public/licensed_features.ts rename to x-pack/platform/plugins/shared/maps/public/licensed_features.ts diff --git a/x-pack/plugins/maps/public/locators/map_locator/get_location.ts b/x-pack/platform/plugins/shared/maps/public/locators/map_locator/get_location.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/map_locator/get_location.ts rename to x-pack/platform/plugins/shared/maps/public/locators/map_locator/get_location.ts diff --git a/x-pack/plugins/maps/public/locators/map_locator/locator_definition.test.ts b/x-pack/platform/plugins/shared/maps/public/locators/map_locator/locator_definition.test.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/map_locator/locator_definition.test.ts rename to x-pack/platform/plugins/shared/maps/public/locators/map_locator/locator_definition.test.ts diff --git a/x-pack/plugins/maps/public/locators/map_locator/locator_definition.ts b/x-pack/platform/plugins/shared/maps/public/locators/map_locator/locator_definition.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/map_locator/locator_definition.ts rename to x-pack/platform/plugins/shared/maps/public/locators/map_locator/locator_definition.ts diff --git a/x-pack/plugins/maps/public/locators/map_locator/types.ts b/x-pack/platform/plugins/shared/maps/public/locators/map_locator/types.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/map_locator/types.ts rename to x-pack/platform/plugins/shared/maps/public/locators/map_locator/types.ts diff --git a/x-pack/plugins/maps/public/locators/region_map_locator/get_location.ts b/x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/get_location.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/region_map_locator/get_location.ts rename to x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/get_location.ts diff --git a/x-pack/plugins/maps/public/locators/region_map_locator/locator_definition.ts b/x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/locator_definition.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/region_map_locator/locator_definition.ts rename to x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/locator_definition.ts diff --git a/x-pack/plugins/maps/public/locators/region_map_locator/types.ts b/x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/types.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/region_map_locator/types.ts rename to x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/types.ts diff --git a/x-pack/plugins/maps/public/locators/tile_map_locator/get_location.ts b/x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/get_location.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/tile_map_locator/get_location.ts rename to x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/get_location.ts diff --git a/x-pack/plugins/maps/public/locators/tile_map_locator/locator_definition.ts b/x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/locator_definition.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/tile_map_locator/locator_definition.ts rename to x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/locator_definition.ts diff --git a/x-pack/plugins/maps/public/locators/tile_map_locator/types.ts b/x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/types.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/tile_map_locator/types.ts rename to x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/types.ts diff --git a/x-pack/plugins/maps/public/maps_vis_type_alias.ts b/x-pack/platform/plugins/shared/maps/public/maps_vis_type_alias.ts similarity index 100% rename from x-pack/plugins/maps/public/maps_vis_type_alias.ts rename to x-pack/platform/plugins/shared/maps/public/maps_vis_type_alias.ts diff --git a/x-pack/plugins/maps/public/plugin.ts b/x-pack/platform/plugins/shared/maps/public/plugin.ts similarity index 100% rename from x-pack/plugins/maps/public/plugin.ts rename to x-pack/platform/plugins/shared/maps/public/plugin.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/_index.scss b/x-pack/platform/plugins/shared/maps/public/react_embeddable/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/_index.scss rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/_index.scss diff --git a/x-pack/plugins/maps/public/react_embeddable/get_geo_fields_label.test.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/get_geo_fields_label.test.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/get_geo_fields_label.test.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/get_geo_fields_label.test.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/get_geo_fields_label.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/get_geo_fields_label.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/get_geo_fields_label.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/get_geo_fields_label.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_action_handlers.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_action_handlers.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_action_handlers.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_action_handlers.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_cross_panel_actions.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_cross_panel_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_cross_panel_actions.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_cross_panel_actions.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_data_views.test.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_data_views.test.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_data_views.test.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_data_views.test.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_data_views.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_data_views.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_data_views.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_data_views.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_edit_api.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_edit_api.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_edit_api.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_edit_api.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_fetch.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_fetch.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_fetch.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_fetch.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_redux_sync.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_redux_sync.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_redux_sync.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_redux_sync.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/library_transforms.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/library_transforms.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/library_transforms.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/library_transforms.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/map_embeddables_singleton.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_embeddables_singleton.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_embeddables_singleton.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_embeddables_singleton.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/map_react_embeddable.tsx b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_react_embeddable.tsx similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_react_embeddable.tsx rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_react_embeddable.tsx diff --git a/x-pack/plugins/maps/public/react_embeddable/map_renderer/map_renderer.tsx b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/map_renderer.tsx similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_renderer/map_renderer.tsx rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/map_renderer.tsx diff --git a/x-pack/plugins/maps/public/react_embeddable/map_renderer/map_renderer_lazy.tsx b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/map_renderer_lazy.tsx similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_renderer/map_renderer_lazy.tsx rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/map_renderer_lazy.tsx diff --git a/x-pack/plugins/maps/public/react_embeddable/map_renderer/types.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/types.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_renderer/types.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/types.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/setup_map_embeddable.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/setup_map_embeddable.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/setup_map_embeddable.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/setup_map_embeddable.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/types.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/types.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts diff --git a/x-pack/plugins/maps/public/reducers/copy_persistent_state.test.ts b/x-pack/platform/plugins/shared/maps/public/reducers/copy_persistent_state.test.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/copy_persistent_state.test.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/copy_persistent_state.test.ts diff --git a/x-pack/plugins/maps/public/reducers/copy_persistent_state.ts b/x-pack/platform/plugins/shared/maps/public/reducers/copy_persistent_state.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/copy_persistent_state.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/copy_persistent_state.ts diff --git a/x-pack/plugins/maps/public/reducers/map/data_request_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/data_request_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/data_request_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/data_request_utils.test.ts diff --git a/x-pack/plugins/maps/public/reducers/map/data_request_utils.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/data_request_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/data_request_utils.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/data_request_utils.ts diff --git a/x-pack/plugins/maps/public/reducers/map/default_map_settings.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/default_map_settings.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/default_map_settings.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/default_map_settings.ts diff --git a/x-pack/plugins/maps/public/reducers/map/index.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/index.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/index.ts diff --git a/x-pack/plugins/maps/public/reducers/map/layer_utils.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/layer_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/layer_utils.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/layer_utils.ts diff --git a/x-pack/plugins/maps/public/reducers/map/map.test.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/map.test.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/map.test.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/map.test.ts diff --git a/x-pack/plugins/maps/public/reducers/map/map.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/map.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/map.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/map.ts diff --git a/x-pack/plugins/maps/public/reducers/map/types.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/types.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/types.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/types.ts diff --git a/x-pack/plugins/maps/public/reducers/non_serializable_instances.d.ts b/x-pack/platform/plugins/shared/maps/public/reducers/non_serializable_instances.d.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/non_serializable_instances.d.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/non_serializable_instances.d.ts diff --git a/x-pack/plugins/maps/public/reducers/non_serializable_instances.js b/x-pack/platform/plugins/shared/maps/public/reducers/non_serializable_instances.js similarity index 100% rename from x-pack/plugins/maps/public/reducers/non_serializable_instances.js rename to x-pack/platform/plugins/shared/maps/public/reducers/non_serializable_instances.js diff --git a/x-pack/plugins/maps/public/reducers/store.d.ts b/x-pack/platform/plugins/shared/maps/public/reducers/store.d.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/store.d.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/store.d.ts diff --git a/x-pack/plugins/maps/public/reducers/store.js b/x-pack/platform/plugins/shared/maps/public/reducers/store.js similarity index 100% rename from x-pack/plugins/maps/public/reducers/store.js rename to x-pack/platform/plugins/shared/maps/public/reducers/store.js diff --git a/x-pack/plugins/maps/public/reducers/ui.ts b/x-pack/platform/plugins/shared/maps/public/reducers/ui.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/ui.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/ui.ts diff --git a/x-pack/plugins/maps/public/render_app.tsx b/x-pack/platform/plugins/shared/maps/public/render_app.tsx similarity index 100% rename from x-pack/plugins/maps/public/render_app.tsx rename to x-pack/platform/plugins/shared/maps/public/render_app.tsx diff --git a/x-pack/plugins/maps/public/routes/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/index.ts diff --git a/x-pack/plugins/maps/public/routes/list_page/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/list_page/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/list_page/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/list_page/index.ts diff --git a/x-pack/plugins/maps/public/routes/list_page/load_list_and_render.tsx b/x-pack/platform/plugins/shared/maps/public/routes/list_page/load_list_and_render.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/list_page/load_list_and_render.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/list_page/load_list_and_render.tsx diff --git a/x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx b/x-pack/platform/plugins/shared/maps/public/routes/list_page/maps_list_view.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/list_page/maps_list_view.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/index.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/map_app/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/map_app/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/index.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/map_app.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/map_app.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/map_app/wait_until_time_layers_load.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/wait_until_time_layers_load.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/map_app/wait_until_time_layers_load.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/wait_until_time_layers_load.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/map_page.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/map_page.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/map_page.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/map_page.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_breadcrumbs.test.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_breadcrumbs.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_breadcrumbs.test.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_breadcrumbs.test.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_breadcrumbs.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_breadcrumbs.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_breadcrumbs.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_breadcrumbs.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_layers_from_url_param.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_layers_from_url_param.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_layers_from_url_param.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_layers_from_url_param.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_query.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_query.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_query.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_query.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_refresh_config.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_refresh_config.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_refresh_config.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_refresh_config.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_open_layer_wizard_url_param.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_open_layer_wizard_url_param.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_open_layer_wizard_url_param.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_open_layer_wizard_url_param.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/index.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/save_to_library.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/save_to_library.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/save_to_library.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/save_to_library.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/saved_map.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/saved_map.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/saved_map.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/saved_map.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/types.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/types.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/types.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/types.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/top_nav_config.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/top_nav_config.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/top_nav_config.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/top_nav_config.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/app_state_manager.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/app_state_manager.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/app_sync.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/app_sync.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/url_state/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/url_state/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/index.ts diff --git a/x-pack/plugins/maps/public/selectors/map_selectors.test.ts b/x-pack/platform/plugins/shared/maps/public/selectors/map_selectors.test.ts similarity index 100% rename from x-pack/plugins/maps/public/selectors/map_selectors.test.ts rename to x-pack/platform/plugins/shared/maps/public/selectors/map_selectors.test.ts diff --git a/x-pack/plugins/maps/public/selectors/map_selectors.ts b/x-pack/platform/plugins/shared/maps/public/selectors/map_selectors.ts similarity index 100% rename from x-pack/plugins/maps/public/selectors/map_selectors.ts rename to x-pack/platform/plugins/shared/maps/public/selectors/map_selectors.ts diff --git a/x-pack/plugins/maps/public/selectors/ui_selectors.ts b/x-pack/platform/plugins/shared/maps/public/selectors/ui_selectors.ts similarity index 100% rename from x-pack/plugins/maps/public/selectors/ui_selectors.ts rename to x-pack/platform/plugins/shared/maps/public/selectors/ui_selectors.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/action.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/action.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/action.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/action.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/modal.tsx b/x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/modal.tsx similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/modal.tsx rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/modal.tsx diff --git a/x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/types.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/types.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/types.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/types.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/get_maps_link.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/get_maps_link.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/get_maps_link.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/get_maps_link.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/synchronize_movement/action.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/action.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/synchronize_movement/action.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/action.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/synchronize_movement/is_compatible.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/is_compatible.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/synchronize_movement/is_compatible.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/is_compatible.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/synchronize_movement/modal.tsx b/x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/modal.tsx similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/synchronize_movement/modal.tsx rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/modal.tsx diff --git a/x-pack/plugins/maps/public/trigger_actions/synchronize_movement/types.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/types.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/synchronize_movement/types.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/types.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/trigger_utils.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/trigger_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/trigger_utils.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/trigger_utils.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/visualize_geo_field_action.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/visualize_geo_field_action.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/visualize_geo_field_action.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/visualize_geo_field_action.ts diff --git a/x-pack/plugins/maps/public/util.ts b/x-pack/platform/plugins/shared/maps/public/util.ts similarity index 100% rename from x-pack/plugins/maps/public/util.ts rename to x-pack/platform/plugins/shared/maps/public/util.ts diff --git a/x-pack/plugins/maps/server/config.ts b/x-pack/platform/plugins/shared/maps/server/config.ts similarity index 100% rename from x-pack/plugins/maps/server/config.ts rename to x-pack/platform/plugins/shared/maps/server/config.ts diff --git a/x-pack/plugins/maps/server/content_management/index.ts b/x-pack/platform/plugins/shared/maps/server/content_management/index.ts similarity index 100% rename from x-pack/plugins/maps/server/content_management/index.ts rename to x-pack/platform/plugins/shared/maps/server/content_management/index.ts diff --git a/x-pack/plugins/maps/server/content_management/maps_storage.ts b/x-pack/platform/plugins/shared/maps/server/content_management/maps_storage.ts similarity index 100% rename from x-pack/plugins/maps/server/content_management/maps_storage.ts rename to x-pack/platform/plugins/shared/maps/server/content_management/maps_storage.ts diff --git a/x-pack/plugins/maps/server/content_management/schema/cm_services.ts b/x-pack/platform/plugins/shared/maps/server/content_management/schema/cm_services.ts similarity index 100% rename from x-pack/plugins/maps/server/content_management/schema/cm_services.ts rename to x-pack/platform/plugins/shared/maps/server/content_management/schema/cm_services.ts diff --git a/x-pack/plugins/maps/server/content_management/schema/v1/cm_services.ts b/x-pack/platform/plugins/shared/maps/server/content_management/schema/v1/cm_services.ts similarity index 100% rename from x-pack/plugins/maps/server/content_management/schema/v1/cm_services.ts rename to x-pack/platform/plugins/shared/maps/server/content_management/schema/v1/cm_services.ts diff --git a/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts b/x-pack/platform/plugins/shared/maps/server/data_indexing/create_doc_source.ts similarity index 100% rename from x-pack/plugins/maps/server/data_indexing/create_doc_source.ts rename to x-pack/platform/plugins/shared/maps/server/data_indexing/create_doc_source.ts diff --git a/x-pack/plugins/maps/server/data_indexing/get_indexes_matching_pattern.ts b/x-pack/platform/plugins/shared/maps/server/data_indexing/get_indexes_matching_pattern.ts similarity index 100% rename from x-pack/plugins/maps/server/data_indexing/get_indexes_matching_pattern.ts rename to x-pack/platform/plugins/shared/maps/server/data_indexing/get_indexes_matching_pattern.ts diff --git a/x-pack/plugins/maps/server/data_indexing/index_data.ts b/x-pack/platform/plugins/shared/maps/server/data_indexing/index_data.ts similarity index 100% rename from x-pack/plugins/maps/server/data_indexing/index_data.ts rename to x-pack/platform/plugins/shared/maps/server/data_indexing/index_data.ts diff --git a/x-pack/plugins/maps/server/data_indexing/indexing_routes.ts b/x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts similarity index 100% rename from x-pack/plugins/maps/server/data_indexing/indexing_routes.ts rename to x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts diff --git a/x-pack/plugins/maps/server/embeddable/embeddable_migrations.test.ts b/x-pack/platform/plugins/shared/maps/server/embeddable/embeddable_migrations.test.ts similarity index 100% rename from x-pack/plugins/maps/server/embeddable/embeddable_migrations.test.ts rename to x-pack/platform/plugins/shared/maps/server/embeddable/embeddable_migrations.test.ts diff --git a/x-pack/plugins/maps/server/embeddable/embeddable_migrations.ts b/x-pack/platform/plugins/shared/maps/server/embeddable/embeddable_migrations.ts similarity index 100% rename from x-pack/plugins/maps/server/embeddable/embeddable_migrations.ts rename to x-pack/platform/plugins/shared/maps/server/embeddable/embeddable_migrations.ts diff --git a/x-pack/plugins/maps/server/embeddable/index.ts b/x-pack/platform/plugins/shared/maps/server/embeddable/index.ts similarity index 100% rename from x-pack/plugins/maps/server/embeddable/index.ts rename to x-pack/platform/plugins/shared/maps/server/embeddable/index.ts diff --git a/x-pack/plugins/maps/server/embeddable/setup_embeddable.ts b/x-pack/platform/plugins/shared/maps/server/embeddable/setup_embeddable.ts similarity index 100% rename from x-pack/plugins/maps/server/embeddable/setup_embeddable.ts rename to x-pack/platform/plugins/shared/maps/server/embeddable/setup_embeddable.ts diff --git a/x-pack/plugins/maps/server/fonts/open_sans/0-255.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/0-255.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/0-255.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/0-255.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/1024-1279.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/1024-1279.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/1024-1279.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/1024-1279.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/256-511.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/256-511.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/256-511.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/256-511.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/768-1023.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/768-1023.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/768-1023.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/768-1023.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/8192-8447.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/8192-8447.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/8192-8447.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/8192-8447.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/license.txt b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/license.txt similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/license.txt rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/license.txt diff --git a/x-pack/plugins/maps/server/index.ts b/x-pack/platform/plugins/shared/maps/server/index.ts similarity index 100% rename from x-pack/plugins/maps/server/index.ts rename to x-pack/platform/plugins/shared/maps/server/index.ts diff --git a/x-pack/plugins/maps/server/kibana_server_services.ts b/x-pack/platform/plugins/shared/maps/server/kibana_server_services.ts similarity index 100% rename from x-pack/plugins/maps/server/kibana_server_services.ts rename to x-pack/platform/plugins/shared/maps/server/kibana_server_services.ts diff --git a/x-pack/plugins/maps/server/lib/get_index_pattern_settings.test.js b/x-pack/platform/plugins/shared/maps/server/lib/get_index_pattern_settings.test.js similarity index 100% rename from x-pack/plugins/maps/server/lib/get_index_pattern_settings.test.js rename to x-pack/platform/plugins/shared/maps/server/lib/get_index_pattern_settings.test.js diff --git a/x-pack/plugins/maps/server/lib/get_index_pattern_settings.ts b/x-pack/platform/plugins/shared/maps/server/lib/get_index_pattern_settings.ts similarity index 100% rename from x-pack/plugins/maps/server/lib/get_index_pattern_settings.ts rename to x-pack/platform/plugins/shared/maps/server/lib/get_index_pattern_settings.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/collectors/register.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/collectors/register.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/collectors/register_collector.test.js b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/collectors/register_collector.test.js similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/collectors/register_collector.test.js rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/collectors/register_collector.test.js diff --git a/x-pack/plugins/maps/server/maps_telemetry/find_maps.test.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/find_maps.test.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/find_maps.test.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/find_maps.test.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/find_maps.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/find_maps.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/find_maps.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/find_maps.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/map_stats/index.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/index.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/map_stats/index.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/index.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/map_stats_collector.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/map_stats_collector.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/map_stats/types.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/types.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/map_stats/types.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/types.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/maps_telemetry.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/maps_telemetry.ts diff --git a/x-pack/plugins/maps/server/mvt/mvt_routes.test.ts b/x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.test.ts similarity index 100% rename from x-pack/plugins/maps/server/mvt/mvt_routes.test.ts rename to x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.test.ts diff --git a/x-pack/plugins/maps/server/mvt/mvt_routes.ts b/x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.ts similarity index 100% rename from x-pack/plugins/maps/server/mvt/mvt_routes.ts rename to x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.ts diff --git a/x-pack/plugins/maps/server/plugin.ts b/x-pack/platform/plugins/shared/maps/server/plugin.ts similarity index 100% rename from x-pack/plugins/maps/server/plugin.ts rename to x-pack/platform/plugins/shared/maps/server/plugin.ts diff --git a/x-pack/plugins/maps/server/register_integrations.ts b/x-pack/platform/plugins/shared/maps/server/register_integrations.ts similarity index 100% rename from x-pack/plugins/maps/server/register_integrations.ts rename to x-pack/platform/plugins/shared/maps/server/register_integrations.ts diff --git a/x-pack/plugins/maps/server/routes.ts b/x-pack/platform/plugins/shared/maps/server/routes.ts similarity index 100% rename from x-pack/plugins/maps/server/routes.ts rename to x-pack/platform/plugins/shared/maps/server/routes.ts diff --git a/x-pack/plugins/maps/server/sample_data/ecommerce_saved_objects.js b/x-pack/platform/plugins/shared/maps/server/sample_data/ecommerce_saved_objects.js similarity index 100% rename from x-pack/plugins/maps/server/sample_data/ecommerce_saved_objects.js rename to x-pack/platform/plugins/shared/maps/server/sample_data/ecommerce_saved_objects.js diff --git a/x-pack/plugins/maps/server/sample_data/flights_saved_objects.js b/x-pack/platform/plugins/shared/maps/server/sample_data/flights_saved_objects.js similarity index 100% rename from x-pack/plugins/maps/server/sample_data/flights_saved_objects.js rename to x-pack/platform/plugins/shared/maps/server/sample_data/flights_saved_objects.js diff --git a/x-pack/plugins/maps/server/sample_data/web_logs_saved_objects.js b/x-pack/platform/plugins/shared/maps/server/sample_data/web_logs_saved_objects.js similarity index 100% rename from x-pack/plugins/maps/server/sample_data/web_logs_saved_objects.js rename to x-pack/platform/plugins/shared/maps/server/sample_data/web_logs_saved_objects.js diff --git a/x-pack/plugins/maps/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/maps/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/maps/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/maps/server/saved_objects/index.ts diff --git a/x-pack/plugins/maps/server/saved_objects/saved_object_migrations.ts b/x-pack/platform/plugins/shared/maps/server/saved_objects/saved_object_migrations.ts similarity index 100% rename from x-pack/plugins/maps/server/saved_objects/saved_object_migrations.ts rename to x-pack/platform/plugins/shared/maps/server/saved_objects/saved_object_migrations.ts diff --git a/x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts b/x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts similarity index 100% rename from x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts rename to x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts diff --git a/x-pack/plugins/maps/server/test_utils/index.js b/x-pack/platform/plugins/shared/maps/server/test_utils/index.js similarity index 100% rename from x-pack/plugins/maps/server/test_utils/index.js rename to x-pack/platform/plugins/shared/maps/server/test_utils/index.js diff --git a/x-pack/plugins/maps/server/tutorials/ems/index.ts b/x-pack/platform/plugins/shared/maps/server/tutorials/ems/index.ts similarity index 100% rename from x-pack/plugins/maps/server/tutorials/ems/index.ts rename to x-pack/platform/plugins/shared/maps/server/tutorials/ems/index.ts diff --git a/x-pack/plugins/maps/server/types.ts b/x-pack/platform/plugins/shared/maps/server/types.ts similarity index 100% rename from x-pack/plugins/maps/server/types.ts rename to x-pack/platform/plugins/shared/maps/server/types.ts diff --git a/x-pack/plugins/maps/tsconfig.json b/x-pack/platform/plugins/shared/maps/tsconfig.json similarity index 96% rename from x-pack/plugins/maps/tsconfig.json rename to x-pack/platform/plugins/shared/maps/tsconfig.json index e82e35b5ccbfd..23f39932990bb 100644 --- a/x-pack/plugins/maps/tsconfig.json +++ b/x-pack/platform/plugins/shared/maps/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "allowJs": true @@ -9,7 +9,7 @@ "public/**/*", "server/**/*", "server/config.ts", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/test/api_integration/apis/maps/fonts_api.js b/x-pack/test/api_integration/apis/maps/fonts_api.js index ae4891c4d7b95..e271ffb0a5bea 100644 --- a/x-pack/test/api_integration/apis/maps/fonts_api.js +++ b/x-pack/test/api_integration/apis/maps/fonts_api.js @@ -23,7 +23,7 @@ export default function ({ getService }) { // x-pack tests can be run from root directory or from within x-pack so need to cater for both possibilities. const fontPath = path.join( process.cwd().replace(/x-pack.*$/, ''), - 'x-pack/plugins/maps/server/fonts/open_sans/0-255.pbf' + 'x-pack/platform/plugins/shared/maps/server/fonts/open_sans/0-255.pbf' ); const destinationPath = path.join(path.dirname(fontPath), '..', path.basename(fontPath)); diff --git a/yarn.lock b/yarn.lock index 680050a23e146..db0d84ed2ef63 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6261,7 +6261,7 @@ version "0.0.0" uid "" -"@kbn/maps-plugin@link:x-pack/plugins/maps": +"@kbn/maps-plugin@link:x-pack/platform/plugins/shared/maps": version "0.0.0" uid "" From 9b56a40930a27d6fdc01da0b1f4f113058f0d1e7 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:35:09 +0100 Subject: [PATCH 21/29] Relocating module `@kbn/maps-vector-tile-utils` --- .github/CODEOWNERS | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- .../packages/private}/maps/vector_tile_utils/README.md | 0 .../packages/private}/maps/vector_tile_utils/index.ts | 0 .../packages/private}/maps/vector_tile_utils/jest.config.js | 4 ++-- .../packages/private}/maps/vector_tile_utils/kibana.jsonc | 0 .../packages/private}/maps/vector_tile_utils/package.json | 0 .../maps/vector_tile_utils/src/get_tile_url_params.ts | 0 .../packages/private}/maps/vector_tile_utils/tsconfig.json | 2 +- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) rename x-pack/{packages => platform/packages/private}/maps/vector_tile_utils/README.md (100%) rename x-pack/{packages => platform/packages/private}/maps/vector_tile_utils/index.ts (100%) rename x-pack/{packages => platform/packages/private}/maps/vector_tile_utils/jest.config.js (72%) rename x-pack/{packages => platform/packages/private}/maps/vector_tile_utils/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/maps/vector_tile_utils/package.json (100%) rename x-pack/{packages => platform/packages/private}/maps/vector_tile_utils/src/get_tile_url_params.ts (100%) rename x-pack/{packages => platform/packages/private}/maps/vector_tile_utils/tsconfig.json (82%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 701b46af992d2..b28b86bc45f10 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -766,7 +766,6 @@ x-pack/packages/kbn-alerting-comparators @elastic/response-ops x-pack/packages/kbn-alerting-state-types @elastic/response-ops x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team -x-pack/packages/maps/vector_tile_utils @elastic/kibana-presentation x-pack/packages/observability/logs_overview @elastic/obs-ux-logs-team x-pack/packages/observability/observability_utils/observability_utils_browser @elastic/observability-ui x-pack/packages/observability/observability_utils/observability_utils_common @elastic/observability-ui @@ -783,6 +782,7 @@ x-pack/packages/security/role_management_model @elastic/kibana-security x-pack/packages/security/ui_components @elastic/kibana-security x-pack/performance @elastic/appex-qa x-pack/platform/packages/private/kbn-infra-forge @elastic/obs-ux-management-team +x-pack/platform/packages/private/maps/vector_tile_utils @elastic/kibana-presentation x-pack/platform/packages/private/ml/agg_utils @elastic/ml-ui x-pack/platform/packages/private/ml/aiops_change_point_detection @elastic/ml-ui x-pack/platform/packages/private/ml/aiops_components @elastic/ml-ui diff --git a/package.json b/package.json index e6f5a53553738..5bcde0d34e51b 100644 --- a/package.json +++ b/package.json @@ -647,7 +647,7 @@ "@kbn/maps-custom-raster-source-plugin": "link:x-pack/examples/third_party_maps_source_example", "@kbn/maps-ems-plugin": "link:src/platform/plugins/private/maps_ems", "@kbn/maps-plugin": "link:x-pack/platform/plugins/shared/maps", - "@kbn/maps-vector-tile-utils": "link:x-pack/packages/maps/vector_tile_utils", + "@kbn/maps-vector-tile-utils": "link:x-pack/platform/packages/private/maps/vector_tile_utils", "@kbn/metrics-data-access-plugin": "link:x-pack/plugins/observability_solution/metrics_data_access", "@kbn/ml-agg-utils": "link:x-pack/platform/packages/private/ml/agg_utils", "@kbn/ml-anomaly-utils": "link:x-pack/platform/packages/shared/ml/anomaly_utils", diff --git a/tsconfig.base.json b/tsconfig.base.json index 381b4cf7ee543..fdbb6fff90712 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1224,8 +1224,8 @@ "@kbn/maps-ems-plugin/*": ["src/platform/plugins/private/maps_ems/*"], "@kbn/maps-plugin": ["x-pack/platform/plugins/shared/maps"], "@kbn/maps-plugin/*": ["x-pack/platform/plugins/shared/maps/*"], - "@kbn/maps-vector-tile-utils": ["x-pack/packages/maps/vector_tile_utils"], - "@kbn/maps-vector-tile-utils/*": ["x-pack/packages/maps/vector_tile_utils/*"], + "@kbn/maps-vector-tile-utils": ["x-pack/platform/packages/private/maps/vector_tile_utils"], + "@kbn/maps-vector-tile-utils/*": ["x-pack/platform/packages/private/maps/vector_tile_utils/*"], "@kbn/metrics-data-access-plugin": ["x-pack/plugins/observability_solution/metrics_data_access"], "@kbn/metrics-data-access-plugin/*": ["x-pack/plugins/observability_solution/metrics_data_access/*"], "@kbn/ml-agg-utils": ["x-pack/platform/packages/private/ml/agg_utils"], diff --git a/x-pack/packages/maps/vector_tile_utils/README.md b/x-pack/platform/packages/private/maps/vector_tile_utils/README.md similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/README.md rename to x-pack/platform/packages/private/maps/vector_tile_utils/README.md diff --git a/x-pack/packages/maps/vector_tile_utils/index.ts b/x-pack/platform/packages/private/maps/vector_tile_utils/index.ts similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/index.ts rename to x-pack/platform/packages/private/maps/vector_tile_utils/index.ts diff --git a/x-pack/packages/maps/vector_tile_utils/jest.config.js b/x-pack/platform/packages/private/maps/vector_tile_utils/jest.config.js similarity index 72% rename from x-pack/packages/maps/vector_tile_utils/jest.config.js rename to x-pack/platform/packages/private/maps/vector_tile_utils/jest.config.js index 416b669eacbf7..622f668754ea3 100644 --- a/x-pack/packages/maps/vector_tile_utils/jest.config.js +++ b/x-pack/platform/packages/private/maps/vector_tile_utils/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/x-pack/packages/maps/vector_tile_utils'], + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/maps/vector_tile_utils'], }; diff --git a/x-pack/packages/maps/vector_tile_utils/kibana.jsonc b/x-pack/platform/packages/private/maps/vector_tile_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/kibana.jsonc rename to x-pack/platform/packages/private/maps/vector_tile_utils/kibana.jsonc diff --git a/x-pack/packages/maps/vector_tile_utils/package.json b/x-pack/platform/packages/private/maps/vector_tile_utils/package.json similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/package.json rename to x-pack/platform/packages/private/maps/vector_tile_utils/package.json diff --git a/x-pack/packages/maps/vector_tile_utils/src/get_tile_url_params.ts b/x-pack/platform/packages/private/maps/vector_tile_utils/src/get_tile_url_params.ts similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/src/get_tile_url_params.ts rename to x-pack/platform/packages/private/maps/vector_tile_utils/src/get_tile_url_params.ts diff --git a/x-pack/packages/maps/vector_tile_utils/tsconfig.json b/x-pack/platform/packages/private/maps/vector_tile_utils/tsconfig.json similarity index 82% rename from x-pack/packages/maps/vector_tile_utils/tsconfig.json rename to x-pack/platform/packages/private/maps/vector_tile_utils/tsconfig.json index 7b5a89ce1a8ce..840ed720badb2 100644 --- a/x-pack/packages/maps/vector_tile_utils/tsconfig.json +++ b/x-pack/platform/packages/private/maps/vector_tile_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/yarn.lock b/yarn.lock index db0d84ed2ef63..7c9fd9ccd0e60 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6265,7 +6265,7 @@ version "0.0.0" uid "" -"@kbn/maps-vector-tile-utils@link:x-pack/packages/maps/vector_tile_utils": +"@kbn/maps-vector-tile-utils@link:x-pack/platform/packages/private/maps/vector_tile_utils": version "0.0.0" uid "" From b9ad6813c3c42f38994b0e9d811f5e5d656b9066 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:38:03 +0100 Subject: [PATCH 22/29] Relocating module `@kbn/panel-loader` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../platform/packages/private}/kbn-panel-loader/README.md | 0 .../platform/packages/private}/kbn-panel-loader/index.tsx | 0 .../packages/private}/kbn-panel-loader/jest.config.js | 4 ++-- .../platform/packages/private}/kbn-panel-loader/kibana.jsonc | 0 .../platform/packages/private}/kbn-panel-loader/package.json | 0 .../platform/packages/private}/kbn-panel-loader/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 10 files changed, 8 insertions(+), 8 deletions(-) rename {packages => src/platform/packages/private}/kbn-panel-loader/README.md (100%) rename {packages => src/platform/packages/private}/kbn-panel-loader/index.tsx (100%) rename {packages => src/platform/packages/private}/kbn-panel-loader/jest.config.js (83%) rename {packages => src/platform/packages/private}/kbn-panel-loader/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/kbn-panel-loader/package.json (100%) rename {packages => src/platform/packages/private}/kbn-panel-loader/tsconfig.json (81%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b28b86bc45f10..4eb732eb24b9c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -398,7 +398,6 @@ packages/kbn-openapi-generator @elastic/security-detection-rule-management packages/kbn-optimizer @elastic/kibana-operations packages/kbn-optimizer-webpack-helpers @elastic/kibana-operations packages/kbn-palettes @elastic/kibana-visualizations -packages/kbn-panel-loader @elastic/kibana-presentation packages/kbn-peggy @elastic/kibana-operations packages/kbn-peggy-loader @elastic/kibana-operations packages/kbn-performance-testing-dataset-extractor @elastic/kibana-performance-testing @@ -576,6 +575,7 @@ src/platform/packages/private/kbn-management/settings/application @elastic/kiban src/platform/packages/private/kbn-management/settings/components/field_category @elastic/kibana-management src/platform/packages/private/kbn-management/settings/components/form @elastic/kibana-management src/platform/packages/private/kbn-mapbox-gl @elastic/kibana-presentation +src/platform/packages/private/kbn-panel-loader @elastic/kibana-presentation src/platform/packages/shared/deeplinks/devtools @elastic/kibana-management src/platform/packages/shared/deeplinks/management @elastic/kibana-management src/platform/packages/shared/deeplinks/ml @elastic/ml-ui diff --git a/package.json b/package.json index 5bcde0d34e51b..f4bdee06319dd 100644 --- a/package.json +++ b/package.json @@ -719,7 +719,7 @@ "@kbn/paertial-results-example-plugin": "link:examples/partial_results_example", "@kbn/painless-lab-plugin": "link:x-pack/platform/plugins/private/painless_lab", "@kbn/palettes": "link:packages/kbn-palettes", - "@kbn/panel-loader": "link:packages/kbn-panel-loader", + "@kbn/panel-loader": "link:src/platform/packages/private/kbn-panel-loader", "@kbn/plugin-check": "link:packages/kbn-plugin-check", "@kbn/portable-dashboards-example": "link:examples/portable_dashboards_example", "@kbn/preboot-example-plugin": "link:examples/preboot_example", diff --git a/packages/kbn-panel-loader/README.md b/src/platform/packages/private/kbn-panel-loader/README.md similarity index 100% rename from packages/kbn-panel-loader/README.md rename to src/platform/packages/private/kbn-panel-loader/README.md diff --git a/packages/kbn-panel-loader/index.tsx b/src/platform/packages/private/kbn-panel-loader/index.tsx similarity index 100% rename from packages/kbn-panel-loader/index.tsx rename to src/platform/packages/private/kbn-panel-loader/index.tsx diff --git a/packages/kbn-panel-loader/jest.config.js b/src/platform/packages/private/kbn-panel-loader/jest.config.js similarity index 83% rename from packages/kbn-panel-loader/jest.config.js rename to src/platform/packages/private/kbn-panel-loader/jest.config.js index 6017709bffef4..c21eb096920ec 100644 --- a/packages/kbn-panel-loader/jest.config.js +++ b/src/platform/packages/private/kbn-panel-loader/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-panel-loader'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/private/kbn-panel-loader'], }; diff --git a/packages/kbn-panel-loader/kibana.jsonc b/src/platform/packages/private/kbn-panel-loader/kibana.jsonc similarity index 100% rename from packages/kbn-panel-loader/kibana.jsonc rename to src/platform/packages/private/kbn-panel-loader/kibana.jsonc diff --git a/packages/kbn-panel-loader/package.json b/src/platform/packages/private/kbn-panel-loader/package.json similarity index 100% rename from packages/kbn-panel-loader/package.json rename to src/platform/packages/private/kbn-panel-loader/package.json diff --git a/packages/kbn-panel-loader/tsconfig.json b/src/platform/packages/private/kbn-panel-loader/tsconfig.json similarity index 81% rename from packages/kbn-panel-loader/tsconfig.json rename to src/platform/packages/private/kbn-panel-loader/tsconfig.json index f885e788791b7..6fb0b772da7fd 100644 --- a/packages/kbn-panel-loader/tsconfig.json +++ b/src/platform/packages/private/kbn-panel-loader/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index fdbb6fff90712..8afed26304a05 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1382,8 +1382,8 @@ "@kbn/painless-lab-plugin/*": ["x-pack/platform/plugins/private/painless_lab/*"], "@kbn/palettes": ["packages/kbn-palettes"], "@kbn/palettes/*": ["packages/kbn-palettes/*"], - "@kbn/panel-loader": ["packages/kbn-panel-loader"], - "@kbn/panel-loader/*": ["packages/kbn-panel-loader/*"], + "@kbn/panel-loader": ["src/platform/packages/private/kbn-panel-loader"], + "@kbn/panel-loader/*": ["src/platform/packages/private/kbn-panel-loader/*"], "@kbn/peggy": ["packages/kbn-peggy"], "@kbn/peggy/*": ["packages/kbn-peggy/*"], "@kbn/peggy-loader": ["packages/kbn-peggy-loader"], diff --git a/yarn.lock b/yarn.lock index 7c9fd9ccd0e60..dc1294c3b1981 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6581,7 +6581,7 @@ version "0.0.0" uid "" -"@kbn/panel-loader@link:packages/kbn-panel-loader": +"@kbn/panel-loader@link:src/platform/packages/private/kbn-panel-loader": version "0.0.0" uid "" From e2dc147c01190cc192a35345e7a58205d42a0d56 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:40:58 +0100 Subject: [PATCH 23/29] Relocating module `@kbn/presentation-containers` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../shared}/presentation/presentation_containers/README.md | 0 .../shared}/presentation/presentation_containers/index.ts | 0 .../presentation_containers/interfaces/can_add_new_panel.ts | 0 .../presentation_containers/interfaces/child_state.ts | 0 .../interfaces/has_save_notification.ts | 0 .../presentation_containers/interfaces/panel_management.ts | 0 .../interfaces/performance_trackers.ts | 0 .../interfaces/presentation_container.ts | 0 .../presentation_containers/interfaces/publishes_settings.ts | 0 .../presentation_containers/interfaces/serialized_state.ts | 0 .../presentation_containers/interfaces/tracks_overlays.ts | 0 .../unsaved_changes/children_unsaved_changes.test.ts | 0 .../interfaces/unsaved_changes/children_unsaved_changes.ts | 0 .../unsaved_changes/initialize_unsaved_changes.test.ts | 0 .../interfaces/unsaved_changes/initialize_unsaved_changes.ts | 0 .../presentation/presentation_containers/jest.config.js | 4 ++-- .../shared}/presentation/presentation_containers/kibana.jsonc | 0 .../shared}/presentation/presentation_containers/mocks.ts | 0 .../shared}/presentation/presentation_containers/package.json | 0 .../presentation/presentation_containers/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 24 files changed, 8 insertions(+), 8 deletions(-) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/README.md (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/index.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/interfaces/can_add_new_panel.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/interfaces/child_state.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/interfaces/has_save_notification.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/interfaces/panel_management.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/interfaces/performance_trackers.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/interfaces/presentation_container.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/interfaces/publishes_settings.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/interfaces/serialized_state.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/interfaces/tracks_overlays.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.test.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/jest.config.js (80%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/mocks.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/package.json (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_containers/tsconfig.json (85%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4eb732eb24b9c..d0c7ec7723de0 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -497,7 +497,6 @@ packages/kbn-xstate-utils @elastic/obs-ux-logs-team packages/kbn-yarn-lock-validator @elastic/kibana-operations packages/kbn-zod @elastic/kibana-core packages/kbn-zod-helpers @elastic/security-detection-rule-management -packages/presentation/presentation_containers @elastic/kibana-presentation packages/presentation/presentation_publishing @elastic/kibana-presentation packages/react/kibana_context/common @elastic/appex-sharedux packages/react/kibana_context/render @elastic/appex-sharedux @@ -609,6 +608,7 @@ src/platform/packages/shared/kbn-sse-utils-client @elastic/obs-knowledge-team src/platform/packages/shared/kbn-sse-utils-server @elastic/obs-knowledge-team src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management +src/platform/packages/shared/presentation/presentation_containers @elastic/kibana-presentation src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management src/platform/plugins/private/input_control_vis @elastic/kibana-presentation src/platform/plugins/private/links @elastic/kibana-presentation diff --git a/package.json b/package.json index f4bdee06319dd..816a3173de945 100644 --- a/package.json +++ b/package.json @@ -723,7 +723,7 @@ "@kbn/plugin-check": "link:packages/kbn-plugin-check", "@kbn/portable-dashboards-example": "link:examples/portable_dashboards_example", "@kbn/preboot-example-plugin": "link:examples/preboot_example", - "@kbn/presentation-containers": "link:packages/presentation/presentation_containers", + "@kbn/presentation-containers": "link:src/platform/packages/shared/presentation/presentation_containers", "@kbn/presentation-panel-plugin": "link:src/plugins/presentation_panel", "@kbn/presentation-publishing": "link:packages/presentation/presentation_publishing", "@kbn/presentation-util-plugin": "link:src/plugins/presentation_util", diff --git a/packages/presentation/presentation_containers/README.md b/src/platform/packages/shared/presentation/presentation_containers/README.md similarity index 100% rename from packages/presentation/presentation_containers/README.md rename to src/platform/packages/shared/presentation/presentation_containers/README.md diff --git a/packages/presentation/presentation_containers/index.ts b/src/platform/packages/shared/presentation/presentation_containers/index.ts similarity index 100% rename from packages/presentation/presentation_containers/index.ts rename to src/platform/packages/shared/presentation/presentation_containers/index.ts diff --git a/packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts diff --git a/packages/presentation/presentation_containers/interfaces/child_state.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/child_state.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts diff --git a/packages/presentation/presentation_containers/interfaces/has_save_notification.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/has_save_notification.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/has_save_notification.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/has_save_notification.ts diff --git a/packages/presentation/presentation_containers/interfaces/panel_management.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/panel_management.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts diff --git a/packages/presentation/presentation_containers/interfaces/performance_trackers.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/performance_trackers.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/performance_trackers.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/performance_trackers.ts diff --git a/packages/presentation/presentation_containers/interfaces/presentation_container.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/presentation_container.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts diff --git a/packages/presentation/presentation_containers/interfaces/publishes_settings.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/publishes_settings.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/publishes_settings.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/publishes_settings.ts diff --git a/packages/presentation/presentation_containers/interfaces/serialized_state.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/serialized_state.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts diff --git a/packages/presentation/presentation_containers/interfaces/tracks_overlays.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/tracks_overlays.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts diff --git a/packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts diff --git a/packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts diff --git a/packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.test.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.test.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.test.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.test.ts diff --git a/packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts diff --git a/packages/presentation/presentation_containers/jest.config.js b/src/platform/packages/shared/presentation/presentation_containers/jest.config.js similarity index 80% rename from packages/presentation/presentation_containers/jest.config.js rename to src/platform/packages/shared/presentation/presentation_containers/jest.config.js index 94c17f63078df..6e9b6067aea25 100644 --- a/packages/presentation/presentation_containers/jest.config.js +++ b/src/platform/packages/shared/presentation/presentation_containers/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/presentation/presentation_containers'], + rootDir: '../../../../../..', + roots: ['/src/platform/packages/shared/presentation/presentation_containers'], }; diff --git a/packages/presentation/presentation_containers/kibana.jsonc b/src/platform/packages/shared/presentation/presentation_containers/kibana.jsonc similarity index 100% rename from packages/presentation/presentation_containers/kibana.jsonc rename to src/platform/packages/shared/presentation/presentation_containers/kibana.jsonc diff --git a/packages/presentation/presentation_containers/mocks.ts b/src/platform/packages/shared/presentation/presentation_containers/mocks.ts similarity index 100% rename from packages/presentation/presentation_containers/mocks.ts rename to src/platform/packages/shared/presentation/presentation_containers/mocks.ts diff --git a/packages/presentation/presentation_containers/package.json b/src/platform/packages/shared/presentation/presentation_containers/package.json similarity index 100% rename from packages/presentation/presentation_containers/package.json rename to src/platform/packages/shared/presentation/presentation_containers/package.json diff --git a/packages/presentation/presentation_containers/tsconfig.json b/src/platform/packages/shared/presentation/presentation_containers/tsconfig.json similarity index 85% rename from packages/presentation/presentation_containers/tsconfig.json rename to src/platform/packages/shared/presentation/presentation_containers/tsconfig.json index 8e25a7b80c6e2..e6e2a00a07655 100644 --- a/packages/presentation/presentation_containers/tsconfig.json +++ b/src/platform/packages/shared/presentation/presentation_containers/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node", "react"] diff --git a/tsconfig.base.json b/tsconfig.base.json index 8afed26304a05..b3739855d619f 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1402,8 +1402,8 @@ "@kbn/portable-dashboards-example/*": ["examples/portable_dashboards_example/*"], "@kbn/preboot-example-plugin": ["examples/preboot_example"], "@kbn/preboot-example-plugin/*": ["examples/preboot_example/*"], - "@kbn/presentation-containers": ["packages/presentation/presentation_containers"], - "@kbn/presentation-containers/*": ["packages/presentation/presentation_containers/*"], + "@kbn/presentation-containers": ["src/platform/packages/shared/presentation/presentation_containers"], + "@kbn/presentation-containers/*": ["src/platform/packages/shared/presentation/presentation_containers/*"], "@kbn/presentation-panel-plugin": ["src/plugins/presentation_panel"], "@kbn/presentation-panel-plugin/*": ["src/plugins/presentation_panel/*"], "@kbn/presentation-publishing": ["packages/presentation/presentation_publishing"], diff --git a/yarn.lock b/yarn.lock index dc1294c3b1981..cd62624cb6d70 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6621,7 +6621,7 @@ version "0.0.0" uid "" -"@kbn/presentation-containers@link:packages/presentation/presentation_containers": +"@kbn/presentation-containers@link:src/platform/packages/shared/presentation/presentation_containers": version "0.0.0" uid "" From f4d71c2a3811a22b91b9b18626da68f99a1cb249 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:43:51 +0100 Subject: [PATCH 24/29] Relocating module `@kbn/presentation-panel-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/presentation_panel/README.md | 0 .../private}/presentation_panel/common/index.ts | 0 .../plugins/private}/presentation_panel/jest.config.js | 10 +++++----- .../plugins/private}/presentation_panel/jest_setup.ts | 0 .../plugins/private}/presentation_panel/kibana.jsonc | 0 .../private}/presentation_panel/public/index.ts | 0 .../presentation_panel/public/kibana_services.ts | 0 .../private}/presentation_panel/public/mocks.tsx | 0 .../custom_time_range_badge.test.ts | 0 .../customize_panel_action/custom_time_range_badge.tsx | 0 .../customize_panel_action.test.ts | 0 .../customize_panel_action/customize_panel_action.tsx | 0 .../customize_panel_editor.test.tsx | 0 .../customize_panel_action/customize_panel_editor.tsx | 0 .../customize_panel_action/filters_details.tsx | 0 .../panel_actions/customize_panel_action/index.ts | 0 .../customize_panel_action/open_customize_panel.tsx | 0 .../edit_panel_action/edit_panel_action.test.tsx | 0 .../edit_panel_action/edit_panel_action.ts | 0 .../presentation_panel/public/panel_actions/index.ts | 0 .../inspect_panel_action/inspect_panel_action.test.tsx | 0 .../inspect_panel_action/inspect_panel_action.ts | 0 .../public/panel_actions/panel_actions.ts | 0 .../remove_panel_action/remove_panel_action.test.tsx | 0 .../remove_panel_action/remove_panel_action.ts | 0 .../public/panel_actions/triggers.ts | 0 .../presentation_panel/public/panel_actions/types.ts | 0 .../public/panel_component/_presentation_panel.scss | 0 .../presentation_panel/public/panel_component/index.ts | 0 .../panel_header/presentation_panel_header.tsx | 0 .../panel_header/presentation_panel_hover_actions.tsx | 0 .../panel_header/presentation_panel_title.test.tsx | 0 .../panel_header/presentation_panel_title.tsx | 0 .../use_presentation_panel_header_actions.tsx | 0 .../public/panel_component/presentation_panel.tsx | 0 .../panel_component/presentation_panel_error.test.tsx | 0 .../panel_component/presentation_panel_error.tsx | 0 .../presentation_panel_internal.test.tsx | 0 .../panel_component/presentation_panel_internal.tsx | 0 .../panel_component/presentation_panel_strings.ts | 0 .../presentation_panel/public/panel_component/types.ts | 0 .../private}/presentation_panel/public/plugin.ts | 0 .../plugins/private}/presentation_panel/tsconfig.json | 4 ++-- src/platform/plugins/shared/embeddable/README.md | 4 ++-- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 50 files changed, 16 insertions(+), 16 deletions(-) rename src/{plugins => platform/plugins/private}/presentation_panel/README.md (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/common/index.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/jest.config.js (65%) rename src/{plugins => platform/plugins/private}/presentation_panel/jest_setup.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/kibana_services.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/mocks.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.test.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.test.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.test.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/customize_panel_action/filters_details.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/customize_panel_action/index.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/customize_panel_action/open_customize_panel.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.test.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/index.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.test.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/panel_actions.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.test.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/triggers.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_actions/types.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_component/_presentation_panel.scss (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_component/index.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_component/panel_header/presentation_panel_hover_actions.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_component/panel_header/presentation_panel_title.test.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_component/panel_header/presentation_panel_title.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_component/panel_header/use_presentation_panel_header_actions.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_component/presentation_panel.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_component/presentation_panel_error.test.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_component/presentation_panel_error.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_component/presentation_panel_internal.test.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_component/presentation_panel_internal.tsx (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_component/presentation_panel_strings.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/panel_component/types.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/presentation_panel/tsconfig.json (86%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d0c7ec7723de0..d87cd942807bd 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -613,6 +613,7 @@ src/platform/packages/shared/serverless/settings/security_project @elastic/secur src/platform/plugins/private/input_control_vis @elastic/kibana-presentation src/platform/plugins/private/links @elastic/kibana-presentation src/platform/plugins/private/maps_ems @elastic/kibana-presentation +src/platform/plugins/private/presentation_panel @elastic/kibana-presentation src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant src/platform/plugins/shared/console @elastic/kibana-management src/platform/plugins/shared/controls @elastic/kibana-presentation @@ -668,7 +669,6 @@ src/plugins/kibana_utils @elastic/appex-sharedux src/plugins/navigation @elastic/appex-sharedux src/plugins/newsfeed @elastic/kibana-core src/plugins/no_data_page @elastic/appex-sharedux -src/plugins/presentation_panel @elastic/kibana-presentation src/plugins/presentation_util @elastic/kibana-presentation src/plugins/saved_objects @elastic/appex-sharedux src/plugins/saved_objects_finder @elastic/kibana-data-discovery diff --git a/.i18nrc.json b/.i18nrc.json index 528a316f1aa74..973c2a17f1547 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -34,7 +34,7 @@ ], "savedSearch": "src/plugins/saved_search", "embeddableApi": "src/platform/plugins/shared/embeddable", - "presentationPanel": "src/plugins/presentation_panel", + "presentationPanel": "src/platform/plugins/private/presentation_panel", "embeddableExamples": "examples/embeddable_examples", "esQuery": "packages/kbn-es-query/src", "kbnGridLayout": "packages/kbn-grid-layout", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 4eaa1d9842e9d..d2b9edb97ec62 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -282,7 +282,7 @@ Content is fetched from the remote (https://feeds.elastic.co) once a day, with p |Helps to globally configure the no data page components -|{kib-repo}blob/{branch}/src/plugins/presentation_panel/README.md[presentationPanel] +|{kib-repo}blob/{branch}/src/platform/plugins/private/presentation_panel/README.md[presentationPanel] |The Presentation Panel is the point of contact between any React component and any registered UI actions. Components provided to the Presentation Panel should use an imperative handle to expose methods and state. diff --git a/package.json b/package.json index 816a3173de945..40f29f38d763c 100644 --- a/package.json +++ b/package.json @@ -724,7 +724,7 @@ "@kbn/portable-dashboards-example": "link:examples/portable_dashboards_example", "@kbn/preboot-example-plugin": "link:examples/preboot_example", "@kbn/presentation-containers": "link:src/platform/packages/shared/presentation/presentation_containers", - "@kbn/presentation-panel-plugin": "link:src/plugins/presentation_panel", + "@kbn/presentation-panel-plugin": "link:src/platform/plugins/private/presentation_panel", "@kbn/presentation-publishing": "link:packages/presentation/presentation_publishing", "@kbn/presentation-util-plugin": "link:src/plugins/presentation_util", "@kbn/product-doc-base-plugin": "link:x-pack/platform/plugins/shared/ai_infra/product_doc_base", diff --git a/src/plugins/presentation_panel/README.md b/src/platform/plugins/private/presentation_panel/README.md similarity index 100% rename from src/plugins/presentation_panel/README.md rename to src/platform/plugins/private/presentation_panel/README.md diff --git a/src/plugins/presentation_panel/common/index.ts b/src/platform/plugins/private/presentation_panel/common/index.ts similarity index 100% rename from src/plugins/presentation_panel/common/index.ts rename to src/platform/plugins/private/presentation_panel/common/index.ts diff --git a/src/plugins/presentation_panel/jest.config.js b/src/platform/plugins/private/presentation_panel/jest.config.js similarity index 65% rename from src/plugins/presentation_panel/jest.config.js rename to src/platform/plugins/private/presentation_panel/jest.config.js index a6812377c7175..efa62c83a1718 100644 --- a/src/plugins/presentation_panel/jest.config.js +++ b/src/platform/plugins/private/presentation_panel/jest.config.js @@ -9,12 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/presentation_panel'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/presentation_panel', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/presentation_panel'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/presentation_panel', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/presentation_panel/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/private/presentation_panel/{common,public,server}/**/*.{ts,tsx}', ], - setupFiles: ['/src/plugins/presentation_panel/jest_setup.ts'], + setupFiles: ['/src/platform/plugins/private/presentation_panel/jest_setup.ts'], }; diff --git a/src/plugins/presentation_panel/jest_setup.ts b/src/platform/plugins/private/presentation_panel/jest_setup.ts similarity index 100% rename from src/plugins/presentation_panel/jest_setup.ts rename to src/platform/plugins/private/presentation_panel/jest_setup.ts diff --git a/src/plugins/presentation_panel/kibana.jsonc b/src/platform/plugins/private/presentation_panel/kibana.jsonc similarity index 100% rename from src/plugins/presentation_panel/kibana.jsonc rename to src/platform/plugins/private/presentation_panel/kibana.jsonc diff --git a/src/plugins/presentation_panel/public/index.ts b/src/platform/plugins/private/presentation_panel/public/index.ts similarity index 100% rename from src/plugins/presentation_panel/public/index.ts rename to src/platform/plugins/private/presentation_panel/public/index.ts diff --git a/src/plugins/presentation_panel/public/kibana_services.ts b/src/platform/plugins/private/presentation_panel/public/kibana_services.ts similarity index 100% rename from src/plugins/presentation_panel/public/kibana_services.ts rename to src/platform/plugins/private/presentation_panel/public/kibana_services.ts diff --git a/src/plugins/presentation_panel/public/mocks.tsx b/src/platform/plugins/private/presentation_panel/public/mocks.tsx similarity index 100% rename from src/plugins/presentation_panel/public/mocks.tsx rename to src/platform/plugins/private/presentation_panel/public/mocks.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.test.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.test.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.test.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.test.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.test.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.test.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.test.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.test.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/filters_details.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/filters_details.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/filters_details.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/filters_details.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/index.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/index.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/index.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/index.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/open_customize_panel.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/open_customize_panel.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/open_customize_panel.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/open_customize_panel.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/index.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/index.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/index.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/index.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/panel_actions.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/panel_actions.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/panel_actions.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/panel_actions.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/triggers.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/triggers.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/triggers.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/triggers.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/types.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/types.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/types.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/types.ts diff --git a/src/plugins/presentation_panel/public/panel_component/_presentation_panel.scss b/src/platform/plugins/private/presentation_panel/public/panel_component/_presentation_panel.scss similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/_presentation_panel.scss rename to src/platform/plugins/private/presentation_panel/public/panel_component/_presentation_panel.scss diff --git a/src/plugins/presentation_panel/public/panel_component/index.ts b/src/platform/plugins/private/presentation_panel/public/panel_component/index.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/index.ts rename to src/platform/plugins/private/presentation_panel/public/panel_component/index.ts diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_hover_actions.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_hover_actions.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_hover_actions.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_hover_actions.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_title.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_title.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_title.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_title.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_title.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_title.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_title.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_title.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/use_presentation_panel_header_actions.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/use_presentation_panel_header_actions.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/use_presentation_panel_header_actions.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/use_presentation_panel_header_actions.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_error.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_error.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_error.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_error.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_strings.ts b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_strings.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_strings.ts rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_strings.ts diff --git a/src/plugins/presentation_panel/public/panel_component/types.ts b/src/platform/plugins/private/presentation_panel/public/panel_component/types.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/types.ts rename to src/platform/plugins/private/presentation_panel/public/panel_component/types.ts diff --git a/src/plugins/presentation_panel/public/plugin.ts b/src/platform/plugins/private/presentation_panel/public/plugin.ts similarity index 100% rename from src/plugins/presentation_panel/public/plugin.ts rename to src/platform/plugins/private/presentation_panel/public/plugin.ts diff --git a/src/plugins/presentation_panel/tsconfig.json b/src/platform/plugins/private/presentation_panel/tsconfig.json similarity index 86% rename from src/plugins/presentation_panel/tsconfig.json rename to src/platform/plugins/private/presentation_panel/tsconfig.json index 255e4fd4eccde..8436273657418 100644 --- a/src/plugins/presentation_panel/tsconfig.json +++ b/src/platform/plugins/private/presentation_panel/tsconfig.json @@ -1,9 +1,9 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, - "include": ["*.ts", "common/**/*", "public/**/*", "../../../typings/**/*"], + "include": ["*.ts", "common/**/*", "public/**/*", "../../../../../typings/**/*"], "kbn_references": [ "@kbn/core", "@kbn/ui-actions-plugin", diff --git a/src/platform/plugins/shared/embeddable/README.md b/src/platform/plugins/shared/embeddable/README.md index 6c7f7688f3d28..62c5c007d86ad 100644 --- a/src/platform/plugins/shared/embeddable/README.md +++ b/src/platform/plugins/shared/embeddable/README.md @@ -16,12 +16,12 @@ Each embeddable manages its own state. This is because the embeddable system all #### Publishing package An embeddable API is a plain old typescript object that implements any number of shared interfaces. A shared interface is defined by a publishing package. A publishing package also provides a type guard that is used to check if a given object fulfills the interface. -For example, the [has_edit_capabilites](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts) publishing package defines the `HasEditCapabilities` interface and the `apiHasEditCapabilities` type guard. The [edit panal action](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts) defines the "Edit" panel context menu action. The action's `isCompatible` check uses the `apiHasEditCapabilities` type guard to check that an embeddable API implements the `HasEditCapabilities` interface. When an embeddable API implements the interface and all other conditions of `isCompatible` check are true, the "Edit" action is availabe in the panel context menu. When an embeddable API does not implement the interface, the "Edit" action is not available in the panel context menu. +For example, the [has_edit_capabilites](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts) publishing package defines the `HasEditCapabilities` interface and the `apiHasEditCapabilities` type guard. The [edit panal action](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts) defines the "Edit" panel context menu action. The action's `isCompatible` check uses the `apiHasEditCapabilities` type guard to check that an embeddable API implements the `HasEditCapabilities` interface. When an embeddable API implements the interface and all other conditions of `isCompatible` check are true, the "Edit" action is availabe in the panel context menu. When an embeddable API does not implement the interface, the "Edit" action is not available in the panel context menu. #### Publishing subject An embeddable API shares state via a publishing subject, a read only RxJS Observable. -For example, [publishes_panel_title](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts) publishing package defines interfaces and type guards for title state. [initializeTitles](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts) provides an implemenation for the titles publishing package. `panelTitle` is provided as a publishing subject. [PresentationPanelInternal React component](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.tsx) uses a hook to consume `panelTitle` as React state. Changes to `panelTitle` publishing subject updates React state, which in turn, causes the UI to re-render with the current value. [CustomizePanelEditor React component](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx) uses `api.setPanelTitle` to set the title on save. +For example, [publishes_panel_title](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts) publishing package defines interfaces and type guards for title state. [initializeTitles](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts) provides an implemenation for the titles publishing package. `panelTitle` is provided as a publishing subject. [PresentationPanelInternal React component](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.tsx) uses a hook to consume `panelTitle` as React state. Changes to `panelTitle` publishing subject updates React state, which in turn, causes the UI to re-render with the current value. [CustomizePanelEditor React component](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx) uses `api.setPanelTitle` to set the title on save. #### Comparators Comparators allow a page to track changes to an embeddable's state. For example, Dashboard uses comparators to display a UI notification for unsaved changes, to reset changes, and persist unsaved changes to session storage. diff --git a/tsconfig.base.json b/tsconfig.base.json index b3739855d619f..a881e27bc0f78 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1404,8 +1404,8 @@ "@kbn/preboot-example-plugin/*": ["examples/preboot_example/*"], "@kbn/presentation-containers": ["src/platform/packages/shared/presentation/presentation_containers"], "@kbn/presentation-containers/*": ["src/platform/packages/shared/presentation/presentation_containers/*"], - "@kbn/presentation-panel-plugin": ["src/plugins/presentation_panel"], - "@kbn/presentation-panel-plugin/*": ["src/plugins/presentation_panel/*"], + "@kbn/presentation-panel-plugin": ["src/platform/plugins/private/presentation_panel"], + "@kbn/presentation-panel-plugin/*": ["src/platform/plugins/private/presentation_panel/*"], "@kbn/presentation-publishing": ["packages/presentation/presentation_publishing"], "@kbn/presentation-publishing/*": ["packages/presentation/presentation_publishing/*"], "@kbn/presentation-util-plugin": ["src/plugins/presentation_util"], diff --git a/yarn.lock b/yarn.lock index cd62624cb6d70..8b4d45a858a32 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6625,7 +6625,7 @@ version "0.0.0" uid "" -"@kbn/presentation-panel-plugin@link:src/plugins/presentation_panel": +"@kbn/presentation-panel-plugin@link:src/platform/plugins/private/presentation_panel": version "0.0.0" uid "" From 8bbae6c79ea226137b60051f589841fd8544deaa Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:46:45 +0100 Subject: [PATCH 25/29] Relocating module `@kbn/presentation-publishing` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../presentation/presentation_publishing/README.md | 0 .../comparators/fallback_comparator.ts | 0 .../presentation_publishing/comparators/index.ts | 0 .../comparators/state_comparators.ts | 0 .../presentation_publishing/comparators/types.ts | 0 .../shared}/presentation/presentation_publishing/index.ts | 0 .../interfaces/can_access_view_mode.ts | 0 .../interfaces/can_lock_hover_actions.ts | 0 .../interfaces/fetch/fetch.test.ts | 0 .../presentation_publishing/interfaces/fetch/fetch.ts | 0 .../interfaces/fetch/initialize_time_range.ts | 0 .../interfaces/fetch/publishes_reload.ts | 0 .../interfaces/fetch/publishes_search_session.ts | 0 .../interfaces/fetch/publishes_unified_search.ts | 0 .../presentation_publishing/interfaces/has_app_context.ts | 0 .../interfaces/has_disable_triggers.ts | 0 .../interfaces/has_edit_capabilities.ts | 0 .../interfaces/has_execution_context.ts | 0 .../interfaces/has_library_transforms.ts | 0 .../presentation_publishing/interfaces/has_parent_api.ts | 0 .../interfaces/has_supported_triggers.ts | 0 .../presentation_publishing/interfaces/has_type.ts | 0 .../presentation_publishing/interfaces/has_uuid.ts | 0 .../interfaces/publishes_blocking_error.ts | 0 .../interfaces/publishes_data_loading.ts | 0 .../interfaces/publishes_data_views.ts | 0 .../interfaces/publishes_disabled_action_ids.ts | 0 .../interfaces/publishes_phase_events.ts | 0 .../interfaces/publishes_rendered.ts | 0 .../interfaces/publishes_saved_object_id.ts | 0 .../interfaces/publishes_unsaved_changes.ts | 0 .../interfaces/publishes_view_mode.ts | 0 .../interfaces/titles/publishes_panel_description.test.ts | 0 .../interfaces/titles/publishes_panel_description.ts | 0 .../interfaces/titles/publishes_panel_title.test.ts | 0 .../interfaces/titles/publishes_panel_title.ts | 0 .../interfaces/titles/titles_api.test.ts | 0 .../interfaces/titles/titles_api.ts | 0 .../presentation/presentation_publishing/jest.config.js | 4 ++-- .../presentation/presentation_publishing/kibana.jsonc | 0 .../presentation/presentation_publishing/package.json | 0 .../presentation_publishing/publishing_subject/index.ts | 0 .../publishing_subject/publishing_batcher.ts | 0 .../publishing_subject/publishing_subject.test.tsx | 0 .../publishing_subject/publishing_subject.ts | 0 .../presentation_publishing/publishing_subject/types.ts | 0 .../presentation/presentation_publishing/tsconfig.json | 2 +- src/platform/plugins/shared/embeddable/README.md | 8 ++++---- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 52 files changed, 12 insertions(+), 12 deletions(-) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/README.md (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/comparators/fallback_comparator.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/comparators/index.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/comparators/state_comparators.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/comparators/types.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/index.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/can_access_view_mode.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/fetch/fetch.test.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/fetch/fetch.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/fetch/publishes_search_session.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/has_app_context.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/has_disable_triggers.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/has_execution_context.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/has_library_transforms.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/has_parent_api.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/has_supported_triggers.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/has_type.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/has_uuid.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/publishes_data_loading.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/publishes_data_views.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/publishes_phase_events.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/publishes_rendered.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/publishes_view_mode.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.test.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.test.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/titles/titles_api.test.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/interfaces/titles/titles_api.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/jest.config.js (80%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/package.json (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/publishing_subject/index.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/publishing_subject/publishing_subject.test.tsx (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/publishing_subject/publishing_subject.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/publishing_subject/types.ts (100%) rename {packages => src/platform/packages/shared}/presentation/presentation_publishing/tsconfig.json (85%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d87cd942807bd..aa579ce9c8d17 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -497,7 +497,6 @@ packages/kbn-xstate-utils @elastic/obs-ux-logs-team packages/kbn-yarn-lock-validator @elastic/kibana-operations packages/kbn-zod @elastic/kibana-core packages/kbn-zod-helpers @elastic/security-detection-rule-management -packages/presentation/presentation_publishing @elastic/kibana-presentation packages/react/kibana_context/common @elastic/appex-sharedux packages/react/kibana_context/render @elastic/appex-sharedux packages/react/kibana_context/root @elastic/appex-sharedux @@ -609,6 +608,7 @@ src/platform/packages/shared/kbn-sse-utils-server @elastic/obs-knowledge-team src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management src/platform/packages/shared/presentation/presentation_containers @elastic/kibana-presentation +src/platform/packages/shared/presentation/presentation_publishing @elastic/kibana-presentation src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management src/platform/plugins/private/input_control_vis @elastic/kibana-presentation src/platform/plugins/private/links @elastic/kibana-presentation diff --git a/package.json b/package.json index 40f29f38d763c..dedab78fe7dcb 100644 --- a/package.json +++ b/package.json @@ -725,7 +725,7 @@ "@kbn/preboot-example-plugin": "link:examples/preboot_example", "@kbn/presentation-containers": "link:src/platform/packages/shared/presentation/presentation_containers", "@kbn/presentation-panel-plugin": "link:src/platform/plugins/private/presentation_panel", - "@kbn/presentation-publishing": "link:packages/presentation/presentation_publishing", + "@kbn/presentation-publishing": "link:src/platform/packages/shared/presentation/presentation_publishing", "@kbn/presentation-util-plugin": "link:src/plugins/presentation_util", "@kbn/product-doc-base-plugin": "link:x-pack/platform/plugins/shared/ai_infra/product_doc_base", "@kbn/product-doc-common": "link:x-pack/platform/packages/shared/ai-infra/product-doc-common", diff --git a/packages/presentation/presentation_publishing/README.md b/src/platform/packages/shared/presentation/presentation_publishing/README.md similarity index 100% rename from packages/presentation/presentation_publishing/README.md rename to src/platform/packages/shared/presentation/presentation_publishing/README.md diff --git a/packages/presentation/presentation_publishing/comparators/fallback_comparator.ts b/src/platform/packages/shared/presentation/presentation_publishing/comparators/fallback_comparator.ts similarity index 100% rename from packages/presentation/presentation_publishing/comparators/fallback_comparator.ts rename to src/platform/packages/shared/presentation/presentation_publishing/comparators/fallback_comparator.ts diff --git a/packages/presentation/presentation_publishing/comparators/index.ts b/src/platform/packages/shared/presentation/presentation_publishing/comparators/index.ts similarity index 100% rename from packages/presentation/presentation_publishing/comparators/index.ts rename to src/platform/packages/shared/presentation/presentation_publishing/comparators/index.ts diff --git a/packages/presentation/presentation_publishing/comparators/state_comparators.ts b/src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts similarity index 100% rename from packages/presentation/presentation_publishing/comparators/state_comparators.ts rename to src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts diff --git a/packages/presentation/presentation_publishing/comparators/types.ts b/src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts similarity index 100% rename from packages/presentation/presentation_publishing/comparators/types.ts rename to src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts diff --git a/packages/presentation/presentation_publishing/index.ts b/src/platform/packages/shared/presentation/presentation_publishing/index.ts similarity index 100% rename from packages/presentation/presentation_publishing/index.ts rename to src/platform/packages/shared/presentation/presentation_publishing/index.ts diff --git a/packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts diff --git a/packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/fetch.test.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.test.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/fetch.test.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.test.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/publishes_search_session.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_search_session.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/publishes_search_session.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_search_session.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_app_context.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_app_context.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_execution_context.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_execution_context.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_execution_context.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_execution_context.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_parent_api.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_parent_api.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_parent_api.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_parent_api.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_supported_triggers.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_supported_triggers.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_supported_triggers.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_supported_triggers.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_type.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_type.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_uuid.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_uuid.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_uuid.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_uuid.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_data_loading.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_loading.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_data_loading.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_loading.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_rendered.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_rendered.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_rendered.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_rendered.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.test.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.test.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.test.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.test.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.test.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.test.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.test.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.test.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/titles_api.test.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.test.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/titles_api.test.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.test.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts diff --git a/packages/presentation/presentation_publishing/jest.config.js b/src/platform/packages/shared/presentation/presentation_publishing/jest.config.js similarity index 80% rename from packages/presentation/presentation_publishing/jest.config.js rename to src/platform/packages/shared/presentation/presentation_publishing/jest.config.js index dca7812d88eb3..5472459fba481 100644 --- a/packages/presentation/presentation_publishing/jest.config.js +++ b/src/platform/packages/shared/presentation/presentation_publishing/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/presentation/presentation_publishing'], + rootDir: '../../../../../..', + roots: ['/src/platform/packages/shared/presentation/presentation_publishing'], }; diff --git a/packages/presentation/presentation_publishing/kibana.jsonc b/src/platform/packages/shared/presentation/presentation_publishing/kibana.jsonc similarity index 100% rename from packages/presentation/presentation_publishing/kibana.jsonc rename to src/platform/packages/shared/presentation/presentation_publishing/kibana.jsonc diff --git a/packages/presentation/presentation_publishing/package.json b/src/platform/packages/shared/presentation/presentation_publishing/package.json similarity index 100% rename from packages/presentation/presentation_publishing/package.json rename to src/platform/packages/shared/presentation/presentation_publishing/package.json diff --git a/packages/presentation/presentation_publishing/publishing_subject/index.ts b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/index.ts similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/index.ts rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/index.ts diff --git a/packages/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts diff --git a/packages/presentation/presentation_publishing/publishing_subject/publishing_subject.test.tsx b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.test.tsx similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/publishing_subject.test.tsx rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.test.tsx diff --git a/packages/presentation/presentation_publishing/publishing_subject/publishing_subject.ts b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.ts similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/publishing_subject.ts rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.ts diff --git a/packages/presentation/presentation_publishing/publishing_subject/types.ts b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/types.ts similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/types.ts rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/types.ts diff --git a/packages/presentation/presentation_publishing/tsconfig.json b/src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json similarity index 85% rename from packages/presentation/presentation_publishing/tsconfig.json rename to src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json index a08944f9674da..58edc9d14270d 100644 --- a/packages/presentation/presentation_publishing/tsconfig.json +++ b/src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node", "react"] diff --git a/src/platform/plugins/shared/embeddable/README.md b/src/platform/plugins/shared/embeddable/README.md index 62c5c007d86ad..4e0deea10830c 100644 --- a/src/platform/plugins/shared/embeddable/README.md +++ b/src/platform/plugins/shared/embeddable/README.md @@ -16,19 +16,19 @@ Each embeddable manages its own state. This is because the embeddable system all #### Publishing package An embeddable API is a plain old typescript object that implements any number of shared interfaces. A shared interface is defined by a publishing package. A publishing package also provides a type guard that is used to check if a given object fulfills the interface. -For example, the [has_edit_capabilites](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts) publishing package defines the `HasEditCapabilities` interface and the `apiHasEditCapabilities` type guard. The [edit panal action](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts) defines the "Edit" panel context menu action. The action's `isCompatible` check uses the `apiHasEditCapabilities` type guard to check that an embeddable API implements the `HasEditCapabilities` interface. When an embeddable API implements the interface and all other conditions of `isCompatible` check are true, the "Edit" action is availabe in the panel context menu. When an embeddable API does not implement the interface, the "Edit" action is not available in the panel context menu. +For example, the [has_edit_capabilites](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts) publishing package defines the `HasEditCapabilities` interface and the `apiHasEditCapabilities` type guard. The [edit panal action](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts) defines the "Edit" panel context menu action. The action's `isCompatible` check uses the `apiHasEditCapabilities` type guard to check that an embeddable API implements the `HasEditCapabilities` interface. When an embeddable API implements the interface and all other conditions of `isCompatible` check are true, the "Edit" action is availabe in the panel context menu. When an embeddable API does not implement the interface, the "Edit" action is not available in the panel context menu. #### Publishing subject An embeddable API shares state via a publishing subject, a read only RxJS Observable. -For example, [publishes_panel_title](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts) publishing package defines interfaces and type guards for title state. [initializeTitles](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts) provides an implemenation for the titles publishing package. `panelTitle` is provided as a publishing subject. [PresentationPanelInternal React component](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.tsx) uses a hook to consume `panelTitle` as React state. Changes to `panelTitle` publishing subject updates React state, which in turn, causes the UI to re-render with the current value. [CustomizePanelEditor React component](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx) uses `api.setPanelTitle` to set the title on save. +For example, [publishes_panel_title](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts) publishing package defines interfaces and type guards for title state. [initializeTitles](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts) provides an implemenation for the titles publishing package. `panelTitle` is provided as a publishing subject. [PresentationPanelInternal React component](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.tsx) uses a hook to consume `panelTitle` as React state. Changes to `panelTitle` publishing subject updates React state, which in turn, causes the UI to re-render with the current value. [CustomizePanelEditor React component](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx) uses `api.setPanelTitle` to set the title on save. #### Comparators Comparators allow a page to track changes to an embeddable's state. For example, Dashboard uses comparators to display a UI notification for unsaved changes, to reset changes, and persist unsaved changes to session storage. A comparator must be provided for each property in an embeddable's RuntimeState. A comparator is a 3 element tuple: where the first element is a publishing subject providing the current value. The second element is a setter allowing the page to reset the value. The third element is an optional comparator function which provides logic to diff this property. -For example, [initializeTitles](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts) provides an implemenation for the titles publishing package. Comparitors are provided for each property from `SerializedTitles`. +For example, [initializeTitles](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts) provides an implemenation for the titles publishing package. Comparitors are provided for each property from `SerializedTitles`. ### Best practices @@ -42,7 +42,7 @@ Break your Component into a Package or another plugin to avoid circular plugin d Embeddable APIs are accessable to all Kibana systems and all embeddable siblings and parents. Functions and state that are internal to an embeddable including any child components should not be added to the API. Consider passing internal state to child as props or react context. #### Error handling -Embeddables should never throw. Instead, use [PublishesBlockingError](https://github.com/elastic/kibana/blob/main/packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts) interface to surface unrecoverable errors. When an embeddable publishes a blocking error, the parent component will display an error component instead of the embeddable Component. Be thoughtful about which errors are surfaced with the PublishesBlockingError interface. If the embeddable can still render, use less invasive error handling such as a warning toast or notifications in the embeddable Component UI. +Embeddables should never throw. Instead, use [PublishesBlockingError](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts) interface to surface unrecoverable errors. When an embeddable publishes a blocking error, the parent component will display an error component instead of the embeddable Component. Be thoughtful about which errors are surfaced with the PublishesBlockingError interface. If the embeddable can still render, use less invasive error handling such as a warning toast or notifications in the embeddable Component UI. ### Examples Examples available at [/examples/embeddable_examples](https://github.com/elastic/kibana/tree/main/examples/embeddable_examples) diff --git a/tsconfig.base.json b/tsconfig.base.json index a881e27bc0f78..c1d8f60868c87 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1406,8 +1406,8 @@ "@kbn/presentation-containers/*": ["src/platform/packages/shared/presentation/presentation_containers/*"], "@kbn/presentation-panel-plugin": ["src/platform/plugins/private/presentation_panel"], "@kbn/presentation-panel-plugin/*": ["src/platform/plugins/private/presentation_panel/*"], - "@kbn/presentation-publishing": ["packages/presentation/presentation_publishing"], - "@kbn/presentation-publishing/*": ["packages/presentation/presentation_publishing/*"], + "@kbn/presentation-publishing": ["src/platform/packages/shared/presentation/presentation_publishing"], + "@kbn/presentation-publishing/*": ["src/platform/packages/shared/presentation/presentation_publishing/*"], "@kbn/presentation-util-plugin": ["src/plugins/presentation_util"], "@kbn/presentation-util-plugin/*": ["src/plugins/presentation_util/*"], "@kbn/product-doc-artifact-builder": ["x-pack/packages/ai-infra/product-doc-artifact-builder"], diff --git a/yarn.lock b/yarn.lock index 8b4d45a858a32..289b1820c15f6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6629,7 +6629,7 @@ version "0.0.0" uid "" -"@kbn/presentation-publishing@link:packages/presentation/presentation_publishing": +"@kbn/presentation-publishing@link:src/platform/packages/shared/presentation/presentation_publishing": version "0.0.0" uid "" From da4eae6ad34406df4ab471d510826664d856798c Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:49:38 +0100 Subject: [PATCH 26/29] Relocating module `@kbn/presentation-util-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- .../plugins/shared}/presentation_util/README.mdx | 0 .../plugins/shared}/presentation_util/common/index.ts | 0 .../plugins/shared}/presentation_util/common/labs.ts | 0 .../plugins/shared}/presentation_util/common/lib/index.ts | 0 .../presentation_util/common/lib/utils/dataurl.test.ts | 0 .../shared}/presentation_util/common/lib/utils/dataurl.ts | 0 .../presentation_util/common/lib/utils/elastic_logo.ts | 0 .../presentation_util/common/lib/utils/elastic_outline.ts | 0 .../presentation_util/common/lib/utils/httpurl.test.ts | 0 .../shared}/presentation_util/common/lib/utils/httpurl.ts | 0 .../shared}/presentation_util/common/lib/utils/index.ts | 0 .../presentation_util/common/lib/utils/missing_asset.ts | 0 .../common/lib/utils/resolve_dataurl.test.ts | 0 .../presentation_util/common/lib/utils/resolve_dataurl.ts | 0 .../presentation_util/common/lib/utils/url.test.ts | 0 .../shared}/presentation_util/common/lib/utils/url.ts | 0 .../plugins/shared}/presentation_util/jest.config.js | 8 ++++---- .../plugins/shared}/presentation_util/kibana.jsonc | 0 .../public/__stories__/fixtures/flights.ts | 0 .../public/__stories__/fixtures/flights_data.ts | 0 .../presentation_util/public/__stories__/index.tsx | 0 .../presentation_util/public/__stories__/render.tsx | 0 .../presentation_util/public/__stories__/wait_for.tsx | 0 .../dashboard_drilldown_options.tsx | 0 .../components/dashboard_drilldown_options/types.ts | 0 .../dashboard_picker/dashboard_picker.stories.tsx | 0 .../components/dashboard_picker/dashboard_picker.tsx | 0 .../data_view_picker/data_view_picker.stories.tsx | 0 .../components/data_view_picker/data_view_picker.tsx | 0 .../public/components/expression_input/autocomplete.ts | 0 .../public/components/expression_input/constants.ts | 0 .../expression_input/expression_input.stories.tsx | 0 .../components/expression_input/expression_input.tsx | 0 .../public/components/expression_input/index.tsx | 0 .../public/components/expression_input/language.ts | 0 .../public/components/expression_input/providers.ts | 0 .../public/components/expression_input/reference.ts | 0 .../public/components/field_picker/field_picker.scss | 0 .../components/field_picker/field_picker.stories.tsx | 0 .../public/components/field_picker/field_picker.tsx | 0 .../public/components/field_picker/field_type_filter.tsx | 0 .../components/floating_actions/floating_actions.scss | 0 .../components/floating_actions/floating_actions.tsx | 0 .../shared}/presentation_util/public/components/index.tsx | 0 .../public/components/labs/environment_switch.tsx | 0 .../public/components/labs/labs.stories.tsx | 0 .../public/components/labs/labs_beaker_button.tsx | 0 .../public/components/labs/labs_flyout.tsx | 0 .../public/components/labs/project_list.tsx | 0 .../public/components/labs/project_list_item.scss | 0 .../public/components/labs/project_list_item.stories.tsx | 0 .../public/components/labs/project_list_item.tsx | 0 .../components/saved_object_save_modal_dashboard.tsx | 0 ...saved_object_save_modal_dashboard_selector.stories.tsx | 0 .../saved_object_save_modal_dashboard_selector.tsx | 0 .../shared}/presentation_util/public/components/types.ts | 0 .../public/i18n/dashboard_drilldown_config.tsx | 0 .../shared}/presentation_util/public/i18n/index.ts | 0 .../shared}/presentation_util/public/i18n/labs.tsx | 0 .../plugins/shared}/presentation_util/public/index.ts | 0 .../plugins/shared}/presentation_util/public/mocks.ts | 0 .../plugins/shared}/presentation_util/public/plugin.ts | 0 .../presentation_util/public/services/kibana_services.ts | 0 .../shared}/presentation_util/public/services/mocks.ts | 0 .../public/services/presentation_labs_service.ts | 0 .../plugins/shared}/presentation_util/public/types.ts | 0 .../public/utils/get_presentation_capabilities.ts | 0 .../plugins/shared}/presentation_util/server/index.ts | 0 .../plugins/shared}/presentation_util/server/plugin.ts | 0 .../shared}/presentation_util/server/ui_settings.ts | 0 .../shared}/presentation_util/storybook/decorator.tsx | 0 .../plugins/shared}/presentation_util/storybook/main.ts | 2 +- .../shared}/presentation_util/storybook/manager.ts | 2 +- .../shared}/presentation_util/storybook/preview.tsx | 0 .../presentation_util/test_helpers/function_wrapper.ts | 0 .../shared}/presentation_util/test_helpers/index.ts | 0 .../shared}/presentation_util/test_helpers/test_styles.ts | 0 .../plugins/shared}/presentation_util/tsconfig.json | 4 ++-- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 85 files changed, 16 insertions(+), 16 deletions(-) rename src/{plugins => platform/plugins/shared}/presentation_util/README.mdx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/labs.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/lib/index.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/lib/utils/dataurl.test.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/lib/utils/dataurl.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/lib/utils/elastic_logo.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/lib/utils/elastic_outline.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/lib/utils/httpurl.test.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/lib/utils/httpurl.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/lib/utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/lib/utils/missing_asset.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/lib/utils/resolve_dataurl.test.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/lib/utils/resolve_dataurl.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/lib/utils/url.test.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/common/lib/utils/url.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/jest.config.js (72%) rename src/{plugins => platform/plugins/shared}/presentation_util/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/__stories__/fixtures/flights.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/__stories__/fixtures/flights_data.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/__stories__/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/__stories__/render.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/__stories__/wait_for.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/dashboard_drilldown_options/dashboard_drilldown_options.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/dashboard_drilldown_options/types.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/dashboard_picker/dashboard_picker.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/dashboard_picker/dashboard_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/data_view_picker/data_view_picker.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/data_view_picker/data_view_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/expression_input/autocomplete.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/expression_input/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/expression_input/expression_input.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/expression_input/expression_input.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/expression_input/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/expression_input/language.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/expression_input/providers.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/expression_input/reference.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/field_picker/field_picker.scss (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/field_picker/field_picker.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/field_picker/field_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/field_picker/field_type_filter.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/floating_actions/floating_actions.scss (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/floating_actions/floating_actions.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/labs/environment_switch.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/labs/labs.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/labs/labs_beaker_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/labs/labs_flyout.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/labs/project_list.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/labs/project_list_item.scss (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/labs/project_list_item.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/labs/project_list_item.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/saved_object_save_modal_dashboard.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/saved_object_save_modal_dashboard_selector.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/saved_object_save_modal_dashboard_selector.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/components/types.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/i18n/dashboard_drilldown_config.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/i18n/index.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/i18n/labs.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/services/kibana_services.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/services/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/services/presentation_labs_service.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/public/utils/get_presentation_capabilities.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/server/ui_settings.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/storybook/decorator.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/storybook/main.ts (92%) rename src/{plugins => platform/plugins/shared}/presentation_util/storybook/manager.ts (95%) rename src/{plugins => platform/plugins/shared}/presentation_util/storybook/preview.tsx (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/test_helpers/function_wrapper.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/test_helpers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/test_helpers/test_styles.ts (100%) rename src/{plugins => platform/plugins/shared}/presentation_util/tsconfig.json (92%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index aa579ce9c8d17..db8d168dabe33 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -631,6 +631,7 @@ src/platform/plugins/shared/expression_reveal_image @elastic/kibana-presentation src/platform/plugins/shared/expression_shape @elastic/kibana-presentation src/platform/plugins/shared/inspector @elastic/kibana-presentation src/platform/plugins/shared/management @elastic/kibana-management +src/platform/plugins/shared/presentation_util @elastic/kibana-presentation src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/bfetch @elastic/appex-sharedux src/plugins/chart_expressions/common @elastic/kibana-visualizations @@ -669,7 +670,6 @@ src/plugins/kibana_utils @elastic/appex-sharedux src/plugins/navigation @elastic/appex-sharedux src/plugins/newsfeed @elastic/kibana-core src/plugins/no_data_page @elastic/appex-sharedux -src/plugins/presentation_util @elastic/kibana-presentation src/plugins/saved_objects @elastic/appex-sharedux src/plugins/saved_objects_finder @elastic/kibana-data-discovery src/plugins/saved_objects_management @elastic/kibana-core diff --git a/.i18nrc.json b/.i18nrc.json index 973c2a17f1547..83636137f30e3 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -100,7 +100,7 @@ "navigation": ["src/plugins/navigation", "packages/solution-nav"], "links": "src/platform/plugins/private/links", "newsfeed": "src/plugins/newsfeed", - "presentationUtil": "src/plugins/presentation_util", + "presentationUtil": "src/platform/plugins/shared/presentation_util", "randomSampling": "x-pack/packages/kbn-random-sampling", "reactPackages": "packages/react", "esqlEditor": "src/platform/packages/private/kbn-esql-editor", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index d2b9edb97ec62..fc350158948d8 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -286,7 +286,7 @@ Content is fetched from the remote (https://feeds.elastic.co) once a day, with p |The Presentation Panel is the point of contact between any React component and any registered UI actions. Components provided to the Presentation Panel should use an imperative handle to expose methods and state. -|{kib-repo}blob/{branch}/src/plugins/presentation_util/README.mdx[presentationUtil] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/presentation_util/README.mdx[presentationUtil] |The Presentation Utility Plugin is a set of common, shared components and toolkits for solutions within the Presentation space, (e.g. Dashboards, Canvas). diff --git a/package.json b/package.json index dedab78fe7dcb..e74e35a1d54c2 100644 --- a/package.json +++ b/package.json @@ -726,7 +726,7 @@ "@kbn/presentation-containers": "link:src/platform/packages/shared/presentation/presentation_containers", "@kbn/presentation-panel-plugin": "link:src/platform/plugins/private/presentation_panel", "@kbn/presentation-publishing": "link:src/platform/packages/shared/presentation/presentation_publishing", - "@kbn/presentation-util-plugin": "link:src/plugins/presentation_util", + "@kbn/presentation-util-plugin": "link:src/platform/plugins/shared/presentation_util", "@kbn/product-doc-base-plugin": "link:x-pack/platform/plugins/shared/ai_infra/product_doc_base", "@kbn/product-doc-common": "link:x-pack/platform/packages/shared/ai-infra/product-doc-common", "@kbn/profiling-data-access-plugin": "link:x-pack/plugins/observability_solution/profiling_data_access", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index e226cedee928e..061c5fd70324c 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -61,7 +61,7 @@ export const storybookAliases = { observability_inventory: 'x-pack/plugins/observability_solution/inventory/.storybook', observability_shared: 'x-pack/plugins/observability_solution/observability_shared/.storybook', observability_slo: 'x-pack/solutions/observability/plugins/slo/.storybook', - presentation: 'src/plugins/presentation_util/storybook', + presentation: 'src/platform/plugins/shared/presentation_util/storybook', random_sampling: 'x-pack/packages/kbn-random-sampling/.storybook', esql_editor: 'src/platform/packages/private/kbn-esql-editor/.storybook', security_solution: 'x-pack/solutions/security/plugins/security_solution/.storybook', diff --git a/src/plugins/presentation_util/README.mdx b/src/platform/plugins/shared/presentation_util/README.mdx similarity index 100% rename from src/plugins/presentation_util/README.mdx rename to src/platform/plugins/shared/presentation_util/README.mdx diff --git a/src/plugins/presentation_util/common/index.ts b/src/platform/plugins/shared/presentation_util/common/index.ts similarity index 100% rename from src/plugins/presentation_util/common/index.ts rename to src/platform/plugins/shared/presentation_util/common/index.ts diff --git a/src/plugins/presentation_util/common/labs.ts b/src/platform/plugins/shared/presentation_util/common/labs.ts similarity index 100% rename from src/plugins/presentation_util/common/labs.ts rename to src/platform/plugins/shared/presentation_util/common/labs.ts diff --git a/src/plugins/presentation_util/common/lib/index.ts b/src/platform/plugins/shared/presentation_util/common/lib/index.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/index.ts rename to src/platform/plugins/shared/presentation_util/common/lib/index.ts diff --git a/src/plugins/presentation_util/common/lib/utils/dataurl.test.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.test.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/dataurl.test.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.test.ts diff --git a/src/plugins/presentation_util/common/lib/utils/dataurl.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/dataurl.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts diff --git a/src/plugins/presentation_util/common/lib/utils/elastic_logo.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/elastic_logo.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/elastic_logo.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/elastic_logo.ts diff --git a/src/plugins/presentation_util/common/lib/utils/elastic_outline.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/elastic_outline.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/elastic_outline.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/elastic_outline.ts diff --git a/src/plugins/presentation_util/common/lib/utils/httpurl.test.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.test.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/httpurl.test.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.test.ts diff --git a/src/plugins/presentation_util/common/lib/utils/httpurl.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/httpurl.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.ts diff --git a/src/plugins/presentation_util/common/lib/utils/index.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/index.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/index.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/index.ts diff --git a/src/plugins/presentation_util/common/lib/utils/missing_asset.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/missing_asset.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/missing_asset.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/missing_asset.ts diff --git a/src/plugins/presentation_util/common/lib/utils/resolve_dataurl.test.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.test.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/resolve_dataurl.test.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.test.ts diff --git a/src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts diff --git a/src/plugins/presentation_util/common/lib/utils/url.test.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/url.test.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/url.test.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/url.test.ts diff --git a/src/plugins/presentation_util/common/lib/utils/url.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/url.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/url.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/url.ts diff --git a/src/plugins/presentation_util/jest.config.js b/src/platform/plugins/shared/presentation_util/jest.config.js similarity index 72% rename from src/plugins/presentation_util/jest.config.js rename to src/platform/plugins/shared/presentation_util/jest.config.js index 5c94c3289bf82..9b40440271ad0 100644 --- a/src/plugins/presentation_util/jest.config.js +++ b/src/platform/plugins/shared/presentation_util/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/presentation_util'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/presentation_util', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/presentation_util'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/presentation_util', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/presentation_util/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/presentation_util/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/presentation_util/kibana.jsonc b/src/platform/plugins/shared/presentation_util/kibana.jsonc similarity index 100% rename from src/plugins/presentation_util/kibana.jsonc rename to src/platform/plugins/shared/presentation_util/kibana.jsonc diff --git a/src/plugins/presentation_util/public/__stories__/fixtures/flights.ts b/src/platform/plugins/shared/presentation_util/public/__stories__/fixtures/flights.ts similarity index 100% rename from src/plugins/presentation_util/public/__stories__/fixtures/flights.ts rename to src/platform/plugins/shared/presentation_util/public/__stories__/fixtures/flights.ts diff --git a/src/plugins/presentation_util/public/__stories__/fixtures/flights_data.ts b/src/platform/plugins/shared/presentation_util/public/__stories__/fixtures/flights_data.ts similarity index 100% rename from src/plugins/presentation_util/public/__stories__/fixtures/flights_data.ts rename to src/platform/plugins/shared/presentation_util/public/__stories__/fixtures/flights_data.ts diff --git a/src/plugins/presentation_util/public/__stories__/index.tsx b/src/platform/plugins/shared/presentation_util/public/__stories__/index.tsx similarity index 100% rename from src/plugins/presentation_util/public/__stories__/index.tsx rename to src/platform/plugins/shared/presentation_util/public/__stories__/index.tsx diff --git a/src/plugins/presentation_util/public/__stories__/render.tsx b/src/platform/plugins/shared/presentation_util/public/__stories__/render.tsx similarity index 100% rename from src/plugins/presentation_util/public/__stories__/render.tsx rename to src/platform/plugins/shared/presentation_util/public/__stories__/render.tsx diff --git a/src/plugins/presentation_util/public/__stories__/wait_for.tsx b/src/platform/plugins/shared/presentation_util/public/__stories__/wait_for.tsx similarity index 100% rename from src/plugins/presentation_util/public/__stories__/wait_for.tsx rename to src/platform/plugins/shared/presentation_util/public/__stories__/wait_for.tsx diff --git a/src/plugins/presentation_util/public/components/dashboard_drilldown_options/dashboard_drilldown_options.tsx b/src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/dashboard_drilldown_options.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/dashboard_drilldown_options/dashboard_drilldown_options.tsx rename to src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/dashboard_drilldown_options.tsx diff --git a/src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts b/src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts similarity index 100% rename from src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts rename to src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts diff --git a/src/plugins/presentation_util/public/components/dashboard_picker/dashboard_picker.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/dashboard_picker/dashboard_picker.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/dashboard_picker/dashboard_picker.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/dashboard_picker/dashboard_picker.stories.tsx diff --git a/src/plugins/presentation_util/public/components/dashboard_picker/dashboard_picker.tsx b/src/platform/plugins/shared/presentation_util/public/components/dashboard_picker/dashboard_picker.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/dashboard_picker/dashboard_picker.tsx rename to src/platform/plugins/shared/presentation_util/public/components/dashboard_picker/dashboard_picker.tsx diff --git a/src/plugins/presentation_util/public/components/data_view_picker/data_view_picker.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/data_view_picker/data_view_picker.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/data_view_picker/data_view_picker.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/data_view_picker/data_view_picker.stories.tsx diff --git a/src/plugins/presentation_util/public/components/data_view_picker/data_view_picker.tsx b/src/platform/plugins/shared/presentation_util/public/components/data_view_picker/data_view_picker.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/data_view_picker/data_view_picker.tsx rename to src/platform/plugins/shared/presentation_util/public/components/data_view_picker/data_view_picker.tsx diff --git a/src/plugins/presentation_util/public/components/expression_input/autocomplete.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/autocomplete.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/autocomplete.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/autocomplete.ts diff --git a/src/plugins/presentation_util/public/components/expression_input/constants.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/constants.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/constants.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/constants.ts diff --git a/src/plugins/presentation_util/public/components/expression_input/expression_input.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/expression_input/expression_input.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/expression_input.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/expression_input.stories.tsx diff --git a/src/plugins/presentation_util/public/components/expression_input/expression_input.tsx b/src/platform/plugins/shared/presentation_util/public/components/expression_input/expression_input.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/expression_input.tsx rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/expression_input.tsx diff --git a/src/plugins/presentation_util/public/components/expression_input/index.tsx b/src/platform/plugins/shared/presentation_util/public/components/expression_input/index.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/index.tsx rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/index.tsx diff --git a/src/plugins/presentation_util/public/components/expression_input/language.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/language.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/language.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/language.ts diff --git a/src/plugins/presentation_util/public/components/expression_input/providers.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/providers.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/providers.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/providers.ts diff --git a/src/plugins/presentation_util/public/components/expression_input/reference.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/reference.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/reference.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/reference.ts diff --git a/src/plugins/presentation_util/public/components/field_picker/field_picker.scss b/src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.scss similarity index 100% rename from src/plugins/presentation_util/public/components/field_picker/field_picker.scss rename to src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.scss diff --git a/src/plugins/presentation_util/public/components/field_picker/field_picker.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/field_picker/field_picker.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.stories.tsx diff --git a/src/plugins/presentation_util/public/components/field_picker/field_picker.tsx b/src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/field_picker/field_picker.tsx rename to src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.tsx diff --git a/src/plugins/presentation_util/public/components/field_picker/field_type_filter.tsx b/src/platform/plugins/shared/presentation_util/public/components/field_picker/field_type_filter.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/field_picker/field_type_filter.tsx rename to src/platform/plugins/shared/presentation_util/public/components/field_picker/field_type_filter.tsx diff --git a/src/plugins/presentation_util/public/components/floating_actions/floating_actions.scss b/src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.scss similarity index 100% rename from src/plugins/presentation_util/public/components/floating_actions/floating_actions.scss rename to src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.scss diff --git a/src/plugins/presentation_util/public/components/floating_actions/floating_actions.tsx b/src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/floating_actions/floating_actions.tsx rename to src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.tsx diff --git a/src/plugins/presentation_util/public/components/index.tsx b/src/platform/plugins/shared/presentation_util/public/components/index.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/index.tsx rename to src/platform/plugins/shared/presentation_util/public/components/index.tsx diff --git a/src/plugins/presentation_util/public/components/labs/environment_switch.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/environment_switch.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/environment_switch.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/environment_switch.tsx diff --git a/src/plugins/presentation_util/public/components/labs/labs.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/labs.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/labs.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/labs.stories.tsx diff --git a/src/plugins/presentation_util/public/components/labs/labs_beaker_button.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/labs_beaker_button.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/labs_beaker_button.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/labs_beaker_button.tsx diff --git a/src/plugins/presentation_util/public/components/labs/labs_flyout.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/labs_flyout.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/labs_flyout.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/labs_flyout.tsx diff --git a/src/plugins/presentation_util/public/components/labs/project_list.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/project_list.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/project_list.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/project_list.tsx diff --git a/src/plugins/presentation_util/public/components/labs/project_list_item.scss b/src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.scss similarity index 100% rename from src/plugins/presentation_util/public/components/labs/project_list_item.scss rename to src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.scss diff --git a/src/plugins/presentation_util/public/components/labs/project_list_item.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/project_list_item.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.stories.tsx diff --git a/src/plugins/presentation_util/public/components/labs/project_list_item.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/project_list_item.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.tsx diff --git a/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx b/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx rename to src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx diff --git a/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard_selector.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard_selector.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard_selector.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard_selector.stories.tsx diff --git a/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard_selector.tsx b/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard_selector.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard_selector.tsx rename to src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard_selector.tsx diff --git a/src/plugins/presentation_util/public/components/types.ts b/src/platform/plugins/shared/presentation_util/public/components/types.ts similarity index 100% rename from src/plugins/presentation_util/public/components/types.ts rename to src/platform/plugins/shared/presentation_util/public/components/types.ts diff --git a/src/plugins/presentation_util/public/i18n/dashboard_drilldown_config.tsx b/src/platform/plugins/shared/presentation_util/public/i18n/dashboard_drilldown_config.tsx similarity index 100% rename from src/plugins/presentation_util/public/i18n/dashboard_drilldown_config.tsx rename to src/platform/plugins/shared/presentation_util/public/i18n/dashboard_drilldown_config.tsx diff --git a/src/plugins/presentation_util/public/i18n/index.ts b/src/platform/plugins/shared/presentation_util/public/i18n/index.ts similarity index 100% rename from src/plugins/presentation_util/public/i18n/index.ts rename to src/platform/plugins/shared/presentation_util/public/i18n/index.ts diff --git a/src/plugins/presentation_util/public/i18n/labs.tsx b/src/platform/plugins/shared/presentation_util/public/i18n/labs.tsx similarity index 100% rename from src/plugins/presentation_util/public/i18n/labs.tsx rename to src/platform/plugins/shared/presentation_util/public/i18n/labs.tsx diff --git a/src/plugins/presentation_util/public/index.ts b/src/platform/plugins/shared/presentation_util/public/index.ts similarity index 100% rename from src/plugins/presentation_util/public/index.ts rename to src/platform/plugins/shared/presentation_util/public/index.ts diff --git a/src/plugins/presentation_util/public/mocks.ts b/src/platform/plugins/shared/presentation_util/public/mocks.ts similarity index 100% rename from src/plugins/presentation_util/public/mocks.ts rename to src/platform/plugins/shared/presentation_util/public/mocks.ts diff --git a/src/plugins/presentation_util/public/plugin.ts b/src/platform/plugins/shared/presentation_util/public/plugin.ts similarity index 100% rename from src/plugins/presentation_util/public/plugin.ts rename to src/platform/plugins/shared/presentation_util/public/plugin.ts diff --git a/src/plugins/presentation_util/public/services/kibana_services.ts b/src/platform/plugins/shared/presentation_util/public/services/kibana_services.ts similarity index 100% rename from src/plugins/presentation_util/public/services/kibana_services.ts rename to src/platform/plugins/shared/presentation_util/public/services/kibana_services.ts diff --git a/src/plugins/presentation_util/public/services/mocks.ts b/src/platform/plugins/shared/presentation_util/public/services/mocks.ts similarity index 100% rename from src/plugins/presentation_util/public/services/mocks.ts rename to src/platform/plugins/shared/presentation_util/public/services/mocks.ts diff --git a/src/plugins/presentation_util/public/services/presentation_labs_service.ts b/src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts similarity index 100% rename from src/plugins/presentation_util/public/services/presentation_labs_service.ts rename to src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts diff --git a/src/plugins/presentation_util/public/types.ts b/src/platform/plugins/shared/presentation_util/public/types.ts similarity index 100% rename from src/plugins/presentation_util/public/types.ts rename to src/platform/plugins/shared/presentation_util/public/types.ts diff --git a/src/plugins/presentation_util/public/utils/get_presentation_capabilities.ts b/src/platform/plugins/shared/presentation_util/public/utils/get_presentation_capabilities.ts similarity index 100% rename from src/plugins/presentation_util/public/utils/get_presentation_capabilities.ts rename to src/platform/plugins/shared/presentation_util/public/utils/get_presentation_capabilities.ts diff --git a/src/plugins/presentation_util/server/index.ts b/src/platform/plugins/shared/presentation_util/server/index.ts similarity index 100% rename from src/plugins/presentation_util/server/index.ts rename to src/platform/plugins/shared/presentation_util/server/index.ts diff --git a/src/plugins/presentation_util/server/plugin.ts b/src/platform/plugins/shared/presentation_util/server/plugin.ts similarity index 100% rename from src/plugins/presentation_util/server/plugin.ts rename to src/platform/plugins/shared/presentation_util/server/plugin.ts diff --git a/src/plugins/presentation_util/server/ui_settings.ts b/src/platform/plugins/shared/presentation_util/server/ui_settings.ts similarity index 100% rename from src/plugins/presentation_util/server/ui_settings.ts rename to src/platform/plugins/shared/presentation_util/server/ui_settings.ts diff --git a/src/plugins/presentation_util/storybook/decorator.tsx b/src/platform/plugins/shared/presentation_util/storybook/decorator.tsx similarity index 100% rename from src/plugins/presentation_util/storybook/decorator.tsx rename to src/platform/plugins/shared/presentation_util/storybook/decorator.tsx diff --git a/src/plugins/presentation_util/storybook/main.ts b/src/platform/plugins/shared/presentation_util/storybook/main.ts similarity index 92% rename from src/plugins/presentation_util/storybook/main.ts rename to src/platform/plugins/shared/presentation_util/storybook/main.ts index c51873a09b7f2..07c1304620aa0 100644 --- a/src/plugins/presentation_util/storybook/main.ts +++ b/src/platform/plugins/shared/presentation_util/storybook/main.ts @@ -14,5 +14,5 @@ module.exports = { define: { global: 'window', }, - stories: ['../../**/*.stories.+(tsx|mdx)'], + stories: ['../../../../**/*.stories.+(tsx|mdx)'], }; diff --git a/src/plugins/presentation_util/storybook/manager.ts b/src/platform/plugins/shared/presentation_util/storybook/manager.ts similarity index 95% rename from src/plugins/presentation_util/storybook/manager.ts rename to src/platform/plugins/shared/presentation_util/storybook/manager.ts index f336acb689a53..dc31e523e41d3 100644 --- a/src/plugins/presentation_util/storybook/manager.ts +++ b/src/platform/plugins/shared/presentation_util/storybook/manager.ts @@ -15,7 +15,7 @@ addons.setConfig({ theme: create({ base: 'light', brandTitle: 'Kibana Presentation Utility Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util', + brandUrl: 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/presentation_util', }), showPanel: true.valueOf, selectedPanel: PANEL_ID, diff --git a/src/plugins/presentation_util/storybook/preview.tsx b/src/platform/plugins/shared/presentation_util/storybook/preview.tsx similarity index 100% rename from src/plugins/presentation_util/storybook/preview.tsx rename to src/platform/plugins/shared/presentation_util/storybook/preview.tsx diff --git a/src/plugins/presentation_util/test_helpers/function_wrapper.ts b/src/platform/plugins/shared/presentation_util/test_helpers/function_wrapper.ts similarity index 100% rename from src/plugins/presentation_util/test_helpers/function_wrapper.ts rename to src/platform/plugins/shared/presentation_util/test_helpers/function_wrapper.ts diff --git a/src/plugins/presentation_util/test_helpers/index.ts b/src/platform/plugins/shared/presentation_util/test_helpers/index.ts similarity index 100% rename from src/plugins/presentation_util/test_helpers/index.ts rename to src/platform/plugins/shared/presentation_util/test_helpers/index.ts diff --git a/src/plugins/presentation_util/test_helpers/test_styles.ts b/src/platform/plugins/shared/presentation_util/test_helpers/test_styles.ts similarity index 100% rename from src/plugins/presentation_util/test_helpers/test_styles.ts rename to src/platform/plugins/shared/presentation_util/test_helpers/test_styles.ts diff --git a/src/plugins/presentation_util/tsconfig.json b/src/platform/plugins/shared/presentation_util/tsconfig.json similarity index 92% rename from src/plugins/presentation_util/tsconfig.json rename to src/platform/plugins/shared/presentation_util/tsconfig.json index 45b258a2a3733..44f61e43b1c24 100644 --- a/src/plugins/presentation_util/tsconfig.json +++ b/src/platform/plugins/shared/presentation_util/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -10,7 +10,7 @@ "server/**/*", "test_helpers/**/*", "storybook/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/tsconfig.base.json b/tsconfig.base.json index c1d8f60868c87..d9f09e78ecd90 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1408,8 +1408,8 @@ "@kbn/presentation-panel-plugin/*": ["src/platform/plugins/private/presentation_panel/*"], "@kbn/presentation-publishing": ["src/platform/packages/shared/presentation/presentation_publishing"], "@kbn/presentation-publishing/*": ["src/platform/packages/shared/presentation/presentation_publishing/*"], - "@kbn/presentation-util-plugin": ["src/plugins/presentation_util"], - "@kbn/presentation-util-plugin/*": ["src/plugins/presentation_util/*"], + "@kbn/presentation-util-plugin": ["src/platform/plugins/shared/presentation_util"], + "@kbn/presentation-util-plugin/*": ["src/platform/plugins/shared/presentation_util/*"], "@kbn/product-doc-artifact-builder": ["x-pack/packages/ai-infra/product-doc-artifact-builder"], "@kbn/product-doc-artifact-builder/*": ["x-pack/packages/ai-infra/product-doc-artifact-builder/*"], "@kbn/product-doc-base-plugin": ["x-pack/platform/plugins/shared/ai_infra/product_doc_base"], diff --git a/yarn.lock b/yarn.lock index 289b1820c15f6..6d0f713735328 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6633,7 +6633,7 @@ version "0.0.0" uid "" -"@kbn/presentation-util-plugin@link:src/plugins/presentation_util": +"@kbn/presentation-util-plugin@link:src/platform/plugins/shared/presentation_util": version "0.0.0" uid "" From 38cf85d3ffd11ed7ad5e2688a509362e2b472ff6 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 16:52:37 +0100 Subject: [PATCH 27/29] Relocating module `@kbn/vis-type-markdown-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/vis_type_markdown/README.md | 0 .../plugins/private}/vis_type_markdown/jest.config.js | 8 ++++---- .../plugins/private}/vis_type_markdown/kibana.jsonc | 0 .../public/__snapshots__/markdown_fn.test.ts.snap | 0 .../public/__snapshots__/markdown_options.test.tsx.snap | 0 .../public/__snapshots__/to_ast.test.ts.snap | 0 .../plugins/private}/vis_type_markdown/public/index.ts | 0 .../private}/vis_type_markdown/public/markdown_fn.test.ts | 0 .../private}/vis_type_markdown/public/markdown_fn.ts | 0 .../vis_type_markdown/public/markdown_options.test.tsx | 0 .../vis_type_markdown/public/markdown_options.tsx | 0 .../vis_type_markdown/public/markdown_renderer.tsx | 0 .../private}/vis_type_markdown/public/markdown_vis.scss | 0 .../private}/vis_type_markdown/public/markdown_vis.ts | 0 .../public/markdown_vis_controller.test.tsx | 0 .../vis_type_markdown/public/markdown_vis_controller.tsx | 0 .../plugins/private}/vis_type_markdown/public/plugin.ts | 0 .../vis_type_markdown/public/settings_options.tsx | 0 .../vis_type_markdown/public/settings_options_lazy.tsx | 0 .../private}/vis_type_markdown/public/to_ast.test.ts | 0 .../plugins/private}/vis_type_markdown/public/to_ast.ts | 0 .../plugins/private}/vis_type_markdown/public/types.ts | 0 .../plugins/private}/vis_type_markdown/server/config.ts | 0 .../plugins/private}/vis_type_markdown/server/index.ts | 0 .../plugins/private}/vis_type_markdown/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 31 files changed, 12 insertions(+), 12 deletions(-) rename src/{plugins => platform/plugins/private}/vis_type_markdown/README.md (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/jest.config.js (70%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/__snapshots__/markdown_fn.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/__snapshots__/markdown_options.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/__snapshots__/to_ast.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/markdown_fn.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/markdown_fn.ts (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/markdown_options.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/markdown_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/markdown_renderer.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/markdown_vis.scss (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/markdown_vis.ts (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/markdown_vis_controller.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/markdown_vis_controller.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/settings_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/settings_options_lazy.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/to_ast.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/to_ast.ts (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_type_markdown/tsconfig.json (90%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index db8d168dabe33..4c8f5f5586cc4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -614,6 +614,7 @@ src/platform/plugins/private/input_control_vis @elastic/kibana-presentation src/platform/plugins/private/links @elastic/kibana-presentation src/platform/plugins/private/maps_ems @elastic/kibana-presentation src/platform/plugins/private/presentation_panel @elastic/kibana-presentation +src/platform/plugins/private/vis_type_markdown @elastic/kibana-presentation src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant src/platform/plugins/shared/console @elastic/kibana-management src/platform/plugins/shared/controls @elastic/kibana-presentation @@ -688,7 +689,6 @@ src/plugins/unified_search @elastic/kibana-visualizations src/plugins/url_forwarding @elastic/kibana-visualizations src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_default_editor @elastic/kibana-visualizations -src/plugins/vis_type_markdown @elastic/kibana-presentation src/plugins/vis_types/gauge @elastic/kibana-visualizations src/plugins/vis_types/heatmap @elastic/kibana-visualizations src/plugins/vis_types/metric @elastic/kibana-visualizations diff --git a/.i18nrc.json b/.i18nrc.json index 83636137f30e3..286465df4ae6a 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -149,7 +149,7 @@ "visDefaultEditor": "src/plugins/vis_default_editor", "visTypeGauge": "src/plugins/vis_types/gauge", "visTypeHeatmap": "src/plugins/vis_types/heatmap", - "visTypeMarkdown": "src/plugins/vis_type_markdown", + "visTypeMarkdown": "src/platform/plugins/private/vis_type_markdown", "visTypeMetric": "src/plugins/vis_types/metric", "visTypePie": "src/plugins/vis_types/pie", "visTypeTable": "src/plugins/vis_types/table", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index fc350158948d8..cf0cb24a12b4d 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -396,7 +396,7 @@ The plugin exposes the static DefaultEditorController class to consume. |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/vis_type_markdown/README.md[visTypeMarkdown] +|{kib-repo}blob/{branch}/src/platform/plugins/private/vis_type_markdown/README.md[visTypeMarkdown] |The markdown visualization that can be used to place text panels on dashboards. diff --git a/package.json b/package.json index e74e35a1d54c2..78ee035386e4d 100644 --- a/package.json +++ b/package.json @@ -1011,7 +1011,7 @@ "@kbn/vis-default-editor-plugin": "link:src/plugins/vis_default_editor", "@kbn/vis-type-gauge-plugin": "link:src/plugins/vis_types/gauge", "@kbn/vis-type-heatmap-plugin": "link:src/plugins/vis_types/heatmap", - "@kbn/vis-type-markdown-plugin": "link:src/plugins/vis_type_markdown", + "@kbn/vis-type-markdown-plugin": "link:src/platform/plugins/private/vis_type_markdown", "@kbn/vis-type-metric-plugin": "link:src/plugins/vis_types/metric", "@kbn/vis-type-pie-plugin": "link:src/plugins/vis_types/pie", "@kbn/vis-type-table-plugin": "link:src/plugins/vis_types/table", diff --git a/src/plugins/vis_type_markdown/README.md b/src/platform/plugins/private/vis_type_markdown/README.md similarity index 100% rename from src/plugins/vis_type_markdown/README.md rename to src/platform/plugins/private/vis_type_markdown/README.md diff --git a/src/plugins/vis_type_markdown/jest.config.js b/src/platform/plugins/private/vis_type_markdown/jest.config.js similarity index 70% rename from src/plugins/vis_type_markdown/jest.config.js rename to src/platform/plugins/private/vis_type_markdown/jest.config.js index d74d7c51bd609..d29b5cb75cc0f 100644 --- a/src/plugins/vis_type_markdown/jest.config.js +++ b/src/platform/plugins/private/vis_type_markdown/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/vis_type_markdown'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_type_markdown', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/vis_type_markdown'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/vis_type_markdown', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/vis_type_markdown/{public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: ['/src/platform/plugins/private/vis_type_markdown/{public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/vis_type_markdown/kibana.jsonc b/src/platform/plugins/private/vis_type_markdown/kibana.jsonc similarity index 100% rename from src/plugins/vis_type_markdown/kibana.jsonc rename to src/platform/plugins/private/vis_type_markdown/kibana.jsonc diff --git a/src/plugins/vis_type_markdown/public/__snapshots__/markdown_fn.test.ts.snap b/src/platform/plugins/private/vis_type_markdown/public/__snapshots__/markdown_fn.test.ts.snap similarity index 100% rename from src/plugins/vis_type_markdown/public/__snapshots__/markdown_fn.test.ts.snap rename to src/platform/plugins/private/vis_type_markdown/public/__snapshots__/markdown_fn.test.ts.snap diff --git a/src/plugins/vis_type_markdown/public/__snapshots__/markdown_options.test.tsx.snap b/src/platform/plugins/private/vis_type_markdown/public/__snapshots__/markdown_options.test.tsx.snap similarity index 100% rename from src/plugins/vis_type_markdown/public/__snapshots__/markdown_options.test.tsx.snap rename to src/platform/plugins/private/vis_type_markdown/public/__snapshots__/markdown_options.test.tsx.snap diff --git a/src/plugins/vis_type_markdown/public/__snapshots__/to_ast.test.ts.snap b/src/platform/plugins/private/vis_type_markdown/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/vis_type_markdown/public/__snapshots__/to_ast.test.ts.snap rename to src/platform/plugins/private/vis_type_markdown/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/vis_type_markdown/public/index.ts b/src/platform/plugins/private/vis_type_markdown/public/index.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/index.ts rename to src/platform/plugins/private/vis_type_markdown/public/index.ts diff --git a/src/plugins/vis_type_markdown/public/markdown_fn.test.ts b/src/platform/plugins/private/vis_type_markdown/public/markdown_fn.test.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_fn.test.ts rename to src/platform/plugins/private/vis_type_markdown/public/markdown_fn.test.ts diff --git a/src/plugins/vis_type_markdown/public/markdown_fn.ts b/src/platform/plugins/private/vis_type_markdown/public/markdown_fn.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_fn.ts rename to src/platform/plugins/private/vis_type_markdown/public/markdown_fn.ts diff --git a/src/plugins/vis_type_markdown/public/markdown_options.test.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_options.test.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_options.test.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_options.test.tsx diff --git a/src/plugins/vis_type_markdown/public/markdown_options.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_options.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_options.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_options.tsx diff --git a/src/plugins/vis_type_markdown/public/markdown_renderer.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_renderer.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_renderer.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_renderer.tsx diff --git a/src/plugins/vis_type_markdown/public/markdown_vis.scss b/src/platform/plugins/private/vis_type_markdown/public/markdown_vis.scss similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_vis.scss rename to src/platform/plugins/private/vis_type_markdown/public/markdown_vis.scss diff --git a/src/plugins/vis_type_markdown/public/markdown_vis.ts b/src/platform/plugins/private/vis_type_markdown/public/markdown_vis.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_vis.ts rename to src/platform/plugins/private/vis_type_markdown/public/markdown_vis.ts diff --git a/src/plugins/vis_type_markdown/public/markdown_vis_controller.test.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_vis_controller.test.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_vis_controller.test.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_vis_controller.test.tsx diff --git a/src/plugins/vis_type_markdown/public/markdown_vis_controller.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_vis_controller.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_vis_controller.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_vis_controller.tsx diff --git a/src/plugins/vis_type_markdown/public/plugin.ts b/src/platform/plugins/private/vis_type_markdown/public/plugin.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/plugin.ts rename to src/platform/plugins/private/vis_type_markdown/public/plugin.ts diff --git a/src/plugins/vis_type_markdown/public/settings_options.tsx b/src/platform/plugins/private/vis_type_markdown/public/settings_options.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/settings_options.tsx rename to src/platform/plugins/private/vis_type_markdown/public/settings_options.tsx diff --git a/src/plugins/vis_type_markdown/public/settings_options_lazy.tsx b/src/platform/plugins/private/vis_type_markdown/public/settings_options_lazy.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/settings_options_lazy.tsx rename to src/platform/plugins/private/vis_type_markdown/public/settings_options_lazy.tsx diff --git a/src/plugins/vis_type_markdown/public/to_ast.test.ts b/src/platform/plugins/private/vis_type_markdown/public/to_ast.test.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/to_ast.test.ts rename to src/platform/plugins/private/vis_type_markdown/public/to_ast.test.ts diff --git a/src/plugins/vis_type_markdown/public/to_ast.ts b/src/platform/plugins/private/vis_type_markdown/public/to_ast.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/to_ast.ts rename to src/platform/plugins/private/vis_type_markdown/public/to_ast.ts diff --git a/src/plugins/vis_type_markdown/public/types.ts b/src/platform/plugins/private/vis_type_markdown/public/types.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/types.ts rename to src/platform/plugins/private/vis_type_markdown/public/types.ts diff --git a/src/plugins/vis_type_markdown/server/config.ts b/src/platform/plugins/private/vis_type_markdown/server/config.ts similarity index 100% rename from src/plugins/vis_type_markdown/server/config.ts rename to src/platform/plugins/private/vis_type_markdown/server/config.ts diff --git a/src/plugins/vis_type_markdown/server/index.ts b/src/platform/plugins/private/vis_type_markdown/server/index.ts similarity index 100% rename from src/plugins/vis_type_markdown/server/index.ts rename to src/platform/plugins/private/vis_type_markdown/server/index.ts diff --git a/src/plugins/vis_type_markdown/tsconfig.json b/src/platform/plugins/private/vis_type_markdown/tsconfig.json similarity index 90% rename from src/plugins/vis_type_markdown/tsconfig.json rename to src/platform/plugins/private/vis_type_markdown/tsconfig.json index dbe601fad3f35..296f05fdbc559 100644 --- a/src/plugins/vis_type_markdown/tsconfig.json +++ b/src/platform/plugins/private/vis_type_markdown/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/tsconfig.base.json b/tsconfig.base.json index d9f09e78ecd90..dbf48417540ca 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2038,8 +2038,8 @@ "@kbn/vis-type-gauge-plugin/*": ["src/plugins/vis_types/gauge/*"], "@kbn/vis-type-heatmap-plugin": ["src/plugins/vis_types/heatmap"], "@kbn/vis-type-heatmap-plugin/*": ["src/plugins/vis_types/heatmap/*"], - "@kbn/vis-type-markdown-plugin": ["src/plugins/vis_type_markdown"], - "@kbn/vis-type-markdown-plugin/*": ["src/plugins/vis_type_markdown/*"], + "@kbn/vis-type-markdown-plugin": ["src/platform/plugins/private/vis_type_markdown"], + "@kbn/vis-type-markdown-plugin/*": ["src/platform/plugins/private/vis_type_markdown/*"], "@kbn/vis-type-metric-plugin": ["src/plugins/vis_types/metric"], "@kbn/vis-type-metric-plugin/*": ["src/plugins/vis_types/metric/*"], "@kbn/vis-type-pie-plugin": ["src/plugins/vis_types/pie"], diff --git a/yarn.lock b/yarn.lock index 6d0f713735328..6333a66672708 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7893,7 +7893,7 @@ version "0.0.0" uid "" -"@kbn/vis-type-markdown-plugin@link:src/plugins/vis_type_markdown": +"@kbn/vis-type-markdown-plugin@link:src/platform/plugins/private/vis_type_markdown": version "0.0.0" uid "" From 2b6a1812c61bbe5b22791528a999edf03e449a83 Mon Sep 17 00:00:00 2001 From: Michael Dokolin Date: Wed, 18 Dec 2024 17:06:59 +0100 Subject: [PATCH 28/29] Update telemetry mapping files --- .../telemetry/schema/oss_platform.json | 117 +- src/plugins/telemetry/schema/oss_plugins.json | 114 -- .../schema/xpack_platform.json | 1168 +++++++++++++++++ .../schema/xpack_plugins.json | 1168 ----------------- 4 files changed, 1284 insertions(+), 1283 deletions(-) diff --git a/src/plugins/telemetry/schema/oss_platform.json b/src/plugins/telemetry/schema/oss_platform.json index d5b0514b64918..7129b51740ffb 100644 --- a/src/plugins/telemetry/schema/oss_platform.json +++ b/src/plugins/telemetry/schema/oss_platform.json @@ -1,3 +1,118 @@ { - "properties": {} + "properties": { + "dashboard": { + "properties": { + "panels": { + "properties": { + "total": { + "type": "long" + }, + "by_reference": { + "type": "long" + }, + "by_value": { + "type": "long" + }, + "by_type": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The number of panels that have been added to all dashboards." + } + }, + "by_reference": { + "type": "long", + "_meta": { + "description": "The number of \"by reference\" panels that have been added to all dashboards." + } + }, + "by_value": { + "type": "long", + "_meta": { + "description": "The number of \"by value\" panels that have been added to all dashboards." + } + }, + "details": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that embeddable service reports. Embeddable service internally calls each embeddable, which in turn calls its dynamic actions, which calls each drill down attached to that embeddable." + } + } + } + } + } + } + } + } + } + }, + "controls": { + "properties": { + "total": { + "type": "long" + }, + "by_type": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The number of this type of control in all Control Groups" + } + }, + "details": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that embeddable service reports. Will be used for details which are specific to the current control type" + } + } + } + } + } + } + } + }, + "ignore_settings": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that count the number of control groups which have this ignore setting turned on" + } + } + } + }, + "chaining_system": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that count the number of control groups which are using this chaining system" + } + } + } + }, + "label_position": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that count the number of control groups which have their labels in this position" + } + } + } + } + } + } + } + } + } } diff --git a/src/plugins/telemetry/schema/oss_plugins.json b/src/plugins/telemetry/schema/oss_plugins.json index 8ba1367641679..326322367b1fd 100644 --- a/src/plugins/telemetry/schema/oss_plugins.json +++ b/src/plugins/telemetry/schema/oss_plugins.json @@ -9720,120 +9720,6 @@ } } }, - "dashboard": { - "properties": { - "panels": { - "properties": { - "total": { - "type": "long" - }, - "by_reference": { - "type": "long" - }, - "by_value": { - "type": "long" - }, - "by_type": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The number of panels that have been added to all dashboards." - } - }, - "by_reference": { - "type": "long", - "_meta": { - "description": "The number of \"by reference\" panels that have been added to all dashboards." - } - }, - "by_value": { - "type": "long", - "_meta": { - "description": "The number of \"by value\" panels that have been added to all dashboards." - } - }, - "details": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that embeddable service reports. Embeddable service internally calls each embeddable, which in turn calls its dynamic actions, which calls each drill down attached to that embeddable." - } - } - } - } - } - } - } - } - } - }, - "controls": { - "properties": { - "total": { - "type": "long" - }, - "by_type": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The number of this type of control in all Control Groups" - } - }, - "details": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that embeddable service reports. Will be used for details which are specific to the current control type" - } - } - } - } - } - } - } - }, - "ignore_settings": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that count the number of control groups which have this ignore setting turned on" - } - } - } - }, - "chaining_system": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that count the number of control groups which are using this chaining system" - } - } - } - }, - "label_position": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that count the number of control groups which have their labels in this position" - } - } - } - } - } - } - } - }, "event_loop_delays": { "properties": { "daily": { diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json index c5371a8815aef..a329e008fc22d 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json @@ -1,5 +1,1173 @@ { "properties": { + "canvas": { + "properties": { + "workpads": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of Canvas Workpads in the cluster" + } + } + } + }, + "pages": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of pages across all Canvas Workpads" + } + }, + "per_workpad": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "The average number of pages across all Canvas Workpads" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of pages found in a Canvas Workpad" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of pages found in a Canvas Workpad" + } + } + } + } + } + }, + "elements": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of elements across all Canvas Workpads" + } + }, + "per_page": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "The average number of elements per page across all Canvas Workpads" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of elements on a page across all Canvas Workpads" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of elements on a page across all Canvas Workpads" + } + } + } + } + } + }, + "functions": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of functions in use across all Canvas Workpads" + } + }, + "in_use": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "A function in use in any Canvas Workpad" + } + } + }, + "in_use_30d": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "A function in use in a Canvas Workpad that has been modified in the last 30 days" + } + } + }, + "in_use_90d": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "A function in use in a Canvas Workpad that has been modified in the last 90 days" + } + } + }, + "per_element": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "Average number of functions used per element across all Canvas Workpads" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of functions used in an element across all Canvas Workpads" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of functions used in an element across all Canvas Workpads" + } + } + } + } + } + }, + "variables": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The total number of variables defined across all Canvas Workpads" + } + }, + "per_workpad": { + "properties": { + "avg": { + "type": "float", + "_meta": { + "description": "The average number of variables set per Canvas Workpad" + } + }, + "min": { + "type": "long", + "_meta": { + "description": "The minimum number variables set across all Canvas Workpads" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of variables set across all Canvas Workpads" + } + } + } + } + } + }, + "custom_elements": { + "properties": { + "count": { + "type": "long", + "_meta": { + "description": "The total number of custom Canvas elements" + } + }, + "elements": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "The minimum number of elements used across all Canvas Custom Elements" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "The maximum number of elements used across all Canvas Custom Elements" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "The average number of elements used in Canvas Custom Element" + } + } + } + }, + "functions_in_use": { + "type": "array", + "items": { + "type": "keyword", + "_meta": { + "description": "The functions in use by Canvas Custom Elements" + } + } + } + } + } + } + }, + "fileUpload": { + "properties": { + "file_upload": { + "properties": { + "index_creation_count": { + "type": "long" + } + } + } + } + }, + "maps": { + "properties": { + "mapsTotalCount": { + "type": "long" + }, + "timeCaptured": { + "type": "date" + }, + "layerTypes": { + "properties": { + "ems_basemap": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ems basemap layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ems basemap layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ems basemap layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ems basemap layers in cluster" + } + } + } + }, + "ems_region": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ems file layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ems file layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ems file layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of file layers in cluster" + } + } + } + }, + "es_agg_clusters": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es cluster layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es cluster layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es cluster layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es cluster layers in cluster" + } + } + } + }, + "es_agg_grids": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es grid layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es grid layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es grid layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es grid layers in cluster" + } + } + } + }, + "es_agg_hexagons": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es hexagon layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es hexagon layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es hexagon layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es hexagon layers in cluster" + } + } + } + }, + "es_agg_heatmap": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es heatmap layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es heatmap layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es heatmap layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es heatmap layers in cluster" + } + } + } + }, + "es_top_hits": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es top hits layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es top hits layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es top hits layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es top hits layers in cluster" + } + } + } + }, + "es_docs": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es document layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es document layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es document layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es document layers in cluster" + } + } + } + }, + "es_ml_anomalies": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es machine learning anomaly layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es machine learning anomaly layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es machine learning anomaly layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es machine learning anomaly layers in cluster" + } + } + } + }, + "esql": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ES|QL layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ES|QL layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ES|QL layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ES|QL layers in cluster" + } + } + } + }, + "es_point_to_point": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es point-to-point layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es point-to-point layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es point-to-point layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es point-to-point layers in cluster" + } + } + } + }, + "es_tracks": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es track layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es track layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es track layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es track layers in cluster" + } + } + } + }, + "kbn_tms_raster": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of kbn tms layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of kbn tms layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of kbn tms layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of kbn tms layers in cluster" + } + } + } + }, + "layer_group": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of layer groups per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of layer groups per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of layer groups per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of layer groups in cluster" + } + } + } + }, + "ux_tms_mvt": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ux tms-mvt layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ux tms-mvt layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ux tms-mvt layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ux tms-mvt layers in cluster" + } + } + } + }, + "ux_tms_raster": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ux tms-raster layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ux tms-raster layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ux tms-raster layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ux-tms raster layers in cluster" + } + } + } + }, + "ux_wms": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ux wms layers per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ux wms layers per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ux wms layers per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ux wms layers in cluster" + } + } + } + } + } + }, + "scalingOptions": { + "properties": { + "limit": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es doc layers with limit scaling option per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es doc layers with limit scaling option per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es doc layers with limit scaling option per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es doc layers with limit scaling option in cluster" + } + } + } + }, + "clusters": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es doc layers with blended scaling option per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es doc layers with blended scaling option per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es doc layers with blended scaling option per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es doc layers with blended scaling option in cluster" + } + } + } + }, + "mvt": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of es doc layers with mvt scaling option per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of es doc layers with mvt scaling option per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of es doc layers with mvt scaling option per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of es doc layers with mvt scaling option in cluster" + } + } + } + } + } + }, + "resolutions": { + "properties": { + "coarse": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of grid-agg layers with coarse resolution" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of grid-agg layers with coarse resolution" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of grid-agg layers with coarse resolution" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of grid-agg layers with coarse resolution" + } + } + } + }, + "fine": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of grid-agg layers with fine resolution" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of grid-agg layers with fine resolution" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of grid-agg layers with fine resolution" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of grid-agg layers with fine resolution" + } + } + } + }, + "most_fine": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of grid-agg layers with most_fine resolution" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of grid-agg layers with most_fine resolution" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of grid-agg layers with most_fine resolution" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of grid-agg layers with most_fine resolution" + } + } + } + }, + "super_fine": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of grid-agg layers with super_fine resolution" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of grid-agg layers with super_fine resolution" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of grid-agg layers with super_fine resolution" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of grid-agg layers with super_fine resolution" + } + } + } + } + } + }, + "joins": { + "properties": { + "distance": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of distance joins per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of distance joins per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of distance joins per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of distance joins in cluster" + } + } + } + }, + "term": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of layers with term joins per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of layers with term joins per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of layers with term joins per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of layers with term joins in cluster" + } + } + } + } + } + }, + "basemaps": { + "properties": { + "auto": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ems basemap layers with auto-style per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ems basemap layers with auto-style per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ems basemap layers with auto-style per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ems basemap layers with auto-style in cluster" + } + } + } + }, + "dark": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ems basemap layers with dark-style per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ems basemap layers with dark-style per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ems basemap layers with dark-style per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ems basemap layers with dark-style in cluster" + } + } + } + }, + "roadmap": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ems basemap layers with roadmap-style per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ems basemap layers with roadmap-style per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ems basemap layers with roadmap-style per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ems basemap layers with roadmap-style in cluster" + } + } + } + }, + "roadmap_desaturated": { + "properties": { + "min": { + "type": "long", + "_meta": { + "description": "min number of ems basemap layers with desaturated-style per map" + } + }, + "max": { + "type": "long", + "_meta": { + "description": "max number of ems basemap layers with desaturated-style per map" + } + }, + "avg": { + "type": "float", + "_meta": { + "description": "avg number of ems basemap layers with desaturated-style per map" + } + }, + "total": { + "type": "long", + "_meta": { + "description": "total number of ems basemap layers with desaturated-style in cluster" + } + } + } + } + } + }, + "attributesPerMap": { + "properties": { + "dataSourcesCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + }, + "layersCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + }, + "layerTypesCount": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + } + } + }, + "emsVectorLayersCount": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + } + } + }, + "customIconsCount": { + "properties": { + "min": { + "type": "long" + }, + "max": { + "type": "long" + }, + "avg": { + "type": "float" + } + } + } + } + } + } + }, "ml": { "properties": { "alertRules": { diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index b2870f3ef4809..7681a744a4975 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -9963,216 +9963,6 @@ } } }, - "canvas": { - "properties": { - "workpads": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of Canvas Workpads in the cluster" - } - } - } - }, - "pages": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of pages across all Canvas Workpads" - } - }, - "per_workpad": { - "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "The average number of pages across all Canvas Workpads" - } - }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of pages found in a Canvas Workpad" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of pages found in a Canvas Workpad" - } - } - } - } - } - }, - "elements": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of elements across all Canvas Workpads" - } - }, - "per_page": { - "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "The average number of elements per page across all Canvas Workpads" - } - }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of elements on a page across all Canvas Workpads" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of elements on a page across all Canvas Workpads" - } - } - } - } - } - }, - "functions": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of functions in use across all Canvas Workpads" - } - }, - "in_use": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "A function in use in any Canvas Workpad" - } - } - }, - "in_use_30d": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "A function in use in a Canvas Workpad that has been modified in the last 30 days" - } - } - }, - "in_use_90d": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "A function in use in a Canvas Workpad that has been modified in the last 90 days" - } - } - }, - "per_element": { - "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "Average number of functions used per element across all Canvas Workpads" - } - }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of functions used in an element across all Canvas Workpads" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of functions used in an element across all Canvas Workpads" - } - } - } - } - } - }, - "variables": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The total number of variables defined across all Canvas Workpads" - } - }, - "per_workpad": { - "properties": { - "avg": { - "type": "float", - "_meta": { - "description": "The average number of variables set per Canvas Workpad" - } - }, - "min": { - "type": "long", - "_meta": { - "description": "The minimum number variables set across all Canvas Workpads" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of variables set across all Canvas Workpads" - } - } - } - } - } - }, - "custom_elements": { - "properties": { - "count": { - "type": "long", - "_meta": { - "description": "The total number of custom Canvas elements" - } - }, - "elements": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "The minimum number of elements used across all Canvas Custom Elements" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "The maximum number of elements used across all Canvas Custom Elements" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "The average number of elements used in Canvas Custom Element" - } - } - } - }, - "functions_in_use": { - "type": "array", - "items": { - "type": "keyword", - "_meta": { - "description": "The functions in use by Canvas Custom Elements" - } - } - } - } - } - } - }, "cases": { "properties": { "cases": { @@ -12763,17 +12553,6 @@ } } }, - "fileUpload": { - "properties": { - "file_upload": { - "properties": { - "index_creation_count": { - "type": "long" - } - } - } - } - }, "fleet": { "properties": { "agents_enabled": { @@ -13084,953 +12863,6 @@ } } }, - "maps": { - "properties": { - "mapsTotalCount": { - "type": "long" - }, - "timeCaptured": { - "type": "date" - }, - "layerTypes": { - "properties": { - "ems_basemap": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ems basemap layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ems basemap layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ems basemap layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ems basemap layers in cluster" - } - } - } - }, - "ems_region": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ems file layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ems file layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ems file layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of file layers in cluster" - } - } - } - }, - "es_agg_clusters": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es cluster layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es cluster layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es cluster layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es cluster layers in cluster" - } - } - } - }, - "es_agg_grids": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es grid layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es grid layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es grid layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es grid layers in cluster" - } - } - } - }, - "es_agg_hexagons": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es hexagon layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es hexagon layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es hexagon layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es hexagon layers in cluster" - } - } - } - }, - "es_agg_heatmap": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es heatmap layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es heatmap layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es heatmap layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es heatmap layers in cluster" - } - } - } - }, - "es_top_hits": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es top hits layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es top hits layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es top hits layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es top hits layers in cluster" - } - } - } - }, - "es_docs": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es document layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es document layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es document layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es document layers in cluster" - } - } - } - }, - "es_ml_anomalies": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es machine learning anomaly layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es machine learning anomaly layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es machine learning anomaly layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es machine learning anomaly layers in cluster" - } - } - } - }, - "esql": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ES|QL layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ES|QL layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ES|QL layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ES|QL layers in cluster" - } - } - } - }, - "es_point_to_point": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es point-to-point layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es point-to-point layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es point-to-point layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es point-to-point layers in cluster" - } - } - } - }, - "es_tracks": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es track layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es track layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es track layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es track layers in cluster" - } - } - } - }, - "kbn_tms_raster": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of kbn tms layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of kbn tms layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of kbn tms layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of kbn tms layers in cluster" - } - } - } - }, - "layer_group": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of layer groups per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of layer groups per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of layer groups per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of layer groups in cluster" - } - } - } - }, - "ux_tms_mvt": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ux tms-mvt layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ux tms-mvt layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ux tms-mvt layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ux tms-mvt layers in cluster" - } - } - } - }, - "ux_tms_raster": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ux tms-raster layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ux tms-raster layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ux tms-raster layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ux-tms raster layers in cluster" - } - } - } - }, - "ux_wms": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ux wms layers per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ux wms layers per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ux wms layers per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ux wms layers in cluster" - } - } - } - } - } - }, - "scalingOptions": { - "properties": { - "limit": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es doc layers with limit scaling option per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es doc layers with limit scaling option per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es doc layers with limit scaling option per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es doc layers with limit scaling option in cluster" - } - } - } - }, - "clusters": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es doc layers with blended scaling option per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es doc layers with blended scaling option per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es doc layers with blended scaling option per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es doc layers with blended scaling option in cluster" - } - } - } - }, - "mvt": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of es doc layers with mvt scaling option per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of es doc layers with mvt scaling option per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of es doc layers with mvt scaling option per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of es doc layers with mvt scaling option in cluster" - } - } - } - } - } - }, - "resolutions": { - "properties": { - "coarse": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of grid-agg layers with coarse resolution" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of grid-agg layers with coarse resolution" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of grid-agg layers with coarse resolution" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of grid-agg layers with coarse resolution" - } - } - } - }, - "fine": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of grid-agg layers with fine resolution" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of grid-agg layers with fine resolution" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of grid-agg layers with fine resolution" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of grid-agg layers with fine resolution" - } - } - } - }, - "most_fine": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of grid-agg layers with most_fine resolution" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of grid-agg layers with most_fine resolution" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of grid-agg layers with most_fine resolution" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of grid-agg layers with most_fine resolution" - } - } - } - }, - "super_fine": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of grid-agg layers with super_fine resolution" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of grid-agg layers with super_fine resolution" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of grid-agg layers with super_fine resolution" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of grid-agg layers with super_fine resolution" - } - } - } - } - } - }, - "joins": { - "properties": { - "distance": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of distance joins per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of distance joins per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of distance joins per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of distance joins in cluster" - } - } - } - }, - "term": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of layers with term joins per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of layers with term joins per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of layers with term joins per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of layers with term joins in cluster" - } - } - } - } - } - }, - "basemaps": { - "properties": { - "auto": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ems basemap layers with auto-style per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ems basemap layers with auto-style per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ems basemap layers with auto-style per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ems basemap layers with auto-style in cluster" - } - } - } - }, - "dark": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ems basemap layers with dark-style per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ems basemap layers with dark-style per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ems basemap layers with dark-style per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ems basemap layers with dark-style in cluster" - } - } - } - }, - "roadmap": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ems basemap layers with roadmap-style per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ems basemap layers with roadmap-style per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ems basemap layers with roadmap-style per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ems basemap layers with roadmap-style in cluster" - } - } - } - }, - "roadmap_desaturated": { - "properties": { - "min": { - "type": "long", - "_meta": { - "description": "min number of ems basemap layers with desaturated-style per map" - } - }, - "max": { - "type": "long", - "_meta": { - "description": "max number of ems basemap layers with desaturated-style per map" - } - }, - "avg": { - "type": "float", - "_meta": { - "description": "avg number of ems basemap layers with desaturated-style per map" - } - }, - "total": { - "type": "long", - "_meta": { - "description": "total number of ems basemap layers with desaturated-style in cluster" - } - } - } - } - } - }, - "attributesPerMap": { - "properties": { - "dataSourcesCount": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - }, - "layersCount": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - }, - "layerTypesCount": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - } - } - }, - "emsVectorLayersCount": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - } - } - }, - "customIconsCount": { - "properties": { - "min": { - "type": "long" - }, - "max": { - "type": "long" - }, - "avg": { - "type": "float" - } - } - } - } - } - } - }, "monitoring": { "properties": { "hasMonitoringData": { From 7d38208342267a1bd9480190929ca92e06e6cc7b Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 9 Dec 2024 14:57:03 +0000 Subject: [PATCH 29/29] [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' --- packages/kbn-docs-utils/src/utils.test.ts | 5 ++++- .../tasks/build_canvas_shareable_runtime.ts | 17 ++++++++++++----- .../private/input_control_vis/jest.config.js | 7 +++++-- .../plugins/private/links/jest.config.js | 4 +++- .../plugins/private/maps_ems/jest.config.js | 4 +++- .../private/presentation_panel/jest.config.js | 3 ++- .../private/vis_type_markdown/jest.config.js | 7 +++++-- .../plugins/shared/controls/jest.config.js | 4 +++- .../plugins/shared/dashboard/jest.config.js | 4 +++- .../plugins/shared/embeddable/jest.config.js | 4 +++- .../shared/expression_error/common/index.ts | 1 - .../shared/expression_image/common/index.ts | 1 - .../shared/expression_image/jest.config.js | 3 ++- .../shared/expression_metric/common/index.ts | 1 - .../shared/expression_metric/jest.config.js | 3 ++- .../expression_repeat_image/common/index.ts | 1 - .../expression_repeat_image/jest.config.js | 3 ++- .../expression_reveal_image/common/index.ts | 1 - .../expression_reveal_image/jest.config.js | 3 ++- .../shared/expression_shape/jest.config.js | 3 ++- .../plugins/shared/inspector/jest.config.js | 4 +++- .../plugins/shared/inspector/public/index.ts | 1 - .../shared/presentation_util/jest.config.js | 3 ++- .../presentation_util/storybook/manager.ts | 3 ++- .../private/canvas/storybook/canvas_webpack.ts | 5 ++++- .../plugins/private/file_upload/jest.config.js | 3 ++- .../shared/dashboard_enhanced/common/index.ts | 1 - .../shared/dashboard_enhanced/jest.config.js | 3 ++- .../shared/embeddable_enhanced/jest.config.js | 7 +++++-- .../platform/plugins/shared/maps/jest.config.js | 4 +++- 30 files changed, 76 insertions(+), 37 deletions(-) diff --git a/packages/kbn-docs-utils/src/utils.test.ts b/packages/kbn-docs-utils/src/utils.test.ts index f5e14afec0eb7..6b4a08fe9b50a 100644 --- a/packages/kbn-docs-utils/src/utils.test.ts +++ b/packages/kbn-docs-utils/src/utils.test.ts @@ -28,7 +28,10 @@ it('getFileName', () => { it('test getPluginForPath', () => { const plugins = findPlugins(); - const path = Path.resolve(REPO_ROOT, 'src/platform/plugins/shared/embeddable/public/service/file.ts'); + const path = Path.resolve( + REPO_ROOT, + 'src/platform/plugins/shared/embeddable/public/service/file.ts' + ); expect(getPluginForPath(path, plugins)).toBeDefined(); }); diff --git a/src/dev/build/tasks/build_canvas_shareable_runtime.ts b/src/dev/build/tasks/build_canvas_shareable_runtime.ts index 07419026c9e95..8f8145c197d7c 100644 --- a/src/dev/build/tasks/build_canvas_shareable_runtime.ts +++ b/src/dev/build/tasks/build_canvas_shareable_runtime.ts @@ -19,11 +19,18 @@ export const BuildCanvasShareableRuntime: Task = { log.info('Skipping Canvas shareable runtime for serverless builds'); return; } - await del(config.resolveFromRepo('x-pack/platform/plugins/private/canvas/shareable_runtime/build')); + await del( + config.resolveFromRepo('x-pack/platform/plugins/private/canvas/shareable_runtime/build') + ); - await exec(log, process.execPath, ['platform/plugins/private/canvas/scripts/shareable_runtime'], { - cwd: config.resolveFromRepo('x-pack'), - level: 'info', - }); + await exec( + log, + process.execPath, + ['platform/plugins/private/canvas/scripts/shareable_runtime'], + { + cwd: config.resolveFromRepo('x-pack'), + level: 'info', + } + ); }, }; diff --git a/src/platform/plugins/private/input_control_vis/jest.config.js b/src/platform/plugins/private/input_control_vis/jest.config.js index 0cb485cb734bb..2bf36692b93ce 100644 --- a/src/platform/plugins/private/input_control_vis/jest.config.js +++ b/src/platform/plugins/private/input_control_vis/jest.config.js @@ -11,7 +11,10 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/private/input_control_vis'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/input_control_vis', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/input_control_vis', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/private/input_control_vis/public/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/private/input_control_vis/public/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/private/links/jest.config.js b/src/platform/plugins/private/links/jest.config.js index e41a0fbf44078..8c5479c486cd9 100644 --- a/src/platform/plugins/private/links/jest.config.js +++ b/src/platform/plugins/private/links/jest.config.js @@ -13,6 +13,8 @@ module.exports = { roots: ['/src/platform/plugins/private/links'], coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/links', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/private/links/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/private/links/{common,public,server}/**/*.{ts,tsx}', + ], setupFiles: ['/src/platform/plugins/private/links/jest_setup.ts'], }; diff --git a/src/platform/plugins/private/maps_ems/jest.config.js b/src/platform/plugins/private/maps_ems/jest.config.js index 1f5f714565bc8..6949452fb43d0 100644 --- a/src/platform/plugins/private/maps_ems/jest.config.js +++ b/src/platform/plugins/private/maps_ems/jest.config.js @@ -13,5 +13,7 @@ module.exports = { roots: ['/src/platform/plugins/private/maps_ems'], coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/maps_ems', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/private/maps_ems/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/private/maps_ems/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/private/presentation_panel/jest.config.js b/src/platform/plugins/private/presentation_panel/jest.config.js index efa62c83a1718..e8ee68f6a0047 100644 --- a/src/platform/plugins/private/presentation_panel/jest.config.js +++ b/src/platform/plugins/private/presentation_panel/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/private/presentation_panel'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/presentation_panel', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/presentation_panel', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/private/presentation_panel/{common,public,server}/**/*.{ts,tsx}', diff --git a/src/platform/plugins/private/vis_type_markdown/jest.config.js b/src/platform/plugins/private/vis_type_markdown/jest.config.js index d29b5cb75cc0f..0c58e9615255f 100644 --- a/src/platform/plugins/private/vis_type_markdown/jest.config.js +++ b/src/platform/plugins/private/vis_type_markdown/jest.config.js @@ -11,7 +11,10 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/private/vis_type_markdown'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/vis_type_markdown', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_type_markdown', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/private/vis_type_markdown/{public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_type_markdown/{public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/shared/controls/jest.config.js b/src/platform/plugins/shared/controls/jest.config.js index 771a1fd2984e0..db23370d3b588 100644 --- a/src/platform/plugins/shared/controls/jest.config.js +++ b/src/platform/plugins/shared/controls/jest.config.js @@ -13,6 +13,8 @@ module.exports = { roots: ['/src/platform/plugins/shared/controls'], coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/controls', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/shared/controls/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/controls/{common,public,server}/**/*.{ts,tsx}', + ], setupFiles: ['/src/platform/plugins/shared/controls/jest_setup.ts'], }; diff --git a/src/platform/plugins/shared/dashboard/jest.config.js b/src/platform/plugins/shared/dashboard/jest.config.js index 465782b50cabe..9c186c82cc50f 100644 --- a/src/platform/plugins/shared/dashboard/jest.config.js +++ b/src/platform/plugins/shared/dashboard/jest.config.js @@ -13,6 +13,8 @@ module.exports = { roots: ['/src/platform/plugins/shared/dashboard'], coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/dashboard', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/shared/dashboard/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/dashboard/{common,public,server}/**/*.{ts,tsx}', + ], setupFiles: ['/src/platform/plugins/shared/dashboard/jest_setup.ts'], }; diff --git a/src/platform/plugins/shared/embeddable/jest.config.js b/src/platform/plugins/shared/embeddable/jest.config.js index a04a72f321617..5228fc2b22b02 100644 --- a/src/platform/plugins/shared/embeddable/jest.config.js +++ b/src/platform/plugins/shared/embeddable/jest.config.js @@ -14,5 +14,7 @@ module.exports = { coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/embeddable', coverageReporters: ['text', 'html'], setupFiles: ['/src/platform/plugins/shared/embeddable/jest_setup.ts'], - collectCoverageFrom: ['/src/platform/plugins/shared/embeddable/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/embeddable/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/shared/expression_error/common/index.ts b/src/platform/plugins/shared/expression_error/common/index.ts index 690819c543511..3748ba396ee62 100755 --- a/src/platform/plugins/shared/expression_error/common/index.ts +++ b/src/platform/plugins/shared/expression_error/common/index.ts @@ -8,6 +8,5 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; diff --git a/src/platform/plugins/shared/expression_image/common/index.ts b/src/platform/plugins/shared/expression_image/common/index.ts index 35bd3a07d2133..5b93b57a2f393 100755 --- a/src/platform/plugins/shared/expression_image/common/index.ts +++ b/src/platform/plugins/shared/expression_image/common/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; export * from './types'; diff --git a/src/platform/plugins/shared/expression_image/jest.config.js b/src/platform/plugins/shared/expression_image/jest.config.js index f0f986ba95551..e9f06377998b9 100644 --- a/src/platform/plugins/shared/expression_image/jest.config.js +++ b/src/platform/plugins/shared/expression_image/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/shared/expression_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_image', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_image', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/shared/expression_image/{common,public,server}/**/*.{ts,tsx}', diff --git a/src/platform/plugins/shared/expression_metric/common/index.ts b/src/platform/plugins/shared/expression_metric/common/index.ts index 2906d4d939a95..f537c7bcdd198 100755 --- a/src/platform/plugins/shared/expression_metric/common/index.ts +++ b/src/platform/plugins/shared/expression_metric/common/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; export * from './types'; diff --git a/src/platform/plugins/shared/expression_metric/jest.config.js b/src/platform/plugins/shared/expression_metric/jest.config.js index 70382c3c0785a..bc85992dfc5ca 100644 --- a/src/platform/plugins/shared/expression_metric/jest.config.js +++ b/src/platform/plugins/shared/expression_metric/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/shared/expression_metric'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_metric', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_metric', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/shared/expression_metric/{common,public,server}/**/*.{ts,tsx}', diff --git a/src/platform/plugins/shared/expression_repeat_image/common/index.ts b/src/platform/plugins/shared/expression_repeat_image/common/index.ts index 2906d4d939a95..f537c7bcdd198 100755 --- a/src/platform/plugins/shared/expression_repeat_image/common/index.ts +++ b/src/platform/plugins/shared/expression_repeat_image/common/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; export * from './types'; diff --git a/src/platform/plugins/shared/expression_repeat_image/jest.config.js b/src/platform/plugins/shared/expression_repeat_image/jest.config.js index b63c02abdaa4a..4a42d457e7e5f 100644 --- a/src/platform/plugins/shared/expression_repeat_image/jest.config.js +++ b/src/platform/plugins/shared/expression_repeat_image/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/shared/expression_repeat_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_repeat_image', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_repeat_image', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/shared/expression_repeat_image/{common,public,server}/**/*.{ts,tsx}', diff --git a/src/platform/plugins/shared/expression_reveal_image/common/index.ts b/src/platform/plugins/shared/expression_reveal_image/common/index.ts index 7aa8e909d8be1..2f52906fa3bba 100755 --- a/src/platform/plugins/shared/expression_reveal_image/common/index.ts +++ b/src/platform/plugins/shared/expression_reveal_image/common/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; export * from './expression_functions'; diff --git a/src/platform/plugins/shared/expression_reveal_image/jest.config.js b/src/platform/plugins/shared/expression_reveal_image/jest.config.js index 2502108b25ce9..d9c95ea81db2f 100644 --- a/src/platform/plugins/shared/expression_reveal_image/jest.config.js +++ b/src/platform/plugins/shared/expression_reveal_image/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/shared/expression_reveal_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_reveal_image', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_reveal_image', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/shared/expression_reveal_image/{common,public,server}/**/*.{ts,tsx}', diff --git a/src/platform/plugins/shared/expression_shape/jest.config.js b/src/platform/plugins/shared/expression_shape/jest.config.js index fb9279139c783..24066ebb37342 100644 --- a/src/platform/plugins/shared/expression_shape/jest.config.js +++ b/src/platform/plugins/shared/expression_shape/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/shared/expression_shape'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_shape', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_shape', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/shared/expression_shape/{common,public,server}/**/*.{ts,tsx}', diff --git a/src/platform/plugins/shared/inspector/jest.config.js b/src/platform/plugins/shared/inspector/jest.config.js index 9bf7bea7b2937..71c91aca5cd77 100644 --- a/src/platform/plugins/shared/inspector/jest.config.js +++ b/src/platform/plugins/shared/inspector/jest.config.js @@ -13,5 +13,7 @@ module.exports = { roots: ['/src/platform/plugins/shared/inspector'], coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/inspector', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/shared/inspector/{common,public}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/inspector/{common,public}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/shared/inspector/public/index.ts b/src/platform/plugins/shared/inspector/public/index.ts index 1b42bab18e1d0..3a77dc27f42d7 100644 --- a/src/platform/plugins/shared/inspector/public/index.ts +++ b/src/platform/plugins/shared/inspector/public/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/109900 -/* eslint-disable @kbn/eslint/no_export_all */ import './index.scss'; diff --git a/src/platform/plugins/shared/presentation_util/jest.config.js b/src/platform/plugins/shared/presentation_util/jest.config.js index 9b40440271ad0..c059676c0cd10 100644 --- a/src/platform/plugins/shared/presentation_util/jest.config.js +++ b/src/platform/plugins/shared/presentation_util/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/shared/presentation_util'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/presentation_util', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/presentation_util', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/shared/presentation_util/{common,public,server}/**/*.{ts,tsx}', diff --git a/src/platform/plugins/shared/presentation_util/storybook/manager.ts b/src/platform/plugins/shared/presentation_util/storybook/manager.ts index dc31e523e41d3..e879b1d1a234e 100644 --- a/src/platform/plugins/shared/presentation_util/storybook/manager.ts +++ b/src/platform/plugins/shared/presentation_util/storybook/manager.ts @@ -15,7 +15,8 @@ addons.setConfig({ theme: create({ base: 'light', brandTitle: 'Kibana Presentation Utility Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/presentation_util', + brandUrl: + 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/presentation_util', }), showPanel: true.valueOf, selectedPanel: PANEL_ID, diff --git a/x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts b/x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts index 52695f5429381..8fa9109fa922f 100644 --- a/x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts +++ b/x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts @@ -46,7 +46,10 @@ export const canvasWebpack = { // Exclude large-dependency, troublesome or irrelevant modules. { test: [ - resolve(KIBANA_ROOT, 'x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout'), + resolve( + KIBANA_ROOT, + 'x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout' + ), resolve(KIBANA_ROOT, 'x-pack/plugins/reporting/public'), ], use: 'null-loader', diff --git a/x-pack/platform/plugins/private/file_upload/jest.config.js b/x-pack/platform/plugins/private/file_upload/jest.config.js index 2ea92473dbe07..cf3d8cb9490b6 100644 --- a/x-pack/platform/plugins/private/file_upload/jest.config.js +++ b/x-pack/platform/plugins/private/file_upload/jest.config.js @@ -9,7 +9,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/platform/plugins/private/file_upload'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/private/file_upload', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/file_upload', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/x-pack/platform/plugins/private/file_upload/{common,public,server}/**/*.{js,ts,tsx}', diff --git a/x-pack/platform/plugins/shared/dashboard_enhanced/common/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/index.ts index 0033253d720a7..35d241f19a443 100644 --- a/x-pack/platform/plugins/shared/dashboard_enhanced/common/index.ts +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/common/index.ts @@ -6,6 +6,5 @@ */ // TODO: https://github.com/elastic/kibana/issues/110897 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './drilldowns'; diff --git a/x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js b/x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js index 457d137ec4999..00627bd90221e 100644 --- a/x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js @@ -9,7 +9,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/platform/plugins/shared/dashboard_enhanced'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/dashboard_enhanced', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/dashboard_enhanced', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/x-pack/platform/plugins/shared/dashboard_enhanced/{common,public,server}/**/*.{ts,tsx}', diff --git a/x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js b/x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js index bcf7ff104076e..b36f4f6f57ccd 100644 --- a/x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js +++ b/x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js @@ -9,7 +9,10 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/platform/plugins/shared/embeddable_enhanced'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/embeddable_enhanced', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/embeddable_enhanced', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/platform/plugins/shared/embeddable_enhanced/public/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/embeddable_enhanced/public/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/platform/plugins/shared/maps/jest.config.js b/x-pack/platform/plugins/shared/maps/jest.config.js index cba35de1cd53b..15089c91daff2 100644 --- a/x-pack/platform/plugins/shared/maps/jest.config.js +++ b/x-pack/platform/plugins/shared/maps/jest.config.js @@ -11,5 +11,7 @@ module.exports = { roots: ['/x-pack/platform/plugins/shared/maps'], coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/maps', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/platform/plugins/shared/maps/{common,public,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/maps/{common,public,server}/**/*.{js,ts,tsx}', + ], };