From a382d35dd28ae43053d28bcc74778118a92b9540 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Wed, 8 Jan 2025 12:19:24 +0100 Subject: [PATCH] Sustainable Kibana Architecture: Move modules owned by `@elastic/kibana-visualizations` (#202754) ## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > * This PR has been auto-generated. > * Any manual contributions will be lost if the 'relocate' script is re-run. > * Try to obtain the missing reviews / approvals before applying manual fixes, and/or keep your changes in a .patch / git stash. > * Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. Are you trying to rebase this PR to solve merge conflicts? Please follow the steps describe [here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E). #### 29 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/charts-plugin` | `src/platform/plugins/shared/charts` | | `@kbn/data-plugin` | `src/platform/plugins/shared/data` | | `@kbn/event-annotation-listing-plugin` | `src/platform/plugins/private/event_annotation_listing` | | `@kbn/event-annotation-plugin` | `src/platform/plugins/private/event_annotation` | | `@kbn/expression-gauge-plugin` | `src/platform/plugins/shared/chart_expressions/expression_gauge` | | `@kbn/expression-heatmap-plugin` | `src/platform/plugins/shared/chart_expressions/expression_heatmap` | | `@kbn/expression-legacy-metric-vis-plugin` | `src/platform/plugins/shared/chart_expressions/expression_legacy_metric` | | `@kbn/expression-metric-vis-plugin` | `src/platform/plugins/shared/chart_expressions/expression_metric` | | `@kbn/expression-partition-vis-plugin` | `src/platform/plugins/shared/chart_expressions/expression_partition_vis` | | `@kbn/expression-tagcloud-plugin` | `src/platform/plugins/shared/chart_expressions/expression_tagcloud` | | `@kbn/expression-xy-plugin` | `src/platform/plugins/shared/chart_expressions/expression_xy` | | `@kbn/expressions-plugin` | `src/platform/plugins/shared/expressions` | | `@kbn/graph-plugin` | `x-pack/platform/plugins/private/graph` | | `@kbn/lens-plugin` | `x-pack/platform/plugins/shared/lens` | | `@kbn/unified-search-plugin` | `src/platform/plugins/shared/unified_search` | | `@kbn/url-forwarding-plugin` | `src/platform/plugins/private/url_forwarding` | | `@kbn/vis-default-editor-plugin` | `src/platform/plugins/private/vis_default_editor` | | `@kbn/vis-type-gauge-plugin` | `src/platform/plugins/private/vis_types/gauge` | | `@kbn/vis-type-heatmap-plugin` | `src/platform/plugins/private/vis_types/heatmap` | | `@kbn/vis-type-metric-plugin` | `src/platform/plugins/private/vis_types/metric` | | `@kbn/vis-type-pie-plugin` | `src/platform/plugins/private/vis_types/pie` | | `@kbn/vis-type-table-plugin` | `src/platform/plugins/private/vis_types/table` | | `@kbn/vis-type-tagcloud-plugin` | `src/platform/plugins/private/vis_types/tagcloud` | | `@kbn/vis-type-timelion-plugin` | `src/platform/plugins/private/vis_types/timelion` | | `@kbn/vis-type-timeseries-plugin` | `src/platform/plugins/shared/vis_types/timeseries` | | `@kbn/vis-type-vega-plugin` | `src/platform/plugins/private/vis_types/vega` | | `@kbn/vis-type-vislib-plugin` | `src/platform/plugins/private/vis_types/vislib` | | `@kbn/vis-type-xy-plugin` | `src/platform/plugins/private/vis_types/xy` | | `@kbn/visualizations-plugin` | `src/platform/plugins/shared/visualizations` | #### 18 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/calculate-width-from-char-count` | `src/platform/packages/shared/kbn-calculate-width-from-char-count` | | `@kbn/chart-expressions-common` | `src/platform/packages/shared/chart-expressions-common` | | `@kbn/chart-icons` | `src/platform/packages/shared/kbn-chart-icons` | | `@kbn/coloring` | `src/platform/packages/shared/kbn-coloring` | | `@kbn/data-service` | `src/platform/packages/shared/kbn-data-service` | | `@kbn/dom-drag-drop` | `src/platform/packages/shared/kbn-dom-drag-drop` | | `@kbn/event-annotation-common` | `src/platform/packages/shared/kbn-event-annotation-common` | | `@kbn/event-annotation-components` | `src/platform/packages/shared/kbn-event-annotation-components` | | `@kbn/interpreter` | `src/platform/packages/shared/kbn-interpreter` | | `@kbn/lens-formula-docs` | `src/platform/packages/private/kbn-lens-formula-docs` | | `@kbn/managed-content-badge` | `src/platform/packages/private/kbn-managed-content-badge` | | `@kbn/random-sampling` | `x-pack/platform/packages/private/kbn-random-sampling` | | `@kbn/sort-predicates` | `src/platform/packages/shared/kbn-sort-predicates` | | `@kbn/timelion-grammar` | `src/platform/packages/private/kbn-timelion-grammar` | | `@kbn/tinymath` | `src/platform/packages/private/kbn-tinymath` | | `@kbn/transpose-utils` | `src/platform/packages/private/kbn-transpose-utils` | | `@kbn/visualization-ui-components` | `src/platform/packages/shared/kbn-visualization-ui-components` | | `@kbn/visualization-utils` | `src/platform/packages/shared/kbn-visualization-utils` |
Updated references ``` ./.eslintignore ./.eslintrc.js ./.github/paths-labeller.yml ./.i18nrc.json ./docs/developer/architecture/core/elasticsearch-service.asciidoc ./docs/developer/architecture/development-visualize-index.asciidoc ./docs/developer/best-practices/index.asciidoc ./docs/developer/plugin-list.asciidoc ./examples/search_examples/public/plugin.ts ./package.json ./packages/kbn-docs-utils/src/build_api_declarations/extract_import_refs.test.ts ./packages/kbn-docs-utils/src/utils.ts ./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts ./packages/kbn-repo-source-classifier/src/repo_source_classifier.ts ./packages/kbn-ts-projects/config-paths.json ./src/dev/build/tasks/package_json/find_used_dependencies.ts ./src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js ./src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt ./src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js ./src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/bulk-data.json ./src/dev/storybook/aliases.ts ./src/platform/packages/private/kbn-lens-formula-docs/jest.config.js ./src/platform/packages/private/kbn-managed-content-badge/jest.config.js ./src/platform/packages/private/kbn-repo-packages/package-map.json ./src/platform/packages/private/kbn-tinymath/README.md ./src/platform/packages/private/kbn-tinymath/jest.config.js ./src/platform/packages/private/kbn-transpose-utils/jest.config.js ./src/platform/packages/shared/chart-expressions-common/jest.config.js ./src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js ./src/platform/packages/shared/kbn-chart-icons/jest.config.js ./src/platform/packages/shared/kbn-coloring/jest.config.js ./src/platform/packages/shared/kbn-data-service/jest.config.js ./src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js ./src/platform/packages/shared/kbn-event-annotation-common/jest.config.js ./src/platform/packages/shared/kbn-event-annotation-components/jest.config.js ./src/platform/packages/shared/kbn-interpreter/jest.config.js ./src/platform/packages/shared/kbn-sort-predicates/jest.config.js ./src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js ./src/platform/packages/shared/kbn-visualization-utils/jest.config.js ./src/platform/plugins/private/event_annotation/jest.config.js ./src/platform/plugins/private/event_annotation_listing/jest.config.js ./src/platform/plugins/private/url_forwarding/jest.config.js ./src/platform/plugins/private/vis_default_editor/jest.config.js ./src/platform/plugins/private/vis_types/gauge/jest.config.js ./src/platform/plugins/private/vis_types/heatmap/jest.config.js ./src/platform/plugins/private/vis_types/metric/jest.config.js ./src/platform/plugins/private/vis_types/pie/jest.config.js ./src/platform/plugins/private/vis_types/table/jest.config.js ./src/platform/plugins/private/vis_types/tagcloud/jest.config.js ./src/platform/plugins/private/vis_types/timelion/jest.config.js ./src/platform/plugins/private/vis_types/vega/jest.config.js ./src/platform/plugins/private/vis_types/vislib/jest.config.js ./src/platform/plugins/private/vis_types/xy/jest.config.js ./src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js ./src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js ./src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js ./src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js ./src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js ./src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js ./src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js ./src/platform/plugins/shared/charts/jest.config.js ./src/platform/plugins/shared/custom_integrations/jest.config.js ./src/platform/plugins/shared/data/jest.config.js ./src/platform/plugins/shared/expressions/README.asciidoc ./src/platform/plugins/shared/expressions/jest.config.js ./src/platform/plugins/shared/unified_search/jest.config.js ./src/platform/plugins/shared/vis_types/timeseries/jest.config.js ./src/platform/plugins/shared/visualizations/jest.config.js ./src/plugins/vis_types/timeseries/public/application/components/aggs/math.js ./tsconfig.base.json ./tsconfig.base.type_check.json ./tsconfig.refs.json ./x-pack/.i18nrc.json ./x-pack/platform/packages/private/kbn-random-sampling/jest.config.js ./x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts ./x-pack/platform/plugins/private/graph/README.md ./x-pack/platform/plugins/private/graph/jest.config.js ./x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/index.ts ./x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js ./x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts ./x-pack/platform/plugins/shared/lens/jest.config.js ./x-pack/platform/plugins/shared/lens/readme.md ./x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.ts ./x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.ts ./x-pack/platform/plugins/shared/lens/tsconfig.type_check.json ./x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js ./x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts ./x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js ./x-pack/solutions/observability/plugins/observability/common/utils/get_inspect_response.ts ./x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts ./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts ./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts ./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts ./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts ./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts ./x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src/helpers/index.ts ./x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts ./x-pack/solutions/security/plugins/security_solution/server/lib/timeline/constants.ts ./x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts ./yarn.lock .github/CODEOWNERS ```
Updated relative paths ``` src/platform/packages/private/kbn-lens-formula-docs/jest.config.js:12 src/platform/packages/private/kbn-lens-formula-docs/tsconfig.json:2 src/platform/packages/private/kbn-managed-content-badge/jest.config.js:12 src/platform/packages/private/kbn-managed-content-badge/tsconfig.json:2 src/platform/packages/private/kbn-timelion-grammar/tsconfig.json:2 src/platform/packages/private/kbn-tinymath/jest.config.js:12 src/platform/packages/private/kbn-tinymath/tsconfig.json:2 src/platform/packages/private/kbn-transpose-utils/jest.config.js:12 src/platform/packages/private/kbn-transpose-utils/tsconfig.json:2 src/platform/packages/shared/chart-expressions-common/jest.config.js:12 src/platform/packages/shared/chart-expressions-common/tsconfig.json:2 src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js:12 src/platform/packages/shared/kbn-calculate-width-from-char-count/tsconfig.json:2 src/platform/packages/shared/kbn-chart-icons/jest.config.js:12 src/platform/packages/shared/kbn-chart-icons/tsconfig.json:2 src/platform/packages/shared/kbn-coloring/jest.config.js:12 src/platform/packages/shared/kbn-coloring/tsconfig.json:2 src/platform/packages/shared/kbn-data-service/jest.config.js:12 src/platform/packages/shared/kbn-data-service/tsconfig.json:2 src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js:12 src/platform/packages/shared/kbn-dom-drag-drop/tsconfig.json:2 src/platform/packages/shared/kbn-event-annotation-common/jest.config.js:12 src/platform/packages/shared/kbn-event-annotation-common/tsconfig.json:2 src/platform/packages/shared/kbn-event-annotation-components/jest.config.js:12 src/platform/packages/shared/kbn-event-annotation-components/tsconfig.json:2 src/platform/packages/shared/kbn-interpreter/jest.config.js:12 src/platform/packages/shared/kbn-interpreter/tsconfig.json:2 src/platform/packages/shared/kbn-sort-predicates/jest.config.js:12 src/platform/packages/shared/kbn-sort-predicates/tsconfig.json:2 src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js:12 src/platform/packages/shared/kbn-visualization-ui-components/tsconfig.json:2 src/platform/packages/shared/kbn-visualization-utils/jest.config.js:12 src/platform/packages/shared/kbn-visualization-utils/tsconfig.json:2 src/platform/plugins/private/event_annotation/jest.config.js:12 src/platform/plugins/private/event_annotation/tsconfig.json:2 src/platform/plugins/private/event_annotation_listing/jest.config.js:12 src/platform/plugins/private/event_annotation_listing/tsconfig.json:2 src/platform/plugins/private/url_forwarding/jest.config.js:12 src/platform/plugins/private/url_forwarding/tsconfig.json:2 src/platform/plugins/private/vis_default_editor/README.md:8 src/platform/plugins/private/vis_default_editor/jest.config.js:12 src/platform/plugins/private/vis_default_editor/tsconfig.json:2 src/platform/plugins/private/vis_types/gauge/jest.config.js:12 src/platform/plugins/private/vis_types/gauge/tsconfig.json:2 src/platform/plugins/private/vis_types/heatmap/jest.config.js:12 src/platform/plugins/private/vis_types/heatmap/tsconfig.json:2 src/platform/plugins/private/vis_types/metric/jest.config.js:12 src/platform/plugins/private/vis_types/metric/tsconfig.json:2 src/platform/plugins/private/vis_types/pie/jest.config.js:12 src/platform/plugins/private/vis_types/pie/tsconfig.json:2 src/platform/plugins/private/vis_types/table/jest.config.js:12 src/platform/plugins/private/vis_types/table/tsconfig.json:2 src/platform/plugins/private/vis_types/tagcloud/jest.config.js:12 src/platform/plugins/private/vis_types/tagcloud/tsconfig.json:2 src/platform/plugins/private/vis_types/timelion/jest.config.js:12 src/platform/plugins/private/vis_types/timelion/tsconfig.json:2 src/platform/plugins/private/vis_types/vega/jest.config.js:12 src/platform/plugins/private/vis_types/vega/tsconfig.json:2 src/platform/plugins/private/vis_types/vislib/jest.config.js:12 src/platform/plugins/private/vis_types/vislib/tsconfig.json:2 src/platform/plugins/private/vis_types/xy/jest.config.js:12 src/platform/plugins/private/vis_types/xy/tsconfig.json:2 src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js:12 src/platform/plugins/shared/chart_expressions/expression_gauge/tsconfig.json:2 src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js:12 src/platform/plugins/shared/chart_expressions/expression_heatmap/tsconfig.json:2 src/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook/main.js:17 src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js:12 src/platform/plugins/shared/chart_expressions/expression_legacy_metric/tsconfig.json:2 src/platform/plugins/shared/chart_expressions/expression_metric/.storybook/main.js:17 src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js:12 src/platform/plugins/shared/chart_expressions/expression_metric/tsconfig.json:2 src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js:12 src/platform/plugins/shared/chart_expressions/expression_partition_vis/tsconfig.json:2 src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js:12 src/platform/plugins/shared/chart_expressions/expression_tagcloud/tsconfig.json:2 src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js:12 src/platform/plugins/shared/chart_expressions/expression_xy/tsconfig.json:2 src/platform/plugins/shared/charts/jest.config.js:12 src/platform/plugins/shared/charts/tsconfig.json:2 src/platform/plugins/shared/data/jest.config.js:12 src/platform/plugins/shared/data/tsconfig.json:13 src/platform/plugins/shared/data/tsconfig.json:2 src/platform/plugins/shared/expressions/jest.config.js:12 src/platform/plugins/shared/expressions/tsconfig.json:2 src/platform/plugins/shared/unified_search/jest.config.js:12 src/platform/plugins/shared/unified_search/tsconfig.json:2 src/platform/plugins/shared/vis_types/timeseries/jest.config.js:12 src/platform/plugins/shared/vis_types/timeseries/tsconfig.json:11 src/platform/plugins/shared/vis_types/timeseries/tsconfig.json:2 src/platform/plugins/shared/visualizations/jest.config.js:12 src/platform/plugins/shared/visualizations/tsconfig.json:2 src/platform/plugins/shared/visualizations/tsconfig.json:6 x-pack/platform/packages/private/kbn-random-sampling/jest.config.js:10 x-pack/platform/packages/private/kbn-random-sampling/tsconfig.json:2 x-pack/platform/plugins/private/graph/jest.config.js:10 x-pack/platform/plugins/private/graph/tsconfig.json:13 x-pack/platform/plugins/private/graph/tsconfig.json:3 x-pack/platform/plugins/shared/lens/jest.config.js:10 x-pack/platform/plugins/shared/lens/tsconfig.json:2 x-pack/platform/plugins/shared/lens/tsconfig.json:6 ```
--------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .../pipelines/pull_request/pipeline.ts | 10 +- .eslintignore | 2 +- .eslintrc.js | 12 +- .github/CODEOWNERS | 94 +++---- .github/paths-labeller.yml | 2 +- .i18nrc.json | 70 ++--- .../core/elasticsearch-service.asciidoc | 2 +- .../development-visualize-index.asciidoc | 2 +- docs/developer/best-practices/index.asciidoc | 4 +- docs/developer/plugin-list.asciidoc | 58 ++--- examples/search_examples/public/plugin.ts | 2 +- package.json | 94 +++---- .../extract_import_refs.test.ts | 4 +- packages/kbn-docs-utils/src/utils.ts | 2 +- ...get_i18n_identifier_from_file_path.test.ts | 2 +- packages/kbn-lens-formula-docs/jest.config.js | 14 - .../src/repo_source_classifier.ts | 2 +- packages/kbn-sort-predicates/jest.config.js | 14 - packages/kbn-tinymath/jest.config.js | 14 - packages/kbn-transpose-utils/jest.config.js | 14 - .../kbn-visualization-utils/jest.config.js | 14 - .../package_json/find_used_dependencies.ts | 2 +- .../__tests__/enumerate_patterns.test.js | 6 +- .../__tests__/mocks/team_assign_mock.txt | 246 +++++++++--------- .../__tests__/transforms.test.js | 12 +- src/dev/storybook/aliases.ts | 19 +- .../private}/kbn-lens-formula-docs/README.md | 0 .../private}/kbn-lens-formula-docs/index.ts | 0 .../kbn-lens-formula-docs/jest.config.js | 14 + .../kbn-lens-formula-docs/kibana.jsonc | 0 .../kbn-lens-formula-docs/package.json | 0 .../kbn-lens-formula-docs/src/math/index.ts | 0 .../src/operations/average.ts | 0 .../src/operations/cardinality.ts | 0 .../src/operations/count.ts | 0 .../src/operations/counter_rate.ts | 0 .../src/operations/cumulative_sum.ts | 0 .../src/operations/differences.ts | 0 .../src/operations/helpers.ts | 0 .../src/operations/interval.ts | 0 .../src/operations/last_value.ts | 0 .../src/operations/max.ts | 0 .../src/operations/median.ts | 0 .../src/operations/min.ts | 0 .../src/operations/moving_average.ts | 0 .../src/operations/normalize_by_unit.ts | 0 .../src/operations/now.ts | 0 .../src/operations/overall_average.ts | 0 .../src/operations/overall_max.ts | 0 .../src/operations/overall_min.ts | 0 .../src/operations/overall_sum.ts | 0 .../src/operations/percentile.ts | 0 .../src/operations/percentile_ranks.ts | 0 .../src/operations/std_deviation.ts | 0 .../src/operations/sum.ts | 0 .../src/operations/time_range.ts | 0 .../src/operations/types.ts | 0 .../src/sections/calculations.ts | 0 .../src/sections/common.ts | 0 .../src/sections/comparison.ts | 0 .../src/sections/context.ts | 0 .../src/sections/elasticsearch.ts | 0 .../src/sections/how_to.ts | 0 .../src/sections/index.ts | 0 .../src/sections/math.ts | 0 .../kbn-lens-formula-docs/tsconfig.json | 2 +- .../kbn-managed-content-badge/README.md | 0 .../kbn-managed-content-badge/index.ts | 0 .../kbn-managed-content-badge}/jest.config.js | 4 +- .../kbn-managed-content-badge/kibana.jsonc | 0 .../kbn-managed-content-badge/package.json | 0 .../kbn-managed-content-badge/tsconfig.json | 2 +- .../private}/kbn-timelion-grammar/chain.peggy | 0 .../private}/kbn-timelion-grammar/index.js | 0 .../kbn-timelion-grammar/kibana.jsonc | 0 .../kbn-timelion-grammar/package.json | 0 .../kbn-timelion-grammar/tsconfig.json | 2 +- .../packages/private}/kbn-tinymath/README.md | 4 +- .../private}/kbn-tinymath/docs/functions.md | 0 .../kbn-tinymath/docs/template/functions.hbs | 0 .../packages/private}/kbn-tinymath/index.d.ts | 0 .../private/kbn-tinymath}/jest.config.js | 4 +- .../private}/kbn-tinymath/kibana.jsonc | 0 .../private}/kbn-tinymath/package.json | 0 .../kbn-tinymath/src/functions/abs.js | 0 .../kbn-tinymath/src/functions/add.js | 0 .../kbn-tinymath/src/functions/cbrt.js | 0 .../kbn-tinymath/src/functions/ceil.js | 0 .../kbn-tinymath/src/functions/clamp.js | 0 .../src/functions/comparison/eq.js | 0 .../src/functions/comparison/gt.js | 0 .../src/functions/comparison/gte.js | 0 .../src/functions/comparison/ifelse.js | 0 .../src/functions/comparison/index.js | 0 .../src/functions/comparison/lt.js | 0 .../src/functions/comparison/lte.js | 0 .../kbn-tinymath/src/functions/cos.js | 0 .../kbn-tinymath/src/functions/count.js | 0 .../kbn-tinymath/src/functions/cube.js | 0 .../kbn-tinymath/src/functions/defaults.js | 0 .../kbn-tinymath/src/functions/degtorad.js | 0 .../kbn-tinymath/src/functions/divide.js | 0 .../kbn-tinymath/src/functions/exp.js | 0 .../kbn-tinymath/src/functions/first.js | 0 .../kbn-tinymath/src/functions/fix.js | 0 .../kbn-tinymath/src/functions/floor.js | 0 .../kbn-tinymath/src/functions/index.js | 0 .../kbn-tinymath/src/functions/last.js | 0 .../src/functions/lib/transpose.js | 0 .../kbn-tinymath/src/functions/log.js | 0 .../kbn-tinymath/src/functions/log10.js | 0 .../kbn-tinymath/src/functions/max.js | 0 .../kbn-tinymath/src/functions/mean.js | 0 .../kbn-tinymath/src/functions/median.js | 0 .../kbn-tinymath/src/functions/min.js | 0 .../kbn-tinymath/src/functions/mod.js | 0 .../kbn-tinymath/src/functions/mode.js | 0 .../kbn-tinymath/src/functions/multiply.js | 0 .../private}/kbn-tinymath/src/functions/pi.js | 0 .../kbn-tinymath/src/functions/pow.js | 0 .../kbn-tinymath/src/functions/radtodeg.js | 0 .../kbn-tinymath/src/functions/random.js | 0 .../kbn-tinymath/src/functions/range.js | 0 .../kbn-tinymath/src/functions/round.js | 0 .../kbn-tinymath/src/functions/sin.js | 0 .../kbn-tinymath/src/functions/size.js | 0 .../kbn-tinymath/src/functions/sqrt.js | 0 .../kbn-tinymath/src/functions/square.js | 0 .../kbn-tinymath/src/functions/subtract.js | 0 .../kbn-tinymath/src/functions/sum.js | 0 .../kbn-tinymath/src/functions/tan.js | 0 .../kbn-tinymath/src/functions/unique.js | 0 .../private}/kbn-tinymath/src/grammar.peggy | 0 .../private}/kbn-tinymath/src/index.js | 0 .../kbn-tinymath/test/functions/abs.test.js | 0 .../kbn-tinymath/test/functions/add.test.js | 0 .../kbn-tinymath/test/functions/cbrt.test.js | 0 .../kbn-tinymath/test/functions/ceil.test.js | 0 .../kbn-tinymath/test/functions/clamp.test.js | 0 .../test/functions/comparison/eq.test.js | 0 .../test/functions/comparison/gt.test.js | 0 .../test/functions/comparison/gte.test.js | 0 .../test/functions/comparison/ifelse.test.js | 0 .../test/functions/comparison/lt.test.js | 0 .../test/functions/comparison/lte.test.js | 0 .../kbn-tinymath/test/functions/cos.test.js | 0 .../kbn-tinymath/test/functions/cube.test.js | 0 .../test/functions/defaults.test.js | 0 .../test/functions/degtorad.test.js | 0 .../test/functions/divide.test.js | 0 .../kbn-tinymath/test/functions/exp.test.js | 0 .../kbn-tinymath/test/functions/first.test.js | 0 .../kbn-tinymath/test/functions/fix.test.js | 0 .../kbn-tinymath/test/functions/floor.test.js | 0 .../kbn-tinymath/test/functions/last.test.js | 0 .../kbn-tinymath/test/functions/log.test.js | 0 .../kbn-tinymath/test/functions/log10.test.js | 0 .../kbn-tinymath/test/functions/max.test.js | 0 .../kbn-tinymath/test/functions/mean.test.js | 0 .../test/functions/median.test.js | 0 .../kbn-tinymath/test/functions/min.test.js | 0 .../kbn-tinymath/test/functions/mod.test.js | 0 .../kbn-tinymath/test/functions/mode.test.js | 0 .../test/functions/multiply.test.js | 0 .../kbn-tinymath/test/functions/pi.test.js | 0 .../kbn-tinymath/test/functions/pow.test.js | 0 .../test/functions/radtodeg.test.js | 0 .../test/functions/random.test.js | 0 .../kbn-tinymath/test/functions/range.test.js | 0 .../kbn-tinymath/test/functions/round.test.js | 0 .../kbn-tinymath/test/functions/sin.test.js | 0 .../kbn-tinymath/test/functions/size.test.js | 0 .../kbn-tinymath/test/functions/sqrt.test.js | 0 .../test/functions/square.test.js | 0 .../test/functions/subtract.test.js | 0 .../kbn-tinymath/test/functions/sum.test.js | 0 .../kbn-tinymath/test/functions/tan.test.js | 0 .../test/functions/transpose.test.js | 0 .../test/functions/unique.test.js | 0 .../kbn-tinymath/test/library.test.js | 0 .../private}/kbn-tinymath/tsconfig.json | 2 +- .../private}/kbn-transpose-utils/README.md | 0 .../kbn-transpose-utils/index.test.ts | 0 .../private}/kbn-transpose-utils/index.ts | 0 .../kbn-transpose-utils/jest.config.js | 14 + .../private}/kbn-transpose-utils/kibana.jsonc | 0 .../private}/kbn-transpose-utils/package.json | 0 .../kbn-transpose-utils/tsconfig.json | 2 +- .../chart-expressions-common}/README.md | 0 .../color_categories.test.ts | 0 .../color_categories.ts | 0 .../shared/chart-expressions-common}/index.ts | 0 .../chart-expressions-common}/jest.config.js | 4 +- .../chart-expressions-common}/kibana.jsonc | 0 .../chart-expressions-common}/package.json | 0 .../chart-expressions-common}/tsconfig.json | 2 +- .../shared/chart-expressions-common}/types.ts | 0 .../chart-expressions-common}/utils.test.ts | 0 .../shared/chart-expressions-common}/utils.ts | 0 .../.storybook/main.js | 0 .../README.md | 0 .../index.ts | 0 .../jest.config.js | 14 + .../kibana.jsonc | 0 .../package.json | 0 .../calculate_width_from_char_count.test.ts | 0 .../src/calculate_width_from_char_count.ts | 0 .../src/calculate_width_from_entries.test.ts | 0 .../src/calculate_width_from_entries.ts | 0 .../src/index.ts | 0 .../tsconfig.json | 2 +- .../kbn-chart-icons/.storybook/main.js | 0 .../shared}/kbn-chart-icons/README.md | 0 .../packages/shared}/kbn-chart-icons/index.ts | 0 .../shared/kbn-chart-icons}/jest.config.js | 4 +- .../shared}/kbn-chart-icons/kibana.jsonc | 0 .../shared}/kbn-chart-icons/package.json | 0 .../src/__stories__/icons.stories.tsx | 0 .../src/assets/annotation_icons/circle.tsx | 0 .../src/assets/annotation_icons/index.tsx | 0 .../src/assets/annotation_icons/triangle.tsx | 0 .../src/assets/axis_bottom.tsx | 0 .../kbn-chart-icons/src/assets/axis_left.tsx | 0 .../kbn-chart-icons/src/assets/axis_right.tsx | 0 .../kbn-chart-icons/src/assets/axis_top.tsx | 0 .../kbn-chart-icons/src/assets/chart_area.tsx | 0 .../src/assets/chart_area_percentage.tsx | 0 .../src/assets/chart_area_stacked.tsx | 0 .../kbn-chart-icons/src/assets/chart_bar.tsx | 0 .../src/assets/chart_bar_annotations.tsx | 0 .../src/assets/chart_bar_horizontal.tsx | 0 .../chart_bar_horizontal_percentage.tsx | 0 .../assets/chart_bar_horizontal_stacked.tsx | 0 .../src/assets/chart_bar_percentage.tsx | 0 .../src/assets/chart_bar_reference_line.tsx | 0 .../src/assets/chart_bar_stacked.tsx | 0 .../src/assets/chart_datatable.tsx | 0 .../src/assets/chart_donut.tsx | 0 .../src/assets/chart_gauge.tsx | 0 .../src/assets/chart_gauge_arc.tsx | 0 .../src/assets/chart_gauge_circle.tsx | 0 .../src/assets/chart_gauge_semi_circle.tsx | 0 .../src/assets/chart_gauge_simple_icons.tsx | 0 .../src/assets/chart_heatmap.tsx | 0 .../src/assets/chart_horizontal_bullet.tsx | 0 .../kbn-chart-icons/src/assets/chart_line.tsx | 0 .../src/assets/chart_metric.tsx | 0 .../src/assets/chart_mixed_xy.tsx | 0 .../src/assets/chart_mosaic.tsx | 0 .../kbn-chart-icons/src/assets/chart_pie.tsx | 0 .../src/assets/chart_tagcloud.tsx | 0 .../src/assets/chart_treemap.tsx | 0 .../src/assets/chart_vertical_bullet.tsx | 0 .../src/assets/chart_waffle.tsx | 0 .../src/assets/common_styles.tsx | 0 .../src/assets/donut_hole_icons.tsx | 0 .../src/assets/drop_illustration.tsx | 0 .../src/assets/globe_illustration.tsx | 0 .../src/assets/icon_simple_wrapper.tsx | 0 .../kbn-chart-icons/src/assets/index.ts | 0 .../kbn-chart-icons/src/assets/legend.tsx | 0 .../kbn-chart-icons/src/assets/region_map.tsx | 0 .../shared}/kbn-chart-icons/tsconfig.json | 2 +- .../shared}/kbn-coloring/.storybook/main.js | 0 .../packages/shared}/kbn-coloring/README.md | 0 .../packages/shared}/kbn-coloring/index.ts | 0 .../shared/kbn-coloring}/jest.config.js | 4 +- .../shared}/kbn-coloring/kibana.jsonc | 0 .../shared}/kbn-coloring/package.json | 0 .../src/color_manipulation/index.ts | 0 .../kbn-coloring/src/palettes/constants.ts | 0 .../kbn-coloring/src/palettes/index.ts | 0 .../src/palettes/mocks/palettes_registry.ts | 0 .../kbn-coloring/src/palettes/types.ts | 0 .../kbn-coloring/src/palettes/utils.test.ts | 0 .../kbn-coloring/src/palettes/utils.ts | 0 .../shared_components/color_mapping/README.md | 0 .../__stories__/color_mapping.stories.tsx | 0 .../categorical_color_mapping.test.tsx | 0 .../categorical_color_mapping.tsx | 0 .../color/color_handling.test.ts | 0 .../color_mapping/color/color_handling.ts | 0 .../color_mapping/color/color_math.ts | 0 .../color_mapping/color/rule_matching.ts | 0 .../components/assignment/assignment.tsx | 0 .../components/assignment/match.tsx | 0 .../components/assignment/range.tsx | 0 .../assignment/special_assignment.tsx | 0 .../components/color_picker/color_picker.tsx | 0 .../components/color_picker/color_swatch.tsx | 0 .../color_picker/palette_colors.tsx | 0 .../components/color_picker/rgb_picker.tsx | 0 .../components/container/assigments.tsx | 0 .../components/container/container.tsx | 0 .../container/unassigned_terms_config.tsx | 0 .../components/palette_selector/gradient.tsx | 0 .../palette_selector/gradient_add_stop.tsx | 0 .../palette_selector/palette_selector.tsx | 0 .../components/palette_selector/scale.tsx | 0 .../color_mapping/config/assignments.ts | 0 .../config/default_color_mapping.ts | 0 .../color_mapping/config/index.ts | 0 .../color_mapping/config/types.ts | 0 .../shared_components/color_mapping/index.ts | 0 .../color_mapping/state/color_mapping.ts | 0 .../color_mapping/state/selectors.ts | 0 .../color_mapping/state/ui.ts | 0 .../customizable_palette.stories.tsx | 0 .../coloring/__stories__/palettes.ts | 0 .../coloring/assets/distribute_equally.tsx | 0 .../coloring/assets/infinity.tsx | 0 .../coloring/assets/related.tsx | 0 .../coloring/assets/value_max.tsx | 0 .../coloring/assets/value_min.tsx | 0 .../color_ranges/color_ranges.test.tsx | 0 .../coloring/color_ranges/color_ranges.tsx | 0 .../color_ranges/color_ranges_context.ts | 0 .../color_ranges_extra_actions.tsx | 0 .../color_ranges/color_ranges_item.tsx | 0 .../color_ranges_item_buttons.tsx | 0 .../color_ranges_validation.test.ts | 0 .../color_ranges/color_ranges_validation.tsx | 0 .../coloring/color_ranges/index.tsx | 0 .../coloring/color_ranges/types.ts | 0 .../utils/color_ranges_crud.test.ts | 0 .../color_ranges/utils/color_ranges_crud.ts | 0 .../utils/color_ranges_extra_actions.test.ts | 0 .../utils/color_ranges_extra_actions.ts | 0 .../coloring/color_ranges/utils/index.ts | 0 .../coloring/color_ranges/utils/utils.test.ts | 0 .../coloring/color_ranges/utils/utils.ts | 0 .../src/shared_components/coloring/index.ts | 0 .../coloring/mocks/palettes_registry.ts | 0 .../coloring/palette_configuration.test.tsx | 0 .../coloring/palette_configuration.tsx | 0 .../coloring/palette_configuration_reducer.ts | 0 .../coloring/palette_picker.tsx | 0 .../coloring/tooltip_wrapper.tsx | 0 .../src/shared_components/coloring/types.ts | 0 .../shared_components/coloring/utils.test.ts | 0 .../src/shared_components/coloring/utils.ts | 0 .../src/shared_components/index.ts | 0 .../shared}/kbn-coloring/tsconfig.json | 2 +- .../shared}/kbn-data-service/README.md | 0 .../shared}/kbn-data-service/index.ts | 0 .../shared}/kbn-data-service/jest.config.js | 4 +- .../shared}/kbn-data-service/kibana.jsonc | 0 .../shared}/kbn-data-service/package.json | 0 .../shared}/kbn-data-service/src/constants.ts | 0 .../src/es_query/get_es_query_config.test.ts | 0 .../src/es_query/get_es_query_config.ts | 0 .../kbn-data-service/src/es_query/index.ts | 0 .../src/es_query/stubs/exists_filter.ts | 0 .../src/es_query/stubs/index.ts | 0 .../src/es_query/stubs/phrase_filter.ts | 0 .../src/es_query/stubs/phrases_filter.ts | 0 .../src/es_query/stubs/range_filter.ts | 0 .../__snapshots__/tabify_docs.test.ts.snap | 0 .../src/search/tabify/index.ts | 0 .../src/search/tabify/tabify_docs.test.ts | 0 .../src/search/tabify/tabify_docs.ts | 0 .../shared}/kbn-data-service/src/types.ts | 0 .../shared}/kbn-data-service/tsconfig.json | 2 +- .../shared}/kbn-dom-drag-drop/README.md | 0 .../shared}/kbn-dom-drag-drop/index.ts | 0 .../shared/kbn-dom-drag-drop/jest.config.js | 14 + .../shared}/kbn-dom-drag-drop/kibana.jsonc | 0 .../shared}/kbn-dom-drag-drop/package.json | 0 .../kbn-dom-drag-drop/src/constants.ts | 0 .../src/drag_drop_reordering.test.tsx | 0 .../kbn-dom-drag-drop/src/draggable.test.tsx | 0 .../kbn-dom-drag-drop/src/draggable.tsx | 0 .../src/drop_overlay_wrapper.tsx | 0 .../src/drop_targets/index.ts | 0 .../drop_targets/swap_duplicate_combine.tsx | 0 .../kbn-dom-drag-drop/src/droppable.test.tsx | 0 .../kbn-dom-drag-drop/src/droppable.tsx | 0 .../shared}/kbn-dom-drag-drop/src/index.ts | 0 .../src/providers/announcements.tsx | 0 .../kbn-dom-drag-drop/src/providers/index.tsx | 0 .../src/providers/providers.test.tsx | 0 .../src/providers/providers.tsx | 0 .../src/providers/reorder_provider.tsx | 0 .../kbn-dom-drag-drop/src/providers/types.tsx | 0 .../src/sass/drag_drop_mixins.scss | 0 .../kbn-dom-drag-drop/src/sass/draggable.scss | 0 .../kbn-dom-drag-drop/src/sass/droppable.scss | 0 .../kbn-dom-drag-drop/src/test_utils.tsx | 0 .../shared}/kbn-dom-drag-drop/src/types.ts | 0 .../shared}/kbn-dom-drag-drop/tsconfig.json | 2 +- .../kbn-event-annotation-common/README.md | 0 .../kbn-event-annotation-common/index.ts | 0 .../jest.config.js | 4 +- .../kbn-event-annotation-common/kibana.jsonc | 0 .../kbn-event-annotation-common/package.json | 0 .../kbn-event-annotation-common/tsconfig.json | 2 +- .../kbn-event-annotation-common/types.ts | 0 .../kbn-event-annotation-common/util.ts | 0 .../kbn-event-annotation-components/README.md | 0 .../annotation_editor_controls.tsx | 0 .../annotation_editor_controls/helpers.ts | 0 .../annotation_editor_controls/icon_set.ts | 0 .../annotation_editor_controls/index.scss | 0 .../annotation_editor_controls/index.test.tsx | 0 .../annotation_editor_controls/index.tsx | 0 .../manual_annotation_panel.tsx | 0 .../query_annotation_panel.tsx | 0 .../range_annotation_panel.tsx | 0 .../tooltip_annotation_panel.tsx | 0 .../annotation_editor_controls/types.ts | 0 ...t_annotation_group_saved_object_finder.tsx | 0 .../components/get_annotation_accessor.ts | 0 .../components/index.ts | 0 .../constants.ts | 0 .../kbn-event-annotation-components/index.ts | 0 .../jest.config.js | 4 +- .../kibana.jsonc | 0 .../package.json | 0 .../tsconfig.json | 2 +- .../kbn-event-annotation-components/types.ts | 0 .../packages/shared}/kbn-interpreter/index.ts | 0 .../shared}/kbn-interpreter/jest.config.js | 4 +- .../shared}/kbn-interpreter/kibana.jsonc | 0 .../shared}/kbn-interpreter/package.json | 0 .../kbn-interpreter/src/common/index.ts | 0 .../kbn-interpreter/src/common/lib/arg.js | 0 .../src/common/lib/arg.test.js | 0 .../kbn-interpreter/src/common/lib/ast/ast.ts | 0 .../src/common/lib/ast/compare.ts | 0 .../common/lib/ast/from_expression.test.js | 0 .../src/common/lib/ast/from_expression.ts | 0 .../src/common/lib/ast/index.ts | 0 .../src/common/lib/ast/patch.ts | 0 .../lib/ast/safe_element_from_expression.ts | 0 .../src/common/lib/ast/to_expression.test.js | 0 .../src/common/lib/ast/to_expression.ts | 0 .../kbn-interpreter/src/common/lib/cast.js | 0 .../kbn-interpreter/src/common/lib/fn.js | 0 .../src/common/lib/get_by_alias.js | 0 .../src/common/lib/get_by_alias.test.js | 0 .../src/common/lib/get_type.ts | 0 .../src/common/lib/grammar.peggy | 0 .../src/common/lib/grammar.peggy.config.json | 0 .../kbn-interpreter/src/common/lib/parse.ts | 0 .../src/common/lib/registry.test.js | 0 .../src/common/lib/registry.ts | 0 .../kbn-interpreter/src/common/registries.js | 0 .../shared}/kbn-interpreter/tsconfig.json | 2 +- .../shared}/kbn-sort-predicates/README.md | 0 .../shared}/kbn-sort-predicates/index.ts | 0 .../shared/kbn-sort-predicates/jest.config.js | 14 + .../shared}/kbn-sort-predicates/kibana.jsonc | 0 .../shared}/kbn-sort-predicates/package.json | 0 .../kbn-sort-predicates/src/sorting.test.ts | 0 .../kbn-sort-predicates/src/sorting.ts | 0 .../shared}/kbn-sort-predicates/tsconfig.json | 2 +- .../kbn-visualization-ui-components/README.md | 0 .../components/chart_switch_trigger.tsx | 0 .../components/color_picker.tsx | 0 .../components/debounced_input.test.tsx | 0 .../components/debounced_input.tsx | 0 .../components/dimension_buttons/constants.ts | 0 .../dimension_button.test.tsx | 0 .../dimension_buttons/dimension_button.tsx | 0 .../dimension_button_icon.tsx | 0 .../dimension_buttons/empty_button.tsx | 0 .../components/dimension_buttons/index.ts | 0 .../dimension_buttons/palette_indicator.tsx | 0 .../dimension_buttons/trigger.test.tsx | 0 .../components/dimension_buttons/trigger.tsx | 0 .../components/dimension_buttons/types.ts | 0 .../components/dimension_editor_section.scss | 0 .../components/dimension_editor_section.tsx | 0 .../drag_drop_bucket/buckets.test.tsx | 0 .../components/drag_drop_bucket/buckets.tsx | 0 .../default_bucket_container.tsx | 0 .../fields_bucket_container.tsx | 0 .../components/drag_drop_bucket/index.tsx | 0 .../drag_drop_bucket/new_bucket_button.tsx | 0 .../components/drag_drop_bucket/types.ts | 0 .../components/field_picker/field_picker.scss | 0 .../field_picker/field_picker.test.tsx | 0 .../components/field_picker/field_picker.tsx | 0 .../components/field_picker/index.ts | 0 .../components/field_picker/types.ts | 0 .../components/icon_select.tsx | 0 .../components/index.ts | 0 .../components/line_style_settings.tsx | 0 .../components/name_input.tsx | 0 .../query_input/filter_query_input.scss | 0 .../query_input/filter_query_input.tsx | 0 .../components/query_input/helpers.ts | 0 .../components/query_input/index.ts | 0 .../components/query_input/query_input.tsx | 0 .../components/text_decoration_setting.tsx | 0 .../kbn-visualization-ui-components/index.ts | 0 .../jest.config.js | 4 +- .../kibana.jsonc | 0 .../package.json | 0 .../tsconfig.json | 2 +- .../kbn-visualization-ui-components/types.ts | 0 .../kbn-visualization-ui-components/util.ts | 0 .../shared}/kbn-visualization-utils/README.md | 0 .../__mocks__/suggestions_mock.ts | 0 .../shared}/kbn-visualization-utils/index.ts | 0 .../kbn-visualization-utils/jest.config.js | 14 + .../kbn-visualization-utils/kibana.jsonc | 0 .../kbn-visualization-utils/package.json | 0 .../src/debounced_value.test.ts | 0 .../src/debounced_value.ts | 0 .../src/get_datasource_id.ts | 0 .../src/get_lens_attributes.test.ts | 0 .../src/get_lens_attributes.ts | 0 .../src/get_timezone.test.ts | 0 .../src/get_timezone.ts | 0 .../src/map_vis_to_chart_type.ts | 0 .../src/tooltip_wrapper.tsx | 0 .../kbn-visualization-utils/src/types.ts | 0 .../kbn-visualization-utils/tsconfig.json | 2 +- .../private}/event_annotation/.i18nrc.json | 0 .../private}/event_annotation/README.md | 0 .../event_annotation/common/constants.ts | 0 .../common/content_management/constants.ts | 0 .../common/content_management/index.ts | 0 .../common/content_management/latest.ts | 0 .../common/content_management/types.ts | 0 .../common/content_management/v1/index.ts | 0 .../common/content_management/v1/types.ts | 0 .../common/event_annotation_group/index.ts | 0 .../common/fetch_event_annotation/index.ts | 0 .../fetch_event_annotations_fn.ts | 0 .../fetch_event_annotations/handle_request.ts | 0 .../common/fetch_event_annotations/index.ts | 0 .../request_event_annotations.ts | 0 .../common/fetch_event_annotations/types.ts | 0 .../common/fetch_event_annotations/utils.ts | 0 .../private}/event_annotation/common/index.ts | 0 .../common/manual_event_annotation/index.ts | 0 .../common/manual_event_annotation/types.ts | 0 .../query_point_event_annotation/index.ts | 0 .../query_point_event_annotation/types.ts | 0 .../private}/event_annotation/common/types.ts | 0 .../private/event_annotation}/jest.config.js | 9 +- .../private}/event_annotation/kibana.jsonc | 0 ...t_annotation_group_saved_object_finder.tsx | 0 .../public/event_annotation_service/README.md | 0 .../__snapshots__/service.test.ts.snap | 0 .../public/event_annotation_service/index.tsx | 0 .../event_annotation_service/service.test.ts | 0 .../event_annotation_service/service.tsx | 0 .../fetch_event_annotations.test.ts.snap | 0 .../fetch_event_annotations.test.ts | 0 .../public/fetch_event_annotations/index.ts | 0 .../private}/event_annotation/public/index.ts | 0 .../private}/event_annotation/public/mocks.ts | 0 .../event_annotation/public/plugin.ts | 0 .../event_annotation_group_storage.ts | 0 .../server/content_management/index.ts | 0 .../content_management/schema/cm_services.ts | 0 .../schema/v1/cm_services.ts | 0 .../server/fetch_event_annotations/index.ts | 0 .../private}/event_annotation/server/index.ts | 0 .../event_annotation/server/plugin.ts | 0 .../event_annotation/server/saved_objects.ts | 0 .../private}/event_annotation/tsconfig.json | 2 +- .../event_annotation_listing/.i18nrc.json | 0 .../event_annotation_listing/README.md | 0 .../event_annotation_listing/jest.config.js | 21 ++ .../event_annotation_listing/kibana.jsonc | 0 .../group_editor_flyout.test.tsx.snap | 0 .../group_editor_controls/annotation_list.tsx | 0 .../group_editor_controls.test.tsx | 0 .../group_editor_controls.tsx | 0 .../group_editor_controls/index.ts | 0 .../group_editor_flyout.test.tsx | 0 .../group_editor_flyout.tsx | 0 .../group_preview.test.tsx | 0 .../group_editor_flyout/group_preview.tsx | 0 .../components/group_editor_flyout/index.ts | 0 .../group_editor_flyout/lens_attributes.ts | 0 .../public/components/table_list.test.tsx | 0 .../public/components/table_list.tsx | 0 .../public/constants.ts | 0 .../public/get_table_list.tsx | 0 .../event_annotation_listing/public/index.ts | 0 .../event_annotation_listing/public/plugin.ts | 0 .../event_annotation_listing/tsconfig.json | 2 +- .../plugins/private}/url_forwarding/README.md | 0 .../private/url_forwarding}/jest.config.js | 8 +- .../private}/url_forwarding/kibana.jsonc | 0 .../public/forward_app/forward_app.test.ts | 0 .../public/forward_app/forward_app.ts | 0 .../public/forward_app/index.ts | 0 .../navigate_to_legacy_kibana_url.test.ts | 0 .../navigate_to_legacy_kibana_url.ts | 0 .../public/forward_app/normalize_path.ts | 0 .../private}/url_forwarding/public/index.ts | 1 - .../private}/url_forwarding/public/mocks.ts | 0 .../private}/url_forwarding/public/plugin.ts | 0 .../private}/url_forwarding/tsconfig.json | 2 +- .../private}/vis_default_editor/README.md | 2 +- .../vis_default_editor}/jest.config.js | 8 +- .../private}/vis_default_editor/kibana.jsonc | 0 .../vis_default_editor/public/_agg.scss | 0 .../public/_agg_params.scss | 0 .../vis_default_editor/public/_default.scss | 0 .../vis_default_editor/public/_sidebar.scss | 0 .../agg_filters/agg_type_field_filters.ts | 0 .../public/agg_filters/agg_type_filters.ts | 0 .../public/agg_filters/index.ts | 0 .../__snapshots__/agg.test.tsx.snap | 0 .../__snapshots__/agg_group.test.tsx.snap | 0 .../public/components/agg.test.tsx | 0 .../public/components/agg.tsx | 0 .../public/components/agg_add.tsx | 0 .../public/components/agg_common_props.ts | 0 .../public/components/agg_group.test.tsx | 0 .../public/components/agg_group.tsx | 0 .../components/agg_group_helper.test.ts | 0 .../public/components/agg_group_helper.tsx | 0 .../public/components/agg_group_state.tsx | 0 .../public/components/agg_param.tsx | 0 .../public/components/agg_param_props.ts | 0 .../public/components/agg_params.test.tsx | 0 .../public/components/agg_params.tsx | 0 .../components/agg_params_helper.test.ts | 0 .../public/components/agg_params_helper.ts | 0 .../public/components/agg_params_map.ts | 0 .../public/components/agg_params_state.ts | 0 .../public/components/agg_select.tsx | 0 .../extended_bounds.test.tsx.snap | 0 .../__snapshots__/metric_agg.test.tsx.snap | 0 .../controls/__snapshots__/size.test.tsx.snap | 0 .../__snapshots__/time_interval.test.tsx.snap | 0 .../__snapshots__/top_aggregate.test.tsx.snap | 0 .../components/controls/agg_control_props.tsx | 0 .../components/controls/agg_utils.test.tsx | 0 .../controls/components/from_to_list.tsx | 0 .../controls/components/input_list.tsx | 0 .../controls/components/mask_list.tsx | 0 .../__snapshots__/number_list.test.tsx.snap | 0 .../__snapshots__/number_row.test.tsx.snap | 0 .../controls/components/number_list/index.ts | 0 .../number_list/number_list.test.tsx | 0 .../components/number_list/number_list.tsx | 0 .../number_list/number_row.test.tsx | 0 .../components/number_list/number_row.tsx | 0 .../components/number_list/range.test.ts | 0 .../controls/components/number_list/range.ts | 0 .../components/number_list/utils.test.ts | 0 .../controls/components/number_list/utils.ts | 0 .../components/simple_number_list.tsx | 0 .../components/controls/date_ranges.test.tsx | 0 .../components/controls/date_ranges.tsx | 0 .../components/controls/drop_partials.tsx | 0 .../controls/extended_bounds.test.tsx | 0 .../components/controls/extended_bounds.tsx | 0 .../public/components/controls/field.test.tsx | 0 .../public/components/controls/field.tsx | 0 .../public/components/controls/filter.tsx | 0 .../public/components/controls/filters.tsx | 0 .../controls/has_extended_bounds.tsx | 0 .../components/controls/include_exclude.tsx | 0 .../public/components/controls/index.ts | 0 .../public/components/controls/ip_prefix.tsx | 0 .../components/controls/ip_range_type.tsx | 0 .../public/components/controls/ip_ranges.tsx | 0 .../public/components/controls/max_bars.tsx | 0 .../components/controls/metric_agg.test.tsx | 0 .../public/components/controls/metric_agg.tsx | 0 .../components/controls/min_doc_count.tsx | 0 .../components/controls/missing_bucket.tsx | 0 .../components/controls/number_interval.tsx | 0 .../public/components/controls/order.tsx | 0 .../components/controls/order_agg.test.tsx | 0 .../public/components/controls/order_agg.tsx | 0 .../public/components/controls/order_by.tsx | 0 .../components/controls/other_bucket.tsx | 0 .../controls/palette_picker.test.tsx | 0 .../components/controls/palette_picker.tsx | 0 .../components/controls/percentile_ranks.tsx | 0 .../components/controls/percentiles.test.tsx | 0 .../components/controls/percentiles.tsx | 0 .../controls/radius_ratio_option.tsx | 0 .../components/controls/range_control.tsx | 0 .../public/components/controls/ranges.tsx | 0 .../public/components/controls/raw_json.tsx | 0 .../components/controls/rows_or_columns.tsx | 0 .../components/controls/scale_metrics.tsx | 0 .../public/components/controls/size.test.tsx | 0 .../public/components/controls/size.tsx | 0 .../public/components/controls/string.tsx | 0 .../public/components/controls/sub_agg.tsx | 0 .../public/components/controls/sub_metric.tsx | 0 .../public/components/controls/switch.tsx | 0 .../public/components/controls/test_utils.ts | 0 .../controls/time_interval.test.tsx | 0 .../components/controls/time_interval.tsx | 0 .../controls/top_aggregate.test.tsx | 0 .../components/controls/top_aggregate.tsx | 0 .../public/components/controls/top_field.tsx | 0 .../public/components/controls/top_size.tsx | 0 .../components/controls/top_sort_field.tsx | 0 .../components/controls/utils/agg_utils.ts | 0 .../public/components/controls/utils/index.ts | 0 .../controls/utils/inline_comp_wrapper.tsx | 0 .../strings/comma_separated_list.test.ts | 0 .../utils/strings/comma_separated_list.ts | 0 .../controls/utils/strings/index.ts | 0 .../controls/utils/strings/prose.test.ts | 0 .../controls/utils/strings/prose.ts | 0 .../components/controls/utils/use_handlers.ts | 0 .../components/options/basic_options.tsx | 0 .../components/options/color_ranges.tsx | 0 .../components/options/color_schema.tsx | 0 .../public/components/options/index.ts | 0 .../options/legend_size_settings.test.tsx | 0 .../options/legend_size_settings.tsx | 0 .../options/long_legend_options.test.tsx | 0 .../options/long_legend_options.tsx | 0 .../components/options/number_input.tsx | 0 .../options/percentage_mode.test.tsx | 0 .../components/options/percentage_mode.tsx | 0 .../public/components/options/range.tsx | 0 .../options/required_number_input.tsx | 0 .../public/components/options/select.tsx | 0 .../public/components/options/switch.tsx | 0 .../public/components/options/text_input.tsx | 0 .../public/components/sidebar/controls.tsx | 0 .../public/components/sidebar/data_tab.tsx | 0 .../public/components/sidebar/index.ts | 0 .../public/components/sidebar/navbar.tsx | 0 .../public/components/sidebar/sidebar.tsx | 0 .../components/sidebar/sidebar_title.tsx | 0 .../components/sidebar/state/actions.ts | 0 .../components/sidebar/state/constants.ts | 0 .../sidebar/state/editor_form_state.ts | 0 .../public/components/sidebar/state/index.ts | 0 .../components/sidebar/state/reducers.ts | 0 .../components/sidebar/use_option_tabs.ts | 0 .../public/components/utils/editor_config.ts | 0 .../public/components/utils/index.ts | 0 .../public/default_editor.tsx | 0 .../public/default_editor_controller.tsx | 0 .../vis_default_editor/public/editor_size.ts | 0 .../vis_default_editor/public/index.scss | 0 .../vis_default_editor/public/index.ts | 0 .../vis_default_editor/public/plugin.ts | 0 .../vis_default_editor/public/schemas.ts | 0 .../vis_default_editor/public/services.ts | 0 .../vis_default_editor/public/types.ts | 0 .../vis_default_editor/public/utils.test.ts | 0 .../vis_default_editor/public/utils.ts | 0 .../private}/vis_default_editor/tsconfig.json | 2 +- .../private}/vis_types/gauge/common/index.ts | 0 .../private/vis_types/gauge}/jest.config.js | 8 +- .../private}/vis_types/gauge/kibana.jsonc | 0 .../public/__snapshots__/to_ast.test.ts.snap | 0 .../configurations/gauge.test.ts | 0 .../convert_to_lens/configurations/gauge.ts | 0 .../configurations/goal.test.ts | 0 .../convert_to_lens/configurations/goal.ts | 0 .../public/convert_to_lens/gauge.test.ts | 0 .../gauge/public/convert_to_lens/gauge.ts | 0 .../gauge/public/convert_to_lens/goal.test.ts | 0 .../gauge/public/convert_to_lens/goal.ts | 0 .../gauge/public/convert_to_lens/index.ts | 0 .../gauge/public/convert_to_lens/types.ts | 0 .../gauge/public/editor/collections.ts | 0 .../public/editor/components/gauge/index.tsx | 0 .../editor/components/gauge/labels_panel.tsx | 0 .../editor/components/gauge/ranges_panel.tsx | 0 .../editor/components/gauge/style_panel.tsx | 0 .../gauge/public/editor/components/index.tsx | 0 .../vis_types/gauge/public/editor/index.ts | 0 .../private}/vis_types/gauge/public/index.ts | 0 .../private}/vis_types/gauge/public/plugin.ts | 0 .../vis_types/gauge/public/services.ts | 0 .../vis_types/gauge/public/to_ast.test.ts | 0 .../private}/vis_types/gauge/public/to_ast.ts | 0 .../private}/vis_types/gauge/public/types.ts | 0 .../vis_types/gauge/public/vis_type/gauge.tsx | 0 .../vis_types/gauge/public/vis_type/goal.tsx | 0 .../vis_types/gauge/public/vis_type/index.ts | 0 .../gauge/public/vis_type/split_tooltip.tsx | 0 .../private}/vis_types/gauge/server/config.ts | 0 .../private}/vis_types/gauge/server/index.ts | 0 .../private}/vis_types/gauge/server/plugin.ts | 0 .../private}/vis_types/gauge/tsconfig.json | 2 +- .../vis_types/heatmap/common/index.ts | 0 .../private/vis_types/heatmap}/jest.config.js | 8 +- .../private}/vis_types/heatmap/kibana.jsonc | 0 .../public/__snapshots__/to_ast.test.ts.snap | 0 .../configurations/index.test.ts | 0 .../convert_to_lens/configurations/index.ts | 0 .../convert_to_lens/configurations/palette.ts | 0 .../public/convert_to_lens/index.test.ts | 0 .../heatmap/public/convert_to_lens/index.ts | 0 .../heatmap/public/convert_to_lens/types.ts | 0 .../heatmap/public/editor/collections.ts | 0 .../public/editor/components/heatmap.test.tsx | 0 .../public/editor/components/heatmap.tsx | 0 .../public/editor/components/index.tsx | 0 .../public/editor/components/labels_panel.tsx | 0 .../vis_types/heatmap/public/index.ts | 0 .../vis_types/heatmap/public/plugin.ts | 0 .../heatmap/public/sample_vis.test.mocks.ts | 0 .../vis_types/heatmap/public/services.ts | 0 .../vis_types/heatmap/public/to_ast.test.ts | 0 .../vis_types/heatmap/public/to_ast.ts | 0 .../vis_types/heatmap/public/types.ts | 0 .../heatmap/public/utils/palette.test.ts | 0 .../vis_types/heatmap/public/utils/palette.ts | 0 .../heatmap/public/vis_type/heatmap.ts | 0 .../heatmap/public/vis_type/index.ts | 0 .../vis_types/heatmap/server/config.ts | 0 .../vis_types/heatmap/server/index.ts | 0 .../vis_types/heatmap/server/plugin.ts | 0 .../private}/vis_types/heatmap/tsconfig.json | 2 +- .../private/vis_types/metric/jest.config.js | 20 ++ .../private}/vis_types/metric/kibana.jsonc | 0 .../public/__snapshots__/to_ast.test.ts.snap | 0 .../metric/public/components/index.ts | 0 .../public/components/metric_vis_options.tsx | 0 .../configurations/index.test.ts | 0 .../convert_to_lens/configurations/index.ts | 0 .../public/convert_to_lens/index.test.ts | 0 .../metric/public/convert_to_lens/index.ts | 0 .../metric/public/convert_to_lens/types.ts | 0 .../private}/vis_types/metric/public/index.ts | 0 .../metric/public/metric_vis_type.ts | 0 .../vis_types/metric/public/plugin.ts | 0 .../vis_types/metric/public/services.ts | 0 .../vis_types/metric/public/to_ast.test.ts | 0 .../vis_types/metric/public/to_ast.ts | 0 .../private}/vis_types/metric/public/types.ts | 0 .../vis_types/metric/server/config.ts | 0 .../private}/vis_types/metric/server/index.ts | 0 .../private}/vis_types/metric/tsconfig.json | 2 +- .../private}/vis_types/pie/common/index.ts | 0 .../private/vis_types/pie/jest.config.js | 20 ++ .../private}/vis_types/pie/kibana.jsonc | 0 .../public/__snapshots__/to_ast.test.ts.snap | 0 .../configurations/index.test.ts | 0 .../convert_to_lens/configurations/index.ts | 0 .../pie/public/convert_to_lens/index.test.ts | 0 .../pie/public/convert_to_lens/index.ts | 0 .../pie/public/convert_to_lens/types.ts | 0 .../pie/public/editor/collections.ts | 0 .../pie/public/editor/components/index.tsx | 0 .../pie/public/editor/components/pie.test.tsx | 0 .../pie/public/editor/components/pie.tsx | 0 .../components/truncate_labels.test.tsx | 0 .../editor/components/truncate_labels.tsx | 0 .../vis_types/pie/public/editor/positions.ts | 0 .../private}/vis_types/pie/public/index.ts | 0 .../private}/vis_types/pie/public/plugin.ts | 0 .../pie/public/sample_vis.test.mocks.ts | 0 .../private}/vis_types/pie/public/services.ts | 0 .../vis_types/pie/public/to_ast.test.ts | 0 .../private}/vis_types/pie/public/to_ast.ts | 0 .../vis_types/pie/public/types}/index.ts | 0 .../vis_types/pie/public/types/types.ts | 0 .../vis_types/pie/public/vis_type/index.ts | 0 .../vis_types/pie/public/vis_type/pie.ts | 0 .../private}/vis_types/pie/server/config.ts | 0 .../private}/vis_types/pie/server/index.ts | 0 .../private}/vis_types/pie/server/plugin.ts | 0 .../private}/vis_types/pie/tsconfig.json | 2 +- .../private}/vis_types/table/README.md | 0 .../private}/vis_types/table/common/index.ts | 0 .../private}/vis_types/table/common/types.ts | 0 .../private/vis_types/table/jest.config.js | 20 ++ .../private}/vis_types/table/kibana.jsonc | 0 .../__snapshots__/table_vis_fn.test.ts.snap | 0 .../table_vis_basic.test.tsx.snap | 0 .../table_vis_cell.test.tsx.snap | 0 .../table/public/components/index.ts | 0 .../components/table_vis_basic.test.tsx | 0 .../public/components/table_vis_basic.tsx | 0 .../public/components/table_vis_cell.test.tsx | 0 .../public/components/table_vis_cell.tsx | 0 .../public/components/table_vis_columns.tsx | 0 .../public/components/table_vis_controls.tsx | 0 .../public/components/table_vis_options.tsx | 0 .../components/table_vis_options_lazy.tsx | 0 .../public/components/table_vis_split.tsx | 0 .../components/table_visualization.scss | 0 .../components/table_visualization.test.tsx | 0 .../public/components/table_visualization.tsx | 0 .../table/public/components/utils.test.ts | 0 .../table/public/components/utils.ts | 0 .../configurations/index.test.ts | 0 .../convert_to_lens/configurations/index.ts | 0 .../public/convert_to_lens/index.test.ts | 0 .../table/public/convert_to_lens/index.ts | 0 .../table/public/convert_to_lens/types.ts | 0 .../private}/vis_types/table/public/index.ts | 0 .../private}/vis_types/table/public/plugin.ts | 0 .../vis_types/table/public/register_vis.ts | 0 .../vis_types/table/public/services.ts | 0 .../table/public/table_vis_fn.test.ts | 0 .../vis_types/table/public/table_vis_fn.ts | 0 .../table/public/table_vis_renderer.tsx | 0 .../vis_types/table/public/table_vis_type.ts | 0 .../vis_types/table/public/to_ast.test.ts | 0 .../private}/vis_types/table/public/to_ast.ts | 0 .../private}/vis_types/table/public/types.ts | 0 .../utils/add_percentage_column.test.ts | 0 .../public/utils/add_percentage_column.ts | 0 .../utils/create_formatted_table.test.ts | 0 .../public/utils/create_formatted_table.ts | 0 .../vis_types/table/public/utils/index.ts | 0 .../utils/table_vis_response_handler.test.ts | 0 .../utils/table_vis_response_handler.ts | 0 .../vis_types/table/public/utils/use/index.ts | 0 .../public/utils/use/use_pagination.test.ts | 0 .../table/public/utils/use/use_pagination.ts | 0 .../public/utils/use/use_ui_state.test.ts | 0 .../table/public/utils/use/use_ui_state.ts | 0 .../private}/vis_types/table/server/config.ts | 0 .../private}/vis_types/table/server/index.ts | 0 .../private}/vis_types/table/tsconfig.json | 2 +- .../private/vis_types/tagcloud/jest.config.js | 20 ++ .../private}/vis_types/tagcloud/kibana.jsonc | 0 .../public/__snapshots__/to_ast.test.ts.snap | 0 .../tagcloud/public/components/collections.ts | 0 .../components/get_tag_cloud_options.tsx | 0 .../public/components/tag_cloud_options.tsx | 0 .../public/convert_to_lens/index.test.ts | 0 .../tagcloud/public/convert_to_lens/index.ts | 0 .../vis_types/tagcloud/public/index.ts | 0 .../vis_types/tagcloud/public/plugin.ts | 0 .../vis_types/tagcloud/public/services.ts | 0 .../tagcloud/public/tag_cloud_type.ts | 0 .../vis_types/tagcloud/public/to_ast.test.ts | 0 .../vis_types/tagcloud/public/to_ast.ts | 0 .../vis_types/tagcloud/public/types.ts | 0 .../vis_types/tagcloud/server/config.ts | 0 .../vis_types/tagcloud/server/index.ts | 0 .../private}/vis_types/tagcloud/tsconfig.json | 2 +- .../private}/vis_types/timelion/README.md | 0 .../vis_types/timelion/common/constants.ts | 0 .../common/lib/calculate_interval.test.ts | 0 .../timelion/common/lib/calculate_interval.ts | 0 .../vis_types/timelion/common/lib/index.ts | 0 .../timelion/common/lib/to_milliseconds.ts | 0 .../vis_types/timelion/common/parser.ts | 0 .../vis_types/timelion/common/parser_async.ts | 0 .../vis_types/timelion/common/types.ts | 0 .../vis_types/timelion/common/vis_data.ts | 0 .../vis_types/timelion}/jest.config.js | 8 +- .../private}/vis_types/timelion/kibana.jsonc | 0 .../public/__snapshots__/to_ast.test.ts.snap | 0 .../timelion/public/async_services.ts | 0 .../timelion/public/components/index.ts | 0 .../public/components/series/area.tsx | 0 .../timelion/public/components/series/bar.tsx | 0 .../public/components/series/index.ts | 0 .../components/timelion_expression_input.tsx | 0 .../timelion_expression_input_helpers.test.ts | 0 .../timelion_expression_input_helpers.ts | 0 .../public/components/timelion_interval.tsx | 0 .../public/components/timelion_vis.scss | 0 .../components/timelion_vis_component.tsx | 0 .../public/helpers/arg_value_suggestions.ts | 0 .../public/helpers/chart_constants.ts | 0 .../timelion/public/helpers/panel_utils.ts | 0 .../public/helpers/plugin_services.ts | 0 .../public/helpers/tick_formatters.test.ts | 0 .../public/helpers/tick_formatters.ts | 0 .../public/helpers/tick_generator.test.ts | 0 .../timelion/public/helpers/tick_generator.ts | 0 .../helpers/timelion_request_handler.ts | 0 .../public/helpers/xaxis_formatter.ts | 0 .../vis_types/timelion/public/index.ts | 0 .../vis_types/timelion/public/plugin.ts | 0 .../timelion/public/timelion_options.scss | 0 .../timelion/public/timelion_options.tsx | 0 .../timelion/public/timelion_vis_fn.ts | 0 .../timelion/public/timelion_vis_renderer.tsx | 0 .../timelion/public/timelion_vis_type.tsx | 0 .../vis_types/timelion/public/to_ast.test.ts | 0 .../vis_types/timelion/public/to_ast.ts | 0 .../vis_types/timelion/server/config.ts | 0 .../timelion/server/fit_functions/average.js | 0 .../server/fit_functions/average.test.js | 0 .../timelion/server/fit_functions/carry.js | 0 .../server/fit_functions/carry.test.js | 0 .../timelion/server/fit_functions/nearest.js | 0 .../timelion/server/fit_functions/none.js | 0 .../timelion/server/fit_functions/scale.js | 0 .../timelion/server/handlers/chain_runner.js | 0 .../timelion/server/handlers/lib/arg_type.js | 0 .../server/handlers/lib/index_arguments.js | 0 .../server/handlers/lib/parse_sheet.js | 0 .../server/handlers/lib/parse_sheet.test.js | 0 .../server/handlers/lib/preprocess_chain.js | 0 .../handlers/lib/reposition_arguments.js | 0 .../timelion/server/handlers/lib/tl_config.js | 0 .../server/handlers/lib/validate_arg.js | 0 .../server/handlers/lib/validate_time.js | 0 .../vis_types/timelion/server/index.ts | 0 .../vis_types/timelion/server/lib/alter.js | 0 .../timelion/server/lib/as_sorted.js | 0 .../timelion/server/lib/build_target.js | 0 .../timelion/server/lib/classes/chainable.js | 0 .../timelion/server/lib/classes/datasource.js | 0 .../server/lib/classes/timelion_function.d.ts | 0 .../server/lib/classes/timelion_function.js | 0 .../timelion/server/lib/config_manager.ts | 0 .../timelion/server/lib/functions_md.js | 0 .../server/lib/get_namespaced_settings.js | 0 .../timelion/server/lib/load_functions.d.ts | 0 .../timelion/server/lib/load_functions.js | 0 .../server/lib/load_functions.test.js | 0 .../timelion/server/lib/offset_time.js | 0 .../timelion/server/lib/offset_time.test.js | 0 .../server/lib/process_function_definition.js | 0 .../vis_types/timelion/server/lib/reduce.js | 0 .../timelion/server/lib/split_interval.js | 0 .../timelion/server/lib/unzip_pairs.js | 0 .../vis_types/timelion/server/plugin.ts | 0 .../timelion/server/routes/functions.ts | 0 .../vis_types/timelion/server/routes/run.ts | 0 .../timelion/server/series_functions/abs.js | 0 .../server/series_functions/abs.test.js | 0 .../aggregate/aggregate.test.js | 0 .../server/series_functions/aggregate/avg.js | 0 .../series_functions/aggregate/cardinality.js | 0 .../series_functions/aggregate/first.js | 0 .../series_functions/aggregate/index.js | 0 .../server/series_functions/aggregate/last.js | 0 .../server/series_functions/aggregate/max.js | 0 .../server/series_functions/aggregate/min.js | 0 .../server/series_functions/aggregate/sum.js | 0 .../timelion/server/series_functions/bars.js | 0 .../server/series_functions/bars.test.js | 0 .../timelion/server/series_functions/color.js | 0 .../server/series_functions/color.test.js | 0 .../server/series_functions/condition.js | 0 .../server/series_functions/condition.test.js | 0 .../timelion/server/series_functions/cusum.js | 0 .../server/series_functions/cusum.test.js | 0 .../server/series_functions/derivative.js | 0 .../series_functions/derivative.test.js | 0 .../server/series_functions/divide.js | 0 .../server/series_functions/divide.test.js | 0 .../server/series_functions/es/es.test.js | 0 .../server/series_functions/es/index.js | 0 .../series_functions/es/lib/agg_body.js | 0 .../es/lib/agg_response_to_series_list.js | 0 .../series_functions/es/lib/build_request.js | 0 .../es/lib/create_date_agg.js | 0 .../timelion/server/series_functions/first.js | 0 .../server/series_functions/first.test.js | 0 .../timelion/server/series_functions/fit.js | 0 .../server/series_functions/fit.test.js | 0 .../series_functions/fixtures/bucket_list.js | 0 .../series_functions/fixtures/es_response.js | 0 .../series_functions/fixtures/series_list.js | 0 .../series_functions/fixtures/tl_config.js | 0 .../timelion/server/series_functions/hide.js | 0 .../server/series_functions/hide.test.js | 0 .../server/series_functions/holt/index.js | 0 .../server/series_functions/holt/lib/des.js | 0 .../server/series_functions/holt/lib/ses.js | 0 .../server/series_functions/holt/lib/tes.js | 0 .../timelion/server/series_functions/label.js | 0 .../server/series_functions/label.test.js | 0 .../server/series_functions/legend.js | 0 .../server/series_functions/legend.test.js | 0 .../timelion/server/series_functions/lines.js | 0 .../server/series_functions/lines.test.js | 0 .../timelion/server/series_functions/log.js | 0 .../server/series_functions/log.test.js | 0 .../timelion/server/series_functions/max.js | 0 .../server/series_functions/max.test.js | 0 .../timelion/server/series_functions/min.js | 0 .../server/series_functions/min.test.js | 0 .../server/series_functions/movingaverage.js | 0 .../series_functions/movingaverage.test.js | 0 .../server/series_functions/movingstd.js | 0 .../server/series_functions/movingstd.test.js | 0 .../server/series_functions/multiply.js | 0 .../server/series_functions/multiply.test.js | 0 .../server/series_functions/points.js | 0 .../server/series_functions/points.test.js | 0 .../server/series_functions/precision.js | 0 .../server/series_functions/precision.test.js | 0 .../timelion/server/series_functions/props.js | 0 .../timelion/server/series_functions/range.js | 0 .../server/series_functions/range.test.js | 0 .../server/series_functions/scale_interval.js | 0 .../series_functions/scale_interval.test.js | 0 .../server/series_functions/static.js | 0 .../server/series_functions/static.test.js | 0 .../server/series_functions/subtract.js | 0 .../server/series_functions/subtract.test.js | 0 .../timelion/server/series_functions/sum.js | 0 .../server/series_functions/sum.test.js | 0 .../test_helpers/get_series.js | 0 .../test_helpers/get_series_list.js | 0 .../test_helpers/get_single_series_list.js | 0 .../test_helpers/invoke_series_fn.js | 0 .../timelion/server/series_functions/title.js | 0 .../server/series_functions/title.test.js | 0 .../server/series_functions/trend/index.js | 0 .../series_functions/trend/lib/regress.js | 0 .../timelion/server/series_functions/trim.js | 0 .../server/series_functions/trim.test.js | 0 .../server/series_functions/worldbank.js | 0 .../series_functions/worldbank_indicators.js | 0 .../timelion/server/series_functions/yaxis.js | 0 .../server/series_functions/yaxis.test.js | 0 .../vis_types/timelion/server/timelion.json | 0 .../vis_types/timelion/server/types.ts | 0 .../vis_types/timelion/server/ui_settings.ts | 0 .../private}/vis_types/timelion/tsconfig.json | 2 +- .../private/vis_types/vega/jest.config.js | 20 ++ .../private}/vis_types/vega/kibana.jsonc | 0 .../vega_visualization.test.tsx.snap | 0 .../vis_types/vega/public/async_services.ts | 0 .../deprecated_interval_info.test.tsx | 0 .../components/deprecated_interval_info.tsx | 0 .../components/experimental_map_vis_info.tsx | 0 .../public/components/vega_actions_menu.tsx | 0 .../vega/public/components/vega_editor.scss | 0 .../vega/public/components/vega_help_menu.tsx | 0 .../public/components/vega_info_message.tsx | 0 .../vega/public/components/vega_vis.scss | 0 .../public/components/vega_vis.styles.tsx | 0 .../public/components/vega_vis_component.tsx | 0 .../public/components/vega_vis_editor.tsx | 0 .../components/vega_vis_editor_lazy.tsx | 0 .../vega/public/data_model/ems_file_parser.ts | 0 .../public/data_model/es_query_parser.test.js | 0 .../vega/public/data_model/es_query_parser.ts | 0 .../vega/public/data_model/search_api.test.ts | 0 .../vega/public/data_model/search_api.ts | 0 .../vega/public/data_model/time_cache.test.js | 0 .../vega/public/data_model/time_cache.ts | 0 .../vis_types/vega/public/data_model/types.ts | 0 .../vega/public/data_model/url_parser.ts | 0 .../vis_types/vega/public/data_model/utils.ts | 0 .../public/data_model/vega_parser.test.js | 0 .../vega/public/data_model/vega_parser.ts | 0 .../vis_types/vega/public/default.spec.hjson | 0 .../vis_types/vega/public/default_spec.ts | 0 .../private}/vis_types/vega/public/index.ts | 0 .../public/lib/extract_index_pattern.test.ts | 0 .../vega/public/lib/extract_index_pattern.ts | 0 .../public/lib/vega_state_restorer.test.ts | 0 .../vega/public/lib/vega_state_restorer.ts | 0 .../private}/vis_types/vega/public/plugin.ts | 0 .../vis_types/vega/public/services.ts | 0 .../vega/public/test_utils/default.spec.json | 0 .../vega/public/test_utils/vega_graph.json | 0 .../vega/public/test_utils/vega_map_test.json | 0 .../public/test_utils/vegalite_graph.json | 0 .../private}/vis_types/vega/public/to_ast.ts | 0 .../private}/vis_types/vega/public/vega_fn.ts | 0 .../vega_inspector/components/data_viewer.tsx | 0 .../public/vega_inspector/components/index.ts | 0 .../components/inspector_data_grid.tsx | 0 .../components/signal_viewer.tsx | 0 .../vega_inspector/components/spec_viewer.tsx | 0 .../vega/public/vega_inspector/index.ts | 0 .../public/vega_inspector/vega_adapter.ts | 0 .../vega_inspector/vega_data_inspector.scss | 0 .../vega_inspector/vega_data_inspector.tsx | 0 .../public/vega_inspector/vega_inspector.tsx | 0 .../vega/public/vega_request_handler.ts | 0 .../vis_types/vega/public/vega_type.ts | 0 .../vega/public/vega_view/utils.test.ts | 0 .../vis_types/vega/public/vega_view/utils.ts | 0 .../vega/public/vega_view/vega_base_view.d.ts | 0 .../vega/public/vega_view/vega_base_view.js | 0 .../public/vega_view/vega_base_view.styles.ts | 0 .../vega_view/vega_map_view/constants.ts | 0 .../vega_view/vega_map_view/layers/index.ts | 0 .../layers/tms_raster_layer.test.ts | 0 .../vega_map_view/layers/tms_raster_layer.ts | 0 .../vega_view/vega_map_view/layers/types.ts | 0 .../vega_map_view/layers/vega_layer.test.ts | 0 .../vega_map_view/layers/vega_layer.ts | 0 .../service_settings/get_service_settings.ts | 0 .../get_service_settings_lazy.ts | 0 .../service_settings/service_settings.test.js | 0 .../service_settings/service_settings.ts | 0 .../service_settings_types.ts | 0 .../vega_view/vega_map_view/utils/index.ts | 0 .../utils/validation_helper.test.ts | 0 .../vega_map_view/utils/validation_helper.ts | 0 .../vega_map_view/utils/vsi_helper.test.ts | 0 .../vega_map_view/utils/vsi_helper.ts | 0 .../vega_map_view/vega_map_view.scss | 0 .../vega_view/vega_map_view/view.test.ts | 0 .../public/vega_view/vega_map_view/view.ts | 0 .../vega/public/vega_view/vega_tooltip.js | 0 .../public/vega_view/vega_tooltip.styles.ts | 0 .../vega/public/vega_view/vega_view.d.ts | 0 .../vega/public/vega_view/vega_view.js | 0 .../vega/public/vega_vis_renderer.tsx | 0 .../vega/public/vega_visualization.test.tsx | 0 .../vega/public/vega_visualization.ts | 0 .../private}/vis_types/vega/server/config.ts | 0 .../private}/vis_types/vega/server/index.ts | 0 .../private}/vis_types/vega/server/plugin.ts | 0 .../private}/vis_types/vega/server/types.ts | 0 .../private}/vis_types/vega/tsconfig.json | 2 +- .../private}/vis_types/vislib/common/index.ts | 0 .../private/vis_types/vislib/jest.config.js | 20 ++ .../private}/vis_types/vislib/kibana.jsonc | 0 .../public/__snapshots__/to_ast.test.ts.snap | 0 .../fixtures/dispatch_heatmap_config.json | 0 .../public/fixtures/dispatch_heatmap_d3.json | 0 .../fixtures/dispatch_heatmap_data_point.json | 0 .../mock_data/date_histogram/_columns.js | 0 .../mock_data/date_histogram/_rows.js | 0 .../date_histogram/_rows_series_with_holes.js | 0 .../mock_data/date_histogram/_series.js | 0 .../_series_monthly_interval.js | 0 .../mock_data/date_histogram/_series_neg.js | 0 .../date_histogram/_series_pos_neg.js | 0 .../date_histogram/_stacked_series.js | 0 .../fixtures/mock_data/filters/_columns.js | 0 .../fixtures/mock_data/filters/_rows.js | 0 .../fixtures/mock_data/filters/_series.js | 0 .../fixtures/mock_data/histogram/_columns.js | 0 .../fixtures/mock_data/histogram/_rows.js | 0 .../fixtures/mock_data/histogram/_series.js | 0 .../fixtures/mock_data/histogram/_slices.js | 0 .../mock_data/not_enough_data/_one_point.js | 0 .../fixtures/mock_data/range/_columns.js | 0 .../public/fixtures/mock_data/range/_rows.js | 0 .../fixtures/mock_data/range/_series.js | 0 .../mock_data/significant_terms/_columns.js | 0 .../mock_data/significant_terms/_rows.js | 0 .../mock_data/significant_terms/_series.js | 0 .../fixtures/mock_data/stacked/_stacked.js | 0 .../fixtures/mock_data/terms/_columns.js | 0 .../public/fixtures/mock_data/terms/_rows.js | 0 .../fixtures/mock_data/terms/_series.js | 0 .../mock_data/terms/_series_multiple.js | 0 .../vis_types/vislib/public/fixtures/mocks.js | 0 .../private}/vis_types/vislib/public/gauge.ts | 0 .../private}/vis_types/vislib/public/goal.ts | 0 .../vis_types/vislib/public/heatmap.ts | 0 .../vis_types/vislib/public/index.scss | 0 .../private}/vis_types/vislib/public/index.ts | 0 .../vis_types/vislib/public/plugin.ts | 0 .../vis_types/vislib/public/services.ts | 0 .../vis_types/vislib/public/to_ast.test.ts | 0 .../vis_types/vislib/public/to_ast.ts | 0 .../private}/vis_types/vislib/public/types.ts | 0 .../vislib/public/vis_controller.tsx | 0 .../vis_types/vislib/public/vis_renderer.tsx | 0 .../vislib/public/vis_type_vislib_vis_fn.ts | 0 .../vis_types/vislib/public/vis_wrapper.tsx | 0 .../vis_types/vislib/public/vislib/VISLIB.md | 0 .../vislib/public/vislib/_index.scss | 0 .../vislib/public/vislib/_variables.scss | 0 .../public/vislib/_vislib_vis_type.scss | 0 .../vislib/components/labels/data_array.js | 0 .../components/labels/flatten_series.js | 0 .../public/vislib/components/labels/index.js | 0 .../public/vislib/components/labels/labels.js | 0 .../vislib/components/labels/labels.test.js | 0 .../components/labels/truncate_labels.js | 0 .../vislib/components/labels/uniq_labels.js | 0 .../legend/__snapshots__/legend.test.tsx.snap | 0 .../vislib/components/legend/_index.scss | 0 .../vislib/components/legend/_legend.scss | 0 .../public/vislib/components/legend/index.ts | 0 .../vislib/components/legend/legend.test.tsx | 0 .../vislib/components/legend/legend.tsx | 0 .../vislib/components/legend/legend_item.tsx | 0 .../public/vislib/components/legend/models.ts | 0 .../components/tooltip/_collect_branch.js | 0 .../tooltip/_collect_branch.test.js | 0 .../vislib/components/tooltip/_index.scss | 0 .../tooltip/_pointseries_tooltip_formatter.js | 0 .../_pointseries_tooltip_formatter.test.js | 0 .../vislib/components/tooltip/_tooltip.scss | 0 .../public/vislib/components/tooltip/index.js | 0 .../components/tooltip/position_tooltip.js | 0 .../tooltip/position_tooltip.test.js | 0 .../vislib/components/tooltip/tooltip.js | 0 .../components/zero_injection/flatten_data.js | 0 .../components/zero_injection/inject_zeros.js | 0 .../zero_injection/ordered_x_keys.js | 0 .../components/zero_injection/uniq_keys.js | 0 .../zero_injection/zero_fill_data_array.js | 0 .../zero_injection/zero_filled_array.js | 0 .../zero_injection/zero_injection.test.js | 0 .../vis_types/vislib/public/vislib/errors.ts | 0 .../vislib/public/vislib/helpers/index.ts | 0 .../helpers/point_series/_add_to_siri.test.ts | 0 .../helpers/point_series/_add_to_siri.ts | 0 .../point_series/_fake_x_aspect.test.ts | 0 .../helpers/point_series/_fake_x_aspect.ts | 0 .../helpers/point_series/_get_aspects.test.ts | 0 .../helpers/point_series/_get_aspects.ts | 0 .../helpers/point_series/_get_point.test.ts | 0 .../vislib/helpers/point_series/_get_point.ts | 0 .../helpers/point_series/_get_series.test.ts | 0 .../helpers/point_series/_get_series.ts | 0 .../helpers/point_series/_init_x_axis.test.ts | 0 .../helpers/point_series/_init_x_axis.ts | 0 .../helpers/point_series/_init_y_axis.test.ts | 0 .../helpers/point_series/_init_y_axis.ts | 0 .../point_series/_ordered_date_axis.test.ts | 0 .../point_series/_ordered_date_axis.ts | 0 .../vislib/helpers/point_series/index.ts | 0 .../helpers/point_series/point_series.test.ts | 0 .../helpers/point_series/point_series.ts | 0 .../dispatch_heatmap.test.js.snap | 0 .../vislib/public/vislib/lib/_data_label.js | 0 .../public/vislib/lib/_error_handler.js | 0 .../public/vislib/lib/_error_handler.test.js | 0 .../vislib/public/vislib/lib/_index.scss | 0 .../vislib/public/vislib/lib/axis/axis.js | 0 .../public/vislib/lib/axis/axis.test.js | 0 .../public/vislib/lib/axis/axis_config.js | 0 .../public/vislib/lib/axis/axis_labels.js | 0 .../public/vislib/lib/axis/axis_scale.js | 0 .../public/vislib/lib/axis/axis_title.js | 0 .../public/vislib/lib/axis/axis_title.test.js | 0 .../vislib/public/vislib/lib/axis/index.js | 0 .../public/vislib/lib/axis/scale_modes.js | 0 .../public/vislib/lib/axis/time_ticks.js | 0 .../public/vislib/lib/axis/time_ticks.test.js | 0 .../public/vislib/lib/axis/x_axis.test.js | 0 .../public/vislib/lib/axis/y_axis.test.js | 0 .../vislib/public/vislib/lib/binder.ts | 0 .../vislib/public/vislib/lib/chart_grid.js | 0 .../vislib/public/vislib/lib/chart_title.js | 0 .../public/vislib/lib/chart_title.test.js | 0 .../vislib/public/vislib/lib/data.js | 0 .../vislib/public/vislib/lib/data.test.js | 0 .../vislib/public/vislib/lib/dispatch.js | 0 .../vislib/public/vislib/lib/dispatch.test.js | 0 .../vislib/lib/dispatch_heatmap.test.js | 0 .../vislib/public/vislib/lib/handler.js | 0 .../vislib/public/vislib/lib/handler.test.js | 0 .../public/vislib/lib/layout/_index.scss | 0 .../public/vislib/lib/layout/_layout.scss | 0 .../vislib/public/vislib/lib/layout/index.js | 0 .../vislib/public/vislib/lib/layout/layout.js | 0 .../public/vislib/lib/layout/layout.test.js | 0 .../public/vislib/lib/layout/layout_types.js | 0 .../vislib/lib/layout/layout_types.test.js | 0 .../layout/splits/column_chart/chart_split.js | 0 .../splits/column_chart/chart_title_split.js | 0 .../layout/splits/column_chart/splits.test.js | 0 .../splits/column_chart/x_axis_split.js | 0 .../splits/column_chart/y_axis_split.js | 0 .../layout/splits/gauge_chart/chart_split.js | 0 .../splits/gauge_chart/chart_title_split.js | 0 .../layout/splits/gauge_chart/splits.test.js | 0 .../layout/splits/pie_chart/chart_split.js | 0 .../splits/pie_chart/chart_title_split.js | 0 .../vislib/lib/layout/types/column_layout.js | 0 .../lib/layout/types/column_layout.test.js | 0 .../vislib/lib/layout/types/gauge_layout.js | 0 .../vislib/public/vislib/lib/types/gauge.js | 0 .../vislib/public/vislib/lib/types/index.js | 0 .../public/vislib/lib/types/point_series.js | 0 .../vislib/lib/types/point_series.test.js | 0 .../vislib/public/vislib/lib/vis_config.js | 0 .../public/vislib/lib/vis_config.test.js | 0 .../vislib/partials/touchdown_template.tsx | 0 .../vislib/percentage_mode_transform.ts | 0 .../vislib/public/vislib/response_handler.js | 0 .../public/vislib/response_handler.test.ts | 0 .../vis_types/vislib/public/vislib/types.ts | 0 .../vis_types/vislib/public/vislib/vis.js | 0 .../vislib/public/vislib/vis.test.js | 0 .../public/vislib/visualizations/_chart.js | 0 .../vislib/visualizations/_vis_fixture.js | 0 .../vislib/visualizations/chart.test.js | 0 .../vislib/visualizations/gauge_chart.js | 0 .../vislib/visualizations/gauge_chart.test.js | 0 .../vislib/visualizations/gauges/_index.scss | 0 .../vislib/visualizations/gauges/_meter.scss | 0 .../visualizations/gauges/gauge_types.js | 0 .../vislib/visualizations/gauges/meter.js | 0 .../vislib/visualizations/point_series.js | 0 .../point_series/_point_series.js | 0 .../point_series/_point_series.test.js | 0 .../point_series/heatmap_chart.js | 0 .../point_series/heatmap_chart.test.js | 0 .../vislib/visualizations/time_marker.d.ts | 0 .../vislib/visualizations/time_marker.js | 0 .../vislib/visualizations/time_marker.test.js | 0 .../public/vislib/visualizations/vis_types.js | 0 .../vislib/visualizations/vis_types.test.js | 0 .../vis_types/vislib/server/config.ts | 0 .../private}/vis_types/vislib/server/index.ts | 0 .../vis_types/vislib/server/plugin.ts | 0 .../vis_types/vislib/server/ui_settings.ts | 0 .../private}/vis_types/vislib/tsconfig.json | 2 +- .../private}/vis_types/xy/common/index.ts | 0 .../private/vis_types/xy/jest.config.js | 20 ++ .../private}/vis_types/xy/kibana.jsonc | 0 .../public/__snapshots__/to_ast.test.ts.snap | 0 .../configurations/index.test.ts | 0 .../convert_to_lens/configurations/index.ts | 0 .../xy/public/convert_to_lens/index.test.ts | 0 .../xy/public/convert_to_lens/index.ts | 0 .../xy/public/convert_to_lens/types.ts | 0 .../vis_types/xy/public/editor/collections.ts | 0 .../xy/public/editor/common_config.tsx | 0 .../public/editor/components/common/index.ts | 0 .../common/truncate_labels.test.tsx | 0 .../components/common/truncate_labels.tsx | 0 .../components/common/validation_wrapper.tsx | 0 .../xy/public/editor/components/index.ts | 0 .../editor/components/options/index.tsx | 0 .../category_axis_panel.test.tsx.snap | 0 .../__snapshots__/chart_options.test.tsx.snap | 0 .../custom_extents_options.test.tsx.snap | 0 .../__snapshots__/index.test.tsx.snap | 0 .../__snapshots__/label_options.test.tsx.snap | 0 .../__snapshots__/line_options.test.tsx.snap | 0 .../__snapshots__/point_options.test.tsx.snap | 0 .../value_axes_panel.test.tsx.snap | 0 .../value_axis_options.test.tsx.snap | 0 .../__snapshots__/y_extents.test.tsx.snap | 0 .../metrics_axes/category_axis_panel.test.tsx | 0 .../metrics_axes/category_axis_panel.tsx | 0 .../metrics_axes/chart_options.test.tsx | 0 .../options/metrics_axes/chart_options.tsx | 0 .../custom_extents_options.test.tsx | 0 .../metrics_axes/custom_extents_options.tsx | 0 .../options/metrics_axes/index.test.tsx | 0 .../components/options/metrics_axes/index.tsx | 0 .../metrics_axes/label_options.test.tsx | 0 .../options/metrics_axes/label_options.tsx | 0 .../metrics_axes/line_options.test.tsx | 0 .../options/metrics_axes/line_options.tsx | 0 .../components/options/metrics_axes/mocks.ts | 0 .../metrics_axes/point_options.test.tsx | 0 .../options/metrics_axes/point_options.tsx | 0 .../options/metrics_axes/series_panel.tsx | 0 .../components/options/metrics_axes/utils.ts | 0 .../metrics_axes/value_axes_panel.test.tsx | 0 .../options/metrics_axes/value_axes_panel.tsx | 0 .../metrics_axes/value_axis_options.test.tsx | 0 .../metrics_axes/value_axis_options.tsx | 0 .../options/metrics_axes/y_extents.test.tsx | 0 .../options/metrics_axes/y_extents.tsx | 0 .../point_series/elastic_charts_options.tsx | 0 .../options/point_series/grid_panel.tsx | 0 .../components/options/point_series/index.ts | 0 .../point_series/point_series.mocks.ts | 0 .../point_series/point_series.test.tsx | 0 .../options/point_series/point_series.tsx | 0 .../options/point_series/threshold_panel.tsx | 0 .../vis_types/xy/public/editor/index.ts | 0 .../vis_types/xy/public/editor/positions.ts | 0 .../vis_types/xy/public/editor/scale_types.ts | 0 .../private}/vis_types/xy/public/index.ts | 0 .../private}/vis_types/xy/public/mocks.ts | 0 .../private}/vis_types/xy/public/plugin.ts | 0 .../xy/public/sample_vis.test.mocks.ts | 0 .../private}/vis_types/xy/public/services.ts | 0 .../vis_types/xy/public/to_ast.test.ts | 0 .../private}/vis_types/xy/public/to_ast.ts | 0 .../vis_types/xy/public/types/constants.ts | 0 .../vis_types/xy/public/types/index.ts | 0 .../vis_types/xy/public/types/param.ts | 0 .../vis_types/xy/public/utils/accessors.tsx | 0 .../vis_types/xy/public/utils/common.ts | 0 .../xy/public/utils/get_series_params.ts | 0 .../vis_types/xy/public/vis_types/area.ts | 0 .../get_vis_type_from_params.test.ts | 0 .../vis_types/get_vis_type_from_params.ts | 0 .../xy/public/vis_types/histogram.ts | 0 .../xy/public/vis_types/horizontal_bar.ts | 0 .../vis_types/xy/public/vis_types/index.ts | 0 .../vis_types/xy/public/vis_types/line.ts | 0 .../private}/vis_types/xy/server/config.ts | 0 .../private}/vis_types/xy/server/index.ts | 0 .../private}/vis_types/xy/server/plugin.ts | 0 .../private}/vis_types/xy/tsconfig.json | 2 +- .../expression_gauge/common/constants.ts | 0 .../__snapshots__/gauge_function.test.ts.snap | 0 .../gauge_function.test.ts | 0 .../expression_functions/gauge_function.ts | 0 .../common/expression_functions/index.ts | 0 .../expression_gauge/common/index.ts | 0 .../common/types/expression_functions.ts | 0 .../common/types/expression_renderers.ts | 0 .../expression_gauge/common/types/index.ts | 0 .../expression_gauge/common/utils/index.ts | 0 .../expression_gauge/common/utils/shapes.ts | 0 .../expression_gauge/jest.config.js | 20 ++ .../expression_gauge/kibana.jsonc | 0 .../gauge_component.test.tsx.snap | 0 .../public/components/gauge.scss | 0 .../components/gauge_component.test.tsx | 0 .../public/components/gauge_component.tsx | 0 .../public/components/index.scss | 0 .../public/components/utils/accessors.test.ts | 0 .../public/components/utils/accessors.ts | 0 .../public/components/utils/gauge_types.ts | 0 .../public/components/utils/helpers.test.ts | 0 .../public/components/utils/helpers.ts | 0 .../public/components/utils/icons.ts | 0 .../public/components/utils/index.ts | 0 .../utils/use_gauge_size_by_type.ts | 0 .../expression_renderers/gauge_renderer.tsx | 0 .../public/expression_renderers/index.ts | 0 .../expression_gauge/public/index.ts | 0 .../expression_gauge/public/plugin.ts | 0 .../public/services/format_service.ts | 0 .../expression_gauge/public/services/index.ts | 0 .../public/services/palette_service.ts | 0 .../expression_gauge/server/index.ts | 0 .../expression_gauge/server/plugin.ts | 0 .../expression_gauge/tsconfig.json | 2 +- .../expression_heatmap/common/constants.ts | 0 .../heatmap_function.test.ts.snap | 0 .../heatmap_function.test.ts | 0 .../expression_functions/heatmap_function.ts | 0 .../expression_functions/heatmap_grid.ts | 0 .../expression_functions/heatmap_legend.ts | 0 .../common/expression_functions/index.ts | 0 .../expression_heatmap/common/index.ts | 0 .../common/types/expression_functions.ts | 0 .../common/types/expression_renderers.ts | 0 .../expression_heatmap/common/types/index.ts | 0 .../expression_heatmap/jest.config.js | 20 ++ .../expression_heatmap/kibana.jsonc | 0 .../public/components/chart_split.tsx | 0 .../components/heatmap_component.test.tsx | 0 .../public/components/heatmap_component.tsx | 0 .../public/components/helpers.test.ts | 0 .../public/components/helpers.ts | 0 .../public/components/index.scss | 0 .../expression_heatmap/public/constants.ts | 0 .../expression_renderers/heatmap_renderer.tsx | 0 .../public/expression_renderers/index.ts | 0 .../expression_heatmap/public/index.ts | 0 .../expression_heatmap/public/plugin.ts | 0 .../public/services/datatable_utilities.ts | 0 .../public/services/format_service.ts | 0 .../public/services/index.ts | 0 .../public/services/palette_service.ts | 0 .../public/services/ui_settings.ts | 0 .../public/utils/get_color_picker.tsx | 0 .../utils/get_split_dimension_utils.test.ts | 0 .../public/utils/get_split_dimension_utils.ts | 0 .../expression_heatmap/server/index.ts | 0 .../expression_heatmap/server/plugin.ts | 0 .../expression_heatmap/tsconfig.json | 2 +- .../expression_legacy_metric/.i18nrc.json | 0 .../.storybook/main.js | 2 +- .../expression_legacy_metric/README.md | 0 .../common/constants.ts | 0 .../metric_vis_function.test.ts.snap | 0 .../common/expression_functions/index.ts | 0 .../metric_vis_function.test.ts | 0 .../metric_vis_function.ts | 0 .../expression_legacy_metric/common/index.ts | 0 .../common/types/expression_functions.ts | 0 .../common/types/expression_renderers.ts | 0 .../common/types/index.ts | 0 .../expression_legacy_metric/jest.config.js | 20 ++ .../expression_legacy_metric/kibana.jsonc | 0 .../public/__mocks__/format_service.ts | 0 .../public/__mocks__/palette_service.ts | 0 .../public/__mocks__/services.ts | 0 .../__stories__/metric_renderer.stories.tsx | 0 .../metric_component.test.tsx.snap | 0 .../with_auto_scale.test.tsx.snap | 0 .../public/components/metric.scss | 0 .../components/metric_component.test.tsx | 0 .../public/components/metric_component.tsx | 0 .../public/components/metric_value.test.tsx | 0 .../public/components/metric_value.tsx | 0 .../components/with_auto_scale.styles.ts | 0 .../components/with_auto_scale.test.tsx | 0 .../public/components/with_auto_scale.tsx | 0 .../public/expression_renderers/index.ts | 0 .../metric_vis_renderer.tsx | 0 .../public/format_service.ts | 0 .../expression_legacy_metric/public/index.ts | 0 .../expression_legacy_metric/public/plugin.ts | 0 .../public/services/format_service.ts | 0 .../public/services/index.ts | 0 .../public/services/palette_service.ts | 0 .../public/utils/format.ts | 0 .../public/utils/index.ts | 0 .../public/utils/palette.ts | 0 .../expression_legacy_metric/server/index.ts | 0 .../expression_legacy_metric/server/plugin.ts | 0 .../expression_legacy_metric/tsconfig.json | 2 +- .../expression_metric/.i18nrc.json | 0 .../expression_metric/.storybook/main.js | 2 +- .../expression_metric/README.md | 0 .../expression_metric/common/constants.ts | 0 .../metric_trendline_function.test.ts.snap | 0 .../common/expression_functions/index.ts | 0 .../metric_trendline_function.test.ts | 0 .../metric_trendline_function.ts | 0 .../metric_vis_function.test.ts | 0 .../metric_vis_function.ts | 0 .../expression_metric/common/index.ts | 0 .../common/types/expression_functions.ts | 0 .../common/types/expression_renderers.ts | 0 .../expression_metric/common/types/index.ts | 0 .../expression_metric/jest.config.js | 20 ++ .../expression_metric/kibana.jsonc | 0 .../public/__mocks__/theme_service.ts | 0 .../__snapshots__/metric_vis.test.tsx.snap | 0 .../public/components/metric_vis.test.tsx | 0 .../public/components/metric_vis.tsx | 0 .../public/expression_renderers/index.ts | 0 .../metric_vis_renderer.tsx | 0 .../expression_metric/public/index.ts | 0 .../expression_metric/public/plugin.ts | 0 .../public/services/format_service.ts | 0 .../public/services/index.ts | 0 .../public/services/palette_service.ts | 0 .../public/services/theme_service.ts | 0 .../public/services/ui_settings.ts | 0 .../expression_metric/public/utils/index.ts | 0 .../public/utils/palette_data_bounds.test.ts | 0 .../public/utils/palette_data_bounds.ts | 0 .../expression_metric/server/index.ts | 0 .../expression_metric/server/plugin.ts | 0 .../expression_metric/tsconfig.json | 2 +- .../.storybook/main.js | 0 .../expression_partition_vis/README.md | 0 .../common/constants.ts | 0 .../mosaic_vis_function.test.ts.snap | 0 .../pie_vis_function.test.ts.snap | 0 .../treemap_vis_function.test.ts.snap | 0 .../waffle_vis_function.test.ts.snap | 0 .../common/expression_functions/i18n.ts | 0 .../common/expression_functions/index.ts | 0 .../mosaic_vis_function.test.ts | 0 .../mosaic_vis_function.ts | 0 .../partition_labels_function.ts | 0 .../pie_vis_function.test.ts | 0 .../expression_functions/pie_vis_function.ts | 0 .../treemap_vis_function.test.ts | 0 .../treemap_vis_function.ts | 0 .../waffle_vis_function.test.ts | 0 .../waffle_vis_function.ts | 0 .../expression_partition_vis/common/index.ts | 0 .../common/types/expression_functions.ts | 0 .../common/types/expression_renderers.ts | 0 .../common/types/index.ts | 0 .../utils/consolidate_metric_columns.test.ts | 0 .../utils/consolidate_metric_columns.ts | 0 .../common/utils/index.ts | 0 .../expression_partition_vis/jest.config.js | 20 ++ .../expression_partition_vis/kibana.jsonc | 0 .../public/__mocks__/format_service.ts | 0 .../public/__mocks__/index.ts | 0 .../public/__mocks__/palettes.ts | 0 .../public/__mocks__/start_deps.ts | 0 .../public/__mocks__/theme.ts | 0 .../public/__mocks__/ui_settings.ts | 0 .../mosaic_vis_renderer.stories.tsx | 0 .../__stories__/pie_vis_renderer.stories.tsx | 0 .../public/__stories__/shared/arg_types.ts | 0 .../public/__stories__/shared/config.ts | 0 .../public/__stories__/shared/data.ts | 0 .../public/__stories__/shared/index.ts | 0 .../treemap_vis_renderer.stories.tsx | 0 .../waffle_vis_renderer.stories.tsx | 0 .../partition_vis_component.test.tsx.snap | 0 .../public/components/chart_split.tsx | 0 .../public/components/index.ts | 0 .../partition_vis_component.styles.ts | 0 .../partition_vis_component.test.tsx | 0 .../components/partition_vis_component.tsx | 0 .../components/visualization_noresults.tsx | 0 .../public/expression_renderers/index.ts | 0 .../partition_vis_renderer.test.tsx | 0 .../partition_vis_renderer.tsx | 0 .../expression_partition_vis/public/index.ts | 0 .../expression_partition_vis/public/mocks.ts | 0 .../expression_partition_vis/public/plugin.ts | 0 .../expression_partition_vis/public/types.ts | 0 .../utils/colors/color_mapping_accessors.ts | 0 .../public/utils/filter_helpers.test.ts | 0 .../public/utils/filter_helpers.ts | 0 .../public/utils/filter_out_config.test.ts | 0 .../public/utils/filter_out_config.ts | 0 .../public/utils/formatters.test.ts | 0 .../public/utils/formatters.ts | 0 .../public/utils/get_color_picker.test.tsx | 0 .../public/utils/get_color_picker.tsx | 0 .../public/utils/get_columns.test.ts | 0 .../public/utils/get_columns.ts | 0 .../public/utils/get_distinct_series.test.ts | 0 .../public/utils/get_distinct_series.ts | 0 .../public/utils/get_icon.ts | 0 .../public/utils/get_legend_actions.tsx | 0 .../public/utils/get_partition_theme.test.ts | 0 .../public/utils/get_partition_theme.ts | 0 .../public/utils/get_partition_type.ts | 0 .../get_split_dimension_accessor.test.ts | 0 .../utils/get_split_dimension_accessor.ts | 0 .../public/utils/index.ts | 0 .../public/utils/layers/get_color.test.ts | 0 .../public/utils/layers/get_color.ts | 0 .../public/utils/layers/get_layers.test.ts | 0 .../public/utils/layers/get_layers.ts | 0 .../public/utils/layers/get_node_labels.ts | 0 .../public/utils/layers/index.ts | 0 .../utils/layers/sort_predicate.test.ts | 0 .../public/utils/layers/sort_predicate.ts | 0 .../public/utils/legend.test.ts | 0 .../public/utils/legend.ts | 0 .../expression_partition_vis/server/index.ts | 0 .../expression_partition_vis/server/plugin.ts | 0 .../expression_partition_vis/server/types.ts | 0 .../expression_partition_vis/tsconfig.json | 2 +- .../expression_tagcloud/.i18nrc.json | 0 .../expression_tagcloud/.storybook/main.js | 0 .../expression_tagcloud/README.md | 0 .../expression_tagcloud/common/constants.ts | 0 .../tagcloud_function.test.ts.snap | 0 .../common/expression_functions/index.ts | 0 .../tagcloud_function.test.ts | 0 .../expression_functions/tagcloud_function.ts | 0 .../expression_tagcloud/common/index.ts | 0 .../common/types/expression_functions.ts | 0 .../common/types/expression_renderers.ts | 0 .../expression_tagcloud/common/types/index.ts | 0 .../expression_tagcloud/jest.config.js | 20 ++ .../expression_tagcloud/kibana.jsonc | 0 .../public/__mocks__/format_service.ts | 0 .../public/__mocks__/palettes.ts | 0 .../public/__mocks__/theme.ts | 0 .../__stories__/tagcloud_renderer.stories.tsx | 0 .../public/components/index.ts | 0 .../public/components/tag_cloud.scss | 0 .../components/tagcloud_component.test.tsx | 0 .../public/components/tagcloud_component.tsx | 0 .../public/expression_renderers/index.ts | 0 .../tagcloud_renderer.tsx | 0 .../public/format_service.ts | 0 .../expression_tagcloud/public/index.ts | 0 .../expression_tagcloud/public/plugin.ts | 0 .../expression_tagcloud/server/index.ts | 0 .../expression_tagcloud/server/plugin.ts | 0 .../expression_tagcloud/tsconfig.json | 2 +- .../chart_expressions/expression_xy/README.md | 0 .../expression_xy/common/__mocks__/index.ts | 0 .../expression_xy/common/constants.ts | 0 .../extended_data_layer.test.ts.snap | 0 .../__snapshots__/layered_xy_vis.test.ts.snap | 0 .../__snapshots__/xy_vis.test.ts.snap | 0 .../expression_functions/annotation_layer.ts | 0 .../axis_extent_config.ts | 0 .../expression_functions/common_axis_args.ts | 0 .../common_data_layer_args.ts | 0 .../expression_functions/common_xy_args.ts | 0 .../common_y_config_args.ts | 0 .../data_decoration_config.ts | 0 .../event_annotations_result.ts | 0 .../extended_annotation_layer.ts | 0 .../extended_data_layer.test.ts | 0 .../extended_data_layer.ts | 0 .../extended_data_layer_fn.ts | 0 .../common/expression_functions/index.ts | 0 .../layered_xy_vis.test.ts | 0 .../expression_functions/layered_xy_vis.ts | 0 .../expression_functions/layered_xy_vis_fn.ts | 0 .../legend_config.test.ts | 0 .../expression_functions/legend_config.ts | 0 .../expression_functions/legend_config_fn.ts | 0 .../reference_line.test.ts | 0 .../expression_functions/reference_line.ts | 0 .../reference_line_decoration_config.ts | 0 .../reference_line_layer.ts | 0 .../reference_line_layer_fn.ts | 0 .../common/expression_functions/validate.ts | 0 .../expression_functions/x_axis_config.ts | 0 .../expression_functions/xy_vis.test.ts | 0 .../common/expression_functions/xy_vis.ts | 0 .../common/expression_functions/xy_vis_fn.ts | 0 .../expression_functions/y_axis_config.ts | 0 .../expression_xy/common/helpers/index.ts | 0 .../common/helpers/layers.test.ts | 0 .../expression_xy/common/helpers/layers.ts | 0 .../common/helpers/table.test.ts | 0 .../expression_xy/common/helpers/table.ts | 0 .../common/helpers/visualization.test.ts | 0 .../common/helpers/visualization.ts | 0 .../expression_xy/common/i18n/index.tsx | 0 .../expression_xy/common/index.ts | 0 .../common/types/expression_functions.ts | 0 .../common/types/expression_renderers.ts | 0 .../expression_xy/common/types/index.ts | 0 .../expression_xy/common/utils/index.tsx | 0 .../common/utils/layer_types_guards.ts | 0 .../common/utils/log_datatables.ts | 0 .../expression_xy}/jest.config.js | 8 +- .../expression_xy/kibana.jsonc | 0 .../expression_xy/public/__mocks__/index.tsx | 0 .../__snapshots__/xy_chart.test.tsx.snap | 0 .../public/components/annotations.scss | 0 .../public/components/annotations.tsx | 0 .../public/components/data_layers.tsx | 0 .../expression_xy/public/components/index.ts | 0 .../public/components/legend_action.test.tsx | 0 .../public/components/legend_action.tsx | 0 .../components/legend_action_popover.tsx | 0 .../public/components/legend_color_picker.tsx | 0 .../components/reference_lines/_mocks.ts | 0 .../components/reference_lines/index.ts | 0 .../reference_lines/reference_line.tsx | 0 .../reference_line_annotations.tsx | 0 .../reference_lines/reference_line_layer.tsx | 0 .../reference_lines/reference_lines.scss | 0 .../reference_lines/reference_lines.test.tsx | 0 .../reference_lines/reference_lines.tsx | 0 .../components/reference_lines/utils.test.tsx | 0 .../components/reference_lines/utils.tsx | 0 .../public/components/split_chart.tsx | 0 .../endzone_tooltip_header.test.tsx.snap | 0 .../__snapshots__/tooltip.test.tsx.snap | 0 .../tooltip_header.test.tsx.snap | 0 .../__snapshots__/tooltip_row.test.tsx.snap | 0 .../tooltip/endzone_tooltip_header.test.tsx | 0 .../tooltip/endzone_tooltip_header.tsx | 0 .../public/components/tooltip/index.tsx | 0 .../public/components/tooltip/tooltip.scss | 0 .../components/tooltip/tooltip.test.tsx | 0 .../public/components/tooltip/tooltip.tsx | 0 .../components/tooltip/tooltip_actions.tsx | 0 .../tooltip/tooltip_header.test.tsx | 0 .../components/tooltip/tooltip_header.tsx | 0 .../components/tooltip/tooltip_row.test.tsx | 0 .../public/components/tooltip/tooltip_row.tsx | 0 .../public/components/tooltip/utils.ts | 0 .../public/components/x_domain.tsx | 0 .../public/components/xy_chart.scss | 0 .../public/components/xy_chart.test.tsx | 0 .../public/components/xy_chart.tsx | 0 .../public/components/xy_current_time.tsx | 0 .../expression_xy/public/definitions/index.ts | 0 .../public/definitions/visualizations.ts | 0 .../public/expression_renderers/index.ts | 0 .../expression_renderers/telemetry.test.ts | 0 .../xy_chart_renderer.tsx | 0 .../public/helpers/annotations.tsx | 0 .../public/helpers/axes_configuration.test.ts | 0 .../public/helpers/axes_configuration.ts | 0 .../helpers/color/color_mapping_accessor.ts | 0 .../public/helpers/color_assignment.test.ts | 0 .../public/helpers/color_assignment.ts | 0 .../public/helpers/data_layers.tsx | 0 .../public/helpers/fitting_functions.ts | 0 .../expression_xy/public/helpers/format.ts | 0 .../expression_xy/public/helpers/icon.ts | 0 .../expression_xy/public/helpers/index.ts | 0 .../public/helpers/interval.test.ts | 0 .../expression_xy/public/helpers/interval.ts | 0 .../expression_xy/public/helpers/layers.ts | 0 .../expression_xy/public/helpers/state.ts | 0 .../public/helpers/validate_extent.ts | 0 .../public/helpers/visualization.ts | 0 .../expression_xy/public/index.ts | 0 .../expression_xy/public/plugin.ts | 0 .../expression_xy/public/types.ts | 0 .../expression_xy/server/index.ts | 0 .../expression_xy/server/plugin.ts | 0 .../expression_xy/server/types.ts | 0 .../expression_xy/tsconfig.json | 2 +- .../plugins/shared}/charts/README.md | 0 .../shared}/charts/common/constants.ts | 0 .../common/expressions/palette/index.ts | 0 .../expressions/palette/palette.test.ts | 0 .../common/expressions/palette/palette.ts | 0 .../common/expressions/palette/palette_fn.ts | 0 .../palette/system_palette.test.ts | 0 .../expressions/palette/system_palette.ts | 0 .../common/expressions/palette/types.ts | 0 .../plugins/shared}/charts/common/index.ts | 0 .../common/static/color_maps/color_maps.ts | 0 .../static/color_maps/heatmap_color.test.ts | 0 .../common/static/color_maps/heatmap_color.ts | 0 .../charts/common/static/color_maps/index.ts | 0 .../common/static/components/collections.ts | 0 .../charts/common/static/components/index.ts | 0 .../shared}/charts/common/static/index.ts | 0 .../charts/common/static/overrides/index.ts | 0 .../common/static/overrides/settings.ts | 0 .../charts/common/static/styles/index.ts | 0 .../static/styles/multilayer_timeaxis.ts | 0 .../plugins/shared}/charts/common/types.ts | 0 .../plugins/shared/charts}/jest.config.js | 8 +- .../plugins/shared}/charts/kibana.jsonc | 0 .../plugins/shared}/charts/public/index.ts | 1 - .../plugins/shared}/charts/public/mocks.ts | 0 .../plugins/shared}/charts/public/plugin.ts | 0 .../active_cursor/active_cursor.test.ts | 0 .../services/active_cursor/active_cursor.ts | 0 .../active_cursor/active_cursor_utils.test.ts | 0 .../active_cursor/active_cursor_utils.ts | 0 .../public/services/active_cursor/index.ts | 0 .../public/services/active_cursor/mock.ts | 0 .../public/services/active_cursor/types.ts | 0 .../active_cursor/use_active_cursor.test.ts | 0 .../active_cursor/use_active_cursor.ts | 0 .../shared}/charts/public/services/index.ts | 0 .../public/services/mapped_colors/index.ts | 0 .../mapped_colors/mapped_colors.test.ts | 0 .../services/mapped_colors/mapped_colors.ts | 0 .../charts/public/services/palettes/README.md | 0 .../palettes/decrease_opacity.test.ts | 0 .../services/palettes/decrease_opacity.ts | 0 .../public/services/palettes/helpers.test.ts | 0 .../public/services/palettes/helpers.ts | 0 .../services/palettes/lighten_color.test.ts | 0 .../public/services/palettes/lighten_color.ts | 0 .../charts/public/services/palettes/mock.ts | 0 .../services/palettes/palettes.test.tsx | 0 .../public/services/palettes/palettes.tsx | 0 .../public/services/palettes/service.ts | 0 .../charts/public/services/theme/README.md | 0 .../charts/public/services/theme/index.ts | 0 .../charts/public/services/theme/mock.ts | 0 .../public/services/theme/theme.test.tsx | 0 .../charts/public/services/theme/theme.ts | 0 .../public/static/colors/color_palette.ts | 0 .../charts/public/static/colors/index.ts | 0 .../public/static/colors/seed_colors.test.ts | 0 .../public/static/colors/seed_colors.ts | 0 .../public/static/components/color_picker.tsx | 0 .../static/components/common_chart_styles.ts | 0 .../public/static/components/current_time.tsx | 0 .../static/components/empty_placeholder.tsx | 0 .../public/static/components/endzones.tsx | 0 .../charts/public/static/components/index.ts | 0 .../static/components/legend_toggle.tsx | 0 .../public/static/components/warnings.tsx | 0 .../shared}/charts/public/static/index.ts | 0 .../plugins/shared}/charts/server/index.ts | 0 .../plugins/shared}/charts/server/plugin.ts | 0 .../plugins/shared}/charts/tsconfig.json | 2 +- .../shared/custom_integrations/jest.config.js | 4 +- .../plugins/shared}/data/.storybook/main.js | 0 .../plugins/shared}/data/README.mdx | 0 .../plugins/shared}/data/common/constants.ts | 0 .../datatable_utilities_service.test.ts | 0 .../datatable_utilities_service.ts | 0 .../data/common/datatable_utilities/index.ts | 0 .../data/common/datatable_utilities/mock.ts | 0 .../shared}/data/common/es_query/index.ts | 0 .../shared}/data/common/exports/constants.ts | 0 .../data/common/exports/escape_value.test.ts | 0 .../data/common/exports/escape_value.ts | 0 .../data/common/exports/export_csv.test.ts | 0 .../data/common/exports/export_csv.tsx | 0 .../data/common/exports/formula_checks.ts | 0 .../shared}/data/common/exports/index.ts | 0 .../plugins/shared}/data/common/index.ts | 1 - .../data/common/kbn_field_types/index.ts | 0 .../data/common/kbn_field_types/types.ts | 0 .../plugins/shared}/data/common/mocks.ts | 0 .../query/filters/persistable_state.test.ts | 0 .../common/query/filters/persistable_state.ts | 0 .../shared}/data/common/query/index.ts | 0 .../shared}/data/common/query/is_query.ts | 0 .../common/query/persistable_state.test.ts | 0 .../data/common/query/persistable_state.ts | 0 .../shared}/data/common/query/query_state.ts | 0 .../text_based_query_state_to_ast.test.ts | 0 .../query/text_based_query_state_to_ast.ts | 0 ...query_state_to_ast_with_validation.test.ts | 0 ...ased_query_state_to_ast_with_validation.ts | 0 .../common/query/timefilter/get_time.test.ts | 0 .../data/common/query/timefilter/get_time.ts | 0 .../data/common/query/timefilter/index.ts | 0 .../common/query/timefilter/is_time_range.ts | 0 .../data/common/query/timefilter/types.ts | 0 .../shared}/data/common/query/types.ts | 0 .../common/search/aggs/agg_config.test.ts | 0 .../data/common/search/aggs/agg_config.ts | 0 .../common/search/aggs/agg_configs.test.ts | 0 .../data/common/search/aggs/agg_configs.ts | 0 .../data/common/search/aggs/agg_groups.ts | 0 .../common/search/aggs/agg_params.test.ts | 0 .../data/common/search/aggs/agg_params.ts | 0 .../data/common/search/aggs/agg_type.test.ts | 0 .../data/common/search/aggs/agg_type.ts | 0 .../data/common/search/aggs/agg_types.ts | 0 .../search/aggs/agg_types_registry.test.ts | 0 .../common/search/aggs/agg_types_registry.ts | 0 .../common/search/aggs/aggs_service.test.ts | 0 .../data/common/search/aggs/aggs_service.ts | 0 .../search/aggs/buckets/_interval_options.ts | 0 .../aggs/buckets/_terms_order_helper.ts | 0 .../_terms_other_bucket_helper.test.ts | 0 .../buckets/_terms_other_bucket_helper.ts | 0 .../search/aggs/buckets/bucket_agg_type.ts | 0 .../search/aggs/buckets/bucket_agg_types.ts | 0 .../create_filter/date_histogram.test.ts | 0 .../buckets/create_filter/date_histogram.ts | 0 .../buckets/create_filter/date_range.test.ts | 0 .../aggs/buckets/create_filter/date_range.ts | 0 .../buckets/create_filter/filters.test.ts | 0 .../aggs/buckets/create_filter/filters.ts | 0 .../buckets/create_filter/histogram.test.ts | 0 .../aggs/buckets/create_filter/histogram.ts | 0 .../buckets/create_filter/ip_prefix.test.ts | 0 .../aggs/buckets/create_filter/ip_prefix.ts | 0 .../buckets/create_filter/ip_range.test.ts | 0 .../aggs/buckets/create_filter/ip_range.ts | 0 .../aggs/buckets/create_filter/multi_terms.ts | 0 .../aggs/buckets/create_filter/range.test.ts | 0 .../aggs/buckets/create_filter/range.ts | 0 .../aggs/buckets/create_filter/terms.test.ts | 0 .../aggs/buckets/create_filter/terms.ts | 0 .../search/aggs/buckets/date_histogram.ts | 0 .../aggs/buckets/date_histogram_fn.test.ts | 0 .../search/aggs/buckets/date_histogram_fn.ts | 0 .../search/aggs/buckets/date_range.test.ts | 0 .../common/search/aggs/buckets/date_range.ts | 0 .../search/aggs/buckets/date_range_fn.test.ts | 0 .../search/aggs/buckets/date_range_fn.ts | 0 .../aggs/buckets/diversified_sampler.ts | 0 .../buckets/diversified_sampler_fn.test.ts | 0 .../aggs/buckets/diversified_sampler_fn.ts | 0 .../common/search/aggs/buckets/filter.test.ts | 0 .../data/common/search/aggs/buckets/filter.ts | 0 .../search/aggs/buckets/filter_fn.test.ts | 0 .../common/search/aggs/buckets/filter_fn.ts | 0 .../search/aggs/buckets/filters.test.ts | 0 .../common/search/aggs/buckets/filters.ts | 0 .../search/aggs/buckets/filters_fn.test.ts | 0 .../common/search/aggs/buckets/filters_fn.ts | 0 .../common/search/aggs/buckets/geo_tile.ts | 0 .../search/aggs/buckets/geo_tile_fn.test.ts | 0 .../common/search/aggs/buckets/geo_tile_fn.ts | 0 .../search/aggs/buckets/histogram.test.ts | 0 .../common/search/aggs/buckets/histogram.ts | 0 .../search/aggs/buckets/histogram_fn.test.ts | 0 .../search/aggs/buckets/histogram_fn.ts | 0 .../data/common/search/aggs/buckets/index.ts | 0 .../common/search/aggs/buckets/ip_prefix.ts | 0 .../search/aggs/buckets/ip_prefix_fn.test.ts | 0 .../search/aggs/buckets/ip_prefix_fn.ts | 0 .../common/search/aggs/buckets/ip_range.ts | 0 .../search/aggs/buckets/ip_range_fn.test.ts | 0 .../common/search/aggs/buckets/ip_range_fn.ts | 0 .../search/aggs/buckets/lib/cidr_mask.test.ts | 0 .../search/aggs/buckets/lib/cidr_mask.ts | 0 .../search/aggs/buckets/lib/date_range.ts | 0 .../lib/histogram_calculate_interval.test.ts | 0 .../lib/histogram_calculate_interval.ts | 0 .../search/aggs/buckets/lib/ip_prefix.ts | 0 .../search/aggs/buckets/lib/ip_range.ts | 0 .../time_buckets/calc_auto_interval.test.ts | 0 .../lib/time_buckets/calc_auto_interval.ts | 0 .../lib/time_buckets/calc_es_interval.ts | 0 .../buckets/lib/time_buckets/i18n_messages.ts | 0 .../aggs/buckets/lib/time_buckets/index.ts | 0 .../lib/time_buckets/time_buckets.test.ts | 0 .../buckets/lib/time_buckets/time_buckets.ts | 0 .../buckets/migrate_include_exclude_format.ts | 0 .../search/aggs/buckets/multi_field_key.ts | 0 .../search/aggs/buckets/multi_terms.test.ts | 0 .../common/search/aggs/buckets/multi_terms.ts | 0 .../search/aggs/buckets/multi_terms_fn.ts | 0 .../common/search/aggs/buckets/range.test.ts | 0 .../data/common/search/aggs/buckets/range.ts | 0 .../search/aggs/buckets/range_fn.test.ts | 0 .../common/search/aggs/buckets/range_fn.ts | 0 .../common/search/aggs/buckets/range_key.ts | 0 .../search/aggs/buckets/rare_terms.test.ts | 0 .../common/search/aggs/buckets/rare_terms.ts | 0 .../search/aggs/buckets/rare_terms_fn.ts | 0 .../common/search/aggs/buckets/sampler.ts | 0 .../search/aggs/buckets/sampler_fn.test.ts | 0 .../common/search/aggs/buckets/sampler_fn.ts | 0 .../search/aggs/buckets/shard_delay.test.ts | 0 .../common/search/aggs/buckets/shard_delay.ts | 0 .../aggs/buckets/shard_delay_fn.test.ts | 0 .../search/aggs/buckets/shard_delay_fn.ts | 0 .../aggs/buckets/significant_terms.test.ts | 0 .../search/aggs/buckets/significant_terms.ts | 0 .../aggs/buckets/significant_terms_fn.test.ts | 0 .../aggs/buckets/significant_terms_fn.ts | 0 .../aggs/buckets/significant_text.test.ts | 0 .../search/aggs/buckets/significant_text.ts | 0 .../aggs/buckets/significant_text_fn.test.ts | 0 .../aggs/buckets/significant_text_fn.ts | 0 .../common/search/aggs/buckets/terms.test.ts | 0 .../data/common/search/aggs/buckets/terms.ts | 0 .../search/aggs/buckets/terms_fn.test.ts | 0 .../common/search/aggs/buckets/terms_fn.ts | 0 .../common/search/aggs/buckets/time_series.ts | 0 .../aggs/buckets/time_series_fn.test.ts | 0 .../search/aggs/buckets/time_series_fn.ts | 0 .../data/common/search/aggs/index.test.ts | 0 .../shared}/data/common/search/aggs/index.ts | 0 .../metrics/__snapshots__/median.test.ts.snap | 0 .../single_percentile.test.ts.snap | 0 .../data/common/search/aggs/metrics/avg.ts | 0 .../common/search/aggs/metrics/avg_fn.test.ts | 0 .../data/common/search/aggs/metrics/avg_fn.ts | 0 .../common/search/aggs/metrics/bucket_avg.ts | 0 .../search/aggs/metrics/bucket_avg_fn.test.ts | 0 .../search/aggs/metrics/bucket_avg_fn.ts | 0 .../common/search/aggs/metrics/bucket_max.ts | 0 .../search/aggs/metrics/bucket_max_fn.test.ts | 0 .../search/aggs/metrics/bucket_max_fn.ts | 0 .../common/search/aggs/metrics/bucket_min.ts | 0 .../search/aggs/metrics/bucket_min_fn.test.ts | 0 .../search/aggs/metrics/bucket_min_fn.ts | 0 .../common/search/aggs/metrics/bucket_sum.ts | 0 .../search/aggs/metrics/bucket_sum_fn.test.ts | 0 .../search/aggs/metrics/bucket_sum_fn.ts | 0 .../common/search/aggs/metrics/cardinality.ts | 0 .../aggs/metrics/cardinality_fn.test.ts | 0 .../search/aggs/metrics/cardinality_fn.ts | 0 .../data/common/search/aggs/metrics/count.ts | 0 .../search/aggs/metrics/count_fn.test.ts | 0 .../common/search/aggs/metrics/count_fn.ts | 0 .../search/aggs/metrics/cumulative_sum.ts | 0 .../aggs/metrics/cumulative_sum_fn.test.ts | 0 .../search/aggs/metrics/cumulative_sum_fn.ts | 0 .../common/search/aggs/metrics/derivative.ts | 0 .../search/aggs/metrics/derivative_fn.test.ts | 0 .../search/aggs/metrics/derivative_fn.ts | 0 .../aggs/metrics/filtered_metric.test.ts | 0 .../search/aggs/metrics/filtered_metric.ts | 0 .../aggs/metrics/filtered_metric_fn.test.ts | 0 .../search/aggs/metrics/filtered_metric_fn.ts | 0 .../common/search/aggs/metrics/geo_bounds.ts | 0 .../search/aggs/metrics/geo_bounds_fn.test.ts | 0 .../search/aggs/metrics/geo_bounds_fn.ts | 0 .../search/aggs/metrics/geo_centroid.ts | 0 .../aggs/metrics/geo_centroid_fn.test.ts | 0 .../search/aggs/metrics/geo_centroid_fn.ts | 0 .../data/common/search/aggs/metrics/index.ts | 0 .../search/aggs/metrics/lib/create_filter.ts | 0 .../lib/get_response_agg_config_class.test.ts | 0 .../lib/get_response_agg_config_class.ts | 0 .../metrics/lib/make_nested_label.test.ts | 0 .../aggs/metrics/lib/make_nested_label.ts | 0 .../aggs/metrics/lib/nested_agg_helpers.ts | 0 .../aggs/metrics/lib/ordinal_suffix.test.ts | 0 .../search/aggs/metrics/lib/ordinal_suffix.ts | 0 .../metrics/lib/parent_pipeline_agg_helper.ts | 0 .../metrics/lib/parent_pipeline_agg_writer.ts | 0 .../lib/sibling_pipeline_agg_helper.ts | 0 .../lib/sibling_pipeline_agg_writer.ts | 0 .../data/common/search/aggs/metrics/max.ts | 0 .../common/search/aggs/metrics/max_fn.test.ts | 0 .../data/common/search/aggs/metrics/max_fn.ts | 0 .../common/search/aggs/metrics/median.test.ts | 0 .../data/common/search/aggs/metrics/median.ts | 0 .../search/aggs/metrics/median_fn.test.ts | 0 .../common/search/aggs/metrics/median_fn.ts | 0 .../search/aggs/metrics/metric_agg_type.ts | 0 .../search/aggs/metrics/metric_agg_types.ts | 0 .../data/common/search/aggs/metrics/min.ts | 0 .../common/search/aggs/metrics/min_fn.test.ts | 0 .../data/common/search/aggs/metrics/min_fn.ts | 0 .../common/search/aggs/metrics/moving_avg.ts | 0 .../search/aggs/metrics/moving_avg_fn.test.ts | 0 .../search/aggs/metrics/moving_avg_fn.ts | 0 .../aggs/metrics/parent_pipeline.test.ts | 0 .../aggs/metrics/percentile_ranks.test.ts | 0 .../search/aggs/metrics/percentile_ranks.ts | 0 .../aggs/metrics/percentile_ranks_fn.test.ts | 0 .../aggs/metrics/percentile_ranks_fn.ts | 0 .../search/aggs/metrics/percentiles.test.ts | 0 .../common/search/aggs/metrics/percentiles.ts | 0 .../aggs/metrics/percentiles_fn.test.ts | 0 .../search/aggs/metrics/percentiles_fn.ts | 0 .../metrics/percentiles_get_value.test.ts | 0 .../aggs/metrics/percentiles_get_value.ts | 0 .../data/common/search/aggs/metrics/rate.ts | 0 .../search/aggs/metrics/rate_fn.test.ts | 0 .../common/search/aggs/metrics/rate_fn.ts | 0 .../common/search/aggs/metrics/serial_diff.ts | 0 .../aggs/metrics/serial_diff_fn.test.ts | 0 .../search/aggs/metrics/serial_diff_fn.ts | 0 .../aggs/metrics/sibling_pipeline.test.ts | 0 .../aggs/metrics/single_percentile.test.ts | 0 .../search/aggs/metrics/single_percentile.ts | 0 .../aggs/metrics/single_percentile_fn.ts | 0 .../metrics/single_percentile_rank.test.ts | 0 .../aggs/metrics/single_percentile_rank.ts | 0 .../aggs/metrics/single_percentile_rank_fn.ts | 0 .../search/aggs/metrics/std_deviation.test.ts | 0 .../search/aggs/metrics/std_deviation.ts | 0 .../aggs/metrics/std_deviation_fn.test.ts | 0 .../search/aggs/metrics/std_deviation_fn.ts | 0 .../data/common/search/aggs/metrics/sum.ts | 0 .../common/search/aggs/metrics/sum_fn.test.ts | 0 .../data/common/search/aggs/metrics/sum_fn.ts | 0 .../search/aggs/metrics/top_hit.test.ts | 0 .../common/search/aggs/metrics/top_hit.ts | 0 .../search/aggs/metrics/top_hit_fn.test.ts | 0 .../common/search/aggs/metrics/top_hit_fn.ts | 0 .../search/aggs/metrics/top_metrics.test.ts | 0 .../common/search/aggs/metrics/top_metrics.ts | 0 .../aggs/metrics/top_metrics_fn.test.ts | 0 .../search/aggs/metrics/top_metrics_fn.ts | 0 .../common/search/aggs/metrics/value_count.ts | 0 .../aggs/metrics/value_count_fn.test.ts | 0 .../search/aggs/metrics/value_count_fn.ts | 0 .../common/search/aggs/param_types/agg.ts | 0 .../common/search/aggs/param_types/base.ts | 0 .../search/aggs/param_types/field.test.ts | 0 .../common/search/aggs/param_types/field.ts | 0 .../common/search/aggs/param_types/index.ts | 0 .../search/aggs/param_types/json.test.ts | 0 .../common/search/aggs/param_types/json.ts | 0 .../search/aggs/param_types/optioned.test.ts | 0 .../search/aggs/param_types/optioned.ts | 0 .../search/aggs/param_types/string.test.ts | 0 .../common/search/aggs/param_types/string.ts | 0 .../aggs/test_helpers/function_wrapper.ts | 0 .../common/search/aggs/test_helpers/index.ts | 0 .../test_helpers/mock_agg_types_registry.ts | 0 .../shared}/data/common/search/aggs/types.ts | 0 .../utils/calculate_auto_time_expression.ts | 0 .../date_histogram_interval.test.ts | 0 .../date_histogram_interval.ts | 0 .../aggs/utils/date_interval_utils/index.ts | 0 .../invalid_es_calendar_interval_error.ts | 0 .../invalid_es_interval_format_error.ts | 0 .../is_valid_es_interval.ts | 0 .../date_interval_utils/is_valid_interval.ts | 0 .../least_common_interval.test.ts | 0 .../least_common_interval.ts | 0 .../least_common_multiple.test.ts | 0 .../least_common_multiple.ts | 0 .../parse_es_interval.test.ts | 0 .../date_interval_utils/parse_es_interval.ts | 0 .../parse_interval.test.ts | 0 .../date_interval_utils/parse_interval.ts | 0 .../date_interval_utils/to_absolute_dates.ts | 0 .../aggs/utils/get_aggs_formats.test.ts | 0 .../search/aggs/utils/get_aggs_formats.ts | 0 .../data/common/search/aggs/utils/index.ts | 0 .../search/aggs/utils/infer_time_zone.test.ts | 0 .../search/aggs/utils/infer_time_zone.ts | 0 .../search/aggs/utils/ip_address.test.ts | 0 .../common/search/aggs/utils/ip_address.ts | 0 .../aggs/utils/parse_time_shift.test.ts | 0 .../search/aggs/utils/parse_time_shift.ts | 0 .../search/aggs/utils/prop_filter.test.ts | 0 .../common/search/aggs/utils/prop_filter.ts | 0 .../data/common/search/aggs/utils/sampler.ts | 0 .../common/search/aggs/utils/time_splits.ts | 0 .../eql_raw_response.test.ts.snap | 0 .../es_raw_response.test.ts.snap | 0 .../__snapshots__/kibana.test.ts.snap | 0 .../aggregate_query_to_ast.test.ts | 0 .../expressions/aggregate_query_to_ast.ts | 0 .../common/search/expressions/cidr.test.ts | 0 .../data/common/search/expressions/cidr.ts | 0 .../search/expressions/cidr_to_ast.test.ts | 0 .../common/search/expressions/cidr_to_ast.ts | 0 .../search/expressions/date_range.test.ts | 0 .../common/search/expressions/date_range.ts | 0 .../expressions/date_range_to_ast.test.ts | 0 .../search/expressions/date_range_to_ast.ts | 0 .../data/common/search/expressions/eql.ts | 0 .../expressions/eql_raw_response.test.ts | 0 .../search/expressions/eql_raw_response.ts | 0 .../expressions/es_raw_response.test.ts | 0 .../search/expressions/es_raw_response.ts | 0 .../expressions/esaggs/create_filter.test.ts | 0 .../expressions/esaggs/create_filter.ts | 0 .../search/expressions/esaggs/esaggs_fn.ts | 0 .../common/search/expressions/esaggs/index.ts | 0 .../esaggs/request_handler.test.ts | 0 .../expressions/esaggs/request_handler.ts | 0 .../data/common/search/expressions/esdsl.ts | 0 .../data/common/search/expressions/esql.ts | 0 .../data/common/search/expressions/essql.ts | 0 .../search/expressions/exists_filter.test.ts | 0 .../search/expressions/exists_filter.ts | 0 .../expressions/extended_bounds.test.ts | 0 .../search/expressions/extended_bounds.ts | 0 .../extended_bounds_to_ast.test.ts | 0 .../expressions/extended_bounds_to_ast.ts | 0 .../common/search/expressions/field.test.ts | 0 .../data/common/search/expressions/field.ts | 0 .../search/expressions/filters_to_ast.test.ts | 0 .../search/expressions/filters_to_ast.ts | 0 .../expressions/geo_bounding_box.test.ts | 0 .../search/expressions/geo_bounding_box.ts | 0 .../geo_bounding_box_to_ast.test.ts | 0 .../expressions/geo_bounding_box_to_ast.ts | 0 .../search/expressions/geo_point.test.ts | 0 .../common/search/expressions/geo_point.ts | 0 .../expressions/geo_point_to_ast.test.ts | 0 .../search/expressions/geo_point_to_ast.ts | 0 .../data/common/search/expressions/index.ts | 0 .../search/expressions/ip_prefix.test.ts | 0 .../common/search/expressions/ip_prefix.ts | 0 .../expressions/ip_prefix_to_ast.test.ts | 0 .../search/expressions/ip_prefix_to_ast.ts | 0 .../search/expressions/ip_range.test.ts | 0 .../common/search/expressions/ip_range.ts | 0 .../expressions/ip_range_to_ast.test.ts | 0 .../search/expressions/ip_range_to_ast.ts | 0 .../common/search/expressions/kibana.test.ts | 0 .../data/common/search/expressions/kibana.ts | 0 .../search/expressions/kibana_context.ts | 0 .../search/expressions/kibana_context_type.ts | 0 .../search/expressions/kibana_filter.test.ts | 0 .../search/expressions/kibana_filter.ts | 0 .../common/search/expressions/kql.test.ts | 0 .../data/common/search/expressions/kql.ts | 0 .../common/search/expressions/lucene.test.ts | 0 .../data/common/search/expressions/lucene.ts | 0 .../expressions/numerical_range.test.ts | 0 .../search/expressions/numerical_range.ts | 0 .../numerical_range_to_ast.test.ts | 0 .../expressions/numerical_range_to_ast.ts | 0 .../search/expressions/phrase_filter.test.ts | 0 .../search/expressions/phrase_filter.ts | 0 .../search/expressions/query_filter.test.ts | 0 .../common/search/expressions/query_filter.ts | 0 .../expressions/query_filter_to_ast.test.ts | 0 .../search/expressions/query_filter_to_ast.ts | 0 .../search/expressions/query_to_ast.test.ts | 0 .../common/search/expressions/query_to_ast.ts | 0 .../common/search/expressions/range.test.ts | 0 .../data/common/search/expressions/range.ts | 0 .../search/expressions/range_filter.test.ts | 0 .../common/search/expressions/range_filter.ts | 0 .../search/expressions/remove_filter.test.ts | 0 .../search/expressions/remove_filter.ts | 0 .../search/expressions/select_filter.test.ts | 0 .../search/expressions/select_filter.ts | 0 .../search/expressions/timerange.test.ts | 0 .../common/search/expressions/timerange.ts | 0 .../expressions/timerange_to_ast.test.ts | 0 .../search/expressions/timerange_to_ast.ts | 0 .../expressions/utils/filters_adapter.ts | 0 .../expressions/utils/function_wrapper.ts | 0 .../common/search/expressions/utils/index.ts | 0 .../shared}/data/common/search/index.ts | 0 .../data/common/search/poll_search.test.ts | 0 .../shared}/data/common/search/poll_search.ts | 0 .../__snapshots__/search_source.test.ts.snap | 0 .../create_search_source.test.ts | 0 .../search_source/create_search_source.ts | 0 .../search_source/extract_references.ts | 0 .../fetch/get_search_params.test.ts | 0 .../search_source/fetch/get_search_params.ts | 0 .../search/search_source/fetch/index.ts | 0 .../search_source/fetch/request_error.ts | 0 .../search/search_source/fetch/types.ts | 0 .../data/common/search/search_source/index.ts | 0 .../search_source/inject_references.test.ts | 0 .../search/search_source/inject_references.ts | 0 .../search/search_source/inspect/index.ts | 0 .../search_source/inspect/inspector_stats.ts | 0 .../search_source/migrate_legacy_query.ts | 0 .../data/common/search/search_source/mocks.ts | 0 .../normalize_sort_request.test.ts | 0 .../search_source/normalize_sort_request.ts | 0 .../common/search/search_source/parse_json.ts | 0 .../search_source/query_to_fields.test.ts | 0 .../search/search_source/query_to_fields.ts | 0 .../search_source/search_source.test.ts | 0 .../search/search_source/search_source.ts | 0 .../search_source_service.test.ts | 0 .../search_source/search_source_service.ts | 0 .../data/common/search/search_source/types.ts | 0 .../data/common/search/session/index.ts | 0 .../data/common/search/session/status.ts | 0 .../data/common/search/session/types.ts | 0 .../search/strategies/eql_search}/index.ts | 0 .../search/strategies/eql_search/types.ts | 0 .../search/strategies/es_search/index.ts | 0 .../es_search/response_utils.test.ts | 0 .../strategies/es_search/response_utils.ts | 0 .../search/strategies/es_search/types.ts | 0 .../search/strategies/ese_search}/index.ts | 0 .../search/strategies/ese_search/types.ts | 0 .../search/strategies/esql_search}/index.ts | 0 .../search/strategies/esql_search/types.ts | 0 .../search/strategies/sql_search}/index.ts | 0 .../search/strategies/sql_search/types.ts | 0 .../data/common/search/tabify/buckets.test.ts | 0 .../data/common/search/tabify/buckets.ts | 0 .../tabify/fixtures/fake_hierarchical_data.ts | 0 .../tabify/fixtures/fake_timeoffset_data.ts | 0 .../common/search/tabify/get_columns.test.ts | 0 .../data/common/search/tabify/get_columns.ts | 0 .../data/common/search/tabify/index.ts | 0 .../search/tabify/response_writer.test.ts | 0 .../common/search/tabify/response_writer.ts | 0 .../data/common/search/tabify/tabify.test.ts | 0 .../data/common/search/tabify/tabify.ts | 0 .../data/common/search/tabify/types.ts | 0 .../test_data/illegal_argument_exception.json | 0 .../test_data/index_not_found_exception.json | 0 .../test_data/json_e_o_f_exception.json | 0 .../search/test_data/parsing_exception.json | 0 .../resource_not_found_exception.json | 0 .../search_phase_execution_exception.json | 0 .../test_data/x_content_parse_exception.json | 0 .../shared}/data/common/search/utils.test.ts | 0 .../shared}/data/common/search/utils.ts | 0 .../plugins/shared}/data/common/stubs.ts | 0 .../plugins/shared}/data/common/types.ts | 0 .../plugins/shared}/data/config.mock.ts | 0 .../plugins/shared/data}/jest.config.js | 8 +- .../plugins/shared}/data/kibana.jsonc | 0 ...ate_filters_from_multi_value_click.test.ts | 0 .../create_filters_from_multi_value_click.ts | 0 .../create_filters_from_range_select.test.ts | 0 .../create_filters_from_range_select.ts | 0 .../create_filters_from_value_click.test.ts | 0 .../create_filters_from_value_click.ts | 0 .../shared}/data/public/actions/index.ts | 0 .../actions/multi_value_click_action.ts | 0 .../public/actions/select_range_action.ts | 0 .../data/public/actions/value_click_action.ts | 0 .../shared}/data/public/data_views/index.ts | 0 .../shared}/data/public/data_views/mocks.ts | 0 .../plugins/shared}/data/public/index.scss | 0 .../plugins/shared}/data/public/index.ts | 0 .../plugins/shared}/data/public/mocks.ts | 0 .../shared}/data/public/now_provider/index.ts | 0 .../lib/get_force_now_from_url.test.ts | 0 .../lib/get_force_now_from_url.ts | 0 .../data/public/now_provider/lib/index.ts | 0 .../shared}/data/public/now_provider/mocks.ts | 0 .../public/now_provider/now_provider.test.ts | 0 .../data/public/now_provider/now_provider.ts | 0 .../plugins/shared}/data/public/plugin.ts | 0 .../filter_manager/filter_manager.mock.ts | 0 .../filter_manager/filter_manager.test.ts | 0 .../query/filter_manager/filter_manager.ts | 0 .../data/public/query/filter_manager/index.ts | 0 .../lib/generate_filter.test.ts | 0 .../filter_manager/lib/generate_filters.ts | 0 .../lib/generate_mapping_chain.test.ts | 0 .../lib/generate_mapping_chain.ts | 0 .../lib/get_display_value.test.ts | 0 .../filter_manager/lib/get_display_value.ts | 0 .../lib/get_index_pattern_from_filter.test.ts | 0 .../lib/get_index_pattern_from_filter.ts | 0 .../lib/map_and_flatten_filters.test.ts | 0 .../lib/map_and_flatten_filters.ts | 0 .../filter_manager/lib/map_filter.test.ts | 0 .../query/filter_manager/lib/map_filter.ts | 0 .../lib/mappers/map_combined.test.ts | 0 .../lib/mappers/map_combined.ts | 0 .../lib/mappers/map_default.test.ts | 0 .../filter_manager/lib/mappers/map_default.ts | 0 .../lib/mappers/map_exists.test.ts | 0 .../filter_manager/lib/mappers/map_exists.ts | 0 .../lib/mappers/map_match_all.test.ts | 0 .../lib/mappers/map_match_all.ts | 0 .../lib/mappers/map_phrase.test.ts | 0 .../filter_manager/lib/mappers/map_phrase.ts | 0 .../lib/mappers/map_phrases.test.ts | 0 .../filter_manager/lib/mappers/map_phrases.ts | 0 .../lib/mappers/map_query_string.test.ts | 0 .../lib/mappers/map_query_string.ts | 0 .../lib/mappers/map_range.test.ts | 0 .../filter_manager/lib/mappers/map_range.ts | 0 .../lib/mappers/map_spatial_filter.test.ts | 0 .../lib/mappers/map_spatial_filter.ts | 0 .../filter_manager/lib/sort_filters.test.ts | 0 .../query/filter_manager/lib/sort_filters.ts | 0 .../test_helpers/get_filters_array.ts | 0 .../test_helpers/get_stub_filter.ts | 0 .../shared}/data/public/query/index.tsx | 0 .../data/public/query/lib/add_to_query_log.ts | 0 .../public/query/lib/get_default_query.ts | 0 .../data/public/query/lib/get_query_log.ts | 0 .../shared}/data/public/query/lib/index.ts | 0 .../shared}/data/public/query/mocks.ts | 0 .../data/public/query/persisted_log/index.ts | 0 .../query/persisted_log/persisted_log.test.ts | 0 .../query/persisted_log/persisted_log.ts | 0 .../data/public/query/query_service.test.ts | 0 .../data/public/query/query_service.ts | 0 .../shared}/data/public/query/query_state.ts | 0 .../data/public/query/query_string/index.ts | 0 .../query_string/query_string_manager.mock.ts | 0 .../query_string/query_string_manager.test.ts | 0 .../query_string/query_string_manager.ts | 0 .../data/public/query/saved_query/index.ts | 0 .../saved_query/saved_query_service.test.ts | 0 .../query/saved_query/saved_query_service.ts | 0 .../data/public/query/saved_query/types.ts | 0 .../data/public/query/state_sync/README.md | 0 .../state_sync/connect_to_query_state.test.ts | 0 .../state_sync/connect_to_query_state.ts | 0 .../create_query_state_observable.ts | 0 .../data/public/query/state_sync/index.ts | 0 .../state_sync/sync_state_with_url.test.ts | 0 .../query/state_sync/sync_state_with_url.ts | 0 .../data/public/query/state_sync/types.ts | 0 .../data/public/query/timefilter/index.ts | 0 .../timefilter/lib/auto_refresh_loop.test.ts | 0 .../query/timefilter/lib/auto_refresh_loop.ts | 0 .../lib/diff_time_picker_vals.test.ts | 0 .../timefilter/lib/diff_time_picker_vals.ts | 0 .../timefilter/lib/page_visibility.test.ts | 0 .../query/timefilter/lib/page_visibility.ts | 0 .../timefilter/lib/validate_timerange.test.ts | 0 .../timefilter/lib/validate_timerange.ts | 0 .../public/query/timefilter/time_history.ts | 0 .../query/timefilter/timefilter.test.ts | 0 .../public/query/timefilter/timefilter.ts | 0 .../timefilter/timefilter_service.mock.ts | 0 .../query/timefilter/timefilter_service.ts | 0 .../data/public/query/timefilter/types.ts | 0 .../public/search/aggs/aggs_service.test.ts | 0 .../data/public/search/aggs/aggs_service.ts | 0 .../shared}/data/public/search/aggs/index.ts | 0 .../shared}/data/public/search/aggs/mocks.ts | 0 .../shared}/data/public/search/aggs/types.ts | 0 .../collectors/create_usage_collector.test.ts | 0 .../collectors/create_usage_collector.ts | 0 .../data/public/search/collectors/index.ts | 0 .../data/public/search/collectors/mocks.ts | 0 .../data/public/search/collectors/types.ts | 0 .../__snapshots__/eql.test.ts.snap | 0 .../__snapshots__/esdsl.test.ts.snap | 0 .../public/search/expressions/eql.test.ts | 0 .../data/public/search/expressions/eql.ts | 0 .../public/search/expressions/esaggs.test.ts | 0 .../data/public/search/expressions/esaggs.ts | 0 .../public/search/expressions/esdsl.test.ts | 0 .../data/public/search/expressions/esdsl.ts | 0 .../data/public/search/expressions/esql.ts | 0 .../data/public/search/expressions/essql.ts | 0 .../data/public/search/expressions/index.ts | 0 .../shared}/data/public/search/index.ts | 0 .../shared}/data/public/search/mocks.ts | 0 .../search_interceptor/create_request_hash.ts | 0 .../public/search/search_interceptor/index.ts | 0 .../search_abort_controller.test.ts | 0 .../search_abort_controller.ts | 0 .../search_interceptor.test.ts | 0 .../search_interceptor/search_interceptor.ts | 0 .../search_response_cache.test.ts | 0 .../search_response_cache.ts | 0 .../search_session_incomplete_warning.tsx | 0 .../search_interceptor/timeout_error.test.tsx | 0 .../search_interceptor/timeout_error.tsx | 0 .../to_partial_response.test.ts | 0 .../search_interceptor/to_partial_response.ts | 0 .../data/public/search/search_service.test.ts | 0 .../data/public/search/search_service.ts | 0 .../data/public/search/search_source/mocks.ts | 0 .../data/public/search/session/constants.ts | 0 .../data/public/search/session/i18n.ts | 0 .../data/public/search/session/index.ts | 0 .../session/lib/session_name_formatter.ts | 0 .../data/public/search/session/mocks.ts | 0 .../session/search_session_state.test.ts | 0 .../search/session/search_session_state.ts | 0 .../search_sessions_deprecation_message.tsx | 0 .../search/session/session_helpers.test.ts | 0 .../public/search/session/session_helpers.ts | 0 ...onnected_search_session_indicator.test.tsx | 0 .../connected_search_session_indicator.tsx | 0 .../index.ts | 0 .../search_session_tour.tsx | 0 .../search_session_view_state.ts | 0 .../search/session/session_indicator/index.ts | 0 .../components/index.ts | 0 .../components/search_session_name/index.ts | 0 .../search_session_name.tsx | 0 .../search_session_indicator/custom_icons.tsx | 0 .../search_session_indicator/index.tsx | 0 .../search_session_indicator.scss | 0 .../search_session_indicator.stories.tsx | 0 .../search_session_indicator.test.tsx | 0 .../search_session_indicator.tsx | 0 .../search/session/session_service.test.ts | 0 .../public/search/session/session_service.ts | 0 .../public/search/session/sessions_client.ts | 0 .../session/sessions_mgmt/__mocks__/index.tsx | 0 .../sessions_mgmt/application/index.tsx | 0 .../sessions_mgmt/application/render.tsx | 0 .../components/actions/delete_button.tsx | 0 .../components/actions/extend_button.tsx | 0 .../components/actions/get_action.tsx | 0 .../components/actions/index.tsx | 0 .../components/actions/inspect_button.scss | 0 .../components/actions/inspect_button.tsx | 0 .../components/actions/popover_actions.tsx | 0 .../components/actions/rename_button.tsx | 0 .../sessions_mgmt/components/actions/types.ts | 0 .../sessions_mgmt/components/index.tsx | 0 .../sessions_mgmt/components/main.test.tsx | 0 .../session/sessions_mgmt/components/main.tsx | 0 .../sessions_mgmt/components/status.test.tsx | 0 .../sessions_mgmt/components/status.tsx | 0 .../components/table/app_filter.tsx | 0 .../sessions_mgmt/components/table/index.ts | 0 .../components/table/status_filter.tsx | 0 .../components/table/table.test.tsx | 0 .../sessions_mgmt/components/table/table.tsx | 0 .../sessions_mgmt/icons/extend_session.svg | 0 .../search/session/sessions_mgmt/index.ts | 0 .../session/sessions_mgmt/lib/api.test.ts | 0 .../search/session/sessions_mgmt/lib/api.ts | 0 .../session/sessions_mgmt/lib/date_string.ts | 0 .../sessions_mgmt/lib/documentation.ts | 0 .../sessions_mgmt/lib/get_columns.test.tsx | 0 .../session/sessions_mgmt/lib/get_columns.tsx | 0 .../lib/get_expiration_status.ts | 0 .../search/session/sessions_mgmt/types.ts | 0 .../shared}/data/public/search/types.ts | 0 .../plugins/shared}/data/public/services.ts | 0 .../plugins/shared}/data/public/stubs.ts | 0 .../plugins/shared}/data/public/test_utils.ts | 0 .../public/triggers/apply_filter_trigger.ts | 0 .../shared}/data/public/triggers/index.ts | 0 .../plugins/shared}/data/public/types.ts | 0 .../data/public/utils/shallow_equal.ts | 0 .../table_inspector_view/_data_table.scss | 0 .../utils/table_inspector_view/_index.scss | 0 .../__snapshots__/data_view.test.tsx.snap | 0 .../components/data_table.tsx | 0 .../components/data_table_selector.tsx | 0 .../components/data_view.test.tsx | 0 .../components/data_view.tsx | 0 .../components/data_view_wrapper.tsx | 0 .../components/download_options.tsx | 0 .../utils/table_inspector_view/index.ts | 0 .../utils/table_inspector_view/types.ts | 0 .../plugins/shared}/data/server/config.ts | 0 .../data/server/config_deprecations.test.ts | 0 .../data/server/config_deprecations.ts | 0 .../shared}/data/server/data_views/index.ts | 0 .../shared}/data/server/data_views/mocks.ts | 0 .../datatable_utilities_service.ts | 0 .../data/server/datatable_utilities/index.ts | 0 .../data/server/datatable_utilities/mock.ts | 0 .../plugins/shared}/data/server/index.ts | 0 .../data/server/kql_telemetry/index.ts | 0 .../kql_telemetry/kql_telemetry_service.ts | 0 .../data/server/kql_telemetry/route.ts | 0 .../usage_collector/fetch.test.ts | 0 .../kql_telemetry/usage_collector/fetch.ts | 0 .../kql_telemetry/usage_collector/index.ts | 0 .../make_kql_usage_collector.test.ts | 0 .../make_kql_usage_collector.ts | 0 .../lib/get_request_aborted_signal.test.ts | 0 .../server/lib/get_request_aborted_signal.ts | 0 .../plugins/shared}/data/server/lib/index.ts | 0 .../plugins/shared}/data/server/mocks.ts | 0 .../plugins/shared}/data/server/plugin.ts | 0 .../shared}/data/server/query/index.ts | 0 .../data/server/query/query_service.ts | 0 .../query/route_handler_context.test.ts | 0 .../server/query/route_handler_context.ts | 0 .../shared}/data/server/query/route_types.ts | 0 .../shared}/data/server/query/routes.ts | 0 .../data/server/saved_objects/index.ts | 0 .../server/saved_objects/kql_telemetry.ts | 0 .../server/saved_objects/migrations/query.ts | 0 .../saved_objects/migrations/to_v7_12_0.ts | 0 .../data/server/saved_objects/query.test.ts | 0 .../data/server/saved_objects/query.ts | 0 .../saved_objects/schemas/kql_telemetry.ts | 0 .../server/saved_objects/schemas/query.ts | 0 .../saved_objects/schemas/search_telemetry.ts | 0 .../server/saved_objects/search_telemetry.ts | 0 .../shared}/data/server/scripts/index.ts | 0 .../shared}/data/server/scripts/route.ts | 0 .../data/server/scripts/scripts_service.ts | 0 .../shared}/data/server/search/README.md | 0 .../server/search/aggs/aggs_service.test.ts | 0 .../data/server/search/aggs/aggs_service.ts | 0 .../shared}/data/server/search/aggs/index.ts | 0 .../shared}/data/server/search/aggs/mocks.ts | 0 .../shared}/data/server/search/aggs/types.ts | 0 .../server/search/collectors/search/fetch.ts | 0 .../server/search/collectors/search/index.ts | 0 .../search/collectors/search/register.ts | 0 .../server/search/collectors/search/usage.ts | 0 .../collectors/search_session/fetch.test.ts | 0 .../search/collectors/search_session/fetch.ts | 0 .../search/collectors/search_session/index.ts | 0 .../collectors/search_session/register.ts | 0 .../search/errors/no_search_id_in_session.ts | 0 .../data/server/search/expressions/eql.ts | 0 .../server/search/expressions/esaggs.test.ts | 0 .../data/server/search/expressions/esaggs.ts | 0 .../data/server/search/expressions/esdsl.ts | 0 .../data/server/search/expressions/esql.ts | 0 .../data/server/search/expressions/essql.ts | 0 .../data/server/search/expressions/index.ts | 0 .../shared}/data/server/search/index.ts | 0 .../shared}/data/server/search/mocks.ts | 0 .../data/server/search/report_search_error.ts | 0 .../data/server/search/routes/index.ts | 0 .../server/search/routes/response_schema.ts | 0 .../server/search/routes/response_types.ts | 0 .../data/server/search/routes/search.test.ts | 0 .../data/server/search/routes/search.ts | 0 .../data/server/search/routes/session.test.ts | 0 .../data/server/search/routes/session.ts | 0 .../search/sanitize_request_params.test.ts | 0 .../server/search/sanitize_request_params.ts | 0 .../data/server/search/saved_objects/index.ts | 0 .../search/saved_objects/search_session.ts | 0 .../search_session_migration.test.ts | 0 .../saved_objects/search_session_migration.ts | 0 .../data/server/search/search_service.test.ts | 0 .../data/server/search/search_service.ts | 0 .../data/server/search/search_source/mocks.ts | 0 .../cached_ui_settings_client.test.ts | 0 .../services/cached_ui_settings_client.ts | 0 .../data/server/search/services/index.ts | 0 .../search/session/get_search_status.test.ts | 0 .../search/session/get_search_status.ts | 0 .../search/session/get_session_status.test.ts | 0 .../search/session/get_session_status.ts | 0 .../data/server/search/session/index.ts | 0 .../data/server/search/session/mocks.ts | 0 .../search/session/session_service.test.ts | 0 .../server/search/session/session_service.ts | 0 .../data/server/search/session/types.ts | 0 .../data/server/search/session/utils.test.ts | 0 .../data/server/search/session/utils.ts | 0 .../strategies/common/async_utils.test.ts | 0 .../search/strategies/common/async_utils.ts | 0 .../eql_search/eql_search_strategy.test.ts | 0 .../eql_search/eql_search_strategy.ts | 0 .../search/strategies/eql_search/index.ts | 0 .../strategies/eql_search/response_utils.ts | 0 .../search/strategies/eql_search/types.ts | 0 .../strategies/es_search/elasticsearch.ts | 0 .../es_search/es_search_strategy.test.ts | 0 .../es_search/es_search_strategy.ts | 0 .../search/strategies/es_search/index.ts | 0 .../es_search/request_utils.test.ts | 0 .../strategies/es_search/request_utils.ts | 0 .../ese_search/ese_search_strategy.test.ts | 0 .../ese_search/ese_search_strategy.ts | 0 .../search/strategies/ese_search/index.ts | 0 .../ese_search/request_utils.test.ts | 0 .../strategies/ese_search/request_utils.ts | 0 .../strategies/ese_search/response_utils.ts | 0 .../search/strategies/ese_search/types.ts | 0 .../esql_async_search_strategy.test.ts | 0 .../esql_async_search_strategy.ts | 0 .../strategies/esql_async_search/index.ts | 0 .../esql_async_search/response_utils.ts | 0 .../esql_search/esql_search_strategy.ts | 0 .../search/strategies/esql_search/index.ts | 0 .../search/strategies/sql_search/index.ts | 0 .../sql_search/request_utils.test.ts | 0 .../strategies/sql_search/request_utils.ts | 0 .../strategies/sql_search/response_utils.ts | 0 .../sql_search/sql_search_strategy.test.ts | 0 .../sql_search/sql_search_strategy.ts | 0 .../shared}/data/server/search/types.ts | 0 .../shared}/data/server/ui_settings.ts | 0 .../plugins/shared}/data/tsconfig.json | 4 +- .../shared}/expressions/.eslintrc.json | 0 .../shared}/expressions/README.asciidoc | 8 +- .../common/ast/build_expression.test.ts | 0 .../common/ast/build_expression.ts | 0 .../common/ast/build_function.test.ts | 0 .../expressions/common/ast/build_function.ts | 0 .../expressions/common/ast/format.test.ts | 0 .../shared}/expressions/common/ast/format.ts | 0 .../common/ast/format_expression.test.ts | 0 .../common/ast/format_expression.ts | 0 .../shared}/expressions/common/ast/index.ts | 0 .../expressions/common/ast/parse.test.ts | 0 .../shared}/expressions/common/ast/parse.ts | 0 .../common/ast/parse_expression.test.ts | 0 .../common/ast/parse_expression.ts | 0 .../shared}/expressions/common/ast/types.ts | 0 .../expressions/common/execution/container.ts | 0 .../execution/execution.abortion.test.ts | 0 .../common/execution/execution.test.ts | 0 .../expressions/common/execution/execution.ts | 0 .../execution/execution_contract.test.ts | 0 .../common/execution/execution_contract.ts | 0 .../expressions/common/execution/index.ts | 0 .../expressions/common/execution/types.ts | 0 .../__snapshots__/executor.test.ts.snap | 0 .../expressions/common/executor/container.ts | 0 .../executor/executor.execution.test.ts | 0 .../common/executor/executor.test.ts | 0 .../expressions/common/executor/executor.ts | 0 .../expressions/common/executor/index.ts | 0 .../common/expression_functions/arguments.ts | 0 .../expression_function.ts | 0 .../expression_function_parameter.ts | 0 .../expression_function_parameters.test.ts | 0 .../common/expression_functions/index.ts | 0 .../series_calculation_helpers.test.ts | 0 .../series_calculation_helpers.ts | 0 .../common/expression_functions/specs/clog.ts | 0 .../specs/create_table.ts | 0 .../specs/cumulative_sum.ts | 0 .../specs/cumulative_sum_fn.ts | 0 .../expression_functions/specs/derivative.ts | 0 .../specs/derivative_fn.ts | 0 .../common/expression_functions/specs/font.ts | 0 .../expression_functions/specs/index.ts | 0 .../expression_functions/specs/map_column.ts | 0 .../common/expression_functions/specs/math.ts | 0 .../expression_functions/specs/math_column.ts | 0 .../expression_functions/specs/math_fn.ts | 0 .../specs/moving_average.ts | 0 .../specs/moving_average_fn.ts | 0 .../specs/overall_metric.ts | 0 .../specs/overall_metric_fn.ts | 0 .../specs/tests/create_table.test.ts | 0 .../specs/tests/cumulative_sum.test.ts | 0 .../specs/tests/derivative.test.ts | 0 .../specs/tests/font.test.ts | 0 .../specs/tests/map_column.test.ts | 0 .../specs/tests/math.test.ts | 0 .../specs/tests/math_column.test.ts | 0 .../specs/tests/moving_average.test.ts | 0 .../specs/tests/overall_metric.test.ts | 0 .../specs/tests/theme.test.ts | 0 .../specs/tests/ui_setting.test.ts | 0 .../expression_functions/specs/tests/utils.ts | 0 .../specs/tests/var.test.ts | 0 .../specs/tests/var_set.test.ts | 0 .../expression_functions/specs/theme.ts | 0 .../expression_functions/specs/ui_setting.ts | 0 .../common/expression_functions/specs/var.ts | 0 .../expression_functions/specs/var_set.ts | 0 .../common/expression_functions/types.ts | 0 .../expression_renderer.ts | 0 .../expression_renderer_registry.ts | 0 .../common/expression_renderers/index.ts | 0 .../common/expression_renderers/types.ts | 0 .../expression_types/expression_type.test.ts | 0 .../expression_types/expression_type.ts | 0 .../common/expression_types/get_type.test.ts | 0 .../common/expression_types/get_type.ts | 0 .../common/expression_types/index.ts | 0 .../expression_types/serialize_provider.ts | 0 .../common/expression_types/specs/boolean.ts | 0 .../expression_types/specs/datatable.ts | 0 .../common/expression_types/specs/error.ts | 0 .../common/expression_types/specs/filter.ts | 0 .../common/expression_types/specs/image.ts | 0 .../common/expression_types/specs/index.ts | 0 .../common/expression_types/specs/null.ts | 0 .../common/expression_types/specs/num.ts | 0 .../common/expression_types/specs/number.ts | 0 .../expression_types/specs/pointseries.ts | 0 .../common/expression_types/specs/range.ts | 0 .../common/expression_types/specs/render.ts | 0 .../common/expression_types/specs/shape.ts | 0 .../common/expression_types/specs/string.ts | 0 .../common/expression_types/specs/style.ts | 0 .../specs/tests/number.test.ts | 0 .../specs/tests/ui_setting.test.ts | 0 .../expression_types/specs/ui_setting.ts | 0 .../common/expression_types/types.ts | 0 .../unbox_expression_value.test.ts | 0 .../unbox_expression_value.ts | 0 .../shared}/expressions/common/fonts.ts | 0 .../shared}/expressions/common/index.ts | 0 .../shared}/expressions/common/mocks.ts | 0 .../common/service/expressions_fork.ts | 0 .../service/expressions_services.test.ts | 0 .../common/service/expressions_services.ts | 0 .../expressions/common/service/index.ts | 0 .../test_helpers/create_unit_test_executor.ts | 0 .../expression_functions/access.ts | 0 .../test_helpers/expression_functions/add.ts | 0 .../expression_functions/error.ts | 0 .../expression_functions/index.ts | 0 .../introspect_context.ts | 0 .../test_helpers/expression_functions/mult.ts | 0 .../expression_functions/sleep.ts | 0 .../test_helpers/expression_functions/sum.ts | 0 .../expressions/common/test_helpers/index.ts | 0 .../expressions/common/types/common.ts | 0 .../shared}/expressions/common/types/index.ts | 0 .../expressions/common/types/registry.ts | 0 .../shared}/expressions/common/types/style.ts | 0 .../util/create_default_inspector_adapters.ts | 0 .../expressions/common/util/create_error.ts | 0 .../util/expressions_inspector_adapter.ts | 0 .../expressions/common/util/get_by_alias.ts | 0 .../shared}/expressions/common/util/index.ts | 0 .../expressions/common/util/tables_adapter.ts | 0 .../expressions/common/util/test_utils.ts | 0 .../plugins/shared/expressions/jest.config.js | 20 ++ .../plugins/shared}/expressions/kibana.jsonc | 0 .../public/_expression_renderer.scss | 0 .../public/expression_functions/index.ts | 0 .../public/expression_functions/ui_setting.ts | 0 .../shared}/expressions/public/index.scss | 0 .../shared}/expressions/public/index.ts | 0 .../shared}/expressions/public/loader.test.ts | 2 +- .../shared}/expressions/public/loader.ts | 0 .../shared}/expressions/public/mocks.tsx | 0 .../shared}/expressions/public/plugin.test.ts | 0 .../shared}/expressions/public/plugin.ts | 0 .../public/react_expression_renderer/index.ts | 0 .../react_expression_renderer.test.tsx | 0 .../react_expression_renderer.tsx | 0 .../shallow_equal.d.ts | 0 .../use_debounced_value.test.ts | 0 .../use_debounced_value.ts | 0 .../use_expression_renderer.test.ts | 0 .../use_expression_renderer.ts | 0 .../use_shallow_memo.test.ts | 0 .../use_shallow_memo.ts | 0 .../react_expression_renderer_wrapper.tsx | 0 .../shared}/expressions/public/render.test.ts | 0 .../shared}/expressions/public/render.ts | 0 .../public/render_error_handler.ts | 0 .../public/services/expressions_services.ts | 0 .../expressions/public/services/index.ts | 0 .../shared}/expressions/public/types/index.ts | 0 .../server/expression_functions/index.ts | 0 .../server/expression_functions/ui_setting.ts | 0 .../shared}/expressions/server/index.ts | 0 .../shared}/expressions/server/mocks.ts | 0 .../shared}/expressions/server/plugin.test.ts | 0 .../shared}/expressions/server/plugin.ts | 0 .../server/services/expressions_services.ts | 0 .../expressions/server/services/index.ts | 0 .../plugins/shared}/expressions/tsconfig.json | 2 +- .../shared/telemetry/schema/oss_platform.json | 39 +++ .../shared/telemetry/schema/oss_plugins.json | 42 +-- .../shared}/unified_search/.storybook/main.js | 0 .../plugins/shared}/unified_search/README.md | 0 .../shared/unified_search}/jest.config.js | 9 +- .../shared}/unified_search/kibana.jsonc | 0 .../public/__stories__/search_bar.stories.tsx | 0 .../public/actions/apply_filter_action.ts | 0 .../unified_search/public/actions/index.ts | 0 .../update_filter_references_action.test.ts | 0 .../update_filter_references_action.ts | 0 .../apply_filter_popover_content.tsx | 0 .../apply_filters/apply_filters_popover.tsx | 0 .../public/apply_filters/index.ts | 0 .../autocomplete/autocomplete_service.ts | 0 .../collectors/create_usage_collector.ts | 0 .../public/autocomplete/collectors/index.ts | 0 .../public/autocomplete/collectors/types.ts | 0 .../public/autocomplete/index.ts | 0 .../providers/kql_query_suggestion/README.md | 0 .../__fixtures__/index_pattern_response.json | 0 .../kql_query_suggestion/async_loads.ts | 0 .../kql_query_suggestion/conjunction.test.ts | 0 .../kql_query_suggestion/conjunction.tsx | 0 .../kql_query_suggestion/field.test.ts | 0 .../providers/kql_query_suggestion/field.tsx | 0 .../providers/kql_query_suggestion/index.ts | 0 .../kql_query_suggestion/operator.test.ts | 0 .../kql_query_suggestion/operator.tsx | 0 .../sort_prefix_first.test.ts | 0 .../kql_query_suggestion/sort_prefix_first.ts | 0 .../providers/kql_query_suggestion/types.ts | 0 .../kql_query_suggestion/value.test.ts | 0 .../providers/kql_query_suggestion/value.ts | 0 .../providers/query_suggestion_provider.ts | 0 .../value_suggestion_provider.test.ts | 0 .../providers/value_suggestion_provider.ts | 0 .../public/dataview_picker/assets/adhoc.svg | 0 .../dataview_picker/change_dataview.styles.ts | 0 .../dataview_picker/change_dataview.test.tsx | 0 .../dataview_picker/change_dataview.tsx | 0 .../dataview_picker/data_view_picker.tsx | 0 .../dataview_picker/data_view_selector.tsx | 0 .../dataview_picker/dataview_list.test.tsx | 0 .../public/dataview_picker/dataview_list.tsx | 0 .../explore_matching_button.tsx | 0 .../public/dataview_picker/index.tsx | 0 .../public/dataview_picker/mocks/dataview.ts | 0 .../dataview_picker/sorting_service.test.ts | 0 .../public/dataview_picker/sorting_service.ts | 0 .../filter_badge/filter_badge.styles.ts | 0 .../public/filter_badge/filter_badge.tsx | 0 .../filter_badge_error_boundary.tsx | 0 .../filter_badge/filter_badge_expression.tsx | 0 .../filter_badge/filter_badge_group.tsx | 0 .../filter_badge/filter_badge_invalid.tsx | 0 .../filter_content.test.tsx.snap | 0 .../filter_content/filter_content.test.tsx | 0 .../filter_content/filter_content.tsx | 0 .../filter_badge/filter_content/index.ts | 0 .../public/filter_badge/i18n.ts | 0 .../public/filter_badge/index.ts | 0 .../public/filter_bar/filter_bar.styles.ts | 0 .../public/filter_bar/filter_bar.tsx | 0 .../filter_button_group.scss | 0 .../filter_button_group.tsx | 0 .../filter_editor/close_confirm_modal.tsx | 0 .../filter_editor/filter_editor.styles.ts | 0 .../filter_editor/filter_editor.test.tsx | 0 .../filter_editor/filter_editor.tsx | 0 .../filter_editor_builder.test.tsx | 0 .../filter_editor/generic_combo_box.styles.ts | 0 .../filter_editor/generic_combo_box.tsx | 0 .../public/filter_bar/filter_editor/index.ts | 0 .../lib/filter_editor_utils.test.ts | 0 .../filter_editor/lib/filter_editor_utils.ts | 0 .../filter_editor/lib/filter_operators.ts | 0 .../filter_editor/lib/helpers.test.ts | 0 .../filter_bar/filter_editor/lib/helpers.ts | 0 .../filter_bar/filter_editor/lib/index.ts | 0 .../filter_editor/phrase_suggestor.tsx | 0 .../filter_editor/phrase_value_input.tsx | 0 .../phrases_values_input.styles.ts | 0 .../filter_editor/phrases_values_input.tsx | 0 .../filter_editor/range_value_input.tsx | 0 .../filter_editor/value_input_type.tsx | 0 .../with_close_confirm_modal.tsx | 0 .../filter_bar/filter_item/_variables.scss | 0 .../filter_bar/filter_item/filter_item.scss | 0 .../filter_bar/filter_item/filter_item.tsx | 0 .../filter_bar/filter_item/filter_items.tsx | 0 .../public/filter_bar/filter_view/index.tsx | 0 .../public/filter_bar/index.tsx | 0 .../filters_builder/__mock__/filters.ts | 0 .../__stories__/filter_builder.stories.tsx | 0 .../public/filters_builder/assets/add.svg | 0 .../public/filters_builder/assets/or.svg | 0 .../public/filters_builder/context.ts | 0 .../filters_builder/filter_group.styles.ts | 0 .../public/filters_builder/filter_group.tsx | 0 .../filter_item/actions/action_strings.ts | 0 .../filter_item/actions/actions.tsx | 0 .../filter_item/actions/index.tsx | 0 .../filter_item/actions/minimised_actions.tsx | 0 .../filter_item/actions/types.ts | 0 .../filter_item/field_input.tsx | 0 .../filter_item/filter_item.styles.ts | 0 .../filter_item/filter_item.tsx | 0 .../filters_builder/filter_item/index.ts | 0 .../filter_item/operator_input.tsx | 0 .../filter_item/params_editor.tsx | 0 .../filter_item/params_editor_input.tsx | 0 .../filters_builder/filter_item/tooltip.tsx | 0 .../filters_builder/filters_builder.styles.ts | 0 .../filters_builder/filters_builder.tsx | 0 .../public/filters_builder/index.ts | 0 .../public/filters_builder/reducer.ts | 0 .../public/filters_builder/types.ts | 0 .../utils/filters_builder.test.ts | 0 .../filters_builder/utils/filters_builder.ts | 0 .../public/filters_builder/utils/index.ts | 0 .../shared}/unified_search/public/index.scss | 0 .../shared}/unified_search/public/index.ts | 0 .../create_index_pattern_select.tsx | 0 .../public/index_pattern_select/index.tsx | 0 .../index_pattern_select.tsx | 0 .../public/mocks/esql_editor.tsx | 0 .../public/mocks/get_stub_filter.ts | 0 .../unified_search/public/mocks/index.ts | 0 .../unified_search/public/mocks/mocks.ts | 0 .../shared}/unified_search/public/plugin.ts | 0 .../query_string_input/add_filter_popover.tsx | 0 .../esql_menu_popover.test.tsx | 0 .../query_string_input/esql_menu_popover.tsx | 0 .../fetch_index_patterns.ts | 0 .../filter_editor_wrapper.tsx | 0 .../query_string_input/from_user.test.ts | 0 .../public/query_string_input/from_user.ts | 0 .../get_query_string_input.tsx | 0 .../public/query_string_input/index.tsx | 0 .../language_switcher.test.tsx | 0 .../query_string_input/language_switcher.tsx | 0 .../public/query_string_input/match_pairs.ts | 0 .../no_data_popover.test.tsx | 0 .../query_string_input/no_data_popover.tsx | 0 .../public/query_string_input/panel_title.tsx | 0 .../public/query_string_input/query_bar.scss | 0 .../query_bar_menu.test.tsx | 0 .../query_string_input/query_bar_menu.tsx | 0 .../query_bar_menu_panels.tsx | 0 .../query_bar_top_row.test.tsx | 0 .../query_string_input/query_bar_top_row.tsx | 0 .../query_string_input.scss | 0 .../query_string_input.test.mocks.ts | 0 .../query_string_input.test.tsx | 0 .../query_string_input/query_string_input.tsx | 0 .../public/query_string_input/to_user.test.ts | 0 .../public/query_string_input/to_user.ts | 0 .../public/saved_query_form/index.ts | 0 .../saved_query_form/save_query_form.tsx | 0 .../public/saved_query_management/index.ts | 0 .../saved_query_management_list.scss | 0 .../saved_query_management_list.test.tsx | 0 .../saved_query_management_list.tsx | 0 .../public/search_bar/create_search_bar.tsx | 0 .../public/search_bar/index.tsx | 0 .../lib/can_show_saved_query.test.ts | 0 .../search_bar/lib/can_show_saved_query.ts | 0 .../search_bar/lib/clear_saved_query.test.ts | 0 .../search_bar/lib/clear_saved_query.ts | 0 .../populate_state_from_saved_query.test.ts | 0 .../lib/populate_state_from_saved_query.ts | 0 .../search_bar/lib/use_filter_manager.ts | 0 .../lib/use_query_string_manager.ts | 0 .../public/search_bar/lib/use_saved_query.ts | 0 .../public/search_bar/lib/use_timefilter.ts | 0 .../public/search_bar/search_bar.styles.ts | 0 .../public/search_bar/search_bar.test.tsx | 0 .../public/search_bar/search_bar.tsx | 0 .../shared}/unified_search/public/services.ts | 0 .../unified_search/public/triggers/index.ts | 0 .../update_filter_references_trigger.ts | 0 .../suggestion_component.test.tsx.snap | 0 .../public/typeahead/_suggestion.scss | 0 .../public/typeahead/constants.ts | 0 .../unified_search/public/typeahead/index.tsx | 0 .../typeahead/suggestion_component.test.tsx | 0 .../public/typeahead/suggestion_component.tsx | 0 .../typeahead/suggestions_component.test.tsx | 0 .../typeahead/suggestions_component.tsx | 0 .../unified_search/public/typeahead/types.ts | 0 .../shared}/unified_search/public/types.ts | 0 .../public/utils/combined_filter.ts | 0 .../unified_search/public/utils/index.ts | 0 .../unified_search/public/utils/on_raf.ts | 0 .../public/utils/shallow_equal.ts | 0 .../autocomplete/autocomplete_service.ts | 0 .../server/autocomplete/index.ts | 0 .../server/autocomplete/routes.ts | 0 .../server/autocomplete/terms_agg.test.ts | 0 .../server/autocomplete/terms_agg.ts | 0 .../server/autocomplete/terms_enum.test.ts | 0 .../server/autocomplete/terms_enum.ts | 0 .../autocomplete/value_suggestions_route.ts | 0 .../shared}/unified_search/server/config.ts | 0 .../server/config_deprecations.test.ts | 0 .../server/config_deprecations.ts | 0 .../unified_search/server/data_views/index.ts | 0 .../shared}/unified_search/server/index.ts | 0 .../shared}/unified_search/server/mocks.ts | 0 .../shared}/unified_search/server/plugin.ts | 0 .../shared}/unified_search/tsconfig.json | 2 +- .../common/__mocks__/index_patterns_utils.ts | 0 .../timeseries/common/agg_utils.test.ts | 0 .../vis_types/timeseries/common/agg_utils.ts | 0 .../vis_types/timeseries/common/basic_aggs.ts | 0 .../timeseries/common/calculate_label.test.ts | 0 .../timeseries/common/calculate_label.ts | 0 .../common/check_ui_restrictions.ts | 0 .../vis_types/timeseries/common/constants.ts | 0 .../timeseries/common/empty_label.test.ts | 0 .../timeseries/common/empty_label.ts | 0 .../timeseries/common/enums/index.ts | 0 .../timeseries/common/enums/metric_types.ts | 0 .../timeseries/common/enums/model_types.ts | 0 .../timeseries/common/enums/panel_types.ts | 0 .../common/enums/timerange_data_modes.ts | 0 .../vis_types/timeseries/common/errors.ts | 0 .../timeseries/common/fields_utils.test.ts | 0 .../timeseries/common/fields_utils.ts | 0 .../common/index_patterns_utils.test.ts | 0 .../timeseries/common/index_patterns_utils.ts | 0 .../timeseries/common/interval_regexp.test.ts | 0 .../timeseries/common/interval_regexp.ts | 0 .../common/last_value_utils.test.ts | 0 .../timeseries/common/last_value_utils.ts | 0 .../timeseries/common/operators_utils.test.ts | 0 .../timeseries/common/operators_utils.ts | 0 .../timeseries/common/to_percentile_number.ts | 0 .../timeseries/common/types/color_rules.ts | 0 .../timeseries/common/types/index.ts | 0 .../timeseries/common/types/panel_model.ts | 0 .../timeseries/common/types/vis_data.ts | 0 .../timeseries/common/ui_restrictions.ts | 0 .../timeseries/common/validate_interval.ts | 0 .../timeseries/common/vis_data_utils.ts | 0 .../vis_types/timeseries/jest.config.js | 20 ++ .../shared}/vis_types/timeseries/kibana.jsonc | 0 .../components/_annotations_editor.scss | 0 .../public/application/components/_error.scss | 0 .../components/_markdown_editor.scss | 0 .../components/_series_editor.scss | 0 .../components/_vis_editor_visualization.scss | 0 .../components/_vis_with_splits.scss | 0 .../components/add_delete_buttons.test.tsx | 0 .../components/add_delete_buttons.tsx | 0 .../application/components/aggs/agg.tsx | 0 .../application/components/aggs/agg_row.tsx | 0 .../components/aggs/agg_select.test.tsx | 0 .../components/aggs/agg_select.tsx | 0 .../application/components/aggs/aggs.tsx | 0 .../components/aggs/calculation.js | 0 .../components/aggs/cumulative_sum.js | 0 .../application/components/aggs/derivative.js | 0 .../aggs/field_select/field_select.tsx | 0 .../aggs/field_select/field_select_item.tsx | 0 .../aggs/field_select/field_select_utils.ts | 0 .../components/aggs/field_select/index.ts | 0 .../aggs/field_select/multi_field_select.tsx | 0 .../components/aggs/filter_ratio.js | 0 .../components/aggs/filter_ratio.test.js | 0 .../components/aggs/histogram_support.test.js | 0 .../components/aggs/invalid_agg.tsx | 0 .../application/components/aggs/math.js | 2 +- .../components/aggs/metric_select.js | 0 .../components/aggs/moving_average.js | 0 .../application/components/aggs/percentile.js | 0 .../components/aggs/percentile_hdr.tsx | 0 .../components/aggs/percentile_rank/index.js | 0 .../percentile_rank/multi_value_row.test.tsx | 0 .../aggs/percentile_rank/multi_value_row.tsx | 0 .../aggs/percentile_rank/percentile_rank.tsx | 0 .../percentile_rank_values.tsx | 0 .../components/aggs/percentile_ui.js | 0 .../components/aggs/percentile_ui.test.tsx | 0 .../components/aggs/positive_only.js | 0 .../components/aggs/positive_rate.js | 0 .../components/aggs/serial_diff.js | 0 .../application/components/aggs/series_agg.js | 0 .../application/components/aggs/static.js | 0 .../application/components/aggs/std_agg.js | 0 .../components/aggs/std_deviation.js | 0 .../components/aggs/std_sibling.js | 0 .../application/components/aggs/top_hit.js | 0 .../application/components/aggs/vars.js | 0 .../application/components/annotation_row.tsx | 0 .../components/annotations_editor.tsx | 0 .../components/color_picker.test.tsx | 0 .../application/components/color_picker.tsx | 0 .../components/color_rules.test.tsx | 0 .../application/components/color_rules.tsx | 0 .../components/data_format_picker.tsx | 0 .../public/application/components/error.js | 0 .../__snapshots__/icon_select.test.js.snap | 0 .../components/icon_select/icon_select.js | 0 .../icon_select/icon_select.test.js | 0 .../application/components/index_pattern.js | 0 .../components/last_value_mode_indicator.tsx | 0 .../components/last_value_mode_popover.scss | 0 .../components/last_value_mode_popover.tsx | 0 .../components/lib/agg_to_component.js | 0 .../components/lib/calculate_siblings.js | 0 .../components/lib/calculate_siblings.test.js | 0 .../lib/check_if_numeric_metric.test.ts | 0 .../components/lib/check_if_numeric_metric.ts | 0 ...eck_if_series_have_same_formatters.test.ts | 0 .../check_if_series_have_same_formatters.ts | 0 .../components/lib/collection_actions.test.ts | 0 .../components/lib/collection_actions.ts | 0 .../lib/convert_series_to_datatable.test.ts | 0 .../lib/convert_series_to_datatable.ts | 0 .../components/lib/convert_series_to_vars.js | 0 .../lib/convert_series_to_vars.test.js | 0 .../components/lib/create_change_handler.js | 0 .../lib/create_field_formatter.test.ts | 0 .../components/lib/create_field_formatter.ts | 0 .../lib/create_interval_based_formatter.ts | 0 .../lib/create_number_handler.test.ts | 0 .../components/lib/create_number_handler.ts | 0 .../lib/create_select_handler.test.ts | 0 .../components/lib/create_select_handler.ts | 0 .../lib/create_text_handler.test.ts | 0 .../components/lib/create_text_handler.ts | 0 .../components/lib/durations.test.ts | 0 .../application/components/lib/durations.ts | 0 .../lib/external_url_error_modal.tsx | 0 .../components/lib/get_axis_label_string.js | 0 .../lib/get_axis_label_string.test.js | 0 .../lib/get_click_filter_data.test.ts | 0 .../components/lib/get_click_filter_data.ts | 0 .../lib/get_default_query_language.ts | 0 .../components/lib/get_display_name.js | 0 .../components/lib/get_formatter_type.test.ts | 0 .../components/lib/get_formatter_type.ts | 0 .../components/lib/get_interval.ts | 0 .../components/lib/get_metrics_field.test.ts | 0 .../components/lib/get_metrics_field.ts | 0 .../get_supported_fields_by_metric_type.js | 0 ...et_supported_fields_by_metric_type.test.js | 0 .../index_pattern_select/combo_box_select.tsx | 0 .../field_text_select.tsx | 0 .../lib/index_pattern_select/index.ts | 0 .../index_pattern_select.tsx | 0 .../switch_mode_popover.tsx | 0 .../lib/index_pattern_select/types.ts | 0 .../components/lib/new_metric_agg_fn.ts | 0 .../components/lib/new_series_fn.js | 0 .../components/lib/re_id_series.js | 0 .../components/lib/re_id_series.test.js | 0 .../application/components/lib/reorder.ts | 0 .../components/lib/replace_vars.test.ts | 0 .../components/lib/replace_vars.ts | 0 .../components/lib/series_change_handler.js | 0 .../application/components/lib/stacked.js | 0 .../components/lib/tick_formatter.js | 0 .../components/lib/tick_formatter.test.js | 0 .../application/components/lib/types.ts | 0 .../application/components/markdown_editor.js | 0 .../components/palette_picker.test.tsx | 0 .../application/components/palette_picker.tsx | 0 .../panel_config/_panel_config.scss | 0 .../components/panel_config/gauge.test.tsx | 0 .../components/panel_config/gauge.tsx | 0 .../components/panel_config/index.ts | 0 .../components/panel_config/markdown.tsx | 0 .../components/panel_config/metric.tsx | 0 .../components/panel_config/panel_config.tsx | 0 .../components/panel_config/table.tsx | 0 .../panel_config/timeseries.test.tsx | 0 .../components/panel_config/timeseries.tsx | 0 .../components/panel_config/top_n.tsx | 0 .../components/panel_config/types.ts | 0 .../components/query_bar_wrapper.tsx | 0 .../application/components/render_counter.tsx | 0 .../public/application/components/series.js | 0 .../application/components/series_config.js | 0 ...fig_query_bar_with_ignore_global_filter.js | 0 .../components/series_drag_handler.tsx | 0 .../application/components/series_editor.js | 0 .../public/application/components/split.js | 0 .../splits/__snapshots__/terms.test.js.snap | 0 .../components/splits/everything.js | 0 .../application/components/splits/filter.js | 0 .../components/splits/filter_items.js | 0 .../application/components/splits/filters.js | 0 .../components/splits/group_by_select.tsx | 0 .../application/components/splits/terms.js | 0 .../components/splits/terms.test.js | 0 .../components/splits/unsupported_split.js | 0 .../application/components/svg/bomb_icon.js | 0 .../application/components/svg/fire_icon.js | 0 .../components/timeseries_loading.tsx | 0 .../components/timeseries_visualization.scss | 0 .../components/timeseries_visualization.tsx | 0 .../use_index_patter_mode_callout.tsx | 0 .../application/components/vis_editor.tsx | 0 .../components/vis_editor_lazy.tsx | 0 .../components/vis_editor_visualization.js | 0 .../application/components/vis_picker.tsx | 0 .../components/vis_types/_vis_types.scss | 0 .../components/vis_types/gauge/series.js | 0 .../components/vis_types/gauge/series.test.js | 0 .../components/vis_types/gauge/vis.js | 0 .../application/components/vis_types/index.ts | 0 .../vis_types/markdown/_markdown.scss | 0 .../components/vis_types/markdown/series.js | 0 .../components/vis_types/markdown/vis.js | 0 .../components/vis_types/metric/series.js | 0 .../vis_types/metric/series.test.js | 0 .../components/vis_types/metric/vis.js | 0 .../components/vis_types/table/config.js | 0 .../components/vis_types/table/is_sortable.js | 0 .../components/vis_types/table/series.js | 0 .../components/vis_types/table/vis.js | 0 .../components/vis_types/timeseries/config.js | 0 .../components/vis_types/timeseries/series.js | 0 .../components/vis_types/timeseries/vis.js | 0 .../vis_types/timeseries/vis.test.js | 0 .../components/vis_types/top_n/series.js | 0 .../components/vis_types/top_n/vis.js | 0 .../application/components/vis_with_splits.js | 0 .../application/components/yes_no.test.tsx | 0 .../public/application/components/yes_no.tsx | 0 .../contexts/form_validation_context.ts | 0 .../contexts/panel_model_context.ts | 0 .../contexts/query_input_bar_context.ts | 0 .../application/contexts/vis_data_context.ts | 0 .../public/application/editor_controller.tsx | 0 .../lib/compute_gradient_final_color.test.ts | 0 .../lib/compute_gradient_final_color.ts | 0 .../public/application/lib/fetch_fields.ts | 0 .../lib/get_split_by_terms_color.test.ts | 0 .../lib/get_split_by_terms_color.ts | 0 .../public/application/lib/rainbow_colors.ts | 0 .../public/application/lib/set_is_reversed.js | 0 .../application/styles/common.styles.ts | 0 .../visualizations/constants/chart.ts | 0 .../visualizations/constants/icons.ts | 0 .../visualizations/constants/index.ts | 0 .../visualizations/lib/calc_dimensions.js | 0 .../lib/calculate_coordinates.js | 0 .../visualizations/lib/get_value_by.js | 0 .../visualizations/views/_annotation.scss | 0 .../visualizations/views/_gauge.scss | 0 .../visualizations/views/_metric.scss | 0 .../visualizations/views/_top_n.scss | 0 .../visualizations/views/_variables.scss | 0 .../visualizations/views/annotation.js | 0 .../application/visualizations/views/gauge.js | 0 .../visualizations/views/gauge_vis.js | 0 .../visualizations/views/metric.js | 0 .../__snapshots__/area_decorator.test.js.snap | 0 .../__snapshots__/bar_decorator.test.js.snap | 0 .../timeseries/decorators/area_decorator.js | 0 .../decorators/area_decorator.test.js | 0 .../timeseries/decorators/bar_decorator.js | 0 .../decorators/bar_decorator.test.js | 0 .../visualizations/views/timeseries/index.js | 0 .../model/__snapshots__/charts.test.js.snap | 0 .../views/timeseries/model/charts.js | 0 .../views/timeseries/model/charts.test.js | 0 .../__snapshots__/series_styles.test.js.snap | 0 .../utils/series_domain_calculation.ts | 0 .../utils/series_domain_calculations.test.ts | 0 .../views/timeseries/utils/series_styles.js | 0 .../timeseries/utils/series_styles.test.js | 0 .../views/timeseries/utils/stack_format.js | 0 .../timeseries/utils/stack_format.test.js | 0 .../views/timeseries/utils/theme.test.ts | 0 .../views/timeseries/utils/theme.ts | 0 .../application/visualizations/views/top_n.js | 0 .../convert_to_lens/gauge/index.test.ts | 0 .../public/convert_to_lens/gauge/index.ts | 0 .../public/convert_to_lens/index.test.ts | 0 .../public/convert_to_lens/index.ts | 0 .../convert_to_lens/lib/__mocks__/index.ts | 0 .../lib/configurations/index.ts | 0 .../lib/configurations/metric/index.test.ts | 0 .../lib/configurations/metric/index.ts | 0 .../lib/configurations/palette/index.test.ts | 0 .../lib/configurations/palette/index.ts | 0 .../lib/configurations/table/index.test.ts | 0 .../lib/configurations/table/index.ts | 0 .../lib/configurations/xy/chart_type.ts | 0 .../configurations/xy/configuration.test.ts | 0 .../lib/configurations/xy/configuration.ts | 0 .../lib/configurations/xy/extents.test.ts | 0 .../lib/configurations/xy/extents.ts | 0 .../lib/configurations/xy/index.ts | 0 .../lib/configurations/xy/layers.test.ts | 0 .../lib/configurations/xy/layers.ts | 0 .../lib/convert/column.test.ts | 0 .../convert_to_lens/lib/convert/column.ts | 0 .../lib/convert/counter_rate.test.ts | 0 .../lib/convert/counter_rate.ts | 0 .../lib/convert/cumulative_sum.test.ts | 0 .../lib/convert/cumulative_sum.ts | 0 .../lib/convert/date_histogram.test.ts | 0 .../lib/convert/date_histogram.ts | 0 .../lib/convert/filter_ratio.test.ts | 0 .../lib/convert/filter_ratio.ts | 0 .../lib/convert/filters.test.ts | 0 .../convert_to_lens/lib/convert/filters.ts | 0 .../lib/convert/formula.test.ts | 0 .../convert_to_lens/lib/convert/formula.ts | 0 .../convert_to_lens/lib/convert/index.ts | 0 .../lib/convert/last_value.test.ts | 0 .../convert_to_lens/lib/convert/last_value.ts | 0 .../lib/convert/moving_average.test.ts | 0 .../lib/convert/moving_average.ts | 0 .../lib/convert/parent_pipeline.test.ts | 0 .../lib/convert/parent_pipeline.ts | 0 .../lib/convert/percentile.test.ts | 0 .../convert_to_lens/lib/convert/percentile.ts | 0 .../lib/convert/percentile_rank.test.ts | 0 .../lib/convert/percentile_rank.ts | 0 .../lib/convert/static_value.test.ts | 0 .../lib/convert/static_value.ts | 0 .../lib/convert/std_deviation.test.ts | 0 .../lib/convert/std_deviation.ts | 0 .../convert_to_lens/lib/convert/terms.test.ts | 0 .../convert_to_lens/lib/convert/terms.ts | 0 .../convert_to_lens/lib/convert/types.ts | 0 .../lib/convert/variance.test.ts | 0 .../convert_to_lens/lib/convert/variance.ts | 0 .../lib/datasource/datasource_info.test.ts | 0 .../lib/datasource/datasource_info.ts | 0 .../convert_to_lens/lib/datasource/index.ts | 0 .../lib/metrics/counter_rate_formula.test.ts | 0 .../lib/metrics/counter_rate_formula.ts | 0 .../lib/metrics/filter_ratio_formula.test.ts | 0 .../lib/metrics/filter_ratio_formula.ts | 0 .../convert_to_lens/lib/metrics/index.ts | 0 .../lib/metrics/metrics_helpers.test.ts | 0 .../lib/metrics/metrics_helpers.ts | 0 .../lib/metrics/pipeline_formula.test.ts | 0 .../lib/metrics/pipeline_formula.ts | 0 .../lib/metrics/supported_metrics.ts | 0 .../lib/metrics/validate_metrics.test.ts | 0 .../lib/metrics/validate_metrics.ts | 0 .../lib/series/buckets_columns.test.ts | 0 .../lib/series/buckets_columns.ts | 0 .../lib/series/columns.test.ts | 0 .../convert_to_lens/lib/series/columns.ts | 0 .../convert_to_lens/lib/series/index.ts | 0 .../lib/series/metrics_columns.test.ts | 0 .../lib/series/metrics_columns.ts | 0 .../convert_to_lens/lib/series/series_agg.ts | 0 .../convert_to_lens/metric/index.test.ts | 0 .../public/convert_to_lens/metric/index.ts | 0 .../convert_to_lens/table/index.test.ts | 0 .../public/convert_to_lens/table/index.ts | 0 .../convert_to_lens/timeseries/index.test.ts | 0 .../convert_to_lens/timeseries/index.ts | 0 .../convert_to_lens/top_n/index.test.ts | 0 .../public/convert_to_lens/top_n/index.ts | 0 .../public/convert_to_lens/types.ts | 0 .../public/convert_to_lens/utils.test.ts | 0 .../public/convert_to_lens/utils.ts | 0 .../vis_types/timeseries/public/index.ts | 0 .../vis_types/timeseries/public/metrics_fn.ts | 0 .../timeseries/public/metrics_type.test.ts | 0 .../timeseries/public/metrics_type.ts | 0 .../vis_types/timeseries/public/plugin.ts | 0 .../timeseries/public/request_handler.ts | 0 .../vis_types/timeseries/public/services.ts | 0 .../timeseries/public/test_utils/index.ts | 0 .../public/timeseries_vis_renderer.tsx | 0 .../vis_types/timeseries/public/to_ast.ts | 0 .../vis_types/timeseries/public/types.ts | 0 .../timeseries/public/vis_state.test.ts | 0 .../vis_types/timeseries/server/config.ts | 0 .../vis_types/timeseries/server/index.ts | 0 .../timeseries/server/lib/get_fields.ts | 0 .../timeseries/server/lib/get_vis_data.ts | 0 .../default_search_capabilities.test.ts | 0 .../default_search_capabilities.ts | 0 .../rollup_search_capabilities.test.ts | 0 .../rollup_search_capabilities.ts | 0 .../server/lib/search_strategies/index.ts | 0 .../lib/cached_index_pattern_fetcher.test.ts | 0 .../lib/cached_index_pattern_fetcher.ts | 0 .../search_strategies/lib/fields_fetcher.ts | 0 .../lib/interval_helper.test.ts | 0 .../search_strategies/lib/interval_helper.ts | 0 .../search_strategies_registry.test.ts | 0 .../search_strategy_registry.ts | 0 .../abstract_search_strategy.test.ts | 0 .../strategies/abstract_search_strategy.ts | 0 .../default_search_strategy.test.ts | 0 .../strategies/default_search_strategy.ts | 0 .../lib/search_strategies/strategies/index.ts | 0 .../strategies/rollup_search_strategy.test.ts | 0 .../strategies/rollup_search_strategy.ts | 0 .../annotations/build_request_body.ts | 0 .../annotations/get_request_params.ts | 0 .../vis_data/build_processor_function.test.ts | 0 .../lib/vis_data/build_processor_function.ts | 0 .../server/lib/vis_data/get_annotations.ts | 0 .../server/lib/vis_data/get_interval.test.ts | 0 .../server/lib/vis_data/get_interval.ts | 0 .../server/lib/vis_data/get_series_data.ts | 0 .../server/lib/vis_data/get_table_data.ts | 0 .../vis_data/handle_error_response.test.ts | 0 .../lib/vis_data/handle_error_response.ts | 0 .../bucket_transform.test.js.snap | 0 .../lib/vis_data/helpers/bucket_transform.js | 0 .../vis_data/helpers/bucket_transform.test.js | 0 .../server/lib/vis_data/helpers/check_aggs.ts | 0 .../server/lib/vis_data/helpers/format_key.ts | 0 .../lib/vis_data/helpers/get_active_series.ts | 0 .../lib/vis_data/helpers/get_agg_value.js | 0 .../vis_data/helpers/get_agg_value.test.js | 0 .../vis_data/helpers/get_bucket_size.test.ts | 0 .../lib/vis_data/helpers/get_bucket_size.ts | 0 .../vis_data/helpers/get_buckets_path.test.ts | 0 .../lib/vis_data/helpers/get_buckets_path.ts | 0 .../helpers/get_default_decoration.js | 0 .../helpers/get_default_decoration.test.js | 0 .../helpers/get_es_query_uisettings.ts | 0 .../vis_data/helpers/get_last_metric.test.ts | 0 .../lib/vis_data/helpers/get_last_metric.ts | 0 .../vis_data/helpers/get_sibling_agg_value.js | 0 .../helpers/get_sibling_agg_value.test.js | 0 .../lib/vis_data/helpers/get_splits.test.ts | 0 .../server/lib/vis_data/helpers/get_splits.ts | 0 .../vis_data/helpers/get_timerange.test.ts | 0 .../lib/vis_data/helpers/get_timerange.ts | 0 .../vis_data/helpers/get_timerange_mode.ts | 0 .../server/lib/vis_data/helpers/index.ts | 0 .../helpers/map_empty_to_zero.test.ts | 0 .../lib/vis_data/helpers/map_empty_to_zero.ts | 0 .../helpers/moving_fn_scripts.test.js | 0 .../lib/vis_data/helpers/moving_fn_scripts.ts | 0 .../server/lib/vis_data/helpers/overwrite.ts | 0 .../lib/vis_data/helpers/parse_interval.js | 0 .../lib/vis_data/helpers/timestamp.test.ts | 0 .../server/lib/vis_data/helpers/timestamp.ts | 0 .../vis_data/helpers/unit_to_seconds.test.ts | 0 .../lib/vis_data/helpers/unit_to_seconds.ts | 0 .../server/lib/vis_data/offset_time.js | 0 .../server/lib/vis_data/offset_time.test.js | 0 .../annotations/date_histogram.ts | 0 .../request_processors/annotations/index.ts | 0 .../annotations/query.test.ts | 0 .../request_processors/annotations/query.ts | 0 .../annotations/top_hits.ts | 0 .../request_processors/annotations/types.ts | 0 .../series/date_histogram.js | 0 .../series/date_histogram.test.js | 0 .../series/filter_ratios.js | 0 .../series/filter_ratios.test.js | 0 .../request_processors/series/index.js | 0 .../series/metric_buckets.js | 0 .../series/metric_buckets.test.js | 0 .../series/normalize_query.js | 0 .../series/normalize_query.test.js | 0 .../series/positive_rate.js | 0 .../series/positive_rate.test.js | 0 .../request_processors/series/query.js | 0 .../request_processors/series/query.test.js | 0 .../series/sibling_buckets.js | 0 .../series/sibling_buckets.test.js | 0 .../series/split_by_everything.js | 0 .../series/split_by_everything.test.js | 0 .../series/split_by_filter.js | 0 .../series/split_by_filter.test.js | 0 .../series/split_by_filters.js | 0 .../series/split_by_filters.test.js | 0 .../series/split_by_terms.js | 0 .../series/split_by_terms.test.js | 0 .../request_processors/table/apply_filters.ts | 0 .../table/calculate_agg_root.ts | 0 .../table/date_histogram.ts | 0 .../request_processors/table/filter_ratios.ts | 0 .../request_processors/table/index.ts | 0 .../table/metric_buckets.ts | 0 .../table/normalize_query.test.ts | 0 .../table/normalize_query.ts | 0 .../request_processors/table/pivot.ts | 0 .../request_processors/table/positive_rate.ts | 0 .../request_processors/table/query.test.ts | 0 .../request_processors/table/query.ts | 0 .../table/sibling_buckets.ts | 0 .../table/split_by_terms.ts | 0 .../request_processors/table/types.ts | 0 .../lib/vis_data/request_processors/types.ts | 0 .../annotations/buckets.ts | 0 .../annotations/filter.test.ts | 0 .../response_processors/annotations/filter.ts | 0 .../response_processors/annotations/index.ts | 0 .../response_processors/series/_series_agg.js | 0 .../series/_series_agg.test.js | 0 .../series/drop_last_bucket.js | 0 .../series/format_label.ts | 0 .../response_processors/series/index.js | 0 .../response_processors/series/math.js | 0 .../response_processors/series/math.test.js | 0 .../response_processors/series/percentile.js | 0 .../series/percentile.test.js | 0 .../series/percentile_rank.js | 0 .../series/percentile_rank.test.ts | 0 .../response_processors/series/series_agg.js | 0 .../series/series_agg.test.js | 0 .../series/std_deviation_bands.js | 0 .../series/std_deviation_bands.test.js | 0 .../series/std_deviation_sibling.js | 0 .../series/std_deviation_sibling.test.js | 0 .../response_processors/series/std_metric.js | 0 .../series/std_metric.test.js | 0 .../response_processors/series/std_sibling.js | 0 .../series/std_sibling.test.js | 0 .../response_processors/series/time_shift.js | 0 .../series/time_shift.test.js | 0 .../response_processors/table/_series_agg.js | 0 .../table/drop_last_bucket.ts | 0 .../response_processors/table/index.ts | 0 .../response_processors/table/math.ts | 0 .../response_processors/table/percentile.ts | 0 .../table/percentile_rank.ts | 0 .../response_processors/table/series_agg.ts | 0 .../response_processors/table/std_metric.ts | 0 .../response_processors/table/std_sibling.ts | 0 .../response_processors/table/types.ts | 0 .../series/build_request_body.test.ts | 0 .../lib/vis_data/series/build_request_body.ts | 0 .../lib/vis_data/series/get_request_params.ts | 0 .../vis_data/series/handle_response_body.ts | 0 .../lib/vis_data/table/build_request_body.ts | 0 .../lib/vis_data/table/build_response_body.ts | 0 .../lib/vis_data/table/process_bucket.test.ts | 0 .../lib/vis_data/table/process_bucket.ts | 0 .../vis_types/timeseries/server/plugin.ts | 0 .../timeseries/server/routes/fields.ts | 0 .../vis_types/timeseries/server/routes/vis.ts | 0 .../vis_types/timeseries/server/types.ts | 0 .../timeseries/server/ui_settings.ts | 0 .../vis_types/timeseries/tsconfig.json | 4 +- .../visualizations/common/constants.ts | 0 .../common/content_management/constants.ts | 0 .../common/content_management/index.ts | 0 .../common/content_management/latest.ts | 0 .../common/content_management/types.ts | 0 .../common/content_management/v1/index.ts | 0 .../common/content_management/v1/types.ts | 0 .../common/convert_to_lens/constants.ts | 0 .../common/convert_to_lens/index.ts | 0 .../convert_to_lens/lib/buckets/index.test.ts | 0 .../convert_to_lens/lib/buckets/index.ts | 0 .../lib/configurations/index.ts | 0 .../lib/configurations/palette.test.ts | 0 .../lib/configurations/palette.ts | 0 .../configurations/percentage_mode.test.ts | 0 .../lib/configurations/percentage_mode.ts | 0 .../lib/configurations/types.ts | 0 .../lib/convert/column.test.ts | 0 .../convert_to_lens/lib/convert/column.ts | 0 .../convert_to_lens/lib/convert/constants.ts | 0 .../lib/convert/date_histogram.test.ts | 0 .../lib/convert/date_histogram.ts | 0 .../lib/convert/filters.test.ts | 0 .../convert_to_lens/lib/convert/filters.ts | 0 .../lib/convert/formula.test.ts | 0 .../convert_to_lens/lib/convert/formula.ts | 0 .../convert_to_lens/lib/convert/index.ts | 0 .../lib/convert/last_value.test.ts | 0 .../convert_to_lens/lib/convert/last_value.ts | 0 .../lib/convert/metric.test.ts | 0 .../convert_to_lens/lib/convert/metric.ts | 0 .../lib/convert/parent_pipeline.test.ts | 0 .../lib/convert/parent_pipeline.ts | 0 .../lib/convert/percentage_mode.test.ts | 0 .../lib/convert/percentage_mode.ts | 0 .../lib/convert/percentile.test.ts | 0 .../convert_to_lens/lib/convert/percentile.ts | 0 .../lib/convert/percentile_rank.test.ts | 0 .../lib/convert/percentile_rank.ts | 0 .../convert_to_lens/lib/convert/range.test.ts | 0 .../convert_to_lens/lib/convert/range.ts | 0 .../lib/convert/sibling_pipeline.test.ts | 0 .../lib/convert/sibling_pipeline.ts | 0 .../lib/convert/static_value.ts | 0 .../lib/convert/std_deviation.test.ts | 0 .../lib/convert/std_deviation.ts | 0 .../lib/convert/supported_metrics.ts | 0 .../convert_to_lens/lib/convert/terms.test.ts | 0 .../convert_to_lens/lib/convert/terms.ts | 0 .../convert_to_lens/lib/convert/types.ts | 0 .../common/convert_to_lens/lib/index.ts | 0 .../lib/metrics/formula.test.ts | 0 .../convert_to_lens/lib/metrics/formula.ts | 0 .../convert_to_lens/lib/metrics/index.ts | 0 .../lib/metrics/metrics.test.ts | 0 .../convert_to_lens/lib/metrics/metrics.ts | 0 .../lib/metrics/percentage_formula.test.ts | 0 .../lib/metrics/percentage_formula.ts | 0 .../common/convert_to_lens/lib/utils.test.ts | 0 .../common/convert_to_lens/lib/utils.ts | 0 .../common/convert_to_lens/types/columns.ts | 0 .../common/convert_to_lens/types/common.ts | 0 .../convert_to_lens/types/configurations.ts | 0 .../common/convert_to_lens/types/context.ts | 0 .../common/convert_to_lens/types/index.ts | 0 .../convert_to_lens/types/operations.ts | 0 .../common/convert_to_lens/types/params.ts | 0 .../common/convert_to_lens/utils.ts | 0 .../common/expression_functions/index.ts | 0 .../common/expression_functions/range.ts | 0 .../vis_dimension.test.ts | 0 .../expression_functions/vis_dimension.ts | 0 .../expression_functions/xy_dimension.ts | 0 .../shared}/visualizations/common/index.ts | 1 - .../visualizations/common/locator.test.ts | 0 .../shared}/visualizations/common/locator.ts | 0 .../visualizations/common/locator_location.ts | 0 .../shared}/visualizations/common/types.ts | 0 .../visualizations/common/utils/accessors.ts | 0 .../visualizations/common/utils/index.ts | 0 .../visualizations/common/utils/palette.ts | 0 .../common/utils/prepare_log_table.test.ts | 0 .../common/utils/prepare_log_table.ts | 0 .../visualizations/common/vis_schemas.ts | 0 .../shared/visualizations/jest.config.js | 20 ++ .../shared}/visualizations/kibana.jsonc | 0 .../public/actions/add_agg_vis_action.test.ts | 0 .../public/actions/add_agg_vis_action.ts | 0 .../public/actions/edit_in_lens_action.tsx | 0 .../visualization_noresults.test.js.snap | 0 .../visualizations/public/components/index.ts | 0 .../components/visualization_container.tsx | 0 .../public/components/visualization_error.tsx | 0 ...isualization_missed_saved_object_error.tsx | 0 .../visualization_noresults.test.js | 0 .../components/visualization_noresults.tsx | 0 .../public/content_management/index.ts | 0 .../visualization_client.ts | 0 .../public/convert_to_lens/datasource.ts | 0 .../public/convert_to_lens/index.ts | 0 .../public/convert_to_lens/schemas.test.ts | 0 .../public/convert_to_lens/schemas.ts | 0 .../public/convert_to_lens/utils.test.ts | 0 .../public/convert_to_lens/utils.ts | 0 .../public/embeddable/create_vis_instance.ts | 0 .../public/embeddable/events.ts | 0 .../get_expression_renderer_props.ts | 0 .../get_visualize_embeddable_factory_lazy.ts | 0 .../visualizations/public/embeddable/index.ts | 0 .../public/embeddable/initialize_edit_api.ts | 0 .../interfaces/has_expression_variables.ts | 0 .../interfaces/has_visualize_config.ts | 0 .../public/embeddable/save_to_library.ts | 0 .../public/embeddable/state.test.ts | 0 .../visualizations/public/embeddable/state.ts | 0 .../public/embeddable/to_ast.ts | 0 .../visualizations/public/embeddable/types.ts | 0 .../embeddable/visualize_embeddable.tsx | 0 .../shared}/visualizations/public/index.ts | 0 .../legacy/embeddable/attribute_service.tsx | 0 .../public/legacy/embeddable/constants.ts | 0 .../create_vis_embeddable_from_object.ts | 0 .../embeddable/diff_embeddable_input.test.ts | 0 .../embeddable/diff_embeddable_input.ts | 0 .../public/legacy/embeddable/embeddable.tsx | 0 .../public/legacy/embeddable/embeddables.scss | 0 .../legacy/embeddable/error_embeddable.scss | 0 .../legacy/embeddable/error_embeddable.tsx | 0 .../public/legacy/embeddable/i_embeddable.ts | 0 .../public/legacy/embeddable/index.ts | 0 .../embeddable/visualize_embeddable.tsx | 0 .../embeddable/visualize_embeddable_async.ts | 0 .../public/legacy/memoize.test.ts | 0 .../visualizations/public/legacy/memoize.ts | 0 .../public/legacy/vis_update_state.d.ts | 0 .../public/legacy/vis_update_state.js | 0 .../public/legacy/vis_update_state.stub.js | 0 .../public/legacy/vis_update_state.test.js | 0 .../shared}/visualizations/public/mocks.ts | 0 .../public/persisted_state/index.ts | 0 .../public/persisted_state/persisted_state.ts | 0 .../persisted_state_provider.test.ts | 0 .../shared}/visualizations/public/plugin.ts | 0 .../shared}/visualizations/public/services.ts | 0 .../visualizations/public/triggers/index.ts | 0 .../shared}/visualizations/public/types.ts | 0 .../check_for_duplicate_title.ts | 0 .../confirm_modal_promise.tsx | 0 .../utils/saved_objects_utils/constants.ts | 0 .../display_duplicate_title_confirm_modal.ts | 0 .../find_object_by_title.test.ts | 0 .../find_object_by_title.ts | 0 .../public/utils/saved_objects_utils/index.ts | 0 .../save_with_confirmation.test.ts | 0 .../save_with_confirmation.ts | 0 .../update_basic_attributes.ts | 0 .../controls_references.ts | 0 .../saved_visualization_references/index.ts | 0 .../saved_visualization_references.test.ts | 0 .../saved_visualization_references.ts | 0 .../timeseries_references.ts | 0 .../utils/saved_visualize_utils.test.ts | 0 .../public/utils/saved_visualize_utils.ts | 0 .../shared}/visualizations/public/vis.scss | 0 .../shared}/visualizations/public/vis.test.ts | 0 .../shared}/visualizations/public/vis.ts | 0 .../visualizations/public/vis_async.ts | 0 .../public/vis_editors_registry.ts | 0 .../visualizations/public/vis_schemas.ts | 0 .../public/vis_types/base_vis_type.test.ts | 0 .../public/vis_types/base_vis_type.ts | 0 .../visualizations/public/vis_types/index.ts | 0 .../public/vis_types/schemas.ts | 0 .../visualizations/public/vis_types/types.ts | 0 .../public/vis_types/types_service.ts | 0 .../public/vis_types/vis_groups_enum.ts | 0 .../vis_types/vis_type_alias_registry.ts | 0 .../public/visualize_app/app.scss | 0 .../public/visualize_app/app.tsx | 0 .../components/experimental_vis_info.tsx | 0 .../public/visualize_app/components/index.ts | 0 .../components/visualize_byvalue_editor.tsx | 0 .../components/visualize_editor.scss | 0 .../components/visualize_editor.tsx | 0 .../visualize_editor_common.test.tsx | 0 .../components/visualize_editor_common.tsx | 0 .../components/visualize_listing.scss | 0 .../components/visualize_listing.tsx | 0 .../components/visualize_no_match.tsx | 0 .../components/visualize_top_nav.tsx | 0 .../components/viz_chart_warning.tsx | 0 .../public/visualize_app/constants.ts | 0 .../public/visualize_app/index.tsx | 0 .../public/visualize_app/types.ts | 0 .../public/visualize_app/utils/breadcrumbs.ts | 0 .../utils/create_visualize_app_state.test.ts | 0 .../utils/create_visualize_app_state.ts | 0 .../visualize_app/utils/get_table_columns.tsx | 0 .../utils/get_top_nav_config.test.tsx | 0 .../utils/get_top_nav_config.tsx | 0 .../utils/get_visualization_instance.test.ts | 0 .../utils/get_visualization_instance.ts | 0 .../get_visualize_list_item_link.test.ts | 0 .../utils/get_visualize_list_item_link.ts | 0 .../public/visualize_app/utils/index.ts | 0 .../visualize_app/utils/migrate_app_state.ts | 0 .../utils/migrate_legacy_query.ts | 0 .../public/visualize_app/utils/mocks.ts | 0 .../utils/split_chart_warning_helpers.ts | 0 .../public/visualize_app/utils/stubs.ts | 0 .../public/visualize_app/utils/use/index.ts | 0 .../utils/use/use_chrome_visibility.test.ts | 0 .../utils/use/use_chrome_visibility.ts | 0 .../utils/use/use_data_view_updates.ts | 0 .../utils/use/use_editor_updates.test.ts | 0 .../utils/use/use_editor_updates.ts | 0 .../use/use_linked_search_updates.test.ts | 0 .../utils/use/use_linked_search_updates.ts | 0 .../utils/use/use_saved_vis_instance.test.ts | 0 .../utils/use/use_saved_vis_instance.ts | 0 .../utils/use/use_vis_byvalue.ts | 0 .../utils/use/use_visualize_app_state.test.ts | 0 .../utils/use/use_visualize_app_state.tsx | 0 .../public/visualize_app/utils/utils.ts | 0 .../utils/visualize_navigation.scss | 0 .../public/visualize_screenshot_mode.scss | 0 .../agg_based_selection.test.tsx | 0 .../agg_based_selection.tsx | 0 .../wizard/agg_based_selection/index.ts | 0 .../visualizations/public/wizard/dialog.scss | 0 .../public/wizard/dialog_navigation.tsx | 0 .../group_selection/group_selection.scss | 0 .../group_selection/group_selection.test.tsx | 0 .../group_selection/group_selection.tsx | 0 .../public/wizard/group_selection/index.ts | 0 .../visualizations/public/wizard/index.ts | 0 .../public/wizard/new_vis_modal.test.tsx | 0 .../public/wizard/new_vis_modal.tsx | 0 .../public/wizard/search_selection/index.ts | 0 .../search_selection/search_selection.tsx | 0 .../show_saved_object.test.ts | 0 .../search_selection/show_saved_object.ts | 0 .../public/wizard/show_new_vis.tsx | 0 .../server/capabilities_provider.ts | 0 .../server/content_management/cm_services.ts | 0 .../server/content_management/index.ts | 0 .../content_management/v1/cm_services.ts | 0 .../visualization_storage.ts | 0 .../make_visualize_embeddable_factory.test.ts | 0 .../make_visualize_embeddable_factory.ts | 0 .../shared}/visualizations/server/index.ts | 0 .../visualization_common_migrations.ts | 0 ...ualization_saved_object_migrations.test.ts | 0 .../visualization_saved_object_migrations.ts | 0 .../shared}/visualizations/server/plugin.ts | 0 .../saved_objects/get_in_app_url.test.ts | 0 .../server/saved_objects/get_in_app_url.ts | 0 .../server/saved_objects/index.ts | 0 .../read_only_vis_type_registry.ts | 0 .../server/saved_objects/visualization.ts | 0 .../shared}/visualizations/server/types.ts | 0 .../shared}/visualizations/tsconfig.json | 4 +- .../chart_expressions/common/jest.config.js | 14 - .../expression_partition_vis/jest.config.js | 20 -- src/plugins/charts/jest.config.js | 17 -- src/plugins/data/jest.config.js | 17 -- src/plugins/expressions/jest.config.js | 17 -- src/plugins/unified_search/jest.config.js | 18 -- src/plugins/url_forwarding/jest.config.js | 17 -- src/plugins/vis_default_editor/jest.config.js | 17 -- src/plugins/vis_types/heatmap/jest.config.js | 19 -- src/plugins/vis_types/metric/jest.config.js | 17 -- src/plugins/vis_types/pie/jest.config.js | 17 -- src/plugins/vis_types/table/jest.config.js | 19 -- src/plugins/vis_types/tagcloud/jest.config.js | 17 -- .../vis_types/timeseries/jest.config.js | 19 -- src/plugins/vis_types/vega/jest.config.js | 17 -- src/plugins/vis_types/vislib/jest.config.js | 19 -- src/plugins/vis_types/xy/jest.config.js | 17 -- src/plugins/visualizations/jest.config.js | 19 -- tsconfig.base.json | 188 ++++++------- x-pack/.i18nrc.json | 4 +- .../kbn-random-sampling/jest.config.js | 15 -- .../kbn-random-sampling/.storybook/main.js | 0 .../kbn-random-sampling/.storybook/preview.js | 0 .../private}/kbn-random-sampling/README.md | 0 .../private}/kbn-random-sampling/index.ts | 0 .../kbn-random-sampling/jest.config.js | 18 ++ .../private}/kbn-random-sampling/kibana.jsonc | 0 .../private}/kbn-random-sampling/package.json | 0 .../__stories__/control_slider.stories.mdx | 0 .../src/__stories__/sampling_icon.stories.mdx | 0 .../private}/kbn-random-sampling/src/index.ts | 0 .../src/ui/icon/sampling_icon.tsx | 0 .../src/ui/slider_control/index.test.tsx | 0 .../src/ui/slider_control/index.tsx | 0 .../kbn-random-sampling/tsconfig.json | 2 +- .../private/ml/date_utils/src/date_utils.ts | 2 +- .../plugins/private}/graph/README.md | 4 +- .../private}/graph/common/check_license.ts | 0 .../private}/graph/common/constants.ts | 0 .../common/content_management/constants.ts | 0 .../graph/common/content_management/index.ts | 0 .../graph/common/content_management/latest.ts | 0 .../graph/common/content_management/types.ts | 0 .../common/content_management/v1/index.ts | 0 .../common/content_management/v1/types.ts | 0 .../plugins/private}/graph/jest.config.js | 10 +- .../plugins/private}/graph/kibana.jsonc | 0 .../plugins/private}/graph/public/_main.scss | 0 .../private}/graph/public/_mixins.scss | 0 .../private}/graph/public/application.tsx | 0 .../graph/public/apps/listing_route.tsx | 0 .../graph/public/apps/workspace_route.tsx | 0 .../graph/public/components/_app.scss | 0 .../graph/public/components/_graph.scss | 0 .../graph/public/components/_index.scss | 0 .../graph/public/components/_inspect.scss | 0 .../graph/public/components/_search_bar.scss | 0 .../graph/public/components/_sidebar.scss | 0 .../public/components/_source_modal.scss | 0 .../control_panel/control_panel.tsx | 0 .../control_panel/control_panel_tool_bar.tsx | 0 .../control_panel/drill_down_icon_links.tsx | 0 .../components/control_panel/drill_downs.tsx | 0 .../public/components/control_panel/index.ts | 0 .../control_panel/merge_candidates.tsx | 0 .../components/control_panel/select_style.tsx | 0 .../control_panel/selected_node_editor.tsx | 0 .../control_panel/selected_node_item.tsx | 0 .../control_panel/selection_tool_bar.tsx | 0 .../field_manager/_field_editor.scss | 0 .../field_manager/_field_picker.scss | 0 .../components/field_manager/_index.scss | 0 .../components/field_manager/field_editor.tsx | 0 .../field_manager/field_manager.test.tsx | 0 .../field_manager/field_manager.tsx | 0 .../components/field_manager/field_picker.tsx | 0 .../public/components/field_manager/index.ts | 0 .../graph/public/components/graph_title.tsx | 0 .../graph_visualization.test.tsx.snap | 0 .../_graph_visualization.scss | 0 .../graph_visualization/_index.scss | 0 .../graph_visualization.test.tsx | 0 .../graph_visualization.tsx | 0 .../components/graph_visualization/index.ts | 0 .../guidance_panel/_guidance_panel.scss | 0 .../components/guidance_panel/_index.scss | 0 .../guidance_panel/guidance_panel.tsx | 0 .../public/components/guidance_panel/index.ts | 0 .../graph/public/components/helpers.ts | 0 .../graph/public/components/icon_renderer.tsx | 0 .../public/components/maki_icons/assets.tsx | 0 .../graph/public/components/save_modal.tsx | 0 .../public/components/search_bar.test.tsx | 0 .../graph/public/components/search_bar.tsx | 0 .../public/components/settings/_index.scss | 0 .../components/settings/_legacy_icon.scss | 0 .../settings/_url_template_list.scss | 0 .../settings/advanced_settings_form.tsx | 0 .../components/settings/blocklist_form.tsx | 0 .../graph/public/components/settings/index.ts | 0 .../components/settings/settings.test.tsx | 0 .../public/components/settings/settings.tsx | 0 .../components/settings/url_template_form.tsx | 0 .../components/settings/url_template_list.tsx | 0 .../settings/use_list_keys.test.tsx | 0 .../components/settings/use_list_keys.ts | 0 .../graph/public/components/source_modal.tsx | 0 .../graph/public/components/source_picker.tsx | 0 .../components/venn_diagram/_index.scss | 0 .../venn_diagram/_venn_diagram.scss | 0 .../public/components/venn_diagram/index.ts | 0 .../venn_diagram/venn_diagram.test.tsx | 0 .../components/venn_diagram/venn_diagram.tsx | 0 .../components/venn_diagram/vennjs/LICENSE | 0 .../components/venn_diagram/vennjs/index.ts | 2 +- .../components/workspace_layout/index.ts | 0 .../workspace_layout.test.tsx | 0 .../workspace_layout/workspace_layout.tsx | 0 .../workspace_top_nav_menu.tsx | 0 .../graph/public/helpers/as_observable.ts | 0 .../graph/public/helpers/format_http_error.ts | 0 .../graph/public/helpers/kql_encoder.test.ts | 0 .../graph/public/helpers/kql_encoder.ts | 0 .../graph/public/helpers/outlink_encoders.ts | 0 .../check_for_duplicate_title.ts | 0 .../confirm_modal_promise.tsx | 0 .../helpers/saved_objects_utils/constants.ts | 0 .../display_duplicate_title_confirm_modal.ts | 0 .../find_object_by_title.test.ts | 0 .../find_object_by_title.ts | 0 .../helpers/saved_objects_utils/index.ts | 0 .../save_with_confirmation.ts | 0 .../helpers/saved_workspace_utils.test.ts | 0 .../public/helpers/saved_workspace_utils.ts | 0 .../graph/public/helpers/style_choices.ts | 0 .../graph/public/helpers/url_template.ts | 0 .../graph/public/helpers/use_graph_loader.ts | 0 .../graph/public/helpers/use_inspector.ts | 0 .../helpers/use_workspace_loader.test.tsx | 0 .../public/helpers/use_workspace_loader.ts | 0 .../plugins/private}/graph/public/index.scss | 0 .../plugins/private}/graph/public/index.ts | 0 .../plugins/private}/graph/public/plugin.ts | 0 .../plugins/private}/graph/public/router.tsx | 0 .../public/services/fetch_top_nodes.test.ts | 0 .../graph/public/services/fetch_top_nodes.ts | 0 .../public/services/index_pattern_cache.ts | 0 .../services/persistence/deserialize.test.ts | 0 .../services/persistence/deserialize.ts | 0 .../public/services/persistence/index.ts | 0 .../saved_workspace_references.test.ts | 0 .../persistence/saved_workspace_references.ts | 0 .../services/persistence/serialize.test.ts | 0 .../public/services/persistence/serialize.ts | 0 .../graph/public/services/save_modal.tsx | 0 .../graph/public/services/source_modal.tsx | 0 .../private}/graph/public/services/url.ts | 0 .../workspace/graph_client_workspace.d.ts | 0 .../workspace/graph_client_workspace.js | 0 .../workspace/graph_client_workspace.test.js | 0 .../state_management/advanced_settings.ts | 0 .../state_management/datasource.sagas.ts | 0 .../state_management/datasource.test.ts | 0 .../public/state_management/datasource.ts | 0 .../graph/public/state_management/fields.ts | 0 .../graph/public/state_management/global.ts | 0 .../graph/public/state_management/helpers.ts | 0 .../graph/public/state_management/index.ts | 0 .../public/state_management/legacy.test.ts | 0 .../public/state_management/meta_data.test.ts | 0 .../public/state_management/meta_data.ts | 0 .../graph/public/state_management/mocks.ts | 0 .../state_management/persistence.test.ts | 0 .../public/state_management/persistence.ts | 0 .../graph/public/state_management/store.ts | 0 .../state_management/url_templates.test.ts | 0 .../public/state_management/url_templates.ts | 0 .../public/state_management/workspace.ts | 0 .../private}/graph/public/types/app_state.ts | 0 .../private}/graph/public/types/config.ts | 0 .../private}/graph/public/types/index.ts | 0 .../graph/public/types/persistence.ts | 0 .../graph/public/types/workspace_state.ts | 0 .../plugins/private}/graph/server/config.ts | 0 .../server/content_management/cm_services.ts | 0 .../content_management/graph_storage.ts | 0 .../graph/server/content_management/index.ts | 0 .../content_management/v1/cm_services.ts | 0 .../plugins/private}/graph/server/index.ts | 0 .../graph/server/lib/license_state.ts | 0 .../plugins/private}/graph/server/plugin.ts | 0 .../private}/graph/server/routes/explore.ts | 0 .../private}/graph/server/routes/search.ts | 0 .../graph/server/sample_data/ecommerce.ts | 0 .../graph/server/sample_data/flights.ts | 0 .../graph/server/sample_data/index.ts | 0 .../private}/graph/server/sample_data/logs.ts | 0 .../sample_data/register_sample_data.ts | 0 .../server/saved_objects/graph_workspace.ts | 0 .../graph/server/saved_objects/index.ts | 0 .../server/saved_objects/migrations.test.ts | 0 .../graph/server/saved_objects/migrations.ts | 0 .../plugins/private}/graph/tsconfig.json | 4 +- .../watcher/public/legacy/time_buckets.js | 2 +- .../shared}/lens/common/constants.test.ts | 0 .../plugins/shared}/lens/common/constants.ts | 0 .../common/content_management/constants.ts | 0 .../lens/common/content_management/index.ts | 0 .../lens/common/content_management/latest.ts | 0 .../lens/common/content_management/types.ts | 0 .../common/content_management/v1/index.ts | 0 .../common/content_management/v1/types.ts | 0 .../lens/common/embeddable_factory/index.ts | 0 .../expressions/collapse/collapse_fn.test.ts | 0 .../expressions/collapse/collapse_fn.ts | 0 .../lens/common/expressions/collapse/index.ts | 0 .../lens/common/expressions/collapse/types.ts | 0 .../counter_rate/counter_rate.test.ts | 0 .../counter_rate/counter_rate_fn.ts | 0 .../common/expressions/counter_rate/index.ts | 0 .../common/expressions/counter_rate/types.ts | 0 .../common/expressions/datatable/datatable.ts | 0 .../expressions/datatable/datatable_column.ts | 0 .../expressions/datatable/datatable_fn.ts | 0 .../common/expressions/datatable/index.ts | 0 .../expressions/datatable/summary.test.ts | 0 .../common/expressions/datatable/summary.ts | 0 .../datatable/transpose_helpers.test.ts | 0 .../datatable/transpose_helpers.ts | 0 .../common/expressions/datatable/types.ts | 0 .../common/expressions/datatable/utils.ts | 0 .../format_column/format_column.test.ts | 0 .../format_column/format_column_fn.ts | 0 .../common/expressions/format_column/index.ts | 0 .../format_column/supported_formats.ts | 0 .../common/expressions/format_column/types.ts | 0 .../formula_context/context_fns.test.ts | 0 .../formula_context/context_fns.ts | 0 .../expressions/formula_context/index.ts | 0 .../shared}/lens/common/expressions/index.ts | 0 .../expressions/map_to_columns/index.ts | 0 .../map_to_columns/map_to_columns.test.ts | 0 .../map_to_columns/map_to_columns.ts | 0 .../map_to_columns/map_to_columns_fn.ts | 0 .../map_to_columns_fn_textbased.ts | 0 .../expressions/map_to_columns/types.ts | 0 .../common/expressions/time_scale/index.ts | 0 .../expressions/time_scale/time_scale.test.ts | 0 .../expressions/time_scale/time_scale.ts | 0 .../expressions/time_scale/time_scale_fn.ts | 0 .../common/expressions/time_scale/types.ts | 0 .../plugins/shared}/lens/common/index.ts | 0 .../shared}/lens/common/layer_types.ts | 0 .../lens/common/locator/locator.test.ts | 0 .../shared}/lens/common/locator/locator.ts | 0 .../lens/common/suffix_formatter/index.ts | 0 .../suffix_formatter/suffix_formatter.test.ts | 0 .../plugins/shared}/lens/common/types.ts | 0 .../lens/common/visualizations/index.ts | 0 .../common/visualizations/partition/utils.ts | 0 .../plugins/shared}/lens/jest.config.js | 10 +- .../plugins/shared}/lens/kibana.jsonc | 0 .../plugins/shared}/lens/layout.png | Bin .../plugins/shared}/lens/public/_mixins.scss | 0 .../shared}/lens/public/_variables.scss | 0 .../shared}/lens/public/app_plugin/app.scss | 0 .../lens/public/app_plugin/app.test.tsx | 0 .../shared}/lens/public/app_plugin/app.tsx | 0 .../public/app_plugin/app_helpers.test.ts | 0 .../lens/public/app_plugin/app_helpers.ts | 0 .../csv_download_provider.tsx | 0 .../get_application_user_messages.test.tsx | 0 .../get_application_user_messages.tsx | 0 .../shared}/lens/public/app_plugin/index.ts | 0 .../app_plugin/lens_document_equality.test.ts | 0 .../app_plugin/lens_document_equality.ts | 0 .../lens/public/app_plugin/lens_top_nav.tsx | 0 .../lens/public/app_plugin/mounter.tsx | 0 .../lens/public/app_plugin/save_modal.tsx | 0 .../app_plugin/save_modal_container.test.tsx | 0 .../app_plugin/save_modal_container.tsx | 0 .../save_modal_container_helpers.test.ts | 0 .../save_modal_container_helpers.ts | 0 .../public/app_plugin/settings_menu.test.tsx | 0 .../lens/public/app_plugin/settings_menu.tsx | 0 .../lens/public/app_plugin/share_action.ts | 0 .../esql_data_grid_accordion.tsx | 0 .../shared/edit_on_the_fly/flyout_wrapper.tsx | 0 .../get_edit_lens_configuration.test.tsx | 0 .../get_edit_lens_configuration.tsx | 0 .../shared/edit_on_the_fly/helpers.test.ts | 0 .../shared/edit_on_the_fly/helpers.ts | 0 .../layer_configuration_section.tsx | 0 .../lens_configuration_flyout.test.tsx | 0 .../lens_configuration_flyout.tsx | 0 .../shared/edit_on_the_fly/types.ts | 0 .../app_plugin/shared/saved_modal_lazy.tsx | 0 .../app_plugin/show_underlying_data.test.ts | 0 .../public/app_plugin/show_underlying_data.ts | 0 ...ed_object_save_modal_dashboard_wrapper.tsx | 0 ...saved_object_save_modal_origin_wrapper.tsx | 0 .../shared}/lens/public/app_plugin/types.ts | 0 .../shared}/lens/public/assets/error.svg | 0 .../lens/public/assets/render_dark@2x.png | Bin .../lens/public/assets/render_light@2x.png | Bin .../shared}/lens/public/assets/warning.svg | 0 .../shared}/lens/public/async_services.ts | 0 .../lens/public/chart_info_api.test.ts | 0 .../shared}/lens/public/chart_info_api.ts | 0 .../public/data_views_service/loader.test.ts | 0 .../lens/public/data_views_service/loader.ts | 0 .../lens/public/data_views_service/mocks.ts | 0 .../lens/public/data_views_service/service.ts | 0 .../public/datasources/common/field_item.scss | 0 .../datasources/common/field_item.test.tsx | 0 .../public/datasources/common/field_item.tsx | 0 .../common/get_field_item_actions.tsx | 0 .../form_based/__mocks__/loader.ts | 0 .../__snapshots__/utils.test.tsx.snap | 0 .../datasources/form_based/datapanel.scss | 0 .../datasources/form_based/datapanel.test.tsx | 0 .../datasources/form_based/datapanel.tsx | 0 .../form_based/dedupe_aggs.test.ts | 0 .../datasources/form_based/dedupe_aggs.ts | 0 .../dimension_panel/advanced_options.tsx | 0 .../bucket_nesting_editor.test.tsx | 0 .../dimension_panel/bucket_nesting_editor.tsx | 0 .../dimension_panel/dimension_editor.scss | 0 .../dimension_panel/dimension_editor.tsx | 0 .../dimension_editor_helpers.test.ts | 0 .../dimension_panel/dimension_panel.test.tsx | 0 .../dimension_panel/dimension_panel.tsx | 0 .../dimensions_editor_helpers.tsx | 0 .../droppable/get_drop_props.test.ts | 0 .../droppable/get_drop_props.ts | 0 .../dimension_panel/droppable/index.ts | 0 .../dimension_panel/droppable/mocks.ts | 0 .../droppable/on_drop_handler.test.ts | 0 .../droppable/on_drop_handler.ts | 0 .../dimension_panel/field_input.test.tsx | 0 .../dimension_panel/field_input.tsx | 0 .../dimension_panel/field_select.scss | 0 .../dimension_panel/field_select.tsx | 0 .../form_based/dimension_panel/filtering.tsx | 0 .../dimension_panel/format_selector.test.tsx | 0 .../dimension_panel/format_selector.tsx | 0 .../formatting/duration_input.tsx | 0 .../form_based/dimension_panel/index.ts | 0 .../dimension_panel/operation_support.ts | 0 .../dimension_panel/reduced_time_range.tsx | 0 .../dimension_panel/reference_editor.test.tsx | 0 .../dimension_panel/reference_editor.tsx | 0 .../dimension_panel/time_scaling.tsx | 0 .../form_based/dimension_panel/time_shift.tsx | 0 .../datasources/form_based/document_field.ts | 0 .../datasources/form_based/form_based.test.ts | 0 .../datasources/form_based/form_based.tsx | 0 .../form_based_suggestions.test.tsx | 0 .../form_based/form_based_suggestions.ts | 0 .../datasources/form_based/help_popover.scss | 0 .../datasources/form_based/help_popover.tsx | 0 .../public/datasources/form_based/index.ts | 0 .../datasources/form_based/info_badges.tsx | 0 .../datasources/form_based/layer_settings.tsx | 0 .../form_based/layerpanel.test.tsx | 0 .../datasources/form_based/layerpanel.tsx | 0 .../datasources/form_based/loader.test.ts | 0 .../public/datasources/form_based/loader.ts | 0 .../public/datasources/form_based/mocks.ts | 0 .../form_based/operations/__mocks__/index.ts | 0 .../form_based/operations/definitions.test.ts | 0 .../__snapshots__/percentile.test.tsx.snap | 0 .../definitions/calculations/counter_rate.tsx | 0 .../calculations/cumulative_sum.tsx | 0 .../definitions/calculations/differences.tsx | 0 .../definitions/calculations/index.ts | 0 .../calculations/moving_average.tsx | 0 .../calculations/overall_metric.test.ts | 0 .../calculations/overall_metric.tsx | 0 .../definitions/calculations/time_scale.tsx | 0 .../definitions/calculations/utils.test.ts | 0 .../definitions/calculations/utils.ts | 0 .../definitions/cardinality.test.ts | 0 .../operations/definitions/cardinality.tsx | 0 .../operations/definitions/column_types.ts | 0 .../operations/definitions/count.test.ts | 0 .../operations/definitions/count.tsx | 0 .../definitions/date_histogram.test.tsx | 0 .../operations/definitions/date_histogram.tsx | 0 .../definitions/filters/filter_popover.scss | 0 .../filters/filter_popover.test.tsx | 0 .../definitions/filters/filter_popover.tsx | 0 .../definitions/filters/filters.scss | 0 .../definitions/filters/filters.test.tsx | 0 .../definitions/filters/filters.tsx | 0 .../operations/definitions/filters/index.tsx | 0 .../__snapshots__/formula.test.tsx.snap | 0 .../formula/context_variables.test.ts | 0 .../definitions/formula/context_variables.tsx | 0 .../definitions/formula/editor/formula.scss | 0 .../formula/editor/formula_editor.tsx | 0 .../formula/editor/formula_help.tsx | 0 .../definitions/formula/editor/index.ts | 0 .../formula/editor/math_completion.test.ts | 0 .../formula/editor/math_completion.ts | 0 .../formula/editor/math_tokenization.tsx | 0 .../definitions/formula/formula.test.tsx | 0 .../definitions/formula/formula.tsx | 0 .../formula/formula_public_api.test.ts | 0 .../definitions/formula/formula_public_api.ts | 0 .../definitions/formula/generate.ts | 0 .../operations/definitions/formula/index.ts | 0 .../definitions/formula/math.test.ts | 0 .../operations/definitions/formula/math.tsx | 0 .../definitions/formula/math_examples.md | 0 .../formula/mocks/operation_mocks.ts | 0 .../operations/definitions/formula/parse.ts | 0 .../operations/definitions/formula/types.ts | 0 .../operations/definitions/formula/util.ts | 0 .../definitions/formula/validation.ts | 0 .../definitions/formula/validation_errors.ts | 0 .../definitions/get_group_by_key.ts | 0 .../operations/definitions/helpers.test.ts | 0 .../operations/definitions/helpers.tsx | 0 .../operations/definitions/index.ts | 0 .../definitions/last_value.test.tsx | 0 .../operations/definitions/last_value.tsx | 0 .../operations/definitions/metrics.test.ts | 0 .../operations/definitions/metrics.tsx | 0 .../definitions/percentile.test.tsx | 0 .../operations/definitions/percentile.tsx | 0 .../definitions/percentile_ranks.test.tsx | 0 .../definitions/percentile_ranks.tsx | 0 .../definitions/ranges/advanced_editor.scss | 0 .../definitions/ranges/advanced_editor.tsx | 0 .../definitions/ranges/constants.ts | 0 .../operations/definitions/ranges/index.ts | 0 .../definitions/ranges/range_editor.tsx | 0 .../definitions/ranges/ranges.test.tsx | 0 .../operations/definitions/ranges/ranges.tsx | 0 .../shared_components/form_row.scss | 0 .../shared_components/form_row.tsx | 0 .../definitions/shared_components/index.tsx | 0 .../shared_components/label_input.tsx | 0 .../definitions/static_value.test.tsx | 0 .../operations/definitions/static_value.tsx | 0 .../operations/definitions/terms/constants.ts | 0 .../definitions/terms/field_inputs.tsx | 0 .../definitions/terms/helpers.test.ts | 0 .../operations/definitions/terms/helpers.ts | 0 .../terms/include_exclude_options.test.tsx | 0 .../terms/include_exclude_options.tsx | 0 .../operations/definitions/terms/index.tsx | 0 .../definitions/terms/terms.test.tsx | 0 .../operations/definitions/terms/types.ts | 0 .../definitions/terms/values_input.test.tsx | 0 .../definitions/terms/values_input.tsx | 0 .../form_based/operations/index.ts | 0 .../operations/layer_helpers.test.ts | 0 .../form_based/operations/layer_helpers.ts | 0 .../form_based/operations/mocks.ts | 0 .../form_based/operations/operations.test.ts | 0 .../form_based/operations/operations.ts | 0 .../operations/time_scale_utils.test.ts | 0 .../form_based/operations/time_scale_utils.ts | 0 .../datasources/form_based/pure_helpers.ts | 0 .../datasources/form_based/pure_utils.ts | 0 .../form_based/reduced_time_range_utils.tsx | 0 .../datasources/form_based/state_helpers.ts | 0 .../form_based/time_shift_utils.test.tsx | 0 .../form_based/time_shift_utils.tsx | 0 .../datasources/form_based/to_expression.ts | 0 .../public/datasources/form_based/types.ts | 0 .../datasources/form_based/utils.test.tsx | 0 .../public/datasources/form_based/utils.tsx | 0 .../text_based/components/datapanel.test.tsx | 0 .../text_based/components/datapanel.tsx | 0 .../components/dimension_editor.tsx | 0 .../components/dimension_trigger.tsx | 0 .../components/field_select.test.tsx | 0 .../text_based/components/field_select.tsx | 0 .../text_based/dnd/get_drop_props.test.tsx | 0 .../text_based/dnd/get_drop_props.tsx | 0 .../datasources/text_based/dnd/index.tsx | 0 .../datasources/text_based/dnd/mocks.tsx | 0 .../text_based/dnd/on_drop.test.ts | 0 .../datasources/text_based/dnd/on_drop.ts | 0 .../fetch_data_from_aggregate_query.ts | 0 .../datasources/text_based/fieldlist_cache.ts | 0 .../public/datasources/text_based/index.ts | 0 .../datasources/text_based/remove_column.ts | 0 .../text_based/text_based_languages.test.ts | 0 .../text_based/text_based_languages.tsx | 0 .../datasources/text_based/to_expression.ts | 0 .../public/datasources/text_based/types.ts | 0 .../datasources/text_based/utils.test.ts | 0 .../public/datasources/text_based/utils.ts | 0 .../__mocks__/expression_helpers.ts | 0 .../__mocks__/suggestion_helpers.ts | 0 .../editor_frame/banner_wrapper.tsx | 0 .../buttons/draggable_dimension_button.tsx | 0 .../buttons/drop_targets_utils.tsx | 0 .../buttons/empty_dimension_button.tsx | 0 .../buttons/fake_dimension_button.tsx | 0 .../chart_switch/chart_option.tsx | 0 .../chart_switch/chart_switch.scss | 0 .../chart_switch/chart_switch.test.tsx | 0 .../chart_switch/chart_switch.tsx | 0 .../chart_switch/chart_switch_popover.tsx | 0 .../chart_switch/chart_switch_selectable.tsx | 0 .../config_panel/chart_switch/index.tsx | 0 .../config_panel/config_panel.test.tsx | 0 .../config_panel/config_panel.tsx | 0 .../config_panel/dimension_container.scss | 0 .../config_panel/dimension_container.tsx | 0 .../editor_frame/config_panel/index.ts | 0 .../layer_actions/clone_layer_action.tsx | 0 .../config_panel/layer_actions/index.ts | 0 .../layer_actions/layer_actions.tsx | 0 .../layer_actions/open_layer_settings.tsx | 0 .../layer_actions/order_bounds.ts | 0 .../layer_actions/remove_layer_action.tsx | 0 .../config_panel/layer_header.test.tsx | 0 .../config_panel/layer_header.tsx | 0 .../config_panel/layer_panel.scss | 0 .../config_panel/layer_panel.test.tsx | 0 .../editor_frame/config_panel/layer_panel.tsx | 0 .../editor_frame/config_panel/types.ts | 0 .../config_panel/use_focus_update.tsx | 0 .../editor_frame/data_panel_wrapper.scss | 0 .../editor_frame/data_panel_wrapper.test.tsx | 0 .../editor_frame/data_panel_wrapper.tsx | 0 .../editor_frame/easteregg/bee.tsx | 0 .../editor_frame/easteregg/elastic_elk_b.png | Bin .../editor_frame/easteregg/index.tsx | 0 .../editor_frame/editor_frame.test.tsx | 0 .../editor_frame/editor_frame.tsx | 0 .../editor_frame/expression_helpers.ts | 0 .../editor_frame/frame_layout.scss | 0 .../editor_frame/frame_layout.tsx | 0 .../editor_frame/index.ts | 0 .../editor_frame/state_helpers.ts | 0 .../editor_frame/suggestion_helpers.test.ts | 0 .../editor_frame/suggestion_helpers.ts | 0 .../editor_frame/suggestion_panel.scss | 0 .../editor_frame/suggestion_panel.test.tsx | 0 .../editor_frame/suggestion_panel.tsx | 0 .../workspace_panel.test.tsx.snap | 0 .../geo_field_workspace_panel.scss | 0 .../geo_field_workspace_panel.tsx | 0 .../editor_frame/workspace_panel/index.ts | 0 .../workspace_panel/message_list.scss | 0 .../workspace_panel/message_list.tsx | 0 .../editor_frame/workspace_panel/title.tsx | 0 .../workspace_panel/workspace_errors.tsx | 0 .../workspace_panel/workspace_panel.test.tsx | 0 .../workspace_panel/workspace_panel.tsx | 0 .../workspace_panel_wrapper.scss | 0 .../workspace_panel_wrapper.test.tsx | 0 .../workspace_panel_wrapper.tsx | 0 .../editor_frame_service/error_helper.tsx | 0 .../lens/public/editor_frame_service/index.ts | 0 .../public/editor_frame_service/mocks.tsx | 0 .../public/editor_frame_service/service.tsx | 0 .../lens/public/editor_frame_service/types.ts | 0 .../shared}/lens/public/expressions.ts | 0 .../shared}/lens/public/help_menu_util.tsx | 0 .../public/id_generator/id_generator.test.ts | 0 .../lens/public/id_generator/id_generator.ts | 0 .../shared}/lens/public/id_generator/index.ts | 0 .../plugins/shared}/lens/public/index.ts | 0 .../lens/public/lens_attribute_service.ts | 0 .../lens/public/lens_inspector_service.ts | 0 .../lens_suggestions_api/helpers.test.ts | 0 .../public/lens_suggestions_api/helpers.ts | 0 .../lens/public/lens_suggestions_api/index.ts | 0 .../lens_suggestions_api.test.ts | 0 .../public/lens_suggestions_api/readme.md | 0 .../public/lens_ui_errors/error_boundary.tsx | 0 .../lens/public/lens_ui_errors/index.ts | 0 .../memoized_error_notification.tsx | 0 .../color_telemetry_helpers.test.ts | 0 .../color_telemetry_helpers.ts | 0 .../lens/public/lens_ui_telemetry/index.ts | 0 .../lens_ui_telemetry/track_counter_events.ts | 0 .../lens/public/mocks/data_plugin_mock.ts | 0 .../public/mocks/data_views_service_mock.ts | 0 .../lens/public/mocks/datasource_mock.tsx | 0 .../lens/public/mocks/dataview_mock.ts | 0 .../public/mocks/expression_renderer_mock.tsx | 0 .../shared}/lens/public/mocks/index.ts | 0 .../lens/public/mocks/lens_plugin_mock.tsx | 0 .../lens/public/mocks/services_mock.tsx | 0 .../shared}/lens/public/mocks/store_mocks.tsx | 0 .../lens/public/mocks/suggestions_mock.ts | 0 .../lens/public/mocks/visualization_mock.tsx | 0 .../shared}/lens/public/persistence/index.ts | 0 .../lens/public/persistence/lens_client.ts | 0 .../persistence/saved_object_store.test.ts | 0 .../public/persistence/saved_object_store.ts | 0 .../check_for_duplicate_title.ts | 0 .../confirm_modal_promise.tsx | 0 .../saved_objects_utils/constants.ts | 0 .../display_duplicate_title_confirm_modal.ts | 0 .../find_object_by_title.test.ts | 0 .../find_object_by_title.ts | 0 .../persistence/saved_objects_utils/index.ts | 0 .../persistence/saved_objects_utils/types.ts | 0 .../plugins/shared}/lens/public/plugin.ts | 0 .../public/react_embeddable/data_loader.ts | 0 .../react_embeddable/expression_wrapper.tsx | 0 .../react_embeddable/expressions/callbacks.ts | 0 .../expressions/expression_params.ts | 0 .../expressions/merged_search_context.ts | 0 .../expressions/on_event.test.ts | 0 .../react_embeddable/expressions/on_event.ts | 0 .../react_embeddable/expressions/on_render.ts | 0 .../react_embeddable/expressions/telemetry.ts | 0 .../expressions/update_data_views.ts | 0 .../react_embeddable/expressions/variables.ts | 0 .../public/react_embeddable/helper.test.ts | 0 .../lens/public/react_embeddable/helper.ts | 0 .../initializers/initialize_actions.test.ts | 0 .../initializers/initialize_actions.ts | 0 .../initialize_dashboard_service.test.ts | 0 .../initialize_dashboard_services.ts | 0 .../initializers/initialize_edit.tsx | 0 .../initializers/initialize_inspector.ts | 0 .../initializers/initialize_integrations.ts | 0 .../initializers/initialize_internal_api.ts | 0 .../initializers/initialize_search_context.ts | 0 .../initialize_state_management.ts | 0 .../react_embeddable/inline_editing/mount.tsx | 0 .../inline_editing/panel_management.tsx | 0 .../inline_editing/setup_inline_editing.tsx | 0 .../inline_editing/state_management.tsx | 0 .../react_embeddable/lens_embeddable.tsx | 0 .../lens/public/react_embeddable/logger.ts | 0 .../public/react_embeddable/mocks/index.tsx | 0 .../public/react_embeddable/renderer/hooks.ts | 0 .../lens_custom_renderer_component.tsx | 0 .../lens_embeddable_component.test.tsx | 0 .../renderer/lens_embeddable_component.tsx | 0 .../public/react_embeddable/type_guards.ts | 0 .../lens/public/react_embeddable/types.ts | 0 .../react_embeddable/user_messages/api.ts | 0 .../react_embeddable/user_messages/checks.tsx | 0 .../user_messages/container.tsx | 0 .../user_messages/error_panel.tsx | 0 .../user_messages/info_badges.scss | 0 .../user_messages/info_badges.test.tsx | 0 .../user_messages/info_badges.tsx | 0 .../user_messages/message_popover.tsx | 0 .../public/report_performance_metric_util.ts | 0 .../shared}/lens/public/search_provider.ts | 0 .../shared}/lens/public/settings_storage.tsx | 0 .../axis/extent/axis_extent_settings.test.tsx | 0 .../axis/extent/axis_extent_settings.tsx | 0 .../axis/extent/helpers.test.ts | 0 .../shared_components/axis/extent/helpers.ts | 0 .../shared_components/axis/extent/index.ts | 0 .../axis/extent/to_expression.tsx | 0 .../shared_components/axis/extent/types.ts | 0 .../axis/ticks/axis_ticks_settings.test.tsx | 0 .../axis/ticks/axis_ticks_settings.tsx | 0 .../title/toolbar_title_settings.test.tsx | 0 .../axis/title/toolbar_title_settings.tsx | 0 .../shared_components/bar_orientation.tsx | 0 .../shared_components/collapse_setting.tsx | 0 .../coloring/color_mapping_accessor.test.ts | 0 .../coloring/color_mapping_accessor.ts | 0 .../coloring/color_mapping_by_terms.tsx | 0 .../coloring/color_mapping_by_values.tsx | 0 .../shared_components/coloring/constants.ts | 0 .../coloring/get_cell_color_fn.ts | 0 .../shared_components/coloring/index.ts | 0 .../coloring/palette_panel_container.tsx | 0 .../shared_components/coloring/utils.test.ts | 0 .../shared_components/coloring/utils.ts | 0 .../datasource_default_values.test.ts | 0 .../datasource_default_values.ts | 0 .../dataview_picker/dataview_picker.tsx | 0 .../dataview_picker/helpers.ts | 0 .../dataview_picker/index.ts | 0 .../dataview_picker/toolbar_button.scss | 0 .../dataview_picker/toolbar_button.tsx | 0 .../dataview_picker/trigger.test.tsx | 0 .../dataview_picker/trigger.tsx | 0 .../shared_components/experimental_badge.tsx | 0 .../shared_components/flyout_container.scss | 0 .../shared_components/flyout_container.tsx | 0 .../lens/public/shared_components/helpers.ts | 0 .../public/shared_components/icon_set.tsx | 0 .../data_view_picker_icon.tsx | 0 .../ignore_global_filter/index.ts | 0 .../ignore_global_filter/info_badge.tsx | 0 .../ignore_global_filter/settings_control.tsx | 0 .../lens/public/shared_components/index.ts | 0 .../info_badges/info_badge.test.tsx | 0 .../info_badges/info_badge.tsx | 0 .../legend/layout/columns_number_setting.tsx | 0 .../legend/legend_settings_popover.test.tsx | 0 .../legend/legend_settings_popover.tsx | 0 .../legend_location_settings.test.tsx | 0 .../location/legend_location_settings.tsx | 0 .../legend/size/legend_size_settings.test.tsx | 0 .../legend/size/legend_size_settings.tsx | 0 .../shared_components/palette_picker.tsx | 0 .../shared_components/prepend_provider.tsx | 0 .../shared_components/range_input_field.tsx | 0 .../setting_with_sibling_flyout.scss | 0 .../setting_with_sibling_flyout.tsx | 0 .../shared_components/static_header.tsx | 0 .../shared_components/toolbar_divider.tsx | 0 .../shared_components/toolbar_popover.scss | 0 .../shared_components/toolbar_popover.tsx | 0 .../value_labels_settings.test.tsx | 0 .../value_labels_settings.tsx | 0 .../public/shared_components/vis_label.tsx | 0 .../__snapshots__/load_initial.test.tsx.snap | 0 .../context_middleware/index.test.ts | 0 .../context_middleware/index.ts | 0 .../subscribe_to_external_context.ts | 0 .../state_management/fullscreen_middleware.ts | 0 .../public/state_management/index.test.ts | 0 .../lens/public/state_management/index.ts | 0 .../state_management/init_middleware/index.ts | 0 .../init_middleware/load_initial.ts | 0 .../state_management/lens_slice.test.ts | 0 .../public/state_management/lens_slice.ts | 0 .../state_management/load_initial.test.tsx | 0 .../state_management/optimizing_middleware.ts | 0 .../public/state_management/selectors.test.ts | 0 .../lens/public/state_management/selectors.ts | 0 .../public/state_management/shared_logic.ts | 0 .../lens/public/state_management/types.ts | 0 .../lens/public/state_management/utils.ts | 0 .../trigger_actions/convert_to_lens_action.ts | 0 .../dashboard_visualize_panel_actions.ts | 0 .../open_in_discover_action.test.ts | 0 .../open_in_discover_action.ts | 0 .../open_in_discover_drilldown.test.tsx | 0 .../open_in_discover_drilldown.tsx | 0 .../open_in_discover_helpers.ts | 0 .../open_lens_config/create_action.test.tsx | 0 .../open_lens_config/create_action.tsx | 0 .../open_lens_config/create_action_helpers.ts | 0 .../open_lens_config/helpers.scss | 0 .../in_app_embeddable_edit_action.test.tsx | 0 .../in_app_embeddable_edit_action.tsx | 0 .../in_app_embeddable_edit_action_helpers.tsx | 0 .../in_app_embeddable_edit_trigger.ts | 0 .../in_app_embeddable_edit/types.ts | 0 .../visualize_agg_based_vis_actions.ts | 0 .../visualize_field_actions.ts | 0 .../trigger_actions/visualize_tsvb_actions.ts | 0 .../plugins/shared}/lens/public/types.ts | 0 .../shared}/lens/public/user_messages_ids.ts | 0 .../lens/public/user_messages_utils.ts | 0 .../plugins/shared}/lens/public/utils.test.ts | 0 .../plugins/shared}/lens/public/utils.ts | 0 .../shared}/lens/public/vis_type_alias.ts | 0 .../lens/public/visualization_container.scss | 0 .../public/visualization_container.test.tsx | 0 .../lens/public/visualization_container.tsx | 0 .../datatable/components/cell_value.test.tsx | 0 .../datatable/components/cell_value.tsx | 0 .../datatable/components/columns.test.tsx | 0 .../datatable/components/columns.tsx | 0 .../datatable/components/constants.ts | 0 .../components/dimension_editor.scss | 0 .../components/dimension_editor.test.tsx | 0 .../datatable/components/dimension_editor.tsx | 0 ...mension_editor_additional_section.test.tsx | 0 .../dimension_editor_addtional_section.tsx | 0 .../datatable/components/helpers.ts | 0 .../components/table_actions.test.ts | 0 .../datatable/components/table_actions.ts | 0 .../datatable/components/table_basic.scss | 0 .../datatable/components/table_basic.test.tsx | 0 .../datatable/components/table_basic.tsx | 0 .../datatable/components/toolbar.test.tsx | 0 .../datatable/components/toolbar.tsx | 0 .../datatable/components/types.ts | 0 .../datatable/datatable_visualization.ts | 0 .../datatable/expression.test.tsx | 0 .../visualizations/datatable/expression.tsx | 0 .../public/visualizations/datatable/index.ts | 0 .../public/visualizations/datatable/utils.ts | 0 .../datatable/visualization.test.tsx | 0 .../datatable/visualization.tsx | 0 .../public/visualizations/gauge/constants.ts | 0 .../gauge/dimension_editor.scss | 0 .../visualizations/gauge/dimension_editor.tsx | 0 .../gauge/gauge_visualization.ts | 0 .../lens/public/visualizations/gauge/index.ts | 0 .../visualizations/gauge/palette_config.tsx | 0 .../visualizations/gauge/suggestions.test.ts | 0 .../visualizations/gauge/suggestions.ts | 0 .../toolbar_component/gauge_config_panel.scss | 0 .../toolbar_component/gauge_toolbar.test.tsx | 0 .../gauge/toolbar_component/index.tsx | 0 .../lens/public/visualizations/gauge/utils.ts | 0 .../gauge/visualization.test.ts | 0 .../visualizations/gauge/visualization.tsx | 0 .../visualizations/heatmap/constants.ts | 0 .../heatmap/dimension_editor.scss | 0 .../heatmap/dimension_editor.tsx | 0 .../heatmap/heatmap_visualization.ts | 0 .../public/visualizations/heatmap/index.ts | 0 .../heatmap/suggestions.test.ts | 0 .../visualizations/heatmap/suggestions.ts | 0 .../heatmap/toolbar_component.scss | 0 .../heatmap/toolbar_component.tsx | 0 .../public/visualizations/heatmap/types.ts | 0 .../public/visualizations/heatmap/utils.ts | 0 .../heatmap/visualization.test.ts | 0 .../visualizations/heatmap/visualization.tsx | 0 .../legacy_metric/dimension_editor.scss | 0 .../legacy_metric/dimension_editor.test.tsx | 0 .../legacy_metric/dimension_editor.tsx | 0 .../visualizations/legacy_metric/index.ts | 0 .../metric_config_panel/align_options.tsx | 0 .../metric_config_panel/index.tsx | 0 .../metric_config_panel/size_options.tsx | 0 .../text_formatting_options.tsx | 0 .../title_position_option.tsx | 0 .../titles_and_text_options_popover.tsx | 0 .../legacy_metric/metric_suggestions.test.ts | 0 .../legacy_metric/metric_suggestions.ts | 0 .../legacy_metric/metric_visualization.ts | 0 .../legacy_metric/palette_config.tsx | 0 .../legacy_metric/visualization.test.ts | 0 .../legacy_metric/visualization.tsx | 0 .../__snapshots__/visualization.test.ts.snap | 0 .../public/visualizations/metric/constants.ts | 0 .../metric/dimension_editor.test.tsx | 0 .../metric/dimension_editor.tsx | 0 .../public/visualizations/metric/index.ts | 0 .../metric/metric_visualization.ts | 0 .../visualizations/metric/palette_config.tsx | 0 .../visualizations/metric/suggestions.test.ts | 0 .../visualizations/metric/suggestions.ts | 0 .../visualizations/metric/to_expression.ts | 0 .../visualizations/metric/toolbar/index.tsx | 0 .../toolbar/titles_and_text_popover.test.tsx | 0 .../toolbar/titles_and_text_popover.tsx | 0 .../visualizations/metric/toolbar/toolbar.tsx | 0 .../public/visualizations/metric/types.ts | 0 .../metric/visualization.test.ts | 0 .../visualizations/metric/visualization.tsx | 0 .../visualizations/partition/constants.ts | 0 .../partition/dimension_editor.tsx | 0 .../public/visualizations/partition/index.ts | 0 .../partition/layer_settings.test.tsx | 0 .../partition/layer_settings.tsx | 0 .../partition/partition_charts_meta.ts | 0 .../visualizations/partition/persistence.tsx | 0 .../partition/pie_visualization.ts | 0 .../partition/render_helpers.test.ts | 0 .../partition/render_helpers.ts | 0 .../partition/suggestions.test.ts | 0 .../visualizations/partition/suggestions.ts | 0 .../visualizations/partition/to_expression.ts | 0 .../visualizations/partition/toolbar.scss | 0 .../visualizations/partition/toolbar.tsx | 0 .../partition/visualization.test.ts | 0 .../partition/visualization.tsx | 0 .../visualizations/tagcloud/constants.ts | 0 .../public/visualizations/tagcloud/index.ts | 0 .../visualizations/tagcloud/suggestions.ts | 0 .../tagcloud_toolbar/font_size_input.tsx | 0 .../tagcloud/tagcloud_toolbar/index.ts | 0 .../tagcloud_toolbar/tagcloud_toolbar.tsx | 0 .../tagcloud/tagcloud_visualization.tsx | 0 .../tagcloud/tags_dimension_editor.tsx | 0 .../public/visualizations/tagcloud/types.ts | 0 .../__snapshots__/to_expression.test.ts.snap | 0 .../__snapshots__/visualization.test.tsx.snap | 0 .../visualizations/xy/add_layer.test.tsx | 0 .../public/visualizations/xy/add_layer.tsx | 0 .../revert_changes_action.test.tsx.snap | 0 .../__snapshots__/save_action.test.tsx.snap | 0 .../xy/annotations/actions/index.ts | 0 .../actions/revert_changes_action.test.tsx | 0 .../actions/revert_changes_action.tsx | 0 .../annotations/actions/save_action.test.tsx | 0 .../xy/annotations/actions/save_action.tsx | 0 .../annotations/actions/unlink_action.test.ts | 0 .../xy/annotations/actions/unlink_action.tsx | 0 .../xy/annotations/helpers.test.ts | 0 .../visualizations/xy/annotations/helpers.tsx | 0 .../xy/axes_configuration.test.ts | 0 .../visualizations/xy/axes_configuration.ts | 0 .../xy/color_assignment.test.ts | 0 .../visualizations/xy/color_assignment.ts | 0 .../lens/public/visualizations/xy/index.ts | 0 .../visualizations/xy/layer_settings.tsx | 0 .../xy/legend_stats_telemetry_helpers.test.ts | 0 .../xy/legend_stats_telemetry_helpers.ts | 0 .../xy/load_annotation_library_flyout.tsx | 0 .../public/visualizations/xy/persistence.ts | 0 .../xy/reference_line_helpers.test.ts | 0 .../xy/reference_line_helpers.tsx | 0 .../visualizations/xy/state_helpers.tsx | 0 .../visualizations/xy/to_expression.test.ts | 0 .../public/visualizations/xy/to_expression.ts | 0 .../lens/public/visualizations/xy/types.ts | 0 .../visualizations/xy/visualization.test.tsx | 0 .../visualizations/xy/visualization.tsx | 0 .../xy/visualization_helpers.tsx | 0 .../annotations_panel.tsx | 0 .../axis_settings_popover.scss | 0 .../axis_settings_popover.test.tsx | 0 .../xy_config_panel/axis_settings_popover.tsx | 0 .../xy_config_panel/dimension_editor.test.tsx | 0 .../xy/xy_config_panel/dimension_editor.tsx | 0 .../xy/xy_config_panel/index.tsx | 0 .../xy/xy_config_panel/layer_header.test.tsx | 0 .../xy/xy_config_panel/layer_header.tsx | 0 .../reference_line_panel.tsx | 0 .../shared/marker_decoration_settings.tsx | 0 .../titles_and_text_popover/index.tsx | 0 .../end_value_definitions.ts | 0 .../fill_opacity_option.test.tsx | 0 .../fill_opacity_option.tsx | 0 .../fitting_function_definitions.ts | 0 .../visual_options_popover/index.tsx | 0 .../line_curve_definitions.ts | 0 .../line_curve_option.test.tsx | 0 .../line_curve_option.tsx | 0 .../missing_value_option.test.tsx | 0 .../missing_values_option.tsx | 0 .../visual_options_popover.test.tsx | 0 .../xy_config_panel/xy_config_panel.test.tsx | 0 .../visualizations/xy/xy_suggestions.test.ts | 0 .../visualizations/xy/xy_suggestions.ts | 0 .../visualizations/xy/xy_visualization.ts | 0 .../plugins/shared}/lens/readme.md | 2 +- .../server/content_management/cm_services.ts | 0 .../lens/server/content_management/index.ts | 0 .../server/content_management/lens_storage.ts | 0 .../content_management/v1/cm_services.ts | 0 .../make_lens_embeddable_factory.test.ts | 0 .../make_lens_embeddable_factory.ts | 2 +- .../lens/server/expressions/expressions.ts | 0 .../shared}/lens/server/expressions/index.ts | 0 .../shared}/lens/server/expressions/utils.ts | 0 .../plugins/shared}/lens/server/index.ts | 0 .../saved_object_migrations.test.ts.snap | 0 .../migrations/common_migrations.test.ts | 0 .../server/migrations/common_migrations.ts | 0 .../saved_object_migrations.test.ts | 0 .../migrations/saved_object_migrations.ts | 2 +- .../shared}/lens/server/migrations/types.ts | 0 .../plugins/shared}/lens/server/plugin.tsx | 0 .../shared}/lens/server/saved_objects.ts | 0 .../plugins/shared}/lens/to_playground.gif | Bin .../plugins/shared}/lens/tsconfig.json | 4 +- .../explorer_charts_container.js | 2 +- .../services/field_format_service.ts | 2 +- .../ml/public/application/util/chart_utils.js | 2 +- .../common/utils/get_inspect_response.ts | 2 +- .../common/utils/get_inspect_response.ts | 2 +- .../src/autocomplete/index.mock.ts | 2 +- .../src/fields/index.mock.ts | 2 +- .../src/filter_field_to_list/index.ts | 2 +- .../index.test.ts | 2 +- .../use_field_value_autocomplete/index.ts | 2 +- .../src/helpers/index.ts | 2 +- .../plugins/security_solution/package.json | 6 +- .../public/common/hooks/use_app_toasts.ts | 2 +- .../server/lib/timeline/constants.ts | 2 +- .../timelines/public/hooks/use_app_toasts.ts | 2 +- .../security_solution_cypress/package.json | 2 +- yarn.lock | 94 +++---- 4931 files changed, 1118 insertions(+), 1069 deletions(-) delete mode 100644 packages/kbn-lens-formula-docs/jest.config.js delete mode 100644 packages/kbn-sort-predicates/jest.config.js delete mode 100644 packages/kbn-tinymath/jest.config.js delete mode 100644 packages/kbn-transpose-utils/jest.config.js delete mode 100644 packages/kbn-visualization-utils/jest.config.js rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/README.md (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/index.ts (100%) create mode 100644 src/platform/packages/private/kbn-lens-formula-docs/jest.config.js rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/package.json (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/math/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/average.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/cardinality.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/count.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/counter_rate.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/cumulative_sum.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/differences.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/helpers.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/interval.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/last_value.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/max.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/median.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/min.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/moving_average.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/normalize_by_unit.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/now.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/overall_average.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/overall_max.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/overall_min.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/overall_sum.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/percentile.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/percentile_ranks.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/std_deviation.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/sum.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/time_range.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/operations/types.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/sections/calculations.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/sections/common.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/sections/comparison.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/sections/context.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/sections/elasticsearch.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/sections/how_to.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/sections/index.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/src/sections/math.ts (100%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/tsconfig.json (79%) rename {packages => src/platform/packages/private}/kbn-managed-content-badge/README.md (100%) rename {packages => src/platform/packages/private}/kbn-managed-content-badge/index.ts (100%) rename {packages/kbn-chart-icons => src/platform/packages/private/kbn-managed-content-badge}/jest.config.js (82%) rename {packages => src/platform/packages/private}/kbn-managed-content-badge/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/kbn-managed-content-badge/package.json (100%) rename {packages => src/platform/packages/private}/kbn-managed-content-badge/tsconfig.json (83%) rename {packages => src/platform/packages/private}/kbn-timelion-grammar/chain.peggy (100%) rename {packages => src/platform/packages/private}/kbn-timelion-grammar/index.js (100%) rename {packages => src/platform/packages/private}/kbn-timelion-grammar/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/kbn-timelion-grammar/package.json (100%) rename {packages => src/platform/packages/private}/kbn-timelion-grammar/tsconfig.json (72%) rename {packages => src/platform/packages/private}/kbn-tinymath/README.md (92%) rename {packages => src/platform/packages/private}/kbn-tinymath/docs/functions.md (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/docs/template/functions.hbs (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/index.d.ts (100%) rename {packages/kbn-coloring => src/platform/packages/private/kbn-tinymath}/jest.config.js (84%) rename {packages => src/platform/packages/private}/kbn-tinymath/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/package.json (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/abs.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/add.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/cbrt.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/ceil.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/clamp.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/comparison/eq.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/comparison/gt.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/comparison/gte.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/comparison/ifelse.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/comparison/index.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/comparison/lt.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/comparison/lte.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/cos.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/count.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/cube.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/defaults.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/degtorad.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/divide.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/exp.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/first.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/fix.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/floor.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/index.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/last.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/lib/transpose.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/log.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/log10.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/max.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/mean.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/median.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/min.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/mod.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/mode.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/multiply.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/pi.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/pow.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/radtodeg.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/random.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/range.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/round.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/sin.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/size.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/sqrt.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/square.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/subtract.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/sum.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/tan.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/functions/unique.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/grammar.peggy (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/src/index.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/abs.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/add.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/cbrt.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/ceil.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/clamp.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/comparison/eq.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/comparison/gt.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/comparison/gte.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/comparison/ifelse.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/comparison/lt.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/comparison/lte.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/cos.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/cube.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/defaults.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/degtorad.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/divide.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/exp.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/first.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/fix.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/floor.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/last.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/log.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/log10.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/max.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/mean.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/median.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/min.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/mod.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/mode.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/multiply.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/pi.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/pow.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/radtodeg.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/random.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/range.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/round.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/sin.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/size.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/sqrt.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/square.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/subtract.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/sum.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/tan.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/transpose.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/functions/unique.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/test/library.test.js (100%) rename {packages => src/platform/packages/private}/kbn-tinymath/tsconfig.json (71%) rename {packages => src/platform/packages/private}/kbn-transpose-utils/README.md (100%) rename {packages => src/platform/packages/private}/kbn-transpose-utils/index.test.ts (100%) rename {packages => src/platform/packages/private}/kbn-transpose-utils/index.ts (100%) create mode 100644 src/platform/packages/private/kbn-transpose-utils/jest.config.js rename {packages => src/platform/packages/private}/kbn-transpose-utils/kibana.jsonc (100%) rename {packages => src/platform/packages/private}/kbn-transpose-utils/package.json (100%) rename {packages => src/platform/packages/private}/kbn-transpose-utils/tsconfig.json (82%) rename src/{plugins/chart_expressions/common => platform/packages/shared/chart-expressions-common}/README.md (100%) rename src/{plugins/chart_expressions/common => platform/packages/shared/chart-expressions-common}/color_categories.test.ts (100%) rename src/{plugins/chart_expressions/common => platform/packages/shared/chart-expressions-common}/color_categories.ts (100%) rename src/{plugins/chart_expressions/common => platform/packages/shared/chart-expressions-common}/index.ts (100%) rename {packages/kbn-event-annotation-common => src/platform/packages/shared/chart-expressions-common}/jest.config.js (83%) rename src/{plugins/chart_expressions/common => platform/packages/shared/chart-expressions-common}/kibana.jsonc (100%) rename src/{plugins/chart_expressions/common => platform/packages/shared/chart-expressions-common}/package.json (100%) rename src/{plugins/chart_expressions/common => platform/packages/shared/chart-expressions-common}/tsconfig.json (87%) rename src/{plugins/chart_expressions/common => platform/packages/shared/chart-expressions-common}/types.ts (100%) rename src/{plugins/chart_expressions/common => platform/packages/shared/chart-expressions-common}/utils.test.ts (100%) rename src/{plugins/chart_expressions/common => platform/packages/shared/chart-expressions-common}/utils.ts (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-width-from-char-count/.storybook/main.js (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-width-from-char-count/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-width-from-char-count/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js rename {packages => src/platform/packages/shared}/kbn-calculate-width-from-char-count/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-width-from-char-count/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-width-from-char-count/src/calculate_width_from_char_count.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-width-from-char-count/src/calculate_width_from_char_count.ts (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-width-from-char-count/src/calculate_width_from_entries.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-width-from-char-count/src/calculate_width_from_entries.ts (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-width-from-char-count/src/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-calculate-width-from-char-count/tsconfig.json (82%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/.storybook/main.js (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/index.ts (100%) rename {packages/kbn-calculate-width-from-char-count => src/platform/packages/shared/kbn-chart-icons}/jest.config.js (84%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/__stories__/icons.stories.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/annotation_icons/circle.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/annotation_icons/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/annotation_icons/triangle.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/axis_bottom.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/axis_left.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/axis_right.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/axis_top.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_area.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_area_percentage.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_area_stacked.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_bar.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_bar_annotations.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_bar_horizontal.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_bar_horizontal_percentage.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_bar_horizontal_stacked.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_bar_percentage.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_bar_reference_line.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_bar_stacked.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_datatable.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_donut.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_gauge.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_gauge_arc.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_gauge_circle.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_gauge_semi_circle.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_gauge_simple_icons.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_heatmap.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_horizontal_bullet.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_line.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_metric.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_mixed_xy.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_mosaic.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_pie.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_tagcloud.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_treemap.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_vertical_bullet.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/chart_waffle.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/common_styles.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/donut_hole_icons.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/drop_illustration.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/globe_illustration.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/icon_simple_wrapper.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/legend.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/src/assets/region_map.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-chart-icons/tsconfig.json (85%) rename {packages => src/platform/packages/shared}/kbn-coloring/.storybook/main.js (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/index.ts (100%) rename {packages/kbn-dom-drag-drop => src/platform/packages/shared/kbn-coloring}/jest.config.js (84%) rename {packages => src/platform/packages/shared}/kbn-coloring/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/color_manipulation/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/palettes/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/palettes/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/palettes/mocks/palettes_registry.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/palettes/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/palettes/utils.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/palettes/utils.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/__stories__/color_mapping.stories.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/categorical_color_mapping.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/categorical_color_mapping.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/color/color_handling.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/color/color_handling.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/color/color_math.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/color/rule_matching.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/assignment/assignment.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/assignment/match.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/assignment/range.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/assignment/special_assignment.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/color_picker/color_picker.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/color_picker/color_swatch.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/color_picker/palette_colors.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/color_picker/rgb_picker.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/container/assigments.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/container/container.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/container/unassigned_terms_config.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/gradient.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/gradient_add_stop.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/palette_selector.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/scale.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/config/assignments.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/config/default_color_mapping.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/config/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/config/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/state/color_mapping.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/state/selectors.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/state/ui.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/__stories__/customizable_palette.stories.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/__stories__/palettes.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/assets/distribute_equally.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/assets/infinity.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/assets/related.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/assets/value_max.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/assets/value_min.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_context.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_extra_actions.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_item.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_item_buttons.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_validation.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_validation.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_crud.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_crud.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_extra_actions.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_extra_actions.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/utils/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/utils/utils.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/color_ranges/utils/utils.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/mocks/palettes_registry.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/palette_configuration.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/palette_configuration.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/palette_configuration_reducer.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/palette_picker.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/tooltip_wrapper.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/utils.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/coloring/utils.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/tsconfig.json (91%) rename {packages => src/platform/packages/shared}/kbn-data-service/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/jest.config.js (83%) rename {packages => src/platform/packages/shared}/kbn-data-service/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/src/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/src/es_query/get_es_query_config.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/src/es_query/get_es_query_config.ts (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/src/es_query/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/src/es_query/stubs/exists_filter.ts (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/src/es_query/stubs/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/src/es_query/stubs/phrase_filter.ts (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/src/es_query/stubs/phrases_filter.ts (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/src/es_query/stubs/range_filter.ts (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/src/search/tabify/__snapshots__/tabify_docs.test.ts.snap (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/src/search/tabify/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/src/search/tabify/tabify_docs.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/src/search/tabify/tabify_docs.ts (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/src/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-data-service/tsconfig.json (85%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/drag_drop_reordering.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/draggable.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/draggable.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/drop_overlay_wrapper.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/drop_targets/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/drop_targets/swap_duplicate_combine.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/droppable.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/droppable.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/providers/announcements.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/providers/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/providers/providers.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/providers/providers.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/providers/reorder_provider.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/providers/types.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/sass/drag_drop_mixins.scss (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/sass/draggable.scss (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/sass/droppable.scss (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/test_utils.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/src/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/tsconfig.json (77%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-common/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-common/index.ts (100%) rename {packages/kbn-managed-content-badge => src/platform/packages/shared/kbn-event-annotation-common}/jest.config.js (82%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-common/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-common/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-common/tsconfig.json (87%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-common/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-common/util.ts (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/components/annotation_editor_controls/annotation_editor_controls.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/components/annotation_editor_controls/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/components/annotation_editor_controls/icon_set.ts (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/components/annotation_editor_controls/index.scss (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/components/annotation_editor_controls/index.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/components/annotation_editor_controls/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/components/annotation_editor_controls/manual_annotation_panel.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/components/annotation_editor_controls/query_annotation_panel.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/components/annotation_editor_controls/range_annotation_panel.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/components/annotation_editor_controls/tooltip_annotation_panel.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/components/annotation_editor_controls/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/components/event_annotation_group_saved_object_finder.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/components/get_annotation_accessor.ts (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/components/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/index.ts (100%) rename {packages/kbn-visualization-ui-components => src/platform/packages/shared/kbn-event-annotation-components}/jest.config.js (82%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/tsconfig.json (92%) rename {packages => src/platform/packages/shared}/kbn-event-annotation-components/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/jest.config.js (83%) rename {packages => src/platform/packages/shared}/kbn-interpreter/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/arg.js (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/arg.test.js (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/ast/ast.ts (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/ast/compare.ts (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/ast/from_expression.test.js (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/ast/from_expression.ts (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/ast/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/ast/patch.ts (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/ast/safe_element_from_expression.ts (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/ast/to_expression.test.js (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/ast/to_expression.ts (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/cast.js (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/fn.js (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/get_by_alias.js (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/get_by_alias.test.js (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/get_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/grammar.peggy (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/grammar.peggy.config.json (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/parse.ts (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/registry.test.js (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/lib/registry.ts (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/src/common/registries.js (100%) rename {packages => src/platform/packages/shared}/kbn-interpreter/tsconfig.json (85%) rename {packages => src/platform/packages/shared}/kbn-sort-predicates/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-sort-predicates/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-sort-predicates/jest.config.js rename {packages => src/platform/packages/shared}/kbn-sort-predicates/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-sort-predicates/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-sort-predicates/src/sorting.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-sort-predicates/src/sorting.ts (100%) rename {packages => src/platform/packages/shared}/kbn-sort-predicates/tsconfig.json (84%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/chart_switch_trigger.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/color_picker.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/debounced_input.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/debounced_input.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/dimension_buttons/constants.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/dimension_buttons/dimension_button.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/dimension_buttons/dimension_button.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/dimension_buttons/dimension_button_icon.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/dimension_buttons/empty_button.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/dimension_buttons/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/dimension_buttons/palette_indicator.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/dimension_buttons/trigger.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/dimension_buttons/trigger.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/dimension_buttons/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/dimension_editor_section.scss (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/dimension_editor_section.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/drag_drop_bucket/buckets.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/drag_drop_bucket/buckets.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/drag_drop_bucket/default_bucket_container.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/drag_drop_bucket/fields_bucket_container.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/drag_drop_bucket/index.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/drag_drop_bucket/new_bucket_button.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/drag_drop_bucket/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/field_picker/field_picker.scss (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/field_picker/field_picker.test.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/field_picker/field_picker.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/field_picker/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/field_picker/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/icon_select.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/line_style_settings.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/name_input.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/query_input/filter_query_input.scss (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/query_input/filter_query_input.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/query_input/helpers.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/query_input/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/query_input/query_input.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/components/text_decoration_setting.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/index.ts (100%) rename {packages/kbn-event-annotation-components => src/platform/packages/shared/kbn-visualization-ui-components}/jest.config.js (82%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/tsconfig.json (94%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-ui-components/util.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/__mocks__/suggestions_mock.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/index.ts (100%) create mode 100644 src/platform/packages/shared/kbn-visualization-utils/jest.config.js rename {packages => src/platform/packages/shared}/kbn-visualization-utils/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/src/debounced_value.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/src/debounced_value.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/src/get_datasource_id.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/src/get_lens_attributes.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/src/get_lens_attributes.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/src/get_timezone.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/src/get_timezone.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/src/map_vis_to_chart_type.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/src/tooltip_wrapper.tsx (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/src/types.ts (100%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/tsconfig.json (85%) rename src/{plugins => platform/plugins/private}/event_annotation/.i18nrc.json (100%) rename src/{plugins => platform/plugins/private}/event_annotation/README.md (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/constants.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/content_management/constants.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/content_management/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/content_management/latest.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/content_management/types.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/content_management/v1/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/content_management/v1/types.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/event_annotation_group/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/fetch_event_annotation/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/fetch_event_annotations/fetch_event_annotations_fn.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/fetch_event_annotations/handle_request.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/fetch_event_annotations/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/fetch_event_annotations/request_event_annotations.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/fetch_event_annotations/types.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/fetch_event_annotations/utils.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/manual_event_annotation/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/manual_event_annotation/types.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/query_point_event_annotation/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/query_point_event_annotation/types.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/common/types.ts (100%) rename src/{plugins/event_annotation_listing => platform/plugins/private/event_annotation}/jest.config.js (66%) rename src/{plugins => platform/plugins/private}/event_annotation/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/event_annotation/public/components/event_annotation_group_saved_object_finder.tsx (100%) rename src/{plugins => platform/plugins/private}/event_annotation/public/event_annotation_service/README.md (100%) rename src/{plugins => platform/plugins/private}/event_annotation/public/event_annotation_service/__snapshots__/service.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/event_annotation/public/event_annotation_service/index.tsx (100%) rename src/{plugins => platform/plugins/private}/event_annotation/public/event_annotation_service/service.test.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/public/event_annotation_service/service.tsx (100%) rename src/{plugins => platform/plugins/private}/event_annotation/public/fetch_event_annotations/__snapshots__/fetch_event_annotations.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/event_annotation/public/fetch_event_annotations/fetch_event_annotations.test.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/public/fetch_event_annotations/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/public/mocks.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/server/content_management/event_annotation_group_storage.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/server/content_management/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/server/content_management/schema/cm_services.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/server/content_management/schema/v1/cm_services.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/server/fetch_event_annotations/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/server/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/server/saved_objects.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation/tsconfig.json (95%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/.i18nrc.json (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/README.md (100%) create mode 100644 src/platform/plugins/private/event_annotation_listing/jest.config.js rename src/{plugins => platform/plugins/private}/event_annotation_listing/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/components/group_editor_flyout/__snapshots__/group_editor_flyout.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/annotation_list.tsx (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/group_editor_controls.test.tsx (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/group_editor_controls.tsx (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/components/group_editor_flyout/group_editor_flyout.test.tsx (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/components/group_editor_flyout/group_editor_flyout.tsx (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/components/group_editor_flyout/group_preview.test.tsx (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/components/group_editor_flyout/group_preview.tsx (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/components/group_editor_flyout/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/components/group_editor_flyout/lens_attributes.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/components/table_list.test.tsx (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/components/table_list.tsx (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/constants.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/get_table_list.tsx (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/tsconfig.json (96%) rename src/{plugins => platform/plugins/private}/url_forwarding/README.md (100%) rename src/{plugins/chart_expressions/expression_xy => platform/plugins/private/url_forwarding}/jest.config.js (68%) rename src/{plugins => platform/plugins/private}/url_forwarding/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/url_forwarding/public/forward_app/forward_app.test.ts (100%) rename src/{plugins => platform/plugins/private}/url_forwarding/public/forward_app/forward_app.ts (100%) rename src/{plugins => platform/plugins/private}/url_forwarding/public/forward_app/index.ts (100%) rename src/{plugins => platform/plugins/private}/url_forwarding/public/forward_app/navigate_to_legacy_kibana_url.test.ts (100%) rename src/{plugins => platform/plugins/private}/url_forwarding/public/forward_app/navigate_to_legacy_kibana_url.ts (100%) rename src/{plugins => platform/plugins/private}/url_forwarding/public/forward_app/normalize_path.ts (100%) rename src/{plugins => platform/plugins/private}/url_forwarding/public/index.ts (93%) rename src/{plugins => platform/plugins/private}/url_forwarding/public/mocks.ts (100%) rename src/{plugins => platform/plugins/private}/url_forwarding/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/url_forwarding/tsconfig.json (77%) rename src/{plugins => platform/plugins/private}/vis_default_editor/README.md (85%) rename src/{plugins/chart_expressions/expression_metric => platform/plugins/private/vis_default_editor}/jest.config.js (67%) rename src/{plugins => platform/plugins/private}/vis_default_editor/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/_agg.scss (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/_agg_params.scss (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/_default.scss (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/_sidebar.scss (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/agg_filters/agg_type_field_filters.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/agg_filters/agg_type_filters.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/agg_filters/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/__snapshots__/agg_group.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_add.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_common_props.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_group.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_group.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_group_helper.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_group_helper.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_group_state.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_param.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_param_props.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_params.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_params.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_params_helper.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_params_helper.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_params_map.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_params_state.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/agg_select.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/__snapshots__/extended_bounds.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/__snapshots__/metric_agg.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/__snapshots__/size.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/__snapshots__/time_interval.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/__snapshots__/top_aggregate.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/agg_control_props.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/agg_utils.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/from_to_list.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/input_list.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/mask_list.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/number_list/__snapshots__/number_list.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/number_list/__snapshots__/number_row.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/number_list/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/number_list/number_list.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/number_list/number_list.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/number_list/number_row.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/number_list/number_row.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/number_list/range.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/number_list/range.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/number_list/utils.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/number_list/utils.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/components/simple_number_list.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/date_ranges.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/date_ranges.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/drop_partials.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/extended_bounds.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/extended_bounds.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/field.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/field.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/filter.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/filters.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/has_extended_bounds.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/include_exclude.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/ip_prefix.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/ip_range_type.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/ip_ranges.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/max_bars.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/metric_agg.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/metric_agg.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/min_doc_count.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/missing_bucket.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/number_interval.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/order.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/order_agg.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/order_agg.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/order_by.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/other_bucket.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/palette_picker.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/palette_picker.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/percentile_ranks.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/percentiles.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/percentiles.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/radius_ratio_option.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/range_control.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/ranges.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/raw_json.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/rows_or_columns.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/scale_metrics.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/size.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/size.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/string.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/sub_agg.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/sub_metric.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/switch.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/test_utils.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/time_interval.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/time_interval.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/top_aggregate.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/top_aggregate.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/top_field.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/top_size.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/top_sort_field.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/utils/agg_utils.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/utils/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/utils/inline_comp_wrapper.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/utils/strings/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/utils/strings/prose.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/utils/strings/prose.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/controls/utils/use_handlers.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/basic_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/color_ranges.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/color_schema.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/legend_size_settings.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/legend_size_settings.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/long_legend_options.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/long_legend_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/number_input.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/percentage_mode.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/percentage_mode.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/range.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/required_number_input.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/select.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/switch.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/options/text_input.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/sidebar/controls.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/sidebar/data_tab.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/sidebar/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/sidebar/navbar.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/sidebar/sidebar.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/sidebar/sidebar_title.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/sidebar/state/actions.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/sidebar/state/constants.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/sidebar/state/editor_form_state.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/sidebar/state/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/sidebar/state/reducers.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/sidebar/use_option_tabs.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/utils/editor_config.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/components/utils/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/default_editor.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/default_editor_controller.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/editor_size.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/index.scss (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/schemas.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/services.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/utils.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/public/utils.ts (100%) rename src/{plugins => platform/plugins/private}/vis_default_editor/tsconfig.json (93%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/common/index.ts (100%) rename src/{plugins/chart_expressions/expression_heatmap => platform/plugins/private/vis_types/gauge}/jest.config.js (67%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/__snapshots__/to_ast.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/convert_to_lens/configurations/gauge.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/convert_to_lens/configurations/gauge.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/convert_to_lens/configurations/goal.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/convert_to_lens/configurations/goal.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/convert_to_lens/gauge.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/convert_to_lens/gauge.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/convert_to_lens/goal.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/convert_to_lens/goal.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/convert_to_lens/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/convert_to_lens/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/editor/collections.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/editor/components/gauge/index.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/editor/components/gauge/labels_panel.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/editor/components/gauge/ranges_panel.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/editor/components/gauge/style_panel.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/editor/components/index.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/editor/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/services.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/to_ast.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/to_ast.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/vis_type/gauge.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/vis_type/goal.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/vis_type/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/public/vis_type/split_tooltip.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/server/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/tsconfig.json (91%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/common/index.ts (100%) rename src/{plugins/chart_expressions/expression_gauge => platform/plugins/private/vis_types/heatmap}/jest.config.js (71%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/__snapshots__/to_ast.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/convert_to_lens/configurations/index.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/convert_to_lens/configurations/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/convert_to_lens/configurations/palette.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/convert_to_lens/index.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/convert_to_lens/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/convert_to_lens/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/editor/collections.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/editor/components/heatmap.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/editor/components/heatmap.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/editor/components/index.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/editor/components/labels_panel.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/sample_vis.test.mocks.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/services.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/to_ast.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/to_ast.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/utils/palette.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/utils/palette.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/vis_type/heatmap.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/public/vis_type/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/server/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/tsconfig.json (92%) create mode 100644 src/platform/plugins/private/vis_types/metric/jest.config.js rename src/{plugins => platform/plugins/private}/vis_types/metric/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/__snapshots__/to_ast.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/components/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/components/metric_vis_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/convert_to_lens/configurations/index.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/convert_to_lens/configurations/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/convert_to_lens/index.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/convert_to_lens/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/convert_to_lens/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/metric_vis_type.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/services.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/to_ast.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/to_ast.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/metric/tsconfig.json (90%) rename src/{plugins => platform/plugins/private}/vis_types/pie/common/index.ts (100%) create mode 100644 src/platform/plugins/private/vis_types/pie/jest.config.js rename src/{plugins => platform/plugins/private}/vis_types/pie/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/__snapshots__/to_ast.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/convert_to_lens/configurations/index.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/convert_to_lens/configurations/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/convert_to_lens/index.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/convert_to_lens/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/convert_to_lens/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/editor/collections.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/editor/components/index.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/editor/components/pie.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/editor/components/pie.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/editor/components/truncate_labels.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/editor/components/truncate_labels.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/editor/positions.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/sample_vis.test.mocks.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/services.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/to_ast.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/to_ast.ts (100%) rename src/{plugins/data/common/search/strategies/eql_search => platform/plugins/private/vis_types/pie/public/types}/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/types/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/vis_type/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/public/vis_type/pie.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/server/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/tsconfig.json (92%) rename src/{plugins => platform/plugins/private}/vis_types/table/README.md (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/common/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/common/types.ts (100%) create mode 100644 src/platform/plugins/private/vis_types/table/jest.config.js rename src/{plugins => platform/plugins/private}/vis_types/table/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/__snapshots__/table_vis_fn.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/__snapshots__/table_vis_basic.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/__snapshots__/table_vis_cell.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/table_vis_basic.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/table_vis_basic.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/table_vis_cell.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/table_vis_cell.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/table_vis_columns.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/table_vis_controls.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/table_vis_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/table_vis_options_lazy.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/table_vis_split.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/table_visualization.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/table_visualization.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/table_visualization.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/utils.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/components/utils.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/convert_to_lens/configurations/index.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/convert_to_lens/configurations/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/convert_to_lens/index.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/convert_to_lens/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/convert_to_lens/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/register_vis.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/services.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/table_vis_fn.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/table_vis_fn.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/table_vis_renderer.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/table_vis_type.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/to_ast.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/to_ast.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/utils/add_percentage_column.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/utils/add_percentage_column.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/utils/create_formatted_table.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/utils/create_formatted_table.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/utils/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/utils/table_vis_response_handler.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/utils/table_vis_response_handler.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/utils/use/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/utils/use/use_pagination.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/utils/use/use_pagination.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/utils/use/use_ui_state.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/public/utils/use/use_ui_state.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/table/tsconfig.json (92%) create mode 100644 src/platform/plugins/private/vis_types/tagcloud/jest.config.js rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/public/__snapshots__/to_ast.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/public/components/collections.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/public/components/get_tag_cloud_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/public/components/tag_cloud_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/public/convert_to_lens/index.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/public/convert_to_lens/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/public/services.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/public/tag_cloud_type.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/public/to_ast.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/public/to_ast.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/tsconfig.json (90%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/README.md (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/common/constants.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/common/lib/calculate_interval.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/common/lib/calculate_interval.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/common/lib/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/common/lib/to_milliseconds.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/common/parser.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/common/parser_async.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/common/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/common/vis_data.ts (100%) rename src/{plugins/chart_expressions/expression_tagcloud => platform/plugins/private/vis_types/timelion}/jest.config.js (66%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/__snapshots__/to_ast.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/async_services.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/components/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/components/series/area.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/components/series/bar.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/components/series/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/components/timelion_expression_input.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/components/timelion_expression_input_helpers.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/components/timelion_interval.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/components/timelion_vis.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/components/timelion_vis_component.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/helpers/arg_value_suggestions.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/helpers/chart_constants.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/helpers/panel_utils.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/helpers/plugin_services.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/helpers/tick_formatters.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/helpers/tick_formatters.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/helpers/tick_generator.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/helpers/tick_generator.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/helpers/timelion_request_handler.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/helpers/xaxis_formatter.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/timelion_options.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/timelion_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/timelion_vis_fn.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/timelion_vis_renderer.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/timelion_vis_type.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/to_ast.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/public/to_ast.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/fit_functions/average.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/fit_functions/average.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/fit_functions/carry.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/fit_functions/carry.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/fit_functions/nearest.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/fit_functions/none.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/fit_functions/scale.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/handlers/chain_runner.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/handlers/lib/arg_type.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/handlers/lib/index_arguments.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/handlers/lib/parse_sheet.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/handlers/lib/parse_sheet.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/handlers/lib/preprocess_chain.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/handlers/lib/reposition_arguments.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/handlers/lib/tl_config.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/handlers/lib/validate_arg.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/handlers/lib/validate_time.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/alter.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/as_sorted.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/build_target.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/classes/chainable.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/classes/datasource.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/classes/timelion_function.d.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/classes/timelion_function.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/config_manager.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/functions_md.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/get_namespaced_settings.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/load_functions.d.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/load_functions.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/load_functions.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/offset_time.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/offset_time.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/process_function_definition.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/reduce.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/split_interval.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/lib/unzip_pairs.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/routes/functions.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/routes/run.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/abs.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/abs.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/aggregate/aggregate.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/aggregate/avg.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/aggregate/cardinality.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/aggregate/first.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/aggregate/index.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/aggregate/last.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/aggregate/max.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/aggregate/min.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/aggregate/sum.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/bars.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/bars.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/color.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/color.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/condition.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/condition.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/cusum.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/cusum.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/derivative.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/derivative.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/divide.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/divide.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/es/es.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/es/index.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/es/lib/agg_body.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/es/lib/agg_response_to_series_list.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/es/lib/build_request.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/es/lib/create_date_agg.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/first.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/first.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/fit.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/fit.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/fixtures/bucket_list.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/fixtures/es_response.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/fixtures/series_list.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/fixtures/tl_config.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/hide.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/hide.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/holt/index.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/holt/lib/des.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/holt/lib/ses.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/holt/lib/tes.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/label.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/label.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/legend.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/legend.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/lines.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/lines.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/log.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/log.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/max.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/max.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/min.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/min.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/movingaverage.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/movingaverage.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/movingstd.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/movingstd.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/multiply.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/multiply.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/points.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/points.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/precision.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/precision.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/props.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/range.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/range.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/scale_interval.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/scale_interval.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/static.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/static.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/subtract.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/subtract.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/sum.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/sum.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/test_helpers/get_series.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/test_helpers/get_series_list.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/test_helpers/get_single_series_list.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/test_helpers/invoke_series_fn.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/title.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/title.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/trend/index.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/trend/lib/regress.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/trim.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/trim.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/worldbank.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/worldbank_indicators.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/yaxis.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/series_functions/yaxis.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/timelion.json (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/server/ui_settings.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/timelion/tsconfig.json (94%) create mode 100644 src/platform/plugins/private/vis_types/vega/jest.config.js rename src/{plugins => platform/plugins/private}/vis_types/vega/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/__snapshots__/vega_visualization.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/async_services.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/components/deprecated_interval_info.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/components/deprecated_interval_info.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/components/experimental_map_vis_info.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/components/vega_actions_menu.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/components/vega_editor.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/components/vega_help_menu.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/components/vega_info_message.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/components/vega_vis.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/components/vega_vis.styles.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/components/vega_vis_component.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/components/vega_vis_editor.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/components/vega_vis_editor_lazy.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/data_model/ems_file_parser.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/data_model/es_query_parser.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/data_model/es_query_parser.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/data_model/search_api.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/data_model/search_api.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/data_model/time_cache.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/data_model/time_cache.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/data_model/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/data_model/url_parser.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/data_model/utils.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/data_model/vega_parser.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/data_model/vega_parser.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/default.spec.hjson (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/default_spec.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/lib/extract_index_pattern.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/lib/extract_index_pattern.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/lib/vega_state_restorer.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/lib/vega_state_restorer.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/services.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/test_utils/default.spec.json (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/test_utils/vega_graph.json (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/test_utils/vega_map_test.json (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/test_utils/vegalite_graph.json (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/to_ast.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_fn.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_inspector/components/data_viewer.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_inspector/components/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_inspector/components/inspector_data_grid.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_inspector/components/signal_viewer.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_inspector/components/spec_viewer.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_inspector/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_inspector/vega_adapter.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_inspector/vega_data_inspector.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_inspector/vega_data_inspector.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_inspector/vega_inspector.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_request_handler.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_type.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/utils.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/utils.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_base_view.d.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_base_view.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_base_view.styles.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/constants.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/layers/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/layers/tms_raster_layer.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/layers/tms_raster_layer.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/layers/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/layers/vega_layer.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/layers/vega_layer.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/service_settings/get_service_settings.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/service_settings/get_service_settings_lazy.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings_types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/utils/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/utils/validation_helper.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/utils/validation_helper.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/utils/vsi_helper.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/utils/vsi_helper.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/vega_map_view.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/view.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_map_view/view.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_tooltip.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_tooltip.styles.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_view.d.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_view/vega_view.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_vis_renderer.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_visualization.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/public/vega_visualization.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/server/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/server/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vega/tsconfig.json (95%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/common/index.ts (100%) create mode 100644 src/platform/plugins/private/vis_types/vislib/jest.config.js rename src/{plugins => platform/plugins/private}/vis_types/vislib/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/__snapshots__/to_ast.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/dispatch_heatmap_config.json (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/dispatch_heatmap_d3.json (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/dispatch_heatmap_data_point.json (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/date_histogram/_columns.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/date_histogram/_rows.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/date_histogram/_rows_series_with_holes.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_monthly_interval.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_neg.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_pos_neg.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/date_histogram/_stacked_series.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/filters/_columns.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/filters/_rows.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/filters/_series.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/histogram/_columns.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/histogram/_rows.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/histogram/_series.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/histogram/_slices.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/not_enough_data/_one_point.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/range/_columns.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/range/_rows.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/range/_series.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/significant_terms/_columns.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/significant_terms/_rows.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/significant_terms/_series.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/stacked/_stacked.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/terms/_columns.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/terms/_rows.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/terms/_series.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mock_data/terms/_series_multiple.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/fixtures/mocks.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/gauge.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/goal.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/heatmap.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/index.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/services.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/to_ast.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/to_ast.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vis_controller.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vis_renderer.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vis_type_vislib_vis_fn.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vis_wrapper.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/VISLIB.md (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/_index.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/_variables.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/_vislib_vis_type.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/labels/data_array.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/labels/flatten_series.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/labels/index.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/labels/labels.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/labels/labels.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/labels/truncate_labels.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/labels/uniq_labels.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/legend/__snapshots__/legend.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/legend/_index.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/legend/_legend.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/legend/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/legend/legend.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/legend/legend.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/legend/legend_item.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/legend/models.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/tooltip/_collect_branch.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/tooltip/_collect_branch.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/tooltip/_index.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/tooltip/_tooltip.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/tooltip/index.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/tooltip/position_tooltip.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/tooltip/position_tooltip.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/tooltip/tooltip.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/zero_injection/flatten_data.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/zero_injection/inject_zeros.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/zero_injection/ordered_x_keys.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/zero_injection/uniq_keys.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/zero_injection/zero_fill_data_array.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/zero_injection/zero_filled_array.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/components/zero_injection/zero_injection.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/errors.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_add_to_siri.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_add_to_siri.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_fake_x_aspect.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_fake_x_aspect.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_get_aspects.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_get_aspects.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_get_point.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_get_point.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_get_series.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_get_series.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_init_x_axis.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_init_x_axis.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_init_y_axis.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_init_y_axis.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_ordered_date_axis.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/_ordered_date_axis.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/point_series.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/helpers/point_series/point_series.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/__snapshots__/dispatch_heatmap.test.js.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/_data_label.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/_error_handler.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/_error_handler.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/_index.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/axis/axis.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/axis/axis.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/axis/axis_config.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/axis/axis_labels.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/axis/axis_scale.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/axis/axis_title.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/axis/axis_title.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/axis/index.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/axis/scale_modes.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/axis/time_ticks.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/axis/time_ticks.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/axis/x_axis.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/axis/y_axis.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/binder.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/chart_grid.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/chart_title.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/chart_title.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/data.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/data.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/dispatch.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/dispatch.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/dispatch_heatmap.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/handler.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/handler.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/_index.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/_layout.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/index.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/layout.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/layout.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/layout_types.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/layout_types.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/chart_split.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/chart_title_split.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/splits.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/x_axis_split.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/y_axis_split.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/chart_split.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/chart_title_split.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/splits.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/splits/pie_chart/chart_split.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/splits/pie_chart/chart_title_split.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/types/column_layout.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/types/column_layout.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/layout/types/gauge_layout.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/types/gauge.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/types/index.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/types/point_series.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/types/point_series.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/vis_config.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/lib/vis_config.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/partials/touchdown_template.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/percentage_mode_transform.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/response_handler.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/response_handler.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/vis.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/vis.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/_chart.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/_vis_fixture.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/chart.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/gauge_chart.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/gauge_chart.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/gauges/_index.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/gauges/_meter.scss (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/gauges/gauge_types.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/gauges/meter.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/point_series.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/point_series/_point_series.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/point_series/_point_series.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/point_series/heatmap_chart.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/point_series/heatmap_chart.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/time_marker.d.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/time_marker.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/time_marker.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/vis_types.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/public/vislib/visualizations/vis_types.test.js (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/server/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/server/ui_settings.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/tsconfig.json (95%) rename src/{plugins => platform/plugins/private}/vis_types/xy/common/index.ts (100%) create mode 100644 src/platform/plugins/private/vis_types/xy/jest.config.js rename src/{plugins => platform/plugins/private}/vis_types/xy/kibana.jsonc (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/__snapshots__/to_ast.test.ts.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/convert_to_lens/configurations/index.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/convert_to_lens/configurations/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/convert_to_lens/index.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/convert_to_lens/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/convert_to_lens/types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/collections.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/common_config.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/common/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/common/truncate_labels.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/common/truncate_labels.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/common/validation_wrapper.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/index.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/category_axis_panel.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/chart_options.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/custom_extents_options.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/index.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/label_options.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/line_options.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/point_options.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/value_axes_panel.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/value_axis_options.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/y_extents.test.tsx.snap (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/category_axis_panel.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/category_axis_panel.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/chart_options.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/chart_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/custom_extents_options.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/custom_extents_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/index.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/index.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/label_options.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/label_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/line_options.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/line_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/mocks.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/point_options.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/point_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/series_panel.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/utils.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/value_axes_panel.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/value_axes_panel.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/value_axis_options.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/value_axis_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/y_extents.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/metrics_axes/y_extents.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/point_series/elastic_charts_options.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/point_series/grid_panel.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/point_series/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/point_series/point_series.mocks.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/point_series/point_series.test.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/point_series/point_series.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/components/options/point_series/threshold_panel.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/positions.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/editor/scale_types.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/mocks.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/sample_vis.test.mocks.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/services.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/to_ast.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/to_ast.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/types/constants.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/types/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/types/param.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/utils/accessors.tsx (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/utils/common.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/utils/get_series_params.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/vis_types/area.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/vis_types/get_vis_type_from_params.test.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/vis_types/get_vis_type_from_params.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/vis_types/histogram.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/vis_types/horizontal_bar.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/vis_types/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/public/vis_types/line.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/server/config.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/server/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/server/plugin.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/tsconfig.json (91%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/common/expression_functions/__snapshots__/gauge_function.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/common/expression_functions/gauge_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/common/expression_functions/gauge_function.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/common/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/common/types/expression_functions.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/common/types/expression_renderers.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/common/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/common/utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/common/utils/shapes.ts (100%) create mode 100644 src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/components/__snapshots__/gauge_component.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/components/gauge.scss (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/components/gauge_component.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/components/gauge_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/components/index.scss (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/components/utils/accessors.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/components/utils/accessors.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/components/utils/gauge_types.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/components/utils/helpers.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/components/utils/helpers.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/components/utils/icons.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/components/utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/components/utils/use_gauge_size_by_type.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/expression_renderers/gauge_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/expression_renderers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/services/format_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/public/services/palette_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/tsconfig.json (93%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/common/expression_functions/__snapshots__/heatmap_function.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/common/expression_functions/heatmap_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/common/expression_functions/heatmap_function.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/common/expression_functions/heatmap_legend.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/common/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/common/types/expression_functions.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/common/types/expression_renderers.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/common/types/index.ts (100%) create mode 100644 src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/components/chart_split.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/components/heatmap_component.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/components/helpers.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/components/helpers.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/components/index.scss (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/expression_renderers/heatmap_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/expression_renderers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/services/datatable_utilities.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/services/format_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/services/palette_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/services/ui_settings.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/utils/get_color_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/utils/get_split_dimension_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/public/utils/get_split_dimension_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/tsconfig.json (93%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/.i18nrc.json (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/.storybook/main.js (91%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/README.md (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/common/expression_functions/__snapshots__/metric_vis_function.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/common/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/common/expression_functions/metric_vis_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/common/expression_functions/metric_vis_function.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/common/types/expression_functions.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/common/types/expression_renderers.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/common/types/index.ts (100%) create mode 100644 src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/__mocks__/format_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/__mocks__/palette_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/__mocks__/services.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/__stories__/metric_renderer.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/components/__snapshots__/metric_component.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/components/__snapshots__/with_auto_scale.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/components/metric.scss (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/components/metric_component.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/components/metric_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/components/metric_value.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/components/metric_value.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/expression_renderers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/expression_renderers/metric_vis_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/format_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/services/format_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/services/palette_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/utils/format.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/public/utils/palette.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/tsconfig.json (92%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/.i18nrc.json (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/.storybook/main.js (92%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/README.md (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/common/expression_functions/__snapshots__/metric_trendline_function.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/common/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/common/expression_functions/metric_trendline_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/common/expression_functions/metric_trendline_function.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/common/types/expression_functions.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/common/types/expression_renderers.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/common/types/index.ts (100%) create mode 100644 src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/__mocks__/theme_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/components/__snapshots__/metric_vis.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/components/metric_vis.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/components/metric_vis.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/expression_renderers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/expression_renderers/metric_vis_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/services/format_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/services/palette_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/services/theme_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/services/ui_settings.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/utils/palette_data_bounds.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/public/utils/palette_data_bounds.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/tsconfig.json (92%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/.storybook/main.js (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/README.md (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/mosaic_vis_function.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/pie_vis_function.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/treemap_vis_function.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/waffle_vis_function.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/i18n.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/mosaic_vis_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/mosaic_vis_function.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/partition_labels_function.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/pie_vis_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/pie_vis_function.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/treemap_vis_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/treemap_vis_function.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/waffle_vis_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/expression_functions/waffle_vis_function.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/types/expression_functions.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/types/expression_renderers.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/utils/consolidate_metric_columns.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/utils/consolidate_metric_columns.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/common/utils/index.ts (100%) create mode 100644 src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/__mocks__/format_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/__mocks__/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/__mocks__/palettes.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/__mocks__/start_deps.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/__mocks__/theme.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/__mocks__/ui_settings.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/__stories__/mosaic_vis_renderer.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/__stories__/pie_vis_renderer.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/__stories__/shared/arg_types.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/__stories__/shared/config.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/__stories__/shared/data.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/__stories__/shared/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/__stories__/treemap_vis_renderer.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/__stories__/waffle_vis_renderer.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/components/__snapshots__/partition_vis_component.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/components/chart_split.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/components/partition_vis_component.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/components/partition_vis_component.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/components/partition_vis_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/components/visualization_noresults.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/expression_renderers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/expression_renderers/partition_vis_renderer.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/expression_renderers/partition_vis_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/colors/color_mapping_accessors.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/filter_helpers.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/filter_helpers.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/filter_out_config.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/filter_out_config.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/formatters.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/formatters.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/get_color_picker.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/get_color_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/get_columns.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/get_columns.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/get_distinct_series.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/get_distinct_series.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/get_icon.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/get_legend_actions.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/get_partition_theme.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/get_partition_theme.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/get_partition_type.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/get_split_dimension_accessor.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/get_split_dimension_accessor.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/layers/get_color.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/layers/get_color.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/layers/get_layers.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/layers/get_layers.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/layers/get_node_labels.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/layers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/layers/sort_predicate.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/layers/sort_predicate.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/legend.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/public/utils/legend.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/server/types.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/tsconfig.json (94%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/.i18nrc.json (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/.storybook/main.js (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/README.md (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/common/expression_functions/__snapshots__/tagcloud_function.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/common/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/common/expression_functions/tagcloud_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/common/expression_functions/tagcloud_function.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/common/types/expression_functions.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/common/types/expression_renderers.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/common/types/index.ts (100%) create mode 100644 src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/public/__mocks__/format_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/public/__mocks__/palettes.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/public/__mocks__/theme.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/public/__stories__/tagcloud_renderer.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/public/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/public/components/tag_cloud.scss (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/public/components/tagcloud_component.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/public/components/tagcloud_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/public/expression_renderers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/public/expression_renderers/tagcloud_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/public/format_service.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/tsconfig.json (93%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/README.md (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/__mocks__/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/__snapshots__/extended_data_layer.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/__snapshots__/layered_xy_vis.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/__snapshots__/xy_vis.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/annotation_layer.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/axis_extent_config.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/common_axis_args.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/common_data_layer_args.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/common_xy_args.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/common_y_config_args.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/data_decoration_config.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/event_annotations_result.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/extended_annotation_layer.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/extended_data_layer.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/extended_data_layer.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/extended_data_layer_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/legend_config.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/legend_config.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/legend_config_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/reference_line.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/reference_line.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/reference_line_decoration_config.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/reference_line_layer.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/reference_line_layer_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/validate.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/x_axis_config.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/xy_vis.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/xy_vis.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/xy_vis_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/expression_functions/y_axis_config.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/helpers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/helpers/layers.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/helpers/layers.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/helpers/table.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/helpers/table.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/helpers/visualization.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/helpers/visualization.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/i18n/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/types/expression_functions.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/types/expression_renderers.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/utils/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/utils/layer_types_guards.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/common/utils/log_datatables.ts (100%) rename src/{plugins/chart_expressions/expression_legacy_metric => platform/plugins/shared/chart_expressions/expression_xy}/jest.config.js (64%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/__mocks__/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/__snapshots__/xy_chart.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/annotations.scss (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/annotations.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/data_layers.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/legend_action.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/legend_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/legend_action_popover.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/legend_color_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/reference_lines/_mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/reference_lines/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/reference_lines/reference_line.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/reference_lines/reference_line_annotations.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/reference_lines/reference_line_layer.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.scss (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/reference_lines/utils.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/reference_lines/utils.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/split_chart.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/endzone_tooltip_header.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip_header.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip_row.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/endzone_tooltip_header.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/endzone_tooltip_header.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/tooltip.scss (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/tooltip.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/tooltip.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/tooltip_actions.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/tooltip_header.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/tooltip_header.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/tooltip_row.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/tooltip_row.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/tooltip/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/x_domain.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/xy_chart.scss (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/xy_chart.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/xy_chart.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/components/xy_current_time.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/definitions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/definitions/visualizations.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/expression_renderers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/expression_renderers/telemetry.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/expression_renderers/xy_chart_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/annotations.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/axes_configuration.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/axes_configuration.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/color/color_mapping_accessor.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/color_assignment.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/color_assignment.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/data_layers.tsx (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/fitting_functions.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/format.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/icon.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/interval.test.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/interval.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/layers.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/state.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/validate_extent.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/helpers/visualization.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/server/types.ts (100%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_xy/tsconfig.json (94%) rename src/{plugins => platform/plugins/shared}/charts/README.md (100%) rename src/{plugins => platform/plugins/shared}/charts/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/expressions/palette/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/expressions/palette/palette.test.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/expressions/palette/palette.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/expressions/palette/palette_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/expressions/palette/system_palette.test.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/expressions/palette/system_palette.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/expressions/palette/types.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/static/color_maps/color_maps.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/static/color_maps/heatmap_color.test.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/static/color_maps/heatmap_color.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/static/color_maps/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/static/components/collections.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/static/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/static/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/static/overrides/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/static/overrides/settings.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/static/styles/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/static/styles/multilayer_timeaxis.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/common/types.ts (100%) rename src/{plugins/vis_types/gauge => platform/plugins/shared/charts}/jest.config.js (75%) rename src/{plugins => platform/plugins/shared}/charts/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/charts/public/index.ts (97%) rename src/{plugins => platform/plugins/shared}/charts/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/active_cursor/active_cursor.test.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/active_cursor/active_cursor.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/active_cursor/active_cursor_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/active_cursor/active_cursor_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/active_cursor/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/active_cursor/mock.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/active_cursor/types.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/active_cursor/use_active_cursor.test.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/active_cursor/use_active_cursor.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/mapped_colors/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/mapped_colors/mapped_colors.test.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/mapped_colors/mapped_colors.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/palettes/README.md (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/palettes/decrease_opacity.test.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/palettes/decrease_opacity.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/palettes/helpers.test.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/palettes/helpers.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/palettes/lighten_color.test.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/palettes/lighten_color.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/palettes/mock.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/palettes/palettes.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/palettes/palettes.tsx (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/palettes/service.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/theme/README.md (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/theme/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/theme/mock.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/theme/theme.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/charts/public/services/theme/theme.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/static/colors/color_palette.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/static/colors/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/static/colors/seed_colors.test.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/static/colors/seed_colors.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/static/components/color_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/charts/public/static/components/common_chart_styles.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/static/components/current_time.tsx (100%) rename src/{plugins => platform/plugins/shared}/charts/public/static/components/empty_placeholder.tsx (100%) rename src/{plugins => platform/plugins/shared}/charts/public/static/components/endzones.tsx (100%) rename src/{plugins => platform/plugins/shared}/charts/public/static/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/public/static/components/legend_toggle.tsx (100%) rename src/{plugins => platform/plugins/shared}/charts/public/static/components/warnings.tsx (100%) rename src/{plugins => platform/plugins/shared}/charts/public/static/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/charts/tsconfig.json (91%) rename src/{plugins => platform/plugins/shared}/data/.storybook/main.js (100%) rename src/{plugins => platform/plugins/shared}/data/README.mdx (100%) rename src/{plugins => platform/plugins/shared}/data/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/datatable_utilities/datatable_utilities_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/datatable_utilities/datatable_utilities_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/datatable_utilities/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/datatable_utilities/mock.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/es_query/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/exports/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/exports/escape_value.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/exports/escape_value.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/exports/export_csv.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/exports/export_csv.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/common/exports/formula_checks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/exports/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/index.ts (98%) rename src/{plugins => platform/plugins/shared}/data/common/kbn_field_types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/kbn_field_types/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/filters/persistable_state.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/filters/persistable_state.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/is_query.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/persistable_state.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/persistable_state.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/query_state.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/text_based_query_state_to_ast.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/text_based_query_state_to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/text_based_query_state_to_ast_with_validation.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/text_based_query_state_to_ast_with_validation.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/timefilter/get_time.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/timefilter/get_time.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/timefilter/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/timefilter/is_time_range.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/timefilter/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/query/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/agg_config.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/agg_config.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/agg_configs.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/agg_configs.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/agg_groups.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/agg_params.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/agg_params.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/agg_type.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/agg_type.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/agg_types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/agg_types_registry.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/agg_types_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/aggs_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/aggs_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/_interval_options.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/_terms_order_helper.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/_terms_other_bucket_helper.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/bucket_agg_type.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/bucket_agg_types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/date_histogram.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/date_histogram.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/date_range.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/date_range.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/filters.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/filters.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/histogram.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/histogram.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/ip_prefix.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/ip_prefix.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/ip_range.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/ip_range.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/multi_terms.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/range.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/range.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/terms.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/create_filter/terms.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/date_histogram.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/date_histogram_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/date_histogram_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/date_range.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/date_range.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/date_range_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/date_range_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/diversified_sampler.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/diversified_sampler_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/diversified_sampler_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/filter_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/filter_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/filters.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/filters.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/filters_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/filters_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/geo_tile.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/geo_tile_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/geo_tile_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/histogram.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/histogram.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/histogram_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/histogram_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/ip_prefix.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/ip_prefix_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/ip_prefix_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/ip_range.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/ip_range_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/ip_range_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/lib/cidr_mask.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/lib/cidr_mask.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/lib/date_range.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/lib/histogram_calculate_interval.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/lib/histogram_calculate_interval.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/lib/ip_prefix.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/lib/ip_range.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/lib/time_buckets/calc_es_interval.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/lib/time_buckets/i18n_messages.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/lib/time_buckets/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/migrate_include_exclude_format.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/multi_field_key.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/multi_terms.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/multi_terms.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/multi_terms_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/range.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/range.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/range_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/range_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/range_key.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/rare_terms.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/rare_terms.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/rare_terms_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/sampler.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/sampler_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/sampler_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/shard_delay.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/shard_delay.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/shard_delay_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/shard_delay_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/significant_terms.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/significant_terms.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/significant_terms_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/significant_terms_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/significant_text.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/significant_text.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/significant_text_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/significant_text_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/terms.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/terms.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/terms_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/terms_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/time_series.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/time_series_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/buckets/time_series_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/index.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/__snapshots__/median.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/__snapshots__/single_percentile.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/avg.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/avg_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/avg_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/bucket_avg.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/bucket_avg_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/bucket_avg_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/bucket_max.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/bucket_max_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/bucket_max_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/bucket_min.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/bucket_min_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/bucket_min_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/bucket_sum.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/bucket_sum_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/bucket_sum_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/cardinality.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/cardinality_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/cardinality_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/count.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/count_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/count_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/cumulative_sum.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/cumulative_sum_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/cumulative_sum_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/derivative.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/derivative_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/derivative_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/filtered_metric.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/filtered_metric.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/filtered_metric_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/filtered_metric_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/geo_bounds.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/geo_bounds_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/geo_bounds_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/geo_centroid.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/geo_centroid_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/geo_centroid_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/lib/create_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/lib/get_response_agg_config_class.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/lib/get_response_agg_config_class.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/lib/make_nested_label.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/lib/make_nested_label.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/lib/nested_agg_helpers.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/lib/ordinal_suffix.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/lib/ordinal_suffix.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/lib/parent_pipeline_agg_helper.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/lib/parent_pipeline_agg_writer.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_helper.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_writer.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/max.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/max_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/max_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/median.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/median.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/median_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/median_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/metric_agg_type.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/metric_agg_types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/min.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/min_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/min_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/moving_avg.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/moving_avg_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/moving_avg_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/parent_pipeline.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/percentile_ranks.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/percentile_ranks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/percentile_ranks_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/percentile_ranks_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/percentiles.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/percentiles.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/percentiles_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/percentiles_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/percentiles_get_value.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/percentiles_get_value.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/rate.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/rate_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/rate_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/serial_diff.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/serial_diff_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/serial_diff_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/sibling_pipeline.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/single_percentile.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/single_percentile.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/single_percentile_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/single_percentile_rank.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/single_percentile_rank.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/single_percentile_rank_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/std_deviation.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/std_deviation.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/std_deviation_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/std_deviation_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/sum.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/sum_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/sum_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/top_hit.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/top_hit.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/top_hit_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/top_hit_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/top_metrics.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/top_metrics.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/top_metrics_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/top_metrics_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/value_count.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/value_count_fn.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/metrics/value_count_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/param_types/agg.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/param_types/base.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/param_types/field.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/param_types/field.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/param_types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/param_types/json.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/param_types/json.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/param_types/optioned.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/param_types/optioned.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/param_types/string.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/param_types/string.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/test_helpers/function_wrapper.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/test_helpers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/test_helpers/mock_agg_types_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/calculate_auto_time_expression.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/invalid_es_calendar_interval_error.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/invalid_es_interval_format_error.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/is_valid_es_interval.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/is_valid_interval.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/least_common_interval.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/least_common_interval.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/parse_interval.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/parse_interval.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/date_interval_utils/to_absolute_dates.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/get_aggs_formats.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/get_aggs_formats.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/infer_time_zone.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/infer_time_zone.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/ip_address.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/ip_address.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/parse_time_shift.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/parse_time_shift.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/prop_filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/prop_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/sampler.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/aggs/utils/time_splits.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/__snapshots__/eql_raw_response.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/__snapshots__/es_raw_response.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/__snapshots__/kibana.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/aggregate_query_to_ast.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/aggregate_query_to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/cidr.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/cidr.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/cidr_to_ast.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/cidr_to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/date_range.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/date_range.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/date_range_to_ast.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/date_range_to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/eql.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/eql_raw_response.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/eql_raw_response.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/es_raw_response.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/es_raw_response.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/esaggs/create_filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/esaggs/create_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/esaggs/esaggs_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/esaggs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/esaggs/request_handler.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/esaggs/request_handler.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/esdsl.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/esql.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/essql.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/exists_filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/exists_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/extended_bounds.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/extended_bounds.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/extended_bounds_to_ast.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/extended_bounds_to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/field.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/field.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/filters_to_ast.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/filters_to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/geo_bounding_box.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/geo_bounding_box.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/geo_bounding_box_to_ast.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/geo_bounding_box_to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/geo_point.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/geo_point.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/geo_point_to_ast.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/geo_point_to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/ip_prefix.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/ip_prefix.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/ip_prefix_to_ast.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/ip_prefix_to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/ip_range.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/ip_range.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/ip_range_to_ast.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/ip_range_to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/kibana.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/kibana.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/kibana_context.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/kibana_context_type.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/kibana_filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/kibana_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/kql.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/kql.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/lucene.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/lucene.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/numerical_range.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/numerical_range.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/numerical_range_to_ast.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/numerical_range_to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/phrase_filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/phrase_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/query_filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/query_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/query_filter_to_ast.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/query_filter_to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/query_to_ast.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/query_to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/range.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/range.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/range_filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/range_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/remove_filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/remove_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/select_filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/select_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/timerange.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/timerange.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/timerange_to_ast.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/timerange_to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/utils/filters_adapter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/utils/function_wrapper.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/expressions/utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/poll_search.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/poll_search.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/__snapshots__/search_source.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/create_search_source.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/create_search_source.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/extract_references.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/fetch/get_search_params.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/fetch/get_search_params.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/fetch/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/fetch/request_error.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/fetch/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/inject_references.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/inject_references.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/inspect/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/inspect/inspector_stats.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/migrate_legacy_query.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/normalize_sort_request.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/normalize_sort_request.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/parse_json.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/query_to_fields.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/query_to_fields.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/search_source.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/search_source.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/search_source_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/search_source_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/search_source/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/session/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/session/status.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/session/types.ts (100%) rename src/{plugins/data/common/search/strategies/ese_search => platform/plugins/shared/data/common/search/strategies/eql_search}/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/strategies/eql_search/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/strategies/es_search/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/strategies/es_search/response_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/strategies/es_search/response_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/strategies/es_search/types.ts (100%) rename src/{plugins/data/common/search/strategies/esql_search => platform/plugins/shared/data/common/search/strategies/ese_search}/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/strategies/ese_search/types.ts (100%) rename src/{plugins/data/common/search/strategies/sql_search => platform/plugins/shared/data/common/search/strategies/esql_search}/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/strategies/esql_search/types.ts (100%) rename src/{plugins/vis_types/pie/public/types => platform/plugins/shared/data/common/search/strategies/sql_search}/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/strategies/sql_search/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/tabify/buckets.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/tabify/buckets.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/tabify/fixtures/fake_hierarchical_data.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/tabify/fixtures/fake_timeoffset_data.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/tabify/get_columns.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/tabify/get_columns.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/tabify/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/tabify/response_writer.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/tabify/response_writer.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/tabify/tabify.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/tabify/tabify.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/tabify/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/test_data/illegal_argument_exception.json (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/test_data/index_not_found_exception.json (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/test_data/json_e_o_f_exception.json (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/test_data/parsing_exception.json (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/test_data/resource_not_found_exception.json (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/test_data/search_phase_execution_exception.json (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/test_data/x_content_parse_exception.json (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/search/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/stubs.ts (100%) rename src/{plugins => platform/plugins/shared}/data/common/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/config.mock.ts (100%) rename src/{plugins/vis_types/timelion => platform/plugins/shared/data}/jest.config.js (76%) rename src/{plugins => platform/plugins/shared}/data/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/data/public/actions/filters/create_filters_from_multi_value_click.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/actions/filters/create_filters_from_multi_value_click.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/actions/filters/create_filters_from_range_select.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/actions/filters/create_filters_from_range_select.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/actions/filters/create_filters_from_value_click.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/actions/filters/create_filters_from_value_click.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/actions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/actions/multi_value_click_action.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/actions/select_range_action.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/actions/value_click_action.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/data_views/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/data_views/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/index.scss (100%) rename src/{plugins => platform/plugins/shared}/data/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/now_provider/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/now_provider/lib/get_force_now_from_url.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/now_provider/lib/get_force_now_from_url.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/now_provider/lib/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/now_provider/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/now_provider/now_provider.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/now_provider/now_provider.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/filter_manager.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/filter_manager.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/filter_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/generate_filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/generate_filters.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/generate_mapping_chain.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/generate_mapping_chain.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/get_display_value.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/get_display_value.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/get_index_pattern_from_filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/get_index_pattern_from_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/map_and_flatten_filters.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/map_and_flatten_filters.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/map_filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/map_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_combined.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_combined.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_default.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_default.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_exists.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_exists.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_match_all.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_match_all.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_phrase.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_phrase.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_phrases.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_phrases.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_query_string.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_query_string.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_range.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_range.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_spatial_filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/mappers/map_spatial_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/sort_filters.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/lib/sort_filters.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/test_helpers/get_filters_array.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/filter_manager/test_helpers/get_stub_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/lib/add_to_query_log.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/lib/get_default_query.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/lib/get_query_log.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/lib/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/persisted_log/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/persisted_log/persisted_log.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/persisted_log/persisted_log.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/query_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/query_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/query_state.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/query_string/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/query_string/query_string_manager.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/query_string/query_string_manager.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/query_string/query_string_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/saved_query/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/saved_query/saved_query_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/saved_query/saved_query_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/saved_query/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/state_sync/README.md (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/state_sync/connect_to_query_state.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/state_sync/connect_to_query_state.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/state_sync/create_query_state_observable.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/state_sync/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/state_sync/sync_state_with_url.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/state_sync/sync_state_with_url.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/state_sync/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/lib/auto_refresh_loop.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/lib/auto_refresh_loop.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/lib/diff_time_picker_vals.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/lib/diff_time_picker_vals.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/lib/page_visibility.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/lib/page_visibility.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/lib/validate_timerange.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/lib/validate_timerange.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/time_history.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/timefilter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/timefilter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/timefilter_service.mock.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/timefilter_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/query/timefilter/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/aggs/aggs_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/aggs/aggs_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/aggs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/aggs/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/aggs/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/collectors/create_usage_collector.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/collectors/create_usage_collector.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/collectors/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/collectors/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/collectors/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/expressions/__snapshots__/eql.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/expressions/__snapshots__/esdsl.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/expressions/eql.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/expressions/eql.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/expressions/esaggs.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/expressions/esaggs.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/expressions/esdsl.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/expressions/esdsl.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/expressions/esql.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/expressions/essql.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/expressions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_interceptor/create_request_hash.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_interceptor/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_interceptor/search_abort_controller.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_interceptor/search_abort_controller.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_interceptor/search_interceptor.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_interceptor/search_interceptor.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_interceptor/search_response_cache.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_interceptor/search_response_cache.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_interceptor/search_session_incomplete_warning.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_interceptor/timeout_error.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_interceptor/timeout_error.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_interceptor/to_partial_response.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_interceptor/to_partial_response.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/search_source/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/i18n.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/lib/session_name_formatter.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/search_session_state.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/search_session_state.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/search_sessions_deprecation_message.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_helpers.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_helpers.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/connected_search_session_indicator/connected_search_session_indicator.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/connected_search_session_indicator/connected_search_session_indicator.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/connected_search_session_indicator/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/connected_search_session_indicator/search_session_tour.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/connected_search_session_indicator/search_session_view_state.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/search_session_indicator/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/search_session_indicator/components/search_session_name/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/search_session_indicator/components/search_session_name/search_session_name.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/search_session_indicator/custom_icons.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/search_session_indicator/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.scss (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/session_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_client.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/__mocks__/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/application/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/application/render.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/actions/delete_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/actions/extend_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/actions/get_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/actions/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/actions/inspect_button.scss (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/actions/inspect_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/actions/popover_actions.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/actions/rename_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/actions/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/main.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/main.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/status.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/status.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/table/app_filter.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/table/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/table/status_filter.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/table/table.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/components/table/table.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/icons/extend_session.svg (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/lib/api.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/lib/api.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/lib/date_string.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/lib/documentation.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/lib/get_columns.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/lib/get_columns.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/lib/get_expiration_status.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/session/sessions_mgmt/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/services.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/stubs.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/test_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/triggers/apply_filter_trigger.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/triggers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/utils/shallow_equal.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/utils/table_inspector_view/_data_table.scss (100%) rename src/{plugins => platform/plugins/shared}/data/public/utils/table_inspector_view/_index.scss (100%) rename src/{plugins => platform/plugins/shared}/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/data/public/utils/table_inspector_view/components/data_table.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/utils/table_inspector_view/components/data_table_selector.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/utils/table_inspector_view/components/data_view.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/utils/table_inspector_view/components/data_view.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/utils/table_inspector_view/components/data_view_wrapper.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/utils/table_inspector_view/components/download_options.tsx (100%) rename src/{plugins => platform/plugins/shared}/data/public/utils/table_inspector_view/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/utils/table_inspector_view/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/config.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/config_deprecations.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/config_deprecations.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/data_views/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/data_views/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/datatable_utilities/datatable_utilities_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/datatable_utilities/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/datatable_utilities/mock.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/kql_telemetry/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/kql_telemetry/kql_telemetry_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/kql_telemetry/route.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/kql_telemetry/usage_collector/fetch.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/kql_telemetry/usage_collector/fetch.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/kql_telemetry/usage_collector/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/kql_telemetry/usage_collector/make_kql_usage_collector.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/kql_telemetry/usage_collector/make_kql_usage_collector.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/lib/get_request_aborted_signal.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/lib/get_request_aborted_signal.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/lib/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/query/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/query/query_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/query/route_handler_context.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/query/route_handler_context.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/query/route_types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/query/routes.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/saved_objects/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/saved_objects/kql_telemetry.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/saved_objects/migrations/query.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/saved_objects/migrations/to_v7_12_0.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/saved_objects/query.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/saved_objects/query.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/saved_objects/schemas/kql_telemetry.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/saved_objects/schemas/query.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/saved_objects/schemas/search_telemetry.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/saved_objects/search_telemetry.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/scripts/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/scripts/route.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/scripts/scripts_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/README.md (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/aggs/aggs_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/aggs/aggs_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/aggs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/aggs/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/aggs/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/collectors/search/fetch.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/collectors/search/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/collectors/search/register.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/collectors/search/usage.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/collectors/search_session/fetch.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/collectors/search_session/fetch.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/collectors/search_session/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/collectors/search_session/register.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/errors/no_search_id_in_session.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/expressions/eql.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/expressions/esaggs.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/expressions/esaggs.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/expressions/esdsl.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/expressions/esql.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/expressions/essql.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/expressions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/report_search_error.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/routes/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/routes/response_schema.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/routes/response_types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/routes/search.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/routes/search.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/routes/session.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/routes/session.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/sanitize_request_params.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/sanitize_request_params.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/saved_objects/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/saved_objects/search_session.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/saved_objects/search_session_migration.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/saved_objects/search_session_migration.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/search_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/search_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/search_source/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/services/cached_ui_settings_client.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/services/cached_ui_settings_client.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/session/get_search_status.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/session/get_search_status.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/session/get_session_status.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/session/get_session_status.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/session/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/session/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/session/session_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/session/session_service.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/session/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/session/utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/session/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/common/async_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/common/async_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/eql_search/eql_search_strategy.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/eql_search/eql_search_strategy.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/eql_search/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/eql_search/response_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/eql_search/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/es_search/elasticsearch.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/es_search/es_search_strategy.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/es_search/es_search_strategy.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/es_search/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/es_search/request_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/es_search/request_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/ese_search/ese_search_strategy.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/ese_search/ese_search_strategy.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/ese_search/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/ese_search/request_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/ese_search/request_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/ese_search/response_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/ese_search/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/esql_async_search/esql_async_search_strategy.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/esql_async_search/esql_async_search_strategy.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/esql_async_search/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/esql_async_search/response_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/esql_search/esql_search_strategy.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/esql_search/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/sql_search/index.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/sql_search/request_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/sql_search/request_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/sql_search/response_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/sql_search/sql_search_strategy.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/strategies/sql_search/sql_search_strategy.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/search/types.ts (100%) rename src/{plugins => platform/plugins/shared}/data/server/ui_settings.ts (100%) rename src/{plugins => platform/plugins/shared}/data/tsconfig.json (94%) rename src/{plugins => platform/plugins/shared}/expressions/.eslintrc.json (100%) rename src/{plugins => platform/plugins/shared}/expressions/README.asciidoc (75%) rename src/{plugins => platform/plugins/shared}/expressions/common/ast/build_expression.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/ast/build_expression.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/ast/build_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/ast/build_function.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/ast/format.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/ast/format.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/ast/format_expression.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/ast/format_expression.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/ast/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/ast/parse.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/ast/parse.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/ast/parse_expression.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/ast/parse_expression.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/ast/types.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/execution/container.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/execution/execution.abortion.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/execution/execution.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/execution/execution.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/execution/execution_contract.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/execution/execution_contract.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/execution/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/execution/types.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/executor/__snapshots__/executor.test.ts.snap (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/executor/container.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/executor/executor.execution.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/executor/executor.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/executor/executor.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/executor/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/arguments.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/expression_function.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/expression_function_parameter.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/expression_function_parameters.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/series_calculation_helpers.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/series_calculation_helpers.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/clog.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/create_table.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/cumulative_sum.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/cumulative_sum_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/derivative.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/derivative_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/font.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/map_column.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/math.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/math_column.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/math_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/moving_average.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/moving_average_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/overall_metric.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/overall_metric_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/tests/create_table.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/tests/cumulative_sum.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/tests/derivative.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/tests/font.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/tests/map_column.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/tests/math.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/tests/math_column.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/tests/moving_average.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/tests/overall_metric.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/tests/theme.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/tests/ui_setting.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/tests/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/tests/var.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/tests/var_set.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/theme.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/ui_setting.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/var.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/specs/var_set.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_functions/types.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_renderers/expression_renderer.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_renderers/expression_renderer_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_renderers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_renderers/types.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/expression_type.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/expression_type.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/get_type.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/get_type.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/serialize_provider.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/boolean.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/datatable.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/error.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/filter.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/image.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/null.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/num.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/number.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/pointseries.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/range.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/render.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/shape.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/string.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/style.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/tests/number.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/tests/ui_setting.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/specs/ui_setting.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/types.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/unbox_expression_value.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/expression_types/unbox_expression_value.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/fonts.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/service/expressions_fork.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/service/expressions_services.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/service/expressions_services.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/service/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/test_helpers/create_unit_test_executor.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/test_helpers/expression_functions/access.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/test_helpers/expression_functions/add.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/test_helpers/expression_functions/error.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/test_helpers/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/test_helpers/expression_functions/introspect_context.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/test_helpers/expression_functions/mult.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/test_helpers/expression_functions/sleep.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/test_helpers/expression_functions/sum.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/test_helpers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/types/common.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/types/registry.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/types/style.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/util/create_default_inspector_adapters.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/util/create_error.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/util/expressions_inspector_adapter.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/util/get_by_alias.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/util/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/util/tables_adapter.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/common/util/test_utils.ts (100%) create mode 100644 src/platform/plugins/shared/expressions/jest.config.js rename src/{plugins => platform/plugins/shared}/expressions/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/_expression_renderer.scss (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/expression_functions/ui_setting.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/index.scss (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/loader.test.ts (98%) rename src/{plugins => platform/plugins/shared}/expressions/public/loader.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/mocks.tsx (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/react_expression_renderer/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/react_expression_renderer/react_expression_renderer.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/react_expression_renderer/react_expression_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/react_expression_renderer/shallow_equal.d.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/react_expression_renderer/use_debounced_value.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/react_expression_renderer/use_debounced_value.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/react_expression_renderer/use_expression_renderer.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/react_expression_renderer/use_expression_renderer.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/react_expression_renderer/use_shallow_memo.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/react_expression_renderer/use_shallow_memo.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/react_expression_renderer_wrapper.tsx (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/render.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/render.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/render_error_handler.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/services/expressions_services.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/public/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/server/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/server/expression_functions/ui_setting.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/server/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/server/plugin.test.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/server/services/expressions_services.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/server/services/index.ts (100%) rename src/{plugins => platform/plugins/shared}/expressions/tsconfig.json (91%) rename src/{plugins => platform/plugins/shared}/unified_search/.storybook/main.js (100%) rename src/{plugins => platform/plugins/shared}/unified_search/README.md (100%) rename src/{plugins/event_annotation => platform/plugins/shared/unified_search}/jest.config.js (68%) rename src/{plugins => platform/plugins/shared}/unified_search/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/__stories__/search_bar.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/actions/apply_filter_action.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/actions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/actions/update_filter_references_action.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/actions/update_filter_references_action.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/apply_filters/apply_filter_popover_content.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/apply_filters/apply_filters_popover.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/apply_filters/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/autocomplete_service.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/collectors/create_usage_collector.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/collectors/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/collectors/types.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/README.md (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/__fixtures__/index_pattern_response.json (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/async_loads.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/conjunction.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/conjunction.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/field.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/field.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/operator.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/operator.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/sort_prefix_first.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/sort_prefix_first.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/types.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/value.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/kql_query_suggestion/value.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/query_suggestion_provider.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/value_suggestion_provider.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/autocomplete/providers/value_suggestion_provider.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/dataview_picker/assets/adhoc.svg (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/dataview_picker/change_dataview.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/dataview_picker/change_dataview.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/dataview_picker/change_dataview.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/dataview_picker/data_view_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/dataview_picker/data_view_selector.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/dataview_picker/dataview_list.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/dataview_picker/dataview_list.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/dataview_picker/explore_matching_button.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/dataview_picker/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/dataview_picker/mocks/dataview.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/dataview_picker/sorting_service.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/dataview_picker/sorting_service.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_badge/filter_badge.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_badge/filter_badge.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_badge/filter_badge_error_boundary.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_badge/filter_badge_expression.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_badge/filter_badge_group.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_badge/filter_badge_invalid.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_badge/filter_content/__snapshots__/filter_content.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_badge/filter_content/filter_content.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_badge/filter_content/filter_content.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_badge/filter_content/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_badge/i18n.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_badge/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_bar.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_bar.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_button_group/filter_button_group.scss (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_button_group/filter_button_group.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/close_confirm_modal.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/filter_editor.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/filter_editor.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/filter_editor.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/filter_editor_builder.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/generic_combo_box.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/generic_combo_box.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/lib/filter_editor_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/lib/filter_editor_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/lib/filter_operators.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/lib/helpers.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/lib/helpers.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/lib/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/phrase_suggestor.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/phrase_value_input.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/phrases_values_input.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/phrases_values_input.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/range_value_input.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/value_input_type.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_editor/with_close_confirm_modal.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_item/_variables.scss (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_item/filter_item.scss (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_item/filter_item.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_item/filter_items.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/filter_view/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filter_bar/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/__mock__/filters.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/__stories__/filter_builder.stories.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/assets/add.svg (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/assets/or.svg (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/context.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_group.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_group.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_item/actions/action_strings.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_item/actions/actions.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_item/actions/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_item/actions/minimised_actions.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_item/actions/types.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_item/field_input.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_item/filter_item.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_item/filter_item.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_item/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_item/operator_input.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_item/params_editor.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_item/params_editor_input.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filter_item/tooltip.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filters_builder.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/filters_builder.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/reducer.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/types.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/utils/filters_builder.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/utils/filters_builder.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/filters_builder/utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/index.scss (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/index_pattern_select/create_index_pattern_select.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/index_pattern_select/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/index_pattern_select/index_pattern_select.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/mocks/esql_editor.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/mocks/get_stub_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/mocks/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/mocks/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/add_filter_popover.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/esql_menu_popover.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/esql_menu_popover.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/fetch_index_patterns.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/filter_editor_wrapper.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/from_user.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/from_user.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/get_query_string_input.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/language_switcher.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/language_switcher.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/match_pairs.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/no_data_popover.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/no_data_popover.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/panel_title.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/query_bar.scss (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/query_bar_menu.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/query_bar_menu.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/query_bar_menu_panels.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/query_bar_top_row.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/query_bar_top_row.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/query_string_input.scss (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/query_string_input.test.mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/query_string_input.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/query_string_input.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/to_user.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/query_string_input/to_user.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/saved_query_form/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/saved_query_form/save_query_form.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/saved_query_management/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/saved_query_management/saved_query_management_list.scss (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/saved_query_management/saved_query_management_list.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/saved_query_management/saved_query_management_list.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/create_search_bar.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/lib/can_show_saved_query.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/lib/can_show_saved_query.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/lib/clear_saved_query.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/lib/clear_saved_query.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/lib/populate_state_from_saved_query.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/lib/populate_state_from_saved_query.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/lib/use_filter_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/lib/use_query_string_manager.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/lib/use_saved_query.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/lib/use_timefilter.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/search_bar.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/search_bar.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/search_bar/search_bar.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/services.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/triggers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/triggers/update_filter_references_trigger.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/typeahead/__snapshots__/suggestion_component.test.tsx.snap (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/typeahead/_suggestion.scss (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/typeahead/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/typeahead/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/typeahead/suggestion_component.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/typeahead/suggestion_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/typeahead/suggestions_component.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/typeahead/suggestions_component.tsx (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/typeahead/types.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/utils/combined_filter.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/utils/on_raf.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/public/utils/shallow_equal.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/autocomplete/autocomplete_service.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/autocomplete/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/autocomplete/routes.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/autocomplete/terms_agg.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/autocomplete/terms_agg.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/autocomplete/terms_enum.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/autocomplete/terms_enum.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/autocomplete/value_suggestions_route.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/config.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/config_deprecations.test.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/config_deprecations.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/data_views/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/unified_search/tsconfig.json (96%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/__mocks__/index_patterns_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/agg_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/agg_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/basic_aggs.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/calculate_label.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/calculate_label.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/check_ui_restrictions.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/empty_label.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/empty_label.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/enums/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/enums/metric_types.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/enums/model_types.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/enums/panel_types.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/enums/timerange_data_modes.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/errors.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/fields_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/fields_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/index_patterns_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/index_patterns_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/interval_regexp.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/interval_regexp.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/last_value_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/last_value_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/operators_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/operators_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/to_percentile_number.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/types/color_rules.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/types/panel_model.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/types/vis_data.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/ui_restrictions.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/validate_interval.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/common/vis_data_utils.ts (100%) create mode 100644 src/platform/plugins/shared/vis_types/timeseries/jest.config.js rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/_annotations_editor.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/_error.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/_markdown_editor.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/_series_editor.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/_vis_editor_visualization.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/_vis_with_splits.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/add_delete_buttons.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/add_delete_buttons.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/agg.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/agg_row.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/agg_select.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/agg_select.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/aggs.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/calculation.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/cumulative_sum.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/derivative.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/field_select/field_select.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/field_select/field_select_item.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/field_select/field_select_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/field_select/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/field_select/multi_field_select.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/filter_ratio.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/filter_ratio.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/histogram_support.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/invalid_agg.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/math.js (98%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/metric_select.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/moving_average.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/percentile.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/percentile_hdr.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/percentile_rank/index.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/percentile_rank/multi_value_row.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/percentile_rank/multi_value_row.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/percentile_rank/percentile_rank.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/percentile_rank/percentile_rank_values.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/percentile_ui.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/percentile_ui.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/positive_only.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/positive_rate.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/serial_diff.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/series_agg.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/static.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/std_agg.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/std_deviation.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/std_sibling.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/top_hit.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/aggs/vars.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/annotation_row.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/annotations_editor.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/color_picker.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/color_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/color_rules.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/color_rules.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/data_format_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/error.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/icon_select/__snapshots__/icon_select.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/icon_select/icon_select.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/icon_select/icon_select.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/index_pattern.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/last_value_mode_indicator.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/last_value_mode_popover.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/last_value_mode_popover.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/agg_to_component.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/calculate_siblings.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/calculate_siblings.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/check_if_numeric_metric.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/check_if_numeric_metric.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/check_if_series_have_same_formatters.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/check_if_series_have_same_formatters.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/collection_actions.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/collection_actions.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/convert_series_to_vars.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/convert_series_to_vars.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/create_change_handler.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/create_field_formatter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/create_field_formatter.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/create_interval_based_formatter.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/create_number_handler.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/create_number_handler.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/create_select_handler.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/create_select_handler.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/create_text_handler.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/create_text_handler.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/durations.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/durations.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/external_url_error_modal.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/get_axis_label_string.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/get_axis_label_string.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/get_click_filter_data.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/get_click_filter_data.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/get_default_query_language.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/get_display_name.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/get_formatter_type.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/get_formatter_type.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/get_interval.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/get_metrics_field.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/get_metrics_field.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/get_supported_fields_by_metric_type.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/get_supported_fields_by_metric_type.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/index_pattern_select/field_text_select.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/index_pattern_select/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/index_pattern_select/switch_mode_popover.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/new_metric_agg_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/new_series_fn.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/re_id_series.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/re_id_series.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/reorder.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/replace_vars.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/replace_vars.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/series_change_handler.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/stacked.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/tick_formatter.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/tick_formatter.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/lib/types.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/markdown_editor.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/palette_picker.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/palette_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/panel_config/_panel_config.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/panel_config/gauge.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/panel_config/gauge.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/panel_config/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/panel_config/markdown.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/panel_config/metric.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/panel_config/panel_config.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/panel_config/table.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/panel_config/timeseries.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/panel_config/timeseries.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/panel_config/top_n.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/panel_config/types.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/query_bar_wrapper.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/render_counter.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/series.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/series_config.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/series_config_query_bar_with_ignore_global_filter.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/series_drag_handler.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/series_editor.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/split.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/splits/__snapshots__/terms.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/splits/everything.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/splits/filter.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/splits/filter_items.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/splits/filters.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/splits/group_by_select.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/splits/terms.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/splits/terms.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/splits/unsupported_split.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/svg/bomb_icon.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/svg/fire_icon.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/timeseries_loading.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/timeseries_visualization.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/timeseries_visualization.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/use_index_patter_mode_callout.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_editor.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_editor_lazy.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_editor_visualization.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_picker.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/_vis_types.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/gauge/series.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/gauge/series.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/gauge/vis.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/markdown/_markdown.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/markdown/series.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/markdown/vis.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/metric/series.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/metric/series.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/metric/vis.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/table/config.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/table/is_sortable.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/table/series.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/table/vis.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/timeseries/config.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/timeseries/series.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/timeseries/vis.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/timeseries/vis.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/top_n/series.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_types/top_n/vis.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/vis_with_splits.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/yes_no.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/components/yes_no.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/contexts/form_validation_context.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/contexts/panel_model_context.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/contexts/query_input_bar_context.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/contexts/vis_data_context.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/editor_controller.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/lib/compute_gradient_final_color.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/lib/compute_gradient_final_color.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/lib/fetch_fields.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/lib/get_split_by_terms_color.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/lib/get_split_by_terms_color.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/lib/rainbow_colors.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/lib/set_is_reversed.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/styles/common.styles.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/constants/chart.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/constants/icons.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/constants/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/lib/calc_dimensions.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/lib/calculate_coordinates.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/lib/get_value_by.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/_annotation.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/_gauge.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/_metric.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/_top_n.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/_variables.scss (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/annotation.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/gauge.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/gauge_vis.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/metric.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/area_decorator.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/bar_decorator.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/index.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/model/__snapshots__/charts.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/model/charts.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/model/charts.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/__snapshots__/series_styles.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_domain_calculation.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_domain_calculations.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_styles.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_styles.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/stack_format.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/stack_format.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/theme.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/theme.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/application/visualizations/views/top_n.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/gauge/index.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/gauge/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/index.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/__mocks__/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/metric/index.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/metric/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/palette/index.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/palette/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/table/index.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/table/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/chart_type.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/configuration.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/configuration.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/extents.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/extents.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/layers.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/layers.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/column.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/column.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/counter_rate.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/counter_rate.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/cumulative_sum.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/cumulative_sum.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/date_histogram.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/date_histogram.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/filter_ratio.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/filter_ratio.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/filters.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/filters.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/formula.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/formula.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/last_value.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/last_value.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/moving_average.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/moving_average.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/parent_pipeline.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/parent_pipeline.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile_rank.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile_rank.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/static_value.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/static_value.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/std_deviation.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/std_deviation.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/terms.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/terms.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/types.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/variance.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/convert/variance.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/datasource/datasource_info.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/datasource/datasource_info.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/datasource/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/metrics/counter_rate_formula.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/metrics/counter_rate_formula.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/metrics/filter_ratio_formula.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/metrics/filter_ratio_formula.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/metrics/metrics_helpers.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/metrics/metrics_helpers.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/metrics/pipeline_formula.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/metrics/pipeline_formula.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/metrics/supported_metrics.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/metrics/validate_metrics.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/metrics/validate_metrics.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/series/buckets_columns.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/series/buckets_columns.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/series/columns.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/series/columns.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/series/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/series/metrics_columns.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/series/metrics_columns.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/lib/series/series_agg.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/metric/index.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/metric/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/table/index.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/table/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/timeseries/index.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/timeseries/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/top_n/index.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/top_n/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/types.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/convert_to_lens/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/metrics_fn.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/metrics_type.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/metrics_type.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/request_handler.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/services.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/test_utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/timeseries_vis_renderer.tsx (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/public/vis_state.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/config.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/get_fields.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/get_vis_data.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/capabilities/default_search_capabilities.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/capabilities/default_search_capabilities.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/capabilities/rollup_search_capabilities.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/capabilities/rollup_search_capabilities.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/lib/interval_helper.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/lib/interval_helper.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/search_strategies_registry.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/search_strategy_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/strategies/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/annotations/build_request_body.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/annotations/get_request_params.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/build_processor_function.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/build_processor_function.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/get_annotations.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/get_interval.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/get_interval.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/get_series_data.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/get_table_data.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/handle_error_response.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/handle_error_response.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/__snapshots__/bucket_transform.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/bucket_transform.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/bucket_transform.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/check_aggs.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/format_key.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_active_series.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_agg_value.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_agg_value.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_bucket_size.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_bucket_size.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_buckets_path.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_buckets_path.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_default_decoration.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_default_decoration.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_es_query_uisettings.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_last_metric.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_last_metric.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_sibling_agg_value.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_sibling_agg_value.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_splits.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_splits.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange_mode.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/map_empty_to_zero.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/map_empty_to_zero.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/moving_fn_scripts.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/moving_fn_scripts.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/overwrite.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/parse_interval.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/timestamp.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/timestamp.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/unit_to_seconds.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/helpers/unit_to_seconds.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/offset_time.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/offset_time.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/date_histogram.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/query.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/query.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/top_hits.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/types.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/date_histogram.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/date_histogram.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/filter_ratios.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/filter_ratios.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/index.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/metric_buckets.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/metric_buckets.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/normalize_query.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/normalize_query.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/positive_rate.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/positive_rate.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/query.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/query.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/sibling_buckets.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/sibling_buckets.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_everything.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_everything.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filter.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filter.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filters.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filters.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_terms.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_terms.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/apply_filters.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/calculate_agg_root.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/date_histogram.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/filter_ratios.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/metric_buckets.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/normalize_query.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/normalize_query.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/pivot.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/positive_rate.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/query.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/query.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/sibling_buckets.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/split_by_terms.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/request_processors/types.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/buckets.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/filter.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/filter.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/_series_agg.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/_series_agg.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/drop_last_bucket.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/format_label.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/index.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/math.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/math.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile_rank.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile_rank.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/series_agg.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/series_agg.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_bands.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_bands.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_sibling.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_sibling.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_metric.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_metric.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_sibling.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_sibling.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/time_shift.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/series/time_shift.test.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/table/_series_agg.js (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/table/drop_last_bucket.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/table/index.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/table/math.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/table/percentile.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/table/percentile_rank.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/table/series_agg.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/table/std_metric.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/table/std_sibling.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/response_processors/table/types.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/series/build_request_body.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/series/build_request_body.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/series/get_request_params.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/series/handle_response_body.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/table/build_request_body.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/table/build_response_body.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/table/process_bucket.test.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/lib/vis_data/table/process_bucket.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/routes/fields.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/routes/vis.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/types.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/server/ui_settings.ts (100%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/tsconfig.json (93%) rename src/{plugins => platform/plugins/shared}/visualizations/common/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/content_management/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/content_management/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/content_management/latest.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/content_management/types.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/content_management/v1/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/content_management/v1/types.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/buckets/index.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/buckets/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/configurations/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/configurations/palette.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/configurations/palette.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/configurations/percentage_mode.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/configurations/percentage_mode.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/configurations/types.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/column.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/column.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/date_histogram.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/date_histogram.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/filters.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/filters.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/formula.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/formula.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/last_value.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/last_value.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/metric.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/metric.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/parent_pipeline.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/parent_pipeline.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/percentage_mode.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/percentage_mode.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/percentile.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/percentile.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/percentile_rank.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/percentile_rank.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/range.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/range.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/sibling_pipeline.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/sibling_pipeline.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/static_value.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/std_deviation.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/std_deviation.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/supported_metrics.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/terms.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/terms.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/convert/types.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/metrics/formula.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/metrics/formula.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/metrics/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/metrics/metrics.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/metrics/metrics.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/metrics/percentage_formula.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/metrics/percentage_formula.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/lib/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/types/columns.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/types/common.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/types/configurations.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/types/context.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/types/operations.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/types/params.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/convert_to_lens/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/expression_functions/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/expression_functions/range.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/expression_functions/vis_dimension.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/expression_functions/vis_dimension.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/expression_functions/xy_dimension.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/index.ts (94%) rename src/{plugins => platform/plugins/shared}/visualizations/common/locator.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/locator.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/locator_location.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/types.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/utils/accessors.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/utils/palette.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/utils/prepare_log_table.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/utils/prepare_log_table.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/common/vis_schemas.ts (100%) create mode 100644 src/platform/plugins/shared/visualizations/jest.config.js rename src/{plugins => platform/plugins/shared}/visualizations/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/actions/add_agg_vis_action.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/actions/add_agg_vis_action.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/actions/edit_in_lens_action.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/components/__snapshots__/visualization_noresults.test.js.snap (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/components/visualization_container.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/components/visualization_error.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/components/visualization_missed_saved_object_error.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/components/visualization_noresults.test.js (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/components/visualization_noresults.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/content_management/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/content_management/visualization_client.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/convert_to_lens/datasource.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/convert_to_lens/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/convert_to_lens/schemas.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/convert_to_lens/schemas.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/convert_to_lens/utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/convert_to_lens/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/embeddable/create_vis_instance.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/embeddable/events.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/embeddable/get_expression_renderer_props.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/embeddable/get_visualize_embeddable_factory_lazy.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/embeddable/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/embeddable/initialize_edit_api.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/embeddable/interfaces/has_expression_variables.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/embeddable/interfaces/has_visualize_config.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/embeddable/save_to_library.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/embeddable/state.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/embeddable/state.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/embeddable/to_ast.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/embeddable/types.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/embeddable/visualize_embeddable.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/embeddable/attribute_service.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/embeddable/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/embeddable/create_vis_embeddable_from_object.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/embeddable/diff_embeddable_input.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/embeddable/diff_embeddable_input.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/embeddable/embeddable.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/embeddable/embeddables.scss (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/embeddable/error_embeddable.scss (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/embeddable/error_embeddable.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/embeddable/i_embeddable.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/embeddable/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/embeddable/visualize_embeddable.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/embeddable/visualize_embeddable_async.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/memoize.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/memoize.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/vis_update_state.d.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/vis_update_state.js (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/vis_update_state.stub.js (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/vis_update_state.test.js (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/persisted_state/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/persisted_state/persisted_state.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/persisted_state/persisted_state_provider.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/services.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/triggers/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/types.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_objects_utils/check_for_duplicate_title.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_objects_utils/confirm_modal_promise.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_objects_utils/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_objects_utils/display_duplicate_title_confirm_modal.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_objects_utils/find_object_by_title.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_objects_utils/find_object_by_title.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_objects_utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_objects_utils/save_with_confirmation.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_objects_utils/save_with_confirmation.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_objects_utils/update_basic_attributes.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_visualization_references/controls_references.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_visualization_references/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_visualization_references/saved_visualization_references.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_visualization_references/timeseries_references.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_visualize_utils.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/utils/saved_visualize_utils.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/vis.scss (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/vis.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/vis.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/vis_async.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/vis_editors_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/vis_schemas.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/vis_types/base_vis_type.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/vis_types/base_vis_type.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/vis_types/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/vis_types/schemas.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/vis_types/types.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/vis_types/types_service.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/vis_types/vis_groups_enum.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/vis_types/vis_type_alias_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/app.scss (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/app.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/components/experimental_vis_info.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/components/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/components/visualize_byvalue_editor.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/components/visualize_editor.scss (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/components/visualize_editor.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/components/visualize_editor_common.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/components/visualize_editor_common.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/components/visualize_listing.scss (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/components/visualize_listing.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/components/visualize_no_match.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/components/visualize_top_nav.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/components/viz_chart_warning.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/constants.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/index.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/types.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/breadcrumbs.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/create_visualize_app_state.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/create_visualize_app_state.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/get_table_columns.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/get_top_nav_config.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/get_top_nav_config.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/get_visualization_instance.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/get_visualization_instance.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/get_visualize_list_item_link.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/get_visualize_list_item_link.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/migrate_app_state.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/migrate_legacy_query.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/mocks.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/split_chart_warning_helpers.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/stubs.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/use/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/use/use_chrome_visibility.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/use/use_chrome_visibility.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/use/use_data_view_updates.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/use/use_editor_updates.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/use/use_editor_updates.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/use/use_linked_search_updates.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/use/use_linked_search_updates.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/use/use_saved_vis_instance.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/use/use_saved_vis_instance.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/use/use_vis_byvalue.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/use/use_visualize_app_state.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/use/use_visualize_app_state.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/utils.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_app/utils/visualize_navigation.scss (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/visualize_screenshot_mode.scss (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/agg_based_selection/agg_based_selection.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/agg_based_selection/agg_based_selection.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/agg_based_selection/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/dialog.scss (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/dialog_navigation.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/group_selection/group_selection.scss (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/group_selection/group_selection.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/group_selection/group_selection.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/group_selection/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/new_vis_modal.test.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/new_vis_modal.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/search_selection/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/search_selection/search_selection.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/search_selection/show_saved_object.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/search_selection/show_saved_object.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/wizard/show_new_vis.tsx (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/capabilities_provider.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/content_management/cm_services.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/content_management/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/content_management/v1/cm_services.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/content_management/visualization_storage.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/embeddable/make_visualize_embeddable_factory.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/embeddable/make_visualize_embeddable_factory.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/migrations/visualization_common_migrations.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/migrations/visualization_saved_object_migrations.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/migrations/visualization_saved_object_migrations.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/plugin.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/saved_objects/get_in_app_url.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/saved_objects/get_in_app_url.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/saved_objects/index.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/saved_objects/read_only_vis_type_registry.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/saved_objects/visualization.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/server/types.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/tsconfig.json (97%) delete mode 100644 src/plugins/chart_expressions/common/jest.config.js delete mode 100644 src/plugins/chart_expressions/expression_partition_vis/jest.config.js delete mode 100644 src/plugins/charts/jest.config.js delete mode 100644 src/plugins/data/jest.config.js delete mode 100644 src/plugins/expressions/jest.config.js delete mode 100644 src/plugins/unified_search/jest.config.js delete mode 100644 src/plugins/url_forwarding/jest.config.js delete mode 100644 src/plugins/vis_default_editor/jest.config.js delete mode 100644 src/plugins/vis_types/heatmap/jest.config.js delete mode 100644 src/plugins/vis_types/metric/jest.config.js delete mode 100644 src/plugins/vis_types/pie/jest.config.js delete mode 100644 src/plugins/vis_types/table/jest.config.js delete mode 100644 src/plugins/vis_types/tagcloud/jest.config.js delete mode 100644 src/plugins/vis_types/timeseries/jest.config.js delete mode 100644 src/plugins/vis_types/vega/jest.config.js delete mode 100644 src/plugins/vis_types/vislib/jest.config.js delete mode 100644 src/plugins/vis_types/xy/jest.config.js delete mode 100644 src/plugins/visualizations/jest.config.js delete mode 100644 x-pack/packages/kbn-random-sampling/jest.config.js rename x-pack/{packages => platform/packages/private}/kbn-random-sampling/.storybook/main.js (100%) rename x-pack/{packages => platform/packages/private}/kbn-random-sampling/.storybook/preview.js (100%) rename x-pack/{packages => platform/packages/private}/kbn-random-sampling/README.md (100%) rename x-pack/{packages => platform/packages/private}/kbn-random-sampling/index.ts (100%) create mode 100644 x-pack/platform/packages/private/kbn-random-sampling/jest.config.js rename x-pack/{packages => platform/packages/private}/kbn-random-sampling/kibana.jsonc (100%) rename x-pack/{packages => platform/packages/private}/kbn-random-sampling/package.json (100%) rename x-pack/{packages => platform/packages/private}/kbn-random-sampling/src/__stories__/control_slider.stories.mdx (100%) rename x-pack/{packages => platform/packages/private}/kbn-random-sampling/src/__stories__/sampling_icon.stories.mdx (100%) rename x-pack/{packages => platform/packages/private}/kbn-random-sampling/src/index.ts (100%) rename x-pack/{packages => platform/packages/private}/kbn-random-sampling/src/ui/icon/sampling_icon.tsx (100%) rename x-pack/{packages => platform/packages/private}/kbn-random-sampling/src/ui/slider_control/index.test.tsx (100%) rename x-pack/{packages => platform/packages/private}/kbn-random-sampling/src/ui/slider_control/index.tsx (100%) rename x-pack/{packages => platform/packages/private}/kbn-random-sampling/tsconfig.json (84%) rename x-pack/{plugins => platform/plugins/private}/graph/README.md (94%) rename x-pack/{plugins => platform/plugins/private}/graph/common/check_license.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/common/content_management/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/common/content_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/common/content_management/latest.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/common/content_management/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/common/content_management/v1/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/common/content_management/v1/types.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/jest.config.js (61%) rename x-pack/{plugins => platform/plugins/private}/graph/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/_main.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/_mixins.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/application.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/apps/listing_route.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/apps/workspace_route.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/_app.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/_graph.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/_inspect.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/_search_bar.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/_sidebar.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/_source_modal.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/control_panel/control_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/control_panel/control_panel_tool_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/control_panel/drill_down_icon_links.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/control_panel/drill_downs.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/control_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/control_panel/merge_candidates.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/control_panel/select_style.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/control_panel/selected_node_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/control_panel/selected_node_item.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/control_panel/selection_tool_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/field_manager/_field_editor.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/field_manager/_field_picker.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/field_manager/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/field_manager/field_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/field_manager/field_manager.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/field_manager/field_manager.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/field_manager/field_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/field_manager/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/graph_title.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/graph_visualization/__snapshots__/graph_visualization.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/graph_visualization/_graph_visualization.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/graph_visualization/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/graph_visualization/graph_visualization.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/graph_visualization/graph_visualization.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/graph_visualization/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/guidance_panel/_guidance_panel.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/guidance_panel/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/guidance_panel/guidance_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/guidance_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/icon_renderer.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/maki_icons/assets.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/save_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/search_bar.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/search_bar.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/settings/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/settings/_legacy_icon.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/settings/_url_template_list.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/settings/advanced_settings_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/settings/blocklist_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/settings/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/settings/settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/settings/settings.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/settings/url_template_form.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/settings/url_template_list.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/settings/use_list_keys.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/settings/use_list_keys.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/source_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/source_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/venn_diagram/_index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/venn_diagram/_venn_diagram.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/venn_diagram/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/venn_diagram/venn_diagram.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/venn_diagram/venn_diagram.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/venn_diagram/vennjs/LICENSE (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/venn_diagram/vennjs/index.ts (95%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/workspace_layout/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/workspace_layout/workspace_layout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/workspace_layout/workspace_layout.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/components/workspace_layout/workspace_top_nav_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/as_observable.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/format_http_error.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/kql_encoder.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/kql_encoder.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/outlink_encoders.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/saved_objects_utils/check_for_duplicate_title.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/saved_objects_utils/confirm_modal_promise.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/saved_objects_utils/constants.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/saved_objects_utils/display_duplicate_title_confirm_modal.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/saved_objects_utils/find_object_by_title.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/saved_objects_utils/find_object_by_title.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/saved_objects_utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/saved_objects_utils/save_with_confirmation.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/saved_workspace_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/saved_workspace_utils.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/style_choices.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/url_template.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/use_graph_loader.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/use_inspector.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/use_workspace_loader.test.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/helpers/use_workspace_loader.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/index.scss (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/router.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/fetch_top_nodes.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/fetch_top_nodes.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/index_pattern_cache.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/persistence/deserialize.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/persistence/deserialize.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/persistence/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/persistence/saved_workspace_references.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/persistence/saved_workspace_references.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/persistence/serialize.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/persistence/serialize.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/save_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/source_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/url.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/workspace/graph_client_workspace.d.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/workspace/graph_client_workspace.js (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/services/workspace/graph_client_workspace.test.js (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/advanced_settings.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/datasource.sagas.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/datasource.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/datasource.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/fields.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/global.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/legacy.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/meta_data.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/meta_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/persistence.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/persistence.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/store.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/url_templates.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/url_templates.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/state_management/workspace.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/types/app_state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/types/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/types/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/types/persistence.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/public/types/workspace_state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/config.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/content_management/cm_services.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/content_management/graph_storage.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/content_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/content_management/v1/cm_services.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/lib/license_state.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/routes/explore.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/routes/search.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/sample_data/ecommerce.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/sample_data/flights.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/sample_data/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/sample_data/logs.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/sample_data/register_sample_data.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/saved_objects/graph_workspace.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/saved_objects/index.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/saved_objects/migrations.test.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/server/saved_objects/migrations.ts (100%) rename x-pack/{plugins => platform/plugins/private}/graph/tsconfig.json (94%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/constants.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/content_management/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/content_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/content_management/latest.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/content_management/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/content_management/v1/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/content_management/v1/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/embeddable_factory/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/collapse/collapse_fn.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/collapse/collapse_fn.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/collapse/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/collapse/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/counter_rate/counter_rate.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/counter_rate/counter_rate_fn.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/counter_rate/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/counter_rate/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/datatable/datatable.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/datatable/datatable_column.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/datatable/datatable_fn.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/datatable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/datatable/summary.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/datatable/summary.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/datatable/transpose_helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/datatable/transpose_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/datatable/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/datatable/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/format_column/format_column.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/format_column/format_column_fn.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/format_column/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/format_column/supported_formats.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/format_column/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/formula_context/context_fns.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/formula_context/context_fns.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/formula_context/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/map_to_columns/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/map_to_columns/map_to_columns.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/map_to_columns/map_to_columns.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/map_to_columns/map_to_columns_fn.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/map_to_columns/map_to_columns_fn_textbased.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/map_to_columns/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/time_scale/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/time_scale/time_scale.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/time_scale/time_scale.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/time_scale/time_scale_fn.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/expressions/time_scale/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/layer_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/locator/locator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/locator/locator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/suffix_formatter/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/suffix_formatter/suffix_formatter.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/visualizations/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/common/visualizations/partition/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/jest.config.js (64%) rename x-pack/{plugins => platform/plugins/shared}/lens/kibana.jsonc (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/layout.png (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/_mixins.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/_variables.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/app.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/app.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/app.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/app_helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/app_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/csv_download_provider/csv_download_provider.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/get_application_user_messages.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/get_application_user_messages.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/lens_document_equality.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/lens_document_equality.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/lens_top_nav.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/mounter.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/save_modal.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/save_modal_container.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/save_modal_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/save_modal_container_helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/save_modal_container_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/settings_menu.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/settings_menu.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/share_action.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/shared/edit_on_the_fly/esql_data_grid_accordion.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/shared/edit_on_the_fly/flyout_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/shared/edit_on_the_fly/get_edit_lens_configuration.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/shared/edit_on_the_fly/get_edit_lens_configuration.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/shared/edit_on_the_fly/helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/shared/edit_on_the_fly/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/shared/edit_on_the_fly/layer_configuration_section.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/shared/edit_on_the_fly/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/shared/saved_modal_lazy.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/show_underlying_data.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/show_underlying_data.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/tags_saved_object_save_modal_dashboard_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/tags_saved_object_save_modal_origin_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/app_plugin/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/assets/error.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/assets/render_dark@2x.png (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/assets/render_light@2x.png (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/assets/warning.svg (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/async_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/chart_info_api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/chart_info_api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/data_views_service/loader.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/data_views_service/loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/data_views_service/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/data_views_service/service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/common/field_item.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/common/field_item.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/common/field_item.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/common/get_field_item_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/__mocks__/loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/__snapshots__/utils.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/datapanel.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/datapanel.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/datapanel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dedupe_aggs.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dedupe_aggs.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/advanced_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/bucket_nesting_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/bucket_nesting_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/dimension_editor.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/dimension_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/dimension_editor_helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/dimension_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/dimensions_editor_helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/droppable/get_drop_props.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/droppable/get_drop_props.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/droppable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/droppable/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/droppable/on_drop_handler.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/droppable/on_drop_handler.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/field_input.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/field_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/field_select.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/filtering.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/format_selector.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/format_selector.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/formatting/duration_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/operation_support.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/reduced_time_range.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/reference_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/reference_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/time_scaling.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/dimension_panel/time_shift.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/document_field.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/form_based.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/form_based.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/form_based_suggestions.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/form_based_suggestions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/help_popover.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/help_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/info_badges.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/layer_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/layerpanel.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/layerpanel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/loader.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/__mocks__/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/__snapshots__/percentile.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/calculations/counter_rate.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/calculations/cumulative_sum.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/calculations/differences.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/calculations/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/calculations/moving_average.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/calculations/overall_metric.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/calculations/overall_metric.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/calculations/time_scale.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/calculations/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/calculations/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/cardinality.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/cardinality.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/column_types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/count.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/count.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/date_histogram.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/date_histogram.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/filters/filters.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/filters/filters.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/filters/filters.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/filters/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/__snapshots__/formula.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/context_variables.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/context_variables.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/editor/formula.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/editor/formula_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/editor/formula_help.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/editor/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/editor/math_completion.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/editor/math_completion.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/editor/math_tokenization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/formula.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/formula.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/formula_public_api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/formula_public_api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/generate.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/math.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/math.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/math_examples.md (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/mocks/operation_mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/parse.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/validation.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/formula/validation_errors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/get_group_by_key.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/last_value.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/last_value.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/metrics.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/metrics.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/percentile.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/percentile.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/percentile_ranks.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/percentile_ranks.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/ranges/advanced_editor.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/ranges/advanced_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/ranges/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/ranges/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/ranges/range_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/ranges/ranges.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/ranges/ranges.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/shared_components/form_row.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/shared_components/form_row.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/shared_components/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/shared_components/label_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/static_value.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/static_value.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/terms/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/terms/field_inputs.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/terms/helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/terms/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/terms/include_exclude_options.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/terms/include_exclude_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/terms/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/terms/terms.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/terms/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/terms/values_input.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/definitions/terms/values_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/layer_helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/layer_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/mocks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/operations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/operations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/time_scale_utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/operations/time_scale_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/pure_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/pure_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/reduced_time_range_utils.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/state_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/time_shift_utils.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/time_shift_utils.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/to_expression.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/utils.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/form_based/utils.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/components/datapanel.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/components/datapanel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/components/dimension_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/components/dimension_trigger.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/components/field_select.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/components/field_select.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/dnd/get_drop_props.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/dnd/get_drop_props.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/dnd/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/dnd/mocks.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/dnd/on_drop.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/dnd/on_drop.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/fetch_data_from_aggregate_query.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/fieldlist_cache.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/remove_column.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/text_based_languages.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/text_based_languages.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/to_expression.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/datasources/text_based/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/__mocks__/expression_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/__mocks__/suggestion_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/banner_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/buttons/draggable_dimension_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/buttons/drop_targets_utils.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/buttons/empty_dimension_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/buttons/fake_dimension_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_option.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch_selectable.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/dimension_container.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/dimension_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/clone_layer_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/layer_actions.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/open_layer_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/order_bounds.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/remove_layer_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/layer_header.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/layer_header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/config_panel/use_focus_update.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/easteregg/bee.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/easteregg/elastic_elk_b.png (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/easteregg/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/editor_frame.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/editor_frame.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/expression_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/frame_layout.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/frame_layout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/state_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/suggestion_helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/suggestion_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/suggestion_panel.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/suggestion_panel.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/workspace_panel/__snapshots__/workspace_panel.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/workspace_panel/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/workspace_panel/message_list.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/workspace_panel/message_list.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/workspace_panel/title.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_errors.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/error_helper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/mocks.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/service.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/editor_frame_service/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/expressions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/help_menu_util.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/id_generator/id_generator.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/id_generator/id_generator.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/id_generator/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/lens_attribute_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/lens_inspector_service.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/lens_suggestions_api/helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/lens_suggestions_api/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/lens_suggestions_api/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/lens_suggestions_api/lens_suggestions_api.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/lens_suggestions_api/readme.md (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/lens_ui_errors/error_boundary.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/lens_ui_errors/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/lens_ui_errors/memoized_error_notification.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/lens_ui_telemetry/color_telemetry_helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/lens_ui_telemetry/color_telemetry_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/lens_ui_telemetry/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/lens_ui_telemetry/track_counter_events.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/mocks/data_plugin_mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/mocks/data_views_service_mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/mocks/datasource_mock.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/mocks/dataview_mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/mocks/expression_renderer_mock.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/mocks/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/mocks/lens_plugin_mock.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/mocks/services_mock.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/mocks/store_mocks.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/mocks/suggestions_mock.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/mocks/visualization_mock.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/persistence/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/persistence/lens_client.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/persistence/saved_object_store.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/persistence/saved_object_store.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/persistence/saved_objects_utils/check_for_duplicate_title.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/persistence/saved_objects_utils/confirm_modal_promise.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/persistence/saved_objects_utils/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/persistence/saved_objects_utils/display_duplicate_title_confirm_modal.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/persistence/saved_objects_utils/find_object_by_title.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/persistence/saved_objects_utils/find_object_by_title.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/persistence/saved_objects_utils/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/persistence/saved_objects_utils/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/plugin.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/data_loader.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/expression_wrapper.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/expressions/callbacks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/expressions/expression_params.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/expressions/merged_search_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/expressions/on_event.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/expressions/on_event.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/expressions/on_render.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/expressions/telemetry.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/expressions/update_data_views.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/expressions/variables.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/helper.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/helper.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/initializers/initialize_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/initializers/initialize_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/initializers/initialize_dashboard_service.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/initializers/initialize_dashboard_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/initializers/initialize_edit.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/initializers/initialize_inspector.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/initializers/initialize_integrations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/initializers/initialize_internal_api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/initializers/initialize_search_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/initializers/initialize_state_management.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/inline_editing/mount.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/inline_editing/panel_management.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/inline_editing/setup_inline_editing.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/inline_editing/state_management.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/lens_embeddable.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/logger.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/mocks/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/renderer/hooks.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/renderer/lens_embeddable_component.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/renderer/lens_embeddable_component.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/type_guards.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/user_messages/api.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/user_messages/checks.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/user_messages/container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/user_messages/error_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/user_messages/info_badges.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/user_messages/info_badges.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/user_messages/info_badges.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/react_embeddable/user_messages/message_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/report_performance_metric_util.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/search_provider.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/settings_storage.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/axis/extent/axis_extent_settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/axis/extent/axis_extent_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/axis/extent/helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/axis/extent/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/axis/extent/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/axis/extent/to_expression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/axis/extent/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/axis/ticks/axis_ticks_settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/axis/ticks/axis_ticks_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/axis/title/toolbar_title_settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/axis/title/toolbar_title_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/bar_orientation.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/collapse_setting.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/coloring/color_mapping_accessor.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/coloring/color_mapping_accessor.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/coloring/color_mapping_by_terms.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/coloring/color_mapping_by_values.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/coloring/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/coloring/get_cell_color_fn.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/coloring/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/coloring/palette_panel_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/coloring/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/coloring/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/datasource_default_values.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/datasource_default_values.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/dataview_picker/dataview_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/dataview_picker/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/dataview_picker/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/dataview_picker/toolbar_button.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/dataview_picker/toolbar_button.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/dataview_picker/trigger.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/dataview_picker/trigger.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/experimental_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/flyout_container.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/flyout_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/icon_set.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/ignore_global_filter/data_view_picker_icon.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/ignore_global_filter/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/ignore_global_filter/info_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/ignore_global_filter/settings_control.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/info_badges/info_badge.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/info_badges/info_badge.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/legend/layout/columns_number_setting.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/legend/legend_settings_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/legend/legend_settings_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/legend/location/legend_location_settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/legend/location/legend_location_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/legend/size/legend_size_settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/legend/size/legend_size_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/palette_picker.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/prepend_provider.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/range_input_field.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/setting_with_sibling_flyout.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/setting_with_sibling_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/static_header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/toolbar_divider.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/toolbar_popover.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/toolbar_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/value_labels_settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/value_labels_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/shared_components/vis_label.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/__snapshots__/load_initial.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/context_middleware/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/context_middleware/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/context_middleware/subscribe_to_external_context.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/fullscreen_middleware.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/index.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/init_middleware/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/init_middleware/load_initial.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/lens_slice.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/lens_slice.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/load_initial.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/optimizing_middleware.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/selectors.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/selectors.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/shared_logic.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/state_management/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/convert_to_lens_action.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/dashboard_visualize_panel_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/open_in_discover_action.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/open_in_discover_action.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/open_in_discover_drilldown.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/open_in_discover_drilldown.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/open_in_discover_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/open_lens_config/create_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/open_lens_config/create_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/open_lens_config/create_action_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/open_lens_config/helpers.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action_helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_trigger.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/visualize_agg_based_vis_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/visualize_field_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/trigger_actions/visualize_tsvb_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/user_messages_ids.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/user_messages_utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/utils.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/vis_type_alias.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualization_container.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualization_container.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualization_container.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/cell_value.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/cell_value.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/columns.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/columns.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/dimension_editor.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/dimension_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/dimension_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/dimension_editor_additional_section.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/dimension_editor_addtional_section.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/table_actions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/table_actions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/table_basic.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/table_basic.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/table_basic.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/toolbar.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/toolbar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/components/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/datatable_visualization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/expression.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/expression.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/visualization.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/datatable/visualization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/gauge/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/gauge/dimension_editor.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/gauge/dimension_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/gauge/gauge_visualization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/gauge/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/gauge/palette_config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/gauge/suggestions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/gauge/suggestions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/gauge/toolbar_component/gauge_config_panel.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/gauge/toolbar_component/gauge_toolbar.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/gauge/toolbar_component/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/gauge/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/gauge/visualization.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/gauge/visualization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/heatmap/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/heatmap/dimension_editor.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/heatmap/dimension_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/heatmap/heatmap_visualization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/heatmap/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/heatmap/suggestions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/heatmap/suggestions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/heatmap/toolbar_component.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/heatmap/toolbar_component.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/heatmap/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/heatmap/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/heatmap/visualization.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/heatmap/visualization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/dimension_editor.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/dimension_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/dimension_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/metric_config_panel/align_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/metric_config_panel/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/metric_config_panel/size_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/metric_config_panel/text_formatting_options.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/metric_config_panel/title_position_option.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/metric_config_panel/titles_and_text_options_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/metric_suggestions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/metric_suggestions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/metric_visualization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/palette_config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/visualization.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/legacy_metric/visualization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/__snapshots__/visualization.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/dimension_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/dimension_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/metric_visualization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/palette_config.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/suggestions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/suggestions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/to_expression.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/toolbar/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/toolbar/titles_and_text_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/toolbar/titles_and_text_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/toolbar/toolbar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/visualization.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/metric/visualization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/dimension_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/layer_settings.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/layer_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/partition_charts_meta.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/persistence.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/pie_visualization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/render_helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/render_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/suggestions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/suggestions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/to_expression.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/toolbar.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/toolbar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/visualization.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/partition/visualization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/tagcloud/constants.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/tagcloud/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/tagcloud/suggestions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/tagcloud/tagcloud_toolbar/font_size_input.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/tagcloud/tagcloud_toolbar/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/tagcloud/tagcloud_toolbar/tagcloud_toolbar.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/tagcloud/tagcloud_visualization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/tagcloud/tags_dimension_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/tagcloud/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/__snapshots__/to_expression.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/__snapshots__/visualization.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/add_layer.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/add_layer.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/annotations/actions/__snapshots__/revert_changes_action.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/annotations/actions/__snapshots__/save_action.test.tsx.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/annotations/actions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/annotations/actions/revert_changes_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/annotations/actions/revert_changes_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/annotations/actions/save_action.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/annotations/actions/save_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/annotations/actions/unlink_action.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/annotations/actions/unlink_action.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/annotations/helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/annotations/helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/axes_configuration.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/axes_configuration.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/color_assignment.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/color_assignment.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/layer_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/legend_stats_telemetry_helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/legend_stats_telemetry_helpers.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/load_annotation_library_flyout.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/persistence.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/reference_line_helpers.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/reference_line_helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/state_helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/to_expression.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/to_expression.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/visualization.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/visualization.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/visualization_helpers.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/annotations_config_panel/annotations_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.scss (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/dimension_editor.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/dimension_editor.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/layer_header.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/layer_header.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/reference_line_config_panel/reference_line_panel.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/shared/marker_decoration_settings.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/titles_and_text_popover/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/end_value_definitions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fill_opacity_option.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fill_opacity_option.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fitting_function_definitions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/index.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_definitions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_option.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_option.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/missing_value_option.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/missing_values_option.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/visual_options_popover.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_config_panel/xy_config_panel.test.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_suggestions.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_suggestions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/public/visualizations/xy/xy_visualization.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/readme.md (99%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/content_management/cm_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/content_management/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/content_management/lens_storage.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/content_management/v1/cm_services.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/embeddable/make_lens_embeddable_factory.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/embeddable/make_lens_embeddable_factory.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/expressions/expressions.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/expressions/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/expressions/utils.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/index.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/migrations/__snapshots__/saved_object_migrations.test.ts.snap (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/migrations/common_migrations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/migrations/common_migrations.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/migrations/saved_object_migrations.test.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/migrations/saved_object_migrations.ts (99%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/migrations/types.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/plugin.tsx (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/server/saved_objects.ts (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/to_playground.gif (100%) rename x-pack/{plugins => platform/plugins/shared}/lens/tsconfig.json (97%) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index c6de1f4956092..4353f4f079a9f 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -70,7 +70,7 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ - /^src\/plugins\/data/, + /^src\/platform\/plugins\/shared\/data/, /^x-pack\/platform\/plugins\/shared\/actions/, /^x-pack\/platform\/plugins\/shared\/alerting/, /^x-pack\/platform\/plugins\/shared\/event_log/, @@ -311,7 +311,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^package.json/, /^src\/platform\/packages\/shared\/kbn-discover-utils/, /^packages\/kbn-doc-links/, - /^packages\/kbn-dom-drag-drop/, + /^src\/platform\/packages\/shared\/kbn-dom-drag-drop/, /^src\/platform\/packages\/shared\/kbn-es-query/, /^src\/platform\/packages\/shared\/kbn-i18n/, /^src\/platform\/packages\/shared\/kbn-i18n-react/, @@ -332,9 +332,9 @@ const getPipeline = (filename: string, removeSteps = true) => { /^packages\/react/, /^packages\/shared-ux/, /^src\/core/, - /^src\/plugins\/charts/, + /^src\/platform\/plugins\/shared\/charts/, /^src\/platform\/plugins\/shared\/controls/, - /^src\/plugins\/data/, + /^src\/platform\/plugins\/shared\/data/, /^src\/platform\/plugins\/shared\/data_views/, /^src\/platform\/plugins\/shared\/discover/, /^src\/platform\/plugins\/shared\/field_formats/, @@ -344,7 +344,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^src\/platform\/plugins\/shared\/saved_search/, /^src\/platform\/plugins\/shared\/ui_actions/, /^src\/platform\/plugins\/shared\/unified_histogram/, - /^src\/plugins\/unified_search/, + /^src\/platform\/plugins\/shared\/unified_search/, /^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant/, /^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant-common/, /^x-pack\/solutions\/security\/packages/, diff --git a/.eslintignore b/.eslintignore index 270762242c87e..bd362556ae083 100644 --- a/.eslintignore +++ b/.eslintignore @@ -21,7 +21,7 @@ snapshots.js # plugin overrides /src/core/lib/kbn_internal_native_observable -/src/plugins/data/common/es_query/kuery/ast/_generated_/** +/src/platform/plugins/shared/data/common/es_query/kuery/ast/_generated_/** /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 diff --git a/.eslintrc.js b/.eslintrc.js index 804a45645b201..5b37dbccf5056 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -127,7 +127,7 @@ const VENN_DIAGRAM_HEADER = ` * This file is forked from the venn.js project (https://github.com/benfred/venn.js/), * and may include modifications made by Elasticsearch B.V. * Elasticsearch B.V. licenses this file to you under the MIT License. - * See \`x-pack/plugins/graph/public/components/venn_diagram/vennjs/LICENSE\` for more information. + * See \`x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/LICENSE\` for more information. */ `; @@ -183,7 +183,7 @@ const DEV_PATTERNS = [ ...DEV_PACKAGE_DIRS.map((pkg) => `${pkg}/**/*`), ...DEV_DIRECTORIES.map((dir) => `{packages,src,x-pack}/**/${dir}/**/*`), ...DEV_FILE_PATTERNS.map((file) => `{packages,src,x-pack}/**/${file}`), - 'packages/kbn-interpreter/tasks/**/*', + 'src/platform/packages/shared/kbn-interpreter/tasks/**/*', 'src/dev/**/*', 'x-pack/{dev-tools,tasks,test,test_serverless,build_chromium}/**/*', 'x-pack/performance/**/*', @@ -599,7 +599,9 @@ module.exports = { * venn.js fork requires special license headers */ { - files: ['x-pack/plugins/graph/public/components/venn_diagram/vennjs/**/*.{js,mjs,ts,tsx}'], + files: [ + 'x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/**/*.{js,mjs,ts,tsx}', + ], rules: { '@kbn/eslint/require-license-header': [ 'error', @@ -1585,7 +1587,7 @@ module.exports = { * Lens overrides */ { - files: ['x-pack/plugins/lens/**/*.{ts,tsx}'], + files: ['x-pack/platform/plugins/shared/lens/**/*.{ts,tsx}'], rules: { '@typescript-eslint/no-explicit-any': 'error', }, @@ -1801,7 +1803,7 @@ module.exports = { * TSVB overrides */ { - files: ['src/plugins/vis_types/timeseries/**/*.{js,mjs,ts,tsx}'], + files: ['src/platform/plugins/shared/vis_types/timeseries/**/*.{js,mjs,ts,tsx}'], rules: { 'import/no-default-export': 'error', }, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1118106524447..6216b797f2f21 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -116,9 +116,7 @@ packages/kbn-babel-register @elastic/kibana-operations packages/kbn-babel-transform @elastic/kibana-operations packages/kbn-bazel-runner @elastic/kibana-operations packages/kbn-calculate-auto @elastic/obs-ux-management-team -packages/kbn-calculate-width-from-char-count @elastic/kibana-visualizations packages/kbn-capture-oas-snapshot-cli @elastic/kibana-core -packages/kbn-chart-icons @elastic/kibana-visualizations packages/kbn-charts-theme @elastic/kibana-visualizations packages/kbn-check-mappings-update-cli @elastic/kibana-core packages/kbn-check-prod-native-modules-cli @elastic/kibana-operations @@ -128,9 +126,7 @@ packages/kbn-ci-stats-reporter @elastic/kibana-operations packages/kbn-ci-stats-shipper-cli @elastic/kibana-operations packages/kbn-cli-dev-mode @elastic/kibana-operations packages/kbn-code-owners @elastic/appex-qa -packages/kbn-coloring @elastic/kibana-visualizations packages/kbn-cypress-config @elastic/kibana-operations -packages/kbn-data-service @elastic/kibana-visualizations @elastic/kibana-data-discovery packages/kbn-dependency-ownership @elastic/kibana-security packages/kbn-dependency-usage @elastic/kibana-security packages/kbn-dev-cli-errors @elastic/kibana-operations @@ -138,7 +134,6 @@ packages/kbn-dev-cli-runner @elastic/kibana-operations packages/kbn-dev-proc-runner @elastic/kibana-operations packages/kbn-dev-utils @elastic/kibana-operations packages/kbn-docs-utils @elastic/kibana-operations -packages/kbn-dom-drag-drop @elastic/kibana-visualizations @elastic/kibana-data-discovery packages/kbn-es @elastic/kibana-operations packages/kbn-es-archiver @elastic/kibana-operations @elastic/appex-qa packages/kbn-eslint-config @elastic/kibana-operations @@ -148,8 +143,6 @@ packages/kbn-eslint-plugin-eslint @elastic/kibana-operations packages/kbn-eslint-plugin-i18n @elastic/obs-knowledge-team @elastic/kibana-operations packages/kbn-eslint-plugin-imports @elastic/kibana-operations packages/kbn-eslint-plugin-telemetry @elastic/obs-knowledge-team -packages/kbn-event-annotation-common @elastic/kibana-visualizations -packages/kbn-event-annotation-components @elastic/kibana-visualizations packages/kbn-expect @elastic/kibana-operations @elastic/appex-qa packages/kbn-failed-test-reporter-cli @elastic/kibana-operations @elastic/appex-qa packages/kbn-find-used-node-modules @elastic/kibana-operations @@ -165,16 +158,13 @@ packages/kbn-grid-layout @elastic/kibana-presentation packages/kbn-guided-onboarding @elastic/appex-sharedux packages/kbn-import-locator @elastic/kibana-operations packages/kbn-import-resolver @elastic/kibana-operations -packages/kbn-interpreter @elastic/kibana-visualizations packages/kbn-item-buffer @elastic/appex-sharedux packages/kbn-jest-serializers @elastic/kibana-operations packages/kbn-journeys @elastic/kibana-operations @elastic/appex-qa packages/kbn-json-ast @elastic/kibana-operations packages/kbn-kibana-manifest-schema @elastic/kibana-operations -packages/kbn-lens-formula-docs @elastic/kibana-visualizations packages/kbn-lint-packages-cli @elastic/kibana-operations packages/kbn-lint-ts-projects-cli @elastic/kibana-operations -packages/kbn-managed-content-badge @elastic/kibana-visualizations packages/kbn-managed-vscode-config @elastic/kibana-operations packages/kbn-managed-vscode-config-cli @elastic/kibana-operations packages/kbn-management/settings/section_registry @elastic/appex-sharedux @elastic/kibana-management @@ -211,7 +201,6 @@ packages/kbn-scout-reporting @elastic/appex-qa packages/kbn-set-map @elastic/kibana-operations packages/kbn-some-dev-log @elastic/kibana-operations packages/kbn-sort-package-json @elastic/kibana-operations -packages/kbn-sort-predicates @elastic/kibana-visualizations packages/kbn-stdio-dev-helpers @elastic/kibana-operations packages/kbn-storybook @elastic/kibana-operations packages/kbn-styled-components-mapping-cli @elastic/kibana-operations @elastic/eui-team @@ -220,16 +209,11 @@ packages/kbn-test @elastic/kibana-operations @elastic/appex-qa packages/kbn-test-eui-helpers @elastic/kibana-visualizations packages/kbn-test-jest-helpers @elastic/kibana-operations @elastic/appex-qa packages/kbn-test-subj-selector @elastic/kibana-operations @elastic/appex-qa -packages/kbn-timelion-grammar @elastic/kibana-visualizations -packages/kbn-tinymath @elastic/kibana-visualizations packages/kbn-tooling-log @elastic/kibana-operations -packages/kbn-transpose-utils @elastic/kibana-visualizations packages/kbn-ts-projects @elastic/kibana-operations packages/kbn-ts-type-check-cli @elastic/kibana-operations packages/kbn-use-tracked-promise @elastic/obs-ux-logs-team packages/kbn-validate-next-docs-cli @elastic/kibana-operations -packages/kbn-visualization-ui-components @elastic/kibana-visualizations -packages/kbn-visualization-utils @elastic/kibana-visualizations packages/kbn-web-worker-stub @elastic/kibana-operations packages/kbn-whereis-pkg-cli @elastic/kibana-operations packages/kbn-yarn-lock-validator @elastic/kibana-operations @@ -409,6 +393,8 @@ src/platform/packages/private/kbn-handlebars @elastic/kibana-security src/platform/packages/private/kbn-hapi-mocks @elastic/kibana-core src/platform/packages/private/kbn-health-gateway-server @elastic/kibana-core src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql +src/platform/packages/private/kbn-lens-formula-docs @elastic/kibana-visualizations +src/platform/packages/private/kbn-managed-content-badge @elastic/kibana-visualizations 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 @@ -427,6 +413,9 @@ src/platform/packages/private/kbn-reporting/mocks_server @elastic/appex-sharedux src/platform/packages/private/kbn-reporting/public @elastic/appex-sharedux src/platform/packages/private/kbn-reporting/server @elastic/appex-sharedux src/platform/packages/private/kbn-screenshotting-server @elastic/appex-sharedux +src/platform/packages/private/kbn-timelion-grammar @elastic/kibana-visualizations +src/platform/packages/private/kbn-tinymath @elastic/kibana-visualizations +src/platform/packages/private/kbn-transpose-utils @elastic/kibana-visualizations src/platform/packages/private/kbn-ui-shared-deps-npm @elastic/kibana-operations src/platform/packages/private/kbn-ui-shared-deps-src @elastic/kibana-operations src/platform/packages/private/kbn-unsaved-changes-badge @elastic/kibana-data-discovery @@ -437,6 +426,7 @@ src/platform/packages/private/shared-ux/page/kibana_no_data/impl @elastic/appex- src/platform/packages/private/shared-ux/page/kibana_no_data/mocks @elastic/appex-sharedux src/platform/packages/private/shared-ux/page/kibana_no_data/types @elastic/appex-sharedux src/platform/packages/private/shared-ux/storybook/config @elastic/appex-sharedux +src/platform/packages/shared/chart-expressions-common @elastic/kibana-visualizations src/platform/packages/shared/cloud @elastic/kibana-core src/platform/packages/shared/content-management/content_editor @elastic/appex-sharedux src/platform/packages/shared/content-management/content_insights/content_insights_public @elastic/appex-sharedux @@ -465,20 +455,25 @@ src/platform/packages/shared/kbn-analytics @elastic/kibana-core src/platform/packages/shared/kbn-apm-data-view @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-apm-utils @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows +src/platform/packages/shared/kbn-calculate-width-from-char-count @elastic/kibana-visualizations src/platform/packages/shared/kbn-cases-components @elastic/response-ops src/platform/packages/shared/kbn-cbor @elastic/kibana-operations src/platform/packages/shared/kbn-cell-actions @elastic/security-threat-hunting-explore +src/platform/packages/shared/kbn-chart-icons @elastic/kibana-visualizations +src/platform/packages/shared/kbn-coloring @elastic/kibana-visualizations src/platform/packages/shared/kbn-config @elastic/kibana-core src/platform/packages/shared/kbn-config-schema @elastic/kibana-core src/platform/packages/shared/kbn-content-management-utils @elastic/kibana-data-discovery src/platform/packages/shared/kbn-crypto @elastic/kibana-security src/platform/packages/shared/kbn-crypto-browser @elastic/kibana-core src/platform/packages/shared/kbn-custom-icons @elastic/obs-ux-logs-team +src/platform/packages/shared/kbn-data-service @elastic/kibana-visualizations @elastic/kibana-data-discovery src/platform/packages/shared/kbn-data-view-utils @elastic/kibana-data-discovery src/platform/packages/shared/kbn-datemath @elastic/kibana-data-discovery src/platform/packages/shared/kbn-discover-contextual-components @elastic/obs-ux-logs-team @elastic/kibana-data-discovery src/platform/packages/shared/kbn-discover-utils @elastic/kibana-data-discovery src/platform/packages/shared/kbn-doc-links @elastic/docs +src/platform/packages/shared/kbn-dom-drag-drop @elastic/kibana-visualizations @elastic/kibana-data-discovery src/platform/packages/shared/kbn-ebt-tools @elastic/kibana-core src/platform/packages/shared/kbn-elastic-agent-utils @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-es-errors @elastic/kibana-core @@ -487,12 +482,15 @@ src/platform/packages/shared/kbn-es-types @elastic/kibana-core @elastic/obs-know 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-event-annotation-common @elastic/kibana-visualizations +src/platform/packages/shared/kbn-event-annotation-components @elastic/kibana-visualizations src/platform/packages/shared/kbn-field-types @elastic/kibana-data-discovery src/platform/packages/shared/kbn-field-utils @elastic/kibana-data-discovery src/platform/packages/shared/kbn-flot-charts @elastic/kibana-presentation @elastic/stack-monitoring src/platform/packages/shared/kbn-grouping @elastic/response-ops src/platform/packages/shared/kbn-i18n @elastic/kibana-core src/platform/packages/shared/kbn-i18n-react @elastic/kibana-core +src/platform/packages/shared/kbn-interpreter @elastic/kibana-visualizations src/platform/packages/shared/kbn-io-ts-utils @elastic/obs-knowledge-team src/platform/packages/shared/kbn-lens-embeddable-utils @elastic/obs-ux-infra_services-team @elastic/kibana-visualizations src/platform/packages/shared/kbn-logging @elastic/kibana-core @@ -536,6 +534,7 @@ src/platform/packages/shared/kbn-server-route-repository-client @elastic/obs-kno src/platform/packages/shared/kbn-server-route-repository-utils @elastic/obs-knowledge-team src/platform/packages/shared/kbn-shared-svg @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-shared-ux-utility @elastic/appex-sharedux +src/platform/packages/shared/kbn-sort-predicates @elastic/kibana-visualizations src/platform/packages/shared/kbn-sse-utils @elastic/obs-knowledge-team src/platform/packages/shared/kbn-sse-utils-client @elastic/obs-knowledge-team src/platform/packages/shared/kbn-sse-utils-server @elastic/obs-knowledge-team @@ -554,6 +553,8 @@ src/platform/packages/shared/kbn-user-profile-components @elastic/kibana-securit src/platform/packages/shared/kbn-utility-types @elastic/kibana-core src/platform/packages/shared/kbn-utility-types-jest @elastic/kibana-operations src/platform/packages/shared/kbn-utils @elastic/kibana-operations +src/platform/packages/shared/kbn-visualization-ui-components @elastic/kibana-visualizations +src/platform/packages/shared/kbn-visualization-utils @elastic/kibana-visualizations src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-zod @elastic/kibana-core src/platform/packages/shared/kbn-zod-helpers @elastic/security-detection-rule-management @@ -605,6 +606,8 @@ src/platform/packages/shared/shared-ux/router/types @elastic/appex-sharedux src/platform/packages/shared/shared-ux/storybook/mock @elastic/appex-sharedux src/platform/packages/shared/shared-ux/table_persist @elastic/appex-sharedux src/platform/plugins/private/advanced_settings @elastic/appex-sharedux @elastic/kibana-management +src/platform/plugins/private/event_annotation @elastic/kibana-visualizations +src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations src/platform/plugins/private/files_management @elastic/appex-sharedux src/platform/plugins/private/ftr_apis @elastic/kibana-core src/platform/plugins/private/image_embeddable @elastic/appex-sharedux @@ -616,13 +619,34 @@ src/platform/plugins/private/links @elastic/kibana-presentation src/platform/plugins/private/maps_ems @elastic/kibana-presentation src/platform/plugins/private/no_data_page @elastic/appex-sharedux src/platform/plugins/private/presentation_panel @elastic/kibana-presentation +src/platform/plugins/private/url_forwarding @elastic/kibana-visualizations +src/platform/plugins/private/vis_default_editor @elastic/kibana-visualizations src/platform/plugins/private/vis_type_markdown @elastic/kibana-presentation +src/platform/plugins/private/vis_types/gauge @elastic/kibana-visualizations +src/platform/plugins/private/vis_types/heatmap @elastic/kibana-visualizations +src/platform/plugins/private/vis_types/metric @elastic/kibana-visualizations +src/platform/plugins/private/vis_types/pie @elastic/kibana-visualizations +src/platform/plugins/private/vis_types/table @elastic/kibana-visualizations +src/platform/plugins/private/vis_types/tagcloud @elastic/kibana-visualizations +src/platform/plugins/private/vis_types/timelion @elastic/kibana-visualizations +src/platform/plugins/private/vis_types/vega @elastic/kibana-visualizations +src/platform/plugins/private/vis_types/vislib @elastic/kibana-visualizations +src/platform/plugins/private/vis_types/xy @elastic/kibana-visualizations src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant +src/platform/plugins/shared/chart_expressions/expression_gauge @elastic/kibana-visualizations +src/platform/plugins/shared/chart_expressions/expression_heatmap @elastic/kibana-visualizations +src/platform/plugins/shared/chart_expressions/expression_legacy_metric @elastic/kibana-visualizations +src/platform/plugins/shared/chart_expressions/expression_metric @elastic/kibana-visualizations +src/platform/plugins/shared/chart_expressions/expression_partition_vis @elastic/kibana-visualizations +src/platform/plugins/shared/chart_expressions/expression_tagcloud @elastic/kibana-visualizations +src/platform/plugins/shared/chart_expressions/expression_xy @elastic/kibana-visualizations +src/platform/plugins/shared/charts @elastic/kibana-visualizations src/platform/plugins/shared/console @elastic/kibana-management src/platform/plugins/shared/content_management @elastic/appex-sharedux src/platform/plugins/shared/controls @elastic/kibana-presentation src/platform/plugins/shared/custom_integrations @elastic/fleet src/platform/plugins/shared/dashboard @elastic/kibana-presentation +src/platform/plugins/shared/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/platform/plugins/shared/data_view_editor @elastic/kibana-data-discovery src/platform/plugins/shared/data_view_field_editor @elastic/kibana-data-discovery src/platform/plugins/shared/data_view_management @elastic/kibana-data-discovery @@ -640,6 +664,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/expressions @elastic/kibana-visualizations src/platform/plugins/shared/field_formats @elastic/kibana-data-discovery src/platform/plugins/shared/files @elastic/appex-sharedux src/platform/plugins/shared/guided_onboarding @elastic/appex-sharedux @@ -665,35 +690,10 @@ src/platform/plugins/shared/ui_actions @elastic/appex-sharedux src/platform/plugins/shared/ui_actions_enhanced @elastic/appex-sharedux src/platform/plugins/shared/unified_doc_viewer @elastic/kibana-data-discovery src/platform/plugins/shared/unified_histogram @elastic/kibana-data-discovery +src/platform/plugins/shared/unified_search @elastic/kibana-visualizations src/platform/plugins/shared/usage_collection @elastic/kibana-core -src/plugins/chart_expressions/common @elastic/kibana-visualizations -src/plugins/chart_expressions/expression_gauge @elastic/kibana-visualizations -src/plugins/chart_expressions/expression_heatmap @elastic/kibana-visualizations -src/plugins/chart_expressions/expression_legacy_metric @elastic/kibana-visualizations -src/plugins/chart_expressions/expression_metric @elastic/kibana-visualizations -src/plugins/chart_expressions/expression_partition_vis @elastic/kibana-visualizations -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/data @elastic/kibana-visualizations @elastic/kibana-data-discovery -src/plugins/event_annotation @elastic/kibana-visualizations -src/plugins/event_annotation_listing @elastic/kibana-visualizations -src/plugins/expressions @elastic/kibana-visualizations -src/plugins/unified_search @elastic/kibana-visualizations -src/plugins/url_forwarding @elastic/kibana-visualizations -src/plugins/vis_default_editor @elastic/kibana-visualizations -src/plugins/vis_types/gauge @elastic/kibana-visualizations -src/plugins/vis_types/heatmap @elastic/kibana-visualizations -src/plugins/vis_types/metric @elastic/kibana-visualizations -src/plugins/vis_types/pie @elastic/kibana-visualizations -src/plugins/vis_types/table @elastic/kibana-visualizations -src/plugins/vis_types/tagcloud @elastic/kibana-visualizations -src/plugins/vis_types/timelion @elastic/kibana-visualizations -src/plugins/vis_types/timeseries @elastic/kibana-visualizations -src/plugins/vis_types/vega @elastic/kibana-visualizations -src/plugins/vis_types/vislib @elastic/kibana-visualizations -src/plugins/vis_types/xy @elastic/kibana-visualizations -src/plugins/visualizations @elastic/kibana-visualizations +src/platform/plugins/shared/vis_types/timeseries @elastic/kibana-visualizations +src/platform/plugins/shared/visualizations @elastic/kibana-visualizations test test/analytics/plugins/analytics_ftr_helpers @elastic/kibana-core test/analytics/plugins/analytics_plugin_a @elastic/kibana-core @@ -754,12 +754,12 @@ x-pack/examples/third_party_vis_lens_example @elastic/kibana-visualizations x-pack/examples/triggers_actions_ui_example @elastic/response-ops x-pack/examples/ui_actions_enhanced_examples @elastic/appex-sharedux x-pack/packages/ai-infra/product-doc-artifact-builder @elastic/appex-ai-infra -x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations x-pack/packages/kbn-streams-schema @elastic/streams-program-team x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team x-pack/performance @elastic/appex-qa x-pack/platform/packages/private/kbn-alerting-state-types @elastic/response-ops x-pack/platform/packages/private/kbn-infra-forge @elastic/obs-ux-management-team +x-pack/platform/packages/private/kbn-random-sampling @elastic/kibana-visualizations 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 @@ -842,6 +842,7 @@ x-pack/platform/plugins/private/discover_enhanced @elastic/kibana-data-discovery x-pack/platform/plugins/private/file_upload @elastic/kibana-presentation @elastic/ml-ui x-pack/platform/plugins/private/global_search_bar @elastic/appex-sharedux x-pack/platform/plugins/private/global_search_providers @elastic/appex-sharedux +x-pack/platform/plugins/private/graph @elastic/kibana-visualizations 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 @@ -882,6 +883,7 @@ x-pack/platform/plugins/shared/index_management @elastic/kibana-management 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/lens @elastic/kibana-visualizations x-pack/platform/plugins/shared/license_management @elastic/kibana-management x-pack/platform/plugins/shared/licensing @elastic/kibana-core x-pack/platform/plugins/shared/logs_data_access @elastic/obs-ux-logs-team @@ -903,8 +905,6 @@ x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops x-pack/platform/plugins/shared/task_manager @elastic/response-ops x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux -x-pack/plugins/graph @elastic/kibana-visualizations -x-pack/plugins/lens @elastic/kibana-visualizations x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team diff --git a/.github/paths-labeller.yml b/.github/paths-labeller.yml index 60914a26ad8ed..54936cdadc844 100644 --- a/.github/paths-labeller.yml +++ b/.github/paths-labeller.yml @@ -6,7 +6,7 @@ - 'x-pack/plugins/drilldowns/**/*.*' - 'x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/**/*.*' - 'Feature:ExpressionLanguage': - - 'src/plugins/expressions/**/*.*' + - 'src/platform/plugins/shared/expressions/**/*.*' - 'src/plugins/bfetch/**/*.*' - 'Team:obs-ux-infra_services': - 'x-pack/solutions/observability/plugins/apm/**/*.*' diff --git a/.i18nrc.json b/.i18nrc.json index 1401b5cb0025d..35ea93ed971c5 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -10,7 +10,7 @@ "avcBanner": "src/platform/packages/shared/kbn-avc-banner/src", "cases": ["src/platform/packages/shared/kbn-cases-components"], "cellActions": "src/platform/packages/shared/kbn-cell-actions", - "charts": "src/plugins/charts", + "charts": "src/platform/plugins/shared/charts", "console": "src/platform/plugins/shared/console", "contentManagement": "src/platform/packages/shared/content-management", "core": ["src/core", "packages/core"], @@ -18,9 +18,9 @@ "customIntegrationsPackage": "x-pack/solutions/observability/packages/kbn-custom-integrations", "dashboard": "src/platform/plugins/shared/dashboard", "cloud": "src/platform/packages/shared/cloud", - "domDragDrop": "packages/kbn-dom-drag-drop", + "domDragDrop": "src/platform/packages/shared/kbn-dom-drag-drop", "controls": "src/platform/plugins/shared/controls", - "data": "src/plugins/data", + "data": "src/platform/plugins/shared/data", "observabilityAlertDetails": "x-pack/solutions/observability/packages/alert_details", "dataViews": "src/platform/plugins/shared/data_views", "defaultNavigation": ["packages/default-nav", "src/platform/packages/private/default-nav"], @@ -39,23 +39,23 @@ "esUi": "src/platform/plugins/shared/es_ui_shared", "expandableFlyout": "packages/kbn-expandable-flyout", "expressionError": "src/platform/plugins/shared/expression_error", - "expressionGauge": "src/plugins/chart_expressions/expression_gauge", - "expressionHeatmap": "src/plugins/chart_expressions/expression_heatmap", + "expressionGauge": "src/platform/plugins/shared/chart_expressions/expression_gauge", + "expressionHeatmap": "src/platform/plugins/shared/chart_expressions/expression_heatmap", "expressionImage": "src/platform/plugins/shared/expression_image", "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", - "expressionXY": "src/plugins/chart_expressions/expression_xy", + "expressionMetricVis": "src/platform/plugins/shared/chart_expressions/expression_metric", + "expressionLegacyMetricVis": "src/platform/plugins/shared/chart_expressions/expression_legacy_metric", + "expressionPartitionVis": "src/platform/plugins/shared/chart_expressions/expression_partition_vis", + "expressionXY": "src/platform/plugins/shared/chart_expressions/expression_xy", "expressionRepeatImage": "src/platform/plugins/shared/expression_repeat_image", "expressionRevealImage": "src/platform/plugins/shared/expression_reveal_image", - "expressions": "src/plugins/expressions", + "expressions": "src/platform/plugins/shared/expressions", "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", - "eventAnnotationCommon": "packages/kbn-event-annotation-common", - "eventAnnotationComponents": "packages/kbn-event-annotation-components", + "expressionTagcloud": "src/platform/plugins/shared/chart_expressions/expression_tagcloud", + "eventAnnotation": "src/platform/plugins/private/event_annotation", + "eventAnnotationListing": "src/platform/plugins/private/event_annotation_listing", + "eventAnnotationCommon": "src/platform/packages/shared/kbn-event-annotation-common", + "eventAnnotationComponents": "src/platform/packages/shared/kbn-event-annotation-components", "fieldUtils": "src/platform/packages/shared/kbn-field-utils", "fieldFormats": "src/platform/plugins/shared/field_formats", "files": "src/platform/plugins/shared/files", @@ -84,7 +84,7 @@ "kibana_utils": "src/platform/plugins/shared/kibana_utils", "kibana-react": "src/platform/plugins/shared/kibana_react", "kibanaOverview": "src/platform/plugins/private/kibana_overview", - "lensFormulaDocs": "packages/kbn-lens-formula-docs", + "lensFormulaDocs": "src/platform/packages/private/kbn-lens-formula-docs", "lists": "x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src", "exceptionList-components": "x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/src", "management": [ @@ -98,7 +98,7 @@ "links": "src/platform/plugins/private/links", "newsfeed": "src/platform/plugins/shared/newsfeed", "presentationUtil": "src/platform/plugins/shared/presentation_util", - "randomSampling": "x-pack/packages/kbn-random-sampling", + "randomSampling": "x-pack/platform/packages/private/kbn-random-sampling", "reactPackages": "packages/react", "esqlEditor": "src/platform/packages/private/kbn-esql-editor", "esqlUtils": "src/platform/packages/shared/kbn-esql-utils", @@ -129,13 +129,13 @@ "sharedPlatformPackages": ["x-pack/platform/packages/shared/kbn-cloud-security-posture"], "serverlessPackages": "packages/serverless", "sse": ["src/platform/packages/shared/kbn-sse-utils"], - "coloring": "packages/kbn-coloring/src", + "coloring": "src/platform/packages/shared/kbn-coloring/src", "languageDocumentation": "src/platform/packages/private/kbn-language-documentation/src", "esql": "src/platform/plugins/shared/esql", "esqlDataGrid": "src/platform/plugins/shared/esql_datagrid", "statusPage": "src/legacy/core_plugins/status_page", "telemetry": ["src/platform/plugins/shared/telemetry", "src/platform/plugins/shared/telemetry_management_section"], - "timelion": ["src/plugins/vis_types/timelion"], + "timelion": ["src/platform/plugins/private/vis_types/timelion"], "tryInConsole": "src/platform/packages/shared/kbn-try-in-console/", "uiActions": ["src/platform/plugins/shared/ui_actions", "src/platform/packages/shared/kbn-ui-actions-browser"], "uiActionsEnhanced": "src/platform/plugins/shared/ui_actions_enhanced", @@ -143,29 +143,29 @@ "usageCollection": "src/platform/plugins/shared/usage_collection", "userProfileComponents": "src/platform/packages/shared/kbn-user-profile-components", "utils": "x-pack/solutions/security/packages/kbn-securitysolution-utils/src", - "visDefaultEditor": "src/plugins/vis_default_editor", - "visTypeGauge": "src/plugins/vis_types/gauge", - "visTypeHeatmap": "src/plugins/vis_types/heatmap", + "visDefaultEditor": "src/platform/plugins/private/vis_default_editor", + "visTypeGauge": "src/platform/plugins/private/vis_types/gauge", + "visTypeHeatmap": "src/platform/plugins/private/vis_types/heatmap", "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", - "visTypeTagCloud": "src/plugins/vis_types/tagcloud", - "visTypeTimeseries": "src/plugins/vis_types/timeseries", - "visTypeVega": "src/plugins/vis_types/vega", - "visTypeVislib": "src/plugins/vis_types/vislib", - "visTypeXy": "src/plugins/vis_types/xy", - "visualizations": "src/plugins/visualizations", - "visualizationUiComponents": "packages/kbn-visualization-ui-components", - "visualizationUtils": "packages/kbn-visualization-utils", + "visTypeMetric": "src/platform/plugins/private/vis_types/metric", + "visTypePie": "src/platform/plugins/private/vis_types/pie", + "visTypeTable": "src/platform/plugins/private/vis_types/table", + "visTypeTagCloud": "src/platform/plugins/private/vis_types/tagcloud", + "visTypeTimeseries": "src/platform/plugins/shared/vis_types/timeseries", + "visTypeVega": "src/platform/plugins/private/vis_types/vega", + "visTypeVislib": "src/platform/plugins/private/vis_types/vislib", + "visTypeXy": "src/platform/plugins/private/vis_types/xy", + "visualizations": "src/platform/plugins/shared/visualizations", + "visualizationUiComponents": "src/platform/packages/shared/kbn-visualization-ui-components", + "visualizationUtils": "src/platform/packages/shared/kbn-visualization-utils", "unifiedDocViewer": ["src/platform/plugins/shared/unified_doc_viewer", "src/platform/packages/shared/kbn-unified-doc-viewer"], - "unifiedSearch": "src/plugins/unified_search", + "unifiedSearch": "src/platform/plugins/shared/unified_search", "unifiedFieldList": "src/platform/packages/shared/kbn-unified-field-list", "unifiedHistogram": "src/platform/plugins/shared/unified_histogram", "unifiedDataTable": "src/platform/packages/shared/kbn-unified-data-table", "unsavedChangesBadge": "src/platform/packages/private/kbn-unsaved-changes-badge", "unsavedChangesPrompt": "src/platform/packages/shared/kbn-unsaved-changes-prompt", - "managedContentBadge": "packages/kbn-managed-content-badge", + "managedContentBadge": "src/platform/packages/private/kbn-managed-content-badge", "responseOpsRuleForm": "packages/response-ops/rule_form" }, "translations": [] diff --git a/docs/developer/architecture/core/elasticsearch-service.asciidoc b/docs/developer/architecture/core/elasticsearch-service.asciidoc index 0ad4226a1d7aa..a8624432b6292 100644 --- a/docs/developer/architecture/core/elasticsearch-service.asciidoc +++ b/docs/developer/architecture/core/elasticsearch-service.asciidoc @@ -2,7 +2,7 @@ == Elasticsearch service `Elasticsearch service` provides `elasticsearch.client` program API to communicate with Elasticsearch server HTTP API. -NOTE: The Elasticsearch service is only available server side. You can use the {kib-repo}blob/{branch}/src/plugins/data/README.mdx[Data plugin]. +NOTE: The Elasticsearch service is only available server side. You can use the {kib-repo}blob/{branch}/src/platform/plugins/shared/data/README.mdx[Data plugin]. `elasticsearch.client` interacts with Elasticsearch service on behalf of: diff --git a/docs/developer/architecture/development-visualize-index.asciidoc b/docs/developer/architecture/development-visualize-index.asciidoc index 6f5f9fc742424..7e9556dff6950 100644 --- a/docs/developer/architecture/development-visualize-index.asciidoc +++ b/docs/developer/architecture/development-visualize-index.asciidoc @@ -22,5 +22,5 @@ here are a few resources: * The <> documentation, where we try to capture any changes to the APIs as they occur across minors. * link:https://github.com/elastic/kibana/issues/44121[Meta issue] which is tracking the move of the plugin to the new {kib} platform * Our link:https://www.elastic.co/blog/join-our-elastic-stack-workspace-on-slack[Elastic Stack workspace on Slack]. -* The {kib-repo}blob/{branch}/src/plugins/visualizations[source code], which will continue to be +* The {kib-repo}blob/{branch}/src/platform/plugins/shared/visualizations[source code], which will continue to be the most accurate source of information. diff --git a/docs/developer/best-practices/index.asciidoc b/docs/developer/best-practices/index.asciidoc index 92c8522026cdf..69822405d4903 100644 --- a/docs/developer/best-practices/index.asciidoc +++ b/docs/developer/best-practices/index.asciidoc @@ -71,9 +71,9 @@ They take care of the nitty gritty so you can focus on creative solutions to your particular problem sphere. Some examples of common services you should consider: -* {kib-repo}tree/{branch}/src/plugins/data/README.mdx[Data +* {kib-repo}tree/{branch}/src/platform/plugins/shared/data/README.mdx[Data services] -** {kib-repo}tree/{branch}/src/plugins/data/README.mdx#search[Search +** {kib-repo}tree/{branch}/src/platform/plugins/shared/data/README.mdx#search[Search strategies] *** Use the `esSearchStrategy` to make raw queries to ES that will support async searching and partial results, as well as injecting the diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 9b4f42668ac0b..1566070728780 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -32,7 +32,7 @@ as uiSettings within the code. |The aiAssistantManagementSelection plugin manages the Ai Assistant management section. -|{kib-repo}blob/{branch}/src/plugins/charts/README.md[charts] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/charts/README.md[charts] |The Charts plugin is a way to create easier integration of shared colors, themes, types and other utilities across all Kibana charts and visualizations. @@ -57,7 +57,7 @@ as uiSettings within the code. - Adds a dashboard embeddable that can be used in other applications. -|{kib-repo}blob/{branch}/src/plugins/data/README.mdx[data] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/data/README.mdx[data] |The data plugin provides common data access services, such as search and query, for solutions and application developers. @@ -110,11 +110,11 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |This plugin contains reusable code in the form of self-contained modules (or libraries). Each of these modules exports a set of functionality relevant to the domain of the module. -|{kib-repo}blob/{branch}/src/plugins/event_annotation/README.md[eventAnnotation] +|{kib-repo}blob/{branch}/src/platform/plugins/private/event_annotation/README.md[eventAnnotation] |The Event Annotation service contains expressions for event annotations -|{kib-repo}blob/{branch}/src/plugins/event_annotation_listing/README.md[eventAnnotationListing] +|{kib-repo}blob/{branch}/src/platform/plugins/private/event_annotation_listing/README.md[eventAnnotationListing] |This plugin contains the library listing page for event annotation groups. @@ -122,11 +122,11 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |Expression Error plugin adds an error renderer to the expression plugin. The renderer will display the error image. -|{kib-repo}blob/{branch}/src/plugins/chart_expressions/expression_gauge[expressionGauge] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/chart_expressions/expression_gauge[expressionGauge] |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/chart_expressions/expression_heatmap[expressionHeatmap] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/chart_expressions/expression_heatmap[expressionHeatmap] |WARNING: Missing README. @@ -134,7 +134,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |Expression Image plugin adds an image renderer to the expression plugin. The renderer will display the given image. -|{kib-repo}blob/{branch}/src/plugins/chart_expressions/expression_legacy_metric/README.md[expressionLegacyMetricVis] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/README.md[expressionLegacyMetricVis] |Expression MetricVis plugin adds a metric renderer and function to the expression plugin. The renderer will display the metric chart. @@ -142,11 +142,11 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |Expression Metric plugin adds a metric renderer and function to the expression plugin. -|{kib-repo}blob/{branch}/src/plugins/chart_expressions/expression_metric/README.md[expressionMetricVis] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/chart_expressions/expression_metric/README.md[expressionMetricVis] |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/chart_expressions/expression_partition_vis/README.md[expressionPartitionVis] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/chart_expressions/expression_partition_vis/README.md[expressionPartitionVis] |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. @@ -184,11 +184,11 @@ for use in their own application. |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. -|{kib-repo}blob/{branch}/src/plugins/chart_expressions/expression_tagcloud/README.md[expressionTagcloud] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/chart_expressions/expression_tagcloud/README.md[expressionTagcloud] |Expression Tagcloud plugin adds a tagcloud renderer and function to the expression plugin. The renderer will display the Wordcloud chart. -|{kib-repo}blob/{branch}/src/plugins/chart_expressions/expression_xy/README.md[expressionXY] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/chart_expressions/expression_xy/README.md[expressionXY] |Expression XY plugin adds a xy renderer and function to the expression plugin. The renderer will display the xy chart. @@ -366,11 +366,11 @@ In general this plugin provides: It manages its own state and data fetching, and can easily be dropped into pages with minimal setup. -|{kib-repo}blob/{branch}/src/plugins/unified_search/README.md[unifiedSearch] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/unified_search/README.md[unifiedSearch] |Contains all the components of Kibana's unified search experience. Specifically: -|{kib-repo}blob/{branch}/src/plugins/url_forwarding/README.md[urlForwarding] +|{kib-repo}blob/{branch}/src/platform/plugins/private/url_forwarding/README.md[urlForwarding] |This plugins contains helpers to redirect legacy URLs. It can be used to forward old URLs to their new counterparts. @@ -378,17 +378,17 @@ It manages its own state and data fetching, and can easily be dropped into pages |The Usage Collection Service defines a set of APIs for other plugins to report the usage of their features. At the same time, it provides necessary the APIs for other services (i.e.: telemetry, monitoring, ...) to consume that usage data. -|{kib-repo}blob/{branch}/src/plugins/vis_default_editor/README.md[visDefaultEditor] +|{kib-repo}blob/{branch}/src/platform/plugins/private/vis_default_editor/README.md[visDefaultEditor] |The default editor is used in most primary visualizations, e.x. Area, Data table, Pie, etc. It acts as a container for a particular visualization and options tabs. Contains the default "Data" tab in public/components/sidebar/data_tab.tsx. The plugin exposes the static DefaultEditorController class to consume. -|{kib-repo}blob/{branch}/src/plugins/vis_types/gauge[visTypeGauge] +|{kib-repo}blob/{branch}/src/platform/plugins/private/vis_types/gauge[visTypeGauge] |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/vis_types/heatmap[visTypeHeatmap] +|{kib-repo}blob/{branch}/src/platform/plugins/private/vis_types/heatmap[visTypeHeatmap] |WARNING: Missing README. @@ -396,43 +396,43 @@ The plugin exposes the static DefaultEditorController class to consume. |The markdown visualization that can be used to place text panels on dashboards. -|{kib-repo}blob/{branch}/src/plugins/vis_types/metric[visTypeMetric] +|{kib-repo}blob/{branch}/src/platform/plugins/private/vis_types/metric[visTypeMetric] |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/vis_types/pie[visTypePie] +|{kib-repo}blob/{branch}/src/platform/plugins/private/vis_types/pie[visTypePie] |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/vis_types/table/README.md[visTypeTable] +|{kib-repo}blob/{branch}/src/platform/plugins/private/vis_types/table/README.md[visTypeTable] |Contains the data table visualization, that allows presenting data in a simple table format. -|{kib-repo}blob/{branch}/src/plugins/vis_types/tagcloud[visTypeTagcloud] +|{kib-repo}blob/{branch}/src/platform/plugins/private/vis_types/tagcloud[visTypeTagcloud] |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/vis_types/timelion/README.md[visTypeTimelion] +|{kib-repo}blob/{branch}/src/platform/plugins/private/vis_types/timelion/README.md[visTypeTimelion] |Contains the timelion visualization and the timelion backend. -|{kib-repo}blob/{branch}/src/plugins/vis_types/timeseries[visTypeTimeseries] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/vis_types/timeseries[visTypeTimeseries] |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/vis_types/vega[visTypeVega] +|{kib-repo}blob/{branch}/src/platform/plugins/private/vis_types/vega[visTypeVega] |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/vis_types/vislib[visTypeVislib] +|{kib-repo}blob/{branch}/src/platform/plugins/private/vis_types/vislib[visTypeVislib] |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/vis_types/xy[visTypeXy] +|{kib-repo}blob/{branch}/src/platform/plugins/private/vis_types/xy[visTypeXy] |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/visualizations[visualizations] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/visualizations[visualizations] |WARNING: Missing README. @@ -622,7 +622,7 @@ or dashboards from the Kibana instance, from both server and client-side plugins |The globalSearchProviders plugin provides Kibana default search providers for the GlobalSearch plugin. -|{kib-repo}blob/{branch}/x-pack/plugins/graph/README.md[graph] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/graph/README.md[graph] |This is the main source folder of the Graph plugin. It contains all of the Kibana server and client source code. x-pack/test/functional/apps/graph contains additional functional tests. @@ -674,7 +674,7 @@ the infrastructure monitoring use-case within Kibana. |This plugin provides interactive visualizations of your Kubernetes workload and session data. -|{kib-repo}blob/{branch}/x-pack/plugins/lens/readme.md[lens] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/lens/readme.md[lens] |Lens is a visualization editor allowing to quickly and easily configure compelling visualizations to use on dashboards and canvas workpads. @@ -985,7 +985,7 @@ in their infrastructure. |=== 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/platform/plugins/shared/expressions/README.asciidoc[leveloffset=+1] include::{kibana-root}/src/platform/plugins/shared/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/platform/plugins/shared/embeddable_enhanced/README.asciidoc[leveloffset=+1] diff --git a/examples/search_examples/public/plugin.ts b/examples/search_examples/public/plugin.ts index 3b192d31f24d9..25413830135db 100644 --- a/examples/search_examples/public/plugin.ts +++ b/examples/search_examples/public/plugin.ts @@ -54,7 +54,7 @@ export class SearchExamplesPlugin links: [ { label: 'README', - href: 'https://github.com/elastic/kibana/tree/main/src/plugins/data/README.mdx', + href: 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/data/README.mdx', iconType: 'logoGithub', target: '_blank', size: 's', diff --git a/package.json b/package.json index 025c39133d17c..ee47234524edd 100644 --- a/package.json +++ b/package.json @@ -197,16 +197,16 @@ "@kbn/avc-banner": "link:src/platform/packages/shared/kbn-avc-banner", "@kbn/banners-plugin": "link:x-pack/platform/plugins/private/banners", "@kbn/calculate-auto": "link:packages/kbn-calculate-auto", - "@kbn/calculate-width-from-char-count": "link:packages/kbn-calculate-width-from-char-count", + "@kbn/calculate-width-from-char-count": "link:src/platform/packages/shared/kbn-calculate-width-from-char-count", "@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:src/platform/packages/shared/kbn-cases-components", "@kbn/cases-plugin": "link:x-pack/platform/plugins/shared/cases", "@kbn/cbor": "link:src/platform/packages/shared/kbn-cbor", "@kbn/cell-actions": "link:src/platform/packages/shared/kbn-cell-actions", - "@kbn/chart-expressions-common": "link:src/plugins/chart_expressions/common", - "@kbn/chart-icons": "link:packages/kbn-chart-icons", - "@kbn/charts-plugin": "link:src/plugins/charts", + "@kbn/chart-expressions-common": "link:src/platform/packages/shared/chart-expressions-common", + "@kbn/chart-icons": "link:src/platform/packages/shared/kbn-chart-icons", + "@kbn/charts-plugin": "link:src/platform/plugins/shared/charts", "@kbn/charts-theme": "link:packages/kbn-charts-theme", "@kbn/cloud": "link:src/platform/packages/shared/cloud", "@kbn/cloud-chat-plugin": "link:x-pack/platform/plugins/private/cloud_integrations/cloud_chat", @@ -223,7 +223,7 @@ "@kbn/cloud-security-posture-plugin": "link:x-pack/solutions/security/plugins/cloud_security_posture", "@kbn/code-editor": "link:packages/shared-ux/code_editor/impl", "@kbn/code-editor-mock": "link:packages/shared-ux/code_editor/mocks", - "@kbn/coloring": "link:packages/kbn-coloring", + "@kbn/coloring": "link:src/platform/packages/shared/kbn-coloring", "@kbn/config": "link:src/platform/packages/shared/kbn-config", "@kbn/config-mocks": "link:src/platform/packages/private/kbn-config-mocks", "@kbn/config-schema": "link:src/platform/packages/shared/kbn-config-schema", @@ -423,10 +423,10 @@ "@kbn/dashboard-enhanced-plugin": "link:x-pack/platform/plugins/shared/dashboard_enhanced", "@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-plugin": "link:src/platform/plugins/shared/data", "@kbn/data-quality-plugin": "link:x-pack/platform/plugins/shared/data_quality", "@kbn/data-search-plugin": "link:test/plugin_functional/plugins/data_search", - "@kbn/data-service": "link:packages/kbn-data-service", + "@kbn/data-service": "link:src/platform/packages/shared/kbn-data-service", "@kbn/data-stream-adapter": "link:x-pack/solutions/security/packages/data-stream-adapter", "@kbn/data-usage-plugin": "link:x-pack/platform/plugins/private/data_usage", "@kbn/data-view-editor-plugin": "link:src/platform/plugins/shared/data_view_editor", @@ -460,7 +460,7 @@ "@kbn/discover-shared-plugin": "link:src/platform/plugins/shared/discover_shared", "@kbn/discover-utils": "link:src/platform/packages/shared/kbn-discover-utils", "@kbn/doc-links": "link:src/platform/packages/shared/kbn-doc-links", - "@kbn/dom-drag-drop": "link:packages/kbn-dom-drag-drop", + "@kbn/dom-drag-drop": "link:src/platform/packages/shared/kbn-dom-drag-drop", "@kbn/ebt-tools": "link:src/platform/packages/shared/kbn-ebt-tools", "@kbn/ecs-data-quality-dashboard": "link:x-pack/solutions/security/packages/ecs_data_quality_dashboard", "@kbn/ecs-data-quality-dashboard-plugin": "link:x-pack/solutions/security/plugins/ecs_data_quality_dashboard", @@ -497,30 +497,30 @@ "@kbn/esql-validation-autocomplete": "link:src/platform/packages/shared/kbn-esql-validation-autocomplete", "@kbn/esql-validation-example-plugin": "link:examples/esql_validation_example", "@kbn/eui-provider-dev-warning": "link:test/plugin_functional/plugins/eui_provider_dev_warning", - "@kbn/event-annotation-common": "link:packages/kbn-event-annotation-common", - "@kbn/event-annotation-components": "link:packages/kbn-event-annotation-components", - "@kbn/event-annotation-listing-plugin": "link:src/plugins/event_annotation_listing", - "@kbn/event-annotation-plugin": "link:src/plugins/event_annotation", + "@kbn/event-annotation-common": "link:src/platform/packages/shared/kbn-event-annotation-common", + "@kbn/event-annotation-components": "link:src/platform/packages/shared/kbn-event-annotation-components", + "@kbn/event-annotation-listing-plugin": "link:src/platform/plugins/private/event_annotation_listing", + "@kbn/event-annotation-plugin": "link:src/platform/plugins/private/event_annotation", "@kbn/event-log-fixture-plugin": "link:x-pack/test/plugin_api_integration/plugins/event_log", "@kbn/event-log-plugin": "link:x-pack/platform/plugins/shared/event_log", "@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/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-gauge-plugin": "link:src/platform/plugins/shared/chart_expressions/expression_gauge", + "@kbn/expression-heatmap-plugin": "link:src/platform/plugins/shared/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-legacy-metric-vis-plugin": "link:src/platform/plugins/shared/chart_expressions/expression_legacy_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-metric-vis-plugin": "link:src/platform/plugins/shared/chart_expressions/expression_metric", + "@kbn/expression-partition-vis-plugin": "link:src/platform/plugins/shared/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/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/expression-tagcloud-plugin": "link:src/platform/plugins/shared/chart_expressions/expression_tagcloud", + "@kbn/expression-xy-plugin": "link:src/platform/plugins/shared/chart_expressions/expression_xy", "@kbn/expressions-explorer-plugin": "link:examples/expressions_explorer", - "@kbn/expressions-plugin": "link:src/plugins/expressions", + "@kbn/expressions-plugin": "link:src/platform/plugins/shared/expressions", "@kbn/feature-controls-examples-plugin": "link:examples/feature_control_examples", "@kbn/feature-flags-example-plugin": "link:examples/feature_flags_example", "@kbn/feature-usage-test-plugin": "link:x-pack/test/plugin_api_integration/plugins/feature_usage_test", @@ -549,7 +549,7 @@ "@kbn/global-search-plugin": "link:x-pack/platform/plugins/shared/global_search", "@kbn/global-search-providers-plugin": "link:x-pack/platform/plugins/private/global_search_providers", "@kbn/global-search-test-plugin": "link:x-pack/test/plugin_functional/plugins/global_search_test", - "@kbn/graph-plugin": "link:x-pack/plugins/graph", + "@kbn/graph-plugin": "link:x-pack/platform/plugins/private/graph", "@kbn/grid-example-plugin": "link:examples/grid_example", "@kbn/grid-layout": "link:packages/kbn-grid-layout", "@kbn/grokdebugger-plugin": "link:x-pack/platform/plugins/private/grokdebugger", @@ -588,7 +588,7 @@ "@kbn/integration-assistant-plugin": "link:x-pack/platform/plugins/shared/integration_assistant", "@kbn/interactive-setup-plugin": "link:src/platform/plugins/private/interactive_setup", "@kbn/interactive-setup-test-endpoints-plugin": "link:test/interactive_setup_api_integration/plugins/test_endpoints", - "@kbn/interpreter": "link:packages/kbn-interpreter", + "@kbn/interpreter": "link:src/platform/packages/shared/kbn-interpreter", "@kbn/inventory-plugin": "link:x-pack/solutions/observability/plugins/inventory", "@kbn/investigate-app-plugin": "link:x-pack/solutions/observability/plugins/investigate_app", "@kbn/investigate-plugin": "link:x-pack/solutions/observability/plugins/investigate", @@ -612,9 +612,9 @@ "@kbn/language-documentation": "link:src/platform/packages/private/kbn-language-documentation", "@kbn/lens-config-builder-example-plugin": "link:x-pack/examples/lens_config_builder_example", "@kbn/lens-embeddable-utils": "link:src/platform/packages/shared/kbn-lens-embeddable-utils", - "@kbn/lens-formula-docs": "link:packages/kbn-lens-formula-docs", + "@kbn/lens-formula-docs": "link:src/platform/packages/private/kbn-lens-formula-docs", "@kbn/lens-inline-editing-example-plugin": "link:x-pack/examples/lens_embeddable_inline_editing_example", - "@kbn/lens-plugin": "link:x-pack/plugins/lens", + "@kbn/lens-plugin": "link:x-pack/platform/plugins/shared/lens", "@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/platform/plugins/shared/licensing", @@ -629,7 +629,7 @@ "@kbn/logs-explorer-plugin": "link:x-pack/solutions/observability/plugins/logs_explorer", "@kbn/logs-shared-plugin": "link:x-pack/platform/plugins/shared/logs_shared", "@kbn/logstash-plugin": "link:x-pack/platform/plugins/private/logstash", - "@kbn/managed-content-badge": "link:packages/kbn-managed-content-badge", + "@kbn/managed-content-badge": "link:src/platform/packages/private/kbn-managed-content-badge", "@kbn/management-cards-navigation": "link:src/platform/packages/shared/kbn-management/cards_navigation", "@kbn/management-plugin": "link:src/platform/plugins/shared/management", "@kbn/management-settings-application": "link:src/platform/packages/private/kbn-management/settings/application", @@ -731,7 +731,7 @@ "@kbn/profiling-data-access-plugin": "link:x-pack/solutions/observability/plugins/profiling_data_access", "@kbn/profiling-plugin": "link:x-pack/solutions/observability/plugins/profiling", "@kbn/profiling-utils": "link:src/platform/packages/shared/kbn-profiling-utils", - "@kbn/random-sampling": "link:x-pack/packages/kbn-random-sampling", + "@kbn/random-sampling": "link:x-pack/platform/packages/private/kbn-random-sampling", "@kbn/react-field": "link:src/platform/packages/shared/kbn-react-field", "@kbn/react-hooks": "link:src/platform/packages/shared/kbn-react-hooks", "@kbn/react-kibana-context-common": "link:packages/react/kibana_context/common", @@ -931,7 +931,7 @@ "@kbn/slo-plugin": "link:x-pack/solutions/observability/plugins/slo", "@kbn/slo-schema": "link:x-pack/platform/packages/shared/kbn-slo-schema", "@kbn/snapshot-restore-plugin": "link:x-pack/platform/plugins/private/snapshot_restore", - "@kbn/sort-predicates": "link:packages/kbn-sort-predicates", + "@kbn/sort-predicates": "link:src/platform/packages/shared/kbn-sort-predicates", "@kbn/spaces-plugin": "link:x-pack/platform/plugins/shared/spaces", "@kbn/spaces-test-plugin": "link:x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin", "@kbn/sse-utils": "link:src/platform/packages/shared/kbn-sse-utils", @@ -963,12 +963,12 @@ "@kbn/third-party-vis-lens-example-plugin": "link:x-pack/examples/third_party_vis_lens_example", "@kbn/threat-intelligence-plugin": "link:x-pack/solutions/security/plugins/threat_intelligence", "@kbn/timelines-plugin": "link:x-pack/solutions/security/plugins/timelines", - "@kbn/timelion-grammar": "link:packages/kbn-timelion-grammar", + "@kbn/timelion-grammar": "link:src/platform/packages/private/kbn-timelion-grammar", "@kbn/timerange": "link:src/platform/packages/shared/kbn-timerange", - "@kbn/tinymath": "link:packages/kbn-tinymath", + "@kbn/tinymath": "link:src/platform/packages/private/kbn-tinymath", "@kbn/transform-plugin": "link:x-pack/platform/plugins/private/transform", "@kbn/translations-plugin": "link:x-pack/platform/plugins/private/translations", - "@kbn/transpose-utils": "link:packages/kbn-transpose-utils", + "@kbn/transpose-utils": "link:src/platform/packages/private/kbn-transpose-utils", "@kbn/triggers-actions-ui-example-plugin": "link:x-pack/examples/triggers_actions_ui_example", "@kbn/triggers-actions-ui-plugin": "link:x-pack/platform/plugins/shared/triggers_actions_ui", "@kbn/triggers-actions-ui-types": "link:src/platform/packages/shared/kbn-triggers-actions-ui-types", @@ -991,13 +991,13 @@ "@kbn/unified-field-list": "link:src/platform/packages/shared/kbn-unified-field-list", "@kbn/unified-field-list-examples-plugin": "link:examples/unified_field_list_examples", "@kbn/unified-histogram-plugin": "link:src/platform/plugins/shared/unified_histogram", - "@kbn/unified-search-plugin": "link:src/plugins/unified_search", + "@kbn/unified-search-plugin": "link:src/platform/plugins/shared/unified_search", "@kbn/unsaved-changes-badge": "link:src/platform/packages/private/kbn-unsaved-changes-badge", "@kbn/unsaved-changes-prompt": "link:src/platform/packages/shared/kbn-unsaved-changes-prompt", "@kbn/upgrade-assistant-plugin": "link:x-pack/platform/plugins/private/upgrade_assistant", "@kbn/uptime-plugin": "link:x-pack/solutions/observability/plugins/uptime", "@kbn/url-drilldown-plugin": "link:x-pack/plugins/drilldowns/url_drilldown", - "@kbn/url-forwarding-plugin": "link:src/plugins/url_forwarding", + "@kbn/url-forwarding-plugin": "link:src/platform/plugins/private/url_forwarding", "@kbn/usage-collection-plugin": "link:src/platform/plugins/shared/usage_collection", "@kbn/usage-collection-test-plugin": "link:test/plugin_functional/plugins/usage_collection", "@kbn/use-tracked-promise": "link:packages/kbn-use-tracked-promise", @@ -1009,22 +1009,22 @@ "@kbn/utils": "link:src/platform/packages/shared/kbn-utils", "@kbn/ux-plugin": "link:x-pack/solutions/observability/plugins/ux", "@kbn/v8-profiler-examples-plugin": "link:examples/v8_profiler_examples", - "@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-default-editor-plugin": "link:src/platform/plugins/private/vis_default_editor", + "@kbn/vis-type-gauge-plugin": "link:src/platform/plugins/private/vis_types/gauge", + "@kbn/vis-type-heatmap-plugin": "link:src/platform/plugins/private/vis_types/heatmap", "@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", - "@kbn/vis-type-tagcloud-plugin": "link:src/plugins/vis_types/tagcloud", - "@kbn/vis-type-timelion-plugin": "link:src/plugins/vis_types/timelion", - "@kbn/vis-type-timeseries-plugin": "link:src/plugins/vis_types/timeseries", - "@kbn/vis-type-vega-plugin": "link:src/plugins/vis_types/vega", - "@kbn/vis-type-vislib-plugin": "link:src/plugins/vis_types/vislib", - "@kbn/vis-type-xy-plugin": "link:src/plugins/vis_types/xy", - "@kbn/visualization-ui-components": "link:packages/kbn-visualization-ui-components", - "@kbn/visualization-utils": "link:packages/kbn-visualization-utils", - "@kbn/visualizations-plugin": "link:src/plugins/visualizations", + "@kbn/vis-type-metric-plugin": "link:src/platform/plugins/private/vis_types/metric", + "@kbn/vis-type-pie-plugin": "link:src/platform/plugins/private/vis_types/pie", + "@kbn/vis-type-table-plugin": "link:src/platform/plugins/private/vis_types/table", + "@kbn/vis-type-tagcloud-plugin": "link:src/platform/plugins/private/vis_types/tagcloud", + "@kbn/vis-type-timelion-plugin": "link:src/platform/plugins/private/vis_types/timelion", + "@kbn/vis-type-timeseries-plugin": "link:src/platform/plugins/shared/vis_types/timeseries", + "@kbn/vis-type-vega-plugin": "link:src/platform/plugins/private/vis_types/vega", + "@kbn/vis-type-vislib-plugin": "link:src/platform/plugins/private/vis_types/vislib", + "@kbn/vis-type-xy-plugin": "link:src/platform/plugins/private/vis_types/xy", + "@kbn/visualization-ui-components": "link:src/platform/packages/shared/kbn-visualization-ui-components", + "@kbn/visualization-utils": "link:src/platform/packages/shared/kbn-visualization-utils", + "@kbn/visualizations-plugin": "link:src/platform/plugins/shared/visualizations", "@kbn/watcher-plugin": "link:x-pack/platform/plugins/private/watcher", "@kbn/xstate-utils": "link:src/platform/packages/shared/kbn-xstate-utils", "@kbn/zod": "link:src/platform/packages/shared/kbn-zod", diff --git a/packages/kbn-docs-utils/src/build_api_declarations/extract_import_refs.test.ts b/packages/kbn-docs-utils/src/build_api_declarations/extract_import_refs.test.ts index 899ef40c3a648..e218d44353ec8 100644 --- a/packages/kbn-docs-utils/src/build_api_declarations/extract_import_refs.test.ts +++ b/packages/kbn-docs-utils/src/build_api_declarations/extract_import_refs.test.ts @@ -109,14 +109,14 @@ it('test extractImportReference with unknown imports', () => { it('test full file imports with no matching plugin', () => { const refs = extractImportReferences( - `typeof import("${REPO_ROOT}/src/plugins/data/common/es_query/kuery/node_types/function")`, + `typeof import("${REPO_ROOT}/src/platform/plugins/shared/data/common/es_query/kuery/node_types/function")`, plugins, log ); expect(refs).toMatchInlineSnapshot(` Array [ "typeof ", - "src/plugins/data/common/es_query/kuery/node_types/function", + "src/platform/plugins/shared/data/common/es_query/kuery/node_types/function", ] `); expect(refs.length).toBe(2); diff --git a/packages/kbn-docs-utils/src/utils.ts b/packages/kbn-docs-utils/src/utils.ts index ce9931a3d9ebd..03df0c0938e32 100644 --- a/packages/kbn-docs-utils/src/utils.ts +++ b/packages/kbn-docs-utils/src/utils.ts @@ -74,7 +74,7 @@ function escapeRegExp(regexp: string) { /** * If the file is at the top level, returns undefined, otherwise returns the * name of the first nested folder in the plugin. For example a path of - * 'src/plugins/data/public/search_services/file.ts' would return 'search_service' while + * 'src/platform/plugins/shared/data/public/search_services/file.ts' would return 'search_service' while * 'src/plugin/data/server/file.ts' would return undefined. * @param filePath */ diff --git a/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts b/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts index 31ec2d1f2737a..0350259f36be9 100644 --- a/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts +++ b/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts @@ -25,7 +25,7 @@ const testMap = [ 'x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/alerts/toggle_alert_flyout_button.tsx', 'xpack.synthetics', ], - ['src/plugins/vis_types/gauge/public/editor/collections.ts', 'visTypeGauge'], + ['src/platform/plugins/private/vis_types/gauge/public/editor/collections.ts', 'visTypeGauge'], [ 'src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', 'alertsUIShared', diff --git a/packages/kbn-lens-formula-docs/jest.config.js b/packages/kbn-lens-formula-docs/jest.config.js deleted file mode 100644 index a9b03d894d97f..0000000000000 --- a/packages/kbn-lens-formula-docs/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-lens-formula-docs'], -}; diff --git a/packages/kbn-repo-source-classifier/src/repo_source_classifier.ts b/packages/kbn-repo-source-classifier/src/repo_source_classifier.ts index c0ab29f659ebd..bfa8375919889 100644 --- a/packages/kbn-repo-source-classifier/src/repo_source_classifier.ts +++ b/packages/kbn-repo-source-classifier/src/repo_source_classifier.ts @@ -82,7 +82,7 @@ export class RepoSourceClassifier { const segs = path.getSegs(); if ( segs.includes('scripts') && - !path.getRepoRel().startsWith('src/plugins/data/server/scripts/') + !path.getRepoRel().startsWith('src/platform/plugins/shared/data/server/scripts/') ) { return true; } diff --git a/packages/kbn-sort-predicates/jest.config.js b/packages/kbn-sort-predicates/jest.config.js deleted file mode 100644 index b72eb54675ae8..0000000000000 --- a/packages/kbn-sort-predicates/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-sort-predicates'], -}; diff --git a/packages/kbn-tinymath/jest.config.js b/packages/kbn-tinymath/jest.config.js deleted file mode 100644 index d7e2db62cb954..0000000000000 --- a/packages/kbn-tinymath/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-tinymath'], -}; diff --git a/packages/kbn-transpose-utils/jest.config.js b/packages/kbn-transpose-utils/jest.config.js deleted file mode 100644 index 1109bd9db4edb..0000000000000 --- a/packages/kbn-transpose-utils/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-transpose-utils'], -}; diff --git a/packages/kbn-visualization-utils/jest.config.js b/packages/kbn-visualization-utils/jest.config.js deleted file mode 100644 index bcf289903636d..0000000000000 --- a/packages/kbn-visualization-utils/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-visualization-utils'], -}; diff --git a/src/dev/build/tasks/package_json/find_used_dependencies.ts b/src/dev/build/tasks/package_json/find_used_dependencies.ts index 87540ecedf9cf..31a27ce33616c 100644 --- a/src/dev/build/tasks/package_json/find_used_dependencies.ts +++ b/src/dev/build/tasks/package_json/find_used_dependencies.ts @@ -56,7 +56,7 @@ export async function findUsedDependencies( // core entry 'src/core/server/index.js', // entries that are loaded into the server with dynamic require() calls - 'src/plugins/vis_types/timelion/server/**/*.js', + 'src/platform/plugins/private/vis_types/timelion/server/**/*.js', ], { cwd: repoRoot, diff --git a/src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js b/src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js index 540b51a294983..021c168ee3d0d 100644 --- a/src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js +++ b/src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js @@ -26,13 +26,13 @@ describe(`enumeratePatterns`, () => { 'x-pack/platform/plugins/shared/screenshotting/server/browsers/extract/unzip.ts kibana-screenshotting' ); }); - it(`should resolve src/plugins/charts/common/static/color_maps/color_maps.ts to kibana-app`, () => { + it(`should resolve src/platform/plugins/shared/charts/common/static/color_maps/color_maps.ts to kibana-app`, () => { const actual = enumeratePatterns(REPO_ROOT)(log)( - new Map([['src/plugins/charts/common/static/color_maps', ['kibana-app']]]) + new Map([['src/platform/plugins/shared/charts/common/static/color_maps', ['kibana-app']]]) ); expect(actual.flat()).toContain( - 'src/plugins/charts/common/static/color_maps/color_maps.ts kibana-app' + 'src/platform/plugins/shared/charts/common/static/color_maps/color_maps.ts kibana-app' ); }); }); 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 21bfdc054d654..986f1cc0b2bf5 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 @@ -47,98 +47,98 @@ x-pack/platform/plugins/private/discover_enhanced/public/plugin.ts kibana-app x-pack/platform/plugins/private/discover_enhanced/server/config.ts kibana-app x-pack/platform/plugins/private/discover_enhanced/server/index.ts kibana-app x-pack/platform/plugins/private/discover_enhanced/server/plugin.ts kibana-app -x-pack/plugins/lens/common/api.ts kibana-app -x-pack/plugins/lens/common/constants.ts kibana-app -x-pack/plugins/lens/common/index.ts kibana-app -x-pack/plugins/lens/common/types.ts kibana-app -x-pack/plugins/lens/config.ts kibana-app -x-pack/plugins/lens/public/app_plugin/app.test.tsx kibana-app -x-pack/plugins/lens/public/app_plugin/app.tsx kibana-app -x-pack/plugins/lens/public/app_plugin/index.ts kibana-app -x-pack/plugins/lens/public/app_plugin/mounter.tsx kibana-app -x-pack/plugins/lens/public/datatable_visualization/expression.test.tsx kibana-app -x-pack/plugins/lens/public/datatable_visualization/expression.tsx kibana-app -x-pack/plugins/lens/public/datatable_visualization/index.ts kibana-app -x-pack/plugins/lens/public/datatable_visualization/visualization.test.tsx kibana-app -x-pack/plugins/lens/public/datatable_visualization/visualization.tsx kibana-app -x-pack/plugins/lens/public/drag_drop/drag_drop.test.tsx kibana-app -x-pack/plugins/lens/public/drag_drop/drag_drop.tsx kibana-app -x-pack/plugins/lens/public/drag_drop/index.ts kibana-app -x-pack/plugins/lens/public/drag_drop/providers.test.tsx kibana-app -x-pack/plugins/lens/public/drag_drop/providers.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/__mocks__/expression_helpers.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/__mocks__/suggestion_helpers.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/dimension_popover.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/index.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions.test.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.test.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_settings.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/types.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/editor_frame.test.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/editor_frame.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/expression_helpers.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/frame_layout.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/index.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/save.test.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/save.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/state_helpers.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/state_management.test.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/state_management.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_helpers.test.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_helpers.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.test.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.test.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/index.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.test.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.test.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/embeddable/embeddable.test.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/embeddable/embeddable.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/embeddable/embeddable_factory.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/embeddable/expression_wrapper.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/format_column.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/index.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/merge_tables.test.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/merge_tables.ts kibana-app -x-pack/plugins/lens/public/editor_frame_service/mocks.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/service.test.tsx kibana-app -x-pack/plugins/lens/public/editor_frame_service/service.tsx kibana-app -x-pack/plugins/lens/public/help_menu_util.tsx kibana-app -x-pack/plugins/lens/public/id_generator/id_generator.test.ts kibana-app -x-pack/plugins/lens/public/id_generator/id_generator.ts kibana-app -x-pack/plugins/lens/public/id_generator/index.ts kibana-app -x-pack/plugins/lens/public/index.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/__mocks__/loader.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/__mocks__/state_helpers.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/change_indexpattern.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/datapanel.test.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/bucket_nesting_editor.test.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/bucket_nesting_editor.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/dimension_panel.test.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/dimension_panel.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/field_select.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/format_selector.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/index.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/popover_editor.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/document_field.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/field_item.test.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/fields_accordion.test.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/fields_accordion.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/index.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/indexpattern.test.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/indexpattern.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/indexpattern_suggestions.test.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/indexpattern_suggestions.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/layerpanel.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/common/api.ts kibana-app +x-pack/platform/plugins/shared/lens/common/constants.ts kibana-app +x-pack/platform/plugins/shared/lens/common/index.ts kibana-app +x-pack/platform/plugins/shared/lens/common/types.ts kibana-app +x-pack/platform/plugins/shared/lens/config.ts kibana-app +x-pack/platform/plugins/shared/lens/public/app_plugin/app.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/app_plugin/app.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/app_plugin/index.ts kibana-app +x-pack/platform/plugins/shared/lens/public/app_plugin/mounter.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/datatable_visualization/expression.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/datatable_visualization/expression.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/datatable_visualization/index.ts kibana-app +x-pack/platform/plugins/shared/lens/public/datatable_visualization/visualization.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/datatable_visualization/visualization.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/drag_drop/drag_drop.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/drag_drop/drag_drop.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/drag_drop/index.ts kibana-app +x-pack/platform/plugins/shared/lens/public/drag_drop/providers.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/drag_drop/providers.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/__mocks__/expression_helpers.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/__mocks__/suggestion_helpers.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/dimension_popover.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/index.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions.test.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_settings.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/types.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/editor_frame.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/editor_frame.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/expression_helpers.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/frame_layout.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/index.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/save.test.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/save.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/state_helpers.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/state_management.test.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/state_management.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/suggestion_helpers.test.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/suggestion_helpers.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/suggestion_panel.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/index.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/embeddable/embeddable.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/embeddable/embeddable.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/embeddable/embeddable_factory.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/embeddable/expression_wrapper.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/format_column.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/index.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/merge_tables.test.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/merge_tables.ts kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/mocks.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/service.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/editor_frame_service/service.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/help_menu_util.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/id_generator/id_generator.test.ts kibana-app +x-pack/platform/plugins/shared/lens/public/id_generator/id_generator.ts kibana-app +x-pack/platform/plugins/shared/lens/public/id_generator/index.ts kibana-app +x-pack/platform/plugins/shared/lens/public/index.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/__mocks__/loader.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/__mocks__/state_helpers.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/change_indexpattern.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/datapanel.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/datapanel.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/dimension_panel/bucket_nesting_editor.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/dimension_panel/bucket_nesting_editor.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/dimension_panel/dimension_panel.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/dimension_panel/dimension_panel.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/dimension_panel/field_select.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/dimension_panel/format_selector.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/dimension_panel/index.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/dimension_panel/popover_editor.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/document_field.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/field_item.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/field_item.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/fields_accordion.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/fields_accordion.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/index.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/indexpattern.test.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/indexpattern.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/indexpattern_suggestions.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/indexpattern_suggestions.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/layerpanel.test.tsx kibana-app x-pack/platform/plugins/private/reporting/server/browsers/download/clean.ts kibana-reporting x-pack/platform/plugins/private/reporting/server/browsers/download/download.test.ts kibana-reporting x-pack/platform/plugins/private/reporting/server/browsers/download/download.ts kibana-reporting @@ -158,34 +158,34 @@ x-pack/platform/plugins/private/reporting/server/config/config.ts kibana-reporti x-pack/platform/plugins/private/reporting/server/config/create_config.test.ts kibana-reporting x-pack/platform/plugins/private/reporting/server/config/create_config.ts kibana-reporting x-pack/platform/plugins/private/reporting/server/config/default_chromium_sandbox_disabled.test.ts kibana-reporting -x-pack/plugins/lens/public/indexpattern_datasource/layerpanel.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/lens_field_icon.test.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/lens_field_icon.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/loader.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/mocks.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/no_fields_callout.test.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/no_fields_callout.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/operations/__mocks__/index.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/cardinality.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/column_types.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/count.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/date_histogram.test.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/date_histogram.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/index.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/metrics.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms.test.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms.tsx kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/operations/index.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/operations/operations.test.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/operations/operations.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/pure_helpers.test.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/pure_helpers.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/rename_columns.test.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/rename_columns.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/state_helpers.test.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/state_helpers.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/to_expression.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/types.ts kibana-app -x-pack/plugins/lens/public/indexpattern_datasource/utils.ts kibana-app -x-pack/plugins/lens/public/lens_ui_telemetry/factory.test.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/layerpanel.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/lens_field_icon.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/lens_field_icon.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/loader.test.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/loader.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/mocks.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/no_fields_callout.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/no_fields_callout.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/operations/__mocks__/index.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/operations/definitions/cardinality.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/operations/definitions/column_types.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/operations/definitions/count.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/operations/definitions/date_histogram.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/operations/definitions/date_histogram.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/operations/definitions/index.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/operations/definitions/metrics.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/operations/definitions/terms.test.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/operations/definitions/terms.tsx kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/operations/index.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/operations/operations.test.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/operations/operations.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/pure_helpers.test.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/pure_helpers.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/rename_columns.test.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/rename_columns.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/state_helpers.test.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/state_helpers.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/to_expression.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/types.ts kibana-app +x-pack/platform/plugins/shared/lens/public/indexpattern_datasource/utils.ts kibana-app +x-pack/platform/plugins/shared/lens/public/lens_ui_telemetry/factory.test.ts kibana-app diff --git a/src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js b/src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js index 4838717b1c5b1..953504f4e36bc 100644 --- a/src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js +++ b/src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js @@ -100,7 +100,7 @@ describe(`Transform fns`, () => { }); }); - describe(`with a coveredFilePath of src/plugins/charts/common/static/color_maps/color_maps.ts`, () => { + describe(`with a coveredFilePath of src/platform/plugins/shared/charts/common/static/color_maps/color_maps.ts`, () => { const expected = 'kibana-reporting'; it(`should resolve to ${expected}`, async () => { const actual = await teamAssignment(teamAssignmentsPathMOCK)(log)(obj); @@ -112,25 +112,25 @@ describe(`Transform fns`, () => { describe(`last fn`, () => { describe(`applied to n results`, () => { it(`should pick the last one`, () => { - const nteams = `src/plugins/charts/common/static/color_maps/color_maps.ts kibana-app -src/plugins/charts/common/static/color_maps/color_maps.ts kibana-app-arch`; + const nteams = `src/platform/plugins/shared/charts/common/static/color_maps/color_maps.ts kibana-app +src/platform/plugins/shared/charts/common/static/color_maps/color_maps.ts kibana-app-arch`; const actual = last(nteams); expect(actual).toBe( - 'src/plugins/charts/common/static/color_maps/color_maps.ts kibana-app-arch' + 'src/platform/plugins/shared/charts/common/static/color_maps/color_maps.ts kibana-app-arch' ); }); }); describe(`applied to 1 result`, () => { it(`should pick that 1 result`, () => { const nteams = - 'src/plugins/charts/common/static/color_maps/color_maps.ts kibana-app-arch'; + 'src/platform/plugins/shared/charts/common/static/color_maps/color_maps.ts kibana-app-arch'; const actual = last(nteams); expect(actual).toBe( - 'src/plugins/charts/common/static/color_maps/color_maps.ts kibana-app-arch' + 'src/platform/plugins/shared/charts/common/static/color_maps/color_maps.ts kibana-app-arch' ); }); }); diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index dc307935437f6..7fffaf223266c 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -20,29 +20,32 @@ export const storybookAliases = { cloud_security_posture_graph: 'x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/.storybook', cloud: 'src/platform/packages/shared/cloud/.storybook', - coloring: 'packages/kbn-coloring/.storybook', + coloring: 'src/platform/packages/shared/kbn-coloring/.storybook', language_documentation_popover: 'src/platform/packages/private/kbn-language-documentation/.storybook', - chart_icons: 'packages/kbn-chart-icons/.storybook', + chart_icons: 'src/platform/packages/shared/kbn-chart-icons/.storybook', content_management_examples: 'examples/content_management_examples/.storybook', custom_icons: 'src/platform/packages/shared/kbn-custom-icons/.storybook', custom_integrations: 'src/platform/plugins/shared/custom_integrations/storybook', dashboard_enhanced: 'x-pack/platform/plugins/shared/dashboard_enhanced/.storybook', dashboard: 'src/platform/plugins/shared/dashboard/.storybook', - data: 'src/plugins/data/.storybook', + data: 'src/platform/plugins/shared/data/.storybook', discover: 'src/platform/plugins/shared/discover/.storybook', 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/expandable-flyout/.storybook', 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_vis: + 'src/platform/plugins/shared/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_partition_vis: + 'src/platform/plugins/shared/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/platform/plugins/shared/expression_shape/.storybook', - expression_tagcloud: 'src/plugins/chart_expressions/expression_tagcloud/.storybook', + expression_tagcloud: + 'src/platform/plugins/shared/chart_expressions/expression_tagcloud/.storybook', fleet: 'x-pack/platform/plugins/shared/fleet/.storybook', grouping: 'src/platform/packages/shared/kbn-grouping/.storybook', home: 'src/platform/plugins/shared/home/.storybook', @@ -62,7 +65,7 @@ export const storybookAliases = { observability_shared: 'x-pack/solutions/observability/plugins/observability_shared/.storybook', observability_slo: 'x-pack/solutions/observability/plugins/slo/.storybook', presentation: 'src/platform/plugins/shared/presentation_util/storybook', - random_sampling: 'x-pack/packages/kbn-random-sampling/.storybook', + random_sampling: 'x-pack/platform/packages/private/kbn-random-sampling/.storybook', esql_editor: 'src/platform/packages/private/kbn-esql-editor/.storybook', security_solution: 'x-pack/solutions/security/plugins/security_solution/.storybook', security_solution_packages: 'x-pack/solutions/security/packages/storybook/config', @@ -71,6 +74,6 @@ export const storybookAliases = { threat_intelligence: 'x-pack/solutions/security/plugins/threat_intelligence/.storybook', triggers_actions_ui: 'x-pack/platform/plugins/shared/triggers_actions_ui/.storybook', ui_actions_enhanced: 'src/platform/plugins/shared/ui_actions_enhanced/.storybook', - unified_search: 'src/plugins/unified_search/.storybook', + unified_search: 'src/platform/plugins/shared/unified_search/.storybook', profiling: 'x-pack/solutions/observability/plugins/profiling/.storybook', }; diff --git a/packages/kbn-lens-formula-docs/README.md b/src/platform/packages/private/kbn-lens-formula-docs/README.md similarity index 100% rename from packages/kbn-lens-formula-docs/README.md rename to src/platform/packages/private/kbn-lens-formula-docs/README.md diff --git a/packages/kbn-lens-formula-docs/index.ts b/src/platform/packages/private/kbn-lens-formula-docs/index.ts similarity index 100% rename from packages/kbn-lens-formula-docs/index.ts rename to src/platform/packages/private/kbn-lens-formula-docs/index.ts diff --git a/src/platform/packages/private/kbn-lens-formula-docs/jest.config.js b/src/platform/packages/private/kbn-lens-formula-docs/jest.config.js new file mode 100644 index 0000000000000..80cdb999f055a --- /dev/null +++ b/src/platform/packages/private/kbn-lens-formula-docs/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/private/kbn-lens-formula-docs'], +}; diff --git a/packages/kbn-lens-formula-docs/kibana.jsonc b/src/platform/packages/private/kbn-lens-formula-docs/kibana.jsonc similarity index 100% rename from packages/kbn-lens-formula-docs/kibana.jsonc rename to src/platform/packages/private/kbn-lens-formula-docs/kibana.jsonc diff --git a/packages/kbn-lens-formula-docs/package.json b/src/platform/packages/private/kbn-lens-formula-docs/package.json similarity index 100% rename from packages/kbn-lens-formula-docs/package.json rename to src/platform/packages/private/kbn-lens-formula-docs/package.json diff --git a/packages/kbn-lens-formula-docs/src/math/index.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/math/index.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/math/index.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/math/index.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/average.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/average.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/average.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/average.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/cardinality.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/cardinality.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/cardinality.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/cardinality.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/count.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/count.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/count.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/count.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/counter_rate.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/counter_rate.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/counter_rate.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/counter_rate.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/cumulative_sum.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/cumulative_sum.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/cumulative_sum.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/cumulative_sum.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/differences.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/differences.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/differences.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/differences.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/helpers.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/helpers.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/helpers.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/helpers.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/interval.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/interval.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/interval.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/interval.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/last_value.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/last_value.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/last_value.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/last_value.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/max.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/max.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/max.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/max.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/median.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/median.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/median.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/median.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/min.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/min.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/min.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/min.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/moving_average.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/moving_average.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/moving_average.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/moving_average.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/normalize_by_unit.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/normalize_by_unit.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/normalize_by_unit.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/normalize_by_unit.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/now.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/now.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/now.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/now.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/overall_average.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/overall_average.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/overall_average.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/overall_average.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/overall_max.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/overall_max.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/overall_max.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/overall_max.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/overall_min.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/overall_min.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/overall_min.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/overall_min.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/overall_sum.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/overall_sum.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/overall_sum.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/overall_sum.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/percentile.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/percentile.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/percentile.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/percentile.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/percentile_ranks.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/percentile_ranks.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/percentile_ranks.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/percentile_ranks.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/std_deviation.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/std_deviation.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/std_deviation.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/std_deviation.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/sum.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/sum.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/sum.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/sum.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/time_range.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/time_range.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/time_range.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/time_range.ts diff --git a/packages/kbn-lens-formula-docs/src/operations/types.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/operations/types.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/operations/types.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/operations/types.ts diff --git a/packages/kbn-lens-formula-docs/src/sections/calculations.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/sections/calculations.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/sections/calculations.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/sections/calculations.ts diff --git a/packages/kbn-lens-formula-docs/src/sections/common.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/sections/common.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/sections/common.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/sections/common.ts diff --git a/packages/kbn-lens-formula-docs/src/sections/comparison.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/sections/comparison.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/sections/comparison.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/sections/comparison.ts diff --git a/packages/kbn-lens-formula-docs/src/sections/context.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/sections/context.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/sections/context.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/sections/context.ts diff --git a/packages/kbn-lens-formula-docs/src/sections/elasticsearch.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/sections/elasticsearch.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/sections/elasticsearch.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/sections/elasticsearch.ts diff --git a/packages/kbn-lens-formula-docs/src/sections/how_to.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/sections/how_to.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/sections/how_to.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/sections/how_to.ts diff --git a/packages/kbn-lens-formula-docs/src/sections/index.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/sections/index.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/sections/index.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/sections/index.ts diff --git a/packages/kbn-lens-formula-docs/src/sections/math.ts b/src/platform/packages/private/kbn-lens-formula-docs/src/sections/math.ts similarity index 100% rename from packages/kbn-lens-formula-docs/src/sections/math.ts rename to src/platform/packages/private/kbn-lens-formula-docs/src/sections/math.ts diff --git a/packages/kbn-lens-formula-docs/tsconfig.json b/src/platform/packages/private/kbn-lens-formula-docs/tsconfig.json similarity index 79% rename from packages/kbn-lens-formula-docs/tsconfig.json rename to src/platform/packages/private/kbn-lens-formula-docs/tsconfig.json index d28d082af4d18..b1802b20f130d 100644 --- a/packages/kbn-lens-formula-docs/tsconfig.json +++ b/src/platform/packages/private/kbn-lens-formula-docs/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node"] diff --git a/packages/kbn-managed-content-badge/README.md b/src/platform/packages/private/kbn-managed-content-badge/README.md similarity index 100% rename from packages/kbn-managed-content-badge/README.md rename to src/platform/packages/private/kbn-managed-content-badge/README.md diff --git a/packages/kbn-managed-content-badge/index.ts b/src/platform/packages/private/kbn-managed-content-badge/index.ts similarity index 100% rename from packages/kbn-managed-content-badge/index.ts rename to src/platform/packages/private/kbn-managed-content-badge/index.ts diff --git a/packages/kbn-chart-icons/jest.config.js b/src/platform/packages/private/kbn-managed-content-badge/jest.config.js similarity index 82% rename from packages/kbn-chart-icons/jest.config.js rename to src/platform/packages/private/kbn-managed-content-badge/jest.config.js index 1ddf262c2a7d5..b9bb6ea9621ea 100644 --- a/packages/kbn-chart-icons/jest.config.js +++ b/src/platform/packages/private/kbn-managed-content-badge/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-chart-icons'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/private/kbn-managed-content-badge'], }; diff --git a/packages/kbn-managed-content-badge/kibana.jsonc b/src/platform/packages/private/kbn-managed-content-badge/kibana.jsonc similarity index 100% rename from packages/kbn-managed-content-badge/kibana.jsonc rename to src/platform/packages/private/kbn-managed-content-badge/kibana.jsonc diff --git a/packages/kbn-managed-content-badge/package.json b/src/platform/packages/private/kbn-managed-content-badge/package.json similarity index 100% rename from packages/kbn-managed-content-badge/package.json rename to src/platform/packages/private/kbn-managed-content-badge/package.json diff --git a/packages/kbn-managed-content-badge/tsconfig.json b/src/platform/packages/private/kbn-managed-content-badge/tsconfig.json similarity index 83% rename from packages/kbn-managed-content-badge/tsconfig.json rename to src/platform/packages/private/kbn-managed-content-badge/tsconfig.json index 249cf05d36c96..6e21a10375824 100644 --- a/packages/kbn-managed-content-badge/tsconfig.json +++ b/src/platform/packages/private/kbn-managed-content-badge/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-timelion-grammar/chain.peggy b/src/platform/packages/private/kbn-timelion-grammar/chain.peggy similarity index 100% rename from packages/kbn-timelion-grammar/chain.peggy rename to src/platform/packages/private/kbn-timelion-grammar/chain.peggy diff --git a/packages/kbn-timelion-grammar/index.js b/src/platform/packages/private/kbn-timelion-grammar/index.js similarity index 100% rename from packages/kbn-timelion-grammar/index.js rename to src/platform/packages/private/kbn-timelion-grammar/index.js diff --git a/packages/kbn-timelion-grammar/kibana.jsonc b/src/platform/packages/private/kbn-timelion-grammar/kibana.jsonc similarity index 100% rename from packages/kbn-timelion-grammar/kibana.jsonc rename to src/platform/packages/private/kbn-timelion-grammar/kibana.jsonc diff --git a/packages/kbn-timelion-grammar/package.json b/src/platform/packages/private/kbn-timelion-grammar/package.json similarity index 100% rename from packages/kbn-timelion-grammar/package.json rename to src/platform/packages/private/kbn-timelion-grammar/package.json diff --git a/packages/kbn-timelion-grammar/tsconfig.json b/src/platform/packages/private/kbn-timelion-grammar/tsconfig.json similarity index 72% rename from packages/kbn-timelion-grammar/tsconfig.json rename to src/platform/packages/private/kbn-timelion-grammar/tsconfig.json index 939903f56b523..297c6857d0a3a 100644 --- a/packages/kbn-timelion-grammar/tsconfig.json +++ b/src/platform/packages/private/kbn-timelion-grammar/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/packages/kbn-tinymath/README.md b/src/platform/packages/private/kbn-tinymath/README.md similarity index 92% rename from packages/kbn-tinymath/README.md rename to src/platform/packages/private/kbn-tinymath/README.md index 3db95cef9adb0..79c5afe3a2ab2 100644 --- a/packages/kbn-tinymath/README.md +++ b/src/platform/packages/private/kbn-tinymath/README.md @@ -65,11 +65,11 @@ parse('1 + random()') ### Building kbn-tinymath This package is rebuilt when running `yarn kbn bootstrap`, but can also be build directly -using `yarn build` from the `packages/kbn-tinymath` directory. +using `yarn build` from the `src/platform/packages/private/kbn-tinymath` directory. ### Running tests -To test `@kbn/tinymath` from Kibana, run `node scripts/jest --config packages/kbn-tinymath/jest.config.js` from +To test `@kbn/tinymath` from Kibana, run `node scripts/jest --config src/platform/packages/private/kbn-tinymath/jest.config.js` from the top level of Kibana. To test grammar changes it is required to run a build task before the test suite. diff --git a/packages/kbn-tinymath/docs/functions.md b/src/platform/packages/private/kbn-tinymath/docs/functions.md similarity index 100% rename from packages/kbn-tinymath/docs/functions.md rename to src/platform/packages/private/kbn-tinymath/docs/functions.md diff --git a/packages/kbn-tinymath/docs/template/functions.hbs b/src/platform/packages/private/kbn-tinymath/docs/template/functions.hbs similarity index 100% rename from packages/kbn-tinymath/docs/template/functions.hbs rename to src/platform/packages/private/kbn-tinymath/docs/template/functions.hbs diff --git a/packages/kbn-tinymath/index.d.ts b/src/platform/packages/private/kbn-tinymath/index.d.ts similarity index 100% rename from packages/kbn-tinymath/index.d.ts rename to src/platform/packages/private/kbn-tinymath/index.d.ts diff --git a/packages/kbn-coloring/jest.config.js b/src/platform/packages/private/kbn-tinymath/jest.config.js similarity index 84% rename from packages/kbn-coloring/jest.config.js rename to src/platform/packages/private/kbn-tinymath/jest.config.js index e425aa35ebc82..14ea6adfc47f0 100644 --- a/packages/kbn-coloring/jest.config.js +++ b/src/platform/packages/private/kbn-tinymath/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-coloring'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/private/kbn-tinymath'], }; diff --git a/packages/kbn-tinymath/kibana.jsonc b/src/platform/packages/private/kbn-tinymath/kibana.jsonc similarity index 100% rename from packages/kbn-tinymath/kibana.jsonc rename to src/platform/packages/private/kbn-tinymath/kibana.jsonc diff --git a/packages/kbn-tinymath/package.json b/src/platform/packages/private/kbn-tinymath/package.json similarity index 100% rename from packages/kbn-tinymath/package.json rename to src/platform/packages/private/kbn-tinymath/package.json diff --git a/packages/kbn-tinymath/src/functions/abs.js b/src/platform/packages/private/kbn-tinymath/src/functions/abs.js similarity index 100% rename from packages/kbn-tinymath/src/functions/abs.js rename to src/platform/packages/private/kbn-tinymath/src/functions/abs.js diff --git a/packages/kbn-tinymath/src/functions/add.js b/src/platform/packages/private/kbn-tinymath/src/functions/add.js similarity index 100% rename from packages/kbn-tinymath/src/functions/add.js rename to src/platform/packages/private/kbn-tinymath/src/functions/add.js diff --git a/packages/kbn-tinymath/src/functions/cbrt.js b/src/platform/packages/private/kbn-tinymath/src/functions/cbrt.js similarity index 100% rename from packages/kbn-tinymath/src/functions/cbrt.js rename to src/platform/packages/private/kbn-tinymath/src/functions/cbrt.js diff --git a/packages/kbn-tinymath/src/functions/ceil.js b/src/platform/packages/private/kbn-tinymath/src/functions/ceil.js similarity index 100% rename from packages/kbn-tinymath/src/functions/ceil.js rename to src/platform/packages/private/kbn-tinymath/src/functions/ceil.js diff --git a/packages/kbn-tinymath/src/functions/clamp.js b/src/platform/packages/private/kbn-tinymath/src/functions/clamp.js similarity index 100% rename from packages/kbn-tinymath/src/functions/clamp.js rename to src/platform/packages/private/kbn-tinymath/src/functions/clamp.js diff --git a/packages/kbn-tinymath/src/functions/comparison/eq.js b/src/platform/packages/private/kbn-tinymath/src/functions/comparison/eq.js similarity index 100% rename from packages/kbn-tinymath/src/functions/comparison/eq.js rename to src/platform/packages/private/kbn-tinymath/src/functions/comparison/eq.js diff --git a/packages/kbn-tinymath/src/functions/comparison/gt.js b/src/platform/packages/private/kbn-tinymath/src/functions/comparison/gt.js similarity index 100% rename from packages/kbn-tinymath/src/functions/comparison/gt.js rename to src/platform/packages/private/kbn-tinymath/src/functions/comparison/gt.js diff --git a/packages/kbn-tinymath/src/functions/comparison/gte.js b/src/platform/packages/private/kbn-tinymath/src/functions/comparison/gte.js similarity index 100% rename from packages/kbn-tinymath/src/functions/comparison/gte.js rename to src/platform/packages/private/kbn-tinymath/src/functions/comparison/gte.js diff --git a/packages/kbn-tinymath/src/functions/comparison/ifelse.js b/src/platform/packages/private/kbn-tinymath/src/functions/comparison/ifelse.js similarity index 100% rename from packages/kbn-tinymath/src/functions/comparison/ifelse.js rename to src/platform/packages/private/kbn-tinymath/src/functions/comparison/ifelse.js diff --git a/packages/kbn-tinymath/src/functions/comparison/index.js b/src/platform/packages/private/kbn-tinymath/src/functions/comparison/index.js similarity index 100% rename from packages/kbn-tinymath/src/functions/comparison/index.js rename to src/platform/packages/private/kbn-tinymath/src/functions/comparison/index.js diff --git a/packages/kbn-tinymath/src/functions/comparison/lt.js b/src/platform/packages/private/kbn-tinymath/src/functions/comparison/lt.js similarity index 100% rename from packages/kbn-tinymath/src/functions/comparison/lt.js rename to src/platform/packages/private/kbn-tinymath/src/functions/comparison/lt.js diff --git a/packages/kbn-tinymath/src/functions/comparison/lte.js b/src/platform/packages/private/kbn-tinymath/src/functions/comparison/lte.js similarity index 100% rename from packages/kbn-tinymath/src/functions/comparison/lte.js rename to src/platform/packages/private/kbn-tinymath/src/functions/comparison/lte.js diff --git a/packages/kbn-tinymath/src/functions/cos.js b/src/platform/packages/private/kbn-tinymath/src/functions/cos.js similarity index 100% rename from packages/kbn-tinymath/src/functions/cos.js rename to src/platform/packages/private/kbn-tinymath/src/functions/cos.js diff --git a/packages/kbn-tinymath/src/functions/count.js b/src/platform/packages/private/kbn-tinymath/src/functions/count.js similarity index 100% rename from packages/kbn-tinymath/src/functions/count.js rename to src/platform/packages/private/kbn-tinymath/src/functions/count.js diff --git a/packages/kbn-tinymath/src/functions/cube.js b/src/platform/packages/private/kbn-tinymath/src/functions/cube.js similarity index 100% rename from packages/kbn-tinymath/src/functions/cube.js rename to src/platform/packages/private/kbn-tinymath/src/functions/cube.js diff --git a/packages/kbn-tinymath/src/functions/defaults.js b/src/platform/packages/private/kbn-tinymath/src/functions/defaults.js similarity index 100% rename from packages/kbn-tinymath/src/functions/defaults.js rename to src/platform/packages/private/kbn-tinymath/src/functions/defaults.js diff --git a/packages/kbn-tinymath/src/functions/degtorad.js b/src/platform/packages/private/kbn-tinymath/src/functions/degtorad.js similarity index 100% rename from packages/kbn-tinymath/src/functions/degtorad.js rename to src/platform/packages/private/kbn-tinymath/src/functions/degtorad.js diff --git a/packages/kbn-tinymath/src/functions/divide.js b/src/platform/packages/private/kbn-tinymath/src/functions/divide.js similarity index 100% rename from packages/kbn-tinymath/src/functions/divide.js rename to src/platform/packages/private/kbn-tinymath/src/functions/divide.js diff --git a/packages/kbn-tinymath/src/functions/exp.js b/src/platform/packages/private/kbn-tinymath/src/functions/exp.js similarity index 100% rename from packages/kbn-tinymath/src/functions/exp.js rename to src/platform/packages/private/kbn-tinymath/src/functions/exp.js diff --git a/packages/kbn-tinymath/src/functions/first.js b/src/platform/packages/private/kbn-tinymath/src/functions/first.js similarity index 100% rename from packages/kbn-tinymath/src/functions/first.js rename to src/platform/packages/private/kbn-tinymath/src/functions/first.js diff --git a/packages/kbn-tinymath/src/functions/fix.js b/src/platform/packages/private/kbn-tinymath/src/functions/fix.js similarity index 100% rename from packages/kbn-tinymath/src/functions/fix.js rename to src/platform/packages/private/kbn-tinymath/src/functions/fix.js diff --git a/packages/kbn-tinymath/src/functions/floor.js b/src/platform/packages/private/kbn-tinymath/src/functions/floor.js similarity index 100% rename from packages/kbn-tinymath/src/functions/floor.js rename to src/platform/packages/private/kbn-tinymath/src/functions/floor.js diff --git a/packages/kbn-tinymath/src/functions/index.js b/src/platform/packages/private/kbn-tinymath/src/functions/index.js similarity index 100% rename from packages/kbn-tinymath/src/functions/index.js rename to src/platform/packages/private/kbn-tinymath/src/functions/index.js diff --git a/packages/kbn-tinymath/src/functions/last.js b/src/platform/packages/private/kbn-tinymath/src/functions/last.js similarity index 100% rename from packages/kbn-tinymath/src/functions/last.js rename to src/platform/packages/private/kbn-tinymath/src/functions/last.js diff --git a/packages/kbn-tinymath/src/functions/lib/transpose.js b/src/platform/packages/private/kbn-tinymath/src/functions/lib/transpose.js similarity index 100% rename from packages/kbn-tinymath/src/functions/lib/transpose.js rename to src/platform/packages/private/kbn-tinymath/src/functions/lib/transpose.js diff --git a/packages/kbn-tinymath/src/functions/log.js b/src/platform/packages/private/kbn-tinymath/src/functions/log.js similarity index 100% rename from packages/kbn-tinymath/src/functions/log.js rename to src/platform/packages/private/kbn-tinymath/src/functions/log.js diff --git a/packages/kbn-tinymath/src/functions/log10.js b/src/platform/packages/private/kbn-tinymath/src/functions/log10.js similarity index 100% rename from packages/kbn-tinymath/src/functions/log10.js rename to src/platform/packages/private/kbn-tinymath/src/functions/log10.js diff --git a/packages/kbn-tinymath/src/functions/max.js b/src/platform/packages/private/kbn-tinymath/src/functions/max.js similarity index 100% rename from packages/kbn-tinymath/src/functions/max.js rename to src/platform/packages/private/kbn-tinymath/src/functions/max.js diff --git a/packages/kbn-tinymath/src/functions/mean.js b/src/platform/packages/private/kbn-tinymath/src/functions/mean.js similarity index 100% rename from packages/kbn-tinymath/src/functions/mean.js rename to src/platform/packages/private/kbn-tinymath/src/functions/mean.js diff --git a/packages/kbn-tinymath/src/functions/median.js b/src/platform/packages/private/kbn-tinymath/src/functions/median.js similarity index 100% rename from packages/kbn-tinymath/src/functions/median.js rename to src/platform/packages/private/kbn-tinymath/src/functions/median.js diff --git a/packages/kbn-tinymath/src/functions/min.js b/src/platform/packages/private/kbn-tinymath/src/functions/min.js similarity index 100% rename from packages/kbn-tinymath/src/functions/min.js rename to src/platform/packages/private/kbn-tinymath/src/functions/min.js diff --git a/packages/kbn-tinymath/src/functions/mod.js b/src/platform/packages/private/kbn-tinymath/src/functions/mod.js similarity index 100% rename from packages/kbn-tinymath/src/functions/mod.js rename to src/platform/packages/private/kbn-tinymath/src/functions/mod.js diff --git a/packages/kbn-tinymath/src/functions/mode.js b/src/platform/packages/private/kbn-tinymath/src/functions/mode.js similarity index 100% rename from packages/kbn-tinymath/src/functions/mode.js rename to src/platform/packages/private/kbn-tinymath/src/functions/mode.js diff --git a/packages/kbn-tinymath/src/functions/multiply.js b/src/platform/packages/private/kbn-tinymath/src/functions/multiply.js similarity index 100% rename from packages/kbn-tinymath/src/functions/multiply.js rename to src/platform/packages/private/kbn-tinymath/src/functions/multiply.js diff --git a/packages/kbn-tinymath/src/functions/pi.js b/src/platform/packages/private/kbn-tinymath/src/functions/pi.js similarity index 100% rename from packages/kbn-tinymath/src/functions/pi.js rename to src/platform/packages/private/kbn-tinymath/src/functions/pi.js diff --git a/packages/kbn-tinymath/src/functions/pow.js b/src/platform/packages/private/kbn-tinymath/src/functions/pow.js similarity index 100% rename from packages/kbn-tinymath/src/functions/pow.js rename to src/platform/packages/private/kbn-tinymath/src/functions/pow.js diff --git a/packages/kbn-tinymath/src/functions/radtodeg.js b/src/platform/packages/private/kbn-tinymath/src/functions/radtodeg.js similarity index 100% rename from packages/kbn-tinymath/src/functions/radtodeg.js rename to src/platform/packages/private/kbn-tinymath/src/functions/radtodeg.js diff --git a/packages/kbn-tinymath/src/functions/random.js b/src/platform/packages/private/kbn-tinymath/src/functions/random.js similarity index 100% rename from packages/kbn-tinymath/src/functions/random.js rename to src/platform/packages/private/kbn-tinymath/src/functions/random.js diff --git a/packages/kbn-tinymath/src/functions/range.js b/src/platform/packages/private/kbn-tinymath/src/functions/range.js similarity index 100% rename from packages/kbn-tinymath/src/functions/range.js rename to src/platform/packages/private/kbn-tinymath/src/functions/range.js diff --git a/packages/kbn-tinymath/src/functions/round.js b/src/platform/packages/private/kbn-tinymath/src/functions/round.js similarity index 100% rename from packages/kbn-tinymath/src/functions/round.js rename to src/platform/packages/private/kbn-tinymath/src/functions/round.js diff --git a/packages/kbn-tinymath/src/functions/sin.js b/src/platform/packages/private/kbn-tinymath/src/functions/sin.js similarity index 100% rename from packages/kbn-tinymath/src/functions/sin.js rename to src/platform/packages/private/kbn-tinymath/src/functions/sin.js diff --git a/packages/kbn-tinymath/src/functions/size.js b/src/platform/packages/private/kbn-tinymath/src/functions/size.js similarity index 100% rename from packages/kbn-tinymath/src/functions/size.js rename to src/platform/packages/private/kbn-tinymath/src/functions/size.js diff --git a/packages/kbn-tinymath/src/functions/sqrt.js b/src/platform/packages/private/kbn-tinymath/src/functions/sqrt.js similarity index 100% rename from packages/kbn-tinymath/src/functions/sqrt.js rename to src/platform/packages/private/kbn-tinymath/src/functions/sqrt.js diff --git a/packages/kbn-tinymath/src/functions/square.js b/src/platform/packages/private/kbn-tinymath/src/functions/square.js similarity index 100% rename from packages/kbn-tinymath/src/functions/square.js rename to src/platform/packages/private/kbn-tinymath/src/functions/square.js diff --git a/packages/kbn-tinymath/src/functions/subtract.js b/src/platform/packages/private/kbn-tinymath/src/functions/subtract.js similarity index 100% rename from packages/kbn-tinymath/src/functions/subtract.js rename to src/platform/packages/private/kbn-tinymath/src/functions/subtract.js diff --git a/packages/kbn-tinymath/src/functions/sum.js b/src/platform/packages/private/kbn-tinymath/src/functions/sum.js similarity index 100% rename from packages/kbn-tinymath/src/functions/sum.js rename to src/platform/packages/private/kbn-tinymath/src/functions/sum.js diff --git a/packages/kbn-tinymath/src/functions/tan.js b/src/platform/packages/private/kbn-tinymath/src/functions/tan.js similarity index 100% rename from packages/kbn-tinymath/src/functions/tan.js rename to src/platform/packages/private/kbn-tinymath/src/functions/tan.js diff --git a/packages/kbn-tinymath/src/functions/unique.js b/src/platform/packages/private/kbn-tinymath/src/functions/unique.js similarity index 100% rename from packages/kbn-tinymath/src/functions/unique.js rename to src/platform/packages/private/kbn-tinymath/src/functions/unique.js diff --git a/packages/kbn-tinymath/src/grammar.peggy b/src/platform/packages/private/kbn-tinymath/src/grammar.peggy similarity index 100% rename from packages/kbn-tinymath/src/grammar.peggy rename to src/platform/packages/private/kbn-tinymath/src/grammar.peggy diff --git a/packages/kbn-tinymath/src/index.js b/src/platform/packages/private/kbn-tinymath/src/index.js similarity index 100% rename from packages/kbn-tinymath/src/index.js rename to src/platform/packages/private/kbn-tinymath/src/index.js diff --git a/packages/kbn-tinymath/test/functions/abs.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/abs.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/abs.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/abs.test.js diff --git a/packages/kbn-tinymath/test/functions/add.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/add.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/add.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/add.test.js diff --git a/packages/kbn-tinymath/test/functions/cbrt.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/cbrt.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/cbrt.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/cbrt.test.js diff --git a/packages/kbn-tinymath/test/functions/ceil.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/ceil.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/ceil.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/ceil.test.js diff --git a/packages/kbn-tinymath/test/functions/clamp.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/clamp.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/clamp.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/clamp.test.js diff --git a/packages/kbn-tinymath/test/functions/comparison/eq.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/comparison/eq.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/comparison/eq.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/comparison/eq.test.js diff --git a/packages/kbn-tinymath/test/functions/comparison/gt.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/comparison/gt.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/comparison/gt.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/comparison/gt.test.js diff --git a/packages/kbn-tinymath/test/functions/comparison/gte.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/comparison/gte.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/comparison/gte.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/comparison/gte.test.js diff --git a/packages/kbn-tinymath/test/functions/comparison/ifelse.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/comparison/ifelse.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/comparison/ifelse.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/comparison/ifelse.test.js diff --git a/packages/kbn-tinymath/test/functions/comparison/lt.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/comparison/lt.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/comparison/lt.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/comparison/lt.test.js diff --git a/packages/kbn-tinymath/test/functions/comparison/lte.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/comparison/lte.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/comparison/lte.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/comparison/lte.test.js diff --git a/packages/kbn-tinymath/test/functions/cos.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/cos.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/cos.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/cos.test.js diff --git a/packages/kbn-tinymath/test/functions/cube.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/cube.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/cube.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/cube.test.js diff --git a/packages/kbn-tinymath/test/functions/defaults.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/defaults.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/defaults.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/defaults.test.js diff --git a/packages/kbn-tinymath/test/functions/degtorad.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/degtorad.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/degtorad.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/degtorad.test.js diff --git a/packages/kbn-tinymath/test/functions/divide.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/divide.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/divide.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/divide.test.js diff --git a/packages/kbn-tinymath/test/functions/exp.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/exp.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/exp.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/exp.test.js diff --git a/packages/kbn-tinymath/test/functions/first.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/first.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/first.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/first.test.js diff --git a/packages/kbn-tinymath/test/functions/fix.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/fix.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/fix.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/fix.test.js diff --git a/packages/kbn-tinymath/test/functions/floor.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/floor.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/floor.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/floor.test.js diff --git a/packages/kbn-tinymath/test/functions/last.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/last.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/last.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/last.test.js diff --git a/packages/kbn-tinymath/test/functions/log.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/log.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/log.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/log.test.js diff --git a/packages/kbn-tinymath/test/functions/log10.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/log10.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/log10.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/log10.test.js diff --git a/packages/kbn-tinymath/test/functions/max.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/max.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/max.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/max.test.js diff --git a/packages/kbn-tinymath/test/functions/mean.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/mean.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/mean.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/mean.test.js diff --git a/packages/kbn-tinymath/test/functions/median.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/median.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/median.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/median.test.js diff --git a/packages/kbn-tinymath/test/functions/min.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/min.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/min.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/min.test.js diff --git a/packages/kbn-tinymath/test/functions/mod.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/mod.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/mod.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/mod.test.js diff --git a/packages/kbn-tinymath/test/functions/mode.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/mode.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/mode.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/mode.test.js diff --git a/packages/kbn-tinymath/test/functions/multiply.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/multiply.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/multiply.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/multiply.test.js diff --git a/packages/kbn-tinymath/test/functions/pi.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/pi.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/pi.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/pi.test.js diff --git a/packages/kbn-tinymath/test/functions/pow.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/pow.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/pow.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/pow.test.js diff --git a/packages/kbn-tinymath/test/functions/radtodeg.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/radtodeg.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/radtodeg.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/radtodeg.test.js diff --git a/packages/kbn-tinymath/test/functions/random.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/random.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/random.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/random.test.js diff --git a/packages/kbn-tinymath/test/functions/range.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/range.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/range.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/range.test.js diff --git a/packages/kbn-tinymath/test/functions/round.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/round.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/round.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/round.test.js diff --git a/packages/kbn-tinymath/test/functions/sin.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/sin.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/sin.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/sin.test.js diff --git a/packages/kbn-tinymath/test/functions/size.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/size.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/size.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/size.test.js diff --git a/packages/kbn-tinymath/test/functions/sqrt.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/sqrt.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/sqrt.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/sqrt.test.js diff --git a/packages/kbn-tinymath/test/functions/square.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/square.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/square.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/square.test.js diff --git a/packages/kbn-tinymath/test/functions/subtract.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/subtract.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/subtract.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/subtract.test.js diff --git a/packages/kbn-tinymath/test/functions/sum.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/sum.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/sum.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/sum.test.js diff --git a/packages/kbn-tinymath/test/functions/tan.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/tan.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/tan.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/tan.test.js diff --git a/packages/kbn-tinymath/test/functions/transpose.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/transpose.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/transpose.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/transpose.test.js diff --git a/packages/kbn-tinymath/test/functions/unique.test.js b/src/platform/packages/private/kbn-tinymath/test/functions/unique.test.js similarity index 100% rename from packages/kbn-tinymath/test/functions/unique.test.js rename to src/platform/packages/private/kbn-tinymath/test/functions/unique.test.js diff --git a/packages/kbn-tinymath/test/library.test.js b/src/platform/packages/private/kbn-tinymath/test/library.test.js similarity index 100% rename from packages/kbn-tinymath/test/library.test.js rename to src/platform/packages/private/kbn-tinymath/test/library.test.js diff --git a/packages/kbn-tinymath/tsconfig.json b/src/platform/packages/private/kbn-tinymath/tsconfig.json similarity index 71% rename from packages/kbn-tinymath/tsconfig.json rename to src/platform/packages/private/kbn-tinymath/tsconfig.json index 791a6d85a6853..27b21f0374cac 100644 --- a/packages/kbn-tinymath/tsconfig.json +++ b/src/platform/packages/private/kbn-tinymath/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/packages/kbn-transpose-utils/README.md b/src/platform/packages/private/kbn-transpose-utils/README.md similarity index 100% rename from packages/kbn-transpose-utils/README.md rename to src/platform/packages/private/kbn-transpose-utils/README.md diff --git a/packages/kbn-transpose-utils/index.test.ts b/src/platform/packages/private/kbn-transpose-utils/index.test.ts similarity index 100% rename from packages/kbn-transpose-utils/index.test.ts rename to src/platform/packages/private/kbn-transpose-utils/index.test.ts diff --git a/packages/kbn-transpose-utils/index.ts b/src/platform/packages/private/kbn-transpose-utils/index.ts similarity index 100% rename from packages/kbn-transpose-utils/index.ts rename to src/platform/packages/private/kbn-transpose-utils/index.ts diff --git a/src/platform/packages/private/kbn-transpose-utils/jest.config.js b/src/platform/packages/private/kbn-transpose-utils/jest.config.js new file mode 100644 index 0000000000000..3bd26b3da3178 --- /dev/null +++ b/src/platform/packages/private/kbn-transpose-utils/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/private/kbn-transpose-utils'], +}; diff --git a/packages/kbn-transpose-utils/kibana.jsonc b/src/platform/packages/private/kbn-transpose-utils/kibana.jsonc similarity index 100% rename from packages/kbn-transpose-utils/kibana.jsonc rename to src/platform/packages/private/kbn-transpose-utils/kibana.jsonc diff --git a/packages/kbn-transpose-utils/package.json b/src/platform/packages/private/kbn-transpose-utils/package.json similarity index 100% rename from packages/kbn-transpose-utils/package.json rename to src/platform/packages/private/kbn-transpose-utils/package.json diff --git a/packages/kbn-transpose-utils/tsconfig.json b/src/platform/packages/private/kbn-transpose-utils/tsconfig.json similarity index 82% rename from packages/kbn-transpose-utils/tsconfig.json rename to src/platform/packages/private/kbn-transpose-utils/tsconfig.json index 87f865132f4b4..447899d604592 100644 --- a/packages/kbn-transpose-utils/tsconfig.json +++ b/src/platform/packages/private/kbn-transpose-utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/src/plugins/chart_expressions/common/README.md b/src/platform/packages/shared/chart-expressions-common/README.md similarity index 100% rename from src/plugins/chart_expressions/common/README.md rename to src/platform/packages/shared/chart-expressions-common/README.md diff --git a/src/plugins/chart_expressions/common/color_categories.test.ts b/src/platform/packages/shared/chart-expressions-common/color_categories.test.ts similarity index 100% rename from src/plugins/chart_expressions/common/color_categories.test.ts rename to src/platform/packages/shared/chart-expressions-common/color_categories.test.ts diff --git a/src/plugins/chart_expressions/common/color_categories.ts b/src/platform/packages/shared/chart-expressions-common/color_categories.ts similarity index 100% rename from src/plugins/chart_expressions/common/color_categories.ts rename to src/platform/packages/shared/chart-expressions-common/color_categories.ts diff --git a/src/plugins/chart_expressions/common/index.ts b/src/platform/packages/shared/chart-expressions-common/index.ts similarity index 100% rename from src/plugins/chart_expressions/common/index.ts rename to src/platform/packages/shared/chart-expressions-common/index.ts diff --git a/packages/kbn-event-annotation-common/jest.config.js b/src/platform/packages/shared/chart-expressions-common/jest.config.js similarity index 83% rename from packages/kbn-event-annotation-common/jest.config.js rename to src/platform/packages/shared/chart-expressions-common/jest.config.js index 61c60c7572d78..b5ba25d7a25f7 100644 --- a/packages/kbn-event-annotation-common/jest.config.js +++ b/src/platform/packages/shared/chart-expressions-common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-event-annotation-common'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/chart-expressions-common'], }; diff --git a/src/plugins/chart_expressions/common/kibana.jsonc b/src/platform/packages/shared/chart-expressions-common/kibana.jsonc similarity index 100% rename from src/plugins/chart_expressions/common/kibana.jsonc rename to src/platform/packages/shared/chart-expressions-common/kibana.jsonc diff --git a/src/plugins/chart_expressions/common/package.json b/src/platform/packages/shared/chart-expressions-common/package.json similarity index 100% rename from src/plugins/chart_expressions/common/package.json rename to src/platform/packages/shared/chart-expressions-common/package.json diff --git a/src/plugins/chart_expressions/common/tsconfig.json b/src/platform/packages/shared/chart-expressions-common/tsconfig.json similarity index 87% rename from src/plugins/chart_expressions/common/tsconfig.json rename to src/platform/packages/shared/chart-expressions-common/tsconfig.json index e6426fddeda0f..23da1315eccdb 100644 --- a/src/plugins/chart_expressions/common/tsconfig.json +++ b/src/platform/packages/shared/chart-expressions-common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/src/plugins/chart_expressions/common/types.ts b/src/platform/packages/shared/chart-expressions-common/types.ts similarity index 100% rename from src/plugins/chart_expressions/common/types.ts rename to src/platform/packages/shared/chart-expressions-common/types.ts diff --git a/src/plugins/chart_expressions/common/utils.test.ts b/src/platform/packages/shared/chart-expressions-common/utils.test.ts similarity index 100% rename from src/plugins/chart_expressions/common/utils.test.ts rename to src/platform/packages/shared/chart-expressions-common/utils.test.ts diff --git a/src/plugins/chart_expressions/common/utils.ts b/src/platform/packages/shared/chart-expressions-common/utils.ts similarity index 100% rename from src/plugins/chart_expressions/common/utils.ts rename to src/platform/packages/shared/chart-expressions-common/utils.ts diff --git a/packages/kbn-calculate-width-from-char-count/.storybook/main.js b/src/platform/packages/shared/kbn-calculate-width-from-char-count/.storybook/main.js similarity index 100% rename from packages/kbn-calculate-width-from-char-count/.storybook/main.js rename to src/platform/packages/shared/kbn-calculate-width-from-char-count/.storybook/main.js diff --git a/packages/kbn-calculate-width-from-char-count/README.md b/src/platform/packages/shared/kbn-calculate-width-from-char-count/README.md similarity index 100% rename from packages/kbn-calculate-width-from-char-count/README.md rename to src/platform/packages/shared/kbn-calculate-width-from-char-count/README.md diff --git a/packages/kbn-calculate-width-from-char-count/index.ts b/src/platform/packages/shared/kbn-calculate-width-from-char-count/index.ts similarity index 100% rename from packages/kbn-calculate-width-from-char-count/index.ts rename to src/platform/packages/shared/kbn-calculate-width-from-char-count/index.ts diff --git a/src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js b/src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js new file mode 100644 index 0000000000000..bedc110bec8c2 --- /dev/null +++ b/src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test/jest_node', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-calculate-width-from-char-count'], +}; diff --git a/packages/kbn-calculate-width-from-char-count/kibana.jsonc b/src/platform/packages/shared/kbn-calculate-width-from-char-count/kibana.jsonc similarity index 100% rename from packages/kbn-calculate-width-from-char-count/kibana.jsonc rename to src/platform/packages/shared/kbn-calculate-width-from-char-count/kibana.jsonc diff --git a/packages/kbn-calculate-width-from-char-count/package.json b/src/platform/packages/shared/kbn-calculate-width-from-char-count/package.json similarity index 100% rename from packages/kbn-calculate-width-from-char-count/package.json rename to src/platform/packages/shared/kbn-calculate-width-from-char-count/package.json diff --git a/packages/kbn-calculate-width-from-char-count/src/calculate_width_from_char_count.test.ts b/src/platform/packages/shared/kbn-calculate-width-from-char-count/src/calculate_width_from_char_count.test.ts similarity index 100% rename from packages/kbn-calculate-width-from-char-count/src/calculate_width_from_char_count.test.ts rename to src/platform/packages/shared/kbn-calculate-width-from-char-count/src/calculate_width_from_char_count.test.ts diff --git a/packages/kbn-calculate-width-from-char-count/src/calculate_width_from_char_count.ts b/src/platform/packages/shared/kbn-calculate-width-from-char-count/src/calculate_width_from_char_count.ts similarity index 100% rename from packages/kbn-calculate-width-from-char-count/src/calculate_width_from_char_count.ts rename to src/platform/packages/shared/kbn-calculate-width-from-char-count/src/calculate_width_from_char_count.ts diff --git a/packages/kbn-calculate-width-from-char-count/src/calculate_width_from_entries.test.ts b/src/platform/packages/shared/kbn-calculate-width-from-char-count/src/calculate_width_from_entries.test.ts similarity index 100% rename from packages/kbn-calculate-width-from-char-count/src/calculate_width_from_entries.test.ts rename to src/platform/packages/shared/kbn-calculate-width-from-char-count/src/calculate_width_from_entries.test.ts diff --git a/packages/kbn-calculate-width-from-char-count/src/calculate_width_from_entries.ts b/src/platform/packages/shared/kbn-calculate-width-from-char-count/src/calculate_width_from_entries.ts similarity index 100% rename from packages/kbn-calculate-width-from-char-count/src/calculate_width_from_entries.ts rename to src/platform/packages/shared/kbn-calculate-width-from-char-count/src/calculate_width_from_entries.ts diff --git a/packages/kbn-calculate-width-from-char-count/src/index.ts b/src/platform/packages/shared/kbn-calculate-width-from-char-count/src/index.ts similarity index 100% rename from packages/kbn-calculate-width-from-char-count/src/index.ts rename to src/platform/packages/shared/kbn-calculate-width-from-char-count/src/index.ts diff --git a/packages/kbn-calculate-width-from-char-count/tsconfig.json b/src/platform/packages/shared/kbn-calculate-width-from-char-count/tsconfig.json similarity index 82% rename from packages/kbn-calculate-width-from-char-count/tsconfig.json rename to src/platform/packages/shared/kbn-calculate-width-from-char-count/tsconfig.json index ea0a30fa75171..180f47a36a869 100644 --- a/packages/kbn-calculate-width-from-char-count/tsconfig.json +++ b/src/platform/packages/shared/kbn-calculate-width-from-char-count/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-chart-icons/.storybook/main.js b/src/platform/packages/shared/kbn-chart-icons/.storybook/main.js similarity index 100% rename from packages/kbn-chart-icons/.storybook/main.js rename to src/platform/packages/shared/kbn-chart-icons/.storybook/main.js diff --git a/packages/kbn-chart-icons/README.md b/src/platform/packages/shared/kbn-chart-icons/README.md similarity index 100% rename from packages/kbn-chart-icons/README.md rename to src/platform/packages/shared/kbn-chart-icons/README.md diff --git a/packages/kbn-chart-icons/index.ts b/src/platform/packages/shared/kbn-chart-icons/index.ts similarity index 100% rename from packages/kbn-chart-icons/index.ts rename to src/platform/packages/shared/kbn-chart-icons/index.ts diff --git a/packages/kbn-calculate-width-from-char-count/jest.config.js b/src/platform/packages/shared/kbn-chart-icons/jest.config.js similarity index 84% rename from packages/kbn-calculate-width-from-char-count/jest.config.js rename to src/platform/packages/shared/kbn-chart-icons/jest.config.js index 3881803ebb270..b75916eaa1099 100644 --- a/packages/kbn-calculate-width-from-char-count/jest.config.js +++ b/src/platform/packages/shared/kbn-chart-icons/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-calculate-width-from-char-count'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-chart-icons'], }; diff --git a/packages/kbn-chart-icons/kibana.jsonc b/src/platform/packages/shared/kbn-chart-icons/kibana.jsonc similarity index 100% rename from packages/kbn-chart-icons/kibana.jsonc rename to src/platform/packages/shared/kbn-chart-icons/kibana.jsonc diff --git a/packages/kbn-chart-icons/package.json b/src/platform/packages/shared/kbn-chart-icons/package.json similarity index 100% rename from packages/kbn-chart-icons/package.json rename to src/platform/packages/shared/kbn-chart-icons/package.json diff --git a/packages/kbn-chart-icons/src/__stories__/icons.stories.tsx b/src/platform/packages/shared/kbn-chart-icons/src/__stories__/icons.stories.tsx similarity index 100% rename from packages/kbn-chart-icons/src/__stories__/icons.stories.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/__stories__/icons.stories.tsx diff --git a/packages/kbn-chart-icons/src/assets/annotation_icons/circle.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/annotation_icons/circle.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/annotation_icons/circle.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/annotation_icons/circle.tsx diff --git a/packages/kbn-chart-icons/src/assets/annotation_icons/index.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/annotation_icons/index.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/annotation_icons/index.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/annotation_icons/index.tsx diff --git a/packages/kbn-chart-icons/src/assets/annotation_icons/triangle.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/annotation_icons/triangle.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/annotation_icons/triangle.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/annotation_icons/triangle.tsx diff --git a/packages/kbn-chart-icons/src/assets/axis_bottom.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/axis_bottom.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/axis_bottom.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/axis_bottom.tsx diff --git a/packages/kbn-chart-icons/src/assets/axis_left.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/axis_left.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/axis_left.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/axis_left.tsx diff --git a/packages/kbn-chart-icons/src/assets/axis_right.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/axis_right.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/axis_right.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/axis_right.tsx diff --git a/packages/kbn-chart-icons/src/assets/axis_top.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/axis_top.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/axis_top.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/axis_top.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_area.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_area.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_area.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_area.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_area_percentage.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_area_percentage.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_area_percentage.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_area_percentage.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_area_stacked.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_area_stacked.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_area_stacked.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_area_stacked.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_bar.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_bar.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_bar_annotations.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar_annotations.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_bar_annotations.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar_annotations.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_bar_horizontal.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar_horizontal.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_bar_horizontal.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar_horizontal.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_bar_horizontal_percentage.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar_horizontal_percentage.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_bar_horizontal_percentage.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar_horizontal_percentage.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_bar_horizontal_stacked.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar_horizontal_stacked.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_bar_horizontal_stacked.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar_horizontal_stacked.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_bar_percentage.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar_percentage.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_bar_percentage.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar_percentage.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_bar_reference_line.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar_reference_line.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_bar_reference_line.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar_reference_line.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_bar_stacked.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar_stacked.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_bar_stacked.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_bar_stacked.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_datatable.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_datatable.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_datatable.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_datatable.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_donut.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_donut.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_donut.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_donut.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_gauge.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_gauge.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_gauge.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_gauge.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_gauge_arc.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_gauge_arc.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_gauge_arc.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_gauge_arc.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_gauge_circle.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_gauge_circle.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_gauge_circle.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_gauge_circle.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_gauge_semi_circle.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_gauge_semi_circle.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_gauge_semi_circle.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_gauge_semi_circle.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_gauge_simple_icons.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_gauge_simple_icons.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_gauge_simple_icons.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_gauge_simple_icons.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_heatmap.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_heatmap.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_heatmap.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_heatmap.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_horizontal_bullet.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_horizontal_bullet.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_horizontal_bullet.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_horizontal_bullet.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_line.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_line.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_line.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_line.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_metric.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_metric.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_metric.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_metric.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_mixed_xy.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_mixed_xy.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_mixed_xy.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_mixed_xy.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_mosaic.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_mosaic.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_mosaic.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_mosaic.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_pie.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_pie.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_pie.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_pie.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_tagcloud.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_tagcloud.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_tagcloud.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_tagcloud.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_treemap.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_treemap.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_treemap.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_treemap.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_vertical_bullet.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_vertical_bullet.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_vertical_bullet.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_vertical_bullet.tsx diff --git a/packages/kbn-chart-icons/src/assets/chart_waffle.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/chart_waffle.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/chart_waffle.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/chart_waffle.tsx diff --git a/packages/kbn-chart-icons/src/assets/common_styles.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/common_styles.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/common_styles.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/common_styles.tsx diff --git a/packages/kbn-chart-icons/src/assets/donut_hole_icons.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/donut_hole_icons.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/donut_hole_icons.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/donut_hole_icons.tsx diff --git a/packages/kbn-chart-icons/src/assets/drop_illustration.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/drop_illustration.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/drop_illustration.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/drop_illustration.tsx diff --git a/packages/kbn-chart-icons/src/assets/globe_illustration.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/globe_illustration.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/globe_illustration.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/globe_illustration.tsx diff --git a/packages/kbn-chart-icons/src/assets/icon_simple_wrapper.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/icon_simple_wrapper.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/icon_simple_wrapper.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/icon_simple_wrapper.tsx diff --git a/packages/kbn-chart-icons/src/assets/index.ts b/src/platform/packages/shared/kbn-chart-icons/src/assets/index.ts similarity index 100% rename from packages/kbn-chart-icons/src/assets/index.ts rename to src/platform/packages/shared/kbn-chart-icons/src/assets/index.ts diff --git a/packages/kbn-chart-icons/src/assets/legend.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/legend.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/legend.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/legend.tsx diff --git a/packages/kbn-chart-icons/src/assets/region_map.tsx b/src/platform/packages/shared/kbn-chart-icons/src/assets/region_map.tsx similarity index 100% rename from packages/kbn-chart-icons/src/assets/region_map.tsx rename to src/platform/packages/shared/kbn-chart-icons/src/assets/region_map.tsx diff --git a/packages/kbn-chart-icons/tsconfig.json b/src/platform/packages/shared/kbn-chart-icons/tsconfig.json similarity index 85% rename from packages/kbn-chart-icons/tsconfig.json rename to src/platform/packages/shared/kbn-chart-icons/tsconfig.json index c4f38f3a8ec94..cc843830192f8 100644 --- a/packages/kbn-chart-icons/tsconfig.json +++ b/src/platform/packages/shared/kbn-chart-icons/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-coloring/.storybook/main.js b/src/platform/packages/shared/kbn-coloring/.storybook/main.js similarity index 100% rename from packages/kbn-coloring/.storybook/main.js rename to src/platform/packages/shared/kbn-coloring/.storybook/main.js diff --git a/packages/kbn-coloring/README.md b/src/platform/packages/shared/kbn-coloring/README.md similarity index 100% rename from packages/kbn-coloring/README.md rename to src/platform/packages/shared/kbn-coloring/README.md diff --git a/packages/kbn-coloring/index.ts b/src/platform/packages/shared/kbn-coloring/index.ts similarity index 100% rename from packages/kbn-coloring/index.ts rename to src/platform/packages/shared/kbn-coloring/index.ts diff --git a/packages/kbn-dom-drag-drop/jest.config.js b/src/platform/packages/shared/kbn-coloring/jest.config.js similarity index 84% rename from packages/kbn-dom-drag-drop/jest.config.js rename to src/platform/packages/shared/kbn-coloring/jest.config.js index 854ac94b02a47..cad1365380997 100644 --- a/packages/kbn-dom-drag-drop/jest.config.js +++ b/src/platform/packages/shared/kbn-coloring/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-dom-drag-drop'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-coloring'], }; diff --git a/packages/kbn-coloring/kibana.jsonc b/src/platform/packages/shared/kbn-coloring/kibana.jsonc similarity index 100% rename from packages/kbn-coloring/kibana.jsonc rename to src/platform/packages/shared/kbn-coloring/kibana.jsonc diff --git a/packages/kbn-coloring/package.json b/src/platform/packages/shared/kbn-coloring/package.json similarity index 100% rename from packages/kbn-coloring/package.json rename to src/platform/packages/shared/kbn-coloring/package.json diff --git a/packages/kbn-coloring/src/color_manipulation/index.ts b/src/platform/packages/shared/kbn-coloring/src/color_manipulation/index.ts similarity index 100% rename from packages/kbn-coloring/src/color_manipulation/index.ts rename to src/platform/packages/shared/kbn-coloring/src/color_manipulation/index.ts diff --git a/packages/kbn-coloring/src/palettes/constants.ts b/src/platform/packages/shared/kbn-coloring/src/palettes/constants.ts similarity index 100% rename from packages/kbn-coloring/src/palettes/constants.ts rename to src/platform/packages/shared/kbn-coloring/src/palettes/constants.ts diff --git a/packages/kbn-coloring/src/palettes/index.ts b/src/platform/packages/shared/kbn-coloring/src/palettes/index.ts similarity index 100% rename from packages/kbn-coloring/src/palettes/index.ts rename to src/platform/packages/shared/kbn-coloring/src/palettes/index.ts diff --git a/packages/kbn-coloring/src/palettes/mocks/palettes_registry.ts b/src/platform/packages/shared/kbn-coloring/src/palettes/mocks/palettes_registry.ts similarity index 100% rename from packages/kbn-coloring/src/palettes/mocks/palettes_registry.ts rename to src/platform/packages/shared/kbn-coloring/src/palettes/mocks/palettes_registry.ts diff --git a/packages/kbn-coloring/src/palettes/types.ts b/src/platform/packages/shared/kbn-coloring/src/palettes/types.ts similarity index 100% rename from packages/kbn-coloring/src/palettes/types.ts rename to src/platform/packages/shared/kbn-coloring/src/palettes/types.ts diff --git a/packages/kbn-coloring/src/palettes/utils.test.ts b/src/platform/packages/shared/kbn-coloring/src/palettes/utils.test.ts similarity index 100% rename from packages/kbn-coloring/src/palettes/utils.test.ts rename to src/platform/packages/shared/kbn-coloring/src/palettes/utils.test.ts diff --git a/packages/kbn-coloring/src/palettes/utils.ts b/src/platform/packages/shared/kbn-coloring/src/palettes/utils.ts similarity index 100% rename from packages/kbn-coloring/src/palettes/utils.ts rename to src/platform/packages/shared/kbn-coloring/src/palettes/utils.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/README.md b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/README.md similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/README.md rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/README.md diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/__stories__/color_mapping.stories.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/__stories__/color_mapping.stories.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/__stories__/color_mapping.stories.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/__stories__/color_mapping.stories.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/categorical_color_mapping.test.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/categorical_color_mapping.test.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/categorical_color_mapping.test.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/categorical_color_mapping.test.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/categorical_color_mapping.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/categorical_color_mapping.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/categorical_color_mapping.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/categorical_color_mapping.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/color/color_handling.test.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/color/color_handling.test.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/color/color_handling.test.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/color/color_handling.test.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/color/color_handling.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/color/color_handling.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/color/color_handling.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/color/color_handling.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/color/color_math.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/color/color_math.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/color/color_math.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/color/color_math.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/color/rule_matching.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/color/rule_matching.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/color/rule_matching.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/color/rule_matching.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/assignment/assignment.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/assignment/assignment.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/assignment/assignment.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/assignment/assignment.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/assignment/match.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/assignment/match.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/assignment/match.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/assignment/match.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/assignment/range.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/assignment/range.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/assignment/range.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/assignment/range.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/assignment/special_assignment.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/assignment/special_assignment.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/assignment/special_assignment.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/assignment/special_assignment.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/color_picker/color_picker.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/color_picker/color_picker.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/color_picker/color_picker.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/color_picker/color_picker.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/color_picker/color_swatch.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/color_picker/color_swatch.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/color_picker/color_swatch.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/color_picker/color_swatch.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/color_picker/palette_colors.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/color_picker/palette_colors.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/color_picker/palette_colors.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/color_picker/palette_colors.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/color_picker/rgb_picker.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/color_picker/rgb_picker.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/color_picker/rgb_picker.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/color_picker/rgb_picker.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/container/assigments.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/container/assigments.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/container/assigments.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/container/assigments.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/container/container.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/container/container.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/container/container.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/container/container.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/container/unassigned_terms_config.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/container/unassigned_terms_config.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/container/unassigned_terms_config.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/container/unassigned_terms_config.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/gradient.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/gradient.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/gradient.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/gradient.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/gradient_add_stop.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/gradient_add_stop.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/gradient_add_stop.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/gradient_add_stop.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/palette_selector.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/palette_selector.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/palette_selector.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/palette_selector.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/scale.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/scale.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/scale.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/components/palette_selector/scale.tsx diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/config/assignments.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/config/assignments.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/config/assignments.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/config/assignments.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/config/default_color_mapping.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/config/default_color_mapping.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/config/default_color_mapping.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/config/default_color_mapping.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/config/index.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/config/index.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/config/index.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/config/index.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/config/types.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/config/types.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/config/types.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/config/types.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/index.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/index.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/index.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/index.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/state/color_mapping.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/state/color_mapping.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/state/color_mapping.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/state/color_mapping.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/state/selectors.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/state/selectors.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/state/selectors.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/state/selectors.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/state/ui.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/state/ui.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/state/ui.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/state/ui.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/__stories__/customizable_palette.stories.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/__stories__/customizable_palette.stories.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/__stories__/customizable_palette.stories.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/__stories__/customizable_palette.stories.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/__stories__/palettes.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/__stories__/palettes.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/__stories__/palettes.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/__stories__/palettes.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/assets/distribute_equally.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/assets/distribute_equally.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/assets/distribute_equally.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/assets/distribute_equally.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/assets/infinity.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/assets/infinity.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/assets/infinity.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/assets/infinity.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/assets/related.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/assets/related.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/assets/related.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/assets/related.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/assets/value_max.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/assets/value_max.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/assets/value_max.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/assets/value_max.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/assets/value_min.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/assets/value_min.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/assets/value_min.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/assets/value_min.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges.test.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges.test.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges.test.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges.test.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_context.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_context.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_context.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_context.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_extra_actions.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_extra_actions.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_extra_actions.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_extra_actions.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_item.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_item.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_item.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_item.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_item_buttons.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_item_buttons.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_item_buttons.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_item_buttons.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_validation.test.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_validation.test.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_validation.test.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_validation.test.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_validation.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_validation.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_validation.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/color_ranges_validation.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/index.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/index.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/index.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/index.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/types.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/types.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/types.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/types.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_crud.test.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_crud.test.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_crud.test.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_crud.test.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_crud.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_crud.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_crud.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_crud.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_extra_actions.test.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_extra_actions.test.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_extra_actions.test.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_extra_actions.test.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_extra_actions.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_extra_actions.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_extra_actions.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/utils/color_ranges_extra_actions.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/utils/index.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/utils/index.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/utils/index.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/utils/index.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/utils/utils.test.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/utils/utils.test.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/utils/utils.test.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/utils/utils.test.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/color_ranges/utils/utils.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/utils/utils.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/color_ranges/utils/utils.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/color_ranges/utils/utils.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/index.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/index.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/index.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/index.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/mocks/palettes_registry.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/mocks/palettes_registry.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/mocks/palettes_registry.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/mocks/palettes_registry.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/palette_configuration.test.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/palette_configuration.test.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/palette_configuration.test.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/palette_configuration.test.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/palette_configuration.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/palette_configuration.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/palette_configuration.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/palette_configuration.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/palette_configuration_reducer.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/palette_configuration_reducer.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/palette_configuration_reducer.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/palette_configuration_reducer.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/palette_picker.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/palette_picker.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/palette_picker.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/palette_picker.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/tooltip_wrapper.tsx b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/tooltip_wrapper.tsx similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/tooltip_wrapper.tsx rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/tooltip_wrapper.tsx diff --git a/packages/kbn-coloring/src/shared_components/coloring/types.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/types.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/types.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/types.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/utils.test.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/utils.test.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/utils.test.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/utils.test.ts diff --git a/packages/kbn-coloring/src/shared_components/coloring/utils.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/utils.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/coloring/utils.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/coloring/utils.ts diff --git a/packages/kbn-coloring/src/shared_components/index.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/index.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/index.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/index.ts diff --git a/packages/kbn-coloring/tsconfig.json b/src/platform/packages/shared/kbn-coloring/tsconfig.json similarity index 91% rename from packages/kbn-coloring/tsconfig.json rename to src/platform/packages/shared/kbn-coloring/tsconfig.json index c3be4a82e8baa..b361a533a10b5 100644 --- a/packages/kbn-coloring/tsconfig.json +++ b/src/platform/packages/shared/kbn-coloring/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-data-service/README.md b/src/platform/packages/shared/kbn-data-service/README.md similarity index 100% rename from packages/kbn-data-service/README.md rename to src/platform/packages/shared/kbn-data-service/README.md diff --git a/packages/kbn-data-service/index.ts b/src/platform/packages/shared/kbn-data-service/index.ts similarity index 100% rename from packages/kbn-data-service/index.ts rename to src/platform/packages/shared/kbn-data-service/index.ts diff --git a/packages/kbn-data-service/jest.config.js b/src/platform/packages/shared/kbn-data-service/jest.config.js similarity index 83% rename from packages/kbn-data-service/jest.config.js rename to src/platform/packages/shared/kbn-data-service/jest.config.js index 741dc0dbc28d5..dcfcff99540c7 100644 --- a/packages/kbn-data-service/jest.config.js +++ b/src/platform/packages/shared/kbn-data-service/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-data-service'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-data-service'], }; diff --git a/packages/kbn-data-service/kibana.jsonc b/src/platform/packages/shared/kbn-data-service/kibana.jsonc similarity index 100% rename from packages/kbn-data-service/kibana.jsonc rename to src/platform/packages/shared/kbn-data-service/kibana.jsonc diff --git a/packages/kbn-data-service/package.json b/src/platform/packages/shared/kbn-data-service/package.json similarity index 100% rename from packages/kbn-data-service/package.json rename to src/platform/packages/shared/kbn-data-service/package.json diff --git a/packages/kbn-data-service/src/constants.ts b/src/platform/packages/shared/kbn-data-service/src/constants.ts similarity index 100% rename from packages/kbn-data-service/src/constants.ts rename to src/platform/packages/shared/kbn-data-service/src/constants.ts diff --git a/packages/kbn-data-service/src/es_query/get_es_query_config.test.ts b/src/platform/packages/shared/kbn-data-service/src/es_query/get_es_query_config.test.ts similarity index 100% rename from packages/kbn-data-service/src/es_query/get_es_query_config.test.ts rename to src/platform/packages/shared/kbn-data-service/src/es_query/get_es_query_config.test.ts diff --git a/packages/kbn-data-service/src/es_query/get_es_query_config.ts b/src/platform/packages/shared/kbn-data-service/src/es_query/get_es_query_config.ts similarity index 100% rename from packages/kbn-data-service/src/es_query/get_es_query_config.ts rename to src/platform/packages/shared/kbn-data-service/src/es_query/get_es_query_config.ts diff --git a/packages/kbn-data-service/src/es_query/index.ts b/src/platform/packages/shared/kbn-data-service/src/es_query/index.ts similarity index 100% rename from packages/kbn-data-service/src/es_query/index.ts rename to src/platform/packages/shared/kbn-data-service/src/es_query/index.ts diff --git a/packages/kbn-data-service/src/es_query/stubs/exists_filter.ts b/src/platform/packages/shared/kbn-data-service/src/es_query/stubs/exists_filter.ts similarity index 100% rename from packages/kbn-data-service/src/es_query/stubs/exists_filter.ts rename to src/platform/packages/shared/kbn-data-service/src/es_query/stubs/exists_filter.ts diff --git a/packages/kbn-data-service/src/es_query/stubs/index.ts b/src/platform/packages/shared/kbn-data-service/src/es_query/stubs/index.ts similarity index 100% rename from packages/kbn-data-service/src/es_query/stubs/index.ts rename to src/platform/packages/shared/kbn-data-service/src/es_query/stubs/index.ts diff --git a/packages/kbn-data-service/src/es_query/stubs/phrase_filter.ts b/src/platform/packages/shared/kbn-data-service/src/es_query/stubs/phrase_filter.ts similarity index 100% rename from packages/kbn-data-service/src/es_query/stubs/phrase_filter.ts rename to src/platform/packages/shared/kbn-data-service/src/es_query/stubs/phrase_filter.ts diff --git a/packages/kbn-data-service/src/es_query/stubs/phrases_filter.ts b/src/platform/packages/shared/kbn-data-service/src/es_query/stubs/phrases_filter.ts similarity index 100% rename from packages/kbn-data-service/src/es_query/stubs/phrases_filter.ts rename to src/platform/packages/shared/kbn-data-service/src/es_query/stubs/phrases_filter.ts diff --git a/packages/kbn-data-service/src/es_query/stubs/range_filter.ts b/src/platform/packages/shared/kbn-data-service/src/es_query/stubs/range_filter.ts similarity index 100% rename from packages/kbn-data-service/src/es_query/stubs/range_filter.ts rename to src/platform/packages/shared/kbn-data-service/src/es_query/stubs/range_filter.ts diff --git a/packages/kbn-data-service/src/search/tabify/__snapshots__/tabify_docs.test.ts.snap b/src/platform/packages/shared/kbn-data-service/src/search/tabify/__snapshots__/tabify_docs.test.ts.snap similarity index 100% rename from packages/kbn-data-service/src/search/tabify/__snapshots__/tabify_docs.test.ts.snap rename to src/platform/packages/shared/kbn-data-service/src/search/tabify/__snapshots__/tabify_docs.test.ts.snap diff --git a/packages/kbn-data-service/src/search/tabify/index.ts b/src/platform/packages/shared/kbn-data-service/src/search/tabify/index.ts similarity index 100% rename from packages/kbn-data-service/src/search/tabify/index.ts rename to src/platform/packages/shared/kbn-data-service/src/search/tabify/index.ts diff --git a/packages/kbn-data-service/src/search/tabify/tabify_docs.test.ts b/src/platform/packages/shared/kbn-data-service/src/search/tabify/tabify_docs.test.ts similarity index 100% rename from packages/kbn-data-service/src/search/tabify/tabify_docs.test.ts rename to src/platform/packages/shared/kbn-data-service/src/search/tabify/tabify_docs.test.ts diff --git a/packages/kbn-data-service/src/search/tabify/tabify_docs.ts b/src/platform/packages/shared/kbn-data-service/src/search/tabify/tabify_docs.ts similarity index 100% rename from packages/kbn-data-service/src/search/tabify/tabify_docs.ts rename to src/platform/packages/shared/kbn-data-service/src/search/tabify/tabify_docs.ts diff --git a/packages/kbn-data-service/src/types.ts b/src/platform/packages/shared/kbn-data-service/src/types.ts similarity index 100% rename from packages/kbn-data-service/src/types.ts rename to src/platform/packages/shared/kbn-data-service/src/types.ts diff --git a/packages/kbn-data-service/tsconfig.json b/src/platform/packages/shared/kbn-data-service/tsconfig.json similarity index 85% rename from packages/kbn-data-service/tsconfig.json rename to src/platform/packages/shared/kbn-data-service/tsconfig.json index 6f5d59dfb94c1..556935a9fa775 100644 --- a/packages/kbn-data-service/tsconfig.json +++ b/src/platform/packages/shared/kbn-data-service/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/packages/kbn-dom-drag-drop/README.md b/src/platform/packages/shared/kbn-dom-drag-drop/README.md similarity index 100% rename from packages/kbn-dom-drag-drop/README.md rename to src/platform/packages/shared/kbn-dom-drag-drop/README.md diff --git a/packages/kbn-dom-drag-drop/index.ts b/src/platform/packages/shared/kbn-dom-drag-drop/index.ts similarity index 100% rename from packages/kbn-dom-drag-drop/index.ts rename to src/platform/packages/shared/kbn-dom-drag-drop/index.ts diff --git a/src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js b/src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js new file mode 100644 index 0000000000000..959cce467567d --- /dev/null +++ b/src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-dom-drag-drop'], +}; diff --git a/packages/kbn-dom-drag-drop/kibana.jsonc b/src/platform/packages/shared/kbn-dom-drag-drop/kibana.jsonc similarity index 100% rename from packages/kbn-dom-drag-drop/kibana.jsonc rename to src/platform/packages/shared/kbn-dom-drag-drop/kibana.jsonc diff --git a/packages/kbn-dom-drag-drop/package.json b/src/platform/packages/shared/kbn-dom-drag-drop/package.json similarity index 100% rename from packages/kbn-dom-drag-drop/package.json rename to src/platform/packages/shared/kbn-dom-drag-drop/package.json diff --git a/packages/kbn-dom-drag-drop/src/constants.ts b/src/platform/packages/shared/kbn-dom-drag-drop/src/constants.ts similarity index 100% rename from packages/kbn-dom-drag-drop/src/constants.ts rename to src/platform/packages/shared/kbn-dom-drag-drop/src/constants.ts diff --git a/packages/kbn-dom-drag-drop/src/drag_drop_reordering.test.tsx b/src/platform/packages/shared/kbn-dom-drag-drop/src/drag_drop_reordering.test.tsx similarity index 100% rename from packages/kbn-dom-drag-drop/src/drag_drop_reordering.test.tsx rename to src/platform/packages/shared/kbn-dom-drag-drop/src/drag_drop_reordering.test.tsx diff --git a/packages/kbn-dom-drag-drop/src/draggable.test.tsx b/src/platform/packages/shared/kbn-dom-drag-drop/src/draggable.test.tsx similarity index 100% rename from packages/kbn-dom-drag-drop/src/draggable.test.tsx rename to src/platform/packages/shared/kbn-dom-drag-drop/src/draggable.test.tsx diff --git a/packages/kbn-dom-drag-drop/src/draggable.tsx b/src/platform/packages/shared/kbn-dom-drag-drop/src/draggable.tsx similarity index 100% rename from packages/kbn-dom-drag-drop/src/draggable.tsx rename to src/platform/packages/shared/kbn-dom-drag-drop/src/draggable.tsx diff --git a/packages/kbn-dom-drag-drop/src/drop_overlay_wrapper.tsx b/src/platform/packages/shared/kbn-dom-drag-drop/src/drop_overlay_wrapper.tsx similarity index 100% rename from packages/kbn-dom-drag-drop/src/drop_overlay_wrapper.tsx rename to src/platform/packages/shared/kbn-dom-drag-drop/src/drop_overlay_wrapper.tsx diff --git a/packages/kbn-dom-drag-drop/src/drop_targets/index.ts b/src/platform/packages/shared/kbn-dom-drag-drop/src/drop_targets/index.ts similarity index 100% rename from packages/kbn-dom-drag-drop/src/drop_targets/index.ts rename to src/platform/packages/shared/kbn-dom-drag-drop/src/drop_targets/index.ts diff --git a/packages/kbn-dom-drag-drop/src/drop_targets/swap_duplicate_combine.tsx b/src/platform/packages/shared/kbn-dom-drag-drop/src/drop_targets/swap_duplicate_combine.tsx similarity index 100% rename from packages/kbn-dom-drag-drop/src/drop_targets/swap_duplicate_combine.tsx rename to src/platform/packages/shared/kbn-dom-drag-drop/src/drop_targets/swap_duplicate_combine.tsx diff --git a/packages/kbn-dom-drag-drop/src/droppable.test.tsx b/src/platform/packages/shared/kbn-dom-drag-drop/src/droppable.test.tsx similarity index 100% rename from packages/kbn-dom-drag-drop/src/droppable.test.tsx rename to src/platform/packages/shared/kbn-dom-drag-drop/src/droppable.test.tsx diff --git a/packages/kbn-dom-drag-drop/src/droppable.tsx b/src/platform/packages/shared/kbn-dom-drag-drop/src/droppable.tsx similarity index 100% rename from packages/kbn-dom-drag-drop/src/droppable.tsx rename to src/platform/packages/shared/kbn-dom-drag-drop/src/droppable.tsx diff --git a/packages/kbn-dom-drag-drop/src/index.ts b/src/platform/packages/shared/kbn-dom-drag-drop/src/index.ts similarity index 100% rename from packages/kbn-dom-drag-drop/src/index.ts rename to src/platform/packages/shared/kbn-dom-drag-drop/src/index.ts diff --git a/packages/kbn-dom-drag-drop/src/providers/announcements.tsx b/src/platform/packages/shared/kbn-dom-drag-drop/src/providers/announcements.tsx similarity index 100% rename from packages/kbn-dom-drag-drop/src/providers/announcements.tsx rename to src/platform/packages/shared/kbn-dom-drag-drop/src/providers/announcements.tsx diff --git a/packages/kbn-dom-drag-drop/src/providers/index.tsx b/src/platform/packages/shared/kbn-dom-drag-drop/src/providers/index.tsx similarity index 100% rename from packages/kbn-dom-drag-drop/src/providers/index.tsx rename to src/platform/packages/shared/kbn-dom-drag-drop/src/providers/index.tsx diff --git a/packages/kbn-dom-drag-drop/src/providers/providers.test.tsx b/src/platform/packages/shared/kbn-dom-drag-drop/src/providers/providers.test.tsx similarity index 100% rename from packages/kbn-dom-drag-drop/src/providers/providers.test.tsx rename to src/platform/packages/shared/kbn-dom-drag-drop/src/providers/providers.test.tsx diff --git a/packages/kbn-dom-drag-drop/src/providers/providers.tsx b/src/platform/packages/shared/kbn-dom-drag-drop/src/providers/providers.tsx similarity index 100% rename from packages/kbn-dom-drag-drop/src/providers/providers.tsx rename to src/platform/packages/shared/kbn-dom-drag-drop/src/providers/providers.tsx diff --git a/packages/kbn-dom-drag-drop/src/providers/reorder_provider.tsx b/src/platform/packages/shared/kbn-dom-drag-drop/src/providers/reorder_provider.tsx similarity index 100% rename from packages/kbn-dom-drag-drop/src/providers/reorder_provider.tsx rename to src/platform/packages/shared/kbn-dom-drag-drop/src/providers/reorder_provider.tsx diff --git a/packages/kbn-dom-drag-drop/src/providers/types.tsx b/src/platform/packages/shared/kbn-dom-drag-drop/src/providers/types.tsx similarity index 100% rename from packages/kbn-dom-drag-drop/src/providers/types.tsx rename to src/platform/packages/shared/kbn-dom-drag-drop/src/providers/types.tsx diff --git a/packages/kbn-dom-drag-drop/src/sass/drag_drop_mixins.scss b/src/platform/packages/shared/kbn-dom-drag-drop/src/sass/drag_drop_mixins.scss similarity index 100% rename from packages/kbn-dom-drag-drop/src/sass/drag_drop_mixins.scss rename to src/platform/packages/shared/kbn-dom-drag-drop/src/sass/drag_drop_mixins.scss diff --git a/packages/kbn-dom-drag-drop/src/sass/draggable.scss b/src/platform/packages/shared/kbn-dom-drag-drop/src/sass/draggable.scss similarity index 100% rename from packages/kbn-dom-drag-drop/src/sass/draggable.scss rename to src/platform/packages/shared/kbn-dom-drag-drop/src/sass/draggable.scss diff --git a/packages/kbn-dom-drag-drop/src/sass/droppable.scss b/src/platform/packages/shared/kbn-dom-drag-drop/src/sass/droppable.scss similarity index 100% rename from packages/kbn-dom-drag-drop/src/sass/droppable.scss rename to src/platform/packages/shared/kbn-dom-drag-drop/src/sass/droppable.scss diff --git a/packages/kbn-dom-drag-drop/src/test_utils.tsx b/src/platform/packages/shared/kbn-dom-drag-drop/src/test_utils.tsx similarity index 100% rename from packages/kbn-dom-drag-drop/src/test_utils.tsx rename to src/platform/packages/shared/kbn-dom-drag-drop/src/test_utils.tsx diff --git a/packages/kbn-dom-drag-drop/src/types.ts b/src/platform/packages/shared/kbn-dom-drag-drop/src/types.ts similarity index 100% rename from packages/kbn-dom-drag-drop/src/types.ts rename to src/platform/packages/shared/kbn-dom-drag-drop/src/types.ts diff --git a/packages/kbn-dom-drag-drop/tsconfig.json b/src/platform/packages/shared/kbn-dom-drag-drop/tsconfig.json similarity index 77% rename from packages/kbn-dom-drag-drop/tsconfig.json rename to src/platform/packages/shared/kbn-dom-drag-drop/tsconfig.json index 32c95c26ba416..4ba5250fed361 100644 --- a/packages/kbn-dom-drag-drop/tsconfig.json +++ b/src/platform/packages/shared/kbn-dom-drag-drop/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/packages/kbn-event-annotation-common/README.md b/src/platform/packages/shared/kbn-event-annotation-common/README.md similarity index 100% rename from packages/kbn-event-annotation-common/README.md rename to src/platform/packages/shared/kbn-event-annotation-common/README.md diff --git a/packages/kbn-event-annotation-common/index.ts b/src/platform/packages/shared/kbn-event-annotation-common/index.ts similarity index 100% rename from packages/kbn-event-annotation-common/index.ts rename to src/platform/packages/shared/kbn-event-annotation-common/index.ts diff --git a/packages/kbn-managed-content-badge/jest.config.js b/src/platform/packages/shared/kbn-event-annotation-common/jest.config.js similarity index 82% rename from packages/kbn-managed-content-badge/jest.config.js rename to src/platform/packages/shared/kbn-event-annotation-common/jest.config.js index 59f8560574997..5a8665ff7b363 100644 --- a/packages/kbn-managed-content-badge/jest.config.js +++ b/src/platform/packages/shared/kbn-event-annotation-common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-managed-content-badge'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-event-annotation-common'], }; diff --git a/packages/kbn-event-annotation-common/kibana.jsonc b/src/platform/packages/shared/kbn-event-annotation-common/kibana.jsonc similarity index 100% rename from packages/kbn-event-annotation-common/kibana.jsonc rename to src/platform/packages/shared/kbn-event-annotation-common/kibana.jsonc diff --git a/packages/kbn-event-annotation-common/package.json b/src/platform/packages/shared/kbn-event-annotation-common/package.json similarity index 100% rename from packages/kbn-event-annotation-common/package.json rename to src/platform/packages/shared/kbn-event-annotation-common/package.json diff --git a/packages/kbn-event-annotation-common/tsconfig.json b/src/platform/packages/shared/kbn-event-annotation-common/tsconfig.json similarity index 87% rename from packages/kbn-event-annotation-common/tsconfig.json rename to src/platform/packages/shared/kbn-event-annotation-common/tsconfig.json index e3e84223bbbe7..92d1688fc2c05 100644 --- a/packages/kbn-event-annotation-common/tsconfig.json +++ b/src/platform/packages/shared/kbn-event-annotation-common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-event-annotation-common/types.ts b/src/platform/packages/shared/kbn-event-annotation-common/types.ts similarity index 100% rename from packages/kbn-event-annotation-common/types.ts rename to src/platform/packages/shared/kbn-event-annotation-common/types.ts diff --git a/packages/kbn-event-annotation-common/util.ts b/src/platform/packages/shared/kbn-event-annotation-common/util.ts similarity index 100% rename from packages/kbn-event-annotation-common/util.ts rename to src/platform/packages/shared/kbn-event-annotation-common/util.ts diff --git a/packages/kbn-event-annotation-components/README.md b/src/platform/packages/shared/kbn-event-annotation-components/README.md similarity index 100% rename from packages/kbn-event-annotation-components/README.md rename to src/platform/packages/shared/kbn-event-annotation-components/README.md diff --git a/packages/kbn-event-annotation-components/components/annotation_editor_controls/annotation_editor_controls.tsx b/src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/annotation_editor_controls.tsx similarity index 100% rename from packages/kbn-event-annotation-components/components/annotation_editor_controls/annotation_editor_controls.tsx rename to src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/annotation_editor_controls.tsx diff --git a/packages/kbn-event-annotation-components/components/annotation_editor_controls/helpers.ts b/src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/helpers.ts similarity index 100% rename from packages/kbn-event-annotation-components/components/annotation_editor_controls/helpers.ts rename to src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/helpers.ts diff --git a/packages/kbn-event-annotation-components/components/annotation_editor_controls/icon_set.ts b/src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/icon_set.ts similarity index 100% rename from packages/kbn-event-annotation-components/components/annotation_editor_controls/icon_set.ts rename to src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/icon_set.ts diff --git a/packages/kbn-event-annotation-components/components/annotation_editor_controls/index.scss b/src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/index.scss similarity index 100% rename from packages/kbn-event-annotation-components/components/annotation_editor_controls/index.scss rename to src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/index.scss diff --git a/packages/kbn-event-annotation-components/components/annotation_editor_controls/index.test.tsx b/src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/index.test.tsx similarity index 100% rename from packages/kbn-event-annotation-components/components/annotation_editor_controls/index.test.tsx rename to src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/index.test.tsx diff --git a/packages/kbn-event-annotation-components/components/annotation_editor_controls/index.tsx b/src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/index.tsx similarity index 100% rename from packages/kbn-event-annotation-components/components/annotation_editor_controls/index.tsx rename to src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/index.tsx diff --git a/packages/kbn-event-annotation-components/components/annotation_editor_controls/manual_annotation_panel.tsx b/src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/manual_annotation_panel.tsx similarity index 100% rename from packages/kbn-event-annotation-components/components/annotation_editor_controls/manual_annotation_panel.tsx rename to src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/manual_annotation_panel.tsx diff --git a/packages/kbn-event-annotation-components/components/annotation_editor_controls/query_annotation_panel.tsx b/src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/query_annotation_panel.tsx similarity index 100% rename from packages/kbn-event-annotation-components/components/annotation_editor_controls/query_annotation_panel.tsx rename to src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/query_annotation_panel.tsx diff --git a/packages/kbn-event-annotation-components/components/annotation_editor_controls/range_annotation_panel.tsx b/src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/range_annotation_panel.tsx similarity index 100% rename from packages/kbn-event-annotation-components/components/annotation_editor_controls/range_annotation_panel.tsx rename to src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/range_annotation_panel.tsx diff --git a/packages/kbn-event-annotation-components/components/annotation_editor_controls/tooltip_annotation_panel.tsx b/src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/tooltip_annotation_panel.tsx similarity index 100% rename from packages/kbn-event-annotation-components/components/annotation_editor_controls/tooltip_annotation_panel.tsx rename to src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/tooltip_annotation_panel.tsx diff --git a/packages/kbn-event-annotation-components/components/annotation_editor_controls/types.ts b/src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/types.ts similarity index 100% rename from packages/kbn-event-annotation-components/components/annotation_editor_controls/types.ts rename to src/platform/packages/shared/kbn-event-annotation-components/components/annotation_editor_controls/types.ts diff --git a/packages/kbn-event-annotation-components/components/event_annotation_group_saved_object_finder.tsx b/src/platform/packages/shared/kbn-event-annotation-components/components/event_annotation_group_saved_object_finder.tsx similarity index 100% rename from packages/kbn-event-annotation-components/components/event_annotation_group_saved_object_finder.tsx rename to src/platform/packages/shared/kbn-event-annotation-components/components/event_annotation_group_saved_object_finder.tsx diff --git a/packages/kbn-event-annotation-components/components/get_annotation_accessor.ts b/src/platform/packages/shared/kbn-event-annotation-components/components/get_annotation_accessor.ts similarity index 100% rename from packages/kbn-event-annotation-components/components/get_annotation_accessor.ts rename to src/platform/packages/shared/kbn-event-annotation-components/components/get_annotation_accessor.ts diff --git a/packages/kbn-event-annotation-components/components/index.ts b/src/platform/packages/shared/kbn-event-annotation-components/components/index.ts similarity index 100% rename from packages/kbn-event-annotation-components/components/index.ts rename to src/platform/packages/shared/kbn-event-annotation-components/components/index.ts diff --git a/packages/kbn-event-annotation-components/constants.ts b/src/platform/packages/shared/kbn-event-annotation-components/constants.ts similarity index 100% rename from packages/kbn-event-annotation-components/constants.ts rename to src/platform/packages/shared/kbn-event-annotation-components/constants.ts diff --git a/packages/kbn-event-annotation-components/index.ts b/src/platform/packages/shared/kbn-event-annotation-components/index.ts similarity index 100% rename from packages/kbn-event-annotation-components/index.ts rename to src/platform/packages/shared/kbn-event-annotation-components/index.ts diff --git a/packages/kbn-visualization-ui-components/jest.config.js b/src/platform/packages/shared/kbn-event-annotation-components/jest.config.js similarity index 82% rename from packages/kbn-visualization-ui-components/jest.config.js rename to src/platform/packages/shared/kbn-event-annotation-components/jest.config.js index 08b801fcbb173..47328ffafe5f8 100644 --- a/packages/kbn-visualization-ui-components/jest.config.js +++ b/src/platform/packages/shared/kbn-event-annotation-components/jest.config.js @@ -9,7 +9,7 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-visualization-ui-components'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-event-annotation-components'], setupFiles: ['jest-canvas-mock'], }; diff --git a/packages/kbn-event-annotation-components/kibana.jsonc b/src/platform/packages/shared/kbn-event-annotation-components/kibana.jsonc similarity index 100% rename from packages/kbn-event-annotation-components/kibana.jsonc rename to src/platform/packages/shared/kbn-event-annotation-components/kibana.jsonc diff --git a/packages/kbn-event-annotation-components/package.json b/src/platform/packages/shared/kbn-event-annotation-components/package.json similarity index 100% rename from packages/kbn-event-annotation-components/package.json rename to src/platform/packages/shared/kbn-event-annotation-components/package.json diff --git a/packages/kbn-event-annotation-components/tsconfig.json b/src/platform/packages/shared/kbn-event-annotation-components/tsconfig.json similarity index 92% rename from packages/kbn-event-annotation-components/tsconfig.json rename to src/platform/packages/shared/kbn-event-annotation-components/tsconfig.json index e7e5f468f4665..037ef70bfaf82 100644 --- a/packages/kbn-event-annotation-components/tsconfig.json +++ b/src/platform/packages/shared/kbn-event-annotation-components/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-event-annotation-components/types.ts b/src/platform/packages/shared/kbn-event-annotation-components/types.ts similarity index 100% rename from packages/kbn-event-annotation-components/types.ts rename to src/platform/packages/shared/kbn-event-annotation-components/types.ts diff --git a/packages/kbn-interpreter/index.ts b/src/platform/packages/shared/kbn-interpreter/index.ts similarity index 100% rename from packages/kbn-interpreter/index.ts rename to src/platform/packages/shared/kbn-interpreter/index.ts diff --git a/packages/kbn-interpreter/jest.config.js b/src/platform/packages/shared/kbn-interpreter/jest.config.js similarity index 83% rename from packages/kbn-interpreter/jest.config.js rename to src/platform/packages/shared/kbn-interpreter/jest.config.js index 38ae40dedaa75..7156f951efd39 100644 --- a/packages/kbn-interpreter/jest.config.js +++ b/src/platform/packages/shared/kbn-interpreter/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-interpreter'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-interpreter'], }; diff --git a/packages/kbn-interpreter/kibana.jsonc b/src/platform/packages/shared/kbn-interpreter/kibana.jsonc similarity index 100% rename from packages/kbn-interpreter/kibana.jsonc rename to src/platform/packages/shared/kbn-interpreter/kibana.jsonc diff --git a/packages/kbn-interpreter/package.json b/src/platform/packages/shared/kbn-interpreter/package.json similarity index 100% rename from packages/kbn-interpreter/package.json rename to src/platform/packages/shared/kbn-interpreter/package.json diff --git a/packages/kbn-interpreter/src/common/index.ts b/src/platform/packages/shared/kbn-interpreter/src/common/index.ts similarity index 100% rename from packages/kbn-interpreter/src/common/index.ts rename to src/platform/packages/shared/kbn-interpreter/src/common/index.ts diff --git a/packages/kbn-interpreter/src/common/lib/arg.js b/src/platform/packages/shared/kbn-interpreter/src/common/lib/arg.js similarity index 100% rename from packages/kbn-interpreter/src/common/lib/arg.js rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/arg.js diff --git a/packages/kbn-interpreter/src/common/lib/arg.test.js b/src/platform/packages/shared/kbn-interpreter/src/common/lib/arg.test.js similarity index 100% rename from packages/kbn-interpreter/src/common/lib/arg.test.js rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/arg.test.js diff --git a/packages/kbn-interpreter/src/common/lib/ast/ast.ts b/src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/ast.ts similarity index 100% rename from packages/kbn-interpreter/src/common/lib/ast/ast.ts rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/ast.ts diff --git a/packages/kbn-interpreter/src/common/lib/ast/compare.ts b/src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/compare.ts similarity index 100% rename from packages/kbn-interpreter/src/common/lib/ast/compare.ts rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/compare.ts diff --git a/packages/kbn-interpreter/src/common/lib/ast/from_expression.test.js b/src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/from_expression.test.js similarity index 100% rename from packages/kbn-interpreter/src/common/lib/ast/from_expression.test.js rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/from_expression.test.js diff --git a/packages/kbn-interpreter/src/common/lib/ast/from_expression.ts b/src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/from_expression.ts similarity index 100% rename from packages/kbn-interpreter/src/common/lib/ast/from_expression.ts rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/from_expression.ts diff --git a/packages/kbn-interpreter/src/common/lib/ast/index.ts b/src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/index.ts similarity index 100% rename from packages/kbn-interpreter/src/common/lib/ast/index.ts rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/index.ts diff --git a/packages/kbn-interpreter/src/common/lib/ast/patch.ts b/src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/patch.ts similarity index 100% rename from packages/kbn-interpreter/src/common/lib/ast/patch.ts rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/patch.ts diff --git a/packages/kbn-interpreter/src/common/lib/ast/safe_element_from_expression.ts b/src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/safe_element_from_expression.ts similarity index 100% rename from packages/kbn-interpreter/src/common/lib/ast/safe_element_from_expression.ts rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/safe_element_from_expression.ts diff --git a/packages/kbn-interpreter/src/common/lib/ast/to_expression.test.js b/src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/to_expression.test.js similarity index 100% rename from packages/kbn-interpreter/src/common/lib/ast/to_expression.test.js rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/to_expression.test.js diff --git a/packages/kbn-interpreter/src/common/lib/ast/to_expression.ts b/src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/to_expression.ts similarity index 100% rename from packages/kbn-interpreter/src/common/lib/ast/to_expression.ts rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/ast/to_expression.ts diff --git a/packages/kbn-interpreter/src/common/lib/cast.js b/src/platform/packages/shared/kbn-interpreter/src/common/lib/cast.js similarity index 100% rename from packages/kbn-interpreter/src/common/lib/cast.js rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/cast.js diff --git a/packages/kbn-interpreter/src/common/lib/fn.js b/src/platform/packages/shared/kbn-interpreter/src/common/lib/fn.js similarity index 100% rename from packages/kbn-interpreter/src/common/lib/fn.js rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/fn.js diff --git a/packages/kbn-interpreter/src/common/lib/get_by_alias.js b/src/platform/packages/shared/kbn-interpreter/src/common/lib/get_by_alias.js similarity index 100% rename from packages/kbn-interpreter/src/common/lib/get_by_alias.js rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/get_by_alias.js diff --git a/packages/kbn-interpreter/src/common/lib/get_by_alias.test.js b/src/platform/packages/shared/kbn-interpreter/src/common/lib/get_by_alias.test.js similarity index 100% rename from packages/kbn-interpreter/src/common/lib/get_by_alias.test.js rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/get_by_alias.test.js diff --git a/packages/kbn-interpreter/src/common/lib/get_type.ts b/src/platform/packages/shared/kbn-interpreter/src/common/lib/get_type.ts similarity index 100% rename from packages/kbn-interpreter/src/common/lib/get_type.ts rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/get_type.ts diff --git a/packages/kbn-interpreter/src/common/lib/grammar.peggy b/src/platform/packages/shared/kbn-interpreter/src/common/lib/grammar.peggy similarity index 100% rename from packages/kbn-interpreter/src/common/lib/grammar.peggy rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/grammar.peggy diff --git a/packages/kbn-interpreter/src/common/lib/grammar.peggy.config.json b/src/platform/packages/shared/kbn-interpreter/src/common/lib/grammar.peggy.config.json similarity index 100% rename from packages/kbn-interpreter/src/common/lib/grammar.peggy.config.json rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/grammar.peggy.config.json diff --git a/packages/kbn-interpreter/src/common/lib/parse.ts b/src/platform/packages/shared/kbn-interpreter/src/common/lib/parse.ts similarity index 100% rename from packages/kbn-interpreter/src/common/lib/parse.ts rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/parse.ts diff --git a/packages/kbn-interpreter/src/common/lib/registry.test.js b/src/platform/packages/shared/kbn-interpreter/src/common/lib/registry.test.js similarity index 100% rename from packages/kbn-interpreter/src/common/lib/registry.test.js rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/registry.test.js diff --git a/packages/kbn-interpreter/src/common/lib/registry.ts b/src/platform/packages/shared/kbn-interpreter/src/common/lib/registry.ts similarity index 100% rename from packages/kbn-interpreter/src/common/lib/registry.ts rename to src/platform/packages/shared/kbn-interpreter/src/common/lib/registry.ts diff --git a/packages/kbn-interpreter/src/common/registries.js b/src/platform/packages/shared/kbn-interpreter/src/common/registries.js similarity index 100% rename from packages/kbn-interpreter/src/common/registries.js rename to src/platform/packages/shared/kbn-interpreter/src/common/registries.js diff --git a/packages/kbn-interpreter/tsconfig.json b/src/platform/packages/shared/kbn-interpreter/tsconfig.json similarity index 85% rename from packages/kbn-interpreter/tsconfig.json rename to src/platform/packages/shared/kbn-interpreter/tsconfig.json index dc10af2e6fba6..fb931cd43f9f7 100644 --- a/packages/kbn-interpreter/tsconfig.json +++ b/src/platform/packages/shared/kbn-interpreter/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-sort-predicates/README.md b/src/platform/packages/shared/kbn-sort-predicates/README.md similarity index 100% rename from packages/kbn-sort-predicates/README.md rename to src/platform/packages/shared/kbn-sort-predicates/README.md diff --git a/packages/kbn-sort-predicates/index.ts b/src/platform/packages/shared/kbn-sort-predicates/index.ts similarity index 100% rename from packages/kbn-sort-predicates/index.ts rename to src/platform/packages/shared/kbn-sort-predicates/index.ts diff --git a/src/platform/packages/shared/kbn-sort-predicates/jest.config.js b/src/platform/packages/shared/kbn-sort-predicates/jest.config.js new file mode 100644 index 0000000000000..460bbf6ab7d2c --- /dev/null +++ b/src/platform/packages/shared/kbn-sort-predicates/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-sort-predicates'], +}; diff --git a/packages/kbn-sort-predicates/kibana.jsonc b/src/platform/packages/shared/kbn-sort-predicates/kibana.jsonc similarity index 100% rename from packages/kbn-sort-predicates/kibana.jsonc rename to src/platform/packages/shared/kbn-sort-predicates/kibana.jsonc diff --git a/packages/kbn-sort-predicates/package.json b/src/platform/packages/shared/kbn-sort-predicates/package.json similarity index 100% rename from packages/kbn-sort-predicates/package.json rename to src/platform/packages/shared/kbn-sort-predicates/package.json diff --git a/packages/kbn-sort-predicates/src/sorting.test.ts b/src/platform/packages/shared/kbn-sort-predicates/src/sorting.test.ts similarity index 100% rename from packages/kbn-sort-predicates/src/sorting.test.ts rename to src/platform/packages/shared/kbn-sort-predicates/src/sorting.test.ts diff --git a/packages/kbn-sort-predicates/src/sorting.ts b/src/platform/packages/shared/kbn-sort-predicates/src/sorting.ts similarity index 100% rename from packages/kbn-sort-predicates/src/sorting.ts rename to src/platform/packages/shared/kbn-sort-predicates/src/sorting.ts diff --git a/packages/kbn-sort-predicates/tsconfig.json b/src/platform/packages/shared/kbn-sort-predicates/tsconfig.json similarity index 84% rename from packages/kbn-sort-predicates/tsconfig.json rename to src/platform/packages/shared/kbn-sort-predicates/tsconfig.json index 3bc215c57f5e7..f8a02093c39a6 100644 --- a/packages/kbn-sort-predicates/tsconfig.json +++ b/src/platform/packages/shared/kbn-sort-predicates/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-visualization-ui-components/README.md b/src/platform/packages/shared/kbn-visualization-ui-components/README.md similarity index 100% rename from packages/kbn-visualization-ui-components/README.md rename to src/platform/packages/shared/kbn-visualization-ui-components/README.md diff --git a/packages/kbn-visualization-ui-components/components/chart_switch_trigger.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/chart_switch_trigger.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/chart_switch_trigger.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/chart_switch_trigger.tsx diff --git a/packages/kbn-visualization-ui-components/components/color_picker.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/color_picker.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/color_picker.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/color_picker.tsx diff --git a/packages/kbn-visualization-ui-components/components/debounced_input.test.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/debounced_input.test.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/debounced_input.test.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/debounced_input.test.tsx diff --git a/packages/kbn-visualization-ui-components/components/debounced_input.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/debounced_input.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/debounced_input.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/debounced_input.tsx diff --git a/packages/kbn-visualization-ui-components/components/dimension_buttons/constants.ts b/src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/constants.ts similarity index 100% rename from packages/kbn-visualization-ui-components/components/dimension_buttons/constants.ts rename to src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/constants.ts diff --git a/packages/kbn-visualization-ui-components/components/dimension_buttons/dimension_button.test.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/dimension_button.test.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/dimension_buttons/dimension_button.test.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/dimension_button.test.tsx diff --git a/packages/kbn-visualization-ui-components/components/dimension_buttons/dimension_button.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/dimension_button.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/dimension_buttons/dimension_button.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/dimension_button.tsx diff --git a/packages/kbn-visualization-ui-components/components/dimension_buttons/dimension_button_icon.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/dimension_button_icon.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/dimension_buttons/dimension_button_icon.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/dimension_button_icon.tsx diff --git a/packages/kbn-visualization-ui-components/components/dimension_buttons/empty_button.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/empty_button.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/dimension_buttons/empty_button.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/empty_button.tsx diff --git a/packages/kbn-visualization-ui-components/components/dimension_buttons/index.ts b/src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/index.ts similarity index 100% rename from packages/kbn-visualization-ui-components/components/dimension_buttons/index.ts rename to src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/index.ts diff --git a/packages/kbn-visualization-ui-components/components/dimension_buttons/palette_indicator.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/palette_indicator.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/dimension_buttons/palette_indicator.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/palette_indicator.tsx diff --git a/packages/kbn-visualization-ui-components/components/dimension_buttons/trigger.test.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/trigger.test.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/dimension_buttons/trigger.test.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/trigger.test.tsx diff --git a/packages/kbn-visualization-ui-components/components/dimension_buttons/trigger.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/trigger.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/dimension_buttons/trigger.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/trigger.tsx diff --git a/packages/kbn-visualization-ui-components/components/dimension_buttons/types.ts b/src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/types.ts similarity index 100% rename from packages/kbn-visualization-ui-components/components/dimension_buttons/types.ts rename to src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_buttons/types.ts diff --git a/packages/kbn-visualization-ui-components/components/dimension_editor_section.scss b/src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_editor_section.scss similarity index 100% rename from packages/kbn-visualization-ui-components/components/dimension_editor_section.scss rename to src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_editor_section.scss diff --git a/packages/kbn-visualization-ui-components/components/dimension_editor_section.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_editor_section.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/dimension_editor_section.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/dimension_editor_section.tsx diff --git a/packages/kbn-visualization-ui-components/components/drag_drop_bucket/buckets.test.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/drag_drop_bucket/buckets.test.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/drag_drop_bucket/buckets.test.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/drag_drop_bucket/buckets.test.tsx diff --git a/packages/kbn-visualization-ui-components/components/drag_drop_bucket/buckets.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/drag_drop_bucket/buckets.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/drag_drop_bucket/buckets.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/drag_drop_bucket/buckets.tsx diff --git a/packages/kbn-visualization-ui-components/components/drag_drop_bucket/default_bucket_container.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/drag_drop_bucket/default_bucket_container.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/drag_drop_bucket/default_bucket_container.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/drag_drop_bucket/default_bucket_container.tsx diff --git a/packages/kbn-visualization-ui-components/components/drag_drop_bucket/fields_bucket_container.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/drag_drop_bucket/fields_bucket_container.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/drag_drop_bucket/fields_bucket_container.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/drag_drop_bucket/fields_bucket_container.tsx diff --git a/packages/kbn-visualization-ui-components/components/drag_drop_bucket/index.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/drag_drop_bucket/index.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/drag_drop_bucket/index.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/drag_drop_bucket/index.tsx diff --git a/packages/kbn-visualization-ui-components/components/drag_drop_bucket/new_bucket_button.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/drag_drop_bucket/new_bucket_button.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/drag_drop_bucket/new_bucket_button.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/drag_drop_bucket/new_bucket_button.tsx diff --git a/packages/kbn-visualization-ui-components/components/drag_drop_bucket/types.ts b/src/platform/packages/shared/kbn-visualization-ui-components/components/drag_drop_bucket/types.ts similarity index 100% rename from packages/kbn-visualization-ui-components/components/drag_drop_bucket/types.ts rename to src/platform/packages/shared/kbn-visualization-ui-components/components/drag_drop_bucket/types.ts diff --git a/packages/kbn-visualization-ui-components/components/field_picker/field_picker.scss b/src/platform/packages/shared/kbn-visualization-ui-components/components/field_picker/field_picker.scss similarity index 100% rename from packages/kbn-visualization-ui-components/components/field_picker/field_picker.scss rename to src/platform/packages/shared/kbn-visualization-ui-components/components/field_picker/field_picker.scss diff --git a/packages/kbn-visualization-ui-components/components/field_picker/field_picker.test.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/field_picker/field_picker.test.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/field_picker/field_picker.test.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/field_picker/field_picker.test.tsx diff --git a/packages/kbn-visualization-ui-components/components/field_picker/field_picker.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/field_picker/field_picker.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/field_picker/field_picker.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/field_picker/field_picker.tsx diff --git a/packages/kbn-visualization-ui-components/components/field_picker/index.ts b/src/platform/packages/shared/kbn-visualization-ui-components/components/field_picker/index.ts similarity index 100% rename from packages/kbn-visualization-ui-components/components/field_picker/index.ts rename to src/platform/packages/shared/kbn-visualization-ui-components/components/field_picker/index.ts diff --git a/packages/kbn-visualization-ui-components/components/field_picker/types.ts b/src/platform/packages/shared/kbn-visualization-ui-components/components/field_picker/types.ts similarity index 100% rename from packages/kbn-visualization-ui-components/components/field_picker/types.ts rename to src/platform/packages/shared/kbn-visualization-ui-components/components/field_picker/types.ts diff --git a/packages/kbn-visualization-ui-components/components/icon_select.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/icon_select.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/icon_select.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/icon_select.tsx diff --git a/packages/kbn-visualization-ui-components/components/index.ts b/src/platform/packages/shared/kbn-visualization-ui-components/components/index.ts similarity index 100% rename from packages/kbn-visualization-ui-components/components/index.ts rename to src/platform/packages/shared/kbn-visualization-ui-components/components/index.ts diff --git a/packages/kbn-visualization-ui-components/components/line_style_settings.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/line_style_settings.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/line_style_settings.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/line_style_settings.tsx diff --git a/packages/kbn-visualization-ui-components/components/name_input.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/name_input.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/name_input.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/name_input.tsx diff --git a/packages/kbn-visualization-ui-components/components/query_input/filter_query_input.scss b/src/platform/packages/shared/kbn-visualization-ui-components/components/query_input/filter_query_input.scss similarity index 100% rename from packages/kbn-visualization-ui-components/components/query_input/filter_query_input.scss rename to src/platform/packages/shared/kbn-visualization-ui-components/components/query_input/filter_query_input.scss diff --git a/packages/kbn-visualization-ui-components/components/query_input/filter_query_input.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/query_input/filter_query_input.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/query_input/filter_query_input.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/query_input/filter_query_input.tsx diff --git a/packages/kbn-visualization-ui-components/components/query_input/helpers.ts b/src/platform/packages/shared/kbn-visualization-ui-components/components/query_input/helpers.ts similarity index 100% rename from packages/kbn-visualization-ui-components/components/query_input/helpers.ts rename to src/platform/packages/shared/kbn-visualization-ui-components/components/query_input/helpers.ts diff --git a/packages/kbn-visualization-ui-components/components/query_input/index.ts b/src/platform/packages/shared/kbn-visualization-ui-components/components/query_input/index.ts similarity index 100% rename from packages/kbn-visualization-ui-components/components/query_input/index.ts rename to src/platform/packages/shared/kbn-visualization-ui-components/components/query_input/index.ts diff --git a/packages/kbn-visualization-ui-components/components/query_input/query_input.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/query_input/query_input.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/query_input/query_input.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/query_input/query_input.tsx diff --git a/packages/kbn-visualization-ui-components/components/text_decoration_setting.tsx b/src/platform/packages/shared/kbn-visualization-ui-components/components/text_decoration_setting.tsx similarity index 100% rename from packages/kbn-visualization-ui-components/components/text_decoration_setting.tsx rename to src/platform/packages/shared/kbn-visualization-ui-components/components/text_decoration_setting.tsx diff --git a/packages/kbn-visualization-ui-components/index.ts b/src/platform/packages/shared/kbn-visualization-ui-components/index.ts similarity index 100% rename from packages/kbn-visualization-ui-components/index.ts rename to src/platform/packages/shared/kbn-visualization-ui-components/index.ts diff --git a/packages/kbn-event-annotation-components/jest.config.js b/src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js similarity index 82% rename from packages/kbn-event-annotation-components/jest.config.js rename to src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js index 62b40300befaa..1c68c8f7ae555 100644 --- a/packages/kbn-event-annotation-components/jest.config.js +++ b/src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js @@ -9,7 +9,7 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-event-annotation-components'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-visualization-ui-components'], setupFiles: ['jest-canvas-mock'], }; diff --git a/packages/kbn-visualization-ui-components/kibana.jsonc b/src/platform/packages/shared/kbn-visualization-ui-components/kibana.jsonc similarity index 100% rename from packages/kbn-visualization-ui-components/kibana.jsonc rename to src/platform/packages/shared/kbn-visualization-ui-components/kibana.jsonc diff --git a/packages/kbn-visualization-ui-components/package.json b/src/platform/packages/shared/kbn-visualization-ui-components/package.json similarity index 100% rename from packages/kbn-visualization-ui-components/package.json rename to src/platform/packages/shared/kbn-visualization-ui-components/package.json diff --git a/packages/kbn-visualization-ui-components/tsconfig.json b/src/platform/packages/shared/kbn-visualization-ui-components/tsconfig.json similarity index 94% rename from packages/kbn-visualization-ui-components/tsconfig.json rename to src/platform/packages/shared/kbn-visualization-ui-components/tsconfig.json index 9a32aedb62a4c..f65b144e8b86d 100644 --- a/packages/kbn-visualization-ui-components/tsconfig.json +++ b/src/platform/packages/shared/kbn-visualization-ui-components/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-visualization-ui-components/types.ts b/src/platform/packages/shared/kbn-visualization-ui-components/types.ts similarity index 100% rename from packages/kbn-visualization-ui-components/types.ts rename to src/platform/packages/shared/kbn-visualization-ui-components/types.ts diff --git a/packages/kbn-visualization-ui-components/util.ts b/src/platform/packages/shared/kbn-visualization-ui-components/util.ts similarity index 100% rename from packages/kbn-visualization-ui-components/util.ts rename to src/platform/packages/shared/kbn-visualization-ui-components/util.ts diff --git a/packages/kbn-visualization-utils/README.md b/src/platform/packages/shared/kbn-visualization-utils/README.md similarity index 100% rename from packages/kbn-visualization-utils/README.md rename to src/platform/packages/shared/kbn-visualization-utils/README.md diff --git a/packages/kbn-visualization-utils/__mocks__/suggestions_mock.ts b/src/platform/packages/shared/kbn-visualization-utils/__mocks__/suggestions_mock.ts similarity index 100% rename from packages/kbn-visualization-utils/__mocks__/suggestions_mock.ts rename to src/platform/packages/shared/kbn-visualization-utils/__mocks__/suggestions_mock.ts diff --git a/packages/kbn-visualization-utils/index.ts b/src/platform/packages/shared/kbn-visualization-utils/index.ts similarity index 100% rename from packages/kbn-visualization-utils/index.ts rename to src/platform/packages/shared/kbn-visualization-utils/index.ts diff --git a/src/platform/packages/shared/kbn-visualization-utils/jest.config.js b/src/platform/packages/shared/kbn-visualization-utils/jest.config.js new file mode 100644 index 0000000000000..56dbc512a68b0 --- /dev/null +++ b/src/platform/packages/shared/kbn-visualization-utils/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-visualization-utils'], +}; diff --git a/packages/kbn-visualization-utils/kibana.jsonc b/src/platform/packages/shared/kbn-visualization-utils/kibana.jsonc similarity index 100% rename from packages/kbn-visualization-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-visualization-utils/kibana.jsonc diff --git a/packages/kbn-visualization-utils/package.json b/src/platform/packages/shared/kbn-visualization-utils/package.json similarity index 100% rename from packages/kbn-visualization-utils/package.json rename to src/platform/packages/shared/kbn-visualization-utils/package.json diff --git a/packages/kbn-visualization-utils/src/debounced_value.test.ts b/src/platform/packages/shared/kbn-visualization-utils/src/debounced_value.test.ts similarity index 100% rename from packages/kbn-visualization-utils/src/debounced_value.test.ts rename to src/platform/packages/shared/kbn-visualization-utils/src/debounced_value.test.ts diff --git a/packages/kbn-visualization-utils/src/debounced_value.ts b/src/platform/packages/shared/kbn-visualization-utils/src/debounced_value.ts similarity index 100% rename from packages/kbn-visualization-utils/src/debounced_value.ts rename to src/platform/packages/shared/kbn-visualization-utils/src/debounced_value.ts diff --git a/packages/kbn-visualization-utils/src/get_datasource_id.ts b/src/platform/packages/shared/kbn-visualization-utils/src/get_datasource_id.ts similarity index 100% rename from packages/kbn-visualization-utils/src/get_datasource_id.ts rename to src/platform/packages/shared/kbn-visualization-utils/src/get_datasource_id.ts diff --git a/packages/kbn-visualization-utils/src/get_lens_attributes.test.ts b/src/platform/packages/shared/kbn-visualization-utils/src/get_lens_attributes.test.ts similarity index 100% rename from packages/kbn-visualization-utils/src/get_lens_attributes.test.ts rename to src/platform/packages/shared/kbn-visualization-utils/src/get_lens_attributes.test.ts diff --git a/packages/kbn-visualization-utils/src/get_lens_attributes.ts b/src/platform/packages/shared/kbn-visualization-utils/src/get_lens_attributes.ts similarity index 100% rename from packages/kbn-visualization-utils/src/get_lens_attributes.ts rename to src/platform/packages/shared/kbn-visualization-utils/src/get_lens_attributes.ts diff --git a/packages/kbn-visualization-utils/src/get_timezone.test.ts b/src/platform/packages/shared/kbn-visualization-utils/src/get_timezone.test.ts similarity index 100% rename from packages/kbn-visualization-utils/src/get_timezone.test.ts rename to src/platform/packages/shared/kbn-visualization-utils/src/get_timezone.test.ts diff --git a/packages/kbn-visualization-utils/src/get_timezone.ts b/src/platform/packages/shared/kbn-visualization-utils/src/get_timezone.ts similarity index 100% rename from packages/kbn-visualization-utils/src/get_timezone.ts rename to src/platform/packages/shared/kbn-visualization-utils/src/get_timezone.ts diff --git a/packages/kbn-visualization-utils/src/map_vis_to_chart_type.ts b/src/platform/packages/shared/kbn-visualization-utils/src/map_vis_to_chart_type.ts similarity index 100% rename from packages/kbn-visualization-utils/src/map_vis_to_chart_type.ts rename to src/platform/packages/shared/kbn-visualization-utils/src/map_vis_to_chart_type.ts diff --git a/packages/kbn-visualization-utils/src/tooltip_wrapper.tsx b/src/platform/packages/shared/kbn-visualization-utils/src/tooltip_wrapper.tsx similarity index 100% rename from packages/kbn-visualization-utils/src/tooltip_wrapper.tsx rename to src/platform/packages/shared/kbn-visualization-utils/src/tooltip_wrapper.tsx diff --git a/packages/kbn-visualization-utils/src/types.ts b/src/platform/packages/shared/kbn-visualization-utils/src/types.ts similarity index 100% rename from packages/kbn-visualization-utils/src/types.ts rename to src/platform/packages/shared/kbn-visualization-utils/src/types.ts diff --git a/packages/kbn-visualization-utils/tsconfig.json b/src/platform/packages/shared/kbn-visualization-utils/tsconfig.json similarity index 85% rename from packages/kbn-visualization-utils/tsconfig.json rename to src/platform/packages/shared/kbn-visualization-utils/tsconfig.json index 5c2e71305c3fe..edb910462f51a 100644 --- a/packages/kbn-visualization-utils/tsconfig.json +++ b/src/platform/packages/shared/kbn-visualization-utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "include": ["*.ts", "src/**/*", "__mocks__/**/*.ts"], "compilerOptions": { "outDir": "target/types" diff --git a/src/plugins/event_annotation/.i18nrc.json b/src/platform/plugins/private/event_annotation/.i18nrc.json similarity index 100% rename from src/plugins/event_annotation/.i18nrc.json rename to src/platform/plugins/private/event_annotation/.i18nrc.json diff --git a/src/plugins/event_annotation/README.md b/src/platform/plugins/private/event_annotation/README.md similarity index 100% rename from src/plugins/event_annotation/README.md rename to src/platform/plugins/private/event_annotation/README.md diff --git a/src/plugins/event_annotation/common/constants.ts b/src/platform/plugins/private/event_annotation/common/constants.ts similarity index 100% rename from src/plugins/event_annotation/common/constants.ts rename to src/platform/plugins/private/event_annotation/common/constants.ts diff --git a/src/plugins/event_annotation/common/content_management/constants.ts b/src/platform/plugins/private/event_annotation/common/content_management/constants.ts similarity index 100% rename from src/plugins/event_annotation/common/content_management/constants.ts rename to src/platform/plugins/private/event_annotation/common/content_management/constants.ts diff --git a/src/plugins/event_annotation/common/content_management/index.ts b/src/platform/plugins/private/event_annotation/common/content_management/index.ts similarity index 100% rename from src/plugins/event_annotation/common/content_management/index.ts rename to src/platform/plugins/private/event_annotation/common/content_management/index.ts diff --git a/src/plugins/event_annotation/common/content_management/latest.ts b/src/platform/plugins/private/event_annotation/common/content_management/latest.ts similarity index 100% rename from src/plugins/event_annotation/common/content_management/latest.ts rename to src/platform/plugins/private/event_annotation/common/content_management/latest.ts diff --git a/src/plugins/event_annotation/common/content_management/types.ts b/src/platform/plugins/private/event_annotation/common/content_management/types.ts similarity index 100% rename from src/plugins/event_annotation/common/content_management/types.ts rename to src/platform/plugins/private/event_annotation/common/content_management/types.ts diff --git a/src/plugins/event_annotation/common/content_management/v1/index.ts b/src/platform/plugins/private/event_annotation/common/content_management/v1/index.ts similarity index 100% rename from src/plugins/event_annotation/common/content_management/v1/index.ts rename to src/platform/plugins/private/event_annotation/common/content_management/v1/index.ts diff --git a/src/plugins/event_annotation/common/content_management/v1/types.ts b/src/platform/plugins/private/event_annotation/common/content_management/v1/types.ts similarity index 100% rename from src/plugins/event_annotation/common/content_management/v1/types.ts rename to src/platform/plugins/private/event_annotation/common/content_management/v1/types.ts diff --git a/src/plugins/event_annotation/common/event_annotation_group/index.ts b/src/platform/plugins/private/event_annotation/common/event_annotation_group/index.ts similarity index 100% rename from src/plugins/event_annotation/common/event_annotation_group/index.ts rename to src/platform/plugins/private/event_annotation/common/event_annotation_group/index.ts diff --git a/src/plugins/event_annotation/common/fetch_event_annotation/index.ts b/src/platform/plugins/private/event_annotation/common/fetch_event_annotation/index.ts similarity index 100% rename from src/plugins/event_annotation/common/fetch_event_annotation/index.ts rename to src/platform/plugins/private/event_annotation/common/fetch_event_annotation/index.ts diff --git a/src/plugins/event_annotation/common/fetch_event_annotations/fetch_event_annotations_fn.ts b/src/platform/plugins/private/event_annotation/common/fetch_event_annotations/fetch_event_annotations_fn.ts similarity index 100% rename from src/plugins/event_annotation/common/fetch_event_annotations/fetch_event_annotations_fn.ts rename to src/platform/plugins/private/event_annotation/common/fetch_event_annotations/fetch_event_annotations_fn.ts diff --git a/src/plugins/event_annotation/common/fetch_event_annotations/handle_request.ts b/src/platform/plugins/private/event_annotation/common/fetch_event_annotations/handle_request.ts similarity index 100% rename from src/plugins/event_annotation/common/fetch_event_annotations/handle_request.ts rename to src/platform/plugins/private/event_annotation/common/fetch_event_annotations/handle_request.ts diff --git a/src/plugins/event_annotation/common/fetch_event_annotations/index.ts b/src/platform/plugins/private/event_annotation/common/fetch_event_annotations/index.ts similarity index 100% rename from src/plugins/event_annotation/common/fetch_event_annotations/index.ts rename to src/platform/plugins/private/event_annotation/common/fetch_event_annotations/index.ts diff --git a/src/plugins/event_annotation/common/fetch_event_annotations/request_event_annotations.ts b/src/platform/plugins/private/event_annotation/common/fetch_event_annotations/request_event_annotations.ts similarity index 100% rename from src/plugins/event_annotation/common/fetch_event_annotations/request_event_annotations.ts rename to src/platform/plugins/private/event_annotation/common/fetch_event_annotations/request_event_annotations.ts diff --git a/src/plugins/event_annotation/common/fetch_event_annotations/types.ts b/src/platform/plugins/private/event_annotation/common/fetch_event_annotations/types.ts similarity index 100% rename from src/plugins/event_annotation/common/fetch_event_annotations/types.ts rename to src/platform/plugins/private/event_annotation/common/fetch_event_annotations/types.ts diff --git a/src/plugins/event_annotation/common/fetch_event_annotations/utils.ts b/src/platform/plugins/private/event_annotation/common/fetch_event_annotations/utils.ts similarity index 100% rename from src/plugins/event_annotation/common/fetch_event_annotations/utils.ts rename to src/platform/plugins/private/event_annotation/common/fetch_event_annotations/utils.ts diff --git a/src/plugins/event_annotation/common/index.ts b/src/platform/plugins/private/event_annotation/common/index.ts similarity index 100% rename from src/plugins/event_annotation/common/index.ts rename to src/platform/plugins/private/event_annotation/common/index.ts diff --git a/src/plugins/event_annotation/common/manual_event_annotation/index.ts b/src/platform/plugins/private/event_annotation/common/manual_event_annotation/index.ts similarity index 100% rename from src/plugins/event_annotation/common/manual_event_annotation/index.ts rename to src/platform/plugins/private/event_annotation/common/manual_event_annotation/index.ts diff --git a/src/plugins/event_annotation/common/manual_event_annotation/types.ts b/src/platform/plugins/private/event_annotation/common/manual_event_annotation/types.ts similarity index 100% rename from src/plugins/event_annotation/common/manual_event_annotation/types.ts rename to src/platform/plugins/private/event_annotation/common/manual_event_annotation/types.ts diff --git a/src/plugins/event_annotation/common/query_point_event_annotation/index.ts b/src/platform/plugins/private/event_annotation/common/query_point_event_annotation/index.ts similarity index 100% rename from src/plugins/event_annotation/common/query_point_event_annotation/index.ts rename to src/platform/plugins/private/event_annotation/common/query_point_event_annotation/index.ts diff --git a/src/plugins/event_annotation/common/query_point_event_annotation/types.ts b/src/platform/plugins/private/event_annotation/common/query_point_event_annotation/types.ts similarity index 100% rename from src/plugins/event_annotation/common/query_point_event_annotation/types.ts rename to src/platform/plugins/private/event_annotation/common/query_point_event_annotation/types.ts diff --git a/src/plugins/event_annotation/common/types.ts b/src/platform/plugins/private/event_annotation/common/types.ts similarity index 100% rename from src/plugins/event_annotation/common/types.ts rename to src/platform/plugins/private/event_annotation/common/types.ts diff --git a/src/plugins/event_annotation_listing/jest.config.js b/src/platform/plugins/private/event_annotation/jest.config.js similarity index 66% rename from src/plugins/event_annotation_listing/jest.config.js rename to src/platform/plugins/private/event_annotation/jest.config.js index 1a1f85ef69b67..39dbe120fbcb9 100644 --- a/src/plugins/event_annotation_listing/jest.config.js +++ b/src/platform/plugins/private/event_annotation/jest.config.js @@ -9,12 +9,13 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/event_annotation_listing'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/event_annotation_listing', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/event_annotation'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/event_annotation', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/event_annotation_listing/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/private/event_annotation/{common,public,server}/**/*.{ts,tsx}', ], setupFiles: ['jest-canvas-mock'], }; diff --git a/src/plugins/event_annotation/kibana.jsonc b/src/platform/plugins/private/event_annotation/kibana.jsonc similarity index 100% rename from src/plugins/event_annotation/kibana.jsonc rename to src/platform/plugins/private/event_annotation/kibana.jsonc diff --git a/src/plugins/event_annotation/public/components/event_annotation_group_saved_object_finder.tsx b/src/platform/plugins/private/event_annotation/public/components/event_annotation_group_saved_object_finder.tsx similarity index 100% rename from src/plugins/event_annotation/public/components/event_annotation_group_saved_object_finder.tsx rename to src/platform/plugins/private/event_annotation/public/components/event_annotation_group_saved_object_finder.tsx diff --git a/src/plugins/event_annotation/public/event_annotation_service/README.md b/src/platform/plugins/private/event_annotation/public/event_annotation_service/README.md similarity index 100% rename from src/plugins/event_annotation/public/event_annotation_service/README.md rename to src/platform/plugins/private/event_annotation/public/event_annotation_service/README.md diff --git a/src/plugins/event_annotation/public/event_annotation_service/__snapshots__/service.test.ts.snap b/src/platform/plugins/private/event_annotation/public/event_annotation_service/__snapshots__/service.test.ts.snap similarity index 100% rename from src/plugins/event_annotation/public/event_annotation_service/__snapshots__/service.test.ts.snap rename to src/platform/plugins/private/event_annotation/public/event_annotation_service/__snapshots__/service.test.ts.snap diff --git a/src/plugins/event_annotation/public/event_annotation_service/index.tsx b/src/platform/plugins/private/event_annotation/public/event_annotation_service/index.tsx similarity index 100% rename from src/plugins/event_annotation/public/event_annotation_service/index.tsx rename to src/platform/plugins/private/event_annotation/public/event_annotation_service/index.tsx diff --git a/src/plugins/event_annotation/public/event_annotation_service/service.test.ts b/src/platform/plugins/private/event_annotation/public/event_annotation_service/service.test.ts similarity index 100% rename from src/plugins/event_annotation/public/event_annotation_service/service.test.ts rename to src/platform/plugins/private/event_annotation/public/event_annotation_service/service.test.ts diff --git a/src/plugins/event_annotation/public/event_annotation_service/service.tsx b/src/platform/plugins/private/event_annotation/public/event_annotation_service/service.tsx similarity index 100% rename from src/plugins/event_annotation/public/event_annotation_service/service.tsx rename to src/platform/plugins/private/event_annotation/public/event_annotation_service/service.tsx diff --git a/src/plugins/event_annotation/public/fetch_event_annotations/__snapshots__/fetch_event_annotations.test.ts.snap b/src/platform/plugins/private/event_annotation/public/fetch_event_annotations/__snapshots__/fetch_event_annotations.test.ts.snap similarity index 100% rename from src/plugins/event_annotation/public/fetch_event_annotations/__snapshots__/fetch_event_annotations.test.ts.snap rename to src/platform/plugins/private/event_annotation/public/fetch_event_annotations/__snapshots__/fetch_event_annotations.test.ts.snap diff --git a/src/plugins/event_annotation/public/fetch_event_annotations/fetch_event_annotations.test.ts b/src/platform/plugins/private/event_annotation/public/fetch_event_annotations/fetch_event_annotations.test.ts similarity index 100% rename from src/plugins/event_annotation/public/fetch_event_annotations/fetch_event_annotations.test.ts rename to src/platform/plugins/private/event_annotation/public/fetch_event_annotations/fetch_event_annotations.test.ts diff --git a/src/plugins/event_annotation/public/fetch_event_annotations/index.ts b/src/platform/plugins/private/event_annotation/public/fetch_event_annotations/index.ts similarity index 100% rename from src/plugins/event_annotation/public/fetch_event_annotations/index.ts rename to src/platform/plugins/private/event_annotation/public/fetch_event_annotations/index.ts diff --git a/src/plugins/event_annotation/public/index.ts b/src/platform/plugins/private/event_annotation/public/index.ts similarity index 100% rename from src/plugins/event_annotation/public/index.ts rename to src/platform/plugins/private/event_annotation/public/index.ts diff --git a/src/plugins/event_annotation/public/mocks.ts b/src/platform/plugins/private/event_annotation/public/mocks.ts similarity index 100% rename from src/plugins/event_annotation/public/mocks.ts rename to src/platform/plugins/private/event_annotation/public/mocks.ts diff --git a/src/plugins/event_annotation/public/plugin.ts b/src/platform/plugins/private/event_annotation/public/plugin.ts similarity index 100% rename from src/plugins/event_annotation/public/plugin.ts rename to src/platform/plugins/private/event_annotation/public/plugin.ts diff --git a/src/plugins/event_annotation/server/content_management/event_annotation_group_storage.ts b/src/platform/plugins/private/event_annotation/server/content_management/event_annotation_group_storage.ts similarity index 100% rename from src/plugins/event_annotation/server/content_management/event_annotation_group_storage.ts rename to src/platform/plugins/private/event_annotation/server/content_management/event_annotation_group_storage.ts diff --git a/src/plugins/event_annotation/server/content_management/index.ts b/src/platform/plugins/private/event_annotation/server/content_management/index.ts similarity index 100% rename from src/plugins/event_annotation/server/content_management/index.ts rename to src/platform/plugins/private/event_annotation/server/content_management/index.ts diff --git a/src/plugins/event_annotation/server/content_management/schema/cm_services.ts b/src/platform/plugins/private/event_annotation/server/content_management/schema/cm_services.ts similarity index 100% rename from src/plugins/event_annotation/server/content_management/schema/cm_services.ts rename to src/platform/plugins/private/event_annotation/server/content_management/schema/cm_services.ts diff --git a/src/plugins/event_annotation/server/content_management/schema/v1/cm_services.ts b/src/platform/plugins/private/event_annotation/server/content_management/schema/v1/cm_services.ts similarity index 100% rename from src/plugins/event_annotation/server/content_management/schema/v1/cm_services.ts rename to src/platform/plugins/private/event_annotation/server/content_management/schema/v1/cm_services.ts diff --git a/src/plugins/event_annotation/server/fetch_event_annotations/index.ts b/src/platform/plugins/private/event_annotation/server/fetch_event_annotations/index.ts similarity index 100% rename from src/plugins/event_annotation/server/fetch_event_annotations/index.ts rename to src/platform/plugins/private/event_annotation/server/fetch_event_annotations/index.ts diff --git a/src/plugins/event_annotation/server/index.ts b/src/platform/plugins/private/event_annotation/server/index.ts similarity index 100% rename from src/plugins/event_annotation/server/index.ts rename to src/platform/plugins/private/event_annotation/server/index.ts diff --git a/src/plugins/event_annotation/server/plugin.ts b/src/platform/plugins/private/event_annotation/server/plugin.ts similarity index 100% rename from src/plugins/event_annotation/server/plugin.ts rename to src/platform/plugins/private/event_annotation/server/plugin.ts diff --git a/src/plugins/event_annotation/server/saved_objects.ts b/src/platform/plugins/private/event_annotation/server/saved_objects.ts similarity index 100% rename from src/plugins/event_annotation/server/saved_objects.ts rename to src/platform/plugins/private/event_annotation/server/saved_objects.ts diff --git a/src/plugins/event_annotation/tsconfig.json b/src/platform/plugins/private/event_annotation/tsconfig.json similarity index 95% rename from src/plugins/event_annotation/tsconfig.json rename to src/platform/plugins/private/event_annotation/tsconfig.json index f6117e5f92aed..cbe947b4579fc 100644 --- a/src/plugins/event_annotation/tsconfig.json +++ b/src/platform/plugins/private/event_annotation/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/event_annotation_listing/.i18nrc.json b/src/platform/plugins/private/event_annotation_listing/.i18nrc.json similarity index 100% rename from src/plugins/event_annotation_listing/.i18nrc.json rename to src/platform/plugins/private/event_annotation_listing/.i18nrc.json diff --git a/src/plugins/event_annotation_listing/README.md b/src/platform/plugins/private/event_annotation_listing/README.md similarity index 100% rename from src/plugins/event_annotation_listing/README.md rename to src/platform/plugins/private/event_annotation_listing/README.md diff --git a/src/platform/plugins/private/event_annotation_listing/jest.config.js b/src/platform/plugins/private/event_annotation_listing/jest.config.js new file mode 100644 index 0000000000000..c6f66690b199f --- /dev/null +++ b/src/platform/plugins/private/event_annotation_listing/jest.config.js @@ -0,0 +1,21 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/event_annotation_listing'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/event_annotation_listing', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/event_annotation_listing/{common,public,server}/**/*.{ts,tsx}', + ], + setupFiles: ['jest-canvas-mock'], +}; diff --git a/src/plugins/event_annotation_listing/kibana.jsonc b/src/platform/plugins/private/event_annotation_listing/kibana.jsonc similarity index 100% rename from src/plugins/event_annotation_listing/kibana.jsonc rename to src/platform/plugins/private/event_annotation_listing/kibana.jsonc diff --git a/src/plugins/event_annotation_listing/public/components/group_editor_flyout/__snapshots__/group_editor_flyout.test.tsx.snap b/src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/__snapshots__/group_editor_flyout.test.tsx.snap similarity index 100% rename from src/plugins/event_annotation_listing/public/components/group_editor_flyout/__snapshots__/group_editor_flyout.test.tsx.snap rename to src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/__snapshots__/group_editor_flyout.test.tsx.snap diff --git a/src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/annotation_list.tsx b/src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/annotation_list.tsx similarity index 100% rename from src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/annotation_list.tsx rename to src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/annotation_list.tsx diff --git a/src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/group_editor_controls.test.tsx b/src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/group_editor_controls.test.tsx similarity index 100% rename from src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/group_editor_controls.test.tsx rename to src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/group_editor_controls.test.tsx diff --git a/src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/group_editor_controls.tsx b/src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/group_editor_controls.tsx similarity index 100% rename from src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/group_editor_controls.tsx rename to src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/group_editor_controls.tsx diff --git a/src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/index.ts b/src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/index.ts similarity index 100% rename from src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/index.ts rename to src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_editor_controls/index.ts diff --git a/src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_editor_flyout.test.tsx b/src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_editor_flyout.test.tsx similarity index 100% rename from src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_editor_flyout.test.tsx rename to src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_editor_flyout.test.tsx diff --git a/src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_editor_flyout.tsx b/src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_editor_flyout.tsx similarity index 100% rename from src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_editor_flyout.tsx rename to src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_editor_flyout.tsx diff --git a/src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_preview.test.tsx b/src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_preview.test.tsx similarity index 100% rename from src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_preview.test.tsx rename to src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_preview.test.tsx diff --git a/src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_preview.tsx b/src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_preview.tsx similarity index 100% rename from src/plugins/event_annotation_listing/public/components/group_editor_flyout/group_preview.tsx rename to src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/group_preview.tsx diff --git a/src/plugins/event_annotation_listing/public/components/group_editor_flyout/index.ts b/src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/index.ts similarity index 100% rename from src/plugins/event_annotation_listing/public/components/group_editor_flyout/index.ts rename to src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/index.ts diff --git a/src/plugins/event_annotation_listing/public/components/group_editor_flyout/lens_attributes.ts b/src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/lens_attributes.ts similarity index 100% rename from src/plugins/event_annotation_listing/public/components/group_editor_flyout/lens_attributes.ts rename to src/platform/plugins/private/event_annotation_listing/public/components/group_editor_flyout/lens_attributes.ts diff --git a/src/plugins/event_annotation_listing/public/components/table_list.test.tsx b/src/platform/plugins/private/event_annotation_listing/public/components/table_list.test.tsx similarity index 100% rename from src/plugins/event_annotation_listing/public/components/table_list.test.tsx rename to src/platform/plugins/private/event_annotation_listing/public/components/table_list.test.tsx diff --git a/src/plugins/event_annotation_listing/public/components/table_list.tsx b/src/platform/plugins/private/event_annotation_listing/public/components/table_list.tsx similarity index 100% rename from src/plugins/event_annotation_listing/public/components/table_list.tsx rename to src/platform/plugins/private/event_annotation_listing/public/components/table_list.tsx diff --git a/src/plugins/event_annotation_listing/public/constants.ts b/src/platform/plugins/private/event_annotation_listing/public/constants.ts similarity index 100% rename from src/plugins/event_annotation_listing/public/constants.ts rename to src/platform/plugins/private/event_annotation_listing/public/constants.ts diff --git a/src/plugins/event_annotation_listing/public/get_table_list.tsx b/src/platform/plugins/private/event_annotation_listing/public/get_table_list.tsx similarity index 100% rename from src/plugins/event_annotation_listing/public/get_table_list.tsx rename to src/platform/plugins/private/event_annotation_listing/public/get_table_list.tsx diff --git a/src/plugins/event_annotation_listing/public/index.ts b/src/platform/plugins/private/event_annotation_listing/public/index.ts similarity index 100% rename from src/plugins/event_annotation_listing/public/index.ts rename to src/platform/plugins/private/event_annotation_listing/public/index.ts diff --git a/src/plugins/event_annotation_listing/public/plugin.ts b/src/platform/plugins/private/event_annotation_listing/public/plugin.ts similarity index 100% rename from src/plugins/event_annotation_listing/public/plugin.ts rename to src/platform/plugins/private/event_annotation_listing/public/plugin.ts diff --git a/src/plugins/event_annotation_listing/tsconfig.json b/src/platform/plugins/private/event_annotation_listing/tsconfig.json similarity index 96% rename from src/plugins/event_annotation_listing/tsconfig.json rename to src/platform/plugins/private/event_annotation_listing/tsconfig.json index 2fb1a78ab5644..5cd9cf340bf1d 100644 --- a/src/plugins/event_annotation_listing/tsconfig.json +++ b/src/platform/plugins/private/event_annotation_listing/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/url_forwarding/README.md b/src/platform/plugins/private/url_forwarding/README.md similarity index 100% rename from src/plugins/url_forwarding/README.md rename to src/platform/plugins/private/url_forwarding/README.md diff --git a/src/plugins/chart_expressions/expression_xy/jest.config.js b/src/platform/plugins/private/url_forwarding/jest.config.js similarity index 68% rename from src/plugins/chart_expressions/expression_xy/jest.config.js rename to src/platform/plugins/private/url_forwarding/jest.config.js index f852b83ecd6ae..ed7f9d4cb0d5d 100644 --- a/src/plugins/chart_expressions/expression_xy/jest.config.js +++ b/src/platform/plugins/private/url_forwarding/jest.config.js @@ -9,12 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../../', - roots: ['/src/plugins/chart_expressions/expression_xy'], + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/url_forwarding'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_xy', + '/target/kibana-coverage/jest/src/platform/plugins/private/url_forwarding', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/chart_expressions/expression_xy/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/private/url_forwarding/public/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/url_forwarding/kibana.jsonc b/src/platform/plugins/private/url_forwarding/kibana.jsonc similarity index 100% rename from src/plugins/url_forwarding/kibana.jsonc rename to src/platform/plugins/private/url_forwarding/kibana.jsonc diff --git a/src/plugins/url_forwarding/public/forward_app/forward_app.test.ts b/src/platform/plugins/private/url_forwarding/public/forward_app/forward_app.test.ts similarity index 100% rename from src/plugins/url_forwarding/public/forward_app/forward_app.test.ts rename to src/platform/plugins/private/url_forwarding/public/forward_app/forward_app.test.ts diff --git a/src/plugins/url_forwarding/public/forward_app/forward_app.ts b/src/platform/plugins/private/url_forwarding/public/forward_app/forward_app.ts similarity index 100% rename from src/plugins/url_forwarding/public/forward_app/forward_app.ts rename to src/platform/plugins/private/url_forwarding/public/forward_app/forward_app.ts diff --git a/src/plugins/url_forwarding/public/forward_app/index.ts b/src/platform/plugins/private/url_forwarding/public/forward_app/index.ts similarity index 100% rename from src/plugins/url_forwarding/public/forward_app/index.ts rename to src/platform/plugins/private/url_forwarding/public/forward_app/index.ts diff --git a/src/plugins/url_forwarding/public/forward_app/navigate_to_legacy_kibana_url.test.ts b/src/platform/plugins/private/url_forwarding/public/forward_app/navigate_to_legacy_kibana_url.test.ts similarity index 100% rename from src/plugins/url_forwarding/public/forward_app/navigate_to_legacy_kibana_url.test.ts rename to src/platform/plugins/private/url_forwarding/public/forward_app/navigate_to_legacy_kibana_url.test.ts diff --git a/src/plugins/url_forwarding/public/forward_app/navigate_to_legacy_kibana_url.ts b/src/platform/plugins/private/url_forwarding/public/forward_app/navigate_to_legacy_kibana_url.ts similarity index 100% rename from src/plugins/url_forwarding/public/forward_app/navigate_to_legacy_kibana_url.ts rename to src/platform/plugins/private/url_forwarding/public/forward_app/navigate_to_legacy_kibana_url.ts diff --git a/src/plugins/url_forwarding/public/forward_app/normalize_path.ts b/src/platform/plugins/private/url_forwarding/public/forward_app/normalize_path.ts similarity index 100% rename from src/plugins/url_forwarding/public/forward_app/normalize_path.ts rename to src/platform/plugins/private/url_forwarding/public/forward_app/normalize_path.ts diff --git a/src/plugins/url_forwarding/public/index.ts b/src/platform/plugins/private/url_forwarding/public/index.ts similarity index 93% rename from src/plugins/url_forwarding/public/index.ts rename to src/platform/plugins/private/url_forwarding/public/index.ts index 81d14cfd5e1b3..8da437d81dbf4 100644 --- a/src/plugins/url_forwarding/public/index.ts +++ b/src/platform/plugins/private/url_forwarding/public/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110891 -/* eslint-disable @kbn/eslint/no_export_all */ import { UrlForwardingPlugin } from './plugin'; diff --git a/src/plugins/url_forwarding/public/mocks.ts b/src/platform/plugins/private/url_forwarding/public/mocks.ts similarity index 100% rename from src/plugins/url_forwarding/public/mocks.ts rename to src/platform/plugins/private/url_forwarding/public/mocks.ts diff --git a/src/plugins/url_forwarding/public/plugin.ts b/src/platform/plugins/private/url_forwarding/public/plugin.ts similarity index 100% rename from src/plugins/url_forwarding/public/plugin.ts rename to src/platform/plugins/private/url_forwarding/public/plugin.ts diff --git a/src/plugins/url_forwarding/tsconfig.json b/src/platform/plugins/private/url_forwarding/tsconfig.json similarity index 77% rename from src/plugins/url_forwarding/tsconfig.json rename to src/platform/plugins/private/url_forwarding/tsconfig.json index f4db29b839cf8..edd72af71a807 100644 --- a/src/plugins/url_forwarding/tsconfig.json +++ b/src/platform/plugins/private/url_forwarding/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/vis_default_editor/README.md b/src/platform/plugins/private/vis_default_editor/README.md similarity index 85% rename from src/plugins/vis_default_editor/README.md rename to src/platform/plugins/private/vis_default_editor/README.md index 8607dfe486ace..6b212c5fa9f61 100644 --- a/src/plugins/vis_default_editor/README.md +++ b/src/platform/plugins/private/vis_default_editor/README.md @@ -5,7 +5,7 @@ It acts as a container for a particular visualization and options tabs. Contains The plugin exposes the static `DefaultEditorController` class to consume. ```ts -import { DefaultEditorController } from '../../vis_default_editor/public'; +import { DefaultEditorController } from '../../../../vis_default_editor/public'; const editor = new DefaultEditorController( element, diff --git a/src/plugins/chart_expressions/expression_metric/jest.config.js b/src/platform/plugins/private/vis_default_editor/jest.config.js similarity index 67% rename from src/plugins/chart_expressions/expression_metric/jest.config.js rename to src/platform/plugins/private/vis_default_editor/jest.config.js index f2f48e4cd3959..9b0478534745c 100644 --- a/src/plugins/chart_expressions/expression_metric/jest.config.js +++ b/src/platform/plugins/private/vis_default_editor/jest.config.js @@ -9,12 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../../', - roots: ['/src/plugins/chart_expressions/expression_metric'], + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/vis_default_editor'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_metric', + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_default_editor', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/chart_expressions/expression_metric/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/private/vis_default_editor/public/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/vis_default_editor/kibana.jsonc b/src/platform/plugins/private/vis_default_editor/kibana.jsonc similarity index 100% rename from src/plugins/vis_default_editor/kibana.jsonc rename to src/platform/plugins/private/vis_default_editor/kibana.jsonc diff --git a/src/plugins/vis_default_editor/public/_agg.scss b/src/platform/plugins/private/vis_default_editor/public/_agg.scss similarity index 100% rename from src/plugins/vis_default_editor/public/_agg.scss rename to src/platform/plugins/private/vis_default_editor/public/_agg.scss diff --git a/src/plugins/vis_default_editor/public/_agg_params.scss b/src/platform/plugins/private/vis_default_editor/public/_agg_params.scss similarity index 100% rename from src/plugins/vis_default_editor/public/_agg_params.scss rename to src/platform/plugins/private/vis_default_editor/public/_agg_params.scss diff --git a/src/plugins/vis_default_editor/public/_default.scss b/src/platform/plugins/private/vis_default_editor/public/_default.scss similarity index 100% rename from src/plugins/vis_default_editor/public/_default.scss rename to src/platform/plugins/private/vis_default_editor/public/_default.scss diff --git a/src/plugins/vis_default_editor/public/_sidebar.scss b/src/platform/plugins/private/vis_default_editor/public/_sidebar.scss similarity index 100% rename from src/plugins/vis_default_editor/public/_sidebar.scss rename to src/platform/plugins/private/vis_default_editor/public/_sidebar.scss diff --git a/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts b/src/platform/plugins/private/vis_default_editor/public/agg_filters/agg_type_field_filters.ts similarity index 100% rename from src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts rename to src/platform/plugins/private/vis_default_editor/public/agg_filters/agg_type_field_filters.ts diff --git a/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts b/src/platform/plugins/private/vis_default_editor/public/agg_filters/agg_type_filters.ts similarity index 100% rename from src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts rename to src/platform/plugins/private/vis_default_editor/public/agg_filters/agg_type_filters.ts diff --git a/src/plugins/vis_default_editor/public/agg_filters/index.ts b/src/platform/plugins/private/vis_default_editor/public/agg_filters/index.ts similarity index 100% rename from src/plugins/vis_default_editor/public/agg_filters/index.ts rename to src/platform/plugins/private/vis_default_editor/public/agg_filters/index.ts diff --git a/src/plugins/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap b/src/platform/plugins/private/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap similarity index 100% rename from src/plugins/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap rename to src/platform/plugins/private/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap diff --git a/src/plugins/vis_default_editor/public/components/__snapshots__/agg_group.test.tsx.snap b/src/platform/plugins/private/vis_default_editor/public/components/__snapshots__/agg_group.test.tsx.snap similarity index 100% rename from src/plugins/vis_default_editor/public/components/__snapshots__/agg_group.test.tsx.snap rename to src/platform/plugins/private/vis_default_editor/public/components/__snapshots__/agg_group.test.tsx.snap diff --git a/src/plugins/vis_default_editor/public/components/agg.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/agg.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/agg.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/agg.tsx b/src/platform/plugins/private/vis_default_editor/public/components/agg.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/agg.tsx diff --git a/src/plugins/vis_default_editor/public/components/agg_add.tsx b/src/platform/plugins/private/vis_default_editor/public/components/agg_add.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_add.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/agg_add.tsx diff --git a/src/plugins/vis_default_editor/public/components/agg_common_props.ts b/src/platform/plugins/private/vis_default_editor/public/components/agg_common_props.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_common_props.ts rename to src/platform/plugins/private/vis_default_editor/public/components/agg_common_props.ts diff --git a/src/plugins/vis_default_editor/public/components/agg_group.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/agg_group.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_group.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/agg_group.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/agg_group.tsx b/src/platform/plugins/private/vis_default_editor/public/components/agg_group.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_group.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/agg_group.tsx diff --git a/src/plugins/vis_default_editor/public/components/agg_group_helper.test.ts b/src/platform/plugins/private/vis_default_editor/public/components/agg_group_helper.test.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_group_helper.test.ts rename to src/platform/plugins/private/vis_default_editor/public/components/agg_group_helper.test.ts diff --git a/src/plugins/vis_default_editor/public/components/agg_group_helper.tsx b/src/platform/plugins/private/vis_default_editor/public/components/agg_group_helper.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_group_helper.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/agg_group_helper.tsx diff --git a/src/plugins/vis_default_editor/public/components/agg_group_state.tsx b/src/platform/plugins/private/vis_default_editor/public/components/agg_group_state.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_group_state.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/agg_group_state.tsx diff --git a/src/plugins/vis_default_editor/public/components/agg_param.tsx b/src/platform/plugins/private/vis_default_editor/public/components/agg_param.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_param.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/agg_param.tsx diff --git a/src/plugins/vis_default_editor/public/components/agg_param_props.ts b/src/platform/plugins/private/vis_default_editor/public/components/agg_param_props.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_param_props.ts rename to src/platform/plugins/private/vis_default_editor/public/components/agg_param_props.ts diff --git a/src/plugins/vis_default_editor/public/components/agg_params.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/agg_params.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_params.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/agg_params.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/agg_params.tsx b/src/platform/plugins/private/vis_default_editor/public/components/agg_params.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_params.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/agg_params.tsx diff --git a/src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts b/src/platform/plugins/private/vis_default_editor/public/components/agg_params_helper.test.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts rename to src/platform/plugins/private/vis_default_editor/public/components/agg_params_helper.test.ts diff --git a/src/plugins/vis_default_editor/public/components/agg_params_helper.ts b/src/platform/plugins/private/vis_default_editor/public/components/agg_params_helper.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_params_helper.ts rename to src/platform/plugins/private/vis_default_editor/public/components/agg_params_helper.ts diff --git a/src/plugins/vis_default_editor/public/components/agg_params_map.ts b/src/platform/plugins/private/vis_default_editor/public/components/agg_params_map.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_params_map.ts rename to src/platform/plugins/private/vis_default_editor/public/components/agg_params_map.ts diff --git a/src/plugins/vis_default_editor/public/components/agg_params_state.ts b/src/platform/plugins/private/vis_default_editor/public/components/agg_params_state.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_params_state.ts rename to src/platform/plugins/private/vis_default_editor/public/components/agg_params_state.ts diff --git a/src/plugins/vis_default_editor/public/components/agg_select.tsx b/src/platform/plugins/private/vis_default_editor/public/components/agg_select.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/agg_select.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/agg_select.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/__snapshots__/extended_bounds.test.tsx.snap b/src/platform/plugins/private/vis_default_editor/public/components/controls/__snapshots__/extended_bounds.test.tsx.snap similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/__snapshots__/extended_bounds.test.tsx.snap rename to src/platform/plugins/private/vis_default_editor/public/components/controls/__snapshots__/extended_bounds.test.tsx.snap diff --git a/src/plugins/vis_default_editor/public/components/controls/__snapshots__/metric_agg.test.tsx.snap b/src/platform/plugins/private/vis_default_editor/public/components/controls/__snapshots__/metric_agg.test.tsx.snap similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/__snapshots__/metric_agg.test.tsx.snap rename to src/platform/plugins/private/vis_default_editor/public/components/controls/__snapshots__/metric_agg.test.tsx.snap diff --git a/src/plugins/vis_default_editor/public/components/controls/__snapshots__/size.test.tsx.snap b/src/platform/plugins/private/vis_default_editor/public/components/controls/__snapshots__/size.test.tsx.snap similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/__snapshots__/size.test.tsx.snap rename to src/platform/plugins/private/vis_default_editor/public/components/controls/__snapshots__/size.test.tsx.snap diff --git a/src/plugins/vis_default_editor/public/components/controls/__snapshots__/time_interval.test.tsx.snap b/src/platform/plugins/private/vis_default_editor/public/components/controls/__snapshots__/time_interval.test.tsx.snap similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/__snapshots__/time_interval.test.tsx.snap rename to src/platform/plugins/private/vis_default_editor/public/components/controls/__snapshots__/time_interval.test.tsx.snap diff --git a/src/plugins/vis_default_editor/public/components/controls/__snapshots__/top_aggregate.test.tsx.snap b/src/platform/plugins/private/vis_default_editor/public/components/controls/__snapshots__/top_aggregate.test.tsx.snap similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/__snapshots__/top_aggregate.test.tsx.snap rename to src/platform/plugins/private/vis_default_editor/public/components/controls/__snapshots__/top_aggregate.test.tsx.snap diff --git a/src/plugins/vis_default_editor/public/components/controls/agg_control_props.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/agg_control_props.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/agg_control_props.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/agg_control_props.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/agg_utils.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/agg_utils.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/agg_utils.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/agg_utils.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/components/from_to_list.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/from_to_list.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/from_to_list.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/from_to_list.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/components/input_list.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/input_list.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/input_list.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/input_list.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/components/mask_list.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/mask_list.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/mask_list.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/mask_list.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/__snapshots__/number_list.test.tsx.snap b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/__snapshots__/number_list.test.tsx.snap similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/number_list/__snapshots__/number_list.test.tsx.snap rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/__snapshots__/number_list.test.tsx.snap diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/__snapshots__/number_row.test.tsx.snap b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/__snapshots__/number_row.test.tsx.snap similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/number_list/__snapshots__/number_row.test.tsx.snap rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/__snapshots__/number_row.test.tsx.snap diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/index.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/index.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/number_list/index.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/index.ts diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_list.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/number_list.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/number_list/number_list.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/number_list.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_list.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/number_list.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/number_list/number_list.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/number_list.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_row.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/number_row.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/number_list/number_row.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/number_row.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/number_row.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/number_row.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/number_list/number_row.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/number_row.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/range.test.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/range.test.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/number_list/range.test.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/range.test.ts diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/range.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/range.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/number_list/range.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/range.ts diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/utils.test.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/utils.test.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/number_list/utils.test.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/utils.test.ts diff --git a/src/plugins/vis_default_editor/public/components/controls/components/number_list/utils.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/utils.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/number_list/utils.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/number_list/utils.ts diff --git a/src/plugins/vis_default_editor/public/components/controls/components/simple_number_list.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/components/simple_number_list.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/components/simple_number_list.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/components/simple_number_list.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/date_ranges.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/date_ranges.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/date_ranges.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/date_ranges.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/date_ranges.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/date_ranges.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/date_ranges.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/date_ranges.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/drop_partials.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/drop_partials.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/drop_partials.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/drop_partials.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/extended_bounds.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/extended_bounds.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/extended_bounds.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/extended_bounds.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/extended_bounds.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/extended_bounds.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/extended_bounds.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/extended_bounds.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/field.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/field.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/field.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/field.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/field.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/field.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/field.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/field.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/filter.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/filter.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/filter.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/filter.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/filters.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/filters.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/filters.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/filters.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/has_extended_bounds.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/has_extended_bounds.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/has_extended_bounds.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/has_extended_bounds.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/include_exclude.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/include_exclude.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/include_exclude.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/include_exclude.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/index.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/index.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/index.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/index.ts diff --git a/src/plugins/vis_default_editor/public/components/controls/ip_prefix.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/ip_prefix.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/ip_prefix.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/ip_prefix.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/ip_range_type.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/ip_range_type.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/ip_range_type.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/ip_range_type.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/ip_ranges.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/ip_ranges.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/ip_ranges.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/ip_ranges.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/max_bars.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/max_bars.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/max_bars.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/max_bars.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/metric_agg.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/metric_agg.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/metric_agg.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/metric_agg.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/metric_agg.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/metric_agg.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/metric_agg.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/metric_agg.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/min_doc_count.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/min_doc_count.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/min_doc_count.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/min_doc_count.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/missing_bucket.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/missing_bucket.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/missing_bucket.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/missing_bucket.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/number_interval.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/number_interval.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/number_interval.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/number_interval.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/order.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/order.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/order.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/order.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/order_agg.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/order_agg.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/order_agg.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/order_agg.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/order_agg.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/order_agg.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/order_agg.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/order_agg.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/order_by.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/order_by.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/order_by.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/order_by.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/other_bucket.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/other_bucket.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/other_bucket.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/other_bucket.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/palette_picker.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/palette_picker.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/palette_picker.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/palette_picker.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/palette_picker.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/palette_picker.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/palette_picker.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/palette_picker.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/percentile_ranks.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/percentile_ranks.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/percentile_ranks.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/percentile_ranks.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/percentiles.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/percentiles.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/percentiles.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/percentiles.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/percentiles.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/percentiles.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/percentiles.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/percentiles.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/radius_ratio_option.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/radius_ratio_option.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/radius_ratio_option.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/radius_ratio_option.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/range_control.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/range_control.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/range_control.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/range_control.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/ranges.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/ranges.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/ranges.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/ranges.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/raw_json.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/raw_json.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/raw_json.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/raw_json.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/rows_or_columns.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/rows_or_columns.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/rows_or_columns.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/rows_or_columns.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/scale_metrics.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/scale_metrics.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/scale_metrics.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/scale_metrics.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/size.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/size.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/size.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/size.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/size.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/size.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/size.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/size.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/string.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/string.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/string.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/string.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/sub_agg.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/sub_agg.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/sub_agg.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/sub_agg.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/sub_metric.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/sub_metric.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/sub_metric.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/sub_metric.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/switch.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/switch.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/switch.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/switch.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/test_utils.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/test_utils.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/test_utils.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/test_utils.ts diff --git a/src/plugins/vis_default_editor/public/components/controls/time_interval.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/time_interval.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/time_interval.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/time_interval.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/time_interval.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/time_interval.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/time_interval.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/time_interval.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/top_aggregate.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/top_aggregate.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/top_aggregate.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/top_aggregate.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/top_aggregate.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/top_aggregate.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/top_aggregate.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/top_aggregate.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/top_field.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/top_field.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/top_field.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/top_field.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/top_size.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/top_size.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/top_size.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/top_size.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/top_sort_field.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/top_sort_field.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/agg_utils.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/utils/agg_utils.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/utils/agg_utils.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/utils/agg_utils.ts diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/index.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/utils/index.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/utils/index.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/utils/index.ts diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/inline_comp_wrapper.tsx b/src/platform/plugins/private/vis_default_editor/public/components/controls/utils/inline_comp_wrapper.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/utils/inline_comp_wrapper.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/controls/utils/inline_comp_wrapper.tsx diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.test.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.test.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.test.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.test.ts diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/utils/strings/comma_separated_list.ts diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/strings/index.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/utils/strings/index.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/utils/strings/index.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/utils/strings/index.ts diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/strings/prose.test.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/utils/strings/prose.test.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/utils/strings/prose.test.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/utils/strings/prose.test.ts diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/strings/prose.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/utils/strings/prose.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/utils/strings/prose.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/utils/strings/prose.ts diff --git a/src/plugins/vis_default_editor/public/components/controls/utils/use_handlers.ts b/src/platform/plugins/private/vis_default_editor/public/components/controls/utils/use_handlers.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/controls/utils/use_handlers.ts rename to src/platform/plugins/private/vis_default_editor/public/components/controls/utils/use_handlers.ts diff --git a/src/plugins/vis_default_editor/public/components/options/basic_options.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/basic_options.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/basic_options.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/basic_options.tsx diff --git a/src/plugins/vis_default_editor/public/components/options/color_ranges.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/color_ranges.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/color_ranges.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/color_ranges.tsx diff --git a/src/plugins/vis_default_editor/public/components/options/color_schema.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/color_schema.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/color_schema.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/color_schema.tsx diff --git a/src/plugins/vis_default_editor/public/components/options/index.ts b/src/platform/plugins/private/vis_default_editor/public/components/options/index.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/index.ts rename to src/platform/plugins/private/vis_default_editor/public/components/options/index.ts diff --git a/src/plugins/vis_default_editor/public/components/options/legend_size_settings.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/legend_size_settings.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/legend_size_settings.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/legend_size_settings.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/options/legend_size_settings.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/legend_size_settings.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/legend_size_settings.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/legend_size_settings.tsx diff --git a/src/plugins/vis_default_editor/public/components/options/long_legend_options.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/long_legend_options.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/long_legend_options.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/long_legend_options.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/options/long_legend_options.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/long_legend_options.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/long_legend_options.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/long_legend_options.tsx diff --git a/src/plugins/vis_default_editor/public/components/options/number_input.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/number_input.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/number_input.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/number_input.tsx diff --git a/src/plugins/vis_default_editor/public/components/options/percentage_mode.test.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/percentage_mode.test.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/percentage_mode.test.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/percentage_mode.test.tsx diff --git a/src/plugins/vis_default_editor/public/components/options/percentage_mode.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/percentage_mode.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/percentage_mode.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/percentage_mode.tsx diff --git a/src/plugins/vis_default_editor/public/components/options/range.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/range.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/range.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/range.tsx diff --git a/src/plugins/vis_default_editor/public/components/options/required_number_input.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/required_number_input.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/required_number_input.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/required_number_input.tsx diff --git a/src/plugins/vis_default_editor/public/components/options/select.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/select.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/select.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/select.tsx diff --git a/src/plugins/vis_default_editor/public/components/options/switch.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/switch.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/switch.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/switch.tsx diff --git a/src/plugins/vis_default_editor/public/components/options/text_input.tsx b/src/platform/plugins/private/vis_default_editor/public/components/options/text_input.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/options/text_input.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/options/text_input.tsx diff --git a/src/plugins/vis_default_editor/public/components/sidebar/controls.tsx b/src/platform/plugins/private/vis_default_editor/public/components/sidebar/controls.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/sidebar/controls.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/sidebar/controls.tsx diff --git a/src/plugins/vis_default_editor/public/components/sidebar/data_tab.tsx b/src/platform/plugins/private/vis_default_editor/public/components/sidebar/data_tab.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/sidebar/data_tab.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/sidebar/data_tab.tsx diff --git a/src/plugins/vis_default_editor/public/components/sidebar/index.ts b/src/platform/plugins/private/vis_default_editor/public/components/sidebar/index.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/sidebar/index.ts rename to src/platform/plugins/private/vis_default_editor/public/components/sidebar/index.ts diff --git a/src/plugins/vis_default_editor/public/components/sidebar/navbar.tsx b/src/platform/plugins/private/vis_default_editor/public/components/sidebar/navbar.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/sidebar/navbar.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/sidebar/navbar.tsx diff --git a/src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx b/src/platform/plugins/private/vis_default_editor/public/components/sidebar/sidebar.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/sidebar/sidebar.tsx diff --git a/src/plugins/vis_default_editor/public/components/sidebar/sidebar_title.tsx b/src/platform/plugins/private/vis_default_editor/public/components/sidebar/sidebar_title.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/components/sidebar/sidebar_title.tsx rename to src/platform/plugins/private/vis_default_editor/public/components/sidebar/sidebar_title.tsx diff --git a/src/plugins/vis_default_editor/public/components/sidebar/state/actions.ts b/src/platform/plugins/private/vis_default_editor/public/components/sidebar/state/actions.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/sidebar/state/actions.ts rename to src/platform/plugins/private/vis_default_editor/public/components/sidebar/state/actions.ts diff --git a/src/plugins/vis_default_editor/public/components/sidebar/state/constants.ts b/src/platform/plugins/private/vis_default_editor/public/components/sidebar/state/constants.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/sidebar/state/constants.ts rename to src/platform/plugins/private/vis_default_editor/public/components/sidebar/state/constants.ts diff --git a/src/plugins/vis_default_editor/public/components/sidebar/state/editor_form_state.ts b/src/platform/plugins/private/vis_default_editor/public/components/sidebar/state/editor_form_state.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/sidebar/state/editor_form_state.ts rename to src/platform/plugins/private/vis_default_editor/public/components/sidebar/state/editor_form_state.ts diff --git a/src/plugins/vis_default_editor/public/components/sidebar/state/index.ts b/src/platform/plugins/private/vis_default_editor/public/components/sidebar/state/index.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/sidebar/state/index.ts rename to src/platform/plugins/private/vis_default_editor/public/components/sidebar/state/index.ts diff --git a/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts b/src/platform/plugins/private/vis_default_editor/public/components/sidebar/state/reducers.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts rename to src/platform/plugins/private/vis_default_editor/public/components/sidebar/state/reducers.ts diff --git a/src/plugins/vis_default_editor/public/components/sidebar/use_option_tabs.ts b/src/platform/plugins/private/vis_default_editor/public/components/sidebar/use_option_tabs.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/sidebar/use_option_tabs.ts rename to src/platform/plugins/private/vis_default_editor/public/components/sidebar/use_option_tabs.ts diff --git a/src/plugins/vis_default_editor/public/components/utils/editor_config.ts b/src/platform/plugins/private/vis_default_editor/public/components/utils/editor_config.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/utils/editor_config.ts rename to src/platform/plugins/private/vis_default_editor/public/components/utils/editor_config.ts diff --git a/src/plugins/vis_default_editor/public/components/utils/index.ts b/src/platform/plugins/private/vis_default_editor/public/components/utils/index.ts similarity index 100% rename from src/plugins/vis_default_editor/public/components/utils/index.ts rename to src/platform/plugins/private/vis_default_editor/public/components/utils/index.ts diff --git a/src/plugins/vis_default_editor/public/default_editor.tsx b/src/platform/plugins/private/vis_default_editor/public/default_editor.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/default_editor.tsx rename to src/platform/plugins/private/vis_default_editor/public/default_editor.tsx diff --git a/src/plugins/vis_default_editor/public/default_editor_controller.tsx b/src/platform/plugins/private/vis_default_editor/public/default_editor_controller.tsx similarity index 100% rename from src/plugins/vis_default_editor/public/default_editor_controller.tsx rename to src/platform/plugins/private/vis_default_editor/public/default_editor_controller.tsx diff --git a/src/plugins/vis_default_editor/public/editor_size.ts b/src/platform/plugins/private/vis_default_editor/public/editor_size.ts similarity index 100% rename from src/plugins/vis_default_editor/public/editor_size.ts rename to src/platform/plugins/private/vis_default_editor/public/editor_size.ts diff --git a/src/plugins/vis_default_editor/public/index.scss b/src/platform/plugins/private/vis_default_editor/public/index.scss similarity index 100% rename from src/plugins/vis_default_editor/public/index.scss rename to src/platform/plugins/private/vis_default_editor/public/index.scss diff --git a/src/plugins/vis_default_editor/public/index.ts b/src/platform/plugins/private/vis_default_editor/public/index.ts similarity index 100% rename from src/plugins/vis_default_editor/public/index.ts rename to src/platform/plugins/private/vis_default_editor/public/index.ts diff --git a/src/plugins/vis_default_editor/public/plugin.ts b/src/platform/plugins/private/vis_default_editor/public/plugin.ts similarity index 100% rename from src/plugins/vis_default_editor/public/plugin.ts rename to src/platform/plugins/private/vis_default_editor/public/plugin.ts diff --git a/src/plugins/vis_default_editor/public/schemas.ts b/src/platform/plugins/private/vis_default_editor/public/schemas.ts similarity index 100% rename from src/plugins/vis_default_editor/public/schemas.ts rename to src/platform/plugins/private/vis_default_editor/public/schemas.ts diff --git a/src/plugins/vis_default_editor/public/services.ts b/src/platform/plugins/private/vis_default_editor/public/services.ts similarity index 100% rename from src/plugins/vis_default_editor/public/services.ts rename to src/platform/plugins/private/vis_default_editor/public/services.ts diff --git a/src/plugins/vis_default_editor/public/types.ts b/src/platform/plugins/private/vis_default_editor/public/types.ts similarity index 100% rename from src/plugins/vis_default_editor/public/types.ts rename to src/platform/plugins/private/vis_default_editor/public/types.ts diff --git a/src/plugins/vis_default_editor/public/utils.test.ts b/src/platform/plugins/private/vis_default_editor/public/utils.test.ts similarity index 100% rename from src/plugins/vis_default_editor/public/utils.test.ts rename to src/platform/plugins/private/vis_default_editor/public/utils.test.ts diff --git a/src/plugins/vis_default_editor/public/utils.ts b/src/platform/plugins/private/vis_default_editor/public/utils.ts similarity index 100% rename from src/plugins/vis_default_editor/public/utils.ts rename to src/platform/plugins/private/vis_default_editor/public/utils.ts diff --git a/src/plugins/vis_default_editor/tsconfig.json b/src/platform/plugins/private/vis_default_editor/tsconfig.json similarity index 93% rename from src/plugins/vis_default_editor/tsconfig.json rename to src/platform/plugins/private/vis_default_editor/tsconfig.json index e3eef1bdcd326..df31f0b196ab6 100644 --- a/src/plugins/vis_default_editor/tsconfig.json +++ b/src/platform/plugins/private/vis_default_editor/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/vis_types/gauge/common/index.ts b/src/platform/plugins/private/vis_types/gauge/common/index.ts similarity index 100% rename from src/plugins/vis_types/gauge/common/index.ts rename to src/platform/plugins/private/vis_types/gauge/common/index.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/jest.config.js b/src/platform/plugins/private/vis_types/gauge/jest.config.js similarity index 67% rename from src/plugins/chart_expressions/expression_heatmap/jest.config.js rename to src/platform/plugins/private/vis_types/gauge/jest.config.js index f1424f95bf184..03e931c487cfa 100644 --- a/src/plugins/chart_expressions/expression_heatmap/jest.config.js +++ b/src/platform/plugins/private/vis_types/gauge/jest.config.js @@ -9,12 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../../', - roots: ['/src/plugins/chart_expressions/expression_heatmap'], + rootDir: '../../../../../..', + roots: ['/src/platform/plugins/private/vis_types/gauge'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_heatmap', + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/gauge', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/chart_expressions/expression_heatmap/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/private/vis_types/gauge/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/vis_types/gauge/kibana.jsonc b/src/platform/plugins/private/vis_types/gauge/kibana.jsonc similarity index 100% rename from src/plugins/vis_types/gauge/kibana.jsonc rename to src/platform/plugins/private/vis_types/gauge/kibana.jsonc diff --git a/src/plugins/vis_types/gauge/public/__snapshots__/to_ast.test.ts.snap b/src/platform/plugins/private/vis_types/gauge/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/vis_types/gauge/public/__snapshots__/to_ast.test.ts.snap rename to src/platform/plugins/private/vis_types/gauge/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/vis_types/gauge/public/convert_to_lens/configurations/gauge.test.ts b/src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/configurations/gauge.test.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/convert_to_lens/configurations/gauge.test.ts rename to src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/configurations/gauge.test.ts diff --git a/src/plugins/vis_types/gauge/public/convert_to_lens/configurations/gauge.ts b/src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/configurations/gauge.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/convert_to_lens/configurations/gauge.ts rename to src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/configurations/gauge.ts diff --git a/src/plugins/vis_types/gauge/public/convert_to_lens/configurations/goal.test.ts b/src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/configurations/goal.test.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/convert_to_lens/configurations/goal.test.ts rename to src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/configurations/goal.test.ts diff --git a/src/plugins/vis_types/gauge/public/convert_to_lens/configurations/goal.ts b/src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/configurations/goal.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/convert_to_lens/configurations/goal.ts rename to src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/configurations/goal.ts diff --git a/src/plugins/vis_types/gauge/public/convert_to_lens/gauge.test.ts b/src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/gauge.test.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/convert_to_lens/gauge.test.ts rename to src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/gauge.test.ts diff --git a/src/plugins/vis_types/gauge/public/convert_to_lens/gauge.ts b/src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/gauge.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/convert_to_lens/gauge.ts rename to src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/gauge.ts diff --git a/src/plugins/vis_types/gauge/public/convert_to_lens/goal.test.ts b/src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/goal.test.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/convert_to_lens/goal.test.ts rename to src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/goal.test.ts diff --git a/src/plugins/vis_types/gauge/public/convert_to_lens/goal.ts b/src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/goal.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/convert_to_lens/goal.ts rename to src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/goal.ts diff --git a/src/plugins/vis_types/gauge/public/convert_to_lens/index.ts b/src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/index.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/convert_to_lens/index.ts rename to src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/index.ts diff --git a/src/plugins/vis_types/gauge/public/convert_to_lens/types.ts b/src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/types.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/convert_to_lens/types.ts rename to src/platform/plugins/private/vis_types/gauge/public/convert_to_lens/types.ts diff --git a/src/plugins/vis_types/gauge/public/editor/collections.ts b/src/platform/plugins/private/vis_types/gauge/public/editor/collections.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/editor/collections.ts rename to src/platform/plugins/private/vis_types/gauge/public/editor/collections.ts diff --git a/src/plugins/vis_types/gauge/public/editor/components/gauge/index.tsx b/src/platform/plugins/private/vis_types/gauge/public/editor/components/gauge/index.tsx similarity index 100% rename from src/plugins/vis_types/gauge/public/editor/components/gauge/index.tsx rename to src/platform/plugins/private/vis_types/gauge/public/editor/components/gauge/index.tsx diff --git a/src/plugins/vis_types/gauge/public/editor/components/gauge/labels_panel.tsx b/src/platform/plugins/private/vis_types/gauge/public/editor/components/gauge/labels_panel.tsx similarity index 100% rename from src/plugins/vis_types/gauge/public/editor/components/gauge/labels_panel.tsx rename to src/platform/plugins/private/vis_types/gauge/public/editor/components/gauge/labels_panel.tsx diff --git a/src/plugins/vis_types/gauge/public/editor/components/gauge/ranges_panel.tsx b/src/platform/plugins/private/vis_types/gauge/public/editor/components/gauge/ranges_panel.tsx similarity index 100% rename from src/plugins/vis_types/gauge/public/editor/components/gauge/ranges_panel.tsx rename to src/platform/plugins/private/vis_types/gauge/public/editor/components/gauge/ranges_panel.tsx diff --git a/src/plugins/vis_types/gauge/public/editor/components/gauge/style_panel.tsx b/src/platform/plugins/private/vis_types/gauge/public/editor/components/gauge/style_panel.tsx similarity index 100% rename from src/plugins/vis_types/gauge/public/editor/components/gauge/style_panel.tsx rename to src/platform/plugins/private/vis_types/gauge/public/editor/components/gauge/style_panel.tsx diff --git a/src/plugins/vis_types/gauge/public/editor/components/index.tsx b/src/platform/plugins/private/vis_types/gauge/public/editor/components/index.tsx similarity index 100% rename from src/plugins/vis_types/gauge/public/editor/components/index.tsx rename to src/platform/plugins/private/vis_types/gauge/public/editor/components/index.tsx diff --git a/src/plugins/vis_types/gauge/public/editor/index.ts b/src/platform/plugins/private/vis_types/gauge/public/editor/index.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/editor/index.ts rename to src/platform/plugins/private/vis_types/gauge/public/editor/index.ts diff --git a/src/plugins/vis_types/gauge/public/index.ts b/src/platform/plugins/private/vis_types/gauge/public/index.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/index.ts rename to src/platform/plugins/private/vis_types/gauge/public/index.ts diff --git a/src/plugins/vis_types/gauge/public/plugin.ts b/src/platform/plugins/private/vis_types/gauge/public/plugin.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/plugin.ts rename to src/platform/plugins/private/vis_types/gauge/public/plugin.ts diff --git a/src/plugins/vis_types/gauge/public/services.ts b/src/platform/plugins/private/vis_types/gauge/public/services.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/services.ts rename to src/platform/plugins/private/vis_types/gauge/public/services.ts diff --git a/src/plugins/vis_types/gauge/public/to_ast.test.ts b/src/platform/plugins/private/vis_types/gauge/public/to_ast.test.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/to_ast.test.ts rename to src/platform/plugins/private/vis_types/gauge/public/to_ast.test.ts diff --git a/src/plugins/vis_types/gauge/public/to_ast.ts b/src/platform/plugins/private/vis_types/gauge/public/to_ast.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/to_ast.ts rename to src/platform/plugins/private/vis_types/gauge/public/to_ast.ts diff --git a/src/plugins/vis_types/gauge/public/types.ts b/src/platform/plugins/private/vis_types/gauge/public/types.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/types.ts rename to src/platform/plugins/private/vis_types/gauge/public/types.ts diff --git a/src/plugins/vis_types/gauge/public/vis_type/gauge.tsx b/src/platform/plugins/private/vis_types/gauge/public/vis_type/gauge.tsx similarity index 100% rename from src/plugins/vis_types/gauge/public/vis_type/gauge.tsx rename to src/platform/plugins/private/vis_types/gauge/public/vis_type/gauge.tsx diff --git a/src/plugins/vis_types/gauge/public/vis_type/goal.tsx b/src/platform/plugins/private/vis_types/gauge/public/vis_type/goal.tsx similarity index 100% rename from src/plugins/vis_types/gauge/public/vis_type/goal.tsx rename to src/platform/plugins/private/vis_types/gauge/public/vis_type/goal.tsx diff --git a/src/plugins/vis_types/gauge/public/vis_type/index.ts b/src/platform/plugins/private/vis_types/gauge/public/vis_type/index.ts similarity index 100% rename from src/plugins/vis_types/gauge/public/vis_type/index.ts rename to src/platform/plugins/private/vis_types/gauge/public/vis_type/index.ts diff --git a/src/plugins/vis_types/gauge/public/vis_type/split_tooltip.tsx b/src/platform/plugins/private/vis_types/gauge/public/vis_type/split_tooltip.tsx similarity index 100% rename from src/plugins/vis_types/gauge/public/vis_type/split_tooltip.tsx rename to src/platform/plugins/private/vis_types/gauge/public/vis_type/split_tooltip.tsx diff --git a/src/plugins/vis_types/gauge/server/config.ts b/src/platform/plugins/private/vis_types/gauge/server/config.ts similarity index 100% rename from src/plugins/vis_types/gauge/server/config.ts rename to src/platform/plugins/private/vis_types/gauge/server/config.ts diff --git a/src/plugins/vis_types/gauge/server/index.ts b/src/platform/plugins/private/vis_types/gauge/server/index.ts similarity index 100% rename from src/plugins/vis_types/gauge/server/index.ts rename to src/platform/plugins/private/vis_types/gauge/server/index.ts diff --git a/src/plugins/vis_types/gauge/server/plugin.ts b/src/platform/plugins/private/vis_types/gauge/server/plugin.ts similarity index 100% rename from src/plugins/vis_types/gauge/server/plugin.ts rename to src/platform/plugins/private/vis_types/gauge/server/plugin.ts diff --git a/src/plugins/vis_types/gauge/tsconfig.json b/src/platform/plugins/private/vis_types/gauge/tsconfig.json similarity index 91% rename from src/plugins/vis_types/gauge/tsconfig.json rename to src/platform/plugins/private/vis_types/gauge/tsconfig.json index a892fe625ee43..b31e27b0cd8a8 100644 --- a/src/plugins/vis_types/gauge/tsconfig.json +++ b/src/platform/plugins/private/vis_types/gauge/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/vis_types/heatmap/common/index.ts b/src/platform/plugins/private/vis_types/heatmap/common/index.ts similarity index 100% rename from src/plugins/vis_types/heatmap/common/index.ts rename to src/platform/plugins/private/vis_types/heatmap/common/index.ts diff --git a/src/plugins/chart_expressions/expression_gauge/jest.config.js b/src/platform/plugins/private/vis_types/heatmap/jest.config.js similarity index 71% rename from src/plugins/chart_expressions/expression_gauge/jest.config.js rename to src/platform/plugins/private/vis_types/heatmap/jest.config.js index 7e8fc9b085e78..0b06b519839bd 100644 --- a/src/plugins/chart_expressions/expression_gauge/jest.config.js +++ b/src/platform/plugins/private/vis_types/heatmap/jest.config.js @@ -9,12 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../../', - roots: ['/src/plugins/chart_expressions/expression_gauge'], + rootDir: '../../../../../..', + roots: ['/src/platform/plugins/private/vis_types/heatmap'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_gauge', + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/heatmap', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/chart_expressions/expression_gauge/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/private/vis_types/heatmap/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/vis_types/heatmap/kibana.jsonc b/src/platform/plugins/private/vis_types/heatmap/kibana.jsonc similarity index 100% rename from src/plugins/vis_types/heatmap/kibana.jsonc rename to src/platform/plugins/private/vis_types/heatmap/kibana.jsonc diff --git a/src/plugins/vis_types/heatmap/public/__snapshots__/to_ast.test.ts.snap b/src/platform/plugins/private/vis_types/heatmap/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/vis_types/heatmap/public/__snapshots__/to_ast.test.ts.snap rename to src/platform/plugins/private/vis_types/heatmap/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/vis_types/heatmap/public/convert_to_lens/configurations/index.test.ts b/src/platform/plugins/private/vis_types/heatmap/public/convert_to_lens/configurations/index.test.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/convert_to_lens/configurations/index.test.ts rename to src/platform/plugins/private/vis_types/heatmap/public/convert_to_lens/configurations/index.test.ts diff --git a/src/plugins/vis_types/heatmap/public/convert_to_lens/configurations/index.ts b/src/platform/plugins/private/vis_types/heatmap/public/convert_to_lens/configurations/index.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/convert_to_lens/configurations/index.ts rename to src/platform/plugins/private/vis_types/heatmap/public/convert_to_lens/configurations/index.ts diff --git a/src/plugins/vis_types/heatmap/public/convert_to_lens/configurations/palette.ts b/src/platform/plugins/private/vis_types/heatmap/public/convert_to_lens/configurations/palette.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/convert_to_lens/configurations/palette.ts rename to src/platform/plugins/private/vis_types/heatmap/public/convert_to_lens/configurations/palette.ts diff --git a/src/plugins/vis_types/heatmap/public/convert_to_lens/index.test.ts b/src/platform/plugins/private/vis_types/heatmap/public/convert_to_lens/index.test.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/convert_to_lens/index.test.ts rename to src/platform/plugins/private/vis_types/heatmap/public/convert_to_lens/index.test.ts diff --git a/src/plugins/vis_types/heatmap/public/convert_to_lens/index.ts b/src/platform/plugins/private/vis_types/heatmap/public/convert_to_lens/index.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/convert_to_lens/index.ts rename to src/platform/plugins/private/vis_types/heatmap/public/convert_to_lens/index.ts diff --git a/src/plugins/vis_types/heatmap/public/convert_to_lens/types.ts b/src/platform/plugins/private/vis_types/heatmap/public/convert_to_lens/types.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/convert_to_lens/types.ts rename to src/platform/plugins/private/vis_types/heatmap/public/convert_to_lens/types.ts diff --git a/src/plugins/vis_types/heatmap/public/editor/collections.ts b/src/platform/plugins/private/vis_types/heatmap/public/editor/collections.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/editor/collections.ts rename to src/platform/plugins/private/vis_types/heatmap/public/editor/collections.ts diff --git a/src/plugins/vis_types/heatmap/public/editor/components/heatmap.test.tsx b/src/platform/plugins/private/vis_types/heatmap/public/editor/components/heatmap.test.tsx similarity index 100% rename from src/plugins/vis_types/heatmap/public/editor/components/heatmap.test.tsx rename to src/platform/plugins/private/vis_types/heatmap/public/editor/components/heatmap.test.tsx diff --git a/src/plugins/vis_types/heatmap/public/editor/components/heatmap.tsx b/src/platform/plugins/private/vis_types/heatmap/public/editor/components/heatmap.tsx similarity index 100% rename from src/plugins/vis_types/heatmap/public/editor/components/heatmap.tsx rename to src/platform/plugins/private/vis_types/heatmap/public/editor/components/heatmap.tsx diff --git a/src/plugins/vis_types/heatmap/public/editor/components/index.tsx b/src/platform/plugins/private/vis_types/heatmap/public/editor/components/index.tsx similarity index 100% rename from src/plugins/vis_types/heatmap/public/editor/components/index.tsx rename to src/platform/plugins/private/vis_types/heatmap/public/editor/components/index.tsx diff --git a/src/plugins/vis_types/heatmap/public/editor/components/labels_panel.tsx b/src/platform/plugins/private/vis_types/heatmap/public/editor/components/labels_panel.tsx similarity index 100% rename from src/plugins/vis_types/heatmap/public/editor/components/labels_panel.tsx rename to src/platform/plugins/private/vis_types/heatmap/public/editor/components/labels_panel.tsx diff --git a/src/plugins/vis_types/heatmap/public/index.ts b/src/platform/plugins/private/vis_types/heatmap/public/index.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/index.ts rename to src/platform/plugins/private/vis_types/heatmap/public/index.ts diff --git a/src/plugins/vis_types/heatmap/public/plugin.ts b/src/platform/plugins/private/vis_types/heatmap/public/plugin.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/plugin.ts rename to src/platform/plugins/private/vis_types/heatmap/public/plugin.ts diff --git a/src/plugins/vis_types/heatmap/public/sample_vis.test.mocks.ts b/src/platform/plugins/private/vis_types/heatmap/public/sample_vis.test.mocks.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/sample_vis.test.mocks.ts rename to src/platform/plugins/private/vis_types/heatmap/public/sample_vis.test.mocks.ts diff --git a/src/plugins/vis_types/heatmap/public/services.ts b/src/platform/plugins/private/vis_types/heatmap/public/services.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/services.ts rename to src/platform/plugins/private/vis_types/heatmap/public/services.ts diff --git a/src/plugins/vis_types/heatmap/public/to_ast.test.ts b/src/platform/plugins/private/vis_types/heatmap/public/to_ast.test.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/to_ast.test.ts rename to src/platform/plugins/private/vis_types/heatmap/public/to_ast.test.ts diff --git a/src/plugins/vis_types/heatmap/public/to_ast.ts b/src/platform/plugins/private/vis_types/heatmap/public/to_ast.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/to_ast.ts rename to src/platform/plugins/private/vis_types/heatmap/public/to_ast.ts diff --git a/src/plugins/vis_types/heatmap/public/types.ts b/src/platform/plugins/private/vis_types/heatmap/public/types.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/types.ts rename to src/platform/plugins/private/vis_types/heatmap/public/types.ts diff --git a/src/plugins/vis_types/heatmap/public/utils/palette.test.ts b/src/platform/plugins/private/vis_types/heatmap/public/utils/palette.test.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/utils/palette.test.ts rename to src/platform/plugins/private/vis_types/heatmap/public/utils/palette.test.ts diff --git a/src/plugins/vis_types/heatmap/public/utils/palette.ts b/src/platform/plugins/private/vis_types/heatmap/public/utils/palette.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/utils/palette.ts rename to src/platform/plugins/private/vis_types/heatmap/public/utils/palette.ts diff --git a/src/plugins/vis_types/heatmap/public/vis_type/heatmap.ts b/src/platform/plugins/private/vis_types/heatmap/public/vis_type/heatmap.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/vis_type/heatmap.ts rename to src/platform/plugins/private/vis_types/heatmap/public/vis_type/heatmap.ts diff --git a/src/plugins/vis_types/heatmap/public/vis_type/index.ts b/src/platform/plugins/private/vis_types/heatmap/public/vis_type/index.ts similarity index 100% rename from src/plugins/vis_types/heatmap/public/vis_type/index.ts rename to src/platform/plugins/private/vis_types/heatmap/public/vis_type/index.ts diff --git a/src/plugins/vis_types/heatmap/server/config.ts b/src/platform/plugins/private/vis_types/heatmap/server/config.ts similarity index 100% rename from src/plugins/vis_types/heatmap/server/config.ts rename to src/platform/plugins/private/vis_types/heatmap/server/config.ts diff --git a/src/plugins/vis_types/heatmap/server/index.ts b/src/platform/plugins/private/vis_types/heatmap/server/index.ts similarity index 100% rename from src/plugins/vis_types/heatmap/server/index.ts rename to src/platform/plugins/private/vis_types/heatmap/server/index.ts diff --git a/src/plugins/vis_types/heatmap/server/plugin.ts b/src/platform/plugins/private/vis_types/heatmap/server/plugin.ts similarity index 100% rename from src/plugins/vis_types/heatmap/server/plugin.ts rename to src/platform/plugins/private/vis_types/heatmap/server/plugin.ts diff --git a/src/plugins/vis_types/heatmap/tsconfig.json b/src/platform/plugins/private/vis_types/heatmap/tsconfig.json similarity index 92% rename from src/plugins/vis_types/heatmap/tsconfig.json rename to src/platform/plugins/private/vis_types/heatmap/tsconfig.json index 8789fcba137f0..dc3f5a9acc84a 100644 --- a/src/plugins/vis_types/heatmap/tsconfig.json +++ b/src/platform/plugins/private/vis_types/heatmap/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/platform/plugins/private/vis_types/metric/jest.config.js b/src/platform/plugins/private/vis_types/metric/jest.config.js new file mode 100644 index 0000000000000..bc7b4f516395b --- /dev/null +++ b/src/platform/plugins/private/vis_types/metric/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/src/platform/plugins/private/vis_types/metric'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/metric', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_types/metric/{public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/vis_types/metric/kibana.jsonc b/src/platform/plugins/private/vis_types/metric/kibana.jsonc similarity index 100% rename from src/plugins/vis_types/metric/kibana.jsonc rename to src/platform/plugins/private/vis_types/metric/kibana.jsonc diff --git a/src/plugins/vis_types/metric/public/__snapshots__/to_ast.test.ts.snap b/src/platform/plugins/private/vis_types/metric/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/vis_types/metric/public/__snapshots__/to_ast.test.ts.snap rename to src/platform/plugins/private/vis_types/metric/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/vis_types/metric/public/components/index.ts b/src/platform/plugins/private/vis_types/metric/public/components/index.ts similarity index 100% rename from src/plugins/vis_types/metric/public/components/index.ts rename to src/platform/plugins/private/vis_types/metric/public/components/index.ts diff --git a/src/plugins/vis_types/metric/public/components/metric_vis_options.tsx b/src/platform/plugins/private/vis_types/metric/public/components/metric_vis_options.tsx similarity index 100% rename from src/plugins/vis_types/metric/public/components/metric_vis_options.tsx rename to src/platform/plugins/private/vis_types/metric/public/components/metric_vis_options.tsx diff --git a/src/plugins/vis_types/metric/public/convert_to_lens/configurations/index.test.ts b/src/platform/plugins/private/vis_types/metric/public/convert_to_lens/configurations/index.test.ts similarity index 100% rename from src/plugins/vis_types/metric/public/convert_to_lens/configurations/index.test.ts rename to src/platform/plugins/private/vis_types/metric/public/convert_to_lens/configurations/index.test.ts diff --git a/src/plugins/vis_types/metric/public/convert_to_lens/configurations/index.ts b/src/platform/plugins/private/vis_types/metric/public/convert_to_lens/configurations/index.ts similarity index 100% rename from src/plugins/vis_types/metric/public/convert_to_lens/configurations/index.ts rename to src/platform/plugins/private/vis_types/metric/public/convert_to_lens/configurations/index.ts diff --git a/src/plugins/vis_types/metric/public/convert_to_lens/index.test.ts b/src/platform/plugins/private/vis_types/metric/public/convert_to_lens/index.test.ts similarity index 100% rename from src/plugins/vis_types/metric/public/convert_to_lens/index.test.ts rename to src/platform/plugins/private/vis_types/metric/public/convert_to_lens/index.test.ts diff --git a/src/plugins/vis_types/metric/public/convert_to_lens/index.ts b/src/platform/plugins/private/vis_types/metric/public/convert_to_lens/index.ts similarity index 100% rename from src/plugins/vis_types/metric/public/convert_to_lens/index.ts rename to src/platform/plugins/private/vis_types/metric/public/convert_to_lens/index.ts diff --git a/src/plugins/vis_types/metric/public/convert_to_lens/types.ts b/src/platform/plugins/private/vis_types/metric/public/convert_to_lens/types.ts similarity index 100% rename from src/plugins/vis_types/metric/public/convert_to_lens/types.ts rename to src/platform/plugins/private/vis_types/metric/public/convert_to_lens/types.ts diff --git a/src/plugins/vis_types/metric/public/index.ts b/src/platform/plugins/private/vis_types/metric/public/index.ts similarity index 100% rename from src/plugins/vis_types/metric/public/index.ts rename to src/platform/plugins/private/vis_types/metric/public/index.ts diff --git a/src/plugins/vis_types/metric/public/metric_vis_type.ts b/src/platform/plugins/private/vis_types/metric/public/metric_vis_type.ts similarity index 100% rename from src/plugins/vis_types/metric/public/metric_vis_type.ts rename to src/platform/plugins/private/vis_types/metric/public/metric_vis_type.ts diff --git a/src/plugins/vis_types/metric/public/plugin.ts b/src/platform/plugins/private/vis_types/metric/public/plugin.ts similarity index 100% rename from src/plugins/vis_types/metric/public/plugin.ts rename to src/platform/plugins/private/vis_types/metric/public/plugin.ts diff --git a/src/plugins/vis_types/metric/public/services.ts b/src/platform/plugins/private/vis_types/metric/public/services.ts similarity index 100% rename from src/plugins/vis_types/metric/public/services.ts rename to src/platform/plugins/private/vis_types/metric/public/services.ts diff --git a/src/plugins/vis_types/metric/public/to_ast.test.ts b/src/platform/plugins/private/vis_types/metric/public/to_ast.test.ts similarity index 100% rename from src/plugins/vis_types/metric/public/to_ast.test.ts rename to src/platform/plugins/private/vis_types/metric/public/to_ast.test.ts diff --git a/src/plugins/vis_types/metric/public/to_ast.ts b/src/platform/plugins/private/vis_types/metric/public/to_ast.ts similarity index 100% rename from src/plugins/vis_types/metric/public/to_ast.ts rename to src/platform/plugins/private/vis_types/metric/public/to_ast.ts diff --git a/src/plugins/vis_types/metric/public/types.ts b/src/platform/plugins/private/vis_types/metric/public/types.ts similarity index 100% rename from src/plugins/vis_types/metric/public/types.ts rename to src/platform/plugins/private/vis_types/metric/public/types.ts diff --git a/src/plugins/vis_types/metric/server/config.ts b/src/platform/plugins/private/vis_types/metric/server/config.ts similarity index 100% rename from src/plugins/vis_types/metric/server/config.ts rename to src/platform/plugins/private/vis_types/metric/server/config.ts diff --git a/src/plugins/vis_types/metric/server/index.ts b/src/platform/plugins/private/vis_types/metric/server/index.ts similarity index 100% rename from src/plugins/vis_types/metric/server/index.ts rename to src/platform/plugins/private/vis_types/metric/server/index.ts diff --git a/src/plugins/vis_types/metric/tsconfig.json b/src/platform/plugins/private/vis_types/metric/tsconfig.json similarity index 90% rename from src/plugins/vis_types/metric/tsconfig.json rename to src/platform/plugins/private/vis_types/metric/tsconfig.json index 4b6f5c5df812e..31ff681d1129a 100644 --- a/src/plugins/vis_types/metric/tsconfig.json +++ b/src/platform/plugins/private/vis_types/metric/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/vis_types/pie/common/index.ts b/src/platform/plugins/private/vis_types/pie/common/index.ts similarity index 100% rename from src/plugins/vis_types/pie/common/index.ts rename to src/platform/plugins/private/vis_types/pie/common/index.ts diff --git a/src/platform/plugins/private/vis_types/pie/jest.config.js b/src/platform/plugins/private/vis_types/pie/jest.config.js new file mode 100644 index 0000000000000..55d69a830a1e7 --- /dev/null +++ b/src/platform/plugins/private/vis_types/pie/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/src/platform/plugins/private/vis_types/pie'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/pie', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_types/pie/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/vis_types/pie/kibana.jsonc b/src/platform/plugins/private/vis_types/pie/kibana.jsonc similarity index 100% rename from src/plugins/vis_types/pie/kibana.jsonc rename to src/platform/plugins/private/vis_types/pie/kibana.jsonc diff --git a/src/plugins/vis_types/pie/public/__snapshots__/to_ast.test.ts.snap b/src/platform/plugins/private/vis_types/pie/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/vis_types/pie/public/__snapshots__/to_ast.test.ts.snap rename to src/platform/plugins/private/vis_types/pie/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/vis_types/pie/public/convert_to_lens/configurations/index.test.ts b/src/platform/plugins/private/vis_types/pie/public/convert_to_lens/configurations/index.test.ts similarity index 100% rename from src/plugins/vis_types/pie/public/convert_to_lens/configurations/index.test.ts rename to src/platform/plugins/private/vis_types/pie/public/convert_to_lens/configurations/index.test.ts diff --git a/src/plugins/vis_types/pie/public/convert_to_lens/configurations/index.ts b/src/platform/plugins/private/vis_types/pie/public/convert_to_lens/configurations/index.ts similarity index 100% rename from src/plugins/vis_types/pie/public/convert_to_lens/configurations/index.ts rename to src/platform/plugins/private/vis_types/pie/public/convert_to_lens/configurations/index.ts diff --git a/src/plugins/vis_types/pie/public/convert_to_lens/index.test.ts b/src/platform/plugins/private/vis_types/pie/public/convert_to_lens/index.test.ts similarity index 100% rename from src/plugins/vis_types/pie/public/convert_to_lens/index.test.ts rename to src/platform/plugins/private/vis_types/pie/public/convert_to_lens/index.test.ts diff --git a/src/plugins/vis_types/pie/public/convert_to_lens/index.ts b/src/platform/plugins/private/vis_types/pie/public/convert_to_lens/index.ts similarity index 100% rename from src/plugins/vis_types/pie/public/convert_to_lens/index.ts rename to src/platform/plugins/private/vis_types/pie/public/convert_to_lens/index.ts diff --git a/src/plugins/vis_types/pie/public/convert_to_lens/types.ts b/src/platform/plugins/private/vis_types/pie/public/convert_to_lens/types.ts similarity index 100% rename from src/plugins/vis_types/pie/public/convert_to_lens/types.ts rename to src/platform/plugins/private/vis_types/pie/public/convert_to_lens/types.ts diff --git a/src/plugins/vis_types/pie/public/editor/collections.ts b/src/platform/plugins/private/vis_types/pie/public/editor/collections.ts similarity index 100% rename from src/plugins/vis_types/pie/public/editor/collections.ts rename to src/platform/plugins/private/vis_types/pie/public/editor/collections.ts diff --git a/src/plugins/vis_types/pie/public/editor/components/index.tsx b/src/platform/plugins/private/vis_types/pie/public/editor/components/index.tsx similarity index 100% rename from src/plugins/vis_types/pie/public/editor/components/index.tsx rename to src/platform/plugins/private/vis_types/pie/public/editor/components/index.tsx diff --git a/src/plugins/vis_types/pie/public/editor/components/pie.test.tsx b/src/platform/plugins/private/vis_types/pie/public/editor/components/pie.test.tsx similarity index 100% rename from src/plugins/vis_types/pie/public/editor/components/pie.test.tsx rename to src/platform/plugins/private/vis_types/pie/public/editor/components/pie.test.tsx diff --git a/src/plugins/vis_types/pie/public/editor/components/pie.tsx b/src/platform/plugins/private/vis_types/pie/public/editor/components/pie.tsx similarity index 100% rename from src/plugins/vis_types/pie/public/editor/components/pie.tsx rename to src/platform/plugins/private/vis_types/pie/public/editor/components/pie.tsx diff --git a/src/plugins/vis_types/pie/public/editor/components/truncate_labels.test.tsx b/src/platform/plugins/private/vis_types/pie/public/editor/components/truncate_labels.test.tsx similarity index 100% rename from src/plugins/vis_types/pie/public/editor/components/truncate_labels.test.tsx rename to src/platform/plugins/private/vis_types/pie/public/editor/components/truncate_labels.test.tsx diff --git a/src/plugins/vis_types/pie/public/editor/components/truncate_labels.tsx b/src/platform/plugins/private/vis_types/pie/public/editor/components/truncate_labels.tsx similarity index 100% rename from src/plugins/vis_types/pie/public/editor/components/truncate_labels.tsx rename to src/platform/plugins/private/vis_types/pie/public/editor/components/truncate_labels.tsx diff --git a/src/plugins/vis_types/pie/public/editor/positions.ts b/src/platform/plugins/private/vis_types/pie/public/editor/positions.ts similarity index 100% rename from src/plugins/vis_types/pie/public/editor/positions.ts rename to src/platform/plugins/private/vis_types/pie/public/editor/positions.ts diff --git a/src/plugins/vis_types/pie/public/index.ts b/src/platform/plugins/private/vis_types/pie/public/index.ts similarity index 100% rename from src/plugins/vis_types/pie/public/index.ts rename to src/platform/plugins/private/vis_types/pie/public/index.ts diff --git a/src/plugins/vis_types/pie/public/plugin.ts b/src/platform/plugins/private/vis_types/pie/public/plugin.ts similarity index 100% rename from src/plugins/vis_types/pie/public/plugin.ts rename to src/platform/plugins/private/vis_types/pie/public/plugin.ts diff --git a/src/plugins/vis_types/pie/public/sample_vis.test.mocks.ts b/src/platform/plugins/private/vis_types/pie/public/sample_vis.test.mocks.ts similarity index 100% rename from src/plugins/vis_types/pie/public/sample_vis.test.mocks.ts rename to src/platform/plugins/private/vis_types/pie/public/sample_vis.test.mocks.ts diff --git a/src/plugins/vis_types/pie/public/services.ts b/src/platform/plugins/private/vis_types/pie/public/services.ts similarity index 100% rename from src/plugins/vis_types/pie/public/services.ts rename to src/platform/plugins/private/vis_types/pie/public/services.ts diff --git a/src/plugins/vis_types/pie/public/to_ast.test.ts b/src/platform/plugins/private/vis_types/pie/public/to_ast.test.ts similarity index 100% rename from src/plugins/vis_types/pie/public/to_ast.test.ts rename to src/platform/plugins/private/vis_types/pie/public/to_ast.test.ts diff --git a/src/plugins/vis_types/pie/public/to_ast.ts b/src/platform/plugins/private/vis_types/pie/public/to_ast.ts similarity index 100% rename from src/plugins/vis_types/pie/public/to_ast.ts rename to src/platform/plugins/private/vis_types/pie/public/to_ast.ts diff --git a/src/plugins/data/common/search/strategies/eql_search/index.ts b/src/platform/plugins/private/vis_types/pie/public/types/index.ts similarity index 100% rename from src/plugins/data/common/search/strategies/eql_search/index.ts rename to src/platform/plugins/private/vis_types/pie/public/types/index.ts diff --git a/src/plugins/vis_types/pie/public/types/types.ts b/src/platform/plugins/private/vis_types/pie/public/types/types.ts similarity index 100% rename from src/plugins/vis_types/pie/public/types/types.ts rename to src/platform/plugins/private/vis_types/pie/public/types/types.ts diff --git a/src/plugins/vis_types/pie/public/vis_type/index.ts b/src/platform/plugins/private/vis_types/pie/public/vis_type/index.ts similarity index 100% rename from src/plugins/vis_types/pie/public/vis_type/index.ts rename to src/platform/plugins/private/vis_types/pie/public/vis_type/index.ts diff --git a/src/plugins/vis_types/pie/public/vis_type/pie.ts b/src/platform/plugins/private/vis_types/pie/public/vis_type/pie.ts similarity index 100% rename from src/plugins/vis_types/pie/public/vis_type/pie.ts rename to src/platform/plugins/private/vis_types/pie/public/vis_type/pie.ts diff --git a/src/plugins/vis_types/pie/server/config.ts b/src/platform/plugins/private/vis_types/pie/server/config.ts similarity index 100% rename from src/plugins/vis_types/pie/server/config.ts rename to src/platform/plugins/private/vis_types/pie/server/config.ts diff --git a/src/plugins/vis_types/pie/server/index.ts b/src/platform/plugins/private/vis_types/pie/server/index.ts similarity index 100% rename from src/plugins/vis_types/pie/server/index.ts rename to src/platform/plugins/private/vis_types/pie/server/index.ts diff --git a/src/plugins/vis_types/pie/server/plugin.ts b/src/platform/plugins/private/vis_types/pie/server/plugin.ts similarity index 100% rename from src/plugins/vis_types/pie/server/plugin.ts rename to src/platform/plugins/private/vis_types/pie/server/plugin.ts diff --git a/src/plugins/vis_types/pie/tsconfig.json b/src/platform/plugins/private/vis_types/pie/tsconfig.json similarity index 92% rename from src/plugins/vis_types/pie/tsconfig.json rename to src/platform/plugins/private/vis_types/pie/tsconfig.json index 97d652a38bbb7..b9550f8e53bf6 100644 --- a/src/plugins/vis_types/pie/tsconfig.json +++ b/src/platform/plugins/private/vis_types/pie/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/vis_types/table/README.md b/src/platform/plugins/private/vis_types/table/README.md similarity index 100% rename from src/plugins/vis_types/table/README.md rename to src/platform/plugins/private/vis_types/table/README.md diff --git a/src/plugins/vis_types/table/common/index.ts b/src/platform/plugins/private/vis_types/table/common/index.ts similarity index 100% rename from src/plugins/vis_types/table/common/index.ts rename to src/platform/plugins/private/vis_types/table/common/index.ts diff --git a/src/plugins/vis_types/table/common/types.ts b/src/platform/plugins/private/vis_types/table/common/types.ts similarity index 100% rename from src/plugins/vis_types/table/common/types.ts rename to src/platform/plugins/private/vis_types/table/common/types.ts diff --git a/src/platform/plugins/private/vis_types/table/jest.config.js b/src/platform/plugins/private/vis_types/table/jest.config.js new file mode 100644 index 0000000000000..5fa8fc0c3297c --- /dev/null +++ b/src/platform/plugins/private/vis_types/table/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/src/platform/plugins/private/vis_types/table'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/table', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_types/table/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/src/plugins/vis_types/table/kibana.jsonc b/src/platform/plugins/private/vis_types/table/kibana.jsonc similarity index 100% rename from src/plugins/vis_types/table/kibana.jsonc rename to src/platform/plugins/private/vis_types/table/kibana.jsonc diff --git a/src/plugins/vis_types/table/public/__snapshots__/table_vis_fn.test.ts.snap b/src/platform/plugins/private/vis_types/table/public/__snapshots__/table_vis_fn.test.ts.snap similarity index 100% rename from src/plugins/vis_types/table/public/__snapshots__/table_vis_fn.test.ts.snap rename to src/platform/plugins/private/vis_types/table/public/__snapshots__/table_vis_fn.test.ts.snap diff --git a/src/plugins/vis_types/table/public/components/__snapshots__/table_vis_basic.test.tsx.snap b/src/platform/plugins/private/vis_types/table/public/components/__snapshots__/table_vis_basic.test.tsx.snap similarity index 100% rename from src/plugins/vis_types/table/public/components/__snapshots__/table_vis_basic.test.tsx.snap rename to src/platform/plugins/private/vis_types/table/public/components/__snapshots__/table_vis_basic.test.tsx.snap diff --git a/src/plugins/vis_types/table/public/components/__snapshots__/table_vis_cell.test.tsx.snap b/src/platform/plugins/private/vis_types/table/public/components/__snapshots__/table_vis_cell.test.tsx.snap similarity index 100% rename from src/plugins/vis_types/table/public/components/__snapshots__/table_vis_cell.test.tsx.snap rename to src/platform/plugins/private/vis_types/table/public/components/__snapshots__/table_vis_cell.test.tsx.snap diff --git a/src/plugins/vis_types/table/public/components/index.ts b/src/platform/plugins/private/vis_types/table/public/components/index.ts similarity index 100% rename from src/plugins/vis_types/table/public/components/index.ts rename to src/platform/plugins/private/vis_types/table/public/components/index.ts diff --git a/src/plugins/vis_types/table/public/components/table_vis_basic.test.tsx b/src/platform/plugins/private/vis_types/table/public/components/table_vis_basic.test.tsx similarity index 100% rename from src/plugins/vis_types/table/public/components/table_vis_basic.test.tsx rename to src/platform/plugins/private/vis_types/table/public/components/table_vis_basic.test.tsx diff --git a/src/plugins/vis_types/table/public/components/table_vis_basic.tsx b/src/platform/plugins/private/vis_types/table/public/components/table_vis_basic.tsx similarity index 100% rename from src/plugins/vis_types/table/public/components/table_vis_basic.tsx rename to src/platform/plugins/private/vis_types/table/public/components/table_vis_basic.tsx diff --git a/src/plugins/vis_types/table/public/components/table_vis_cell.test.tsx b/src/platform/plugins/private/vis_types/table/public/components/table_vis_cell.test.tsx similarity index 100% rename from src/plugins/vis_types/table/public/components/table_vis_cell.test.tsx rename to src/platform/plugins/private/vis_types/table/public/components/table_vis_cell.test.tsx diff --git a/src/plugins/vis_types/table/public/components/table_vis_cell.tsx b/src/platform/plugins/private/vis_types/table/public/components/table_vis_cell.tsx similarity index 100% rename from src/plugins/vis_types/table/public/components/table_vis_cell.tsx rename to src/platform/plugins/private/vis_types/table/public/components/table_vis_cell.tsx diff --git a/src/plugins/vis_types/table/public/components/table_vis_columns.tsx b/src/platform/plugins/private/vis_types/table/public/components/table_vis_columns.tsx similarity index 100% rename from src/plugins/vis_types/table/public/components/table_vis_columns.tsx rename to src/platform/plugins/private/vis_types/table/public/components/table_vis_columns.tsx diff --git a/src/plugins/vis_types/table/public/components/table_vis_controls.tsx b/src/platform/plugins/private/vis_types/table/public/components/table_vis_controls.tsx similarity index 100% rename from src/plugins/vis_types/table/public/components/table_vis_controls.tsx rename to src/platform/plugins/private/vis_types/table/public/components/table_vis_controls.tsx diff --git a/src/plugins/vis_types/table/public/components/table_vis_options.tsx b/src/platform/plugins/private/vis_types/table/public/components/table_vis_options.tsx similarity index 100% rename from src/plugins/vis_types/table/public/components/table_vis_options.tsx rename to src/platform/plugins/private/vis_types/table/public/components/table_vis_options.tsx diff --git a/src/plugins/vis_types/table/public/components/table_vis_options_lazy.tsx b/src/platform/plugins/private/vis_types/table/public/components/table_vis_options_lazy.tsx similarity index 100% rename from src/plugins/vis_types/table/public/components/table_vis_options_lazy.tsx rename to src/platform/plugins/private/vis_types/table/public/components/table_vis_options_lazy.tsx diff --git a/src/plugins/vis_types/table/public/components/table_vis_split.tsx b/src/platform/plugins/private/vis_types/table/public/components/table_vis_split.tsx similarity index 100% rename from src/plugins/vis_types/table/public/components/table_vis_split.tsx rename to src/platform/plugins/private/vis_types/table/public/components/table_vis_split.tsx diff --git a/src/plugins/vis_types/table/public/components/table_visualization.scss b/src/platform/plugins/private/vis_types/table/public/components/table_visualization.scss similarity index 100% rename from src/plugins/vis_types/table/public/components/table_visualization.scss rename to src/platform/plugins/private/vis_types/table/public/components/table_visualization.scss diff --git a/src/plugins/vis_types/table/public/components/table_visualization.test.tsx b/src/platform/plugins/private/vis_types/table/public/components/table_visualization.test.tsx similarity index 100% rename from src/plugins/vis_types/table/public/components/table_visualization.test.tsx rename to src/platform/plugins/private/vis_types/table/public/components/table_visualization.test.tsx diff --git a/src/plugins/vis_types/table/public/components/table_visualization.tsx b/src/platform/plugins/private/vis_types/table/public/components/table_visualization.tsx similarity index 100% rename from src/plugins/vis_types/table/public/components/table_visualization.tsx rename to src/platform/plugins/private/vis_types/table/public/components/table_visualization.tsx diff --git a/src/plugins/vis_types/table/public/components/utils.test.ts b/src/platform/plugins/private/vis_types/table/public/components/utils.test.ts similarity index 100% rename from src/plugins/vis_types/table/public/components/utils.test.ts rename to src/platform/plugins/private/vis_types/table/public/components/utils.test.ts diff --git a/src/plugins/vis_types/table/public/components/utils.ts b/src/platform/plugins/private/vis_types/table/public/components/utils.ts similarity index 100% rename from src/plugins/vis_types/table/public/components/utils.ts rename to src/platform/plugins/private/vis_types/table/public/components/utils.ts diff --git a/src/plugins/vis_types/table/public/convert_to_lens/configurations/index.test.ts b/src/platform/plugins/private/vis_types/table/public/convert_to_lens/configurations/index.test.ts similarity index 100% rename from src/plugins/vis_types/table/public/convert_to_lens/configurations/index.test.ts rename to src/platform/plugins/private/vis_types/table/public/convert_to_lens/configurations/index.test.ts diff --git a/src/plugins/vis_types/table/public/convert_to_lens/configurations/index.ts b/src/platform/plugins/private/vis_types/table/public/convert_to_lens/configurations/index.ts similarity index 100% rename from src/plugins/vis_types/table/public/convert_to_lens/configurations/index.ts rename to src/platform/plugins/private/vis_types/table/public/convert_to_lens/configurations/index.ts diff --git a/src/plugins/vis_types/table/public/convert_to_lens/index.test.ts b/src/platform/plugins/private/vis_types/table/public/convert_to_lens/index.test.ts similarity index 100% rename from src/plugins/vis_types/table/public/convert_to_lens/index.test.ts rename to src/platform/plugins/private/vis_types/table/public/convert_to_lens/index.test.ts diff --git a/src/plugins/vis_types/table/public/convert_to_lens/index.ts b/src/platform/plugins/private/vis_types/table/public/convert_to_lens/index.ts similarity index 100% rename from src/plugins/vis_types/table/public/convert_to_lens/index.ts rename to src/platform/plugins/private/vis_types/table/public/convert_to_lens/index.ts diff --git a/src/plugins/vis_types/table/public/convert_to_lens/types.ts b/src/platform/plugins/private/vis_types/table/public/convert_to_lens/types.ts similarity index 100% rename from src/plugins/vis_types/table/public/convert_to_lens/types.ts rename to src/platform/plugins/private/vis_types/table/public/convert_to_lens/types.ts diff --git a/src/plugins/vis_types/table/public/index.ts b/src/platform/plugins/private/vis_types/table/public/index.ts similarity index 100% rename from src/plugins/vis_types/table/public/index.ts rename to src/platform/plugins/private/vis_types/table/public/index.ts diff --git a/src/plugins/vis_types/table/public/plugin.ts b/src/platform/plugins/private/vis_types/table/public/plugin.ts similarity index 100% rename from src/plugins/vis_types/table/public/plugin.ts rename to src/platform/plugins/private/vis_types/table/public/plugin.ts diff --git a/src/plugins/vis_types/table/public/register_vis.ts b/src/platform/plugins/private/vis_types/table/public/register_vis.ts similarity index 100% rename from src/plugins/vis_types/table/public/register_vis.ts rename to src/platform/plugins/private/vis_types/table/public/register_vis.ts diff --git a/src/plugins/vis_types/table/public/services.ts b/src/platform/plugins/private/vis_types/table/public/services.ts similarity index 100% rename from src/plugins/vis_types/table/public/services.ts rename to src/platform/plugins/private/vis_types/table/public/services.ts diff --git a/src/plugins/vis_types/table/public/table_vis_fn.test.ts b/src/platform/plugins/private/vis_types/table/public/table_vis_fn.test.ts similarity index 100% rename from src/plugins/vis_types/table/public/table_vis_fn.test.ts rename to src/platform/plugins/private/vis_types/table/public/table_vis_fn.test.ts diff --git a/src/plugins/vis_types/table/public/table_vis_fn.ts b/src/platform/plugins/private/vis_types/table/public/table_vis_fn.ts similarity index 100% rename from src/plugins/vis_types/table/public/table_vis_fn.ts rename to src/platform/plugins/private/vis_types/table/public/table_vis_fn.ts diff --git a/src/plugins/vis_types/table/public/table_vis_renderer.tsx b/src/platform/plugins/private/vis_types/table/public/table_vis_renderer.tsx similarity index 100% rename from src/plugins/vis_types/table/public/table_vis_renderer.tsx rename to src/platform/plugins/private/vis_types/table/public/table_vis_renderer.tsx diff --git a/src/plugins/vis_types/table/public/table_vis_type.ts b/src/platform/plugins/private/vis_types/table/public/table_vis_type.ts similarity index 100% rename from src/plugins/vis_types/table/public/table_vis_type.ts rename to src/platform/plugins/private/vis_types/table/public/table_vis_type.ts diff --git a/src/plugins/vis_types/table/public/to_ast.test.ts b/src/platform/plugins/private/vis_types/table/public/to_ast.test.ts similarity index 100% rename from src/plugins/vis_types/table/public/to_ast.test.ts rename to src/platform/plugins/private/vis_types/table/public/to_ast.test.ts diff --git a/src/plugins/vis_types/table/public/to_ast.ts b/src/platform/plugins/private/vis_types/table/public/to_ast.ts similarity index 100% rename from src/plugins/vis_types/table/public/to_ast.ts rename to src/platform/plugins/private/vis_types/table/public/to_ast.ts diff --git a/src/plugins/vis_types/table/public/types.ts b/src/platform/plugins/private/vis_types/table/public/types.ts similarity index 100% rename from src/plugins/vis_types/table/public/types.ts rename to src/platform/plugins/private/vis_types/table/public/types.ts diff --git a/src/plugins/vis_types/table/public/utils/add_percentage_column.test.ts b/src/platform/plugins/private/vis_types/table/public/utils/add_percentage_column.test.ts similarity index 100% rename from src/plugins/vis_types/table/public/utils/add_percentage_column.test.ts rename to src/platform/plugins/private/vis_types/table/public/utils/add_percentage_column.test.ts diff --git a/src/plugins/vis_types/table/public/utils/add_percentage_column.ts b/src/platform/plugins/private/vis_types/table/public/utils/add_percentage_column.ts similarity index 100% rename from src/plugins/vis_types/table/public/utils/add_percentage_column.ts rename to src/platform/plugins/private/vis_types/table/public/utils/add_percentage_column.ts diff --git a/src/plugins/vis_types/table/public/utils/create_formatted_table.test.ts b/src/platform/plugins/private/vis_types/table/public/utils/create_formatted_table.test.ts similarity index 100% rename from src/plugins/vis_types/table/public/utils/create_formatted_table.test.ts rename to src/platform/plugins/private/vis_types/table/public/utils/create_formatted_table.test.ts diff --git a/src/plugins/vis_types/table/public/utils/create_formatted_table.ts b/src/platform/plugins/private/vis_types/table/public/utils/create_formatted_table.ts similarity index 100% rename from src/plugins/vis_types/table/public/utils/create_formatted_table.ts rename to src/platform/plugins/private/vis_types/table/public/utils/create_formatted_table.ts diff --git a/src/plugins/vis_types/table/public/utils/index.ts b/src/platform/plugins/private/vis_types/table/public/utils/index.ts similarity index 100% rename from src/plugins/vis_types/table/public/utils/index.ts rename to src/platform/plugins/private/vis_types/table/public/utils/index.ts diff --git a/src/plugins/vis_types/table/public/utils/table_vis_response_handler.test.ts b/src/platform/plugins/private/vis_types/table/public/utils/table_vis_response_handler.test.ts similarity index 100% rename from src/plugins/vis_types/table/public/utils/table_vis_response_handler.test.ts rename to src/platform/plugins/private/vis_types/table/public/utils/table_vis_response_handler.test.ts diff --git a/src/plugins/vis_types/table/public/utils/table_vis_response_handler.ts b/src/platform/plugins/private/vis_types/table/public/utils/table_vis_response_handler.ts similarity index 100% rename from src/plugins/vis_types/table/public/utils/table_vis_response_handler.ts rename to src/platform/plugins/private/vis_types/table/public/utils/table_vis_response_handler.ts diff --git a/src/plugins/vis_types/table/public/utils/use/index.ts b/src/platform/plugins/private/vis_types/table/public/utils/use/index.ts similarity index 100% rename from src/plugins/vis_types/table/public/utils/use/index.ts rename to src/platform/plugins/private/vis_types/table/public/utils/use/index.ts diff --git a/src/plugins/vis_types/table/public/utils/use/use_pagination.test.ts b/src/platform/plugins/private/vis_types/table/public/utils/use/use_pagination.test.ts similarity index 100% rename from src/plugins/vis_types/table/public/utils/use/use_pagination.test.ts rename to src/platform/plugins/private/vis_types/table/public/utils/use/use_pagination.test.ts diff --git a/src/plugins/vis_types/table/public/utils/use/use_pagination.ts b/src/platform/plugins/private/vis_types/table/public/utils/use/use_pagination.ts similarity index 100% rename from src/plugins/vis_types/table/public/utils/use/use_pagination.ts rename to src/platform/plugins/private/vis_types/table/public/utils/use/use_pagination.ts diff --git a/src/plugins/vis_types/table/public/utils/use/use_ui_state.test.ts b/src/platform/plugins/private/vis_types/table/public/utils/use/use_ui_state.test.ts similarity index 100% rename from src/plugins/vis_types/table/public/utils/use/use_ui_state.test.ts rename to src/platform/plugins/private/vis_types/table/public/utils/use/use_ui_state.test.ts diff --git a/src/plugins/vis_types/table/public/utils/use/use_ui_state.ts b/src/platform/plugins/private/vis_types/table/public/utils/use/use_ui_state.ts similarity index 100% rename from src/plugins/vis_types/table/public/utils/use/use_ui_state.ts rename to src/platform/plugins/private/vis_types/table/public/utils/use/use_ui_state.ts diff --git a/src/plugins/vis_types/table/server/config.ts b/src/platform/plugins/private/vis_types/table/server/config.ts similarity index 100% rename from src/plugins/vis_types/table/server/config.ts rename to src/platform/plugins/private/vis_types/table/server/config.ts diff --git a/src/plugins/vis_types/table/server/index.ts b/src/platform/plugins/private/vis_types/table/server/index.ts similarity index 100% rename from src/plugins/vis_types/table/server/index.ts rename to src/platform/plugins/private/vis_types/table/server/index.ts diff --git a/src/plugins/vis_types/table/tsconfig.json b/src/platform/plugins/private/vis_types/table/tsconfig.json similarity index 92% rename from src/plugins/vis_types/table/tsconfig.json rename to src/platform/plugins/private/vis_types/table/tsconfig.json index 3c68049c0ac36..e8f086fe14216 100644 --- a/src/plugins/vis_types/table/tsconfig.json +++ b/src/platform/plugins/private/vis_types/table/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/platform/plugins/private/vis_types/tagcloud/jest.config.js b/src/platform/plugins/private/vis_types/tagcloud/jest.config.js new file mode 100644 index 0000000000000..d1c2241eeaa09 --- /dev/null +++ b/src/platform/plugins/private/vis_types/tagcloud/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/src/platform/plugins/private/vis_types/tagcloud'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/tagcloud', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_types/tagcloud/{public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/vis_types/tagcloud/kibana.jsonc b/src/platform/plugins/private/vis_types/tagcloud/kibana.jsonc similarity index 100% rename from src/plugins/vis_types/tagcloud/kibana.jsonc rename to src/platform/plugins/private/vis_types/tagcloud/kibana.jsonc diff --git a/src/plugins/vis_types/tagcloud/public/__snapshots__/to_ast.test.ts.snap b/src/platform/plugins/private/vis_types/tagcloud/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/vis_types/tagcloud/public/__snapshots__/to_ast.test.ts.snap rename to src/platform/plugins/private/vis_types/tagcloud/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/vis_types/tagcloud/public/components/collections.ts b/src/platform/plugins/private/vis_types/tagcloud/public/components/collections.ts similarity index 100% rename from src/plugins/vis_types/tagcloud/public/components/collections.ts rename to src/platform/plugins/private/vis_types/tagcloud/public/components/collections.ts diff --git a/src/plugins/vis_types/tagcloud/public/components/get_tag_cloud_options.tsx b/src/platform/plugins/private/vis_types/tagcloud/public/components/get_tag_cloud_options.tsx similarity index 100% rename from src/plugins/vis_types/tagcloud/public/components/get_tag_cloud_options.tsx rename to src/platform/plugins/private/vis_types/tagcloud/public/components/get_tag_cloud_options.tsx diff --git a/src/plugins/vis_types/tagcloud/public/components/tag_cloud_options.tsx b/src/platform/plugins/private/vis_types/tagcloud/public/components/tag_cloud_options.tsx similarity index 100% rename from src/plugins/vis_types/tagcloud/public/components/tag_cloud_options.tsx rename to src/platform/plugins/private/vis_types/tagcloud/public/components/tag_cloud_options.tsx diff --git a/src/plugins/vis_types/tagcloud/public/convert_to_lens/index.test.ts b/src/platform/plugins/private/vis_types/tagcloud/public/convert_to_lens/index.test.ts similarity index 100% rename from src/plugins/vis_types/tagcloud/public/convert_to_lens/index.test.ts rename to src/platform/plugins/private/vis_types/tagcloud/public/convert_to_lens/index.test.ts diff --git a/src/plugins/vis_types/tagcloud/public/convert_to_lens/index.ts b/src/platform/plugins/private/vis_types/tagcloud/public/convert_to_lens/index.ts similarity index 100% rename from src/plugins/vis_types/tagcloud/public/convert_to_lens/index.ts rename to src/platform/plugins/private/vis_types/tagcloud/public/convert_to_lens/index.ts diff --git a/src/plugins/vis_types/tagcloud/public/index.ts b/src/platform/plugins/private/vis_types/tagcloud/public/index.ts similarity index 100% rename from src/plugins/vis_types/tagcloud/public/index.ts rename to src/platform/plugins/private/vis_types/tagcloud/public/index.ts diff --git a/src/plugins/vis_types/tagcloud/public/plugin.ts b/src/platform/plugins/private/vis_types/tagcloud/public/plugin.ts similarity index 100% rename from src/plugins/vis_types/tagcloud/public/plugin.ts rename to src/platform/plugins/private/vis_types/tagcloud/public/plugin.ts diff --git a/src/plugins/vis_types/tagcloud/public/services.ts b/src/platform/plugins/private/vis_types/tagcloud/public/services.ts similarity index 100% rename from src/plugins/vis_types/tagcloud/public/services.ts rename to src/platform/plugins/private/vis_types/tagcloud/public/services.ts diff --git a/src/plugins/vis_types/tagcloud/public/tag_cloud_type.ts b/src/platform/plugins/private/vis_types/tagcloud/public/tag_cloud_type.ts similarity index 100% rename from src/plugins/vis_types/tagcloud/public/tag_cloud_type.ts rename to src/platform/plugins/private/vis_types/tagcloud/public/tag_cloud_type.ts diff --git a/src/plugins/vis_types/tagcloud/public/to_ast.test.ts b/src/platform/plugins/private/vis_types/tagcloud/public/to_ast.test.ts similarity index 100% rename from src/plugins/vis_types/tagcloud/public/to_ast.test.ts rename to src/platform/plugins/private/vis_types/tagcloud/public/to_ast.test.ts diff --git a/src/plugins/vis_types/tagcloud/public/to_ast.ts b/src/platform/plugins/private/vis_types/tagcloud/public/to_ast.ts similarity index 100% rename from src/plugins/vis_types/tagcloud/public/to_ast.ts rename to src/platform/plugins/private/vis_types/tagcloud/public/to_ast.ts diff --git a/src/plugins/vis_types/tagcloud/public/types.ts b/src/platform/plugins/private/vis_types/tagcloud/public/types.ts similarity index 100% rename from src/plugins/vis_types/tagcloud/public/types.ts rename to src/platform/plugins/private/vis_types/tagcloud/public/types.ts diff --git a/src/plugins/vis_types/tagcloud/server/config.ts b/src/platform/plugins/private/vis_types/tagcloud/server/config.ts similarity index 100% rename from src/plugins/vis_types/tagcloud/server/config.ts rename to src/platform/plugins/private/vis_types/tagcloud/server/config.ts diff --git a/src/plugins/vis_types/tagcloud/server/index.ts b/src/platform/plugins/private/vis_types/tagcloud/server/index.ts similarity index 100% rename from src/plugins/vis_types/tagcloud/server/index.ts rename to src/platform/plugins/private/vis_types/tagcloud/server/index.ts diff --git a/src/plugins/vis_types/tagcloud/tsconfig.json b/src/platform/plugins/private/vis_types/tagcloud/tsconfig.json similarity index 90% rename from src/plugins/vis_types/tagcloud/tsconfig.json rename to src/platform/plugins/private/vis_types/tagcloud/tsconfig.json index 844e910554e1f..d8967a0fc4c11 100644 --- a/src/plugins/vis_types/tagcloud/tsconfig.json +++ b/src/platform/plugins/private/vis_types/tagcloud/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/vis_types/timelion/README.md b/src/platform/plugins/private/vis_types/timelion/README.md similarity index 100% rename from src/plugins/vis_types/timelion/README.md rename to src/platform/plugins/private/vis_types/timelion/README.md diff --git a/src/plugins/vis_types/timelion/common/constants.ts b/src/platform/plugins/private/vis_types/timelion/common/constants.ts similarity index 100% rename from src/plugins/vis_types/timelion/common/constants.ts rename to src/platform/plugins/private/vis_types/timelion/common/constants.ts diff --git a/src/plugins/vis_types/timelion/common/lib/calculate_interval.test.ts b/src/platform/plugins/private/vis_types/timelion/common/lib/calculate_interval.test.ts similarity index 100% rename from src/plugins/vis_types/timelion/common/lib/calculate_interval.test.ts rename to src/platform/plugins/private/vis_types/timelion/common/lib/calculate_interval.test.ts diff --git a/src/plugins/vis_types/timelion/common/lib/calculate_interval.ts b/src/platform/plugins/private/vis_types/timelion/common/lib/calculate_interval.ts similarity index 100% rename from src/plugins/vis_types/timelion/common/lib/calculate_interval.ts rename to src/platform/plugins/private/vis_types/timelion/common/lib/calculate_interval.ts diff --git a/src/plugins/vis_types/timelion/common/lib/index.ts b/src/platform/plugins/private/vis_types/timelion/common/lib/index.ts similarity index 100% rename from src/plugins/vis_types/timelion/common/lib/index.ts rename to src/platform/plugins/private/vis_types/timelion/common/lib/index.ts diff --git a/src/plugins/vis_types/timelion/common/lib/to_milliseconds.ts b/src/platform/plugins/private/vis_types/timelion/common/lib/to_milliseconds.ts similarity index 100% rename from src/plugins/vis_types/timelion/common/lib/to_milliseconds.ts rename to src/platform/plugins/private/vis_types/timelion/common/lib/to_milliseconds.ts diff --git a/src/plugins/vis_types/timelion/common/parser.ts b/src/platform/plugins/private/vis_types/timelion/common/parser.ts similarity index 100% rename from src/plugins/vis_types/timelion/common/parser.ts rename to src/platform/plugins/private/vis_types/timelion/common/parser.ts diff --git a/src/plugins/vis_types/timelion/common/parser_async.ts b/src/platform/plugins/private/vis_types/timelion/common/parser_async.ts similarity index 100% rename from src/plugins/vis_types/timelion/common/parser_async.ts rename to src/platform/plugins/private/vis_types/timelion/common/parser_async.ts diff --git a/src/plugins/vis_types/timelion/common/types.ts b/src/platform/plugins/private/vis_types/timelion/common/types.ts similarity index 100% rename from src/plugins/vis_types/timelion/common/types.ts rename to src/platform/plugins/private/vis_types/timelion/common/types.ts diff --git a/src/plugins/vis_types/timelion/common/vis_data.ts b/src/platform/plugins/private/vis_types/timelion/common/vis_data.ts similarity index 100% rename from src/plugins/vis_types/timelion/common/vis_data.ts rename to src/platform/plugins/private/vis_types/timelion/common/vis_data.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/jest.config.js b/src/platform/plugins/private/vis_types/timelion/jest.config.js similarity index 66% rename from src/plugins/chart_expressions/expression_tagcloud/jest.config.js rename to src/platform/plugins/private/vis_types/timelion/jest.config.js index 5a74730e6fcc1..6d8e58b69358a 100644 --- a/src/plugins/chart_expressions/expression_tagcloud/jest.config.js +++ b/src/platform/plugins/private/vis_types/timelion/jest.config.js @@ -9,12 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../../', - roots: ['/src/plugins/chart_expressions/expression_tagcloud'], + rootDir: '../../../../../..', + roots: ['/src/platform/plugins/private/vis_types/timelion'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_tagcloud', + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/timelion', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/chart_expressions/expression_tagcloud/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/private/vis_types/timelion/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/src/plugins/vis_types/timelion/kibana.jsonc b/src/platform/plugins/private/vis_types/timelion/kibana.jsonc similarity index 100% rename from src/plugins/vis_types/timelion/kibana.jsonc rename to src/platform/plugins/private/vis_types/timelion/kibana.jsonc diff --git a/src/plugins/vis_types/timelion/public/__snapshots__/to_ast.test.ts.snap b/src/platform/plugins/private/vis_types/timelion/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/vis_types/timelion/public/__snapshots__/to_ast.test.ts.snap rename to src/platform/plugins/private/vis_types/timelion/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/vis_types/timelion/public/async_services.ts b/src/platform/plugins/private/vis_types/timelion/public/async_services.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/async_services.ts rename to src/platform/plugins/private/vis_types/timelion/public/async_services.ts diff --git a/src/plugins/vis_types/timelion/public/components/index.ts b/src/platform/plugins/private/vis_types/timelion/public/components/index.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/components/index.ts rename to src/platform/plugins/private/vis_types/timelion/public/components/index.ts diff --git a/src/plugins/vis_types/timelion/public/components/series/area.tsx b/src/platform/plugins/private/vis_types/timelion/public/components/series/area.tsx similarity index 100% rename from src/plugins/vis_types/timelion/public/components/series/area.tsx rename to src/platform/plugins/private/vis_types/timelion/public/components/series/area.tsx diff --git a/src/plugins/vis_types/timelion/public/components/series/bar.tsx b/src/platform/plugins/private/vis_types/timelion/public/components/series/bar.tsx similarity index 100% rename from src/plugins/vis_types/timelion/public/components/series/bar.tsx rename to src/platform/plugins/private/vis_types/timelion/public/components/series/bar.tsx diff --git a/src/plugins/vis_types/timelion/public/components/series/index.ts b/src/platform/plugins/private/vis_types/timelion/public/components/series/index.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/components/series/index.ts rename to src/platform/plugins/private/vis_types/timelion/public/components/series/index.ts diff --git a/src/plugins/vis_types/timelion/public/components/timelion_expression_input.tsx b/src/platform/plugins/private/vis_types/timelion/public/components/timelion_expression_input.tsx similarity index 100% rename from src/plugins/vis_types/timelion/public/components/timelion_expression_input.tsx rename to src/platform/plugins/private/vis_types/timelion/public/components/timelion_expression_input.tsx diff --git a/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts b/src/platform/plugins/private/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts rename to src/platform/plugins/private/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts diff --git a/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.ts b/src/platform/plugins/private/vis_types/timelion/public/components/timelion_expression_input_helpers.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.ts rename to src/platform/plugins/private/vis_types/timelion/public/components/timelion_expression_input_helpers.ts diff --git a/src/plugins/vis_types/timelion/public/components/timelion_interval.tsx b/src/platform/plugins/private/vis_types/timelion/public/components/timelion_interval.tsx similarity index 100% rename from src/plugins/vis_types/timelion/public/components/timelion_interval.tsx rename to src/platform/plugins/private/vis_types/timelion/public/components/timelion_interval.tsx diff --git a/src/plugins/vis_types/timelion/public/components/timelion_vis.scss b/src/platform/plugins/private/vis_types/timelion/public/components/timelion_vis.scss similarity index 100% rename from src/plugins/vis_types/timelion/public/components/timelion_vis.scss rename to src/platform/plugins/private/vis_types/timelion/public/components/timelion_vis.scss diff --git a/src/plugins/vis_types/timelion/public/components/timelion_vis_component.tsx b/src/platform/plugins/private/vis_types/timelion/public/components/timelion_vis_component.tsx similarity index 100% rename from src/plugins/vis_types/timelion/public/components/timelion_vis_component.tsx rename to src/platform/plugins/private/vis_types/timelion/public/components/timelion_vis_component.tsx diff --git a/src/plugins/vis_types/timelion/public/helpers/arg_value_suggestions.ts b/src/platform/plugins/private/vis_types/timelion/public/helpers/arg_value_suggestions.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/helpers/arg_value_suggestions.ts rename to src/platform/plugins/private/vis_types/timelion/public/helpers/arg_value_suggestions.ts diff --git a/src/plugins/vis_types/timelion/public/helpers/chart_constants.ts b/src/platform/plugins/private/vis_types/timelion/public/helpers/chart_constants.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/helpers/chart_constants.ts rename to src/platform/plugins/private/vis_types/timelion/public/helpers/chart_constants.ts diff --git a/src/plugins/vis_types/timelion/public/helpers/panel_utils.ts b/src/platform/plugins/private/vis_types/timelion/public/helpers/panel_utils.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/helpers/panel_utils.ts rename to src/platform/plugins/private/vis_types/timelion/public/helpers/panel_utils.ts diff --git a/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts b/src/platform/plugins/private/vis_types/timelion/public/helpers/plugin_services.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/helpers/plugin_services.ts rename to src/platform/plugins/private/vis_types/timelion/public/helpers/plugin_services.ts diff --git a/src/plugins/vis_types/timelion/public/helpers/tick_formatters.test.ts b/src/platform/plugins/private/vis_types/timelion/public/helpers/tick_formatters.test.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/helpers/tick_formatters.test.ts rename to src/platform/plugins/private/vis_types/timelion/public/helpers/tick_formatters.test.ts diff --git a/src/plugins/vis_types/timelion/public/helpers/tick_formatters.ts b/src/platform/plugins/private/vis_types/timelion/public/helpers/tick_formatters.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/helpers/tick_formatters.ts rename to src/platform/plugins/private/vis_types/timelion/public/helpers/tick_formatters.ts diff --git a/src/plugins/vis_types/timelion/public/helpers/tick_generator.test.ts b/src/platform/plugins/private/vis_types/timelion/public/helpers/tick_generator.test.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/helpers/tick_generator.test.ts rename to src/platform/plugins/private/vis_types/timelion/public/helpers/tick_generator.test.ts diff --git a/src/plugins/vis_types/timelion/public/helpers/tick_generator.ts b/src/platform/plugins/private/vis_types/timelion/public/helpers/tick_generator.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/helpers/tick_generator.ts rename to src/platform/plugins/private/vis_types/timelion/public/helpers/tick_generator.ts diff --git a/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts b/src/platform/plugins/private/vis_types/timelion/public/helpers/timelion_request_handler.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts rename to src/platform/plugins/private/vis_types/timelion/public/helpers/timelion_request_handler.ts diff --git a/src/plugins/vis_types/timelion/public/helpers/xaxis_formatter.ts b/src/platform/plugins/private/vis_types/timelion/public/helpers/xaxis_formatter.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/helpers/xaxis_formatter.ts rename to src/platform/plugins/private/vis_types/timelion/public/helpers/xaxis_formatter.ts diff --git a/src/plugins/vis_types/timelion/public/index.ts b/src/platform/plugins/private/vis_types/timelion/public/index.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/index.ts rename to src/platform/plugins/private/vis_types/timelion/public/index.ts diff --git a/src/plugins/vis_types/timelion/public/plugin.ts b/src/platform/plugins/private/vis_types/timelion/public/plugin.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/plugin.ts rename to src/platform/plugins/private/vis_types/timelion/public/plugin.ts diff --git a/src/plugins/vis_types/timelion/public/timelion_options.scss b/src/platform/plugins/private/vis_types/timelion/public/timelion_options.scss similarity index 100% rename from src/plugins/vis_types/timelion/public/timelion_options.scss rename to src/platform/plugins/private/vis_types/timelion/public/timelion_options.scss diff --git a/src/plugins/vis_types/timelion/public/timelion_options.tsx b/src/platform/plugins/private/vis_types/timelion/public/timelion_options.tsx similarity index 100% rename from src/plugins/vis_types/timelion/public/timelion_options.tsx rename to src/platform/plugins/private/vis_types/timelion/public/timelion_options.tsx diff --git a/src/plugins/vis_types/timelion/public/timelion_vis_fn.ts b/src/platform/plugins/private/vis_types/timelion/public/timelion_vis_fn.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/timelion_vis_fn.ts rename to src/platform/plugins/private/vis_types/timelion/public/timelion_vis_fn.ts diff --git a/src/plugins/vis_types/timelion/public/timelion_vis_renderer.tsx b/src/platform/plugins/private/vis_types/timelion/public/timelion_vis_renderer.tsx similarity index 100% rename from src/plugins/vis_types/timelion/public/timelion_vis_renderer.tsx rename to src/platform/plugins/private/vis_types/timelion/public/timelion_vis_renderer.tsx diff --git a/src/plugins/vis_types/timelion/public/timelion_vis_type.tsx b/src/platform/plugins/private/vis_types/timelion/public/timelion_vis_type.tsx similarity index 100% rename from src/plugins/vis_types/timelion/public/timelion_vis_type.tsx rename to src/platform/plugins/private/vis_types/timelion/public/timelion_vis_type.tsx diff --git a/src/plugins/vis_types/timelion/public/to_ast.test.ts b/src/platform/plugins/private/vis_types/timelion/public/to_ast.test.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/to_ast.test.ts rename to src/platform/plugins/private/vis_types/timelion/public/to_ast.test.ts diff --git a/src/plugins/vis_types/timelion/public/to_ast.ts b/src/platform/plugins/private/vis_types/timelion/public/to_ast.ts similarity index 100% rename from src/plugins/vis_types/timelion/public/to_ast.ts rename to src/platform/plugins/private/vis_types/timelion/public/to_ast.ts diff --git a/src/plugins/vis_types/timelion/server/config.ts b/src/platform/plugins/private/vis_types/timelion/server/config.ts similarity index 100% rename from src/plugins/vis_types/timelion/server/config.ts rename to src/platform/plugins/private/vis_types/timelion/server/config.ts diff --git a/src/plugins/vis_types/timelion/server/fit_functions/average.js b/src/platform/plugins/private/vis_types/timelion/server/fit_functions/average.js similarity index 100% rename from src/plugins/vis_types/timelion/server/fit_functions/average.js rename to src/platform/plugins/private/vis_types/timelion/server/fit_functions/average.js diff --git a/src/plugins/vis_types/timelion/server/fit_functions/average.test.js b/src/platform/plugins/private/vis_types/timelion/server/fit_functions/average.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/fit_functions/average.test.js rename to src/platform/plugins/private/vis_types/timelion/server/fit_functions/average.test.js diff --git a/src/plugins/vis_types/timelion/server/fit_functions/carry.js b/src/platform/plugins/private/vis_types/timelion/server/fit_functions/carry.js similarity index 100% rename from src/plugins/vis_types/timelion/server/fit_functions/carry.js rename to src/platform/plugins/private/vis_types/timelion/server/fit_functions/carry.js diff --git a/src/plugins/vis_types/timelion/server/fit_functions/carry.test.js b/src/platform/plugins/private/vis_types/timelion/server/fit_functions/carry.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/fit_functions/carry.test.js rename to src/platform/plugins/private/vis_types/timelion/server/fit_functions/carry.test.js diff --git a/src/plugins/vis_types/timelion/server/fit_functions/nearest.js b/src/platform/plugins/private/vis_types/timelion/server/fit_functions/nearest.js similarity index 100% rename from src/plugins/vis_types/timelion/server/fit_functions/nearest.js rename to src/platform/plugins/private/vis_types/timelion/server/fit_functions/nearest.js diff --git a/src/plugins/vis_types/timelion/server/fit_functions/none.js b/src/platform/plugins/private/vis_types/timelion/server/fit_functions/none.js similarity index 100% rename from src/plugins/vis_types/timelion/server/fit_functions/none.js rename to src/platform/plugins/private/vis_types/timelion/server/fit_functions/none.js diff --git a/src/plugins/vis_types/timelion/server/fit_functions/scale.js b/src/platform/plugins/private/vis_types/timelion/server/fit_functions/scale.js similarity index 100% rename from src/plugins/vis_types/timelion/server/fit_functions/scale.js rename to src/platform/plugins/private/vis_types/timelion/server/fit_functions/scale.js diff --git a/src/plugins/vis_types/timelion/server/handlers/chain_runner.js b/src/platform/plugins/private/vis_types/timelion/server/handlers/chain_runner.js similarity index 100% rename from src/plugins/vis_types/timelion/server/handlers/chain_runner.js rename to src/platform/plugins/private/vis_types/timelion/server/handlers/chain_runner.js diff --git a/src/plugins/vis_types/timelion/server/handlers/lib/arg_type.js b/src/platform/plugins/private/vis_types/timelion/server/handlers/lib/arg_type.js similarity index 100% rename from src/plugins/vis_types/timelion/server/handlers/lib/arg_type.js rename to src/platform/plugins/private/vis_types/timelion/server/handlers/lib/arg_type.js diff --git a/src/plugins/vis_types/timelion/server/handlers/lib/index_arguments.js b/src/platform/plugins/private/vis_types/timelion/server/handlers/lib/index_arguments.js similarity index 100% rename from src/plugins/vis_types/timelion/server/handlers/lib/index_arguments.js rename to src/platform/plugins/private/vis_types/timelion/server/handlers/lib/index_arguments.js diff --git a/src/plugins/vis_types/timelion/server/handlers/lib/parse_sheet.js b/src/platform/plugins/private/vis_types/timelion/server/handlers/lib/parse_sheet.js similarity index 100% rename from src/plugins/vis_types/timelion/server/handlers/lib/parse_sheet.js rename to src/platform/plugins/private/vis_types/timelion/server/handlers/lib/parse_sheet.js diff --git a/src/plugins/vis_types/timelion/server/handlers/lib/parse_sheet.test.js b/src/platform/plugins/private/vis_types/timelion/server/handlers/lib/parse_sheet.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/handlers/lib/parse_sheet.test.js rename to src/platform/plugins/private/vis_types/timelion/server/handlers/lib/parse_sheet.test.js diff --git a/src/plugins/vis_types/timelion/server/handlers/lib/preprocess_chain.js b/src/platform/plugins/private/vis_types/timelion/server/handlers/lib/preprocess_chain.js similarity index 100% rename from src/plugins/vis_types/timelion/server/handlers/lib/preprocess_chain.js rename to src/platform/plugins/private/vis_types/timelion/server/handlers/lib/preprocess_chain.js diff --git a/src/plugins/vis_types/timelion/server/handlers/lib/reposition_arguments.js b/src/platform/plugins/private/vis_types/timelion/server/handlers/lib/reposition_arguments.js similarity index 100% rename from src/plugins/vis_types/timelion/server/handlers/lib/reposition_arguments.js rename to src/platform/plugins/private/vis_types/timelion/server/handlers/lib/reposition_arguments.js diff --git a/src/plugins/vis_types/timelion/server/handlers/lib/tl_config.js b/src/platform/plugins/private/vis_types/timelion/server/handlers/lib/tl_config.js similarity index 100% rename from src/plugins/vis_types/timelion/server/handlers/lib/tl_config.js rename to src/platform/plugins/private/vis_types/timelion/server/handlers/lib/tl_config.js diff --git a/src/plugins/vis_types/timelion/server/handlers/lib/validate_arg.js b/src/platform/plugins/private/vis_types/timelion/server/handlers/lib/validate_arg.js similarity index 100% rename from src/plugins/vis_types/timelion/server/handlers/lib/validate_arg.js rename to src/platform/plugins/private/vis_types/timelion/server/handlers/lib/validate_arg.js diff --git a/src/plugins/vis_types/timelion/server/handlers/lib/validate_time.js b/src/platform/plugins/private/vis_types/timelion/server/handlers/lib/validate_time.js similarity index 100% rename from src/plugins/vis_types/timelion/server/handlers/lib/validate_time.js rename to src/platform/plugins/private/vis_types/timelion/server/handlers/lib/validate_time.js diff --git a/src/plugins/vis_types/timelion/server/index.ts b/src/platform/plugins/private/vis_types/timelion/server/index.ts similarity index 100% rename from src/plugins/vis_types/timelion/server/index.ts rename to src/platform/plugins/private/vis_types/timelion/server/index.ts diff --git a/src/plugins/vis_types/timelion/server/lib/alter.js b/src/platform/plugins/private/vis_types/timelion/server/lib/alter.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/alter.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/alter.js diff --git a/src/plugins/vis_types/timelion/server/lib/as_sorted.js b/src/platform/plugins/private/vis_types/timelion/server/lib/as_sorted.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/as_sorted.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/as_sorted.js diff --git a/src/plugins/vis_types/timelion/server/lib/build_target.js b/src/platform/plugins/private/vis_types/timelion/server/lib/build_target.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/build_target.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/build_target.js diff --git a/src/plugins/vis_types/timelion/server/lib/classes/chainable.js b/src/platform/plugins/private/vis_types/timelion/server/lib/classes/chainable.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/classes/chainable.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/classes/chainable.js diff --git a/src/plugins/vis_types/timelion/server/lib/classes/datasource.js b/src/platform/plugins/private/vis_types/timelion/server/lib/classes/datasource.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/classes/datasource.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/classes/datasource.js diff --git a/src/plugins/vis_types/timelion/server/lib/classes/timelion_function.d.ts b/src/platform/plugins/private/vis_types/timelion/server/lib/classes/timelion_function.d.ts similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/classes/timelion_function.d.ts rename to src/platform/plugins/private/vis_types/timelion/server/lib/classes/timelion_function.d.ts diff --git a/src/plugins/vis_types/timelion/server/lib/classes/timelion_function.js b/src/platform/plugins/private/vis_types/timelion/server/lib/classes/timelion_function.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/classes/timelion_function.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/classes/timelion_function.js diff --git a/src/plugins/vis_types/timelion/server/lib/config_manager.ts b/src/platform/plugins/private/vis_types/timelion/server/lib/config_manager.ts similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/config_manager.ts rename to src/platform/plugins/private/vis_types/timelion/server/lib/config_manager.ts diff --git a/src/plugins/vis_types/timelion/server/lib/functions_md.js b/src/platform/plugins/private/vis_types/timelion/server/lib/functions_md.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/functions_md.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/functions_md.js diff --git a/src/plugins/vis_types/timelion/server/lib/get_namespaced_settings.js b/src/platform/plugins/private/vis_types/timelion/server/lib/get_namespaced_settings.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/get_namespaced_settings.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/get_namespaced_settings.js diff --git a/src/plugins/vis_types/timelion/server/lib/load_functions.d.ts b/src/platform/plugins/private/vis_types/timelion/server/lib/load_functions.d.ts similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/load_functions.d.ts rename to src/platform/plugins/private/vis_types/timelion/server/lib/load_functions.d.ts diff --git a/src/plugins/vis_types/timelion/server/lib/load_functions.js b/src/platform/plugins/private/vis_types/timelion/server/lib/load_functions.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/load_functions.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/load_functions.js diff --git a/src/plugins/vis_types/timelion/server/lib/load_functions.test.js b/src/platform/plugins/private/vis_types/timelion/server/lib/load_functions.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/load_functions.test.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/load_functions.test.js diff --git a/src/plugins/vis_types/timelion/server/lib/offset_time.js b/src/platform/plugins/private/vis_types/timelion/server/lib/offset_time.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/offset_time.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/offset_time.js diff --git a/src/plugins/vis_types/timelion/server/lib/offset_time.test.js b/src/platform/plugins/private/vis_types/timelion/server/lib/offset_time.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/offset_time.test.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/offset_time.test.js diff --git a/src/plugins/vis_types/timelion/server/lib/process_function_definition.js b/src/platform/plugins/private/vis_types/timelion/server/lib/process_function_definition.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/process_function_definition.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/process_function_definition.js diff --git a/src/plugins/vis_types/timelion/server/lib/reduce.js b/src/platform/plugins/private/vis_types/timelion/server/lib/reduce.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/reduce.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/reduce.js diff --git a/src/plugins/vis_types/timelion/server/lib/split_interval.js b/src/platform/plugins/private/vis_types/timelion/server/lib/split_interval.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/split_interval.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/split_interval.js diff --git a/src/plugins/vis_types/timelion/server/lib/unzip_pairs.js b/src/platform/plugins/private/vis_types/timelion/server/lib/unzip_pairs.js similarity index 100% rename from src/plugins/vis_types/timelion/server/lib/unzip_pairs.js rename to src/platform/plugins/private/vis_types/timelion/server/lib/unzip_pairs.js diff --git a/src/plugins/vis_types/timelion/server/plugin.ts b/src/platform/plugins/private/vis_types/timelion/server/plugin.ts similarity index 100% rename from src/plugins/vis_types/timelion/server/plugin.ts rename to src/platform/plugins/private/vis_types/timelion/server/plugin.ts diff --git a/src/plugins/vis_types/timelion/server/routes/functions.ts b/src/platform/plugins/private/vis_types/timelion/server/routes/functions.ts similarity index 100% rename from src/plugins/vis_types/timelion/server/routes/functions.ts rename to src/platform/plugins/private/vis_types/timelion/server/routes/functions.ts diff --git a/src/plugins/vis_types/timelion/server/routes/run.ts b/src/platform/plugins/private/vis_types/timelion/server/routes/run.ts similarity index 100% rename from src/plugins/vis_types/timelion/server/routes/run.ts rename to src/platform/plugins/private/vis_types/timelion/server/routes/run.ts diff --git a/src/plugins/vis_types/timelion/server/series_functions/abs.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/abs.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/abs.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/abs.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/abs.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/abs.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/abs.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/abs.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/aggregate/aggregate.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/aggregate.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/aggregate/aggregate.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/aggregate.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/aggregate/avg.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/avg.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/aggregate/avg.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/avg.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/aggregate/cardinality.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/cardinality.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/aggregate/cardinality.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/cardinality.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/aggregate/first.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/first.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/aggregate/first.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/first.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/aggregate/index.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/index.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/aggregate/index.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/index.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/aggregate/last.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/last.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/aggregate/last.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/last.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/aggregate/max.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/max.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/aggregate/max.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/max.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/aggregate/min.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/min.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/aggregate/min.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/min.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/aggregate/sum.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/sum.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/aggregate/sum.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/aggregate/sum.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/bars.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/bars.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/bars.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/bars.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/bars.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/bars.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/bars.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/bars.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/color.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/color.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/color.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/color.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/color.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/color.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/color.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/color.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/condition.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/condition.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/condition.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/condition.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/condition.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/condition.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/condition.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/condition.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/cusum.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/cusum.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/cusum.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/cusum.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/cusum.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/cusum.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/cusum.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/cusum.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/derivative.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/derivative.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/derivative.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/derivative.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/derivative.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/derivative.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/derivative.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/derivative.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/divide.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/divide.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/divide.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/divide.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/divide.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/divide.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/divide.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/divide.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/es/es.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/es/es.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/es/es.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/es/es.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/es/index.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/es/index.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/es/index.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/es/index.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/es/lib/agg_body.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/es/lib/agg_body.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/es/lib/agg_body.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/es/lib/agg_body.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/es/lib/agg_response_to_series_list.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/es/lib/agg_response_to_series_list.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/es/lib/agg_response_to_series_list.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/es/lib/agg_response_to_series_list.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/es/lib/build_request.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/es/lib/build_request.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/es/lib/build_request.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/es/lib/build_request.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/es/lib/create_date_agg.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/es/lib/create_date_agg.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/es/lib/create_date_agg.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/es/lib/create_date_agg.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/first.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/first.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/first.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/first.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/first.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/first.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/first.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/first.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/fit.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/fit.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/fit.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/fit.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/fit.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/fit.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/fit.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/fit.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/fixtures/bucket_list.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/fixtures/bucket_list.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/fixtures/bucket_list.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/fixtures/bucket_list.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/fixtures/es_response.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/fixtures/es_response.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/fixtures/es_response.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/fixtures/es_response.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/fixtures/series_list.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/fixtures/series_list.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/fixtures/series_list.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/fixtures/series_list.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/fixtures/tl_config.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/fixtures/tl_config.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/fixtures/tl_config.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/fixtures/tl_config.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/hide.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/hide.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/hide.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/hide.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/hide.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/hide.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/hide.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/hide.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/holt/index.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/holt/index.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/holt/index.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/holt/index.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/holt/lib/des.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/holt/lib/des.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/holt/lib/des.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/holt/lib/des.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/holt/lib/ses.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/holt/lib/ses.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/holt/lib/ses.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/holt/lib/ses.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/holt/lib/tes.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/holt/lib/tes.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/holt/lib/tes.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/holt/lib/tes.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/label.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/label.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/label.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/label.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/label.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/label.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/label.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/label.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/legend.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/legend.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/legend.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/legend.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/legend.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/legend.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/legend.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/legend.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/lines.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/lines.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/lines.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/lines.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/lines.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/lines.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/lines.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/lines.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/log.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/log.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/log.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/log.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/log.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/log.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/log.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/log.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/max.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/max.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/max.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/max.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/max.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/max.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/max.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/max.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/min.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/min.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/min.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/min.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/min.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/min.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/min.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/min.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/movingaverage.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/movingaverage.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/movingaverage.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/movingaverage.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/movingaverage.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/movingaverage.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/movingaverage.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/movingaverage.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/movingstd.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/movingstd.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/movingstd.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/movingstd.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/movingstd.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/movingstd.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/movingstd.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/movingstd.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/multiply.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/multiply.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/multiply.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/multiply.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/multiply.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/multiply.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/multiply.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/multiply.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/points.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/points.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/points.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/points.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/points.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/points.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/points.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/points.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/precision.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/precision.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/precision.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/precision.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/precision.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/precision.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/precision.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/precision.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/props.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/props.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/props.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/props.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/range.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/range.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/range.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/range.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/range.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/range.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/range.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/range.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/scale_interval.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/scale_interval.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/scale_interval.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/scale_interval.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/scale_interval.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/scale_interval.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/scale_interval.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/scale_interval.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/static.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/static.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/static.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/static.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/static.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/static.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/static.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/static.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/subtract.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/subtract.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/subtract.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/subtract.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/subtract.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/subtract.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/subtract.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/subtract.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/sum.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/sum.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/sum.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/sum.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/sum.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/sum.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/sum.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/sum.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/test_helpers/get_series.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/test_helpers/get_series.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/test_helpers/get_series.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/test_helpers/get_series.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/test_helpers/get_series_list.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/test_helpers/get_series_list.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/test_helpers/get_series_list.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/test_helpers/get_series_list.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/test_helpers/get_single_series_list.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/test_helpers/get_single_series_list.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/test_helpers/get_single_series_list.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/test_helpers/get_single_series_list.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/test_helpers/invoke_series_fn.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/test_helpers/invoke_series_fn.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/test_helpers/invoke_series_fn.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/test_helpers/invoke_series_fn.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/title.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/title.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/title.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/title.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/title.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/title.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/title.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/title.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/trend/index.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/trend/index.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/trend/index.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/trend/index.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/trend/lib/regress.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/trend/lib/regress.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/trend/lib/regress.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/trend/lib/regress.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/trim.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/trim.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/trim.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/trim.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/trim.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/trim.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/trim.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/trim.test.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/worldbank.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/worldbank.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/worldbank.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/worldbank.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/worldbank_indicators.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/worldbank_indicators.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/worldbank_indicators.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/worldbank_indicators.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/yaxis.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/yaxis.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/yaxis.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/yaxis.js diff --git a/src/plugins/vis_types/timelion/server/series_functions/yaxis.test.js b/src/platform/plugins/private/vis_types/timelion/server/series_functions/yaxis.test.js similarity index 100% rename from src/plugins/vis_types/timelion/server/series_functions/yaxis.test.js rename to src/platform/plugins/private/vis_types/timelion/server/series_functions/yaxis.test.js diff --git a/src/plugins/vis_types/timelion/server/timelion.json b/src/platform/plugins/private/vis_types/timelion/server/timelion.json similarity index 100% rename from src/plugins/vis_types/timelion/server/timelion.json rename to src/platform/plugins/private/vis_types/timelion/server/timelion.json diff --git a/src/plugins/vis_types/timelion/server/types.ts b/src/platform/plugins/private/vis_types/timelion/server/types.ts similarity index 100% rename from src/plugins/vis_types/timelion/server/types.ts rename to src/platform/plugins/private/vis_types/timelion/server/types.ts diff --git a/src/plugins/vis_types/timelion/server/ui_settings.ts b/src/platform/plugins/private/vis_types/timelion/server/ui_settings.ts similarity index 100% rename from src/plugins/vis_types/timelion/server/ui_settings.ts rename to src/platform/plugins/private/vis_types/timelion/server/ui_settings.ts diff --git a/src/plugins/vis_types/timelion/tsconfig.json b/src/platform/plugins/private/vis_types/timelion/tsconfig.json similarity index 94% rename from src/plugins/vis_types/timelion/tsconfig.json rename to src/platform/plugins/private/vis_types/timelion/tsconfig.json index 41fd62d2aad43..d072e4b1845af 100644 --- a/src/plugins/vis_types/timelion/tsconfig.json +++ b/src/platform/plugins/private/vis_types/timelion/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/platform/plugins/private/vis_types/vega/jest.config.js b/src/platform/plugins/private/vis_types/vega/jest.config.js new file mode 100644 index 0000000000000..65e1dfb519238 --- /dev/null +++ b/src/platform/plugins/private/vis_types/vega/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/src/platform/plugins/private/vis_types/vega'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/vega', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_types/vega/{public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/src/plugins/vis_types/vega/kibana.jsonc b/src/platform/plugins/private/vis_types/vega/kibana.jsonc similarity index 100% rename from src/plugins/vis_types/vega/kibana.jsonc rename to src/platform/plugins/private/vis_types/vega/kibana.jsonc diff --git a/src/plugins/vis_types/vega/public/__snapshots__/vega_visualization.test.tsx.snap b/src/platform/plugins/private/vis_types/vega/public/__snapshots__/vega_visualization.test.tsx.snap similarity index 100% rename from src/plugins/vis_types/vega/public/__snapshots__/vega_visualization.test.tsx.snap rename to src/platform/plugins/private/vis_types/vega/public/__snapshots__/vega_visualization.test.tsx.snap diff --git a/src/plugins/vis_types/vega/public/async_services.ts b/src/platform/plugins/private/vis_types/vega/public/async_services.ts similarity index 100% rename from src/plugins/vis_types/vega/public/async_services.ts rename to src/platform/plugins/private/vis_types/vega/public/async_services.ts diff --git a/src/plugins/vis_types/vega/public/components/deprecated_interval_info.test.tsx b/src/platform/plugins/private/vis_types/vega/public/components/deprecated_interval_info.test.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/components/deprecated_interval_info.test.tsx rename to src/platform/plugins/private/vis_types/vega/public/components/deprecated_interval_info.test.tsx diff --git a/src/plugins/vis_types/vega/public/components/deprecated_interval_info.tsx b/src/platform/plugins/private/vis_types/vega/public/components/deprecated_interval_info.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/components/deprecated_interval_info.tsx rename to src/platform/plugins/private/vis_types/vega/public/components/deprecated_interval_info.tsx diff --git a/src/plugins/vis_types/vega/public/components/experimental_map_vis_info.tsx b/src/platform/plugins/private/vis_types/vega/public/components/experimental_map_vis_info.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/components/experimental_map_vis_info.tsx rename to src/platform/plugins/private/vis_types/vega/public/components/experimental_map_vis_info.tsx diff --git a/src/plugins/vis_types/vega/public/components/vega_actions_menu.tsx b/src/platform/plugins/private/vis_types/vega/public/components/vega_actions_menu.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/components/vega_actions_menu.tsx rename to src/platform/plugins/private/vis_types/vega/public/components/vega_actions_menu.tsx diff --git a/src/plugins/vis_types/vega/public/components/vega_editor.scss b/src/platform/plugins/private/vis_types/vega/public/components/vega_editor.scss similarity index 100% rename from src/plugins/vis_types/vega/public/components/vega_editor.scss rename to src/platform/plugins/private/vis_types/vega/public/components/vega_editor.scss diff --git a/src/plugins/vis_types/vega/public/components/vega_help_menu.tsx b/src/platform/plugins/private/vis_types/vega/public/components/vega_help_menu.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/components/vega_help_menu.tsx rename to src/platform/plugins/private/vis_types/vega/public/components/vega_help_menu.tsx diff --git a/src/plugins/vis_types/vega/public/components/vega_info_message.tsx b/src/platform/plugins/private/vis_types/vega/public/components/vega_info_message.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/components/vega_info_message.tsx rename to src/platform/plugins/private/vis_types/vega/public/components/vega_info_message.tsx diff --git a/src/plugins/vis_types/vega/public/components/vega_vis.scss b/src/platform/plugins/private/vis_types/vega/public/components/vega_vis.scss similarity index 100% rename from src/plugins/vis_types/vega/public/components/vega_vis.scss rename to src/platform/plugins/private/vis_types/vega/public/components/vega_vis.scss diff --git a/src/plugins/vis_types/vega/public/components/vega_vis.styles.tsx b/src/platform/plugins/private/vis_types/vega/public/components/vega_vis.styles.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/components/vega_vis.styles.tsx rename to src/platform/plugins/private/vis_types/vega/public/components/vega_vis.styles.tsx diff --git a/src/plugins/vis_types/vega/public/components/vega_vis_component.tsx b/src/platform/plugins/private/vis_types/vega/public/components/vega_vis_component.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/components/vega_vis_component.tsx rename to src/platform/plugins/private/vis_types/vega/public/components/vega_vis_component.tsx diff --git a/src/plugins/vis_types/vega/public/components/vega_vis_editor.tsx b/src/platform/plugins/private/vis_types/vega/public/components/vega_vis_editor.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/components/vega_vis_editor.tsx rename to src/platform/plugins/private/vis_types/vega/public/components/vega_vis_editor.tsx diff --git a/src/plugins/vis_types/vega/public/components/vega_vis_editor_lazy.tsx b/src/platform/plugins/private/vis_types/vega/public/components/vega_vis_editor_lazy.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/components/vega_vis_editor_lazy.tsx rename to src/platform/plugins/private/vis_types/vega/public/components/vega_vis_editor_lazy.tsx diff --git a/src/plugins/vis_types/vega/public/data_model/ems_file_parser.ts b/src/platform/plugins/private/vis_types/vega/public/data_model/ems_file_parser.ts similarity index 100% rename from src/plugins/vis_types/vega/public/data_model/ems_file_parser.ts rename to src/platform/plugins/private/vis_types/vega/public/data_model/ems_file_parser.ts diff --git a/src/plugins/vis_types/vega/public/data_model/es_query_parser.test.js b/src/platform/plugins/private/vis_types/vega/public/data_model/es_query_parser.test.js similarity index 100% rename from src/plugins/vis_types/vega/public/data_model/es_query_parser.test.js rename to src/platform/plugins/private/vis_types/vega/public/data_model/es_query_parser.test.js diff --git a/src/plugins/vis_types/vega/public/data_model/es_query_parser.ts b/src/platform/plugins/private/vis_types/vega/public/data_model/es_query_parser.ts similarity index 100% rename from src/plugins/vis_types/vega/public/data_model/es_query_parser.ts rename to src/platform/plugins/private/vis_types/vega/public/data_model/es_query_parser.ts diff --git a/src/plugins/vis_types/vega/public/data_model/search_api.test.ts b/src/platform/plugins/private/vis_types/vega/public/data_model/search_api.test.ts similarity index 100% rename from src/plugins/vis_types/vega/public/data_model/search_api.test.ts rename to src/platform/plugins/private/vis_types/vega/public/data_model/search_api.test.ts diff --git a/src/plugins/vis_types/vega/public/data_model/search_api.ts b/src/platform/plugins/private/vis_types/vega/public/data_model/search_api.ts similarity index 100% rename from src/plugins/vis_types/vega/public/data_model/search_api.ts rename to src/platform/plugins/private/vis_types/vega/public/data_model/search_api.ts diff --git a/src/plugins/vis_types/vega/public/data_model/time_cache.test.js b/src/platform/plugins/private/vis_types/vega/public/data_model/time_cache.test.js similarity index 100% rename from src/plugins/vis_types/vega/public/data_model/time_cache.test.js rename to src/platform/plugins/private/vis_types/vega/public/data_model/time_cache.test.js diff --git a/src/plugins/vis_types/vega/public/data_model/time_cache.ts b/src/platform/plugins/private/vis_types/vega/public/data_model/time_cache.ts similarity index 100% rename from src/plugins/vis_types/vega/public/data_model/time_cache.ts rename to src/platform/plugins/private/vis_types/vega/public/data_model/time_cache.ts diff --git a/src/plugins/vis_types/vega/public/data_model/types.ts b/src/platform/plugins/private/vis_types/vega/public/data_model/types.ts similarity index 100% rename from src/plugins/vis_types/vega/public/data_model/types.ts rename to src/platform/plugins/private/vis_types/vega/public/data_model/types.ts diff --git a/src/plugins/vis_types/vega/public/data_model/url_parser.ts b/src/platform/plugins/private/vis_types/vega/public/data_model/url_parser.ts similarity index 100% rename from src/plugins/vis_types/vega/public/data_model/url_parser.ts rename to src/platform/plugins/private/vis_types/vega/public/data_model/url_parser.ts diff --git a/src/plugins/vis_types/vega/public/data_model/utils.ts b/src/platform/plugins/private/vis_types/vega/public/data_model/utils.ts similarity index 100% rename from src/plugins/vis_types/vega/public/data_model/utils.ts rename to src/platform/plugins/private/vis_types/vega/public/data_model/utils.ts diff --git a/src/plugins/vis_types/vega/public/data_model/vega_parser.test.js b/src/platform/plugins/private/vis_types/vega/public/data_model/vega_parser.test.js similarity index 100% rename from src/plugins/vis_types/vega/public/data_model/vega_parser.test.js rename to src/platform/plugins/private/vis_types/vega/public/data_model/vega_parser.test.js diff --git a/src/plugins/vis_types/vega/public/data_model/vega_parser.ts b/src/platform/plugins/private/vis_types/vega/public/data_model/vega_parser.ts similarity index 100% rename from src/plugins/vis_types/vega/public/data_model/vega_parser.ts rename to src/platform/plugins/private/vis_types/vega/public/data_model/vega_parser.ts diff --git a/src/plugins/vis_types/vega/public/default.spec.hjson b/src/platform/plugins/private/vis_types/vega/public/default.spec.hjson similarity index 100% rename from src/plugins/vis_types/vega/public/default.spec.hjson rename to src/platform/plugins/private/vis_types/vega/public/default.spec.hjson diff --git a/src/plugins/vis_types/vega/public/default_spec.ts b/src/platform/plugins/private/vis_types/vega/public/default_spec.ts similarity index 100% rename from src/plugins/vis_types/vega/public/default_spec.ts rename to src/platform/plugins/private/vis_types/vega/public/default_spec.ts diff --git a/src/plugins/vis_types/vega/public/index.ts b/src/platform/plugins/private/vis_types/vega/public/index.ts similarity index 100% rename from src/plugins/vis_types/vega/public/index.ts rename to src/platform/plugins/private/vis_types/vega/public/index.ts diff --git a/src/plugins/vis_types/vega/public/lib/extract_index_pattern.test.ts b/src/platform/plugins/private/vis_types/vega/public/lib/extract_index_pattern.test.ts similarity index 100% rename from src/plugins/vis_types/vega/public/lib/extract_index_pattern.test.ts rename to src/platform/plugins/private/vis_types/vega/public/lib/extract_index_pattern.test.ts diff --git a/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts b/src/platform/plugins/private/vis_types/vega/public/lib/extract_index_pattern.ts similarity index 100% rename from src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts rename to src/platform/plugins/private/vis_types/vega/public/lib/extract_index_pattern.ts diff --git a/src/plugins/vis_types/vega/public/lib/vega_state_restorer.test.ts b/src/platform/plugins/private/vis_types/vega/public/lib/vega_state_restorer.test.ts similarity index 100% rename from src/plugins/vis_types/vega/public/lib/vega_state_restorer.test.ts rename to src/platform/plugins/private/vis_types/vega/public/lib/vega_state_restorer.test.ts diff --git a/src/plugins/vis_types/vega/public/lib/vega_state_restorer.ts b/src/platform/plugins/private/vis_types/vega/public/lib/vega_state_restorer.ts similarity index 100% rename from src/plugins/vis_types/vega/public/lib/vega_state_restorer.ts rename to src/platform/plugins/private/vis_types/vega/public/lib/vega_state_restorer.ts diff --git a/src/plugins/vis_types/vega/public/plugin.ts b/src/platform/plugins/private/vis_types/vega/public/plugin.ts similarity index 100% rename from src/plugins/vis_types/vega/public/plugin.ts rename to src/platform/plugins/private/vis_types/vega/public/plugin.ts diff --git a/src/plugins/vis_types/vega/public/services.ts b/src/platform/plugins/private/vis_types/vega/public/services.ts similarity index 100% rename from src/plugins/vis_types/vega/public/services.ts rename to src/platform/plugins/private/vis_types/vega/public/services.ts diff --git a/src/plugins/vis_types/vega/public/test_utils/default.spec.json b/src/platform/plugins/private/vis_types/vega/public/test_utils/default.spec.json similarity index 100% rename from src/plugins/vis_types/vega/public/test_utils/default.spec.json rename to src/platform/plugins/private/vis_types/vega/public/test_utils/default.spec.json diff --git a/src/plugins/vis_types/vega/public/test_utils/vega_graph.json b/src/platform/plugins/private/vis_types/vega/public/test_utils/vega_graph.json similarity index 100% rename from src/plugins/vis_types/vega/public/test_utils/vega_graph.json rename to src/platform/plugins/private/vis_types/vega/public/test_utils/vega_graph.json diff --git a/src/plugins/vis_types/vega/public/test_utils/vega_map_test.json b/src/platform/plugins/private/vis_types/vega/public/test_utils/vega_map_test.json similarity index 100% rename from src/plugins/vis_types/vega/public/test_utils/vega_map_test.json rename to src/platform/plugins/private/vis_types/vega/public/test_utils/vega_map_test.json diff --git a/src/plugins/vis_types/vega/public/test_utils/vegalite_graph.json b/src/platform/plugins/private/vis_types/vega/public/test_utils/vegalite_graph.json similarity index 100% rename from src/plugins/vis_types/vega/public/test_utils/vegalite_graph.json rename to src/platform/plugins/private/vis_types/vega/public/test_utils/vegalite_graph.json diff --git a/src/plugins/vis_types/vega/public/to_ast.ts b/src/platform/plugins/private/vis_types/vega/public/to_ast.ts similarity index 100% rename from src/plugins/vis_types/vega/public/to_ast.ts rename to src/platform/plugins/private/vis_types/vega/public/to_ast.ts diff --git a/src/plugins/vis_types/vega/public/vega_fn.ts b/src/platform/plugins/private/vis_types/vega/public/vega_fn.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_fn.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_fn.ts diff --git a/src/plugins/vis_types/vega/public/vega_inspector/components/data_viewer.tsx b/src/platform/plugins/private/vis_types/vega/public/vega_inspector/components/data_viewer.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/vega_inspector/components/data_viewer.tsx rename to src/platform/plugins/private/vis_types/vega/public/vega_inspector/components/data_viewer.tsx diff --git a/src/plugins/vis_types/vega/public/vega_inspector/components/index.ts b/src/platform/plugins/private/vis_types/vega/public/vega_inspector/components/index.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_inspector/components/index.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_inspector/components/index.ts diff --git a/src/plugins/vis_types/vega/public/vega_inspector/components/inspector_data_grid.tsx b/src/platform/plugins/private/vis_types/vega/public/vega_inspector/components/inspector_data_grid.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/vega_inspector/components/inspector_data_grid.tsx rename to src/platform/plugins/private/vis_types/vega/public/vega_inspector/components/inspector_data_grid.tsx diff --git a/src/plugins/vis_types/vega/public/vega_inspector/components/signal_viewer.tsx b/src/platform/plugins/private/vis_types/vega/public/vega_inspector/components/signal_viewer.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/vega_inspector/components/signal_viewer.tsx rename to src/platform/plugins/private/vis_types/vega/public/vega_inspector/components/signal_viewer.tsx diff --git a/src/plugins/vis_types/vega/public/vega_inspector/components/spec_viewer.tsx b/src/platform/plugins/private/vis_types/vega/public/vega_inspector/components/spec_viewer.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/vega_inspector/components/spec_viewer.tsx rename to src/platform/plugins/private/vis_types/vega/public/vega_inspector/components/spec_viewer.tsx diff --git a/src/plugins/vis_types/vega/public/vega_inspector/index.ts b/src/platform/plugins/private/vis_types/vega/public/vega_inspector/index.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_inspector/index.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_inspector/index.ts diff --git a/src/plugins/vis_types/vega/public/vega_inspector/vega_adapter.ts b/src/platform/plugins/private/vis_types/vega/public/vega_inspector/vega_adapter.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_inspector/vega_adapter.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_inspector/vega_adapter.ts diff --git a/src/plugins/vis_types/vega/public/vega_inspector/vega_data_inspector.scss b/src/platform/plugins/private/vis_types/vega/public/vega_inspector/vega_data_inspector.scss similarity index 100% rename from src/plugins/vis_types/vega/public/vega_inspector/vega_data_inspector.scss rename to src/platform/plugins/private/vis_types/vega/public/vega_inspector/vega_data_inspector.scss diff --git a/src/plugins/vis_types/vega/public/vega_inspector/vega_data_inspector.tsx b/src/platform/plugins/private/vis_types/vega/public/vega_inspector/vega_data_inspector.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/vega_inspector/vega_data_inspector.tsx rename to src/platform/plugins/private/vis_types/vega/public/vega_inspector/vega_data_inspector.tsx diff --git a/src/plugins/vis_types/vega/public/vega_inspector/vega_inspector.tsx b/src/platform/plugins/private/vis_types/vega/public/vega_inspector/vega_inspector.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/vega_inspector/vega_inspector.tsx rename to src/platform/plugins/private/vis_types/vega/public/vega_inspector/vega_inspector.tsx diff --git a/src/plugins/vis_types/vega/public/vega_request_handler.ts b/src/platform/plugins/private/vis_types/vega/public/vega_request_handler.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_request_handler.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_request_handler.ts diff --git a/src/plugins/vis_types/vega/public/vega_type.ts b/src/platform/plugins/private/vis_types/vega/public/vega_type.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_type.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_type.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/utils.test.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/utils.test.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/utils.test.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/utils.test.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/utils.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/utils.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/utils.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/utils.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_base_view.d.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_base_view.d.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_base_view.d.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_base_view.d.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_base_view.js b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_base_view.js similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_base_view.js rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_base_view.js diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_base_view.styles.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_base_view.styles.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_base_view.styles.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_base_view.styles.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/constants.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/constants.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/constants.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/constants.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/layers/index.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/layers/index.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/layers/index.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/layers/index.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/layers/tms_raster_layer.test.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/layers/tms_raster_layer.test.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/layers/tms_raster_layer.test.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/layers/tms_raster_layer.test.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/layers/tms_raster_layer.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/layers/tms_raster_layer.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/layers/tms_raster_layer.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/layers/tms_raster_layer.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/layers/types.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/layers/types.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/layers/types.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/layers/types.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/layers/vega_layer.test.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/layers/vega_layer.test.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/layers/vega_layer.test.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/layers/vega_layer.test.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/layers/vega_layer.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/layers/vega_layer.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/layers/vega_layer.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/layers/vega_layer.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/service_settings/get_service_settings.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/service_settings/get_service_settings.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/service_settings/get_service_settings.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/service_settings/get_service_settings.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/service_settings/get_service_settings_lazy.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/service_settings/get_service_settings_lazy.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/service_settings/get_service_settings_lazy.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/service_settings/get_service_settings_lazy.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings.test.js b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings.test.js similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings.test.js rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings.test.js diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings_types.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings_types.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings_types.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/service_settings/service_settings_types.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/utils/index.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/utils/index.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/utils/index.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/utils/index.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/utils/validation_helper.test.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/utils/validation_helper.test.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/utils/validation_helper.test.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/utils/validation_helper.test.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/utils/validation_helper.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/utils/validation_helper.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/utils/validation_helper.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/utils/validation_helper.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/utils/vsi_helper.test.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/utils/vsi_helper.test.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/utils/vsi_helper.test.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/utils/vsi_helper.test.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/utils/vsi_helper.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/utils/vsi_helper.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/utils/vsi_helper.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/utils/vsi_helper.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/vega_map_view.scss b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/vega_map_view.scss similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/vega_map_view.scss rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/vega_map_view.scss diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/view.test.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/view.test.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/view.test.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/view.test.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_map_view/view.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/view.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_map_view/view.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_map_view/view.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_tooltip.js b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_tooltip.js similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_tooltip.js rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_tooltip.js diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_tooltip.styles.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_tooltip.styles.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_tooltip.styles.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_tooltip.styles.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_view.d.ts b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_view.d.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_view.d.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_view.d.ts diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_view.js b/src/platform/plugins/private/vis_types/vega/public/vega_view/vega_view.js similarity index 100% rename from src/plugins/vis_types/vega/public/vega_view/vega_view.js rename to src/platform/plugins/private/vis_types/vega/public/vega_view/vega_view.js diff --git a/src/plugins/vis_types/vega/public/vega_vis_renderer.tsx b/src/platform/plugins/private/vis_types/vega/public/vega_vis_renderer.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/vega_vis_renderer.tsx rename to src/platform/plugins/private/vis_types/vega/public/vega_vis_renderer.tsx diff --git a/src/plugins/vis_types/vega/public/vega_visualization.test.tsx b/src/platform/plugins/private/vis_types/vega/public/vega_visualization.test.tsx similarity index 100% rename from src/plugins/vis_types/vega/public/vega_visualization.test.tsx rename to src/platform/plugins/private/vis_types/vega/public/vega_visualization.test.tsx diff --git a/src/plugins/vis_types/vega/public/vega_visualization.ts b/src/platform/plugins/private/vis_types/vega/public/vega_visualization.ts similarity index 100% rename from src/plugins/vis_types/vega/public/vega_visualization.ts rename to src/platform/plugins/private/vis_types/vega/public/vega_visualization.ts diff --git a/src/plugins/vis_types/vega/server/config.ts b/src/platform/plugins/private/vis_types/vega/server/config.ts similarity index 100% rename from src/plugins/vis_types/vega/server/config.ts rename to src/platform/plugins/private/vis_types/vega/server/config.ts diff --git a/src/plugins/vis_types/vega/server/index.ts b/src/platform/plugins/private/vis_types/vega/server/index.ts similarity index 100% rename from src/plugins/vis_types/vega/server/index.ts rename to src/platform/plugins/private/vis_types/vega/server/index.ts diff --git a/src/plugins/vis_types/vega/server/plugin.ts b/src/platform/plugins/private/vis_types/vega/server/plugin.ts similarity index 100% rename from src/plugins/vis_types/vega/server/plugin.ts rename to src/platform/plugins/private/vis_types/vega/server/plugin.ts diff --git a/src/plugins/vis_types/vega/server/types.ts b/src/platform/plugins/private/vis_types/vega/server/types.ts similarity index 100% rename from src/plugins/vis_types/vega/server/types.ts rename to src/platform/plugins/private/vis_types/vega/server/types.ts diff --git a/src/plugins/vis_types/vega/tsconfig.json b/src/platform/plugins/private/vis_types/vega/tsconfig.json similarity index 95% rename from src/plugins/vis_types/vega/tsconfig.json rename to src/platform/plugins/private/vis_types/vega/tsconfig.json index 3c980d413b1c5..9680724ab5516 100644 --- a/src/plugins/vis_types/vega/tsconfig.json +++ b/src/platform/plugins/private/vis_types/vega/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "strictNullChecks": false diff --git a/src/plugins/vis_types/vislib/common/index.ts b/src/platform/plugins/private/vis_types/vislib/common/index.ts similarity index 100% rename from src/plugins/vis_types/vislib/common/index.ts rename to src/platform/plugins/private/vis_types/vislib/common/index.ts diff --git a/src/platform/plugins/private/vis_types/vislib/jest.config.js b/src/platform/plugins/private/vis_types/vislib/jest.config.js new file mode 100644 index 0000000000000..c3375bc07f43f --- /dev/null +++ b/src/platform/plugins/private/vis_types/vislib/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/src/platform/plugins/private/vis_types/vislib'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/vislib', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_types/vislib/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/src/plugins/vis_types/vislib/kibana.jsonc b/src/platform/plugins/private/vis_types/vislib/kibana.jsonc similarity index 100% rename from src/plugins/vis_types/vislib/kibana.jsonc rename to src/platform/plugins/private/vis_types/vislib/kibana.jsonc diff --git a/src/plugins/vis_types/vislib/public/__snapshots__/to_ast.test.ts.snap b/src/platform/plugins/private/vis_types/vislib/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/vis_types/vislib/public/__snapshots__/to_ast.test.ts.snap rename to src/platform/plugins/private/vis_types/vislib/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/vis_types/vislib/public/fixtures/dispatch_heatmap_config.json b/src/platform/plugins/private/vis_types/vislib/public/fixtures/dispatch_heatmap_config.json similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/dispatch_heatmap_config.json rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/dispatch_heatmap_config.json diff --git a/src/plugins/vis_types/vislib/public/fixtures/dispatch_heatmap_d3.json b/src/platform/plugins/private/vis_types/vislib/public/fixtures/dispatch_heatmap_d3.json similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/dispatch_heatmap_d3.json rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/dispatch_heatmap_d3.json diff --git a/src/plugins/vis_types/vislib/public/fixtures/dispatch_heatmap_data_point.json b/src/platform/plugins/private/vis_types/vislib/public/fixtures/dispatch_heatmap_data_point.json similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/dispatch_heatmap_data_point.json rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/dispatch_heatmap_data_point.json diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_columns.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_columns.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_columns.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_columns.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_rows.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_rows.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_rows.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_rows.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_rows_series_with_holes.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_rows_series_with_holes.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_rows_series_with_holes.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_rows_series_with_holes.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_monthly_interval.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_monthly_interval.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_monthly_interval.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_monthly_interval.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_neg.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_neg.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_neg.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_neg.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_pos_neg.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_pos_neg.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_pos_neg.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_series_pos_neg.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_stacked_series.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_stacked_series.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/date_histogram/_stacked_series.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/date_histogram/_stacked_series.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/filters/_columns.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/filters/_columns.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/filters/_columns.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/filters/_columns.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/filters/_rows.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/filters/_rows.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/filters/_rows.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/filters/_rows.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/filters/_series.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/filters/_series.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/filters/_series.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/filters/_series.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/histogram/_columns.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/histogram/_columns.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/histogram/_columns.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/histogram/_columns.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/histogram/_rows.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/histogram/_rows.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/histogram/_rows.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/histogram/_rows.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/histogram/_series.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/histogram/_series.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/histogram/_series.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/histogram/_series.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/histogram/_slices.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/histogram/_slices.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/histogram/_slices.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/histogram/_slices.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/not_enough_data/_one_point.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/not_enough_data/_one_point.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/not_enough_data/_one_point.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/not_enough_data/_one_point.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/range/_columns.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/range/_columns.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/range/_columns.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/range/_columns.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/range/_rows.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/range/_rows.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/range/_rows.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/range/_rows.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/range/_series.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/range/_series.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/range/_series.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/range/_series.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/significant_terms/_columns.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/significant_terms/_columns.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/significant_terms/_columns.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/significant_terms/_columns.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/significant_terms/_rows.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/significant_terms/_rows.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/significant_terms/_rows.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/significant_terms/_rows.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/significant_terms/_series.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/significant_terms/_series.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/significant_terms/_series.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/significant_terms/_series.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/stacked/_stacked.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/stacked/_stacked.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/stacked/_stacked.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/stacked/_stacked.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/terms/_columns.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/terms/_columns.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/terms/_columns.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/terms/_columns.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/terms/_rows.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/terms/_rows.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/terms/_rows.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/terms/_rows.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/terms/_series.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/terms/_series.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/terms/_series.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/terms/_series.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mock_data/terms/_series_multiple.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/terms/_series_multiple.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mock_data/terms/_series_multiple.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mock_data/terms/_series_multiple.js diff --git a/src/plugins/vis_types/vislib/public/fixtures/mocks.js b/src/platform/plugins/private/vis_types/vislib/public/fixtures/mocks.js similarity index 100% rename from src/plugins/vis_types/vislib/public/fixtures/mocks.js rename to src/platform/plugins/private/vis_types/vislib/public/fixtures/mocks.js diff --git a/src/plugins/vis_types/vislib/public/gauge.ts b/src/platform/plugins/private/vis_types/vislib/public/gauge.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/gauge.ts rename to src/platform/plugins/private/vis_types/vislib/public/gauge.ts diff --git a/src/plugins/vis_types/vislib/public/goal.ts b/src/platform/plugins/private/vis_types/vislib/public/goal.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/goal.ts rename to src/platform/plugins/private/vis_types/vislib/public/goal.ts diff --git a/src/plugins/vis_types/vislib/public/heatmap.ts b/src/platform/plugins/private/vis_types/vislib/public/heatmap.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/heatmap.ts rename to src/platform/plugins/private/vis_types/vislib/public/heatmap.ts diff --git a/src/plugins/vis_types/vislib/public/index.scss b/src/platform/plugins/private/vis_types/vislib/public/index.scss similarity index 100% rename from src/plugins/vis_types/vislib/public/index.scss rename to src/platform/plugins/private/vis_types/vislib/public/index.scss diff --git a/src/plugins/vis_types/vislib/public/index.ts b/src/platform/plugins/private/vis_types/vislib/public/index.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/index.ts rename to src/platform/plugins/private/vis_types/vislib/public/index.ts diff --git a/src/plugins/vis_types/vislib/public/plugin.ts b/src/platform/plugins/private/vis_types/vislib/public/plugin.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/plugin.ts rename to src/platform/plugins/private/vis_types/vislib/public/plugin.ts diff --git a/src/plugins/vis_types/vislib/public/services.ts b/src/platform/plugins/private/vis_types/vislib/public/services.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/services.ts rename to src/platform/plugins/private/vis_types/vislib/public/services.ts diff --git a/src/plugins/vis_types/vislib/public/to_ast.test.ts b/src/platform/plugins/private/vis_types/vislib/public/to_ast.test.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/to_ast.test.ts rename to src/platform/plugins/private/vis_types/vislib/public/to_ast.test.ts diff --git a/src/plugins/vis_types/vislib/public/to_ast.ts b/src/platform/plugins/private/vis_types/vislib/public/to_ast.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/to_ast.ts rename to src/platform/plugins/private/vis_types/vislib/public/to_ast.ts diff --git a/src/plugins/vis_types/vislib/public/types.ts b/src/platform/plugins/private/vis_types/vislib/public/types.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/types.ts rename to src/platform/plugins/private/vis_types/vislib/public/types.ts diff --git a/src/plugins/vis_types/vislib/public/vis_controller.tsx b/src/platform/plugins/private/vis_types/vislib/public/vis_controller.tsx similarity index 100% rename from src/plugins/vis_types/vislib/public/vis_controller.tsx rename to src/platform/plugins/private/vis_types/vislib/public/vis_controller.tsx diff --git a/src/plugins/vis_types/vislib/public/vis_renderer.tsx b/src/platform/plugins/private/vis_types/vislib/public/vis_renderer.tsx similarity index 100% rename from src/plugins/vis_types/vislib/public/vis_renderer.tsx rename to src/platform/plugins/private/vis_types/vislib/public/vis_renderer.tsx diff --git a/src/plugins/vis_types/vislib/public/vis_type_vislib_vis_fn.ts b/src/platform/plugins/private/vis_types/vislib/public/vis_type_vislib_vis_fn.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vis_type_vislib_vis_fn.ts rename to src/platform/plugins/private/vis_types/vislib/public/vis_type_vislib_vis_fn.ts diff --git a/src/plugins/vis_types/vislib/public/vis_wrapper.tsx b/src/platform/plugins/private/vis_types/vislib/public/vis_wrapper.tsx similarity index 100% rename from src/plugins/vis_types/vislib/public/vis_wrapper.tsx rename to src/platform/plugins/private/vis_types/vislib/public/vis_wrapper.tsx diff --git a/src/plugins/vis_types/vislib/public/vislib/VISLIB.md b/src/platform/plugins/private/vis_types/vislib/public/vislib/VISLIB.md similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/VISLIB.md rename to src/platform/plugins/private/vis_types/vislib/public/vislib/VISLIB.md diff --git a/src/plugins/vis_types/vislib/public/vislib/_index.scss b/src/platform/plugins/private/vis_types/vislib/public/vislib/_index.scss similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/_index.scss rename to src/platform/plugins/private/vis_types/vislib/public/vislib/_index.scss diff --git a/src/plugins/vis_types/vislib/public/vislib/_variables.scss b/src/platform/plugins/private/vis_types/vislib/public/vislib/_variables.scss similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/_variables.scss rename to src/platform/plugins/private/vis_types/vislib/public/vislib/_variables.scss diff --git a/src/plugins/vis_types/vislib/public/vislib/_vislib_vis_type.scss b/src/platform/plugins/private/vis_types/vislib/public/vislib/_vislib_vis_type.scss similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/_vislib_vis_type.scss rename to src/platform/plugins/private/vis_types/vislib/public/vislib/_vislib_vis_type.scss diff --git a/src/plugins/vis_types/vislib/public/vislib/components/labels/data_array.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/labels/data_array.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/labels/data_array.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/labels/data_array.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/labels/flatten_series.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/labels/flatten_series.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/labels/flatten_series.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/labels/flatten_series.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/labels/index.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/labels/index.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/labels/index.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/labels/index.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/labels/labels.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/labels/labels.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/labels/labels.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/labels/labels.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/labels/labels.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/labels/labels.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/labels/labels.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/labels/labels.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/labels/truncate_labels.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/labels/truncate_labels.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/labels/truncate_labels.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/labels/truncate_labels.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/labels/uniq_labels.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/labels/uniq_labels.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/labels/uniq_labels.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/labels/uniq_labels.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/legend/__snapshots__/legend.test.tsx.snap b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/__snapshots__/legend.test.tsx.snap similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/legend/__snapshots__/legend.test.tsx.snap rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/__snapshots__/legend.test.tsx.snap diff --git a/src/plugins/vis_types/vislib/public/vislib/components/legend/_index.scss b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/_index.scss similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/legend/_index.scss rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/_index.scss diff --git a/src/plugins/vis_types/vislib/public/vislib/components/legend/_legend.scss b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/_legend.scss similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/legend/_legend.scss rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/_legend.scss diff --git a/src/plugins/vis_types/vislib/public/vislib/components/legend/index.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/index.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/legend/index.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/index.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/components/legend/legend.test.tsx b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/legend.test.tsx similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/legend/legend.test.tsx rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/legend.test.tsx diff --git a/src/plugins/vis_types/vislib/public/vislib/components/legend/legend.tsx b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/legend.tsx similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/legend/legend.tsx rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/legend.tsx diff --git a/src/plugins/vis_types/vislib/public/vislib/components/legend/legend_item.tsx b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/legend_item.tsx similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/legend/legend_item.tsx rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/legend_item.tsx diff --git a/src/plugins/vis_types/vislib/public/vislib/components/legend/models.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/models.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/legend/models.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/models.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/components/tooltip/_collect_branch.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/_collect_branch.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/tooltip/_collect_branch.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/_collect_branch.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/tooltip/_collect_branch.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/_collect_branch.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/tooltip/_collect_branch.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/_collect_branch.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/tooltip/_index.scss b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/_index.scss similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/tooltip/_index.scss rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/_index.scss diff --git a/src/plugins/vis_types/vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/tooltip/_tooltip.scss b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/_tooltip.scss similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/tooltip/_tooltip.scss rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/_tooltip.scss diff --git a/src/plugins/vis_types/vislib/public/vislib/components/tooltip/index.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/index.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/tooltip/index.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/index.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/tooltip/position_tooltip.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/position_tooltip.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/tooltip/position_tooltip.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/position_tooltip.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/tooltip/position_tooltip.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/position_tooltip.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/tooltip/position_tooltip.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/position_tooltip.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/tooltip/tooltip.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/tooltip.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/tooltip/tooltip.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/tooltip/tooltip.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/zero_injection/flatten_data.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/zero_injection/flatten_data.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/zero_injection/flatten_data.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/zero_injection/flatten_data.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/zero_injection/inject_zeros.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/zero_injection/inject_zeros.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/zero_injection/inject_zeros.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/zero_injection/inject_zeros.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/zero_injection/ordered_x_keys.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/zero_injection/ordered_x_keys.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/zero_injection/ordered_x_keys.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/zero_injection/ordered_x_keys.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/zero_injection/uniq_keys.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/zero_injection/uniq_keys.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/zero_injection/uniq_keys.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/zero_injection/uniq_keys.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/zero_injection/zero_fill_data_array.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/zero_injection/zero_fill_data_array.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/zero_injection/zero_fill_data_array.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/zero_injection/zero_fill_data_array.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/zero_injection/zero_filled_array.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/zero_injection/zero_filled_array.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/zero_injection/zero_filled_array.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/zero_injection/zero_filled_array.js diff --git a/src/plugins/vis_types/vislib/public/vislib/components/zero_injection/zero_injection.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/zero_injection/zero_injection.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/components/zero_injection/zero_injection.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/components/zero_injection/zero_injection.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/errors.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/errors.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/errors.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/errors.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/index.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/index.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/index.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/index.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_add_to_siri.test.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_add_to_siri.test.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_add_to_siri.test.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_add_to_siri.test.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_add_to_siri.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_add_to_siri.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_add_to_siri.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_add_to_siri.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_fake_x_aspect.test.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_fake_x_aspect.test.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_fake_x_aspect.test.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_fake_x_aspect.test.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_fake_x_aspect.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_fake_x_aspect.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_fake_x_aspect.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_fake_x_aspect.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_get_aspects.test.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_get_aspects.test.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_get_aspects.test.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_get_aspects.test.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_get_aspects.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_get_aspects.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_get_aspects.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_get_aspects.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_get_point.test.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_get_point.test.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_get_point.test.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_get_point.test.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_get_point.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_get_point.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_get_point.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_get_point.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_get_series.test.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_get_series.test.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_get_series.test.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_get_series.test.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_get_series.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_get_series.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_get_series.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_get_series.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_init_x_axis.test.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_init_x_axis.test.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_init_x_axis.test.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_init_x_axis.test.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_init_x_axis.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_init_x_axis.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_init_x_axis.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_init_x_axis.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_init_y_axis.test.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_init_y_axis.test.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_init_y_axis.test.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_init_y_axis.test.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_init_y_axis.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_init_y_axis.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_init_y_axis.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_init_y_axis.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_ordered_date_axis.test.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_ordered_date_axis.test.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_ordered_date_axis.test.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_ordered_date_axis.test.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_ordered_date_axis.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_ordered_date_axis.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/_ordered_date_axis.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/_ordered_date_axis.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/index.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/index.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/index.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/index.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/point_series.test.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/point_series.test.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/point_series.test.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/point_series.test.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/helpers/point_series/point_series.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/point_series.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/helpers/point_series/point_series.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/helpers/point_series/point_series.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/__snapshots__/dispatch_heatmap.test.js.snap b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/__snapshots__/dispatch_heatmap.test.js.snap similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/__snapshots__/dispatch_heatmap.test.js.snap rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/__snapshots__/dispatch_heatmap.test.js.snap diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/_data_label.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/_data_label.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/_data_label.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/_data_label.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/_error_handler.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/_error_handler.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/_error_handler.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/_error_handler.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/_error_handler.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/_error_handler.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/_error_handler.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/_error_handler.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/_index.scss b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/_index.scss similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/_index.scss rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/_index.scss diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/axis/axis.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/axis/axis.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_config.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis_config.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_config.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis_config.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_labels.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis_labels.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_labels.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis_labels.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_scale.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis_scale.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_scale.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis_scale.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_title.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis_title.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_title.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis_title.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_title.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis_title.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_title.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis_title.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/index.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/index.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/axis/index.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/index.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/scale_modes.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/scale_modes.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/axis/scale_modes.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/scale_modes.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/time_ticks.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/time_ticks.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/axis/time_ticks.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/time_ticks.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/time_ticks.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/time_ticks.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/axis/time_ticks.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/time_ticks.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/x_axis.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/x_axis.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/axis/x_axis.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/x_axis.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/y_axis.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/y_axis.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/axis/y_axis.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/y_axis.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/binder.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/binder.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/binder.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/binder.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/chart_grid.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/chart_grid.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/chart_grid.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/chart_grid.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/chart_title.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/chart_title.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/chart_title.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/chart_title.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/chart_title.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/chart_title.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/chart_title.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/chart_title.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/data.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/data.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/data.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/data.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/data.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/data.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/data.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/data.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/dispatch.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/dispatch.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/dispatch.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/dispatch.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/dispatch.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/dispatch.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/dispatch.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/dispatch.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/dispatch_heatmap.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/dispatch_heatmap.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/dispatch_heatmap.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/dispatch_heatmap.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/handler.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/handler.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/handler.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/handler.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/handler.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/handler.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/handler.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/handler.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/_index.scss b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/_index.scss similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/_index.scss rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/_index.scss diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/_layout.scss b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/_layout.scss similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/_layout.scss rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/_layout.scss diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/index.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/index.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/index.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/index.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/layout.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/layout.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/layout.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/layout.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/layout.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/layout.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/layout.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/layout.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/layout_types.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/layout_types.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/layout_types.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/layout_types.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/layout_types.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/layout_types.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/layout_types.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/layout_types.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/chart_split.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/chart_split.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/chart_split.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/chart_split.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/chart_title_split.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/chart_title_split.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/chart_title_split.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/chart_title_split.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/splits.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/splits.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/splits.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/splits.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/x_axis_split.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/x_axis_split.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/x_axis_split.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/x_axis_split.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/y_axis_split.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/y_axis_split.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/y_axis_split.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/column_chart/y_axis_split.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/chart_split.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/chart_split.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/chart_split.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/chart_split.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/chart_title_split.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/chart_title_split.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/chart_title_split.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/chart_title_split.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/splits.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/splits.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/splits.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/gauge_chart/splits.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/pie_chart/chart_split.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/pie_chart/chart_split.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/pie_chart/chart_split.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/pie_chart/chart_split.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/pie_chart/chart_title_split.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/pie_chart/chart_title_split.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/splits/pie_chart/chart_title_split.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/splits/pie_chart/chart_title_split.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/types/column_layout.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/types/column_layout.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/types/column_layout.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/types/column_layout.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/types/column_layout.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/types/column_layout.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/types/column_layout.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/types/column_layout.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/types/gauge_layout.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/types/gauge_layout.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/layout/types/gauge_layout.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/layout/types/gauge_layout.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/types/gauge.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/types/gauge.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/types/gauge.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/types/gauge.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/types/index.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/types/index.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/types/index.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/types/index.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/types/point_series.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/types/point_series.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/types/point_series.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/types/point_series.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/types/point_series.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/types/point_series.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/types/point_series.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/types/point_series.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/vis_config.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/vis_config.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/vis_config.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/vis_config.js diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/vis_config.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/lib/vis_config.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/lib/vis_config.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/lib/vis_config.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/partials/touchdown_template.tsx b/src/platform/plugins/private/vis_types/vislib/public/vislib/partials/touchdown_template.tsx similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/partials/touchdown_template.tsx rename to src/platform/plugins/private/vis_types/vislib/public/vislib/partials/touchdown_template.tsx diff --git a/src/plugins/vis_types/vislib/public/vislib/percentage_mode_transform.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/percentage_mode_transform.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/percentage_mode_transform.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/percentage_mode_transform.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/response_handler.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/response_handler.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/response_handler.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/response_handler.js diff --git a/src/plugins/vis_types/vislib/public/vislib/response_handler.test.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/response_handler.test.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/response_handler.test.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/response_handler.test.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/types.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/types.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/types.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/types.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/vis.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/vis.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/vis.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/vis.js diff --git a/src/plugins/vis_types/vislib/public/vislib/vis.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/vis.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/vis.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/vis.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/_chart.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/_chart.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/_chart.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/_chart.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/_vis_fixture.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/_vis_fixture.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/_vis_fixture.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/_vis_fixture.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/chart.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/chart.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/chart.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/chart.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/gauge_chart.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/gauge_chart.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/gauge_chart.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/gauge_chart.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/gauge_chart.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/gauge_chart.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/gauge_chart.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/gauge_chart.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/gauges/_index.scss b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/gauges/_index.scss similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/gauges/_index.scss rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/gauges/_index.scss diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/gauges/_meter.scss b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/gauges/_meter.scss similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/gauges/_meter.scss rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/gauges/_meter.scss diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/gauges/gauge_types.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/gauges/gauge_types.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/gauges/gauge_types.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/gauges/gauge_types.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/gauges/meter.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/gauges/meter.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/gauges/meter.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/gauges/meter.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/point_series.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/point_series.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/point_series.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/_point_series.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/point_series/_point_series.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/_point_series.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/point_series/_point_series.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/_point_series.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/point_series/_point_series.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/_point_series.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/point_series/_point_series.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/heatmap_chart.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/point_series/heatmap_chart.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/heatmap_chart.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/point_series/heatmap_chart.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/heatmap_chart.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/point_series/heatmap_chart.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/heatmap_chart.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/point_series/heatmap_chart.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/time_marker.d.ts b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/time_marker.d.ts similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/time_marker.d.ts rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/time_marker.d.ts diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/time_marker.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/time_marker.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/time_marker.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/time_marker.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/time_marker.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/time_marker.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/time_marker.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/time_marker.test.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/vis_types.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/vis_types.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/vis_types.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/vis_types.js diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/vis_types.test.js b/src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/vis_types.test.js similarity index 100% rename from src/plugins/vis_types/vislib/public/vislib/visualizations/vis_types.test.js rename to src/platform/plugins/private/vis_types/vislib/public/vislib/visualizations/vis_types.test.js diff --git a/src/plugins/vis_types/vislib/server/config.ts b/src/platform/plugins/private/vis_types/vislib/server/config.ts similarity index 100% rename from src/plugins/vis_types/vislib/server/config.ts rename to src/platform/plugins/private/vis_types/vislib/server/config.ts diff --git a/src/plugins/vis_types/vislib/server/index.ts b/src/platform/plugins/private/vis_types/vislib/server/index.ts similarity index 100% rename from src/plugins/vis_types/vislib/server/index.ts rename to src/platform/plugins/private/vis_types/vislib/server/index.ts diff --git a/src/plugins/vis_types/vislib/server/plugin.ts b/src/platform/plugins/private/vis_types/vislib/server/plugin.ts similarity index 100% rename from src/plugins/vis_types/vislib/server/plugin.ts rename to src/platform/plugins/private/vis_types/vislib/server/plugin.ts diff --git a/src/plugins/vis_types/vislib/server/ui_settings.ts b/src/platform/plugins/private/vis_types/vislib/server/ui_settings.ts similarity index 100% rename from src/plugins/vis_types/vislib/server/ui_settings.ts rename to src/platform/plugins/private/vis_types/vislib/server/ui_settings.ts diff --git a/src/plugins/vis_types/vislib/tsconfig.json b/src/platform/plugins/private/vis_types/vislib/tsconfig.json similarity index 95% rename from src/plugins/vis_types/vislib/tsconfig.json rename to src/platform/plugins/private/vis_types/vislib/tsconfig.json index 9cbe0dce7e68f..4a5f0a7c57789 100644 --- a/src/plugins/vis_types/vislib/tsconfig.json +++ b/src/platform/plugins/private/vis_types/vislib/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/vis_types/xy/common/index.ts b/src/platform/plugins/private/vis_types/xy/common/index.ts similarity index 100% rename from src/plugins/vis_types/xy/common/index.ts rename to src/platform/plugins/private/vis_types/xy/common/index.ts diff --git a/src/platform/plugins/private/vis_types/xy/jest.config.js b/src/platform/plugins/private/vis_types/xy/jest.config.js new file mode 100644 index 0000000000000..481d3f78a8797 --- /dev/null +++ b/src/platform/plugins/private/vis_types/xy/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/src/platform/plugins/private/vis_types/xy'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/xy', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_types/xy/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/vis_types/xy/kibana.jsonc b/src/platform/plugins/private/vis_types/xy/kibana.jsonc similarity index 100% rename from src/plugins/vis_types/xy/kibana.jsonc rename to src/platform/plugins/private/vis_types/xy/kibana.jsonc diff --git a/src/plugins/vis_types/xy/public/__snapshots__/to_ast.test.ts.snap b/src/platform/plugins/private/vis_types/xy/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/vis_types/xy/public/__snapshots__/to_ast.test.ts.snap rename to src/platform/plugins/private/vis_types/xy/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/vis_types/xy/public/convert_to_lens/configurations/index.test.ts b/src/platform/plugins/private/vis_types/xy/public/convert_to_lens/configurations/index.test.ts similarity index 100% rename from src/plugins/vis_types/xy/public/convert_to_lens/configurations/index.test.ts rename to src/platform/plugins/private/vis_types/xy/public/convert_to_lens/configurations/index.test.ts diff --git a/src/plugins/vis_types/xy/public/convert_to_lens/configurations/index.ts b/src/platform/plugins/private/vis_types/xy/public/convert_to_lens/configurations/index.ts similarity index 100% rename from src/plugins/vis_types/xy/public/convert_to_lens/configurations/index.ts rename to src/platform/plugins/private/vis_types/xy/public/convert_to_lens/configurations/index.ts diff --git a/src/plugins/vis_types/xy/public/convert_to_lens/index.test.ts b/src/platform/plugins/private/vis_types/xy/public/convert_to_lens/index.test.ts similarity index 100% rename from src/plugins/vis_types/xy/public/convert_to_lens/index.test.ts rename to src/platform/plugins/private/vis_types/xy/public/convert_to_lens/index.test.ts diff --git a/src/plugins/vis_types/xy/public/convert_to_lens/index.ts b/src/platform/plugins/private/vis_types/xy/public/convert_to_lens/index.ts similarity index 100% rename from src/plugins/vis_types/xy/public/convert_to_lens/index.ts rename to src/platform/plugins/private/vis_types/xy/public/convert_to_lens/index.ts diff --git a/src/plugins/vis_types/xy/public/convert_to_lens/types.ts b/src/platform/plugins/private/vis_types/xy/public/convert_to_lens/types.ts similarity index 100% rename from src/plugins/vis_types/xy/public/convert_to_lens/types.ts rename to src/platform/plugins/private/vis_types/xy/public/convert_to_lens/types.ts diff --git a/src/plugins/vis_types/xy/public/editor/collections.ts b/src/platform/plugins/private/vis_types/xy/public/editor/collections.ts similarity index 100% rename from src/plugins/vis_types/xy/public/editor/collections.ts rename to src/platform/plugins/private/vis_types/xy/public/editor/collections.ts diff --git a/src/plugins/vis_types/xy/public/editor/common_config.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/common_config.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/common_config.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/common_config.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/common/index.ts b/src/platform/plugins/private/vis_types/xy/public/editor/components/common/index.ts similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/common/index.ts rename to src/platform/plugins/private/vis_types/xy/public/editor/components/common/index.ts diff --git a/src/plugins/vis_types/xy/public/editor/components/common/truncate_labels.test.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/common/truncate_labels.test.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/common/truncate_labels.test.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/common/truncate_labels.test.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/common/truncate_labels.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/common/truncate_labels.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/common/truncate_labels.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/common/truncate_labels.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/common/validation_wrapper.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/common/validation_wrapper.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/common/validation_wrapper.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/common/validation_wrapper.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/index.ts b/src/platform/plugins/private/vis_types/xy/public/editor/components/index.ts similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/index.ts rename to src/platform/plugins/private/vis_types/xy/public/editor/components/index.ts diff --git a/src/plugins/vis_types/xy/public/editor/components/options/index.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/index.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/index.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/index.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/category_axis_panel.test.tsx.snap b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/category_axis_panel.test.tsx.snap similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/category_axis_panel.test.tsx.snap rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/category_axis_panel.test.tsx.snap diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/chart_options.test.tsx.snap b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/chart_options.test.tsx.snap similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/chart_options.test.tsx.snap rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/chart_options.test.tsx.snap diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/custom_extents_options.test.tsx.snap b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/custom_extents_options.test.tsx.snap similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/custom_extents_options.test.tsx.snap rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/custom_extents_options.test.tsx.snap diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/index.test.tsx.snap b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/index.test.tsx.snap similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/index.test.tsx.snap rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/index.test.tsx.snap diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/label_options.test.tsx.snap b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/label_options.test.tsx.snap similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/label_options.test.tsx.snap rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/label_options.test.tsx.snap diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/line_options.test.tsx.snap b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/line_options.test.tsx.snap similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/line_options.test.tsx.snap rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/line_options.test.tsx.snap diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/point_options.test.tsx.snap b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/point_options.test.tsx.snap similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/point_options.test.tsx.snap rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/point_options.test.tsx.snap diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/value_axes_panel.test.tsx.snap b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/value_axes_panel.test.tsx.snap similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/value_axes_panel.test.tsx.snap rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/value_axes_panel.test.tsx.snap diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/value_axis_options.test.tsx.snap b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/value_axis_options.test.tsx.snap similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/value_axis_options.test.tsx.snap rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/value_axis_options.test.tsx.snap diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/y_extents.test.tsx.snap b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/y_extents.test.tsx.snap similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/y_extents.test.tsx.snap rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/y_extents.test.tsx.snap diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/category_axis_panel.test.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/category_axis_panel.test.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/category_axis_panel.test.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/category_axis_panel.test.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/category_axis_panel.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/category_axis_panel.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/category_axis_panel.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/category_axis_panel.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/chart_options.test.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/chart_options.test.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/chart_options.test.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/chart_options.test.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/chart_options.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/chart_options.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/chart_options.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/chart_options.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/custom_extents_options.test.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/custom_extents_options.test.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/custom_extents_options.test.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/custom_extents_options.test.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/custom_extents_options.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/custom_extents_options.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/custom_extents_options.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/custom_extents_options.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/index.test.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/index.test.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/index.test.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/index.test.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/index.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/index.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/index.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/index.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/label_options.test.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/label_options.test.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/label_options.test.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/label_options.test.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/label_options.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/label_options.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/label_options.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/label_options.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/line_options.test.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/line_options.test.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/line_options.test.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/line_options.test.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/line_options.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/line_options.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/line_options.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/line_options.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/mocks.ts b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/mocks.ts similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/mocks.ts rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/mocks.ts diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/point_options.test.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/point_options.test.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/point_options.test.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/point_options.test.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/point_options.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/point_options.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/point_options.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/point_options.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/series_panel.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/series_panel.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/series_panel.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/series_panel.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/utils.ts b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/utils.ts similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/utils.ts rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/utils.ts diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/value_axes_panel.test.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/value_axes_panel.test.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/value_axes_panel.test.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/value_axes_panel.test.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/value_axes_panel.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/value_axes_panel.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/value_axes_panel.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/value_axes_panel.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/value_axis_options.test.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/value_axis_options.test.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/value_axis_options.test.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/value_axis_options.test.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/value_axis_options.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/value_axis_options.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/value_axis_options.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/value_axis_options.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/y_extents.test.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/y_extents.test.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/y_extents.test.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/y_extents.test.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/y_extents.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/y_extents.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/y_extents.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/metrics_axes/y_extents.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/point_series/elastic_charts_options.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/point_series/elastic_charts_options.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/point_series/elastic_charts_options.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/point_series/elastic_charts_options.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/point_series/grid_panel.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/point_series/grid_panel.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/point_series/grid_panel.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/point_series/grid_panel.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/point_series/index.ts b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/point_series/index.ts similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/point_series/index.ts rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/point_series/index.ts diff --git a/src/plugins/vis_types/xy/public/editor/components/options/point_series/point_series.mocks.ts b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/point_series/point_series.mocks.ts similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/point_series/point_series.mocks.ts rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/point_series/point_series.mocks.ts diff --git a/src/plugins/vis_types/xy/public/editor/components/options/point_series/point_series.test.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/point_series/point_series.test.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/point_series/point_series.test.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/point_series/point_series.test.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/point_series/point_series.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/point_series/point_series.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/point_series/point_series.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/point_series/point_series.tsx diff --git a/src/plugins/vis_types/xy/public/editor/components/options/point_series/threshold_panel.tsx b/src/platform/plugins/private/vis_types/xy/public/editor/components/options/point_series/threshold_panel.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/editor/components/options/point_series/threshold_panel.tsx rename to src/platform/plugins/private/vis_types/xy/public/editor/components/options/point_series/threshold_panel.tsx diff --git a/src/plugins/vis_types/xy/public/editor/index.ts b/src/platform/plugins/private/vis_types/xy/public/editor/index.ts similarity index 100% rename from src/plugins/vis_types/xy/public/editor/index.ts rename to src/platform/plugins/private/vis_types/xy/public/editor/index.ts diff --git a/src/plugins/vis_types/xy/public/editor/positions.ts b/src/platform/plugins/private/vis_types/xy/public/editor/positions.ts similarity index 100% rename from src/plugins/vis_types/xy/public/editor/positions.ts rename to src/platform/plugins/private/vis_types/xy/public/editor/positions.ts diff --git a/src/plugins/vis_types/xy/public/editor/scale_types.ts b/src/platform/plugins/private/vis_types/xy/public/editor/scale_types.ts similarity index 100% rename from src/plugins/vis_types/xy/public/editor/scale_types.ts rename to src/platform/plugins/private/vis_types/xy/public/editor/scale_types.ts diff --git a/src/plugins/vis_types/xy/public/index.ts b/src/platform/plugins/private/vis_types/xy/public/index.ts similarity index 100% rename from src/plugins/vis_types/xy/public/index.ts rename to src/platform/plugins/private/vis_types/xy/public/index.ts diff --git a/src/plugins/vis_types/xy/public/mocks.ts b/src/platform/plugins/private/vis_types/xy/public/mocks.ts similarity index 100% rename from src/plugins/vis_types/xy/public/mocks.ts rename to src/platform/plugins/private/vis_types/xy/public/mocks.ts diff --git a/src/plugins/vis_types/xy/public/plugin.ts b/src/platform/plugins/private/vis_types/xy/public/plugin.ts similarity index 100% rename from src/plugins/vis_types/xy/public/plugin.ts rename to src/platform/plugins/private/vis_types/xy/public/plugin.ts diff --git a/src/plugins/vis_types/xy/public/sample_vis.test.mocks.ts b/src/platform/plugins/private/vis_types/xy/public/sample_vis.test.mocks.ts similarity index 100% rename from src/plugins/vis_types/xy/public/sample_vis.test.mocks.ts rename to src/platform/plugins/private/vis_types/xy/public/sample_vis.test.mocks.ts diff --git a/src/plugins/vis_types/xy/public/services.ts b/src/platform/plugins/private/vis_types/xy/public/services.ts similarity index 100% rename from src/plugins/vis_types/xy/public/services.ts rename to src/platform/plugins/private/vis_types/xy/public/services.ts diff --git a/src/plugins/vis_types/xy/public/to_ast.test.ts b/src/platform/plugins/private/vis_types/xy/public/to_ast.test.ts similarity index 100% rename from src/plugins/vis_types/xy/public/to_ast.test.ts rename to src/platform/plugins/private/vis_types/xy/public/to_ast.test.ts diff --git a/src/plugins/vis_types/xy/public/to_ast.ts b/src/platform/plugins/private/vis_types/xy/public/to_ast.ts similarity index 100% rename from src/plugins/vis_types/xy/public/to_ast.ts rename to src/platform/plugins/private/vis_types/xy/public/to_ast.ts diff --git a/src/plugins/vis_types/xy/public/types/constants.ts b/src/platform/plugins/private/vis_types/xy/public/types/constants.ts similarity index 100% rename from src/plugins/vis_types/xy/public/types/constants.ts rename to src/platform/plugins/private/vis_types/xy/public/types/constants.ts diff --git a/src/plugins/vis_types/xy/public/types/index.ts b/src/platform/plugins/private/vis_types/xy/public/types/index.ts similarity index 100% rename from src/plugins/vis_types/xy/public/types/index.ts rename to src/platform/plugins/private/vis_types/xy/public/types/index.ts diff --git a/src/plugins/vis_types/xy/public/types/param.ts b/src/platform/plugins/private/vis_types/xy/public/types/param.ts similarity index 100% rename from src/plugins/vis_types/xy/public/types/param.ts rename to src/platform/plugins/private/vis_types/xy/public/types/param.ts diff --git a/src/plugins/vis_types/xy/public/utils/accessors.tsx b/src/platform/plugins/private/vis_types/xy/public/utils/accessors.tsx similarity index 100% rename from src/plugins/vis_types/xy/public/utils/accessors.tsx rename to src/platform/plugins/private/vis_types/xy/public/utils/accessors.tsx diff --git a/src/plugins/vis_types/xy/public/utils/common.ts b/src/platform/plugins/private/vis_types/xy/public/utils/common.ts similarity index 100% rename from src/plugins/vis_types/xy/public/utils/common.ts rename to src/platform/plugins/private/vis_types/xy/public/utils/common.ts diff --git a/src/plugins/vis_types/xy/public/utils/get_series_params.ts b/src/platform/plugins/private/vis_types/xy/public/utils/get_series_params.ts similarity index 100% rename from src/plugins/vis_types/xy/public/utils/get_series_params.ts rename to src/platform/plugins/private/vis_types/xy/public/utils/get_series_params.ts diff --git a/src/plugins/vis_types/xy/public/vis_types/area.ts b/src/platform/plugins/private/vis_types/xy/public/vis_types/area.ts similarity index 100% rename from src/plugins/vis_types/xy/public/vis_types/area.ts rename to src/platform/plugins/private/vis_types/xy/public/vis_types/area.ts diff --git a/src/plugins/vis_types/xy/public/vis_types/get_vis_type_from_params.test.ts b/src/platform/plugins/private/vis_types/xy/public/vis_types/get_vis_type_from_params.test.ts similarity index 100% rename from src/plugins/vis_types/xy/public/vis_types/get_vis_type_from_params.test.ts rename to src/platform/plugins/private/vis_types/xy/public/vis_types/get_vis_type_from_params.test.ts diff --git a/src/plugins/vis_types/xy/public/vis_types/get_vis_type_from_params.ts b/src/platform/plugins/private/vis_types/xy/public/vis_types/get_vis_type_from_params.ts similarity index 100% rename from src/plugins/vis_types/xy/public/vis_types/get_vis_type_from_params.ts rename to src/platform/plugins/private/vis_types/xy/public/vis_types/get_vis_type_from_params.ts diff --git a/src/plugins/vis_types/xy/public/vis_types/histogram.ts b/src/platform/plugins/private/vis_types/xy/public/vis_types/histogram.ts similarity index 100% rename from src/plugins/vis_types/xy/public/vis_types/histogram.ts rename to src/platform/plugins/private/vis_types/xy/public/vis_types/histogram.ts diff --git a/src/plugins/vis_types/xy/public/vis_types/horizontal_bar.ts b/src/platform/plugins/private/vis_types/xy/public/vis_types/horizontal_bar.ts similarity index 100% rename from src/plugins/vis_types/xy/public/vis_types/horizontal_bar.ts rename to src/platform/plugins/private/vis_types/xy/public/vis_types/horizontal_bar.ts diff --git a/src/plugins/vis_types/xy/public/vis_types/index.ts b/src/platform/plugins/private/vis_types/xy/public/vis_types/index.ts similarity index 100% rename from src/plugins/vis_types/xy/public/vis_types/index.ts rename to src/platform/plugins/private/vis_types/xy/public/vis_types/index.ts diff --git a/src/plugins/vis_types/xy/public/vis_types/line.ts b/src/platform/plugins/private/vis_types/xy/public/vis_types/line.ts similarity index 100% rename from src/plugins/vis_types/xy/public/vis_types/line.ts rename to src/platform/plugins/private/vis_types/xy/public/vis_types/line.ts diff --git a/src/plugins/vis_types/xy/server/config.ts b/src/platform/plugins/private/vis_types/xy/server/config.ts similarity index 100% rename from src/plugins/vis_types/xy/server/config.ts rename to src/platform/plugins/private/vis_types/xy/server/config.ts diff --git a/src/plugins/vis_types/xy/server/index.ts b/src/platform/plugins/private/vis_types/xy/server/index.ts similarity index 100% rename from src/plugins/vis_types/xy/server/index.ts rename to src/platform/plugins/private/vis_types/xy/server/index.ts diff --git a/src/plugins/vis_types/xy/server/plugin.ts b/src/platform/plugins/private/vis_types/xy/server/plugin.ts similarity index 100% rename from src/plugins/vis_types/xy/server/plugin.ts rename to src/platform/plugins/private/vis_types/xy/server/plugin.ts diff --git a/src/plugins/vis_types/xy/tsconfig.json b/src/platform/plugins/private/vis_types/xy/tsconfig.json similarity index 91% rename from src/plugins/vis_types/xy/tsconfig.json rename to src/platform/plugins/private/vis_types/xy/tsconfig.json index 14ed87764e518..c9c70ef60450d 100644 --- a/src/plugins/vis_types/xy/tsconfig.json +++ b/src/platform/plugins/private/vis_types/xy/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/chart_expressions/expression_gauge/common/constants.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/common/constants.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/common/constants.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/common/constants.ts diff --git a/src/plugins/chart_expressions/expression_gauge/common/expression_functions/__snapshots__/gauge_function.test.ts.snap b/src/platform/plugins/shared/chart_expressions/expression_gauge/common/expression_functions/__snapshots__/gauge_function.test.ts.snap similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/common/expression_functions/__snapshots__/gauge_function.test.ts.snap rename to src/platform/plugins/shared/chart_expressions/expression_gauge/common/expression_functions/__snapshots__/gauge_function.test.ts.snap diff --git a/src/plugins/chart_expressions/expression_gauge/common/expression_functions/gauge_function.test.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/common/expression_functions/gauge_function.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/common/expression_functions/gauge_function.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/common/expression_functions/gauge_function.test.ts diff --git a/src/plugins/chart_expressions/expression_gauge/common/expression_functions/gauge_function.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/common/expression_functions/gauge_function.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/common/expression_functions/gauge_function.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/common/expression_functions/gauge_function.ts diff --git a/src/plugins/chart_expressions/expression_gauge/common/expression_functions/index.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/common/expression_functions/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/common/expression_functions/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/common/expression_functions/index.ts diff --git a/src/plugins/chart_expressions/expression_gauge/common/index.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/common/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/common/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/common/index.ts diff --git a/src/plugins/chart_expressions/expression_gauge/common/types/expression_functions.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/common/types/expression_functions.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/common/types/expression_functions.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/common/types/expression_functions.ts diff --git a/src/plugins/chart_expressions/expression_gauge/common/types/expression_renderers.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/common/types/expression_renderers.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/common/types/expression_renderers.ts diff --git a/src/plugins/chart_expressions/expression_gauge/common/types/index.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/common/types/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/common/types/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/common/types/index.ts diff --git a/src/plugins/chart_expressions/expression_gauge/common/utils/index.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/common/utils/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/common/utils/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/common/utils/index.ts diff --git a/src/plugins/chart_expressions/expression_gauge/common/utils/shapes.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/common/utils/shapes.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/common/utils/shapes.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/common/utils/shapes.ts diff --git a/src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js b/src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js new file mode 100644 index 0000000000000..7de7af39e4335 --- /dev/null +++ b/src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../', + roots: ['/src/platform/plugins/shared/chart_expressions/expression_gauge'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/chart_expressions/expression_gauge', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/chart_expressions/expression_gauge/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/chart_expressions/expression_gauge/kibana.jsonc b/src/platform/plugins/shared/chart_expressions/expression_gauge/kibana.jsonc similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/kibana.jsonc rename to src/platform/plugins/shared/chart_expressions/expression_gauge/kibana.jsonc diff --git a/src/plugins/chart_expressions/expression_gauge/public/components/__snapshots__/gauge_component.test.tsx.snap b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/__snapshots__/gauge_component.test.tsx.snap similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/components/__snapshots__/gauge_component.test.tsx.snap rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/__snapshots__/gauge_component.test.tsx.snap diff --git a/src/plugins/chart_expressions/expression_gauge/public/components/gauge.scss b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/gauge.scss similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/components/gauge.scss rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/gauge.scss diff --git a/src/plugins/chart_expressions/expression_gauge/public/components/gauge_component.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/gauge_component.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/components/gauge_component.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/gauge_component.test.tsx diff --git a/src/plugins/chart_expressions/expression_gauge/public/components/gauge_component.tsx b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/gauge_component.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/components/gauge_component.tsx rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/gauge_component.tsx diff --git a/src/plugins/chart_expressions/expression_gauge/public/components/index.scss b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/index.scss similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/components/index.scss rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/index.scss diff --git a/src/plugins/chart_expressions/expression_gauge/public/components/utils/accessors.test.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/accessors.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/components/utils/accessors.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/accessors.test.ts diff --git a/src/plugins/chart_expressions/expression_gauge/public/components/utils/accessors.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/accessors.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/components/utils/accessors.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/accessors.ts diff --git a/src/plugins/chart_expressions/expression_gauge/public/components/utils/gauge_types.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/gauge_types.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/components/utils/gauge_types.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/gauge_types.ts diff --git a/src/plugins/chart_expressions/expression_gauge/public/components/utils/helpers.test.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/helpers.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/components/utils/helpers.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/helpers.test.ts diff --git a/src/plugins/chart_expressions/expression_gauge/public/components/utils/helpers.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/helpers.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/components/utils/helpers.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/helpers.ts diff --git a/src/plugins/chart_expressions/expression_gauge/public/components/utils/icons.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/icons.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/components/utils/icons.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/icons.ts diff --git a/src/plugins/chart_expressions/expression_gauge/public/components/utils/index.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/components/utils/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/index.ts diff --git a/src/plugins/chart_expressions/expression_gauge/public/components/utils/use_gauge_size_by_type.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/use_gauge_size_by_type.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/components/utils/use_gauge_size_by_type.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/components/utils/use_gauge_size_by_type.ts diff --git a/src/plugins/chart_expressions/expression_gauge/public/expression_renderers/gauge_renderer.tsx b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/expression_renderers/gauge_renderer.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/expression_renderers/gauge_renderer.tsx rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/expression_renderers/gauge_renderer.tsx diff --git a/src/plugins/chart_expressions/expression_gauge/public/expression_renderers/index.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/expression_renderers/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/expression_renderers/index.ts diff --git a/src/plugins/chart_expressions/expression_gauge/public/index.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/index.ts diff --git a/src/plugins/chart_expressions/expression_gauge/public/plugin.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/plugin.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/plugin.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/plugin.ts diff --git a/src/plugins/chart_expressions/expression_gauge/public/services/format_service.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/services/format_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/services/format_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/services/format_service.ts diff --git a/src/plugins/chart_expressions/expression_gauge/public/services/index.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/services/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/services/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/services/index.ts diff --git a/src/plugins/chart_expressions/expression_gauge/public/services/palette_service.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/public/services/palette_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/public/services/palette_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/public/services/palette_service.ts diff --git a/src/plugins/chart_expressions/expression_gauge/server/index.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/server/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/server/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/server/index.ts diff --git a/src/plugins/chart_expressions/expression_gauge/server/plugin.ts b/src/platform/plugins/shared/chart_expressions/expression_gauge/server/plugin.ts similarity index 100% rename from src/plugins/chart_expressions/expression_gauge/server/plugin.ts rename to src/platform/plugins/shared/chart_expressions/expression_gauge/server/plugin.ts diff --git a/src/plugins/chart_expressions/expression_gauge/tsconfig.json b/src/platform/plugins/shared/chart_expressions/expression_gauge/tsconfig.json similarity index 93% rename from src/plugins/chart_expressions/expression_gauge/tsconfig.json rename to src/platform/plugins/shared/chart_expressions/expression_gauge/tsconfig.json index b8605187e881a..433ae8be8c783 100644 --- a/src/plugins/chart_expressions/expression_gauge/tsconfig.json +++ b/src/platform/plugins/shared/chart_expressions/expression_gauge/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/chart_expressions/expression_heatmap/common/constants.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/common/constants.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/common/constants.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/common/constants.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/common/expression_functions/__snapshots__/heatmap_function.test.ts.snap b/src/platform/plugins/shared/chart_expressions/expression_heatmap/common/expression_functions/__snapshots__/heatmap_function.test.ts.snap similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/common/expression_functions/__snapshots__/heatmap_function.test.ts.snap rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/common/expression_functions/__snapshots__/heatmap_function.test.ts.snap diff --git a/src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_function.test.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/common/expression_functions/heatmap_function.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_function.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/common/expression_functions/heatmap_function.test.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_function.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/common/expression_functions/heatmap_function.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_function.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/common/expression_functions/heatmap_function.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/common/expression_functions/heatmap_grid.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_legend.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/common/expression_functions/heatmap_legend.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/common/expression_functions/heatmap_legend.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/common/expression_functions/heatmap_legend.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/common/expression_functions/index.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/common/expression_functions/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/common/expression_functions/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/common/expression_functions/index.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/common/index.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/common/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/common/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/common/index.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/common/types/expression_functions.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/common/types/expression_functions.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/common/types/expression_functions.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/common/types/expression_functions.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/common/types/expression_renderers.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/common/types/expression_renderers.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/common/types/expression_renderers.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/common/types/index.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/common/types/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/common/types/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/common/types/index.ts diff --git a/src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js b/src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js new file mode 100644 index 0000000000000..5df32e34f0feb --- /dev/null +++ b/src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../', + roots: ['/src/platform/plugins/shared/chart_expressions/expression_heatmap'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/chart_expressions/expression_heatmap', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/chart_expressions/expression_heatmap/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/chart_expressions/expression_heatmap/kibana.jsonc b/src/platform/plugins/shared/chart_expressions/expression_heatmap/kibana.jsonc similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/kibana.jsonc rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/kibana.jsonc diff --git a/src/plugins/chart_expressions/expression_heatmap/public/components/chart_split.tsx b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/components/chart_split.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/components/chart_split.tsx rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/components/chart_split.tsx diff --git a/src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/components/heatmap_component.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/components/heatmap_component.test.tsx diff --git a/src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx diff --git a/src/plugins/chart_expressions/expression_heatmap/public/components/helpers.test.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/components/helpers.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/components/helpers.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/components/helpers.test.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/public/components/helpers.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/components/helpers.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/components/helpers.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/components/helpers.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/public/components/index.scss b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/components/index.scss similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/components/index.scss rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/components/index.scss diff --git a/src/plugins/chart_expressions/expression_heatmap/public/constants.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/constants.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/constants.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/constants.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/public/expression_renderers/heatmap_renderer.tsx b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/expression_renderers/heatmap_renderer.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/expression_renderers/heatmap_renderer.tsx rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/expression_renderers/heatmap_renderer.tsx diff --git a/src/plugins/chart_expressions/expression_heatmap/public/expression_renderers/index.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/expression_renderers/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/expression_renderers/index.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/public/index.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/index.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/public/plugin.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/plugin.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/plugin.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/plugin.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/public/services/datatable_utilities.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/services/datatable_utilities.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/services/datatable_utilities.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/services/datatable_utilities.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/public/services/format_service.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/services/format_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/services/format_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/services/format_service.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/public/services/index.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/services/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/services/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/services/index.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/public/services/palette_service.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/services/palette_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/services/palette_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/services/palette_service.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/public/services/ui_settings.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/services/ui_settings.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/services/ui_settings.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/services/ui_settings.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/public/utils/get_color_picker.tsx b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/utils/get_color_picker.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/utils/get_color_picker.tsx rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/utils/get_color_picker.tsx diff --git a/src/plugins/chart_expressions/expression_heatmap/public/utils/get_split_dimension_utils.test.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/utils/get_split_dimension_utils.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/utils/get_split_dimension_utils.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/utils/get_split_dimension_utils.test.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/public/utils/get_split_dimension_utils.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/public/utils/get_split_dimension_utils.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/public/utils/get_split_dimension_utils.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/public/utils/get_split_dimension_utils.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/server/index.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/server/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/server/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/server/index.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/server/plugin.ts b/src/platform/plugins/shared/chart_expressions/expression_heatmap/server/plugin.ts similarity index 100% rename from src/plugins/chart_expressions/expression_heatmap/server/plugin.ts rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/server/plugin.ts diff --git a/src/plugins/chart_expressions/expression_heatmap/tsconfig.json b/src/platform/plugins/shared/chart_expressions/expression_heatmap/tsconfig.json similarity index 93% rename from src/plugins/chart_expressions/expression_heatmap/tsconfig.json rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/tsconfig.json index 552d9c2c9819e..7fd5505fcc586 100644 --- a/src/plugins/chart_expressions/expression_heatmap/tsconfig.json +++ b/src/platform/plugins/shared/chart_expressions/expression_heatmap/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/chart_expressions/expression_legacy_metric/.i18nrc.json b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/.i18nrc.json similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/.i18nrc.json rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/.i18nrc.json diff --git a/src/plugins/chart_expressions/expression_legacy_metric/.storybook/main.js b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook/main.js similarity index 91% rename from src/plugins/chart_expressions/expression_legacy_metric/.storybook/main.js rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook/main.js index e19737c87765a..18faa0335df0d 100644 --- a/src/plugins/chart_expressions/expression_legacy_metric/.storybook/main.js +++ b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook/main.js @@ -14,7 +14,7 @@ import { resolve } from 'path'; const mockConfig = { resolve: { alias: { - '../../../expression_legacy_metric/public/services': resolve( + '../../../../../expression_legacy_metric/public/services': resolve( __dirname, '../public/__mocks__/services.ts' ), diff --git a/src/plugins/chart_expressions/expression_legacy_metric/README.md b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/README.md similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/README.md rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/README.md diff --git a/src/plugins/chart_expressions/expression_legacy_metric/common/constants.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/constants.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/common/constants.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/constants.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/common/expression_functions/__snapshots__/metric_vis_function.test.ts.snap b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/expression_functions/__snapshots__/metric_vis_function.test.ts.snap similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/common/expression_functions/__snapshots__/metric_vis_function.test.ts.snap rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/expression_functions/__snapshots__/metric_vis_function.test.ts.snap diff --git a/src/plugins/chart_expressions/expression_legacy_metric/common/expression_functions/index.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/expression_functions/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/common/expression_functions/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/expression_functions/index.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/common/expression_functions/metric_vis_function.test.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/expression_functions/metric_vis_function.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/common/expression_functions/metric_vis_function.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/expression_functions/metric_vis_function.test.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/common/expression_functions/metric_vis_function.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/expression_functions/metric_vis_function.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/common/expression_functions/metric_vis_function.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/expression_functions/metric_vis_function.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/common/index.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/common/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/index.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/common/types/expression_functions.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/types/expression_functions.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/common/types/expression_functions.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/types/expression_functions.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/common/types/expression_renderers.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/common/types/expression_renderers.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/types/expression_renderers.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/common/types/index.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/types/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/common/types/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/common/types/index.ts diff --git a/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js new file mode 100644 index 0000000000000..a04f233972e84 --- /dev/null +++ b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../', + roots: ['/src/platform/plugins/shared/chart_expressions/expression_legacy_metric'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/chart_expressions/expression_legacy_metric', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/chart_expressions/expression_legacy_metric/kibana.jsonc b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/kibana.jsonc similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/kibana.jsonc rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/kibana.jsonc diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/__mocks__/format_service.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/__mocks__/format_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/__mocks__/format_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/__mocks__/format_service.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/__mocks__/palette_service.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/__mocks__/palette_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/__mocks__/palette_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/__mocks__/palette_service.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/__mocks__/services.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/__mocks__/services.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/__mocks__/services.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/__mocks__/services.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/__stories__/metric_renderer.stories.tsx b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/__stories__/metric_renderer.stories.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/__stories__/metric_renderer.stories.tsx rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/__stories__/metric_renderer.stories.tsx diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/components/__snapshots__/metric_component.test.tsx.snap b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/__snapshots__/metric_component.test.tsx.snap similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/components/__snapshots__/metric_component.test.tsx.snap rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/__snapshots__/metric_component.test.tsx.snap diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/components/__snapshots__/with_auto_scale.test.tsx.snap b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/__snapshots__/with_auto_scale.test.tsx.snap similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/components/__snapshots__/with_auto_scale.test.tsx.snap rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/__snapshots__/with_auto_scale.test.tsx.snap diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/components/metric.scss b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/metric.scss similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/components/metric.scss rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/metric.scss diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/components/metric_component.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/metric_component.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/components/metric_component.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/metric_component.test.tsx diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/components/metric_component.tsx b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/metric_component.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/components/metric_component.tsx rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/metric_component.tsx diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/components/metric_value.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/metric_value.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/components/metric_value.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/metric_value.test.tsx diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/components/metric_value.tsx b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/metric_value.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/components/metric_value.tsx rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/metric_value.tsx diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.styles.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.styles.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.styles.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.styles.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.test.tsx diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.tsx b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.tsx rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/components/with_auto_scale.tsx diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/expression_renderers/index.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/expression_renderers/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/expression_renderers/index.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/expression_renderers/metric_vis_renderer.tsx b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/expression_renderers/metric_vis_renderer.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/expression_renderers/metric_vis_renderer.tsx rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/expression_renderers/metric_vis_renderer.tsx diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/format_service.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/format_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/format_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/format_service.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/index.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/index.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/plugin.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/plugin.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/plugin.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/plugin.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/services/format_service.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/services/format_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/services/format_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/services/format_service.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/services/index.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/services/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/services/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/services/index.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/services/palette_service.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/services/palette_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/services/palette_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/services/palette_service.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/utils/format.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/utils/format.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/utils/format.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/utils/format.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/utils/index.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/utils/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/utils/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/utils/index.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/public/utils/palette.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/utils/palette.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/public/utils/palette.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/public/utils/palette.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/server/index.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/server/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/server/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/server/index.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/server/plugin.ts b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/server/plugin.ts similarity index 100% rename from src/plugins/chart_expressions/expression_legacy_metric/server/plugin.ts rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/server/plugin.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/tsconfig.json b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/tsconfig.json similarity index 92% rename from src/plugins/chart_expressions/expression_legacy_metric/tsconfig.json rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/tsconfig.json index ec10eda351ef4..b5ac0c93d9e31 100644 --- a/src/plugins/chart_expressions/expression_legacy_metric/tsconfig.json +++ b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/chart_expressions/expression_metric/.i18nrc.json b/src/platform/plugins/shared/chart_expressions/expression_metric/.i18nrc.json similarity index 100% rename from src/plugins/chart_expressions/expression_metric/.i18nrc.json rename to src/platform/plugins/shared/chart_expressions/expression_metric/.i18nrc.json diff --git a/src/plugins/chart_expressions/expression_metric/.storybook/main.js b/src/platform/plugins/shared/chart_expressions/expression_metric/.storybook/main.js similarity index 92% rename from src/plugins/chart_expressions/expression_metric/.storybook/main.js rename to src/platform/plugins/shared/chart_expressions/expression_metric/.storybook/main.js index ae80dc728682e..b12d2e91b8540 100644 --- a/src/plugins/chart_expressions/expression_metric/.storybook/main.js +++ b/src/platform/plugins/shared/chart_expressions/expression_metric/.storybook/main.js @@ -14,7 +14,7 @@ import { resolve } from 'path'; const mockConfig = { resolve: { alias: { - '../../../expression_metric/public/services': resolve( + '../../../../../expression_metric/public/services': resolve( __dirname, '../public/__mocks__/services.ts' ), diff --git a/src/plugins/chart_expressions/expression_metric/README.md b/src/platform/plugins/shared/chart_expressions/expression_metric/README.md similarity index 100% rename from src/plugins/chart_expressions/expression_metric/README.md rename to src/platform/plugins/shared/chart_expressions/expression_metric/README.md diff --git a/src/plugins/chart_expressions/expression_metric/common/constants.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/common/constants.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/common/constants.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/common/constants.ts diff --git a/src/plugins/chart_expressions/expression_metric/common/expression_functions/__snapshots__/metric_trendline_function.test.ts.snap b/src/platform/plugins/shared/chart_expressions/expression_metric/common/expression_functions/__snapshots__/metric_trendline_function.test.ts.snap similarity index 100% rename from src/plugins/chart_expressions/expression_metric/common/expression_functions/__snapshots__/metric_trendline_function.test.ts.snap rename to src/platform/plugins/shared/chart_expressions/expression_metric/common/expression_functions/__snapshots__/metric_trendline_function.test.ts.snap diff --git a/src/plugins/chart_expressions/expression_metric/common/expression_functions/index.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/common/expression_functions/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/common/expression_functions/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/common/expression_functions/index.ts diff --git a/src/plugins/chart_expressions/expression_metric/common/expression_functions/metric_trendline_function.test.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/common/expression_functions/metric_trendline_function.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/common/expression_functions/metric_trendline_function.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/common/expression_functions/metric_trendline_function.test.ts diff --git a/src/plugins/chart_expressions/expression_metric/common/expression_functions/metric_trendline_function.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/common/expression_functions/metric_trendline_function.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/common/expression_functions/metric_trendline_function.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/common/expression_functions/metric_trendline_function.ts diff --git a/src/plugins/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.test.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.test.ts diff --git a/src/plugins/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.ts diff --git a/src/plugins/chart_expressions/expression_metric/common/index.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/common/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/common/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/common/index.ts diff --git a/src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/common/types/expression_functions.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/common/types/expression_functions.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/common/types/expression_functions.ts diff --git a/src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/common/types/expression_renderers.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/common/types/expression_renderers.ts diff --git a/src/plugins/chart_expressions/expression_metric/common/types/index.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/common/types/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/common/types/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/common/types/index.ts diff --git a/src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js b/src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js new file mode 100644 index 0000000000000..99d2998a48cc3 --- /dev/null +++ b/src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../', + roots: ['/src/platform/plugins/shared/chart_expressions/expression_metric'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/chart_expressions/expression_metric', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/chart_expressions/expression_metric/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/chart_expressions/expression_metric/kibana.jsonc b/src/platform/plugins/shared/chart_expressions/expression_metric/kibana.jsonc similarity index 100% rename from src/plugins/chart_expressions/expression_metric/kibana.jsonc rename to src/platform/plugins/shared/chart_expressions/expression_metric/kibana.jsonc diff --git a/src/plugins/chart_expressions/expression_metric/public/__mocks__/theme_service.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/public/__mocks__/theme_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/__mocks__/theme_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/__mocks__/theme_service.ts diff --git a/src/plugins/chart_expressions/expression_metric/public/components/__snapshots__/metric_vis.test.tsx.snap b/src/platform/plugins/shared/chart_expressions/expression_metric/public/components/__snapshots__/metric_vis.test.tsx.snap similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/components/__snapshots__/metric_vis.test.tsx.snap rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/components/__snapshots__/metric_vis.test.tsx.snap diff --git a/src/plugins/chart_expressions/expression_metric/public/components/metric_vis.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_metric/public/components/metric_vis.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/components/metric_vis.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/components/metric_vis.test.tsx diff --git a/src/plugins/chart_expressions/expression_metric/public/components/metric_vis.tsx b/src/platform/plugins/shared/chart_expressions/expression_metric/public/components/metric_vis.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/components/metric_vis.tsx rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/components/metric_vis.tsx diff --git a/src/plugins/chart_expressions/expression_metric/public/expression_renderers/index.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/expression_renderers/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/expression_renderers/index.ts diff --git a/src/plugins/chart_expressions/expression_metric/public/expression_renderers/metric_vis_renderer.tsx b/src/platform/plugins/shared/chart_expressions/expression_metric/public/expression_renderers/metric_vis_renderer.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/expression_renderers/metric_vis_renderer.tsx rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/expression_renderers/metric_vis_renderer.tsx diff --git a/src/plugins/chart_expressions/expression_metric/public/index.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/public/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/index.ts diff --git a/src/plugins/chart_expressions/expression_metric/public/plugin.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/public/plugin.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/plugin.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/plugin.ts diff --git a/src/plugins/chart_expressions/expression_metric/public/services/format_service.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/public/services/format_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/services/format_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/services/format_service.ts diff --git a/src/plugins/chart_expressions/expression_metric/public/services/index.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/public/services/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/services/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/services/index.ts diff --git a/src/plugins/chart_expressions/expression_metric/public/services/palette_service.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/public/services/palette_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/services/palette_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/services/palette_service.ts diff --git a/src/plugins/chart_expressions/expression_metric/public/services/theme_service.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/public/services/theme_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/services/theme_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/services/theme_service.ts diff --git a/src/plugins/chart_expressions/expression_metric/public/services/ui_settings.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/public/services/ui_settings.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/services/ui_settings.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/services/ui_settings.ts diff --git a/src/plugins/chart_expressions/expression_metric/public/utils/index.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/public/utils/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/utils/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/utils/index.ts diff --git a/src/plugins/chart_expressions/expression_metric/public/utils/palette_data_bounds.test.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/public/utils/palette_data_bounds.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/utils/palette_data_bounds.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/utils/palette_data_bounds.test.ts diff --git a/src/plugins/chart_expressions/expression_metric/public/utils/palette_data_bounds.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/public/utils/palette_data_bounds.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/public/utils/palette_data_bounds.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/public/utils/palette_data_bounds.ts diff --git a/src/plugins/chart_expressions/expression_metric/server/index.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/server/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/server/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/server/index.ts diff --git a/src/plugins/chart_expressions/expression_metric/server/plugin.ts b/src/platform/plugins/shared/chart_expressions/expression_metric/server/plugin.ts similarity index 100% rename from src/plugins/chart_expressions/expression_metric/server/plugin.ts rename to src/platform/plugins/shared/chart_expressions/expression_metric/server/plugin.ts diff --git a/src/plugins/chart_expressions/expression_metric/tsconfig.json b/src/platform/plugins/shared/chart_expressions/expression_metric/tsconfig.json similarity index 92% rename from src/plugins/chart_expressions/expression_metric/tsconfig.json rename to src/platform/plugins/shared/chart_expressions/expression_metric/tsconfig.json index 5b000f988dfa4..82b8716161cfb 100644 --- a/src/plugins/chart_expressions/expression_metric/tsconfig.json +++ b/src/platform/plugins/shared/chart_expressions/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/src/plugins/chart_expressions/expression_partition_vis/.storybook/main.js b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/.storybook/main.js similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/.storybook/main.js rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/.storybook/main.js diff --git a/src/plugins/chart_expressions/expression_partition_vis/README.md b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/README.md similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/README.md rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/README.md diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/constants.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/constants.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/constants.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/constants.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/mosaic_vis_function.test.ts.snap b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/mosaic_vis_function.test.ts.snap similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/mosaic_vis_function.test.ts.snap rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/mosaic_vis_function.test.ts.snap diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/pie_vis_function.test.ts.snap b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/pie_vis_function.test.ts.snap similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/pie_vis_function.test.ts.snap rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/pie_vis_function.test.ts.snap diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/treemap_vis_function.test.ts.snap b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/treemap_vis_function.test.ts.snap similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/treemap_vis_function.test.ts.snap rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/treemap_vis_function.test.ts.snap diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/waffle_vis_function.test.ts.snap b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/waffle_vis_function.test.ts.snap similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/waffle_vis_function.test.ts.snap rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/__snapshots__/waffle_vis_function.test.ts.snap diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/i18n.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/i18n.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/i18n.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/i18n.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/index.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/index.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/mosaic_vis_function.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/mosaic_vis_function.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/mosaic_vis_function.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/mosaic_vis_function.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/mosaic_vis_function.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/mosaic_vis_function.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/mosaic_vis_function.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/mosaic_vis_function.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/partition_labels_function.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/partition_labels_function.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/partition_labels_function.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/partition_labels_function.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/pie_vis_function.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/pie_vis_function.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/pie_vis_function.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/pie_vis_function.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/pie_vis_function.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/pie_vis_function.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/pie_vis_function.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/pie_vis_function.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/treemap_vis_function.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/treemap_vis_function.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/treemap_vis_function.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/treemap_vis_function.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/treemap_vis_function.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/treemap_vis_function.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/treemap_vis_function.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/treemap_vis_function.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/waffle_vis_function.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/waffle_vis_function.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/waffle_vis_function.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/waffle_vis_function.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/waffle_vis_function.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/waffle_vis_function.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/expression_functions/waffle_vis_function.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/expression_functions/waffle_vis_function.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/index.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/index.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/types/expression_functions.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/types/expression_functions.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/types/expression_functions.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/types/expression_functions.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/types/expression_renderers.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/types/expression_renderers.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/types/expression_renderers.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/types/index.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/types/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/types/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/types/index.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/utils/consolidate_metric_columns.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/utils/consolidate_metric_columns.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/utils/consolidate_metric_columns.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/utils/consolidate_metric_columns.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/utils/consolidate_metric_columns.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/utils/consolidate_metric_columns.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/utils/consolidate_metric_columns.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/utils/consolidate_metric_columns.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/common/utils/index.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/utils/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/common/utils/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/common/utils/index.ts diff --git a/src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js new file mode 100644 index 0000000000000..82a2efff16c3c --- /dev/null +++ b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../', + roots: ['/src/platform/plugins/shared/chart_expressions/expression_partition_vis'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/chart_expressions/expression_partition_vis', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/chart_expressions/expression_partition_vis/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/chart_expressions/expression_partition_vis/kibana.jsonc b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/kibana.jsonc similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/kibana.jsonc rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/kibana.jsonc diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/format_service.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__mocks__/format_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/format_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__mocks__/format_service.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/index.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__mocks__/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__mocks__/index.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/palettes.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__mocks__/palettes.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/palettes.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__mocks__/palettes.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/start_deps.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__mocks__/start_deps.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/start_deps.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__mocks__/start_deps.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/theme.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__mocks__/theme.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/theme.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__mocks__/theme.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/ui_settings.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__mocks__/ui_settings.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/__mocks__/ui_settings.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__mocks__/ui_settings.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__stories__/mosaic_vis_renderer.stories.tsx b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/mosaic_vis_renderer.stories.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/__stories__/mosaic_vis_renderer.stories.tsx rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/mosaic_vis_renderer.stories.tsx diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__stories__/pie_vis_renderer.stories.tsx b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/pie_vis_renderer.stories.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/__stories__/pie_vis_renderer.stories.tsx rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/pie_vis_renderer.stories.tsx diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__stories__/shared/arg_types.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/shared/arg_types.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/__stories__/shared/arg_types.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/shared/arg_types.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__stories__/shared/config.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/shared/config.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/__stories__/shared/config.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/shared/config.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__stories__/shared/data.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/shared/data.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/__stories__/shared/data.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/shared/data.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__stories__/shared/index.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/shared/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/__stories__/shared/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/shared/index.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__stories__/treemap_vis_renderer.stories.tsx b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/treemap_vis_renderer.stories.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/__stories__/treemap_vis_renderer.stories.tsx rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/treemap_vis_renderer.stories.tsx diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/__stories__/waffle_vis_renderer.stories.tsx b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/waffle_vis_renderer.stories.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/__stories__/waffle_vis_renderer.stories.tsx rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/__stories__/waffle_vis_renderer.stories.tsx diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/components/__snapshots__/partition_vis_component.test.tsx.snap b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/components/__snapshots__/partition_vis_component.test.tsx.snap similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/components/__snapshots__/partition_vis_component.test.tsx.snap rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/components/__snapshots__/partition_vis_component.test.tsx.snap diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/components/chart_split.tsx b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/components/chart_split.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/components/chart_split.tsx rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/components/chart_split.tsx diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/components/index.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/components/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/components/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/components/index.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/components/partition_vis_component.styles.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/components/partition_vis_component.styles.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/components/partition_vis_component.styles.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/components/partition_vis_component.styles.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/components/partition_vis_component.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/components/partition_vis_component.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/components/partition_vis_component.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/components/partition_vis_component.test.tsx diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/components/partition_vis_component.tsx b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/components/partition_vis_component.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/components/partition_vis_component.tsx rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/components/partition_vis_component.tsx diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/components/visualization_noresults.tsx b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/components/visualization_noresults.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/components/visualization_noresults.tsx rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/components/visualization_noresults.tsx diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/expression_renderers/index.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/expression_renderers/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/expression_renderers/index.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/expression_renderers/partition_vis_renderer.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/expression_renderers/partition_vis_renderer.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/expression_renderers/partition_vis_renderer.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/expression_renderers/partition_vis_renderer.test.tsx diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/expression_renderers/partition_vis_renderer.tsx b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/expression_renderers/partition_vis_renderer.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/expression_renderers/partition_vis_renderer.tsx rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/expression_renderers/partition_vis_renderer.tsx diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/index.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/index.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/mocks.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/mocks.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/mocks.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/mocks.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/plugin.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/plugin.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/plugin.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/plugin.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/types.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/types.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/types.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/types.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/colors/color_mapping_accessors.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/colors/color_mapping_accessors.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/colors/color_mapping_accessors.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/colors/color_mapping_accessors.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/filter_helpers.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/filter_helpers.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/filter_helpers.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/filter_helpers.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/filter_helpers.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/filter_helpers.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/filter_helpers.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/filter_helpers.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/filter_out_config.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/filter_out_config.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/filter_out_config.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/filter_out_config.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/filter_out_config.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/filter_out_config.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/filter_out_config.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/filter_out_config.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/formatters.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/formatters.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/formatters.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/formatters.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/formatters.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/formatters.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/formatters.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/formatters.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/get_color_picker.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_color_picker.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/get_color_picker.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_color_picker.test.tsx diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/get_color_picker.tsx b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_color_picker.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/get_color_picker.tsx rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_color_picker.tsx diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/get_columns.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_columns.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/get_columns.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_columns.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/get_columns.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_columns.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/get_columns.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_columns.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/get_distinct_series.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_distinct_series.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/get_distinct_series.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_distinct_series.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/get_distinct_series.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_distinct_series.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/get_distinct_series.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_distinct_series.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/get_icon.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_icon.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/get_icon.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_icon.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/get_legend_actions.tsx b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_legend_actions.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/get_legend_actions.tsx rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_legend_actions.tsx diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/get_partition_theme.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_partition_theme.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/get_partition_theme.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_partition_theme.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/get_partition_theme.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_partition_theme.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/get_partition_theme.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_partition_theme.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/get_partition_type.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_partition_type.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/get_partition_type.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_partition_type.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/get_split_dimension_accessor.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_split_dimension_accessor.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/get_split_dimension_accessor.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_split_dimension_accessor.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/get_split_dimension_accessor.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_split_dimension_accessor.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/get_split_dimension_accessor.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/get_split_dimension_accessor.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/index.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/index.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/get_color.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/get_color.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/get_color.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/get_color.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/get_color.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/get_color.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/get_color.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/get_color.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/get_layers.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/get_layers.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/get_layers.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/get_layers.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/get_layers.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/get_layers.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/get_layers.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/get_layers.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/get_node_labels.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/get_node_labels.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/get_node_labels.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/get_node_labels.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/index.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/index.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/sort_predicate.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/sort_predicate.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/sort_predicate.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/sort_predicate.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/sort_predicate.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/sort_predicate.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/layers/sort_predicate.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/layers/sort_predicate.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/legend.test.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/legend.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/legend.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/legend.test.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/public/utils/legend.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/legend.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/public/utils/legend.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/public/utils/legend.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/server/index.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/server/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/server/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/server/index.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/server/plugin.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/server/plugin.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/server/plugin.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/server/plugin.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/server/types.ts b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/server/types.ts similarity index 100% rename from src/plugins/chart_expressions/expression_partition_vis/server/types.ts rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/server/types.ts diff --git a/src/plugins/chart_expressions/expression_partition_vis/tsconfig.json b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/tsconfig.json similarity index 94% rename from src/plugins/chart_expressions/expression_partition_vis/tsconfig.json rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/tsconfig.json index ec1ac8ee94edc..944b8d93a6d7a 100644 --- a/src/plugins/chart_expressions/expression_partition_vis/tsconfig.json +++ b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/chart_expressions/expression_tagcloud/.i18nrc.json b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/.i18nrc.json similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/.i18nrc.json rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/.i18nrc.json diff --git a/src/plugins/chart_expressions/expression_tagcloud/.storybook/main.js b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/.storybook/main.js similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/.storybook/main.js rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/.storybook/main.js diff --git a/src/plugins/chart_expressions/expression_tagcloud/README.md b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/README.md similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/README.md rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/README.md diff --git a/src/plugins/chart_expressions/expression_tagcloud/common/constants.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/constants.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/common/constants.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/constants.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/common/expression_functions/__snapshots__/tagcloud_function.test.ts.snap b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/expression_functions/__snapshots__/tagcloud_function.test.ts.snap similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/common/expression_functions/__snapshots__/tagcloud_function.test.ts.snap rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/expression_functions/__snapshots__/tagcloud_function.test.ts.snap diff --git a/src/plugins/chart_expressions/expression_tagcloud/common/expression_functions/index.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/expression_functions/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/common/expression_functions/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/expression_functions/index.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/common/expression_functions/tagcloud_function.test.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/expression_functions/tagcloud_function.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/common/expression_functions/tagcloud_function.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/expression_functions/tagcloud_function.test.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/common/expression_functions/tagcloud_function.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/expression_functions/tagcloud_function.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/common/expression_functions/tagcloud_function.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/expression_functions/tagcloud_function.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/common/index.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/common/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/index.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/common/types/expression_functions.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/types/expression_functions.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/common/types/expression_functions.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/types/expression_functions.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/common/types/expression_renderers.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/common/types/expression_renderers.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/types/expression_renderers.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/common/types/index.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/types/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/common/types/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/common/types/index.ts diff --git a/src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js new file mode 100644 index 0000000000000..856f3e46beffe --- /dev/null +++ b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../', + roots: ['/src/platform/plugins/shared/chart_expressions/expression_tagcloud'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/chart_expressions/expression_tagcloud', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/chart_expressions/expression_tagcloud/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/chart_expressions/expression_tagcloud/kibana.jsonc b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/kibana.jsonc similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/kibana.jsonc rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/kibana.jsonc diff --git a/src/plugins/chart_expressions/expression_tagcloud/public/__mocks__/format_service.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/__mocks__/format_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/public/__mocks__/format_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/__mocks__/format_service.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/public/__mocks__/palettes.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/__mocks__/palettes.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/public/__mocks__/palettes.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/__mocks__/palettes.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/public/__mocks__/theme.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/__mocks__/theme.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/public/__mocks__/theme.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/__mocks__/theme.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/public/__stories__/tagcloud_renderer.stories.tsx b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/__stories__/tagcloud_renderer.stories.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/public/__stories__/tagcloud_renderer.stories.tsx rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/__stories__/tagcloud_renderer.stories.tsx diff --git a/src/plugins/chart_expressions/expression_tagcloud/public/components/index.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/components/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/public/components/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/components/index.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/public/components/tag_cloud.scss b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/components/tag_cloud.scss similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/public/components/tag_cloud.scss rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/components/tag_cloud.scss diff --git a/src/plugins/chart_expressions/expression_tagcloud/public/components/tagcloud_component.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/components/tagcloud_component.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/public/components/tagcloud_component.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/components/tagcloud_component.test.tsx diff --git a/src/plugins/chart_expressions/expression_tagcloud/public/components/tagcloud_component.tsx b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/components/tagcloud_component.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/public/components/tagcloud_component.tsx rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/components/tagcloud_component.tsx diff --git a/src/plugins/chart_expressions/expression_tagcloud/public/expression_renderers/index.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/public/expression_renderers/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/expression_renderers/index.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/public/expression_renderers/tagcloud_renderer.tsx b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/expression_renderers/tagcloud_renderer.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/public/expression_renderers/tagcloud_renderer.tsx rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/expression_renderers/tagcloud_renderer.tsx diff --git a/src/plugins/chart_expressions/expression_tagcloud/public/format_service.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/format_service.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/public/format_service.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/format_service.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/public/index.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/public/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/index.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/public/plugin.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/plugin.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/public/plugin.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/public/plugin.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/server/index.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/server/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/server/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/server/index.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/server/plugin.ts b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/server/plugin.ts similarity index 100% rename from src/plugins/chart_expressions/expression_tagcloud/server/plugin.ts rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/server/plugin.ts diff --git a/src/plugins/chart_expressions/expression_tagcloud/tsconfig.json b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/tsconfig.json similarity index 93% rename from src/plugins/chart_expressions/expression_tagcloud/tsconfig.json rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/tsconfig.json index 485c561bda281..e9fafe7144774 100644 --- a/src/plugins/chart_expressions/expression_tagcloud/tsconfig.json +++ b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/chart_expressions/expression_xy/README.md b/src/platform/plugins/shared/chart_expressions/expression_xy/README.md similarity index 100% rename from src/plugins/chart_expressions/expression_xy/README.md rename to src/platform/plugins/shared/chart_expressions/expression_xy/README.md diff --git a/src/plugins/chart_expressions/expression_xy/common/__mocks__/index.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/__mocks__/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/__mocks__/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/__mocks__/index.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/constants.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/constants.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/constants.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/constants.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/__snapshots__/extended_data_layer.test.ts.snap b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/__snapshots__/extended_data_layer.test.ts.snap similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/__snapshots__/extended_data_layer.test.ts.snap rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/__snapshots__/extended_data_layer.test.ts.snap diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/__snapshots__/layered_xy_vis.test.ts.snap b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/__snapshots__/layered_xy_vis.test.ts.snap similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/__snapshots__/layered_xy_vis.test.ts.snap rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/__snapshots__/layered_xy_vis.test.ts.snap diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/__snapshots__/xy_vis.test.ts.snap b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/__snapshots__/xy_vis.test.ts.snap similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/__snapshots__/xy_vis.test.ts.snap rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/__snapshots__/xy_vis.test.ts.snap diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/annotation_layer.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/annotation_layer.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/annotation_layer.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/annotation_layer.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/axis_extent_config.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/axis_extent_config.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/axis_extent_config.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/axis_extent_config.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/common_axis_args.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/common_axis_args.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/common_axis_args.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/common_axis_args.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/common_data_layer_args.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/common_data_layer_args.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/common_data_layer_args.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/common_data_layer_args.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/common_xy_args.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/common_xy_args.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/common_xy_args.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/common_xy_args.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/common_y_config_args.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/common_y_config_args.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/common_y_config_args.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/common_y_config_args.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/data_decoration_config.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/data_decoration_config.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/data_decoration_config.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/data_decoration_config.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/event_annotations_result.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/event_annotations_result.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/event_annotations_result.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/event_annotations_result.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/extended_annotation_layer.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/extended_annotation_layer.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/extended_annotation_layer.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/extended_annotation_layer.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/extended_data_layer.test.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/extended_data_layer.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/extended_data_layer.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/extended_data_layer.test.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/extended_data_layer.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/extended_data_layer.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/extended_data_layer.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/extended_data_layer.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/extended_data_layer_fn.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/extended_data_layer_fn.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/extended_data_layer_fn.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/extended_data_layer_fn.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/index.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/index.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis.test.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis.test.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis_fn.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis_fn.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis_fn.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/layered_xy_vis_fn.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/legend_config.test.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/legend_config.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/legend_config.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/legend_config.test.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/legend_config.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/legend_config.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/legend_config.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/legend_config.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/legend_config_fn.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/legend_config_fn.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/legend_config_fn.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/legend_config_fn.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/reference_line.test.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/reference_line.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/reference_line.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/reference_line.test.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/reference_line.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/reference_line.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/reference_line.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/reference_line.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/reference_line_decoration_config.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/reference_line_decoration_config.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/reference_line_decoration_config.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/reference_line_decoration_config.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/reference_line_layer.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/reference_line_layer.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/reference_line_layer.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/reference_line_layer.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/reference_line_layer_fn.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/reference_line_layer_fn.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/reference_line_layer_fn.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/reference_line_layer_fn.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/validate.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/validate.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/validate.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/validate.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/x_axis_config.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/x_axis_config.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/x_axis_config.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/x_axis_config.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/xy_vis.test.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/xy_vis.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/xy_vis.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/xy_vis.test.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/xy_vis.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/xy_vis.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/xy_vis.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/xy_vis.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/xy_vis_fn.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/xy_vis_fn.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/xy_vis_fn.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/xy_vis_fn.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/expression_functions/y_axis_config.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/y_axis_config.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/expression_functions/y_axis_config.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/expression_functions/y_axis_config.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/helpers/index.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/helpers/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/helpers/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/helpers/index.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/helpers/layers.test.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/helpers/layers.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/helpers/layers.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/helpers/layers.test.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/helpers/layers.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/helpers/layers.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/helpers/layers.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/helpers/layers.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/helpers/table.test.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/helpers/table.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/helpers/table.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/helpers/table.test.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/helpers/table.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/helpers/table.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/helpers/table.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/helpers/table.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/helpers/visualization.test.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/helpers/visualization.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/helpers/visualization.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/helpers/visualization.test.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/helpers/visualization.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/helpers/visualization.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/helpers/visualization.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/helpers/visualization.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/i18n/index.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/common/i18n/index.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/i18n/index.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/i18n/index.tsx diff --git a/src/plugins/chart_expressions/expression_xy/common/index.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/index.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/types/expression_functions.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/types/expression_functions.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/types/expression_functions.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/types/expression_functions.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/types/expression_renderers.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/types/expression_renderers.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/types/expression_renderers.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/types/index.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/types/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/types/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/types/index.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/utils/index.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/common/utils/index.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/utils/index.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/utils/index.tsx diff --git a/src/plugins/chart_expressions/expression_xy/common/utils/layer_types_guards.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/utils/layer_types_guards.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/utils/layer_types_guards.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/utils/layer_types_guards.ts diff --git a/src/plugins/chart_expressions/expression_xy/common/utils/log_datatables.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/common/utils/log_datatables.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/common/utils/log_datatables.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/common/utils/log_datatables.ts diff --git a/src/plugins/chart_expressions/expression_legacy_metric/jest.config.js b/src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js similarity index 64% rename from src/plugins/chart_expressions/expression_legacy_metric/jest.config.js rename to src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js index 8ac060a8e6fe7..275833f435bf5 100644 --- a/src/plugins/chart_expressions/expression_legacy_metric/jest.config.js +++ b/src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js @@ -9,12 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../../', - roots: ['/src/plugins/chart_expressions/expression_legacy_metric'], + rootDir: '../../../../../../', + roots: ['/src/platform/plugins/shared/chart_expressions/expression_xy'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_legacy_metric', + '/target/kibana-coverage/jest/src/platform/plugins/shared/chart_expressions/expression_xy', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/chart_expressions/expression_legacy_metric/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/chart_expressions/expression_xy/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/chart_expressions/expression_xy/kibana.jsonc b/src/platform/plugins/shared/chart_expressions/expression_xy/kibana.jsonc similarity index 100% rename from src/plugins/chart_expressions/expression_xy/kibana.jsonc rename to src/platform/plugins/shared/chart_expressions/expression_xy/kibana.jsonc diff --git a/src/plugins/chart_expressions/expression_xy/public/__mocks__/index.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/__mocks__/index.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/__mocks__/index.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/__mocks__/index.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/__snapshots__/xy_chart.test.tsx.snap b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/__snapshots__/xy_chart.test.tsx.snap similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/__snapshots__/xy_chart.test.tsx.snap rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/__snapshots__/xy_chart.test.tsx.snap diff --git a/src/plugins/chart_expressions/expression_xy/public/components/annotations.scss b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/annotations.scss similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/annotations.scss rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/annotations.scss diff --git a/src/plugins/chart_expressions/expression_xy/public/components/annotations.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/annotations.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/annotations.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/annotations.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/data_layers.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/data_layers.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/data_layers.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/data_layers.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/index.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/index.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/components/legend_action.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/legend_action.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/legend_action.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/legend_action.test.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/legend_action.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/legend_action.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/legend_action.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/legend_action.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/legend_action_popover.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/legend_action_popover.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/legend_action_popover.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/legend_action_popover.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/legend_color_picker.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/legend_color_picker.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/legend_color_picker.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/legend_color_picker.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/reference_lines/_mocks.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/_mocks.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/reference_lines/_mocks.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/_mocks.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/components/reference_lines/index.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/reference_lines/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/index.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/components/reference_lines/reference_line.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/reference_line.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/reference_lines/reference_line.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/reference_line.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/reference_lines/reference_line_annotations.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/reference_line_annotations.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/reference_lines/reference_line_annotations.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/reference_line_annotations.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/reference_lines/reference_line_layer.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/reference_line_layer.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/reference_lines/reference_line_layer.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/reference_line_layer.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.scss b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.scss similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.scss rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.scss diff --git a/src/plugins/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.test.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/reference_lines.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/reference_lines/utils.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/utils.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/reference_lines/utils.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/utils.test.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/reference_lines/utils.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/utils.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/reference_lines/utils.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/reference_lines/utils.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/split_chart.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/split_chart.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/split_chart.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/split_chart.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/endzone_tooltip_header.test.tsx.snap b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/endzone_tooltip_header.test.tsx.snap similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/endzone_tooltip_header.test.tsx.snap rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/endzone_tooltip_header.test.tsx.snap diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip.test.tsx.snap b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip.test.tsx.snap similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip.test.tsx.snap rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip.test.tsx.snap diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip_header.test.tsx.snap b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip_header.test.tsx.snap similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip_header.test.tsx.snap rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip_header.test.tsx.snap diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip_row.test.tsx.snap b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip_row.test.tsx.snap similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip_row.test.tsx.snap rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/__snapshots__/tooltip_row.test.tsx.snap diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/endzone_tooltip_header.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/endzone_tooltip_header.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/endzone_tooltip_header.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/endzone_tooltip_header.test.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/endzone_tooltip_header.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/endzone_tooltip_header.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/endzone_tooltip_header.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/endzone_tooltip_header.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/index.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/index.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/index.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/index.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip.scss b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip.scss similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip.scss rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip.scss diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip.test.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip_actions.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip_actions.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip_actions.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip_actions.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip_header.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip_header.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip_header.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip_header.test.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip_header.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip_header.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip_header.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip_header.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip_row.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip_row.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip_row.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip_row.test.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip_row.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip_row.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/tooltip_row.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/tooltip_row.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/tooltip/utils.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/utils.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/tooltip/utils.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/tooltip/utils.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/components/x_domain.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/x_domain.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/x_domain.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/x_domain.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/xy_chart.scss b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/xy_chart.scss similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/xy_chart.scss rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/xy_chart.scss diff --git a/src/plugins/chart_expressions/expression_xy/public/components/xy_chart.test.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/xy_chart.test.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/xy_chart.test.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/xy_chart.test.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/xy_chart.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/xy_chart.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/xy_chart.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/xy_chart.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/components/xy_current_time.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/components/xy_current_time.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/components/xy_current_time.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/components/xy_current_time.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/definitions/index.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/definitions/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/definitions/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/definitions/index.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/definitions/visualizations.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/definitions/visualizations.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/definitions/visualizations.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/definitions/visualizations.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/expression_renderers/index.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/expression_renderers/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/expression_renderers/index.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/expression_renderers/telemetry.test.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/expression_renderers/telemetry.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/expression_renderers/telemetry.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/expression_renderers/telemetry.test.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/expression_renderers/xy_chart_renderer.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/expression_renderers/xy_chart_renderer.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/expression_renderers/xy_chart_renderer.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/expression_renderers/xy_chart_renderer.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/annotations.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/annotations.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/annotations.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/annotations.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/axes_configuration.test.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/axes_configuration.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/axes_configuration.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/axes_configuration.test.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/axes_configuration.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/axes_configuration.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/axes_configuration.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/axes_configuration.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/color/color_mapping_accessor.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/color/color_mapping_accessor.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/color/color_mapping_accessor.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/color/color_mapping_accessor.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/color_assignment.test.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/color_assignment.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/color_assignment.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/color_assignment.test.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/color_assignment.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/color_assignment.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/color_assignment.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/color_assignment.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/data_layers.tsx b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/data_layers.tsx similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/data_layers.tsx rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/data_layers.tsx diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/fitting_functions.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/fitting_functions.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/fitting_functions.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/fitting_functions.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/format.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/format.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/format.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/format.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/icon.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/icon.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/icon.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/icon.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/index.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/index.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/interval.test.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/interval.test.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/interval.test.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/interval.test.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/interval.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/interval.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/interval.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/interval.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/layers.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/layers.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/layers.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/layers.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/state.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/state.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/state.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/state.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/validate_extent.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/validate_extent.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/validate_extent.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/validate_extent.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/helpers/visualization.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/visualization.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/helpers/visualization.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/helpers/visualization.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/index.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/index.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/plugin.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/plugin.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/plugin.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/plugin.ts diff --git a/src/plugins/chart_expressions/expression_xy/public/types.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/public/types.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/public/types.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/public/types.ts diff --git a/src/plugins/chart_expressions/expression_xy/server/index.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/server/index.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/server/index.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/server/index.ts diff --git a/src/plugins/chart_expressions/expression_xy/server/plugin.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/server/plugin.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/server/plugin.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/server/plugin.ts diff --git a/src/plugins/chart_expressions/expression_xy/server/types.ts b/src/platform/plugins/shared/chart_expressions/expression_xy/server/types.ts similarity index 100% rename from src/plugins/chart_expressions/expression_xy/server/types.ts rename to src/platform/plugins/shared/chart_expressions/expression_xy/server/types.ts diff --git a/src/plugins/chart_expressions/expression_xy/tsconfig.json b/src/platform/plugins/shared/chart_expressions/expression_xy/tsconfig.json similarity index 94% rename from src/plugins/chart_expressions/expression_xy/tsconfig.json rename to src/platform/plugins/shared/chart_expressions/expression_xy/tsconfig.json index 5ffa2904e04b4..a56c669fdae2f 100644 --- a/src/plugins/chart_expressions/expression_xy/tsconfig.json +++ b/src/platform/plugins/shared/chart_expressions/expression_xy/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/charts/README.md b/src/platform/plugins/shared/charts/README.md similarity index 100% rename from src/plugins/charts/README.md rename to src/platform/plugins/shared/charts/README.md diff --git a/src/plugins/charts/common/constants.ts b/src/platform/plugins/shared/charts/common/constants.ts similarity index 100% rename from src/plugins/charts/common/constants.ts rename to src/platform/plugins/shared/charts/common/constants.ts diff --git a/src/plugins/charts/common/expressions/palette/index.ts b/src/platform/plugins/shared/charts/common/expressions/palette/index.ts similarity index 100% rename from src/plugins/charts/common/expressions/palette/index.ts rename to src/platform/plugins/shared/charts/common/expressions/palette/index.ts diff --git a/src/plugins/charts/common/expressions/palette/palette.test.ts b/src/platform/plugins/shared/charts/common/expressions/palette/palette.test.ts similarity index 100% rename from src/plugins/charts/common/expressions/palette/palette.test.ts rename to src/platform/plugins/shared/charts/common/expressions/palette/palette.test.ts diff --git a/src/plugins/charts/common/expressions/palette/palette.ts b/src/platform/plugins/shared/charts/common/expressions/palette/palette.ts similarity index 100% rename from src/plugins/charts/common/expressions/palette/palette.ts rename to src/platform/plugins/shared/charts/common/expressions/palette/palette.ts diff --git a/src/plugins/charts/common/expressions/palette/palette_fn.ts b/src/platform/plugins/shared/charts/common/expressions/palette/palette_fn.ts similarity index 100% rename from src/plugins/charts/common/expressions/palette/palette_fn.ts rename to src/platform/plugins/shared/charts/common/expressions/palette/palette_fn.ts diff --git a/src/plugins/charts/common/expressions/palette/system_palette.test.ts b/src/platform/plugins/shared/charts/common/expressions/palette/system_palette.test.ts similarity index 100% rename from src/plugins/charts/common/expressions/palette/system_palette.test.ts rename to src/platform/plugins/shared/charts/common/expressions/palette/system_palette.test.ts diff --git a/src/plugins/charts/common/expressions/palette/system_palette.ts b/src/platform/plugins/shared/charts/common/expressions/palette/system_palette.ts similarity index 100% rename from src/plugins/charts/common/expressions/palette/system_palette.ts rename to src/platform/plugins/shared/charts/common/expressions/palette/system_palette.ts diff --git a/src/plugins/charts/common/expressions/palette/types.ts b/src/platform/plugins/shared/charts/common/expressions/palette/types.ts similarity index 100% rename from src/plugins/charts/common/expressions/palette/types.ts rename to src/platform/plugins/shared/charts/common/expressions/palette/types.ts diff --git a/src/plugins/charts/common/index.ts b/src/platform/plugins/shared/charts/common/index.ts similarity index 100% rename from src/plugins/charts/common/index.ts rename to src/platform/plugins/shared/charts/common/index.ts diff --git a/src/plugins/charts/common/static/color_maps/color_maps.ts b/src/platform/plugins/shared/charts/common/static/color_maps/color_maps.ts similarity index 100% rename from src/plugins/charts/common/static/color_maps/color_maps.ts rename to src/platform/plugins/shared/charts/common/static/color_maps/color_maps.ts diff --git a/src/plugins/charts/common/static/color_maps/heatmap_color.test.ts b/src/platform/plugins/shared/charts/common/static/color_maps/heatmap_color.test.ts similarity index 100% rename from src/plugins/charts/common/static/color_maps/heatmap_color.test.ts rename to src/platform/plugins/shared/charts/common/static/color_maps/heatmap_color.test.ts diff --git a/src/plugins/charts/common/static/color_maps/heatmap_color.ts b/src/platform/plugins/shared/charts/common/static/color_maps/heatmap_color.ts similarity index 100% rename from src/plugins/charts/common/static/color_maps/heatmap_color.ts rename to src/platform/plugins/shared/charts/common/static/color_maps/heatmap_color.ts diff --git a/src/plugins/charts/common/static/color_maps/index.ts b/src/platform/plugins/shared/charts/common/static/color_maps/index.ts similarity index 100% rename from src/plugins/charts/common/static/color_maps/index.ts rename to src/platform/plugins/shared/charts/common/static/color_maps/index.ts diff --git a/src/plugins/charts/common/static/components/collections.ts b/src/platform/plugins/shared/charts/common/static/components/collections.ts similarity index 100% rename from src/plugins/charts/common/static/components/collections.ts rename to src/platform/plugins/shared/charts/common/static/components/collections.ts diff --git a/src/plugins/charts/common/static/components/index.ts b/src/platform/plugins/shared/charts/common/static/components/index.ts similarity index 100% rename from src/plugins/charts/common/static/components/index.ts rename to src/platform/plugins/shared/charts/common/static/components/index.ts diff --git a/src/plugins/charts/common/static/index.ts b/src/platform/plugins/shared/charts/common/static/index.ts similarity index 100% rename from src/plugins/charts/common/static/index.ts rename to src/platform/plugins/shared/charts/common/static/index.ts diff --git a/src/plugins/charts/common/static/overrides/index.ts b/src/platform/plugins/shared/charts/common/static/overrides/index.ts similarity index 100% rename from src/plugins/charts/common/static/overrides/index.ts rename to src/platform/plugins/shared/charts/common/static/overrides/index.ts diff --git a/src/plugins/charts/common/static/overrides/settings.ts b/src/platform/plugins/shared/charts/common/static/overrides/settings.ts similarity index 100% rename from src/plugins/charts/common/static/overrides/settings.ts rename to src/platform/plugins/shared/charts/common/static/overrides/settings.ts diff --git a/src/plugins/charts/common/static/styles/index.ts b/src/platform/plugins/shared/charts/common/static/styles/index.ts similarity index 100% rename from src/plugins/charts/common/static/styles/index.ts rename to src/platform/plugins/shared/charts/common/static/styles/index.ts diff --git a/src/plugins/charts/common/static/styles/multilayer_timeaxis.ts b/src/platform/plugins/shared/charts/common/static/styles/multilayer_timeaxis.ts similarity index 100% rename from src/plugins/charts/common/static/styles/multilayer_timeaxis.ts rename to src/platform/plugins/shared/charts/common/static/styles/multilayer_timeaxis.ts diff --git a/src/plugins/charts/common/types.ts b/src/platform/plugins/shared/charts/common/types.ts similarity index 100% rename from src/plugins/charts/common/types.ts rename to src/platform/plugins/shared/charts/common/types.ts diff --git a/src/plugins/vis_types/gauge/jest.config.js b/src/platform/plugins/shared/charts/jest.config.js similarity index 75% rename from src/plugins/vis_types/gauge/jest.config.js rename to src/platform/plugins/shared/charts/jest.config.js index cbb2a2d8cf021..1979443fbd6ee 100644 --- a/src/plugins/vis_types/gauge/jest.config.js +++ b/src/platform/plugins/shared/charts/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/gauge'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/gauge', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/charts'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/charts', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/vis_types/gauge/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/charts/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/charts/kibana.jsonc b/src/platform/plugins/shared/charts/kibana.jsonc similarity index 100% rename from src/plugins/charts/kibana.jsonc rename to src/platform/plugins/shared/charts/kibana.jsonc diff --git a/src/plugins/charts/public/index.ts b/src/platform/plugins/shared/charts/public/index.ts similarity index 97% rename from src/plugins/charts/public/index.ts rename to src/platform/plugins/shared/charts/public/index.ts index 711f38b7d92f7..dd223e50a4e19 100644 --- a/src/plugins/charts/public/index.ts +++ b/src/platform/plugins/shared/charts/public/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110891 -/* eslint-disable @kbn/eslint/no_export_all */ import { RangeSelectContext, diff --git a/src/plugins/charts/public/mocks.ts b/src/platform/plugins/shared/charts/public/mocks.ts similarity index 100% rename from src/plugins/charts/public/mocks.ts rename to src/platform/plugins/shared/charts/public/mocks.ts diff --git a/src/plugins/charts/public/plugin.ts b/src/platform/plugins/shared/charts/public/plugin.ts similarity index 100% rename from src/plugins/charts/public/plugin.ts rename to src/platform/plugins/shared/charts/public/plugin.ts diff --git a/src/plugins/charts/public/services/active_cursor/active_cursor.test.ts b/src/platform/plugins/shared/charts/public/services/active_cursor/active_cursor.test.ts similarity index 100% rename from src/plugins/charts/public/services/active_cursor/active_cursor.test.ts rename to src/platform/plugins/shared/charts/public/services/active_cursor/active_cursor.test.ts diff --git a/src/plugins/charts/public/services/active_cursor/active_cursor.ts b/src/platform/plugins/shared/charts/public/services/active_cursor/active_cursor.ts similarity index 100% rename from src/plugins/charts/public/services/active_cursor/active_cursor.ts rename to src/platform/plugins/shared/charts/public/services/active_cursor/active_cursor.ts diff --git a/src/plugins/charts/public/services/active_cursor/active_cursor_utils.test.ts b/src/platform/plugins/shared/charts/public/services/active_cursor/active_cursor_utils.test.ts similarity index 100% rename from src/plugins/charts/public/services/active_cursor/active_cursor_utils.test.ts rename to src/platform/plugins/shared/charts/public/services/active_cursor/active_cursor_utils.test.ts diff --git a/src/plugins/charts/public/services/active_cursor/active_cursor_utils.ts b/src/platform/plugins/shared/charts/public/services/active_cursor/active_cursor_utils.ts similarity index 100% rename from src/plugins/charts/public/services/active_cursor/active_cursor_utils.ts rename to src/platform/plugins/shared/charts/public/services/active_cursor/active_cursor_utils.ts diff --git a/src/plugins/charts/public/services/active_cursor/index.ts b/src/platform/plugins/shared/charts/public/services/active_cursor/index.ts similarity index 100% rename from src/plugins/charts/public/services/active_cursor/index.ts rename to src/platform/plugins/shared/charts/public/services/active_cursor/index.ts diff --git a/src/plugins/charts/public/services/active_cursor/mock.ts b/src/platform/plugins/shared/charts/public/services/active_cursor/mock.ts similarity index 100% rename from src/plugins/charts/public/services/active_cursor/mock.ts rename to src/platform/plugins/shared/charts/public/services/active_cursor/mock.ts diff --git a/src/plugins/charts/public/services/active_cursor/types.ts b/src/platform/plugins/shared/charts/public/services/active_cursor/types.ts similarity index 100% rename from src/plugins/charts/public/services/active_cursor/types.ts rename to src/platform/plugins/shared/charts/public/services/active_cursor/types.ts diff --git a/src/plugins/charts/public/services/active_cursor/use_active_cursor.test.ts b/src/platform/plugins/shared/charts/public/services/active_cursor/use_active_cursor.test.ts similarity index 100% rename from src/plugins/charts/public/services/active_cursor/use_active_cursor.test.ts rename to src/platform/plugins/shared/charts/public/services/active_cursor/use_active_cursor.test.ts diff --git a/src/plugins/charts/public/services/active_cursor/use_active_cursor.ts b/src/platform/plugins/shared/charts/public/services/active_cursor/use_active_cursor.ts similarity index 100% rename from src/plugins/charts/public/services/active_cursor/use_active_cursor.ts rename to src/platform/plugins/shared/charts/public/services/active_cursor/use_active_cursor.ts diff --git a/src/plugins/charts/public/services/index.ts b/src/platform/plugins/shared/charts/public/services/index.ts similarity index 100% rename from src/plugins/charts/public/services/index.ts rename to src/platform/plugins/shared/charts/public/services/index.ts diff --git a/src/plugins/charts/public/services/mapped_colors/index.ts b/src/platform/plugins/shared/charts/public/services/mapped_colors/index.ts similarity index 100% rename from src/plugins/charts/public/services/mapped_colors/index.ts rename to src/platform/plugins/shared/charts/public/services/mapped_colors/index.ts diff --git a/src/plugins/charts/public/services/mapped_colors/mapped_colors.test.ts b/src/platform/plugins/shared/charts/public/services/mapped_colors/mapped_colors.test.ts similarity index 100% rename from src/plugins/charts/public/services/mapped_colors/mapped_colors.test.ts rename to src/platform/plugins/shared/charts/public/services/mapped_colors/mapped_colors.test.ts diff --git a/src/plugins/charts/public/services/mapped_colors/mapped_colors.ts b/src/platform/plugins/shared/charts/public/services/mapped_colors/mapped_colors.ts similarity index 100% rename from src/plugins/charts/public/services/mapped_colors/mapped_colors.ts rename to src/platform/plugins/shared/charts/public/services/mapped_colors/mapped_colors.ts diff --git a/src/plugins/charts/public/services/palettes/README.md b/src/platform/plugins/shared/charts/public/services/palettes/README.md similarity index 100% rename from src/plugins/charts/public/services/palettes/README.md rename to src/platform/plugins/shared/charts/public/services/palettes/README.md diff --git a/src/plugins/charts/public/services/palettes/decrease_opacity.test.ts b/src/platform/plugins/shared/charts/public/services/palettes/decrease_opacity.test.ts similarity index 100% rename from src/plugins/charts/public/services/palettes/decrease_opacity.test.ts rename to src/platform/plugins/shared/charts/public/services/palettes/decrease_opacity.test.ts diff --git a/src/plugins/charts/public/services/palettes/decrease_opacity.ts b/src/platform/plugins/shared/charts/public/services/palettes/decrease_opacity.ts similarity index 100% rename from src/plugins/charts/public/services/palettes/decrease_opacity.ts rename to src/platform/plugins/shared/charts/public/services/palettes/decrease_opacity.ts diff --git a/src/plugins/charts/public/services/palettes/helpers.test.ts b/src/platform/plugins/shared/charts/public/services/palettes/helpers.test.ts similarity index 100% rename from src/plugins/charts/public/services/palettes/helpers.test.ts rename to src/platform/plugins/shared/charts/public/services/palettes/helpers.test.ts diff --git a/src/plugins/charts/public/services/palettes/helpers.ts b/src/platform/plugins/shared/charts/public/services/palettes/helpers.ts similarity index 100% rename from src/plugins/charts/public/services/palettes/helpers.ts rename to src/platform/plugins/shared/charts/public/services/palettes/helpers.ts diff --git a/src/plugins/charts/public/services/palettes/lighten_color.test.ts b/src/platform/plugins/shared/charts/public/services/palettes/lighten_color.test.ts similarity index 100% rename from src/plugins/charts/public/services/palettes/lighten_color.test.ts rename to src/platform/plugins/shared/charts/public/services/palettes/lighten_color.test.ts diff --git a/src/plugins/charts/public/services/palettes/lighten_color.ts b/src/platform/plugins/shared/charts/public/services/palettes/lighten_color.ts similarity index 100% rename from src/plugins/charts/public/services/palettes/lighten_color.ts rename to src/platform/plugins/shared/charts/public/services/palettes/lighten_color.ts diff --git a/src/plugins/charts/public/services/palettes/mock.ts b/src/platform/plugins/shared/charts/public/services/palettes/mock.ts similarity index 100% rename from src/plugins/charts/public/services/palettes/mock.ts rename to src/platform/plugins/shared/charts/public/services/palettes/mock.ts diff --git a/src/plugins/charts/public/services/palettes/palettes.test.tsx b/src/platform/plugins/shared/charts/public/services/palettes/palettes.test.tsx similarity index 100% rename from src/plugins/charts/public/services/palettes/palettes.test.tsx rename to src/platform/plugins/shared/charts/public/services/palettes/palettes.test.tsx diff --git a/src/plugins/charts/public/services/palettes/palettes.tsx b/src/platform/plugins/shared/charts/public/services/palettes/palettes.tsx similarity index 100% rename from src/plugins/charts/public/services/palettes/palettes.tsx rename to src/platform/plugins/shared/charts/public/services/palettes/palettes.tsx diff --git a/src/plugins/charts/public/services/palettes/service.ts b/src/platform/plugins/shared/charts/public/services/palettes/service.ts similarity index 100% rename from src/plugins/charts/public/services/palettes/service.ts rename to src/platform/plugins/shared/charts/public/services/palettes/service.ts diff --git a/src/plugins/charts/public/services/theme/README.md b/src/platform/plugins/shared/charts/public/services/theme/README.md similarity index 100% rename from src/plugins/charts/public/services/theme/README.md rename to src/platform/plugins/shared/charts/public/services/theme/README.md diff --git a/src/plugins/charts/public/services/theme/index.ts b/src/platform/plugins/shared/charts/public/services/theme/index.ts similarity index 100% rename from src/plugins/charts/public/services/theme/index.ts rename to src/platform/plugins/shared/charts/public/services/theme/index.ts diff --git a/src/plugins/charts/public/services/theme/mock.ts b/src/platform/plugins/shared/charts/public/services/theme/mock.ts similarity index 100% rename from src/plugins/charts/public/services/theme/mock.ts rename to src/platform/plugins/shared/charts/public/services/theme/mock.ts diff --git a/src/plugins/charts/public/services/theme/theme.test.tsx b/src/platform/plugins/shared/charts/public/services/theme/theme.test.tsx similarity index 100% rename from src/plugins/charts/public/services/theme/theme.test.tsx rename to src/platform/plugins/shared/charts/public/services/theme/theme.test.tsx diff --git a/src/plugins/charts/public/services/theme/theme.ts b/src/platform/plugins/shared/charts/public/services/theme/theme.ts similarity index 100% rename from src/plugins/charts/public/services/theme/theme.ts rename to src/platform/plugins/shared/charts/public/services/theme/theme.ts diff --git a/src/plugins/charts/public/static/colors/color_palette.ts b/src/platform/plugins/shared/charts/public/static/colors/color_palette.ts similarity index 100% rename from src/plugins/charts/public/static/colors/color_palette.ts rename to src/platform/plugins/shared/charts/public/static/colors/color_palette.ts diff --git a/src/plugins/charts/public/static/colors/index.ts b/src/platform/plugins/shared/charts/public/static/colors/index.ts similarity index 100% rename from src/plugins/charts/public/static/colors/index.ts rename to src/platform/plugins/shared/charts/public/static/colors/index.ts diff --git a/src/plugins/charts/public/static/colors/seed_colors.test.ts b/src/platform/plugins/shared/charts/public/static/colors/seed_colors.test.ts similarity index 100% rename from src/plugins/charts/public/static/colors/seed_colors.test.ts rename to src/platform/plugins/shared/charts/public/static/colors/seed_colors.test.ts diff --git a/src/plugins/charts/public/static/colors/seed_colors.ts b/src/platform/plugins/shared/charts/public/static/colors/seed_colors.ts similarity index 100% rename from src/plugins/charts/public/static/colors/seed_colors.ts rename to src/platform/plugins/shared/charts/public/static/colors/seed_colors.ts diff --git a/src/plugins/charts/public/static/components/color_picker.tsx b/src/platform/plugins/shared/charts/public/static/components/color_picker.tsx similarity index 100% rename from src/plugins/charts/public/static/components/color_picker.tsx rename to src/platform/plugins/shared/charts/public/static/components/color_picker.tsx diff --git a/src/plugins/charts/public/static/components/common_chart_styles.ts b/src/platform/plugins/shared/charts/public/static/components/common_chart_styles.ts similarity index 100% rename from src/plugins/charts/public/static/components/common_chart_styles.ts rename to src/platform/plugins/shared/charts/public/static/components/common_chart_styles.ts diff --git a/src/plugins/charts/public/static/components/current_time.tsx b/src/platform/plugins/shared/charts/public/static/components/current_time.tsx similarity index 100% rename from src/plugins/charts/public/static/components/current_time.tsx rename to src/platform/plugins/shared/charts/public/static/components/current_time.tsx diff --git a/src/plugins/charts/public/static/components/empty_placeholder.tsx b/src/platform/plugins/shared/charts/public/static/components/empty_placeholder.tsx similarity index 100% rename from src/plugins/charts/public/static/components/empty_placeholder.tsx rename to src/platform/plugins/shared/charts/public/static/components/empty_placeholder.tsx diff --git a/src/plugins/charts/public/static/components/endzones.tsx b/src/platform/plugins/shared/charts/public/static/components/endzones.tsx similarity index 100% rename from src/plugins/charts/public/static/components/endzones.tsx rename to src/platform/plugins/shared/charts/public/static/components/endzones.tsx diff --git a/src/plugins/charts/public/static/components/index.ts b/src/platform/plugins/shared/charts/public/static/components/index.ts similarity index 100% rename from src/plugins/charts/public/static/components/index.ts rename to src/platform/plugins/shared/charts/public/static/components/index.ts diff --git a/src/plugins/charts/public/static/components/legend_toggle.tsx b/src/platform/plugins/shared/charts/public/static/components/legend_toggle.tsx similarity index 100% rename from src/plugins/charts/public/static/components/legend_toggle.tsx rename to src/platform/plugins/shared/charts/public/static/components/legend_toggle.tsx diff --git a/src/plugins/charts/public/static/components/warnings.tsx b/src/platform/plugins/shared/charts/public/static/components/warnings.tsx similarity index 100% rename from src/plugins/charts/public/static/components/warnings.tsx rename to src/platform/plugins/shared/charts/public/static/components/warnings.tsx diff --git a/src/plugins/charts/public/static/index.ts b/src/platform/plugins/shared/charts/public/static/index.ts similarity index 100% rename from src/plugins/charts/public/static/index.ts rename to src/platform/plugins/shared/charts/public/static/index.ts diff --git a/src/plugins/charts/server/index.ts b/src/platform/plugins/shared/charts/server/index.ts similarity index 100% rename from src/plugins/charts/server/index.ts rename to src/platform/plugins/shared/charts/server/index.ts diff --git a/src/plugins/charts/server/plugin.ts b/src/platform/plugins/shared/charts/server/plugin.ts similarity index 100% rename from src/plugins/charts/server/plugin.ts rename to src/platform/plugins/shared/charts/server/plugin.ts diff --git a/src/plugins/charts/tsconfig.json b/src/platform/plugins/shared/charts/tsconfig.json similarity index 91% rename from src/plugins/charts/tsconfig.json rename to src/platform/plugins/shared/charts/tsconfig.json index 0bd9814e55579..5d736a68caf83 100644 --- a/src/plugins/charts/tsconfig.json +++ b/src/platform/plugins/shared/charts/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/platform/plugins/shared/custom_integrations/jest.config.js b/src/platform/plugins/shared/custom_integrations/jest.config.js index 95eec08d41d38..944c08a4f409a 100644 --- a/src/platform/plugins/shared/custom_integrations/jest.config.js +++ b/src/platform/plugins/shared/custom_integrations/jest.config.js @@ -14,5 +14,7 @@ module.exports = { coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/custom_integrations', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/data/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/data/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/data/.storybook/main.js b/src/platform/plugins/shared/data/.storybook/main.js similarity index 100% rename from src/plugins/data/.storybook/main.js rename to src/platform/plugins/shared/data/.storybook/main.js diff --git a/src/plugins/data/README.mdx b/src/platform/plugins/shared/data/README.mdx similarity index 100% rename from src/plugins/data/README.mdx rename to src/platform/plugins/shared/data/README.mdx diff --git a/src/plugins/data/common/constants.ts b/src/platform/plugins/shared/data/common/constants.ts similarity index 100% rename from src/plugins/data/common/constants.ts rename to src/platform/plugins/shared/data/common/constants.ts diff --git a/src/plugins/data/common/datatable_utilities/datatable_utilities_service.test.ts b/src/platform/plugins/shared/data/common/datatable_utilities/datatable_utilities_service.test.ts similarity index 100% rename from src/plugins/data/common/datatable_utilities/datatable_utilities_service.test.ts rename to src/platform/plugins/shared/data/common/datatable_utilities/datatable_utilities_service.test.ts diff --git a/src/plugins/data/common/datatable_utilities/datatable_utilities_service.ts b/src/platform/plugins/shared/data/common/datatable_utilities/datatable_utilities_service.ts similarity index 100% rename from src/plugins/data/common/datatable_utilities/datatable_utilities_service.ts rename to src/platform/plugins/shared/data/common/datatable_utilities/datatable_utilities_service.ts diff --git a/src/plugins/data/common/datatable_utilities/index.ts b/src/platform/plugins/shared/data/common/datatable_utilities/index.ts similarity index 100% rename from src/plugins/data/common/datatable_utilities/index.ts rename to src/platform/plugins/shared/data/common/datatable_utilities/index.ts diff --git a/src/plugins/data/common/datatable_utilities/mock.ts b/src/platform/plugins/shared/data/common/datatable_utilities/mock.ts similarity index 100% rename from src/plugins/data/common/datatable_utilities/mock.ts rename to src/platform/plugins/shared/data/common/datatable_utilities/mock.ts diff --git a/src/plugins/data/common/es_query/index.ts b/src/platform/plugins/shared/data/common/es_query/index.ts similarity index 100% rename from src/plugins/data/common/es_query/index.ts rename to src/platform/plugins/shared/data/common/es_query/index.ts diff --git a/src/plugins/data/common/exports/constants.ts b/src/platform/plugins/shared/data/common/exports/constants.ts similarity index 100% rename from src/plugins/data/common/exports/constants.ts rename to src/platform/plugins/shared/data/common/exports/constants.ts diff --git a/src/plugins/data/common/exports/escape_value.test.ts b/src/platform/plugins/shared/data/common/exports/escape_value.test.ts similarity index 100% rename from src/plugins/data/common/exports/escape_value.test.ts rename to src/platform/plugins/shared/data/common/exports/escape_value.test.ts diff --git a/src/plugins/data/common/exports/escape_value.ts b/src/platform/plugins/shared/data/common/exports/escape_value.ts similarity index 100% rename from src/plugins/data/common/exports/escape_value.ts rename to src/platform/plugins/shared/data/common/exports/escape_value.ts diff --git a/src/plugins/data/common/exports/export_csv.test.ts b/src/platform/plugins/shared/data/common/exports/export_csv.test.ts similarity index 100% rename from src/plugins/data/common/exports/export_csv.test.ts rename to src/platform/plugins/shared/data/common/exports/export_csv.test.ts diff --git a/src/plugins/data/common/exports/export_csv.tsx b/src/platform/plugins/shared/data/common/exports/export_csv.tsx similarity index 100% rename from src/plugins/data/common/exports/export_csv.tsx rename to src/platform/plugins/shared/data/common/exports/export_csv.tsx diff --git a/src/plugins/data/common/exports/formula_checks.ts b/src/platform/plugins/shared/data/common/exports/formula_checks.ts similarity index 100% rename from src/plugins/data/common/exports/formula_checks.ts rename to src/platform/plugins/shared/data/common/exports/formula_checks.ts diff --git a/src/plugins/data/common/exports/index.ts b/src/platform/plugins/shared/data/common/exports/index.ts similarity index 100% rename from src/plugins/data/common/exports/index.ts rename to src/platform/plugins/shared/data/common/exports/index.ts diff --git a/src/plugins/data/common/index.ts b/src/platform/plugins/shared/data/common/index.ts similarity index 98% rename from src/plugins/data/common/index.ts rename to src/platform/plugins/shared/data/common/index.ts index 485978479b347..f802d0560f70f 100644 --- a/src/plugins/data/common/index.ts +++ b/src/platform/plugins/shared/data/common/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/109904 -/* eslint-disable @kbn/eslint/no_export_all */ export { DEFAULT_QUERY_LANGUAGE, diff --git a/src/plugins/data/common/kbn_field_types/index.ts b/src/platform/plugins/shared/data/common/kbn_field_types/index.ts similarity index 100% rename from src/plugins/data/common/kbn_field_types/index.ts rename to src/platform/plugins/shared/data/common/kbn_field_types/index.ts diff --git a/src/plugins/data/common/kbn_field_types/types.ts b/src/platform/plugins/shared/data/common/kbn_field_types/types.ts similarity index 100% rename from src/plugins/data/common/kbn_field_types/types.ts rename to src/platform/plugins/shared/data/common/kbn_field_types/types.ts diff --git a/src/plugins/data/common/mocks.ts b/src/platform/plugins/shared/data/common/mocks.ts similarity index 100% rename from src/plugins/data/common/mocks.ts rename to src/platform/plugins/shared/data/common/mocks.ts diff --git a/src/plugins/data/common/query/filters/persistable_state.test.ts b/src/platform/plugins/shared/data/common/query/filters/persistable_state.test.ts similarity index 100% rename from src/plugins/data/common/query/filters/persistable_state.test.ts rename to src/platform/plugins/shared/data/common/query/filters/persistable_state.test.ts diff --git a/src/plugins/data/common/query/filters/persistable_state.ts b/src/platform/plugins/shared/data/common/query/filters/persistable_state.ts similarity index 100% rename from src/plugins/data/common/query/filters/persistable_state.ts rename to src/platform/plugins/shared/data/common/query/filters/persistable_state.ts diff --git a/src/plugins/data/common/query/index.ts b/src/platform/plugins/shared/data/common/query/index.ts similarity index 100% rename from src/plugins/data/common/query/index.ts rename to src/platform/plugins/shared/data/common/query/index.ts diff --git a/src/plugins/data/common/query/is_query.ts b/src/platform/plugins/shared/data/common/query/is_query.ts similarity index 100% rename from src/plugins/data/common/query/is_query.ts rename to src/platform/plugins/shared/data/common/query/is_query.ts diff --git a/src/plugins/data/common/query/persistable_state.test.ts b/src/platform/plugins/shared/data/common/query/persistable_state.test.ts similarity index 100% rename from src/plugins/data/common/query/persistable_state.test.ts rename to src/platform/plugins/shared/data/common/query/persistable_state.test.ts diff --git a/src/plugins/data/common/query/persistable_state.ts b/src/platform/plugins/shared/data/common/query/persistable_state.ts similarity index 100% rename from src/plugins/data/common/query/persistable_state.ts rename to src/platform/plugins/shared/data/common/query/persistable_state.ts diff --git a/src/plugins/data/common/query/query_state.ts b/src/platform/plugins/shared/data/common/query/query_state.ts similarity index 100% rename from src/plugins/data/common/query/query_state.ts rename to src/platform/plugins/shared/data/common/query/query_state.ts diff --git a/src/plugins/data/common/query/text_based_query_state_to_ast.test.ts b/src/platform/plugins/shared/data/common/query/text_based_query_state_to_ast.test.ts similarity index 100% rename from src/plugins/data/common/query/text_based_query_state_to_ast.test.ts rename to src/platform/plugins/shared/data/common/query/text_based_query_state_to_ast.test.ts diff --git a/src/plugins/data/common/query/text_based_query_state_to_ast.ts b/src/platform/plugins/shared/data/common/query/text_based_query_state_to_ast.ts similarity index 100% rename from src/plugins/data/common/query/text_based_query_state_to_ast.ts rename to src/platform/plugins/shared/data/common/query/text_based_query_state_to_ast.ts diff --git a/src/plugins/data/common/query/text_based_query_state_to_ast_with_validation.test.ts b/src/platform/plugins/shared/data/common/query/text_based_query_state_to_ast_with_validation.test.ts similarity index 100% rename from src/plugins/data/common/query/text_based_query_state_to_ast_with_validation.test.ts rename to src/platform/plugins/shared/data/common/query/text_based_query_state_to_ast_with_validation.test.ts diff --git a/src/plugins/data/common/query/text_based_query_state_to_ast_with_validation.ts b/src/platform/plugins/shared/data/common/query/text_based_query_state_to_ast_with_validation.ts similarity index 100% rename from src/plugins/data/common/query/text_based_query_state_to_ast_with_validation.ts rename to src/platform/plugins/shared/data/common/query/text_based_query_state_to_ast_with_validation.ts diff --git a/src/plugins/data/common/query/timefilter/get_time.test.ts b/src/platform/plugins/shared/data/common/query/timefilter/get_time.test.ts similarity index 100% rename from src/plugins/data/common/query/timefilter/get_time.test.ts rename to src/platform/plugins/shared/data/common/query/timefilter/get_time.test.ts diff --git a/src/plugins/data/common/query/timefilter/get_time.ts b/src/platform/plugins/shared/data/common/query/timefilter/get_time.ts similarity index 100% rename from src/plugins/data/common/query/timefilter/get_time.ts rename to src/platform/plugins/shared/data/common/query/timefilter/get_time.ts diff --git a/src/plugins/data/common/query/timefilter/index.ts b/src/platform/plugins/shared/data/common/query/timefilter/index.ts similarity index 100% rename from src/plugins/data/common/query/timefilter/index.ts rename to src/platform/plugins/shared/data/common/query/timefilter/index.ts diff --git a/src/plugins/data/common/query/timefilter/is_time_range.ts b/src/platform/plugins/shared/data/common/query/timefilter/is_time_range.ts similarity index 100% rename from src/plugins/data/common/query/timefilter/is_time_range.ts rename to src/platform/plugins/shared/data/common/query/timefilter/is_time_range.ts diff --git a/src/plugins/data/common/query/timefilter/types.ts b/src/platform/plugins/shared/data/common/query/timefilter/types.ts similarity index 100% rename from src/plugins/data/common/query/timefilter/types.ts rename to src/platform/plugins/shared/data/common/query/timefilter/types.ts diff --git a/src/plugins/data/common/query/types.ts b/src/platform/plugins/shared/data/common/query/types.ts similarity index 100% rename from src/plugins/data/common/query/types.ts rename to src/platform/plugins/shared/data/common/query/types.ts diff --git a/src/plugins/data/common/search/aggs/agg_config.test.ts b/src/platform/plugins/shared/data/common/search/aggs/agg_config.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/agg_config.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/agg_config.test.ts diff --git a/src/plugins/data/common/search/aggs/agg_config.ts b/src/platform/plugins/shared/data/common/search/aggs/agg_config.ts similarity index 100% rename from src/plugins/data/common/search/aggs/agg_config.ts rename to src/platform/plugins/shared/data/common/search/aggs/agg_config.ts diff --git a/src/plugins/data/common/search/aggs/agg_configs.test.ts b/src/platform/plugins/shared/data/common/search/aggs/agg_configs.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/agg_configs.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/agg_configs.test.ts diff --git a/src/plugins/data/common/search/aggs/agg_configs.ts b/src/platform/plugins/shared/data/common/search/aggs/agg_configs.ts similarity index 100% rename from src/plugins/data/common/search/aggs/agg_configs.ts rename to src/platform/plugins/shared/data/common/search/aggs/agg_configs.ts diff --git a/src/plugins/data/common/search/aggs/agg_groups.ts b/src/platform/plugins/shared/data/common/search/aggs/agg_groups.ts similarity index 100% rename from src/plugins/data/common/search/aggs/agg_groups.ts rename to src/platform/plugins/shared/data/common/search/aggs/agg_groups.ts diff --git a/src/plugins/data/common/search/aggs/agg_params.test.ts b/src/platform/plugins/shared/data/common/search/aggs/agg_params.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/agg_params.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/agg_params.test.ts diff --git a/src/plugins/data/common/search/aggs/agg_params.ts b/src/platform/plugins/shared/data/common/search/aggs/agg_params.ts similarity index 100% rename from src/plugins/data/common/search/aggs/agg_params.ts rename to src/platform/plugins/shared/data/common/search/aggs/agg_params.ts diff --git a/src/plugins/data/common/search/aggs/agg_type.test.ts b/src/platform/plugins/shared/data/common/search/aggs/agg_type.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/agg_type.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/agg_type.test.ts diff --git a/src/plugins/data/common/search/aggs/agg_type.ts b/src/platform/plugins/shared/data/common/search/aggs/agg_type.ts similarity index 100% rename from src/plugins/data/common/search/aggs/agg_type.ts rename to src/platform/plugins/shared/data/common/search/aggs/agg_type.ts diff --git a/src/plugins/data/common/search/aggs/agg_types.ts b/src/platform/plugins/shared/data/common/search/aggs/agg_types.ts similarity index 100% rename from src/plugins/data/common/search/aggs/agg_types.ts rename to src/platform/plugins/shared/data/common/search/aggs/agg_types.ts diff --git a/src/plugins/data/common/search/aggs/agg_types_registry.test.ts b/src/platform/plugins/shared/data/common/search/aggs/agg_types_registry.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/agg_types_registry.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/agg_types_registry.test.ts diff --git a/src/plugins/data/common/search/aggs/agg_types_registry.ts b/src/platform/plugins/shared/data/common/search/aggs/agg_types_registry.ts similarity index 100% rename from src/plugins/data/common/search/aggs/agg_types_registry.ts rename to src/platform/plugins/shared/data/common/search/aggs/agg_types_registry.ts diff --git a/src/plugins/data/common/search/aggs/aggs_service.test.ts b/src/platform/plugins/shared/data/common/search/aggs/aggs_service.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/aggs_service.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/aggs_service.test.ts diff --git a/src/plugins/data/common/search/aggs/aggs_service.ts b/src/platform/plugins/shared/data/common/search/aggs/aggs_service.ts similarity index 100% rename from src/plugins/data/common/search/aggs/aggs_service.ts rename to src/platform/plugins/shared/data/common/search/aggs/aggs_service.ts diff --git a/src/plugins/data/common/search/aggs/buckets/_interval_options.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/_interval_options.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/_interval_options.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/_interval_options.ts diff --git a/src/plugins/data/common/search/aggs/buckets/_terms_order_helper.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/_terms_order_helper.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/_terms_order_helper.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/_terms_order_helper.ts diff --git a/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/_terms_other_bucket_helper.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/_terms_other_bucket_helper.ts diff --git a/src/plugins/data/common/search/aggs/buckets/bucket_agg_type.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/bucket_agg_type.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/bucket_agg_type.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/bucket_agg_type.ts diff --git a/src/plugins/data/common/search/aggs/buckets/bucket_agg_types.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/bucket_agg_types.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/bucket_agg_types.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/bucket_agg_types.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/date_histogram.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/date_histogram.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/date_histogram.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/date_histogram.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/date_range.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/date_range.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/date_range.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/date_range.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/date_range.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/date_range.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/date_range.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/date_range.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/filters.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/filters.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/filters.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/filters.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/filters.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/filters.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/filters.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/filters.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/histogram.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/histogram.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/histogram.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/histogram.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/histogram.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/histogram.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/histogram.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/histogram.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/ip_prefix.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/ip_prefix.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/ip_prefix.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/ip_prefix.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/ip_prefix.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/ip_prefix.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/ip_prefix.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/ip_prefix.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/ip_range.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/ip_range.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/ip_range.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/ip_range.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/multi_terms.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/multi_terms.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/multi_terms.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/multi_terms.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/range.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/range.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/range.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/range.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/range.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/range.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/range.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/range.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/terms.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/terms.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/terms.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/terms.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/terms.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/terms.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/create_filter/terms.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/create_filter/terms.ts diff --git a/src/plugins/data/common/search/aggs/buckets/date_histogram.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/date_histogram.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/date_histogram.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/date_histogram.ts diff --git a/src/plugins/data/common/search/aggs/buckets/date_histogram_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/date_histogram_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/date_histogram_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/date_histogram_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/date_histogram_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/date_histogram_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/date_histogram_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/date_histogram_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/date_range.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/date_range.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/date_range.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/date_range.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/date_range.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/date_range.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/date_range.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/date_range.ts diff --git a/src/plugins/data/common/search/aggs/buckets/date_range_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/date_range_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/date_range_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/date_range_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/date_range_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/date_range_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/date_range_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/date_range_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/diversified_sampler.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/diversified_sampler.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/diversified_sampler.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/diversified_sampler.ts diff --git a/src/plugins/data/common/search/aggs/buckets/diversified_sampler_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/diversified_sampler_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/diversified_sampler_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/diversified_sampler_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/diversified_sampler_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/diversified_sampler_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/diversified_sampler_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/diversified_sampler_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/filter.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/filter.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/filter.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/filter.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/filter.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/filter.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/filter.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/filter.ts diff --git a/src/plugins/data/common/search/aggs/buckets/filter_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/filter_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/filter_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/filter_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/filter_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/filter_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/filter_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/filter_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/filters.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/filters.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/filters.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/filters.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/filters.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/filters.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/filters.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/filters.ts diff --git a/src/plugins/data/common/search/aggs/buckets/filters_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/filters_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/filters_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/filters_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/filters_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/filters_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/filters_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/filters_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/geo_tile.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/geo_tile.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/geo_tile.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/geo_tile.ts diff --git a/src/plugins/data/common/search/aggs/buckets/geo_tile_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/geo_tile_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/geo_tile_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/geo_tile_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/geo_tile_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/geo_tile_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/geo_tile_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/geo_tile_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/histogram.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/histogram.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/histogram.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/histogram.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/histogram.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/histogram.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/histogram.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/histogram.ts diff --git a/src/plugins/data/common/search/aggs/buckets/histogram_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/histogram_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/histogram_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/histogram_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/histogram_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/histogram_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/histogram_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/histogram_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/index.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/index.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/index.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/index.ts diff --git a/src/plugins/data/common/search/aggs/buckets/ip_prefix.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/ip_prefix.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/ip_prefix.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/ip_prefix.ts diff --git a/src/plugins/data/common/search/aggs/buckets/ip_prefix_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/ip_prefix_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/ip_prefix_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/ip_prefix_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/ip_prefix_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/ip_prefix_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/ip_prefix_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/ip_prefix_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/ip_range.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/ip_range.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/ip_range.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/ip_range.ts diff --git a/src/plugins/data/common/search/aggs/buckets/ip_range_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/ip_range_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/ip_range_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/ip_range_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/ip_range_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/ip_range_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/ip_range_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/ip_range_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/lib/cidr_mask.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/lib/cidr_mask.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/lib/cidr_mask.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/lib/cidr_mask.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/lib/cidr_mask.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/lib/cidr_mask.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/lib/cidr_mask.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/lib/cidr_mask.ts diff --git a/src/plugins/data/common/search/aggs/buckets/lib/date_range.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/lib/date_range.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/lib/date_range.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/lib/date_range.ts diff --git a/src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/lib/histogram_calculate_interval.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/lib/histogram_calculate_interval.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/lib/histogram_calculate_interval.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/lib/histogram_calculate_interval.ts diff --git a/src/plugins/data/common/search/aggs/buckets/lib/ip_prefix.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/lib/ip_prefix.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/lib/ip_prefix.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/lib/ip_prefix.ts diff --git a/src/plugins/data/common/search/aggs/buckets/lib/ip_range.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/lib/ip_range.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/lib/ip_range.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/lib/ip_range.ts diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.ts diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_es_interval.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/lib/time_buckets/calc_es_interval.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_es_interval.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/lib/time_buckets/calc_es_interval.ts diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/i18n_messages.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/lib/time_buckets/i18n_messages.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/lib/time_buckets/i18n_messages.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/lib/time_buckets/i18n_messages.ts diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/index.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/lib/time_buckets/index.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/lib/time_buckets/index.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/lib/time_buckets/index.ts diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/lib/time_buckets/time_buckets.ts diff --git a/src/plugins/data/common/search/aggs/buckets/migrate_include_exclude_format.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/migrate_include_exclude_format.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/migrate_include_exclude_format.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/migrate_include_exclude_format.ts diff --git a/src/plugins/data/common/search/aggs/buckets/multi_field_key.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/multi_field_key.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/multi_field_key.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/multi_field_key.ts diff --git a/src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/multi_terms.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/multi_terms.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/multi_terms.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/multi_terms.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/multi_terms.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/multi_terms.ts diff --git a/src/plugins/data/common/search/aggs/buckets/multi_terms_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/multi_terms_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/multi_terms_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/multi_terms_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/range.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/range.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/range.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/range.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/range.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/range.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/range.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/range.ts diff --git a/src/plugins/data/common/search/aggs/buckets/range_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/range_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/range_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/range_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/range_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/range_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/range_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/range_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/range_key.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/range_key.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/range_key.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/range_key.ts diff --git a/src/plugins/data/common/search/aggs/buckets/rare_terms.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/rare_terms.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/rare_terms.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/rare_terms.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/rare_terms.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/rare_terms.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/rare_terms.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/rare_terms.ts diff --git a/src/plugins/data/common/search/aggs/buckets/rare_terms_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/rare_terms_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/rare_terms_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/rare_terms_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/sampler.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/sampler.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/sampler.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/sampler.ts diff --git a/src/plugins/data/common/search/aggs/buckets/sampler_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/sampler_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/sampler_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/sampler_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/sampler_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/sampler_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/sampler_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/sampler_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/shard_delay.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/shard_delay.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/shard_delay.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/shard_delay.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/shard_delay.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/shard_delay.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/shard_delay.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/shard_delay.ts diff --git a/src/plugins/data/common/search/aggs/buckets/shard_delay_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/shard_delay_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/shard_delay_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/shard_delay_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/shard_delay_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/shard_delay_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/shard_delay_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/shard_delay_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/significant_terms.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/significant_terms.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/significant_terms.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/significant_terms.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/significant_terms.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/significant_terms.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/significant_terms.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/significant_terms.ts diff --git a/src/plugins/data/common/search/aggs/buckets/significant_terms_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/significant_terms_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/significant_terms_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/significant_terms_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/significant_terms_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/significant_terms_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/significant_terms_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/significant_terms_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/significant_text.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/significant_text.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/significant_text.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/significant_text.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/significant_text.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/significant_text.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/significant_text.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/significant_text.ts diff --git a/src/plugins/data/common/search/aggs/buckets/significant_text_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/significant_text_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/significant_text_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/significant_text_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/significant_text_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/significant_text_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/significant_text_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/significant_text_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/terms.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/terms.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/terms.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/terms.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/terms.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/terms.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/terms.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/terms.ts diff --git a/src/plugins/data/common/search/aggs/buckets/terms_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/terms_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/terms_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/terms_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/terms_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/terms_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/terms_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/terms_fn.ts diff --git a/src/plugins/data/common/search/aggs/buckets/time_series.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/time_series.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/time_series.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/time_series.ts diff --git a/src/plugins/data/common/search/aggs/buckets/time_series_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/time_series_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/time_series_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/time_series_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/buckets/time_series_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/buckets/time_series_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/buckets/time_series_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/buckets/time_series_fn.ts diff --git a/src/plugins/data/common/search/aggs/index.test.ts b/src/platform/plugins/shared/data/common/search/aggs/index.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/index.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/index.test.ts diff --git a/src/plugins/data/common/search/aggs/index.ts b/src/platform/plugins/shared/data/common/search/aggs/index.ts similarity index 100% rename from src/plugins/data/common/search/aggs/index.ts rename to src/platform/plugins/shared/data/common/search/aggs/index.ts diff --git a/src/plugins/data/common/search/aggs/metrics/__snapshots__/median.test.ts.snap b/src/platform/plugins/shared/data/common/search/aggs/metrics/__snapshots__/median.test.ts.snap similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/__snapshots__/median.test.ts.snap rename to src/platform/plugins/shared/data/common/search/aggs/metrics/__snapshots__/median.test.ts.snap diff --git a/src/plugins/data/common/search/aggs/metrics/__snapshots__/single_percentile.test.ts.snap b/src/platform/plugins/shared/data/common/search/aggs/metrics/__snapshots__/single_percentile.test.ts.snap similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/__snapshots__/single_percentile.test.ts.snap rename to src/platform/plugins/shared/data/common/search/aggs/metrics/__snapshots__/single_percentile.test.ts.snap diff --git a/src/plugins/data/common/search/aggs/metrics/avg.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/avg.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/avg.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/avg.ts diff --git a/src/plugins/data/common/search/aggs/metrics/avg_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/avg_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/avg_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/avg_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/avg_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/avg_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/avg_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/avg_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_avg.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_avg.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/bucket_avg.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_avg.ts diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_avg_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_avg_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/bucket_avg_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_avg_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_avg_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_avg_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/bucket_avg_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_avg_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_max.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_max.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/bucket_max.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_max.ts diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_max_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_max_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/bucket_max_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_max_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_max_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_max_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/bucket_max_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_max_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_min.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_min.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/bucket_min.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_min.ts diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_min_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_min_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/bucket_min_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_min_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_min_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_min_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/bucket_min_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_min_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_sum.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_sum.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/bucket_sum.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_sum.ts diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_sum_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_sum_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/bucket_sum_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_sum_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/bucket_sum_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_sum_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/bucket_sum_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/bucket_sum_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/cardinality.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/cardinality.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/cardinality.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/cardinality.ts diff --git a/src/plugins/data/common/search/aggs/metrics/cardinality_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/cardinality_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/cardinality_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/cardinality_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/cardinality_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/cardinality_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/cardinality_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/cardinality_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/count.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/count.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/count.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/count.ts diff --git a/src/plugins/data/common/search/aggs/metrics/count_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/count_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/count_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/count_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/count_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/count_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/count_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/count_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/cumulative_sum.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/cumulative_sum.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/cumulative_sum.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/cumulative_sum.ts diff --git a/src/plugins/data/common/search/aggs/metrics/cumulative_sum_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/cumulative_sum_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/cumulative_sum_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/cumulative_sum_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/cumulative_sum_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/cumulative_sum_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/cumulative_sum_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/cumulative_sum_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/derivative.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/derivative.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/derivative.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/derivative.ts diff --git a/src/plugins/data/common/search/aggs/metrics/derivative_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/derivative_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/derivative_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/derivative_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/derivative_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/derivative_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/derivative_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/derivative_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/filtered_metric.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/filtered_metric.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/filtered_metric.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/filtered_metric.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/filtered_metric.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/filtered_metric.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/filtered_metric.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/filtered_metric.ts diff --git a/src/plugins/data/common/search/aggs/metrics/filtered_metric_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/filtered_metric_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/filtered_metric_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/filtered_metric_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/filtered_metric_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/filtered_metric_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/filtered_metric_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/filtered_metric_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/geo_bounds.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/geo_bounds.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/geo_bounds.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/geo_bounds.ts diff --git a/src/plugins/data/common/search/aggs/metrics/geo_bounds_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/geo_bounds_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/geo_bounds_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/geo_bounds_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/geo_bounds_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/geo_bounds_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/geo_bounds_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/geo_bounds_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/geo_centroid.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/geo_centroid.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/geo_centroid.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/geo_centroid.ts diff --git a/src/plugins/data/common/search/aggs/metrics/geo_centroid_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/geo_centroid_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/geo_centroid_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/geo_centroid_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/geo_centroid_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/geo_centroid_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/geo_centroid_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/geo_centroid_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/index.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/index.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/index.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/index.ts diff --git a/src/plugins/data/common/search/aggs/metrics/lib/create_filter.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/lib/create_filter.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/lib/create_filter.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/lib/create_filter.ts diff --git a/src/plugins/data/common/search/aggs/metrics/lib/get_response_agg_config_class.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/lib/get_response_agg_config_class.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/lib/get_response_agg_config_class.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/lib/get_response_agg_config_class.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/lib/get_response_agg_config_class.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/lib/get_response_agg_config_class.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/lib/get_response_agg_config_class.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/lib/get_response_agg_config_class.ts diff --git a/src/plugins/data/common/search/aggs/metrics/lib/make_nested_label.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/lib/make_nested_label.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/lib/make_nested_label.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/lib/make_nested_label.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/lib/make_nested_label.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/lib/make_nested_label.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/lib/make_nested_label.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/lib/make_nested_label.ts diff --git a/src/plugins/data/common/search/aggs/metrics/lib/nested_agg_helpers.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/lib/nested_agg_helpers.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/lib/nested_agg_helpers.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/lib/nested_agg_helpers.ts diff --git a/src/plugins/data/common/search/aggs/metrics/lib/ordinal_suffix.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/lib/ordinal_suffix.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/lib/ordinal_suffix.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/lib/ordinal_suffix.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/lib/ordinal_suffix.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/lib/ordinal_suffix.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/lib/ordinal_suffix.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/lib/ordinal_suffix.ts diff --git a/src/plugins/data/common/search/aggs/metrics/lib/parent_pipeline_agg_helper.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/lib/parent_pipeline_agg_helper.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/lib/parent_pipeline_agg_helper.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/lib/parent_pipeline_agg_helper.ts diff --git a/src/plugins/data/common/search/aggs/metrics/lib/parent_pipeline_agg_writer.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/lib/parent_pipeline_agg_writer.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/lib/parent_pipeline_agg_writer.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/lib/parent_pipeline_agg_writer.ts diff --git a/src/plugins/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_helper.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_helper.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_helper.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_helper.ts diff --git a/src/plugins/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_writer.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_writer.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_writer.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/lib/sibling_pipeline_agg_writer.ts diff --git a/src/plugins/data/common/search/aggs/metrics/max.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/max.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/max.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/max.ts diff --git a/src/plugins/data/common/search/aggs/metrics/max_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/max_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/max_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/max_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/max_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/max_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/max_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/max_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/median.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/median.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/median.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/median.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/median.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/median.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/median.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/median.ts diff --git a/src/plugins/data/common/search/aggs/metrics/median_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/median_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/median_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/median_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/median_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/median_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/median_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/median_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/metric_agg_type.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/metric_agg_type.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/metric_agg_type.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/metric_agg_type.ts diff --git a/src/plugins/data/common/search/aggs/metrics/metric_agg_types.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/metric_agg_types.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/metric_agg_types.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/metric_agg_types.ts diff --git a/src/plugins/data/common/search/aggs/metrics/min.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/min.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/min.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/min.ts diff --git a/src/plugins/data/common/search/aggs/metrics/min_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/min_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/min_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/min_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/min_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/min_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/min_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/min_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/moving_avg.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/moving_avg.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/moving_avg.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/moving_avg.ts diff --git a/src/plugins/data/common/search/aggs/metrics/moving_avg_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/moving_avg_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/moving_avg_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/moving_avg_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/moving_avg_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/moving_avg_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/moving_avg_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/moving_avg_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/parent_pipeline.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/parent_pipeline.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/parent_pipeline.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/parent_pipeline.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/percentile_ranks.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/percentile_ranks.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/percentile_ranks.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/percentile_ranks.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/percentile_ranks.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/percentile_ranks.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/percentile_ranks.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/percentile_ranks.ts diff --git a/src/plugins/data/common/search/aggs/metrics/percentile_ranks_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/percentile_ranks_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/percentile_ranks_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/percentile_ranks_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/percentile_ranks_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/percentile_ranks_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/percentile_ranks_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/percentile_ranks_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/percentiles.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/percentiles.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/percentiles.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/percentiles.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/percentiles.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/percentiles.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/percentiles.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/percentiles.ts diff --git a/src/plugins/data/common/search/aggs/metrics/percentiles_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/percentiles_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/percentiles_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/percentiles_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/percentiles_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/percentiles_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/percentiles_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/percentiles_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/percentiles_get_value.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/percentiles_get_value.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/percentiles_get_value.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/percentiles_get_value.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/percentiles_get_value.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/percentiles_get_value.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/percentiles_get_value.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/percentiles_get_value.ts diff --git a/src/plugins/data/common/search/aggs/metrics/rate.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/rate.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/rate.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/rate.ts diff --git a/src/plugins/data/common/search/aggs/metrics/rate_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/rate_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/rate_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/rate_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/rate_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/rate_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/rate_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/rate_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/serial_diff.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/serial_diff.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/serial_diff.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/serial_diff.ts diff --git a/src/plugins/data/common/search/aggs/metrics/serial_diff_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/serial_diff_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/serial_diff_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/serial_diff_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/serial_diff_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/serial_diff_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/serial_diff_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/serial_diff_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/sibling_pipeline.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/sibling_pipeline.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/sibling_pipeline.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/sibling_pipeline.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/single_percentile.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/single_percentile.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/single_percentile.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/single_percentile.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/single_percentile.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/single_percentile.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/single_percentile.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/single_percentile.ts diff --git a/src/plugins/data/common/search/aggs/metrics/single_percentile_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/single_percentile_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/single_percentile_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/single_percentile_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/single_percentile_rank.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/single_percentile_rank.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/single_percentile_rank.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/single_percentile_rank.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/single_percentile_rank.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/single_percentile_rank.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/single_percentile_rank.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/single_percentile_rank.ts diff --git a/src/plugins/data/common/search/aggs/metrics/single_percentile_rank_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/single_percentile_rank_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/single_percentile_rank_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/single_percentile_rank_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/std_deviation.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/std_deviation.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/std_deviation.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/std_deviation.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/std_deviation.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/std_deviation.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/std_deviation.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/std_deviation.ts diff --git a/src/plugins/data/common/search/aggs/metrics/std_deviation_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/std_deviation_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/std_deviation_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/std_deviation_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/std_deviation_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/std_deviation_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/std_deviation_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/std_deviation_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/sum.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/sum.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/sum.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/sum.ts diff --git a/src/plugins/data/common/search/aggs/metrics/sum_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/sum_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/sum_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/sum_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/sum_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/sum_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/sum_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/sum_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/top_hit.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/top_hit.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/top_hit.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/top_hit.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/top_hit.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/top_hit.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/top_hit.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/top_hit.ts diff --git a/src/plugins/data/common/search/aggs/metrics/top_hit_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/top_hit_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/top_hit_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/top_hit_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/top_hit_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/top_hit_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/top_hit_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/top_hit_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/top_metrics.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/top_metrics.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/top_metrics.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/top_metrics.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/top_metrics.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/top_metrics.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/top_metrics.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/top_metrics.ts diff --git a/src/plugins/data/common/search/aggs/metrics/top_metrics_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/top_metrics_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/top_metrics_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/top_metrics_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/top_metrics_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/top_metrics_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/top_metrics_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/top_metrics_fn.ts diff --git a/src/plugins/data/common/search/aggs/metrics/value_count.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/value_count.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/value_count.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/value_count.ts diff --git a/src/plugins/data/common/search/aggs/metrics/value_count_fn.test.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/value_count_fn.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/value_count_fn.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/value_count_fn.test.ts diff --git a/src/plugins/data/common/search/aggs/metrics/value_count_fn.ts b/src/platform/plugins/shared/data/common/search/aggs/metrics/value_count_fn.ts similarity index 100% rename from src/plugins/data/common/search/aggs/metrics/value_count_fn.ts rename to src/platform/plugins/shared/data/common/search/aggs/metrics/value_count_fn.ts diff --git a/src/plugins/data/common/search/aggs/param_types/agg.ts b/src/platform/plugins/shared/data/common/search/aggs/param_types/agg.ts similarity index 100% rename from src/plugins/data/common/search/aggs/param_types/agg.ts rename to src/platform/plugins/shared/data/common/search/aggs/param_types/agg.ts diff --git a/src/plugins/data/common/search/aggs/param_types/base.ts b/src/platform/plugins/shared/data/common/search/aggs/param_types/base.ts similarity index 100% rename from src/plugins/data/common/search/aggs/param_types/base.ts rename to src/platform/plugins/shared/data/common/search/aggs/param_types/base.ts diff --git a/src/plugins/data/common/search/aggs/param_types/field.test.ts b/src/platform/plugins/shared/data/common/search/aggs/param_types/field.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/param_types/field.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/param_types/field.test.ts diff --git a/src/plugins/data/common/search/aggs/param_types/field.ts b/src/platform/plugins/shared/data/common/search/aggs/param_types/field.ts similarity index 100% rename from src/plugins/data/common/search/aggs/param_types/field.ts rename to src/platform/plugins/shared/data/common/search/aggs/param_types/field.ts diff --git a/src/plugins/data/common/search/aggs/param_types/index.ts b/src/platform/plugins/shared/data/common/search/aggs/param_types/index.ts similarity index 100% rename from src/plugins/data/common/search/aggs/param_types/index.ts rename to src/platform/plugins/shared/data/common/search/aggs/param_types/index.ts diff --git a/src/plugins/data/common/search/aggs/param_types/json.test.ts b/src/platform/plugins/shared/data/common/search/aggs/param_types/json.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/param_types/json.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/param_types/json.test.ts diff --git a/src/plugins/data/common/search/aggs/param_types/json.ts b/src/platform/plugins/shared/data/common/search/aggs/param_types/json.ts similarity index 100% rename from src/plugins/data/common/search/aggs/param_types/json.ts rename to src/platform/plugins/shared/data/common/search/aggs/param_types/json.ts diff --git a/src/plugins/data/common/search/aggs/param_types/optioned.test.ts b/src/platform/plugins/shared/data/common/search/aggs/param_types/optioned.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/param_types/optioned.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/param_types/optioned.test.ts diff --git a/src/plugins/data/common/search/aggs/param_types/optioned.ts b/src/platform/plugins/shared/data/common/search/aggs/param_types/optioned.ts similarity index 100% rename from src/plugins/data/common/search/aggs/param_types/optioned.ts rename to src/platform/plugins/shared/data/common/search/aggs/param_types/optioned.ts diff --git a/src/plugins/data/common/search/aggs/param_types/string.test.ts b/src/platform/plugins/shared/data/common/search/aggs/param_types/string.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/param_types/string.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/param_types/string.test.ts diff --git a/src/plugins/data/common/search/aggs/param_types/string.ts b/src/platform/plugins/shared/data/common/search/aggs/param_types/string.ts similarity index 100% rename from src/plugins/data/common/search/aggs/param_types/string.ts rename to src/platform/plugins/shared/data/common/search/aggs/param_types/string.ts diff --git a/src/plugins/data/common/search/aggs/test_helpers/function_wrapper.ts b/src/platform/plugins/shared/data/common/search/aggs/test_helpers/function_wrapper.ts similarity index 100% rename from src/plugins/data/common/search/aggs/test_helpers/function_wrapper.ts rename to src/platform/plugins/shared/data/common/search/aggs/test_helpers/function_wrapper.ts diff --git a/src/plugins/data/common/search/aggs/test_helpers/index.ts b/src/platform/plugins/shared/data/common/search/aggs/test_helpers/index.ts similarity index 100% rename from src/plugins/data/common/search/aggs/test_helpers/index.ts rename to src/platform/plugins/shared/data/common/search/aggs/test_helpers/index.ts diff --git a/src/plugins/data/common/search/aggs/test_helpers/mock_agg_types_registry.ts b/src/platform/plugins/shared/data/common/search/aggs/test_helpers/mock_agg_types_registry.ts similarity index 100% rename from src/plugins/data/common/search/aggs/test_helpers/mock_agg_types_registry.ts rename to src/platform/plugins/shared/data/common/search/aggs/test_helpers/mock_agg_types_registry.ts diff --git a/src/plugins/data/common/search/aggs/types.ts b/src/platform/plugins/shared/data/common/search/aggs/types.ts similarity index 100% rename from src/plugins/data/common/search/aggs/types.ts rename to src/platform/plugins/shared/data/common/search/aggs/types.ts diff --git a/src/plugins/data/common/search/aggs/utils/calculate_auto_time_expression.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/calculate_auto_time_expression.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/calculate_auto_time_expression.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/calculate_auto_time_expression.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.test.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.test.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/index.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/index.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/index.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/index.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_es_calendar_interval_error.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/invalid_es_calendar_interval_error.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_es_calendar_interval_error.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/invalid_es_calendar_interval_error.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_es_interval_format_error.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/invalid_es_interval_format_error.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_es_interval_format_error.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/invalid_es_interval_format_error.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_es_interval.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/is_valid_es_interval.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_es_interval.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/is_valid_es_interval.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_interval.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/is_valid_interval.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_interval.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/is_valid_interval.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_interval.test.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/least_common_interval.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_interval.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/least_common_interval.test.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_interval.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/least_common_interval.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_interval.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/least_common_interval.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.test.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.test.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/least_common_multiple.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.test.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.test.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.test.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/parse_interval.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/parse_interval.test.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/parse_interval.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/parse_interval.ts diff --git a/src/plugins/data/common/search/aggs/utils/date_interval_utils/to_absolute_dates.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/to_absolute_dates.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/date_interval_utils/to_absolute_dates.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/date_interval_utils/to_absolute_dates.ts diff --git a/src/plugins/data/common/search/aggs/utils/get_aggs_formats.test.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/get_aggs_formats.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/get_aggs_formats.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/get_aggs_formats.test.ts diff --git a/src/plugins/data/common/search/aggs/utils/get_aggs_formats.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/get_aggs_formats.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/get_aggs_formats.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/get_aggs_formats.ts diff --git a/src/plugins/data/common/search/aggs/utils/index.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/index.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/index.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/index.ts diff --git a/src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/infer_time_zone.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/infer_time_zone.test.ts diff --git a/src/plugins/data/common/search/aggs/utils/infer_time_zone.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/infer_time_zone.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/infer_time_zone.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/infer_time_zone.ts diff --git a/src/plugins/data/common/search/aggs/utils/ip_address.test.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/ip_address.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/ip_address.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/ip_address.test.ts diff --git a/src/plugins/data/common/search/aggs/utils/ip_address.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/ip_address.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/ip_address.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/ip_address.ts diff --git a/src/plugins/data/common/search/aggs/utils/parse_time_shift.test.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/parse_time_shift.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/parse_time_shift.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/parse_time_shift.test.ts diff --git a/src/plugins/data/common/search/aggs/utils/parse_time_shift.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/parse_time_shift.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/parse_time_shift.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/parse_time_shift.ts diff --git a/src/plugins/data/common/search/aggs/utils/prop_filter.test.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/prop_filter.test.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/prop_filter.test.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/prop_filter.test.ts diff --git a/src/plugins/data/common/search/aggs/utils/prop_filter.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/prop_filter.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/prop_filter.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/prop_filter.ts diff --git a/src/plugins/data/common/search/aggs/utils/sampler.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/sampler.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/sampler.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/sampler.ts diff --git a/src/plugins/data/common/search/aggs/utils/time_splits.ts b/src/platform/plugins/shared/data/common/search/aggs/utils/time_splits.ts similarity index 100% rename from src/plugins/data/common/search/aggs/utils/time_splits.ts rename to src/platform/plugins/shared/data/common/search/aggs/utils/time_splits.ts diff --git a/src/plugins/data/common/search/expressions/__snapshots__/eql_raw_response.test.ts.snap b/src/platform/plugins/shared/data/common/search/expressions/__snapshots__/eql_raw_response.test.ts.snap similarity index 100% rename from src/plugins/data/common/search/expressions/__snapshots__/eql_raw_response.test.ts.snap rename to src/platform/plugins/shared/data/common/search/expressions/__snapshots__/eql_raw_response.test.ts.snap diff --git a/src/plugins/data/common/search/expressions/__snapshots__/es_raw_response.test.ts.snap b/src/platform/plugins/shared/data/common/search/expressions/__snapshots__/es_raw_response.test.ts.snap similarity index 100% rename from src/plugins/data/common/search/expressions/__snapshots__/es_raw_response.test.ts.snap rename to src/platform/plugins/shared/data/common/search/expressions/__snapshots__/es_raw_response.test.ts.snap diff --git a/src/plugins/data/common/search/expressions/__snapshots__/kibana.test.ts.snap b/src/platform/plugins/shared/data/common/search/expressions/__snapshots__/kibana.test.ts.snap similarity index 100% rename from src/plugins/data/common/search/expressions/__snapshots__/kibana.test.ts.snap rename to src/platform/plugins/shared/data/common/search/expressions/__snapshots__/kibana.test.ts.snap diff --git a/src/plugins/data/common/search/expressions/aggregate_query_to_ast.test.ts b/src/platform/plugins/shared/data/common/search/expressions/aggregate_query_to_ast.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/aggregate_query_to_ast.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/aggregate_query_to_ast.test.ts diff --git a/src/plugins/data/common/search/expressions/aggregate_query_to_ast.ts b/src/platform/plugins/shared/data/common/search/expressions/aggregate_query_to_ast.ts similarity index 100% rename from src/plugins/data/common/search/expressions/aggregate_query_to_ast.ts rename to src/platform/plugins/shared/data/common/search/expressions/aggregate_query_to_ast.ts diff --git a/src/plugins/data/common/search/expressions/cidr.test.ts b/src/platform/plugins/shared/data/common/search/expressions/cidr.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/cidr.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/cidr.test.ts diff --git a/src/plugins/data/common/search/expressions/cidr.ts b/src/platform/plugins/shared/data/common/search/expressions/cidr.ts similarity index 100% rename from src/plugins/data/common/search/expressions/cidr.ts rename to src/platform/plugins/shared/data/common/search/expressions/cidr.ts diff --git a/src/plugins/data/common/search/expressions/cidr_to_ast.test.ts b/src/platform/plugins/shared/data/common/search/expressions/cidr_to_ast.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/cidr_to_ast.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/cidr_to_ast.test.ts diff --git a/src/plugins/data/common/search/expressions/cidr_to_ast.ts b/src/platform/plugins/shared/data/common/search/expressions/cidr_to_ast.ts similarity index 100% rename from src/plugins/data/common/search/expressions/cidr_to_ast.ts rename to src/platform/plugins/shared/data/common/search/expressions/cidr_to_ast.ts diff --git a/src/plugins/data/common/search/expressions/date_range.test.ts b/src/platform/plugins/shared/data/common/search/expressions/date_range.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/date_range.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/date_range.test.ts diff --git a/src/plugins/data/common/search/expressions/date_range.ts b/src/platform/plugins/shared/data/common/search/expressions/date_range.ts similarity index 100% rename from src/plugins/data/common/search/expressions/date_range.ts rename to src/platform/plugins/shared/data/common/search/expressions/date_range.ts diff --git a/src/plugins/data/common/search/expressions/date_range_to_ast.test.ts b/src/platform/plugins/shared/data/common/search/expressions/date_range_to_ast.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/date_range_to_ast.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/date_range_to_ast.test.ts diff --git a/src/plugins/data/common/search/expressions/date_range_to_ast.ts b/src/platform/plugins/shared/data/common/search/expressions/date_range_to_ast.ts similarity index 100% rename from src/plugins/data/common/search/expressions/date_range_to_ast.ts rename to src/platform/plugins/shared/data/common/search/expressions/date_range_to_ast.ts diff --git a/src/plugins/data/common/search/expressions/eql.ts b/src/platform/plugins/shared/data/common/search/expressions/eql.ts similarity index 100% rename from src/plugins/data/common/search/expressions/eql.ts rename to src/platform/plugins/shared/data/common/search/expressions/eql.ts diff --git a/src/plugins/data/common/search/expressions/eql_raw_response.test.ts b/src/platform/plugins/shared/data/common/search/expressions/eql_raw_response.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/eql_raw_response.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/eql_raw_response.test.ts diff --git a/src/plugins/data/common/search/expressions/eql_raw_response.ts b/src/platform/plugins/shared/data/common/search/expressions/eql_raw_response.ts similarity index 100% rename from src/plugins/data/common/search/expressions/eql_raw_response.ts rename to src/platform/plugins/shared/data/common/search/expressions/eql_raw_response.ts diff --git a/src/plugins/data/common/search/expressions/es_raw_response.test.ts b/src/platform/plugins/shared/data/common/search/expressions/es_raw_response.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/es_raw_response.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/es_raw_response.test.ts diff --git a/src/plugins/data/common/search/expressions/es_raw_response.ts b/src/platform/plugins/shared/data/common/search/expressions/es_raw_response.ts similarity index 100% rename from src/plugins/data/common/search/expressions/es_raw_response.ts rename to src/platform/plugins/shared/data/common/search/expressions/es_raw_response.ts diff --git a/src/plugins/data/common/search/expressions/esaggs/create_filter.test.ts b/src/platform/plugins/shared/data/common/search/expressions/esaggs/create_filter.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/esaggs/create_filter.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/esaggs/create_filter.test.ts diff --git a/src/plugins/data/common/search/expressions/esaggs/create_filter.ts b/src/platform/plugins/shared/data/common/search/expressions/esaggs/create_filter.ts similarity index 100% rename from src/plugins/data/common/search/expressions/esaggs/create_filter.ts rename to src/platform/plugins/shared/data/common/search/expressions/esaggs/create_filter.ts diff --git a/src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts b/src/platform/plugins/shared/data/common/search/expressions/esaggs/esaggs_fn.ts similarity index 100% rename from src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts rename to src/platform/plugins/shared/data/common/search/expressions/esaggs/esaggs_fn.ts diff --git a/src/plugins/data/common/search/expressions/esaggs/index.ts b/src/platform/plugins/shared/data/common/search/expressions/esaggs/index.ts similarity index 100% rename from src/plugins/data/common/search/expressions/esaggs/index.ts rename to src/platform/plugins/shared/data/common/search/expressions/esaggs/index.ts diff --git a/src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts b/src/platform/plugins/shared/data/common/search/expressions/esaggs/request_handler.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/esaggs/request_handler.test.ts diff --git a/src/plugins/data/common/search/expressions/esaggs/request_handler.ts b/src/platform/plugins/shared/data/common/search/expressions/esaggs/request_handler.ts similarity index 100% rename from src/plugins/data/common/search/expressions/esaggs/request_handler.ts rename to src/platform/plugins/shared/data/common/search/expressions/esaggs/request_handler.ts diff --git a/src/plugins/data/common/search/expressions/esdsl.ts b/src/platform/plugins/shared/data/common/search/expressions/esdsl.ts similarity index 100% rename from src/plugins/data/common/search/expressions/esdsl.ts rename to src/platform/plugins/shared/data/common/search/expressions/esdsl.ts diff --git a/src/plugins/data/common/search/expressions/esql.ts b/src/platform/plugins/shared/data/common/search/expressions/esql.ts similarity index 100% rename from src/plugins/data/common/search/expressions/esql.ts rename to src/platform/plugins/shared/data/common/search/expressions/esql.ts diff --git a/src/plugins/data/common/search/expressions/essql.ts b/src/platform/plugins/shared/data/common/search/expressions/essql.ts similarity index 100% rename from src/plugins/data/common/search/expressions/essql.ts rename to src/platform/plugins/shared/data/common/search/expressions/essql.ts diff --git a/src/plugins/data/common/search/expressions/exists_filter.test.ts b/src/platform/plugins/shared/data/common/search/expressions/exists_filter.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/exists_filter.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/exists_filter.test.ts diff --git a/src/plugins/data/common/search/expressions/exists_filter.ts b/src/platform/plugins/shared/data/common/search/expressions/exists_filter.ts similarity index 100% rename from src/plugins/data/common/search/expressions/exists_filter.ts rename to src/platform/plugins/shared/data/common/search/expressions/exists_filter.ts diff --git a/src/plugins/data/common/search/expressions/extended_bounds.test.ts b/src/platform/plugins/shared/data/common/search/expressions/extended_bounds.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/extended_bounds.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/extended_bounds.test.ts diff --git a/src/plugins/data/common/search/expressions/extended_bounds.ts b/src/platform/plugins/shared/data/common/search/expressions/extended_bounds.ts similarity index 100% rename from src/plugins/data/common/search/expressions/extended_bounds.ts rename to src/platform/plugins/shared/data/common/search/expressions/extended_bounds.ts diff --git a/src/plugins/data/common/search/expressions/extended_bounds_to_ast.test.ts b/src/platform/plugins/shared/data/common/search/expressions/extended_bounds_to_ast.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/extended_bounds_to_ast.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/extended_bounds_to_ast.test.ts diff --git a/src/plugins/data/common/search/expressions/extended_bounds_to_ast.ts b/src/platform/plugins/shared/data/common/search/expressions/extended_bounds_to_ast.ts similarity index 100% rename from src/plugins/data/common/search/expressions/extended_bounds_to_ast.ts rename to src/platform/plugins/shared/data/common/search/expressions/extended_bounds_to_ast.ts diff --git a/src/plugins/data/common/search/expressions/field.test.ts b/src/platform/plugins/shared/data/common/search/expressions/field.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/field.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/field.test.ts diff --git a/src/plugins/data/common/search/expressions/field.ts b/src/platform/plugins/shared/data/common/search/expressions/field.ts similarity index 100% rename from src/plugins/data/common/search/expressions/field.ts rename to src/platform/plugins/shared/data/common/search/expressions/field.ts diff --git a/src/plugins/data/common/search/expressions/filters_to_ast.test.ts b/src/platform/plugins/shared/data/common/search/expressions/filters_to_ast.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/filters_to_ast.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/filters_to_ast.test.ts diff --git a/src/plugins/data/common/search/expressions/filters_to_ast.ts b/src/platform/plugins/shared/data/common/search/expressions/filters_to_ast.ts similarity index 100% rename from src/plugins/data/common/search/expressions/filters_to_ast.ts rename to src/platform/plugins/shared/data/common/search/expressions/filters_to_ast.ts diff --git a/src/plugins/data/common/search/expressions/geo_bounding_box.test.ts b/src/platform/plugins/shared/data/common/search/expressions/geo_bounding_box.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/geo_bounding_box.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/geo_bounding_box.test.ts diff --git a/src/plugins/data/common/search/expressions/geo_bounding_box.ts b/src/platform/plugins/shared/data/common/search/expressions/geo_bounding_box.ts similarity index 100% rename from src/plugins/data/common/search/expressions/geo_bounding_box.ts rename to src/platform/plugins/shared/data/common/search/expressions/geo_bounding_box.ts diff --git a/src/plugins/data/common/search/expressions/geo_bounding_box_to_ast.test.ts b/src/platform/plugins/shared/data/common/search/expressions/geo_bounding_box_to_ast.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/geo_bounding_box_to_ast.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/geo_bounding_box_to_ast.test.ts diff --git a/src/plugins/data/common/search/expressions/geo_bounding_box_to_ast.ts b/src/platform/plugins/shared/data/common/search/expressions/geo_bounding_box_to_ast.ts similarity index 100% rename from src/plugins/data/common/search/expressions/geo_bounding_box_to_ast.ts rename to src/platform/plugins/shared/data/common/search/expressions/geo_bounding_box_to_ast.ts diff --git a/src/plugins/data/common/search/expressions/geo_point.test.ts b/src/platform/plugins/shared/data/common/search/expressions/geo_point.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/geo_point.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/geo_point.test.ts diff --git a/src/plugins/data/common/search/expressions/geo_point.ts b/src/platform/plugins/shared/data/common/search/expressions/geo_point.ts similarity index 100% rename from src/plugins/data/common/search/expressions/geo_point.ts rename to src/platform/plugins/shared/data/common/search/expressions/geo_point.ts diff --git a/src/plugins/data/common/search/expressions/geo_point_to_ast.test.ts b/src/platform/plugins/shared/data/common/search/expressions/geo_point_to_ast.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/geo_point_to_ast.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/geo_point_to_ast.test.ts diff --git a/src/plugins/data/common/search/expressions/geo_point_to_ast.ts b/src/platform/plugins/shared/data/common/search/expressions/geo_point_to_ast.ts similarity index 100% rename from src/plugins/data/common/search/expressions/geo_point_to_ast.ts rename to src/platform/plugins/shared/data/common/search/expressions/geo_point_to_ast.ts diff --git a/src/plugins/data/common/search/expressions/index.ts b/src/platform/plugins/shared/data/common/search/expressions/index.ts similarity index 100% rename from src/plugins/data/common/search/expressions/index.ts rename to src/platform/plugins/shared/data/common/search/expressions/index.ts diff --git a/src/plugins/data/common/search/expressions/ip_prefix.test.ts b/src/platform/plugins/shared/data/common/search/expressions/ip_prefix.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/ip_prefix.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/ip_prefix.test.ts diff --git a/src/plugins/data/common/search/expressions/ip_prefix.ts b/src/platform/plugins/shared/data/common/search/expressions/ip_prefix.ts similarity index 100% rename from src/plugins/data/common/search/expressions/ip_prefix.ts rename to src/platform/plugins/shared/data/common/search/expressions/ip_prefix.ts diff --git a/src/plugins/data/common/search/expressions/ip_prefix_to_ast.test.ts b/src/platform/plugins/shared/data/common/search/expressions/ip_prefix_to_ast.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/ip_prefix_to_ast.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/ip_prefix_to_ast.test.ts diff --git a/src/plugins/data/common/search/expressions/ip_prefix_to_ast.ts b/src/platform/plugins/shared/data/common/search/expressions/ip_prefix_to_ast.ts similarity index 100% rename from src/plugins/data/common/search/expressions/ip_prefix_to_ast.ts rename to src/platform/plugins/shared/data/common/search/expressions/ip_prefix_to_ast.ts diff --git a/src/plugins/data/common/search/expressions/ip_range.test.ts b/src/platform/plugins/shared/data/common/search/expressions/ip_range.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/ip_range.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/ip_range.test.ts diff --git a/src/plugins/data/common/search/expressions/ip_range.ts b/src/platform/plugins/shared/data/common/search/expressions/ip_range.ts similarity index 100% rename from src/plugins/data/common/search/expressions/ip_range.ts rename to src/platform/plugins/shared/data/common/search/expressions/ip_range.ts diff --git a/src/plugins/data/common/search/expressions/ip_range_to_ast.test.ts b/src/platform/plugins/shared/data/common/search/expressions/ip_range_to_ast.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/ip_range_to_ast.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/ip_range_to_ast.test.ts diff --git a/src/plugins/data/common/search/expressions/ip_range_to_ast.ts b/src/platform/plugins/shared/data/common/search/expressions/ip_range_to_ast.ts similarity index 100% rename from src/plugins/data/common/search/expressions/ip_range_to_ast.ts rename to src/platform/plugins/shared/data/common/search/expressions/ip_range_to_ast.ts diff --git a/src/plugins/data/common/search/expressions/kibana.test.ts b/src/platform/plugins/shared/data/common/search/expressions/kibana.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/kibana.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/kibana.test.ts diff --git a/src/plugins/data/common/search/expressions/kibana.ts b/src/platform/plugins/shared/data/common/search/expressions/kibana.ts similarity index 100% rename from src/plugins/data/common/search/expressions/kibana.ts rename to src/platform/plugins/shared/data/common/search/expressions/kibana.ts diff --git a/src/plugins/data/common/search/expressions/kibana_context.ts b/src/platform/plugins/shared/data/common/search/expressions/kibana_context.ts similarity index 100% rename from src/plugins/data/common/search/expressions/kibana_context.ts rename to src/platform/plugins/shared/data/common/search/expressions/kibana_context.ts diff --git a/src/plugins/data/common/search/expressions/kibana_context_type.ts b/src/platform/plugins/shared/data/common/search/expressions/kibana_context_type.ts similarity index 100% rename from src/plugins/data/common/search/expressions/kibana_context_type.ts rename to src/platform/plugins/shared/data/common/search/expressions/kibana_context_type.ts diff --git a/src/plugins/data/common/search/expressions/kibana_filter.test.ts b/src/platform/plugins/shared/data/common/search/expressions/kibana_filter.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/kibana_filter.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/kibana_filter.test.ts diff --git a/src/plugins/data/common/search/expressions/kibana_filter.ts b/src/platform/plugins/shared/data/common/search/expressions/kibana_filter.ts similarity index 100% rename from src/plugins/data/common/search/expressions/kibana_filter.ts rename to src/platform/plugins/shared/data/common/search/expressions/kibana_filter.ts diff --git a/src/plugins/data/common/search/expressions/kql.test.ts b/src/platform/plugins/shared/data/common/search/expressions/kql.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/kql.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/kql.test.ts diff --git a/src/plugins/data/common/search/expressions/kql.ts b/src/platform/plugins/shared/data/common/search/expressions/kql.ts similarity index 100% rename from src/plugins/data/common/search/expressions/kql.ts rename to src/platform/plugins/shared/data/common/search/expressions/kql.ts diff --git a/src/plugins/data/common/search/expressions/lucene.test.ts b/src/platform/plugins/shared/data/common/search/expressions/lucene.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/lucene.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/lucene.test.ts diff --git a/src/plugins/data/common/search/expressions/lucene.ts b/src/platform/plugins/shared/data/common/search/expressions/lucene.ts similarity index 100% rename from src/plugins/data/common/search/expressions/lucene.ts rename to src/platform/plugins/shared/data/common/search/expressions/lucene.ts diff --git a/src/plugins/data/common/search/expressions/numerical_range.test.ts b/src/platform/plugins/shared/data/common/search/expressions/numerical_range.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/numerical_range.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/numerical_range.test.ts diff --git a/src/plugins/data/common/search/expressions/numerical_range.ts b/src/platform/plugins/shared/data/common/search/expressions/numerical_range.ts similarity index 100% rename from src/plugins/data/common/search/expressions/numerical_range.ts rename to src/platform/plugins/shared/data/common/search/expressions/numerical_range.ts diff --git a/src/plugins/data/common/search/expressions/numerical_range_to_ast.test.ts b/src/platform/plugins/shared/data/common/search/expressions/numerical_range_to_ast.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/numerical_range_to_ast.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/numerical_range_to_ast.test.ts diff --git a/src/plugins/data/common/search/expressions/numerical_range_to_ast.ts b/src/platform/plugins/shared/data/common/search/expressions/numerical_range_to_ast.ts similarity index 100% rename from src/plugins/data/common/search/expressions/numerical_range_to_ast.ts rename to src/platform/plugins/shared/data/common/search/expressions/numerical_range_to_ast.ts diff --git a/src/plugins/data/common/search/expressions/phrase_filter.test.ts b/src/platform/plugins/shared/data/common/search/expressions/phrase_filter.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/phrase_filter.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/phrase_filter.test.ts diff --git a/src/plugins/data/common/search/expressions/phrase_filter.ts b/src/platform/plugins/shared/data/common/search/expressions/phrase_filter.ts similarity index 100% rename from src/plugins/data/common/search/expressions/phrase_filter.ts rename to src/platform/plugins/shared/data/common/search/expressions/phrase_filter.ts diff --git a/src/plugins/data/common/search/expressions/query_filter.test.ts b/src/platform/plugins/shared/data/common/search/expressions/query_filter.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/query_filter.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/query_filter.test.ts diff --git a/src/plugins/data/common/search/expressions/query_filter.ts b/src/platform/plugins/shared/data/common/search/expressions/query_filter.ts similarity index 100% rename from src/plugins/data/common/search/expressions/query_filter.ts rename to src/platform/plugins/shared/data/common/search/expressions/query_filter.ts diff --git a/src/plugins/data/common/search/expressions/query_filter_to_ast.test.ts b/src/platform/plugins/shared/data/common/search/expressions/query_filter_to_ast.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/query_filter_to_ast.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/query_filter_to_ast.test.ts diff --git a/src/plugins/data/common/search/expressions/query_filter_to_ast.ts b/src/platform/plugins/shared/data/common/search/expressions/query_filter_to_ast.ts similarity index 100% rename from src/plugins/data/common/search/expressions/query_filter_to_ast.ts rename to src/platform/plugins/shared/data/common/search/expressions/query_filter_to_ast.ts diff --git a/src/plugins/data/common/search/expressions/query_to_ast.test.ts b/src/platform/plugins/shared/data/common/search/expressions/query_to_ast.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/query_to_ast.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/query_to_ast.test.ts diff --git a/src/plugins/data/common/search/expressions/query_to_ast.ts b/src/platform/plugins/shared/data/common/search/expressions/query_to_ast.ts similarity index 100% rename from src/plugins/data/common/search/expressions/query_to_ast.ts rename to src/platform/plugins/shared/data/common/search/expressions/query_to_ast.ts diff --git a/src/plugins/data/common/search/expressions/range.test.ts b/src/platform/plugins/shared/data/common/search/expressions/range.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/range.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/range.test.ts diff --git a/src/plugins/data/common/search/expressions/range.ts b/src/platform/plugins/shared/data/common/search/expressions/range.ts similarity index 100% rename from src/plugins/data/common/search/expressions/range.ts rename to src/platform/plugins/shared/data/common/search/expressions/range.ts diff --git a/src/plugins/data/common/search/expressions/range_filter.test.ts b/src/platform/plugins/shared/data/common/search/expressions/range_filter.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/range_filter.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/range_filter.test.ts diff --git a/src/plugins/data/common/search/expressions/range_filter.ts b/src/platform/plugins/shared/data/common/search/expressions/range_filter.ts similarity index 100% rename from src/plugins/data/common/search/expressions/range_filter.ts rename to src/platform/plugins/shared/data/common/search/expressions/range_filter.ts diff --git a/src/plugins/data/common/search/expressions/remove_filter.test.ts b/src/platform/plugins/shared/data/common/search/expressions/remove_filter.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/remove_filter.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/remove_filter.test.ts diff --git a/src/plugins/data/common/search/expressions/remove_filter.ts b/src/platform/plugins/shared/data/common/search/expressions/remove_filter.ts similarity index 100% rename from src/plugins/data/common/search/expressions/remove_filter.ts rename to src/platform/plugins/shared/data/common/search/expressions/remove_filter.ts diff --git a/src/plugins/data/common/search/expressions/select_filter.test.ts b/src/platform/plugins/shared/data/common/search/expressions/select_filter.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/select_filter.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/select_filter.test.ts diff --git a/src/plugins/data/common/search/expressions/select_filter.ts b/src/platform/plugins/shared/data/common/search/expressions/select_filter.ts similarity index 100% rename from src/plugins/data/common/search/expressions/select_filter.ts rename to src/platform/plugins/shared/data/common/search/expressions/select_filter.ts diff --git a/src/plugins/data/common/search/expressions/timerange.test.ts b/src/platform/plugins/shared/data/common/search/expressions/timerange.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/timerange.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/timerange.test.ts diff --git a/src/plugins/data/common/search/expressions/timerange.ts b/src/platform/plugins/shared/data/common/search/expressions/timerange.ts similarity index 100% rename from src/plugins/data/common/search/expressions/timerange.ts rename to src/platform/plugins/shared/data/common/search/expressions/timerange.ts diff --git a/src/plugins/data/common/search/expressions/timerange_to_ast.test.ts b/src/platform/plugins/shared/data/common/search/expressions/timerange_to_ast.test.ts similarity index 100% rename from src/plugins/data/common/search/expressions/timerange_to_ast.test.ts rename to src/platform/plugins/shared/data/common/search/expressions/timerange_to_ast.test.ts diff --git a/src/plugins/data/common/search/expressions/timerange_to_ast.ts b/src/platform/plugins/shared/data/common/search/expressions/timerange_to_ast.ts similarity index 100% rename from src/plugins/data/common/search/expressions/timerange_to_ast.ts rename to src/platform/plugins/shared/data/common/search/expressions/timerange_to_ast.ts diff --git a/src/plugins/data/common/search/expressions/utils/filters_adapter.ts b/src/platform/plugins/shared/data/common/search/expressions/utils/filters_adapter.ts similarity index 100% rename from src/plugins/data/common/search/expressions/utils/filters_adapter.ts rename to src/platform/plugins/shared/data/common/search/expressions/utils/filters_adapter.ts diff --git a/src/plugins/data/common/search/expressions/utils/function_wrapper.ts b/src/platform/plugins/shared/data/common/search/expressions/utils/function_wrapper.ts similarity index 100% rename from src/plugins/data/common/search/expressions/utils/function_wrapper.ts rename to src/platform/plugins/shared/data/common/search/expressions/utils/function_wrapper.ts diff --git a/src/plugins/data/common/search/expressions/utils/index.ts b/src/platform/plugins/shared/data/common/search/expressions/utils/index.ts similarity index 100% rename from src/plugins/data/common/search/expressions/utils/index.ts rename to src/platform/plugins/shared/data/common/search/expressions/utils/index.ts diff --git a/src/plugins/data/common/search/index.ts b/src/platform/plugins/shared/data/common/search/index.ts similarity index 100% rename from src/plugins/data/common/search/index.ts rename to src/platform/plugins/shared/data/common/search/index.ts diff --git a/src/plugins/data/common/search/poll_search.test.ts b/src/platform/plugins/shared/data/common/search/poll_search.test.ts similarity index 100% rename from src/plugins/data/common/search/poll_search.test.ts rename to src/platform/plugins/shared/data/common/search/poll_search.test.ts diff --git a/src/plugins/data/common/search/poll_search.ts b/src/platform/plugins/shared/data/common/search/poll_search.ts similarity index 100% rename from src/plugins/data/common/search/poll_search.ts rename to src/platform/plugins/shared/data/common/search/poll_search.ts diff --git a/src/plugins/data/common/search/search_source/__snapshots__/search_source.test.ts.snap b/src/platform/plugins/shared/data/common/search/search_source/__snapshots__/search_source.test.ts.snap similarity index 100% rename from src/plugins/data/common/search/search_source/__snapshots__/search_source.test.ts.snap rename to src/platform/plugins/shared/data/common/search/search_source/__snapshots__/search_source.test.ts.snap diff --git a/src/plugins/data/common/search/search_source/create_search_source.test.ts b/src/platform/plugins/shared/data/common/search/search_source/create_search_source.test.ts similarity index 100% rename from src/plugins/data/common/search/search_source/create_search_source.test.ts rename to src/platform/plugins/shared/data/common/search/search_source/create_search_source.test.ts diff --git a/src/plugins/data/common/search/search_source/create_search_source.ts b/src/platform/plugins/shared/data/common/search/search_source/create_search_source.ts similarity index 100% rename from src/plugins/data/common/search/search_source/create_search_source.ts rename to src/platform/plugins/shared/data/common/search/search_source/create_search_source.ts diff --git a/src/plugins/data/common/search/search_source/extract_references.ts b/src/platform/plugins/shared/data/common/search/search_source/extract_references.ts similarity index 100% rename from src/plugins/data/common/search/search_source/extract_references.ts rename to src/platform/plugins/shared/data/common/search/search_source/extract_references.ts diff --git a/src/plugins/data/common/search/search_source/fetch/get_search_params.test.ts b/src/platform/plugins/shared/data/common/search/search_source/fetch/get_search_params.test.ts similarity index 100% rename from src/plugins/data/common/search/search_source/fetch/get_search_params.test.ts rename to src/platform/plugins/shared/data/common/search/search_source/fetch/get_search_params.test.ts diff --git a/src/plugins/data/common/search/search_source/fetch/get_search_params.ts b/src/platform/plugins/shared/data/common/search/search_source/fetch/get_search_params.ts similarity index 100% rename from src/plugins/data/common/search/search_source/fetch/get_search_params.ts rename to src/platform/plugins/shared/data/common/search/search_source/fetch/get_search_params.ts diff --git a/src/plugins/data/common/search/search_source/fetch/index.ts b/src/platform/plugins/shared/data/common/search/search_source/fetch/index.ts similarity index 100% rename from src/plugins/data/common/search/search_source/fetch/index.ts rename to src/platform/plugins/shared/data/common/search/search_source/fetch/index.ts diff --git a/src/plugins/data/common/search/search_source/fetch/request_error.ts b/src/platform/plugins/shared/data/common/search/search_source/fetch/request_error.ts similarity index 100% rename from src/plugins/data/common/search/search_source/fetch/request_error.ts rename to src/platform/plugins/shared/data/common/search/search_source/fetch/request_error.ts diff --git a/src/plugins/data/common/search/search_source/fetch/types.ts b/src/platform/plugins/shared/data/common/search/search_source/fetch/types.ts similarity index 100% rename from src/plugins/data/common/search/search_source/fetch/types.ts rename to src/platform/plugins/shared/data/common/search/search_source/fetch/types.ts diff --git a/src/plugins/data/common/search/search_source/index.ts b/src/platform/plugins/shared/data/common/search/search_source/index.ts similarity index 100% rename from src/plugins/data/common/search/search_source/index.ts rename to src/platform/plugins/shared/data/common/search/search_source/index.ts diff --git a/src/plugins/data/common/search/search_source/inject_references.test.ts b/src/platform/plugins/shared/data/common/search/search_source/inject_references.test.ts similarity index 100% rename from src/plugins/data/common/search/search_source/inject_references.test.ts rename to src/platform/plugins/shared/data/common/search/search_source/inject_references.test.ts diff --git a/src/plugins/data/common/search/search_source/inject_references.ts b/src/platform/plugins/shared/data/common/search/search_source/inject_references.ts similarity index 100% rename from src/plugins/data/common/search/search_source/inject_references.ts rename to src/platform/plugins/shared/data/common/search/search_source/inject_references.ts diff --git a/src/plugins/data/common/search/search_source/inspect/index.ts b/src/platform/plugins/shared/data/common/search/search_source/inspect/index.ts similarity index 100% rename from src/plugins/data/common/search/search_source/inspect/index.ts rename to src/platform/plugins/shared/data/common/search/search_source/inspect/index.ts diff --git a/src/plugins/data/common/search/search_source/inspect/inspector_stats.ts b/src/platform/plugins/shared/data/common/search/search_source/inspect/inspector_stats.ts similarity index 100% rename from src/plugins/data/common/search/search_source/inspect/inspector_stats.ts rename to src/platform/plugins/shared/data/common/search/search_source/inspect/inspector_stats.ts diff --git a/src/plugins/data/common/search/search_source/migrate_legacy_query.ts b/src/platform/plugins/shared/data/common/search/search_source/migrate_legacy_query.ts similarity index 100% rename from src/plugins/data/common/search/search_source/migrate_legacy_query.ts rename to src/platform/plugins/shared/data/common/search/search_source/migrate_legacy_query.ts diff --git a/src/plugins/data/common/search/search_source/mocks.ts b/src/platform/plugins/shared/data/common/search/search_source/mocks.ts similarity index 100% rename from src/plugins/data/common/search/search_source/mocks.ts rename to src/platform/plugins/shared/data/common/search/search_source/mocks.ts diff --git a/src/plugins/data/common/search/search_source/normalize_sort_request.test.ts b/src/platform/plugins/shared/data/common/search/search_source/normalize_sort_request.test.ts similarity index 100% rename from src/plugins/data/common/search/search_source/normalize_sort_request.test.ts rename to src/platform/plugins/shared/data/common/search/search_source/normalize_sort_request.test.ts diff --git a/src/plugins/data/common/search/search_source/normalize_sort_request.ts b/src/platform/plugins/shared/data/common/search/search_source/normalize_sort_request.ts similarity index 100% rename from src/plugins/data/common/search/search_source/normalize_sort_request.ts rename to src/platform/plugins/shared/data/common/search/search_source/normalize_sort_request.ts diff --git a/src/plugins/data/common/search/search_source/parse_json.ts b/src/platform/plugins/shared/data/common/search/search_source/parse_json.ts similarity index 100% rename from src/plugins/data/common/search/search_source/parse_json.ts rename to src/platform/plugins/shared/data/common/search/search_source/parse_json.ts diff --git a/src/plugins/data/common/search/search_source/query_to_fields.test.ts b/src/platform/plugins/shared/data/common/search/search_source/query_to_fields.test.ts similarity index 100% rename from src/plugins/data/common/search/search_source/query_to_fields.test.ts rename to src/platform/plugins/shared/data/common/search/search_source/query_to_fields.test.ts diff --git a/src/plugins/data/common/search/search_source/query_to_fields.ts b/src/platform/plugins/shared/data/common/search/search_source/query_to_fields.ts similarity index 100% rename from src/plugins/data/common/search/search_source/query_to_fields.ts rename to src/platform/plugins/shared/data/common/search/search_source/query_to_fields.ts diff --git a/src/plugins/data/common/search/search_source/search_source.test.ts b/src/platform/plugins/shared/data/common/search/search_source/search_source.test.ts similarity index 100% rename from src/plugins/data/common/search/search_source/search_source.test.ts rename to src/platform/plugins/shared/data/common/search/search_source/search_source.test.ts diff --git a/src/plugins/data/common/search/search_source/search_source.ts b/src/platform/plugins/shared/data/common/search/search_source/search_source.ts similarity index 100% rename from src/plugins/data/common/search/search_source/search_source.ts rename to src/platform/plugins/shared/data/common/search/search_source/search_source.ts diff --git a/src/plugins/data/common/search/search_source/search_source_service.test.ts b/src/platform/plugins/shared/data/common/search/search_source/search_source_service.test.ts similarity index 100% rename from src/plugins/data/common/search/search_source/search_source_service.test.ts rename to src/platform/plugins/shared/data/common/search/search_source/search_source_service.test.ts diff --git a/src/plugins/data/common/search/search_source/search_source_service.ts b/src/platform/plugins/shared/data/common/search/search_source/search_source_service.ts similarity index 100% rename from src/plugins/data/common/search/search_source/search_source_service.ts rename to src/platform/plugins/shared/data/common/search/search_source/search_source_service.ts diff --git a/src/plugins/data/common/search/search_source/types.ts b/src/platform/plugins/shared/data/common/search/search_source/types.ts similarity index 100% rename from src/plugins/data/common/search/search_source/types.ts rename to src/platform/plugins/shared/data/common/search/search_source/types.ts diff --git a/src/plugins/data/common/search/session/index.ts b/src/platform/plugins/shared/data/common/search/session/index.ts similarity index 100% rename from src/plugins/data/common/search/session/index.ts rename to src/platform/plugins/shared/data/common/search/session/index.ts diff --git a/src/plugins/data/common/search/session/status.ts b/src/platform/plugins/shared/data/common/search/session/status.ts similarity index 100% rename from src/plugins/data/common/search/session/status.ts rename to src/platform/plugins/shared/data/common/search/session/status.ts diff --git a/src/plugins/data/common/search/session/types.ts b/src/platform/plugins/shared/data/common/search/session/types.ts similarity index 100% rename from src/plugins/data/common/search/session/types.ts rename to src/platform/plugins/shared/data/common/search/session/types.ts diff --git a/src/plugins/data/common/search/strategies/ese_search/index.ts b/src/platform/plugins/shared/data/common/search/strategies/eql_search/index.ts similarity index 100% rename from src/plugins/data/common/search/strategies/ese_search/index.ts rename to src/platform/plugins/shared/data/common/search/strategies/eql_search/index.ts diff --git a/src/plugins/data/common/search/strategies/eql_search/types.ts b/src/platform/plugins/shared/data/common/search/strategies/eql_search/types.ts similarity index 100% rename from src/plugins/data/common/search/strategies/eql_search/types.ts rename to src/platform/plugins/shared/data/common/search/strategies/eql_search/types.ts diff --git a/src/plugins/data/common/search/strategies/es_search/index.ts b/src/platform/plugins/shared/data/common/search/strategies/es_search/index.ts similarity index 100% rename from src/plugins/data/common/search/strategies/es_search/index.ts rename to src/platform/plugins/shared/data/common/search/strategies/es_search/index.ts diff --git a/src/plugins/data/common/search/strategies/es_search/response_utils.test.ts b/src/platform/plugins/shared/data/common/search/strategies/es_search/response_utils.test.ts similarity index 100% rename from src/plugins/data/common/search/strategies/es_search/response_utils.test.ts rename to src/platform/plugins/shared/data/common/search/strategies/es_search/response_utils.test.ts diff --git a/src/plugins/data/common/search/strategies/es_search/response_utils.ts b/src/platform/plugins/shared/data/common/search/strategies/es_search/response_utils.ts similarity index 100% rename from src/plugins/data/common/search/strategies/es_search/response_utils.ts rename to src/platform/plugins/shared/data/common/search/strategies/es_search/response_utils.ts diff --git a/src/plugins/data/common/search/strategies/es_search/types.ts b/src/platform/plugins/shared/data/common/search/strategies/es_search/types.ts similarity index 100% rename from src/plugins/data/common/search/strategies/es_search/types.ts rename to src/platform/plugins/shared/data/common/search/strategies/es_search/types.ts diff --git a/src/plugins/data/common/search/strategies/esql_search/index.ts b/src/platform/plugins/shared/data/common/search/strategies/ese_search/index.ts similarity index 100% rename from src/plugins/data/common/search/strategies/esql_search/index.ts rename to src/platform/plugins/shared/data/common/search/strategies/ese_search/index.ts diff --git a/src/plugins/data/common/search/strategies/ese_search/types.ts b/src/platform/plugins/shared/data/common/search/strategies/ese_search/types.ts similarity index 100% rename from src/plugins/data/common/search/strategies/ese_search/types.ts rename to src/platform/plugins/shared/data/common/search/strategies/ese_search/types.ts diff --git a/src/plugins/data/common/search/strategies/sql_search/index.ts b/src/platform/plugins/shared/data/common/search/strategies/esql_search/index.ts similarity index 100% rename from src/plugins/data/common/search/strategies/sql_search/index.ts rename to src/platform/plugins/shared/data/common/search/strategies/esql_search/index.ts diff --git a/src/plugins/data/common/search/strategies/esql_search/types.ts b/src/platform/plugins/shared/data/common/search/strategies/esql_search/types.ts similarity index 100% rename from src/plugins/data/common/search/strategies/esql_search/types.ts rename to src/platform/plugins/shared/data/common/search/strategies/esql_search/types.ts diff --git a/src/plugins/vis_types/pie/public/types/index.ts b/src/platform/plugins/shared/data/common/search/strategies/sql_search/index.ts similarity index 100% rename from src/plugins/vis_types/pie/public/types/index.ts rename to src/platform/plugins/shared/data/common/search/strategies/sql_search/index.ts diff --git a/src/plugins/data/common/search/strategies/sql_search/types.ts b/src/platform/plugins/shared/data/common/search/strategies/sql_search/types.ts similarity index 100% rename from src/plugins/data/common/search/strategies/sql_search/types.ts rename to src/platform/plugins/shared/data/common/search/strategies/sql_search/types.ts diff --git a/src/plugins/data/common/search/tabify/buckets.test.ts b/src/platform/plugins/shared/data/common/search/tabify/buckets.test.ts similarity index 100% rename from src/plugins/data/common/search/tabify/buckets.test.ts rename to src/platform/plugins/shared/data/common/search/tabify/buckets.test.ts diff --git a/src/plugins/data/common/search/tabify/buckets.ts b/src/platform/plugins/shared/data/common/search/tabify/buckets.ts similarity index 100% rename from src/plugins/data/common/search/tabify/buckets.ts rename to src/platform/plugins/shared/data/common/search/tabify/buckets.ts diff --git a/src/plugins/data/common/search/tabify/fixtures/fake_hierarchical_data.ts b/src/platform/plugins/shared/data/common/search/tabify/fixtures/fake_hierarchical_data.ts similarity index 100% rename from src/plugins/data/common/search/tabify/fixtures/fake_hierarchical_data.ts rename to src/platform/plugins/shared/data/common/search/tabify/fixtures/fake_hierarchical_data.ts diff --git a/src/plugins/data/common/search/tabify/fixtures/fake_timeoffset_data.ts b/src/platform/plugins/shared/data/common/search/tabify/fixtures/fake_timeoffset_data.ts similarity index 100% rename from src/plugins/data/common/search/tabify/fixtures/fake_timeoffset_data.ts rename to src/platform/plugins/shared/data/common/search/tabify/fixtures/fake_timeoffset_data.ts diff --git a/src/plugins/data/common/search/tabify/get_columns.test.ts b/src/platform/plugins/shared/data/common/search/tabify/get_columns.test.ts similarity index 100% rename from src/plugins/data/common/search/tabify/get_columns.test.ts rename to src/platform/plugins/shared/data/common/search/tabify/get_columns.test.ts diff --git a/src/plugins/data/common/search/tabify/get_columns.ts b/src/platform/plugins/shared/data/common/search/tabify/get_columns.ts similarity index 100% rename from src/plugins/data/common/search/tabify/get_columns.ts rename to src/platform/plugins/shared/data/common/search/tabify/get_columns.ts diff --git a/src/plugins/data/common/search/tabify/index.ts b/src/platform/plugins/shared/data/common/search/tabify/index.ts similarity index 100% rename from src/plugins/data/common/search/tabify/index.ts rename to src/platform/plugins/shared/data/common/search/tabify/index.ts diff --git a/src/plugins/data/common/search/tabify/response_writer.test.ts b/src/platform/plugins/shared/data/common/search/tabify/response_writer.test.ts similarity index 100% rename from src/plugins/data/common/search/tabify/response_writer.test.ts rename to src/platform/plugins/shared/data/common/search/tabify/response_writer.test.ts diff --git a/src/plugins/data/common/search/tabify/response_writer.ts b/src/platform/plugins/shared/data/common/search/tabify/response_writer.ts similarity index 100% rename from src/plugins/data/common/search/tabify/response_writer.ts rename to src/platform/plugins/shared/data/common/search/tabify/response_writer.ts diff --git a/src/plugins/data/common/search/tabify/tabify.test.ts b/src/platform/plugins/shared/data/common/search/tabify/tabify.test.ts similarity index 100% rename from src/plugins/data/common/search/tabify/tabify.test.ts rename to src/platform/plugins/shared/data/common/search/tabify/tabify.test.ts diff --git a/src/plugins/data/common/search/tabify/tabify.ts b/src/platform/plugins/shared/data/common/search/tabify/tabify.ts similarity index 100% rename from src/plugins/data/common/search/tabify/tabify.ts rename to src/platform/plugins/shared/data/common/search/tabify/tabify.ts diff --git a/src/plugins/data/common/search/tabify/types.ts b/src/platform/plugins/shared/data/common/search/tabify/types.ts similarity index 100% rename from src/plugins/data/common/search/tabify/types.ts rename to src/platform/plugins/shared/data/common/search/tabify/types.ts diff --git a/src/plugins/data/common/search/test_data/illegal_argument_exception.json b/src/platform/plugins/shared/data/common/search/test_data/illegal_argument_exception.json similarity index 100% rename from src/plugins/data/common/search/test_data/illegal_argument_exception.json rename to src/platform/plugins/shared/data/common/search/test_data/illegal_argument_exception.json diff --git a/src/plugins/data/common/search/test_data/index_not_found_exception.json b/src/platform/plugins/shared/data/common/search/test_data/index_not_found_exception.json similarity index 100% rename from src/plugins/data/common/search/test_data/index_not_found_exception.json rename to src/platform/plugins/shared/data/common/search/test_data/index_not_found_exception.json diff --git a/src/plugins/data/common/search/test_data/json_e_o_f_exception.json b/src/platform/plugins/shared/data/common/search/test_data/json_e_o_f_exception.json similarity index 100% rename from src/plugins/data/common/search/test_data/json_e_o_f_exception.json rename to src/platform/plugins/shared/data/common/search/test_data/json_e_o_f_exception.json diff --git a/src/plugins/data/common/search/test_data/parsing_exception.json b/src/platform/plugins/shared/data/common/search/test_data/parsing_exception.json similarity index 100% rename from src/plugins/data/common/search/test_data/parsing_exception.json rename to src/platform/plugins/shared/data/common/search/test_data/parsing_exception.json diff --git a/src/plugins/data/common/search/test_data/resource_not_found_exception.json b/src/platform/plugins/shared/data/common/search/test_data/resource_not_found_exception.json similarity index 100% rename from src/plugins/data/common/search/test_data/resource_not_found_exception.json rename to src/platform/plugins/shared/data/common/search/test_data/resource_not_found_exception.json diff --git a/src/plugins/data/common/search/test_data/search_phase_execution_exception.json b/src/platform/plugins/shared/data/common/search/test_data/search_phase_execution_exception.json similarity index 100% rename from src/plugins/data/common/search/test_data/search_phase_execution_exception.json rename to src/platform/plugins/shared/data/common/search/test_data/search_phase_execution_exception.json diff --git a/src/plugins/data/common/search/test_data/x_content_parse_exception.json b/src/platform/plugins/shared/data/common/search/test_data/x_content_parse_exception.json similarity index 100% rename from src/plugins/data/common/search/test_data/x_content_parse_exception.json rename to src/platform/plugins/shared/data/common/search/test_data/x_content_parse_exception.json diff --git a/src/plugins/data/common/search/utils.test.ts b/src/platform/plugins/shared/data/common/search/utils.test.ts similarity index 100% rename from src/plugins/data/common/search/utils.test.ts rename to src/platform/plugins/shared/data/common/search/utils.test.ts diff --git a/src/plugins/data/common/search/utils.ts b/src/platform/plugins/shared/data/common/search/utils.ts similarity index 100% rename from src/plugins/data/common/search/utils.ts rename to src/platform/plugins/shared/data/common/search/utils.ts diff --git a/src/plugins/data/common/stubs.ts b/src/platform/plugins/shared/data/common/stubs.ts similarity index 100% rename from src/plugins/data/common/stubs.ts rename to src/platform/plugins/shared/data/common/stubs.ts diff --git a/src/plugins/data/common/types.ts b/src/platform/plugins/shared/data/common/types.ts similarity index 100% rename from src/plugins/data/common/types.ts rename to src/platform/plugins/shared/data/common/types.ts diff --git a/src/plugins/data/config.mock.ts b/src/platform/plugins/shared/data/config.mock.ts similarity index 100% rename from src/plugins/data/config.mock.ts rename to src/platform/plugins/shared/data/config.mock.ts diff --git a/src/plugins/vis_types/timelion/jest.config.js b/src/platform/plugins/shared/data/jest.config.js similarity index 76% rename from src/plugins/vis_types/timelion/jest.config.js rename to src/platform/plugins/shared/data/jest.config.js index e2e41d47834c5..332abc7b38cd6 100644 --- a/src/plugins/vis_types/timelion/jest.config.js +++ b/src/platform/plugins/shared/data/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/timelion'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/timelion', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/data'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/data', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/vis_types/timelion/{common,public,server}/**/*.{js,ts,tsx}', + '/src/platform/plugins/shared/data/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/data/kibana.jsonc b/src/platform/plugins/shared/data/kibana.jsonc similarity index 100% rename from src/plugins/data/kibana.jsonc rename to src/platform/plugins/shared/data/kibana.jsonc diff --git a/src/plugins/data/public/actions/filters/create_filters_from_multi_value_click.test.ts b/src/platform/plugins/shared/data/public/actions/filters/create_filters_from_multi_value_click.test.ts similarity index 100% rename from src/plugins/data/public/actions/filters/create_filters_from_multi_value_click.test.ts rename to src/platform/plugins/shared/data/public/actions/filters/create_filters_from_multi_value_click.test.ts diff --git a/src/plugins/data/public/actions/filters/create_filters_from_multi_value_click.ts b/src/platform/plugins/shared/data/public/actions/filters/create_filters_from_multi_value_click.ts similarity index 100% rename from src/plugins/data/public/actions/filters/create_filters_from_multi_value_click.ts rename to src/platform/plugins/shared/data/public/actions/filters/create_filters_from_multi_value_click.ts diff --git a/src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts b/src/platform/plugins/shared/data/public/actions/filters/create_filters_from_range_select.test.ts similarity index 100% rename from src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts rename to src/platform/plugins/shared/data/public/actions/filters/create_filters_from_range_select.test.ts diff --git a/src/plugins/data/public/actions/filters/create_filters_from_range_select.ts b/src/platform/plugins/shared/data/public/actions/filters/create_filters_from_range_select.ts similarity index 100% rename from src/plugins/data/public/actions/filters/create_filters_from_range_select.ts rename to src/platform/plugins/shared/data/public/actions/filters/create_filters_from_range_select.ts diff --git a/src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts b/src/platform/plugins/shared/data/public/actions/filters/create_filters_from_value_click.test.ts similarity index 100% rename from src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts rename to src/platform/plugins/shared/data/public/actions/filters/create_filters_from_value_click.test.ts diff --git a/src/plugins/data/public/actions/filters/create_filters_from_value_click.ts b/src/platform/plugins/shared/data/public/actions/filters/create_filters_from_value_click.ts similarity index 100% rename from src/plugins/data/public/actions/filters/create_filters_from_value_click.ts rename to src/platform/plugins/shared/data/public/actions/filters/create_filters_from_value_click.ts diff --git a/src/plugins/data/public/actions/index.ts b/src/platform/plugins/shared/data/public/actions/index.ts similarity index 100% rename from src/plugins/data/public/actions/index.ts rename to src/platform/plugins/shared/data/public/actions/index.ts diff --git a/src/plugins/data/public/actions/multi_value_click_action.ts b/src/platform/plugins/shared/data/public/actions/multi_value_click_action.ts similarity index 100% rename from src/plugins/data/public/actions/multi_value_click_action.ts rename to src/platform/plugins/shared/data/public/actions/multi_value_click_action.ts diff --git a/src/plugins/data/public/actions/select_range_action.ts b/src/platform/plugins/shared/data/public/actions/select_range_action.ts similarity index 100% rename from src/plugins/data/public/actions/select_range_action.ts rename to src/platform/plugins/shared/data/public/actions/select_range_action.ts diff --git a/src/plugins/data/public/actions/value_click_action.ts b/src/platform/plugins/shared/data/public/actions/value_click_action.ts similarity index 100% rename from src/plugins/data/public/actions/value_click_action.ts rename to src/platform/plugins/shared/data/public/actions/value_click_action.ts diff --git a/src/plugins/data/public/data_views/index.ts b/src/platform/plugins/shared/data/public/data_views/index.ts similarity index 100% rename from src/plugins/data/public/data_views/index.ts rename to src/platform/plugins/shared/data/public/data_views/index.ts diff --git a/src/plugins/data/public/data_views/mocks.ts b/src/platform/plugins/shared/data/public/data_views/mocks.ts similarity index 100% rename from src/plugins/data/public/data_views/mocks.ts rename to src/platform/plugins/shared/data/public/data_views/mocks.ts diff --git a/src/plugins/data/public/index.scss b/src/platform/plugins/shared/data/public/index.scss similarity index 100% rename from src/plugins/data/public/index.scss rename to src/platform/plugins/shared/data/public/index.scss diff --git a/src/plugins/data/public/index.ts b/src/platform/plugins/shared/data/public/index.ts similarity index 100% rename from src/plugins/data/public/index.ts rename to src/platform/plugins/shared/data/public/index.ts diff --git a/src/plugins/data/public/mocks.ts b/src/platform/plugins/shared/data/public/mocks.ts similarity index 100% rename from src/plugins/data/public/mocks.ts rename to src/platform/plugins/shared/data/public/mocks.ts diff --git a/src/plugins/data/public/now_provider/index.ts b/src/platform/plugins/shared/data/public/now_provider/index.ts similarity index 100% rename from src/plugins/data/public/now_provider/index.ts rename to src/platform/plugins/shared/data/public/now_provider/index.ts diff --git a/src/plugins/data/public/now_provider/lib/get_force_now_from_url.test.ts b/src/platform/plugins/shared/data/public/now_provider/lib/get_force_now_from_url.test.ts similarity index 100% rename from src/plugins/data/public/now_provider/lib/get_force_now_from_url.test.ts rename to src/platform/plugins/shared/data/public/now_provider/lib/get_force_now_from_url.test.ts diff --git a/src/plugins/data/public/now_provider/lib/get_force_now_from_url.ts b/src/platform/plugins/shared/data/public/now_provider/lib/get_force_now_from_url.ts similarity index 100% rename from src/plugins/data/public/now_provider/lib/get_force_now_from_url.ts rename to src/platform/plugins/shared/data/public/now_provider/lib/get_force_now_from_url.ts diff --git a/src/plugins/data/public/now_provider/lib/index.ts b/src/platform/plugins/shared/data/public/now_provider/lib/index.ts similarity index 100% rename from src/plugins/data/public/now_provider/lib/index.ts rename to src/platform/plugins/shared/data/public/now_provider/lib/index.ts diff --git a/src/plugins/data/public/now_provider/mocks.ts b/src/platform/plugins/shared/data/public/now_provider/mocks.ts similarity index 100% rename from src/plugins/data/public/now_provider/mocks.ts rename to src/platform/plugins/shared/data/public/now_provider/mocks.ts diff --git a/src/plugins/data/public/now_provider/now_provider.test.ts b/src/platform/plugins/shared/data/public/now_provider/now_provider.test.ts similarity index 100% rename from src/plugins/data/public/now_provider/now_provider.test.ts rename to src/platform/plugins/shared/data/public/now_provider/now_provider.test.ts diff --git a/src/plugins/data/public/now_provider/now_provider.ts b/src/platform/plugins/shared/data/public/now_provider/now_provider.ts similarity index 100% rename from src/plugins/data/public/now_provider/now_provider.ts rename to src/platform/plugins/shared/data/public/now_provider/now_provider.ts diff --git a/src/plugins/data/public/plugin.ts b/src/platform/plugins/shared/data/public/plugin.ts similarity index 100% rename from src/plugins/data/public/plugin.ts rename to src/platform/plugins/shared/data/public/plugin.ts diff --git a/src/plugins/data/public/query/filter_manager/filter_manager.mock.ts b/src/platform/plugins/shared/data/public/query/filter_manager/filter_manager.mock.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/filter_manager.mock.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/filter_manager.mock.ts diff --git a/src/plugins/data/public/query/filter_manager/filter_manager.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/filter_manager.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/filter_manager.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/filter_manager.test.ts diff --git a/src/plugins/data/public/query/filter_manager/filter_manager.ts b/src/platform/plugins/shared/data/public/query/filter_manager/filter_manager.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/filter_manager.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/filter_manager.ts diff --git a/src/plugins/data/public/query/filter_manager/index.ts b/src/platform/plugins/shared/data/public/query/filter_manager/index.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/index.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/index.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/generate_filter.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/generate_filter.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/generate_filter.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/generate_filter.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/generate_filters.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/generate_filters.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/generate_filters.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/generate_mapping_chain.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/generate_mapping_chain.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/generate_mapping_chain.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/generate_mapping_chain.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/generate_mapping_chain.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/generate_mapping_chain.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/generate_mapping_chain.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/generate_mapping_chain.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/get_display_value.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/get_display_value.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/get_display_value.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/get_display_value.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/get_display_value.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/get_display_value.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/get_display_value.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/get_display_value.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/get_index_pattern_from_filter.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/get_index_pattern_from_filter.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/get_index_pattern_from_filter.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/get_index_pattern_from_filter.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/get_index_pattern_from_filter.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/get_index_pattern_from_filter.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/get_index_pattern_from_filter.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/get_index_pattern_from_filter.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/map_and_flatten_filters.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/map_and_flatten_filters.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/map_and_flatten_filters.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/map_and_flatten_filters.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/map_filter.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/map_filter.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/map_filter.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/map_filter.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/map_filter.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/map_filter.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/map_filter.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/map_filter.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_combined.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_combined.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_combined.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_combined.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_combined.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_combined.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_combined.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_combined.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_default.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_default.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_default.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_default.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_default.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_default.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_default.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_default.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_exists.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_exists.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_exists.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_exists.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_match_all.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_match_all.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_match_all.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_match_all.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrase.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_phrase.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_phrase.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_phrase.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrase.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_phrase.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_phrase.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_phrase.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrases.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_phrases.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_phrases.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_phrases.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_phrases.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_phrases.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_phrases.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_phrases.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_query_string.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_query_string.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_query_string.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_query_string.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_query_string.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_query_string.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_query_string.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_query_string.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_range.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_range.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_range.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_range.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_range.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_range.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_spatial_filter.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_spatial_filter.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_spatial_filter.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_spatial_filter.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_spatial_filter.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_spatial_filter.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_spatial_filter.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/mappers/map_spatial_filter.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/sort_filters.test.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/sort_filters.test.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/sort_filters.test.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/sort_filters.test.ts diff --git a/src/plugins/data/public/query/filter_manager/lib/sort_filters.ts b/src/platform/plugins/shared/data/public/query/filter_manager/lib/sort_filters.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/lib/sort_filters.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/lib/sort_filters.ts diff --git a/src/plugins/data/public/query/filter_manager/test_helpers/get_filters_array.ts b/src/platform/plugins/shared/data/public/query/filter_manager/test_helpers/get_filters_array.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/test_helpers/get_filters_array.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/test_helpers/get_filters_array.ts diff --git a/src/plugins/data/public/query/filter_manager/test_helpers/get_stub_filter.ts b/src/platform/plugins/shared/data/public/query/filter_manager/test_helpers/get_stub_filter.ts similarity index 100% rename from src/plugins/data/public/query/filter_manager/test_helpers/get_stub_filter.ts rename to src/platform/plugins/shared/data/public/query/filter_manager/test_helpers/get_stub_filter.ts diff --git a/src/plugins/data/public/query/index.tsx b/src/platform/plugins/shared/data/public/query/index.tsx similarity index 100% rename from src/plugins/data/public/query/index.tsx rename to src/platform/plugins/shared/data/public/query/index.tsx diff --git a/src/plugins/data/public/query/lib/add_to_query_log.ts b/src/platform/plugins/shared/data/public/query/lib/add_to_query_log.ts similarity index 100% rename from src/plugins/data/public/query/lib/add_to_query_log.ts rename to src/platform/plugins/shared/data/public/query/lib/add_to_query_log.ts diff --git a/src/plugins/data/public/query/lib/get_default_query.ts b/src/platform/plugins/shared/data/public/query/lib/get_default_query.ts similarity index 100% rename from src/plugins/data/public/query/lib/get_default_query.ts rename to src/platform/plugins/shared/data/public/query/lib/get_default_query.ts diff --git a/src/plugins/data/public/query/lib/get_query_log.ts b/src/platform/plugins/shared/data/public/query/lib/get_query_log.ts similarity index 100% rename from src/plugins/data/public/query/lib/get_query_log.ts rename to src/platform/plugins/shared/data/public/query/lib/get_query_log.ts diff --git a/src/plugins/data/public/query/lib/index.ts b/src/platform/plugins/shared/data/public/query/lib/index.ts similarity index 100% rename from src/plugins/data/public/query/lib/index.ts rename to src/platform/plugins/shared/data/public/query/lib/index.ts diff --git a/src/plugins/data/public/query/mocks.ts b/src/platform/plugins/shared/data/public/query/mocks.ts similarity index 100% rename from src/plugins/data/public/query/mocks.ts rename to src/platform/plugins/shared/data/public/query/mocks.ts diff --git a/src/plugins/data/public/query/persisted_log/index.ts b/src/platform/plugins/shared/data/public/query/persisted_log/index.ts similarity index 100% rename from src/plugins/data/public/query/persisted_log/index.ts rename to src/platform/plugins/shared/data/public/query/persisted_log/index.ts diff --git a/src/plugins/data/public/query/persisted_log/persisted_log.test.ts b/src/platform/plugins/shared/data/public/query/persisted_log/persisted_log.test.ts similarity index 100% rename from src/plugins/data/public/query/persisted_log/persisted_log.test.ts rename to src/platform/plugins/shared/data/public/query/persisted_log/persisted_log.test.ts diff --git a/src/plugins/data/public/query/persisted_log/persisted_log.ts b/src/platform/plugins/shared/data/public/query/persisted_log/persisted_log.ts similarity index 100% rename from src/plugins/data/public/query/persisted_log/persisted_log.ts rename to src/platform/plugins/shared/data/public/query/persisted_log/persisted_log.ts diff --git a/src/plugins/data/public/query/query_service.test.ts b/src/platform/plugins/shared/data/public/query/query_service.test.ts similarity index 100% rename from src/plugins/data/public/query/query_service.test.ts rename to src/platform/plugins/shared/data/public/query/query_service.test.ts diff --git a/src/plugins/data/public/query/query_service.ts b/src/platform/plugins/shared/data/public/query/query_service.ts similarity index 100% rename from src/plugins/data/public/query/query_service.ts rename to src/platform/plugins/shared/data/public/query/query_service.ts diff --git a/src/plugins/data/public/query/query_state.ts b/src/platform/plugins/shared/data/public/query/query_state.ts similarity index 100% rename from src/plugins/data/public/query/query_state.ts rename to src/platform/plugins/shared/data/public/query/query_state.ts diff --git a/src/plugins/data/public/query/query_string/index.ts b/src/platform/plugins/shared/data/public/query/query_string/index.ts similarity index 100% rename from src/plugins/data/public/query/query_string/index.ts rename to src/platform/plugins/shared/data/public/query/query_string/index.ts diff --git a/src/plugins/data/public/query/query_string/query_string_manager.mock.ts b/src/platform/plugins/shared/data/public/query/query_string/query_string_manager.mock.ts similarity index 100% rename from src/plugins/data/public/query/query_string/query_string_manager.mock.ts rename to src/platform/plugins/shared/data/public/query/query_string/query_string_manager.mock.ts diff --git a/src/plugins/data/public/query/query_string/query_string_manager.test.ts b/src/platform/plugins/shared/data/public/query/query_string/query_string_manager.test.ts similarity index 100% rename from src/plugins/data/public/query/query_string/query_string_manager.test.ts rename to src/platform/plugins/shared/data/public/query/query_string/query_string_manager.test.ts diff --git a/src/plugins/data/public/query/query_string/query_string_manager.ts b/src/platform/plugins/shared/data/public/query/query_string/query_string_manager.ts similarity index 100% rename from src/plugins/data/public/query/query_string/query_string_manager.ts rename to src/platform/plugins/shared/data/public/query/query_string/query_string_manager.ts diff --git a/src/plugins/data/public/query/saved_query/index.ts b/src/platform/plugins/shared/data/public/query/saved_query/index.ts similarity index 100% rename from src/plugins/data/public/query/saved_query/index.ts rename to src/platform/plugins/shared/data/public/query/saved_query/index.ts diff --git a/src/plugins/data/public/query/saved_query/saved_query_service.test.ts b/src/platform/plugins/shared/data/public/query/saved_query/saved_query_service.test.ts similarity index 100% rename from src/plugins/data/public/query/saved_query/saved_query_service.test.ts rename to src/platform/plugins/shared/data/public/query/saved_query/saved_query_service.test.ts diff --git a/src/plugins/data/public/query/saved_query/saved_query_service.ts b/src/platform/plugins/shared/data/public/query/saved_query/saved_query_service.ts similarity index 100% rename from src/plugins/data/public/query/saved_query/saved_query_service.ts rename to src/platform/plugins/shared/data/public/query/saved_query/saved_query_service.ts diff --git a/src/plugins/data/public/query/saved_query/types.ts b/src/platform/plugins/shared/data/public/query/saved_query/types.ts similarity index 100% rename from src/plugins/data/public/query/saved_query/types.ts rename to src/platform/plugins/shared/data/public/query/saved_query/types.ts diff --git a/src/plugins/data/public/query/state_sync/README.md b/src/platform/plugins/shared/data/public/query/state_sync/README.md similarity index 100% rename from src/plugins/data/public/query/state_sync/README.md rename to src/platform/plugins/shared/data/public/query/state_sync/README.md diff --git a/src/plugins/data/public/query/state_sync/connect_to_query_state.test.ts b/src/platform/plugins/shared/data/public/query/state_sync/connect_to_query_state.test.ts similarity index 100% rename from src/plugins/data/public/query/state_sync/connect_to_query_state.test.ts rename to src/platform/plugins/shared/data/public/query/state_sync/connect_to_query_state.test.ts diff --git a/src/plugins/data/public/query/state_sync/connect_to_query_state.ts b/src/platform/plugins/shared/data/public/query/state_sync/connect_to_query_state.ts similarity index 100% rename from src/plugins/data/public/query/state_sync/connect_to_query_state.ts rename to src/platform/plugins/shared/data/public/query/state_sync/connect_to_query_state.ts diff --git a/src/plugins/data/public/query/state_sync/create_query_state_observable.ts b/src/platform/plugins/shared/data/public/query/state_sync/create_query_state_observable.ts similarity index 100% rename from src/plugins/data/public/query/state_sync/create_query_state_observable.ts rename to src/platform/plugins/shared/data/public/query/state_sync/create_query_state_observable.ts diff --git a/src/plugins/data/public/query/state_sync/index.ts b/src/platform/plugins/shared/data/public/query/state_sync/index.ts similarity index 100% rename from src/plugins/data/public/query/state_sync/index.ts rename to src/platform/plugins/shared/data/public/query/state_sync/index.ts diff --git a/src/plugins/data/public/query/state_sync/sync_state_with_url.test.ts b/src/platform/plugins/shared/data/public/query/state_sync/sync_state_with_url.test.ts similarity index 100% rename from src/plugins/data/public/query/state_sync/sync_state_with_url.test.ts rename to src/platform/plugins/shared/data/public/query/state_sync/sync_state_with_url.test.ts diff --git a/src/plugins/data/public/query/state_sync/sync_state_with_url.ts b/src/platform/plugins/shared/data/public/query/state_sync/sync_state_with_url.ts similarity index 100% rename from src/plugins/data/public/query/state_sync/sync_state_with_url.ts rename to src/platform/plugins/shared/data/public/query/state_sync/sync_state_with_url.ts diff --git a/src/plugins/data/public/query/state_sync/types.ts b/src/platform/plugins/shared/data/public/query/state_sync/types.ts similarity index 100% rename from src/plugins/data/public/query/state_sync/types.ts rename to src/platform/plugins/shared/data/public/query/state_sync/types.ts diff --git a/src/plugins/data/public/query/timefilter/index.ts b/src/platform/plugins/shared/data/public/query/timefilter/index.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/index.ts rename to src/platform/plugins/shared/data/public/query/timefilter/index.ts diff --git a/src/plugins/data/public/query/timefilter/lib/auto_refresh_loop.test.ts b/src/platform/plugins/shared/data/public/query/timefilter/lib/auto_refresh_loop.test.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/lib/auto_refresh_loop.test.ts rename to src/platform/plugins/shared/data/public/query/timefilter/lib/auto_refresh_loop.test.ts diff --git a/src/plugins/data/public/query/timefilter/lib/auto_refresh_loop.ts b/src/platform/plugins/shared/data/public/query/timefilter/lib/auto_refresh_loop.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/lib/auto_refresh_loop.ts rename to src/platform/plugins/shared/data/public/query/timefilter/lib/auto_refresh_loop.ts diff --git a/src/plugins/data/public/query/timefilter/lib/diff_time_picker_vals.test.ts b/src/platform/plugins/shared/data/public/query/timefilter/lib/diff_time_picker_vals.test.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/lib/diff_time_picker_vals.test.ts rename to src/platform/plugins/shared/data/public/query/timefilter/lib/diff_time_picker_vals.test.ts diff --git a/src/plugins/data/public/query/timefilter/lib/diff_time_picker_vals.ts b/src/platform/plugins/shared/data/public/query/timefilter/lib/diff_time_picker_vals.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/lib/diff_time_picker_vals.ts rename to src/platform/plugins/shared/data/public/query/timefilter/lib/diff_time_picker_vals.ts diff --git a/src/plugins/data/public/query/timefilter/lib/page_visibility.test.ts b/src/platform/plugins/shared/data/public/query/timefilter/lib/page_visibility.test.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/lib/page_visibility.test.ts rename to src/platform/plugins/shared/data/public/query/timefilter/lib/page_visibility.test.ts diff --git a/src/plugins/data/public/query/timefilter/lib/page_visibility.ts b/src/platform/plugins/shared/data/public/query/timefilter/lib/page_visibility.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/lib/page_visibility.ts rename to src/platform/plugins/shared/data/public/query/timefilter/lib/page_visibility.ts diff --git a/src/plugins/data/public/query/timefilter/lib/validate_timerange.test.ts b/src/platform/plugins/shared/data/public/query/timefilter/lib/validate_timerange.test.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/lib/validate_timerange.test.ts rename to src/platform/plugins/shared/data/public/query/timefilter/lib/validate_timerange.test.ts diff --git a/src/plugins/data/public/query/timefilter/lib/validate_timerange.ts b/src/platform/plugins/shared/data/public/query/timefilter/lib/validate_timerange.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/lib/validate_timerange.ts rename to src/platform/plugins/shared/data/public/query/timefilter/lib/validate_timerange.ts diff --git a/src/plugins/data/public/query/timefilter/time_history.ts b/src/platform/plugins/shared/data/public/query/timefilter/time_history.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/time_history.ts rename to src/platform/plugins/shared/data/public/query/timefilter/time_history.ts diff --git a/src/plugins/data/public/query/timefilter/timefilter.test.ts b/src/platform/plugins/shared/data/public/query/timefilter/timefilter.test.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/timefilter.test.ts rename to src/platform/plugins/shared/data/public/query/timefilter/timefilter.test.ts diff --git a/src/plugins/data/public/query/timefilter/timefilter.ts b/src/platform/plugins/shared/data/public/query/timefilter/timefilter.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/timefilter.ts rename to src/platform/plugins/shared/data/public/query/timefilter/timefilter.ts diff --git a/src/plugins/data/public/query/timefilter/timefilter_service.mock.ts b/src/platform/plugins/shared/data/public/query/timefilter/timefilter_service.mock.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/timefilter_service.mock.ts rename to src/platform/plugins/shared/data/public/query/timefilter/timefilter_service.mock.ts diff --git a/src/plugins/data/public/query/timefilter/timefilter_service.ts b/src/platform/plugins/shared/data/public/query/timefilter/timefilter_service.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/timefilter_service.ts rename to src/platform/plugins/shared/data/public/query/timefilter/timefilter_service.ts diff --git a/src/plugins/data/public/query/timefilter/types.ts b/src/platform/plugins/shared/data/public/query/timefilter/types.ts similarity index 100% rename from src/plugins/data/public/query/timefilter/types.ts rename to src/platform/plugins/shared/data/public/query/timefilter/types.ts diff --git a/src/plugins/data/public/search/aggs/aggs_service.test.ts b/src/platform/plugins/shared/data/public/search/aggs/aggs_service.test.ts similarity index 100% rename from src/plugins/data/public/search/aggs/aggs_service.test.ts rename to src/platform/plugins/shared/data/public/search/aggs/aggs_service.test.ts diff --git a/src/plugins/data/public/search/aggs/aggs_service.ts b/src/platform/plugins/shared/data/public/search/aggs/aggs_service.ts similarity index 100% rename from src/plugins/data/public/search/aggs/aggs_service.ts rename to src/platform/plugins/shared/data/public/search/aggs/aggs_service.ts diff --git a/src/plugins/data/public/search/aggs/index.ts b/src/platform/plugins/shared/data/public/search/aggs/index.ts similarity index 100% rename from src/plugins/data/public/search/aggs/index.ts rename to src/platform/plugins/shared/data/public/search/aggs/index.ts diff --git a/src/plugins/data/public/search/aggs/mocks.ts b/src/platform/plugins/shared/data/public/search/aggs/mocks.ts similarity index 100% rename from src/plugins/data/public/search/aggs/mocks.ts rename to src/platform/plugins/shared/data/public/search/aggs/mocks.ts diff --git a/src/plugins/data/public/search/aggs/types.ts b/src/platform/plugins/shared/data/public/search/aggs/types.ts similarity index 100% rename from src/plugins/data/public/search/aggs/types.ts rename to src/platform/plugins/shared/data/public/search/aggs/types.ts diff --git a/src/plugins/data/public/search/collectors/create_usage_collector.test.ts b/src/platform/plugins/shared/data/public/search/collectors/create_usage_collector.test.ts similarity index 100% rename from src/plugins/data/public/search/collectors/create_usage_collector.test.ts rename to src/platform/plugins/shared/data/public/search/collectors/create_usage_collector.test.ts diff --git a/src/plugins/data/public/search/collectors/create_usage_collector.ts b/src/platform/plugins/shared/data/public/search/collectors/create_usage_collector.ts similarity index 100% rename from src/plugins/data/public/search/collectors/create_usage_collector.ts rename to src/platform/plugins/shared/data/public/search/collectors/create_usage_collector.ts diff --git a/src/plugins/data/public/search/collectors/index.ts b/src/platform/plugins/shared/data/public/search/collectors/index.ts similarity index 100% rename from src/plugins/data/public/search/collectors/index.ts rename to src/platform/plugins/shared/data/public/search/collectors/index.ts diff --git a/src/plugins/data/public/search/collectors/mocks.ts b/src/platform/plugins/shared/data/public/search/collectors/mocks.ts similarity index 100% rename from src/plugins/data/public/search/collectors/mocks.ts rename to src/platform/plugins/shared/data/public/search/collectors/mocks.ts diff --git a/src/plugins/data/public/search/collectors/types.ts b/src/platform/plugins/shared/data/public/search/collectors/types.ts similarity index 100% rename from src/plugins/data/public/search/collectors/types.ts rename to src/platform/plugins/shared/data/public/search/collectors/types.ts diff --git a/src/plugins/data/public/search/expressions/__snapshots__/eql.test.ts.snap b/src/platform/plugins/shared/data/public/search/expressions/__snapshots__/eql.test.ts.snap similarity index 100% rename from src/plugins/data/public/search/expressions/__snapshots__/eql.test.ts.snap rename to src/platform/plugins/shared/data/public/search/expressions/__snapshots__/eql.test.ts.snap diff --git a/src/plugins/data/public/search/expressions/__snapshots__/esdsl.test.ts.snap b/src/platform/plugins/shared/data/public/search/expressions/__snapshots__/esdsl.test.ts.snap similarity index 100% rename from src/plugins/data/public/search/expressions/__snapshots__/esdsl.test.ts.snap rename to src/platform/plugins/shared/data/public/search/expressions/__snapshots__/esdsl.test.ts.snap diff --git a/src/plugins/data/public/search/expressions/eql.test.ts b/src/platform/plugins/shared/data/public/search/expressions/eql.test.ts similarity index 100% rename from src/plugins/data/public/search/expressions/eql.test.ts rename to src/platform/plugins/shared/data/public/search/expressions/eql.test.ts diff --git a/src/plugins/data/public/search/expressions/eql.ts b/src/platform/plugins/shared/data/public/search/expressions/eql.ts similarity index 100% rename from src/plugins/data/public/search/expressions/eql.ts rename to src/platform/plugins/shared/data/public/search/expressions/eql.ts diff --git a/src/plugins/data/public/search/expressions/esaggs.test.ts b/src/platform/plugins/shared/data/public/search/expressions/esaggs.test.ts similarity index 100% rename from src/plugins/data/public/search/expressions/esaggs.test.ts rename to src/platform/plugins/shared/data/public/search/expressions/esaggs.test.ts diff --git a/src/plugins/data/public/search/expressions/esaggs.ts b/src/platform/plugins/shared/data/public/search/expressions/esaggs.ts similarity index 100% rename from src/plugins/data/public/search/expressions/esaggs.ts rename to src/platform/plugins/shared/data/public/search/expressions/esaggs.ts diff --git a/src/plugins/data/public/search/expressions/esdsl.test.ts b/src/platform/plugins/shared/data/public/search/expressions/esdsl.test.ts similarity index 100% rename from src/plugins/data/public/search/expressions/esdsl.test.ts rename to src/platform/plugins/shared/data/public/search/expressions/esdsl.test.ts diff --git a/src/plugins/data/public/search/expressions/esdsl.ts b/src/platform/plugins/shared/data/public/search/expressions/esdsl.ts similarity index 100% rename from src/plugins/data/public/search/expressions/esdsl.ts rename to src/platform/plugins/shared/data/public/search/expressions/esdsl.ts diff --git a/src/plugins/data/public/search/expressions/esql.ts b/src/platform/plugins/shared/data/public/search/expressions/esql.ts similarity index 100% rename from src/plugins/data/public/search/expressions/esql.ts rename to src/platform/plugins/shared/data/public/search/expressions/esql.ts diff --git a/src/plugins/data/public/search/expressions/essql.ts b/src/platform/plugins/shared/data/public/search/expressions/essql.ts similarity index 100% rename from src/plugins/data/public/search/expressions/essql.ts rename to src/platform/plugins/shared/data/public/search/expressions/essql.ts diff --git a/src/plugins/data/public/search/expressions/index.ts b/src/platform/plugins/shared/data/public/search/expressions/index.ts similarity index 100% rename from src/plugins/data/public/search/expressions/index.ts rename to src/platform/plugins/shared/data/public/search/expressions/index.ts diff --git a/src/plugins/data/public/search/index.ts b/src/platform/plugins/shared/data/public/search/index.ts similarity index 100% rename from src/plugins/data/public/search/index.ts rename to src/platform/plugins/shared/data/public/search/index.ts diff --git a/src/plugins/data/public/search/mocks.ts b/src/platform/plugins/shared/data/public/search/mocks.ts similarity index 100% rename from src/plugins/data/public/search/mocks.ts rename to src/platform/plugins/shared/data/public/search/mocks.ts diff --git a/src/plugins/data/public/search/search_interceptor/create_request_hash.ts b/src/platform/plugins/shared/data/public/search/search_interceptor/create_request_hash.ts similarity index 100% rename from src/plugins/data/public/search/search_interceptor/create_request_hash.ts rename to src/platform/plugins/shared/data/public/search/search_interceptor/create_request_hash.ts diff --git a/src/plugins/data/public/search/search_interceptor/index.ts b/src/platform/plugins/shared/data/public/search/search_interceptor/index.ts similarity index 100% rename from src/plugins/data/public/search/search_interceptor/index.ts rename to src/platform/plugins/shared/data/public/search/search_interceptor/index.ts diff --git a/src/plugins/data/public/search/search_interceptor/search_abort_controller.test.ts b/src/platform/plugins/shared/data/public/search/search_interceptor/search_abort_controller.test.ts similarity index 100% rename from src/plugins/data/public/search/search_interceptor/search_abort_controller.test.ts rename to src/platform/plugins/shared/data/public/search/search_interceptor/search_abort_controller.test.ts diff --git a/src/plugins/data/public/search/search_interceptor/search_abort_controller.ts b/src/platform/plugins/shared/data/public/search/search_interceptor/search_abort_controller.ts similarity index 100% rename from src/plugins/data/public/search/search_interceptor/search_abort_controller.ts rename to src/platform/plugins/shared/data/public/search/search_interceptor/search_abort_controller.ts diff --git a/src/plugins/data/public/search/search_interceptor/search_interceptor.test.ts b/src/platform/plugins/shared/data/public/search/search_interceptor/search_interceptor.test.ts similarity index 100% rename from src/plugins/data/public/search/search_interceptor/search_interceptor.test.ts rename to src/platform/plugins/shared/data/public/search/search_interceptor/search_interceptor.test.ts diff --git a/src/plugins/data/public/search/search_interceptor/search_interceptor.ts b/src/platform/plugins/shared/data/public/search/search_interceptor/search_interceptor.ts similarity index 100% rename from src/plugins/data/public/search/search_interceptor/search_interceptor.ts rename to src/platform/plugins/shared/data/public/search/search_interceptor/search_interceptor.ts diff --git a/src/plugins/data/public/search/search_interceptor/search_response_cache.test.ts b/src/platform/plugins/shared/data/public/search/search_interceptor/search_response_cache.test.ts similarity index 100% rename from src/plugins/data/public/search/search_interceptor/search_response_cache.test.ts rename to src/platform/plugins/shared/data/public/search/search_interceptor/search_response_cache.test.ts diff --git a/src/plugins/data/public/search/search_interceptor/search_response_cache.ts b/src/platform/plugins/shared/data/public/search/search_interceptor/search_response_cache.ts similarity index 100% rename from src/plugins/data/public/search/search_interceptor/search_response_cache.ts rename to src/platform/plugins/shared/data/public/search/search_interceptor/search_response_cache.ts diff --git a/src/plugins/data/public/search/search_interceptor/search_session_incomplete_warning.tsx b/src/platform/plugins/shared/data/public/search/search_interceptor/search_session_incomplete_warning.tsx similarity index 100% rename from src/plugins/data/public/search/search_interceptor/search_session_incomplete_warning.tsx rename to src/platform/plugins/shared/data/public/search/search_interceptor/search_session_incomplete_warning.tsx diff --git a/src/plugins/data/public/search/search_interceptor/timeout_error.test.tsx b/src/platform/plugins/shared/data/public/search/search_interceptor/timeout_error.test.tsx similarity index 100% rename from src/plugins/data/public/search/search_interceptor/timeout_error.test.tsx rename to src/platform/plugins/shared/data/public/search/search_interceptor/timeout_error.test.tsx diff --git a/src/plugins/data/public/search/search_interceptor/timeout_error.tsx b/src/platform/plugins/shared/data/public/search/search_interceptor/timeout_error.tsx similarity index 100% rename from src/plugins/data/public/search/search_interceptor/timeout_error.tsx rename to src/platform/plugins/shared/data/public/search/search_interceptor/timeout_error.tsx diff --git a/src/plugins/data/public/search/search_interceptor/to_partial_response.test.ts b/src/platform/plugins/shared/data/public/search/search_interceptor/to_partial_response.test.ts similarity index 100% rename from src/plugins/data/public/search/search_interceptor/to_partial_response.test.ts rename to src/platform/plugins/shared/data/public/search/search_interceptor/to_partial_response.test.ts diff --git a/src/plugins/data/public/search/search_interceptor/to_partial_response.ts b/src/platform/plugins/shared/data/public/search/search_interceptor/to_partial_response.ts similarity index 100% rename from src/plugins/data/public/search/search_interceptor/to_partial_response.ts rename to src/platform/plugins/shared/data/public/search/search_interceptor/to_partial_response.ts diff --git a/src/plugins/data/public/search/search_service.test.ts b/src/platform/plugins/shared/data/public/search/search_service.test.ts similarity index 100% rename from src/plugins/data/public/search/search_service.test.ts rename to src/platform/plugins/shared/data/public/search/search_service.test.ts diff --git a/src/plugins/data/public/search/search_service.ts b/src/platform/plugins/shared/data/public/search/search_service.ts similarity index 100% rename from src/plugins/data/public/search/search_service.ts rename to src/platform/plugins/shared/data/public/search/search_service.ts diff --git a/src/plugins/data/public/search/search_source/mocks.ts b/src/platform/plugins/shared/data/public/search/search_source/mocks.ts similarity index 100% rename from src/plugins/data/public/search/search_source/mocks.ts rename to src/platform/plugins/shared/data/public/search/search_source/mocks.ts diff --git a/src/plugins/data/public/search/session/constants.ts b/src/platform/plugins/shared/data/public/search/session/constants.ts similarity index 100% rename from src/plugins/data/public/search/session/constants.ts rename to src/platform/plugins/shared/data/public/search/session/constants.ts diff --git a/src/plugins/data/public/search/session/i18n.ts b/src/platform/plugins/shared/data/public/search/session/i18n.ts similarity index 100% rename from src/plugins/data/public/search/session/i18n.ts rename to src/platform/plugins/shared/data/public/search/session/i18n.ts diff --git a/src/plugins/data/public/search/session/index.ts b/src/platform/plugins/shared/data/public/search/session/index.ts similarity index 100% rename from src/plugins/data/public/search/session/index.ts rename to src/platform/plugins/shared/data/public/search/session/index.ts diff --git a/src/plugins/data/public/search/session/lib/session_name_formatter.ts b/src/platform/plugins/shared/data/public/search/session/lib/session_name_formatter.ts similarity index 100% rename from src/plugins/data/public/search/session/lib/session_name_formatter.ts rename to src/platform/plugins/shared/data/public/search/session/lib/session_name_formatter.ts diff --git a/src/plugins/data/public/search/session/mocks.ts b/src/platform/plugins/shared/data/public/search/session/mocks.ts similarity index 100% rename from src/plugins/data/public/search/session/mocks.ts rename to src/platform/plugins/shared/data/public/search/session/mocks.ts diff --git a/src/plugins/data/public/search/session/search_session_state.test.ts b/src/platform/plugins/shared/data/public/search/session/search_session_state.test.ts similarity index 100% rename from src/plugins/data/public/search/session/search_session_state.test.ts rename to src/platform/plugins/shared/data/public/search/session/search_session_state.test.ts diff --git a/src/plugins/data/public/search/session/search_session_state.ts b/src/platform/plugins/shared/data/public/search/session/search_session_state.ts similarity index 100% rename from src/plugins/data/public/search/session/search_session_state.ts rename to src/platform/plugins/shared/data/public/search/session/search_session_state.ts diff --git a/src/plugins/data/public/search/session/search_sessions_deprecation_message.tsx b/src/platform/plugins/shared/data/public/search/session/search_sessions_deprecation_message.tsx similarity index 100% rename from src/plugins/data/public/search/session/search_sessions_deprecation_message.tsx rename to src/platform/plugins/shared/data/public/search/session/search_sessions_deprecation_message.tsx diff --git a/src/plugins/data/public/search/session/session_helpers.test.ts b/src/platform/plugins/shared/data/public/search/session/session_helpers.test.ts similarity index 100% rename from src/plugins/data/public/search/session/session_helpers.test.ts rename to src/platform/plugins/shared/data/public/search/session/session_helpers.test.ts diff --git a/src/plugins/data/public/search/session/session_helpers.ts b/src/platform/plugins/shared/data/public/search/session/session_helpers.ts similarity index 100% rename from src/plugins/data/public/search/session/session_helpers.ts rename to src/platform/plugins/shared/data/public/search/session/session_helpers.ts diff --git a/src/plugins/data/public/search/session/session_indicator/connected_search_session_indicator/connected_search_session_indicator.test.tsx b/src/platform/plugins/shared/data/public/search/session/session_indicator/connected_search_session_indicator/connected_search_session_indicator.test.tsx similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/connected_search_session_indicator/connected_search_session_indicator.test.tsx rename to src/platform/plugins/shared/data/public/search/session/session_indicator/connected_search_session_indicator/connected_search_session_indicator.test.tsx diff --git a/src/plugins/data/public/search/session/session_indicator/connected_search_session_indicator/connected_search_session_indicator.tsx b/src/platform/plugins/shared/data/public/search/session/session_indicator/connected_search_session_indicator/connected_search_session_indicator.tsx similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/connected_search_session_indicator/connected_search_session_indicator.tsx rename to src/platform/plugins/shared/data/public/search/session/session_indicator/connected_search_session_indicator/connected_search_session_indicator.tsx diff --git a/src/plugins/data/public/search/session/session_indicator/connected_search_session_indicator/index.ts b/src/platform/plugins/shared/data/public/search/session/session_indicator/connected_search_session_indicator/index.ts similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/connected_search_session_indicator/index.ts rename to src/platform/plugins/shared/data/public/search/session/session_indicator/connected_search_session_indicator/index.ts diff --git a/src/plugins/data/public/search/session/session_indicator/connected_search_session_indicator/search_session_tour.tsx b/src/platform/plugins/shared/data/public/search/session/session_indicator/connected_search_session_indicator/search_session_tour.tsx similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/connected_search_session_indicator/search_session_tour.tsx rename to src/platform/plugins/shared/data/public/search/session/session_indicator/connected_search_session_indicator/search_session_tour.tsx diff --git a/src/plugins/data/public/search/session/session_indicator/connected_search_session_indicator/search_session_view_state.ts b/src/platform/plugins/shared/data/public/search/session/session_indicator/connected_search_session_indicator/search_session_view_state.ts similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/connected_search_session_indicator/search_session_view_state.ts rename to src/platform/plugins/shared/data/public/search/session/session_indicator/connected_search_session_indicator/search_session_view_state.ts diff --git a/src/plugins/data/public/search/session/session_indicator/index.ts b/src/platform/plugins/shared/data/public/search/session/session_indicator/index.ts similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/index.ts rename to src/platform/plugins/shared/data/public/search/session/session_indicator/index.ts diff --git a/src/plugins/data/public/search/session/session_indicator/search_session_indicator/components/index.ts b/src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/components/index.ts similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/search_session_indicator/components/index.ts rename to src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/components/index.ts diff --git a/src/plugins/data/public/search/session/session_indicator/search_session_indicator/components/search_session_name/index.ts b/src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/components/search_session_name/index.ts similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/search_session_indicator/components/search_session_name/index.ts rename to src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/components/search_session_name/index.ts diff --git a/src/plugins/data/public/search/session/session_indicator/search_session_indicator/components/search_session_name/search_session_name.tsx b/src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/components/search_session_name/search_session_name.tsx similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/search_session_indicator/components/search_session_name/search_session_name.tsx rename to src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/components/search_session_name/search_session_name.tsx diff --git a/src/plugins/data/public/search/session/session_indicator/search_session_indicator/custom_icons.tsx b/src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/custom_icons.tsx similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/search_session_indicator/custom_icons.tsx rename to src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/custom_icons.tsx diff --git a/src/plugins/data/public/search/session/session_indicator/search_session_indicator/index.tsx b/src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/index.tsx similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/search_session_indicator/index.tsx rename to src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/index.tsx diff --git a/src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.scss b/src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.scss similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.scss rename to src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.scss diff --git a/src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.stories.tsx b/src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.stories.tsx similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.stories.tsx rename to src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.stories.tsx diff --git a/src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.test.tsx b/src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.test.tsx similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.test.tsx rename to src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.test.tsx diff --git a/src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.tsx b/src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.tsx similarity index 100% rename from src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.tsx rename to src/platform/plugins/shared/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.tsx diff --git a/src/plugins/data/public/search/session/session_service.test.ts b/src/platform/plugins/shared/data/public/search/session/session_service.test.ts similarity index 100% rename from src/plugins/data/public/search/session/session_service.test.ts rename to src/platform/plugins/shared/data/public/search/session/session_service.test.ts diff --git a/src/plugins/data/public/search/session/session_service.ts b/src/platform/plugins/shared/data/public/search/session/session_service.ts similarity index 100% rename from src/plugins/data/public/search/session/session_service.ts rename to src/platform/plugins/shared/data/public/search/session/session_service.ts diff --git a/src/plugins/data/public/search/session/sessions_client.ts b/src/platform/plugins/shared/data/public/search/session/sessions_client.ts similarity index 100% rename from src/plugins/data/public/search/session/sessions_client.ts rename to src/platform/plugins/shared/data/public/search/session/sessions_client.ts diff --git a/src/plugins/data/public/search/session/sessions_mgmt/__mocks__/index.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/__mocks__/index.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/__mocks__/index.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/__mocks__/index.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/application/index.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/application/index.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/application/index.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/application/index.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/application/render.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/application/render.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/application/render.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/application/render.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/actions/delete_button.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/delete_button.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/actions/delete_button.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/delete_button.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/actions/extend_button.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/extend_button.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/actions/extend_button.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/extend_button.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/actions/get_action.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/get_action.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/actions/get_action.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/get_action.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/actions/index.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/index.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/actions/index.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/index.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/actions/inspect_button.scss b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/inspect_button.scss similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/actions/inspect_button.scss rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/inspect_button.scss diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/actions/inspect_button.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/inspect_button.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/actions/inspect_button.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/inspect_button.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/actions/popover_actions.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/popover_actions.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/actions/popover_actions.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/popover_actions.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/actions/rename_button.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/rename_button.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/actions/rename_button.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/rename_button.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/actions/types.ts b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/types.ts similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/actions/types.ts rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/actions/types.ts diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/index.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/index.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/index.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/index.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/main.test.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/main.test.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/main.test.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/main.test.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/main.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/main.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/main.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/main.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/status.test.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/status.test.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/status.test.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/status.test.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/status.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/status.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/status.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/status.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/table/app_filter.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/table/app_filter.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/table/app_filter.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/table/app_filter.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/table/index.ts b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/table/index.ts similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/table/index.ts rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/table/index.ts diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/table/status_filter.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/table/status_filter.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/table/status_filter.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/table/status_filter.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/table/table.test.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/table/table.test.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/table/table.test.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/table/table.test.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/table/table.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/table/table.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/components/table/table.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/components/table/table.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/icons/extend_session.svg b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/icons/extend_session.svg similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/icons/extend_session.svg rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/icons/extend_session.svg diff --git a/src/plugins/data/public/search/session/sessions_mgmt/index.ts b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/index.ts similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/index.ts rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/index.ts diff --git a/src/plugins/data/public/search/session/sessions_mgmt/lib/api.test.ts b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/api.test.ts similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/lib/api.test.ts rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/api.test.ts diff --git a/src/plugins/data/public/search/session/sessions_mgmt/lib/api.ts b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/api.ts similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/lib/api.ts rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/api.ts diff --git a/src/plugins/data/public/search/session/sessions_mgmt/lib/date_string.ts b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/date_string.ts similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/lib/date_string.ts rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/date_string.ts diff --git a/src/plugins/data/public/search/session/sessions_mgmt/lib/documentation.ts b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/documentation.ts similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/lib/documentation.ts rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/documentation.ts diff --git a/src/plugins/data/public/search/session/sessions_mgmt/lib/get_columns.test.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/get_columns.test.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/lib/get_columns.test.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/get_columns.test.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/lib/get_columns.tsx b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/get_columns.tsx similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/lib/get_columns.tsx rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/get_columns.tsx diff --git a/src/plugins/data/public/search/session/sessions_mgmt/lib/get_expiration_status.ts b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/get_expiration_status.ts similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/lib/get_expiration_status.ts rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/lib/get_expiration_status.ts diff --git a/src/plugins/data/public/search/session/sessions_mgmt/types.ts b/src/platform/plugins/shared/data/public/search/session/sessions_mgmt/types.ts similarity index 100% rename from src/plugins/data/public/search/session/sessions_mgmt/types.ts rename to src/platform/plugins/shared/data/public/search/session/sessions_mgmt/types.ts diff --git a/src/plugins/data/public/search/types.ts b/src/platform/plugins/shared/data/public/search/types.ts similarity index 100% rename from src/plugins/data/public/search/types.ts rename to src/platform/plugins/shared/data/public/search/types.ts diff --git a/src/plugins/data/public/services.ts b/src/platform/plugins/shared/data/public/services.ts similarity index 100% rename from src/plugins/data/public/services.ts rename to src/platform/plugins/shared/data/public/services.ts diff --git a/src/plugins/data/public/stubs.ts b/src/platform/plugins/shared/data/public/stubs.ts similarity index 100% rename from src/plugins/data/public/stubs.ts rename to src/platform/plugins/shared/data/public/stubs.ts diff --git a/src/plugins/data/public/test_utils.ts b/src/platform/plugins/shared/data/public/test_utils.ts similarity index 100% rename from src/plugins/data/public/test_utils.ts rename to src/platform/plugins/shared/data/public/test_utils.ts diff --git a/src/plugins/data/public/triggers/apply_filter_trigger.ts b/src/platform/plugins/shared/data/public/triggers/apply_filter_trigger.ts similarity index 100% rename from src/plugins/data/public/triggers/apply_filter_trigger.ts rename to src/platform/plugins/shared/data/public/triggers/apply_filter_trigger.ts diff --git a/src/plugins/data/public/triggers/index.ts b/src/platform/plugins/shared/data/public/triggers/index.ts similarity index 100% rename from src/plugins/data/public/triggers/index.ts rename to src/platform/plugins/shared/data/public/triggers/index.ts diff --git a/src/plugins/data/public/types.ts b/src/platform/plugins/shared/data/public/types.ts similarity index 100% rename from src/plugins/data/public/types.ts rename to src/platform/plugins/shared/data/public/types.ts diff --git a/src/plugins/data/public/utils/shallow_equal.ts b/src/platform/plugins/shared/data/public/utils/shallow_equal.ts similarity index 100% rename from src/plugins/data/public/utils/shallow_equal.ts rename to src/platform/plugins/shared/data/public/utils/shallow_equal.ts diff --git a/src/plugins/data/public/utils/table_inspector_view/_data_table.scss b/src/platform/plugins/shared/data/public/utils/table_inspector_view/_data_table.scss similarity index 100% rename from src/plugins/data/public/utils/table_inspector_view/_data_table.scss rename to src/platform/plugins/shared/data/public/utils/table_inspector_view/_data_table.scss diff --git a/src/plugins/data/public/utils/table_inspector_view/_index.scss b/src/platform/plugins/shared/data/public/utils/table_inspector_view/_index.scss similarity index 100% rename from src/plugins/data/public/utils/table_inspector_view/_index.scss rename to src/platform/plugins/shared/data/public/utils/table_inspector_view/_index.scss diff --git a/src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap b/src/platform/plugins/shared/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap similarity index 100% rename from src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap rename to src/platform/plugins/shared/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap diff --git a/src/plugins/data/public/utils/table_inspector_view/components/data_table.tsx b/src/platform/plugins/shared/data/public/utils/table_inspector_view/components/data_table.tsx similarity index 100% rename from src/plugins/data/public/utils/table_inspector_view/components/data_table.tsx rename to src/platform/plugins/shared/data/public/utils/table_inspector_view/components/data_table.tsx diff --git a/src/plugins/data/public/utils/table_inspector_view/components/data_table_selector.tsx b/src/platform/plugins/shared/data/public/utils/table_inspector_view/components/data_table_selector.tsx similarity index 100% rename from src/plugins/data/public/utils/table_inspector_view/components/data_table_selector.tsx rename to src/platform/plugins/shared/data/public/utils/table_inspector_view/components/data_table_selector.tsx diff --git a/src/plugins/data/public/utils/table_inspector_view/components/data_view.test.tsx b/src/platform/plugins/shared/data/public/utils/table_inspector_view/components/data_view.test.tsx similarity index 100% rename from src/plugins/data/public/utils/table_inspector_view/components/data_view.test.tsx rename to src/platform/plugins/shared/data/public/utils/table_inspector_view/components/data_view.test.tsx diff --git a/src/plugins/data/public/utils/table_inspector_view/components/data_view.tsx b/src/platform/plugins/shared/data/public/utils/table_inspector_view/components/data_view.tsx similarity index 100% rename from src/plugins/data/public/utils/table_inspector_view/components/data_view.tsx rename to src/platform/plugins/shared/data/public/utils/table_inspector_view/components/data_view.tsx diff --git a/src/plugins/data/public/utils/table_inspector_view/components/data_view_wrapper.tsx b/src/platform/plugins/shared/data/public/utils/table_inspector_view/components/data_view_wrapper.tsx similarity index 100% rename from src/plugins/data/public/utils/table_inspector_view/components/data_view_wrapper.tsx rename to src/platform/plugins/shared/data/public/utils/table_inspector_view/components/data_view_wrapper.tsx diff --git a/src/plugins/data/public/utils/table_inspector_view/components/download_options.tsx b/src/platform/plugins/shared/data/public/utils/table_inspector_view/components/download_options.tsx similarity index 100% rename from src/plugins/data/public/utils/table_inspector_view/components/download_options.tsx rename to src/platform/plugins/shared/data/public/utils/table_inspector_view/components/download_options.tsx diff --git a/src/plugins/data/public/utils/table_inspector_view/index.ts b/src/platform/plugins/shared/data/public/utils/table_inspector_view/index.ts similarity index 100% rename from src/plugins/data/public/utils/table_inspector_view/index.ts rename to src/platform/plugins/shared/data/public/utils/table_inspector_view/index.ts diff --git a/src/plugins/data/public/utils/table_inspector_view/types.ts b/src/platform/plugins/shared/data/public/utils/table_inspector_view/types.ts similarity index 100% rename from src/plugins/data/public/utils/table_inspector_view/types.ts rename to src/platform/plugins/shared/data/public/utils/table_inspector_view/types.ts diff --git a/src/plugins/data/server/config.ts b/src/platform/plugins/shared/data/server/config.ts similarity index 100% rename from src/plugins/data/server/config.ts rename to src/platform/plugins/shared/data/server/config.ts diff --git a/src/plugins/data/server/config_deprecations.test.ts b/src/platform/plugins/shared/data/server/config_deprecations.test.ts similarity index 100% rename from src/plugins/data/server/config_deprecations.test.ts rename to src/platform/plugins/shared/data/server/config_deprecations.test.ts diff --git a/src/plugins/data/server/config_deprecations.ts b/src/platform/plugins/shared/data/server/config_deprecations.ts similarity index 100% rename from src/plugins/data/server/config_deprecations.ts rename to src/platform/plugins/shared/data/server/config_deprecations.ts diff --git a/src/plugins/data/server/data_views/index.ts b/src/platform/plugins/shared/data/server/data_views/index.ts similarity index 100% rename from src/plugins/data/server/data_views/index.ts rename to src/platform/plugins/shared/data/server/data_views/index.ts diff --git a/src/plugins/data/server/data_views/mocks.ts b/src/platform/plugins/shared/data/server/data_views/mocks.ts similarity index 100% rename from src/plugins/data/server/data_views/mocks.ts rename to src/platform/plugins/shared/data/server/data_views/mocks.ts diff --git a/src/plugins/data/server/datatable_utilities/datatable_utilities_service.ts b/src/platform/plugins/shared/data/server/datatable_utilities/datatable_utilities_service.ts similarity index 100% rename from src/plugins/data/server/datatable_utilities/datatable_utilities_service.ts rename to src/platform/plugins/shared/data/server/datatable_utilities/datatable_utilities_service.ts diff --git a/src/plugins/data/server/datatable_utilities/index.ts b/src/platform/plugins/shared/data/server/datatable_utilities/index.ts similarity index 100% rename from src/plugins/data/server/datatable_utilities/index.ts rename to src/platform/plugins/shared/data/server/datatable_utilities/index.ts diff --git a/src/plugins/data/server/datatable_utilities/mock.ts b/src/platform/plugins/shared/data/server/datatable_utilities/mock.ts similarity index 100% rename from src/plugins/data/server/datatable_utilities/mock.ts rename to src/platform/plugins/shared/data/server/datatable_utilities/mock.ts diff --git a/src/plugins/data/server/index.ts b/src/platform/plugins/shared/data/server/index.ts similarity index 100% rename from src/plugins/data/server/index.ts rename to src/platform/plugins/shared/data/server/index.ts diff --git a/src/plugins/data/server/kql_telemetry/index.ts b/src/platform/plugins/shared/data/server/kql_telemetry/index.ts similarity index 100% rename from src/plugins/data/server/kql_telemetry/index.ts rename to src/platform/plugins/shared/data/server/kql_telemetry/index.ts diff --git a/src/plugins/data/server/kql_telemetry/kql_telemetry_service.ts b/src/platform/plugins/shared/data/server/kql_telemetry/kql_telemetry_service.ts similarity index 100% rename from src/plugins/data/server/kql_telemetry/kql_telemetry_service.ts rename to src/platform/plugins/shared/data/server/kql_telemetry/kql_telemetry_service.ts diff --git a/src/plugins/data/server/kql_telemetry/route.ts b/src/platform/plugins/shared/data/server/kql_telemetry/route.ts similarity index 100% rename from src/plugins/data/server/kql_telemetry/route.ts rename to src/platform/plugins/shared/data/server/kql_telemetry/route.ts diff --git a/src/plugins/data/server/kql_telemetry/usage_collector/fetch.test.ts b/src/platform/plugins/shared/data/server/kql_telemetry/usage_collector/fetch.test.ts similarity index 100% rename from src/plugins/data/server/kql_telemetry/usage_collector/fetch.test.ts rename to src/platform/plugins/shared/data/server/kql_telemetry/usage_collector/fetch.test.ts diff --git a/src/plugins/data/server/kql_telemetry/usage_collector/fetch.ts b/src/platform/plugins/shared/data/server/kql_telemetry/usage_collector/fetch.ts similarity index 100% rename from src/plugins/data/server/kql_telemetry/usage_collector/fetch.ts rename to src/platform/plugins/shared/data/server/kql_telemetry/usage_collector/fetch.ts diff --git a/src/plugins/data/server/kql_telemetry/usage_collector/index.ts b/src/platform/plugins/shared/data/server/kql_telemetry/usage_collector/index.ts similarity index 100% rename from src/plugins/data/server/kql_telemetry/usage_collector/index.ts rename to src/platform/plugins/shared/data/server/kql_telemetry/usage_collector/index.ts diff --git a/src/plugins/data/server/kql_telemetry/usage_collector/make_kql_usage_collector.test.ts b/src/platform/plugins/shared/data/server/kql_telemetry/usage_collector/make_kql_usage_collector.test.ts similarity index 100% rename from src/plugins/data/server/kql_telemetry/usage_collector/make_kql_usage_collector.test.ts rename to src/platform/plugins/shared/data/server/kql_telemetry/usage_collector/make_kql_usage_collector.test.ts diff --git a/src/plugins/data/server/kql_telemetry/usage_collector/make_kql_usage_collector.ts b/src/platform/plugins/shared/data/server/kql_telemetry/usage_collector/make_kql_usage_collector.ts similarity index 100% rename from src/plugins/data/server/kql_telemetry/usage_collector/make_kql_usage_collector.ts rename to src/platform/plugins/shared/data/server/kql_telemetry/usage_collector/make_kql_usage_collector.ts diff --git a/src/plugins/data/server/lib/get_request_aborted_signal.test.ts b/src/platform/plugins/shared/data/server/lib/get_request_aborted_signal.test.ts similarity index 100% rename from src/plugins/data/server/lib/get_request_aborted_signal.test.ts rename to src/platform/plugins/shared/data/server/lib/get_request_aborted_signal.test.ts diff --git a/src/plugins/data/server/lib/get_request_aborted_signal.ts b/src/platform/plugins/shared/data/server/lib/get_request_aborted_signal.ts similarity index 100% rename from src/plugins/data/server/lib/get_request_aborted_signal.ts rename to src/platform/plugins/shared/data/server/lib/get_request_aborted_signal.ts diff --git a/src/plugins/data/server/lib/index.ts b/src/platform/plugins/shared/data/server/lib/index.ts similarity index 100% rename from src/plugins/data/server/lib/index.ts rename to src/platform/plugins/shared/data/server/lib/index.ts diff --git a/src/plugins/data/server/mocks.ts b/src/platform/plugins/shared/data/server/mocks.ts similarity index 100% rename from src/plugins/data/server/mocks.ts rename to src/platform/plugins/shared/data/server/mocks.ts diff --git a/src/plugins/data/server/plugin.ts b/src/platform/plugins/shared/data/server/plugin.ts similarity index 100% rename from src/plugins/data/server/plugin.ts rename to src/platform/plugins/shared/data/server/plugin.ts diff --git a/src/plugins/data/server/query/index.ts b/src/platform/plugins/shared/data/server/query/index.ts similarity index 100% rename from src/plugins/data/server/query/index.ts rename to src/platform/plugins/shared/data/server/query/index.ts diff --git a/src/plugins/data/server/query/query_service.ts b/src/platform/plugins/shared/data/server/query/query_service.ts similarity index 100% rename from src/plugins/data/server/query/query_service.ts rename to src/platform/plugins/shared/data/server/query/query_service.ts diff --git a/src/plugins/data/server/query/route_handler_context.test.ts b/src/platform/plugins/shared/data/server/query/route_handler_context.test.ts similarity index 100% rename from src/plugins/data/server/query/route_handler_context.test.ts rename to src/platform/plugins/shared/data/server/query/route_handler_context.test.ts diff --git a/src/plugins/data/server/query/route_handler_context.ts b/src/platform/plugins/shared/data/server/query/route_handler_context.ts similarity index 100% rename from src/plugins/data/server/query/route_handler_context.ts rename to src/platform/plugins/shared/data/server/query/route_handler_context.ts diff --git a/src/plugins/data/server/query/route_types.ts b/src/platform/plugins/shared/data/server/query/route_types.ts similarity index 100% rename from src/plugins/data/server/query/route_types.ts rename to src/platform/plugins/shared/data/server/query/route_types.ts diff --git a/src/plugins/data/server/query/routes.ts b/src/platform/plugins/shared/data/server/query/routes.ts similarity index 100% rename from src/plugins/data/server/query/routes.ts rename to src/platform/plugins/shared/data/server/query/routes.ts diff --git a/src/plugins/data/server/saved_objects/index.ts b/src/platform/plugins/shared/data/server/saved_objects/index.ts similarity index 100% rename from src/plugins/data/server/saved_objects/index.ts rename to src/platform/plugins/shared/data/server/saved_objects/index.ts diff --git a/src/plugins/data/server/saved_objects/kql_telemetry.ts b/src/platform/plugins/shared/data/server/saved_objects/kql_telemetry.ts similarity index 100% rename from src/plugins/data/server/saved_objects/kql_telemetry.ts rename to src/platform/plugins/shared/data/server/saved_objects/kql_telemetry.ts diff --git a/src/plugins/data/server/saved_objects/migrations/query.ts b/src/platform/plugins/shared/data/server/saved_objects/migrations/query.ts similarity index 100% rename from src/plugins/data/server/saved_objects/migrations/query.ts rename to src/platform/plugins/shared/data/server/saved_objects/migrations/query.ts diff --git a/src/plugins/data/server/saved_objects/migrations/to_v7_12_0.ts b/src/platform/plugins/shared/data/server/saved_objects/migrations/to_v7_12_0.ts similarity index 100% rename from src/plugins/data/server/saved_objects/migrations/to_v7_12_0.ts rename to src/platform/plugins/shared/data/server/saved_objects/migrations/to_v7_12_0.ts diff --git a/src/plugins/data/server/saved_objects/query.test.ts b/src/platform/plugins/shared/data/server/saved_objects/query.test.ts similarity index 100% rename from src/plugins/data/server/saved_objects/query.test.ts rename to src/platform/plugins/shared/data/server/saved_objects/query.test.ts diff --git a/src/plugins/data/server/saved_objects/query.ts b/src/platform/plugins/shared/data/server/saved_objects/query.ts similarity index 100% rename from src/plugins/data/server/saved_objects/query.ts rename to src/platform/plugins/shared/data/server/saved_objects/query.ts diff --git a/src/plugins/data/server/saved_objects/schemas/kql_telemetry.ts b/src/platform/plugins/shared/data/server/saved_objects/schemas/kql_telemetry.ts similarity index 100% rename from src/plugins/data/server/saved_objects/schemas/kql_telemetry.ts rename to src/platform/plugins/shared/data/server/saved_objects/schemas/kql_telemetry.ts diff --git a/src/plugins/data/server/saved_objects/schemas/query.ts b/src/platform/plugins/shared/data/server/saved_objects/schemas/query.ts similarity index 100% rename from src/plugins/data/server/saved_objects/schemas/query.ts rename to src/platform/plugins/shared/data/server/saved_objects/schemas/query.ts diff --git a/src/plugins/data/server/saved_objects/schemas/search_telemetry.ts b/src/platform/plugins/shared/data/server/saved_objects/schemas/search_telemetry.ts similarity index 100% rename from src/plugins/data/server/saved_objects/schemas/search_telemetry.ts rename to src/platform/plugins/shared/data/server/saved_objects/schemas/search_telemetry.ts diff --git a/src/plugins/data/server/saved_objects/search_telemetry.ts b/src/platform/plugins/shared/data/server/saved_objects/search_telemetry.ts similarity index 100% rename from src/plugins/data/server/saved_objects/search_telemetry.ts rename to src/platform/plugins/shared/data/server/saved_objects/search_telemetry.ts diff --git a/src/plugins/data/server/scripts/index.ts b/src/platform/plugins/shared/data/server/scripts/index.ts similarity index 100% rename from src/plugins/data/server/scripts/index.ts rename to src/platform/plugins/shared/data/server/scripts/index.ts diff --git a/src/plugins/data/server/scripts/route.ts b/src/platform/plugins/shared/data/server/scripts/route.ts similarity index 100% rename from src/plugins/data/server/scripts/route.ts rename to src/platform/plugins/shared/data/server/scripts/route.ts diff --git a/src/plugins/data/server/scripts/scripts_service.ts b/src/platform/plugins/shared/data/server/scripts/scripts_service.ts similarity index 100% rename from src/plugins/data/server/scripts/scripts_service.ts rename to src/platform/plugins/shared/data/server/scripts/scripts_service.ts diff --git a/src/plugins/data/server/search/README.md b/src/platform/plugins/shared/data/server/search/README.md similarity index 100% rename from src/plugins/data/server/search/README.md rename to src/platform/plugins/shared/data/server/search/README.md diff --git a/src/plugins/data/server/search/aggs/aggs_service.test.ts b/src/platform/plugins/shared/data/server/search/aggs/aggs_service.test.ts similarity index 100% rename from src/plugins/data/server/search/aggs/aggs_service.test.ts rename to src/platform/plugins/shared/data/server/search/aggs/aggs_service.test.ts diff --git a/src/plugins/data/server/search/aggs/aggs_service.ts b/src/platform/plugins/shared/data/server/search/aggs/aggs_service.ts similarity index 100% rename from src/plugins/data/server/search/aggs/aggs_service.ts rename to src/platform/plugins/shared/data/server/search/aggs/aggs_service.ts diff --git a/src/plugins/data/server/search/aggs/index.ts b/src/platform/plugins/shared/data/server/search/aggs/index.ts similarity index 100% rename from src/plugins/data/server/search/aggs/index.ts rename to src/platform/plugins/shared/data/server/search/aggs/index.ts diff --git a/src/plugins/data/server/search/aggs/mocks.ts b/src/platform/plugins/shared/data/server/search/aggs/mocks.ts similarity index 100% rename from src/plugins/data/server/search/aggs/mocks.ts rename to src/platform/plugins/shared/data/server/search/aggs/mocks.ts diff --git a/src/plugins/data/server/search/aggs/types.ts b/src/platform/plugins/shared/data/server/search/aggs/types.ts similarity index 100% rename from src/plugins/data/server/search/aggs/types.ts rename to src/platform/plugins/shared/data/server/search/aggs/types.ts diff --git a/src/plugins/data/server/search/collectors/search/fetch.ts b/src/platform/plugins/shared/data/server/search/collectors/search/fetch.ts similarity index 100% rename from src/plugins/data/server/search/collectors/search/fetch.ts rename to src/platform/plugins/shared/data/server/search/collectors/search/fetch.ts diff --git a/src/plugins/data/server/search/collectors/search/index.ts b/src/platform/plugins/shared/data/server/search/collectors/search/index.ts similarity index 100% rename from src/plugins/data/server/search/collectors/search/index.ts rename to src/platform/plugins/shared/data/server/search/collectors/search/index.ts diff --git a/src/plugins/data/server/search/collectors/search/register.ts b/src/platform/plugins/shared/data/server/search/collectors/search/register.ts similarity index 100% rename from src/plugins/data/server/search/collectors/search/register.ts rename to src/platform/plugins/shared/data/server/search/collectors/search/register.ts diff --git a/src/plugins/data/server/search/collectors/search/usage.ts b/src/platform/plugins/shared/data/server/search/collectors/search/usage.ts similarity index 100% rename from src/plugins/data/server/search/collectors/search/usage.ts rename to src/platform/plugins/shared/data/server/search/collectors/search/usage.ts diff --git a/src/plugins/data/server/search/collectors/search_session/fetch.test.ts b/src/platform/plugins/shared/data/server/search/collectors/search_session/fetch.test.ts similarity index 100% rename from src/plugins/data/server/search/collectors/search_session/fetch.test.ts rename to src/platform/plugins/shared/data/server/search/collectors/search_session/fetch.test.ts diff --git a/src/plugins/data/server/search/collectors/search_session/fetch.ts b/src/platform/plugins/shared/data/server/search/collectors/search_session/fetch.ts similarity index 100% rename from src/plugins/data/server/search/collectors/search_session/fetch.ts rename to src/platform/plugins/shared/data/server/search/collectors/search_session/fetch.ts diff --git a/src/plugins/data/server/search/collectors/search_session/index.ts b/src/platform/plugins/shared/data/server/search/collectors/search_session/index.ts similarity index 100% rename from src/plugins/data/server/search/collectors/search_session/index.ts rename to src/platform/plugins/shared/data/server/search/collectors/search_session/index.ts diff --git a/src/plugins/data/server/search/collectors/search_session/register.ts b/src/platform/plugins/shared/data/server/search/collectors/search_session/register.ts similarity index 100% rename from src/plugins/data/server/search/collectors/search_session/register.ts rename to src/platform/plugins/shared/data/server/search/collectors/search_session/register.ts diff --git a/src/plugins/data/server/search/errors/no_search_id_in_session.ts b/src/platform/plugins/shared/data/server/search/errors/no_search_id_in_session.ts similarity index 100% rename from src/plugins/data/server/search/errors/no_search_id_in_session.ts rename to src/platform/plugins/shared/data/server/search/errors/no_search_id_in_session.ts diff --git a/src/plugins/data/server/search/expressions/eql.ts b/src/platform/plugins/shared/data/server/search/expressions/eql.ts similarity index 100% rename from src/plugins/data/server/search/expressions/eql.ts rename to src/platform/plugins/shared/data/server/search/expressions/eql.ts diff --git a/src/plugins/data/server/search/expressions/esaggs.test.ts b/src/platform/plugins/shared/data/server/search/expressions/esaggs.test.ts similarity index 100% rename from src/plugins/data/server/search/expressions/esaggs.test.ts rename to src/platform/plugins/shared/data/server/search/expressions/esaggs.test.ts diff --git a/src/plugins/data/server/search/expressions/esaggs.ts b/src/platform/plugins/shared/data/server/search/expressions/esaggs.ts similarity index 100% rename from src/plugins/data/server/search/expressions/esaggs.ts rename to src/platform/plugins/shared/data/server/search/expressions/esaggs.ts diff --git a/src/plugins/data/server/search/expressions/esdsl.ts b/src/platform/plugins/shared/data/server/search/expressions/esdsl.ts similarity index 100% rename from src/plugins/data/server/search/expressions/esdsl.ts rename to src/platform/plugins/shared/data/server/search/expressions/esdsl.ts diff --git a/src/plugins/data/server/search/expressions/esql.ts b/src/platform/plugins/shared/data/server/search/expressions/esql.ts similarity index 100% rename from src/plugins/data/server/search/expressions/esql.ts rename to src/platform/plugins/shared/data/server/search/expressions/esql.ts diff --git a/src/plugins/data/server/search/expressions/essql.ts b/src/platform/plugins/shared/data/server/search/expressions/essql.ts similarity index 100% rename from src/plugins/data/server/search/expressions/essql.ts rename to src/platform/plugins/shared/data/server/search/expressions/essql.ts diff --git a/src/plugins/data/server/search/expressions/index.ts b/src/platform/plugins/shared/data/server/search/expressions/index.ts similarity index 100% rename from src/plugins/data/server/search/expressions/index.ts rename to src/platform/plugins/shared/data/server/search/expressions/index.ts diff --git a/src/plugins/data/server/search/index.ts b/src/platform/plugins/shared/data/server/search/index.ts similarity index 100% rename from src/plugins/data/server/search/index.ts rename to src/platform/plugins/shared/data/server/search/index.ts diff --git a/src/plugins/data/server/search/mocks.ts b/src/platform/plugins/shared/data/server/search/mocks.ts similarity index 100% rename from src/plugins/data/server/search/mocks.ts rename to src/platform/plugins/shared/data/server/search/mocks.ts diff --git a/src/plugins/data/server/search/report_search_error.ts b/src/platform/plugins/shared/data/server/search/report_search_error.ts similarity index 100% rename from src/plugins/data/server/search/report_search_error.ts rename to src/platform/plugins/shared/data/server/search/report_search_error.ts diff --git a/src/plugins/data/server/search/routes/index.ts b/src/platform/plugins/shared/data/server/search/routes/index.ts similarity index 100% rename from src/plugins/data/server/search/routes/index.ts rename to src/platform/plugins/shared/data/server/search/routes/index.ts diff --git a/src/plugins/data/server/search/routes/response_schema.ts b/src/platform/plugins/shared/data/server/search/routes/response_schema.ts similarity index 100% rename from src/plugins/data/server/search/routes/response_schema.ts rename to src/platform/plugins/shared/data/server/search/routes/response_schema.ts diff --git a/src/plugins/data/server/search/routes/response_types.ts b/src/platform/plugins/shared/data/server/search/routes/response_types.ts similarity index 100% rename from src/plugins/data/server/search/routes/response_types.ts rename to src/platform/plugins/shared/data/server/search/routes/response_types.ts diff --git a/src/plugins/data/server/search/routes/search.test.ts b/src/platform/plugins/shared/data/server/search/routes/search.test.ts similarity index 100% rename from src/plugins/data/server/search/routes/search.test.ts rename to src/platform/plugins/shared/data/server/search/routes/search.test.ts diff --git a/src/plugins/data/server/search/routes/search.ts b/src/platform/plugins/shared/data/server/search/routes/search.ts similarity index 100% rename from src/plugins/data/server/search/routes/search.ts rename to src/platform/plugins/shared/data/server/search/routes/search.ts diff --git a/src/plugins/data/server/search/routes/session.test.ts b/src/platform/plugins/shared/data/server/search/routes/session.test.ts similarity index 100% rename from src/plugins/data/server/search/routes/session.test.ts rename to src/platform/plugins/shared/data/server/search/routes/session.test.ts diff --git a/src/plugins/data/server/search/routes/session.ts b/src/platform/plugins/shared/data/server/search/routes/session.ts similarity index 100% rename from src/plugins/data/server/search/routes/session.ts rename to src/platform/plugins/shared/data/server/search/routes/session.ts diff --git a/src/plugins/data/server/search/sanitize_request_params.test.ts b/src/platform/plugins/shared/data/server/search/sanitize_request_params.test.ts similarity index 100% rename from src/plugins/data/server/search/sanitize_request_params.test.ts rename to src/platform/plugins/shared/data/server/search/sanitize_request_params.test.ts diff --git a/src/plugins/data/server/search/sanitize_request_params.ts b/src/platform/plugins/shared/data/server/search/sanitize_request_params.ts similarity index 100% rename from src/plugins/data/server/search/sanitize_request_params.ts rename to src/platform/plugins/shared/data/server/search/sanitize_request_params.ts diff --git a/src/plugins/data/server/search/saved_objects/index.ts b/src/platform/plugins/shared/data/server/search/saved_objects/index.ts similarity index 100% rename from src/plugins/data/server/search/saved_objects/index.ts rename to src/platform/plugins/shared/data/server/search/saved_objects/index.ts diff --git a/src/plugins/data/server/search/saved_objects/search_session.ts b/src/platform/plugins/shared/data/server/search/saved_objects/search_session.ts similarity index 100% rename from src/plugins/data/server/search/saved_objects/search_session.ts rename to src/platform/plugins/shared/data/server/search/saved_objects/search_session.ts diff --git a/src/plugins/data/server/search/saved_objects/search_session_migration.test.ts b/src/platform/plugins/shared/data/server/search/saved_objects/search_session_migration.test.ts similarity index 100% rename from src/plugins/data/server/search/saved_objects/search_session_migration.test.ts rename to src/platform/plugins/shared/data/server/search/saved_objects/search_session_migration.test.ts diff --git a/src/plugins/data/server/search/saved_objects/search_session_migration.ts b/src/platform/plugins/shared/data/server/search/saved_objects/search_session_migration.ts similarity index 100% rename from src/plugins/data/server/search/saved_objects/search_session_migration.ts rename to src/platform/plugins/shared/data/server/search/saved_objects/search_session_migration.ts diff --git a/src/plugins/data/server/search/search_service.test.ts b/src/platform/plugins/shared/data/server/search/search_service.test.ts similarity index 100% rename from src/plugins/data/server/search/search_service.test.ts rename to src/platform/plugins/shared/data/server/search/search_service.test.ts diff --git a/src/plugins/data/server/search/search_service.ts b/src/platform/plugins/shared/data/server/search/search_service.ts similarity index 100% rename from src/plugins/data/server/search/search_service.ts rename to src/platform/plugins/shared/data/server/search/search_service.ts diff --git a/src/plugins/data/server/search/search_source/mocks.ts b/src/platform/plugins/shared/data/server/search/search_source/mocks.ts similarity index 100% rename from src/plugins/data/server/search/search_source/mocks.ts rename to src/platform/plugins/shared/data/server/search/search_source/mocks.ts diff --git a/src/plugins/data/server/search/services/cached_ui_settings_client.test.ts b/src/platform/plugins/shared/data/server/search/services/cached_ui_settings_client.test.ts similarity index 100% rename from src/plugins/data/server/search/services/cached_ui_settings_client.test.ts rename to src/platform/plugins/shared/data/server/search/services/cached_ui_settings_client.test.ts diff --git a/src/plugins/data/server/search/services/cached_ui_settings_client.ts b/src/platform/plugins/shared/data/server/search/services/cached_ui_settings_client.ts similarity index 100% rename from src/plugins/data/server/search/services/cached_ui_settings_client.ts rename to src/platform/plugins/shared/data/server/search/services/cached_ui_settings_client.ts diff --git a/src/plugins/data/server/search/services/index.ts b/src/platform/plugins/shared/data/server/search/services/index.ts similarity index 100% rename from src/plugins/data/server/search/services/index.ts rename to src/platform/plugins/shared/data/server/search/services/index.ts diff --git a/src/plugins/data/server/search/session/get_search_status.test.ts b/src/platform/plugins/shared/data/server/search/session/get_search_status.test.ts similarity index 100% rename from src/plugins/data/server/search/session/get_search_status.test.ts rename to src/platform/plugins/shared/data/server/search/session/get_search_status.test.ts diff --git a/src/plugins/data/server/search/session/get_search_status.ts b/src/platform/plugins/shared/data/server/search/session/get_search_status.ts similarity index 100% rename from src/plugins/data/server/search/session/get_search_status.ts rename to src/platform/plugins/shared/data/server/search/session/get_search_status.ts diff --git a/src/plugins/data/server/search/session/get_session_status.test.ts b/src/platform/plugins/shared/data/server/search/session/get_session_status.test.ts similarity index 100% rename from src/plugins/data/server/search/session/get_session_status.test.ts rename to src/platform/plugins/shared/data/server/search/session/get_session_status.test.ts diff --git a/src/plugins/data/server/search/session/get_session_status.ts b/src/platform/plugins/shared/data/server/search/session/get_session_status.ts similarity index 100% rename from src/plugins/data/server/search/session/get_session_status.ts rename to src/platform/plugins/shared/data/server/search/session/get_session_status.ts diff --git a/src/plugins/data/server/search/session/index.ts b/src/platform/plugins/shared/data/server/search/session/index.ts similarity index 100% rename from src/plugins/data/server/search/session/index.ts rename to src/platform/plugins/shared/data/server/search/session/index.ts diff --git a/src/plugins/data/server/search/session/mocks.ts b/src/platform/plugins/shared/data/server/search/session/mocks.ts similarity index 100% rename from src/plugins/data/server/search/session/mocks.ts rename to src/platform/plugins/shared/data/server/search/session/mocks.ts diff --git a/src/plugins/data/server/search/session/session_service.test.ts b/src/platform/plugins/shared/data/server/search/session/session_service.test.ts similarity index 100% rename from src/plugins/data/server/search/session/session_service.test.ts rename to src/platform/plugins/shared/data/server/search/session/session_service.test.ts diff --git a/src/plugins/data/server/search/session/session_service.ts b/src/platform/plugins/shared/data/server/search/session/session_service.ts similarity index 100% rename from src/plugins/data/server/search/session/session_service.ts rename to src/platform/plugins/shared/data/server/search/session/session_service.ts diff --git a/src/plugins/data/server/search/session/types.ts b/src/platform/plugins/shared/data/server/search/session/types.ts similarity index 100% rename from src/plugins/data/server/search/session/types.ts rename to src/platform/plugins/shared/data/server/search/session/types.ts diff --git a/src/plugins/data/server/search/session/utils.test.ts b/src/platform/plugins/shared/data/server/search/session/utils.test.ts similarity index 100% rename from src/plugins/data/server/search/session/utils.test.ts rename to src/platform/plugins/shared/data/server/search/session/utils.test.ts diff --git a/src/plugins/data/server/search/session/utils.ts b/src/platform/plugins/shared/data/server/search/session/utils.ts similarity index 100% rename from src/plugins/data/server/search/session/utils.ts rename to src/platform/plugins/shared/data/server/search/session/utils.ts diff --git a/src/plugins/data/server/search/strategies/common/async_utils.test.ts b/src/platform/plugins/shared/data/server/search/strategies/common/async_utils.test.ts similarity index 100% rename from src/plugins/data/server/search/strategies/common/async_utils.test.ts rename to src/platform/plugins/shared/data/server/search/strategies/common/async_utils.test.ts diff --git a/src/plugins/data/server/search/strategies/common/async_utils.ts b/src/platform/plugins/shared/data/server/search/strategies/common/async_utils.ts similarity index 100% rename from src/plugins/data/server/search/strategies/common/async_utils.ts rename to src/platform/plugins/shared/data/server/search/strategies/common/async_utils.ts diff --git a/src/plugins/data/server/search/strategies/eql_search/eql_search_strategy.test.ts b/src/platform/plugins/shared/data/server/search/strategies/eql_search/eql_search_strategy.test.ts similarity index 100% rename from src/plugins/data/server/search/strategies/eql_search/eql_search_strategy.test.ts rename to src/platform/plugins/shared/data/server/search/strategies/eql_search/eql_search_strategy.test.ts diff --git a/src/plugins/data/server/search/strategies/eql_search/eql_search_strategy.ts b/src/platform/plugins/shared/data/server/search/strategies/eql_search/eql_search_strategy.ts similarity index 100% rename from src/plugins/data/server/search/strategies/eql_search/eql_search_strategy.ts rename to src/platform/plugins/shared/data/server/search/strategies/eql_search/eql_search_strategy.ts diff --git a/src/plugins/data/server/search/strategies/eql_search/index.ts b/src/platform/plugins/shared/data/server/search/strategies/eql_search/index.ts similarity index 100% rename from src/plugins/data/server/search/strategies/eql_search/index.ts rename to src/platform/plugins/shared/data/server/search/strategies/eql_search/index.ts diff --git a/src/plugins/data/server/search/strategies/eql_search/response_utils.ts b/src/platform/plugins/shared/data/server/search/strategies/eql_search/response_utils.ts similarity index 100% rename from src/plugins/data/server/search/strategies/eql_search/response_utils.ts rename to src/platform/plugins/shared/data/server/search/strategies/eql_search/response_utils.ts diff --git a/src/plugins/data/server/search/strategies/eql_search/types.ts b/src/platform/plugins/shared/data/server/search/strategies/eql_search/types.ts similarity index 100% rename from src/plugins/data/server/search/strategies/eql_search/types.ts rename to src/platform/plugins/shared/data/server/search/strategies/eql_search/types.ts diff --git a/src/plugins/data/server/search/strategies/es_search/elasticsearch.ts b/src/platform/plugins/shared/data/server/search/strategies/es_search/elasticsearch.ts similarity index 100% rename from src/plugins/data/server/search/strategies/es_search/elasticsearch.ts rename to src/platform/plugins/shared/data/server/search/strategies/es_search/elasticsearch.ts diff --git a/src/plugins/data/server/search/strategies/es_search/es_search_strategy.test.ts b/src/platform/plugins/shared/data/server/search/strategies/es_search/es_search_strategy.test.ts similarity index 100% rename from src/plugins/data/server/search/strategies/es_search/es_search_strategy.test.ts rename to src/platform/plugins/shared/data/server/search/strategies/es_search/es_search_strategy.test.ts diff --git a/src/plugins/data/server/search/strategies/es_search/es_search_strategy.ts b/src/platform/plugins/shared/data/server/search/strategies/es_search/es_search_strategy.ts similarity index 100% rename from src/plugins/data/server/search/strategies/es_search/es_search_strategy.ts rename to src/platform/plugins/shared/data/server/search/strategies/es_search/es_search_strategy.ts diff --git a/src/plugins/data/server/search/strategies/es_search/index.ts b/src/platform/plugins/shared/data/server/search/strategies/es_search/index.ts similarity index 100% rename from src/plugins/data/server/search/strategies/es_search/index.ts rename to src/platform/plugins/shared/data/server/search/strategies/es_search/index.ts diff --git a/src/plugins/data/server/search/strategies/es_search/request_utils.test.ts b/src/platform/plugins/shared/data/server/search/strategies/es_search/request_utils.test.ts similarity index 100% rename from src/plugins/data/server/search/strategies/es_search/request_utils.test.ts rename to src/platform/plugins/shared/data/server/search/strategies/es_search/request_utils.test.ts diff --git a/src/plugins/data/server/search/strategies/es_search/request_utils.ts b/src/platform/plugins/shared/data/server/search/strategies/es_search/request_utils.ts similarity index 100% rename from src/plugins/data/server/search/strategies/es_search/request_utils.ts rename to src/platform/plugins/shared/data/server/search/strategies/es_search/request_utils.ts diff --git a/src/plugins/data/server/search/strategies/ese_search/ese_search_strategy.test.ts b/src/platform/plugins/shared/data/server/search/strategies/ese_search/ese_search_strategy.test.ts similarity index 100% rename from src/plugins/data/server/search/strategies/ese_search/ese_search_strategy.test.ts rename to src/platform/plugins/shared/data/server/search/strategies/ese_search/ese_search_strategy.test.ts diff --git a/src/plugins/data/server/search/strategies/ese_search/ese_search_strategy.ts b/src/platform/plugins/shared/data/server/search/strategies/ese_search/ese_search_strategy.ts similarity index 100% rename from src/plugins/data/server/search/strategies/ese_search/ese_search_strategy.ts rename to src/platform/plugins/shared/data/server/search/strategies/ese_search/ese_search_strategy.ts diff --git a/src/plugins/data/server/search/strategies/ese_search/index.ts b/src/platform/plugins/shared/data/server/search/strategies/ese_search/index.ts similarity index 100% rename from src/plugins/data/server/search/strategies/ese_search/index.ts rename to src/platform/plugins/shared/data/server/search/strategies/ese_search/index.ts diff --git a/src/plugins/data/server/search/strategies/ese_search/request_utils.test.ts b/src/platform/plugins/shared/data/server/search/strategies/ese_search/request_utils.test.ts similarity index 100% rename from src/plugins/data/server/search/strategies/ese_search/request_utils.test.ts rename to src/platform/plugins/shared/data/server/search/strategies/ese_search/request_utils.test.ts diff --git a/src/plugins/data/server/search/strategies/ese_search/request_utils.ts b/src/platform/plugins/shared/data/server/search/strategies/ese_search/request_utils.ts similarity index 100% rename from src/plugins/data/server/search/strategies/ese_search/request_utils.ts rename to src/platform/plugins/shared/data/server/search/strategies/ese_search/request_utils.ts diff --git a/src/plugins/data/server/search/strategies/ese_search/response_utils.ts b/src/platform/plugins/shared/data/server/search/strategies/ese_search/response_utils.ts similarity index 100% rename from src/plugins/data/server/search/strategies/ese_search/response_utils.ts rename to src/platform/plugins/shared/data/server/search/strategies/ese_search/response_utils.ts diff --git a/src/plugins/data/server/search/strategies/ese_search/types.ts b/src/platform/plugins/shared/data/server/search/strategies/ese_search/types.ts similarity index 100% rename from src/plugins/data/server/search/strategies/ese_search/types.ts rename to src/platform/plugins/shared/data/server/search/strategies/ese_search/types.ts diff --git a/src/plugins/data/server/search/strategies/esql_async_search/esql_async_search_strategy.test.ts b/src/platform/plugins/shared/data/server/search/strategies/esql_async_search/esql_async_search_strategy.test.ts similarity index 100% rename from src/plugins/data/server/search/strategies/esql_async_search/esql_async_search_strategy.test.ts rename to src/platform/plugins/shared/data/server/search/strategies/esql_async_search/esql_async_search_strategy.test.ts diff --git a/src/plugins/data/server/search/strategies/esql_async_search/esql_async_search_strategy.ts b/src/platform/plugins/shared/data/server/search/strategies/esql_async_search/esql_async_search_strategy.ts similarity index 100% rename from src/plugins/data/server/search/strategies/esql_async_search/esql_async_search_strategy.ts rename to src/platform/plugins/shared/data/server/search/strategies/esql_async_search/esql_async_search_strategy.ts diff --git a/src/plugins/data/server/search/strategies/esql_async_search/index.ts b/src/platform/plugins/shared/data/server/search/strategies/esql_async_search/index.ts similarity index 100% rename from src/plugins/data/server/search/strategies/esql_async_search/index.ts rename to src/platform/plugins/shared/data/server/search/strategies/esql_async_search/index.ts diff --git a/src/plugins/data/server/search/strategies/esql_async_search/response_utils.ts b/src/platform/plugins/shared/data/server/search/strategies/esql_async_search/response_utils.ts similarity index 100% rename from src/plugins/data/server/search/strategies/esql_async_search/response_utils.ts rename to src/platform/plugins/shared/data/server/search/strategies/esql_async_search/response_utils.ts diff --git a/src/plugins/data/server/search/strategies/esql_search/esql_search_strategy.ts b/src/platform/plugins/shared/data/server/search/strategies/esql_search/esql_search_strategy.ts similarity index 100% rename from src/plugins/data/server/search/strategies/esql_search/esql_search_strategy.ts rename to src/platform/plugins/shared/data/server/search/strategies/esql_search/esql_search_strategy.ts diff --git a/src/plugins/data/server/search/strategies/esql_search/index.ts b/src/platform/plugins/shared/data/server/search/strategies/esql_search/index.ts similarity index 100% rename from src/plugins/data/server/search/strategies/esql_search/index.ts rename to src/platform/plugins/shared/data/server/search/strategies/esql_search/index.ts diff --git a/src/plugins/data/server/search/strategies/sql_search/index.ts b/src/platform/plugins/shared/data/server/search/strategies/sql_search/index.ts similarity index 100% rename from src/plugins/data/server/search/strategies/sql_search/index.ts rename to src/platform/plugins/shared/data/server/search/strategies/sql_search/index.ts diff --git a/src/plugins/data/server/search/strategies/sql_search/request_utils.test.ts b/src/platform/plugins/shared/data/server/search/strategies/sql_search/request_utils.test.ts similarity index 100% rename from src/plugins/data/server/search/strategies/sql_search/request_utils.test.ts rename to src/platform/plugins/shared/data/server/search/strategies/sql_search/request_utils.test.ts diff --git a/src/plugins/data/server/search/strategies/sql_search/request_utils.ts b/src/platform/plugins/shared/data/server/search/strategies/sql_search/request_utils.ts similarity index 100% rename from src/plugins/data/server/search/strategies/sql_search/request_utils.ts rename to src/platform/plugins/shared/data/server/search/strategies/sql_search/request_utils.ts diff --git a/src/plugins/data/server/search/strategies/sql_search/response_utils.ts b/src/platform/plugins/shared/data/server/search/strategies/sql_search/response_utils.ts similarity index 100% rename from src/plugins/data/server/search/strategies/sql_search/response_utils.ts rename to src/platform/plugins/shared/data/server/search/strategies/sql_search/response_utils.ts diff --git a/src/plugins/data/server/search/strategies/sql_search/sql_search_strategy.test.ts b/src/platform/plugins/shared/data/server/search/strategies/sql_search/sql_search_strategy.test.ts similarity index 100% rename from src/plugins/data/server/search/strategies/sql_search/sql_search_strategy.test.ts rename to src/platform/plugins/shared/data/server/search/strategies/sql_search/sql_search_strategy.test.ts diff --git a/src/plugins/data/server/search/strategies/sql_search/sql_search_strategy.ts b/src/platform/plugins/shared/data/server/search/strategies/sql_search/sql_search_strategy.ts similarity index 100% rename from src/plugins/data/server/search/strategies/sql_search/sql_search_strategy.ts rename to src/platform/plugins/shared/data/server/search/strategies/sql_search/sql_search_strategy.ts diff --git a/src/plugins/data/server/search/types.ts b/src/platform/plugins/shared/data/server/search/types.ts similarity index 100% rename from src/plugins/data/server/search/types.ts rename to src/platform/plugins/shared/data/server/search/types.ts diff --git a/src/plugins/data/server/ui_settings.ts b/src/platform/plugins/shared/data/server/ui_settings.ts similarity index 100% rename from src/plugins/data/server/ui_settings.ts rename to src/platform/plugins/shared/data/server/ui_settings.ts diff --git a/src/plugins/data/tsconfig.json b/src/platform/plugins/shared/data/tsconfig.json similarity index 94% rename from src/plugins/data/tsconfig.json rename to src/platform/plugins/shared/data/tsconfig.json index 8683afafceb47..1edc83a23e05e 100644 --- a/src/plugins/data/tsconfig.json +++ b/src/platform/plugins/shared/data/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -10,7 +10,7 @@ "config.mock.ts", "common/**/*.json", "public/**/*.json", - "../../../typings/index.d.ts" + "../../../../../typings/index.d.ts" ], "kbn_references": [ "@kbn/core", diff --git a/src/plugins/expressions/.eslintrc.json b/src/platform/plugins/shared/expressions/.eslintrc.json similarity index 100% rename from src/plugins/expressions/.eslintrc.json rename to src/platform/plugins/shared/expressions/.eslintrc.json diff --git a/src/plugins/expressions/README.asciidoc b/src/platform/plugins/shared/expressions/README.asciidoc similarity index 75% rename from src/plugins/expressions/README.asciidoc rename to src/platform/plugins/shared/expressions/README.asciidoc index 6ea4d7f49cbd8..71319a2cb45d6 100644 --- a/src/plugins/expressions/README.asciidoc +++ b/src/platform/plugins/shared/expressions/README.asciidoc @@ -49,12 +49,12 @@ image::https://user-images.githubusercontent.com/9773803/74162514-3250a880-4c21- === API documentation ==== Server API -https://github.com/elastic/kibana/blob/main/docs/development/plugins/expressions/server/kibana-plugin-plugins-expressions-server.expressionsserversetup.md[Server Setup contract] -https://github.com/elastic/kibana/blob/main/docs/development/plugins/expressions/server/kibana-plugin-plugins-expressions-server.expressionsserverstart.md[Server Start contract] +https://github.com/elastic/kibana/blob/main/docs/development/platform/plugins/shared/expressions/server/kibana-plugin-plugins-expressions-server.expressionsserversetup.md[Server Setup contract] +https://github.com/elastic/kibana/blob/main/docs/development/platform/plugins/shared/expressions/server/kibana-plugin-plugins-expressions-server.expressionsserverstart.md[Server Start contract] ==== Browser API -https://github.com/elastic/kibana/blob/main/docs/development/plugins/expressions/public/kibana-plugin-plugins-expressions-public.expressionsservicesetup.md[Browser Setup contract] -https://github.com/elastic/kibana/blob/main/docs/development/plugins/expressions/public/kibana-plugin-plugins-expressions-public.expressionsstart.md[Browser Start contract] +https://github.com/elastic/kibana/blob/main/docs/development/platform/plugins/shared/expressions/public/kibana-plugin-plugins-expressions-public.expressionsservicesetup.md[Browser Setup contract] +https://github.com/elastic/kibana/blob/main/docs/development/platform/plugins/shared/expressions/public/kibana-plugin-plugins-expressions-public.expressionsstart.md[Browser Start contract] ==== Other documentation diff --git a/src/plugins/expressions/common/ast/build_expression.test.ts b/src/platform/plugins/shared/expressions/common/ast/build_expression.test.ts similarity index 100% rename from src/plugins/expressions/common/ast/build_expression.test.ts rename to src/platform/plugins/shared/expressions/common/ast/build_expression.test.ts diff --git a/src/plugins/expressions/common/ast/build_expression.ts b/src/platform/plugins/shared/expressions/common/ast/build_expression.ts similarity index 100% rename from src/plugins/expressions/common/ast/build_expression.ts rename to src/platform/plugins/shared/expressions/common/ast/build_expression.ts diff --git a/src/plugins/expressions/common/ast/build_function.test.ts b/src/platform/plugins/shared/expressions/common/ast/build_function.test.ts similarity index 100% rename from src/plugins/expressions/common/ast/build_function.test.ts rename to src/platform/plugins/shared/expressions/common/ast/build_function.test.ts diff --git a/src/plugins/expressions/common/ast/build_function.ts b/src/platform/plugins/shared/expressions/common/ast/build_function.ts similarity index 100% rename from src/plugins/expressions/common/ast/build_function.ts rename to src/platform/plugins/shared/expressions/common/ast/build_function.ts diff --git a/src/plugins/expressions/common/ast/format.test.ts b/src/platform/plugins/shared/expressions/common/ast/format.test.ts similarity index 100% rename from src/plugins/expressions/common/ast/format.test.ts rename to src/platform/plugins/shared/expressions/common/ast/format.test.ts diff --git a/src/plugins/expressions/common/ast/format.ts b/src/platform/plugins/shared/expressions/common/ast/format.ts similarity index 100% rename from src/plugins/expressions/common/ast/format.ts rename to src/platform/plugins/shared/expressions/common/ast/format.ts diff --git a/src/plugins/expressions/common/ast/format_expression.test.ts b/src/platform/plugins/shared/expressions/common/ast/format_expression.test.ts similarity index 100% rename from src/plugins/expressions/common/ast/format_expression.test.ts rename to src/platform/plugins/shared/expressions/common/ast/format_expression.test.ts diff --git a/src/plugins/expressions/common/ast/format_expression.ts b/src/platform/plugins/shared/expressions/common/ast/format_expression.ts similarity index 100% rename from src/plugins/expressions/common/ast/format_expression.ts rename to src/platform/plugins/shared/expressions/common/ast/format_expression.ts diff --git a/src/plugins/expressions/common/ast/index.ts b/src/platform/plugins/shared/expressions/common/ast/index.ts similarity index 100% rename from src/plugins/expressions/common/ast/index.ts rename to src/platform/plugins/shared/expressions/common/ast/index.ts diff --git a/src/plugins/expressions/common/ast/parse.test.ts b/src/platform/plugins/shared/expressions/common/ast/parse.test.ts similarity index 100% rename from src/plugins/expressions/common/ast/parse.test.ts rename to src/platform/plugins/shared/expressions/common/ast/parse.test.ts diff --git a/src/plugins/expressions/common/ast/parse.ts b/src/platform/plugins/shared/expressions/common/ast/parse.ts similarity index 100% rename from src/plugins/expressions/common/ast/parse.ts rename to src/platform/plugins/shared/expressions/common/ast/parse.ts diff --git a/src/plugins/expressions/common/ast/parse_expression.test.ts b/src/platform/plugins/shared/expressions/common/ast/parse_expression.test.ts similarity index 100% rename from src/plugins/expressions/common/ast/parse_expression.test.ts rename to src/platform/plugins/shared/expressions/common/ast/parse_expression.test.ts diff --git a/src/plugins/expressions/common/ast/parse_expression.ts b/src/platform/plugins/shared/expressions/common/ast/parse_expression.ts similarity index 100% rename from src/plugins/expressions/common/ast/parse_expression.ts rename to src/platform/plugins/shared/expressions/common/ast/parse_expression.ts diff --git a/src/plugins/expressions/common/ast/types.ts b/src/platform/plugins/shared/expressions/common/ast/types.ts similarity index 100% rename from src/plugins/expressions/common/ast/types.ts rename to src/platform/plugins/shared/expressions/common/ast/types.ts diff --git a/src/plugins/expressions/common/execution/container.ts b/src/platform/plugins/shared/expressions/common/execution/container.ts similarity index 100% rename from src/plugins/expressions/common/execution/container.ts rename to src/platform/plugins/shared/expressions/common/execution/container.ts diff --git a/src/plugins/expressions/common/execution/execution.abortion.test.ts b/src/platform/plugins/shared/expressions/common/execution/execution.abortion.test.ts similarity index 100% rename from src/plugins/expressions/common/execution/execution.abortion.test.ts rename to src/platform/plugins/shared/expressions/common/execution/execution.abortion.test.ts diff --git a/src/plugins/expressions/common/execution/execution.test.ts b/src/platform/plugins/shared/expressions/common/execution/execution.test.ts similarity index 100% rename from src/plugins/expressions/common/execution/execution.test.ts rename to src/platform/plugins/shared/expressions/common/execution/execution.test.ts diff --git a/src/plugins/expressions/common/execution/execution.ts b/src/platform/plugins/shared/expressions/common/execution/execution.ts similarity index 100% rename from src/plugins/expressions/common/execution/execution.ts rename to src/platform/plugins/shared/expressions/common/execution/execution.ts diff --git a/src/plugins/expressions/common/execution/execution_contract.test.ts b/src/platform/plugins/shared/expressions/common/execution/execution_contract.test.ts similarity index 100% rename from src/plugins/expressions/common/execution/execution_contract.test.ts rename to src/platform/plugins/shared/expressions/common/execution/execution_contract.test.ts diff --git a/src/plugins/expressions/common/execution/execution_contract.ts b/src/platform/plugins/shared/expressions/common/execution/execution_contract.ts similarity index 100% rename from src/plugins/expressions/common/execution/execution_contract.ts rename to src/platform/plugins/shared/expressions/common/execution/execution_contract.ts diff --git a/src/plugins/expressions/common/execution/index.ts b/src/platform/plugins/shared/expressions/common/execution/index.ts similarity index 100% rename from src/plugins/expressions/common/execution/index.ts rename to src/platform/plugins/shared/expressions/common/execution/index.ts diff --git a/src/plugins/expressions/common/execution/types.ts b/src/platform/plugins/shared/expressions/common/execution/types.ts similarity index 100% rename from src/plugins/expressions/common/execution/types.ts rename to src/platform/plugins/shared/expressions/common/execution/types.ts diff --git a/src/plugins/expressions/common/executor/__snapshots__/executor.test.ts.snap b/src/platform/plugins/shared/expressions/common/executor/__snapshots__/executor.test.ts.snap similarity index 100% rename from src/plugins/expressions/common/executor/__snapshots__/executor.test.ts.snap rename to src/platform/plugins/shared/expressions/common/executor/__snapshots__/executor.test.ts.snap diff --git a/src/plugins/expressions/common/executor/container.ts b/src/platform/plugins/shared/expressions/common/executor/container.ts similarity index 100% rename from src/plugins/expressions/common/executor/container.ts rename to src/platform/plugins/shared/expressions/common/executor/container.ts diff --git a/src/plugins/expressions/common/executor/executor.execution.test.ts b/src/platform/plugins/shared/expressions/common/executor/executor.execution.test.ts similarity index 100% rename from src/plugins/expressions/common/executor/executor.execution.test.ts rename to src/platform/plugins/shared/expressions/common/executor/executor.execution.test.ts diff --git a/src/plugins/expressions/common/executor/executor.test.ts b/src/platform/plugins/shared/expressions/common/executor/executor.test.ts similarity index 100% rename from src/plugins/expressions/common/executor/executor.test.ts rename to src/platform/plugins/shared/expressions/common/executor/executor.test.ts diff --git a/src/plugins/expressions/common/executor/executor.ts b/src/platform/plugins/shared/expressions/common/executor/executor.ts similarity index 100% rename from src/plugins/expressions/common/executor/executor.ts rename to src/platform/plugins/shared/expressions/common/executor/executor.ts diff --git a/src/plugins/expressions/common/executor/index.ts b/src/platform/plugins/shared/expressions/common/executor/index.ts similarity index 100% rename from src/plugins/expressions/common/executor/index.ts rename to src/platform/plugins/shared/expressions/common/executor/index.ts diff --git a/src/plugins/expressions/common/expression_functions/arguments.ts b/src/platform/plugins/shared/expressions/common/expression_functions/arguments.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/arguments.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/arguments.ts diff --git a/src/plugins/expressions/common/expression_functions/expression_function.ts b/src/platform/plugins/shared/expressions/common/expression_functions/expression_function.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/expression_function.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/expression_function.ts diff --git a/src/plugins/expressions/common/expression_functions/expression_function_parameter.ts b/src/platform/plugins/shared/expressions/common/expression_functions/expression_function_parameter.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/expression_function_parameter.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/expression_function_parameter.ts diff --git a/src/plugins/expressions/common/expression_functions/expression_function_parameters.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/expression_function_parameters.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/expression_function_parameters.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/expression_function_parameters.test.ts diff --git a/src/plugins/expressions/common/expression_functions/index.ts b/src/platform/plugins/shared/expressions/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/index.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/index.ts diff --git a/src/plugins/expressions/common/expression_functions/series_calculation_helpers.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/series_calculation_helpers.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/series_calculation_helpers.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/series_calculation_helpers.test.ts diff --git a/src/plugins/expressions/common/expression_functions/series_calculation_helpers.ts b/src/platform/plugins/shared/expressions/common/expression_functions/series_calculation_helpers.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/series_calculation_helpers.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/series_calculation_helpers.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/clog.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/clog.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/clog.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/clog.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/create_table.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/create_table.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/create_table.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/create_table.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/cumulative_sum.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/cumulative_sum.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/cumulative_sum_fn.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/cumulative_sum_fn.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/cumulative_sum_fn.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/cumulative_sum_fn.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/derivative.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/derivative.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/derivative.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/derivative.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/derivative_fn.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/derivative_fn.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/derivative_fn.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/derivative_fn.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/font.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/font.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/font.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/font.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/index.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/index.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/index.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/index.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/map_column.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/map_column.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/map_column.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/map_column.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/math.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/math.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/math.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/math.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/math_column.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/math_column.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/math_column.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/math_column.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/math_fn.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/math_fn.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/math_fn.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/math_fn.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/moving_average.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/moving_average.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/moving_average.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/moving_average.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/moving_average_fn.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/moving_average_fn.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/moving_average_fn.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/moving_average_fn.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/overall_metric.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/overall_metric.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/overall_metric.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/overall_metric.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/overall_metric_fn.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/overall_metric_fn.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/overall_metric_fn.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/overall_metric_fn.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/create_table.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/create_table.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/tests/create_table.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/create_table.test.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/cumulative_sum.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/cumulative_sum.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/tests/cumulative_sum.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/cumulative_sum.test.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/derivative.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/derivative.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/tests/derivative.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/derivative.test.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/font.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/font.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/tests/font.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/font.test.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/map_column.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/map_column.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/tests/map_column.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/map_column.test.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/math.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/math.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/tests/math.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/math.test.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/math_column.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/math_column.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/tests/math_column.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/math_column.test.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/moving_average.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/moving_average.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/tests/moving_average.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/moving_average.test.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/overall_metric.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/overall_metric.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/tests/overall_metric.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/overall_metric.test.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/theme.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/theme.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/tests/theme.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/theme.test.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/ui_setting.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/ui_setting.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/tests/ui_setting.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/ui_setting.test.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/utils.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/utils.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/tests/utils.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/utils.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/var.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/var.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/tests/var.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/var.test.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/tests/var_set.test.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/var_set.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/tests/var_set.test.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/tests/var_set.test.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/theme.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/theme.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/theme.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/theme.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/ui_setting.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/ui_setting.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/ui_setting.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/ui_setting.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/var.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/var.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/var.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/var.ts diff --git a/src/plugins/expressions/common/expression_functions/specs/var_set.ts b/src/platform/plugins/shared/expressions/common/expression_functions/specs/var_set.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/specs/var_set.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/specs/var_set.ts diff --git a/src/plugins/expressions/common/expression_functions/types.ts b/src/platform/plugins/shared/expressions/common/expression_functions/types.ts similarity index 100% rename from src/plugins/expressions/common/expression_functions/types.ts rename to src/platform/plugins/shared/expressions/common/expression_functions/types.ts diff --git a/src/plugins/expressions/common/expression_renderers/expression_renderer.ts b/src/platform/plugins/shared/expressions/common/expression_renderers/expression_renderer.ts similarity index 100% rename from src/plugins/expressions/common/expression_renderers/expression_renderer.ts rename to src/platform/plugins/shared/expressions/common/expression_renderers/expression_renderer.ts diff --git a/src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts b/src/platform/plugins/shared/expressions/common/expression_renderers/expression_renderer_registry.ts similarity index 100% rename from src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts rename to src/platform/plugins/shared/expressions/common/expression_renderers/expression_renderer_registry.ts diff --git a/src/plugins/expressions/common/expression_renderers/index.ts b/src/platform/plugins/shared/expressions/common/expression_renderers/index.ts similarity index 100% rename from src/plugins/expressions/common/expression_renderers/index.ts rename to src/platform/plugins/shared/expressions/common/expression_renderers/index.ts diff --git a/src/plugins/expressions/common/expression_renderers/types.ts b/src/platform/plugins/shared/expressions/common/expression_renderers/types.ts similarity index 100% rename from src/plugins/expressions/common/expression_renderers/types.ts rename to src/platform/plugins/shared/expressions/common/expression_renderers/types.ts diff --git a/src/plugins/expressions/common/expression_types/expression_type.test.ts b/src/platform/plugins/shared/expressions/common/expression_types/expression_type.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/expression_type.test.ts rename to src/platform/plugins/shared/expressions/common/expression_types/expression_type.test.ts diff --git a/src/plugins/expressions/common/expression_types/expression_type.ts b/src/platform/plugins/shared/expressions/common/expression_types/expression_type.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/expression_type.ts rename to src/platform/plugins/shared/expressions/common/expression_types/expression_type.ts diff --git a/src/plugins/expressions/common/expression_types/get_type.test.ts b/src/platform/plugins/shared/expressions/common/expression_types/get_type.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/get_type.test.ts rename to src/platform/plugins/shared/expressions/common/expression_types/get_type.test.ts diff --git a/src/plugins/expressions/common/expression_types/get_type.ts b/src/platform/plugins/shared/expressions/common/expression_types/get_type.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/get_type.ts rename to src/platform/plugins/shared/expressions/common/expression_types/get_type.ts diff --git a/src/plugins/expressions/common/expression_types/index.ts b/src/platform/plugins/shared/expressions/common/expression_types/index.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/index.ts rename to src/platform/plugins/shared/expressions/common/expression_types/index.ts diff --git a/src/plugins/expressions/common/expression_types/serialize_provider.ts b/src/platform/plugins/shared/expressions/common/expression_types/serialize_provider.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/serialize_provider.ts rename to src/platform/plugins/shared/expressions/common/expression_types/serialize_provider.ts diff --git a/src/plugins/expressions/common/expression_types/specs/boolean.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/boolean.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/boolean.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/boolean.ts diff --git a/src/plugins/expressions/common/expression_types/specs/datatable.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/datatable.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/datatable.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/datatable.ts diff --git a/src/plugins/expressions/common/expression_types/specs/error.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/error.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/error.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/error.ts diff --git a/src/plugins/expressions/common/expression_types/specs/filter.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/filter.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/filter.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/filter.ts diff --git a/src/plugins/expressions/common/expression_types/specs/image.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/image.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/image.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/image.ts diff --git a/src/plugins/expressions/common/expression_types/specs/index.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/index.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/index.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/index.ts diff --git a/src/plugins/expressions/common/expression_types/specs/null.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/null.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/null.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/null.ts diff --git a/src/plugins/expressions/common/expression_types/specs/num.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/num.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/num.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/num.ts diff --git a/src/plugins/expressions/common/expression_types/specs/number.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/number.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/number.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/number.ts diff --git a/src/plugins/expressions/common/expression_types/specs/pointseries.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/pointseries.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/pointseries.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/pointseries.ts diff --git a/src/plugins/expressions/common/expression_types/specs/range.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/range.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/range.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/range.ts diff --git a/src/plugins/expressions/common/expression_types/specs/render.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/render.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/render.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/render.ts diff --git a/src/plugins/expressions/common/expression_types/specs/shape.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/shape.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/shape.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/shape.ts diff --git a/src/plugins/expressions/common/expression_types/specs/string.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/string.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/string.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/string.ts diff --git a/src/plugins/expressions/common/expression_types/specs/style.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/style.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/style.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/style.ts diff --git a/src/plugins/expressions/common/expression_types/specs/tests/number.test.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/tests/number.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/tests/number.test.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/tests/number.test.ts diff --git a/src/plugins/expressions/common/expression_types/specs/tests/ui_setting.test.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/tests/ui_setting.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/tests/ui_setting.test.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/tests/ui_setting.test.ts diff --git a/src/plugins/expressions/common/expression_types/specs/ui_setting.ts b/src/platform/plugins/shared/expressions/common/expression_types/specs/ui_setting.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/specs/ui_setting.ts rename to src/platform/plugins/shared/expressions/common/expression_types/specs/ui_setting.ts diff --git a/src/plugins/expressions/common/expression_types/types.ts b/src/platform/plugins/shared/expressions/common/expression_types/types.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/types.ts rename to src/platform/plugins/shared/expressions/common/expression_types/types.ts diff --git a/src/plugins/expressions/common/expression_types/unbox_expression_value.test.ts b/src/platform/plugins/shared/expressions/common/expression_types/unbox_expression_value.test.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/unbox_expression_value.test.ts rename to src/platform/plugins/shared/expressions/common/expression_types/unbox_expression_value.test.ts diff --git a/src/plugins/expressions/common/expression_types/unbox_expression_value.ts b/src/platform/plugins/shared/expressions/common/expression_types/unbox_expression_value.ts similarity index 100% rename from src/plugins/expressions/common/expression_types/unbox_expression_value.ts rename to src/platform/plugins/shared/expressions/common/expression_types/unbox_expression_value.ts diff --git a/src/plugins/expressions/common/fonts.ts b/src/platform/plugins/shared/expressions/common/fonts.ts similarity index 100% rename from src/plugins/expressions/common/fonts.ts rename to src/platform/plugins/shared/expressions/common/fonts.ts diff --git a/src/plugins/expressions/common/index.ts b/src/platform/plugins/shared/expressions/common/index.ts similarity index 100% rename from src/plugins/expressions/common/index.ts rename to src/platform/plugins/shared/expressions/common/index.ts diff --git a/src/plugins/expressions/common/mocks.ts b/src/platform/plugins/shared/expressions/common/mocks.ts similarity index 100% rename from src/plugins/expressions/common/mocks.ts rename to src/platform/plugins/shared/expressions/common/mocks.ts diff --git a/src/plugins/expressions/common/service/expressions_fork.ts b/src/platform/plugins/shared/expressions/common/service/expressions_fork.ts similarity index 100% rename from src/plugins/expressions/common/service/expressions_fork.ts rename to src/platform/plugins/shared/expressions/common/service/expressions_fork.ts diff --git a/src/plugins/expressions/common/service/expressions_services.test.ts b/src/platform/plugins/shared/expressions/common/service/expressions_services.test.ts similarity index 100% rename from src/plugins/expressions/common/service/expressions_services.test.ts rename to src/platform/plugins/shared/expressions/common/service/expressions_services.test.ts diff --git a/src/plugins/expressions/common/service/expressions_services.ts b/src/platform/plugins/shared/expressions/common/service/expressions_services.ts similarity index 100% rename from src/plugins/expressions/common/service/expressions_services.ts rename to src/platform/plugins/shared/expressions/common/service/expressions_services.ts diff --git a/src/plugins/expressions/common/service/index.ts b/src/platform/plugins/shared/expressions/common/service/index.ts similarity index 100% rename from src/plugins/expressions/common/service/index.ts rename to src/platform/plugins/shared/expressions/common/service/index.ts diff --git a/src/plugins/expressions/common/test_helpers/create_unit_test_executor.ts b/src/platform/plugins/shared/expressions/common/test_helpers/create_unit_test_executor.ts similarity index 100% rename from src/plugins/expressions/common/test_helpers/create_unit_test_executor.ts rename to src/platform/plugins/shared/expressions/common/test_helpers/create_unit_test_executor.ts diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/access.ts b/src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/access.ts similarity index 100% rename from src/plugins/expressions/common/test_helpers/expression_functions/access.ts rename to src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/access.ts diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/add.ts b/src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/add.ts similarity index 100% rename from src/plugins/expressions/common/test_helpers/expression_functions/add.ts rename to src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/add.ts diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/error.ts b/src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/error.ts similarity index 100% rename from src/plugins/expressions/common/test_helpers/expression_functions/error.ts rename to src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/error.ts diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/index.ts b/src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/index.ts similarity index 100% rename from src/plugins/expressions/common/test_helpers/expression_functions/index.ts rename to src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/index.ts diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/introspect_context.ts b/src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/introspect_context.ts similarity index 100% rename from src/plugins/expressions/common/test_helpers/expression_functions/introspect_context.ts rename to src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/introspect_context.ts diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/mult.ts b/src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/mult.ts similarity index 100% rename from src/plugins/expressions/common/test_helpers/expression_functions/mult.ts rename to src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/mult.ts diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/sleep.ts b/src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/sleep.ts similarity index 100% rename from src/plugins/expressions/common/test_helpers/expression_functions/sleep.ts rename to src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/sleep.ts diff --git a/src/plugins/expressions/common/test_helpers/expression_functions/sum.ts b/src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/sum.ts similarity index 100% rename from src/plugins/expressions/common/test_helpers/expression_functions/sum.ts rename to src/platform/plugins/shared/expressions/common/test_helpers/expression_functions/sum.ts diff --git a/src/plugins/expressions/common/test_helpers/index.ts b/src/platform/plugins/shared/expressions/common/test_helpers/index.ts similarity index 100% rename from src/plugins/expressions/common/test_helpers/index.ts rename to src/platform/plugins/shared/expressions/common/test_helpers/index.ts diff --git a/src/plugins/expressions/common/types/common.ts b/src/platform/plugins/shared/expressions/common/types/common.ts similarity index 100% rename from src/plugins/expressions/common/types/common.ts rename to src/platform/plugins/shared/expressions/common/types/common.ts diff --git a/src/plugins/expressions/common/types/index.ts b/src/platform/plugins/shared/expressions/common/types/index.ts similarity index 100% rename from src/plugins/expressions/common/types/index.ts rename to src/platform/plugins/shared/expressions/common/types/index.ts diff --git a/src/plugins/expressions/common/types/registry.ts b/src/platform/plugins/shared/expressions/common/types/registry.ts similarity index 100% rename from src/plugins/expressions/common/types/registry.ts rename to src/platform/plugins/shared/expressions/common/types/registry.ts diff --git a/src/plugins/expressions/common/types/style.ts b/src/platform/plugins/shared/expressions/common/types/style.ts similarity index 100% rename from src/plugins/expressions/common/types/style.ts rename to src/platform/plugins/shared/expressions/common/types/style.ts diff --git a/src/plugins/expressions/common/util/create_default_inspector_adapters.ts b/src/platform/plugins/shared/expressions/common/util/create_default_inspector_adapters.ts similarity index 100% rename from src/plugins/expressions/common/util/create_default_inspector_adapters.ts rename to src/platform/plugins/shared/expressions/common/util/create_default_inspector_adapters.ts diff --git a/src/plugins/expressions/common/util/create_error.ts b/src/platform/plugins/shared/expressions/common/util/create_error.ts similarity index 100% rename from src/plugins/expressions/common/util/create_error.ts rename to src/platform/plugins/shared/expressions/common/util/create_error.ts diff --git a/src/plugins/expressions/common/util/expressions_inspector_adapter.ts b/src/platform/plugins/shared/expressions/common/util/expressions_inspector_adapter.ts similarity index 100% rename from src/plugins/expressions/common/util/expressions_inspector_adapter.ts rename to src/platform/plugins/shared/expressions/common/util/expressions_inspector_adapter.ts diff --git a/src/plugins/expressions/common/util/get_by_alias.ts b/src/platform/plugins/shared/expressions/common/util/get_by_alias.ts similarity index 100% rename from src/plugins/expressions/common/util/get_by_alias.ts rename to src/platform/plugins/shared/expressions/common/util/get_by_alias.ts diff --git a/src/plugins/expressions/common/util/index.ts b/src/platform/plugins/shared/expressions/common/util/index.ts similarity index 100% rename from src/plugins/expressions/common/util/index.ts rename to src/platform/plugins/shared/expressions/common/util/index.ts diff --git a/src/plugins/expressions/common/util/tables_adapter.ts b/src/platform/plugins/shared/expressions/common/util/tables_adapter.ts similarity index 100% rename from src/plugins/expressions/common/util/tables_adapter.ts rename to src/platform/plugins/shared/expressions/common/util/tables_adapter.ts diff --git a/src/plugins/expressions/common/util/test_utils.ts b/src/platform/plugins/shared/expressions/common/util/test_utils.ts similarity index 100% rename from src/plugins/expressions/common/util/test_utils.ts rename to src/platform/plugins/shared/expressions/common/util/test_utils.ts diff --git a/src/platform/plugins/shared/expressions/jest.config.js b/src/platform/plugins/shared/expressions/jest.config.js new file mode 100644 index 0000000000000..c371bb45eb2f7 --- /dev/null +++ b/src/platform/plugins/shared/expressions/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expressions'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expressions', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/expressions/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/expressions/kibana.jsonc b/src/platform/plugins/shared/expressions/kibana.jsonc similarity index 100% rename from src/plugins/expressions/kibana.jsonc rename to src/platform/plugins/shared/expressions/kibana.jsonc diff --git a/src/plugins/expressions/public/_expression_renderer.scss b/src/platform/plugins/shared/expressions/public/_expression_renderer.scss similarity index 100% rename from src/plugins/expressions/public/_expression_renderer.scss rename to src/platform/plugins/shared/expressions/public/_expression_renderer.scss diff --git a/src/plugins/expressions/public/expression_functions/index.ts b/src/platform/plugins/shared/expressions/public/expression_functions/index.ts similarity index 100% rename from src/plugins/expressions/public/expression_functions/index.ts rename to src/platform/plugins/shared/expressions/public/expression_functions/index.ts diff --git a/src/plugins/expressions/public/expression_functions/ui_setting.ts b/src/platform/plugins/shared/expressions/public/expression_functions/ui_setting.ts similarity index 100% rename from src/plugins/expressions/public/expression_functions/ui_setting.ts rename to src/platform/plugins/shared/expressions/public/expression_functions/ui_setting.ts diff --git a/src/plugins/expressions/public/index.scss b/src/platform/plugins/shared/expressions/public/index.scss similarity index 100% rename from src/plugins/expressions/public/index.scss rename to src/platform/plugins/shared/expressions/public/index.scss diff --git a/src/plugins/expressions/public/index.ts b/src/platform/plugins/shared/expressions/public/index.ts similarity index 100% rename from src/plugins/expressions/public/index.ts rename to src/platform/plugins/shared/expressions/public/index.ts diff --git a/src/plugins/expressions/public/loader.test.ts b/src/platform/plugins/shared/expressions/public/loader.test.ts similarity index 98% rename from src/plugins/expressions/public/loader.test.ts rename to src/platform/plugins/shared/expressions/public/loader.test.ts index e31ce3e98149c..b3098bfd8dd0a 100644 --- a/src/plugins/expressions/public/loader.test.ts +++ b/src/platform/plugins/shared/expressions/public/loader.test.ts @@ -21,7 +21,7 @@ import { ExecutionContract, } from '../common'; -// eslint-disable-next-line @typescript-eslint/no-var-requires,import/no-commonjs +// eslint-disable-next-line @typescript-eslint/no-var-requires const { __getLastExecution, __getLastRenderMode } = require('./services'); const element = null as unknown as HTMLElement; diff --git a/src/plugins/expressions/public/loader.ts b/src/platform/plugins/shared/expressions/public/loader.ts similarity index 100% rename from src/plugins/expressions/public/loader.ts rename to src/platform/plugins/shared/expressions/public/loader.ts diff --git a/src/plugins/expressions/public/mocks.tsx b/src/platform/plugins/shared/expressions/public/mocks.tsx similarity index 100% rename from src/plugins/expressions/public/mocks.tsx rename to src/platform/plugins/shared/expressions/public/mocks.tsx diff --git a/src/plugins/expressions/public/plugin.test.ts b/src/platform/plugins/shared/expressions/public/plugin.test.ts similarity index 100% rename from src/plugins/expressions/public/plugin.test.ts rename to src/platform/plugins/shared/expressions/public/plugin.test.ts diff --git a/src/plugins/expressions/public/plugin.ts b/src/platform/plugins/shared/expressions/public/plugin.ts similarity index 100% rename from src/plugins/expressions/public/plugin.ts rename to src/platform/plugins/shared/expressions/public/plugin.ts diff --git a/src/plugins/expressions/public/react_expression_renderer/index.ts b/src/platform/plugins/shared/expressions/public/react_expression_renderer/index.ts similarity index 100% rename from src/plugins/expressions/public/react_expression_renderer/index.ts rename to src/platform/plugins/shared/expressions/public/react_expression_renderer/index.ts diff --git a/src/plugins/expressions/public/react_expression_renderer/react_expression_renderer.test.tsx b/src/platform/plugins/shared/expressions/public/react_expression_renderer/react_expression_renderer.test.tsx similarity index 100% rename from src/plugins/expressions/public/react_expression_renderer/react_expression_renderer.test.tsx rename to src/platform/plugins/shared/expressions/public/react_expression_renderer/react_expression_renderer.test.tsx diff --git a/src/plugins/expressions/public/react_expression_renderer/react_expression_renderer.tsx b/src/platform/plugins/shared/expressions/public/react_expression_renderer/react_expression_renderer.tsx similarity index 100% rename from src/plugins/expressions/public/react_expression_renderer/react_expression_renderer.tsx rename to src/platform/plugins/shared/expressions/public/react_expression_renderer/react_expression_renderer.tsx diff --git a/src/plugins/expressions/public/react_expression_renderer/shallow_equal.d.ts b/src/platform/plugins/shared/expressions/public/react_expression_renderer/shallow_equal.d.ts similarity index 100% rename from src/plugins/expressions/public/react_expression_renderer/shallow_equal.d.ts rename to src/platform/plugins/shared/expressions/public/react_expression_renderer/shallow_equal.d.ts diff --git a/src/plugins/expressions/public/react_expression_renderer/use_debounced_value.test.ts b/src/platform/plugins/shared/expressions/public/react_expression_renderer/use_debounced_value.test.ts similarity index 100% rename from src/plugins/expressions/public/react_expression_renderer/use_debounced_value.test.ts rename to src/platform/plugins/shared/expressions/public/react_expression_renderer/use_debounced_value.test.ts diff --git a/src/plugins/expressions/public/react_expression_renderer/use_debounced_value.ts b/src/platform/plugins/shared/expressions/public/react_expression_renderer/use_debounced_value.ts similarity index 100% rename from src/plugins/expressions/public/react_expression_renderer/use_debounced_value.ts rename to src/platform/plugins/shared/expressions/public/react_expression_renderer/use_debounced_value.ts diff --git a/src/plugins/expressions/public/react_expression_renderer/use_expression_renderer.test.ts b/src/platform/plugins/shared/expressions/public/react_expression_renderer/use_expression_renderer.test.ts similarity index 100% rename from src/plugins/expressions/public/react_expression_renderer/use_expression_renderer.test.ts rename to src/platform/plugins/shared/expressions/public/react_expression_renderer/use_expression_renderer.test.ts diff --git a/src/plugins/expressions/public/react_expression_renderer/use_expression_renderer.ts b/src/platform/plugins/shared/expressions/public/react_expression_renderer/use_expression_renderer.ts similarity index 100% rename from src/plugins/expressions/public/react_expression_renderer/use_expression_renderer.ts rename to src/platform/plugins/shared/expressions/public/react_expression_renderer/use_expression_renderer.ts diff --git a/src/plugins/expressions/public/react_expression_renderer/use_shallow_memo.test.ts b/src/platform/plugins/shared/expressions/public/react_expression_renderer/use_shallow_memo.test.ts similarity index 100% rename from src/plugins/expressions/public/react_expression_renderer/use_shallow_memo.test.ts rename to src/platform/plugins/shared/expressions/public/react_expression_renderer/use_shallow_memo.test.ts diff --git a/src/plugins/expressions/public/react_expression_renderer/use_shallow_memo.ts b/src/platform/plugins/shared/expressions/public/react_expression_renderer/use_shallow_memo.ts similarity index 100% rename from src/plugins/expressions/public/react_expression_renderer/use_shallow_memo.ts rename to src/platform/plugins/shared/expressions/public/react_expression_renderer/use_shallow_memo.ts diff --git a/src/plugins/expressions/public/react_expression_renderer_wrapper.tsx b/src/platform/plugins/shared/expressions/public/react_expression_renderer_wrapper.tsx similarity index 100% rename from src/plugins/expressions/public/react_expression_renderer_wrapper.tsx rename to src/platform/plugins/shared/expressions/public/react_expression_renderer_wrapper.tsx diff --git a/src/plugins/expressions/public/render.test.ts b/src/platform/plugins/shared/expressions/public/render.test.ts similarity index 100% rename from src/plugins/expressions/public/render.test.ts rename to src/platform/plugins/shared/expressions/public/render.test.ts diff --git a/src/plugins/expressions/public/render.ts b/src/platform/plugins/shared/expressions/public/render.ts similarity index 100% rename from src/plugins/expressions/public/render.ts rename to src/platform/plugins/shared/expressions/public/render.ts diff --git a/src/plugins/expressions/public/render_error_handler.ts b/src/platform/plugins/shared/expressions/public/render_error_handler.ts similarity index 100% rename from src/plugins/expressions/public/render_error_handler.ts rename to src/platform/plugins/shared/expressions/public/render_error_handler.ts diff --git a/src/plugins/expressions/public/services/expressions_services.ts b/src/platform/plugins/shared/expressions/public/services/expressions_services.ts similarity index 100% rename from src/plugins/expressions/public/services/expressions_services.ts rename to src/platform/plugins/shared/expressions/public/services/expressions_services.ts diff --git a/src/plugins/expressions/public/services/index.ts b/src/platform/plugins/shared/expressions/public/services/index.ts similarity index 100% rename from src/plugins/expressions/public/services/index.ts rename to src/platform/plugins/shared/expressions/public/services/index.ts diff --git a/src/plugins/expressions/public/types/index.ts b/src/platform/plugins/shared/expressions/public/types/index.ts similarity index 100% rename from src/plugins/expressions/public/types/index.ts rename to src/platform/plugins/shared/expressions/public/types/index.ts diff --git a/src/plugins/expressions/server/expression_functions/index.ts b/src/platform/plugins/shared/expressions/server/expression_functions/index.ts similarity index 100% rename from src/plugins/expressions/server/expression_functions/index.ts rename to src/platform/plugins/shared/expressions/server/expression_functions/index.ts diff --git a/src/plugins/expressions/server/expression_functions/ui_setting.ts b/src/platform/plugins/shared/expressions/server/expression_functions/ui_setting.ts similarity index 100% rename from src/plugins/expressions/server/expression_functions/ui_setting.ts rename to src/platform/plugins/shared/expressions/server/expression_functions/ui_setting.ts diff --git a/src/plugins/expressions/server/index.ts b/src/platform/plugins/shared/expressions/server/index.ts similarity index 100% rename from src/plugins/expressions/server/index.ts rename to src/platform/plugins/shared/expressions/server/index.ts diff --git a/src/plugins/expressions/server/mocks.ts b/src/platform/plugins/shared/expressions/server/mocks.ts similarity index 100% rename from src/plugins/expressions/server/mocks.ts rename to src/platform/plugins/shared/expressions/server/mocks.ts diff --git a/src/plugins/expressions/server/plugin.test.ts b/src/platform/plugins/shared/expressions/server/plugin.test.ts similarity index 100% rename from src/plugins/expressions/server/plugin.test.ts rename to src/platform/plugins/shared/expressions/server/plugin.test.ts diff --git a/src/plugins/expressions/server/plugin.ts b/src/platform/plugins/shared/expressions/server/plugin.ts similarity index 100% rename from src/plugins/expressions/server/plugin.ts rename to src/platform/plugins/shared/expressions/server/plugin.ts diff --git a/src/plugins/expressions/server/services/expressions_services.ts b/src/platform/plugins/shared/expressions/server/services/expressions_services.ts similarity index 100% rename from src/plugins/expressions/server/services/expressions_services.ts rename to src/platform/plugins/shared/expressions/server/services/expressions_services.ts diff --git a/src/plugins/expressions/server/services/index.ts b/src/platform/plugins/shared/expressions/server/services/index.ts similarity index 100% rename from src/plugins/expressions/server/services/index.ts rename to src/platform/plugins/shared/expressions/server/services/index.ts diff --git a/src/plugins/expressions/tsconfig.json b/src/platform/plugins/shared/expressions/tsconfig.json similarity index 91% rename from src/plugins/expressions/tsconfig.json rename to src/platform/plugins/shared/expressions/tsconfig.json index 5854100d9fa09..fcb24733314f3 100644 --- a/src/plugins/expressions/tsconfig.json +++ b/src/platform/plugins/shared/expressions/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/platform/plugins/shared/telemetry/schema/oss_platform.json b/src/platform/plugins/shared/telemetry/schema/oss_platform.json index b39b362bcfa36..505773de2b392 100644 --- a/src/platform/plugins/shared/telemetry/schema/oss_platform.json +++ b/src/platform/plugins/shared/telemetry/schema/oss_platform.json @@ -10171,6 +10171,19 @@ } } }, + "kql": { + "properties": { + "optInCount": { + "type": "long" + }, + "optOutCount": { + "type": "long" + }, + "defaultQueryLanguage": { + "type": "keyword" + } + } + }, "localization": { "properties": { "locale": { @@ -10269,6 +10282,32 @@ } } }, + "search": { + "properties": { + "successCount": { + "type": "long" + }, + "errorCount": { + "type": "long" + }, + "averageDuration": { + "type": "float" + } + } + }, + "search-session": { + "properties": { + "transientCount": { + "type": "long" + }, + "persistedCount": { + "type": "long" + }, + "totalCount": { + "type": "long" + } + } + }, "stack_management": { "properties": { "securitySolution:defaultIndex": { diff --git a/src/platform/plugins/shared/telemetry/schema/oss_plugins.json b/src/platform/plugins/shared/telemetry/schema/oss_plugins.json index d25e9a0b9302c..d5b0514b64918 100644 --- a/src/platform/plugins/shared/telemetry/schema/oss_plugins.json +++ b/src/platform/plugins/shared/telemetry/schema/oss_plugins.json @@ -1,43 +1,3 @@ { - "properties": { - "kql": { - "properties": { - "optInCount": { - "type": "long" - }, - "optOutCount": { - "type": "long" - }, - "defaultQueryLanguage": { - "type": "keyword" - } - } - }, - "search": { - "properties": { - "successCount": { - "type": "long" - }, - "errorCount": { - "type": "long" - }, - "averageDuration": { - "type": "float" - } - } - }, - "search-session": { - "properties": { - "transientCount": { - "type": "long" - }, - "persistedCount": { - "type": "long" - }, - "totalCount": { - "type": "long" - } - } - } - } + "properties": {} } diff --git a/src/plugins/unified_search/.storybook/main.js b/src/platform/plugins/shared/unified_search/.storybook/main.js similarity index 100% rename from src/plugins/unified_search/.storybook/main.js rename to src/platform/plugins/shared/unified_search/.storybook/main.js diff --git a/src/plugins/unified_search/README.md b/src/platform/plugins/shared/unified_search/README.md similarity index 100% rename from src/plugins/unified_search/README.md rename to src/platform/plugins/shared/unified_search/README.md diff --git a/src/plugins/event_annotation/jest.config.js b/src/platform/plugins/shared/unified_search/jest.config.js similarity index 68% rename from src/plugins/event_annotation/jest.config.js rename to src/platform/plugins/shared/unified_search/jest.config.js index cebdf7be20e62..5e3e6964bc3f2 100644 --- a/src/plugins/event_annotation/jest.config.js +++ b/src/platform/plugins/shared/unified_search/jest.config.js @@ -9,12 +9,13 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/event_annotation'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/event_annotation', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/unified_search'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/unified_search', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/event_annotation/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/unified_search/public/**/*.{ts,tsx}', ], setupFiles: ['jest-canvas-mock'], }; diff --git a/src/plugins/unified_search/kibana.jsonc b/src/platform/plugins/shared/unified_search/kibana.jsonc similarity index 100% rename from src/plugins/unified_search/kibana.jsonc rename to src/platform/plugins/shared/unified_search/kibana.jsonc diff --git a/src/plugins/unified_search/public/__stories__/search_bar.stories.tsx b/src/platform/plugins/shared/unified_search/public/__stories__/search_bar.stories.tsx similarity index 100% rename from src/plugins/unified_search/public/__stories__/search_bar.stories.tsx rename to src/platform/plugins/shared/unified_search/public/__stories__/search_bar.stories.tsx diff --git a/src/plugins/unified_search/public/actions/apply_filter_action.ts b/src/platform/plugins/shared/unified_search/public/actions/apply_filter_action.ts similarity index 100% rename from src/plugins/unified_search/public/actions/apply_filter_action.ts rename to src/platform/plugins/shared/unified_search/public/actions/apply_filter_action.ts diff --git a/src/plugins/unified_search/public/actions/index.ts b/src/platform/plugins/shared/unified_search/public/actions/index.ts similarity index 100% rename from src/plugins/unified_search/public/actions/index.ts rename to src/platform/plugins/shared/unified_search/public/actions/index.ts diff --git a/src/plugins/unified_search/public/actions/update_filter_references_action.test.ts b/src/platform/plugins/shared/unified_search/public/actions/update_filter_references_action.test.ts similarity index 100% rename from src/plugins/unified_search/public/actions/update_filter_references_action.test.ts rename to src/platform/plugins/shared/unified_search/public/actions/update_filter_references_action.test.ts diff --git a/src/plugins/unified_search/public/actions/update_filter_references_action.ts b/src/platform/plugins/shared/unified_search/public/actions/update_filter_references_action.ts similarity index 100% rename from src/plugins/unified_search/public/actions/update_filter_references_action.ts rename to src/platform/plugins/shared/unified_search/public/actions/update_filter_references_action.ts diff --git a/src/plugins/unified_search/public/apply_filters/apply_filter_popover_content.tsx b/src/platform/plugins/shared/unified_search/public/apply_filters/apply_filter_popover_content.tsx similarity index 100% rename from src/plugins/unified_search/public/apply_filters/apply_filter_popover_content.tsx rename to src/platform/plugins/shared/unified_search/public/apply_filters/apply_filter_popover_content.tsx diff --git a/src/plugins/unified_search/public/apply_filters/apply_filters_popover.tsx b/src/platform/plugins/shared/unified_search/public/apply_filters/apply_filters_popover.tsx similarity index 100% rename from src/plugins/unified_search/public/apply_filters/apply_filters_popover.tsx rename to src/platform/plugins/shared/unified_search/public/apply_filters/apply_filters_popover.tsx diff --git a/src/plugins/unified_search/public/apply_filters/index.ts b/src/platform/plugins/shared/unified_search/public/apply_filters/index.ts similarity index 100% rename from src/plugins/unified_search/public/apply_filters/index.ts rename to src/platform/plugins/shared/unified_search/public/apply_filters/index.ts diff --git a/src/plugins/unified_search/public/autocomplete/autocomplete_service.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/autocomplete_service.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/autocomplete_service.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/autocomplete_service.ts diff --git a/src/plugins/unified_search/public/autocomplete/collectors/create_usage_collector.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/collectors/create_usage_collector.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/collectors/create_usage_collector.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/collectors/create_usage_collector.ts diff --git a/src/plugins/unified_search/public/autocomplete/collectors/index.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/collectors/index.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/collectors/index.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/collectors/index.ts diff --git a/src/plugins/unified_search/public/autocomplete/collectors/types.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/collectors/types.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/collectors/types.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/collectors/types.ts diff --git a/src/plugins/unified_search/public/autocomplete/index.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/index.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/index.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/index.ts diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/README.md b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/README.md similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/README.md rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/README.md diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/__fixtures__/index_pattern_response.json b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/__fixtures__/index_pattern_response.json similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/__fixtures__/index_pattern_response.json rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/__fixtures__/index_pattern_response.json diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/async_loads.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/async_loads.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/async_loads.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/async_loads.ts diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/conjunction.test.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/conjunction.test.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/conjunction.test.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/conjunction.test.ts diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/conjunction.tsx b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/conjunction.tsx similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/conjunction.tsx rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/conjunction.tsx diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/field.test.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/field.test.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/field.test.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/field.test.ts diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/field.tsx b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/field.tsx similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/field.tsx rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/field.tsx diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/index.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/index.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/index.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/index.ts diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/operator.test.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/operator.test.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/operator.test.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/operator.test.ts diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/operator.tsx b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/operator.tsx similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/operator.tsx rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/operator.tsx diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/sort_prefix_first.test.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/sort_prefix_first.test.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/sort_prefix_first.test.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/sort_prefix_first.test.ts diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/sort_prefix_first.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/sort_prefix_first.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/sort_prefix_first.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/sort_prefix_first.ts diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/types.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/types.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/types.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/types.ts diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/value.test.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/value.test.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/value.test.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/value.test.ts diff --git a/src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/value.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/value.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/kql_query_suggestion/value.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/kql_query_suggestion/value.ts diff --git a/src/plugins/unified_search/public/autocomplete/providers/query_suggestion_provider.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/query_suggestion_provider.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/query_suggestion_provider.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/query_suggestion_provider.ts diff --git a/src/plugins/unified_search/public/autocomplete/providers/value_suggestion_provider.test.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/value_suggestion_provider.test.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/value_suggestion_provider.test.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/value_suggestion_provider.test.ts diff --git a/src/plugins/unified_search/public/autocomplete/providers/value_suggestion_provider.ts b/src/platform/plugins/shared/unified_search/public/autocomplete/providers/value_suggestion_provider.ts similarity index 100% rename from src/plugins/unified_search/public/autocomplete/providers/value_suggestion_provider.ts rename to src/platform/plugins/shared/unified_search/public/autocomplete/providers/value_suggestion_provider.ts diff --git a/src/plugins/unified_search/public/dataview_picker/assets/adhoc.svg b/src/platform/plugins/shared/unified_search/public/dataview_picker/assets/adhoc.svg similarity index 100% rename from src/plugins/unified_search/public/dataview_picker/assets/adhoc.svg rename to src/platform/plugins/shared/unified_search/public/dataview_picker/assets/adhoc.svg diff --git a/src/plugins/unified_search/public/dataview_picker/change_dataview.styles.ts b/src/platform/plugins/shared/unified_search/public/dataview_picker/change_dataview.styles.ts similarity index 100% rename from src/plugins/unified_search/public/dataview_picker/change_dataview.styles.ts rename to src/platform/plugins/shared/unified_search/public/dataview_picker/change_dataview.styles.ts diff --git a/src/plugins/unified_search/public/dataview_picker/change_dataview.test.tsx b/src/platform/plugins/shared/unified_search/public/dataview_picker/change_dataview.test.tsx similarity index 100% rename from src/plugins/unified_search/public/dataview_picker/change_dataview.test.tsx rename to src/platform/plugins/shared/unified_search/public/dataview_picker/change_dataview.test.tsx diff --git a/src/plugins/unified_search/public/dataview_picker/change_dataview.tsx b/src/platform/plugins/shared/unified_search/public/dataview_picker/change_dataview.tsx similarity index 100% rename from src/plugins/unified_search/public/dataview_picker/change_dataview.tsx rename to src/platform/plugins/shared/unified_search/public/dataview_picker/change_dataview.tsx diff --git a/src/plugins/unified_search/public/dataview_picker/data_view_picker.tsx b/src/platform/plugins/shared/unified_search/public/dataview_picker/data_view_picker.tsx similarity index 100% rename from src/plugins/unified_search/public/dataview_picker/data_view_picker.tsx rename to src/platform/plugins/shared/unified_search/public/dataview_picker/data_view_picker.tsx diff --git a/src/plugins/unified_search/public/dataview_picker/data_view_selector.tsx b/src/platform/plugins/shared/unified_search/public/dataview_picker/data_view_selector.tsx similarity index 100% rename from src/plugins/unified_search/public/dataview_picker/data_view_selector.tsx rename to src/platform/plugins/shared/unified_search/public/dataview_picker/data_view_selector.tsx diff --git a/src/plugins/unified_search/public/dataview_picker/dataview_list.test.tsx b/src/platform/plugins/shared/unified_search/public/dataview_picker/dataview_list.test.tsx similarity index 100% rename from src/plugins/unified_search/public/dataview_picker/dataview_list.test.tsx rename to src/platform/plugins/shared/unified_search/public/dataview_picker/dataview_list.test.tsx diff --git a/src/plugins/unified_search/public/dataview_picker/dataview_list.tsx b/src/platform/plugins/shared/unified_search/public/dataview_picker/dataview_list.tsx similarity index 100% rename from src/plugins/unified_search/public/dataview_picker/dataview_list.tsx rename to src/platform/plugins/shared/unified_search/public/dataview_picker/dataview_list.tsx diff --git a/src/plugins/unified_search/public/dataview_picker/explore_matching_button.tsx b/src/platform/plugins/shared/unified_search/public/dataview_picker/explore_matching_button.tsx similarity index 100% rename from src/plugins/unified_search/public/dataview_picker/explore_matching_button.tsx rename to src/platform/plugins/shared/unified_search/public/dataview_picker/explore_matching_button.tsx diff --git a/src/plugins/unified_search/public/dataview_picker/index.tsx b/src/platform/plugins/shared/unified_search/public/dataview_picker/index.tsx similarity index 100% rename from src/plugins/unified_search/public/dataview_picker/index.tsx rename to src/platform/plugins/shared/unified_search/public/dataview_picker/index.tsx diff --git a/src/plugins/unified_search/public/dataview_picker/mocks/dataview.ts b/src/platform/plugins/shared/unified_search/public/dataview_picker/mocks/dataview.ts similarity index 100% rename from src/plugins/unified_search/public/dataview_picker/mocks/dataview.ts rename to src/platform/plugins/shared/unified_search/public/dataview_picker/mocks/dataview.ts diff --git a/src/plugins/unified_search/public/dataview_picker/sorting_service.test.ts b/src/platform/plugins/shared/unified_search/public/dataview_picker/sorting_service.test.ts similarity index 100% rename from src/plugins/unified_search/public/dataview_picker/sorting_service.test.ts rename to src/platform/plugins/shared/unified_search/public/dataview_picker/sorting_service.test.ts diff --git a/src/plugins/unified_search/public/dataview_picker/sorting_service.ts b/src/platform/plugins/shared/unified_search/public/dataview_picker/sorting_service.ts similarity index 100% rename from src/plugins/unified_search/public/dataview_picker/sorting_service.ts rename to src/platform/plugins/shared/unified_search/public/dataview_picker/sorting_service.ts diff --git a/src/plugins/unified_search/public/filter_badge/filter_badge.styles.ts b/src/platform/plugins/shared/unified_search/public/filter_badge/filter_badge.styles.ts similarity index 100% rename from src/plugins/unified_search/public/filter_badge/filter_badge.styles.ts rename to src/platform/plugins/shared/unified_search/public/filter_badge/filter_badge.styles.ts diff --git a/src/plugins/unified_search/public/filter_badge/filter_badge.tsx b/src/platform/plugins/shared/unified_search/public/filter_badge/filter_badge.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_badge/filter_badge.tsx rename to src/platform/plugins/shared/unified_search/public/filter_badge/filter_badge.tsx diff --git a/src/plugins/unified_search/public/filter_badge/filter_badge_error_boundary.tsx b/src/platform/plugins/shared/unified_search/public/filter_badge/filter_badge_error_boundary.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_badge/filter_badge_error_boundary.tsx rename to src/platform/plugins/shared/unified_search/public/filter_badge/filter_badge_error_boundary.tsx diff --git a/src/plugins/unified_search/public/filter_badge/filter_badge_expression.tsx b/src/platform/plugins/shared/unified_search/public/filter_badge/filter_badge_expression.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_badge/filter_badge_expression.tsx rename to src/platform/plugins/shared/unified_search/public/filter_badge/filter_badge_expression.tsx diff --git a/src/plugins/unified_search/public/filter_badge/filter_badge_group.tsx b/src/platform/plugins/shared/unified_search/public/filter_badge/filter_badge_group.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_badge/filter_badge_group.tsx rename to src/platform/plugins/shared/unified_search/public/filter_badge/filter_badge_group.tsx diff --git a/src/plugins/unified_search/public/filter_badge/filter_badge_invalid.tsx b/src/platform/plugins/shared/unified_search/public/filter_badge/filter_badge_invalid.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_badge/filter_badge_invalid.tsx rename to src/platform/plugins/shared/unified_search/public/filter_badge/filter_badge_invalid.tsx diff --git a/src/plugins/unified_search/public/filter_badge/filter_content/__snapshots__/filter_content.test.tsx.snap b/src/platform/plugins/shared/unified_search/public/filter_badge/filter_content/__snapshots__/filter_content.test.tsx.snap similarity index 100% rename from src/plugins/unified_search/public/filter_badge/filter_content/__snapshots__/filter_content.test.tsx.snap rename to src/platform/plugins/shared/unified_search/public/filter_badge/filter_content/__snapshots__/filter_content.test.tsx.snap diff --git a/src/plugins/unified_search/public/filter_badge/filter_content/filter_content.test.tsx b/src/platform/plugins/shared/unified_search/public/filter_badge/filter_content/filter_content.test.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_badge/filter_content/filter_content.test.tsx rename to src/platform/plugins/shared/unified_search/public/filter_badge/filter_content/filter_content.test.tsx diff --git a/src/plugins/unified_search/public/filter_badge/filter_content/filter_content.tsx b/src/platform/plugins/shared/unified_search/public/filter_badge/filter_content/filter_content.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_badge/filter_content/filter_content.tsx rename to src/platform/plugins/shared/unified_search/public/filter_badge/filter_content/filter_content.tsx diff --git a/src/plugins/unified_search/public/filter_badge/filter_content/index.ts b/src/platform/plugins/shared/unified_search/public/filter_badge/filter_content/index.ts similarity index 100% rename from src/plugins/unified_search/public/filter_badge/filter_content/index.ts rename to src/platform/plugins/shared/unified_search/public/filter_badge/filter_content/index.ts diff --git a/src/plugins/unified_search/public/filter_badge/i18n.ts b/src/platform/plugins/shared/unified_search/public/filter_badge/i18n.ts similarity index 100% rename from src/plugins/unified_search/public/filter_badge/i18n.ts rename to src/platform/plugins/shared/unified_search/public/filter_badge/i18n.ts diff --git a/src/plugins/unified_search/public/filter_badge/index.ts b/src/platform/plugins/shared/unified_search/public/filter_badge/index.ts similarity index 100% rename from src/plugins/unified_search/public/filter_badge/index.ts rename to src/platform/plugins/shared/unified_search/public/filter_badge/index.ts diff --git a/src/plugins/unified_search/public/filter_bar/filter_bar.styles.ts b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_bar.styles.ts similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_bar.styles.ts rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_bar.styles.ts diff --git a/src/plugins/unified_search/public/filter_bar/filter_bar.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_bar.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_bar.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_bar.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_button_group/filter_button_group.scss b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_button_group/filter_button_group.scss similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_button_group/filter_button_group.scss rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_button_group/filter_button_group.scss diff --git a/src/plugins/unified_search/public/filter_bar/filter_button_group/filter_button_group.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_button_group/filter_button_group.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_button_group/filter_button_group.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_button_group/filter_button_group.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/close_confirm_modal.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/close_confirm_modal.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/close_confirm_modal.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/close_confirm_modal.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/filter_editor.styles.ts b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/filter_editor.styles.ts similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/filter_editor.styles.ts rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/filter_editor.styles.ts diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/filter_editor.test.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/filter_editor.test.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/filter_editor.test.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/filter_editor.test.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/filter_editor.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/filter_editor.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/filter_editor.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/filter_editor.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/filter_editor_builder.test.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/filter_editor_builder.test.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/filter_editor_builder.test.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/filter_editor_builder.test.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/generic_combo_box.styles.ts b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/generic_combo_box.styles.ts similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/generic_combo_box.styles.ts rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/generic_combo_box.styles.ts diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/generic_combo_box.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/generic_combo_box.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/generic_combo_box.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/generic_combo_box.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/index.ts b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/index.ts similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/index.ts rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/index.ts diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/lib/filter_editor_utils.test.ts b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/lib/filter_editor_utils.test.ts similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/lib/filter_editor_utils.test.ts rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/lib/filter_editor_utils.test.ts diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/lib/filter_editor_utils.ts b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/lib/filter_editor_utils.ts similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/lib/filter_editor_utils.ts rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/lib/filter_editor_utils.ts diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/lib/filter_operators.ts b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/lib/filter_operators.ts similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/lib/filter_operators.ts rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/lib/filter_operators.ts diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/lib/helpers.test.ts b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/lib/helpers.test.ts similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/lib/helpers.test.ts rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/lib/helpers.test.ts diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/lib/helpers.ts b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/lib/helpers.ts similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/lib/helpers.ts rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/lib/helpers.ts diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/lib/index.ts b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/lib/index.ts similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/lib/index.ts rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/lib/index.ts diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/phrase_suggestor.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/phrase_suggestor.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/phrase_suggestor.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/phrase_suggestor.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/phrase_value_input.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/phrase_value_input.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/phrase_value_input.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/phrase_value_input.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/phrases_values_input.styles.ts b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/phrases_values_input.styles.ts similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/phrases_values_input.styles.ts rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/phrases_values_input.styles.ts diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/phrases_values_input.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/phrases_values_input.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/phrases_values_input.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/phrases_values_input.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/range_value_input.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/range_value_input.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/range_value_input.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/range_value_input.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/value_input_type.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/value_input_type.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/value_input_type.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/value_input_type.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_editor/with_close_confirm_modal.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/with_close_confirm_modal.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_editor/with_close_confirm_modal.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_editor/with_close_confirm_modal.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_item/_variables.scss b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_item/_variables.scss similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_item/_variables.scss rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_item/_variables.scss diff --git a/src/plugins/unified_search/public/filter_bar/filter_item/filter_item.scss b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_item/filter_item.scss similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_item/filter_item.scss rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_item/filter_item.scss diff --git a/src/plugins/unified_search/public/filter_bar/filter_item/filter_item.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_item/filter_item.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_item/filter_item.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_item/filter_item.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_item/filter_items.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_item/filter_items.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_item/filter_items.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_item/filter_items.tsx diff --git a/src/plugins/unified_search/public/filter_bar/filter_view/index.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/filter_view/index.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/filter_view/index.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/filter_view/index.tsx diff --git a/src/plugins/unified_search/public/filter_bar/index.tsx b/src/platform/plugins/shared/unified_search/public/filter_bar/index.tsx similarity index 100% rename from src/plugins/unified_search/public/filter_bar/index.tsx rename to src/platform/plugins/shared/unified_search/public/filter_bar/index.tsx diff --git a/src/plugins/unified_search/public/filters_builder/__mock__/filters.ts b/src/platform/plugins/shared/unified_search/public/filters_builder/__mock__/filters.ts similarity index 100% rename from src/plugins/unified_search/public/filters_builder/__mock__/filters.ts rename to src/platform/plugins/shared/unified_search/public/filters_builder/__mock__/filters.ts diff --git a/src/plugins/unified_search/public/filters_builder/__stories__/filter_builder.stories.tsx b/src/platform/plugins/shared/unified_search/public/filters_builder/__stories__/filter_builder.stories.tsx similarity index 100% rename from src/plugins/unified_search/public/filters_builder/__stories__/filter_builder.stories.tsx rename to src/platform/plugins/shared/unified_search/public/filters_builder/__stories__/filter_builder.stories.tsx diff --git a/src/plugins/unified_search/public/filters_builder/assets/add.svg b/src/platform/plugins/shared/unified_search/public/filters_builder/assets/add.svg similarity index 100% rename from src/plugins/unified_search/public/filters_builder/assets/add.svg rename to src/platform/plugins/shared/unified_search/public/filters_builder/assets/add.svg diff --git a/src/plugins/unified_search/public/filters_builder/assets/or.svg b/src/platform/plugins/shared/unified_search/public/filters_builder/assets/or.svg similarity index 100% rename from src/plugins/unified_search/public/filters_builder/assets/or.svg rename to src/platform/plugins/shared/unified_search/public/filters_builder/assets/or.svg diff --git a/src/plugins/unified_search/public/filters_builder/context.ts b/src/platform/plugins/shared/unified_search/public/filters_builder/context.ts similarity index 100% rename from src/plugins/unified_search/public/filters_builder/context.ts rename to src/platform/plugins/shared/unified_search/public/filters_builder/context.ts diff --git a/src/plugins/unified_search/public/filters_builder/filter_group.styles.ts b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_group.styles.ts similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_group.styles.ts rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_group.styles.ts diff --git a/src/plugins/unified_search/public/filters_builder/filter_group.tsx b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_group.tsx similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_group.tsx rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_group.tsx diff --git a/src/plugins/unified_search/public/filters_builder/filter_item/actions/action_strings.ts b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/actions/action_strings.ts similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_item/actions/action_strings.ts rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/actions/action_strings.ts diff --git a/src/plugins/unified_search/public/filters_builder/filter_item/actions/actions.tsx b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/actions/actions.tsx similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_item/actions/actions.tsx rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/actions/actions.tsx diff --git a/src/plugins/unified_search/public/filters_builder/filter_item/actions/index.tsx b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/actions/index.tsx similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_item/actions/index.tsx rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/actions/index.tsx diff --git a/src/plugins/unified_search/public/filters_builder/filter_item/actions/minimised_actions.tsx b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/actions/minimised_actions.tsx similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_item/actions/minimised_actions.tsx rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/actions/minimised_actions.tsx diff --git a/src/plugins/unified_search/public/filters_builder/filter_item/actions/types.ts b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/actions/types.ts similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_item/actions/types.ts rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/actions/types.ts diff --git a/src/plugins/unified_search/public/filters_builder/filter_item/field_input.tsx b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/field_input.tsx similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_item/field_input.tsx rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/field_input.tsx diff --git a/src/plugins/unified_search/public/filters_builder/filter_item/filter_item.styles.ts b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/filter_item.styles.ts similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_item/filter_item.styles.ts rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/filter_item.styles.ts diff --git a/src/plugins/unified_search/public/filters_builder/filter_item/filter_item.tsx b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/filter_item.tsx similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_item/filter_item.tsx rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/filter_item.tsx diff --git a/src/plugins/unified_search/public/filters_builder/filter_item/index.ts b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/index.ts similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_item/index.ts rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/index.ts diff --git a/src/plugins/unified_search/public/filters_builder/filter_item/operator_input.tsx b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/operator_input.tsx similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_item/operator_input.tsx rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/operator_input.tsx diff --git a/src/plugins/unified_search/public/filters_builder/filter_item/params_editor.tsx b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/params_editor.tsx similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_item/params_editor.tsx rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/params_editor.tsx diff --git a/src/plugins/unified_search/public/filters_builder/filter_item/params_editor_input.tsx b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/params_editor_input.tsx similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_item/params_editor_input.tsx rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/params_editor_input.tsx diff --git a/src/plugins/unified_search/public/filters_builder/filter_item/tooltip.tsx b/src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/tooltip.tsx similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filter_item/tooltip.tsx rename to src/platform/plugins/shared/unified_search/public/filters_builder/filter_item/tooltip.tsx diff --git a/src/plugins/unified_search/public/filters_builder/filters_builder.styles.ts b/src/platform/plugins/shared/unified_search/public/filters_builder/filters_builder.styles.ts similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filters_builder.styles.ts rename to src/platform/plugins/shared/unified_search/public/filters_builder/filters_builder.styles.ts diff --git a/src/plugins/unified_search/public/filters_builder/filters_builder.tsx b/src/platform/plugins/shared/unified_search/public/filters_builder/filters_builder.tsx similarity index 100% rename from src/plugins/unified_search/public/filters_builder/filters_builder.tsx rename to src/platform/plugins/shared/unified_search/public/filters_builder/filters_builder.tsx diff --git a/src/plugins/unified_search/public/filters_builder/index.ts b/src/platform/plugins/shared/unified_search/public/filters_builder/index.ts similarity index 100% rename from src/plugins/unified_search/public/filters_builder/index.ts rename to src/platform/plugins/shared/unified_search/public/filters_builder/index.ts diff --git a/src/plugins/unified_search/public/filters_builder/reducer.ts b/src/platform/plugins/shared/unified_search/public/filters_builder/reducer.ts similarity index 100% rename from src/plugins/unified_search/public/filters_builder/reducer.ts rename to src/platform/plugins/shared/unified_search/public/filters_builder/reducer.ts diff --git a/src/plugins/unified_search/public/filters_builder/types.ts b/src/platform/plugins/shared/unified_search/public/filters_builder/types.ts similarity index 100% rename from src/plugins/unified_search/public/filters_builder/types.ts rename to src/platform/plugins/shared/unified_search/public/filters_builder/types.ts diff --git a/src/plugins/unified_search/public/filters_builder/utils/filters_builder.test.ts b/src/platform/plugins/shared/unified_search/public/filters_builder/utils/filters_builder.test.ts similarity index 100% rename from src/plugins/unified_search/public/filters_builder/utils/filters_builder.test.ts rename to src/platform/plugins/shared/unified_search/public/filters_builder/utils/filters_builder.test.ts diff --git a/src/plugins/unified_search/public/filters_builder/utils/filters_builder.ts b/src/platform/plugins/shared/unified_search/public/filters_builder/utils/filters_builder.ts similarity index 100% rename from src/plugins/unified_search/public/filters_builder/utils/filters_builder.ts rename to src/platform/plugins/shared/unified_search/public/filters_builder/utils/filters_builder.ts diff --git a/src/plugins/unified_search/public/filters_builder/utils/index.ts b/src/platform/plugins/shared/unified_search/public/filters_builder/utils/index.ts similarity index 100% rename from src/plugins/unified_search/public/filters_builder/utils/index.ts rename to src/platform/plugins/shared/unified_search/public/filters_builder/utils/index.ts diff --git a/src/plugins/unified_search/public/index.scss b/src/platform/plugins/shared/unified_search/public/index.scss similarity index 100% rename from src/plugins/unified_search/public/index.scss rename to src/platform/plugins/shared/unified_search/public/index.scss diff --git a/src/plugins/unified_search/public/index.ts b/src/platform/plugins/shared/unified_search/public/index.ts similarity index 100% rename from src/plugins/unified_search/public/index.ts rename to src/platform/plugins/shared/unified_search/public/index.ts diff --git a/src/plugins/unified_search/public/index_pattern_select/create_index_pattern_select.tsx b/src/platform/plugins/shared/unified_search/public/index_pattern_select/create_index_pattern_select.tsx similarity index 100% rename from src/plugins/unified_search/public/index_pattern_select/create_index_pattern_select.tsx rename to src/platform/plugins/shared/unified_search/public/index_pattern_select/create_index_pattern_select.tsx diff --git a/src/plugins/unified_search/public/index_pattern_select/index.tsx b/src/platform/plugins/shared/unified_search/public/index_pattern_select/index.tsx similarity index 100% rename from src/plugins/unified_search/public/index_pattern_select/index.tsx rename to src/platform/plugins/shared/unified_search/public/index_pattern_select/index.tsx diff --git a/src/plugins/unified_search/public/index_pattern_select/index_pattern_select.tsx b/src/platform/plugins/shared/unified_search/public/index_pattern_select/index_pattern_select.tsx similarity index 100% rename from src/plugins/unified_search/public/index_pattern_select/index_pattern_select.tsx rename to src/platform/plugins/shared/unified_search/public/index_pattern_select/index_pattern_select.tsx diff --git a/src/plugins/unified_search/public/mocks/esql_editor.tsx b/src/platform/plugins/shared/unified_search/public/mocks/esql_editor.tsx similarity index 100% rename from src/plugins/unified_search/public/mocks/esql_editor.tsx rename to src/platform/plugins/shared/unified_search/public/mocks/esql_editor.tsx diff --git a/src/plugins/unified_search/public/mocks/get_stub_filter.ts b/src/platform/plugins/shared/unified_search/public/mocks/get_stub_filter.ts similarity index 100% rename from src/plugins/unified_search/public/mocks/get_stub_filter.ts rename to src/platform/plugins/shared/unified_search/public/mocks/get_stub_filter.ts diff --git a/src/plugins/unified_search/public/mocks/index.ts b/src/platform/plugins/shared/unified_search/public/mocks/index.ts similarity index 100% rename from src/plugins/unified_search/public/mocks/index.ts rename to src/platform/plugins/shared/unified_search/public/mocks/index.ts diff --git a/src/plugins/unified_search/public/mocks/mocks.ts b/src/platform/plugins/shared/unified_search/public/mocks/mocks.ts similarity index 100% rename from src/plugins/unified_search/public/mocks/mocks.ts rename to src/platform/plugins/shared/unified_search/public/mocks/mocks.ts diff --git a/src/plugins/unified_search/public/plugin.ts b/src/platform/plugins/shared/unified_search/public/plugin.ts similarity index 100% rename from src/plugins/unified_search/public/plugin.ts rename to src/platform/plugins/shared/unified_search/public/plugin.ts diff --git a/src/plugins/unified_search/public/query_string_input/add_filter_popover.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/add_filter_popover.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/add_filter_popover.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/add_filter_popover.tsx diff --git a/src/plugins/unified_search/public/query_string_input/esql_menu_popover.test.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/esql_menu_popover.test.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/esql_menu_popover.test.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/esql_menu_popover.test.tsx diff --git a/src/plugins/unified_search/public/query_string_input/esql_menu_popover.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/esql_menu_popover.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/esql_menu_popover.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/esql_menu_popover.tsx diff --git a/src/plugins/unified_search/public/query_string_input/fetch_index_patterns.ts b/src/platform/plugins/shared/unified_search/public/query_string_input/fetch_index_patterns.ts similarity index 100% rename from src/plugins/unified_search/public/query_string_input/fetch_index_patterns.ts rename to src/platform/plugins/shared/unified_search/public/query_string_input/fetch_index_patterns.ts diff --git a/src/plugins/unified_search/public/query_string_input/filter_editor_wrapper.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/filter_editor_wrapper.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/filter_editor_wrapper.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/filter_editor_wrapper.tsx diff --git a/src/plugins/unified_search/public/query_string_input/from_user.test.ts b/src/platform/plugins/shared/unified_search/public/query_string_input/from_user.test.ts similarity index 100% rename from src/plugins/unified_search/public/query_string_input/from_user.test.ts rename to src/platform/plugins/shared/unified_search/public/query_string_input/from_user.test.ts diff --git a/src/plugins/unified_search/public/query_string_input/from_user.ts b/src/platform/plugins/shared/unified_search/public/query_string_input/from_user.ts similarity index 100% rename from src/plugins/unified_search/public/query_string_input/from_user.ts rename to src/platform/plugins/shared/unified_search/public/query_string_input/from_user.ts diff --git a/src/plugins/unified_search/public/query_string_input/get_query_string_input.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/get_query_string_input.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/get_query_string_input.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/get_query_string_input.tsx diff --git a/src/plugins/unified_search/public/query_string_input/index.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/index.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/index.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/index.tsx diff --git a/src/plugins/unified_search/public/query_string_input/language_switcher.test.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/language_switcher.test.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/language_switcher.test.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/language_switcher.test.tsx diff --git a/src/plugins/unified_search/public/query_string_input/language_switcher.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/language_switcher.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/language_switcher.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/language_switcher.tsx diff --git a/src/plugins/unified_search/public/query_string_input/match_pairs.ts b/src/platform/plugins/shared/unified_search/public/query_string_input/match_pairs.ts similarity index 100% rename from src/plugins/unified_search/public/query_string_input/match_pairs.ts rename to src/platform/plugins/shared/unified_search/public/query_string_input/match_pairs.ts diff --git a/src/plugins/unified_search/public/query_string_input/no_data_popover.test.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/no_data_popover.test.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/no_data_popover.test.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/no_data_popover.test.tsx diff --git a/src/plugins/unified_search/public/query_string_input/no_data_popover.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/no_data_popover.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/no_data_popover.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/no_data_popover.tsx diff --git a/src/plugins/unified_search/public/query_string_input/panel_title.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/panel_title.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/panel_title.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/panel_title.tsx diff --git a/src/plugins/unified_search/public/query_string_input/query_bar.scss b/src/platform/plugins/shared/unified_search/public/query_string_input/query_bar.scss similarity index 100% rename from src/plugins/unified_search/public/query_string_input/query_bar.scss rename to src/platform/plugins/shared/unified_search/public/query_string_input/query_bar.scss diff --git a/src/plugins/unified_search/public/query_string_input/query_bar_menu.test.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/query_bar_menu.test.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/query_bar_menu.test.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/query_bar_menu.test.tsx diff --git a/src/plugins/unified_search/public/query_string_input/query_bar_menu.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/query_bar_menu.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/query_bar_menu.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/query_bar_menu.tsx diff --git a/src/plugins/unified_search/public/query_string_input/query_bar_menu_panels.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/query_bar_menu_panels.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/query_bar_menu_panels.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/query_bar_menu_panels.tsx diff --git a/src/plugins/unified_search/public/query_string_input/query_bar_top_row.test.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/query_bar_top_row.test.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/query_bar_top_row.test.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/query_bar_top_row.test.tsx diff --git a/src/plugins/unified_search/public/query_string_input/query_bar_top_row.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/query_bar_top_row.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/query_bar_top_row.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/query_bar_top_row.tsx diff --git a/src/plugins/unified_search/public/query_string_input/query_string_input.scss b/src/platform/plugins/shared/unified_search/public/query_string_input/query_string_input.scss similarity index 100% rename from src/plugins/unified_search/public/query_string_input/query_string_input.scss rename to src/platform/plugins/shared/unified_search/public/query_string_input/query_string_input.scss diff --git a/src/plugins/unified_search/public/query_string_input/query_string_input.test.mocks.ts b/src/platform/plugins/shared/unified_search/public/query_string_input/query_string_input.test.mocks.ts similarity index 100% rename from src/plugins/unified_search/public/query_string_input/query_string_input.test.mocks.ts rename to src/platform/plugins/shared/unified_search/public/query_string_input/query_string_input.test.mocks.ts diff --git a/src/plugins/unified_search/public/query_string_input/query_string_input.test.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/query_string_input.test.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/query_string_input.test.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/query_string_input.test.tsx diff --git a/src/plugins/unified_search/public/query_string_input/query_string_input.tsx b/src/platform/plugins/shared/unified_search/public/query_string_input/query_string_input.tsx similarity index 100% rename from src/plugins/unified_search/public/query_string_input/query_string_input.tsx rename to src/platform/plugins/shared/unified_search/public/query_string_input/query_string_input.tsx diff --git a/src/plugins/unified_search/public/query_string_input/to_user.test.ts b/src/platform/plugins/shared/unified_search/public/query_string_input/to_user.test.ts similarity index 100% rename from src/plugins/unified_search/public/query_string_input/to_user.test.ts rename to src/platform/plugins/shared/unified_search/public/query_string_input/to_user.test.ts diff --git a/src/plugins/unified_search/public/query_string_input/to_user.ts b/src/platform/plugins/shared/unified_search/public/query_string_input/to_user.ts similarity index 100% rename from src/plugins/unified_search/public/query_string_input/to_user.ts rename to src/platform/plugins/shared/unified_search/public/query_string_input/to_user.ts diff --git a/src/plugins/unified_search/public/saved_query_form/index.ts b/src/platform/plugins/shared/unified_search/public/saved_query_form/index.ts similarity index 100% rename from src/plugins/unified_search/public/saved_query_form/index.ts rename to src/platform/plugins/shared/unified_search/public/saved_query_form/index.ts diff --git a/src/plugins/unified_search/public/saved_query_form/save_query_form.tsx b/src/platform/plugins/shared/unified_search/public/saved_query_form/save_query_form.tsx similarity index 100% rename from src/plugins/unified_search/public/saved_query_form/save_query_form.tsx rename to src/platform/plugins/shared/unified_search/public/saved_query_form/save_query_form.tsx diff --git a/src/plugins/unified_search/public/saved_query_management/index.ts b/src/platform/plugins/shared/unified_search/public/saved_query_management/index.ts similarity index 100% rename from src/plugins/unified_search/public/saved_query_management/index.ts rename to src/platform/plugins/shared/unified_search/public/saved_query_management/index.ts diff --git a/src/plugins/unified_search/public/saved_query_management/saved_query_management_list.scss b/src/platform/plugins/shared/unified_search/public/saved_query_management/saved_query_management_list.scss similarity index 100% rename from src/plugins/unified_search/public/saved_query_management/saved_query_management_list.scss rename to src/platform/plugins/shared/unified_search/public/saved_query_management/saved_query_management_list.scss diff --git a/src/plugins/unified_search/public/saved_query_management/saved_query_management_list.test.tsx b/src/platform/plugins/shared/unified_search/public/saved_query_management/saved_query_management_list.test.tsx similarity index 100% rename from src/plugins/unified_search/public/saved_query_management/saved_query_management_list.test.tsx rename to src/platform/plugins/shared/unified_search/public/saved_query_management/saved_query_management_list.test.tsx diff --git a/src/plugins/unified_search/public/saved_query_management/saved_query_management_list.tsx b/src/platform/plugins/shared/unified_search/public/saved_query_management/saved_query_management_list.tsx similarity index 100% rename from src/plugins/unified_search/public/saved_query_management/saved_query_management_list.tsx rename to src/platform/plugins/shared/unified_search/public/saved_query_management/saved_query_management_list.tsx diff --git a/src/plugins/unified_search/public/search_bar/create_search_bar.tsx b/src/platform/plugins/shared/unified_search/public/search_bar/create_search_bar.tsx similarity index 100% rename from src/plugins/unified_search/public/search_bar/create_search_bar.tsx rename to src/platform/plugins/shared/unified_search/public/search_bar/create_search_bar.tsx diff --git a/src/plugins/unified_search/public/search_bar/index.tsx b/src/platform/plugins/shared/unified_search/public/search_bar/index.tsx similarity index 100% rename from src/plugins/unified_search/public/search_bar/index.tsx rename to src/platform/plugins/shared/unified_search/public/search_bar/index.tsx diff --git a/src/plugins/unified_search/public/search_bar/lib/can_show_saved_query.test.ts b/src/platform/plugins/shared/unified_search/public/search_bar/lib/can_show_saved_query.test.ts similarity index 100% rename from src/plugins/unified_search/public/search_bar/lib/can_show_saved_query.test.ts rename to src/platform/plugins/shared/unified_search/public/search_bar/lib/can_show_saved_query.test.ts diff --git a/src/plugins/unified_search/public/search_bar/lib/can_show_saved_query.ts b/src/platform/plugins/shared/unified_search/public/search_bar/lib/can_show_saved_query.ts similarity index 100% rename from src/plugins/unified_search/public/search_bar/lib/can_show_saved_query.ts rename to src/platform/plugins/shared/unified_search/public/search_bar/lib/can_show_saved_query.ts diff --git a/src/plugins/unified_search/public/search_bar/lib/clear_saved_query.test.ts b/src/platform/plugins/shared/unified_search/public/search_bar/lib/clear_saved_query.test.ts similarity index 100% rename from src/plugins/unified_search/public/search_bar/lib/clear_saved_query.test.ts rename to src/platform/plugins/shared/unified_search/public/search_bar/lib/clear_saved_query.test.ts diff --git a/src/plugins/unified_search/public/search_bar/lib/clear_saved_query.ts b/src/platform/plugins/shared/unified_search/public/search_bar/lib/clear_saved_query.ts similarity index 100% rename from src/plugins/unified_search/public/search_bar/lib/clear_saved_query.ts rename to src/platform/plugins/shared/unified_search/public/search_bar/lib/clear_saved_query.ts diff --git a/src/plugins/unified_search/public/search_bar/lib/populate_state_from_saved_query.test.ts b/src/platform/plugins/shared/unified_search/public/search_bar/lib/populate_state_from_saved_query.test.ts similarity index 100% rename from src/plugins/unified_search/public/search_bar/lib/populate_state_from_saved_query.test.ts rename to src/platform/plugins/shared/unified_search/public/search_bar/lib/populate_state_from_saved_query.test.ts diff --git a/src/plugins/unified_search/public/search_bar/lib/populate_state_from_saved_query.ts b/src/platform/plugins/shared/unified_search/public/search_bar/lib/populate_state_from_saved_query.ts similarity index 100% rename from src/plugins/unified_search/public/search_bar/lib/populate_state_from_saved_query.ts rename to src/platform/plugins/shared/unified_search/public/search_bar/lib/populate_state_from_saved_query.ts diff --git a/src/plugins/unified_search/public/search_bar/lib/use_filter_manager.ts b/src/platform/plugins/shared/unified_search/public/search_bar/lib/use_filter_manager.ts similarity index 100% rename from src/plugins/unified_search/public/search_bar/lib/use_filter_manager.ts rename to src/platform/plugins/shared/unified_search/public/search_bar/lib/use_filter_manager.ts diff --git a/src/plugins/unified_search/public/search_bar/lib/use_query_string_manager.ts b/src/platform/plugins/shared/unified_search/public/search_bar/lib/use_query_string_manager.ts similarity index 100% rename from src/plugins/unified_search/public/search_bar/lib/use_query_string_manager.ts rename to src/platform/plugins/shared/unified_search/public/search_bar/lib/use_query_string_manager.ts diff --git a/src/plugins/unified_search/public/search_bar/lib/use_saved_query.ts b/src/platform/plugins/shared/unified_search/public/search_bar/lib/use_saved_query.ts similarity index 100% rename from src/plugins/unified_search/public/search_bar/lib/use_saved_query.ts rename to src/platform/plugins/shared/unified_search/public/search_bar/lib/use_saved_query.ts diff --git a/src/plugins/unified_search/public/search_bar/lib/use_timefilter.ts b/src/platform/plugins/shared/unified_search/public/search_bar/lib/use_timefilter.ts similarity index 100% rename from src/plugins/unified_search/public/search_bar/lib/use_timefilter.ts rename to src/platform/plugins/shared/unified_search/public/search_bar/lib/use_timefilter.ts diff --git a/src/plugins/unified_search/public/search_bar/search_bar.styles.ts b/src/platform/plugins/shared/unified_search/public/search_bar/search_bar.styles.ts similarity index 100% rename from src/plugins/unified_search/public/search_bar/search_bar.styles.ts rename to src/platform/plugins/shared/unified_search/public/search_bar/search_bar.styles.ts diff --git a/src/plugins/unified_search/public/search_bar/search_bar.test.tsx b/src/platform/plugins/shared/unified_search/public/search_bar/search_bar.test.tsx similarity index 100% rename from src/plugins/unified_search/public/search_bar/search_bar.test.tsx rename to src/platform/plugins/shared/unified_search/public/search_bar/search_bar.test.tsx diff --git a/src/plugins/unified_search/public/search_bar/search_bar.tsx b/src/platform/plugins/shared/unified_search/public/search_bar/search_bar.tsx similarity index 100% rename from src/plugins/unified_search/public/search_bar/search_bar.tsx rename to src/platform/plugins/shared/unified_search/public/search_bar/search_bar.tsx diff --git a/src/plugins/unified_search/public/services.ts b/src/platform/plugins/shared/unified_search/public/services.ts similarity index 100% rename from src/plugins/unified_search/public/services.ts rename to src/platform/plugins/shared/unified_search/public/services.ts diff --git a/src/plugins/unified_search/public/triggers/index.ts b/src/platform/plugins/shared/unified_search/public/triggers/index.ts similarity index 100% rename from src/plugins/unified_search/public/triggers/index.ts rename to src/platform/plugins/shared/unified_search/public/triggers/index.ts diff --git a/src/plugins/unified_search/public/triggers/update_filter_references_trigger.ts b/src/platform/plugins/shared/unified_search/public/triggers/update_filter_references_trigger.ts similarity index 100% rename from src/plugins/unified_search/public/triggers/update_filter_references_trigger.ts rename to src/platform/plugins/shared/unified_search/public/triggers/update_filter_references_trigger.ts diff --git a/src/plugins/unified_search/public/typeahead/__snapshots__/suggestion_component.test.tsx.snap b/src/platform/plugins/shared/unified_search/public/typeahead/__snapshots__/suggestion_component.test.tsx.snap similarity index 100% rename from src/plugins/unified_search/public/typeahead/__snapshots__/suggestion_component.test.tsx.snap rename to src/platform/plugins/shared/unified_search/public/typeahead/__snapshots__/suggestion_component.test.tsx.snap diff --git a/src/plugins/unified_search/public/typeahead/_suggestion.scss b/src/platform/plugins/shared/unified_search/public/typeahead/_suggestion.scss similarity index 100% rename from src/plugins/unified_search/public/typeahead/_suggestion.scss rename to src/platform/plugins/shared/unified_search/public/typeahead/_suggestion.scss diff --git a/src/plugins/unified_search/public/typeahead/constants.ts b/src/platform/plugins/shared/unified_search/public/typeahead/constants.ts similarity index 100% rename from src/plugins/unified_search/public/typeahead/constants.ts rename to src/platform/plugins/shared/unified_search/public/typeahead/constants.ts diff --git a/src/plugins/unified_search/public/typeahead/index.tsx b/src/platform/plugins/shared/unified_search/public/typeahead/index.tsx similarity index 100% rename from src/plugins/unified_search/public/typeahead/index.tsx rename to src/platform/plugins/shared/unified_search/public/typeahead/index.tsx diff --git a/src/plugins/unified_search/public/typeahead/suggestion_component.test.tsx b/src/platform/plugins/shared/unified_search/public/typeahead/suggestion_component.test.tsx similarity index 100% rename from src/plugins/unified_search/public/typeahead/suggestion_component.test.tsx rename to src/platform/plugins/shared/unified_search/public/typeahead/suggestion_component.test.tsx diff --git a/src/plugins/unified_search/public/typeahead/suggestion_component.tsx b/src/platform/plugins/shared/unified_search/public/typeahead/suggestion_component.tsx similarity index 100% rename from src/plugins/unified_search/public/typeahead/suggestion_component.tsx rename to src/platform/plugins/shared/unified_search/public/typeahead/suggestion_component.tsx diff --git a/src/plugins/unified_search/public/typeahead/suggestions_component.test.tsx b/src/platform/plugins/shared/unified_search/public/typeahead/suggestions_component.test.tsx similarity index 100% rename from src/plugins/unified_search/public/typeahead/suggestions_component.test.tsx rename to src/platform/plugins/shared/unified_search/public/typeahead/suggestions_component.test.tsx diff --git a/src/plugins/unified_search/public/typeahead/suggestions_component.tsx b/src/platform/plugins/shared/unified_search/public/typeahead/suggestions_component.tsx similarity index 100% rename from src/plugins/unified_search/public/typeahead/suggestions_component.tsx rename to src/platform/plugins/shared/unified_search/public/typeahead/suggestions_component.tsx diff --git a/src/plugins/unified_search/public/typeahead/types.ts b/src/platform/plugins/shared/unified_search/public/typeahead/types.ts similarity index 100% rename from src/plugins/unified_search/public/typeahead/types.ts rename to src/platform/plugins/shared/unified_search/public/typeahead/types.ts diff --git a/src/plugins/unified_search/public/types.ts b/src/platform/plugins/shared/unified_search/public/types.ts similarity index 100% rename from src/plugins/unified_search/public/types.ts rename to src/platform/plugins/shared/unified_search/public/types.ts diff --git a/src/plugins/unified_search/public/utils/combined_filter.ts b/src/platform/plugins/shared/unified_search/public/utils/combined_filter.ts similarity index 100% rename from src/plugins/unified_search/public/utils/combined_filter.ts rename to src/platform/plugins/shared/unified_search/public/utils/combined_filter.ts diff --git a/src/plugins/unified_search/public/utils/index.ts b/src/platform/plugins/shared/unified_search/public/utils/index.ts similarity index 100% rename from src/plugins/unified_search/public/utils/index.ts rename to src/platform/plugins/shared/unified_search/public/utils/index.ts diff --git a/src/plugins/unified_search/public/utils/on_raf.ts b/src/platform/plugins/shared/unified_search/public/utils/on_raf.ts similarity index 100% rename from src/plugins/unified_search/public/utils/on_raf.ts rename to src/platform/plugins/shared/unified_search/public/utils/on_raf.ts diff --git a/src/plugins/unified_search/public/utils/shallow_equal.ts b/src/platform/plugins/shared/unified_search/public/utils/shallow_equal.ts similarity index 100% rename from src/plugins/unified_search/public/utils/shallow_equal.ts rename to src/platform/plugins/shared/unified_search/public/utils/shallow_equal.ts diff --git a/src/plugins/unified_search/server/autocomplete/autocomplete_service.ts b/src/platform/plugins/shared/unified_search/server/autocomplete/autocomplete_service.ts similarity index 100% rename from src/plugins/unified_search/server/autocomplete/autocomplete_service.ts rename to src/platform/plugins/shared/unified_search/server/autocomplete/autocomplete_service.ts diff --git a/src/plugins/unified_search/server/autocomplete/index.ts b/src/platform/plugins/shared/unified_search/server/autocomplete/index.ts similarity index 100% rename from src/plugins/unified_search/server/autocomplete/index.ts rename to src/platform/plugins/shared/unified_search/server/autocomplete/index.ts diff --git a/src/plugins/unified_search/server/autocomplete/routes.ts b/src/platform/plugins/shared/unified_search/server/autocomplete/routes.ts similarity index 100% rename from src/plugins/unified_search/server/autocomplete/routes.ts rename to src/platform/plugins/shared/unified_search/server/autocomplete/routes.ts diff --git a/src/plugins/unified_search/server/autocomplete/terms_agg.test.ts b/src/platform/plugins/shared/unified_search/server/autocomplete/terms_agg.test.ts similarity index 100% rename from src/plugins/unified_search/server/autocomplete/terms_agg.test.ts rename to src/platform/plugins/shared/unified_search/server/autocomplete/terms_agg.test.ts diff --git a/src/plugins/unified_search/server/autocomplete/terms_agg.ts b/src/platform/plugins/shared/unified_search/server/autocomplete/terms_agg.ts similarity index 100% rename from src/plugins/unified_search/server/autocomplete/terms_agg.ts rename to src/platform/plugins/shared/unified_search/server/autocomplete/terms_agg.ts diff --git a/src/plugins/unified_search/server/autocomplete/terms_enum.test.ts b/src/platform/plugins/shared/unified_search/server/autocomplete/terms_enum.test.ts similarity index 100% rename from src/plugins/unified_search/server/autocomplete/terms_enum.test.ts rename to src/platform/plugins/shared/unified_search/server/autocomplete/terms_enum.test.ts diff --git a/src/plugins/unified_search/server/autocomplete/terms_enum.ts b/src/platform/plugins/shared/unified_search/server/autocomplete/terms_enum.ts similarity index 100% rename from src/plugins/unified_search/server/autocomplete/terms_enum.ts rename to src/platform/plugins/shared/unified_search/server/autocomplete/terms_enum.ts diff --git a/src/plugins/unified_search/server/autocomplete/value_suggestions_route.ts b/src/platform/plugins/shared/unified_search/server/autocomplete/value_suggestions_route.ts similarity index 100% rename from src/plugins/unified_search/server/autocomplete/value_suggestions_route.ts rename to src/platform/plugins/shared/unified_search/server/autocomplete/value_suggestions_route.ts diff --git a/src/plugins/unified_search/server/config.ts b/src/platform/plugins/shared/unified_search/server/config.ts similarity index 100% rename from src/plugins/unified_search/server/config.ts rename to src/platform/plugins/shared/unified_search/server/config.ts diff --git a/src/plugins/unified_search/server/config_deprecations.test.ts b/src/platform/plugins/shared/unified_search/server/config_deprecations.test.ts similarity index 100% rename from src/plugins/unified_search/server/config_deprecations.test.ts rename to src/platform/plugins/shared/unified_search/server/config_deprecations.test.ts diff --git a/src/plugins/unified_search/server/config_deprecations.ts b/src/platform/plugins/shared/unified_search/server/config_deprecations.ts similarity index 100% rename from src/plugins/unified_search/server/config_deprecations.ts rename to src/platform/plugins/shared/unified_search/server/config_deprecations.ts diff --git a/src/plugins/unified_search/server/data_views/index.ts b/src/platform/plugins/shared/unified_search/server/data_views/index.ts similarity index 100% rename from src/plugins/unified_search/server/data_views/index.ts rename to src/platform/plugins/shared/unified_search/server/data_views/index.ts diff --git a/src/plugins/unified_search/server/index.ts b/src/platform/plugins/shared/unified_search/server/index.ts similarity index 100% rename from src/plugins/unified_search/server/index.ts rename to src/platform/plugins/shared/unified_search/server/index.ts diff --git a/src/plugins/unified_search/server/mocks.ts b/src/platform/plugins/shared/unified_search/server/mocks.ts similarity index 100% rename from src/plugins/unified_search/server/mocks.ts rename to src/platform/plugins/shared/unified_search/server/mocks.ts diff --git a/src/plugins/unified_search/server/plugin.ts b/src/platform/plugins/shared/unified_search/server/plugin.ts similarity index 100% rename from src/plugins/unified_search/server/plugin.ts rename to src/platform/plugins/shared/unified_search/server/plugin.ts diff --git a/src/plugins/unified_search/tsconfig.json b/src/platform/plugins/shared/unified_search/tsconfig.json similarity index 96% rename from src/plugins/unified_search/tsconfig.json rename to src/platform/plugins/shared/unified_search/tsconfig.json index f5d2e6ff53c7a..31284a5910538 100644 --- a/src/plugins/unified_search/tsconfig.json +++ b/src/platform/plugins/shared/unified_search/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/vis_types/timeseries/common/__mocks__/index_patterns_utils.ts b/src/platform/plugins/shared/vis_types/timeseries/common/__mocks__/index_patterns_utils.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/__mocks__/index_patterns_utils.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/__mocks__/index_patterns_utils.ts diff --git a/src/plugins/vis_types/timeseries/common/agg_utils.test.ts b/src/platform/plugins/shared/vis_types/timeseries/common/agg_utils.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/agg_utils.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/agg_utils.test.ts diff --git a/src/plugins/vis_types/timeseries/common/agg_utils.ts b/src/platform/plugins/shared/vis_types/timeseries/common/agg_utils.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/agg_utils.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/agg_utils.ts diff --git a/src/plugins/vis_types/timeseries/common/basic_aggs.ts b/src/platform/plugins/shared/vis_types/timeseries/common/basic_aggs.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/basic_aggs.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/basic_aggs.ts diff --git a/src/plugins/vis_types/timeseries/common/calculate_label.test.ts b/src/platform/plugins/shared/vis_types/timeseries/common/calculate_label.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/calculate_label.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/calculate_label.test.ts diff --git a/src/plugins/vis_types/timeseries/common/calculate_label.ts b/src/platform/plugins/shared/vis_types/timeseries/common/calculate_label.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/calculate_label.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/calculate_label.ts diff --git a/src/plugins/vis_types/timeseries/common/check_ui_restrictions.ts b/src/platform/plugins/shared/vis_types/timeseries/common/check_ui_restrictions.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/check_ui_restrictions.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/check_ui_restrictions.ts diff --git a/src/plugins/vis_types/timeseries/common/constants.ts b/src/platform/plugins/shared/vis_types/timeseries/common/constants.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/constants.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/constants.ts diff --git a/src/plugins/vis_types/timeseries/common/empty_label.test.ts b/src/platform/plugins/shared/vis_types/timeseries/common/empty_label.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/empty_label.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/empty_label.test.ts diff --git a/src/plugins/vis_types/timeseries/common/empty_label.ts b/src/platform/plugins/shared/vis_types/timeseries/common/empty_label.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/empty_label.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/empty_label.ts diff --git a/src/plugins/vis_types/timeseries/common/enums/index.ts b/src/platform/plugins/shared/vis_types/timeseries/common/enums/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/enums/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/enums/index.ts diff --git a/src/plugins/vis_types/timeseries/common/enums/metric_types.ts b/src/platform/plugins/shared/vis_types/timeseries/common/enums/metric_types.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/enums/metric_types.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/enums/metric_types.ts diff --git a/src/plugins/vis_types/timeseries/common/enums/model_types.ts b/src/platform/plugins/shared/vis_types/timeseries/common/enums/model_types.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/enums/model_types.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/enums/model_types.ts diff --git a/src/plugins/vis_types/timeseries/common/enums/panel_types.ts b/src/platform/plugins/shared/vis_types/timeseries/common/enums/panel_types.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/enums/panel_types.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/enums/panel_types.ts diff --git a/src/plugins/vis_types/timeseries/common/enums/timerange_data_modes.ts b/src/platform/plugins/shared/vis_types/timeseries/common/enums/timerange_data_modes.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/enums/timerange_data_modes.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/enums/timerange_data_modes.ts diff --git a/src/plugins/vis_types/timeseries/common/errors.ts b/src/platform/plugins/shared/vis_types/timeseries/common/errors.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/errors.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/errors.ts diff --git a/src/plugins/vis_types/timeseries/common/fields_utils.test.ts b/src/platform/plugins/shared/vis_types/timeseries/common/fields_utils.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/fields_utils.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/fields_utils.test.ts diff --git a/src/plugins/vis_types/timeseries/common/fields_utils.ts b/src/platform/plugins/shared/vis_types/timeseries/common/fields_utils.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/fields_utils.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/fields_utils.ts diff --git a/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts b/src/platform/plugins/shared/vis_types/timeseries/common/index_patterns_utils.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/index_patterns_utils.test.ts diff --git a/src/plugins/vis_types/timeseries/common/index_patterns_utils.ts b/src/platform/plugins/shared/vis_types/timeseries/common/index_patterns_utils.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/index_patterns_utils.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/index_patterns_utils.ts diff --git a/src/plugins/vis_types/timeseries/common/interval_regexp.test.ts b/src/platform/plugins/shared/vis_types/timeseries/common/interval_regexp.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/interval_regexp.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/interval_regexp.test.ts diff --git a/src/plugins/vis_types/timeseries/common/interval_regexp.ts b/src/platform/plugins/shared/vis_types/timeseries/common/interval_regexp.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/interval_regexp.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/interval_regexp.ts diff --git a/src/plugins/vis_types/timeseries/common/last_value_utils.test.ts b/src/platform/plugins/shared/vis_types/timeseries/common/last_value_utils.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/last_value_utils.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/last_value_utils.test.ts diff --git a/src/plugins/vis_types/timeseries/common/last_value_utils.ts b/src/platform/plugins/shared/vis_types/timeseries/common/last_value_utils.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/last_value_utils.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/last_value_utils.ts diff --git a/src/plugins/vis_types/timeseries/common/operators_utils.test.ts b/src/platform/plugins/shared/vis_types/timeseries/common/operators_utils.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/operators_utils.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/operators_utils.test.ts diff --git a/src/plugins/vis_types/timeseries/common/operators_utils.ts b/src/platform/plugins/shared/vis_types/timeseries/common/operators_utils.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/operators_utils.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/operators_utils.ts diff --git a/src/plugins/vis_types/timeseries/common/to_percentile_number.ts b/src/platform/plugins/shared/vis_types/timeseries/common/to_percentile_number.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/to_percentile_number.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/to_percentile_number.ts diff --git a/src/plugins/vis_types/timeseries/common/types/color_rules.ts b/src/platform/plugins/shared/vis_types/timeseries/common/types/color_rules.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/types/color_rules.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/types/color_rules.ts diff --git a/src/plugins/vis_types/timeseries/common/types/index.ts b/src/platform/plugins/shared/vis_types/timeseries/common/types/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/types/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/types/index.ts diff --git a/src/plugins/vis_types/timeseries/common/types/panel_model.ts b/src/platform/plugins/shared/vis_types/timeseries/common/types/panel_model.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/types/panel_model.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/types/panel_model.ts diff --git a/src/plugins/vis_types/timeseries/common/types/vis_data.ts b/src/platform/plugins/shared/vis_types/timeseries/common/types/vis_data.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/types/vis_data.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/types/vis_data.ts diff --git a/src/plugins/vis_types/timeseries/common/ui_restrictions.ts b/src/platform/plugins/shared/vis_types/timeseries/common/ui_restrictions.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/ui_restrictions.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/ui_restrictions.ts diff --git a/src/plugins/vis_types/timeseries/common/validate_interval.ts b/src/platform/plugins/shared/vis_types/timeseries/common/validate_interval.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/validate_interval.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/validate_interval.ts diff --git a/src/plugins/vis_types/timeseries/common/vis_data_utils.ts b/src/platform/plugins/shared/vis_types/timeseries/common/vis_data_utils.ts similarity index 100% rename from src/plugins/vis_types/timeseries/common/vis_data_utils.ts rename to src/platform/plugins/shared/vis_types/timeseries/common/vis_data_utils.ts diff --git a/src/platform/plugins/shared/vis_types/timeseries/jest.config.js b/src/platform/plugins/shared/vis_types/timeseries/jest.config.js new file mode 100644 index 0000000000000..887cc1c8d2619 --- /dev/null +++ b/src/platform/plugins/shared/vis_types/timeseries/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/src/platform/plugins/shared/vis_types/timeseries'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/vis_types/timeseries', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/vis_types/timeseries/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/src/plugins/vis_types/timeseries/kibana.jsonc b/src/platform/plugins/shared/vis_types/timeseries/kibana.jsonc similarity index 100% rename from src/plugins/vis_types/timeseries/kibana.jsonc rename to src/platform/plugins/shared/vis_types/timeseries/kibana.jsonc diff --git a/src/plugins/vis_types/timeseries/public/application/components/_annotations_editor.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/_annotations_editor.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/_annotations_editor.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/_annotations_editor.scss diff --git a/src/plugins/vis_types/timeseries/public/application/components/_error.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/_error.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/_error.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/_error.scss diff --git a/src/plugins/vis_types/timeseries/public/application/components/_markdown_editor.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/_markdown_editor.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/_markdown_editor.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/_markdown_editor.scss diff --git a/src/plugins/vis_types/timeseries/public/application/components/_series_editor.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/_series_editor.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/_series_editor.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/_series_editor.scss diff --git a/src/plugins/vis_types/timeseries/public/application/components/_vis_editor_visualization.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/_vis_editor_visualization.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/_vis_editor_visualization.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/_vis_editor_visualization.scss diff --git a/src/plugins/vis_types/timeseries/public/application/components/_vis_with_splits.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/_vis_with_splits.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/_vis_with_splits.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/_vis_with_splits.scss diff --git a/src/plugins/vis_types/timeseries/public/application/components/add_delete_buttons.test.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/add_delete_buttons.test.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/add_delete_buttons.test.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/add_delete_buttons.test.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/add_delete_buttons.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/add_delete_buttons.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/add_delete_buttons.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/add_delete_buttons.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/agg.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/agg.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/agg.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/agg.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/agg_row.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/agg_row.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/agg_row.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/agg_row.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/agg_select.test.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/agg_select.test.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/agg_select.test.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/agg_select.test.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/agg_select.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/agg_select.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/agg_select.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/agg_select.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/aggs.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/aggs.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/aggs.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/aggs.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/calculation.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/calculation.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/calculation.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/calculation.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/cumulative_sum.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/cumulative_sum.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/cumulative_sum.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/cumulative_sum.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/derivative.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/derivative.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/derivative.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/derivative.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/field_select/field_select.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/field_select/field_select.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/field_select/field_select.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/field_select/field_select.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/field_select/field_select_item.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/field_select/field_select_item.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/field_select/field_select_item.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/field_select/field_select_item.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/field_select/field_select_utils.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/field_select/field_select_utils.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/field_select/field_select_utils.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/field_select/field_select_utils.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/field_select/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/field_select/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/field_select/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/field_select/index.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/field_select/multi_field_select.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/field_select/multi_field_select.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/field_select/multi_field_select.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/field_select/multi_field_select.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/filter_ratio.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/filter_ratio.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/filter_ratio.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/filter_ratio.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/filter_ratio.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/filter_ratio.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/filter_ratio.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/filter_ratio.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/histogram_support.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/histogram_support.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/histogram_support.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/histogram_support.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/invalid_agg.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/invalid_agg.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/invalid_agg.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/invalid_agg.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/math.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/math.js similarity index 98% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/math.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/math.js index be08de8783596..40c277516818a 100644 --- a/src/plugins/vis_types/timeseries/public/application/components/aggs/math.js +++ b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/math.js @@ -116,7 +116,7 @@ export function MathAgg(props) { values={{ link: ( /src/platform/plugins/shared/visualizations'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/visualizations', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/visualizations/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/src/plugins/visualizations/kibana.jsonc b/src/platform/plugins/shared/visualizations/kibana.jsonc similarity index 100% rename from src/plugins/visualizations/kibana.jsonc rename to src/platform/plugins/shared/visualizations/kibana.jsonc diff --git a/src/plugins/visualizations/public/actions/add_agg_vis_action.test.ts b/src/platform/plugins/shared/visualizations/public/actions/add_agg_vis_action.test.ts similarity index 100% rename from src/plugins/visualizations/public/actions/add_agg_vis_action.test.ts rename to src/platform/plugins/shared/visualizations/public/actions/add_agg_vis_action.test.ts diff --git a/src/plugins/visualizations/public/actions/add_agg_vis_action.ts b/src/platform/plugins/shared/visualizations/public/actions/add_agg_vis_action.ts similarity index 100% rename from src/plugins/visualizations/public/actions/add_agg_vis_action.ts rename to src/platform/plugins/shared/visualizations/public/actions/add_agg_vis_action.ts diff --git a/src/plugins/visualizations/public/actions/edit_in_lens_action.tsx b/src/platform/plugins/shared/visualizations/public/actions/edit_in_lens_action.tsx similarity index 100% rename from src/plugins/visualizations/public/actions/edit_in_lens_action.tsx rename to src/platform/plugins/shared/visualizations/public/actions/edit_in_lens_action.tsx diff --git a/src/plugins/visualizations/public/components/__snapshots__/visualization_noresults.test.js.snap b/src/platform/plugins/shared/visualizations/public/components/__snapshots__/visualization_noresults.test.js.snap similarity index 100% rename from src/plugins/visualizations/public/components/__snapshots__/visualization_noresults.test.js.snap rename to src/platform/plugins/shared/visualizations/public/components/__snapshots__/visualization_noresults.test.js.snap diff --git a/src/plugins/visualizations/public/components/index.ts b/src/platform/plugins/shared/visualizations/public/components/index.ts similarity index 100% rename from src/plugins/visualizations/public/components/index.ts rename to src/platform/plugins/shared/visualizations/public/components/index.ts diff --git a/src/plugins/visualizations/public/components/visualization_container.tsx b/src/platform/plugins/shared/visualizations/public/components/visualization_container.tsx similarity index 100% rename from src/plugins/visualizations/public/components/visualization_container.tsx rename to src/platform/plugins/shared/visualizations/public/components/visualization_container.tsx diff --git a/src/plugins/visualizations/public/components/visualization_error.tsx b/src/platform/plugins/shared/visualizations/public/components/visualization_error.tsx similarity index 100% rename from src/plugins/visualizations/public/components/visualization_error.tsx rename to src/platform/plugins/shared/visualizations/public/components/visualization_error.tsx diff --git a/src/plugins/visualizations/public/components/visualization_missed_saved_object_error.tsx b/src/platform/plugins/shared/visualizations/public/components/visualization_missed_saved_object_error.tsx similarity index 100% rename from src/plugins/visualizations/public/components/visualization_missed_saved_object_error.tsx rename to src/platform/plugins/shared/visualizations/public/components/visualization_missed_saved_object_error.tsx diff --git a/src/plugins/visualizations/public/components/visualization_noresults.test.js b/src/platform/plugins/shared/visualizations/public/components/visualization_noresults.test.js similarity index 100% rename from src/plugins/visualizations/public/components/visualization_noresults.test.js rename to src/platform/plugins/shared/visualizations/public/components/visualization_noresults.test.js diff --git a/src/plugins/visualizations/public/components/visualization_noresults.tsx b/src/platform/plugins/shared/visualizations/public/components/visualization_noresults.tsx similarity index 100% rename from src/plugins/visualizations/public/components/visualization_noresults.tsx rename to src/platform/plugins/shared/visualizations/public/components/visualization_noresults.tsx diff --git a/src/plugins/visualizations/public/content_management/index.ts b/src/platform/plugins/shared/visualizations/public/content_management/index.ts similarity index 100% rename from src/plugins/visualizations/public/content_management/index.ts rename to src/platform/plugins/shared/visualizations/public/content_management/index.ts diff --git a/src/plugins/visualizations/public/content_management/visualization_client.ts b/src/platform/plugins/shared/visualizations/public/content_management/visualization_client.ts similarity index 100% rename from src/plugins/visualizations/public/content_management/visualization_client.ts rename to src/platform/plugins/shared/visualizations/public/content_management/visualization_client.ts diff --git a/src/plugins/visualizations/public/convert_to_lens/datasource.ts b/src/platform/plugins/shared/visualizations/public/convert_to_lens/datasource.ts similarity index 100% rename from src/plugins/visualizations/public/convert_to_lens/datasource.ts rename to src/platform/plugins/shared/visualizations/public/convert_to_lens/datasource.ts diff --git a/src/plugins/visualizations/public/convert_to_lens/index.ts b/src/platform/plugins/shared/visualizations/public/convert_to_lens/index.ts similarity index 100% rename from src/plugins/visualizations/public/convert_to_lens/index.ts rename to src/platform/plugins/shared/visualizations/public/convert_to_lens/index.ts diff --git a/src/plugins/visualizations/public/convert_to_lens/schemas.test.ts b/src/platform/plugins/shared/visualizations/public/convert_to_lens/schemas.test.ts similarity index 100% rename from src/plugins/visualizations/public/convert_to_lens/schemas.test.ts rename to src/platform/plugins/shared/visualizations/public/convert_to_lens/schemas.test.ts diff --git a/src/plugins/visualizations/public/convert_to_lens/schemas.ts b/src/platform/plugins/shared/visualizations/public/convert_to_lens/schemas.ts similarity index 100% rename from src/plugins/visualizations/public/convert_to_lens/schemas.ts rename to src/platform/plugins/shared/visualizations/public/convert_to_lens/schemas.ts diff --git a/src/plugins/visualizations/public/convert_to_lens/utils.test.ts b/src/platform/plugins/shared/visualizations/public/convert_to_lens/utils.test.ts similarity index 100% rename from src/plugins/visualizations/public/convert_to_lens/utils.test.ts rename to src/platform/plugins/shared/visualizations/public/convert_to_lens/utils.test.ts diff --git a/src/plugins/visualizations/public/convert_to_lens/utils.ts b/src/platform/plugins/shared/visualizations/public/convert_to_lens/utils.ts similarity index 100% rename from src/plugins/visualizations/public/convert_to_lens/utils.ts rename to src/platform/plugins/shared/visualizations/public/convert_to_lens/utils.ts diff --git a/src/plugins/visualizations/public/embeddable/create_vis_instance.ts b/src/platform/plugins/shared/visualizations/public/embeddable/create_vis_instance.ts similarity index 100% rename from src/plugins/visualizations/public/embeddable/create_vis_instance.ts rename to src/platform/plugins/shared/visualizations/public/embeddable/create_vis_instance.ts diff --git a/src/plugins/visualizations/public/embeddable/events.ts b/src/platform/plugins/shared/visualizations/public/embeddable/events.ts similarity index 100% rename from src/plugins/visualizations/public/embeddable/events.ts rename to src/platform/plugins/shared/visualizations/public/embeddable/events.ts diff --git a/src/plugins/visualizations/public/embeddable/get_expression_renderer_props.ts b/src/platform/plugins/shared/visualizations/public/embeddable/get_expression_renderer_props.ts similarity index 100% rename from src/plugins/visualizations/public/embeddable/get_expression_renderer_props.ts rename to src/platform/plugins/shared/visualizations/public/embeddable/get_expression_renderer_props.ts diff --git a/src/plugins/visualizations/public/embeddable/get_visualize_embeddable_factory_lazy.ts b/src/platform/plugins/shared/visualizations/public/embeddable/get_visualize_embeddable_factory_lazy.ts similarity index 100% rename from src/plugins/visualizations/public/embeddable/get_visualize_embeddable_factory_lazy.ts rename to src/platform/plugins/shared/visualizations/public/embeddable/get_visualize_embeddable_factory_lazy.ts diff --git a/src/plugins/visualizations/public/embeddable/index.ts b/src/platform/plugins/shared/visualizations/public/embeddable/index.ts similarity index 100% rename from src/plugins/visualizations/public/embeddable/index.ts rename to src/platform/plugins/shared/visualizations/public/embeddable/index.ts diff --git a/src/plugins/visualizations/public/embeddable/initialize_edit_api.ts b/src/platform/plugins/shared/visualizations/public/embeddable/initialize_edit_api.ts similarity index 100% rename from src/plugins/visualizations/public/embeddable/initialize_edit_api.ts rename to src/platform/plugins/shared/visualizations/public/embeddable/initialize_edit_api.ts diff --git a/src/plugins/visualizations/public/embeddable/interfaces/has_expression_variables.ts b/src/platform/plugins/shared/visualizations/public/embeddable/interfaces/has_expression_variables.ts similarity index 100% rename from src/plugins/visualizations/public/embeddable/interfaces/has_expression_variables.ts rename to src/platform/plugins/shared/visualizations/public/embeddable/interfaces/has_expression_variables.ts diff --git a/src/plugins/visualizations/public/embeddable/interfaces/has_visualize_config.ts b/src/platform/plugins/shared/visualizations/public/embeddable/interfaces/has_visualize_config.ts similarity index 100% rename from src/plugins/visualizations/public/embeddable/interfaces/has_visualize_config.ts rename to src/platform/plugins/shared/visualizations/public/embeddable/interfaces/has_visualize_config.ts diff --git a/src/plugins/visualizations/public/embeddable/save_to_library.ts b/src/platform/plugins/shared/visualizations/public/embeddable/save_to_library.ts similarity index 100% rename from src/plugins/visualizations/public/embeddable/save_to_library.ts rename to src/platform/plugins/shared/visualizations/public/embeddable/save_to_library.ts diff --git a/src/plugins/visualizations/public/embeddable/state.test.ts b/src/platform/plugins/shared/visualizations/public/embeddable/state.test.ts similarity index 100% rename from src/plugins/visualizations/public/embeddable/state.test.ts rename to src/platform/plugins/shared/visualizations/public/embeddable/state.test.ts diff --git a/src/plugins/visualizations/public/embeddable/state.ts b/src/platform/plugins/shared/visualizations/public/embeddable/state.ts similarity index 100% rename from src/plugins/visualizations/public/embeddable/state.ts rename to src/platform/plugins/shared/visualizations/public/embeddable/state.ts diff --git a/src/plugins/visualizations/public/embeddable/to_ast.ts b/src/platform/plugins/shared/visualizations/public/embeddable/to_ast.ts similarity index 100% rename from src/plugins/visualizations/public/embeddable/to_ast.ts rename to src/platform/plugins/shared/visualizations/public/embeddable/to_ast.ts diff --git a/src/plugins/visualizations/public/embeddable/types.ts b/src/platform/plugins/shared/visualizations/public/embeddable/types.ts similarity index 100% rename from src/plugins/visualizations/public/embeddable/types.ts rename to src/platform/plugins/shared/visualizations/public/embeddable/types.ts diff --git a/src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx b/src/platform/plugins/shared/visualizations/public/embeddable/visualize_embeddable.tsx similarity index 100% rename from src/plugins/visualizations/public/embeddable/visualize_embeddable.tsx rename to src/platform/plugins/shared/visualizations/public/embeddable/visualize_embeddable.tsx diff --git a/src/plugins/visualizations/public/index.ts b/src/platform/plugins/shared/visualizations/public/index.ts similarity index 100% rename from src/plugins/visualizations/public/index.ts rename to src/platform/plugins/shared/visualizations/public/index.ts diff --git a/src/plugins/visualizations/public/legacy/embeddable/attribute_service.tsx b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/attribute_service.tsx similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/attribute_service.tsx rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/attribute_service.tsx diff --git a/src/plugins/visualizations/public/legacy/embeddable/constants.ts b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/constants.ts similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/constants.ts rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/constants.ts diff --git a/src/plugins/visualizations/public/legacy/embeddable/create_vis_embeddable_from_object.ts b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/create_vis_embeddable_from_object.ts similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/create_vis_embeddable_from_object.ts rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/create_vis_embeddable_from_object.ts diff --git a/src/plugins/visualizations/public/legacy/embeddable/diff_embeddable_input.test.ts b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/diff_embeddable_input.test.ts similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/diff_embeddable_input.test.ts rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/diff_embeddable_input.test.ts diff --git a/src/plugins/visualizations/public/legacy/embeddable/diff_embeddable_input.ts b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/diff_embeddable_input.ts similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/diff_embeddable_input.ts rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/diff_embeddable_input.ts diff --git a/src/plugins/visualizations/public/legacy/embeddable/embeddable.tsx b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/embeddable.tsx similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/embeddable.tsx rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/embeddable.tsx diff --git a/src/plugins/visualizations/public/legacy/embeddable/embeddables.scss b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/embeddables.scss similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/embeddables.scss rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/embeddables.scss diff --git a/src/plugins/visualizations/public/legacy/embeddable/error_embeddable.scss b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/error_embeddable.scss similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/error_embeddable.scss rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/error_embeddable.scss diff --git a/src/plugins/visualizations/public/legacy/embeddable/error_embeddable.tsx b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/error_embeddable.tsx similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/error_embeddable.tsx rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/error_embeddable.tsx diff --git a/src/plugins/visualizations/public/legacy/embeddable/i_embeddable.ts b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/i_embeddable.ts similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/i_embeddable.ts rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/i_embeddable.ts diff --git a/src/plugins/visualizations/public/legacy/embeddable/index.ts b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/index.ts similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/index.ts rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/index.ts diff --git a/src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable.tsx b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/visualize_embeddable.tsx similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable.tsx rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/visualize_embeddable.tsx diff --git a/src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable_async.ts b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/visualize_embeddable_async.ts similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable_async.ts rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/visualize_embeddable_async.ts diff --git a/src/plugins/visualizations/public/legacy/memoize.test.ts b/src/platform/plugins/shared/visualizations/public/legacy/memoize.test.ts similarity index 100% rename from src/plugins/visualizations/public/legacy/memoize.test.ts rename to src/platform/plugins/shared/visualizations/public/legacy/memoize.test.ts diff --git a/src/plugins/visualizations/public/legacy/memoize.ts b/src/platform/plugins/shared/visualizations/public/legacy/memoize.ts similarity index 100% rename from src/plugins/visualizations/public/legacy/memoize.ts rename to src/platform/plugins/shared/visualizations/public/legacy/memoize.ts diff --git a/src/plugins/visualizations/public/legacy/vis_update_state.d.ts b/src/platform/plugins/shared/visualizations/public/legacy/vis_update_state.d.ts similarity index 100% rename from src/plugins/visualizations/public/legacy/vis_update_state.d.ts rename to src/platform/plugins/shared/visualizations/public/legacy/vis_update_state.d.ts diff --git a/src/plugins/visualizations/public/legacy/vis_update_state.js b/src/platform/plugins/shared/visualizations/public/legacy/vis_update_state.js similarity index 100% rename from src/plugins/visualizations/public/legacy/vis_update_state.js rename to src/platform/plugins/shared/visualizations/public/legacy/vis_update_state.js diff --git a/src/plugins/visualizations/public/legacy/vis_update_state.stub.js b/src/platform/plugins/shared/visualizations/public/legacy/vis_update_state.stub.js similarity index 100% rename from src/plugins/visualizations/public/legacy/vis_update_state.stub.js rename to src/platform/plugins/shared/visualizations/public/legacy/vis_update_state.stub.js diff --git a/src/plugins/visualizations/public/legacy/vis_update_state.test.js b/src/platform/plugins/shared/visualizations/public/legacy/vis_update_state.test.js similarity index 100% rename from src/plugins/visualizations/public/legacy/vis_update_state.test.js rename to src/platform/plugins/shared/visualizations/public/legacy/vis_update_state.test.js diff --git a/src/plugins/visualizations/public/mocks.ts b/src/platform/plugins/shared/visualizations/public/mocks.ts similarity index 100% rename from src/plugins/visualizations/public/mocks.ts rename to src/platform/plugins/shared/visualizations/public/mocks.ts diff --git a/src/plugins/visualizations/public/persisted_state/index.ts b/src/platform/plugins/shared/visualizations/public/persisted_state/index.ts similarity index 100% rename from src/plugins/visualizations/public/persisted_state/index.ts rename to src/platform/plugins/shared/visualizations/public/persisted_state/index.ts diff --git a/src/plugins/visualizations/public/persisted_state/persisted_state.ts b/src/platform/plugins/shared/visualizations/public/persisted_state/persisted_state.ts similarity index 100% rename from src/plugins/visualizations/public/persisted_state/persisted_state.ts rename to src/platform/plugins/shared/visualizations/public/persisted_state/persisted_state.ts diff --git a/src/plugins/visualizations/public/persisted_state/persisted_state_provider.test.ts b/src/platform/plugins/shared/visualizations/public/persisted_state/persisted_state_provider.test.ts similarity index 100% rename from src/plugins/visualizations/public/persisted_state/persisted_state_provider.test.ts rename to src/platform/plugins/shared/visualizations/public/persisted_state/persisted_state_provider.test.ts diff --git a/src/plugins/visualizations/public/plugin.ts b/src/platform/plugins/shared/visualizations/public/plugin.ts similarity index 100% rename from src/plugins/visualizations/public/plugin.ts rename to src/platform/plugins/shared/visualizations/public/plugin.ts diff --git a/src/plugins/visualizations/public/services.ts b/src/platform/plugins/shared/visualizations/public/services.ts similarity index 100% rename from src/plugins/visualizations/public/services.ts rename to src/platform/plugins/shared/visualizations/public/services.ts diff --git a/src/plugins/visualizations/public/triggers/index.ts b/src/platform/plugins/shared/visualizations/public/triggers/index.ts similarity index 100% rename from src/plugins/visualizations/public/triggers/index.ts rename to src/platform/plugins/shared/visualizations/public/triggers/index.ts diff --git a/src/plugins/visualizations/public/types.ts b/src/platform/plugins/shared/visualizations/public/types.ts similarity index 100% rename from src/plugins/visualizations/public/types.ts rename to src/platform/plugins/shared/visualizations/public/types.ts diff --git a/src/plugins/visualizations/public/utils/saved_objects_utils/check_for_duplicate_title.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/check_for_duplicate_title.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_objects_utils/check_for_duplicate_title.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/check_for_duplicate_title.ts diff --git a/src/plugins/visualizations/public/utils/saved_objects_utils/confirm_modal_promise.tsx b/src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/confirm_modal_promise.tsx similarity index 100% rename from src/plugins/visualizations/public/utils/saved_objects_utils/confirm_modal_promise.tsx rename to src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/confirm_modal_promise.tsx diff --git a/src/plugins/visualizations/public/utils/saved_objects_utils/constants.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/constants.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_objects_utils/constants.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/constants.ts diff --git a/src/plugins/visualizations/public/utils/saved_objects_utils/display_duplicate_title_confirm_modal.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/display_duplicate_title_confirm_modal.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_objects_utils/display_duplicate_title_confirm_modal.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/display_duplicate_title_confirm_modal.ts diff --git a/src/plugins/visualizations/public/utils/saved_objects_utils/find_object_by_title.test.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/find_object_by_title.test.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_objects_utils/find_object_by_title.test.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/find_object_by_title.test.ts diff --git a/src/plugins/visualizations/public/utils/saved_objects_utils/find_object_by_title.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/find_object_by_title.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_objects_utils/find_object_by_title.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/find_object_by_title.ts diff --git a/src/plugins/visualizations/public/utils/saved_objects_utils/index.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/index.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_objects_utils/index.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/index.ts diff --git a/src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.test.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/save_with_confirmation.test.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.test.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/save_with_confirmation.test.ts diff --git a/src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/save_with_confirmation.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_objects_utils/save_with_confirmation.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/save_with_confirmation.ts diff --git a/src/plugins/visualizations/public/utils/saved_objects_utils/update_basic_attributes.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/update_basic_attributes.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_objects_utils/update_basic_attributes.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_objects_utils/update_basic_attributes.ts diff --git a/src/plugins/visualizations/public/utils/saved_visualization_references/controls_references.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_visualization_references/controls_references.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_visualization_references/controls_references.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_visualization_references/controls_references.ts diff --git a/src/plugins/visualizations/public/utils/saved_visualization_references/index.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_visualization_references/index.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_visualization_references/index.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_visualization_references/index.ts diff --git a/src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.test.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_visualization_references/saved_visualization_references.test.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.test.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_visualization_references/saved_visualization_references.test.ts diff --git a/src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_visualization_references/saved_visualization_references.ts diff --git a/src/plugins/visualizations/public/utils/saved_visualization_references/timeseries_references.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_visualization_references/timeseries_references.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_visualization_references/timeseries_references.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_visualization_references/timeseries_references.ts diff --git a/src/plugins/visualizations/public/utils/saved_visualize_utils.test.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_visualize_utils.test.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_visualize_utils.test.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_visualize_utils.test.ts diff --git a/src/plugins/visualizations/public/utils/saved_visualize_utils.ts b/src/platform/plugins/shared/visualizations/public/utils/saved_visualize_utils.ts similarity index 100% rename from src/plugins/visualizations/public/utils/saved_visualize_utils.ts rename to src/platform/plugins/shared/visualizations/public/utils/saved_visualize_utils.ts diff --git a/src/plugins/visualizations/public/vis.scss b/src/platform/plugins/shared/visualizations/public/vis.scss similarity index 100% rename from src/plugins/visualizations/public/vis.scss rename to src/platform/plugins/shared/visualizations/public/vis.scss diff --git a/src/plugins/visualizations/public/vis.test.ts b/src/platform/plugins/shared/visualizations/public/vis.test.ts similarity index 100% rename from src/plugins/visualizations/public/vis.test.ts rename to src/platform/plugins/shared/visualizations/public/vis.test.ts diff --git a/src/plugins/visualizations/public/vis.ts b/src/platform/plugins/shared/visualizations/public/vis.ts similarity index 100% rename from src/plugins/visualizations/public/vis.ts rename to src/platform/plugins/shared/visualizations/public/vis.ts diff --git a/src/plugins/visualizations/public/vis_async.ts b/src/platform/plugins/shared/visualizations/public/vis_async.ts similarity index 100% rename from src/plugins/visualizations/public/vis_async.ts rename to src/platform/plugins/shared/visualizations/public/vis_async.ts diff --git a/src/plugins/visualizations/public/vis_editors_registry.ts b/src/platform/plugins/shared/visualizations/public/vis_editors_registry.ts similarity index 100% rename from src/plugins/visualizations/public/vis_editors_registry.ts rename to src/platform/plugins/shared/visualizations/public/vis_editors_registry.ts diff --git a/src/plugins/visualizations/public/vis_schemas.ts b/src/platform/plugins/shared/visualizations/public/vis_schemas.ts similarity index 100% rename from src/plugins/visualizations/public/vis_schemas.ts rename to src/platform/plugins/shared/visualizations/public/vis_schemas.ts diff --git a/src/plugins/visualizations/public/vis_types/base_vis_type.test.ts b/src/platform/plugins/shared/visualizations/public/vis_types/base_vis_type.test.ts similarity index 100% rename from src/plugins/visualizations/public/vis_types/base_vis_type.test.ts rename to src/platform/plugins/shared/visualizations/public/vis_types/base_vis_type.test.ts diff --git a/src/plugins/visualizations/public/vis_types/base_vis_type.ts b/src/platform/plugins/shared/visualizations/public/vis_types/base_vis_type.ts similarity index 100% rename from src/plugins/visualizations/public/vis_types/base_vis_type.ts rename to src/platform/plugins/shared/visualizations/public/vis_types/base_vis_type.ts diff --git a/src/plugins/visualizations/public/vis_types/index.ts b/src/platform/plugins/shared/visualizations/public/vis_types/index.ts similarity index 100% rename from src/plugins/visualizations/public/vis_types/index.ts rename to src/platform/plugins/shared/visualizations/public/vis_types/index.ts diff --git a/src/plugins/visualizations/public/vis_types/schemas.ts b/src/platform/plugins/shared/visualizations/public/vis_types/schemas.ts similarity index 100% rename from src/plugins/visualizations/public/vis_types/schemas.ts rename to src/platform/plugins/shared/visualizations/public/vis_types/schemas.ts diff --git a/src/plugins/visualizations/public/vis_types/types.ts b/src/platform/plugins/shared/visualizations/public/vis_types/types.ts similarity index 100% rename from src/plugins/visualizations/public/vis_types/types.ts rename to src/platform/plugins/shared/visualizations/public/vis_types/types.ts diff --git a/src/plugins/visualizations/public/vis_types/types_service.ts b/src/platform/plugins/shared/visualizations/public/vis_types/types_service.ts similarity index 100% rename from src/plugins/visualizations/public/vis_types/types_service.ts rename to src/platform/plugins/shared/visualizations/public/vis_types/types_service.ts diff --git a/src/plugins/visualizations/public/vis_types/vis_groups_enum.ts b/src/platform/plugins/shared/visualizations/public/vis_types/vis_groups_enum.ts similarity index 100% rename from src/plugins/visualizations/public/vis_types/vis_groups_enum.ts rename to src/platform/plugins/shared/visualizations/public/vis_types/vis_groups_enum.ts diff --git a/src/plugins/visualizations/public/vis_types/vis_type_alias_registry.ts b/src/platform/plugins/shared/visualizations/public/vis_types/vis_type_alias_registry.ts similarity index 100% rename from src/plugins/visualizations/public/vis_types/vis_type_alias_registry.ts rename to src/platform/plugins/shared/visualizations/public/vis_types/vis_type_alias_registry.ts diff --git a/src/plugins/visualizations/public/visualize_app/app.scss b/src/platform/plugins/shared/visualizations/public/visualize_app/app.scss similarity index 100% rename from src/plugins/visualizations/public/visualize_app/app.scss rename to src/platform/plugins/shared/visualizations/public/visualize_app/app.scss diff --git a/src/plugins/visualizations/public/visualize_app/app.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/app.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/app.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/app.tsx diff --git a/src/plugins/visualizations/public/visualize_app/components/experimental_vis_info.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/components/experimental_vis_info.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/components/experimental_vis_info.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/components/experimental_vis_info.tsx diff --git a/src/plugins/visualizations/public/visualize_app/components/index.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/components/index.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/components/index.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/components/index.ts diff --git a/src/plugins/visualizations/public/visualize_app/components/visualize_byvalue_editor.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_byvalue_editor.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/components/visualize_byvalue_editor.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_byvalue_editor.tsx diff --git a/src/plugins/visualizations/public/visualize_app/components/visualize_editor.scss b/src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_editor.scss similarity index 100% rename from src/plugins/visualizations/public/visualize_app/components/visualize_editor.scss rename to src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_editor.scss diff --git a/src/plugins/visualizations/public/visualize_app/components/visualize_editor.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_editor.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/components/visualize_editor.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_editor.tsx diff --git a/src/plugins/visualizations/public/visualize_app/components/visualize_editor_common.test.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_editor_common.test.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/components/visualize_editor_common.test.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_editor_common.test.tsx diff --git a/src/plugins/visualizations/public/visualize_app/components/visualize_editor_common.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_editor_common.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/components/visualize_editor_common.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_editor_common.tsx diff --git a/src/plugins/visualizations/public/visualize_app/components/visualize_listing.scss b/src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_listing.scss similarity index 100% rename from src/plugins/visualizations/public/visualize_app/components/visualize_listing.scss rename to src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_listing.scss diff --git a/src/plugins/visualizations/public/visualize_app/components/visualize_listing.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_listing.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/components/visualize_listing.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_listing.tsx diff --git a/src/plugins/visualizations/public/visualize_app/components/visualize_no_match.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_no_match.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/components/visualize_no_match.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_no_match.tsx diff --git a/src/plugins/visualizations/public/visualize_app/components/visualize_top_nav.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_top_nav.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/components/visualize_top_nav.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/components/visualize_top_nav.tsx diff --git a/src/plugins/visualizations/public/visualize_app/components/viz_chart_warning.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/components/viz_chart_warning.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/components/viz_chart_warning.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/components/viz_chart_warning.tsx diff --git a/src/plugins/visualizations/public/visualize_app/constants.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/constants.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/constants.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/constants.ts diff --git a/src/plugins/visualizations/public/visualize_app/index.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/index.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/index.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/index.tsx diff --git a/src/plugins/visualizations/public/visualize_app/types.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/types.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/types.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/types.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/breadcrumbs.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/breadcrumbs.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/breadcrumbs.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/breadcrumbs.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/create_visualize_app_state.test.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/create_visualize_app_state.test.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/create_visualize_app_state.test.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/create_visualize_app_state.test.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/create_visualize_app_state.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/create_visualize_app_state.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/create_visualize_app_state.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/create_visualize_app_state.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/get_table_columns.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/get_table_columns.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/get_table_columns.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/get_table_columns.tsx diff --git a/src/plugins/visualizations/public/visualize_app/utils/get_top_nav_config.test.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/get_top_nav_config.test.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/get_top_nav_config.test.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/get_top_nav_config.test.tsx diff --git a/src/plugins/visualizations/public/visualize_app/utils/get_top_nav_config.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/get_top_nav_config.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/get_top_nav_config.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/get_top_nav_config.tsx diff --git a/src/plugins/visualizations/public/visualize_app/utils/get_visualization_instance.test.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/get_visualization_instance.test.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/get_visualization_instance.test.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/get_visualization_instance.test.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/get_visualization_instance.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/get_visualization_instance.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/get_visualization_instance.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/get_visualization_instance.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/get_visualize_list_item_link.test.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/get_visualize_list_item_link.test.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/get_visualize_list_item_link.test.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/get_visualize_list_item_link.test.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/get_visualize_list_item_link.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/get_visualize_list_item_link.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/get_visualize_list_item_link.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/get_visualize_list_item_link.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/index.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/index.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/index.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/index.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/migrate_app_state.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/migrate_app_state.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/migrate_app_state.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/migrate_app_state.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/migrate_legacy_query.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/migrate_legacy_query.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/migrate_legacy_query.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/migrate_legacy_query.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/mocks.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/mocks.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/mocks.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/mocks.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/split_chart_warning_helpers.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/split_chart_warning_helpers.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/split_chart_warning_helpers.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/split_chart_warning_helpers.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/stubs.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/stubs.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/stubs.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/stubs.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/use/index.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/index.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/use/index.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/index.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/use/use_chrome_visibility.test.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_chrome_visibility.test.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/use/use_chrome_visibility.test.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_chrome_visibility.test.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/use/use_chrome_visibility.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_chrome_visibility.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/use/use_chrome_visibility.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_chrome_visibility.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/use/use_data_view_updates.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_data_view_updates.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/use/use_data_view_updates.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_data_view_updates.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/use/use_editor_updates.test.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_editor_updates.test.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/use/use_editor_updates.test.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_editor_updates.test.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/use/use_editor_updates.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_editor_updates.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/use/use_editor_updates.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_editor_updates.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/use/use_linked_search_updates.test.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_linked_search_updates.test.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/use/use_linked_search_updates.test.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_linked_search_updates.test.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/use/use_linked_search_updates.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_linked_search_updates.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/use/use_linked_search_updates.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_linked_search_updates.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/use/use_saved_vis_instance.test.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_saved_vis_instance.test.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/use/use_saved_vis_instance.test.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_saved_vis_instance.test.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/use/use_saved_vis_instance.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_saved_vis_instance.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/use/use_saved_vis_instance.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_saved_vis_instance.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/use/use_vis_byvalue.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_vis_byvalue.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/use/use_vis_byvalue.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_vis_byvalue.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/use/use_visualize_app_state.test.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_visualize_app_state.test.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/use/use_visualize_app_state.test.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_visualize_app_state.test.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/use/use_visualize_app_state.tsx b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_visualize_app_state.tsx similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/use/use_visualize_app_state.tsx rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/use/use_visualize_app_state.tsx diff --git a/src/plugins/visualizations/public/visualize_app/utils/utils.ts b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/utils.ts similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/utils.ts rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/utils.ts diff --git a/src/plugins/visualizations/public/visualize_app/utils/visualize_navigation.scss b/src/platform/plugins/shared/visualizations/public/visualize_app/utils/visualize_navigation.scss similarity index 100% rename from src/plugins/visualizations/public/visualize_app/utils/visualize_navigation.scss rename to src/platform/plugins/shared/visualizations/public/visualize_app/utils/visualize_navigation.scss diff --git a/src/plugins/visualizations/public/visualize_screenshot_mode.scss b/src/platform/plugins/shared/visualizations/public/visualize_screenshot_mode.scss similarity index 100% rename from src/plugins/visualizations/public/visualize_screenshot_mode.scss rename to src/platform/plugins/shared/visualizations/public/visualize_screenshot_mode.scss diff --git a/src/plugins/visualizations/public/wizard/agg_based_selection/agg_based_selection.test.tsx b/src/platform/plugins/shared/visualizations/public/wizard/agg_based_selection/agg_based_selection.test.tsx similarity index 100% rename from src/plugins/visualizations/public/wizard/agg_based_selection/agg_based_selection.test.tsx rename to src/platform/plugins/shared/visualizations/public/wizard/agg_based_selection/agg_based_selection.test.tsx diff --git a/src/plugins/visualizations/public/wizard/agg_based_selection/agg_based_selection.tsx b/src/platform/plugins/shared/visualizations/public/wizard/agg_based_selection/agg_based_selection.tsx similarity index 100% rename from src/plugins/visualizations/public/wizard/agg_based_selection/agg_based_selection.tsx rename to src/platform/plugins/shared/visualizations/public/wizard/agg_based_selection/agg_based_selection.tsx diff --git a/src/plugins/visualizations/public/wizard/agg_based_selection/index.ts b/src/platform/plugins/shared/visualizations/public/wizard/agg_based_selection/index.ts similarity index 100% rename from src/plugins/visualizations/public/wizard/agg_based_selection/index.ts rename to src/platform/plugins/shared/visualizations/public/wizard/agg_based_selection/index.ts diff --git a/src/plugins/visualizations/public/wizard/dialog.scss b/src/platform/plugins/shared/visualizations/public/wizard/dialog.scss similarity index 100% rename from src/plugins/visualizations/public/wizard/dialog.scss rename to src/platform/plugins/shared/visualizations/public/wizard/dialog.scss diff --git a/src/plugins/visualizations/public/wizard/dialog_navigation.tsx b/src/platform/plugins/shared/visualizations/public/wizard/dialog_navigation.tsx similarity index 100% rename from src/plugins/visualizations/public/wizard/dialog_navigation.tsx rename to src/platform/plugins/shared/visualizations/public/wizard/dialog_navigation.tsx diff --git a/src/plugins/visualizations/public/wizard/group_selection/group_selection.scss b/src/platform/plugins/shared/visualizations/public/wizard/group_selection/group_selection.scss similarity index 100% rename from src/plugins/visualizations/public/wizard/group_selection/group_selection.scss rename to src/platform/plugins/shared/visualizations/public/wizard/group_selection/group_selection.scss diff --git a/src/plugins/visualizations/public/wizard/group_selection/group_selection.test.tsx b/src/platform/plugins/shared/visualizations/public/wizard/group_selection/group_selection.test.tsx similarity index 100% rename from src/plugins/visualizations/public/wizard/group_selection/group_selection.test.tsx rename to src/platform/plugins/shared/visualizations/public/wizard/group_selection/group_selection.test.tsx diff --git a/src/plugins/visualizations/public/wizard/group_selection/group_selection.tsx b/src/platform/plugins/shared/visualizations/public/wizard/group_selection/group_selection.tsx similarity index 100% rename from src/plugins/visualizations/public/wizard/group_selection/group_selection.tsx rename to src/platform/plugins/shared/visualizations/public/wizard/group_selection/group_selection.tsx diff --git a/src/plugins/visualizations/public/wizard/group_selection/index.ts b/src/platform/plugins/shared/visualizations/public/wizard/group_selection/index.ts similarity index 100% rename from src/plugins/visualizations/public/wizard/group_selection/index.ts rename to src/platform/plugins/shared/visualizations/public/wizard/group_selection/index.ts diff --git a/src/plugins/visualizations/public/wizard/index.ts b/src/platform/plugins/shared/visualizations/public/wizard/index.ts similarity index 100% rename from src/plugins/visualizations/public/wizard/index.ts rename to src/platform/plugins/shared/visualizations/public/wizard/index.ts diff --git a/src/plugins/visualizations/public/wizard/new_vis_modal.test.tsx b/src/platform/plugins/shared/visualizations/public/wizard/new_vis_modal.test.tsx similarity index 100% rename from src/plugins/visualizations/public/wizard/new_vis_modal.test.tsx rename to src/platform/plugins/shared/visualizations/public/wizard/new_vis_modal.test.tsx diff --git a/src/plugins/visualizations/public/wizard/new_vis_modal.tsx b/src/platform/plugins/shared/visualizations/public/wizard/new_vis_modal.tsx similarity index 100% rename from src/plugins/visualizations/public/wizard/new_vis_modal.tsx rename to src/platform/plugins/shared/visualizations/public/wizard/new_vis_modal.tsx diff --git a/src/plugins/visualizations/public/wizard/search_selection/index.ts b/src/platform/plugins/shared/visualizations/public/wizard/search_selection/index.ts similarity index 100% rename from src/plugins/visualizations/public/wizard/search_selection/index.ts rename to src/platform/plugins/shared/visualizations/public/wizard/search_selection/index.ts diff --git a/src/plugins/visualizations/public/wizard/search_selection/search_selection.tsx b/src/platform/plugins/shared/visualizations/public/wizard/search_selection/search_selection.tsx similarity index 100% rename from src/plugins/visualizations/public/wizard/search_selection/search_selection.tsx rename to src/platform/plugins/shared/visualizations/public/wizard/search_selection/search_selection.tsx diff --git a/src/plugins/visualizations/public/wizard/search_selection/show_saved_object.test.ts b/src/platform/plugins/shared/visualizations/public/wizard/search_selection/show_saved_object.test.ts similarity index 100% rename from src/plugins/visualizations/public/wizard/search_selection/show_saved_object.test.ts rename to src/platform/plugins/shared/visualizations/public/wizard/search_selection/show_saved_object.test.ts diff --git a/src/plugins/visualizations/public/wizard/search_selection/show_saved_object.ts b/src/platform/plugins/shared/visualizations/public/wizard/search_selection/show_saved_object.ts similarity index 100% rename from src/plugins/visualizations/public/wizard/search_selection/show_saved_object.ts rename to src/platform/plugins/shared/visualizations/public/wizard/search_selection/show_saved_object.ts diff --git a/src/plugins/visualizations/public/wizard/show_new_vis.tsx b/src/platform/plugins/shared/visualizations/public/wizard/show_new_vis.tsx similarity index 100% rename from src/plugins/visualizations/public/wizard/show_new_vis.tsx rename to src/platform/plugins/shared/visualizations/public/wizard/show_new_vis.tsx diff --git a/src/plugins/visualizations/server/capabilities_provider.ts b/src/platform/plugins/shared/visualizations/server/capabilities_provider.ts similarity index 100% rename from src/plugins/visualizations/server/capabilities_provider.ts rename to src/platform/plugins/shared/visualizations/server/capabilities_provider.ts diff --git a/src/plugins/visualizations/server/content_management/cm_services.ts b/src/platform/plugins/shared/visualizations/server/content_management/cm_services.ts similarity index 100% rename from src/plugins/visualizations/server/content_management/cm_services.ts rename to src/platform/plugins/shared/visualizations/server/content_management/cm_services.ts diff --git a/src/plugins/visualizations/server/content_management/index.ts b/src/platform/plugins/shared/visualizations/server/content_management/index.ts similarity index 100% rename from src/plugins/visualizations/server/content_management/index.ts rename to src/platform/plugins/shared/visualizations/server/content_management/index.ts diff --git a/src/plugins/visualizations/server/content_management/v1/cm_services.ts b/src/platform/plugins/shared/visualizations/server/content_management/v1/cm_services.ts similarity index 100% rename from src/plugins/visualizations/server/content_management/v1/cm_services.ts rename to src/platform/plugins/shared/visualizations/server/content_management/v1/cm_services.ts diff --git a/src/plugins/visualizations/server/content_management/visualization_storage.ts b/src/platform/plugins/shared/visualizations/server/content_management/visualization_storage.ts similarity index 100% rename from src/plugins/visualizations/server/content_management/visualization_storage.ts rename to src/platform/plugins/shared/visualizations/server/content_management/visualization_storage.ts diff --git a/src/plugins/visualizations/server/embeddable/make_visualize_embeddable_factory.test.ts b/src/platform/plugins/shared/visualizations/server/embeddable/make_visualize_embeddable_factory.test.ts similarity index 100% rename from src/plugins/visualizations/server/embeddable/make_visualize_embeddable_factory.test.ts rename to src/platform/plugins/shared/visualizations/server/embeddable/make_visualize_embeddable_factory.test.ts diff --git a/src/plugins/visualizations/server/embeddable/make_visualize_embeddable_factory.ts b/src/platform/plugins/shared/visualizations/server/embeddable/make_visualize_embeddable_factory.ts similarity index 100% rename from src/plugins/visualizations/server/embeddable/make_visualize_embeddable_factory.ts rename to src/platform/plugins/shared/visualizations/server/embeddable/make_visualize_embeddable_factory.ts diff --git a/src/plugins/visualizations/server/index.ts b/src/platform/plugins/shared/visualizations/server/index.ts similarity index 100% rename from src/plugins/visualizations/server/index.ts rename to src/platform/plugins/shared/visualizations/server/index.ts diff --git a/src/plugins/visualizations/server/migrations/visualization_common_migrations.ts b/src/platform/plugins/shared/visualizations/server/migrations/visualization_common_migrations.ts similarity index 100% rename from src/plugins/visualizations/server/migrations/visualization_common_migrations.ts rename to src/platform/plugins/shared/visualizations/server/migrations/visualization_common_migrations.ts diff --git a/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.test.ts b/src/platform/plugins/shared/visualizations/server/migrations/visualization_saved_object_migrations.test.ts similarity index 100% rename from src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.test.ts rename to src/platform/plugins/shared/visualizations/server/migrations/visualization_saved_object_migrations.test.ts diff --git a/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts b/src/platform/plugins/shared/visualizations/server/migrations/visualization_saved_object_migrations.ts similarity index 100% rename from src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts rename to src/platform/plugins/shared/visualizations/server/migrations/visualization_saved_object_migrations.ts diff --git a/src/plugins/visualizations/server/plugin.ts b/src/platform/plugins/shared/visualizations/server/plugin.ts similarity index 100% rename from src/plugins/visualizations/server/plugin.ts rename to src/platform/plugins/shared/visualizations/server/plugin.ts diff --git a/src/plugins/visualizations/server/saved_objects/get_in_app_url.test.ts b/src/platform/plugins/shared/visualizations/server/saved_objects/get_in_app_url.test.ts similarity index 100% rename from src/plugins/visualizations/server/saved_objects/get_in_app_url.test.ts rename to src/platform/plugins/shared/visualizations/server/saved_objects/get_in_app_url.test.ts diff --git a/src/plugins/visualizations/server/saved_objects/get_in_app_url.ts b/src/platform/plugins/shared/visualizations/server/saved_objects/get_in_app_url.ts similarity index 100% rename from src/plugins/visualizations/server/saved_objects/get_in_app_url.ts rename to src/platform/plugins/shared/visualizations/server/saved_objects/get_in_app_url.ts diff --git a/src/plugins/visualizations/server/saved_objects/index.ts b/src/platform/plugins/shared/visualizations/server/saved_objects/index.ts similarity index 100% rename from src/plugins/visualizations/server/saved_objects/index.ts rename to src/platform/plugins/shared/visualizations/server/saved_objects/index.ts diff --git a/src/plugins/visualizations/server/saved_objects/read_only_vis_type_registry.ts b/src/platform/plugins/shared/visualizations/server/saved_objects/read_only_vis_type_registry.ts similarity index 100% rename from src/plugins/visualizations/server/saved_objects/read_only_vis_type_registry.ts rename to src/platform/plugins/shared/visualizations/server/saved_objects/read_only_vis_type_registry.ts diff --git a/src/plugins/visualizations/server/saved_objects/visualization.ts b/src/platform/plugins/shared/visualizations/server/saved_objects/visualization.ts similarity index 100% rename from src/plugins/visualizations/server/saved_objects/visualization.ts rename to src/platform/plugins/shared/visualizations/server/saved_objects/visualization.ts diff --git a/src/plugins/visualizations/server/types.ts b/src/platform/plugins/shared/visualizations/server/types.ts similarity index 100% rename from src/plugins/visualizations/server/types.ts rename to src/platform/plugins/shared/visualizations/server/types.ts diff --git a/src/plugins/visualizations/tsconfig.json b/src/platform/plugins/shared/visualizations/tsconfig.json similarity index 97% rename from src/plugins/visualizations/tsconfig.json rename to src/platform/plugins/shared/visualizations/tsconfig.json index 32811524e65f7..a41e6467bb6a3 100644 --- a/src/plugins/visualizations/tsconfig.json +++ b/src/platform/plugins/shared/visualizations/tsconfig.json @@ -1,9 +1,9 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, - "include": ["common/**/*", "public/**/*", "server/**/*", "../../../typings/**/*"], + "include": ["common/**/*", "public/**/*", "server/**/*", "../../../../../typings/**/*"], "kbn_references": [ "@kbn/core", "@kbn/charts-plugin", diff --git a/src/plugins/chart_expressions/common/jest.config.js b/src/plugins/chart_expressions/common/jest.config.js deleted file mode 100644 index fe155939f7529..0000000000000 --- a/src/plugins/chart_expressions/common/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/src/plugins/chart_expressions/common'], -}; diff --git a/src/plugins/chart_expressions/expression_partition_vis/jest.config.js b/src/plugins/chart_expressions/expression_partition_vis/jest.config.js deleted file mode 100644 index 65b582b40ac3f..0000000000000 --- a/src/plugins/chart_expressions/expression_partition_vis/jest.config.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../', - roots: ['/src/plugins/chart_expressions/expression_partition_vis'], - coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_partition_vis', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/chart_expressions/expression_partition_vis/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/charts/jest.config.js b/src/plugins/charts/jest.config.js deleted file mode 100644 index ff90f968b3139..0000000000000 --- a/src/plugins/charts/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/charts'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/charts', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/charts/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/data/jest.config.js b/src/plugins/data/jest.config.js deleted file mode 100644 index 02b995bf5f490..0000000000000 --- a/src/plugins/data/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/data'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/data', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/data/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/expressions/jest.config.js b/src/plugins/expressions/jest.config.js deleted file mode 100644 index 5395dc015f6d1..0000000000000 --- a/src/plugins/expressions/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expressions'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expressions', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/expressions/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/unified_search/jest.config.js b/src/plugins/unified_search/jest.config.js deleted file mode 100644 index b3358989c81ff..0000000000000 --- a/src/plugins/unified_search/jest.config.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/unified_search'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/unified_search', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/unified_search/public/**/*.{ts,tsx}'], - setupFiles: ['jest-canvas-mock'], -}; diff --git a/src/plugins/url_forwarding/jest.config.js b/src/plugins/url_forwarding/jest.config.js deleted file mode 100644 index 0c12404153541..0000000000000 --- a/src/plugins/url_forwarding/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/url_forwarding'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/url_forwarding', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/url_forwarding/public/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/vis_default_editor/jest.config.js b/src/plugins/vis_default_editor/jest.config.js deleted file mode 100644 index ae2f2d8bf60eb..0000000000000 --- a/src/plugins/vis_default_editor/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/vis_default_editor'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_default_editor', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/vis_default_editor/public/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/vis_types/heatmap/jest.config.js b/src/plugins/vis_types/heatmap/jest.config.js deleted file mode 100644 index 33c1f4e6b6d51..0000000000000 --- a/src/plugins/vis_types/heatmap/jest.config.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/heatmap'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/heatmap', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/vis_types/heatmap/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/vis_types/metric/jest.config.js b/src/plugins/vis_types/metric/jest.config.js deleted file mode 100644 index 3ac45f884e04a..0000000000000 --- a/src/plugins/vis_types/metric/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/metric'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/metric', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/vis_types/metric/{public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/vis_types/pie/jest.config.js b/src/plugins/vis_types/pie/jest.config.js deleted file mode 100644 index 091d9582658eb..0000000000000 --- a/src/plugins/vis_types/pie/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/pie'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/pie', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/vis_types/pie/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/vis_types/table/jest.config.js b/src/plugins/vis_types/table/jest.config.js deleted file mode 100644 index 041dbe1266dfa..0000000000000 --- a/src/plugins/vis_types/table/jest.config.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/table'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/table', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/vis_types/table/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/src/plugins/vis_types/tagcloud/jest.config.js b/src/plugins/vis_types/tagcloud/jest.config.js deleted file mode 100644 index 68fb1678efec1..0000000000000 --- a/src/plugins/vis_types/tagcloud/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/tagcloud'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/tagcloud', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/vis_types/tagcloud/{public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/vis_types/timeseries/jest.config.js b/src/plugins/vis_types/timeseries/jest.config.js deleted file mode 100644 index a84334eaef869..0000000000000 --- a/src/plugins/vis_types/timeseries/jest.config.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/timeseries'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/timeseries', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/vis_types/timeseries/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/src/plugins/vis_types/vega/jest.config.js b/src/plugins/vis_types/vega/jest.config.js deleted file mode 100644 index 6e4a84bfc8961..0000000000000 --- a/src/plugins/vis_types/vega/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/vega'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/vega', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/vis_types/vega/{public,server}/**/*.{js,ts,tsx}'], -}; diff --git a/src/plugins/vis_types/vislib/jest.config.js b/src/plugins/vis_types/vislib/jest.config.js deleted file mode 100644 index 89226e3a70735..0000000000000 --- a/src/plugins/vis_types/vislib/jest.config.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/vislib'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/vislib', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/vis_types/vislib/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/src/plugins/vis_types/xy/jest.config.js b/src/plugins/vis_types/xy/jest.config.js deleted file mode 100644 index 6f0148d8050df..0000000000000 --- a/src/plugins/vis_types/xy/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/xy'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/xy', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/vis_types/xy/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/visualizations/jest.config.js b/src/plugins/visualizations/jest.config.js deleted file mode 100644 index 50f7976d262ee..0000000000000 --- a/src/plugins/visualizations/jest.config.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/visualizations'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/visualizations', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/visualizations/{common,public,server}/**/*.{js,ts,tsx}', - ], -}; diff --git a/tsconfig.base.json b/tsconfig.base.json index c5a075da2287c..b4fc233599ff7 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -118,8 +118,8 @@ "@kbn/bazel-runner/*": ["packages/kbn-bazel-runner/*"], "@kbn/calculate-auto": ["packages/kbn-calculate-auto"], "@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/calculate-width-from-char-count": ["src/platform/packages/shared/kbn-calculate-width-from-char-count"], + "@kbn/calculate-width-from-char-count/*": ["src/platform/packages/shared/kbn-calculate-width-from-char-count/*"], "@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"], @@ -134,12 +134,12 @@ "@kbn/cbor/*": ["src/platform/packages/shared/kbn-cbor/*"], "@kbn/cell-actions": ["src/platform/packages/shared/kbn-cell-actions"], "@kbn/cell-actions/*": ["src/platform/packages/shared/kbn-cell-actions/*"], - "@kbn/chart-expressions-common": ["src/plugins/chart_expressions/common"], - "@kbn/chart-expressions-common/*": ["src/plugins/chart_expressions/common/*"], - "@kbn/chart-icons": ["packages/kbn-chart-icons"], - "@kbn/chart-icons/*": ["packages/kbn-chart-icons/*"], - "@kbn/charts-plugin": ["src/plugins/charts"], - "@kbn/charts-plugin/*": ["src/plugins/charts/*"], + "@kbn/chart-expressions-common": ["src/platform/packages/shared/chart-expressions-common"], + "@kbn/chart-expressions-common/*": ["src/platform/packages/shared/chart-expressions-common/*"], + "@kbn/chart-icons": ["src/platform/packages/shared/kbn-chart-icons"], + "@kbn/chart-icons/*": ["src/platform/packages/shared/kbn-chart-icons/*"], + "@kbn/charts-plugin": ["src/platform/plugins/shared/charts"], + "@kbn/charts-plugin/*": ["src/platform/plugins/shared/charts/*"], "@kbn/charts-theme": ["packages/kbn-charts-theme"], "@kbn/charts-theme/*": ["packages/kbn-charts-theme/*"], "@kbn/check-mappings-update-cli": ["packages/kbn-check-mappings-update-cli"], @@ -188,8 +188,8 @@ "@kbn/code-editor-mock/*": ["packages/shared-ux/code_editor/mocks/*"], "@kbn/code-owners": ["packages/kbn-code-owners"], "@kbn/code-owners/*": ["packages/kbn-code-owners/*"], - "@kbn/coloring": ["packages/kbn-coloring"], - "@kbn/coloring/*": ["packages/kbn-coloring/*"], + "@kbn/coloring": ["src/platform/packages/shared/kbn-coloring"], + "@kbn/coloring/*": ["src/platform/packages/shared/kbn-coloring/*"], "@kbn/config": ["src/platform/packages/shared/kbn-config"], "@kbn/config/*": ["src/platform/packages/shared/kbn-config/*"], "@kbn/config-mocks": ["src/platform/packages/private/kbn-config-mocks"], @@ -700,14 +700,14 @@ "@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"], - "@kbn/data-plugin/*": ["src/plugins/data/*"], + "@kbn/data-plugin": ["src/platform/plugins/shared/data"], + "@kbn/data-plugin/*": ["src/platform/plugins/shared/data/*"], "@kbn/data-quality-plugin": ["x-pack/platform/plugins/shared/data_quality"], "@kbn/data-quality-plugin/*": ["x-pack/platform/plugins/shared/data_quality/*"], "@kbn/data-search-plugin": ["test/plugin_functional/plugins/data_search"], "@kbn/data-search-plugin/*": ["test/plugin_functional/plugins/data_search/*"], - "@kbn/data-service": ["packages/kbn-data-service"], - "@kbn/data-service/*": ["packages/kbn-data-service/*"], + "@kbn/data-service": ["src/platform/packages/shared/kbn-data-service"], + "@kbn/data-service/*": ["src/platform/packages/shared/kbn-data-service/*"], "@kbn/data-stream-adapter": ["x-pack/solutions/security/packages/data-stream-adapter"], "@kbn/data-stream-adapter/*": ["x-pack/solutions/security/packages/data-stream-adapter/*"], "@kbn/data-usage-plugin": ["x-pack/platform/plugins/private/data_usage"], @@ -788,8 +788,8 @@ "@kbn/doc-links/*": ["src/platform/packages/shared/kbn-doc-links/*"], "@kbn/docs-utils": ["packages/kbn-docs-utils"], "@kbn/docs-utils/*": ["packages/kbn-docs-utils/*"], - "@kbn/dom-drag-drop": ["packages/kbn-dom-drag-drop"], - "@kbn/dom-drag-drop/*": ["packages/kbn-dom-drag-drop/*"], + "@kbn/dom-drag-drop": ["src/platform/packages/shared/kbn-dom-drag-drop"], + "@kbn/dom-drag-drop/*": ["src/platform/packages/shared/kbn-dom-drag-drop/*"], "@kbn/ebt-tools": ["src/platform/packages/shared/kbn-ebt-tools"], "@kbn/ebt-tools/*": ["src/platform/packages/shared/kbn-ebt-tools/*"], "@kbn/ecs-data-quality-dashboard": ["x-pack/solutions/security/packages/ecs_data_quality_dashboard"], @@ -880,14 +880,14 @@ "@kbn/esql-validation-example-plugin/*": ["examples/esql_validation_example/*"], "@kbn/eui-provider-dev-warning": ["test/plugin_functional/plugins/eui_provider_dev_warning"], "@kbn/eui-provider-dev-warning/*": ["test/plugin_functional/plugins/eui_provider_dev_warning/*"], - "@kbn/event-annotation-common": ["packages/kbn-event-annotation-common"], - "@kbn/event-annotation-common/*": ["packages/kbn-event-annotation-common/*"], - "@kbn/event-annotation-components": ["packages/kbn-event-annotation-components"], - "@kbn/event-annotation-components/*": ["packages/kbn-event-annotation-components/*"], - "@kbn/event-annotation-listing-plugin": ["src/plugins/event_annotation_listing"], - "@kbn/event-annotation-listing-plugin/*": ["src/plugins/event_annotation_listing/*"], - "@kbn/event-annotation-plugin": ["src/plugins/event_annotation"], - "@kbn/event-annotation-plugin/*": ["src/plugins/event_annotation/*"], + "@kbn/event-annotation-common": ["src/platform/packages/shared/kbn-event-annotation-common"], + "@kbn/event-annotation-common/*": ["src/platform/packages/shared/kbn-event-annotation-common/*"], + "@kbn/event-annotation-components": ["src/platform/packages/shared/kbn-event-annotation-components"], + "@kbn/event-annotation-components/*": ["src/platform/packages/shared/kbn-event-annotation-components/*"], + "@kbn/event-annotation-listing-plugin": ["src/platform/plugins/private/event_annotation_listing"], + "@kbn/event-annotation-listing-plugin/*": ["src/platform/plugins/private/event_annotation_listing/*"], + "@kbn/event-annotation-plugin": ["src/platform/plugins/private/event_annotation"], + "@kbn/event-annotation-plugin/*": ["src/platform/plugins/private/event_annotation/*"], "@kbn/event-log-fixture-plugin": ["x-pack/test/plugin_api_integration/plugins/event_log"], "@kbn/event-log-fixture-plugin/*": ["x-pack/test/plugin_api_integration/plugins/event_log/*"], "@kbn/event-log-plugin": ["x-pack/platform/plugins/shared/event_log"], @@ -902,34 +902,34 @@ "@kbn/exploratory-view-plugin/*": ["x-pack/solutions/observability/plugins/exploratory_view/*"], "@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"], - "@kbn/expression-heatmap-plugin/*": ["src/plugins/chart_expressions/expression_heatmap/*"], + "@kbn/expression-gauge-plugin": ["src/platform/plugins/shared/chart_expressions/expression_gauge"], + "@kbn/expression-gauge-plugin/*": ["src/platform/plugins/shared/chart_expressions/expression_gauge/*"], + "@kbn/expression-heatmap-plugin": ["src/platform/plugins/shared/chart_expressions/expression_heatmap"], + "@kbn/expression-heatmap-plugin/*": ["src/platform/plugins/shared/chart_expressions/expression_heatmap/*"], "@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-legacy-metric-vis-plugin": ["src/platform/plugins/shared/chart_expressions/expression_legacy_metric"], + "@kbn/expression-legacy-metric-vis-plugin/*": ["src/platform/plugins/shared/chart_expressions/expression_legacy_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"], - "@kbn/expression-partition-vis-plugin/*": ["src/plugins/chart_expressions/expression_partition_vis/*"], + "@kbn/expression-metric-vis-plugin": ["src/platform/plugins/shared/chart_expressions/expression_metric"], + "@kbn/expression-metric-vis-plugin/*": ["src/platform/plugins/shared/chart_expressions/expression_metric/*"], + "@kbn/expression-partition-vis-plugin": ["src/platform/plugins/shared/chart_expressions/expression_partition_vis"], + "@kbn/expression-partition-vis-plugin/*": ["src/platform/plugins/shared/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/platform/plugins/shared/expression_reveal_image"], "@kbn/expression-reveal-image-plugin/*": ["src/platform/plugins/shared/expression_reveal_image/*"], "@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"], - "@kbn/expression-xy-plugin/*": ["src/plugins/chart_expressions/expression_xy/*"], + "@kbn/expression-tagcloud-plugin": ["src/platform/plugins/shared/chart_expressions/expression_tagcloud"], + "@kbn/expression-tagcloud-plugin/*": ["src/platform/plugins/shared/chart_expressions/expression_tagcloud/*"], + "@kbn/expression-xy-plugin": ["src/platform/plugins/shared/chart_expressions/expression_xy"], + "@kbn/expression-xy-plugin/*": ["src/platform/plugins/shared/chart_expressions/expression_xy/*"], "@kbn/expressions-explorer-plugin": ["examples/expressions_explorer"], "@kbn/expressions-explorer-plugin/*": ["examples/expressions_explorer/*"], - "@kbn/expressions-plugin": ["src/plugins/expressions"], - "@kbn/expressions-plugin/*": ["src/plugins/expressions/*"], + "@kbn/expressions-plugin": ["src/platform/plugins/shared/expressions"], + "@kbn/expressions-plugin/*": ["src/platform/plugins/shared/expressions/*"], "@kbn/failed-test-reporter-cli": ["packages/kbn-failed-test-reporter-cli"], "@kbn/failed-test-reporter-cli/*": ["packages/kbn-failed-test-reporter-cli/*"], "@kbn/feature-controls-examples-plugin": ["examples/feature_control_examples"], @@ -1002,8 +1002,8 @@ "@kbn/global-search-providers-plugin/*": ["x-pack/platform/plugins/private/global_search_providers/*"], "@kbn/global-search-test-plugin": ["x-pack/test/plugin_functional/plugins/global_search_test"], "@kbn/global-search-test-plugin/*": ["x-pack/test/plugin_functional/plugins/global_search_test/*"], - "@kbn/graph-plugin": ["x-pack/plugins/graph"], - "@kbn/graph-plugin/*": ["x-pack/plugins/graph/*"], + "@kbn/graph-plugin": ["x-pack/platform/plugins/private/graph"], + "@kbn/graph-plugin/*": ["x-pack/platform/plugins/private/graph/*"], "@kbn/grid-example-plugin": ["examples/grid_example"], "@kbn/grid-example-plugin/*": ["examples/grid_example/*"], "@kbn/grid-layout": ["packages/kbn-grid-layout"], @@ -1084,8 +1084,8 @@ "@kbn/interactive-setup-plugin/*": ["src/platform/plugins/private/interactive_setup/*"], "@kbn/interactive-setup-test-endpoints-plugin": ["test/interactive_setup_api_integration/plugins/test_endpoints"], "@kbn/interactive-setup-test-endpoints-plugin/*": ["test/interactive_setup_api_integration/plugins/test_endpoints/*"], - "@kbn/interpreter": ["packages/kbn-interpreter"], - "@kbn/interpreter/*": ["packages/kbn-interpreter/*"], + "@kbn/interpreter": ["src/platform/packages/shared/kbn-interpreter"], + "@kbn/interpreter/*": ["src/platform/packages/shared/kbn-interpreter/*"], "@kbn/inventory-e2e": ["x-pack/solutions/observability/plugins/inventory/e2e"], "@kbn/inventory-e2e/*": ["x-pack/solutions/observability/plugins/inventory/e2e/*"], "@kbn/inventory-plugin": ["x-pack/solutions/observability/plugins/inventory"], @@ -1142,12 +1142,12 @@ "@kbn/lens-config-builder-example-plugin/*": ["x-pack/examples/lens_config_builder_example/*"], "@kbn/lens-embeddable-utils": ["src/platform/packages/shared/kbn-lens-embeddable-utils"], "@kbn/lens-embeddable-utils/*": ["src/platform/packages/shared/kbn-lens-embeddable-utils/*"], - "@kbn/lens-formula-docs": ["packages/kbn-lens-formula-docs"], - "@kbn/lens-formula-docs/*": ["packages/kbn-lens-formula-docs/*"], + "@kbn/lens-formula-docs": ["src/platform/packages/private/kbn-lens-formula-docs"], + "@kbn/lens-formula-docs/*": ["src/platform/packages/private/kbn-lens-formula-docs/*"], "@kbn/lens-inline-editing-example-plugin": ["x-pack/examples/lens_embeddable_inline_editing_example"], "@kbn/lens-inline-editing-example-plugin/*": ["x-pack/examples/lens_embeddable_inline_editing_example/*"], - "@kbn/lens-plugin": ["x-pack/plugins/lens"], - "@kbn/lens-plugin/*": ["x-pack/plugins/lens/*"], + "@kbn/lens-plugin": ["x-pack/platform/plugins/shared/lens"], + "@kbn/lens-plugin/*": ["x-pack/platform/plugins/shared/lens/*"], "@kbn/license-api-guard-plugin": ["x-pack/platform/plugins/private/license_api_guard"], "@kbn/license-api-guard-plugin/*": ["x-pack/platform/plugins/private/license_api_guard/*"], "@kbn/license-management-plugin": ["x-pack/platform/plugins/shared/license_management"], @@ -1180,8 +1180,8 @@ "@kbn/logs-shared-plugin/*": ["x-pack/platform/plugins/shared/logs_shared/*"], "@kbn/logstash-plugin": ["x-pack/platform/plugins/private/logstash"], "@kbn/logstash-plugin/*": ["x-pack/platform/plugins/private/logstash/*"], - "@kbn/managed-content-badge": ["packages/kbn-managed-content-badge"], - "@kbn/managed-content-badge/*": ["packages/kbn-managed-content-badge/*"], + "@kbn/managed-content-badge": ["src/platform/packages/private/kbn-managed-content-badge"], + "@kbn/managed-content-badge/*": ["src/platform/packages/private/kbn-managed-content-badge/*"], "@kbn/managed-vscode-config": ["packages/kbn-managed-vscode-config"], "@kbn/managed-vscode-config/*": ["packages/kbn-managed-vscode-config/*"], "@kbn/managed-vscode-config-cli": ["packages/kbn-managed-vscode-config-cli"], @@ -1420,8 +1420,8 @@ "@kbn/profiling-plugin/*": ["x-pack/solutions/observability/plugins/profiling/*"], "@kbn/profiling-utils": ["src/platform/packages/shared/kbn-profiling-utils"], "@kbn/profiling-utils/*": ["src/platform/packages/shared/kbn-profiling-utils/*"], - "@kbn/random-sampling": ["x-pack/packages/kbn-random-sampling"], - "@kbn/random-sampling/*": ["x-pack/packages/kbn-random-sampling/*"], + "@kbn/random-sampling": ["x-pack/platform/packages/private/kbn-random-sampling"], + "@kbn/random-sampling/*": ["x-pack/platform/packages/private/kbn-random-sampling/*"], "@kbn/react-field": ["src/platform/packages/shared/kbn-react-field"], "@kbn/react-field/*": ["src/platform/packages/shared/kbn-react-field/*"], "@kbn/react-hooks": ["src/platform/packages/shared/kbn-react-hooks"], @@ -1846,8 +1846,8 @@ "@kbn/some-dev-log/*": ["packages/kbn-some-dev-log/*"], "@kbn/sort-package-json": ["packages/kbn-sort-package-json"], "@kbn/sort-package-json/*": ["packages/kbn-sort-package-json/*"], - "@kbn/sort-predicates": ["packages/kbn-sort-predicates"], - "@kbn/sort-predicates/*": ["packages/kbn-sort-predicates/*"], + "@kbn/sort-predicates": ["src/platform/packages/shared/kbn-sort-predicates"], + "@kbn/sort-predicates/*": ["src/platform/packages/shared/kbn-sort-predicates/*"], "@kbn/spaces-plugin": ["x-pack/platform/plugins/shared/spaces"], "@kbn/spaces-plugin/*": ["x-pack/platform/plugins/shared/spaces/*"], "@kbn/spaces-test-plugin": ["x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin"], @@ -1936,20 +1936,20 @@ "@kbn/threat-intelligence-plugin/*": ["x-pack/solutions/security/plugins/threat_intelligence/*"], "@kbn/timelines-plugin": ["x-pack/solutions/security/plugins/timelines"], "@kbn/timelines-plugin/*": ["x-pack/solutions/security/plugins/timelines/*"], - "@kbn/timelion-grammar": ["packages/kbn-timelion-grammar"], - "@kbn/timelion-grammar/*": ["packages/kbn-timelion-grammar/*"], + "@kbn/timelion-grammar": ["src/platform/packages/private/kbn-timelion-grammar"], + "@kbn/timelion-grammar/*": ["src/platform/packages/private/kbn-timelion-grammar/*"], "@kbn/timerange": ["src/platform/packages/shared/kbn-timerange"], "@kbn/timerange/*": ["src/platform/packages/shared/kbn-timerange/*"], - "@kbn/tinymath": ["packages/kbn-tinymath"], - "@kbn/tinymath/*": ["packages/kbn-tinymath/*"], + "@kbn/tinymath": ["src/platform/packages/private/kbn-tinymath"], + "@kbn/tinymath/*": ["src/platform/packages/private/kbn-tinymath/*"], "@kbn/tooling-log": ["packages/kbn-tooling-log"], "@kbn/tooling-log/*": ["packages/kbn-tooling-log/*"], "@kbn/transform-plugin": ["x-pack/platform/plugins/private/transform"], "@kbn/transform-plugin/*": ["x-pack/platform/plugins/private/transform/*"], "@kbn/translations-plugin": ["x-pack/platform/plugins/private/translations"], "@kbn/translations-plugin/*": ["x-pack/platform/plugins/private/translations/*"], - "@kbn/transpose-utils": ["packages/kbn-transpose-utils"], - "@kbn/transpose-utils/*": ["packages/kbn-transpose-utils/*"], + "@kbn/transpose-utils": ["src/platform/packages/private/kbn-transpose-utils"], + "@kbn/transpose-utils/*": ["src/platform/packages/private/kbn-transpose-utils/*"], "@kbn/triggers-actions-ui-example-plugin": ["x-pack/examples/triggers_actions_ui_example"], "@kbn/triggers-actions-ui-example-plugin/*": ["x-pack/examples/triggers_actions_ui_example/*"], "@kbn/triggers-actions-ui-plugin": ["x-pack/platform/plugins/shared/triggers_actions_ui"], @@ -1998,8 +1998,8 @@ "@kbn/unified-field-list-examples-plugin/*": ["examples/unified_field_list_examples/*"], "@kbn/unified-histogram-plugin": ["src/platform/plugins/shared/unified_histogram"], "@kbn/unified-histogram-plugin/*": ["src/platform/plugins/shared/unified_histogram/*"], - "@kbn/unified-search-plugin": ["src/plugins/unified_search"], - "@kbn/unified-search-plugin/*": ["src/plugins/unified_search/*"], + "@kbn/unified-search-plugin": ["src/platform/plugins/shared/unified_search"], + "@kbn/unified-search-plugin/*": ["src/platform/plugins/shared/unified_search/*"], "@kbn/unsaved-changes-badge": ["src/platform/packages/private/kbn-unsaved-changes-badge"], "@kbn/unsaved-changes-badge/*": ["src/platform/packages/private/kbn-unsaved-changes-badge/*"], "@kbn/unsaved-changes-prompt": ["src/platform/packages/shared/kbn-unsaved-changes-prompt"], @@ -2010,8 +2010,8 @@ "@kbn/uptime-plugin/*": ["x-pack/solutions/observability/plugins/uptime/*"], "@kbn/url-drilldown-plugin": ["x-pack/plugins/drilldowns/url_drilldown"], "@kbn/url-drilldown-plugin/*": ["x-pack/plugins/drilldowns/url_drilldown/*"], - "@kbn/url-forwarding-plugin": ["src/plugins/url_forwarding"], - "@kbn/url-forwarding-plugin/*": ["src/plugins/url_forwarding/*"], + "@kbn/url-forwarding-plugin": ["src/platform/plugins/private/url_forwarding"], + "@kbn/url-forwarding-plugin/*": ["src/platform/plugins/private/url_forwarding/*"], "@kbn/usage-collection-plugin": ["src/platform/plugins/shared/usage_collection"], "@kbn/usage-collection-plugin/*": ["src/platform/plugins/shared/usage_collection/*"], "@kbn/usage-collection-test-plugin": ["test/plugin_functional/plugins/usage_collection"], @@ -2036,38 +2036,38 @@ "@kbn/v8-profiler-examples-plugin/*": ["examples/v8_profiler_examples/*"], "@kbn/validate-next-docs-cli": ["packages/kbn-validate-next-docs-cli"], "@kbn/validate-next-docs-cli/*": ["packages/kbn-validate-next-docs-cli/*"], - "@kbn/vis-default-editor-plugin": ["src/plugins/vis_default_editor"], - "@kbn/vis-default-editor-plugin/*": ["src/plugins/vis_default_editor/*"], - "@kbn/vis-type-gauge-plugin": ["src/plugins/vis_types/gauge"], - "@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-default-editor-plugin": ["src/platform/plugins/private/vis_default_editor"], + "@kbn/vis-default-editor-plugin/*": ["src/platform/plugins/private/vis_default_editor/*"], + "@kbn/vis-type-gauge-plugin": ["src/platform/plugins/private/vis_types/gauge"], + "@kbn/vis-type-gauge-plugin/*": ["src/platform/plugins/private/vis_types/gauge/*"], + "@kbn/vis-type-heatmap-plugin": ["src/platform/plugins/private/vis_types/heatmap"], + "@kbn/vis-type-heatmap-plugin/*": ["src/platform/plugins/private/vis_types/heatmap/*"], "@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"], - "@kbn/vis-type-pie-plugin/*": ["src/plugins/vis_types/pie/*"], - "@kbn/vis-type-table-plugin": ["src/plugins/vis_types/table"], - "@kbn/vis-type-table-plugin/*": ["src/plugins/vis_types/table/*"], - "@kbn/vis-type-tagcloud-plugin": ["src/plugins/vis_types/tagcloud"], - "@kbn/vis-type-tagcloud-plugin/*": ["src/plugins/vis_types/tagcloud/*"], - "@kbn/vis-type-timelion-plugin": ["src/plugins/vis_types/timelion"], - "@kbn/vis-type-timelion-plugin/*": ["src/plugins/vis_types/timelion/*"], - "@kbn/vis-type-timeseries-plugin": ["src/plugins/vis_types/timeseries"], - "@kbn/vis-type-timeseries-plugin/*": ["src/plugins/vis_types/timeseries/*"], - "@kbn/vis-type-vega-plugin": ["src/plugins/vis_types/vega"], - "@kbn/vis-type-vega-plugin/*": ["src/plugins/vis_types/vega/*"], - "@kbn/vis-type-vislib-plugin": ["src/plugins/vis_types/vislib"], - "@kbn/vis-type-vislib-plugin/*": ["src/plugins/vis_types/vislib/*"], - "@kbn/vis-type-xy-plugin": ["src/plugins/vis_types/xy"], - "@kbn/vis-type-xy-plugin/*": ["src/plugins/vis_types/xy/*"], - "@kbn/visualization-ui-components": ["packages/kbn-visualization-ui-components"], - "@kbn/visualization-ui-components/*": ["packages/kbn-visualization-ui-components/*"], - "@kbn/visualization-utils": ["packages/kbn-visualization-utils"], - "@kbn/visualization-utils/*": ["packages/kbn-visualization-utils/*"], - "@kbn/visualizations-plugin": ["src/plugins/visualizations"], - "@kbn/visualizations-plugin/*": ["src/plugins/visualizations/*"], + "@kbn/vis-type-metric-plugin": ["src/platform/plugins/private/vis_types/metric"], + "@kbn/vis-type-metric-plugin/*": ["src/platform/plugins/private/vis_types/metric/*"], + "@kbn/vis-type-pie-plugin": ["src/platform/plugins/private/vis_types/pie"], + "@kbn/vis-type-pie-plugin/*": ["src/platform/plugins/private/vis_types/pie/*"], + "@kbn/vis-type-table-plugin": ["src/platform/plugins/private/vis_types/table"], + "@kbn/vis-type-table-plugin/*": ["src/platform/plugins/private/vis_types/table/*"], + "@kbn/vis-type-tagcloud-plugin": ["src/platform/plugins/private/vis_types/tagcloud"], + "@kbn/vis-type-tagcloud-plugin/*": ["src/platform/plugins/private/vis_types/tagcloud/*"], + "@kbn/vis-type-timelion-plugin": ["src/platform/plugins/private/vis_types/timelion"], + "@kbn/vis-type-timelion-plugin/*": ["src/platform/plugins/private/vis_types/timelion/*"], + "@kbn/vis-type-timeseries-plugin": ["src/platform/plugins/shared/vis_types/timeseries"], + "@kbn/vis-type-timeseries-plugin/*": ["src/platform/plugins/shared/vis_types/timeseries/*"], + "@kbn/vis-type-vega-plugin": ["src/platform/plugins/private/vis_types/vega"], + "@kbn/vis-type-vega-plugin/*": ["src/platform/plugins/private/vis_types/vega/*"], + "@kbn/vis-type-vislib-plugin": ["src/platform/plugins/private/vis_types/vislib"], + "@kbn/vis-type-vislib-plugin/*": ["src/platform/plugins/private/vis_types/vislib/*"], + "@kbn/vis-type-xy-plugin": ["src/platform/plugins/private/vis_types/xy"], + "@kbn/vis-type-xy-plugin/*": ["src/platform/plugins/private/vis_types/xy/*"], + "@kbn/visualization-ui-components": ["src/platform/packages/shared/kbn-visualization-ui-components"], + "@kbn/visualization-ui-components/*": ["src/platform/packages/shared/kbn-visualization-ui-components/*"], + "@kbn/visualization-utils": ["src/platform/packages/shared/kbn-visualization-utils"], + "@kbn/visualization-utils/*": ["src/platform/packages/shared/kbn-visualization-utils/*"], + "@kbn/visualizations-plugin": ["src/platform/plugins/shared/visualizations"], + "@kbn/visualizations-plugin/*": ["src/platform/plugins/shared/visualizations/*"], "@kbn/watcher-plugin": ["x-pack/platform/plugins/private/watcher"], "@kbn/watcher-plugin/*": ["x-pack/platform/plugins/private/watcher/*"], "@kbn/web-worker-stub": ["packages/kbn-web-worker-stub"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index fc3e4973f06d6..e90a31e284c07 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -53,7 +53,7 @@ "platform/plugins/private/global_search_bar" ], "xpack.graph": [ - "plugins/graph" + "platform/plugins/private/graph" ], "xpack.grokDebugger": "platform/plugins/private/grokdebugger", "xpack.idxMgmt": "platform/plugins/shared/index_management", @@ -72,7 +72,7 @@ "xpack.investigate": "solutions/observability/plugins/investigate", "xpack.investigateApp": "solutions/observability/plugins/investigate_app", "xpack.kubernetesSecurity": "solutions/security/plugins/kubernetes_security", - "xpack.lens": "plugins/lens", + "xpack.lens": "platform/plugins/shared/lens", "xpack.licenseApiGuard": "platform/plugins/private/license_api_guard", "xpack.licenseMgmt": "platform/plugins/shared/license_management", "xpack.licensing": "platform/plugins/shared/licensing", diff --git a/x-pack/packages/kbn-random-sampling/jest.config.js b/x-pack/packages/kbn-random-sampling/jest.config.js deleted file mode 100644 index ea198cd7ad3bd..0000000000000 --- a/x-pack/packages/kbn-random-sampling/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/packages/kbn-random-sampling'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/packages/kbn-random-sampling', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/packages/kbn-random-sampling/public/**/*.{ts,tsx}'], -}; diff --git a/x-pack/packages/kbn-random-sampling/.storybook/main.js b/x-pack/platform/packages/private/kbn-random-sampling/.storybook/main.js similarity index 100% rename from x-pack/packages/kbn-random-sampling/.storybook/main.js rename to x-pack/platform/packages/private/kbn-random-sampling/.storybook/main.js diff --git a/x-pack/packages/kbn-random-sampling/.storybook/preview.js b/x-pack/platform/packages/private/kbn-random-sampling/.storybook/preview.js similarity index 100% rename from x-pack/packages/kbn-random-sampling/.storybook/preview.js rename to x-pack/platform/packages/private/kbn-random-sampling/.storybook/preview.js diff --git a/x-pack/packages/kbn-random-sampling/README.md b/x-pack/platform/packages/private/kbn-random-sampling/README.md similarity index 100% rename from x-pack/packages/kbn-random-sampling/README.md rename to x-pack/platform/packages/private/kbn-random-sampling/README.md diff --git a/x-pack/packages/kbn-random-sampling/index.ts b/x-pack/platform/packages/private/kbn-random-sampling/index.ts similarity index 100% rename from x-pack/packages/kbn-random-sampling/index.ts rename to x-pack/platform/packages/private/kbn-random-sampling/index.ts diff --git a/x-pack/platform/packages/private/kbn-random-sampling/jest.config.js b/x-pack/platform/packages/private/kbn-random-sampling/jest.config.js new file mode 100644 index 0000000000000..270828d337062 --- /dev/null +++ b/x-pack/platform/packages/private/kbn-random-sampling/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/packages/private/kbn-random-sampling'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/packages/private/kbn-random-sampling', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/packages/private/kbn-random-sampling/public/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/packages/kbn-random-sampling/kibana.jsonc b/x-pack/platform/packages/private/kbn-random-sampling/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-random-sampling/kibana.jsonc rename to x-pack/platform/packages/private/kbn-random-sampling/kibana.jsonc diff --git a/x-pack/packages/kbn-random-sampling/package.json b/x-pack/platform/packages/private/kbn-random-sampling/package.json similarity index 100% rename from x-pack/packages/kbn-random-sampling/package.json rename to x-pack/platform/packages/private/kbn-random-sampling/package.json diff --git a/x-pack/packages/kbn-random-sampling/src/__stories__/control_slider.stories.mdx b/x-pack/platform/packages/private/kbn-random-sampling/src/__stories__/control_slider.stories.mdx similarity index 100% rename from x-pack/packages/kbn-random-sampling/src/__stories__/control_slider.stories.mdx rename to x-pack/platform/packages/private/kbn-random-sampling/src/__stories__/control_slider.stories.mdx diff --git a/x-pack/packages/kbn-random-sampling/src/__stories__/sampling_icon.stories.mdx b/x-pack/platform/packages/private/kbn-random-sampling/src/__stories__/sampling_icon.stories.mdx similarity index 100% rename from x-pack/packages/kbn-random-sampling/src/__stories__/sampling_icon.stories.mdx rename to x-pack/platform/packages/private/kbn-random-sampling/src/__stories__/sampling_icon.stories.mdx diff --git a/x-pack/packages/kbn-random-sampling/src/index.ts b/x-pack/platform/packages/private/kbn-random-sampling/src/index.ts similarity index 100% rename from x-pack/packages/kbn-random-sampling/src/index.ts rename to x-pack/platform/packages/private/kbn-random-sampling/src/index.ts diff --git a/x-pack/packages/kbn-random-sampling/src/ui/icon/sampling_icon.tsx b/x-pack/platform/packages/private/kbn-random-sampling/src/ui/icon/sampling_icon.tsx similarity index 100% rename from x-pack/packages/kbn-random-sampling/src/ui/icon/sampling_icon.tsx rename to x-pack/platform/packages/private/kbn-random-sampling/src/ui/icon/sampling_icon.tsx diff --git a/x-pack/packages/kbn-random-sampling/src/ui/slider_control/index.test.tsx b/x-pack/platform/packages/private/kbn-random-sampling/src/ui/slider_control/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-random-sampling/src/ui/slider_control/index.test.tsx rename to x-pack/platform/packages/private/kbn-random-sampling/src/ui/slider_control/index.test.tsx diff --git a/x-pack/packages/kbn-random-sampling/src/ui/slider_control/index.tsx b/x-pack/platform/packages/private/kbn-random-sampling/src/ui/slider_control/index.tsx similarity index 100% rename from x-pack/packages/kbn-random-sampling/src/ui/slider_control/index.tsx rename to x-pack/platform/packages/private/kbn-random-sampling/src/ui/slider_control/index.tsx diff --git a/x-pack/packages/kbn-random-sampling/tsconfig.json b/x-pack/platform/packages/private/kbn-random-sampling/tsconfig.json similarity index 84% rename from x-pack/packages/kbn-random-sampling/tsconfig.json rename to x-pack/platform/packages/private/kbn-random-sampling/tsconfig.json index b4b34fcb94036..6db70ecebe120 100644 --- a/x-pack/packages/kbn-random-sampling/tsconfig.json +++ b/x-pack/platform/packages/private/kbn-random-sampling/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts b/x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts index ababc3718ca31..1e48c3a598811 100644 --- a/x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts +++ b/x-pack/platform/packages/private/ml/date_utils/src/date_utils.ts @@ -44,7 +44,7 @@ export function formatHumanReadableDateTimeSeconds(ts: number): string { /** * Validate a time range of two string based dates. - * Copy of `src/plugins/data/public/query/timefilter/lib/validate_timerange.ts` + * Copy of `src/platform/plugins/shared/data/public/query/timefilter/lib/validate_timerange.ts` * for the time being so it can be used in packages. * * @param {?TimeRange} [time] - The time range to be validated. diff --git a/x-pack/plugins/graph/README.md b/x-pack/platform/plugins/private/graph/README.md similarity index 94% rename from x-pack/plugins/graph/README.md rename to x-pack/platform/plugins/private/graph/README.md index b17f114a8f01f..207d10a6be56e 100644 --- a/x-pack/plugins/graph/README.md +++ b/x-pack/platform/plugins/private/graph/README.md @@ -6,9 +6,9 @@ Graph shows only up in the side bar if your server is running on a platinum or t ## Common commands -* Run tests `yarn test:jest x-pack/plugins/graph --watch` +* Run tests `yarn test:jest x-pack/platform/plugins/private/graph --watch` * Run type check `node scripts/type_check.js --project=x-pack/tsconfig.json` -* Run linter `node scripts/eslint.js x-pack/plugins/graph` +* Run linter `node scripts/eslint.js x-pack/platform/plugins/private/graph` * Run functional tests (make sure to stop dev server) * Server `node ./scripts/functional_tests_server.js --config x-pack/test/functional/apps/graph/config.ts` * Tests `node scripts/functional_test_runner.js --config x-pack/test/functional/apps/graph/config.ts` diff --git a/x-pack/plugins/graph/common/check_license.ts b/x-pack/platform/plugins/private/graph/common/check_license.ts similarity index 100% rename from x-pack/plugins/graph/common/check_license.ts rename to x-pack/platform/plugins/private/graph/common/check_license.ts diff --git a/x-pack/plugins/graph/common/constants.ts b/x-pack/platform/plugins/private/graph/common/constants.ts similarity index 100% rename from x-pack/plugins/graph/common/constants.ts rename to x-pack/platform/plugins/private/graph/common/constants.ts diff --git a/x-pack/plugins/graph/common/content_management/constants.ts b/x-pack/platform/plugins/private/graph/common/content_management/constants.ts similarity index 100% rename from x-pack/plugins/graph/common/content_management/constants.ts rename to x-pack/platform/plugins/private/graph/common/content_management/constants.ts diff --git a/x-pack/plugins/graph/common/content_management/index.ts b/x-pack/platform/plugins/private/graph/common/content_management/index.ts similarity index 100% rename from x-pack/plugins/graph/common/content_management/index.ts rename to x-pack/platform/plugins/private/graph/common/content_management/index.ts diff --git a/x-pack/plugins/graph/common/content_management/latest.ts b/x-pack/platform/plugins/private/graph/common/content_management/latest.ts similarity index 100% rename from x-pack/plugins/graph/common/content_management/latest.ts rename to x-pack/platform/plugins/private/graph/common/content_management/latest.ts diff --git a/x-pack/plugins/graph/common/content_management/types.ts b/x-pack/platform/plugins/private/graph/common/content_management/types.ts similarity index 100% rename from x-pack/plugins/graph/common/content_management/types.ts rename to x-pack/platform/plugins/private/graph/common/content_management/types.ts diff --git a/x-pack/plugins/graph/common/content_management/v1/index.ts b/x-pack/platform/plugins/private/graph/common/content_management/v1/index.ts similarity index 100% rename from x-pack/plugins/graph/common/content_management/v1/index.ts rename to x-pack/platform/plugins/private/graph/common/content_management/v1/index.ts diff --git a/x-pack/plugins/graph/common/content_management/v1/types.ts b/x-pack/platform/plugins/private/graph/common/content_management/v1/types.ts similarity index 100% rename from x-pack/plugins/graph/common/content_management/v1/types.ts rename to x-pack/platform/plugins/private/graph/common/content_management/v1/types.ts diff --git a/x-pack/plugins/graph/jest.config.js b/x-pack/platform/plugins/private/graph/jest.config.js similarity index 61% rename from x-pack/plugins/graph/jest.config.js rename to x-pack/platform/plugins/private/graph/jest.config.js index bd9c9d0938686..6748b50f3eed0 100644 --- a/x-pack/plugins/graph/jest.config.js +++ b/x-pack/platform/plugins/private/graph/jest.config.js @@ -7,9 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/graph'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/graph', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/graph'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/private/graph', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/graph/{common,public,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/graph/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/x-pack/plugins/graph/kibana.jsonc b/x-pack/platform/plugins/private/graph/kibana.jsonc similarity index 100% rename from x-pack/plugins/graph/kibana.jsonc rename to x-pack/platform/plugins/private/graph/kibana.jsonc diff --git a/x-pack/plugins/graph/public/_main.scss b/x-pack/platform/plugins/private/graph/public/_main.scss similarity index 100% rename from x-pack/plugins/graph/public/_main.scss rename to x-pack/platform/plugins/private/graph/public/_main.scss diff --git a/x-pack/plugins/graph/public/_mixins.scss b/x-pack/platform/plugins/private/graph/public/_mixins.scss similarity index 100% rename from x-pack/plugins/graph/public/_mixins.scss rename to x-pack/platform/plugins/private/graph/public/_mixins.scss diff --git a/x-pack/plugins/graph/public/application.tsx b/x-pack/platform/plugins/private/graph/public/application.tsx similarity index 100% rename from x-pack/plugins/graph/public/application.tsx rename to x-pack/platform/plugins/private/graph/public/application.tsx diff --git a/x-pack/plugins/graph/public/apps/listing_route.tsx b/x-pack/platform/plugins/private/graph/public/apps/listing_route.tsx similarity index 100% rename from x-pack/plugins/graph/public/apps/listing_route.tsx rename to x-pack/platform/plugins/private/graph/public/apps/listing_route.tsx diff --git a/x-pack/plugins/graph/public/apps/workspace_route.tsx b/x-pack/platform/plugins/private/graph/public/apps/workspace_route.tsx similarity index 100% rename from x-pack/plugins/graph/public/apps/workspace_route.tsx rename to x-pack/platform/plugins/private/graph/public/apps/workspace_route.tsx diff --git a/x-pack/plugins/graph/public/components/_app.scss b/x-pack/platform/plugins/private/graph/public/components/_app.scss similarity index 100% rename from x-pack/plugins/graph/public/components/_app.scss rename to x-pack/platform/plugins/private/graph/public/components/_app.scss diff --git a/x-pack/plugins/graph/public/components/_graph.scss b/x-pack/platform/plugins/private/graph/public/components/_graph.scss similarity index 100% rename from x-pack/plugins/graph/public/components/_graph.scss rename to x-pack/platform/plugins/private/graph/public/components/_graph.scss diff --git a/x-pack/plugins/graph/public/components/_index.scss b/x-pack/platform/plugins/private/graph/public/components/_index.scss similarity index 100% rename from x-pack/plugins/graph/public/components/_index.scss rename to x-pack/platform/plugins/private/graph/public/components/_index.scss diff --git a/x-pack/plugins/graph/public/components/_inspect.scss b/x-pack/platform/plugins/private/graph/public/components/_inspect.scss similarity index 100% rename from x-pack/plugins/graph/public/components/_inspect.scss rename to x-pack/platform/plugins/private/graph/public/components/_inspect.scss diff --git a/x-pack/plugins/graph/public/components/_search_bar.scss b/x-pack/platform/plugins/private/graph/public/components/_search_bar.scss similarity index 100% rename from x-pack/plugins/graph/public/components/_search_bar.scss rename to x-pack/platform/plugins/private/graph/public/components/_search_bar.scss diff --git a/x-pack/plugins/graph/public/components/_sidebar.scss b/x-pack/platform/plugins/private/graph/public/components/_sidebar.scss similarity index 100% rename from x-pack/plugins/graph/public/components/_sidebar.scss rename to x-pack/platform/plugins/private/graph/public/components/_sidebar.scss diff --git a/x-pack/plugins/graph/public/components/_source_modal.scss b/x-pack/platform/plugins/private/graph/public/components/_source_modal.scss similarity index 100% rename from x-pack/plugins/graph/public/components/_source_modal.scss rename to x-pack/platform/plugins/private/graph/public/components/_source_modal.scss diff --git a/x-pack/plugins/graph/public/components/control_panel/control_panel.tsx b/x-pack/platform/plugins/private/graph/public/components/control_panel/control_panel.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/control_panel/control_panel.tsx rename to x-pack/platform/plugins/private/graph/public/components/control_panel/control_panel.tsx diff --git a/x-pack/plugins/graph/public/components/control_panel/control_panel_tool_bar.tsx b/x-pack/platform/plugins/private/graph/public/components/control_panel/control_panel_tool_bar.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/control_panel/control_panel_tool_bar.tsx rename to x-pack/platform/plugins/private/graph/public/components/control_panel/control_panel_tool_bar.tsx diff --git a/x-pack/plugins/graph/public/components/control_panel/drill_down_icon_links.tsx b/x-pack/platform/plugins/private/graph/public/components/control_panel/drill_down_icon_links.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/control_panel/drill_down_icon_links.tsx rename to x-pack/platform/plugins/private/graph/public/components/control_panel/drill_down_icon_links.tsx diff --git a/x-pack/plugins/graph/public/components/control_panel/drill_downs.tsx b/x-pack/platform/plugins/private/graph/public/components/control_panel/drill_downs.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/control_panel/drill_downs.tsx rename to x-pack/platform/plugins/private/graph/public/components/control_panel/drill_downs.tsx diff --git a/x-pack/plugins/graph/public/components/control_panel/index.ts b/x-pack/platform/plugins/private/graph/public/components/control_panel/index.ts similarity index 100% rename from x-pack/plugins/graph/public/components/control_panel/index.ts rename to x-pack/platform/plugins/private/graph/public/components/control_panel/index.ts diff --git a/x-pack/plugins/graph/public/components/control_panel/merge_candidates.tsx b/x-pack/platform/plugins/private/graph/public/components/control_panel/merge_candidates.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/control_panel/merge_candidates.tsx rename to x-pack/platform/plugins/private/graph/public/components/control_panel/merge_candidates.tsx diff --git a/x-pack/plugins/graph/public/components/control_panel/select_style.tsx b/x-pack/platform/plugins/private/graph/public/components/control_panel/select_style.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/control_panel/select_style.tsx rename to x-pack/platform/plugins/private/graph/public/components/control_panel/select_style.tsx diff --git a/x-pack/plugins/graph/public/components/control_panel/selected_node_editor.tsx b/x-pack/platform/plugins/private/graph/public/components/control_panel/selected_node_editor.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/control_panel/selected_node_editor.tsx rename to x-pack/platform/plugins/private/graph/public/components/control_panel/selected_node_editor.tsx diff --git a/x-pack/plugins/graph/public/components/control_panel/selected_node_item.tsx b/x-pack/platform/plugins/private/graph/public/components/control_panel/selected_node_item.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/control_panel/selected_node_item.tsx rename to x-pack/platform/plugins/private/graph/public/components/control_panel/selected_node_item.tsx diff --git a/x-pack/plugins/graph/public/components/control_panel/selection_tool_bar.tsx b/x-pack/platform/plugins/private/graph/public/components/control_panel/selection_tool_bar.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/control_panel/selection_tool_bar.tsx rename to x-pack/platform/plugins/private/graph/public/components/control_panel/selection_tool_bar.tsx diff --git a/x-pack/plugins/graph/public/components/field_manager/_field_editor.scss b/x-pack/platform/plugins/private/graph/public/components/field_manager/_field_editor.scss similarity index 100% rename from x-pack/plugins/graph/public/components/field_manager/_field_editor.scss rename to x-pack/platform/plugins/private/graph/public/components/field_manager/_field_editor.scss diff --git a/x-pack/plugins/graph/public/components/field_manager/_field_picker.scss b/x-pack/platform/plugins/private/graph/public/components/field_manager/_field_picker.scss similarity index 100% rename from x-pack/plugins/graph/public/components/field_manager/_field_picker.scss rename to x-pack/platform/plugins/private/graph/public/components/field_manager/_field_picker.scss diff --git a/x-pack/plugins/graph/public/components/field_manager/_index.scss b/x-pack/platform/plugins/private/graph/public/components/field_manager/_index.scss similarity index 100% rename from x-pack/plugins/graph/public/components/field_manager/_index.scss rename to x-pack/platform/plugins/private/graph/public/components/field_manager/_index.scss diff --git a/x-pack/plugins/graph/public/components/field_manager/field_editor.tsx b/x-pack/platform/plugins/private/graph/public/components/field_manager/field_editor.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/field_manager/field_editor.tsx rename to x-pack/platform/plugins/private/graph/public/components/field_manager/field_editor.tsx diff --git a/x-pack/plugins/graph/public/components/field_manager/field_manager.test.tsx b/x-pack/platform/plugins/private/graph/public/components/field_manager/field_manager.test.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/field_manager/field_manager.test.tsx rename to x-pack/platform/plugins/private/graph/public/components/field_manager/field_manager.test.tsx diff --git a/x-pack/plugins/graph/public/components/field_manager/field_manager.tsx b/x-pack/platform/plugins/private/graph/public/components/field_manager/field_manager.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/field_manager/field_manager.tsx rename to x-pack/platform/plugins/private/graph/public/components/field_manager/field_manager.tsx diff --git a/x-pack/plugins/graph/public/components/field_manager/field_picker.tsx b/x-pack/platform/plugins/private/graph/public/components/field_manager/field_picker.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/field_manager/field_picker.tsx rename to x-pack/platform/plugins/private/graph/public/components/field_manager/field_picker.tsx diff --git a/x-pack/plugins/graph/public/components/field_manager/index.ts b/x-pack/platform/plugins/private/graph/public/components/field_manager/index.ts similarity index 100% rename from x-pack/plugins/graph/public/components/field_manager/index.ts rename to x-pack/platform/plugins/private/graph/public/components/field_manager/index.ts diff --git a/x-pack/plugins/graph/public/components/graph_title.tsx b/x-pack/platform/plugins/private/graph/public/components/graph_title.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/graph_title.tsx rename to x-pack/platform/plugins/private/graph/public/components/graph_title.tsx diff --git a/x-pack/plugins/graph/public/components/graph_visualization/__snapshots__/graph_visualization.test.tsx.snap b/x-pack/platform/plugins/private/graph/public/components/graph_visualization/__snapshots__/graph_visualization.test.tsx.snap similarity index 100% rename from x-pack/plugins/graph/public/components/graph_visualization/__snapshots__/graph_visualization.test.tsx.snap rename to x-pack/platform/plugins/private/graph/public/components/graph_visualization/__snapshots__/graph_visualization.test.tsx.snap diff --git a/x-pack/plugins/graph/public/components/graph_visualization/_graph_visualization.scss b/x-pack/platform/plugins/private/graph/public/components/graph_visualization/_graph_visualization.scss similarity index 100% rename from x-pack/plugins/graph/public/components/graph_visualization/_graph_visualization.scss rename to x-pack/platform/plugins/private/graph/public/components/graph_visualization/_graph_visualization.scss diff --git a/x-pack/plugins/graph/public/components/graph_visualization/_index.scss b/x-pack/platform/plugins/private/graph/public/components/graph_visualization/_index.scss similarity index 100% rename from x-pack/plugins/graph/public/components/graph_visualization/_index.scss rename to x-pack/platform/plugins/private/graph/public/components/graph_visualization/_index.scss diff --git a/x-pack/plugins/graph/public/components/graph_visualization/graph_visualization.test.tsx b/x-pack/platform/plugins/private/graph/public/components/graph_visualization/graph_visualization.test.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/graph_visualization/graph_visualization.test.tsx rename to x-pack/platform/plugins/private/graph/public/components/graph_visualization/graph_visualization.test.tsx diff --git a/x-pack/plugins/graph/public/components/graph_visualization/graph_visualization.tsx b/x-pack/platform/plugins/private/graph/public/components/graph_visualization/graph_visualization.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/graph_visualization/graph_visualization.tsx rename to x-pack/platform/plugins/private/graph/public/components/graph_visualization/graph_visualization.tsx diff --git a/x-pack/plugins/graph/public/components/graph_visualization/index.ts b/x-pack/platform/plugins/private/graph/public/components/graph_visualization/index.ts similarity index 100% rename from x-pack/plugins/graph/public/components/graph_visualization/index.ts rename to x-pack/platform/plugins/private/graph/public/components/graph_visualization/index.ts diff --git a/x-pack/plugins/graph/public/components/guidance_panel/_guidance_panel.scss b/x-pack/platform/plugins/private/graph/public/components/guidance_panel/_guidance_panel.scss similarity index 100% rename from x-pack/plugins/graph/public/components/guidance_panel/_guidance_panel.scss rename to x-pack/platform/plugins/private/graph/public/components/guidance_panel/_guidance_panel.scss diff --git a/x-pack/plugins/graph/public/components/guidance_panel/_index.scss b/x-pack/platform/plugins/private/graph/public/components/guidance_panel/_index.scss similarity index 100% rename from x-pack/plugins/graph/public/components/guidance_panel/_index.scss rename to x-pack/platform/plugins/private/graph/public/components/guidance_panel/_index.scss diff --git a/x-pack/plugins/graph/public/components/guidance_panel/guidance_panel.tsx b/x-pack/platform/plugins/private/graph/public/components/guidance_panel/guidance_panel.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/guidance_panel/guidance_panel.tsx rename to x-pack/platform/plugins/private/graph/public/components/guidance_panel/guidance_panel.tsx diff --git a/x-pack/plugins/graph/public/components/guidance_panel/index.ts b/x-pack/platform/plugins/private/graph/public/components/guidance_panel/index.ts similarity index 100% rename from x-pack/plugins/graph/public/components/guidance_panel/index.ts rename to x-pack/platform/plugins/private/graph/public/components/guidance_panel/index.ts diff --git a/x-pack/plugins/graph/public/components/helpers.ts b/x-pack/platform/plugins/private/graph/public/components/helpers.ts similarity index 100% rename from x-pack/plugins/graph/public/components/helpers.ts rename to x-pack/platform/plugins/private/graph/public/components/helpers.ts diff --git a/x-pack/plugins/graph/public/components/icon_renderer.tsx b/x-pack/platform/plugins/private/graph/public/components/icon_renderer.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/icon_renderer.tsx rename to x-pack/platform/plugins/private/graph/public/components/icon_renderer.tsx diff --git a/x-pack/plugins/graph/public/components/maki_icons/assets.tsx b/x-pack/platform/plugins/private/graph/public/components/maki_icons/assets.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/maki_icons/assets.tsx rename to x-pack/platform/plugins/private/graph/public/components/maki_icons/assets.tsx diff --git a/x-pack/plugins/graph/public/components/save_modal.tsx b/x-pack/platform/plugins/private/graph/public/components/save_modal.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/save_modal.tsx rename to x-pack/platform/plugins/private/graph/public/components/save_modal.tsx diff --git a/x-pack/plugins/graph/public/components/search_bar.test.tsx b/x-pack/platform/plugins/private/graph/public/components/search_bar.test.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/search_bar.test.tsx rename to x-pack/platform/plugins/private/graph/public/components/search_bar.test.tsx diff --git a/x-pack/plugins/graph/public/components/search_bar.tsx b/x-pack/platform/plugins/private/graph/public/components/search_bar.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/search_bar.tsx rename to x-pack/platform/plugins/private/graph/public/components/search_bar.tsx diff --git a/x-pack/plugins/graph/public/components/settings/_index.scss b/x-pack/platform/plugins/private/graph/public/components/settings/_index.scss similarity index 100% rename from x-pack/plugins/graph/public/components/settings/_index.scss rename to x-pack/platform/plugins/private/graph/public/components/settings/_index.scss diff --git a/x-pack/plugins/graph/public/components/settings/_legacy_icon.scss b/x-pack/platform/plugins/private/graph/public/components/settings/_legacy_icon.scss similarity index 100% rename from x-pack/plugins/graph/public/components/settings/_legacy_icon.scss rename to x-pack/platform/plugins/private/graph/public/components/settings/_legacy_icon.scss diff --git a/x-pack/plugins/graph/public/components/settings/_url_template_list.scss b/x-pack/platform/plugins/private/graph/public/components/settings/_url_template_list.scss similarity index 100% rename from x-pack/plugins/graph/public/components/settings/_url_template_list.scss rename to x-pack/platform/plugins/private/graph/public/components/settings/_url_template_list.scss diff --git a/x-pack/plugins/graph/public/components/settings/advanced_settings_form.tsx b/x-pack/platform/plugins/private/graph/public/components/settings/advanced_settings_form.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/settings/advanced_settings_form.tsx rename to x-pack/platform/plugins/private/graph/public/components/settings/advanced_settings_form.tsx diff --git a/x-pack/plugins/graph/public/components/settings/blocklist_form.tsx b/x-pack/platform/plugins/private/graph/public/components/settings/blocklist_form.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/settings/blocklist_form.tsx rename to x-pack/platform/plugins/private/graph/public/components/settings/blocklist_form.tsx diff --git a/x-pack/plugins/graph/public/components/settings/index.ts b/x-pack/platform/plugins/private/graph/public/components/settings/index.ts similarity index 100% rename from x-pack/plugins/graph/public/components/settings/index.ts rename to x-pack/platform/plugins/private/graph/public/components/settings/index.ts diff --git a/x-pack/plugins/graph/public/components/settings/settings.test.tsx b/x-pack/platform/plugins/private/graph/public/components/settings/settings.test.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/settings/settings.test.tsx rename to x-pack/platform/plugins/private/graph/public/components/settings/settings.test.tsx diff --git a/x-pack/plugins/graph/public/components/settings/settings.tsx b/x-pack/platform/plugins/private/graph/public/components/settings/settings.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/settings/settings.tsx rename to x-pack/platform/plugins/private/graph/public/components/settings/settings.tsx diff --git a/x-pack/plugins/graph/public/components/settings/url_template_form.tsx b/x-pack/platform/plugins/private/graph/public/components/settings/url_template_form.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/settings/url_template_form.tsx rename to x-pack/platform/plugins/private/graph/public/components/settings/url_template_form.tsx diff --git a/x-pack/plugins/graph/public/components/settings/url_template_list.tsx b/x-pack/platform/plugins/private/graph/public/components/settings/url_template_list.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/settings/url_template_list.tsx rename to x-pack/platform/plugins/private/graph/public/components/settings/url_template_list.tsx diff --git a/x-pack/plugins/graph/public/components/settings/use_list_keys.test.tsx b/x-pack/platform/plugins/private/graph/public/components/settings/use_list_keys.test.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/settings/use_list_keys.test.tsx rename to x-pack/platform/plugins/private/graph/public/components/settings/use_list_keys.test.tsx diff --git a/x-pack/plugins/graph/public/components/settings/use_list_keys.ts b/x-pack/platform/plugins/private/graph/public/components/settings/use_list_keys.ts similarity index 100% rename from x-pack/plugins/graph/public/components/settings/use_list_keys.ts rename to x-pack/platform/plugins/private/graph/public/components/settings/use_list_keys.ts diff --git a/x-pack/plugins/graph/public/components/source_modal.tsx b/x-pack/platform/plugins/private/graph/public/components/source_modal.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/source_modal.tsx rename to x-pack/platform/plugins/private/graph/public/components/source_modal.tsx diff --git a/x-pack/plugins/graph/public/components/source_picker.tsx b/x-pack/platform/plugins/private/graph/public/components/source_picker.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/source_picker.tsx rename to x-pack/platform/plugins/private/graph/public/components/source_picker.tsx diff --git a/x-pack/plugins/graph/public/components/venn_diagram/_index.scss b/x-pack/platform/plugins/private/graph/public/components/venn_diagram/_index.scss similarity index 100% rename from x-pack/plugins/graph/public/components/venn_diagram/_index.scss rename to x-pack/platform/plugins/private/graph/public/components/venn_diagram/_index.scss diff --git a/x-pack/plugins/graph/public/components/venn_diagram/_venn_diagram.scss b/x-pack/platform/plugins/private/graph/public/components/venn_diagram/_venn_diagram.scss similarity index 100% rename from x-pack/plugins/graph/public/components/venn_diagram/_venn_diagram.scss rename to x-pack/platform/plugins/private/graph/public/components/venn_diagram/_venn_diagram.scss diff --git a/x-pack/plugins/graph/public/components/venn_diagram/index.ts b/x-pack/platform/plugins/private/graph/public/components/venn_diagram/index.ts similarity index 100% rename from x-pack/plugins/graph/public/components/venn_diagram/index.ts rename to x-pack/platform/plugins/private/graph/public/components/venn_diagram/index.ts diff --git a/x-pack/plugins/graph/public/components/venn_diagram/venn_diagram.test.tsx b/x-pack/platform/plugins/private/graph/public/components/venn_diagram/venn_diagram.test.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/venn_diagram/venn_diagram.test.tsx rename to x-pack/platform/plugins/private/graph/public/components/venn_diagram/venn_diagram.test.tsx diff --git a/x-pack/plugins/graph/public/components/venn_diagram/venn_diagram.tsx b/x-pack/platform/plugins/private/graph/public/components/venn_diagram/venn_diagram.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/venn_diagram/venn_diagram.tsx rename to x-pack/platform/plugins/private/graph/public/components/venn_diagram/venn_diagram.tsx diff --git a/x-pack/plugins/graph/public/components/venn_diagram/vennjs/LICENSE b/x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/LICENSE similarity index 100% rename from x-pack/plugins/graph/public/components/venn_diagram/vennjs/LICENSE rename to x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/LICENSE diff --git a/x-pack/plugins/graph/public/components/venn_diagram/vennjs/index.ts b/x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/index.ts similarity index 95% rename from x-pack/plugins/graph/public/components/venn_diagram/vennjs/index.ts rename to x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/index.ts index 8701571bffaf0..5972a77c4835d 100644 --- a/x-pack/plugins/graph/public/components/venn_diagram/vennjs/index.ts +++ b/x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/index.ts @@ -2,7 +2,7 @@ * This file is forked from the venn.js project (https://github.com/benfred/venn.js/), * and may include modifications made by Elasticsearch B.V. * Elasticsearch B.V. licenses this file to you under the MIT License. - * See `x-pack/plugins/graph/public/components/venn_diagram/vennjs/LICENSE` for more information. + * See `x-pack/platform/plugins/private/graph/public/components/venn_diagram/vennjs/LICENSE` for more information. */ const SMALL$1 = 1e-10; diff --git a/x-pack/plugins/graph/public/components/workspace_layout/index.ts b/x-pack/platform/plugins/private/graph/public/components/workspace_layout/index.ts similarity index 100% rename from x-pack/plugins/graph/public/components/workspace_layout/index.ts rename to x-pack/platform/plugins/private/graph/public/components/workspace_layout/index.ts diff --git a/x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.test.tsx b/x-pack/platform/plugins/private/graph/public/components/workspace_layout/workspace_layout.test.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.test.tsx rename to x-pack/platform/plugins/private/graph/public/components/workspace_layout/workspace_layout.test.tsx diff --git a/x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx b/x-pack/platform/plugins/private/graph/public/components/workspace_layout/workspace_layout.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx rename to x-pack/platform/plugins/private/graph/public/components/workspace_layout/workspace_layout.tsx diff --git a/x-pack/plugins/graph/public/components/workspace_layout/workspace_top_nav_menu.tsx b/x-pack/platform/plugins/private/graph/public/components/workspace_layout/workspace_top_nav_menu.tsx similarity index 100% rename from x-pack/plugins/graph/public/components/workspace_layout/workspace_top_nav_menu.tsx rename to x-pack/platform/plugins/private/graph/public/components/workspace_layout/workspace_top_nav_menu.tsx diff --git a/x-pack/plugins/graph/public/helpers/as_observable.ts b/x-pack/platform/plugins/private/graph/public/helpers/as_observable.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/as_observable.ts rename to x-pack/platform/plugins/private/graph/public/helpers/as_observable.ts diff --git a/x-pack/plugins/graph/public/helpers/format_http_error.ts b/x-pack/platform/plugins/private/graph/public/helpers/format_http_error.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/format_http_error.ts rename to x-pack/platform/plugins/private/graph/public/helpers/format_http_error.ts diff --git a/x-pack/plugins/graph/public/helpers/kql_encoder.test.ts b/x-pack/platform/plugins/private/graph/public/helpers/kql_encoder.test.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/kql_encoder.test.ts rename to x-pack/platform/plugins/private/graph/public/helpers/kql_encoder.test.ts diff --git a/x-pack/plugins/graph/public/helpers/kql_encoder.ts b/x-pack/platform/plugins/private/graph/public/helpers/kql_encoder.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/kql_encoder.ts rename to x-pack/platform/plugins/private/graph/public/helpers/kql_encoder.ts diff --git a/x-pack/plugins/graph/public/helpers/outlink_encoders.ts b/x-pack/platform/plugins/private/graph/public/helpers/outlink_encoders.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/outlink_encoders.ts rename to x-pack/platform/plugins/private/graph/public/helpers/outlink_encoders.ts diff --git a/x-pack/plugins/graph/public/helpers/saved_objects_utils/check_for_duplicate_title.ts b/x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/check_for_duplicate_title.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/saved_objects_utils/check_for_duplicate_title.ts rename to x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/check_for_duplicate_title.ts diff --git a/x-pack/plugins/graph/public/helpers/saved_objects_utils/confirm_modal_promise.tsx b/x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/confirm_modal_promise.tsx similarity index 100% rename from x-pack/plugins/graph/public/helpers/saved_objects_utils/confirm_modal_promise.tsx rename to x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/confirm_modal_promise.tsx diff --git a/x-pack/plugins/graph/public/helpers/saved_objects_utils/constants.ts b/x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/constants.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/saved_objects_utils/constants.ts rename to x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/constants.ts diff --git a/x-pack/plugins/graph/public/helpers/saved_objects_utils/display_duplicate_title_confirm_modal.ts b/x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/display_duplicate_title_confirm_modal.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/saved_objects_utils/display_duplicate_title_confirm_modal.ts rename to x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/display_duplicate_title_confirm_modal.ts diff --git a/x-pack/plugins/graph/public/helpers/saved_objects_utils/find_object_by_title.test.ts b/x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/find_object_by_title.test.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/saved_objects_utils/find_object_by_title.test.ts rename to x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/find_object_by_title.test.ts diff --git a/x-pack/plugins/graph/public/helpers/saved_objects_utils/find_object_by_title.ts b/x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/find_object_by_title.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/saved_objects_utils/find_object_by_title.ts rename to x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/find_object_by_title.ts diff --git a/x-pack/plugins/graph/public/helpers/saved_objects_utils/index.ts b/x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/index.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/saved_objects_utils/index.ts rename to x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/index.ts diff --git a/x-pack/plugins/graph/public/helpers/saved_objects_utils/save_with_confirmation.ts b/x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/save_with_confirmation.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/saved_objects_utils/save_with_confirmation.ts rename to x-pack/platform/plugins/private/graph/public/helpers/saved_objects_utils/save_with_confirmation.ts diff --git a/x-pack/plugins/graph/public/helpers/saved_workspace_utils.test.ts b/x-pack/platform/plugins/private/graph/public/helpers/saved_workspace_utils.test.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/saved_workspace_utils.test.ts rename to x-pack/platform/plugins/private/graph/public/helpers/saved_workspace_utils.test.ts diff --git a/x-pack/plugins/graph/public/helpers/saved_workspace_utils.ts b/x-pack/platform/plugins/private/graph/public/helpers/saved_workspace_utils.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/saved_workspace_utils.ts rename to x-pack/platform/plugins/private/graph/public/helpers/saved_workspace_utils.ts diff --git a/x-pack/plugins/graph/public/helpers/style_choices.ts b/x-pack/platform/plugins/private/graph/public/helpers/style_choices.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/style_choices.ts rename to x-pack/platform/plugins/private/graph/public/helpers/style_choices.ts diff --git a/x-pack/plugins/graph/public/helpers/url_template.ts b/x-pack/platform/plugins/private/graph/public/helpers/url_template.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/url_template.ts rename to x-pack/platform/plugins/private/graph/public/helpers/url_template.ts diff --git a/x-pack/plugins/graph/public/helpers/use_graph_loader.ts b/x-pack/platform/plugins/private/graph/public/helpers/use_graph_loader.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/use_graph_loader.ts rename to x-pack/platform/plugins/private/graph/public/helpers/use_graph_loader.ts diff --git a/x-pack/plugins/graph/public/helpers/use_inspector.ts b/x-pack/platform/plugins/private/graph/public/helpers/use_inspector.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/use_inspector.ts rename to x-pack/platform/plugins/private/graph/public/helpers/use_inspector.ts diff --git a/x-pack/plugins/graph/public/helpers/use_workspace_loader.test.tsx b/x-pack/platform/plugins/private/graph/public/helpers/use_workspace_loader.test.tsx similarity index 100% rename from x-pack/plugins/graph/public/helpers/use_workspace_loader.test.tsx rename to x-pack/platform/plugins/private/graph/public/helpers/use_workspace_loader.test.tsx diff --git a/x-pack/plugins/graph/public/helpers/use_workspace_loader.ts b/x-pack/platform/plugins/private/graph/public/helpers/use_workspace_loader.ts similarity index 100% rename from x-pack/plugins/graph/public/helpers/use_workspace_loader.ts rename to x-pack/platform/plugins/private/graph/public/helpers/use_workspace_loader.ts diff --git a/x-pack/plugins/graph/public/index.scss b/x-pack/platform/plugins/private/graph/public/index.scss similarity index 100% rename from x-pack/plugins/graph/public/index.scss rename to x-pack/platform/plugins/private/graph/public/index.scss diff --git a/x-pack/plugins/graph/public/index.ts b/x-pack/platform/plugins/private/graph/public/index.ts similarity index 100% rename from x-pack/plugins/graph/public/index.ts rename to x-pack/platform/plugins/private/graph/public/index.ts diff --git a/x-pack/plugins/graph/public/plugin.ts b/x-pack/platform/plugins/private/graph/public/plugin.ts similarity index 100% rename from x-pack/plugins/graph/public/plugin.ts rename to x-pack/platform/plugins/private/graph/public/plugin.ts diff --git a/x-pack/plugins/graph/public/router.tsx b/x-pack/platform/plugins/private/graph/public/router.tsx similarity index 100% rename from x-pack/plugins/graph/public/router.tsx rename to x-pack/platform/plugins/private/graph/public/router.tsx diff --git a/x-pack/plugins/graph/public/services/fetch_top_nodes.test.ts b/x-pack/platform/plugins/private/graph/public/services/fetch_top_nodes.test.ts similarity index 100% rename from x-pack/plugins/graph/public/services/fetch_top_nodes.test.ts rename to x-pack/platform/plugins/private/graph/public/services/fetch_top_nodes.test.ts diff --git a/x-pack/plugins/graph/public/services/fetch_top_nodes.ts b/x-pack/platform/plugins/private/graph/public/services/fetch_top_nodes.ts similarity index 100% rename from x-pack/plugins/graph/public/services/fetch_top_nodes.ts rename to x-pack/platform/plugins/private/graph/public/services/fetch_top_nodes.ts diff --git a/x-pack/plugins/graph/public/services/index_pattern_cache.ts b/x-pack/platform/plugins/private/graph/public/services/index_pattern_cache.ts similarity index 100% rename from x-pack/plugins/graph/public/services/index_pattern_cache.ts rename to x-pack/platform/plugins/private/graph/public/services/index_pattern_cache.ts diff --git a/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts b/x-pack/platform/plugins/private/graph/public/services/persistence/deserialize.test.ts similarity index 100% rename from x-pack/plugins/graph/public/services/persistence/deserialize.test.ts rename to x-pack/platform/plugins/private/graph/public/services/persistence/deserialize.test.ts diff --git a/x-pack/plugins/graph/public/services/persistence/deserialize.ts b/x-pack/platform/plugins/private/graph/public/services/persistence/deserialize.ts similarity index 100% rename from x-pack/plugins/graph/public/services/persistence/deserialize.ts rename to x-pack/platform/plugins/private/graph/public/services/persistence/deserialize.ts diff --git a/x-pack/plugins/graph/public/services/persistence/index.ts b/x-pack/platform/plugins/private/graph/public/services/persistence/index.ts similarity index 100% rename from x-pack/plugins/graph/public/services/persistence/index.ts rename to x-pack/platform/plugins/private/graph/public/services/persistence/index.ts diff --git a/x-pack/plugins/graph/public/services/persistence/saved_workspace_references.test.ts b/x-pack/platform/plugins/private/graph/public/services/persistence/saved_workspace_references.test.ts similarity index 100% rename from x-pack/plugins/graph/public/services/persistence/saved_workspace_references.test.ts rename to x-pack/platform/plugins/private/graph/public/services/persistence/saved_workspace_references.test.ts diff --git a/x-pack/plugins/graph/public/services/persistence/saved_workspace_references.ts b/x-pack/platform/plugins/private/graph/public/services/persistence/saved_workspace_references.ts similarity index 100% rename from x-pack/plugins/graph/public/services/persistence/saved_workspace_references.ts rename to x-pack/platform/plugins/private/graph/public/services/persistence/saved_workspace_references.ts diff --git a/x-pack/plugins/graph/public/services/persistence/serialize.test.ts b/x-pack/platform/plugins/private/graph/public/services/persistence/serialize.test.ts similarity index 100% rename from x-pack/plugins/graph/public/services/persistence/serialize.test.ts rename to x-pack/platform/plugins/private/graph/public/services/persistence/serialize.test.ts diff --git a/x-pack/plugins/graph/public/services/persistence/serialize.ts b/x-pack/platform/plugins/private/graph/public/services/persistence/serialize.ts similarity index 100% rename from x-pack/plugins/graph/public/services/persistence/serialize.ts rename to x-pack/platform/plugins/private/graph/public/services/persistence/serialize.ts diff --git a/x-pack/plugins/graph/public/services/save_modal.tsx b/x-pack/platform/plugins/private/graph/public/services/save_modal.tsx similarity index 100% rename from x-pack/plugins/graph/public/services/save_modal.tsx rename to x-pack/platform/plugins/private/graph/public/services/save_modal.tsx diff --git a/x-pack/plugins/graph/public/services/source_modal.tsx b/x-pack/platform/plugins/private/graph/public/services/source_modal.tsx similarity index 100% rename from x-pack/plugins/graph/public/services/source_modal.tsx rename to x-pack/platform/plugins/private/graph/public/services/source_modal.tsx diff --git a/x-pack/plugins/graph/public/services/url.ts b/x-pack/platform/plugins/private/graph/public/services/url.ts similarity index 100% rename from x-pack/plugins/graph/public/services/url.ts rename to x-pack/platform/plugins/private/graph/public/services/url.ts diff --git a/x-pack/plugins/graph/public/services/workspace/graph_client_workspace.d.ts b/x-pack/platform/plugins/private/graph/public/services/workspace/graph_client_workspace.d.ts similarity index 100% rename from x-pack/plugins/graph/public/services/workspace/graph_client_workspace.d.ts rename to x-pack/platform/plugins/private/graph/public/services/workspace/graph_client_workspace.d.ts diff --git a/x-pack/plugins/graph/public/services/workspace/graph_client_workspace.js b/x-pack/platform/plugins/private/graph/public/services/workspace/graph_client_workspace.js similarity index 100% rename from x-pack/plugins/graph/public/services/workspace/graph_client_workspace.js rename to x-pack/platform/plugins/private/graph/public/services/workspace/graph_client_workspace.js diff --git a/x-pack/plugins/graph/public/services/workspace/graph_client_workspace.test.js b/x-pack/platform/plugins/private/graph/public/services/workspace/graph_client_workspace.test.js similarity index 100% rename from x-pack/plugins/graph/public/services/workspace/graph_client_workspace.test.js rename to x-pack/platform/plugins/private/graph/public/services/workspace/graph_client_workspace.test.js diff --git a/x-pack/plugins/graph/public/state_management/advanced_settings.ts b/x-pack/platform/plugins/private/graph/public/state_management/advanced_settings.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/advanced_settings.ts rename to x-pack/platform/plugins/private/graph/public/state_management/advanced_settings.ts diff --git a/x-pack/plugins/graph/public/state_management/datasource.sagas.ts b/x-pack/platform/plugins/private/graph/public/state_management/datasource.sagas.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/datasource.sagas.ts rename to x-pack/platform/plugins/private/graph/public/state_management/datasource.sagas.ts diff --git a/x-pack/plugins/graph/public/state_management/datasource.test.ts b/x-pack/platform/plugins/private/graph/public/state_management/datasource.test.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/datasource.test.ts rename to x-pack/platform/plugins/private/graph/public/state_management/datasource.test.ts diff --git a/x-pack/plugins/graph/public/state_management/datasource.ts b/x-pack/platform/plugins/private/graph/public/state_management/datasource.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/datasource.ts rename to x-pack/platform/plugins/private/graph/public/state_management/datasource.ts diff --git a/x-pack/plugins/graph/public/state_management/fields.ts b/x-pack/platform/plugins/private/graph/public/state_management/fields.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/fields.ts rename to x-pack/platform/plugins/private/graph/public/state_management/fields.ts diff --git a/x-pack/plugins/graph/public/state_management/global.ts b/x-pack/platform/plugins/private/graph/public/state_management/global.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/global.ts rename to x-pack/platform/plugins/private/graph/public/state_management/global.ts diff --git a/x-pack/plugins/graph/public/state_management/helpers.ts b/x-pack/platform/plugins/private/graph/public/state_management/helpers.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/helpers.ts rename to x-pack/platform/plugins/private/graph/public/state_management/helpers.ts diff --git a/x-pack/plugins/graph/public/state_management/index.ts b/x-pack/platform/plugins/private/graph/public/state_management/index.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/index.ts rename to x-pack/platform/plugins/private/graph/public/state_management/index.ts diff --git a/x-pack/plugins/graph/public/state_management/legacy.test.ts b/x-pack/platform/plugins/private/graph/public/state_management/legacy.test.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/legacy.test.ts rename to x-pack/platform/plugins/private/graph/public/state_management/legacy.test.ts diff --git a/x-pack/plugins/graph/public/state_management/meta_data.test.ts b/x-pack/platform/plugins/private/graph/public/state_management/meta_data.test.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/meta_data.test.ts rename to x-pack/platform/plugins/private/graph/public/state_management/meta_data.test.ts diff --git a/x-pack/plugins/graph/public/state_management/meta_data.ts b/x-pack/platform/plugins/private/graph/public/state_management/meta_data.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/meta_data.ts rename to x-pack/platform/plugins/private/graph/public/state_management/meta_data.ts diff --git a/x-pack/plugins/graph/public/state_management/mocks.ts b/x-pack/platform/plugins/private/graph/public/state_management/mocks.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/mocks.ts rename to x-pack/platform/plugins/private/graph/public/state_management/mocks.ts diff --git a/x-pack/plugins/graph/public/state_management/persistence.test.ts b/x-pack/platform/plugins/private/graph/public/state_management/persistence.test.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/persistence.test.ts rename to x-pack/platform/plugins/private/graph/public/state_management/persistence.test.ts diff --git a/x-pack/plugins/graph/public/state_management/persistence.ts b/x-pack/platform/plugins/private/graph/public/state_management/persistence.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/persistence.ts rename to x-pack/platform/plugins/private/graph/public/state_management/persistence.ts diff --git a/x-pack/plugins/graph/public/state_management/store.ts b/x-pack/platform/plugins/private/graph/public/state_management/store.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/store.ts rename to x-pack/platform/plugins/private/graph/public/state_management/store.ts diff --git a/x-pack/plugins/graph/public/state_management/url_templates.test.ts b/x-pack/platform/plugins/private/graph/public/state_management/url_templates.test.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/url_templates.test.ts rename to x-pack/platform/plugins/private/graph/public/state_management/url_templates.test.ts diff --git a/x-pack/plugins/graph/public/state_management/url_templates.ts b/x-pack/platform/plugins/private/graph/public/state_management/url_templates.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/url_templates.ts rename to x-pack/platform/plugins/private/graph/public/state_management/url_templates.ts diff --git a/x-pack/plugins/graph/public/state_management/workspace.ts b/x-pack/platform/plugins/private/graph/public/state_management/workspace.ts similarity index 100% rename from x-pack/plugins/graph/public/state_management/workspace.ts rename to x-pack/platform/plugins/private/graph/public/state_management/workspace.ts diff --git a/x-pack/plugins/graph/public/types/app_state.ts b/x-pack/platform/plugins/private/graph/public/types/app_state.ts similarity index 100% rename from x-pack/plugins/graph/public/types/app_state.ts rename to x-pack/platform/plugins/private/graph/public/types/app_state.ts diff --git a/x-pack/plugins/graph/public/types/config.ts b/x-pack/platform/plugins/private/graph/public/types/config.ts similarity index 100% rename from x-pack/plugins/graph/public/types/config.ts rename to x-pack/platform/plugins/private/graph/public/types/config.ts diff --git a/x-pack/plugins/graph/public/types/index.ts b/x-pack/platform/plugins/private/graph/public/types/index.ts similarity index 100% rename from x-pack/plugins/graph/public/types/index.ts rename to x-pack/platform/plugins/private/graph/public/types/index.ts diff --git a/x-pack/plugins/graph/public/types/persistence.ts b/x-pack/platform/plugins/private/graph/public/types/persistence.ts similarity index 100% rename from x-pack/plugins/graph/public/types/persistence.ts rename to x-pack/platform/plugins/private/graph/public/types/persistence.ts diff --git a/x-pack/plugins/graph/public/types/workspace_state.ts b/x-pack/platform/plugins/private/graph/public/types/workspace_state.ts similarity index 100% rename from x-pack/plugins/graph/public/types/workspace_state.ts rename to x-pack/platform/plugins/private/graph/public/types/workspace_state.ts diff --git a/x-pack/plugins/graph/server/config.ts b/x-pack/platform/plugins/private/graph/server/config.ts similarity index 100% rename from x-pack/plugins/graph/server/config.ts rename to x-pack/platform/plugins/private/graph/server/config.ts diff --git a/x-pack/plugins/graph/server/content_management/cm_services.ts b/x-pack/platform/plugins/private/graph/server/content_management/cm_services.ts similarity index 100% rename from x-pack/plugins/graph/server/content_management/cm_services.ts rename to x-pack/platform/plugins/private/graph/server/content_management/cm_services.ts diff --git a/x-pack/plugins/graph/server/content_management/graph_storage.ts b/x-pack/platform/plugins/private/graph/server/content_management/graph_storage.ts similarity index 100% rename from x-pack/plugins/graph/server/content_management/graph_storage.ts rename to x-pack/platform/plugins/private/graph/server/content_management/graph_storage.ts diff --git a/x-pack/plugins/graph/server/content_management/index.ts b/x-pack/platform/plugins/private/graph/server/content_management/index.ts similarity index 100% rename from x-pack/plugins/graph/server/content_management/index.ts rename to x-pack/platform/plugins/private/graph/server/content_management/index.ts diff --git a/x-pack/plugins/graph/server/content_management/v1/cm_services.ts b/x-pack/platform/plugins/private/graph/server/content_management/v1/cm_services.ts similarity index 100% rename from x-pack/plugins/graph/server/content_management/v1/cm_services.ts rename to x-pack/platform/plugins/private/graph/server/content_management/v1/cm_services.ts diff --git a/x-pack/plugins/graph/server/index.ts b/x-pack/platform/plugins/private/graph/server/index.ts similarity index 100% rename from x-pack/plugins/graph/server/index.ts rename to x-pack/platform/plugins/private/graph/server/index.ts diff --git a/x-pack/plugins/graph/server/lib/license_state.ts b/x-pack/platform/plugins/private/graph/server/lib/license_state.ts similarity index 100% rename from x-pack/plugins/graph/server/lib/license_state.ts rename to x-pack/platform/plugins/private/graph/server/lib/license_state.ts diff --git a/x-pack/plugins/graph/server/plugin.ts b/x-pack/platform/plugins/private/graph/server/plugin.ts similarity index 100% rename from x-pack/plugins/graph/server/plugin.ts rename to x-pack/platform/plugins/private/graph/server/plugin.ts diff --git a/x-pack/plugins/graph/server/routes/explore.ts b/x-pack/platform/plugins/private/graph/server/routes/explore.ts similarity index 100% rename from x-pack/plugins/graph/server/routes/explore.ts rename to x-pack/platform/plugins/private/graph/server/routes/explore.ts diff --git a/x-pack/plugins/graph/server/routes/search.ts b/x-pack/platform/plugins/private/graph/server/routes/search.ts similarity index 100% rename from x-pack/plugins/graph/server/routes/search.ts rename to x-pack/platform/plugins/private/graph/server/routes/search.ts diff --git a/x-pack/plugins/graph/server/sample_data/ecommerce.ts b/x-pack/platform/plugins/private/graph/server/sample_data/ecommerce.ts similarity index 100% rename from x-pack/plugins/graph/server/sample_data/ecommerce.ts rename to x-pack/platform/plugins/private/graph/server/sample_data/ecommerce.ts diff --git a/x-pack/plugins/graph/server/sample_data/flights.ts b/x-pack/platform/plugins/private/graph/server/sample_data/flights.ts similarity index 100% rename from x-pack/plugins/graph/server/sample_data/flights.ts rename to x-pack/platform/plugins/private/graph/server/sample_data/flights.ts diff --git a/x-pack/plugins/graph/server/sample_data/index.ts b/x-pack/platform/plugins/private/graph/server/sample_data/index.ts similarity index 100% rename from x-pack/plugins/graph/server/sample_data/index.ts rename to x-pack/platform/plugins/private/graph/server/sample_data/index.ts diff --git a/x-pack/plugins/graph/server/sample_data/logs.ts b/x-pack/platform/plugins/private/graph/server/sample_data/logs.ts similarity index 100% rename from x-pack/plugins/graph/server/sample_data/logs.ts rename to x-pack/platform/plugins/private/graph/server/sample_data/logs.ts diff --git a/x-pack/plugins/graph/server/sample_data/register_sample_data.ts b/x-pack/platform/plugins/private/graph/server/sample_data/register_sample_data.ts similarity index 100% rename from x-pack/plugins/graph/server/sample_data/register_sample_data.ts rename to x-pack/platform/plugins/private/graph/server/sample_data/register_sample_data.ts diff --git a/x-pack/plugins/graph/server/saved_objects/graph_workspace.ts b/x-pack/platform/plugins/private/graph/server/saved_objects/graph_workspace.ts similarity index 100% rename from x-pack/plugins/graph/server/saved_objects/graph_workspace.ts rename to x-pack/platform/plugins/private/graph/server/saved_objects/graph_workspace.ts diff --git a/x-pack/plugins/graph/server/saved_objects/index.ts b/x-pack/platform/plugins/private/graph/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/graph/server/saved_objects/index.ts rename to x-pack/platform/plugins/private/graph/server/saved_objects/index.ts diff --git a/x-pack/plugins/graph/server/saved_objects/migrations.test.ts b/x-pack/platform/plugins/private/graph/server/saved_objects/migrations.test.ts similarity index 100% rename from x-pack/plugins/graph/server/saved_objects/migrations.test.ts rename to x-pack/platform/plugins/private/graph/server/saved_objects/migrations.test.ts diff --git a/x-pack/plugins/graph/server/saved_objects/migrations.ts b/x-pack/platform/plugins/private/graph/server/saved_objects/migrations.ts similarity index 100% rename from x-pack/plugins/graph/server/saved_objects/migrations.ts rename to x-pack/platform/plugins/private/graph/server/saved_objects/migrations.ts diff --git a/x-pack/plugins/graph/tsconfig.json b/x-pack/platform/plugins/private/graph/tsconfig.json similarity index 94% rename from x-pack/plugins/graph/tsconfig.json rename to x-pack/platform/plugins/private/graph/tsconfig.json index 99868f7e8037c..165a2a10aad52 100644 --- a/x-pack/plugins/graph/tsconfig.json +++ b/x-pack/platform/plugins/private/graph/tsconfig.json @@ -1,6 +1,6 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "allowJs": true @@ -10,7 +10,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../typings/**/*", + "../../../../../typings/**/*", ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js b/x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js index 469927269af57..b83bf77ee3a64 100644 --- a/x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js +++ b/x-pack/platform/plugins/private/watcher/public/legacy/time_buckets.js @@ -131,7 +131,7 @@ TimeBuckets.prototype.getDuration = function () { * generated. * * Input can be one of the following: - * - Any object from src/plugins/data/public/search/aggs/buckets/_interval_options.ts + * - Any object from src/platform/plugins/shared/data/public/search/aggs/buckets/_interval_options.ts * - "auto" * - Pass a valid moment unit * - a moment.duration object. diff --git a/x-pack/plugins/lens/common/constants.test.ts b/x-pack/platform/plugins/shared/lens/common/constants.test.ts similarity index 100% rename from x-pack/plugins/lens/common/constants.test.ts rename to x-pack/platform/plugins/shared/lens/common/constants.test.ts diff --git a/x-pack/plugins/lens/common/constants.ts b/x-pack/platform/plugins/shared/lens/common/constants.ts similarity index 100% rename from x-pack/plugins/lens/common/constants.ts rename to x-pack/platform/plugins/shared/lens/common/constants.ts diff --git a/x-pack/plugins/lens/common/content_management/constants.ts b/x-pack/platform/plugins/shared/lens/common/content_management/constants.ts similarity index 100% rename from x-pack/plugins/lens/common/content_management/constants.ts rename to x-pack/platform/plugins/shared/lens/common/content_management/constants.ts diff --git a/x-pack/plugins/lens/common/content_management/index.ts b/x-pack/platform/plugins/shared/lens/common/content_management/index.ts similarity index 100% rename from x-pack/plugins/lens/common/content_management/index.ts rename to x-pack/platform/plugins/shared/lens/common/content_management/index.ts diff --git a/x-pack/plugins/lens/common/content_management/latest.ts b/x-pack/platform/plugins/shared/lens/common/content_management/latest.ts similarity index 100% rename from x-pack/plugins/lens/common/content_management/latest.ts rename to x-pack/platform/plugins/shared/lens/common/content_management/latest.ts diff --git a/x-pack/plugins/lens/common/content_management/types.ts b/x-pack/platform/plugins/shared/lens/common/content_management/types.ts similarity index 100% rename from x-pack/plugins/lens/common/content_management/types.ts rename to x-pack/platform/plugins/shared/lens/common/content_management/types.ts diff --git a/x-pack/plugins/lens/common/content_management/v1/index.ts b/x-pack/platform/plugins/shared/lens/common/content_management/v1/index.ts similarity index 100% rename from x-pack/plugins/lens/common/content_management/v1/index.ts rename to x-pack/platform/plugins/shared/lens/common/content_management/v1/index.ts diff --git a/x-pack/plugins/lens/common/content_management/v1/types.ts b/x-pack/platform/plugins/shared/lens/common/content_management/v1/types.ts similarity index 100% rename from x-pack/plugins/lens/common/content_management/v1/types.ts rename to x-pack/platform/plugins/shared/lens/common/content_management/v1/types.ts diff --git a/x-pack/plugins/lens/common/embeddable_factory/index.ts b/x-pack/platform/plugins/shared/lens/common/embeddable_factory/index.ts similarity index 100% rename from x-pack/plugins/lens/common/embeddable_factory/index.ts rename to x-pack/platform/plugins/shared/lens/common/embeddable_factory/index.ts diff --git a/x-pack/plugins/lens/common/expressions/collapse/collapse_fn.test.ts b/x-pack/platform/plugins/shared/lens/common/expressions/collapse/collapse_fn.test.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/collapse/collapse_fn.test.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/collapse/collapse_fn.test.ts diff --git a/x-pack/plugins/lens/common/expressions/collapse/collapse_fn.ts b/x-pack/platform/plugins/shared/lens/common/expressions/collapse/collapse_fn.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/collapse/collapse_fn.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/collapse/collapse_fn.ts diff --git a/x-pack/plugins/lens/common/expressions/collapse/index.ts b/x-pack/platform/plugins/shared/lens/common/expressions/collapse/index.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/collapse/index.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/collapse/index.ts diff --git a/x-pack/plugins/lens/common/expressions/collapse/types.ts b/x-pack/platform/plugins/shared/lens/common/expressions/collapse/types.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/collapse/types.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/collapse/types.ts diff --git a/x-pack/plugins/lens/common/expressions/counter_rate/counter_rate.test.ts b/x-pack/platform/plugins/shared/lens/common/expressions/counter_rate/counter_rate.test.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/counter_rate/counter_rate.test.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/counter_rate/counter_rate.test.ts diff --git a/x-pack/plugins/lens/common/expressions/counter_rate/counter_rate_fn.ts b/x-pack/platform/plugins/shared/lens/common/expressions/counter_rate/counter_rate_fn.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/counter_rate/counter_rate_fn.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/counter_rate/counter_rate_fn.ts diff --git a/x-pack/plugins/lens/common/expressions/counter_rate/index.ts b/x-pack/platform/plugins/shared/lens/common/expressions/counter_rate/index.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/counter_rate/index.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/counter_rate/index.ts diff --git a/x-pack/plugins/lens/common/expressions/counter_rate/types.ts b/x-pack/platform/plugins/shared/lens/common/expressions/counter_rate/types.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/counter_rate/types.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/counter_rate/types.ts diff --git a/x-pack/plugins/lens/common/expressions/datatable/datatable.ts b/x-pack/platform/plugins/shared/lens/common/expressions/datatable/datatable.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/datatable/datatable.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/datatable/datatable.ts diff --git a/x-pack/plugins/lens/common/expressions/datatable/datatable_column.ts b/x-pack/platform/plugins/shared/lens/common/expressions/datatable/datatable_column.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/datatable/datatable_column.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/datatable/datatable_column.ts diff --git a/x-pack/plugins/lens/common/expressions/datatable/datatable_fn.ts b/x-pack/platform/plugins/shared/lens/common/expressions/datatable/datatable_fn.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/datatable/datatable_fn.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/datatable/datatable_fn.ts diff --git a/x-pack/plugins/lens/common/expressions/datatable/index.ts b/x-pack/platform/plugins/shared/lens/common/expressions/datatable/index.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/datatable/index.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/datatable/index.ts diff --git a/x-pack/plugins/lens/common/expressions/datatable/summary.test.ts b/x-pack/platform/plugins/shared/lens/common/expressions/datatable/summary.test.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/datatable/summary.test.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/datatable/summary.test.ts diff --git a/x-pack/plugins/lens/common/expressions/datatable/summary.ts b/x-pack/platform/plugins/shared/lens/common/expressions/datatable/summary.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/datatable/summary.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/datatable/summary.ts diff --git a/x-pack/plugins/lens/common/expressions/datatable/transpose_helpers.test.ts b/x-pack/platform/plugins/shared/lens/common/expressions/datatable/transpose_helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/datatable/transpose_helpers.test.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/datatable/transpose_helpers.test.ts diff --git a/x-pack/plugins/lens/common/expressions/datatable/transpose_helpers.ts b/x-pack/platform/plugins/shared/lens/common/expressions/datatable/transpose_helpers.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/datatable/transpose_helpers.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/datatable/transpose_helpers.ts diff --git a/x-pack/plugins/lens/common/expressions/datatable/types.ts b/x-pack/platform/plugins/shared/lens/common/expressions/datatable/types.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/datatable/types.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/datatable/types.ts diff --git a/x-pack/plugins/lens/common/expressions/datatable/utils.ts b/x-pack/platform/plugins/shared/lens/common/expressions/datatable/utils.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/datatable/utils.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/datatable/utils.ts diff --git a/x-pack/plugins/lens/common/expressions/format_column/format_column.test.ts b/x-pack/platform/plugins/shared/lens/common/expressions/format_column/format_column.test.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/format_column/format_column.test.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/format_column/format_column.test.ts diff --git a/x-pack/plugins/lens/common/expressions/format_column/format_column_fn.ts b/x-pack/platform/plugins/shared/lens/common/expressions/format_column/format_column_fn.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/format_column/format_column_fn.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/format_column/format_column_fn.ts diff --git a/x-pack/plugins/lens/common/expressions/format_column/index.ts b/x-pack/platform/plugins/shared/lens/common/expressions/format_column/index.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/format_column/index.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/format_column/index.ts diff --git a/x-pack/plugins/lens/common/expressions/format_column/supported_formats.ts b/x-pack/platform/plugins/shared/lens/common/expressions/format_column/supported_formats.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/format_column/supported_formats.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/format_column/supported_formats.ts diff --git a/x-pack/plugins/lens/common/expressions/format_column/types.ts b/x-pack/platform/plugins/shared/lens/common/expressions/format_column/types.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/format_column/types.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/format_column/types.ts diff --git a/x-pack/plugins/lens/common/expressions/formula_context/context_fns.test.ts b/x-pack/platform/plugins/shared/lens/common/expressions/formula_context/context_fns.test.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/formula_context/context_fns.test.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/formula_context/context_fns.test.ts diff --git a/x-pack/plugins/lens/common/expressions/formula_context/context_fns.ts b/x-pack/platform/plugins/shared/lens/common/expressions/formula_context/context_fns.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/formula_context/context_fns.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/formula_context/context_fns.ts diff --git a/x-pack/plugins/lens/common/expressions/formula_context/index.ts b/x-pack/platform/plugins/shared/lens/common/expressions/formula_context/index.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/formula_context/index.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/formula_context/index.ts diff --git a/x-pack/plugins/lens/common/expressions/index.ts b/x-pack/platform/plugins/shared/lens/common/expressions/index.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/index.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/index.ts diff --git a/x-pack/plugins/lens/common/expressions/map_to_columns/index.ts b/x-pack/platform/plugins/shared/lens/common/expressions/map_to_columns/index.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/map_to_columns/index.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/map_to_columns/index.ts diff --git a/x-pack/plugins/lens/common/expressions/map_to_columns/map_to_columns.test.ts b/x-pack/platform/plugins/shared/lens/common/expressions/map_to_columns/map_to_columns.test.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/map_to_columns/map_to_columns.test.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/map_to_columns/map_to_columns.test.ts diff --git a/x-pack/plugins/lens/common/expressions/map_to_columns/map_to_columns.ts b/x-pack/platform/plugins/shared/lens/common/expressions/map_to_columns/map_to_columns.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/map_to_columns/map_to_columns.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/map_to_columns/map_to_columns.ts diff --git a/x-pack/plugins/lens/common/expressions/map_to_columns/map_to_columns_fn.ts b/x-pack/platform/plugins/shared/lens/common/expressions/map_to_columns/map_to_columns_fn.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/map_to_columns/map_to_columns_fn.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/map_to_columns/map_to_columns_fn.ts diff --git a/x-pack/plugins/lens/common/expressions/map_to_columns/map_to_columns_fn_textbased.ts b/x-pack/platform/plugins/shared/lens/common/expressions/map_to_columns/map_to_columns_fn_textbased.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/map_to_columns/map_to_columns_fn_textbased.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/map_to_columns/map_to_columns_fn_textbased.ts diff --git a/x-pack/plugins/lens/common/expressions/map_to_columns/types.ts b/x-pack/platform/plugins/shared/lens/common/expressions/map_to_columns/types.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/map_to_columns/types.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/map_to_columns/types.ts diff --git a/x-pack/plugins/lens/common/expressions/time_scale/index.ts b/x-pack/platform/plugins/shared/lens/common/expressions/time_scale/index.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/time_scale/index.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/time_scale/index.ts diff --git a/x-pack/plugins/lens/common/expressions/time_scale/time_scale.test.ts b/x-pack/platform/plugins/shared/lens/common/expressions/time_scale/time_scale.test.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/time_scale/time_scale.test.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/time_scale/time_scale.test.ts diff --git a/x-pack/plugins/lens/common/expressions/time_scale/time_scale.ts b/x-pack/platform/plugins/shared/lens/common/expressions/time_scale/time_scale.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/time_scale/time_scale.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/time_scale/time_scale.ts diff --git a/x-pack/plugins/lens/common/expressions/time_scale/time_scale_fn.ts b/x-pack/platform/plugins/shared/lens/common/expressions/time_scale/time_scale_fn.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/time_scale/time_scale_fn.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/time_scale/time_scale_fn.ts diff --git a/x-pack/plugins/lens/common/expressions/time_scale/types.ts b/x-pack/platform/plugins/shared/lens/common/expressions/time_scale/types.ts similarity index 100% rename from x-pack/plugins/lens/common/expressions/time_scale/types.ts rename to x-pack/platform/plugins/shared/lens/common/expressions/time_scale/types.ts diff --git a/x-pack/plugins/lens/common/index.ts b/x-pack/platform/plugins/shared/lens/common/index.ts similarity index 100% rename from x-pack/plugins/lens/common/index.ts rename to x-pack/platform/plugins/shared/lens/common/index.ts diff --git a/x-pack/plugins/lens/common/layer_types.ts b/x-pack/platform/plugins/shared/lens/common/layer_types.ts similarity index 100% rename from x-pack/plugins/lens/common/layer_types.ts rename to x-pack/platform/plugins/shared/lens/common/layer_types.ts diff --git a/x-pack/plugins/lens/common/locator/locator.test.ts b/x-pack/platform/plugins/shared/lens/common/locator/locator.test.ts similarity index 100% rename from x-pack/plugins/lens/common/locator/locator.test.ts rename to x-pack/platform/plugins/shared/lens/common/locator/locator.test.ts diff --git a/x-pack/plugins/lens/common/locator/locator.ts b/x-pack/platform/plugins/shared/lens/common/locator/locator.ts similarity index 100% rename from x-pack/plugins/lens/common/locator/locator.ts rename to x-pack/platform/plugins/shared/lens/common/locator/locator.ts diff --git a/x-pack/plugins/lens/common/suffix_formatter/index.ts b/x-pack/platform/plugins/shared/lens/common/suffix_formatter/index.ts similarity index 100% rename from x-pack/plugins/lens/common/suffix_formatter/index.ts rename to x-pack/platform/plugins/shared/lens/common/suffix_formatter/index.ts diff --git a/x-pack/plugins/lens/common/suffix_formatter/suffix_formatter.test.ts b/x-pack/platform/plugins/shared/lens/common/suffix_formatter/suffix_formatter.test.ts similarity index 100% rename from x-pack/plugins/lens/common/suffix_formatter/suffix_formatter.test.ts rename to x-pack/platform/plugins/shared/lens/common/suffix_formatter/suffix_formatter.test.ts diff --git a/x-pack/plugins/lens/common/types.ts b/x-pack/platform/plugins/shared/lens/common/types.ts similarity index 100% rename from x-pack/plugins/lens/common/types.ts rename to x-pack/platform/plugins/shared/lens/common/types.ts diff --git a/x-pack/plugins/lens/common/visualizations/index.ts b/x-pack/platform/plugins/shared/lens/common/visualizations/index.ts similarity index 100% rename from x-pack/plugins/lens/common/visualizations/index.ts rename to x-pack/platform/plugins/shared/lens/common/visualizations/index.ts diff --git a/x-pack/plugins/lens/common/visualizations/partition/utils.ts b/x-pack/platform/plugins/shared/lens/common/visualizations/partition/utils.ts similarity index 100% rename from x-pack/plugins/lens/common/visualizations/partition/utils.ts rename to x-pack/platform/plugins/shared/lens/common/visualizations/partition/utils.ts diff --git a/x-pack/plugins/lens/jest.config.js b/x-pack/platform/plugins/shared/lens/jest.config.js similarity index 64% rename from x-pack/plugins/lens/jest.config.js rename to x-pack/platform/plugins/shared/lens/jest.config.js index ae4a39557bec8..58bcb55d693c0 100644 --- a/x-pack/plugins/lens/jest.config.js +++ b/x-pack/platform/plugins/shared/lens/jest.config.js @@ -7,10 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/lens'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/lens', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/lens'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/lens', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/lens/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/lens/{common,public,server}/**/*.{ts,tsx}', + ], setupFiles: ['jest-canvas-mock'], }; diff --git a/x-pack/plugins/lens/kibana.jsonc b/x-pack/platform/plugins/shared/lens/kibana.jsonc similarity index 100% rename from x-pack/plugins/lens/kibana.jsonc rename to x-pack/platform/plugins/shared/lens/kibana.jsonc diff --git a/x-pack/plugins/lens/layout.png b/x-pack/platform/plugins/shared/lens/layout.png similarity index 100% rename from x-pack/plugins/lens/layout.png rename to x-pack/platform/plugins/shared/lens/layout.png diff --git a/x-pack/plugins/lens/public/_mixins.scss b/x-pack/platform/plugins/shared/lens/public/_mixins.scss similarity index 100% rename from x-pack/plugins/lens/public/_mixins.scss rename to x-pack/platform/plugins/shared/lens/public/_mixins.scss diff --git a/x-pack/plugins/lens/public/_variables.scss b/x-pack/platform/plugins/shared/lens/public/_variables.scss similarity index 100% rename from x-pack/plugins/lens/public/_variables.scss rename to x-pack/platform/plugins/shared/lens/public/_variables.scss diff --git a/x-pack/plugins/lens/public/app_plugin/app.scss b/x-pack/platform/plugins/shared/lens/public/app_plugin/app.scss similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/app.scss rename to x-pack/platform/plugins/shared/lens/public/app_plugin/app.scss diff --git a/x-pack/plugins/lens/public/app_plugin/app.test.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/app.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/app.test.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/app.test.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/app.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/app.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/app.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/app.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/app_helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/app_plugin/app_helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/app_helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/app_plugin/app_helpers.test.ts diff --git a/x-pack/plugins/lens/public/app_plugin/app_helpers.ts b/x-pack/platform/plugins/shared/lens/public/app_plugin/app_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/app_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/app_plugin/app_helpers.ts diff --git a/x-pack/plugins/lens/public/app_plugin/csv_download_provider/csv_download_provider.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/csv_download_provider/csv_download_provider.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/csv_download_provider/csv_download_provider.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/csv_download_provider/csv_download_provider.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/get_application_user_messages.test.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/get_application_user_messages.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/get_application_user_messages.test.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/get_application_user_messages.test.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/get_application_user_messages.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/get_application_user_messages.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/get_application_user_messages.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/get_application_user_messages.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/index.ts b/x-pack/platform/plugins/shared/lens/public/app_plugin/index.ts similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/index.ts rename to x-pack/platform/plugins/shared/lens/public/app_plugin/index.ts diff --git a/x-pack/plugins/lens/public/app_plugin/lens_document_equality.test.ts b/x-pack/platform/plugins/shared/lens/public/app_plugin/lens_document_equality.test.ts similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/lens_document_equality.test.ts rename to x-pack/platform/plugins/shared/lens/public/app_plugin/lens_document_equality.test.ts diff --git a/x-pack/plugins/lens/public/app_plugin/lens_document_equality.ts b/x-pack/platform/plugins/shared/lens/public/app_plugin/lens_document_equality.ts similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/lens_document_equality.ts rename to x-pack/platform/plugins/shared/lens/public/app_plugin/lens_document_equality.ts diff --git a/x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/lens_top_nav.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/lens_top_nav.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/mounter.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/mounter.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/mounter.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/mounter.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/save_modal.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/save_modal.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/save_modal.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/save_modal.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/save_modal_container.test.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/save_modal_container.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/save_modal_container.test.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/save_modal_container.test.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/save_modal_container.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/save_modal_container.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/save_modal_container_helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/app_plugin/save_modal_container_helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/save_modal_container_helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/app_plugin/save_modal_container_helpers.test.ts diff --git a/x-pack/plugins/lens/public/app_plugin/save_modal_container_helpers.ts b/x-pack/platform/plugins/shared/lens/public/app_plugin/save_modal_container_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/save_modal_container_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/app_plugin/save_modal_container_helpers.ts diff --git a/x-pack/plugins/lens/public/app_plugin/settings_menu.test.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/settings_menu.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/settings_menu.test.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/settings_menu.test.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/settings_menu.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/settings_menu.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/settings_menu.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/settings_menu.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/share_action.ts b/x-pack/platform/plugins/shared/lens/public/app_plugin/share_action.ts similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/share_action.ts rename to x-pack/platform/plugins/shared/lens/public/app_plugin/share_action.ts diff --git a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/esql_data_grid_accordion.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/esql_data_grid_accordion.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/esql_data_grid_accordion.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/esql_data_grid_accordion.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/flyout_wrapper.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/flyout_wrapper.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/flyout_wrapper.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/flyout_wrapper.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/get_edit_lens_configuration.test.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/get_edit_lens_configuration.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/get_edit_lens_configuration.test.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/get_edit_lens_configuration.test.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/get_edit_lens_configuration.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/get_edit_lens_configuration.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/get_edit_lens_configuration.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/get_edit_lens_configuration.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/helpers.test.ts diff --git a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/helpers.ts b/x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/helpers.ts rename to x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/helpers.ts diff --git a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/layer_configuration_section.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/layer_configuration_section.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/layer_configuration_section.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/layer_configuration_section.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.test.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.test.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.test.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/lens_configuration_flyout.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/types.ts b/x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/types.ts similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/shared/edit_on_the_fly/types.ts rename to x-pack/platform/plugins/shared/lens/public/app_plugin/shared/edit_on_the_fly/types.ts diff --git a/x-pack/plugins/lens/public/app_plugin/shared/saved_modal_lazy.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/shared/saved_modal_lazy.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/shared/saved_modal_lazy.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/shared/saved_modal_lazy.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/show_underlying_data.test.ts b/x-pack/platform/plugins/shared/lens/public/app_plugin/show_underlying_data.test.ts similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/show_underlying_data.test.ts rename to x-pack/platform/plugins/shared/lens/public/app_plugin/show_underlying_data.test.ts diff --git a/x-pack/plugins/lens/public/app_plugin/show_underlying_data.ts b/x-pack/platform/plugins/shared/lens/public/app_plugin/show_underlying_data.ts similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/show_underlying_data.ts rename to x-pack/platform/plugins/shared/lens/public/app_plugin/show_underlying_data.ts diff --git a/x-pack/plugins/lens/public/app_plugin/tags_saved_object_save_modal_dashboard_wrapper.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/tags_saved_object_save_modal_dashboard_wrapper.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/tags_saved_object_save_modal_dashboard_wrapper.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/tags_saved_object_save_modal_dashboard_wrapper.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/tags_saved_object_save_modal_origin_wrapper.tsx b/x-pack/platform/plugins/shared/lens/public/app_plugin/tags_saved_object_save_modal_origin_wrapper.tsx similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/tags_saved_object_save_modal_origin_wrapper.tsx rename to x-pack/platform/plugins/shared/lens/public/app_plugin/tags_saved_object_save_modal_origin_wrapper.tsx diff --git a/x-pack/plugins/lens/public/app_plugin/types.ts b/x-pack/platform/plugins/shared/lens/public/app_plugin/types.ts similarity index 100% rename from x-pack/plugins/lens/public/app_plugin/types.ts rename to x-pack/platform/plugins/shared/lens/public/app_plugin/types.ts diff --git a/x-pack/plugins/lens/public/assets/error.svg b/x-pack/platform/plugins/shared/lens/public/assets/error.svg similarity index 100% rename from x-pack/plugins/lens/public/assets/error.svg rename to x-pack/platform/plugins/shared/lens/public/assets/error.svg diff --git a/x-pack/plugins/lens/public/assets/render_dark@2x.png b/x-pack/platform/plugins/shared/lens/public/assets/render_dark@2x.png similarity index 100% rename from x-pack/plugins/lens/public/assets/render_dark@2x.png rename to x-pack/platform/plugins/shared/lens/public/assets/render_dark@2x.png diff --git a/x-pack/plugins/lens/public/assets/render_light@2x.png b/x-pack/platform/plugins/shared/lens/public/assets/render_light@2x.png similarity index 100% rename from x-pack/plugins/lens/public/assets/render_light@2x.png rename to x-pack/platform/plugins/shared/lens/public/assets/render_light@2x.png diff --git a/x-pack/plugins/lens/public/assets/warning.svg b/x-pack/platform/plugins/shared/lens/public/assets/warning.svg similarity index 100% rename from x-pack/plugins/lens/public/assets/warning.svg rename to x-pack/platform/plugins/shared/lens/public/assets/warning.svg diff --git a/x-pack/plugins/lens/public/async_services.ts b/x-pack/platform/plugins/shared/lens/public/async_services.ts similarity index 100% rename from x-pack/plugins/lens/public/async_services.ts rename to x-pack/platform/plugins/shared/lens/public/async_services.ts diff --git a/x-pack/plugins/lens/public/chart_info_api.test.ts b/x-pack/platform/plugins/shared/lens/public/chart_info_api.test.ts similarity index 100% rename from x-pack/plugins/lens/public/chart_info_api.test.ts rename to x-pack/platform/plugins/shared/lens/public/chart_info_api.test.ts diff --git a/x-pack/plugins/lens/public/chart_info_api.ts b/x-pack/platform/plugins/shared/lens/public/chart_info_api.ts similarity index 100% rename from x-pack/plugins/lens/public/chart_info_api.ts rename to x-pack/platform/plugins/shared/lens/public/chart_info_api.ts diff --git a/x-pack/plugins/lens/public/data_views_service/loader.test.ts b/x-pack/platform/plugins/shared/lens/public/data_views_service/loader.test.ts similarity index 100% rename from x-pack/plugins/lens/public/data_views_service/loader.test.ts rename to x-pack/platform/plugins/shared/lens/public/data_views_service/loader.test.ts diff --git a/x-pack/plugins/lens/public/data_views_service/loader.ts b/x-pack/platform/plugins/shared/lens/public/data_views_service/loader.ts similarity index 100% rename from x-pack/plugins/lens/public/data_views_service/loader.ts rename to x-pack/platform/plugins/shared/lens/public/data_views_service/loader.ts diff --git a/x-pack/plugins/lens/public/data_views_service/mocks.ts b/x-pack/platform/plugins/shared/lens/public/data_views_service/mocks.ts similarity index 100% rename from x-pack/plugins/lens/public/data_views_service/mocks.ts rename to x-pack/platform/plugins/shared/lens/public/data_views_service/mocks.ts diff --git a/x-pack/plugins/lens/public/data_views_service/service.ts b/x-pack/platform/plugins/shared/lens/public/data_views_service/service.ts similarity index 100% rename from x-pack/plugins/lens/public/data_views_service/service.ts rename to x-pack/platform/plugins/shared/lens/public/data_views_service/service.ts diff --git a/x-pack/plugins/lens/public/datasources/common/field_item.scss b/x-pack/platform/plugins/shared/lens/public/datasources/common/field_item.scss similarity index 100% rename from x-pack/plugins/lens/public/datasources/common/field_item.scss rename to x-pack/platform/plugins/shared/lens/public/datasources/common/field_item.scss diff --git a/x-pack/plugins/lens/public/datasources/common/field_item.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/common/field_item.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/common/field_item.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/common/field_item.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/common/field_item.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/common/field_item.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/common/field_item.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/common/field_item.tsx diff --git a/x-pack/plugins/lens/public/datasources/common/get_field_item_actions.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/common/get_field_item_actions.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/common/get_field_item_actions.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/common/get_field_item_actions.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/__mocks__/loader.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/__mocks__/loader.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/__mocks__/loader.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/__mocks__/loader.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/__snapshots__/utils.test.tsx.snap b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/__snapshots__/utils.test.tsx.snap similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/__snapshots__/utils.test.tsx.snap rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/__snapshots__/utils.test.tsx.snap diff --git a/x-pack/plugins/lens/public/datasources/form_based/datapanel.scss b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/datapanel.scss similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/datapanel.scss rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/datapanel.scss diff --git a/x-pack/plugins/lens/public/datasources/form_based/datapanel.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/datapanel.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/datapanel.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/datapanel.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/datapanel.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/datapanel.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/datapanel.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/datapanel.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dedupe_aggs.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dedupe_aggs.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dedupe_aggs.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dedupe_aggs.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/dedupe_aggs.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dedupe_aggs.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dedupe_aggs.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dedupe_aggs.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/advanced_options.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/advanced_options.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/advanced_options.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/advanced_options.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/bucket_nesting_editor.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/bucket_nesting_editor.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/bucket_nesting_editor.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/bucket_nesting_editor.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/bucket_nesting_editor.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/bucket_nesting_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/bucket_nesting_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/bucket_nesting_editor.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_editor.scss b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/dimension_editor.scss similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_editor.scss rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/dimension_editor.scss diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_editor.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/dimension_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/dimension_editor.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_editor_helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/dimension_editor_helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_editor_helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/dimension_editor_helpers.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/dimension_panel.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_panel.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/dimension_panel.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimension_panel.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/dimension_panel.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimensions_editor_helpers.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/dimensions_editor_helpers.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/dimensions_editor_helpers.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/dimensions_editor_helpers.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/get_drop_props.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/droppable/get_drop_props.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/get_drop_props.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/droppable/get_drop_props.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/get_drop_props.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/droppable/get_drop_props.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/get_drop_props.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/droppable/get_drop_props.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/index.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/droppable/index.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/index.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/droppable/index.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/mocks.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/droppable/mocks.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/mocks.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/droppable/mocks.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/on_drop_handler.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/droppable/on_drop_handler.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/on_drop_handler.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/droppable/on_drop_handler.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/on_drop_handler.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/droppable/on_drop_handler.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/droppable/on_drop_handler.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/droppable/on_drop_handler.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/field_input.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/field_input.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/field_input.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/field_input.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/field_input.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/field_input.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/field_input.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/field_input.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/field_select.scss b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/field_select.scss similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/field_select.scss rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/field_select.scss diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/field_select.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/field_select.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/field_select.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/field_select.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/filtering.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/filtering.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/filtering.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/filtering.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/format_selector.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/format_selector.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/format_selector.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/format_selector.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/format_selector.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/format_selector.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/format_selector.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/format_selector.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/formatting/duration_input.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/formatting/duration_input.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/formatting/duration_input.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/formatting/duration_input.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/index.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/index.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/index.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/index.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/operation_support.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/operation_support.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/operation_support.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/operation_support.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/reduced_time_range.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/reduced_time_range.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/reduced_time_range.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/reduced_time_range.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/reference_editor.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/reference_editor.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/reference_editor.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/reference_editor.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/reference_editor.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/reference_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/reference_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/reference_editor.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/time_scaling.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/time_scaling.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/time_scaling.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/time_scaling.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/dimension_panel/time_shift.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/time_shift.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/dimension_panel/time_shift.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/dimension_panel/time_shift.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/document_field.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/document_field.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/document_field.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/document_field.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/form_based.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/form_based.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/form_based.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/form_based.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/form_based.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/form_based.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/form_based.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/form_based.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/form_based_suggestions.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/form_based_suggestions.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/form_based_suggestions.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/form_based_suggestions.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/form_based_suggestions.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/form_based_suggestions.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/form_based_suggestions.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/form_based_suggestions.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/help_popover.scss b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/help_popover.scss similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/help_popover.scss rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/help_popover.scss diff --git a/x-pack/plugins/lens/public/datasources/form_based/help_popover.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/help_popover.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/help_popover.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/help_popover.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/index.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/index.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/index.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/index.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/info_badges.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/info_badges.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/info_badges.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/info_badges.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/layer_settings.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/layer_settings.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/layer_settings.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/layer_settings.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/layerpanel.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/layerpanel.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/layerpanel.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/layerpanel.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/layerpanel.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/layerpanel.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/layerpanel.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/layerpanel.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/loader.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/loader.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/loader.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/loader.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/loader.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/loader.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/loader.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/loader.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/mocks.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/mocks.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/mocks.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/mocks.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/__mocks__/index.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/__mocks__/index.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/__mocks__/index.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/__snapshots__/percentile.test.tsx.snap b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/__snapshots__/percentile.test.tsx.snap similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/__snapshots__/percentile.test.tsx.snap rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/__snapshots__/percentile.test.tsx.snap diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/counter_rate.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/counter_rate.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/counter_rate.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/counter_rate.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/cumulative_sum.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/cumulative_sum.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/cumulative_sum.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/cumulative_sum.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/differences.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/differences.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/differences.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/differences.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/index.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/index.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/index.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/index.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/moving_average.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/moving_average.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/moving_average.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/moving_average.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/overall_metric.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/overall_metric.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/overall_metric.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/overall_metric.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/overall_metric.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/overall_metric.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/overall_metric.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/overall_metric.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/time_scale.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/time_scale.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/time_scale.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/time_scale.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/utils.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/utils.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/utils.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/utils.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/utils.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/utils.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/calculations/utils.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/calculations/utils.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/cardinality.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/cardinality.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/cardinality.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/cardinality.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/cardinality.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/cardinality.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/cardinality.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/cardinality.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/column_types.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/column_types.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/column_types.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/column_types.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/count.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/count.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/count.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/count.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/count.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/count.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/count.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/count.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/date_histogram.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/date_histogram.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/date_histogram.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/date_histogram.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/date_histogram.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/date_histogram.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/date_histogram.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/date_histogram.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.scss b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.scss similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.scss rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.scss diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/filters/filter_popover.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/filters/filters.scss b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/filters/filters.scss similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/filters/filters.scss rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/filters/filters.scss diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/filters/filters.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/filters/filters.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/filters/filters.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/filters/filters.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/filters/filters.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/filters/filters.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/filters/filters.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/filters/filters.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/filters/index.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/filters/index.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/filters/index.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/filters/index.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/__snapshots__/formula.test.tsx.snap b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/__snapshots__/formula.test.tsx.snap similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/__snapshots__/formula.test.tsx.snap rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/__snapshots__/formula.test.tsx.snap diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/context_variables.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/context_variables.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/context_variables.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/context_variables.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/context_variables.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/context_variables.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/context_variables.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/context_variables.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/formula.scss b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/editor/formula.scss similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/formula.scss rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/editor/formula.scss diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/formula_editor.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/editor/formula_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/formula_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/editor/formula_editor.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/formula_help.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/editor/formula_help.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/formula_help.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/editor/formula_help.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/index.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/editor/index.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/index.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/editor/index.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/math_completion.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/editor/math_completion.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/math_completion.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/editor/math_completion.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/math_completion.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/editor/math_completion.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/math_completion.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/editor/math_completion.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/math_tokenization.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/editor/math_tokenization.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/math_tokenization.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/editor/math_tokenization.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/formula.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/formula.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/formula.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/formula.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/formula.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/formula.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/formula.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/formula.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/formula_public_api.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/formula_public_api.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/formula_public_api.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/formula_public_api.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/formula_public_api.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/formula_public_api.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/formula_public_api.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/formula_public_api.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/generate.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/generate.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/generate.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/generate.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/index.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/index.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/index.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/index.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/math.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/math.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/math.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/math.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/math.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/math.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/math.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/math.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/math_examples.md b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/math_examples.md similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/math_examples.md rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/math_examples.md diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/mocks/operation_mocks.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/mocks/operation_mocks.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/mocks/operation_mocks.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/mocks/operation_mocks.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/parse.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/parse.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/parse.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/parse.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/types.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/types.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/types.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/types.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/util.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/util.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/util.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/util.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/validation.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/validation.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/validation.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/validation.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/validation_errors.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/validation_errors.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/validation_errors.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/formula/validation_errors.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/get_group_by_key.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/get_group_by_key.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/get_group_by_key.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/get_group_by_key.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/helpers.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/helpers.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/helpers.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/helpers.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/helpers.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/index.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/index.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/index.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/index.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/last_value.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/last_value.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/last_value.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/last_value.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/last_value.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/last_value.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/last_value.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/last_value.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/metrics.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/metrics.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/metrics.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/metrics.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/metrics.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/metrics.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/metrics.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/metrics.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/percentile.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/percentile.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/percentile.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/percentile.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/percentile.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/percentile.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/percentile.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/percentile.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/percentile_ranks.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/percentile_ranks.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/percentile_ranks.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/percentile_ranks.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/percentile_ranks.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/percentile_ranks.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/percentile_ranks.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/percentile_ranks.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/advanced_editor.scss b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/ranges/advanced_editor.scss similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/advanced_editor.scss rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/ranges/advanced_editor.scss diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/advanced_editor.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/ranges/advanced_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/advanced_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/ranges/advanced_editor.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/constants.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/ranges/constants.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/constants.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/ranges/constants.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/index.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/ranges/index.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/index.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/ranges/index.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/range_editor.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/ranges/range_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/range_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/ranges/range_editor.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/ranges.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/ranges/ranges.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/ranges.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/ranges/ranges.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/ranges.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/ranges/ranges.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/ranges/ranges.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/ranges/ranges.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/shared_components/form_row.scss b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/shared_components/form_row.scss similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/shared_components/form_row.scss rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/shared_components/form_row.scss diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/shared_components/form_row.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/shared_components/form_row.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/shared_components/form_row.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/shared_components/form_row.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/shared_components/index.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/shared_components/index.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/shared_components/index.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/shared_components/index.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/shared_components/label_input.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/shared_components/label_input.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/shared_components/label_input.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/shared_components/label_input.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/static_value.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/static_value.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/static_value.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/static_value.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/static_value.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/static_value.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/static_value.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/static_value.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/constants.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/constants.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/constants.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/constants.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/field_inputs.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/field_inputs.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/field_inputs.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/field_inputs.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/helpers.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/helpers.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/helpers.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/helpers.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/include_exclude_options.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/include_exclude_options.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/include_exclude_options.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/include_exclude_options.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/include_exclude_options.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/include_exclude_options.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/include_exclude_options.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/include_exclude_options.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/index.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/index.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/index.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/index.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/terms.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/terms.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/terms.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/terms.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/types.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/types.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/types.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/types.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/values_input.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/values_input.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/values_input.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/values_input.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/values_input.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/values_input.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/definitions/terms/values_input.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/definitions/terms/values_input.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/index.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/index.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/index.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/index.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/layer_helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/layer_helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/layer_helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/layer_helpers.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/layer_helpers.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/layer_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/layer_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/layer_helpers.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/mocks.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/mocks.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/mocks.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/mocks.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/operations.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/operations.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/operations.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/operations.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/operations.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/operations.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/operations.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/operations.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/time_scale_utils.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/time_scale_utils.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/time_scale_utils.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/time_scale_utils.test.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/time_scale_utils.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/time_scale_utils.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/operations/time_scale_utils.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/operations/time_scale_utils.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/pure_helpers.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/pure_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/pure_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/pure_helpers.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/pure_utils.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/pure_utils.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/pure_utils.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/pure_utils.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/reduced_time_range_utils.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/reduced_time_range_utils.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/reduced_time_range_utils.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/reduced_time_range_utils.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/state_helpers.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/state_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/state_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/state_helpers.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/time_shift_utils.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/time_shift_utils.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/time_shift_utils.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/time_shift_utils.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/time_shift_utils.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/time_shift_utils.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/time_shift_utils.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/time_shift_utils.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/to_expression.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/to_expression.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/to_expression.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/to_expression.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/types.ts b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/types.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/types.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/types.ts diff --git a/x-pack/plugins/lens/public/datasources/form_based/utils.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/utils.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/utils.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/utils.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/form_based/utils.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/form_based/utils.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/form_based/utils.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/form_based/utils.tsx diff --git a/x-pack/plugins/lens/public/datasources/text_based/components/datapanel.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/components/datapanel.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/components/datapanel.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/components/datapanel.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/text_based/components/datapanel.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/components/datapanel.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/components/datapanel.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/components/datapanel.tsx diff --git a/x-pack/plugins/lens/public/datasources/text_based/components/dimension_editor.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/components/dimension_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/components/dimension_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/components/dimension_editor.tsx diff --git a/x-pack/plugins/lens/public/datasources/text_based/components/dimension_trigger.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/components/dimension_trigger.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/components/dimension_trigger.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/components/dimension_trigger.tsx diff --git a/x-pack/plugins/lens/public/datasources/text_based/components/field_select.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/components/field_select.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/components/field_select.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/components/field_select.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/text_based/components/field_select.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/components/field_select.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/components/field_select.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/components/field_select.tsx diff --git a/x-pack/plugins/lens/public/datasources/text_based/dnd/get_drop_props.test.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/dnd/get_drop_props.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/dnd/get_drop_props.test.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/dnd/get_drop_props.test.tsx diff --git a/x-pack/plugins/lens/public/datasources/text_based/dnd/get_drop_props.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/dnd/get_drop_props.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/dnd/get_drop_props.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/dnd/get_drop_props.tsx diff --git a/x-pack/plugins/lens/public/datasources/text_based/dnd/index.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/dnd/index.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/dnd/index.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/dnd/index.tsx diff --git a/x-pack/plugins/lens/public/datasources/text_based/dnd/mocks.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/dnd/mocks.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/dnd/mocks.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/dnd/mocks.tsx diff --git a/x-pack/plugins/lens/public/datasources/text_based/dnd/on_drop.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/dnd/on_drop.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/dnd/on_drop.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/dnd/on_drop.test.ts diff --git a/x-pack/plugins/lens/public/datasources/text_based/dnd/on_drop.ts b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/dnd/on_drop.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/dnd/on_drop.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/dnd/on_drop.ts diff --git a/x-pack/plugins/lens/public/datasources/text_based/fetch_data_from_aggregate_query.ts b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/fetch_data_from_aggregate_query.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/fetch_data_from_aggregate_query.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/fetch_data_from_aggregate_query.ts diff --git a/x-pack/plugins/lens/public/datasources/text_based/fieldlist_cache.ts b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/fieldlist_cache.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/fieldlist_cache.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/fieldlist_cache.ts diff --git a/x-pack/plugins/lens/public/datasources/text_based/index.ts b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/index.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/index.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/index.ts diff --git a/x-pack/plugins/lens/public/datasources/text_based/remove_column.ts b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/remove_column.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/remove_column.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/remove_column.ts diff --git a/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/text_based_languages.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/text_based_languages.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/text_based_languages.test.ts diff --git a/x-pack/plugins/lens/public/datasources/text_based/text_based_languages.tsx b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/text_based_languages.tsx similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/text_based_languages.tsx rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/text_based_languages.tsx diff --git a/x-pack/plugins/lens/public/datasources/text_based/to_expression.ts b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/to_expression.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/to_expression.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/to_expression.ts diff --git a/x-pack/plugins/lens/public/datasources/text_based/types.ts b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/types.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/types.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/types.ts diff --git a/x-pack/plugins/lens/public/datasources/text_based/utils.test.ts b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/utils.test.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/utils.test.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/utils.test.ts diff --git a/x-pack/plugins/lens/public/datasources/text_based/utils.ts b/x-pack/platform/plugins/shared/lens/public/datasources/text_based/utils.ts similarity index 100% rename from x-pack/plugins/lens/public/datasources/text_based/utils.ts rename to x-pack/platform/plugins/shared/lens/public/datasources/text_based/utils.ts diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/__mocks__/expression_helpers.ts b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/__mocks__/expression_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/__mocks__/expression_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/__mocks__/expression_helpers.ts diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/__mocks__/suggestion_helpers.ts b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/__mocks__/suggestion_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/__mocks__/suggestion_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/__mocks__/suggestion_helpers.ts diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/banner_wrapper.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/banner_wrapper.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/banner_wrapper.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/banner_wrapper.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/buttons/draggable_dimension_button.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/buttons/draggable_dimension_button.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/buttons/draggable_dimension_button.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/buttons/draggable_dimension_button.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/buttons/drop_targets_utils.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/buttons/drop_targets_utils.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/buttons/drop_targets_utils.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/buttons/drop_targets_utils.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/buttons/empty_dimension_button.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/buttons/empty_dimension_button.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/buttons/empty_dimension_button.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/buttons/empty_dimension_button.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/buttons/fake_dimension_button.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/buttons/fake_dimension_button.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/buttons/fake_dimension_button.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/buttons/fake_dimension_button.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_option.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_option.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_option.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_option.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.scss b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.scss similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.scss rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.scss diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.test.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.test.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.test.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch_popover.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch_popover.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch_popover.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch_popover.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch_selectable.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch_selectable.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch_selectable.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/chart_switch_selectable.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/index.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/index.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/index.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/chart_switch/index.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.test.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.test.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.test.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/config_panel.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/dimension_container.scss b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/dimension_container.scss similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/dimension_container.scss rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/dimension_container.scss diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/dimension_container.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/dimension_container.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/dimension_container.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/dimension_container.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/index.ts b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/index.ts similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/index.ts rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/index.ts diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/clone_layer_action.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/clone_layer_action.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/clone_layer_action.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/clone_layer_action.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/index.ts b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/index.ts similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/index.ts rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/index.ts diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/layer_actions.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/layer_actions.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/layer_actions.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/layer_actions.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/open_layer_settings.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/open_layer_settings.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/open_layer_settings.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/open_layer_settings.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/order_bounds.ts b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/order_bounds.ts similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/order_bounds.ts rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/order_bounds.ts diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/remove_layer_action.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/remove_layer_action.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/remove_layer_action.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_actions/remove_layer_action.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_header.test.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_header.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_header.test.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_header.test.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_header.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_header.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_header.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_header.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.scss b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.scss similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.scss rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.scss diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.test.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.test.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.test.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/layer_panel.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/types.ts b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/types.ts similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/types.ts rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/types.ts diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/use_focus_update.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/use_focus_update.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/use_focus_update.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/config_panel/use_focus_update.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.scss b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.scss similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.scss rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.scss diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.test.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.test.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.test.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/data_panel_wrapper.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/easteregg/bee.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/easteregg/bee.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/easteregg/bee.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/easteregg/bee.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/easteregg/elastic_elk_b.png b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/easteregg/elastic_elk_b.png similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/easteregg/elastic_elk_b.png rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/easteregg/elastic_elk_b.png diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/easteregg/index.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/easteregg/index.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/easteregg/index.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/easteregg/index.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/editor_frame.test.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/editor_frame.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/editor_frame.test.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/editor_frame.test.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/editor_frame.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/editor_frame.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/editor_frame.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/editor_frame.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/expression_helpers.ts b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/expression_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/expression_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/expression_helpers.ts diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/frame_layout.scss b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/frame_layout.scss similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/frame_layout.scss rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/frame_layout.scss diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/frame_layout.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/frame_layout.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/frame_layout.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/frame_layout.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/index.ts b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/index.ts similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/index.ts rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/index.ts diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/state_helpers.ts b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/state_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/state_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/state_helpers.ts diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/suggestion_helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/suggestion_helpers.test.ts diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_helpers.ts b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/suggestion_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/suggestion_helpers.ts diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.scss b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/suggestion_panel.scss similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.scss rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/suggestion_panel.scss diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.test.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/suggestion_panel.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.test.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/suggestion_panel.test.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/__snapshots__/workspace_panel.test.tsx.snap b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/__snapshots__/workspace_panel.test.tsx.snap similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/__snapshots__/workspace_panel.test.tsx.snap rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/__snapshots__/workspace_panel.test.tsx.snap diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.scss b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.scss similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.scss rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.scss diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/geo_field_workspace_panel.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/index.ts b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/index.ts similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/index.ts rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/index.ts diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/message_list.scss b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/message_list.scss similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/message_list.scss rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/message_list.scss diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/message_list.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/message_list.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/message_list.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/message_list.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/title.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/title.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/title.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/title.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_errors.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_errors.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_errors.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_errors.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.test.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.test.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.test.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.scss b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.scss similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.scss rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.scss diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.test.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.test.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.test.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/error_helper.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/error_helper.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/error_helper.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/error_helper.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/index.ts b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/index.ts similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/index.ts rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/index.ts diff --git a/x-pack/plugins/lens/public/editor_frame_service/mocks.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/mocks.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/mocks.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/mocks.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/service.tsx b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/service.tsx similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/service.tsx rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/service.tsx diff --git a/x-pack/plugins/lens/public/editor_frame_service/types.ts b/x-pack/platform/plugins/shared/lens/public/editor_frame_service/types.ts similarity index 100% rename from x-pack/plugins/lens/public/editor_frame_service/types.ts rename to x-pack/platform/plugins/shared/lens/public/editor_frame_service/types.ts diff --git a/x-pack/plugins/lens/public/expressions.ts b/x-pack/platform/plugins/shared/lens/public/expressions.ts similarity index 100% rename from x-pack/plugins/lens/public/expressions.ts rename to x-pack/platform/plugins/shared/lens/public/expressions.ts diff --git a/x-pack/plugins/lens/public/help_menu_util.tsx b/x-pack/platform/plugins/shared/lens/public/help_menu_util.tsx similarity index 100% rename from x-pack/plugins/lens/public/help_menu_util.tsx rename to x-pack/platform/plugins/shared/lens/public/help_menu_util.tsx diff --git a/x-pack/plugins/lens/public/id_generator/id_generator.test.ts b/x-pack/platform/plugins/shared/lens/public/id_generator/id_generator.test.ts similarity index 100% rename from x-pack/plugins/lens/public/id_generator/id_generator.test.ts rename to x-pack/platform/plugins/shared/lens/public/id_generator/id_generator.test.ts diff --git a/x-pack/plugins/lens/public/id_generator/id_generator.ts b/x-pack/platform/plugins/shared/lens/public/id_generator/id_generator.ts similarity index 100% rename from x-pack/plugins/lens/public/id_generator/id_generator.ts rename to x-pack/platform/plugins/shared/lens/public/id_generator/id_generator.ts diff --git a/x-pack/plugins/lens/public/id_generator/index.ts b/x-pack/platform/plugins/shared/lens/public/id_generator/index.ts similarity index 100% rename from x-pack/plugins/lens/public/id_generator/index.ts rename to x-pack/platform/plugins/shared/lens/public/id_generator/index.ts diff --git a/x-pack/plugins/lens/public/index.ts b/x-pack/platform/plugins/shared/lens/public/index.ts similarity index 100% rename from x-pack/plugins/lens/public/index.ts rename to x-pack/platform/plugins/shared/lens/public/index.ts diff --git a/x-pack/plugins/lens/public/lens_attribute_service.ts b/x-pack/platform/plugins/shared/lens/public/lens_attribute_service.ts similarity index 100% rename from x-pack/plugins/lens/public/lens_attribute_service.ts rename to x-pack/platform/plugins/shared/lens/public/lens_attribute_service.ts diff --git a/x-pack/plugins/lens/public/lens_inspector_service.ts b/x-pack/platform/plugins/shared/lens/public/lens_inspector_service.ts similarity index 100% rename from x-pack/plugins/lens/public/lens_inspector_service.ts rename to x-pack/platform/plugins/shared/lens/public/lens_inspector_service.ts diff --git a/x-pack/plugins/lens/public/lens_suggestions_api/helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/lens_suggestions_api/helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/lens_suggestions_api/helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/lens_suggestions_api/helpers.test.ts diff --git a/x-pack/plugins/lens/public/lens_suggestions_api/helpers.ts b/x-pack/platform/plugins/shared/lens/public/lens_suggestions_api/helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/lens_suggestions_api/helpers.ts rename to x-pack/platform/plugins/shared/lens/public/lens_suggestions_api/helpers.ts diff --git a/x-pack/plugins/lens/public/lens_suggestions_api/index.ts b/x-pack/platform/plugins/shared/lens/public/lens_suggestions_api/index.ts similarity index 100% rename from x-pack/plugins/lens/public/lens_suggestions_api/index.ts rename to x-pack/platform/plugins/shared/lens/public/lens_suggestions_api/index.ts diff --git a/x-pack/plugins/lens/public/lens_suggestions_api/lens_suggestions_api.test.ts b/x-pack/platform/plugins/shared/lens/public/lens_suggestions_api/lens_suggestions_api.test.ts similarity index 100% rename from x-pack/plugins/lens/public/lens_suggestions_api/lens_suggestions_api.test.ts rename to x-pack/platform/plugins/shared/lens/public/lens_suggestions_api/lens_suggestions_api.test.ts diff --git a/x-pack/plugins/lens/public/lens_suggestions_api/readme.md b/x-pack/platform/plugins/shared/lens/public/lens_suggestions_api/readme.md similarity index 100% rename from x-pack/plugins/lens/public/lens_suggestions_api/readme.md rename to x-pack/platform/plugins/shared/lens/public/lens_suggestions_api/readme.md diff --git a/x-pack/plugins/lens/public/lens_ui_errors/error_boundary.tsx b/x-pack/platform/plugins/shared/lens/public/lens_ui_errors/error_boundary.tsx similarity index 100% rename from x-pack/plugins/lens/public/lens_ui_errors/error_boundary.tsx rename to x-pack/platform/plugins/shared/lens/public/lens_ui_errors/error_boundary.tsx diff --git a/x-pack/plugins/lens/public/lens_ui_errors/index.ts b/x-pack/platform/plugins/shared/lens/public/lens_ui_errors/index.ts similarity index 100% rename from x-pack/plugins/lens/public/lens_ui_errors/index.ts rename to x-pack/platform/plugins/shared/lens/public/lens_ui_errors/index.ts diff --git a/x-pack/plugins/lens/public/lens_ui_errors/memoized_error_notification.tsx b/x-pack/platform/plugins/shared/lens/public/lens_ui_errors/memoized_error_notification.tsx similarity index 100% rename from x-pack/plugins/lens/public/lens_ui_errors/memoized_error_notification.tsx rename to x-pack/platform/plugins/shared/lens/public/lens_ui_errors/memoized_error_notification.tsx diff --git a/x-pack/plugins/lens/public/lens_ui_telemetry/color_telemetry_helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/lens_ui_telemetry/color_telemetry_helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/lens_ui_telemetry/color_telemetry_helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/lens_ui_telemetry/color_telemetry_helpers.test.ts diff --git a/x-pack/plugins/lens/public/lens_ui_telemetry/color_telemetry_helpers.ts b/x-pack/platform/plugins/shared/lens/public/lens_ui_telemetry/color_telemetry_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/lens_ui_telemetry/color_telemetry_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/lens_ui_telemetry/color_telemetry_helpers.ts diff --git a/x-pack/plugins/lens/public/lens_ui_telemetry/index.ts b/x-pack/platform/plugins/shared/lens/public/lens_ui_telemetry/index.ts similarity index 100% rename from x-pack/plugins/lens/public/lens_ui_telemetry/index.ts rename to x-pack/platform/plugins/shared/lens/public/lens_ui_telemetry/index.ts diff --git a/x-pack/plugins/lens/public/lens_ui_telemetry/track_counter_events.ts b/x-pack/platform/plugins/shared/lens/public/lens_ui_telemetry/track_counter_events.ts similarity index 100% rename from x-pack/plugins/lens/public/lens_ui_telemetry/track_counter_events.ts rename to x-pack/platform/plugins/shared/lens/public/lens_ui_telemetry/track_counter_events.ts diff --git a/x-pack/plugins/lens/public/mocks/data_plugin_mock.ts b/x-pack/platform/plugins/shared/lens/public/mocks/data_plugin_mock.ts similarity index 100% rename from x-pack/plugins/lens/public/mocks/data_plugin_mock.ts rename to x-pack/platform/plugins/shared/lens/public/mocks/data_plugin_mock.ts diff --git a/x-pack/plugins/lens/public/mocks/data_views_service_mock.ts b/x-pack/platform/plugins/shared/lens/public/mocks/data_views_service_mock.ts similarity index 100% rename from x-pack/plugins/lens/public/mocks/data_views_service_mock.ts rename to x-pack/platform/plugins/shared/lens/public/mocks/data_views_service_mock.ts diff --git a/x-pack/plugins/lens/public/mocks/datasource_mock.tsx b/x-pack/platform/plugins/shared/lens/public/mocks/datasource_mock.tsx similarity index 100% rename from x-pack/plugins/lens/public/mocks/datasource_mock.tsx rename to x-pack/platform/plugins/shared/lens/public/mocks/datasource_mock.tsx diff --git a/x-pack/plugins/lens/public/mocks/dataview_mock.ts b/x-pack/platform/plugins/shared/lens/public/mocks/dataview_mock.ts similarity index 100% rename from x-pack/plugins/lens/public/mocks/dataview_mock.ts rename to x-pack/platform/plugins/shared/lens/public/mocks/dataview_mock.ts diff --git a/x-pack/plugins/lens/public/mocks/expression_renderer_mock.tsx b/x-pack/platform/plugins/shared/lens/public/mocks/expression_renderer_mock.tsx similarity index 100% rename from x-pack/plugins/lens/public/mocks/expression_renderer_mock.tsx rename to x-pack/platform/plugins/shared/lens/public/mocks/expression_renderer_mock.tsx diff --git a/x-pack/plugins/lens/public/mocks/index.ts b/x-pack/platform/plugins/shared/lens/public/mocks/index.ts similarity index 100% rename from x-pack/plugins/lens/public/mocks/index.ts rename to x-pack/platform/plugins/shared/lens/public/mocks/index.ts diff --git a/x-pack/plugins/lens/public/mocks/lens_plugin_mock.tsx b/x-pack/platform/plugins/shared/lens/public/mocks/lens_plugin_mock.tsx similarity index 100% rename from x-pack/plugins/lens/public/mocks/lens_plugin_mock.tsx rename to x-pack/platform/plugins/shared/lens/public/mocks/lens_plugin_mock.tsx diff --git a/x-pack/plugins/lens/public/mocks/services_mock.tsx b/x-pack/platform/plugins/shared/lens/public/mocks/services_mock.tsx similarity index 100% rename from x-pack/plugins/lens/public/mocks/services_mock.tsx rename to x-pack/platform/plugins/shared/lens/public/mocks/services_mock.tsx diff --git a/x-pack/plugins/lens/public/mocks/store_mocks.tsx b/x-pack/platform/plugins/shared/lens/public/mocks/store_mocks.tsx similarity index 100% rename from x-pack/plugins/lens/public/mocks/store_mocks.tsx rename to x-pack/platform/plugins/shared/lens/public/mocks/store_mocks.tsx diff --git a/x-pack/plugins/lens/public/mocks/suggestions_mock.ts b/x-pack/platform/plugins/shared/lens/public/mocks/suggestions_mock.ts similarity index 100% rename from x-pack/plugins/lens/public/mocks/suggestions_mock.ts rename to x-pack/platform/plugins/shared/lens/public/mocks/suggestions_mock.ts diff --git a/x-pack/plugins/lens/public/mocks/visualization_mock.tsx b/x-pack/platform/plugins/shared/lens/public/mocks/visualization_mock.tsx similarity index 100% rename from x-pack/plugins/lens/public/mocks/visualization_mock.tsx rename to x-pack/platform/plugins/shared/lens/public/mocks/visualization_mock.tsx diff --git a/x-pack/plugins/lens/public/persistence/index.ts b/x-pack/platform/plugins/shared/lens/public/persistence/index.ts similarity index 100% rename from x-pack/plugins/lens/public/persistence/index.ts rename to x-pack/platform/plugins/shared/lens/public/persistence/index.ts diff --git a/x-pack/plugins/lens/public/persistence/lens_client.ts b/x-pack/platform/plugins/shared/lens/public/persistence/lens_client.ts similarity index 100% rename from x-pack/plugins/lens/public/persistence/lens_client.ts rename to x-pack/platform/plugins/shared/lens/public/persistence/lens_client.ts diff --git a/x-pack/plugins/lens/public/persistence/saved_object_store.test.ts b/x-pack/platform/plugins/shared/lens/public/persistence/saved_object_store.test.ts similarity index 100% rename from x-pack/plugins/lens/public/persistence/saved_object_store.test.ts rename to x-pack/platform/plugins/shared/lens/public/persistence/saved_object_store.test.ts diff --git a/x-pack/plugins/lens/public/persistence/saved_object_store.ts b/x-pack/platform/plugins/shared/lens/public/persistence/saved_object_store.ts similarity index 100% rename from x-pack/plugins/lens/public/persistence/saved_object_store.ts rename to x-pack/platform/plugins/shared/lens/public/persistence/saved_object_store.ts diff --git a/x-pack/plugins/lens/public/persistence/saved_objects_utils/check_for_duplicate_title.ts b/x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/check_for_duplicate_title.ts similarity index 100% rename from x-pack/plugins/lens/public/persistence/saved_objects_utils/check_for_duplicate_title.ts rename to x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/check_for_duplicate_title.ts diff --git a/x-pack/plugins/lens/public/persistence/saved_objects_utils/confirm_modal_promise.tsx b/x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/confirm_modal_promise.tsx similarity index 100% rename from x-pack/plugins/lens/public/persistence/saved_objects_utils/confirm_modal_promise.tsx rename to x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/confirm_modal_promise.tsx diff --git a/x-pack/plugins/lens/public/persistence/saved_objects_utils/constants.ts b/x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/constants.ts similarity index 100% rename from x-pack/plugins/lens/public/persistence/saved_objects_utils/constants.ts rename to x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/constants.ts diff --git a/x-pack/plugins/lens/public/persistence/saved_objects_utils/display_duplicate_title_confirm_modal.ts b/x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/display_duplicate_title_confirm_modal.ts similarity index 100% rename from x-pack/plugins/lens/public/persistence/saved_objects_utils/display_duplicate_title_confirm_modal.ts rename to x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/display_duplicate_title_confirm_modal.ts diff --git a/x-pack/plugins/lens/public/persistence/saved_objects_utils/find_object_by_title.test.ts b/x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/find_object_by_title.test.ts similarity index 100% rename from x-pack/plugins/lens/public/persistence/saved_objects_utils/find_object_by_title.test.ts rename to x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/find_object_by_title.test.ts diff --git a/x-pack/plugins/lens/public/persistence/saved_objects_utils/find_object_by_title.ts b/x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/find_object_by_title.ts similarity index 100% rename from x-pack/plugins/lens/public/persistence/saved_objects_utils/find_object_by_title.ts rename to x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/find_object_by_title.ts diff --git a/x-pack/plugins/lens/public/persistence/saved_objects_utils/index.ts b/x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/index.ts similarity index 100% rename from x-pack/plugins/lens/public/persistence/saved_objects_utils/index.ts rename to x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/index.ts diff --git a/x-pack/plugins/lens/public/persistence/saved_objects_utils/types.ts b/x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/types.ts similarity index 100% rename from x-pack/plugins/lens/public/persistence/saved_objects_utils/types.ts rename to x-pack/platform/plugins/shared/lens/public/persistence/saved_objects_utils/types.ts diff --git a/x-pack/plugins/lens/public/plugin.ts b/x-pack/platform/plugins/shared/lens/public/plugin.ts similarity index 100% rename from x-pack/plugins/lens/public/plugin.ts rename to x-pack/platform/plugins/shared/lens/public/plugin.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/data_loader.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/data_loader.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/data_loader.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/data_loader.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/expression_wrapper.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/expression_wrapper.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/expression_wrapper.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/expression_wrapper.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/expressions/callbacks.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/callbacks.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/expressions/callbacks.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/callbacks.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/expressions/expression_params.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/expression_params.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/expressions/expression_params.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/expression_params.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/expressions/merged_search_context.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/merged_search_context.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/expressions/merged_search_context.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/merged_search_context.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/expressions/on_event.test.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/on_event.test.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/expressions/on_event.test.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/on_event.test.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/expressions/on_event.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/on_event.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/expressions/on_event.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/on_event.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/expressions/on_render.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/on_render.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/expressions/on_render.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/on_render.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/expressions/telemetry.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/telemetry.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/expressions/telemetry.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/telemetry.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/expressions/update_data_views.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/update_data_views.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/expressions/update_data_views.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/update_data_views.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/expressions/variables.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/variables.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/expressions/variables.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/expressions/variables.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/helper.test.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/helper.test.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/helper.test.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/helper.test.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/helper.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/helper.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/helper.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/helper.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_actions.test.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_actions.test.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/initializers/initialize_actions.test.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_actions.test.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_actions.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_actions.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/initializers/initialize_actions.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_actions.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_dashboard_service.test.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_dashboard_service.test.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/initializers/initialize_dashboard_service.test.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_dashboard_service.test.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_dashboard_services.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_dashboard_services.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/initializers/initialize_dashboard_services.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_dashboard_services.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_edit.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_edit.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/initializers/initialize_edit.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_edit.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_inspector.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_inspector.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/initializers/initialize_inspector.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_inspector.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_integrations.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_integrations.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/initializers/initialize_integrations.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_integrations.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_internal_api.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_internal_api.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/initializers/initialize_internal_api.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_internal_api.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_search_context.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_search_context.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/initializers/initialize_search_context.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_search_context.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/initializers/initialize_state_management.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_state_management.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/initializers/initialize_state_management.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_state_management.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/inline_editing/mount.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/inline_editing/mount.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/inline_editing/mount.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/inline_editing/mount.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/inline_editing/panel_management.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/inline_editing/panel_management.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/inline_editing/panel_management.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/inline_editing/panel_management.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/inline_editing/setup_inline_editing.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/inline_editing/setup_inline_editing.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/inline_editing/setup_inline_editing.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/inline_editing/setup_inline_editing.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/inline_editing/state_management.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/inline_editing/state_management.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/inline_editing/state_management.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/inline_editing/state_management.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/lens_embeddable.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/lens_embeddable.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/lens_embeddable.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/lens_embeddable.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/logger.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/logger.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/logger.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/logger.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/mocks/index.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/mocks/index.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/mocks/index.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/mocks/index.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/renderer/hooks.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/renderer/hooks.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/renderer/hooks.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/renderer/hooks.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/renderer/lens_custom_renderer_component.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/renderer/lens_embeddable_component.test.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/renderer/lens_embeddable_component.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/renderer/lens_embeddable_component.test.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/renderer/lens_embeddable_component.test.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/renderer/lens_embeddable_component.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/renderer/lens_embeddable_component.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/renderer/lens_embeddable_component.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/renderer/lens_embeddable_component.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/type_guards.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/type_guards.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/type_guards.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/type_guards.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/types.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/types.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/types.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/types.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/user_messages/api.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/api.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/user_messages/api.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/api.ts diff --git a/x-pack/plugins/lens/public/react_embeddable/user_messages/checks.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/checks.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/user_messages/checks.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/checks.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/user_messages/container.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/container.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/user_messages/container.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/container.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/user_messages/error_panel.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/error_panel.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/user_messages/error_panel.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/error_panel.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/user_messages/info_badges.scss b/x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/info_badges.scss similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/user_messages/info_badges.scss rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/info_badges.scss diff --git a/x-pack/plugins/lens/public/react_embeddable/user_messages/info_badges.test.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/info_badges.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/user_messages/info_badges.test.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/info_badges.test.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/user_messages/info_badges.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/info_badges.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/user_messages/info_badges.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/info_badges.tsx diff --git a/x-pack/plugins/lens/public/react_embeddable/user_messages/message_popover.tsx b/x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/message_popover.tsx similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/user_messages/message_popover.tsx rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/user_messages/message_popover.tsx diff --git a/x-pack/plugins/lens/public/report_performance_metric_util.ts b/x-pack/platform/plugins/shared/lens/public/report_performance_metric_util.ts similarity index 100% rename from x-pack/plugins/lens/public/report_performance_metric_util.ts rename to x-pack/platform/plugins/shared/lens/public/report_performance_metric_util.ts diff --git a/x-pack/plugins/lens/public/search_provider.ts b/x-pack/platform/plugins/shared/lens/public/search_provider.ts similarity index 100% rename from x-pack/plugins/lens/public/search_provider.ts rename to x-pack/platform/plugins/shared/lens/public/search_provider.ts diff --git a/x-pack/plugins/lens/public/settings_storage.tsx b/x-pack/platform/plugins/shared/lens/public/settings_storage.tsx similarity index 100% rename from x-pack/plugins/lens/public/settings_storage.tsx rename to x-pack/platform/plugins/shared/lens/public/settings_storage.tsx diff --git a/x-pack/plugins/lens/public/shared_components/axis/extent/axis_extent_settings.test.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/axis/extent/axis_extent_settings.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/axis/extent/axis_extent_settings.test.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/axis/extent/axis_extent_settings.test.tsx diff --git a/x-pack/plugins/lens/public/shared_components/axis/extent/axis_extent_settings.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/axis/extent/axis_extent_settings.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/axis/extent/axis_extent_settings.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/axis/extent/axis_extent_settings.tsx diff --git a/x-pack/plugins/lens/public/shared_components/axis/extent/helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/axis/extent/helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/axis/extent/helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/axis/extent/helpers.test.ts diff --git a/x-pack/plugins/lens/public/shared_components/axis/extent/helpers.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/axis/extent/helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/axis/extent/helpers.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/axis/extent/helpers.ts diff --git a/x-pack/plugins/lens/public/shared_components/axis/extent/index.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/axis/extent/index.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/axis/extent/index.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/axis/extent/index.ts diff --git a/x-pack/plugins/lens/public/shared_components/axis/extent/to_expression.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/axis/extent/to_expression.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/axis/extent/to_expression.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/axis/extent/to_expression.tsx diff --git a/x-pack/plugins/lens/public/shared_components/axis/extent/types.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/axis/extent/types.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/axis/extent/types.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/axis/extent/types.ts diff --git a/x-pack/plugins/lens/public/shared_components/axis/ticks/axis_ticks_settings.test.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/axis/ticks/axis_ticks_settings.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/axis/ticks/axis_ticks_settings.test.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/axis/ticks/axis_ticks_settings.test.tsx diff --git a/x-pack/plugins/lens/public/shared_components/axis/ticks/axis_ticks_settings.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/axis/ticks/axis_ticks_settings.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/axis/ticks/axis_ticks_settings.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/axis/ticks/axis_ticks_settings.tsx diff --git a/x-pack/plugins/lens/public/shared_components/axis/title/toolbar_title_settings.test.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/axis/title/toolbar_title_settings.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/axis/title/toolbar_title_settings.test.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/axis/title/toolbar_title_settings.test.tsx diff --git a/x-pack/plugins/lens/public/shared_components/axis/title/toolbar_title_settings.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/axis/title/toolbar_title_settings.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/axis/title/toolbar_title_settings.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/axis/title/toolbar_title_settings.tsx diff --git a/x-pack/plugins/lens/public/shared_components/bar_orientation.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/bar_orientation.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/bar_orientation.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/bar_orientation.tsx diff --git a/x-pack/plugins/lens/public/shared_components/collapse_setting.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/collapse_setting.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/collapse_setting.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/collapse_setting.tsx diff --git a/x-pack/plugins/lens/public/shared_components/coloring/color_mapping_accessor.test.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/coloring/color_mapping_accessor.test.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/coloring/color_mapping_accessor.test.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/coloring/color_mapping_accessor.test.ts diff --git a/x-pack/plugins/lens/public/shared_components/coloring/color_mapping_accessor.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/coloring/color_mapping_accessor.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/coloring/color_mapping_accessor.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/coloring/color_mapping_accessor.ts diff --git a/x-pack/plugins/lens/public/shared_components/coloring/color_mapping_by_terms.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/coloring/color_mapping_by_terms.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/coloring/color_mapping_by_terms.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/coloring/color_mapping_by_terms.tsx diff --git a/x-pack/plugins/lens/public/shared_components/coloring/color_mapping_by_values.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/coloring/color_mapping_by_values.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/coloring/color_mapping_by_values.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/coloring/color_mapping_by_values.tsx diff --git a/x-pack/plugins/lens/public/shared_components/coloring/constants.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/coloring/constants.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/coloring/constants.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/coloring/constants.ts diff --git a/x-pack/plugins/lens/public/shared_components/coloring/get_cell_color_fn.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/coloring/get_cell_color_fn.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/coloring/get_cell_color_fn.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/coloring/get_cell_color_fn.ts diff --git a/x-pack/plugins/lens/public/shared_components/coloring/index.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/coloring/index.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/coloring/index.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/coloring/index.ts diff --git a/x-pack/plugins/lens/public/shared_components/coloring/palette_panel_container.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/coloring/palette_panel_container.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/coloring/palette_panel_container.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/coloring/palette_panel_container.tsx diff --git a/x-pack/plugins/lens/public/shared_components/coloring/utils.test.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/coloring/utils.test.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/coloring/utils.test.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/coloring/utils.test.ts diff --git a/x-pack/plugins/lens/public/shared_components/coloring/utils.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/coloring/utils.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/coloring/utils.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/coloring/utils.ts diff --git a/x-pack/plugins/lens/public/shared_components/datasource_default_values.test.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/datasource_default_values.test.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/datasource_default_values.test.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/datasource_default_values.test.ts diff --git a/x-pack/plugins/lens/public/shared_components/datasource_default_values.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/datasource_default_values.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/datasource_default_values.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/datasource_default_values.ts diff --git a/x-pack/plugins/lens/public/shared_components/dataview_picker/dataview_picker.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/dataview_picker/dataview_picker.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/dataview_picker/dataview_picker.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/dataview_picker/dataview_picker.tsx diff --git a/x-pack/plugins/lens/public/shared_components/dataview_picker/helpers.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/dataview_picker/helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/dataview_picker/helpers.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/dataview_picker/helpers.ts diff --git a/x-pack/plugins/lens/public/shared_components/dataview_picker/index.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/dataview_picker/index.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/dataview_picker/index.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/dataview_picker/index.ts diff --git a/x-pack/plugins/lens/public/shared_components/dataview_picker/toolbar_button.scss b/x-pack/platform/plugins/shared/lens/public/shared_components/dataview_picker/toolbar_button.scss similarity index 100% rename from x-pack/plugins/lens/public/shared_components/dataview_picker/toolbar_button.scss rename to x-pack/platform/plugins/shared/lens/public/shared_components/dataview_picker/toolbar_button.scss diff --git a/x-pack/plugins/lens/public/shared_components/dataview_picker/toolbar_button.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/dataview_picker/toolbar_button.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/dataview_picker/toolbar_button.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/dataview_picker/toolbar_button.tsx diff --git a/x-pack/plugins/lens/public/shared_components/dataview_picker/trigger.test.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/dataview_picker/trigger.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/dataview_picker/trigger.test.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/dataview_picker/trigger.test.tsx diff --git a/x-pack/plugins/lens/public/shared_components/dataview_picker/trigger.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/dataview_picker/trigger.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/dataview_picker/trigger.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/dataview_picker/trigger.tsx diff --git a/x-pack/plugins/lens/public/shared_components/experimental_badge.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/experimental_badge.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/experimental_badge.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/experimental_badge.tsx diff --git a/x-pack/plugins/lens/public/shared_components/flyout_container.scss b/x-pack/platform/plugins/shared/lens/public/shared_components/flyout_container.scss similarity index 100% rename from x-pack/plugins/lens/public/shared_components/flyout_container.scss rename to x-pack/platform/plugins/shared/lens/public/shared_components/flyout_container.scss diff --git a/x-pack/plugins/lens/public/shared_components/flyout_container.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/flyout_container.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/flyout_container.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/flyout_container.tsx diff --git a/x-pack/plugins/lens/public/shared_components/helpers.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/helpers.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/helpers.ts diff --git a/x-pack/plugins/lens/public/shared_components/icon_set.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/icon_set.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/icon_set.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/icon_set.tsx diff --git a/x-pack/plugins/lens/public/shared_components/ignore_global_filter/data_view_picker_icon.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/ignore_global_filter/data_view_picker_icon.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/ignore_global_filter/data_view_picker_icon.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/ignore_global_filter/data_view_picker_icon.tsx diff --git a/x-pack/plugins/lens/public/shared_components/ignore_global_filter/index.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/ignore_global_filter/index.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/ignore_global_filter/index.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/ignore_global_filter/index.ts diff --git a/x-pack/plugins/lens/public/shared_components/ignore_global_filter/info_badge.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/ignore_global_filter/info_badge.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/ignore_global_filter/info_badge.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/ignore_global_filter/info_badge.tsx diff --git a/x-pack/plugins/lens/public/shared_components/ignore_global_filter/settings_control.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/ignore_global_filter/settings_control.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/ignore_global_filter/settings_control.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/ignore_global_filter/settings_control.tsx diff --git a/x-pack/plugins/lens/public/shared_components/index.ts b/x-pack/platform/plugins/shared/lens/public/shared_components/index.ts similarity index 100% rename from x-pack/plugins/lens/public/shared_components/index.ts rename to x-pack/platform/plugins/shared/lens/public/shared_components/index.ts diff --git a/x-pack/plugins/lens/public/shared_components/info_badges/info_badge.test.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/info_badges/info_badge.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/info_badges/info_badge.test.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/info_badges/info_badge.test.tsx diff --git a/x-pack/plugins/lens/public/shared_components/info_badges/info_badge.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/info_badges/info_badge.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/info_badges/info_badge.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/info_badges/info_badge.tsx diff --git a/x-pack/plugins/lens/public/shared_components/legend/layout/columns_number_setting.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/legend/layout/columns_number_setting.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/legend/layout/columns_number_setting.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/legend/layout/columns_number_setting.tsx diff --git a/x-pack/plugins/lens/public/shared_components/legend/legend_settings_popover.test.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/legend/legend_settings_popover.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/legend/legend_settings_popover.test.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/legend/legend_settings_popover.test.tsx diff --git a/x-pack/plugins/lens/public/shared_components/legend/legend_settings_popover.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/legend/legend_settings_popover.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/legend/legend_settings_popover.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/legend/legend_settings_popover.tsx diff --git a/x-pack/plugins/lens/public/shared_components/legend/location/legend_location_settings.test.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/legend/location/legend_location_settings.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/legend/location/legend_location_settings.test.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/legend/location/legend_location_settings.test.tsx diff --git a/x-pack/plugins/lens/public/shared_components/legend/location/legend_location_settings.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/legend/location/legend_location_settings.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/legend/location/legend_location_settings.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/legend/location/legend_location_settings.tsx diff --git a/x-pack/plugins/lens/public/shared_components/legend/size/legend_size_settings.test.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/legend/size/legend_size_settings.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/legend/size/legend_size_settings.test.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/legend/size/legend_size_settings.test.tsx diff --git a/x-pack/plugins/lens/public/shared_components/legend/size/legend_size_settings.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/legend/size/legend_size_settings.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/legend/size/legend_size_settings.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/legend/size/legend_size_settings.tsx diff --git a/x-pack/plugins/lens/public/shared_components/palette_picker.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/palette_picker.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/palette_picker.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/palette_picker.tsx diff --git a/x-pack/plugins/lens/public/shared_components/prepend_provider.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/prepend_provider.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/prepend_provider.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/prepend_provider.tsx diff --git a/x-pack/plugins/lens/public/shared_components/range_input_field.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/range_input_field.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/range_input_field.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/range_input_field.tsx diff --git a/x-pack/plugins/lens/public/shared_components/setting_with_sibling_flyout.scss b/x-pack/platform/plugins/shared/lens/public/shared_components/setting_with_sibling_flyout.scss similarity index 100% rename from x-pack/plugins/lens/public/shared_components/setting_with_sibling_flyout.scss rename to x-pack/platform/plugins/shared/lens/public/shared_components/setting_with_sibling_flyout.scss diff --git a/x-pack/plugins/lens/public/shared_components/setting_with_sibling_flyout.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/setting_with_sibling_flyout.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/setting_with_sibling_flyout.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/setting_with_sibling_flyout.tsx diff --git a/x-pack/plugins/lens/public/shared_components/static_header.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/static_header.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/static_header.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/static_header.tsx diff --git a/x-pack/plugins/lens/public/shared_components/toolbar_divider.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/toolbar_divider.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/toolbar_divider.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/toolbar_divider.tsx diff --git a/x-pack/plugins/lens/public/shared_components/toolbar_popover.scss b/x-pack/platform/plugins/shared/lens/public/shared_components/toolbar_popover.scss similarity index 100% rename from x-pack/plugins/lens/public/shared_components/toolbar_popover.scss rename to x-pack/platform/plugins/shared/lens/public/shared_components/toolbar_popover.scss diff --git a/x-pack/plugins/lens/public/shared_components/toolbar_popover.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/toolbar_popover.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/toolbar_popover.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/toolbar_popover.tsx diff --git a/x-pack/plugins/lens/public/shared_components/value_labels_settings.test.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/value_labels_settings.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/value_labels_settings.test.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/value_labels_settings.test.tsx diff --git a/x-pack/plugins/lens/public/shared_components/value_labels_settings.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/value_labels_settings.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/value_labels_settings.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/value_labels_settings.tsx diff --git a/x-pack/plugins/lens/public/shared_components/vis_label.tsx b/x-pack/platform/plugins/shared/lens/public/shared_components/vis_label.tsx similarity index 100% rename from x-pack/plugins/lens/public/shared_components/vis_label.tsx rename to x-pack/platform/plugins/shared/lens/public/shared_components/vis_label.tsx diff --git a/x-pack/plugins/lens/public/state_management/__snapshots__/load_initial.test.tsx.snap b/x-pack/platform/plugins/shared/lens/public/state_management/__snapshots__/load_initial.test.tsx.snap similarity index 100% rename from x-pack/plugins/lens/public/state_management/__snapshots__/load_initial.test.tsx.snap rename to x-pack/platform/plugins/shared/lens/public/state_management/__snapshots__/load_initial.test.tsx.snap diff --git a/x-pack/plugins/lens/public/state_management/context_middleware/index.test.ts b/x-pack/platform/plugins/shared/lens/public/state_management/context_middleware/index.test.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/context_middleware/index.test.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/context_middleware/index.test.ts diff --git a/x-pack/plugins/lens/public/state_management/context_middleware/index.ts b/x-pack/platform/plugins/shared/lens/public/state_management/context_middleware/index.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/context_middleware/index.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/context_middleware/index.ts diff --git a/x-pack/plugins/lens/public/state_management/context_middleware/subscribe_to_external_context.ts b/x-pack/platform/plugins/shared/lens/public/state_management/context_middleware/subscribe_to_external_context.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/context_middleware/subscribe_to_external_context.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/context_middleware/subscribe_to_external_context.ts diff --git a/x-pack/plugins/lens/public/state_management/fullscreen_middleware.ts b/x-pack/platform/plugins/shared/lens/public/state_management/fullscreen_middleware.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/fullscreen_middleware.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/fullscreen_middleware.ts diff --git a/x-pack/plugins/lens/public/state_management/index.test.ts b/x-pack/platform/plugins/shared/lens/public/state_management/index.test.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/index.test.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/index.test.ts diff --git a/x-pack/plugins/lens/public/state_management/index.ts b/x-pack/platform/plugins/shared/lens/public/state_management/index.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/index.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/index.ts diff --git a/x-pack/plugins/lens/public/state_management/init_middleware/index.ts b/x-pack/platform/plugins/shared/lens/public/state_management/init_middleware/index.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/init_middleware/index.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/init_middleware/index.ts diff --git a/x-pack/plugins/lens/public/state_management/init_middleware/load_initial.ts b/x-pack/platform/plugins/shared/lens/public/state_management/init_middleware/load_initial.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/init_middleware/load_initial.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/init_middleware/load_initial.ts diff --git a/x-pack/plugins/lens/public/state_management/lens_slice.test.ts b/x-pack/platform/plugins/shared/lens/public/state_management/lens_slice.test.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/lens_slice.test.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/lens_slice.test.ts diff --git a/x-pack/plugins/lens/public/state_management/lens_slice.ts b/x-pack/platform/plugins/shared/lens/public/state_management/lens_slice.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/lens_slice.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/lens_slice.ts diff --git a/x-pack/plugins/lens/public/state_management/load_initial.test.tsx b/x-pack/platform/plugins/shared/lens/public/state_management/load_initial.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/state_management/load_initial.test.tsx rename to x-pack/platform/plugins/shared/lens/public/state_management/load_initial.test.tsx diff --git a/x-pack/plugins/lens/public/state_management/optimizing_middleware.ts b/x-pack/platform/plugins/shared/lens/public/state_management/optimizing_middleware.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/optimizing_middleware.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/optimizing_middleware.ts diff --git a/x-pack/plugins/lens/public/state_management/selectors.test.ts b/x-pack/platform/plugins/shared/lens/public/state_management/selectors.test.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/selectors.test.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/selectors.test.ts diff --git a/x-pack/plugins/lens/public/state_management/selectors.ts b/x-pack/platform/plugins/shared/lens/public/state_management/selectors.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/selectors.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/selectors.ts diff --git a/x-pack/plugins/lens/public/state_management/shared_logic.ts b/x-pack/platform/plugins/shared/lens/public/state_management/shared_logic.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/shared_logic.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/shared_logic.ts diff --git a/x-pack/plugins/lens/public/state_management/types.ts b/x-pack/platform/plugins/shared/lens/public/state_management/types.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/types.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/types.ts diff --git a/x-pack/plugins/lens/public/state_management/utils.ts b/x-pack/platform/plugins/shared/lens/public/state_management/utils.ts similarity index 100% rename from x-pack/plugins/lens/public/state_management/utils.ts rename to x-pack/platform/plugins/shared/lens/public/state_management/utils.ts diff --git a/x-pack/plugins/lens/public/trigger_actions/convert_to_lens_action.ts b/x-pack/platform/plugins/shared/lens/public/trigger_actions/convert_to_lens_action.ts similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/convert_to_lens_action.ts rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/convert_to_lens_action.ts diff --git a/x-pack/plugins/lens/public/trigger_actions/dashboard_visualize_panel_actions.ts b/x-pack/platform/plugins/shared/lens/public/trigger_actions/dashboard_visualize_panel_actions.ts similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/dashboard_visualize_panel_actions.ts rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/dashboard_visualize_panel_actions.ts diff --git a/x-pack/plugins/lens/public/trigger_actions/open_in_discover_action.test.ts b/x-pack/platform/plugins/shared/lens/public/trigger_actions/open_in_discover_action.test.ts similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/open_in_discover_action.test.ts rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/open_in_discover_action.test.ts diff --git a/x-pack/plugins/lens/public/trigger_actions/open_in_discover_action.ts b/x-pack/platform/plugins/shared/lens/public/trigger_actions/open_in_discover_action.ts similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/open_in_discover_action.ts rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/open_in_discover_action.ts diff --git a/x-pack/plugins/lens/public/trigger_actions/open_in_discover_drilldown.test.tsx b/x-pack/platform/plugins/shared/lens/public/trigger_actions/open_in_discover_drilldown.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/open_in_discover_drilldown.test.tsx rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/open_in_discover_drilldown.test.tsx diff --git a/x-pack/plugins/lens/public/trigger_actions/open_in_discover_drilldown.tsx b/x-pack/platform/plugins/shared/lens/public/trigger_actions/open_in_discover_drilldown.tsx similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/open_in_discover_drilldown.tsx rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/open_in_discover_drilldown.tsx diff --git a/x-pack/plugins/lens/public/trigger_actions/open_in_discover_helpers.ts b/x-pack/platform/plugins/shared/lens/public/trigger_actions/open_in_discover_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/open_in_discover_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/open_in_discover_helpers.ts diff --git a/x-pack/plugins/lens/public/trigger_actions/open_lens_config/create_action.test.tsx b/x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/create_action.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/open_lens_config/create_action.test.tsx rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/create_action.test.tsx diff --git a/x-pack/plugins/lens/public/trigger_actions/open_lens_config/create_action.tsx b/x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/create_action.tsx similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/open_lens_config/create_action.tsx rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/create_action.tsx diff --git a/x-pack/plugins/lens/public/trigger_actions/open_lens_config/create_action_helpers.ts b/x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/create_action_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/open_lens_config/create_action_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/create_action_helpers.ts diff --git a/x-pack/plugins/lens/public/trigger_actions/open_lens_config/helpers.scss b/x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/helpers.scss similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/open_lens_config/helpers.scss rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/helpers.scss diff --git a/x-pack/plugins/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action.test.tsx b/x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action.test.tsx rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action.test.tsx diff --git a/x-pack/plugins/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action.tsx b/x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action.tsx similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action.tsx rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action.tsx diff --git a/x-pack/plugins/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action_helpers.tsx b/x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action_helpers.tsx similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action_helpers.tsx rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_action_helpers.tsx diff --git a/x-pack/plugins/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_trigger.ts b/x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_trigger.ts similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_trigger.ts rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/in_app_embeddable_edit_trigger.ts diff --git a/x-pack/plugins/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/types.ts b/x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/types.ts similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/types.ts rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/open_lens_config/in_app_embeddable_edit/types.ts diff --git a/x-pack/plugins/lens/public/trigger_actions/visualize_agg_based_vis_actions.ts b/x-pack/platform/plugins/shared/lens/public/trigger_actions/visualize_agg_based_vis_actions.ts similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/visualize_agg_based_vis_actions.ts rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/visualize_agg_based_vis_actions.ts diff --git a/x-pack/plugins/lens/public/trigger_actions/visualize_field_actions.ts b/x-pack/platform/plugins/shared/lens/public/trigger_actions/visualize_field_actions.ts similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/visualize_field_actions.ts rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/visualize_field_actions.ts diff --git a/x-pack/plugins/lens/public/trigger_actions/visualize_tsvb_actions.ts b/x-pack/platform/plugins/shared/lens/public/trigger_actions/visualize_tsvb_actions.ts similarity index 100% rename from x-pack/plugins/lens/public/trigger_actions/visualize_tsvb_actions.ts rename to x-pack/platform/plugins/shared/lens/public/trigger_actions/visualize_tsvb_actions.ts diff --git a/x-pack/plugins/lens/public/types.ts b/x-pack/platform/plugins/shared/lens/public/types.ts similarity index 100% rename from x-pack/plugins/lens/public/types.ts rename to x-pack/platform/plugins/shared/lens/public/types.ts diff --git a/x-pack/plugins/lens/public/user_messages_ids.ts b/x-pack/platform/plugins/shared/lens/public/user_messages_ids.ts similarity index 100% rename from x-pack/plugins/lens/public/user_messages_ids.ts rename to x-pack/platform/plugins/shared/lens/public/user_messages_ids.ts diff --git a/x-pack/plugins/lens/public/user_messages_utils.ts b/x-pack/platform/plugins/shared/lens/public/user_messages_utils.ts similarity index 100% rename from x-pack/plugins/lens/public/user_messages_utils.ts rename to x-pack/platform/plugins/shared/lens/public/user_messages_utils.ts diff --git a/x-pack/plugins/lens/public/utils.test.ts b/x-pack/platform/plugins/shared/lens/public/utils.test.ts similarity index 100% rename from x-pack/plugins/lens/public/utils.test.ts rename to x-pack/platform/plugins/shared/lens/public/utils.test.ts diff --git a/x-pack/plugins/lens/public/utils.ts b/x-pack/platform/plugins/shared/lens/public/utils.ts similarity index 100% rename from x-pack/plugins/lens/public/utils.ts rename to x-pack/platform/plugins/shared/lens/public/utils.ts diff --git a/x-pack/plugins/lens/public/vis_type_alias.ts b/x-pack/platform/plugins/shared/lens/public/vis_type_alias.ts similarity index 100% rename from x-pack/plugins/lens/public/vis_type_alias.ts rename to x-pack/platform/plugins/shared/lens/public/vis_type_alias.ts diff --git a/x-pack/plugins/lens/public/visualization_container.scss b/x-pack/platform/plugins/shared/lens/public/visualization_container.scss similarity index 100% rename from x-pack/plugins/lens/public/visualization_container.scss rename to x-pack/platform/plugins/shared/lens/public/visualization_container.scss diff --git a/x-pack/plugins/lens/public/visualization_container.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualization_container.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualization_container.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualization_container.test.tsx diff --git a/x-pack/plugins/lens/public/visualization_container.tsx b/x-pack/platform/plugins/shared/lens/public/visualization_container.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualization_container.tsx rename to x-pack/platform/plugins/shared/lens/public/visualization_container.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/cell_value.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/cell_value.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/cell_value.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/cell_value.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/cell_value.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/cell_value.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/cell_value.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/cell_value.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/columns.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/columns.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/columns.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/columns.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/columns.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/columns.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/columns.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/columns.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/constants.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/constants.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/constants.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/constants.ts diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/dimension_editor.scss b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/dimension_editor.scss similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/dimension_editor.scss rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/dimension_editor.scss diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/dimension_editor.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/dimension_editor.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/dimension_editor.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/dimension_editor.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/dimension_editor.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/dimension_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/dimension_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/dimension_editor.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/dimension_editor_additional_section.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/dimension_editor_additional_section.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/dimension_editor_additional_section.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/dimension_editor_additional_section.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/dimension_editor_addtional_section.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/dimension_editor_addtional_section.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/dimension_editor_addtional_section.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/dimension_editor_addtional_section.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/helpers.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/helpers.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/helpers.ts diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/table_actions.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/table_actions.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/table_actions.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/table_actions.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/table_actions.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/table_actions.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/table_actions.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/table_actions.ts diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/table_basic.scss b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/table_basic.scss similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/table_basic.scss rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/table_basic.scss diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/table_basic.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/table_basic.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/table_basic.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/table_basic.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/table_basic.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/table_basic.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/table_basic.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/table_basic.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/toolbar.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/toolbar.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/toolbar.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/toolbar.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/toolbar.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/toolbar.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/toolbar.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/toolbar.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/components/types.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/types.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/components/types.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/components/types.ts diff --git a/x-pack/plugins/lens/public/visualizations/datatable/datatable_visualization.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/datatable_visualization.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/datatable_visualization.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/datatable_visualization.ts diff --git a/x-pack/plugins/lens/public/visualizations/datatable/expression.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/expression.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/expression.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/expression.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/expression.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/expression.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/expression.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/expression.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/index.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/index.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/index.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/index.ts diff --git a/x-pack/plugins/lens/public/visualizations/datatable/utils.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/utils.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/utils.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/utils.ts diff --git a/x-pack/plugins/lens/public/visualizations/datatable/visualization.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/visualization.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/visualization.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/visualization.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/datatable/visualization.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/datatable/visualization.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/datatable/visualization.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/datatable/visualization.tsx diff --git a/x-pack/plugins/lens/public/visualizations/gauge/constants.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/constants.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/constants.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/constants.ts diff --git a/x-pack/plugins/lens/public/visualizations/gauge/dimension_editor.scss b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/dimension_editor.scss similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/dimension_editor.scss rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/dimension_editor.scss diff --git a/x-pack/plugins/lens/public/visualizations/gauge/dimension_editor.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/dimension_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/dimension_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/dimension_editor.tsx diff --git a/x-pack/plugins/lens/public/visualizations/gauge/gauge_visualization.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/gauge_visualization.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/gauge_visualization.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/gauge_visualization.ts diff --git a/x-pack/plugins/lens/public/visualizations/gauge/index.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/index.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/index.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/index.ts diff --git a/x-pack/plugins/lens/public/visualizations/gauge/palette_config.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/palette_config.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/palette_config.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/palette_config.tsx diff --git a/x-pack/plugins/lens/public/visualizations/gauge/suggestions.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/suggestions.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/suggestions.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/suggestions.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/gauge/suggestions.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/suggestions.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/suggestions.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/suggestions.ts diff --git a/x-pack/plugins/lens/public/visualizations/gauge/toolbar_component/gauge_config_panel.scss b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/toolbar_component/gauge_config_panel.scss similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/toolbar_component/gauge_config_panel.scss rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/toolbar_component/gauge_config_panel.scss diff --git a/x-pack/plugins/lens/public/visualizations/gauge/toolbar_component/gauge_toolbar.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/toolbar_component/gauge_toolbar.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/toolbar_component/gauge_toolbar.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/toolbar_component/gauge_toolbar.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/gauge/toolbar_component/index.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/toolbar_component/index.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/toolbar_component/index.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/toolbar_component/index.tsx diff --git a/x-pack/plugins/lens/public/visualizations/gauge/utils.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/utils.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/utils.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/utils.ts diff --git a/x-pack/plugins/lens/public/visualizations/gauge/visualization.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/visualization.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/visualization.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/visualization.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/gauge/visualization.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/visualization.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/visualization.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/visualization.tsx diff --git a/x-pack/plugins/lens/public/visualizations/heatmap/constants.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/constants.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/heatmap/constants.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/constants.ts diff --git a/x-pack/plugins/lens/public/visualizations/heatmap/dimension_editor.scss b/x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/dimension_editor.scss similarity index 100% rename from x-pack/plugins/lens/public/visualizations/heatmap/dimension_editor.scss rename to x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/dimension_editor.scss diff --git a/x-pack/plugins/lens/public/visualizations/heatmap/dimension_editor.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/dimension_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/heatmap/dimension_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/dimension_editor.tsx diff --git a/x-pack/plugins/lens/public/visualizations/heatmap/heatmap_visualization.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/heatmap_visualization.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/heatmap/heatmap_visualization.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/heatmap_visualization.ts diff --git a/x-pack/plugins/lens/public/visualizations/heatmap/index.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/index.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/heatmap/index.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/index.ts diff --git a/x-pack/plugins/lens/public/visualizations/heatmap/suggestions.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/suggestions.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/heatmap/suggestions.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/suggestions.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/heatmap/suggestions.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/suggestions.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/heatmap/suggestions.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/suggestions.ts diff --git a/x-pack/plugins/lens/public/visualizations/heatmap/toolbar_component.scss b/x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/toolbar_component.scss similarity index 100% rename from x-pack/plugins/lens/public/visualizations/heatmap/toolbar_component.scss rename to x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/toolbar_component.scss diff --git a/x-pack/plugins/lens/public/visualizations/heatmap/toolbar_component.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/toolbar_component.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/heatmap/toolbar_component.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/toolbar_component.tsx diff --git a/x-pack/plugins/lens/public/visualizations/heatmap/types.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/types.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/heatmap/types.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/types.ts diff --git a/x-pack/plugins/lens/public/visualizations/heatmap/utils.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/utils.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/heatmap/utils.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/utils.ts diff --git a/x-pack/plugins/lens/public/visualizations/heatmap/visualization.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/visualization.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/heatmap/visualization.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/visualization.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/heatmap/visualization.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/visualization.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/heatmap/visualization.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/heatmap/visualization.tsx diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/dimension_editor.scss b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/dimension_editor.scss similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/dimension_editor.scss rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/dimension_editor.scss diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/dimension_editor.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/dimension_editor.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/dimension_editor.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/dimension_editor.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/dimension_editor.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/dimension_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/dimension_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/dimension_editor.tsx diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/index.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/index.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/index.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/index.ts diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/metric_config_panel/align_options.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_config_panel/align_options.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/metric_config_panel/align_options.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_config_panel/align_options.tsx diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/metric_config_panel/index.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_config_panel/index.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/metric_config_panel/index.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_config_panel/index.tsx diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/metric_config_panel/size_options.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_config_panel/size_options.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/metric_config_panel/size_options.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_config_panel/size_options.tsx diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/metric_config_panel/text_formatting_options.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_config_panel/text_formatting_options.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/metric_config_panel/text_formatting_options.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_config_panel/text_formatting_options.tsx diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/metric_config_panel/title_position_option.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_config_panel/title_position_option.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/metric_config_panel/title_position_option.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_config_panel/title_position_option.tsx diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/metric_config_panel/titles_and_text_options_popover.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_config_panel/titles_and_text_options_popover.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/metric_config_panel/titles_and_text_options_popover.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_config_panel/titles_and_text_options_popover.tsx diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/metric_suggestions.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_suggestions.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/metric_suggestions.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_suggestions.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/metric_suggestions.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_suggestions.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/metric_suggestions.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_suggestions.ts diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/metric_visualization.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_visualization.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/metric_visualization.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/metric_visualization.ts diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/palette_config.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/palette_config.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/palette_config.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/palette_config.tsx diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/visualization.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/visualization.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/visualization.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/visualization.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/legacy_metric/visualization.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/visualization.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/legacy_metric/visualization.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/legacy_metric/visualization.tsx diff --git a/x-pack/plugins/lens/public/visualizations/metric/__snapshots__/visualization.test.ts.snap b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/__snapshots__/visualization.test.ts.snap similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/__snapshots__/visualization.test.ts.snap rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/__snapshots__/visualization.test.ts.snap diff --git a/x-pack/plugins/lens/public/visualizations/metric/constants.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/constants.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/constants.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/constants.ts diff --git a/x-pack/plugins/lens/public/visualizations/metric/dimension_editor.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/dimension_editor.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/dimension_editor.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/dimension_editor.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/metric/dimension_editor.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/dimension_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/dimension_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/dimension_editor.tsx diff --git a/x-pack/plugins/lens/public/visualizations/metric/index.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/index.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/index.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/index.ts diff --git a/x-pack/plugins/lens/public/visualizations/metric/metric_visualization.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/metric_visualization.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/metric_visualization.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/metric_visualization.ts diff --git a/x-pack/plugins/lens/public/visualizations/metric/palette_config.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/palette_config.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/palette_config.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/palette_config.tsx diff --git a/x-pack/plugins/lens/public/visualizations/metric/suggestions.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/suggestions.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/suggestions.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/suggestions.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/metric/suggestions.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/suggestions.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/suggestions.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/suggestions.ts diff --git a/x-pack/plugins/lens/public/visualizations/metric/to_expression.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/to_expression.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/to_expression.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/to_expression.ts diff --git a/x-pack/plugins/lens/public/visualizations/metric/toolbar/index.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/toolbar/index.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/toolbar/index.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/toolbar/index.tsx diff --git a/x-pack/plugins/lens/public/visualizations/metric/toolbar/titles_and_text_popover.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/toolbar/titles_and_text_popover.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/toolbar/titles_and_text_popover.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/toolbar/titles_and_text_popover.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/metric/toolbar/titles_and_text_popover.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/toolbar/titles_and_text_popover.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/toolbar/titles_and_text_popover.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/toolbar/titles_and_text_popover.tsx diff --git a/x-pack/plugins/lens/public/visualizations/metric/toolbar/toolbar.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/toolbar/toolbar.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/toolbar/toolbar.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/toolbar/toolbar.tsx diff --git a/x-pack/plugins/lens/public/visualizations/metric/types.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/types.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/types.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/types.ts diff --git a/x-pack/plugins/lens/public/visualizations/metric/visualization.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/visualization.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/visualization.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/visualization.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/metric/visualization.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/metric/visualization.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/metric/visualization.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/metric/visualization.tsx diff --git a/x-pack/plugins/lens/public/visualizations/partition/constants.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/constants.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/constants.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/constants.ts diff --git a/x-pack/plugins/lens/public/visualizations/partition/dimension_editor.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/dimension_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/dimension_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/dimension_editor.tsx diff --git a/x-pack/plugins/lens/public/visualizations/partition/index.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/index.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/index.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/index.ts diff --git a/x-pack/plugins/lens/public/visualizations/partition/layer_settings.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/layer_settings.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/layer_settings.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/layer_settings.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/partition/layer_settings.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/layer_settings.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/layer_settings.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/layer_settings.tsx diff --git a/x-pack/plugins/lens/public/visualizations/partition/partition_charts_meta.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/partition_charts_meta.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/partition_charts_meta.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/partition_charts_meta.ts diff --git a/x-pack/plugins/lens/public/visualizations/partition/persistence.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/persistence.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/persistence.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/persistence.tsx diff --git a/x-pack/plugins/lens/public/visualizations/partition/pie_visualization.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/pie_visualization.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/pie_visualization.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/pie_visualization.ts diff --git a/x-pack/plugins/lens/public/visualizations/partition/render_helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/render_helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/render_helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/render_helpers.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/partition/render_helpers.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/render_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/render_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/render_helpers.ts diff --git a/x-pack/plugins/lens/public/visualizations/partition/suggestions.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/suggestions.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/suggestions.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/suggestions.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/partition/suggestions.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/suggestions.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/suggestions.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/suggestions.ts diff --git a/x-pack/plugins/lens/public/visualizations/partition/to_expression.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/to_expression.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/to_expression.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/to_expression.ts diff --git a/x-pack/plugins/lens/public/visualizations/partition/toolbar.scss b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/toolbar.scss similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/toolbar.scss rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/toolbar.scss diff --git a/x-pack/plugins/lens/public/visualizations/partition/toolbar.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/toolbar.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/toolbar.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/toolbar.tsx diff --git a/x-pack/plugins/lens/public/visualizations/partition/visualization.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/visualization.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/visualization.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/visualization.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/partition/visualization.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/partition/visualization.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/partition/visualization.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/partition/visualization.tsx diff --git a/x-pack/plugins/lens/public/visualizations/tagcloud/constants.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/constants.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/tagcloud/constants.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/constants.ts diff --git a/x-pack/plugins/lens/public/visualizations/tagcloud/index.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/index.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/tagcloud/index.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/index.ts diff --git a/x-pack/plugins/lens/public/visualizations/tagcloud/suggestions.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/suggestions.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/tagcloud/suggestions.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/suggestions.ts diff --git a/x-pack/plugins/lens/public/visualizations/tagcloud/tagcloud_toolbar/font_size_input.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/tagcloud_toolbar/font_size_input.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/tagcloud/tagcloud_toolbar/font_size_input.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/tagcloud_toolbar/font_size_input.tsx diff --git a/x-pack/plugins/lens/public/visualizations/tagcloud/tagcloud_toolbar/index.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/tagcloud_toolbar/index.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/tagcloud/tagcloud_toolbar/index.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/tagcloud_toolbar/index.ts diff --git a/x-pack/plugins/lens/public/visualizations/tagcloud/tagcloud_toolbar/tagcloud_toolbar.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/tagcloud_toolbar/tagcloud_toolbar.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/tagcloud/tagcloud_toolbar/tagcloud_toolbar.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/tagcloud_toolbar/tagcloud_toolbar.tsx diff --git a/x-pack/plugins/lens/public/visualizations/tagcloud/tagcloud_visualization.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/tagcloud_visualization.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/tagcloud/tagcloud_visualization.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/tagcloud_visualization.tsx diff --git a/x-pack/plugins/lens/public/visualizations/tagcloud/tags_dimension_editor.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/tags_dimension_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/tagcloud/tags_dimension_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/tags_dimension_editor.tsx diff --git a/x-pack/plugins/lens/public/visualizations/tagcloud/types.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/types.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/tagcloud/types.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/tagcloud/types.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/__snapshots__/to_expression.test.ts.snap b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/__snapshots__/to_expression.test.ts.snap similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/__snapshots__/to_expression.test.ts.snap rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/__snapshots__/to_expression.test.ts.snap diff --git a/x-pack/plugins/lens/public/visualizations/xy/__snapshots__/visualization.test.tsx.snap b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/__snapshots__/visualization.test.tsx.snap similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/__snapshots__/visualization.test.tsx.snap rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/__snapshots__/visualization.test.tsx.snap diff --git a/x-pack/plugins/lens/public/visualizations/xy/add_layer.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/add_layer.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/add_layer.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/add_layer.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/add_layer.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/add_layer.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/add_layer.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/add_layer.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/annotations/actions/__snapshots__/revert_changes_action.test.tsx.snap b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/__snapshots__/revert_changes_action.test.tsx.snap similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/annotations/actions/__snapshots__/revert_changes_action.test.tsx.snap rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/__snapshots__/revert_changes_action.test.tsx.snap diff --git a/x-pack/plugins/lens/public/visualizations/xy/annotations/actions/__snapshots__/save_action.test.tsx.snap b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/__snapshots__/save_action.test.tsx.snap similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/annotations/actions/__snapshots__/save_action.test.tsx.snap rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/__snapshots__/save_action.test.tsx.snap diff --git a/x-pack/plugins/lens/public/visualizations/xy/annotations/actions/index.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/index.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/annotations/actions/index.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/index.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/annotations/actions/revert_changes_action.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/revert_changes_action.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/annotations/actions/revert_changes_action.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/revert_changes_action.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/annotations/actions/revert_changes_action.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/revert_changes_action.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/annotations/actions/revert_changes_action.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/revert_changes_action.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/annotations/actions/save_action.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/save_action.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/annotations/actions/save_action.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/save_action.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/annotations/actions/save_action.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/save_action.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/annotations/actions/save_action.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/save_action.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/annotations/actions/unlink_action.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/unlink_action.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/annotations/actions/unlink_action.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/unlink_action.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/annotations/actions/unlink_action.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/unlink_action.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/annotations/actions/unlink_action.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/actions/unlink_action.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/annotations/helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/annotations/helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/helpers.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/annotations/helpers.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/helpers.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/annotations/helpers.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/annotations/helpers.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/axes_configuration.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/axes_configuration.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/axes_configuration.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/axes_configuration.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/axes_configuration.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/axes_configuration.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/axes_configuration.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/axes_configuration.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/color_assignment.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/color_assignment.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/color_assignment.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/color_assignment.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/color_assignment.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/color_assignment.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/color_assignment.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/color_assignment.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/index.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/index.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/index.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/index.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/layer_settings.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/layer_settings.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/layer_settings.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/layer_settings.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/legend_stats_telemetry_helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/legend_stats_telemetry_helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/legend_stats_telemetry_helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/legend_stats_telemetry_helpers.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/legend_stats_telemetry_helpers.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/legend_stats_telemetry_helpers.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/legend_stats_telemetry_helpers.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/legend_stats_telemetry_helpers.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/load_annotation_library_flyout.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/load_annotation_library_flyout.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/load_annotation_library_flyout.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/load_annotation_library_flyout.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/persistence.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/persistence.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/persistence.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/persistence.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/reference_line_helpers.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/reference_line_helpers.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/reference_line_helpers.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/reference_line_helpers.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/reference_line_helpers.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/reference_line_helpers.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/reference_line_helpers.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/reference_line_helpers.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/state_helpers.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/state_helpers.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/state_helpers.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/state_helpers.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/to_expression.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/to_expression.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/to_expression.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/to_expression.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/to_expression.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/to_expression.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/to_expression.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/to_expression.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/types.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/types.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/types.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/types.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/visualization.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/visualization.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/visualization.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/visualization.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/visualization.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/visualization.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/visualization.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/visualization.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/visualization_helpers.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/visualization_helpers.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/visualization_helpers.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/visualization_helpers.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/annotations_config_panel/annotations_panel.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/annotations_config_panel/annotations_panel.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/annotations_config_panel/annotations_panel.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/annotations_config_panel/annotations_panel.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.scss b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.scss similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.scss rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.scss diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/axis_settings_popover.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/dimension_editor.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/dimension_editor.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/dimension_editor.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/dimension_editor.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/dimension_editor.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/dimension_editor.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/dimension_editor.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/dimension_editor.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/index.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/index.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/index.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/index.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/layer_header.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/layer_header.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/layer_header.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/layer_header.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/layer_header.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/layer_header.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/layer_header.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/layer_header.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/reference_line_config_panel/reference_line_panel.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/reference_line_config_panel/reference_line_panel.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/reference_line_config_panel/reference_line_panel.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/reference_line_config_panel/reference_line_panel.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/shared/marker_decoration_settings.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/shared/marker_decoration_settings.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/shared/marker_decoration_settings.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/shared/marker_decoration_settings.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/titles_and_text_popover/index.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/titles_and_text_popover/index.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/titles_and_text_popover/index.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/titles_and_text_popover/index.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/end_value_definitions.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/end_value_definitions.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/end_value_definitions.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/end_value_definitions.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fill_opacity_option.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fill_opacity_option.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fill_opacity_option.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fill_opacity_option.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fill_opacity_option.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fill_opacity_option.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fill_opacity_option.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fill_opacity_option.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fitting_function_definitions.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fitting_function_definitions.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fitting_function_definitions.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/fitting_function_definitions.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/index.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/index.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/index.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/index.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_definitions.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_definitions.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_definitions.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_definitions.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_option.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_option.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_option.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_option.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_option.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_option.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_option.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/line_curve_option.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/missing_value_option.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/missing_value_option.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/missing_value_option.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/missing_value_option.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/missing_values_option.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/missing_values_option.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/missing_values_option.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/missing_values_option.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/visual_options_popover.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/visual_options_popover.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/visual_options_popover.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/visual_options_popover/visual_options_popover.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/xy_config_panel.test.tsx b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/xy_config_panel.test.tsx similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_config_panel/xy_config_panel.test.tsx rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_config_panel/xy_config_panel.test.tsx diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_suggestions.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_suggestions.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_suggestions.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_suggestions.test.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_suggestions.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_suggestions.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_suggestions.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_suggestions.ts diff --git a/x-pack/plugins/lens/public/visualizations/xy/xy_visualization.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_visualization.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/xy/xy_visualization.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/xy/xy_visualization.ts diff --git a/x-pack/plugins/lens/readme.md b/x-pack/platform/plugins/shared/lens/readme.md similarity index 99% rename from x-pack/plugins/lens/readme.md rename to x-pack/platform/plugins/shared/lens/readme.md index 776718e1b9e48..4cd4227474311 100644 --- a/x-pack/plugins/lens/readme.md +++ b/x-pack/platform/plugins/shared/lens/readme.md @@ -225,7 +225,7 @@ The following sections are concerned with developing the Lens plugin itself. Run all tests from the `x-pack` root directory -- Unit tests: `yarn test:jest x-pack/plugins/lens` +- Unit tests: `yarn test:jest x-pack/platform/plugins/shared/lens` - Functional tests: - Run `node scripts/functional_tests_server` - Run `node ../scripts/functional_test_runner.js --config ./test/functional/apps/lens/group1/config.ts` diff --git a/x-pack/plugins/lens/server/content_management/cm_services.ts b/x-pack/platform/plugins/shared/lens/server/content_management/cm_services.ts similarity index 100% rename from x-pack/plugins/lens/server/content_management/cm_services.ts rename to x-pack/platform/plugins/shared/lens/server/content_management/cm_services.ts diff --git a/x-pack/plugins/lens/server/content_management/index.ts b/x-pack/platform/plugins/shared/lens/server/content_management/index.ts similarity index 100% rename from x-pack/plugins/lens/server/content_management/index.ts rename to x-pack/platform/plugins/shared/lens/server/content_management/index.ts diff --git a/x-pack/plugins/lens/server/content_management/lens_storage.ts b/x-pack/platform/plugins/shared/lens/server/content_management/lens_storage.ts similarity index 100% rename from x-pack/plugins/lens/server/content_management/lens_storage.ts rename to x-pack/platform/plugins/shared/lens/server/content_management/lens_storage.ts diff --git a/x-pack/plugins/lens/server/content_management/v1/cm_services.ts b/x-pack/platform/plugins/shared/lens/server/content_management/v1/cm_services.ts similarity index 100% rename from x-pack/plugins/lens/server/content_management/v1/cm_services.ts rename to x-pack/platform/plugins/shared/lens/server/content_management/v1/cm_services.ts diff --git a/x-pack/plugins/lens/server/embeddable/make_lens_embeddable_factory.test.ts b/x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.test.ts similarity index 100% rename from x-pack/plugins/lens/server/embeddable/make_lens_embeddable_factory.test.ts rename to x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.test.ts diff --git a/x-pack/plugins/lens/server/embeddable/make_lens_embeddable_factory.ts b/x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.ts similarity index 99% rename from x-pack/plugins/lens/server/embeddable/make_lens_embeddable_factory.ts rename to x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.ts index 9262b6054af09..78efda15ee000 100644 --- a/x-pack/plugins/lens/server/embeddable/make_lens_embeddable_factory.ts +++ b/x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.ts @@ -178,7 +178,7 @@ export const makeLensEmbeddableFactory = } as unknown as SerializableRecord; }, // FOLLOW THESE GUIDELINES IF YOU ARE ADDING A NEW MIGRATION! - // 1. Make sure you are applying migrations for a given version in the same order here as they are applied in x-pack/plugins/lens/server/migrations/saved_object_migrations.ts + // 1. Make sure you are applying migrations for a given version in the same order here as they are applied in x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.ts }), getLensCustomVisualizationMigrations(customVisualizationMigrations) ), diff --git a/x-pack/plugins/lens/server/expressions/expressions.ts b/x-pack/platform/plugins/shared/lens/server/expressions/expressions.ts similarity index 100% rename from x-pack/plugins/lens/server/expressions/expressions.ts rename to x-pack/platform/plugins/shared/lens/server/expressions/expressions.ts diff --git a/x-pack/plugins/lens/server/expressions/index.ts b/x-pack/platform/plugins/shared/lens/server/expressions/index.ts similarity index 100% rename from x-pack/plugins/lens/server/expressions/index.ts rename to x-pack/platform/plugins/shared/lens/server/expressions/index.ts diff --git a/x-pack/plugins/lens/server/expressions/utils.ts b/x-pack/platform/plugins/shared/lens/server/expressions/utils.ts similarity index 100% rename from x-pack/plugins/lens/server/expressions/utils.ts rename to x-pack/platform/plugins/shared/lens/server/expressions/utils.ts diff --git a/x-pack/plugins/lens/server/index.ts b/x-pack/platform/plugins/shared/lens/server/index.ts similarity index 100% rename from x-pack/plugins/lens/server/index.ts rename to x-pack/platform/plugins/shared/lens/server/index.ts diff --git a/x-pack/plugins/lens/server/migrations/__snapshots__/saved_object_migrations.test.ts.snap b/x-pack/platform/plugins/shared/lens/server/migrations/__snapshots__/saved_object_migrations.test.ts.snap similarity index 100% rename from x-pack/plugins/lens/server/migrations/__snapshots__/saved_object_migrations.test.ts.snap rename to x-pack/platform/plugins/shared/lens/server/migrations/__snapshots__/saved_object_migrations.test.ts.snap diff --git a/x-pack/plugins/lens/server/migrations/common_migrations.test.ts b/x-pack/platform/plugins/shared/lens/server/migrations/common_migrations.test.ts similarity index 100% rename from x-pack/plugins/lens/server/migrations/common_migrations.test.ts rename to x-pack/platform/plugins/shared/lens/server/migrations/common_migrations.test.ts diff --git a/x-pack/plugins/lens/server/migrations/common_migrations.ts b/x-pack/platform/plugins/shared/lens/server/migrations/common_migrations.ts similarity index 100% rename from x-pack/plugins/lens/server/migrations/common_migrations.ts rename to x-pack/platform/plugins/shared/lens/server/migrations/common_migrations.ts diff --git a/x-pack/plugins/lens/server/migrations/saved_object_migrations.test.ts b/x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.test.ts similarity index 100% rename from x-pack/plugins/lens/server/migrations/saved_object_migrations.test.ts rename to x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.test.ts diff --git a/x-pack/plugins/lens/server/migrations/saved_object_migrations.ts b/x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.ts similarity index 99% rename from x-pack/plugins/lens/server/migrations/saved_object_migrations.ts rename to x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.ts index a981dd332d67e..f7b7e542d130c 100644 --- a/x-pack/plugins/lens/server/migrations/saved_object_migrations.ts +++ b/x-pack/platform/plugins/shared/lens/server/migrations/saved_object_migrations.ts @@ -592,7 +592,7 @@ const lensMigrations: SavedObjectMigrationMap = { '8.6.0': flow(migrateIndexPatternDatasource, migratePartitionMetrics), '8.9.0': migrateMetricFormatter, // FOLLOW THESE GUIDELINES IF YOU ARE ADDING A NEW MIGRATION! - // 1. Make sure you are applying migrations for a given version in the same order here as they are applied in x-pack/plugins/lens/server/embeddable/make_lens_embeddable_factory.ts + // 1. Make sure you are applying migrations for a given version in the same order here as they are applied in x-pack/platform/plugins/shared/lens/server/embeddable/make_lens_embeddable_factory.ts }; export const getAllMigrations = ( diff --git a/x-pack/plugins/lens/server/migrations/types.ts b/x-pack/platform/plugins/shared/lens/server/migrations/types.ts similarity index 100% rename from x-pack/plugins/lens/server/migrations/types.ts rename to x-pack/platform/plugins/shared/lens/server/migrations/types.ts diff --git a/x-pack/plugins/lens/server/plugin.tsx b/x-pack/platform/plugins/shared/lens/server/plugin.tsx similarity index 100% rename from x-pack/plugins/lens/server/plugin.tsx rename to x-pack/platform/plugins/shared/lens/server/plugin.tsx diff --git a/x-pack/plugins/lens/server/saved_objects.ts b/x-pack/platform/plugins/shared/lens/server/saved_objects.ts similarity index 100% rename from x-pack/plugins/lens/server/saved_objects.ts rename to x-pack/platform/plugins/shared/lens/server/saved_objects.ts diff --git a/x-pack/plugins/lens/to_playground.gif b/x-pack/platform/plugins/shared/lens/to_playground.gif similarity index 100% rename from x-pack/plugins/lens/to_playground.gif rename to x-pack/platform/plugins/shared/lens/to_playground.gif diff --git a/x-pack/plugins/lens/tsconfig.json b/x-pack/platform/plugins/shared/lens/tsconfig.json similarity index 97% rename from x-pack/plugins/lens/tsconfig.json rename to x-pack/platform/plugins/shared/lens/tsconfig.json index ca1a9b8fd0b16..c74a55a56ea88 100644 --- a/x-pack/plugins/lens/tsconfig.json +++ b/x-pack/platform/plugins/shared/lens/tsconfig.json @@ -1,9 +1,9 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, - "include": ["*.ts", "common/**/*", "public/**/*", "server/**/*", "../../../typings/**/*"], + "include": ["*.ts", "common/**/*", "public/**/*", "server/**/*", "../../../../../typings/**/*"], "kbn_references": [ "@kbn/spaces-plugin", "@kbn/core", diff --git a/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js index 1f3a2d20eea28..2f8a2cbbfcc09 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js +++ b/x-pack/platform/plugins/shared/ml/public/application/explorer/explorer_charts/explorer_charts_container.js @@ -240,7 +240,7 @@ function ExplorerChartContainer({
} width={0} diff --git a/x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts b/x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts index 8d21c368a7303..2f456ec5713fd 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts +++ b/x-pack/platform/plugins/shared/ml/public/application/services/field_format_service.ts @@ -29,7 +29,7 @@ export class FieldFormatService { // specified IDs. List of Kibana data views is passed, with a title // attribute set in each pattern which will be compared to the indices // configured in the datafeed of each job. - // Builds a map of Kibana FieldFormats (plugins/data/common/field_formats) + // Builds a map of Kibana FieldFormats (platform/plugins/shared/data/common/field_formats) // against detector index by job ID. async populateFormats(jobIds: string[]): Promise { // Populate a map of data view IDs against job ID, by finding the ID of the data diff --git a/x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js b/x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js index 19b53177d6868..a7f908493bd0a 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js +++ b/x-pack/platform/plugins/shared/ml/public/application/util/chart_utils.js @@ -99,7 +99,7 @@ export function drawLineChartDots(data, lineChartGroup, lineChartValuesLine, rad } // this replicates Kibana's filterAxisLabels() behavior -// which can be found in src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_labels.js +// which can be found in src/platform/plugins/private/vis_types/vislib/public/vislib/lib/axis/axis_labels.js // axis labels which overflow the chart's boundaries will be removed export function filterAxisLabels(selection, chartWidth) { if (selection === undefined || selection.selectAll === undefined) { diff --git a/x-pack/solutions/observability/plugins/observability/common/utils/get_inspect_response.ts b/x-pack/solutions/observability/plugins/observability/common/utils/get_inspect_response.ts index 7c5d8368bd192..4b5131f58d1dc 100644 --- a/x-pack/solutions/observability/plugins/observability/common/utils/get_inspect_response.ts +++ b/x-pack/solutions/observability/plugins/observability/common/utils/get_inspect_response.ts @@ -15,7 +15,7 @@ import { WrappedElasticsearchClientError } from './unwrap_es_response'; * Get statistics to show on inspector tab. * * If you're using searchSource (which we're not), this gets populated from - * https://github.com/elastic/kibana/blob/c7d742cb8b8935f3812707a747a139806e4be203/src/plugins/data/common/search/search_source/inspect/inspector_stats.ts + * src/plugins/data/common/search/search_source/inspect/inspector_stats.ts * * We do most of the same here, but not using searchSource. */ diff --git a/x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts b/x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts index fbcb053acdc52..492fc20f7c819 100644 --- a/x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts +++ b/x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts @@ -18,7 +18,7 @@ export type InspectResponse = Request[]; * Get statistics to show on inspector tab. * * If you're using searchSource (which we're not), this gets populated from - * https://github.com/elastic/kibana/blob/c7d742cb8b8935f3812707a747a139806e4be203/src/plugins/data/common/search/search_source/inspect/inspector_stats.ts + * src/platform/plugins/shared/data/common/search/search_source/inspect/inspector_stats.ts * * We do most of the same here, but not using searchSource. */ diff --git a/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts b/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts index 2372ad727e9f1..0dcc991dd0aae 100644 --- a/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts +++ b/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts @@ -5,7 +5,7 @@ * 2.0. */ -// Copied from "src/plugins/data/public/mocks.ts" but without any type information +// Copied from "src/platform/plugins/shared/data/public/mocks.ts" but without any type information // TODO: Remove this in favor of the data/public/mocks if/when they become available, https://github.com/elastic/kibana/issues/100715 export const autocompleteStartMock = { getQuerySuggestions: jest.fn(), diff --git a/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts b/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts index 32e9d60197868..5d50fd94bdc3c 100644 --- a/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts +++ b/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts @@ -7,7 +7,7 @@ import { DataViewFieldBase } from '@kbn/es-query'; -// Copied from "src/plugins/data/common/index_patterns/fields/fields.mocks.ts" but with the types changed to "DataViewFieldBase" since that type is compatible. +// Copied from "src/platform/plugins/shared/data/common/index_patterns/fields/fields.mocks.ts" but with the types changed to "DataViewFieldBase" since that type is compatible. // TODO: This should move out once those mocks are directly useable or in their own package, https://github.com/elastic/kibana/issues/100715 export const fields: DataViewFieldBase[] = [ diff --git a/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts b/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts index a4df119766a96..0135e9f8faa15 100644 --- a/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts +++ b/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts @@ -14,7 +14,7 @@ import { AutocompleteListsData } from '../field_value_lists'; * the lists that match against the field based on the types from the field * * NOTE: That we support one additional property from "FieldSpec" located here: - * src/plugins/data/common/index_patterns/fields/types.ts + * src/platform/plugins/shared/data/common/index_patterns/fields/types.ts * This type property is esTypes. If it exists and is on there we will read off the esTypes. * @param lists The lists to match against the field * @param field The field to check against the list to see if they are compatible diff --git a/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts b/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts index 7d776db124134..3f384c3b979bb 100644 --- a/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts +++ b/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts @@ -13,7 +13,7 @@ import { getField } from '../../fields/index.mock'; import { autocompleteStartMock } from '../../autocomplete/index.mock'; import { DataViewFieldBase } from '@kbn/es-query'; -// Copied from "src/plugins/data/common/index_patterns/index_pattern.stub.ts" +// Copied from "src/platform/plugins/shared/data/common/index_patterns/index_pattern.stub.ts" // TODO: Remove this in favor of the above if/when it is ported, https://github.com/elastic/kibana/issues/100715 export const stubIndexPatternWithFields = { id: '1234', diff --git a/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts b/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts index dbbe321014e2b..b8de79b8c729c 100644 --- a/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts +++ b/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts @@ -11,7 +11,7 @@ import { ListOperatorTypeEnum as OperatorTypeEnum } from '@kbn/securitysolution- import { DataViewBase, DataViewFieldBase, getDataViewFieldSubtypeNested } from '@kbn/es-query'; // TODO: I have to use any here for now, but once this is available below, we should use the correct types, https://github.com/elastic/kibana/issues/100715 -// import { AutocompleteStart } from '../../../../../../../../../../../src/plugins/unified_search/public'; +// import { AutocompleteStart } from '../../../../../../../../../../../src/platform/plugins/shared/unified_search/public'; // eslint-disable-next-line @typescript-eslint/no-explicit-any type AutocompleteStart = any; diff --git a/x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src/helpers/index.ts b/x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src/helpers/index.ts index 6cbdbe55cfeb6..f01aae6177952 100644 --- a/x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src/helpers/index.ts +++ b/x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src/helpers/index.ts @@ -871,7 +871,7 @@ export const getFormattedBuilderEntries = ( entryIndex: index, field: isNewNestedEntry ? undefined - : // This type below is really a FieldSpec type from "src/plugins/data/common/index_patterns/fields/types.ts", we cast it here to keep using the DataViewFieldBase interface + : // This type below is really a FieldSpec type from "src/platform/plugins/shared/data/common/index_patterns/fields/types.ts", we cast it here to keep using the DataViewFieldBase interface ({ aggregatable: false, esTypes: ['nested'], diff --git a/x-pack/solutions/security/plugins/security_solution/package.json b/x-pack/solutions/security/plugins/security_solution/package.json index b015d9ae3ac60..70bae657557b7 100644 --- a/x-pack/solutions/security/plugins/security_solution/package.json +++ b/x-pack/solutions/security/plugins/security_solution/package.json @@ -22,13 +22,13 @@ "cypress:dw:endpoint": "echo '\n** WARNING **: Run script `cypress:dw:endpoint` no longer valid! Use `cypress:dw` instead\n'", "cypress:dw:endpoint:run": "echo '\n** WARNING **: Run script `cypress:dw:endpoint:run` no longer valid! Use `cypress:dw:run` instead\n'", "cypress:dw:endpoint:open": "echo '\n** WARNING **: Run script `cypress:dw:endpoint:open` no longer valid! Use `cypress:dw:open` instead\n'", - "junit:merge": "../../../../../node_modules/.bin/mochawesome-merge ../../../target/kibana-security-solution/cypress/results/mochawesome*.json > ../../../target/kibana-security-solution/cypress/results/output.json && ../../../node_modules/.bin/marge ../../../target/kibana-security-solution/cypress/results/output.json --reportDir ../../../target/kibana-security-solution/cypress/results && yarn junit:transform && mkdir -p ../../../target/junit && cp ../../../target/kibana-security-solution/cypress/results/*.xml ../../../target/junit/", + "junit:merge": "../../../../../node_modules/.bin/mochawesome-merge ../../../../../target/kibana-security-solution/cypress/results/mochawesome*.json > ../../../../../target/kibana-security-solution/cypress/results/output.json && ../../../../../node_modules/.bin/marge ../../../../../target/kibana-security-solution/cypress/results/output.json --reportDir ../../../../../target/kibana-security-solution/cypress/results && yarn junit:transform && mkdir -p ../../../../../target/junit && cp ../../../../../target/kibana-security-solution/cypress/results/*.xml ../../../../../target/junit/", "test:generate": "node scripts/endpoint/resolver_generator", "test:generate:serverless-dev": "NODE_TLS_REJECT_UNAUTHORIZED=0 node --no-warnings scripts/endpoint/resolver_generator --node https://elastic_serverless:changeme@127.0.0.1:9200 --kibana http://elastic_serverless:changeme@127.0.0.1:5601", "mappings:generate": "node scripts/mappings/mappings_generator", "mappings:load": "node scripts/mappings/mappings_loader", "siem-migrations:graph:draw": "node scripts/siem_migration/draw_graphs", - "junit:transform": "node scripts/junit_transformer --pathPattern '../../../../../target/kibana-security-solution/cypress/results/*.xml' --rootDirectory ../../../ --reportName 'Security Solution Cypress' --writeInPlace", + "junit:transform": "node scripts/junit_transformer --pathPattern '../../../../../target/kibana-security-solution/cypress/results/*.xml' --rootDirectory ../../../../../ --reportName 'Security Solution Cypress' --writeInPlace", "openapi:generate": "node scripts/openapi/generate", "openapi:generate:debug": "node --inspect-brk scripts/openapi/generate", "openapi:bundle:detections": "node scripts/openapi/bundle_detections", @@ -36,4 +36,4 @@ "openapi:bundle:entity-analytics": "node scripts/openapi/bundle_entity_analytics", "openapi:bundle:endpoint-management": "node scripts/openapi/bundle_endpoint_management" } -} \ No newline at end of file +} diff --git a/x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts b/x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts index b98adfb4a875c..52c2c20635f3c 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_app_toasts.ts @@ -71,7 +71,7 @@ export const errorToErrorStackAdapter = (error: unknown): Error => { * See this file, we are not allowed to import files such as es_error. * So instead we say maybe err is on there so that we can unwrap it and get * our status code from it if possible within the error in our function. - * src/plugins/data/public/search/errors/es_error.tsx + * src/platform/plugins/shared/data/public/search/errors/es_error.tsx */ export type MaybeESError = IEsError & { err?: Record }; diff --git a/x-pack/solutions/security/plugins/security_solution/server/lib/timeline/constants.ts b/x-pack/solutions/security/plugins/security_solution/server/lib/timeline/constants.ts index bd9a827e768dc..087b274aa7e0c 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/lib/timeline/constants.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/lib/timeline/constants.ts @@ -17,7 +17,7 @@ export const DATA_VIEW_ID_REF_NAME = 'dataViewId'; /** * This needs to match the type of the saved query saved object. That type is defined here: - * https://github.com/elastic/kibana/blob/main/src/plugins/data/public/query/saved_query/saved_query_service.ts#L54 + * https://github.com/elastic/kibana/blob/main/src/platform/plugins/shared/data/public/query/saved_query/saved_query_service.ts#L54 */ export const SAVED_QUERY_TYPE = 'query'; diff --git a/x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts b/x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts index 3ef00461dbd40..9eec46b5a1dfb 100644 --- a/x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts +++ b/x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts @@ -67,7 +67,7 @@ export const errorToErrorStackAdapter = (error: unknown): Error => { * See this file, we are not allowed to import files such as es_error. * So instead we say maybe err is on there so that we can unwrap it and get * our status code from it if possible within the error in our function. - * src/plugins/data/public/search/errors/es_error.tsx + * src/platform/plugins/shared/data/public/search/errors/es_error.tsx */ export type MaybeESError = IEsError & { err?: Record }; diff --git a/x-pack/test/security_solution_cypress/package.json b/x-pack/test/security_solution_cypress/package.json index 79f07c2d07a60..6223b9b3bc624 100644 --- a/x-pack/test/security_solution_cypress/package.json +++ b/x-pack/test/security_solution_cypress/package.json @@ -21,7 +21,7 @@ "cypress:changed-specs-only:ess": "yarn cypress:ess --changed-specs-only --env burn=5", "cypress:cloud_security_posture:run:ess": "yarn cypress:ess --spec './cypress/e2e/cloud_security_posture/**/*.cy.ts'", "cypress:burn:ess": "yarn cypress:ess --env burn=5", - "junit:merge": "../../../node_modules/.bin/mochawesome-merge ../../../../../target/kibana-security-solution/cypress/results/mochawesome*.json > ../../../../../target/kibana-security-solution/cypress/results/output.json && ../../../node_modules/.bin/marge ../../../../../target/kibana-security-solution/cypress/results/output.json --reportDir ../../../../../target/kibana-security-solution/cypress/results && yarn junit:transform && mkdir -p ../../../../../target/junit && cp ../../../../../target/kibana-security-solution/cypress/results/*.xml ../../../../../target/junit/", + "junit:merge": "../../../node_modules/.bin/mochawesome-merge ../../../target/kibana-security-solution/cypress/results/mochawesome*.json > ../../../target/kibana-security-solution/cypress/results/output.json && ../../../node_modules/.bin/marge ../../../target/kibana-security-solution/cypress/results/output.json --reportDir ../../../target/kibana-security-solution/cypress/results && yarn junit:transform && mkdir -p ../../../target/junit && cp ../../../target/kibana-security-solution/cypress/results/*.xml ../../../target/junit/", "junit:transform": "node ../../solutions/security/plugins/security_solution/scripts/junit_transformer --pathPattern '../../../target/kibana-security-solution/cypress/results/*.xml' --rootDirectory ../../../ --reportName 'Security Solution Cypress' --writeInPlace", "cypress:serverless": "TZ=UTC NODE_OPTIONS=--openssl-legacy-provider node ../../solutions/security/plugins/security_solution/scripts/start_cypress_parallel --config-file ../../test/security_solution_cypress/cypress/cypress_ci_serverless.config.ts --ftr-config-file ../../test/security_solution_cypress/serverless_config", "cypress:cloud:serverless": "TZ=UTC NODE_OPTIONS=--openssl-legacy-provider NODE_TLS_REJECT_UNAUTHORIZED=0 ../../../node_modules/.bin/cypress", diff --git a/yarn.lock b/yarn.lock index 194c99b308e9e..4b2ec974f4314 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4089,7 +4089,7 @@ version "0.0.0" uid "" -"@kbn/calculate-width-from-char-count@link:packages/kbn-calculate-width-from-char-count": +"@kbn/calculate-width-from-char-count@link:src/platform/packages/shared/kbn-calculate-width-from-char-count": version "0.0.0" uid "" @@ -4121,15 +4121,15 @@ version "0.0.0" uid "" -"@kbn/chart-expressions-common@link:src/plugins/chart_expressions/common": +"@kbn/chart-expressions-common@link:src/platform/packages/shared/chart-expressions-common": version "0.0.0" uid "" -"@kbn/chart-icons@link:packages/kbn-chart-icons": +"@kbn/chart-icons@link:src/platform/packages/shared/kbn-chart-icons": version "0.0.0" uid "" -"@kbn/charts-plugin@link:src/plugins/charts": +"@kbn/charts-plugin@link:src/platform/plugins/shared/charts": version "0.0.0" uid "" @@ -4229,7 +4229,7 @@ version "0.0.0" uid "" -"@kbn/coloring@link:packages/kbn-coloring": +"@kbn/coloring@link:src/platform/packages/shared/kbn-coloring": version "0.0.0" uid "" @@ -5253,7 +5253,7 @@ version "0.0.0" uid "" -"@kbn/data-plugin@link:src/plugins/data": +"@kbn/data-plugin@link:src/platform/plugins/shared/data": version "0.0.0" uid "" @@ -5265,7 +5265,7 @@ version "0.0.0" uid "" -"@kbn/data-service@link:packages/kbn-data-service": +"@kbn/data-service@link:src/platform/packages/shared/kbn-data-service": version "0.0.0" uid "" @@ -5429,7 +5429,7 @@ version "0.0.0" uid "" -"@kbn/dom-drag-drop@link:packages/kbn-dom-drag-drop": +"@kbn/dom-drag-drop@link:src/platform/packages/shared/kbn-dom-drag-drop": version "0.0.0" uid "" @@ -5613,19 +5613,19 @@ version "0.0.0" uid "" -"@kbn/event-annotation-common@link:packages/kbn-event-annotation-common": +"@kbn/event-annotation-common@link:src/platform/packages/shared/kbn-event-annotation-common": version "0.0.0" uid "" -"@kbn/event-annotation-components@link:packages/kbn-event-annotation-components": +"@kbn/event-annotation-components@link:src/platform/packages/shared/kbn-event-annotation-components": version "0.0.0" uid "" -"@kbn/event-annotation-listing-plugin@link:src/plugins/event_annotation_listing": +"@kbn/event-annotation-listing-plugin@link:src/platform/plugins/private/event_annotation_listing": version "0.0.0" uid "" -"@kbn/event-annotation-plugin@link:src/plugins/event_annotation": +"@kbn/event-annotation-plugin@link:src/platform/plugins/private/event_annotation": version "0.0.0" uid "" @@ -5657,11 +5657,11 @@ version "0.0.0" uid "" -"@kbn/expression-gauge-plugin@link:src/plugins/chart_expressions/expression_gauge": +"@kbn/expression-gauge-plugin@link:src/platform/plugins/shared/chart_expressions/expression_gauge": version "0.0.0" uid "" -"@kbn/expression-heatmap-plugin@link:src/plugins/chart_expressions/expression_heatmap": +"@kbn/expression-heatmap-plugin@link:src/platform/plugins/shared/chart_expressions/expression_heatmap": version "0.0.0" uid "" @@ -5669,7 +5669,7 @@ version "0.0.0" uid "" -"@kbn/expression-legacy-metric-vis-plugin@link:src/plugins/chart_expressions/expression_legacy_metric": +"@kbn/expression-legacy-metric-vis-plugin@link:src/platform/plugins/shared/chart_expressions/expression_legacy_metric": version "0.0.0" uid "" @@ -5677,11 +5677,11 @@ version "0.0.0" uid "" -"@kbn/expression-metric-vis-plugin@link:src/plugins/chart_expressions/expression_metric": +"@kbn/expression-metric-vis-plugin@link:src/platform/plugins/shared/chart_expressions/expression_metric": version "0.0.0" uid "" -"@kbn/expression-partition-vis-plugin@link:src/plugins/chart_expressions/expression_partition_vis": +"@kbn/expression-partition-vis-plugin@link:src/platform/plugins/shared/chart_expressions/expression_partition_vis": version "0.0.0" uid "" @@ -5697,11 +5697,11 @@ version "0.0.0" uid "" -"@kbn/expression-tagcloud-plugin@link:src/plugins/chart_expressions/expression_tagcloud": +"@kbn/expression-tagcloud-plugin@link:src/platform/plugins/shared/chart_expressions/expression_tagcloud": version "0.0.0" uid "" -"@kbn/expression-xy-plugin@link:src/plugins/chart_expressions/expression_xy": +"@kbn/expression-xy-plugin@link:src/platform/plugins/shared/chart_expressions/expression_xy": version "0.0.0" uid "" @@ -5709,7 +5709,7 @@ version "0.0.0" uid "" -"@kbn/expressions-plugin@link:src/plugins/expressions": +"@kbn/expressions-plugin@link:src/platform/plugins/shared/expressions": version "0.0.0" uid "" @@ -5857,7 +5857,7 @@ version "0.0.0" uid "" -"@kbn/graph-plugin@link:x-pack/plugins/graph": +"@kbn/graph-plugin@link:x-pack/platform/plugins/private/graph": version "0.0.0" uid "" @@ -6021,7 +6021,7 @@ version "0.0.0" uid "" -"@kbn/interpreter@link:packages/kbn-interpreter": +"@kbn/interpreter@link:src/platform/packages/shared/kbn-interpreter": version "0.0.0" uid "" @@ -6137,7 +6137,7 @@ version "0.0.0" uid "" -"@kbn/lens-formula-docs@link:packages/kbn-lens-formula-docs": +"@kbn/lens-formula-docs@link:src/platform/packages/private/kbn-lens-formula-docs": version "0.0.0" uid "" @@ -6145,7 +6145,7 @@ version "0.0.0" uid "" -"@kbn/lens-plugin@link:x-pack/plugins/lens": +"@kbn/lens-plugin@link:x-pack/platform/plugins/shared/lens": version "0.0.0" uid "" @@ -6213,7 +6213,7 @@ version "0.0.0" uid "" -"@kbn/managed-content-badge@link:packages/kbn-managed-content-badge": +"@kbn/managed-content-badge@link:src/platform/packages/private/kbn-managed-content-badge": version "0.0.0" uid "" @@ -6693,7 +6693,7 @@ version "0.0.0" uid "" -"@kbn/random-sampling@link:x-pack/packages/kbn-random-sampling": +"@kbn/random-sampling@link:x-pack/platform/packages/private/kbn-random-sampling": version "0.0.0" uid "" @@ -7545,7 +7545,7 @@ version "0.0.0" uid "" -"@kbn/sort-predicates@link:packages/kbn-sort-predicates": +"@kbn/sort-predicates@link:src/platform/packages/shared/kbn-sort-predicates": version "0.0.0" uid "" @@ -7725,7 +7725,7 @@ version "0.0.0" uid "" -"@kbn/timelion-grammar@link:packages/kbn-timelion-grammar": +"@kbn/timelion-grammar@link:src/platform/packages/private/kbn-timelion-grammar": version "0.0.0" uid "" @@ -7733,7 +7733,7 @@ version "0.0.0" uid "" -"@kbn/tinymath@link:packages/kbn-tinymath": +"@kbn/tinymath@link:src/platform/packages/private/kbn-tinymath": version "0.0.0" uid "" @@ -7749,7 +7749,7 @@ version "0.0.0" uid "" -"@kbn/transpose-utils@link:packages/kbn-transpose-utils": +"@kbn/transpose-utils@link:src/platform/packages/private/kbn-transpose-utils": version "0.0.0" uid "" @@ -7849,7 +7849,7 @@ version "0.0.0" uid "" -"@kbn/unified-search-plugin@link:src/plugins/unified_search": +"@kbn/unified-search-plugin@link:src/platform/plugins/shared/unified_search": version "0.0.0" uid "" @@ -7873,7 +7873,7 @@ version "0.0.0" uid "" -"@kbn/url-forwarding-plugin@link:src/plugins/url_forwarding": +"@kbn/url-forwarding-plugin@link:src/platform/plugins/private/url_forwarding": version "0.0.0" uid "" @@ -7925,15 +7925,15 @@ version "0.0.0" uid "" -"@kbn/vis-default-editor-plugin@link:src/plugins/vis_default_editor": +"@kbn/vis-default-editor-plugin@link:src/platform/plugins/private/vis_default_editor": version "0.0.0" uid "" -"@kbn/vis-type-gauge-plugin@link:src/plugins/vis_types/gauge": +"@kbn/vis-type-gauge-plugin@link:src/platform/plugins/private/vis_types/gauge": version "0.0.0" uid "" -"@kbn/vis-type-heatmap-plugin@link:src/plugins/vis_types/heatmap": +"@kbn/vis-type-heatmap-plugin@link:src/platform/plugins/private/vis_types/heatmap": version "0.0.0" uid "" @@ -7941,51 +7941,51 @@ version "0.0.0" uid "" -"@kbn/vis-type-metric-plugin@link:src/plugins/vis_types/metric": +"@kbn/vis-type-metric-plugin@link:src/platform/plugins/private/vis_types/metric": version "0.0.0" uid "" -"@kbn/vis-type-pie-plugin@link:src/plugins/vis_types/pie": +"@kbn/vis-type-pie-plugin@link:src/platform/plugins/private/vis_types/pie": version "0.0.0" uid "" -"@kbn/vis-type-table-plugin@link:src/plugins/vis_types/table": +"@kbn/vis-type-table-plugin@link:src/platform/plugins/private/vis_types/table": version "0.0.0" uid "" -"@kbn/vis-type-tagcloud-plugin@link:src/plugins/vis_types/tagcloud": +"@kbn/vis-type-tagcloud-plugin@link:src/platform/plugins/private/vis_types/tagcloud": version "0.0.0" uid "" -"@kbn/vis-type-timelion-plugin@link:src/plugins/vis_types/timelion": +"@kbn/vis-type-timelion-plugin@link:src/platform/plugins/private/vis_types/timelion": version "0.0.0" uid "" -"@kbn/vis-type-timeseries-plugin@link:src/plugins/vis_types/timeseries": +"@kbn/vis-type-timeseries-plugin@link:src/platform/plugins/shared/vis_types/timeseries": version "0.0.0" uid "" -"@kbn/vis-type-vega-plugin@link:src/plugins/vis_types/vega": +"@kbn/vis-type-vega-plugin@link:src/platform/plugins/private/vis_types/vega": version "0.0.0" uid "" -"@kbn/vis-type-vislib-plugin@link:src/plugins/vis_types/vislib": +"@kbn/vis-type-vislib-plugin@link:src/platform/plugins/private/vis_types/vislib": version "0.0.0" uid "" -"@kbn/vis-type-xy-plugin@link:src/plugins/vis_types/xy": +"@kbn/vis-type-xy-plugin@link:src/platform/plugins/private/vis_types/xy": version "0.0.0" uid "" -"@kbn/visualization-ui-components@link:packages/kbn-visualization-ui-components": +"@kbn/visualization-ui-components@link:src/platform/packages/shared/kbn-visualization-ui-components": version "0.0.0" uid "" -"@kbn/visualization-utils@link:packages/kbn-visualization-utils": +"@kbn/visualization-utils@link:src/platform/packages/shared/kbn-visualization-utils": version "0.0.0" uid "" -"@kbn/visualizations-plugin@link:src/plugins/visualizations": +"@kbn/visualizations-plugin@link:src/platform/plugins/shared/visualizations": version "0.0.0" uid ""