From cef1d344cbe85fafa71eeba9cbb31864d0fe5fbb Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:26:02 +0100 Subject: [PATCH 01/51] Relocating module `@kbn/calculate-width-from-char-count` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../kbn-calculate-width-from-char-count/.storybook/main.js | 0 .../shared}/kbn-calculate-width-from-char-count/README.md | 0 .../shared}/kbn-calculate-width-from-char-count/index.ts | 0 .../kbn-calculate-width-from-char-count/jest.config.js | 4 ++-- .../shared}/kbn-calculate-width-from-char-count/kibana.jsonc | 0 .../shared}/kbn-calculate-width-from-char-count/package.json | 0 .../src/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 .../shared}/kbn-calculate-width-from-char-count/src/index.ts | 0 .../shared}/kbn-calculate-width-from-char-count/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 16 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages => src/platform/packages/shared}/kbn-calculate-width-from-char-count/jest.config.js (81%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b947f8dfede4b..c4a3a562f8640 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -301,7 +301,6 @@ packages/kbn-babel-transform @elastic/kibana-operations packages/kbn-bazel-runner @elastic/kibana-operations packages/kbn-bfetch-error @elastic/appex-sharedux 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-cases-components @elastic/response-ops packages/kbn-cbor @elastic/kibana-operations @@ -620,6 +619,7 @@ packages/shared-ux/table_persist @elastic/appex-sharedux src/core @elastic/kibana-core src/platform/packages/private/kbn-esql-editor @elastic/kibana-esql src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql +src/platform/packages/shared/kbn-calculate-width-from-char-count @elastic/kibana-visualizations src/platform/packages/shared/kbn-doc-links @elastic/docs src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql diff --git a/package.json b/package.json index 7a93af2e2ac7a..843268b6140fb 100644 --- a/package.json +++ b/package.json @@ -199,7 +199,7 @@ "@kbn/bfetch-explorer-plugin": "link:examples/bfetch_explorer", "@kbn/bfetch-plugin": "link:src/plugins/bfetch", "@kbn/calculate-auto": "link:packages/kbn-calculate-auto", - "@kbn/calculate-width-from-char-count": "link:packages/kbn-calculate-width-from-char-count", + "@kbn/calculate-width-from-char-count": "link:src/platform/packages/shared/kbn-calculate-width-from-char-count", "@kbn/canvas-plugin": "link:x-pack/plugins/canvas", "@kbn/cases-api-integration-test-plugin": "link:x-pack/test/cases_api_integration/common/plugins/cases", "@kbn/cases-components": "link:packages/kbn-cases-components", 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/packages/kbn-calculate-width-from-char-count/jest.config.js b/src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js similarity index 81% rename from packages/kbn-calculate-width-from-char-count/jest.config.js rename to src/platform/packages/shared/kbn-calculate-width-from-char-count/jest.config.js index 3881803ebb270..bedc110bec8c2 100644 --- a/packages/kbn-calculate-width-from-char-count/jest.config.js +++ b/src/platform/packages/shared/kbn-calculate-width-from-char-count/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-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/tsconfig.base.json b/tsconfig.base.json index 1c05a23678871..428a8d7cb66ea 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -122,8 +122,8 @@ "@kbn/bfetch-plugin/*": ["src/plugins/bfetch/*"], "@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/plugins/canvas"], "@kbn/canvas-plugin/*": ["x-pack/plugins/canvas/*"], "@kbn/capture-oas-snapshot-cli": ["packages/kbn-capture-oas-snapshot-cli"], diff --git a/yarn.lock b/yarn.lock index 703518b9f0afe..fbc52788c9f06 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4060,7 +4060,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 "" From bc6c2df242459bf8a14edfbe4a74088912bb053c Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:27:23 +0100 Subject: [PATCH 02/51] Relocating module `@kbn/chart-expressions-common` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../src}/plugins/chart_expressions/common/README.md | 0 .../plugins/chart_expressions/common/color_categories.test.ts | 0 .../src}/plugins/chart_expressions/common/color_categories.ts | 0 .../src}/plugins/chart_expressions/common/index.ts | 0 .../src}/plugins/chart_expressions/common/jest.config.js | 4 ++-- .../src}/plugins/chart_expressions/common/kibana.jsonc | 0 .../src}/plugins/chart_expressions/common/package.json | 0 .../src}/plugins/chart_expressions/common/tsconfig.json | 2 +- .../src}/plugins/chart_expressions/common/types.ts | 0 .../src}/plugins/chart_expressions/common/utils.test.ts | 0 .../src}/plugins/chart_expressions/common/utils.ts | 0 tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 15 files changed, 8 insertions(+), 8 deletions(-) rename src/{ => platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src}/plugins/chart_expressions/common/README.md (100%) rename src/{ => platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src}/plugins/chart_expressions/common/color_categories.test.ts (100%) rename src/{ => platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src}/plugins/chart_expressions/common/color_categories.ts (100%) rename src/{ => platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src}/plugins/chart_expressions/common/index.ts (100%) rename src/{ => platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src}/plugins/chart_expressions/common/jest.config.js (69%) rename src/{ => platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src}/plugins/chart_expressions/common/kibana.jsonc (100%) rename src/{ => platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src}/plugins/chart_expressions/common/package.json (100%) rename src/{ => platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src}/plugins/chart_expressions/common/tsconfig.json (81%) rename src/{ => platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src}/plugins/chart_expressions/common/types.ts (100%) rename src/{ => platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src}/plugins/chart_expressions/common/utils.test.ts (100%) rename src/{ => platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src}/plugins/chart_expressions/common/utils.ts (100%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c4a3a562f8640..e641a8511b83f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -624,12 +624,12 @@ src/platform/packages/shared/kbn-doc-links @elastic/docs src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql src/platform/packages/shared/kbn-esql-validation-autocomplete @elastic/kibana-esql +src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant src/plugins/bfetch @elastic/appex-sharedux -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 diff --git a/package.json b/package.json index 843268b6140fb..d7231ef0fd713 100644 --- a/package.json +++ b/package.json @@ -206,7 +206,7 @@ "@kbn/cases-plugin": "link:x-pack/plugins/cases", "@kbn/cbor": "link:packages/kbn-cbor", "@kbn/cell-actions": "link:packages/kbn-cell-actions", - "@kbn/chart-expressions-common": "link:src/plugins/chart_expressions/common", + "@kbn/chart-expressions-common": "link:src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common", "@kbn/chart-icons": "link:packages/kbn-chart-icons", "@kbn/charts-plugin": "link:src/plugins/charts", "@kbn/cloud": "link:packages/cloud", diff --git a/src/plugins/chart_expressions/common/README.md b/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/README.md similarity index 100% rename from src/plugins/chart_expressions/common/README.md rename to src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/README.md diff --git a/src/plugins/chart_expressions/common/color_categories.test.ts b/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/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/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/color_categories.test.ts diff --git a/src/plugins/chart_expressions/common/color_categories.ts b/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/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/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/color_categories.ts diff --git a/src/plugins/chart_expressions/common/index.ts b/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/index.ts similarity index 100% rename from src/plugins/chart_expressions/common/index.ts rename to src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/index.ts diff --git a/src/plugins/chart_expressions/common/jest.config.js b/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/jest.config.js similarity index 69% rename from src/plugins/chart_expressions/common/jest.config.js rename to src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/jest.config.js index fe155939f7529..6e85d187b33cc 100644 --- a/src/plugins/chart_expressions/common/jest.config.js +++ b/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/src/plugins/chart_expressions/common'], + rootDir: '../../../../../../../../../../../../../../../..', + roots: ['/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common'], }; diff --git a/src/plugins/chart_expressions/common/kibana.jsonc b/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/kibana.jsonc similarity index 100% rename from src/plugins/chart_expressions/common/kibana.jsonc rename to src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/kibana.jsonc diff --git a/src/plugins/chart_expressions/common/package.json b/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/package.json similarity index 100% rename from src/plugins/chart_expressions/common/package.json rename to src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/package.json diff --git a/src/plugins/chart_expressions/common/tsconfig.json b/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/tsconfig.json similarity index 81% rename from src/plugins/chart_expressions/common/tsconfig.json rename to src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/tsconfig.json index e6426fddeda0f..7905ee3f22b66 100644 --- a/src/plugins/chart_expressions/common/tsconfig.json +++ b/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/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/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/types.ts similarity index 100% rename from src/plugins/chart_expressions/common/types.ts rename to src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/types.ts diff --git a/src/plugins/chart_expressions/common/utils.test.ts b/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/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/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/utils.test.ts diff --git a/src/plugins/chart_expressions/common/utils.ts b/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/utils.ts similarity index 100% rename from src/plugins/chart_expressions/common/utils.ts rename to src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/utils.ts diff --git a/tsconfig.base.json b/tsconfig.base.json index 428a8d7cb66ea..bb3ca00f036b2 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -138,8 +138,8 @@ "@kbn/cbor/*": ["packages/kbn-cbor/*"], "@kbn/cell-actions": ["packages/kbn-cell-actions"], "@kbn/cell-actions/*": ["packages/kbn-cell-actions/*"], - "@kbn/chart-expressions-common": ["src/plugins/chart_expressions/common"], - "@kbn/chart-expressions-common/*": ["src/plugins/chart_expressions/common/*"], + "@kbn/chart-expressions-common": ["src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common"], + "@kbn/chart-expressions-common/*": ["src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/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"], diff --git a/yarn.lock b/yarn.lock index fbc52788c9f06..1d8cdf0aa8e66 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4092,7 +4092,7 @@ version "0.0.0" uid "" -"@kbn/chart-expressions-common@link:src/plugins/chart_expressions/common": +"@kbn/chart-expressions-common@link:src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common": version "0.0.0" uid "" From bc7c87ac94e9bf098502a7b4e1ddcde03272e03a Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:28:42 +0100 Subject: [PATCH 03/51] Relocating module `@kbn/chart-icons` --- .github/CODEOWNERS | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- .../packages/shared}/kbn-chart-icons/.storybook/main.js | 0 .../platform/packages/shared}/kbn-chart-icons/README.md | 0 .../platform/packages/shared}/kbn-chart-icons/index.ts | 0 .../platform/packages/shared}/kbn-chart-icons/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-chart-icons/kibana.jsonc | 0 .../platform/packages/shared}/kbn-chart-icons/package.json | 0 .../shared}/kbn-chart-icons/src/__stories__/icons.stories.tsx | 0 .../kbn-chart-icons/src/assets/annotation_icons/circle.tsx | 0 .../kbn-chart-icons/src/assets/annotation_icons/index.tsx | 0 .../kbn-chart-icons/src/assets/annotation_icons/triangle.tsx | 0 .../shared}/kbn-chart-icons/src/assets/axis_bottom.tsx | 0 .../packages/shared}/kbn-chart-icons/src/assets/axis_left.tsx | 0 .../shared}/kbn-chart-icons/src/assets/axis_right.tsx | 0 .../packages/shared}/kbn-chart-icons/src/assets/axis_top.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_area.tsx | 0 .../kbn-chart-icons/src/assets/chart_area_percentage.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_area_stacked.tsx | 0 .../packages/shared}/kbn-chart-icons/src/assets/chart_bar.tsx | 0 .../kbn-chart-icons/src/assets/chart_bar_annotations.tsx | 0 .../kbn-chart-icons/src/assets/chart_bar_horizontal.tsx | 0 .../src/assets/chart_bar_horizontal_percentage.tsx | 0 .../src/assets/chart_bar_horizontal_stacked.tsx | 0 .../kbn-chart-icons/src/assets/chart_bar_percentage.tsx | 0 .../kbn-chart-icons/src/assets/chart_bar_reference_line.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_bar_stacked.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_datatable.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_donut.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_gauge.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_gauge_arc.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_gauge_circle.tsx | 0 .../kbn-chart-icons/src/assets/chart_gauge_semi_circle.tsx | 0 .../kbn-chart-icons/src/assets/chart_gauge_simple_icons.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_heatmap.tsx | 0 .../kbn-chart-icons/src/assets/chart_horizontal_bullet.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_line.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_metric.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_mixed_xy.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_mosaic.tsx | 0 .../packages/shared}/kbn-chart-icons/src/assets/chart_pie.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_tagcloud.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_treemap.tsx | 0 .../kbn-chart-icons/src/assets/chart_vertical_bullet.tsx | 0 .../shared}/kbn-chart-icons/src/assets/chart_waffle.tsx | 0 .../shared}/kbn-chart-icons/src/assets/common_styles.tsx | 0 .../shared}/kbn-chart-icons/src/assets/donut_hole_icons.tsx | 0 .../shared}/kbn-chart-icons/src/assets/drop_illustration.tsx | 0 .../shared}/kbn-chart-icons/src/assets/globe_illustration.tsx | 0 .../kbn-chart-icons/src/assets/icon_simple_wrapper.tsx | 0 .../packages/shared}/kbn-chart-icons/src/assets/index.ts | 0 .../packages/shared}/kbn-chart-icons/src/assets/legend.tsx | 0 .../shared}/kbn-chart-icons/src/assets/region_map.tsx | 0 .../platform/packages/shared}/kbn-chart-icons/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 57 files changed, 9 insertions(+), 9 deletions(-) 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 => 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e641a8511b83f..950492d44f352 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -305,7 +305,6 @@ packages/kbn-capture-oas-snapshot-cli @elastic/kibana-core packages/kbn-cases-components @elastic/response-ops packages/kbn-cbor @elastic/kibana-operations packages/kbn-cell-actions @elastic/security-threat-hunting-explore -packages/kbn-chart-icons @elastic/kibana-visualizations packages/kbn-check-mappings-update-cli @elastic/kibana-core packages/kbn-check-prod-native-modules-cli @elastic/kibana-operations packages/kbn-ci-stats-core @elastic/kibana-operations @@ -620,6 +619,7 @@ src/core @elastic/kibana-core src/platform/packages/private/kbn-esql-editor @elastic/kibana-esql src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql src/platform/packages/shared/kbn-calculate-width-from-char-count @elastic/kibana-visualizations +src/platform/packages/shared/kbn-chart-icons @elastic/kibana-visualizations src/platform/packages/shared/kbn-doc-links @elastic/docs src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql diff --git a/package.json b/package.json index d7231ef0fd713..4eaa684bf6959 100644 --- a/package.json +++ b/package.json @@ -207,7 +207,7 @@ "@kbn/cbor": "link:packages/kbn-cbor", "@kbn/cell-actions": "link:packages/kbn-cell-actions", "@kbn/chart-expressions-common": "link:src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common", - "@kbn/chart-icons": "link:packages/kbn-chart-icons", + "@kbn/chart-icons": "link:src/platform/packages/shared/kbn-chart-icons", "@kbn/charts-plugin": "link:src/plugins/charts", "@kbn/cloud": "link:packages/cloud", "@kbn/cloud-chat-plugin": "link:x-pack/plugins/cloud_integrations/cloud_chat", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index c89df73f1b877..3e1f4fe2944d6 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -21,7 +21,7 @@ export const storybookAliases = { coloring: 'packages/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: 'packages/kbn-custom-icons/.storybook', custom_integrations: 'src/plugins/custom_integrations/storybook', 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-chart-icons/jest.config.js b/src/platform/packages/shared/kbn-chart-icons/jest.config.js similarity index 84% rename from packages/kbn-chart-icons/jest.config.js rename to src/platform/packages/shared/kbn-chart-icons/jest.config.js index 1ddf262c2a7d5..b75916eaa1099 100644 --- a/packages/kbn-chart-icons/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-chart-icons'], + 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/tsconfig.base.json b/tsconfig.base.json index bb3ca00f036b2..5c74c377616f5 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -140,8 +140,8 @@ "@kbn/cell-actions/*": ["packages/kbn-cell-actions/*"], "@kbn/chart-expressions-common": ["src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common"], "@kbn/chart-expressions-common/*": ["src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/*"], - "@kbn/chart-icons": ["packages/kbn-chart-icons"], - "@kbn/chart-icons/*": ["packages/kbn-chart-icons/*"], + "@kbn/chart-icons": ["src/platform/packages/shared/kbn-chart-icons"], + "@kbn/chart-icons/*": ["src/platform/packages/shared/kbn-chart-icons/*"], "@kbn/charts-plugin": ["src/plugins/charts"], "@kbn/charts-plugin/*": ["src/plugins/charts/*"], "@kbn/check-mappings-update-cli": ["packages/kbn-check-mappings-update-cli"], diff --git a/yarn.lock b/yarn.lock index 1d8cdf0aa8e66..b19f4d7b6f819 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4096,7 +4096,7 @@ 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 "" From 5a08b2964deb17b3d91e628ae779c0929677d6ef Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:30:07 +0100 Subject: [PATCH 04/51] Relocating module `@kbn/charts-plugin` --- .../scripts/pipelines/pull_request/pipeline.ts | 2 +- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../__tests__/enumerate_patterns.test.js | 6 +++--- .../ingest_coverage/__tests__/transforms.test.js | 12 ++++++------ .../plugins/shared}/charts/README.md | 0 .../plugins/shared}/charts/common/constants.ts | 0 .../charts/common/expressions/palette/index.ts | 0 .../common/expressions/palette/palette.test.ts | 0 .../charts/common/expressions/palette/palette.ts | 0 .../charts/common/expressions/palette/palette_fn.ts | 0 .../expressions/palette/system_palette.test.ts | 0 .../common/expressions/palette/system_palette.ts | 0 .../charts/common/expressions/palette/types.ts | 0 .../plugins/shared}/charts/common/index.ts | 0 .../charts/common/static/color_maps/color_maps.ts | 0 .../common/static/color_maps/heatmap_color.test.ts | 0 .../charts/common/static/color_maps/heatmap_color.ts | 0 .../shared}/charts/common/static/color_maps/index.ts | 0 .../charts/common/static/components/collections.ts | 0 .../shared}/charts/common/static/components/index.ts | 0 .../plugins/shared}/charts/common/static/index.ts | 0 .../shared}/charts/common/static/overrides/index.ts | 0 .../charts/common/static/overrides/settings.ts | 0 .../shared}/charts/common/static/styles/index.ts | 0 .../common/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 | 0 .../plugins/shared}/charts/public/mocks.ts | 0 .../plugins/shared}/charts/public/plugin.ts | 0 .../services/active_cursor/active_cursor.test.ts | 0 .../public/services/active_cursor/active_cursor.ts | 0 .../active_cursor/active_cursor_utils.test.ts | 0 .../services/active_cursor/active_cursor_utils.ts | 0 .../charts/public/services/active_cursor/index.ts | 0 .../charts/public/services/active_cursor/mock.ts | 0 .../charts/public/services/active_cursor/types.ts | 0 .../services/active_cursor/use_active_cursor.test.ts | 0 .../services/active_cursor/use_active_cursor.ts | 0 .../plugins/shared}/charts/public/services/index.ts | 0 .../charts/public/services/mapped_colors/index.ts | 0 .../services/mapped_colors/mapped_colors.test.ts | 0 .../public/services/mapped_colors/mapped_colors.ts | 0 .../charts/public/services/palettes/README.md | 0 .../charts/public/services/palettes/helpers.test.ts | 0 .../charts/public/services/palettes/helpers.ts | 0 .../public/services/palettes/lighten_color.test.ts | 0 .../charts/public/services/palettes/lighten_color.ts | 0 .../shared}/charts/public/services/palettes/mock.ts | 0 .../public/services/palettes/palettes.test.tsx | 0 .../charts/public/services/palettes/palettes.tsx | 0 .../charts/public/services/palettes/service.ts | 0 .../shared}/charts/public/services/theme/README.md | 0 .../shared}/charts/public/services/theme/index.ts | 0 .../shared}/charts/public/services/theme/mock.ts | 0 .../charts/public/services/theme/theme.test.tsx | 0 .../shared}/charts/public/services/theme/theme.ts | 0 .../charts/public/static/colors/color_palette.ts | 0 .../shared}/charts/public/static/colors/index.ts | 0 .../charts/public/static/colors/seed_colors.test.ts | 0 .../charts/public/static/colors/seed_colors.ts | 0 .../charts/public/static/components/color_picker.tsx | 0 .../public/static/components/common_chart_styles.ts | 0 .../charts/public/static/components/current_time.tsx | 0 .../public/static/components/empty_placeholder.tsx | 0 .../charts/public/static/components/endzones.tsx | 0 .../shared}/charts/public/static/components/index.ts | 0 .../public/static/components/legend_toggle.tsx | 0 .../charts/public/static/components/warnings.tsx | 0 .../plugins/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 +- tsconfig.base.json | 4 ++-- .../explorer_charts/explorer_charts_container.js | 2 +- yarn.lock | 2 +- 80 files changed, 23 insertions(+), 23 deletions(-) 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 => platform/plugins/shared}/charts/jest.config.js (72%) rename src/{plugins => platform/plugins/shared}/charts/kibana.jsonc (100%) rename src/{plugins => platform/plugins/shared}/charts/public/index.ts (100%) 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/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 (90%) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index e4a0617579cf5..6e948792319f2 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -308,7 +308,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^packages\/react/, /^packages\/shared-ux/, /^src\/core/, - /^src\/plugins\/charts/, + /^src\/platform\/plugins\/shared\/charts/, /^src\/plugins\/controls/, /^src\/plugins\/data/, /^src\/plugins\/data_views/, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 950492d44f352..441c46f7fe189 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -625,6 +625,7 @@ 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/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations +src/platform/plugins/shared/charts @elastic/kibana-visualizations src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management @@ -637,7 +638,6 @@ 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/console @elastic/kibana-management src/plugins/content_management @elastic/appex-sharedux src/plugins/controls @elastic/kibana-presentation diff --git a/.i18nrc.json b/.i18nrc.json index 12294fb37e5a2..bebd8f78c25b1 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -12,7 +12,7 @@ "bfetchError": "packages/kbn-bfetch-error", "cases": ["packages/kbn-cases-components"], "cellActions": "packages/kbn-cell-actions", - "charts": "src/plugins/charts", + "charts": "src/platform/plugins/shared/charts", "console": "src/plugins/console", "contentManagement": "packages/content-management", "core": ["src/core", "packages/core"], diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index dc65c9df54e92..f2b760992eb03 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -36,7 +36,7 @@ as uiSettings within the code. |bfetch allows to batch HTTP requests and streams responses back. -|{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. diff --git a/package.json b/package.json index 4eaa684bf6959..5322af83baca6 100644 --- a/package.json +++ b/package.json @@ -208,7 +208,7 @@ "@kbn/cell-actions": "link:packages/kbn-cell-actions", "@kbn/chart-expressions-common": "link:src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common", "@kbn/chart-icons": "link:src/platform/packages/shared/kbn-chart-icons", - "@kbn/charts-plugin": "link:src/plugins/charts", + "@kbn/charts-plugin": "link:src/platform/plugins/shared/charts", "@kbn/cloud": "link:packages/cloud", "@kbn/cloud-chat-plugin": "link:x-pack/plugins/cloud_integrations/cloud_chat", "@kbn/cloud-data-migration-plugin": "link:x-pack/plugins/cloud_integrations/cloud_data_migration", 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 5faeab1acb539..d8c64b26978c2 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/plugins/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__/transforms.test.js b/src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js index 7035b8bad93fd..55493fb14fa11 100644 --- a/src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js +++ b/src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js @@ -99,7 +99,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); @@ -111,25 +111,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/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/charts/jest.config.js b/src/platform/plugins/shared/charts/jest.config.js similarity index 72% rename from src/plugins/charts/jest.config.js rename to src/platform/plugins/shared/charts/jest.config.js index ff90f968b3139..c3205af188583 100644 --- a/src/plugins/charts/jest.config.js +++ b/src/platform/plugins/shared/charts/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/charts'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/charts', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/charts'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/charts', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/charts/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: ['/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 100% rename from src/plugins/charts/public/index.ts rename to src/platform/plugins/shared/charts/public/index.ts 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/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 90% rename from src/plugins/charts/tsconfig.json rename to src/platform/plugins/shared/charts/tsconfig.json index 8ad33a8517031..d55997a93a6de 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/tsconfig.base.json b/tsconfig.base.json index 5c74c377616f5..9fc0dfe920a5e 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -142,8 +142,8 @@ "@kbn/chart-expressions-common/*": ["src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/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/plugins/charts"], - "@kbn/charts-plugin/*": ["src/plugins/charts/*"], + "@kbn/charts-plugin": ["src/platform/plugins/shared/charts"], + "@kbn/charts-plugin/*": ["src/platform/plugins/shared/charts/*"], "@kbn/check-mappings-update-cli": ["packages/kbn-check-mappings-update-cli"], "@kbn/check-mappings-update-cli/*": ["packages/kbn-check-mappings-update-cli/*"], "@kbn/check-prod-native-modules-cli": ["packages/kbn-check-prod-native-modules-cli"], diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.js b/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.js index 9bc1317a9aa50..072047bc5dca7 100644 --- a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.js +++ b/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.js @@ -239,7 +239,7 @@ function ExplorerChartContainer({
} width={0} diff --git a/yarn.lock b/yarn.lock index b19f4d7b6f819..01d9bdf37507f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4100,7 +4100,7 @@ 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 "" From 805fc62db3f320354616ae4c231a294f94bd4260 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:31:27 +0100 Subject: [PATCH 05/51] Relocating module `@kbn/coloring` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- .../platform/packages/shared}/kbn-coloring/.storybook/main.js | 0 .../platform/packages/shared}/kbn-coloring/README.md | 0 .../platform/packages/shared}/kbn-coloring/index.ts | 0 .../platform/packages/shared}/kbn-coloring/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-coloring/kibana.jsonc | 0 .../platform/packages/shared}/kbn-coloring/package.json | 0 .../shared}/kbn-coloring/src/color_manipulation/index.ts | 0 .../packages/shared}/kbn-coloring/src/palettes/constants.ts | 0 .../packages/shared}/kbn-coloring/src/palettes/index.ts | 0 .../kbn-coloring/src/palettes/mocks/palettes_registry.ts | 0 .../packages/shared}/kbn-coloring/src/palettes/types.ts | 0 .../packages/shared}/kbn-coloring/src/palettes/utils.test.ts | 0 .../packages/shared}/kbn-coloring/src/palettes/utils.ts | 0 .../src/shared_components/color_mapping/README.md | 0 .../color_mapping/__stories__/color_mapping.stories.tsx | 0 .../color_mapping/categorical_color_mapping.test.tsx | 0 .../color_mapping/categorical_color_mapping.tsx | 0 .../color_mapping/color/color_handling.test.ts | 0 .../shared_components/color_mapping/color/color_handling.ts | 0 .../src/shared_components/color_mapping/color/color_math.ts | 0 .../shared_components/color_mapping/color/rule_matching.ts | 0 .../color_mapping/components/assignment/assignment.tsx | 0 .../color_mapping/components/assignment/match.tsx | 0 .../color_mapping/components/assignment/range.tsx | 0 .../components/assignment/special_assignment.tsx | 0 .../color_mapping/components/color_picker/color_picker.tsx | 0 .../color_mapping/components/color_picker/color_swatch.tsx | 0 .../color_mapping/components/color_picker/palette_colors.tsx | 0 .../color_mapping/components/color_picker/rgb_picker.tsx | 0 .../color_mapping/components/container/assigments.tsx | 0 .../color_mapping/components/container/container.tsx | 0 .../components/container/unassigned_terms_config.tsx | 0 .../color_mapping/components/palette_selector/gradient.tsx | 0 .../components/palette_selector/gradient_add_stop.tsx | 0 .../components/palette_selector/palette_selector.tsx | 0 .../color_mapping/components/palette_selector/scale.tsx | 0 .../src/shared_components/color_mapping/config/assignments.ts | 0 .../color_mapping/config/default_color_mapping.ts | 0 .../src/shared_components/color_mapping/config/index.ts | 0 .../src/shared_components/color_mapping/config/types.ts | 0 .../kbn-coloring/src/shared_components/color_mapping/index.ts | 0 .../shared_components/color_mapping/palettes/elastic_brand.ts | 0 .../shared_components/color_mapping/palettes/eui_amsterdam.ts | 0 .../src/shared_components/color_mapping/palettes/index.ts | 0 .../shared_components/color_mapping/palettes/kibana_legacy.ts | 0 .../src/shared_components/color_mapping/palettes/neutral.ts | 0 .../shared_components/color_mapping/state/color_mapping.ts | 0 .../src/shared_components/color_mapping/state/selectors.ts | 0 .../src/shared_components/color_mapping/state/ui.ts | 0 .../coloring/__stories__/customizable_palette.stories.tsx | 0 .../src/shared_components/coloring/__stories__/palettes.ts | 0 .../shared_components/coloring/assets/distribute_equally.tsx | 0 .../src/shared_components/coloring/assets/infinity.tsx | 0 .../src/shared_components/coloring/assets/related.tsx | 0 .../src/shared_components/coloring/assets/value_max.tsx | 0 .../src/shared_components/coloring/assets/value_min.tsx | 0 .../coloring/color_ranges/color_ranges.test.tsx | 0 .../shared_components/coloring/color_ranges/color_ranges.tsx | 0 .../coloring/color_ranges/color_ranges_context.ts | 0 .../coloring/color_ranges/color_ranges_extra_actions.tsx | 0 .../coloring/color_ranges/color_ranges_item.tsx | 0 .../coloring/color_ranges/color_ranges_item_buttons.tsx | 0 .../coloring/color_ranges/color_ranges_validation.test.ts | 0 .../coloring/color_ranges/color_ranges_validation.tsx | 0 .../src/shared_components/coloring/color_ranges/index.tsx | 0 .../src/shared_components/coloring/color_ranges/types.ts | 0 .../coloring/color_ranges/utils/color_ranges_crud.test.ts | 0 .../coloring/color_ranges/utils/color_ranges_crud.ts | 0 .../color_ranges/utils/color_ranges_extra_actions.test.ts | 0 .../coloring/color_ranges/utils/color_ranges_extra_actions.ts | 0 .../shared_components/coloring/color_ranges/utils/index.ts | 0 .../coloring/color_ranges/utils/utils.test.ts | 0 .../shared_components/coloring/color_ranges/utils/utils.ts | 0 .../kbn-coloring/src/shared_components/coloring/index.ts | 0 .../src/shared_components/coloring/mocks/palettes_registry.ts | 0 .../shared_components/coloring/palette_configuration.test.tsx | 0 .../src/shared_components/coloring/palette_configuration.tsx | 0 .../coloring/palette_configuration_reducer.ts | 0 .../src/shared_components/coloring/palette_picker.tsx | 0 .../src/shared_components/coloring/tooltip_wrapper.tsx | 0 .../kbn-coloring/src/shared_components/coloring/types.ts | 0 .../kbn-coloring/src/shared_components/coloring/utils.test.ts | 0 .../kbn-coloring/src/shared_components/coloring/utils.ts | 0 .../shared}/kbn-coloring/src/shared_components/index.ts | 0 .../platform/packages/shared}/kbn-coloring/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 91 files changed, 10 insertions(+), 10 deletions(-) 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 => 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/palettes/elastic_brand.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/palettes/eui_amsterdam.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/palettes/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/palettes/kibana_legacy.ts (100%) rename {packages => src/platform/packages/shared}/kbn-coloring/src/shared_components/color_mapping/palettes/neutral.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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 441c46f7fe189..d92e3b5f62bca 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -313,7 +313,6 @@ 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-config @elastic/kibana-core packages/kbn-config-mocks @elastic/kibana-core packages/kbn-config-schema @elastic/kibana-core @@ -620,6 +619,7 @@ src/platform/packages/private/kbn-esql-editor @elastic/kibana-esql src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql src/platform/packages/shared/kbn-calculate-width-from-char-count @elastic/kibana-visualizations src/platform/packages/shared/kbn-chart-icons @elastic/kibana-visualizations +src/platform/packages/shared/kbn-coloring @elastic/kibana-visualizations src/platform/packages/shared/kbn-doc-links @elastic/docs src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql diff --git a/.i18nrc.json b/.i18nrc.json index bebd8f78c25b1..8641fcad4100f 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -118,7 +118,7 @@ "securitySolutionPackages": "x-pack/packages/security-solution", "serverlessPackages": "packages/serverless", "sse": ["packages/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", diff --git a/package.json b/package.json index 5322af83baca6..47ba06f5e8e4c 100644 --- a/package.json +++ b/package.json @@ -224,7 +224,7 @@ "@kbn/cloud-security-posture-plugin": "link:x-pack/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:packages/kbn-config", "@kbn/config-mocks": "link:packages/kbn-config-mocks", "@kbn/config-schema": "link:packages/kbn-config-schema", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 3e1f4fe2944d6..f88ab616908e7 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -18,7 +18,7 @@ export const storybookAliases = { cell_actions: 'packages/kbn-cell-actions/.storybook', cloud_security_posture_packages: 'x-pack/packages/kbn-cloud-security-posture/storybook/config', cloud: 'packages/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: 'src/platform/packages/shared/kbn-chart-icons/.storybook', 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-coloring/jest.config.js b/src/platform/packages/shared/kbn-coloring/jest.config.js similarity index 84% rename from packages/kbn-coloring/jest.config.js rename to src/platform/packages/shared/kbn-coloring/jest.config.js index e425aa35ebc82..cad1365380997 100644 --- a/packages/kbn-coloring/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-coloring'], + 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/palettes/elastic_brand.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/palettes/elastic_brand.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/palettes/elastic_brand.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/palettes/elastic_brand.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/palettes/eui_amsterdam.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/palettes/eui_amsterdam.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/palettes/eui_amsterdam.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/palettes/eui_amsterdam.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/palettes/index.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/palettes/index.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/palettes/index.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/palettes/index.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/palettes/kibana_legacy.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/palettes/kibana_legacy.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/palettes/kibana_legacy.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/palettes/kibana_legacy.ts diff --git a/packages/kbn-coloring/src/shared_components/color_mapping/palettes/neutral.ts b/src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/palettes/neutral.ts similarity index 100% rename from packages/kbn-coloring/src/shared_components/color_mapping/palettes/neutral.ts rename to src/platform/packages/shared/kbn-coloring/src/shared_components/color_mapping/palettes/neutral.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 3a97faa1b9d3a..c6a01ef773bae 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/tsconfig.base.json b/tsconfig.base.json index 9fc0dfe920a5e..dc0e6bdedc915 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -190,8 +190,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": ["packages/kbn-config"], "@kbn/config/*": ["packages/kbn-config/*"], "@kbn/config-mocks": ["packages/kbn-config-mocks"], diff --git a/yarn.lock b/yarn.lock index 01d9bdf37507f..4aee656ed29e0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4196,7 +4196,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 "" From 6cead46725b2db76cd805df82816b08bdfb70c4c Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:33:00 +0100 Subject: [PATCH 06/51] Relocating module `@kbn/data-plugin` --- .buildkite/scripts/pipelines/pull_request/pipeline.ts | 10 +++++----- .eslintignore | 2 +- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- .../architecture/core/elasticsearch-service.asciidoc | 2 +- docs/developer/best-practices/index.asciidoc | 4 ++-- docs/developer/plugin-list.asciidoc | 2 +- examples/search_examples/public/plugin.ts | 2 +- package.json | 2 +- .../build_api_declarations/extract_import_refs.test.ts | 4 ++-- packages/kbn-docs-utils/src/utils.ts | 2 +- .../src/repo_source_classifier.ts | 2 +- .../src/autocomplete/index.mock.ts | 2 +- .../src/fields/index.mock.ts | 2 +- .../src/filter_field_to_list/index.ts | 2 +- .../hooks/use_field_value_autocomplete/index.test.ts | 2 +- .../src/helpers/index.ts | 2 +- .../mocks/jest-combined/bulk-data.json | 4 ++-- src/dev/storybook/aliases.ts | 2 +- .../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/datatable_utilities_service.ts | 0 .../shared}/data/common/datatable_utilities/index.ts | 0 .../shared}/data/common/datatable_utilities/mock.ts | 0 .../plugins/shared}/data/common/es_query/index.ts | 0 .../plugins/shared}/data/common/exports/constants.ts | 0 .../shared}/data/common/exports/escape_value.test.ts | 0 .../shared}/data/common/exports/escape_value.ts | 0 .../shared}/data/common/exports/export_csv.test.ts | 0 .../plugins/shared}/data/common/exports/export_csv.tsx | 0 .../shared}/data/common/exports/formula_checks.ts | 0 .../plugins/shared}/data/common/exports/index.ts | 0 .../plugins/shared}/data/common/index.ts | 0 .../shared}/data/common/kbn_field_types/index.ts | 0 .../shared}/data/common/kbn_field_types/types.ts | 0 .../plugins/shared}/data/common/mocks.ts | 0 .../common/query/filters/persistable_state.test.ts | 0 .../data/common/query/filters/persistable_state.ts | 0 .../plugins/shared}/data/common/query/index.ts | 0 .../plugins/shared}/data/common/query/is_query.ts | 0 .../data/common/query/persistable_state.test.ts | 0 .../shared}/data/common/query/persistable_state.ts | 0 .../plugins/shared}/data/common/query/query_state.ts | 0 .../common/query/text_based_query_state_to_ast.test.ts | 0 .../data/common/query/text_based_query_state_to_ast.ts | 0 ...xt_based_query_state_to_ast_with_validation.test.ts | 0 .../text_based_query_state_to_ast_with_validation.ts | 0 .../data/common/query/timefilter/get_time.test.ts | 0 .../shared}/data/common/query/timefilter/get_time.ts | 0 .../shared}/data/common/query/timefilter/index.ts | 0 .../data/common/query/timefilter/is_time_range.ts | 0 .../shared}/data/common/query/timefilter/types.ts | 0 .../plugins/shared}/data/common/query/types.ts | 0 .../shared}/data/common/search/aggs/agg_config.test.ts | 0 .../shared}/data/common/search/aggs/agg_config.ts | 0 .../data/common/search/aggs/agg_configs.test.ts | 0 .../shared}/data/common/search/aggs/agg_configs.ts | 0 .../shared}/data/common/search/aggs/agg_groups.ts | 0 .../shared}/data/common/search/aggs/agg_params.test.ts | 0 .../shared}/data/common/search/aggs/agg_params.ts | 0 .../shared}/data/common/search/aggs/agg_type.test.ts | 0 .../shared}/data/common/search/aggs/agg_type.ts | 0 .../shared}/data/common/search/aggs/agg_types.ts | 0 .../data/common/search/aggs/agg_types_registry.test.ts | 0 .../data/common/search/aggs/agg_types_registry.ts | 0 .../data/common/search/aggs/aggs_service.test.ts | 0 .../shared}/data/common/search/aggs/aggs_service.ts | 0 .../common/search/aggs/buckets/_interval_options.ts | 0 .../common/search/aggs/buckets/_terms_order_helper.ts | 0 .../aggs/buckets/_terms_other_bucket_helper.test.ts | 0 .../search/aggs/buckets/_terms_other_bucket_helper.ts | 0 .../data/common/search/aggs/buckets/bucket_agg_type.ts | 0 .../common/search/aggs/buckets/bucket_agg_types.ts | 0 .../aggs/buckets/create_filter/date_histogram.test.ts | 0 .../aggs/buckets/create_filter/date_histogram.ts | 0 .../aggs/buckets/create_filter/date_range.test.ts | 0 .../search/aggs/buckets/create_filter/date_range.ts | 0 .../search/aggs/buckets/create_filter/filters.test.ts | 0 .../search/aggs/buckets/create_filter/filters.ts | 0 .../aggs/buckets/create_filter/histogram.test.ts | 0 .../search/aggs/buckets/create_filter/histogram.ts | 0 .../aggs/buckets/create_filter/ip_prefix.test.ts | 0 .../search/aggs/buckets/create_filter/ip_prefix.ts | 0 .../search/aggs/buckets/create_filter/ip_range.test.ts | 0 .../search/aggs/buckets/create_filter/ip_range.ts | 0 .../search/aggs/buckets/create_filter/multi_terms.ts | 0 .../search/aggs/buckets/create_filter/range.test.ts | 0 .../common/search/aggs/buckets/create_filter/range.ts | 0 .../search/aggs/buckets/create_filter/terms.test.ts | 0 .../common/search/aggs/buckets/create_filter/terms.ts | 0 .../data/common/search/aggs/buckets/date_histogram.ts | 0 .../search/aggs/buckets/date_histogram_fn.test.ts | 0 .../common/search/aggs/buckets/date_histogram_fn.ts | 0 .../data/common/search/aggs/buckets/date_range.test.ts | 0 .../data/common/search/aggs/buckets/date_range.ts | 0 .../common/search/aggs/buckets/date_range_fn.test.ts | 0 .../data/common/search/aggs/buckets/date_range_fn.ts | 0 .../common/search/aggs/buckets/diversified_sampler.ts | 0 .../search/aggs/buckets/diversified_sampler_fn.test.ts | 0 .../search/aggs/buckets/diversified_sampler_fn.ts | 0 .../data/common/search/aggs/buckets/filter.test.ts | 0 .../shared}/data/common/search/aggs/buckets/filter.ts | 0 .../data/common/search/aggs/buckets/filter_fn.test.ts | 0 .../data/common/search/aggs/buckets/filter_fn.ts | 0 .../data/common/search/aggs/buckets/filters.test.ts | 0 .../shared}/data/common/search/aggs/buckets/filters.ts | 0 .../data/common/search/aggs/buckets/filters_fn.test.ts | 0 .../data/common/search/aggs/buckets/filters_fn.ts | 0 .../data/common/search/aggs/buckets/geo_tile.ts | 0 .../common/search/aggs/buckets/geo_tile_fn.test.ts | 0 .../data/common/search/aggs/buckets/geo_tile_fn.ts | 0 .../data/common/search/aggs/buckets/histogram.test.ts | 0 .../data/common/search/aggs/buckets/histogram.ts | 0 .../common/search/aggs/buckets/histogram_fn.test.ts | 0 .../data/common/search/aggs/buckets/histogram_fn.ts | 0 .../shared}/data/common/search/aggs/buckets/index.ts | 0 .../data/common/search/aggs/buckets/ip_prefix.ts | 0 .../common/search/aggs/buckets/ip_prefix_fn.test.ts | 0 .../data/common/search/aggs/buckets/ip_prefix_fn.ts | 0 .../data/common/search/aggs/buckets/ip_range.ts | 0 .../common/search/aggs/buckets/ip_range_fn.test.ts | 0 .../data/common/search/aggs/buckets/ip_range_fn.ts | 0 .../common/search/aggs/buckets/lib/cidr_mask.test.ts | 0 .../data/common/search/aggs/buckets/lib/cidr_mask.ts | 0 .../data/common/search/aggs/buckets/lib/date_range.ts | 0 .../buckets/lib/histogram_calculate_interval.test.ts | 0 .../aggs/buckets/lib/histogram_calculate_interval.ts | 0 .../data/common/search/aggs/buckets/lib/ip_prefix.ts | 0 .../data/common/search/aggs/buckets/lib/ip_range.ts | 0 .../lib/time_buckets/calc_auto_interval.test.ts | 0 .../buckets/lib/time_buckets/calc_auto_interval.ts | 0 .../aggs/buckets/lib/time_buckets/calc_es_interval.ts | 0 .../aggs/buckets/lib/time_buckets/i18n_messages.ts | 0 .../search/aggs/buckets/lib/time_buckets/index.ts | 0 .../aggs/buckets/lib/time_buckets/time_buckets.test.ts | 0 .../aggs/buckets/lib/time_buckets/time_buckets.ts | 0 .../aggs/buckets/migrate_include_exclude_format.ts | 0 .../data/common/search/aggs/buckets/multi_field_key.ts | 0 .../common/search/aggs/buckets/multi_terms.test.ts | 0 .../data/common/search/aggs/buckets/multi_terms.ts | 0 .../data/common/search/aggs/buckets/multi_terms_fn.ts | 0 .../data/common/search/aggs/buckets/range.test.ts | 0 .../shared}/data/common/search/aggs/buckets/range.ts | 0 .../data/common/search/aggs/buckets/range_fn.test.ts | 0 .../data/common/search/aggs/buckets/range_fn.ts | 0 .../data/common/search/aggs/buckets/range_key.ts | 0 .../data/common/search/aggs/buckets/rare_terms.test.ts | 0 .../data/common/search/aggs/buckets/rare_terms.ts | 0 .../data/common/search/aggs/buckets/rare_terms_fn.ts | 0 .../shared}/data/common/search/aggs/buckets/sampler.ts | 0 .../data/common/search/aggs/buckets/sampler_fn.test.ts | 0 .../data/common/search/aggs/buckets/sampler_fn.ts | 0 .../common/search/aggs/buckets/shard_delay.test.ts | 0 .../data/common/search/aggs/buckets/shard_delay.ts | 0 .../common/search/aggs/buckets/shard_delay_fn.test.ts | 0 .../data/common/search/aggs/buckets/shard_delay_fn.ts | 0 .../search/aggs/buckets/significant_terms.test.ts | 0 .../common/search/aggs/buckets/significant_terms.ts | 0 .../search/aggs/buckets/significant_terms_fn.test.ts | 0 .../common/search/aggs/buckets/significant_terms_fn.ts | 0 .../search/aggs/buckets/significant_text.test.ts | 0 .../common/search/aggs/buckets/significant_text.ts | 0 .../search/aggs/buckets/significant_text_fn.test.ts | 0 .../common/search/aggs/buckets/significant_text_fn.ts | 0 .../data/common/search/aggs/buckets/terms.test.ts | 0 .../shared}/data/common/search/aggs/buckets/terms.ts | 0 .../data/common/search/aggs/buckets/terms_fn.test.ts | 0 .../data/common/search/aggs/buckets/terms_fn.ts | 0 .../data/common/search/aggs/buckets/time_series.ts | 0 .../common/search/aggs/buckets/time_series_fn.test.ts | 0 .../data/common/search/aggs/buckets/time_series_fn.ts | 0 .../shared}/data/common/search/aggs/index.test.ts | 0 .../plugins/shared}/data/common/search/aggs/index.ts | 0 .../aggs/metrics/__snapshots__/median.test.ts.snap | 0 .../__snapshots__/single_percentile.test.ts.snap | 0 .../shared}/data/common/search/aggs/metrics/avg.ts | 0 .../data/common/search/aggs/metrics/avg_fn.test.ts | 0 .../shared}/data/common/search/aggs/metrics/avg_fn.ts | 0 .../data/common/search/aggs/metrics/bucket_avg.ts | 0 .../common/search/aggs/metrics/bucket_avg_fn.test.ts | 0 .../data/common/search/aggs/metrics/bucket_avg_fn.ts | 0 .../data/common/search/aggs/metrics/bucket_max.ts | 0 .../common/search/aggs/metrics/bucket_max_fn.test.ts | 0 .../data/common/search/aggs/metrics/bucket_max_fn.ts | 0 .../data/common/search/aggs/metrics/bucket_min.ts | 0 .../common/search/aggs/metrics/bucket_min_fn.test.ts | 0 .../data/common/search/aggs/metrics/bucket_min_fn.ts | 0 .../data/common/search/aggs/metrics/bucket_sum.ts | 0 .../common/search/aggs/metrics/bucket_sum_fn.test.ts | 0 .../data/common/search/aggs/metrics/bucket_sum_fn.ts | 0 .../data/common/search/aggs/metrics/cardinality.ts | 0 .../common/search/aggs/metrics/cardinality_fn.test.ts | 0 .../data/common/search/aggs/metrics/cardinality_fn.ts | 0 .../shared}/data/common/search/aggs/metrics/count.ts | 0 .../data/common/search/aggs/metrics/count_fn.test.ts | 0 .../data/common/search/aggs/metrics/count_fn.ts | 0 .../data/common/search/aggs/metrics/cumulative_sum.ts | 0 .../search/aggs/metrics/cumulative_sum_fn.test.ts | 0 .../common/search/aggs/metrics/cumulative_sum_fn.ts | 0 .../data/common/search/aggs/metrics/derivative.ts | 0 .../common/search/aggs/metrics/derivative_fn.test.ts | 0 .../data/common/search/aggs/metrics/derivative_fn.ts | 0 .../common/search/aggs/metrics/filtered_metric.test.ts | 0 .../data/common/search/aggs/metrics/filtered_metric.ts | 0 .../search/aggs/metrics/filtered_metric_fn.test.ts | 0 .../common/search/aggs/metrics/filtered_metric_fn.ts | 0 .../data/common/search/aggs/metrics/geo_bounds.ts | 0 .../common/search/aggs/metrics/geo_bounds_fn.test.ts | 0 .../data/common/search/aggs/metrics/geo_bounds_fn.ts | 0 .../data/common/search/aggs/metrics/geo_centroid.ts | 0 .../common/search/aggs/metrics/geo_centroid_fn.test.ts | 0 .../data/common/search/aggs/metrics/geo_centroid_fn.ts | 0 .../shared}/data/common/search/aggs/metrics/index.ts | 0 .../common/search/aggs/metrics/lib/create_filter.ts | 0 .../metrics/lib/get_response_agg_config_class.test.ts | 0 .../aggs/metrics/lib/get_response_agg_config_class.ts | 0 .../search/aggs/metrics/lib/make_nested_label.test.ts | 0 .../search/aggs/metrics/lib/make_nested_label.ts | 0 .../search/aggs/metrics/lib/nested_agg_helpers.ts | 0 .../search/aggs/metrics/lib/ordinal_suffix.test.ts | 0 .../common/search/aggs/metrics/lib/ordinal_suffix.ts | 0 .../aggs/metrics/lib/parent_pipeline_agg_helper.ts | 0 .../aggs/metrics/lib/parent_pipeline_agg_writer.ts | 0 .../aggs/metrics/lib/sibling_pipeline_agg_helper.ts | 0 .../aggs/metrics/lib/sibling_pipeline_agg_writer.ts | 0 .../shared}/data/common/search/aggs/metrics/max.ts | 0 .../data/common/search/aggs/metrics/max_fn.test.ts | 0 .../shared}/data/common/search/aggs/metrics/max_fn.ts | 0 .../data/common/search/aggs/metrics/median.test.ts | 0 .../shared}/data/common/search/aggs/metrics/median.ts | 0 .../data/common/search/aggs/metrics/median_fn.test.ts | 0 .../data/common/search/aggs/metrics/median_fn.ts | 0 .../data/common/search/aggs/metrics/metric_agg_type.ts | 0 .../common/search/aggs/metrics/metric_agg_types.ts | 0 .../shared}/data/common/search/aggs/metrics/min.ts | 0 .../data/common/search/aggs/metrics/min_fn.test.ts | 0 .../shared}/data/common/search/aggs/metrics/min_fn.ts | 0 .../data/common/search/aggs/metrics/moving_avg.ts | 0 .../common/search/aggs/metrics/moving_avg_fn.test.ts | 0 .../data/common/search/aggs/metrics/moving_avg_fn.ts | 0 .../common/search/aggs/metrics/parent_pipeline.test.ts | 0 .../search/aggs/metrics/percentile_ranks.test.ts | 0 .../common/search/aggs/metrics/percentile_ranks.ts | 0 .../search/aggs/metrics/percentile_ranks_fn.test.ts | 0 .../common/search/aggs/metrics/percentile_ranks_fn.ts | 0 .../common/search/aggs/metrics/percentiles.test.ts | 0 .../data/common/search/aggs/metrics/percentiles.ts | 0 .../common/search/aggs/metrics/percentiles_fn.test.ts | 0 .../data/common/search/aggs/metrics/percentiles_fn.ts | 0 .../search/aggs/metrics/percentiles_get_value.test.ts | 0 .../search/aggs/metrics/percentiles_get_value.ts | 0 .../shared}/data/common/search/aggs/metrics/rate.ts | 0 .../data/common/search/aggs/metrics/rate_fn.test.ts | 0 .../shared}/data/common/search/aggs/metrics/rate_fn.ts | 0 .../data/common/search/aggs/metrics/serial_diff.ts | 0 .../common/search/aggs/metrics/serial_diff_fn.test.ts | 0 .../data/common/search/aggs/metrics/serial_diff_fn.ts | 0 .../search/aggs/metrics/sibling_pipeline.test.ts | 0 .../search/aggs/metrics/single_percentile.test.ts | 0 .../common/search/aggs/metrics/single_percentile.ts | 0 .../common/search/aggs/metrics/single_percentile_fn.ts | 0 .../search/aggs/metrics/single_percentile_rank.test.ts | 0 .../search/aggs/metrics/single_percentile_rank.ts | 0 .../search/aggs/metrics/single_percentile_rank_fn.ts | 0 .../common/search/aggs/metrics/std_deviation.test.ts | 0 .../data/common/search/aggs/metrics/std_deviation.ts | 0 .../search/aggs/metrics/std_deviation_fn.test.ts | 0 .../common/search/aggs/metrics/std_deviation_fn.ts | 0 .../shared}/data/common/search/aggs/metrics/sum.ts | 0 .../data/common/search/aggs/metrics/sum_fn.test.ts | 0 .../shared}/data/common/search/aggs/metrics/sum_fn.ts | 0 .../data/common/search/aggs/metrics/top_hit.test.ts | 0 .../shared}/data/common/search/aggs/metrics/top_hit.ts | 0 .../data/common/search/aggs/metrics/top_hit_fn.test.ts | 0 .../data/common/search/aggs/metrics/top_hit_fn.ts | 0 .../common/search/aggs/metrics/top_metrics.test.ts | 0 .../data/common/search/aggs/metrics/top_metrics.ts | 0 .../common/search/aggs/metrics/top_metrics_fn.test.ts | 0 .../data/common/search/aggs/metrics/top_metrics_fn.ts | 0 .../data/common/search/aggs/metrics/value_count.ts | 0 .../common/search/aggs/metrics/value_count_fn.test.ts | 0 .../data/common/search/aggs/metrics/value_count_fn.ts | 0 .../shared}/data/common/search/aggs/param_types/agg.ts | 0 .../data/common/search/aggs/param_types/base.ts | 0 .../data/common/search/aggs/param_types/field.test.ts | 0 .../data/common/search/aggs/param_types/field.ts | 0 .../data/common/search/aggs/param_types/index.ts | 0 .../data/common/search/aggs/param_types/json.test.ts | 0 .../data/common/search/aggs/param_types/json.ts | 0 .../common/search/aggs/param_types/optioned.test.ts | 0 .../data/common/search/aggs/param_types/optioned.ts | 0 .../data/common/search/aggs/param_types/string.test.ts | 0 .../data/common/search/aggs/param_types/string.ts | 0 .../search/aggs/test_helpers/function_wrapper.ts | 0 .../data/common/search/aggs/test_helpers/index.ts | 0 .../aggs/test_helpers/mock_agg_types_registry.ts | 0 .../plugins/shared}/data/common/search/aggs/types.ts | 0 .../aggs/utils/calculate_auto_time_expression.ts | 0 .../date_histogram_interval.test.ts | 0 .../date_interval_utils/date_histogram_interval.ts | 0 .../search/aggs/utils/date_interval_utils/index.ts | 0 .../invalid_es_calendar_interval_error.ts | 0 .../invalid_es_interval_format_error.ts | 0 .../utils/date_interval_utils/is_valid_es_interval.ts | 0 .../utils/date_interval_utils/is_valid_interval.ts | 0 .../date_interval_utils/least_common_interval.test.ts | 0 .../utils/date_interval_utils/least_common_interval.ts | 0 .../date_interval_utils/least_common_multiple.test.ts | 0 .../utils/date_interval_utils/least_common_multiple.ts | 0 .../date_interval_utils/parse_es_interval.test.ts | 0 .../utils/date_interval_utils/parse_es_interval.ts | 0 .../utils/date_interval_utils/parse_interval.test.ts | 0 .../aggs/utils/date_interval_utils/parse_interval.ts | 0 .../utils/date_interval_utils/to_absolute_dates.ts | 0 .../common/search/aggs/utils/get_aggs_formats.test.ts | 0 .../data/common/search/aggs/utils/get_aggs_formats.ts | 0 .../shared}/data/common/search/aggs/utils/index.ts | 0 .../common/search/aggs/utils/infer_time_zone.test.ts | 0 .../data/common/search/aggs/utils/infer_time_zone.ts | 0 .../data/common/search/aggs/utils/ip_address.test.ts | 0 .../data/common/search/aggs/utils/ip_address.ts | 0 .../common/search/aggs/utils/parse_time_shift.test.ts | 0 .../data/common/search/aggs/utils/parse_time_shift.ts | 0 .../data/common/search/aggs/utils/prop_filter.test.ts | 0 .../data/common/search/aggs/utils/prop_filter.ts | 0 .../shared}/data/common/search/aggs/utils/sampler.ts | 0 .../data/common/search/aggs/utils/time_splits.ts | 0 .../__snapshots__/eql_raw_response.test.ts.snap | 0 .../__snapshots__/es_raw_response.test.ts.snap | 0 .../expressions/__snapshots__/kibana.test.ts.snap | 0 .../search/expressions/aggregate_query_to_ast.test.ts | 0 .../search/expressions/aggregate_query_to_ast.ts | 0 .../data/common/search/expressions/cidr.test.ts | 0 .../shared}/data/common/search/expressions/cidr.ts | 0 .../data/common/search/expressions/cidr_to_ast.test.ts | 0 .../data/common/search/expressions/cidr_to_ast.ts | 0 .../data/common/search/expressions/date_range.test.ts | 0 .../data/common/search/expressions/date_range.ts | 0 .../search/expressions/date_range_to_ast.test.ts | 0 .../common/search/expressions/date_range_to_ast.ts | 0 .../shared}/data/common/search/expressions/eql.ts | 0 .../common/search/expressions/eql_raw_response.test.ts | 0 .../data/common/search/expressions/eql_raw_response.ts | 0 .../common/search/expressions/es_raw_response.test.ts | 0 .../data/common/search/expressions/es_raw_response.ts | 0 .../search/expressions/esaggs/create_filter.test.ts | 0 .../common/search/expressions/esaggs/create_filter.ts | 0 .../data/common/search/expressions/esaggs/esaggs_fn.ts | 0 .../data/common/search/expressions/esaggs/index.ts | 0 .../search/expressions/esaggs/request_handler.test.ts | 0 .../search/expressions/esaggs/request_handler.ts | 0 .../shared}/data/common/search/expressions/esdsl.ts | 0 .../shared}/data/common/search/expressions/esql.ts | 0 .../shared}/data/common/search/expressions/essql.ts | 0 .../common/search/expressions/exists_filter.test.ts | 0 .../data/common/search/expressions/exists_filter.ts | 0 .../common/search/expressions/extended_bounds.test.ts | 0 .../data/common/search/expressions/extended_bounds.ts | 0 .../search/expressions/extended_bounds_to_ast.test.ts | 0 .../search/expressions/extended_bounds_to_ast.ts | 0 .../data/common/search/expressions/field.test.ts | 0 .../shared}/data/common/search/expressions/field.ts | 0 .../common/search/expressions/filters_to_ast.test.ts | 0 .../data/common/search/expressions/filters_to_ast.ts | 0 .../common/search/expressions/geo_bounding_box.test.ts | 0 .../data/common/search/expressions/geo_bounding_box.ts | 0 .../search/expressions/geo_bounding_box_to_ast.test.ts | 0 .../search/expressions/geo_bounding_box_to_ast.ts | 0 .../data/common/search/expressions/geo_point.test.ts | 0 .../data/common/search/expressions/geo_point.ts | 0 .../common/search/expressions/geo_point_to_ast.test.ts | 0 .../data/common/search/expressions/geo_point_to_ast.ts | 0 .../shared}/data/common/search/expressions/index.ts | 0 .../data/common/search/expressions/ip_prefix.test.ts | 0 .../data/common/search/expressions/ip_prefix.ts | 0 .../common/search/expressions/ip_prefix_to_ast.test.ts | 0 .../data/common/search/expressions/ip_prefix_to_ast.ts | 0 .../data/common/search/expressions/ip_range.test.ts | 0 .../shared}/data/common/search/expressions/ip_range.ts | 0 .../common/search/expressions/ip_range_to_ast.test.ts | 0 .../data/common/search/expressions/ip_range_to_ast.ts | 0 .../data/common/search/expressions/kibana.test.ts | 0 .../shared}/data/common/search/expressions/kibana.ts | 0 .../data/common/search/expressions/kibana_context.ts | 0 .../common/search/expressions/kibana_context_type.ts | 0 .../common/search/expressions/kibana_filter.test.ts | 0 .../data/common/search/expressions/kibana_filter.ts | 0 .../shared}/data/common/search/expressions/kql.test.ts | 0 .../shared}/data/common/search/expressions/kql.ts | 0 .../data/common/search/expressions/lucene.test.ts | 0 .../shared}/data/common/search/expressions/lucene.ts | 0 .../common/search/expressions/numerical_range.test.ts | 0 .../data/common/search/expressions/numerical_range.ts | 0 .../search/expressions/numerical_range_to_ast.test.ts | 0 .../search/expressions/numerical_range_to_ast.ts | 0 .../common/search/expressions/phrase_filter.test.ts | 0 .../data/common/search/expressions/phrase_filter.ts | 0 .../common/search/expressions/query_filter.test.ts | 0 .../data/common/search/expressions/query_filter.ts | 0 .../search/expressions/query_filter_to_ast.test.ts | 0 .../common/search/expressions/query_filter_to_ast.ts | 0 .../common/search/expressions/query_to_ast.test.ts | 0 .../data/common/search/expressions/query_to_ast.ts | 0 .../data/common/search/expressions/range.test.ts | 0 .../shared}/data/common/search/expressions/range.ts | 0 .../common/search/expressions/range_filter.test.ts | 0 .../data/common/search/expressions/range_filter.ts | 0 .../common/search/expressions/remove_filter.test.ts | 0 .../data/common/search/expressions/remove_filter.ts | 0 .../common/search/expressions/select_filter.test.ts | 0 .../data/common/search/expressions/select_filter.ts | 0 .../data/common/search/expressions/timerange.test.ts | 0 .../data/common/search/expressions/timerange.ts | 0 .../common/search/expressions/timerange_to_ast.test.ts | 0 .../data/common/search/expressions/timerange_to_ast.ts | 0 .../common/search/expressions/utils/filters_adapter.ts | 0 .../search/expressions/utils/function_wrapper.ts | 0 .../data/common/search/expressions/utils/index.ts | 0 .../plugins/shared}/data/common/search/index.ts | 0 .../shared}/data/common/search/poll_search.test.ts | 0 .../plugins/shared}/data/common/search/poll_search.ts | 0 .../__snapshots__/search_source.test.ts.snap | 0 .../search/search_source/create_search_source.test.ts | 0 .../search/search_source/create_search_source.ts | 0 .../common/search/search_source/extract_references.ts | 0 .../search_source/fetch/get_search_params.test.ts | 0 .../search/search_source/fetch/get_search_params.ts | 0 .../data/common/search/search_source/fetch/index.ts | 0 .../common/search/search_source/fetch/request_error.ts | 0 .../data/common/search/search_source/fetch/types.ts | 0 .../shared}/data/common/search/search_source/index.ts | 0 .../search/search_source/inject_references.test.ts | 0 .../common/search/search_source/inject_references.ts | 0 .../data/common/search/search_source/inspect/index.ts | 0 .../search/search_source/inspect/inspector_stats.ts | 0 .../search/search_source/migrate_legacy_query.ts | 0 .../shared}/data/common/search/search_source/mocks.ts | 0 .../search_source/normalize_sort_request.test.ts | 0 .../search/search_source/normalize_sort_request.ts | 0 .../data/common/search/search_source/parse_json.ts | 0 .../search/search_source/query_to_fields.test.ts | 0 .../common/search/search_source/query_to_fields.ts | 0 .../common/search/search_source/search_source.test.ts | 0 .../data/common/search/search_source/search_source.ts | 0 .../search/search_source/search_source_service.test.ts | 0 .../search/search_source/search_source_service.ts | 0 .../shared}/data/common/search/search_source/types.ts | 0 .../shared}/data/common/search/session/index.ts | 0 .../shared}/data/common/search/session/status.ts | 0 .../shared}/data/common/search/session/types.ts | 0 .../data/common/search/strategies/eql_search/index.ts | 0 .../data/common/search/strategies/eql_search/types.ts | 0 .../data/common/search/strategies/es_search/index.ts | 0 .../search/strategies/es_search/response_utils.test.ts | 0 .../search/strategies/es_search/response_utils.ts | 0 .../data/common/search/strategies/es_search/types.ts | 0 .../data/common/search/strategies/ese_search/index.ts | 0 .../data/common/search/strategies/ese_search/types.ts | 0 .../data/common/search/strategies/esql_search/index.ts | 0 .../data/common/search/strategies/esql_search/types.ts | 0 .../data/common/search/strategies/sql_search/index.ts | 0 .../data/common/search/strategies/sql_search/types.ts | 0 .../shared}/data/common/search/tabify/buckets.test.ts | 0 .../shared}/data/common/search/tabify/buckets.ts | 0 .../search/tabify/fixtures/fake_hierarchical_data.ts | 0 .../search/tabify/fixtures/fake_timeoffset_data.ts | 0 .../data/common/search/tabify/get_columns.test.ts | 0 .../shared}/data/common/search/tabify/get_columns.ts | 0 .../plugins/shared}/data/common/search/tabify/index.ts | 0 .../data/common/search/tabify/response_writer.test.ts | 0 .../data/common/search/tabify/response_writer.ts | 0 .../shared}/data/common/search/tabify/tabify.test.ts | 0 .../shared}/data/common/search/tabify/tabify.ts | 0 .../plugins/shared}/data/common/search/tabify/types.ts | 0 .../search/test_data/illegal_argument_exception.json | 0 .../search/test_data/index_not_found_exception.json | 0 .../common/search/test_data/json_e_o_f_exception.json | 0 .../common/search/test_data/parsing_exception.json | 0 .../search/test_data/resource_not_found_exception.json | 0 .../test_data/search_phase_execution_exception.json | 0 .../search/test_data/x_content_parse_exception.json | 0 .../plugins/shared}/data/common/search/utils.test.ts | 0 .../plugins/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 .../create_filters_from_multi_value_click.test.ts | 0 .../filters/create_filters_from_multi_value_click.ts | 0 .../filters/create_filters_from_range_select.test.ts | 0 .../filters/create_filters_from_range_select.ts | 0 .../filters/create_filters_from_value_click.test.ts | 0 .../actions/filters/create_filters_from_value_click.ts | 0 .../plugins/shared}/data/public/actions/index.ts | 0 .../data/public/actions/multi_value_click_action.ts | 0 .../shared}/data/public/actions/select_range_action.ts | 0 .../shared}/data/public/actions/value_click_action.ts | 0 .../plugins/shared}/data/public/data_views/index.ts | 0 .../plugins/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 .../plugins/shared}/data/public/now_provider/index.ts | 0 .../now_provider/lib/get_force_now_from_url.test.ts | 0 .../public/now_provider/lib/get_force_now_from_url.ts | 0 .../shared}/data/public/now_provider/lib/index.ts | 0 .../plugins/shared}/data/public/now_provider/mocks.ts | 0 .../data/public/now_provider/now_provider.test.ts | 0 .../shared}/data/public/now_provider/now_provider.ts | 0 .../plugins/shared}/data/public/plugin.ts | 0 .../public/query/filter_manager/filter_manager.mock.ts | 0 .../public/query/filter_manager/filter_manager.test.ts | 0 .../data/public/query/filter_manager/filter_manager.ts | 0 .../shared}/data/public/query/filter_manager/index.ts | 0 .../query/filter_manager/lib/generate_filter.test.ts | 0 .../query/filter_manager/lib/generate_filters.ts | 0 .../filter_manager/lib/generate_mapping_chain.test.ts | 0 .../query/filter_manager/lib/generate_mapping_chain.ts | 0 .../query/filter_manager/lib/get_display_value.test.ts | 0 .../query/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 .../filter_manager/lib/map_and_flatten_filters.test.ts | 0 .../filter_manager/lib/map_and_flatten_filters.ts | 0 .../public/query/filter_manager/lib/map_filter.test.ts | 0 .../data/public/query/filter_manager/lib/map_filter.ts | 0 .../filter_manager/lib/mappers/map_combined.test.ts | 0 .../query/filter_manager/lib/mappers/map_combined.ts | 0 .../filter_manager/lib/mappers/map_default.test.ts | 0 .../query/filter_manager/lib/mappers/map_default.ts | 0 .../filter_manager/lib/mappers/map_exists.test.ts | 0 .../query/filter_manager/lib/mappers/map_exists.ts | 0 .../filter_manager/lib/mappers/map_match_all.test.ts | 0 .../query/filter_manager/lib/mappers/map_match_all.ts | 0 .../filter_manager/lib/mappers/map_phrase.test.ts | 0 .../query/filter_manager/lib/mappers/map_phrase.ts | 0 .../filter_manager/lib/mappers/map_phrases.test.ts | 0 .../query/filter_manager/lib/mappers/map_phrases.ts | 0 .../lib/mappers/map_query_string.test.ts | 0 .../filter_manager/lib/mappers/map_query_string.ts | 0 .../query/filter_manager/lib/mappers/map_range.test.ts | 0 .../query/filter_manager/lib/mappers/map_range.ts | 0 .../lib/mappers/map_spatial_filter.test.ts | 0 .../filter_manager/lib/mappers/map_spatial_filter.ts | 0 .../query/filter_manager/lib/sort_filters.test.ts | 0 .../public/query/filter_manager/lib/sort_filters.ts | 0 .../filter_manager/test_helpers/get_filters_array.ts | 0 .../filter_manager/test_helpers/get_stub_filter.ts | 0 .../plugins/shared}/data/public/query/index.tsx | 0 .../shared}/data/public/query/lib/add_to_query_log.ts | 0 .../shared}/data/public/query/lib/get_default_query.ts | 0 .../shared}/data/public/query/lib/get_query_log.ts | 0 .../plugins/shared}/data/public/query/lib/index.ts | 0 .../plugins/shared}/data/public/query/mocks.ts | 0 .../shared}/data/public/query/persisted_log/index.ts | 0 .../public/query/persisted_log/persisted_log.test.ts | 0 .../data/public/query/persisted_log/persisted_log.ts | 0 .../shared}/data/public/query/query_service.test.ts | 0 .../plugins/shared}/data/public/query/query_service.ts | 0 .../plugins/shared}/data/public/query/query_state.ts | 0 .../shared}/data/public/query/query_string/index.ts | 0 .../query/query_string/query_string_manager.mock.ts | 0 .../query/query_string/query_string_manager.test.ts | 0 .../public/query/query_string/query_string_manager.ts | 0 .../shared}/data/public/query/saved_query/index.ts | 0 .../query/saved_query/saved_query_service.test.ts | 0 .../public/query/saved_query/saved_query_service.ts | 0 .../shared}/data/public/query/saved_query/types.ts | 0 .../shared}/data/public/query/state_sync/README.md | 0 .../query/state_sync/connect_to_query_state.test.ts | 0 .../public/query/state_sync/connect_to_query_state.ts | 0 .../query/state_sync/create_query_state_observable.ts | 0 .../shared}/data/public/query/state_sync/index.ts | 0 .../query/state_sync/sync_state_with_url.test.ts | 0 .../public/query/state_sync/sync_state_with_url.ts | 0 .../shared}/data/public/query/state_sync/types.ts | 0 .../shared}/data/public/query/timefilter/index.ts | 0 .../query/timefilter/lib/auto_refresh_loop.test.ts | 0 .../public/query/timefilter/lib/auto_refresh_loop.ts | 0 .../query/timefilter/lib/diff_time_picker_vals.test.ts | 0 .../query/timefilter/lib/diff_time_picker_vals.ts | 0 .../query/timefilter/lib/page_visibility.test.ts | 0 .../public/query/timefilter/lib/page_visibility.ts | 0 .../query/timefilter/lib/validate_timerange.test.ts | 0 .../public/query/timefilter/lib/validate_timerange.ts | 0 .../data/public/query/timefilter/time_history.ts | 0 .../data/public/query/timefilter/timefilter.test.ts | 0 .../shared}/data/public/query/timefilter/timefilter.ts | 0 .../public/query/timefilter/timefilter_service.mock.ts | 0 .../data/public/query/timefilter/timefilter_service.ts | 0 .../shared}/data/public/query/timefilter/types.ts | 0 .../data/public/search/aggs/aggs_service.test.ts | 0 .../shared}/data/public/search/aggs/aggs_service.ts | 0 .../plugins/shared}/data/public/search/aggs/index.ts | 0 .../plugins/shared}/data/public/search/aggs/mocks.ts | 0 .../plugins/shared}/data/public/search/aggs/types.ts | 0 .../search/collectors/create_usage_collector.test.ts | 0 .../public/search/collectors/create_usage_collector.ts | 0 .../shared}/data/public/search/collectors/index.ts | 0 .../shared}/data/public/search/collectors/mocks.ts | 0 .../shared}/data/public/search/collectors/types.ts | 0 .../public/search/es_search/get_es_preference.test.ts | 0 .../data/public/search/es_search/get_es_preference.ts | 0 .../shared}/data/public/search/es_search/index.ts | 0 .../search/expressions/__snapshots__/eql.test.ts.snap | 0 .../expressions/__snapshots__/esdsl.test.ts.snap | 0 .../shared}/data/public/search/expressions/eql.test.ts | 0 .../shared}/data/public/search/expressions/eql.ts | 0 .../data/public/search/expressions/esaggs.test.ts | 0 .../shared}/data/public/search/expressions/esaggs.ts | 0 .../data/public/search/expressions/esdsl.test.ts | 0 .../shared}/data/public/search/expressions/esdsl.ts | 0 .../shared}/data/public/search/expressions/esql.ts | 0 .../shared}/data/public/search/expressions/essql.ts | 0 .../shared}/data/public/search/expressions/index.ts | 0 .../plugins/shared}/data/public/search/index.ts | 0 .../plugins/shared}/data/public/search/mocks.ts | 0 .../search/search_interceptor/create_request_hash.ts | 0 .../data/public/search/search_interceptor/index.ts | 0 .../search_interceptor/search_abort_controller.test.ts | 0 .../search_interceptor/search_abort_controller.ts | 0 .../search_interceptor/search_interceptor.test.ts | 0 .../search/search_interceptor/search_interceptor.ts | 0 .../search_interceptor/search_response_cache.test.ts | 0 .../search/search_interceptor/search_response_cache.ts | 0 .../search_session_incomplete_warning.tsx | 0 .../search/search_interceptor/timeout_error.test.tsx | 0 .../public/search/search_interceptor/timeout_error.tsx | 0 .../search_interceptor/to_partial_response.test.ts | 0 .../search/search_interceptor/to_partial_response.ts | 0 .../shared}/data/public/search/search_service.test.ts | 0 .../shared}/data/public/search/search_service.ts | 0 .../shared}/data/public/search/search_source/mocks.ts | 0 .../shared}/data/public/search/session/constants.ts | 0 .../plugins/shared}/data/public/search/session/i18n.ts | 0 .../shared}/data/public/search/session/index.ts | 0 .../search/session/lib/session_name_formatter.ts | 0 .../shared}/data/public/search/session/mocks.ts | 0 .../public/search/session/search_session_state.test.ts | 0 .../data/public/search/session/search_session_state.ts | 0 .../session/search_sessions_deprecation_message.tsx | 0 .../data/public/search/session/session_helpers.test.ts | 0 .../data/public/search/session/session_helpers.ts | 0 .../connected_search_session_indicator.test.tsx | 0 .../connected_search_session_indicator.tsx | 0 .../connected_search_session_indicator/index.ts | 0 .../search_session_tour.tsx | 0 .../search_session_view_state.ts | 0 .../public/search/session/session_indicator/index.ts | 0 .../search_session_indicator/components/index.ts | 0 .../components/search_session_name/index.ts | 0 .../search_session_name/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 .../data/public/search/session/session_service.test.ts | 0 .../data/public/search/session/session_service.ts | 0 .../data/public/search/session/sessions_client.ts | 0 .../search/session/sessions_mgmt/__mocks__/index.tsx | 0 .../search/session/sessions_mgmt/application/index.tsx | 0 .../session/sessions_mgmt/application/render.tsx | 0 .../sessions_mgmt/components/actions/delete_button.tsx | 0 .../sessions_mgmt/components/actions/extend_button.tsx | 0 .../sessions_mgmt/components/actions/get_action.tsx | 0 .../session/sessions_mgmt/components/actions/index.tsx | 0 .../components/actions/inspect_button.scss | 0 .../components/actions/inspect_button.tsx | 0 .../components/actions/popover_actions.tsx | 0 .../sessions_mgmt/components/actions/rename_button.tsx | 0 .../session/sessions_mgmt/components/actions/types.ts | 0 .../search/session/sessions_mgmt/components/index.tsx | 0 .../session/sessions_mgmt/components/main.test.tsx | 0 .../search/session/sessions_mgmt/components/main.tsx | 0 .../session/sessions_mgmt/components/status.test.tsx | 0 .../search/session/sessions_mgmt/components/status.tsx | 0 .../sessions_mgmt/components/table/app_filter.tsx | 0 .../session/sessions_mgmt/components/table/index.ts | 0 .../sessions_mgmt/components/table/status_filter.tsx | 0 .../sessions_mgmt/components/table/table.test.tsx | 0 .../session/sessions_mgmt/components/table/table.tsx | 0 .../session/sessions_mgmt/icons/extend_session.svg | 0 .../data/public/search/session/sessions_mgmt/index.ts | 0 .../search/session/sessions_mgmt/lib/api.test.ts | 0 .../public/search/session/sessions_mgmt/lib/api.ts | 0 .../search/session/sessions_mgmt/lib/date_string.ts | 0 .../search/session/sessions_mgmt/lib/documentation.ts | 0 .../session/sessions_mgmt/lib/get_columns.test.tsx | 0 .../search/session/sessions_mgmt/lib/get_columns.tsx | 0 .../session/sessions_mgmt/lib/get_expiration_status.ts | 0 .../data/public/search/session/sessions_mgmt/types.ts | 0 .../plugins/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 .../data/public/triggers/apply_filter_trigger.ts | 0 .../plugins/shared}/data/public/triggers/index.ts | 0 .../plugins/shared}/data/public/types.ts | 0 .../plugins/shared}/data/public/utils/shallow_equal.ts | 0 .../public/utils/table_inspector_view/_data_table.scss | 0 .../data/public/utils/table_inspector_view/_index.scss | 0 .../components/__snapshots__/data_view.test.tsx.snap | 0 .../table_inspector_view/components/data_table.tsx | 0 .../components/data_table_selector.tsx | 0 .../table_inspector_view/components/data_view.test.tsx | 0 .../table_inspector_view/components/data_view.tsx | 0 .../components/data_view_wrapper.tsx | 0 .../components/download_options.tsx | 0 .../data/public/utils/table_inspector_view/index.ts | 0 .../data/public/utils/table_inspector_view/types.ts | 0 .../plugins/shared}/data/server/config.ts | 0 .../shared}/data/server/config_deprecations.test.ts | 0 .../plugins/shared}/data/server/config_deprecations.ts | 0 .../plugins/shared}/data/server/data_views/index.ts | 0 .../plugins/shared}/data/server/data_views/mocks.ts | 0 .../datatable_utilities/datatable_utilities_service.ts | 0 .../shared}/data/server/datatable_utilities/index.ts | 0 .../shared}/data/server/datatable_utilities/mock.ts | 0 .../plugins/shared}/data/server/index.ts | 0 .../plugins/shared}/data/server/kql_telemetry/index.ts | 0 .../data/server/kql_telemetry/kql_telemetry_service.ts | 0 .../plugins/shared}/data/server/kql_telemetry/route.ts | 0 .../server/kql_telemetry/usage_collector/fetch.test.ts | 0 .../data/server/kql_telemetry/usage_collector/fetch.ts | 0 .../data/server/kql_telemetry/usage_collector/index.ts | 0 .../usage_collector/make_kql_usage_collector.test.ts | 0 .../usage_collector/make_kql_usage_collector.ts | 0 .../data/server/lib/get_request_aborted_signal.test.ts | 0 .../data/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 .../plugins/shared}/data/server/query/index.ts | 0 .../plugins/shared}/data/server/query/query_service.ts | 0 .../data/server/query/route_handler_context.test.ts | 0 .../shared}/data/server/query/route_handler_context.ts | 0 .../plugins/shared}/data/server/query/route_types.ts | 0 .../plugins/shared}/data/server/query/routes.ts | 0 .../plugins/shared}/data/server/saved_objects/index.ts | 0 .../shared}/data/server/saved_objects/kql_telemetry.ts | 0 .../data/server/saved_objects/migrations/query.ts | 0 .../data/server/saved_objects/migrations/to_v7_12_0.ts | 0 .../shared}/data/server/saved_objects/query.test.ts | 0 .../plugins/shared}/data/server/saved_objects/query.ts | 0 .../data/server/saved_objects/schemas/kql_telemetry.ts | 0 .../shared}/data/server/saved_objects/schemas/query.ts | 0 .../server/saved_objects/schemas/search_telemetry.ts | 0 .../data/server/saved_objects/search_telemetry.ts | 0 .../plugins/shared}/data/server/scripts/index.ts | 0 .../plugins/shared}/data/server/scripts/route.ts | 0 .../shared}/data/server/scripts/scripts_service.ts | 0 .../plugins/shared}/data/server/search/README.md | 0 .../data/server/search/aggs/aggs_service.test.ts | 0 .../shared}/data/server/search/aggs/aggs_service.ts | 0 .../plugins/shared}/data/server/search/aggs/index.ts | 0 .../plugins/shared}/data/server/search/aggs/mocks.ts | 0 .../plugins/shared}/data/server/search/aggs/types.ts | 0 .../data/server/search/collectors/search/fetch.ts | 0 .../data/server/search/collectors/search/index.ts | 0 .../data/server/search/collectors/search/register.ts | 0 .../data/server/search/collectors/search/usage.ts | 0 .../search/collectors/search_session/fetch.test.ts | 0 .../server/search/collectors/search_session/fetch.ts | 0 .../server/search/collectors/search_session/index.ts | 0 .../search/collectors/search_session/register.ts | 0 .../server/search/errors/no_search_id_in_session.ts | 0 .../shared}/data/server/search/expressions/eql.ts | 0 .../data/server/search/expressions/esaggs.test.ts | 0 .../shared}/data/server/search/expressions/esaggs.ts | 0 .../shared}/data/server/search/expressions/esdsl.ts | 0 .../shared}/data/server/search/expressions/esql.ts | 0 .../shared}/data/server/search/expressions/essql.ts | 0 .../shared}/data/server/search/expressions/index.ts | 0 .../plugins/shared}/data/server/search/index.ts | 0 .../plugins/shared}/data/server/search/mocks.ts | 0 .../shared}/data/server/search/report_search_error.ts | 0 .../plugins/shared}/data/server/search/routes/index.ts | 0 .../data/server/search/routes/response_schema.ts | 0 .../data/server/search/routes/response_types.ts | 0 .../shared}/data/server/search/routes/search.test.ts | 0 .../shared}/data/server/search/routes/search.ts | 0 .../shared}/data/server/search/routes/session.test.ts | 0 .../shared}/data/server/search/routes/session.ts | 0 .../data/server/search/sanitize_request_params.test.ts | 0 .../data/server/search/sanitize_request_params.ts | 0 .../shared}/data/server/search/saved_objects/index.ts | 0 .../data/server/search/saved_objects/search_session.ts | 0 .../saved_objects/search_session_migration.test.ts | 0 .../search/saved_objects/search_session_migration.ts | 0 .../shared}/data/server/search/search_service.test.ts | 0 .../shared}/data/server/search/search_service.ts | 0 .../shared}/data/server/search/search_source/mocks.ts | 0 .../search/services/cached_ui_settings_client.test.ts | 0 .../search/services/cached_ui_settings_client.ts | 0 .../shared}/data/server/search/services/index.ts | 0 .../server/search/session/get_search_status.test.ts | 0 .../data/server/search/session/get_search_status.ts | 0 .../server/search/session/get_session_status.test.ts | 0 .../data/server/search/session/get_session_status.ts | 0 .../shared}/data/server/search/session/index.ts | 0 .../shared}/data/server/search/session/mocks.ts | 0 .../data/server/search/session/session_service.test.ts | 0 .../data/server/search/session/session_service.ts | 0 .../shared}/data/server/search/session/types.ts | 0 .../shared}/data/server/search/session/utils.test.ts | 0 .../shared}/data/server/search/session/utils.ts | 0 .../search/strategies/common/async_utils.test.ts | 0 .../server/search/strategies/common/async_utils.ts | 0 .../strategies/eql_search/eql_search_strategy.test.ts | 0 .../strategies/eql_search/eql_search_strategy.ts | 0 .../data/server/search/strategies/eql_search/index.ts | 0 .../search/strategies/eql_search/response_utils.ts | 0 .../data/server/search/strategies/eql_search/types.ts | 0 .../search/strategies/es_search/elasticsearch.ts | 0 .../strategies/es_search/es_search_strategy.test.ts | 0 .../search/strategies/es_search/es_search_strategy.ts | 0 .../data/server/search/strategies/es_search/index.ts | 0 .../search/strategies/es_search/request_utils.test.ts | 0 .../search/strategies/es_search/request_utils.ts | 0 .../strategies/ese_search/ese_search_strategy.test.ts | 0 .../strategies/ese_search/ese_search_strategy.ts | 0 .../data/server/search/strategies/ese_search/index.ts | 0 .../search/strategies/ese_search/request_utils.test.ts | 0 .../search/strategies/ese_search/request_utils.ts | 0 .../search/strategies/ese_search/response_utils.ts | 0 .../data/server/search/strategies/ese_search/types.ts | 0 .../esql_async_search_strategy.test.ts | 0 .../esql_async_search/esql_async_search_strategy.ts | 0 .../search/strategies/esql_async_search/index.ts | 0 .../strategies/esql_async_search/response_utils.ts | 0 .../strategies/esql_search/esql_search_strategy.ts | 0 .../data/server/search/strategies/esql_search/index.ts | 0 .../data/server/search/strategies/sql_search/index.ts | 0 .../search/strategies/sql_search/request_utils.test.ts | 0 .../search/strategies/sql_search/request_utils.ts | 0 .../search/strategies/sql_search/response_utils.ts | 0 .../strategies/sql_search/sql_search_strategy.test.ts | 0 .../strategies/sql_search/sql_search_strategy.ts | 0 .../plugins/shared}/data/server/search/types.ts | 0 .../plugins/shared}/data/server/ui_settings.ts | 0 .../plugins/shared}/data/tsconfig.json | 4 ++-- src/plugins/custom_integrations/jest.config.js | 2 +- tsconfig.base.json | 4 ++-- x-pack/packages/ml/date_utils/src/date_utils.ts | 2 +- .../application/services/field_format_service.ts | 2 +- .../observability/common/utils/get_inspect_response.ts | 2 +- .../common/utils/get_inspect_response.ts | 2 +- .../public/common/hooks/use_app_toasts.ts | 2 +- .../security_solution/server/lib/timeline/constants.ts | 2 +- .../plugins/timelines/public/hooks/use_app_toasts.ts | 2 +- x-pack/plugins/watcher/public/legacy/time_buckets.js | 2 +- yarn.lock | 2 +- 857 files changed, 44 insertions(+), 44 deletions(-) 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 (100%) 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 => 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 => 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 => 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 => 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 => platform/plugins/shared}/data/jest.config.js (73%) 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/es_search/get_es_preference.test.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/es_search/get_es_preference.ts (100%) rename src/{plugins => platform/plugins/shared}/data/public/search/es_search/index.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%) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 6e948792319f2..3bb613e1a5684 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -48,7 +48,7 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ - /^src\/plugins\/data/, + /^src\/platform\/plugins\/shared\/data/, /^x-pack\/plugins\/actions/, /^x-pack\/plugins\/alerting/, /^x-pack\/plugins\/event_log/, @@ -241,7 +241,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^package.json/, /^packages\/kbn-securitysolution-.*/, /^x-pack\/plugins\/alerting/, - /^x-pack\/plugins\/data_views\/common/, + /^x-pack\/platform\/plugins\/shared\/data_views\/common/, /^x-pack\/plugins\/lists/, /^x-pack\/plugins\/rule_registry\/common/, /^x-pack\/plugins\/security_solution/, @@ -310,8 +310,8 @@ const getPipeline = (filename: string, removeSteps = true) => { /^src\/core/, /^src\/platform\/plugins\/shared\/charts/, /^src\/plugins\/controls/, - /^src\/plugins\/data/, - /^src\/plugins\/data_views/, + /^src\/platform\/plugins\/shared\/data/, + /^src\/platform\/plugins\/shared\/data_views/, /^src\/plugins\/discover/, /^src\/plugins\/field_formats/, /^src\/plugins\/inspector/, @@ -326,7 +326,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^x-pack\/packages\/security-solution/, /^x-pack\/plugins\/alerting/, /^x-pack\/plugins\/cases/, - /^x-pack\/plugins\/data_views\/common/, + /^x-pack\/platform\/plugins\/shared\/data_views\/common/, /^x-pack\/plugins\/elastic_assistant/, /^x-pack\/plugins\/lists/, /^x-pack\/plugins\/rule_registry\/common/, diff --git a/.eslintignore b/.eslintignore index e2b06124e936a..b27a88c43751d 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/plugins/canvas/canvas_plugin /x-pack/plugins/canvas/shareable_runtime/build /x-pack/plugins/canvas/storybook/build diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d92e3b5f62bca..d6e1390ed6cb5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -626,6 +626,7 @@ 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/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations src/platform/plugins/shared/charts @elastic/kibana-visualizations +src/platform/plugins/shared/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management @@ -643,7 +644,6 @@ src/plugins/content_management @elastic/appex-sharedux src/plugins/controls @elastic/kibana-presentation src/plugins/custom_integrations @elastic/fleet src/plugins/dashboard @elastic/kibana-presentation -src/plugins/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/plugins/data_view_editor @elastic/kibana-data-discovery src/plugins/data_view_field_editor @elastic/kibana-data-discovery src/plugins/data_view_management @elastic/kibana-data-discovery diff --git a/.i18nrc.json b/.i18nrc.json index 8641fcad4100f..db45741d3a864 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -22,7 +22,7 @@ "cloud": "packages/cloud", "domDragDrop": "packages/kbn-dom-drag-drop", "controls": "src/plugins/controls", - "data": "src/plugins/data", + "data": "src/platform/plugins/shared/data", "observabilityAlertDetails": "x-pack/packages/observability/alert_details", "dataViews": "src/plugins/data_views", "defaultNavigation": "packages/default-nav", diff --git a/docs/developer/architecture/core/elasticsearch-service.asciidoc b/docs/developer/architecture/core/elasticsearch-service.asciidoc index 83a35f30c9b16..e433f5adf382b 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/best-practices/index.asciidoc b/docs/developer/best-practices/index.asciidoc index 57a10ee06a697..36d8021aef47b 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 f2b760992eb03..83f60500ee503 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -61,7 +61,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. 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 47ba06f5e8e4c..f65cbbd856dd1 100644 --- a/package.json +++ b/package.json @@ -424,7 +424,7 @@ "@kbn/dashboard-enhanced-plugin": "link:x-pack/plugins/dashboard_enhanced", "@kbn/dashboard-plugin": "link:src/plugins/dashboard", "@kbn/data-forge": "link:x-pack/packages/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/plugins/data_quality", "@kbn/data-search-plugin": "link:test/plugin_functional/plugins/data_search", "@kbn/data-service": "link:packages/kbn-data-service", 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-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-securitysolution-autocomplete/src/autocomplete/index.mock.ts b/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts index 71bfb7f4a67cd..e02f4bab4e871 100644 --- a/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts +++ b/packages/kbn-securitysolution-autocomplete/src/autocomplete/index.mock.ts @@ -7,7 +7,7 @@ * License v3.0 only", or the "Server Side Public License, v 1". */ -// 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/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts b/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts index dcb719ccdb56c..3a656b82fa0b5 100644 --- a/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts +++ b/packages/kbn-securitysolution-autocomplete/src/fields/index.mock.ts @@ -9,7 +9,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/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts b/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts index 86d429cc9ef80..1d8b3bb53f596 100644 --- a/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts +++ b/packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts @@ -16,7 +16,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/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts b/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts index aae858aa63087..46a0fdefc5459 100644 --- a/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts +++ b/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.test.ts @@ -19,7 +19,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/packages/kbn-securitysolution-list-utils/src/helpers/index.ts b/packages/kbn-securitysolution-list-utils/src/helpers/index.ts index 8031cfba14f2d..6d2c35ac4369c 100644 --- a/packages/kbn-securitysolution-list-utils/src/helpers/index.ts +++ b/packages/kbn-securitysolution-list-utils/src/helpers/index.ts @@ -873,7 +873,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/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/bulk-data.json b/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/bulk-data.json index 3e8c4b1116d1e..8cba8eca15291 100644 --- a/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/bulk-data.json +++ b/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/bulk-data.json @@ -1897,7 +1897,7 @@ "pct": 100 } }, - "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/data/public/actions/filters/create_filters_from_event.js": { + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_platform/plugins/shared/data/public/actions/filters/create_filters_from_event.js": { "lines": { "total": 39, "covered": 3, @@ -1923,7 +1923,7 @@ "pct": 0 } }, - "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/data/public/search/expressions/create_filter.js": { + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_platform/plugins/shared/data/public/search/expressions/create_filter.js": { "lines": { "total": 25, "covered": 0, diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index f88ab616908e7..fdfe5cf5ddba9 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -27,7 +27,7 @@ export const storybookAliases = { custom_integrations: 'src/plugins/custom_integrations/storybook', dashboard_enhanced: 'x-pack/plugins/dashboard_enhanced/.storybook', dashboard: 'src/plugins/dashboard/.storybook', - data: 'src/plugins/data/.storybook', + data: 'src/platform/plugins/shared/data/.storybook', discover: 'src/plugins/discover/.storybook', embeddable: 'src/plugins/embeddable/.storybook', esql_ast_inspector: 'examples/esql_ast_inspector/.storybook', 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 100% rename from src/plugins/data/common/index.ts rename to src/platform/plugins/shared/data/common/index.ts 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/eql_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/eql_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/ese_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/ese_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/esql_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/esql_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/data/common/search/strategies/sql_search/index.ts b/src/platform/plugins/shared/data/common/search/strategies/sql_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/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/data/jest.config.js b/src/platform/plugins/shared/data/jest.config.js similarity index 73% rename from src/plugins/data/jest.config.js rename to src/platform/plugins/shared/data/jest.config.js index 02b995bf5f490..23d674028f945 100644 --- a/src/plugins/data/jest.config.js +++ b/src/platform/plugins/shared/data/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/data'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/data', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/data'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/data', 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/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/es_search/get_es_preference.test.ts b/src/platform/plugins/shared/data/public/search/es_search/get_es_preference.test.ts similarity index 100% rename from src/plugins/data/public/search/es_search/get_es_preference.test.ts rename to src/platform/plugins/shared/data/public/search/es_search/get_es_preference.test.ts diff --git a/src/plugins/data/public/search/es_search/get_es_preference.ts b/src/platform/plugins/shared/data/public/search/es_search/get_es_preference.ts similarity index 100% rename from src/plugins/data/public/search/es_search/get_es_preference.ts rename to src/platform/plugins/shared/data/public/search/es_search/get_es_preference.ts diff --git a/src/plugins/data/public/search/es_search/index.ts b/src/platform/plugins/shared/data/public/search/es_search/index.ts similarity index 100% rename from src/plugins/data/public/search/es_search/index.ts rename to src/platform/plugins/shared/data/public/search/es_search/index.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 b1f06b761c0fb..4060e0ce929b9 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/custom_integrations/jest.config.js b/src/plugins/custom_integrations/jest.config.js index 2138c8dcff935..5b484a2804f96 100644 --- a/src/plugins/custom_integrations/jest.config.js +++ b/src/plugins/custom_integrations/jest.config.js @@ -13,5 +13,5 @@ module.exports = { roots: ['/src/plugins/custom_integrations'], coverageDirectory: '/target/kibana-coverage/jest/src/plugins/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/tsconfig.base.json b/tsconfig.base.json index dc0e6bdedc915..621eb604e568b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -702,8 +702,8 @@ "@kbn/dashboard-plugin/*": ["src/plugins/dashboard/*"], "@kbn/data-forge": ["x-pack/packages/kbn-data-forge"], "@kbn/data-forge/*": ["x-pack/packages/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/plugins/data_quality"], "@kbn/data-quality-plugin/*": ["x-pack/plugins/data_quality/*"], "@kbn/data-search-plugin": ["test/plugin_functional/plugins/data_search"], diff --git a/x-pack/packages/ml/date_utils/src/date_utils.ts b/x-pack/packages/ml/date_utils/src/date_utils.ts index ababc3718ca31..1e48c3a598811 100644 --- a/x-pack/packages/ml/date_utils/src/date_utils.ts +++ b/x-pack/packages/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/ml/public/application/services/field_format_service.ts b/x-pack/plugins/ml/public/application/services/field_format_service.ts index 8d21c368a7303..2f456ec5713fd 100644 --- a/x-pack/plugins/ml/public/application/services/field_format_service.ts +++ b/x-pack/plugins/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/plugins/observability_solution/observability/common/utils/get_inspect_response.ts b/x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts index 7c5d8368bd192..c4e78ed9bd48a 100644 --- a/x-pack/plugins/observability_solution/observability/common/utils/get_inspect_response.ts +++ b/x-pack/plugins/observability_solution/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 + * https://github.com/elastic/kibana/blob/c7d742cb8b8935f3812707a747a139806e4be203/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/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts b/x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts index fbcb053acdc52..e62927aeedc46 100644 --- a/x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts +++ b/x-pack/plugins/observability_solution/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 + * https://github.com/elastic/kibana/blob/c7d742cb8b8935f3812707a747a139806e4be203/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/plugins/security_solution/public/common/hooks/use_app_toasts.ts b/x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts index 7a810fa9247d2..ac67396a9e886 100644 --- a/x-pack/plugins/security_solution/public/common/hooks/use_app_toasts.ts +++ b/x-pack/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/plugins/security_solution/server/lib/timeline/constants.ts b/x-pack/plugins/security_solution/server/lib/timeline/constants.ts index bd9a827e768dc..087b274aa7e0c 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/constants.ts +++ b/x-pack/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/plugins/timelines/public/hooks/use_app_toasts.ts b/x-pack/plugins/timelines/public/hooks/use_app_toasts.ts index decce2d6cec9e..08ae1323c2ce5 100644 --- a/x-pack/plugins/timelines/public/hooks/use_app_toasts.ts +++ b/x-pack/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/plugins/watcher/public/legacy/time_buckets.js b/x-pack/plugins/watcher/public/legacy/time_buckets.js index 469927269af57..b83bf77ee3a64 100644 --- a/x-pack/plugins/watcher/public/legacy/time_buckets.js +++ b/x-pack/plugins/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/yarn.lock b/yarn.lock index 4aee656ed29e0..21e7e2bc94588 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5220,7 +5220,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 "" From c7af29a8689f342369c46f7a9a360e353fb22848 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:34:25 +0100 Subject: [PATCH 07/51] Relocating module `@kbn/data-service` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../platform/packages/shared}/kbn-data-service/README.md | 0 .../platform/packages/shared}/kbn-data-service/index.ts | 0 .../platform/packages/shared}/kbn-data-service/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-data-service/kibana.jsonc | 0 .../platform/packages/shared}/kbn-data-service/package.json | 0 .../packages/shared}/kbn-data-service/src/constants.ts | 0 .../kbn-data-service/src/es_query/get_es_query_config.test.ts | 0 .../kbn-data-service/src/es_query/get_es_query_config.ts | 0 .../packages/shared}/kbn-data-service/src/es_query/index.ts | 0 .../kbn-data-service/src/es_query/stubs/exists_filter.ts | 0 .../shared}/kbn-data-service/src/es_query/stubs/index.ts | 0 .../kbn-data-service/src/es_query/stubs/phrase_filter.ts | 0 .../kbn-data-service/src/es_query/stubs/phrases_filter.ts | 0 .../kbn-data-service/src/es_query/stubs/range_filter.ts | 0 .../src/search/tabify/__snapshots__/tabify_docs.test.ts.snap | 0 .../shared}/kbn-data-service/src/search/tabify/index.ts | 0 .../kbn-data-service/src/search/tabify/tabify_docs.test.ts | 0 .../shared}/kbn-data-service/src/search/tabify/tabify_docs.ts | 0 .../platform/packages/shared}/kbn-data-service/src/types.ts | 0 .../platform/packages/shared}/kbn-data-service/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 24 files changed, 8 insertions(+), 8 deletions(-) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d6e1390ed6cb5..7b863d03096d7 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -322,7 +322,6 @@ packages/kbn-crypto-browser @elastic/kibana-core packages/kbn-custom-icons @elastic/obs-ux-logs-team packages/kbn-custom-integrations @elastic/obs-ux-logs-team packages/kbn-cypress-config @elastic/kibana-operations -packages/kbn-data-service @elastic/kibana-visualizations @elastic/kibana-data-discovery packages/kbn-data-stream-adapter @elastic/security-threat-hunting packages/kbn-data-view-utils @elastic/kibana-data-discovery packages/kbn-datemath @elastic/kibana-data-discovery @@ -620,6 +619,7 @@ src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql src/platform/packages/shared/kbn-calculate-width-from-char-count @elastic/kibana-visualizations src/platform/packages/shared/kbn-chart-icons @elastic/kibana-visualizations src/platform/packages/shared/kbn-coloring @elastic/kibana-visualizations +src/platform/packages/shared/kbn-data-service @elastic/kibana-visualizations @elastic/kibana-data-discovery src/platform/packages/shared/kbn-doc-links @elastic/docs src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql diff --git a/package.json b/package.json index f65cbbd856dd1..c555f454108c2 100644 --- a/package.json +++ b/package.json @@ -427,7 +427,7 @@ "@kbn/data-plugin": "link:src/platform/plugins/shared/data", "@kbn/data-quality-plugin": "link:x-pack/plugins/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:packages/kbn-data-stream-adapter", "@kbn/data-usage-plugin": "link:x-pack/plugins/data_usage", "@kbn/data-view-editor-plugin": "link:src/plugins/data_view_editor", 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/tsconfig.base.json b/tsconfig.base.json index 621eb604e568b..8e3dae893c368 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -708,8 +708,8 @@ "@kbn/data-quality-plugin/*": ["x-pack/plugins/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": ["packages/kbn-data-stream-adapter"], "@kbn/data-stream-adapter/*": ["packages/kbn-data-stream-adapter/*"], "@kbn/data-usage-plugin": ["x-pack/plugins/data_usage"], diff --git a/yarn.lock b/yarn.lock index 21e7e2bc94588..ac0562e2f09eb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5232,7 +5232,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 "" From f77fa021932a47273a69c6f45b37900e9f1ec37d Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:35:51 +0100 Subject: [PATCH 08/51] Relocating module `@kbn/dom-drag-drop` --- .buildkite/scripts/pipelines/pull_request/pipeline.ts | 2 +- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- package.json | 2 +- .../platform/packages/shared}/kbn-dom-drag-drop/README.md | 0 .../platform/packages/shared}/kbn-dom-drag-drop/index.ts | 0 .../packages/shared}/kbn-dom-drag-drop/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-dom-drag-drop/kibana.jsonc | 0 .../platform/packages/shared}/kbn-dom-drag-drop/package.json | 0 .../packages/shared}/kbn-dom-drag-drop/src/constants.ts | 0 .../kbn-dom-drag-drop/src/drag_drop_reordering.test.tsx | 0 .../packages/shared}/kbn-dom-drag-drop/src/draggable.test.tsx | 0 .../packages/shared}/kbn-dom-drag-drop/src/draggable.tsx | 0 .../shared}/kbn-dom-drag-drop/src/drop_overlay_wrapper.tsx | 0 .../shared}/kbn-dom-drag-drop/src/drop_targets/index.ts | 0 .../src/drop_targets/swap_duplicate_combine.tsx | 0 .../packages/shared}/kbn-dom-drag-drop/src/droppable.test.tsx | 0 .../packages/shared}/kbn-dom-drag-drop/src/droppable.tsx | 0 .../platform/packages/shared}/kbn-dom-drag-drop/src/index.ts | 0 .../shared}/kbn-dom-drag-drop/src/providers/announcements.tsx | 0 .../shared}/kbn-dom-drag-drop/src/providers/index.tsx | 0 .../kbn-dom-drag-drop/src/providers/providers.test.tsx | 0 .../shared}/kbn-dom-drag-drop/src/providers/providers.tsx | 0 .../kbn-dom-drag-drop/src/providers/reorder_provider.tsx | 0 .../shared}/kbn-dom-drag-drop/src/providers/types.tsx | 0 .../shared}/kbn-dom-drag-drop/src/sass/drag_drop_mixins.scss | 0 .../shared}/kbn-dom-drag-drop/src/sass/draggable.scss | 0 .../shared}/kbn-dom-drag-drop/src/sass/droppable.scss | 0 .../packages/shared}/kbn-dom-drag-drop/src/test_utils.tsx | 0 .../platform/packages/shared}/kbn-dom-drag-drop/src/types.ts | 0 .../platform/packages/shared}/kbn-dom-drag-drop/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 33 files changed, 10 insertions(+), 10 deletions(-) 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%) rename {packages => src/platform/packages/shared}/kbn-dom-drag-drop/jest.config.js (83%) 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%) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 3bb613e1a5684..1fe87f98204f7 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -286,7 +286,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^package.json/, /^packages\/kbn-discover-utils/, /^packages\/kbn-doc-links/, - /^packages\/kbn-dom-drag-drop/, + /^src\/platform\/packages\/shared\/kbn-dom-drag-drop/, /^packages\/kbn-es-query/, /^packages\/kbn-i18n/, /^packages\/kbn-i18n-react/, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7b863d03096d7..4f56140e32a6b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -334,7 +334,6 @@ packages/kbn-dev-utils @elastic/kibana-operations packages/kbn-discover-contextual-components @elastic/obs-ux-logs-team @elastic/kibana-data-discovery packages/kbn-discover-utils @elastic/kibana-data-discovery packages/kbn-docs-utils @elastic/kibana-operations -packages/kbn-dom-drag-drop @elastic/kibana-visualizations @elastic/kibana-data-discovery packages/kbn-ebt-tools @elastic/kibana-core packages/kbn-elastic-agent-utils @elastic/obs-ux-logs-team packages/kbn-es @elastic/kibana-operations @@ -621,6 +620,7 @@ src/platform/packages/shared/kbn-chart-icons @elastic/kibana-visualizations src/platform/packages/shared/kbn-coloring @elastic/kibana-visualizations src/platform/packages/shared/kbn-data-service @elastic/kibana-visualizations @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-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 diff --git a/.i18nrc.json b/.i18nrc.json index db45741d3a864..07cfbc698d851 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -20,7 +20,7 @@ "customIntegrationsPackage": "packages/kbn-custom-integrations", "dashboard": "src/plugins/dashboard", "cloud": "packages/cloud", - "domDragDrop": "packages/kbn-dom-drag-drop", + "domDragDrop": "src/platform/packages/shared/kbn-dom-drag-drop", "controls": "src/plugins/controls", "data": "src/platform/plugins/shared/data", "observabilityAlertDetails": "x-pack/packages/observability/alert_details", diff --git a/package.json b/package.json index c555f454108c2..6d11d75983533 100644 --- a/package.json +++ b/package.json @@ -461,7 +461,7 @@ "@kbn/discover-shared-plugin": "link:src/plugins/discover_shared", "@kbn/discover-utils": "link:packages/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:packages/kbn-ebt-tools", "@kbn/ecs-data-quality-dashboard": "link:x-pack/packages/security-solution/ecs_data_quality_dashboard", "@kbn/ecs-data-quality-dashboard-plugin": "link:x-pack/plugins/ecs_data_quality_dashboard", 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/packages/kbn-dom-drag-drop/jest.config.js b/src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js similarity index 83% rename from packages/kbn-dom-drag-drop/jest.config.js rename to src/platform/packages/shared/kbn-dom-drag-drop/jest.config.js index 854ac94b02a47..959cce467567d 100644 --- a/packages/kbn-dom-drag-drop/jest.config.js +++ b/src/platform/packages/shared/kbn-dom-drag-drop/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-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/tsconfig.base.json b/tsconfig.base.json index 8e3dae893c368..bbd082bef0210 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -790,8 +790,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": ["packages/kbn-ebt-tools"], "@kbn/ebt-tools/*": ["packages/kbn-ebt-tools/*"], "@kbn/ecs-data-quality-dashboard": ["x-pack/packages/security-solution/ecs_data_quality_dashboard"], diff --git a/yarn.lock b/yarn.lock index ac0562e2f09eb..0b61b675fd672 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5396,7 +5396,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 "" From b90a4aad61c8830b47ae1326a47db944c5eb392d Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:37:16 +0100 Subject: [PATCH 09/51] Relocating module `@kbn/event-annotation-common` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- package.json | 2 +- .../packages/shared}/kbn-event-annotation-common/README.md | 0 .../packages/shared}/kbn-event-annotation-common/index.ts | 0 .../shared}/kbn-event-annotation-common/jest.config.js | 4 ++-- .../packages/shared}/kbn-event-annotation-common/kibana.jsonc | 0 .../packages/shared}/kbn-event-annotation-common/package.json | 0 .../shared}/kbn-event-annotation-common/tsconfig.json | 2 +- .../packages/shared}/kbn-event-annotation-common/types.ts | 0 .../packages/shared}/kbn-event-annotation-common/util.ts | 0 tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 13 files changed, 9 insertions(+), 9 deletions(-) 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 => 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4f56140e32a6b..c22f234210537 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -347,7 +347,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-expandable-flyout @elastic/security-threat-hunting-investigations packages/kbn-expect @elastic/kibana-operations @elastic/appex-qa @@ -624,6 +623,7 @@ src/platform/packages/shared/kbn-dom-drag-drop @elastic/kibana-visualizations @e 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/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations src/platform/plugins/shared/charts @elastic/kibana-visualizations src/platform/plugins/shared/data @elastic/kibana-visualizations @elastic/kibana-data-discovery diff --git a/.i18nrc.json b/.i18nrc.json index 07cfbc698d851..bd3ac67fd10e5 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -52,7 +52,7 @@ "expressionTagcloud": "src/plugins/chart_expressions/expression_tagcloud", "eventAnnotation": "src/plugins/event_annotation", "eventAnnotationListing": "src/plugins/event_annotation_listing", - "eventAnnotationCommon": "packages/kbn-event-annotation-common", + "eventAnnotationCommon": "src/platform/packages/shared/kbn-event-annotation-common", "eventAnnotationComponents": "packages/kbn-event-annotation-components", "fieldUtils": "packages/kbn-field-utils", "fieldFormats": "src/plugins/field_formats", diff --git a/package.json b/package.json index 6d11d75983533..6cbece73351c3 100644 --- a/package.json +++ b/package.json @@ -498,7 +498,7 @@ "@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-common": "link:src/platform/packages/shared/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", 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-event-annotation-common/jest.config.js b/src/platform/packages/shared/kbn-event-annotation-common/jest.config.js similarity index 82% rename from packages/kbn-event-annotation-common/jest.config.js rename to src/platform/packages/shared/kbn-event-annotation-common/jest.config.js index 61c60c7572d78..5a8665ff7b363 100644 --- a/packages/kbn-event-annotation-common/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-event-annotation-common'], + 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/tsconfig.base.json b/tsconfig.base.json index bbd082bef0210..eb51d096e27e2 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -880,8 +880,8 @@ "@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-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": ["packages/kbn-event-annotation-components"], "@kbn/event-annotation-components/*": ["packages/kbn-event-annotation-components/*"], "@kbn/event-annotation-listing-plugin": ["src/plugins/event_annotation_listing"], diff --git a/yarn.lock b/yarn.lock index 0b61b675fd672..1ac7cc9ec8dc0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5576,7 +5576,7 @@ 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 "" From ad1bc2e9f4586d9482119740f0e71afce033e9d3 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:38:37 +0100 Subject: [PATCH 10/51] Relocating module `@kbn/event-annotation-components` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- package.json | 2 +- .../shared}/kbn-event-annotation-components/README.md | 0 .../annotation_editor_controls/annotation_editor_controls.tsx | 0 .../components/annotation_editor_controls/helpers.ts | 0 .../components/annotation_editor_controls/icon_set.ts | 0 .../components/annotation_editor_controls/index.scss | 0 .../components/annotation_editor_controls/index.test.tsx | 0 .../components/annotation_editor_controls/index.tsx | 0 .../annotation_editor_controls/manual_annotation_panel.tsx | 0 .../annotation_editor_controls/query_annotation_panel.tsx | 0 .../annotation_editor_controls/range_annotation_panel.tsx | 0 .../annotation_editor_controls/tooltip_annotation_panel.tsx | 0 .../components/annotation_editor_controls/types.ts | 0 .../components/event_annotation_group_saved_object_finder.tsx | 0 .../components/get_annotation_accessor.ts | 0 .../kbn-event-annotation-components/components/index.ts | 0 .../shared}/kbn-event-annotation-components/constants.ts | 0 .../packages/shared}/kbn-event-annotation-components/index.ts | 0 .../shared}/kbn-event-annotation-components/jest.config.js | 4 ++-- .../shared}/kbn-event-annotation-components/kibana.jsonc | 0 .../shared}/kbn-event-annotation-components/package.json | 0 .../shared}/kbn-event-annotation-components/tsconfig.json | 2 +- .../packages/shared}/kbn-event-annotation-components/types.ts | 0 tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 27 files changed, 9 insertions(+), 9 deletions(-) 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 => 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c22f234210537..031b63dd01e8c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -347,7 +347,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-components @elastic/kibana-visualizations packages/kbn-expandable-flyout @elastic/security-threat-hunting-investigations packages/kbn-expect @elastic/kibana-operations @elastic/appex-qa packages/kbn-failed-test-reporter-cli @elastic/kibana-operations @elastic/appex-qa @@ -624,6 +623,7 @@ 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/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations src/platform/plugins/shared/charts @elastic/kibana-visualizations src/platform/plugins/shared/data @elastic/kibana-visualizations @elastic/kibana-data-discovery diff --git a/.i18nrc.json b/.i18nrc.json index bd3ac67fd10e5..f75fbbd2103b2 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -53,7 +53,7 @@ "eventAnnotation": "src/plugins/event_annotation", "eventAnnotationListing": "src/plugins/event_annotation_listing", "eventAnnotationCommon": "src/platform/packages/shared/kbn-event-annotation-common", - "eventAnnotationComponents": "packages/kbn-event-annotation-components", + "eventAnnotationComponents": "src/platform/packages/shared/kbn-event-annotation-components", "fieldUtils": "packages/kbn-field-utils", "fieldFormats": "src/plugins/field_formats", "files": "src/plugins/files", diff --git a/package.json b/package.json index 6cbece73351c3..bf8d13554a44c 100644 --- a/package.json +++ b/package.json @@ -499,7 +499,7 @@ "@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:src/platform/packages/shared/kbn-event-annotation-common", - "@kbn/event-annotation-components": "link:packages/kbn-event-annotation-components", + "@kbn/event-annotation-components": "link:src/platform/packages/shared/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-log-fixture-plugin": "link:x-pack/test/plugin_api_integration/plugins/event_log", 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-event-annotation-components/jest.config.js b/src/platform/packages/shared/kbn-event-annotation-components/jest.config.js similarity index 82% rename from packages/kbn-event-annotation-components/jest.config.js rename to src/platform/packages/shared/kbn-event-annotation-components/jest.config.js index 62b40300befaa..47328ffafe5f8 100644 --- a/packages/kbn-event-annotation-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-event-annotation-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/tsconfig.base.json b/tsconfig.base.json index eb51d096e27e2..f9b12c93c8032 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -882,8 +882,8 @@ "@kbn/eui-provider-dev-warning/*": ["test/plugin_functional/plugins/eui_provider_dev_warning/*"], "@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": ["packages/kbn-event-annotation-components"], - "@kbn/event-annotation-components/*": ["packages/kbn-event-annotation-components/*"], + "@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/plugins/event_annotation_listing"], "@kbn/event-annotation-listing-plugin/*": ["src/plugins/event_annotation_listing/*"], "@kbn/event-annotation-plugin": ["src/plugins/event_annotation"], diff --git a/yarn.lock b/yarn.lock index 1ac7cc9ec8dc0..f214b01606276 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5580,7 +5580,7 @@ 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 "" From c50c1637f92d05e96e0de9a78b260413dcb71207 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:40:02 +0100 Subject: [PATCH 11/51] Relocating module `@kbn/event-annotation-listing-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../private}/event_annotation_listing/.i18nrc.json | 0 .../plugins/private}/event_annotation_listing/README.md | 0 .../private}/event_annotation_listing/jest.config.js | 8 ++++---- .../private}/event_annotation_listing/kibana.jsonc | 0 .../__snapshots__/group_editor_flyout.test.tsx.snap | 0 .../group_editor_controls/annotation_list.tsx | 0 .../group_editor_controls/group_editor_controls.test.tsx | 0 .../group_editor_controls/group_editor_controls.tsx | 0 .../group_editor_flyout/group_editor_controls/index.ts | 0 .../group_editor_flyout/group_editor_flyout.test.tsx | 0 .../group_editor_flyout/group_editor_flyout.tsx | 0 .../components/group_editor_flyout/group_preview.test.tsx | 0 .../components/group_editor_flyout/group_preview.tsx | 0 .../public/components/group_editor_flyout/index.ts | 0 .../components/group_editor_flyout/lens_attributes.ts | 0 .../public/components/table_list.test.tsx | 0 .../public/components/table_list.tsx | 0 .../private}/event_annotation_listing/public/constants.ts | 0 .../event_annotation_listing/public/get_table_list.tsx | 0 .../private}/event_annotation_listing/public/index.ts | 0 .../private}/event_annotation_listing/public/plugin.ts | 0 .../private}/event_annotation_listing/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 28 files changed, 12 insertions(+), 12 deletions(-) rename src/{plugins => platform/plugins/private}/event_annotation_listing/.i18nrc.json (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/README.md (100%) rename src/{plugins => platform/plugins/private}/event_annotation_listing/jest.config.js (71%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 031b63dd01e8c..9e497ff517970 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -625,6 +625,7 @@ src/platform/packages/shared/kbn-esql-validation-autocomplete @elastic/kibana-es 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/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations +src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations src/platform/plugins/shared/charts @elastic/kibana-visualizations src/platform/plugins/shared/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/platform/plugins/shared/esql @elastic/kibana-esql @@ -654,7 +655,6 @@ src/plugins/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs- src/plugins/embeddable @elastic/kibana-presentation src/plugins/es_ui_shared @elastic/kibana-management src/plugins/event_annotation @elastic/kibana-visualizations -src/plugins/event_annotation_listing @elastic/kibana-visualizations src/plugins/expression_error @elastic/kibana-presentation src/plugins/expression_image @elastic/kibana-presentation src/plugins/expression_metric @elastic/kibana-presentation diff --git a/.i18nrc.json b/.i18nrc.json index f75fbbd2103b2..e029cb8994321 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -51,7 +51,7 @@ "expressionShape": "src/plugins/expression_shape", "expressionTagcloud": "src/plugins/chart_expressions/expression_tagcloud", "eventAnnotation": "src/plugins/event_annotation", - "eventAnnotationListing": "src/plugins/event_annotation_listing", + "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": "packages/kbn-field-utils", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 83f60500ee503..7a44120f91686 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -118,7 +118,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |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. diff --git a/package.json b/package.json index bf8d13554a44c..68ecc407fd08e 100644 --- a/package.json +++ b/package.json @@ -500,7 +500,7 @@ "@kbn/eui-provider-dev-warning": "link:test/plugin_functional/plugins/eui_provider_dev_warning", "@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/plugins/event_annotation_listing", + "@kbn/event-annotation-listing-plugin": "link:src/platform/plugins/private/event_annotation_listing", "@kbn/event-annotation-plugin": "link:src/plugins/event_annotation", "@kbn/event-log-fixture-plugin": "link:x-pack/test/plugin_api_integration/plugins/event_log", "@kbn/event-log-plugin": "link:x-pack/plugins/event_log", 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/plugins/event_annotation_listing/jest.config.js b/src/platform/plugins/private/event_annotation_listing/jest.config.js similarity index 71% rename from src/plugins/event_annotation_listing/jest.config.js rename to src/platform/plugins/private/event_annotation_listing/jest.config.js index 1a1f85ef69b67..5efbf5369b3bc 100644 --- a/src/plugins/event_annotation_listing/jest.config.js +++ b/src/platform/plugins/private/event_annotation_listing/jest.config.js @@ -9,12 +9,12 @@ 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_listing'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/event_annotation_listing', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/event_annotation_listing/{common,public,server}/**/*.{ts,tsx}', + '/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/tsconfig.base.json b/tsconfig.base.json index f9b12c93c8032..de70e45b16f1c 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -884,8 +884,8 @@ "@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/plugins/event_annotation_listing"], - "@kbn/event-annotation-listing-plugin/*": ["src/plugins/event_annotation_listing/*"], + "@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/plugins/event_annotation"], "@kbn/event-annotation-plugin/*": ["src/plugins/event_annotation/*"], "@kbn/event-log-fixture-plugin": ["x-pack/test/plugin_api_integration/plugins/event_log"], diff --git a/yarn.lock b/yarn.lock index f214b01606276..3a6feef2299cd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5584,7 +5584,7 @@ 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 "" From 1f10ae6f842ce6b1104fdd5b1276014d0cc57783 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:41:26 +0100 Subject: [PATCH 12/51] Relocating module `@kbn/event-annotation-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/event_annotation/.i18nrc.json | 0 .../plugins/private}/event_annotation/README.md | 0 .../plugins/private}/event_annotation/common/constants.ts | 0 .../common/content_management/constants.ts | 0 .../event_annotation/common/content_management/index.ts | 0 .../event_annotation/common/content_management/latest.ts | 0 .../event_annotation/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/fetch_event_annotations_fn.ts | 0 .../common/fetch_event_annotations/handle_request.ts | 0 .../common/fetch_event_annotations/index.ts | 0 .../fetch_event_annotations/request_event_annotations.ts | 0 .../common/fetch_event_annotations/types.ts | 0 .../common/fetch_event_annotations/utils.ts | 0 .../plugins/private}/event_annotation/common/index.ts | 0 .../common/manual_event_annotation/index.ts | 0 .../common/manual_event_annotation/types.ts | 0 .../common/query_point_event_annotation/index.ts | 0 .../common/query_point_event_annotation/types.ts | 0 .../plugins/private}/event_annotation/common/types.ts | 0 .../plugins/private}/event_annotation/jest.config.js | 8 ++++---- .../plugins/private}/event_annotation/kibana.jsonc | 0 .../event_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 .../public/event_annotation_service/service.test.ts | 0 .../public/event_annotation_service/service.tsx | 0 .../__snapshots__/fetch_event_annotations.test.ts.snap | 0 .../fetch_event_annotations.test.ts | 0 .../public/fetch_event_annotations/index.ts | 0 .../plugins/private}/event_annotation/public/index.ts | 0 .../plugins/private}/event_annotation/public/mocks.ts | 0 .../plugins/private}/event_annotation/public/plugin.ts | 0 .../content_management/event_annotation_group_storage.ts | 0 .../event_annotation/server/content_management/index.ts | 0 .../server/content_management/schema/cm_services.ts | 0 .../server/content_management/schema/v1/cm_services.ts | 0 .../server/fetch_event_annotations/index.ts | 0 .../plugins/private}/event_annotation/server/index.ts | 0 .../plugins/private}/event_annotation/server/plugin.ts | 0 .../private}/event_annotation/server/saved_objects.ts | 0 .../plugins/private}/event_annotation/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 52 files changed, 12 insertions(+), 12 deletions(-) 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 => platform/plugins/private}/event_annotation/jest.config.js (73%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9e497ff517970..9052cdd44d94b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -625,6 +625,7 @@ src/platform/packages/shared/kbn-esql-validation-autocomplete @elastic/kibana-es 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/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations +src/platform/plugins/private/event_annotation @elastic/kibana-visualizations src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations src/platform/plugins/shared/charts @elastic/kibana-visualizations src/platform/plugins/shared/data @elastic/kibana-visualizations @elastic/kibana-data-discovery @@ -654,7 +655,6 @@ src/plugins/discover @elastic/kibana-data-discovery src/plugins/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team src/plugins/embeddable @elastic/kibana-presentation src/plugins/es_ui_shared @elastic/kibana-management -src/plugins/event_annotation @elastic/kibana-visualizations src/plugins/expression_error @elastic/kibana-presentation src/plugins/expression_image @elastic/kibana-presentation src/plugins/expression_metric @elastic/kibana-presentation diff --git a/.i18nrc.json b/.i18nrc.json index e029cb8994321..a6c12b2e93b4a 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -50,7 +50,7 @@ "expressions": "src/plugins/expressions", "expressionShape": "src/plugins/expression_shape", "expressionTagcloud": "src/plugins/chart_expressions/expression_tagcloud", - "eventAnnotation": "src/plugins/event_annotation", + "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", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 7a44120f91686..e404c14ae2206 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -114,7 +114,7 @@ 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 diff --git a/package.json b/package.json index 68ecc407fd08e..cf4df359247ec 100644 --- a/package.json +++ b/package.json @@ -501,7 +501,7 @@ "@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/plugins/event_annotation", + "@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/plugins/event_log", "@kbn/expandable-flyout": "link:packages/kbn-expandable-flyout", 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/jest.config.js b/src/platform/plugins/private/event_annotation/jest.config.js similarity index 73% rename from src/plugins/event_annotation/jest.config.js rename to src/platform/plugins/private/event_annotation/jest.config.js index cebdf7be20e62..52b7028706bc8 100644 --- a/src/plugins/event_annotation/jest.config.js +++ b/src/platform/plugins/private/event_annotation/jest.config.js @@ -9,12 +9,12 @@ 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/private/event_annotation'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/event_annotation', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/event_annotation/{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/tsconfig.base.json b/tsconfig.base.json index de70e45b16f1c..0dc052b46fd85 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -886,8 +886,8 @@ "@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/plugins/event_annotation"], - "@kbn/event-annotation-plugin/*": ["src/plugins/event_annotation/*"], + "@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/plugins/event_log"], diff --git a/yarn.lock b/yarn.lock index 3a6feef2299cd..c46f4fc16588d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5588,7 +5588,7 @@ 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 "" From f0675b54e4168d0866bd57691730116b68428cef Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:42:49 +0100 Subject: [PATCH 13/51] Relocating module `@kbn/expression-gauge-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../expression_gauge/common/constants.ts | 0 .../__snapshots__/gauge_function.test.ts.snap | 0 .../common/expression_functions/gauge_function.test.ts | 0 .../common/expression_functions/gauge_function.ts | 0 .../expression_gauge/common/expression_functions/index.ts | 0 .../chart_expressions/expression_gauge/common/index.ts | 0 .../expression_gauge/common/types/expression_functions.ts | 0 .../expression_gauge/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 .../chart_expressions/expression_gauge/jest.config.js | 8 ++++---- .../chart_expressions/expression_gauge/kibana.jsonc | 0 .../__snapshots__/gauge_component.test.tsx.snap | 0 .../expression_gauge/public/components/gauge.scss | 0 .../public/components/gauge_component.test.tsx | 0 .../public/components/gauge_component.tsx | 0 .../expression_gauge/public/components/index.scss | 0 .../public/components/utils/accessors.test.ts | 0 .../expression_gauge/public/components/utils/accessors.ts | 0 .../public/components/utils/gauge_types.ts | 0 .../public/components/utils/helpers.test.ts | 0 .../expression_gauge/public/components/utils/helpers.ts | 0 .../expression_gauge/public/components/utils/icons.ts | 0 .../expression_gauge/public/components/utils/index.ts | 0 .../public/components/utils/use_gauge_size_by_type.ts | 0 .../public/expression_renderers/gauge_renderer.tsx | 0 .../expression_gauge/public/expression_renderers/index.ts | 0 .../chart_expressions/expression_gauge/public/index.ts | 0 .../chart_expressions/expression_gauge/public/plugin.ts | 0 .../expression_gauge/public/services/format_service.ts | 0 .../expression_gauge/public/services/index.ts | 0 .../expression_gauge/public/services/palette_service.ts | 0 .../chart_expressions/expression_gauge/server/index.ts | 0 .../chart_expressions/expression_gauge/server/plugin.ts | 0 .../chart_expressions/expression_gauge/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 42 files changed, 12 insertions(+), 12 deletions(-) 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%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_gauge/jest.config.js (63%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9052cdd44d94b..4dfba09cffe6e 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -627,6 +627,7 @@ src/platform/packages/shared/kbn-event-annotation-components @elastic/kibana-vis src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations src/platform/plugins/private/event_annotation @elastic/kibana-visualizations src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations +src/platform/plugins/shared/chart_expressions/expression_gauge @elastic/kibana-visualizations src/platform/plugins/shared/charts @elastic/kibana-visualizations src/platform/plugins/shared/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/platform/plugins/shared/esql @elastic/kibana-esql @@ -634,7 +635,6 @@ src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant src/plugins/bfetch @elastic/appex-sharedux -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 diff --git a/.i18nrc.json b/.i18nrc.json index a6c12b2e93b4a..bac69f7a1c5f8 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -37,7 +37,7 @@ "esUi": "src/plugins/es_ui_shared", "expandableFlyout": "packages/kbn-expandable-flyout", "expressionError": "src/plugins/expression_error", - "expressionGauge": "src/plugins/chart_expressions/expression_gauge", + "expressionGauge": "src/platform/plugins/shared/chart_expressions/expression_gauge", "expressionHeatmap": "src/plugins/chart_expressions/expression_heatmap", "expressionImage": "src/plugins/expression_image", "expressionMetric": "src/plugins/expression_metric", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index e404c14ae2206..e60458a19a438 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -126,7 +126,7 @@ 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. diff --git a/package.json b/package.json index cf4df359247ec..08116d1d0808e 100644 --- a/package.json +++ b/package.json @@ -508,7 +508,7 @@ "@kbn/exploratory-view-example-plugin": "link:x-pack/examples/exploratory_view_example", "@kbn/exploratory-view-plugin": "link:x-pack/plugins/observability_solution/exploratory_view", "@kbn/expression-error-plugin": "link:src/plugins/expression_error", - "@kbn/expression-gauge-plugin": "link:src/plugins/chart_expressions/expression_gauge", + "@kbn/expression-gauge-plugin": "link:src/platform/plugins/shared/chart_expressions/expression_gauge", "@kbn/expression-heatmap-plugin": "link:src/plugins/chart_expressions/expression_heatmap", "@kbn/expression-image-plugin": "link:src/plugins/expression_image", "@kbn/expression-legacy-metric-vis-plugin": "link:src/plugins/chart_expressions/expression_legacy_metric", 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/plugins/chart_expressions/expression_gauge/jest.config.js b/src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js similarity index 63% rename from src/plugins/chart_expressions/expression_gauge/jest.config.js rename to src/platform/plugins/shared/chart_expressions/expression_gauge/jest.config.js index 7e8fc9b085e78..7de7af39e4335 100644 --- a/src/plugins/chart_expressions/expression_gauge/jest.config.js +++ b/src/platform/plugins/shared/chart_expressions/expression_gauge/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/shared/chart_expressions/expression_gauge'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_gauge', + '/target/kibana-coverage/jest/src/platform/plugins/shared/chart_expressions/expression_gauge', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/chart_expressions/expression_gauge/{common,public,server}/**/*.{ts,tsx}', + '/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/tsconfig.base.json b/tsconfig.base.json index 0dc052b46fd85..45361ee346727 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -902,8 +902,8 @@ "@kbn/exploratory-view-plugin/*": ["x-pack/plugins/observability_solution/exploratory_view/*"], "@kbn/expression-error-plugin": ["src/plugins/expression_error"], "@kbn/expression-error-plugin/*": ["src/plugins/expression_error/*"], - "@kbn/expression-gauge-plugin": ["src/plugins/chart_expressions/expression_gauge"], - "@kbn/expression-gauge-plugin/*": ["src/plugins/chart_expressions/expression_gauge/*"], + "@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/plugins/chart_expressions/expression_heatmap"], "@kbn/expression-heatmap-plugin/*": ["src/plugins/chart_expressions/expression_heatmap/*"], "@kbn/expression-image-plugin": ["src/plugins/expression_image"], diff --git a/yarn.lock b/yarn.lock index c46f4fc16588d..bbd7e3ae73053 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5620,7 +5620,7 @@ 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 "" From 257605b40c3a03870350ff537fc2b896fb66749f Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:44:12 +0100 Subject: [PATCH 14/51] Relocating module `@kbn/expression-heatmap-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../expression_heatmap/common/constants.ts | 0 .../__snapshots__/heatmap_function.test.ts.snap | 0 .../common/expression_functions/heatmap_function.test.ts | 0 .../common/expression_functions/heatmap_function.ts | 0 .../common/expression_functions/heatmap_grid.ts | 0 .../common/expression_functions/heatmap_legend.ts | 0 .../common/expression_functions/index.ts | 0 .../chart_expressions/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 .../chart_expressions/expression_heatmap/jest.config.js | 8 ++++---- .../chart_expressions/expression_heatmap/kibana.jsonc | 0 .../expression_heatmap/public/components/chart_split.tsx | 0 .../public/components/heatmap_component.test.tsx | 0 .../public/components/heatmap_component.tsx | 0 .../expression_heatmap/public/components/helpers.test.ts | 0 .../expression_heatmap/public/components/helpers.ts | 0 .../expression_heatmap/public/components/index.scss | 0 .../expression_heatmap/public/constants.ts | 0 .../public/expression_renderers/heatmap_renderer.tsx | 0 .../public/expression_renderers/index.ts | 0 .../chart_expressions/expression_heatmap/public/index.ts | 0 .../chart_expressions/expression_heatmap/public/plugin.ts | 0 .../public/services/datatable_utilities.ts | 0 .../expression_heatmap/public/services/format_service.ts | 0 .../expression_heatmap/public/services/index.ts | 0 .../expression_heatmap/public/services/palette_service.ts | 0 .../expression_heatmap/public/services/ui_settings.ts | 0 .../expression_heatmap/public/utils/get_color_picker.tsx | 0 .../public/utils/get_split_dimension_utils.test.ts | 0 .../public/utils/get_split_dimension_utils.ts | 0 .../chart_expressions/expression_heatmap/server/index.ts | 0 .../chart_expressions/expression_heatmap/server/plugin.ts | 0 .../chart_expressions/expression_heatmap/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 41 files changed, 12 insertions(+), 12 deletions(-) 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%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_heatmap/jest.config.js (63%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4dfba09cffe6e..40bd78118b3c4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -628,6 +628,7 @@ src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsolde src/platform/plugins/private/event_annotation @elastic/kibana-visualizations src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations 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/charts @elastic/kibana-visualizations src/platform/plugins/shared/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/platform/plugins/shared/esql @elastic/kibana-esql @@ -635,7 +636,6 @@ src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant src/plugins/bfetch @elastic/appex-sharedux -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 diff --git a/.i18nrc.json b/.i18nrc.json index bac69f7a1c5f8..49db6e0074305 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -38,7 +38,7 @@ "expandableFlyout": "packages/kbn-expandable-flyout", "expressionError": "src/plugins/expression_error", "expressionGauge": "src/platform/plugins/shared/chart_expressions/expression_gauge", - "expressionHeatmap": "src/plugins/chart_expressions/expression_heatmap", + "expressionHeatmap": "src/platform/plugins/shared/chart_expressions/expression_heatmap", "expressionImage": "src/plugins/expression_image", "expressionMetric": "src/plugins/expression_metric", "expressionMetricVis": "src/plugins/chart_expressions/expression_metric", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index e60458a19a438..730002c43dd4a 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -130,7 +130,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |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. diff --git a/package.json b/package.json index 08116d1d0808e..acd970d662096 100644 --- a/package.json +++ b/package.json @@ -509,7 +509,7 @@ "@kbn/exploratory-view-plugin": "link:x-pack/plugins/observability_solution/exploratory_view", "@kbn/expression-error-plugin": "link:src/plugins/expression_error", "@kbn/expression-gauge-plugin": "link:src/platform/plugins/shared/chart_expressions/expression_gauge", - "@kbn/expression-heatmap-plugin": "link:src/plugins/chart_expressions/expression_heatmap", + "@kbn/expression-heatmap-plugin": "link:src/platform/plugins/shared/chart_expressions/expression_heatmap", "@kbn/expression-image-plugin": "link:src/plugins/expression_image", "@kbn/expression-legacy-metric-vis-plugin": "link:src/plugins/chart_expressions/expression_legacy_metric", "@kbn/expression-metric-plugin": "link:src/plugins/expression_metric", 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/plugins/chart_expressions/expression_heatmap/jest.config.js b/src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js similarity index 63% rename from src/plugins/chart_expressions/expression_heatmap/jest.config.js rename to src/platform/plugins/shared/chart_expressions/expression_heatmap/jest.config.js index f1424f95bf184..5df32e34f0feb 100644 --- a/src/plugins/chart_expressions/expression_heatmap/jest.config.js +++ b/src/platform/plugins/shared/chart_expressions/expression_heatmap/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/shared/chart_expressions/expression_heatmap'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_heatmap', + '/target/kibana-coverage/jest/src/platform/plugins/shared/chart_expressions/expression_heatmap', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/chart_expressions/expression_heatmap/{common,public,server}/**/*.{ts,tsx}', + '/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/tsconfig.base.json b/tsconfig.base.json index 45361ee346727..47c02df49d2fd 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -904,8 +904,8 @@ "@kbn/expression-error-plugin/*": ["src/plugins/expression_error/*"], "@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/plugins/chart_expressions/expression_heatmap"], - "@kbn/expression-heatmap-plugin/*": ["src/plugins/chart_expressions/expression_heatmap/*"], + "@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/plugins/expression_image"], "@kbn/expression-image-plugin/*": ["src/plugins/expression_image/*"], "@kbn/expression-legacy-metric-vis-plugin": ["src/plugins/chart_expressions/expression_legacy_metric"], diff --git a/yarn.lock b/yarn.lock index bbd7e3ae73053..0716d6c9d88bc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5624,7 +5624,7 @@ 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 "" From 8a0977f62ba2bfd6324db28d0dd303b8e4d56517 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:45:35 +0100 Subject: [PATCH 15/51] Relocating module `@kbn/expression-legacy-metric-vis-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- .../expression_legacy_metric/.i18nrc.json | 0 .../expression_legacy_metric/.storybook/main.js | 2 +- .../chart_expressions/expression_legacy_metric/README.md | 0 .../expression_legacy_metric/common/constants.ts | 0 .../__snapshots__/metric_vis_function.test.ts.snap | 0 .../common/expression_functions/index.ts | 0 .../expression_functions/metric_vis_function.test.ts | 0 .../common/expression_functions/metric_vis_function.ts | 0 .../expression_legacy_metric/common/index.ts | 0 .../common/types/expression_functions.ts | 0 .../common/types/expression_renderers.ts | 0 .../expression_legacy_metric/common/types/index.ts | 0 .../expression_legacy_metric/jest.config.js | 8 ++++---- .../expression_legacy_metric/kibana.jsonc | 0 .../public/__mocks__/format_service.ts | 0 .../public/__mocks__/palette_service.ts | 0 .../expression_legacy_metric/public/__mocks__/services.ts | 0 .../public/__stories__/metric_renderer.stories.tsx | 0 .../__snapshots__/metric_component.test.tsx.snap | 0 .../__snapshots__/with_auto_scale.test.tsx.snap | 0 .../public/components/metric.scss | 0 .../public/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 .../public/components/with_auto_scale.styles.ts | 0 .../public/components/with_auto_scale.test.tsx | 0 .../public/components/with_auto_scale.tsx | 0 .../public/expression_renderers/index.ts | 0 .../public/expression_renderers/metric_vis_renderer.tsx | 0 .../expression_legacy_metric/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 .../expression_legacy_metric/public/services/index.ts | 0 .../public/services/palette_service.ts | 0 .../expression_legacy_metric/public/utils/format.ts | 0 .../expression_legacy_metric/public/utils/index.ts | 0 .../expression_legacy_metric/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 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 49 files changed, 14 insertions(+), 14 deletions(-) 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%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_legacy_metric/jest.config.js (62%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 40bd78118b3c4..ea6976c7072b3 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -629,6 +629,7 @@ src/platform/plugins/private/event_annotation @elastic/kibana-visualizations src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations 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/charts @elastic/kibana-visualizations src/platform/plugins/shared/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/platform/plugins/shared/esql @elastic/kibana-esql @@ -636,7 +637,6 @@ src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant src/plugins/bfetch @elastic/appex-sharedux -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 diff --git a/.i18nrc.json b/.i18nrc.json index 49db6e0074305..3b9ca38fa3caa 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -42,7 +42,7 @@ "expressionImage": "src/plugins/expression_image", "expressionMetric": "src/plugins/expression_metric", "expressionMetricVis": "src/plugins/chart_expressions/expression_metric", - "expressionLegacyMetricVis": "src/plugins/chart_expressions/expression_legacy_metric", + "expressionLegacyMetricVis": "src/platform/plugins/shared/chart_expressions/expression_legacy_metric", "expressionPartitionVis": "src/plugins/chart_expressions/expression_partition_vis", "expressionXY": "src/plugins/chart_expressions/expression_xy", "expressionRepeatImage": "src/plugins/expression_repeat_image", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 730002c43dd4a..e1fb7799a340f 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -138,7 +138,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. diff --git a/package.json b/package.json index acd970d662096..ed734567963b3 100644 --- a/package.json +++ b/package.json @@ -511,7 +511,7 @@ "@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/plugins/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/plugins/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", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index fdfe5cf5ddba9..8e194ab07f791 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -35,7 +35,7 @@ export const storybookAliases = { expandable_flyout: 'packages/kbn-expandable-flyout/.storybook', expression_error: 'src/plugins/expression_error/.storybook', expression_image: 'src/plugins/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/plugins/expression_metric/.storybook', expression_partition_vis: 'src/plugins/chart_expressions/expression_partition_vis/.storybook', expression_repeat_image: 'src/plugins/expression_repeat_image/.storybook', 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/plugins/chart_expressions/expression_legacy_metric/jest.config.js b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js similarity index 62% rename from src/plugins/chart_expressions/expression_legacy_metric/jest.config.js rename to src/platform/plugins/shared/chart_expressions/expression_legacy_metric/jest.config.js index 8ac060a8e6fe7..a04f233972e84 100644 --- a/src/plugins/chart_expressions/expression_legacy_metric/jest.config.js +++ b/src/platform/plugins/shared/chart_expressions/expression_legacy_metric/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_legacy_metric'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_legacy_metric', + '/target/kibana-coverage/jest/src/platform/plugins/shared/chart_expressions/expression_legacy_metric', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/chart_expressions/expression_legacy_metric/{common,public,server}/**/*.{ts,tsx}', + '/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/tsconfig.base.json b/tsconfig.base.json index 47c02df49d2fd..8f68a7be5ab55 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -908,8 +908,8 @@ "@kbn/expression-heatmap-plugin/*": ["src/platform/plugins/shared/chart_expressions/expression_heatmap/*"], "@kbn/expression-image-plugin": ["src/plugins/expression_image"], "@kbn/expression-image-plugin/*": ["src/plugins/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/plugins/expression_metric"], "@kbn/expression-metric-plugin/*": ["src/plugins/expression_metric/*"], "@kbn/expression-metric-vis-plugin": ["src/plugins/chart_expressions/expression_metric"], diff --git a/yarn.lock b/yarn.lock index 0716d6c9d88bc..efca321d0de78 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5632,7 +5632,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 "" From 22b56dc9afd97d1a285121b64e68c373411712e8 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:46:57 +0100 Subject: [PATCH 16/51] Relocating module `@kbn/expression-metric-vis-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../chart_expressions/expression_metric/.i18nrc.json | 0 .../expression_metric/.storybook/main.js | 2 +- .../shared}/chart_expressions/expression_metric/README.md | 0 .../expression_metric/common/constants.ts | 0 .../__snapshots__/metric_trendline_function.test.ts.snap | 0 .../common/expression_functions/index.ts | 0 .../metric_trendline_function.test.ts | 0 .../expression_functions/metric_trendline_function.ts | 0 .../expression_functions/metric_vis_function.test.ts | 0 .../common/expression_functions/metric_vis_function.ts | 0 .../chart_expressions/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 .../chart_expressions/expression_metric/jest.config.js | 8 ++++---- .../chart_expressions/expression_metric/kibana.jsonc | 0 .../expression_metric/public/__mocks__/theme_service.ts | 0 .../components/__snapshots__/metric_vis.test.tsx.snap | 0 .../public/components/metric_vis.test.tsx | 0 .../expression_metric/public/components/metric_vis.tsx | 0 .../public/expression_renderers/index.ts | 0 .../public/expression_renderers/metric_vis_renderer.tsx | 0 .../chart_expressions/expression_metric/public/index.ts | 0 .../chart_expressions/expression_metric/public/plugin.ts | 0 .../expression_metric/public/services/format_service.ts | 0 .../expression_metric/public/services/index.ts | 0 .../expression_metric/public/services/palette_service.ts | 0 .../expression_metric/public/services/theme_service.ts | 0 .../expression_metric/public/services/ui_settings.ts | 0 .../expression_metric/public/utils/index.ts | 0 .../public/utils/palette_data_bounds.test.ts | 0 .../expression_metric/public/utils/palette_data_bounds.ts | 0 .../chart_expressions/expression_metric/server/index.ts | 0 .../chart_expressions/expression_metric/server/plugin.ts | 0 .../chart_expressions/expression_metric/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 41 files changed, 13 insertions(+), 13 deletions(-) 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%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_metric/jest.config.js (63%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ea6976c7072b3..ca9a177209546 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -630,6 +630,7 @@ src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizat 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/charts @elastic/kibana-visualizations src/platform/plugins/shared/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/platform/plugins/shared/esql @elastic/kibana-esql @@ -637,7 +638,6 @@ src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant src/plugins/bfetch @elastic/appex-sharedux -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 diff --git a/.i18nrc.json b/.i18nrc.json index 3b9ca38fa3caa..917704b00898c 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -41,7 +41,7 @@ "expressionHeatmap": "src/platform/plugins/shared/chart_expressions/expression_heatmap", "expressionImage": "src/plugins/expression_image", "expressionMetric": "src/plugins/expression_metric", - "expressionMetricVis": "src/plugins/chart_expressions/expression_metric", + "expressionMetricVis": "src/platform/plugins/shared/chart_expressions/expression_metric", "expressionLegacyMetricVis": "src/platform/plugins/shared/chart_expressions/expression_legacy_metric", "expressionPartitionVis": "src/plugins/chart_expressions/expression_partition_vis", "expressionXY": "src/plugins/chart_expressions/expression_xy", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index e1fb7799a340f..c0d19db339f15 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -146,7 +146,7 @@ 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. diff --git a/package.json b/package.json index ed734567963b3..a89ce72f184b1 100644 --- a/package.json +++ b/package.json @@ -513,7 +513,7 @@ "@kbn/expression-image-plugin": "link:src/plugins/expression_image", "@kbn/expression-legacy-metric-vis-plugin": "link:src/platform/plugins/shared/chart_expressions/expression_legacy_metric", "@kbn/expression-metric-plugin": "link:src/plugins/expression_metric", - "@kbn/expression-metric-vis-plugin": "link:src/plugins/chart_expressions/expression_metric", + "@kbn/expression-metric-vis-plugin": "link:src/platform/plugins/shared/chart_expressions/expression_metric", "@kbn/expression-partition-vis-plugin": "link:src/plugins/chart_expressions/expression_partition_vis", "@kbn/expression-repeat-image-plugin": "link:src/plugins/expression_repeat_image", "@kbn/expression-reveal-image-plugin": "link:src/plugins/expression_reveal_image", 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/plugins/chart_expressions/expression_metric/jest.config.js b/src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js similarity index 63% rename from src/plugins/chart_expressions/expression_metric/jest.config.js rename to src/platform/plugins/shared/chart_expressions/expression_metric/jest.config.js index f2f48e4cd3959..99d2998a48cc3 100644 --- a/src/plugins/chart_expressions/expression_metric/jest.config.js +++ b/src/platform/plugins/shared/chart_expressions/expression_metric/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/shared/chart_expressions/expression_metric'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_metric', + '/target/kibana-coverage/jest/src/platform/plugins/shared/chart_expressions/expression_metric', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/chart_expressions/expression_metric/{common,public,server}/**/*.{ts,tsx}', + '/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/tsconfig.base.json b/tsconfig.base.json index 8f68a7be5ab55..f40fc8f75b949 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -912,8 +912,8 @@ "@kbn/expression-legacy-metric-vis-plugin/*": ["src/platform/plugins/shared/chart_expressions/expression_legacy_metric/*"], "@kbn/expression-metric-plugin": ["src/plugins/expression_metric"], "@kbn/expression-metric-plugin/*": ["src/plugins/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-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/plugins/chart_expressions/expression_partition_vis"], "@kbn/expression-partition-vis-plugin/*": ["src/plugins/chart_expressions/expression_partition_vis/*"], "@kbn/expression-repeat-image-plugin": ["src/plugins/expression_repeat_image"], diff --git a/yarn.lock b/yarn.lock index efca321d0de78..cd91edb62efe0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5640,7 +5640,7 @@ 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 "" From 88805530a38dff8154fba992aa705362a6a3ee05 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:48:25 +0100 Subject: [PATCH 17/51] Relocating module `@kbn/expression-partition-vis-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- .../expression_partition_vis/.storybook/main.js | 0 .../chart_expressions/expression_partition_vis/README.md | 0 .../expression_partition_vis/common/constants.ts | 0 .../__snapshots__/mosaic_vis_function.test.ts.snap | 0 .../__snapshots__/pie_vis_function.test.ts.snap | 0 .../__snapshots__/treemap_vis_function.test.ts.snap | 0 .../__snapshots__/waffle_vis_function.test.ts.snap | 0 .../common/expression_functions/i18n.ts | 0 .../common/expression_functions/index.ts | 0 .../expression_functions/mosaic_vis_function.test.ts | 0 .../common/expression_functions/mosaic_vis_function.ts | 0 .../expression_functions/partition_labels_function.ts | 0 .../common/expression_functions/pie_vis_function.test.ts | 0 .../common/expression_functions/pie_vis_function.ts | 0 .../expression_functions/treemap_vis_function.test.ts | 0 .../common/expression_functions/treemap_vis_function.ts | 0 .../expression_functions/waffle_vis_function.test.ts | 0 .../common/expression_functions/waffle_vis_function.ts | 0 .../expression_partition_vis/common/index.ts | 0 .../common/types/expression_functions.ts | 0 .../common/types/expression_renderers.ts | 0 .../expression_partition_vis/common/types/index.ts | 0 .../common/utils/consolidate_metric_columns.test.ts | 0 .../common/utils/consolidate_metric_columns.ts | 0 .../expression_partition_vis/common/utils/index.ts | 0 .../expression_partition_vis/jest.config.js | 8 ++++---- .../expression_partition_vis/kibana.jsonc | 0 .../public/__mocks__/format_service.ts | 0 .../expression_partition_vis/public/__mocks__/index.ts | 0 .../expression_partition_vis/public/__mocks__/palettes.ts | 0 .../public/__mocks__/start_deps.ts | 0 .../expression_partition_vis/public/__mocks__/theme.ts | 0 .../public/__mocks__/ui_settings.ts | 0 .../public/__stories__/mosaic_vis_renderer.stories.tsx | 0 .../public/__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 .../public/__stories__/treemap_vis_renderer.stories.tsx | 0 .../public/__stories__/waffle_vis_renderer.stories.tsx | 0 .../__snapshots__/partition_vis_component.test.tsx.snap | 0 .../public/components/chart_split.tsx | 0 .../expression_partition_vis/public/components/index.ts | 0 .../public/components/partition_vis_component.styles.ts | 0 .../public/components/partition_vis_component.test.tsx | 0 .../public/components/partition_vis_component.tsx | 0 .../public/components/visualization_noresults.tsx | 0 .../public/expression_renderers/index.ts | 0 .../expression_renderers/partition_vis_renderer.test.tsx | 0 .../expression_renderers/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 .../public/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 .../expression_partition_vis/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 .../expression_partition_vis/public/utils/get_columns.ts | 0 .../public/utils/get_distinct_series.test.ts | 0 .../public/utils/get_distinct_series.ts | 0 .../expression_partition_vis/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 .../public/utils/get_split_dimension_accessor.test.ts | 0 .../public/utils/get_split_dimension_accessor.ts | 0 .../expression_partition_vis/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 .../expression_partition_vis/public/utils/layers/index.ts | 0 .../public/utils/layers/sort_predicate.test.ts | 0 .../public/utils/layers/sort_predicate.ts | 0 .../expression_partition_vis/public/utils/legend.test.ts | 0 .../expression_partition_vis/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 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 97 files changed, 13 insertions(+), 13 deletions(-) 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%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_partition_vis/jest.config.js (62%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ca9a177209546..c76f5e262e7c1 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -631,6 +631,7 @@ src/platform/plugins/shared/chart_expressions/expression_gauge @elastic/kibana-v 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/charts @elastic/kibana-visualizations src/platform/plugins/shared/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/platform/plugins/shared/esql @elastic/kibana-esql @@ -638,7 +639,6 @@ src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant src/plugins/bfetch @elastic/appex-sharedux -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/console @elastic/kibana-management diff --git a/.i18nrc.json b/.i18nrc.json index 917704b00898c..95d07427884c4 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -43,7 +43,7 @@ "expressionMetric": "src/plugins/expression_metric", "expressionMetricVis": "src/platform/plugins/shared/chart_expressions/expression_metric", "expressionLegacyMetricVis": "src/platform/plugins/shared/chart_expressions/expression_legacy_metric", - "expressionPartitionVis": "src/plugins/chart_expressions/expression_partition_vis", + "expressionPartitionVis": "src/platform/plugins/shared/chart_expressions/expression_partition_vis", "expressionXY": "src/plugins/chart_expressions/expression_xy", "expressionRepeatImage": "src/plugins/expression_repeat_image", "expressionRevealImage": "src/plugins/expression_reveal_image", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index c0d19db339f15..bbcbcdd73f33f 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -150,7 +150,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |Expression MetricVis plugin adds a metric renderer and function to the expression plugin. The renderer will display the metric chart. -|{kib-repo}blob/{branch}/src/plugins/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. diff --git a/package.json b/package.json index a89ce72f184b1..0d166279cbc46 100644 --- a/package.json +++ b/package.json @@ -514,7 +514,7 @@ "@kbn/expression-legacy-metric-vis-plugin": "link:src/platform/plugins/shared/chart_expressions/expression_legacy_metric", "@kbn/expression-metric-plugin": "link:src/plugins/expression_metric", "@kbn/expression-metric-vis-plugin": "link:src/platform/plugins/shared/chart_expressions/expression_metric", - "@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", "@kbn/expression-repeat-image-plugin": "link:src/plugins/expression_repeat_image", "@kbn/expression-reveal-image-plugin": "link:src/plugins/expression_reveal_image", "@kbn/expression-shape-plugin": "link:src/plugins/expression_shape", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 8e194ab07f791..f632b3b3ea968 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -37,7 +37,7 @@ export const storybookAliases = { expression_image: 'src/plugins/expression_image/.storybook', expression_metric_vis: 'src/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook', expression_metric: 'src/plugins/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/plugins/expression_repeat_image/.storybook', expression_reveal_image: 'src/plugins/expression_reveal_image/.storybook', expression_shape: 'src/plugins/expression_shape/.storybook', 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/plugins/chart_expressions/expression_partition_vis/jest.config.js b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js similarity index 62% rename from src/plugins/chart_expressions/expression_partition_vis/jest.config.js rename to src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js index 65b582b40ac3f..82a2efff16c3c 100644 --- a/src/plugins/chart_expressions/expression_partition_vis/jest.config.js +++ b/src/platform/plugins/shared/chart_expressions/expression_partition_vis/jest.config.js @@ -9,12 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../../', - roots: ['/src/plugins/chart_expressions/expression_partition_vis'], + rootDir: '../../../../../../', + roots: ['/src/platform/plugins/shared/chart_expressions/expression_partition_vis'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_partition_vis', + '/target/kibana-coverage/jest/src/platform/plugins/shared/chart_expressions/expression_partition_vis', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/chart_expressions/expression_partition_vis/{common,public,server}/**/*.{ts,tsx}', + '/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 1d8c4c4098728..e4929c3ebec90 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/tsconfig.base.json b/tsconfig.base.json index f40fc8f75b949..64e30cb982960 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -914,8 +914,8 @@ "@kbn/expression-metric-plugin/*": ["src/plugins/expression_metric/*"], "@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/plugins/chart_expressions/expression_partition_vis"], - "@kbn/expression-partition-vis-plugin/*": ["src/plugins/chart_expressions/expression_partition_vis/*"], + "@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/plugins/expression_repeat_image"], "@kbn/expression-repeat-image-plugin/*": ["src/plugins/expression_repeat_image/*"], "@kbn/expression-reveal-image-plugin": ["src/plugins/expression_reveal_image"], diff --git a/yarn.lock b/yarn.lock index cd91edb62efe0..1737450f45a68 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5644,7 +5644,7 @@ 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 "" From 589ee2f401a78262d8354867171fa10fa64c6c7c Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:49:49 +0100 Subject: [PATCH 18/51] Relocating module `@kbn/expression-tagcloud-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- .../chart_expressions/expression_tagcloud/.i18nrc.json | 0 .../expression_tagcloud/.storybook/main.js | 0 .../chart_expressions/expression_tagcloud/README.md | 0 .../expression_tagcloud/common/constants.ts | 0 .../__snapshots__/tagcloud_function.test.ts.snap | 0 .../common/expression_functions/index.ts | 0 .../common/expression_functions/tagcloud_function.test.ts | 0 .../common/expression_functions/tagcloud_function.ts | 0 .../chart_expressions/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 .../chart_expressions/expression_tagcloud/jest.config.js | 8 ++++---- .../chart_expressions/expression_tagcloud/kibana.jsonc | 0 .../public/__mocks__/format_service.ts | 0 .../expression_tagcloud/public/__mocks__/palettes.ts | 0 .../expression_tagcloud/public/__mocks__/theme.ts | 0 .../public/__stories__/tagcloud_renderer.stories.tsx | 0 .../expression_tagcloud/public/components/index.ts | 0 .../expression_tagcloud/public/components/tag_cloud.scss | 0 .../public/components/tagcloud_component.test.tsx | 0 .../public/components/tagcloud_component.tsx | 0 .../public/expression_renderers/index.ts | 0 .../public/expression_renderers/tagcloud_renderer.tsx | 0 .../expression_tagcloud/public/format_service.ts | 0 .../chart_expressions/expression_tagcloud/public/index.ts | 0 .../expression_tagcloud/public/plugin.ts | 0 .../chart_expressions/expression_tagcloud/server/index.ts | 0 .../expression_tagcloud/server/plugin.ts | 0 .../chart_expressions/expression_tagcloud/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 37 files changed, 13 insertions(+), 13 deletions(-) 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%) rename src/{plugins => platform/plugins/shared}/chart_expressions/expression_tagcloud/jest.config.js (63%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c76f5e262e7c1..53cbafa91221f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -632,6 +632,7 @@ src/platform/plugins/shared/chart_expressions/expression_heatmap @elastic/kibana 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/charts @elastic/kibana-visualizations src/platform/plugins/shared/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/platform/plugins/shared/esql @elastic/kibana-esql @@ -639,7 +640,6 @@ src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant src/plugins/bfetch @elastic/appex-sharedux -src/plugins/chart_expressions/expression_tagcloud @elastic/kibana-visualizations src/plugins/chart_expressions/expression_xy @elastic/kibana-visualizations src/plugins/console @elastic/kibana-management src/plugins/content_management @elastic/appex-sharedux diff --git a/.i18nrc.json b/.i18nrc.json index 95d07427884c4..7270bf2f16ba3 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -49,7 +49,7 @@ "expressionRevealImage": "src/plugins/expression_reveal_image", "expressions": "src/plugins/expressions", "expressionShape": "src/plugins/expression_shape", - "expressionTagcloud": "src/plugins/chart_expressions/expression_tagcloud", + "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", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index bbcbcdd73f33f..3a2d8a915ce7f 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -188,7 +188,7 @@ 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. diff --git a/package.json b/package.json index 0d166279cbc46..12dab278e492d 100644 --- a/package.json +++ b/package.json @@ -518,7 +518,7 @@ "@kbn/expression-repeat-image-plugin": "link:src/plugins/expression_repeat_image", "@kbn/expression-reveal-image-plugin": "link:src/plugins/expression_reveal_image", "@kbn/expression-shape-plugin": "link:src/plugins/expression_shape", - "@kbn/expression-tagcloud-plugin": "link:src/plugins/chart_expressions/expression_tagcloud", + "@kbn/expression-tagcloud-plugin": "link:src/platform/plugins/shared/chart_expressions/expression_tagcloud", "@kbn/expression-xy-plugin": "link:src/plugins/chart_expressions/expression_xy", "@kbn/expressions-explorer-plugin": "link:examples/expressions_explorer", "@kbn/expressions-plugin": "link:src/plugins/expressions", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index f632b3b3ea968..466c30289723b 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -41,7 +41,7 @@ export const storybookAliases = { expression_repeat_image: 'src/plugins/expression_repeat_image/.storybook', expression_reveal_image: 'src/plugins/expression_reveal_image/.storybook', expression_shape: 'src/plugins/expression_shape/.storybook', - expression_tagcloud: 'src/plugins/chart_expressions/expression_tagcloud/.storybook', + expression_tagcloud: 'src/platform/plugins/shared/chart_expressions/expression_tagcloud/.storybook', fleet: 'x-pack/plugins/fleet/.storybook', grouping: 'packages/kbn-grouping/.storybook', home: 'src/plugins/home/.storybook', 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/plugins/chart_expressions/expression_tagcloud/jest.config.js b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js similarity index 63% rename from src/plugins/chart_expressions/expression_tagcloud/jest.config.js rename to src/platform/plugins/shared/chart_expressions/expression_tagcloud/jest.config.js index 5a74730e6fcc1..856f3e46beffe 100644 --- a/src/plugins/chart_expressions/expression_tagcloud/jest.config.js +++ b/src/platform/plugins/shared/chart_expressions/expression_tagcloud/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/shared/chart_expressions/expression_tagcloud'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_tagcloud', + '/target/kibana-coverage/jest/src/platform/plugins/shared/chart_expressions/expression_tagcloud', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/chart_expressions/expression_tagcloud/{common,public,server}/**/*.{ts,tsx}', + '/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 40caf4e3b00f0..9d42df7619966 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/tsconfig.base.json b/tsconfig.base.json index 64e30cb982960..7fd36e593218f 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -922,8 +922,8 @@ "@kbn/expression-reveal-image-plugin/*": ["src/plugins/expression_reveal_image/*"], "@kbn/expression-shape-plugin": ["src/plugins/expression_shape"], "@kbn/expression-shape-plugin/*": ["src/plugins/expression_shape/*"], - "@kbn/expression-tagcloud-plugin": ["src/plugins/chart_expressions/expression_tagcloud"], - "@kbn/expression-tagcloud-plugin/*": ["src/plugins/chart_expressions/expression_tagcloud/*"], + "@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/plugins/chart_expressions/expression_xy"], "@kbn/expression-xy-plugin/*": ["src/plugins/chart_expressions/expression_xy/*"], "@kbn/expressions-explorer-plugin": ["examples/expressions_explorer"], diff --git a/yarn.lock b/yarn.lock index 1737450f45a68..31ae352bc132f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5660,7 +5660,7 @@ 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 "" From 8b1a17409bfa34eedf03dd28c4e5a922bda43555 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:51:10 +0100 Subject: [PATCH 19/51] Relocating module `@kbn/expression-xy-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../shared}/chart_expressions/expression_xy/README.md | 0 .../expression_xy/common/__mocks__/index.ts | 0 .../chart_expressions/expression_xy/common/constants.ts | 0 .../__snapshots__/extended_data_layer.test.ts.snap | 0 .../__snapshots__/layered_xy_vis.test.ts.snap | 0 .../__snapshots__/xy_vis.test.ts.snap | 0 .../common/expression_functions/annotation_layer.ts | 0 .../common/expression_functions/axis_extent_config.ts | 0 .../common/expression_functions/common_axis_args.ts | 0 .../common/expression_functions/common_data_layer_args.ts | 0 .../common/expression_functions/common_xy_args.ts | 0 .../common/expression_functions/common_y_config_args.ts | 0 .../common/expression_functions/data_decoration_config.ts | 0 .../expression_functions/event_annotations_result.ts | 0 .../expression_functions/extended_annotation_layer.ts | 0 .../expression_functions/extended_data_layer.test.ts | 0 .../common/expression_functions/extended_data_layer.ts | 0 .../common/expression_functions/extended_data_layer_fn.ts | 0 .../expression_xy/common/expression_functions/index.ts | 0 .../common/expression_functions/layered_xy_vis.test.ts | 0 .../common/expression_functions/layered_xy_vis.ts | 0 .../common/expression_functions/layered_xy_vis_fn.ts | 0 .../common/expression_functions/legend_config.test.ts | 0 .../common/expression_functions/legend_config.ts | 0 .../common/expression_functions/legend_config_fn.ts | 0 .../common/expression_functions/reference_line.test.ts | 0 .../common/expression_functions/reference_line.ts | 0 .../reference_line_decoration_config.ts | 0 .../common/expression_functions/reference_line_layer.ts | 0 .../expression_functions/reference_line_layer_fn.ts | 0 .../expression_xy/common/expression_functions/validate.ts | 0 .../common/expression_functions/x_axis_config.ts | 0 .../common/expression_functions/xy_vis.test.ts | 0 .../expression_xy/common/expression_functions/xy_vis.ts | 0 .../common/expression_functions/xy_vis_fn.ts | 0 .../common/expression_functions/y_axis_config.ts | 0 .../expression_xy/common/helpers/index.ts | 0 .../expression_xy/common/helpers/layers.test.ts | 0 .../expression_xy/common/helpers/layers.ts | 0 .../expression_xy/common/helpers/table.test.ts | 0 .../expression_xy/common/helpers/table.ts | 0 .../expression_xy/common/helpers/visualization.test.ts | 0 .../expression_xy/common/helpers/visualization.ts | 0 .../chart_expressions/expression_xy/common/i18n/index.tsx | 0 .../chart_expressions/expression_xy/common/index.ts | 0 .../expression_xy/common/types/expression_functions.ts | 0 .../expression_xy/common/types/expression_renderers.ts | 0 .../chart_expressions/expression_xy/common/types/index.ts | 0 .../expression_xy/common/utils/index.tsx | 0 .../expression_xy/common/utils/layer_types_guards.ts | 0 .../expression_xy/common/utils/log_datatables.ts | 0 .../chart_expressions/expression_xy/jest.config.js | 8 ++++---- .../shared}/chart_expressions/expression_xy/kibana.jsonc | 0 .../expression_xy/public/__mocks__/index.tsx | 0 .../components/__snapshots__/xy_chart.test.tsx.snap | 0 .../expression_xy/public/components/annotations.scss | 0 .../expression_xy/public/components/annotations.tsx | 0 .../expression_xy/public/components/data_layers.tsx | 0 .../expression_xy/public/components/index.ts | 0 .../public/components/legend_action.test.tsx | 0 .../expression_xy/public/components/legend_action.tsx | 0 .../public/components/legend_action_popover.tsx | 0 .../public/components/legend_color_picker.tsx | 0 .../public/components/reference_lines/_mocks.ts | 0 .../public/components/reference_lines/index.ts | 0 .../public/components/reference_lines/reference_line.tsx | 0 .../reference_lines/reference_line_annotations.tsx | 0 .../components/reference_lines/reference_line_layer.tsx | 0 .../components/reference_lines/reference_lines.scss | 0 .../components/reference_lines/reference_lines.test.tsx | 0 .../public/components/reference_lines/reference_lines.tsx | 0 .../public/components/reference_lines/utils.test.tsx | 0 .../public/components/reference_lines/utils.tsx | 0 .../expression_xy/public/components/split_chart.tsx | 0 .../__snapshots__/endzone_tooltip_header.test.tsx.snap | 0 .../tooltip/__snapshots__/tooltip.test.tsx.snap | 0 .../tooltip/__snapshots__/tooltip_header.test.tsx.snap | 0 .../tooltip/__snapshots__/tooltip_row.test.tsx.snap | 0 .../components/tooltip/endzone_tooltip_header.test.tsx | 0 .../public/components/tooltip/endzone_tooltip_header.tsx | 0 .../expression_xy/public/components/tooltip/index.tsx | 0 .../expression_xy/public/components/tooltip/tooltip.scss | 0 .../public/components/tooltip/tooltip.test.tsx | 0 .../expression_xy/public/components/tooltip/tooltip.tsx | 0 .../public/components/tooltip/tooltip_actions.tsx | 0 .../public/components/tooltip/tooltip_header.test.tsx | 0 .../public/components/tooltip/tooltip_header.tsx | 0 .../public/components/tooltip/tooltip_row.test.tsx | 0 .../public/components/tooltip/tooltip_row.tsx | 0 .../expression_xy/public/components/tooltip/utils.ts | 0 .../expression_xy/public/components/x_domain.tsx | 0 .../expression_xy/public/components/xy_chart.scss | 0 .../expression_xy/public/components/xy_chart.test.tsx | 0 .../expression_xy/public/components/xy_chart.tsx | 0 .../expression_xy/public/components/xy_current_time.tsx | 0 .../expression_xy/public/definitions/index.ts | 0 .../expression_xy/public/definitions/visualizations.ts | 0 .../expression_xy/public/expression_renderers/index.ts | 0 .../public/expression_renderers/telemetry.test.ts | 0 .../public/expression_renderers/xy_chart_renderer.tsx | 0 .../expression_xy/public/helpers/annotations.tsx | 0 .../public/helpers/axes_configuration.test.ts | 0 .../expression_xy/public/helpers/axes_configuration.ts | 0 .../public/helpers/color/color_mapping_accessor.ts | 0 .../expression_xy/public/helpers/color_assignment.test.ts | 0 .../expression_xy/public/helpers/color_assignment.ts | 0 .../expression_xy/public/helpers/data_layers.tsx | 0 .../expression_xy/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 .../expression_xy/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 .../expression_xy/public/helpers/validate_extent.ts | 0 .../expression_xy/public/helpers/visualization.ts | 0 .../chart_expressions/expression_xy/public/index.ts | 0 .../chart_expressions/expression_xy/public/plugin.ts | 0 .../chart_expressions/expression_xy/public/types.ts | 0 .../chart_expressions/expression_xy/server/index.ts | 0 .../chart_expressions/expression_xy/server/plugin.ts | 0 .../chart_expressions/expression_xy/server/types.ts | 0 .../shared}/chart_expressions/expression_xy/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 130 files changed, 12 insertions(+), 12 deletions(-) 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 => 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 53cbafa91221f..78e1c0c3844fd 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -633,6 +633,7 @@ src/platform/plugins/shared/chart_expressions/expression_legacy_metric @elastic/ 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/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/platform/plugins/shared/esql @elastic/kibana-esql @@ -640,7 +641,6 @@ src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant src/plugins/bfetch @elastic/appex-sharedux -src/plugins/chart_expressions/expression_xy @elastic/kibana-visualizations src/plugins/console @elastic/kibana-management src/plugins/content_management @elastic/appex-sharedux src/plugins/controls @elastic/kibana-presentation diff --git a/.i18nrc.json b/.i18nrc.json index 7270bf2f16ba3..de66d2fe77e25 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -44,7 +44,7 @@ "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/plugins/chart_expressions/expression_xy", + "expressionXY": "src/platform/plugins/shared/chart_expressions/expression_xy", "expressionRepeatImage": "src/plugins/expression_repeat_image", "expressionRevealImage": "src/plugins/expression_reveal_image", "expressions": "src/plugins/expressions", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 3a2d8a915ce7f..b0a72332582c7 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -192,7 +192,7 @@ for use in their own application. |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. diff --git a/package.json b/package.json index 12dab278e492d..bc54c73228ae0 100644 --- a/package.json +++ b/package.json @@ -519,7 +519,7 @@ "@kbn/expression-reveal-image-plugin": "link:src/plugins/expression_reveal_image", "@kbn/expression-shape-plugin": "link:src/plugins/expression_shape", "@kbn/expression-tagcloud-plugin": "link:src/platform/plugins/shared/chart_expressions/expression_tagcloud", - "@kbn/expression-xy-plugin": "link:src/plugins/chart_expressions/expression_xy", + "@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/feature-controls-examples-plugin": "link:examples/feature_control_examples", 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_xy/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_xy/jest.config.js rename to src/platform/plugins/shared/chart_expressions/expression_xy/jest.config.js index f852b83ecd6ae..275833f435bf5 100644 --- a/src/plugins/chart_expressions/expression_xy/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_xy'], + rootDir: '../../../../../../', + roots: ['/src/platform/plugins/shared/chart_expressions/expression_xy'], coverageDirectory: - '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_xy', + '/target/kibana-coverage/jest/src/platform/plugins/shared/chart_expressions/expression_xy', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/chart_expressions/expression_xy/{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 cd8bd4db90b89..c24593e043af0 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/tsconfig.base.json b/tsconfig.base.json index 7fd36e593218f..a4a7f5c11923d 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -924,8 +924,8 @@ "@kbn/expression-shape-plugin/*": ["src/plugins/expression_shape/*"], "@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/plugins/chart_expressions/expression_xy"], - "@kbn/expression-xy-plugin/*": ["src/plugins/chart_expressions/expression_xy/*"], + "@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"], diff --git a/yarn.lock b/yarn.lock index 31ae352bc132f..108effea0909a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5664,7 +5664,7 @@ 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 "" From 58c637f790a40ceb075d984d2014eefc0aca287f Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:52:33 +0100 Subject: [PATCH 20/51] Relocating module `@kbn/expressions-plugin` --- .github/CODEOWNERS | 2 +- .github/paths-labeller.yml | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/shared}/expressions/.eslintrc.json | 0 .../plugins/shared}/expressions/README.asciidoc | 8 ++++---- .../expressions/common/ast/build_expression.test.ts | 0 .../shared}/expressions/common/ast/build_expression.ts | 0 .../shared}/expressions/common/ast/build_function.test.ts | 0 .../shared}/expressions/common/ast/build_function.ts | 0 .../plugins/shared}/expressions/common/ast/format.test.ts | 0 .../plugins/shared}/expressions/common/ast/format.ts | 0 .../expressions/common/ast/format_expression.test.ts | 0 .../shared}/expressions/common/ast/format_expression.ts | 0 .../plugins/shared}/expressions/common/ast/index.ts | 0 .../plugins/shared}/expressions/common/ast/parse.test.ts | 0 .../plugins/shared}/expressions/common/ast/parse.ts | 0 .../expressions/common/ast/parse_expression.test.ts | 0 .../shared}/expressions/common/ast/parse_expression.ts | 0 .../plugins/shared}/expressions/common/ast/types.ts | 0 .../shared}/expressions/common/execution/container.ts | 0 .../common/execution/execution.abortion.test.ts | 0 .../expressions/common/execution/execution.test.ts | 0 .../shared}/expressions/common/execution/execution.ts | 0 .../common/execution/execution_contract.test.ts | 0 .../expressions/common/execution/execution_contract.ts | 0 .../plugins/shared}/expressions/common/execution/index.ts | 0 .../plugins/shared}/expressions/common/execution/types.ts | 0 .../common/executor/__snapshots__/executor.test.ts.snap | 0 .../shared}/expressions/common/executor/container.ts | 0 .../common/executor/executor.execution.test.ts | 0 .../shared}/expressions/common/executor/executor.test.ts | 0 .../shared}/expressions/common/executor/executor.ts | 0 .../plugins/shared}/expressions/common/executor/index.ts | 0 .../expressions/common/expression_functions/arguments.ts | 0 .../common/expression_functions/expression_function.ts | 0 .../expression_functions/expression_function_parameter.ts | 0 .../expression_function_parameters.test.ts | 0 .../expressions/common/expression_functions/index.ts | 0 .../series_calculation_helpers.test.ts | 0 .../expression_functions/series_calculation_helpers.ts | 0 .../expressions/common/expression_functions/specs/clog.ts | 0 .../common/expression_functions/specs/create_table.ts | 0 .../common/expression_functions/specs/cumulative_sum.ts | 0 .../expression_functions/specs/cumulative_sum_fn.ts | 0 .../common/expression_functions/specs/derivative.ts | 0 .../common/expression_functions/specs/derivative_fn.ts | 0 .../expressions/common/expression_functions/specs/font.ts | 0 .../common/expression_functions/specs/index.ts | 0 .../common/expression_functions/specs/map_column.ts | 0 .../expressions/common/expression_functions/specs/math.ts | 0 .../common/expression_functions/specs/math_column.ts | 0 .../common/expression_functions/specs/math_fn.ts | 0 .../common/expression_functions/specs/moving_average.ts | 0 .../expression_functions/specs/moving_average_fn.ts | 0 .../common/expression_functions/specs/overall_metric.ts | 0 .../expression_functions/specs/overall_metric_fn.ts | 0 .../expression_functions/specs/tests/create_table.test.ts | 0 .../specs/tests/cumulative_sum.test.ts | 0 .../expression_functions/specs/tests/derivative.test.ts | 0 .../common/expression_functions/specs/tests/font.test.ts | 0 .../expression_functions/specs/tests/map_column.test.ts | 0 .../common/expression_functions/specs/tests/math.test.ts | 0 .../expression_functions/specs/tests/math_column.test.ts | 0 .../specs/tests/moving_average.test.ts | 0 .../specs/tests/overall_metric.test.ts | 0 .../common/expression_functions/specs/tests/theme.test.ts | 0 .../expression_functions/specs/tests/ui_setting.test.ts | 0 .../common/expression_functions/specs/tests/utils.ts | 0 .../common/expression_functions/specs/tests/var.test.ts | 0 .../expression_functions/specs/tests/var_set.test.ts | 0 .../common/expression_functions/specs/theme.ts | 0 .../common/expression_functions/specs/ui_setting.ts | 0 .../expressions/common/expression_functions/specs/var.ts | 0 .../common/expression_functions/specs/var_set.ts | 0 .../expressions/common/expression_functions/types.ts | 0 .../common/expression_renderers/expression_renderer.ts | 0 .../expression_renderers/expression_renderer_registry.ts | 0 .../expressions/common/expression_renderers/index.ts | 0 .../expressions/common/expression_renderers/types.ts | 0 .../common/expression_types/expression_type.test.ts | 0 .../common/expression_types/expression_type.ts | 0 .../expressions/common/expression_types/get_type.test.ts | 0 .../expressions/common/expression_types/get_type.ts | 0 .../shared}/expressions/common/expression_types/index.ts | 0 .../common/expression_types/serialize_provider.ts | 0 .../expressions/common/expression_types/specs/boolean.ts | 0 .../common/expression_types/specs/datatable.ts | 0 .../expressions/common/expression_types/specs/error.ts | 0 .../expressions/common/expression_types/specs/filter.ts | 0 .../expressions/common/expression_types/specs/image.ts | 0 .../expressions/common/expression_types/specs/index.ts | 0 .../expressions/common/expression_types/specs/null.ts | 0 .../expressions/common/expression_types/specs/num.ts | 0 .../expressions/common/expression_types/specs/number.ts | 0 .../common/expression_types/specs/pointseries.ts | 0 .../expressions/common/expression_types/specs/range.ts | 0 .../expressions/common/expression_types/specs/render.ts | 0 .../expressions/common/expression_types/specs/shape.ts | 0 .../expressions/common/expression_types/specs/string.ts | 0 .../expressions/common/expression_types/specs/style.ts | 0 .../common/expression_types/specs/tests/number.test.ts | 0 .../expression_types/specs/tests/ui_setting.test.ts | 0 .../common/expression_types/specs/ui_setting.ts | 0 .../shared}/expressions/common/expression_types/types.ts | 0 .../expression_types/unbox_expression_value.test.ts | 0 .../common/expression_types/unbox_expression_value.ts | 0 .../plugins/shared}/expressions/common/fonts.ts | 0 .../plugins/shared}/expressions/common/index.ts | 0 .../plugins/shared}/expressions/common/mocks.ts | 0 .../expressions/common/service/expressions_fork.ts | 0 .../common/service/expressions_services.test.ts | 0 .../expressions/common/service/expressions_services.ts | 0 .../plugins/shared}/expressions/common/service/index.ts | 0 .../common/test_helpers/create_unit_test_executor.ts | 0 .../common/test_helpers/expression_functions/access.ts | 0 .../common/test_helpers/expression_functions/add.ts | 0 .../common/test_helpers/expression_functions/error.ts | 0 .../common/test_helpers/expression_functions/index.ts | 0 .../expression_functions/introspect_context.ts | 0 .../common/test_helpers/expression_functions/mult.ts | 0 .../common/test_helpers/expression_functions/sleep.ts | 0 .../common/test_helpers/expression_functions/sum.ts | 0 .../shared}/expressions/common/test_helpers/index.ts | 0 .../plugins/shared}/expressions/common/types/common.ts | 0 .../plugins/shared}/expressions/common/types/index.ts | 0 .../plugins/shared}/expressions/common/types/registry.ts | 0 .../plugins/shared}/expressions/common/types/style.ts | 0 .../common/util/create_default_inspector_adapters.ts | 0 .../shared}/expressions/common/util/create_error.ts | 0 .../common/util/expressions_inspector_adapter.ts | 0 .../shared}/expressions/common/util/get_by_alias.ts | 0 .../plugins/shared}/expressions/common/util/index.ts | 0 .../shared}/expressions/common/util/tables_adapter.ts | 0 .../plugins/shared}/expressions/common/util/test_utils.ts | 0 .../plugins/shared}/expressions/jest.config.js | 8 ++++---- .../plugins/shared}/expressions/kibana.jsonc | 0 .../shared}/expressions/public/_expression_renderer.scss | 0 .../expressions/public/expression_functions/index.ts | 0 .../expressions/public/expression_functions/ui_setting.ts | 0 .../plugins/shared}/expressions/public/index.scss | 0 .../plugins/shared}/expressions/public/index.ts | 0 .../plugins/shared}/expressions/public/loader.test.ts | 0 .../plugins/shared}/expressions/public/loader.ts | 0 .../plugins/shared}/expressions/public/mocks.tsx | 0 .../plugins/shared}/expressions/public/plugin.test.ts | 0 .../plugins/shared}/expressions/public/plugin.ts | 0 .../expressions/public/react_expression_renderer/index.ts | 0 .../react_expression_renderer.test.tsx | 0 .../react_expression_renderer.tsx | 0 .../public/react_expression_renderer/shallow_equal.d.ts | 0 .../react_expression_renderer/use_debounced_value.test.ts | 0 .../react_expression_renderer/use_debounced_value.ts | 0 .../use_expression_renderer.test.ts | 0 .../react_expression_renderer/use_expression_renderer.ts | 0 .../react_expression_renderer/use_shallow_memo.test.ts | 0 .../public/react_expression_renderer/use_shallow_memo.ts | 0 .../public/react_expression_renderer_wrapper.tsx | 0 .../plugins/shared}/expressions/public/render.test.ts | 0 .../plugins/shared}/expressions/public/render.ts | 0 .../shared}/expressions/public/render_error_handler.ts | 0 .../expressions/public/services/expressions_services.ts | 0 .../plugins/shared}/expressions/public/services/index.ts | 0 .../plugins/shared}/expressions/public/types/index.ts | 0 .../expressions/server/expression_functions/index.ts | 0 .../expressions/server/expression_functions/ui_setting.ts | 0 .../plugins/shared}/expressions/server/index.ts | 0 .../plugins/shared}/expressions/server/mocks.ts | 0 .../plugins/shared}/expressions/server/plugin.test.ts | 0 .../plugins/shared}/expressions/server/plugin.ts | 0 .../expressions/server/services/expressions_services.ts | 0 .../plugins/shared}/expressions/server/services/index.ts | 0 .../plugins/shared}/expressions/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 176 files changed, 17 insertions(+), 17 deletions(-) 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%) rename src/{plugins => platform/plugins/shared}/expressions/jest.config.js (71%) 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 (100%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 78e1c0c3844fd..755a81a080d2b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -638,6 +638,7 @@ src/platform/plugins/shared/charts @elastic/kibana-visualizations src/platform/plugins/shared/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql +src/platform/plugins/shared/expressions @elastic/kibana-visualizations src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant src/plugins/bfetch @elastic/appex-sharedux @@ -661,7 +662,6 @@ src/plugins/expression_metric @elastic/kibana-presentation src/plugins/expression_repeat_image @elastic/kibana-presentation src/plugins/expression_reveal_image @elastic/kibana-presentation src/plugins/expression_shape @elastic/kibana-presentation -src/plugins/expressions @elastic/kibana-visualizations src/plugins/field_formats @elastic/kibana-data-discovery src/plugins/files @elastic/appex-sharedux src/plugins/files_management @elastic/appex-sharedux diff --git a/.github/paths-labeller.yml b/.github/paths-labeller.yml index dbbefda24c9ac..0f50700fa6061 100644 --- a/.github/paths-labeller.yml +++ b/.github/paths-labeller.yml @@ -6,7 +6,7 @@ - 'x-pack/plugins/drilldowns/**/*.*' - 'x-pack/plugins/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/plugins/observability_solution/apm/**/*.*' diff --git a/.i18nrc.json b/.i18nrc.json index de66d2fe77e25..f6f187c8bca6d 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -47,7 +47,7 @@ "expressionXY": "src/platform/plugins/shared/chart_expressions/expression_xy", "expressionRepeatImage": "src/plugins/expression_repeat_image", "expressionRevealImage": "src/plugins/expression_reveal_image", - "expressions": "src/plugins/expressions", + "expressions": "src/platform/plugins/shared/expressions", "expressionShape": "src/plugins/expression_shape", "expressionTagcloud": "src/platform/plugins/shared/chart_expressions/expression_tagcloud", "eventAnnotation": "src/platform/plugins/private/event_annotation", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index b0a72332582c7..779848add2e1d 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -984,7 +984,7 @@ in their infrastructure. |=== include::{kibana-root}/src/plugins/dashboard/README.asciidoc[leveloffset=+1] -include::{kibana-root}/src/plugins/expressions/README.asciidoc[leveloffset=+1] +include::{kibana-root}/src/platform/plugins/shared/expressions/README.asciidoc[leveloffset=+1] include::{kibana-root}/src/plugins/ui_actions/README.asciidoc[leveloffset=+1] include::{kibana-root}/x-pack/plugins/dashboard_enhanced/README.asciidoc[leveloffset=+1] include::{kibana-root}/x-pack/plugins/embeddable_enhanced/README.asciidoc[leveloffset=+1] diff --git a/package.json b/package.json index bc54c73228ae0..5b59798eeee06 100644 --- a/package.json +++ b/package.json @@ -521,7 +521,7 @@ "@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", 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/plugins/expressions/jest.config.js b/src/platform/plugins/shared/expressions/jest.config.js similarity index 71% rename from src/plugins/expressions/jest.config.js rename to src/platform/plugins/shared/expressions/jest.config.js index 5395dc015f6d1..8547de8897b85 100644 --- a/src/plugins/expressions/jest.config.js +++ b/src/platform/plugins/shared/expressions/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expressions'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expressions', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expressions'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/expressions', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/expressions/{common,public,server}/**/*.{ts,tsx}'], + 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 100% rename from src/plugins/expressions/public/loader.test.ts rename to src/platform/plugins/shared/expressions/public/loader.test.ts 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/tsconfig.base.json b/tsconfig.base.json index a4a7f5c11923d..9c3bd88331718 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -928,8 +928,8 @@ "@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"], diff --git a/yarn.lock b/yarn.lock index 108effea0909a..ec08d082c4c0d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5672,7 +5672,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 "" From 4bc243125f10e05f6c736839c13fd822b05e8a53 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:53:55 +0100 Subject: [PATCH 21/51] Relocating module `@kbn/graph-plugin` --- .eslintrc.js | 4 ++-- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- tsconfig.base.json | 4 ++-- x-pack/.i18nrc.json | 2 +- .../{plugins => platform/plugins/private}/graph/README.md | 4 ++-- .../plugins/private}/graph/common/check_license.ts | 0 .../plugins/private}/graph/common/constants.ts | 0 .../private}/graph/common/content_management/constants.ts | 0 .../private}/graph/common/content_management/index.ts | 0 .../private}/graph/common/content_management/latest.ts | 0 .../private}/graph/common/content_management/types.ts | 0 .../private}/graph/common/content_management/v1/index.ts | 0 .../private}/graph/common/content_management/v1/types.ts | 0 .../plugins/private}/graph/jest.config.js | 8 ++++---- .../plugins/private}/graph/kibana.jsonc | 0 .../plugins/private}/graph/public/_main.scss | 0 .../plugins/private}/graph/public/_mixins.scss | 0 .../plugins/private}/graph/public/application.tsx | 0 .../plugins/private}/graph/public/apps/listing_route.tsx | 0 .../private}/graph/public/apps/workspace_route.tsx | 0 .../plugins/private}/graph/public/components/_app.scss | 0 .../plugins/private}/graph/public/components/_graph.scss | 0 .../plugins/private}/graph/public/components/_index.scss | 0 .../private}/graph/public/components/_inspect.scss | 0 .../private}/graph/public/components/_search_bar.scss | 0 .../private}/graph/public/components/_sidebar.scss | 0 .../private}/graph/public/components/_source_modal.scss | 0 .../public/components/control_panel/control_panel.tsx | 0 .../components/control_panel/control_panel_tool_bar.tsx | 0 .../components/control_panel/drill_down_icon_links.tsx | 0 .../graph/public/components/control_panel/drill_downs.tsx | 0 .../graph/public/components/control_panel/index.ts | 0 .../public/components/control_panel/merge_candidates.tsx | 0 .../public/components/control_panel/select_style.tsx | 0 .../components/control_panel/selected_node_editor.tsx | 0 .../components/control_panel/selected_node_item.tsx | 0 .../components/control_panel/selection_tool_bar.tsx | 0 .../public/components/field_manager/_field_editor.scss | 0 .../public/components/field_manager/_field_picker.scss | 0 .../graph/public/components/field_manager/_index.scss | 0 .../public/components/field_manager/field_editor.tsx | 0 .../components/field_manager/field_manager.test.tsx | 0 .../public/components/field_manager/field_manager.tsx | 0 .../public/components/field_manager/field_picker.tsx | 0 .../graph/public/components/field_manager/index.ts | 0 .../private}/graph/public/components/graph_title.tsx | 0 .../__snapshots__/graph_visualization.test.tsx.snap | 0 .../graph_visualization/_graph_visualization.scss | 0 .../public/components/graph_visualization/_index.scss | 0 .../graph_visualization/graph_visualization.test.tsx | 0 .../graph_visualization/graph_visualization.tsx | 0 .../graph/public/components/graph_visualization/index.ts | 0 .../public/components/guidance_panel/_guidance_panel.scss | 0 .../graph/public/components/guidance_panel/_index.scss | 0 .../public/components/guidance_panel/guidance_panel.tsx | 0 .../graph/public/components/guidance_panel/index.ts | 0 .../plugins/private}/graph/public/components/helpers.ts | 0 .../private}/graph/public/components/icon_renderer.tsx | 0 .../graph/public/components/maki_icons/assets.tsx | 0 .../private}/graph/public/components/save_modal.tsx | 0 .../private}/graph/public/components/search_bar.test.tsx | 0 .../private}/graph/public/components/search_bar.tsx | 0 .../private}/graph/public/components/settings/_index.scss | 0 .../graph/public/components/settings/_legacy_icon.scss | 0 .../public/components/settings/_url_template_list.scss | 0 .../public/components/settings/advanced_settings_form.tsx | 0 .../graph/public/components/settings/blocklist_form.tsx | 0 .../private}/graph/public/components/settings/index.ts | 0 .../graph/public/components/settings/settings.test.tsx | 0 .../graph/public/components/settings/settings.tsx | 0 .../public/components/settings/url_template_form.tsx | 0 .../public/components/settings/url_template_list.tsx | 0 .../public/components/settings/use_list_keys.test.tsx | 0 .../graph/public/components/settings/use_list_keys.ts | 0 .../private}/graph/public/components/source_modal.tsx | 0 .../private}/graph/public/components/source_picker.tsx | 0 .../graph/public/components/venn_diagram/_index.scss | 0 .../public/components/venn_diagram/_venn_diagram.scss | 0 .../graph/public/components/venn_diagram/index.ts | 0 .../public/components/venn_diagram/venn_diagram.test.tsx | 0 .../graph/public/components/venn_diagram/venn_diagram.tsx | 0 .../graph/public/components/venn_diagram/vennjs/LICENSE | 0 .../graph/public/components/venn_diagram/vennjs/index.ts | 2 +- .../graph/public/components/workspace_layout/index.ts | 0 .../components/workspace_layout/workspace_layout.test.tsx | 0 .../components/workspace_layout/workspace_layout.tsx | 0 .../workspace_layout/workspace_top_nav_menu.tsx | 0 .../private}/graph/public/helpers/as_observable.ts | 0 .../private}/graph/public/helpers/format_http_error.ts | 0 .../private}/graph/public/helpers/kql_encoder.test.ts | 0 .../plugins/private}/graph/public/helpers/kql_encoder.ts | 0 .../private}/graph/public/helpers/outlink_encoders.ts | 0 .../saved_objects_utils/check_for_duplicate_title.ts | 0 .../helpers/saved_objects_utils/confirm_modal_promise.tsx | 0 .../graph/public/helpers/saved_objects_utils/constants.ts | 0 .../display_duplicate_title_confirm_modal.ts | 0 .../saved_objects_utils/find_object_by_title.test.ts | 0 .../helpers/saved_objects_utils/find_object_by_title.ts | 0 .../graph/public/helpers/saved_objects_utils/index.ts | 0 .../helpers/saved_objects_utils/save_with_confirmation.ts | 0 .../graph/public/helpers/saved_workspace_utils.test.ts | 0 .../graph/public/helpers/saved_workspace_utils.ts | 0 .../private}/graph/public/helpers/style_choices.ts | 0 .../plugins/private}/graph/public/helpers/url_template.ts | 0 .../private}/graph/public/helpers/use_graph_loader.ts | 0 .../private}/graph/public/helpers/use_inspector.ts | 0 .../graph/public/helpers/use_workspace_loader.test.tsx | 0 .../private}/graph/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 .../graph/public/services/fetch_top_nodes.test.ts | 0 .../private}/graph/public/services/fetch_top_nodes.ts | 0 .../private}/graph/public/services/index_pattern_cache.ts | 0 .../graph/public/services/persistence/deserialize.test.ts | 0 .../graph/public/services/persistence/deserialize.ts | 0 .../private}/graph/public/services/persistence/index.ts | 0 .../persistence/saved_workspace_references.test.ts | 0 .../services/persistence/saved_workspace_references.ts | 0 .../graph/public/services/persistence/serialize.test.ts | 0 .../graph/public/services/persistence/serialize.ts | 0 .../plugins/private}/graph/public/services/save_modal.tsx | 0 .../private}/graph/public/services/source_modal.tsx | 0 .../plugins/private}/graph/public/services/url.ts | 0 .../public/services/workspace/graph_client_workspace.d.ts | 0 .../public/services/workspace/graph_client_workspace.js | 0 .../services/workspace/graph_client_workspace.test.js | 0 .../graph/public/state_management/advanced_settings.ts | 0 .../graph/public/state_management/datasource.sagas.ts | 0 .../graph/public/state_management/datasource.test.ts | 0 .../private}/graph/public/state_management/datasource.ts | 0 .../private}/graph/public/state_management/fields.ts | 0 .../private}/graph/public/state_management/global.ts | 0 .../private}/graph/public/state_management/helpers.ts | 0 .../private}/graph/public/state_management/index.ts | 0 .../private}/graph/public/state_management/legacy.test.ts | 0 .../graph/public/state_management/meta_data.test.ts | 0 .../private}/graph/public/state_management/meta_data.ts | 0 .../private}/graph/public/state_management/mocks.ts | 0 .../graph/public/state_management/persistence.test.ts | 0 .../private}/graph/public/state_management/persistence.ts | 0 .../private}/graph/public/state_management/store.ts | 0 .../graph/public/state_management/url_templates.test.ts | 0 .../graph/public/state_management/url_templates.ts | 0 .../private}/graph/public/state_management/workspace.ts | 0 .../plugins/private}/graph/public/types/app_state.ts | 0 .../plugins/private}/graph/public/types/config.ts | 0 .../plugins/private}/graph/public/types/index.ts | 0 .../plugins/private}/graph/public/types/persistence.ts | 0 .../private}/graph/public/types/workspace_state.ts | 0 .../plugins/private}/graph/server/config.ts | 0 .../graph/server/content_management/cm_services.ts | 0 .../graph/server/content_management/graph_storage.ts | 0 .../private}/graph/server/content_management/index.ts | 0 .../graph/server/content_management/v1/cm_services.ts | 0 .../plugins/private}/graph/server/index.ts | 0 .../plugins/private}/graph/server/lib/license_state.ts | 0 .../plugins/private}/graph/server/plugin.ts | 0 .../plugins/private}/graph/server/routes/explore.ts | 0 .../plugins/private}/graph/server/routes/search.ts | 0 .../private}/graph/server/sample_data/ecommerce.ts | 0 .../plugins/private}/graph/server/sample_data/flights.ts | 0 .../plugins/private}/graph/server/sample_data/index.ts | 0 .../plugins/private}/graph/server/sample_data/logs.ts | 0 .../graph/server/sample_data/register_sample_data.ts | 0 .../graph/server/saved_objects/graph_workspace.ts | 0 .../plugins/private}/graph/server/saved_objects/index.ts | 0 .../graph/server/saved_objects/migrations.test.ts | 0 .../private}/graph/server/saved_objects/migrations.ts | 0 .../plugins/private}/graph/tsconfig.json | 4 ++-- yarn.lock | 2 +- 174 files changed, 18 insertions(+), 18 deletions(-) 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 (62%) 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%) diff --git a/.eslintrc.js b/.eslintrc.js index 3052b07745e4c..9ba7bc22f12b6 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. */ `; @@ -595,7 +595,7 @@ 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', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 755a81a080d2b..a3c74704a4bf6 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -865,6 +865,7 @@ x-pack/packages/security/role_management_model @elastic/kibana-security x-pack/packages/security/ui_components @elastic/kibana-security x-pack/performance @elastic/appex-qa x-pack/platform/packages/shared/kbn-entities-schema @elastic/obs-entities +x-pack/platform/plugins/private/graph @elastic/kibana-visualizations x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities x-pack/plugins/actions @elastic/response-ops x-pack/plugins/ai_infra/llm_tasks @elastic/appex-ai-infra @@ -904,7 +905,6 @@ x-pack/plugins/fleet @elastic/fleet x-pack/plugins/global_search @elastic/appex-sharedux x-pack/plugins/global_search_bar @elastic/appex-sharedux x-pack/plugins/global_search_providers @elastic/appex-sharedux -x-pack/plugins/graph @elastic/kibana-visualizations x-pack/plugins/grokdebugger @elastic/kibana-management x-pack/plugins/index_lifecycle_management @elastic/kibana-management x-pack/plugins/index_management @elastic/kibana-management diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 779848add2e1d..bd367eb04b5ff 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -625,7 +625,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. diff --git a/package.json b/package.json index 5b59798eeee06..e5300ae3c3216 100644 --- a/package.json +++ b/package.json @@ -550,7 +550,7 @@ "@kbn/global-search-plugin": "link:x-pack/plugins/global_search", "@kbn/global-search-providers-plugin": "link:x-pack/plugins/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/plugins/grokdebugger", diff --git a/tsconfig.base.json b/tsconfig.base.json index 9c3bd88331718..0063d0b4fef72 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1002,8 +1002,8 @@ "@kbn/global-search-providers-plugin/*": ["x-pack/plugins/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"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 213c3f06f34aa..0b026509ee714 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -53,7 +53,7 @@ "plugins/global_search_bar" ], "xpack.graph": [ - "plugins/graph" + "platform/plugins/private/graph" ], "xpack.grokDebugger": "plugins/grokdebugger", "xpack.idxMgmt": "plugins/index_management", 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 62% rename from x-pack/plugins/graph/jest.config.js rename to x-pack/platform/plugins/private/graph/jest.config.js index bd9c9d0938686..1963046343119 100644 --- a/x-pack/plugins/graph/jest.config.js +++ b/x-pack/platform/plugins/private/graph/jest.config.js @@ -7,9 +7,9 @@ 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/yarn.lock b/yarn.lock index ec08d082c4c0d..83b688b42a760 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5820,7 +5820,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 "" From 09721953e08468c2d43ac165577f0aedc7214ee6 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:55:16 +0100 Subject: [PATCH 22/51] Relocating module `@kbn/interpreter` --- .eslintrc.js | 2 +- .github/CODEOWNERS | 2 +- package.json | 2 +- .../platform/packages/shared}/kbn-interpreter/index.ts | 0 .../platform/packages/shared}/kbn-interpreter/jest.config.js | 4 ++-- .../platform/packages/shared}/kbn-interpreter/kibana.jsonc | 0 .../platform/packages/shared}/kbn-interpreter/package.json | 0 .../packages/shared}/kbn-interpreter/src/common/index.ts | 0 .../packages/shared}/kbn-interpreter/src/common/lib/arg.js | 0 .../shared}/kbn-interpreter/src/common/lib/arg.test.js | 0 .../shared}/kbn-interpreter/src/common/lib/ast/ast.ts | 0 .../shared}/kbn-interpreter/src/common/lib/ast/compare.ts | 0 .../src/common/lib/ast/from_expression.test.js | 0 .../kbn-interpreter/src/common/lib/ast/from_expression.ts | 0 .../shared}/kbn-interpreter/src/common/lib/ast/index.ts | 0 .../shared}/kbn-interpreter/src/common/lib/ast/patch.ts | 0 .../src/common/lib/ast/safe_element_from_expression.ts | 0 .../kbn-interpreter/src/common/lib/ast/to_expression.test.js | 0 .../kbn-interpreter/src/common/lib/ast/to_expression.ts | 0 .../packages/shared}/kbn-interpreter/src/common/lib/cast.js | 0 .../packages/shared}/kbn-interpreter/src/common/lib/fn.js | 0 .../shared}/kbn-interpreter/src/common/lib/get_by_alias.js | 0 .../kbn-interpreter/src/common/lib/get_by_alias.test.js | 0 .../shared}/kbn-interpreter/src/common/lib/get_type.ts | 0 .../shared}/kbn-interpreter/src/common/lib/grammar.peggy | 0 .../kbn-interpreter/src/common/lib/grammar.peggy.config.json | 0 .../packages/shared}/kbn-interpreter/src/common/lib/parse.ts | 0 .../shared}/kbn-interpreter/src/common/lib/registry.test.js | 0 .../shared}/kbn-interpreter/src/common/lib/registry.ts | 0 .../packages/shared}/kbn-interpreter/src/common/registries.js | 0 .../platform/packages/shared}/kbn-interpreter/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 33 files changed, 9 insertions(+), 9 deletions(-) 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%) diff --git a/.eslintrc.js b/.eslintrc.js index 9ba7bc22f12b6..1ddd95aa2de66 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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/**/*', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a3c74704a4bf6..6887da965aaa8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -374,7 +374,6 @@ packages/kbn-i18n-react @elastic/kibana-core packages/kbn-import-locator @elastic/kibana-operations packages/kbn-import-resolver @elastic/kibana-operations packages/kbn-index-adapter @elastic/security-threat-hunting -packages/kbn-interpreter @elastic/kibana-visualizations packages/kbn-investigation-shared @elastic/obs-ux-management-team packages/kbn-io-ts-utils @elastic/obs-knowledge-team packages/kbn-ipynb @elastic/search-kibana @@ -624,6 +623,7 @@ 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-interpreter @elastic/kibana-visualizations src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations src/platform/plugins/private/event_annotation @elastic/kibana-visualizations src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations diff --git a/package.json b/package.json index e5300ae3c3216..035a728086f26 100644 --- a/package.json +++ b/package.json @@ -588,7 +588,7 @@ "@kbn/integration-assistant-plugin": "link:x-pack/plugins/integration_assistant", "@kbn/interactive-setup-plugin": "link:src/plugins/interactive_setup", "@kbn/interactive-setup-test-endpoints-plugin": "link:test/interactive_setup_api_integration/plugins/test_endpoints", - "@kbn/interpreter": "link:packages/kbn-interpreter", + "@kbn/interpreter": "link:src/platform/packages/shared/kbn-interpreter", "@kbn/inventory-plugin": "link:x-pack/plugins/observability_solution/inventory", "@kbn/investigate-app-plugin": "link:x-pack/plugins/observability_solution/investigate_app", "@kbn/investigate-plugin": "link:x-pack/plugins/observability_solution/investigate", 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/tsconfig.base.json b/tsconfig.base.json index 0063d0b4fef72..633a2bc6119d2 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1082,8 +1082,8 @@ "@kbn/interactive-setup-plugin/*": ["src/plugins/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/plugins/observability_solution/inventory/e2e"], "@kbn/inventory-e2e/*": ["x-pack/plugins/observability_solution/inventory/e2e/*"], "@kbn/inventory-plugin": ["x-pack/plugins/observability_solution/inventory"], diff --git a/yarn.lock b/yarn.lock index 83b688b42a760..397e1e88d13d2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5980,7 +5980,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 "" From 0ed5ba049922c3c3caf461e952506887e52ff0cf Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:56:44 +0100 Subject: [PATCH 23/51] Relocating module `@kbn/lens-formula-docs` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- package.json | 2 +- .../packages/private}/kbn-lens-formula-docs/README.md | 0 .../platform/packages/private}/kbn-lens-formula-docs/index.ts | 0 .../packages/private}/kbn-lens-formula-docs/jest.config.js | 4 ++-- .../packages/private}/kbn-lens-formula-docs/kibana.jsonc | 0 .../packages/private}/kbn-lens-formula-docs/package.json | 0 .../packages/private}/kbn-lens-formula-docs/src/math/index.ts | 0 .../private}/kbn-lens-formula-docs/src/operations/average.ts | 0 .../kbn-lens-formula-docs/src/operations/cardinality.ts | 0 .../private}/kbn-lens-formula-docs/src/operations/count.ts | 0 .../kbn-lens-formula-docs/src/operations/counter_rate.ts | 0 .../kbn-lens-formula-docs/src/operations/cumulative_sum.ts | 0 .../kbn-lens-formula-docs/src/operations/differences.ts | 0 .../private}/kbn-lens-formula-docs/src/operations/helpers.ts | 0 .../private}/kbn-lens-formula-docs/src/operations/interval.ts | 0 .../kbn-lens-formula-docs/src/operations/last_value.ts | 0 .../private}/kbn-lens-formula-docs/src/operations/max.ts | 0 .../private}/kbn-lens-formula-docs/src/operations/median.ts | 0 .../private}/kbn-lens-formula-docs/src/operations/min.ts | 0 .../kbn-lens-formula-docs/src/operations/moving_average.ts | 0 .../kbn-lens-formula-docs/src/operations/normalize_by_unit.ts | 0 .../private}/kbn-lens-formula-docs/src/operations/now.ts | 0 .../kbn-lens-formula-docs/src/operations/overall_average.ts | 0 .../kbn-lens-formula-docs/src/operations/overall_max.ts | 0 .../kbn-lens-formula-docs/src/operations/overall_min.ts | 0 .../kbn-lens-formula-docs/src/operations/overall_sum.ts | 0 .../kbn-lens-formula-docs/src/operations/percentile.ts | 0 .../kbn-lens-formula-docs/src/operations/percentile_ranks.ts | 0 .../kbn-lens-formula-docs/src/operations/std_deviation.ts | 0 .../private}/kbn-lens-formula-docs/src/operations/sum.ts | 0 .../kbn-lens-formula-docs/src/operations/time_range.ts | 0 .../private}/kbn-lens-formula-docs/src/operations/types.ts | 0 .../kbn-lens-formula-docs/src/sections/calculations.ts | 0 .../private}/kbn-lens-formula-docs/src/sections/common.ts | 0 .../private}/kbn-lens-formula-docs/src/sections/comparison.ts | 0 .../private}/kbn-lens-formula-docs/src/sections/context.ts | 0 .../kbn-lens-formula-docs/src/sections/elasticsearch.ts | 0 .../private}/kbn-lens-formula-docs/src/sections/how_to.ts | 0 .../private}/kbn-lens-formula-docs/src/sections/index.ts | 0 .../private}/kbn-lens-formula-docs/src/sections/math.ts | 0 .../packages/private}/kbn-lens-formula-docs/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 45 files changed, 9 insertions(+), 9 deletions(-) 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%) rename {packages => src/platform/packages/private}/kbn-lens-formula-docs/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 6887da965aaa8..7e7d8c109bced 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -383,7 +383,6 @@ 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-embeddable-utils @elastic/obs-ux-infra_services-team @elastic/kibana-visualizations -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-logging @elastic/kibana-core @@ -612,6 +611,7 @@ packages/shared-ux/table_persist @elastic/appex-sharedux src/core @elastic/kibana-core src/platform/packages/private/kbn-esql-editor @elastic/kibana-esql src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql +src/platform/packages/private/kbn-lens-formula-docs @elastic/kibana-visualizations src/platform/packages/shared/kbn-calculate-width-from-char-count @elastic/kibana-visualizations src/platform/packages/shared/kbn-chart-icons @elastic/kibana-visualizations src/platform/packages/shared/kbn-coloring @elastic/kibana-visualizations diff --git a/.i18nrc.json b/.i18nrc.json index f6f187c8bca6d..a30a54990514e 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -83,7 +83,7 @@ "kibana_utils": "src/plugins/kibana_utils", "kibana-react": "src/plugins/kibana_react", "kibanaOverview": "src/plugins/kibana_overview", - "lensFormulaDocs": "packages/kbn-lens-formula-docs", + "lensFormulaDocs": "src/platform/packages/private/kbn-lens-formula-docs", "lists": "packages/kbn-securitysolution-list-utils/src", "exceptionList-components": "packages/kbn-securitysolution-exception-list-components/src", "management": [ diff --git a/package.json b/package.json index 035a728086f26..37cbf398034cd 100644 --- a/package.json +++ b/package.json @@ -612,7 +612,7 @@ "@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:packages/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/license-api-guard-plugin": "link:x-pack/plugins/license_api_guard", 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/packages/kbn-lens-formula-docs/jest.config.js b/src/platform/packages/private/kbn-lens-formula-docs/jest.config.js similarity index 83% rename from packages/kbn-lens-formula-docs/jest.config.js rename to src/platform/packages/private/kbn-lens-formula-docs/jest.config.js index a9b03d894d97f..80cdb999f055a 100644 --- a/packages/kbn-lens-formula-docs/jest.config.js +++ b/src/platform/packages/private/kbn-lens-formula-docs/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-lens-formula-docs'], + 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/tsconfig.base.json b/tsconfig.base.json index 633a2bc6119d2..3f88db39d05ef 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1140,8 +1140,8 @@ "@kbn/lens-config-builder-example-plugin/*": ["x-pack/examples/lens_config_builder_example/*"], "@kbn/lens-embeddable-utils": ["packages/kbn-lens-embeddable-utils"], "@kbn/lens-embeddable-utils/*": ["packages/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"], diff --git a/yarn.lock b/yarn.lock index 397e1e88d13d2..883453f0cc107 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6096,7 +6096,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 "" From 0cedeb21ac5c8803bfd92c5acf10046d2e51355a Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:58:16 +0100 Subject: [PATCH 24/51] Relocating module `@kbn/lens-plugin` --- .eslintrc.js | 2 +- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../__tests__/mocks/team_assign_mock.txt | 246 +++++++++--------- tsconfig.base.json | 4 +- x-pack/.i18nrc.json | 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 | 8 +- .../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 .../initialize_visualization_context.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 .../gauge/palette_config.test.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 +- .../components/markdown_editor/use_plugins.ts | 4 +- yarn.lock | 2 +- 766 files changed, 142 insertions(+), 142 deletions(-) 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 (65%) 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/initializers/initialize_visualization_context.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.test.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/.eslintrc.js b/.eslintrc.js index 1ddd95aa2de66..135e4ec8d0490 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1559,7 +1559,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', }, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7e7d8c109bced..38c4334c20d25 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -867,6 +867,7 @@ x-pack/performance @elastic/appex-qa x-pack/platform/packages/shared/kbn-entities-schema @elastic/obs-entities x-pack/platform/plugins/private/graph @elastic/kibana-visualizations x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities +x-pack/platform/plugins/shared/lens @elastic/kibana-visualizations x-pack/plugins/actions @elastic/response-ops x-pack/plugins/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/plugins/ai_infra/product_doc_base @elastic/appex-ai-infra @@ -912,7 +913,6 @@ x-pack/plugins/inference @elastic/appex-ai-infra x-pack/plugins/ingest_pipelines @elastic/kibana-management x-pack/plugins/integration_assistant @elastic/security-scalability x-pack/plugins/kubernetes_security @elastic/kibana-cloud-security-posture -x-pack/plugins/lens @elastic/kibana-visualizations x-pack/plugins/license_api_guard @elastic/kibana-management x-pack/plugins/license_management @elastic/kibana-management x-pack/plugins/licensing @elastic/kibana-core diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index bd367eb04b5ff..4ed9aef618f00 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -677,7 +677,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. diff --git a/package.json b/package.json index 37cbf398034cd..8a9bf264d5038 100644 --- a/package.json +++ b/package.json @@ -614,7 +614,7 @@ "@kbn/lens-embeddable-utils": "link:packages/kbn-lens-embeddable-utils", "@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/plugins/license_api_guard", "@kbn/license-management-plugin": "link:x-pack/plugins/license_management", "@kbn/licensing-plugin": "link:x-pack/plugins/licensing", diff --git a/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt b/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt index b04178ec71c6f..c11cb435449fe 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/plugins/discover_enhanced/public/plugin.ts kibana-app x-pack/plugins/discover_enhanced/server/config.ts kibana-app x-pack/plugins/discover_enhanced/server/index.ts kibana-app x-pack/plugins/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/plugins/reporting/server/browsers/download/clean.ts kibana-reporting x-pack/plugins/reporting/server/browsers/download/download.test.ts kibana-reporting x-pack/plugins/reporting/server/browsers/download/download.ts kibana-reporting @@ -158,34 +158,34 @@ x-pack/plugins/reporting/server/config/config.ts kibana-reporting x-pack/plugins/reporting/server/config/create_config.test.ts kibana-reporting x-pack/plugins/reporting/server/config/create_config.ts kibana-reporting x-pack/plugins/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/tsconfig.base.json b/tsconfig.base.json index 3f88db39d05ef..ee02d1953f215 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1144,8 +1144,8 @@ "@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/plugins/license_api_guard"], "@kbn/license-api-guard-plugin/*": ["x-pack/plugins/license_api_guard/*"], "@kbn/license-management-plugin": ["x-pack/plugins/license_management"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 0b026509ee714..37f455d2f4027 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -71,7 +71,7 @@ "xpack.investigate": "plugins/observability_solution/investigate", "xpack.investigateApp": "plugins/observability_solution/investigate_app", "xpack.kubernetesSecurity": "plugins/kubernetes_security", - "xpack.lens": "plugins/lens", + "xpack.lens": "platform/plugins/shared/lens", "xpack.licenseApiGuard": "plugins/license_api_guard", "xpack.licenseMgmt": "plugins/license_management", "xpack.licensing": "plugins/licensing", 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 65% rename from x-pack/plugins/lens/jest.config.js rename to x-pack/platform/plugins/shared/lens/jest.config.js index ae4a39557bec8..6a2addc009cb5 100644 --- a/x-pack/plugins/lens/jest.config.js +++ b/x-pack/platform/plugins/shared/lens/jest.config.js @@ -7,10 +7,10 @@ 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/initializers/initialize_visualization_context.ts b/x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_visualization_context.ts similarity index 100% rename from x-pack/plugins/lens/public/react_embeddable/initializers/initialize_visualization_context.ts rename to x-pack/platform/plugins/shared/lens/public/react_embeddable/initializers/initialize_visualization_context.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.test.ts b/x-pack/platform/plugins/shared/lens/public/visualizations/gauge/palette_config.test.ts similarity index 100% rename from x-pack/plugins/lens/public/visualizations/gauge/palette_config.test.ts rename to x-pack/platform/plugins/shared/lens/public/visualizations/gauge/palette_config.test.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 39ec693856441..06c3d27ead34a 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/plugins/cases/public/components/markdown_editor/use_plugins.ts b/x-pack/plugins/cases/public/components/markdown_editor/use_plugins.ts index 2ed36feebcb4e..47640c25c22cd 100644 --- a/x-pack/plugins/cases/public/components/markdown_editor/use_plugins.ts +++ b/x-pack/plugins/cases/public/components/markdown_editor/use_plugins.ts @@ -14,8 +14,8 @@ import { useMemo } from 'react'; import { useTimelineContext } from '../timeline_context/use_timeline_context'; import type { TemporaryProcessingPluginsType } from './types'; import { KibanaServices, useApplicationCapabilities } from '../../common/lib/kibana'; -import * as lensMarkdownPlugin from './plugins/lens'; -import { ID as LensPluginId } from './plugins/lens/constants'; +import * as lensMarkdownPlugin from './platform/plugins/shared/lens'; +import { ID as LensPluginId } from './platform/plugins/shared/lens/constants'; export const usePlugins = (disabledPlugins?: string[]) => { const kibanaConfig = KibanaServices.getConfig(); diff --git a/yarn.lock b/yarn.lock index 883453f0cc107..92b409ffb1a02 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6104,7 +6104,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 "" From 1c1a4e5877bf8da4ceb0c0cf73652c104d5a0430 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 15:59:47 +0100 Subject: [PATCH 25/51] Relocating module `@kbn/managed-content-badge` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- package.json | 2 +- .../packages/private}/kbn-managed-content-badge/README.md | 0 .../packages/private}/kbn-managed-content-badge/index.ts | 0 .../private}/kbn-managed-content-badge/jest.config.js | 4 ++-- .../packages/private}/kbn-managed-content-badge/kibana.jsonc | 0 .../packages/private}/kbn-managed-content-badge/package.json | 0 .../packages/private}/kbn-managed-content-badge/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 9 insertions(+), 9 deletions(-) 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 => 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 38c4334c20d25..f66fb5a824a6b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -387,7 +387,6 @@ packages/kbn-lint-packages-cli @elastic/kibana-operations packages/kbn-lint-ts-projects-cli @elastic/kibana-operations packages/kbn-logging @elastic/kibana-core packages/kbn-logging-mocks @elastic/kibana-core -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/cards_navigation @elastic/kibana-management @@ -612,6 +611,7 @@ src/core @elastic/kibana-core src/platform/packages/private/kbn-esql-editor @elastic/kibana-esql 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/shared/kbn-calculate-width-from-char-count @elastic/kibana-visualizations src/platform/packages/shared/kbn-chart-icons @elastic/kibana-visualizations src/platform/packages/shared/kbn-coloring @elastic/kibana-visualizations diff --git a/.i18nrc.json b/.i18nrc.json index a30a54990514e..38bb5bed46e39 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -154,7 +154,7 @@ "unifiedDataTable": "packages/kbn-unified-data-table", "unsavedChangesBadge": "packages/kbn-unsaved-changes-badge", "unsavedChangesPrompt": "packages/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/package.json b/package.json index 8a9bf264d5038..dca34fdd5836b 100644 --- a/package.json +++ b/package.json @@ -629,7 +629,7 @@ "@kbn/logs-explorer-plugin": "link:x-pack/plugins/observability_solution/logs_explorer", "@kbn/logs-shared-plugin": "link:x-pack/plugins/observability_solution/logs_shared", "@kbn/logstash-plugin": "link:x-pack/plugins/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:packages/kbn-management/cards_navigation", "@kbn/management-plugin": "link:src/plugins/management", "@kbn/management-settings-application": "link:packages/kbn-management/settings/application", 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-managed-content-badge/jest.config.js b/src/platform/packages/private/kbn-managed-content-badge/jest.config.js similarity index 82% rename from packages/kbn-managed-content-badge/jest.config.js rename to src/platform/packages/private/kbn-managed-content-badge/jest.config.js index 59f8560574997..b9bb6ea9621ea 100644 --- a/packages/kbn-managed-content-badge/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-managed-content-badge'], + 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/tsconfig.base.json b/tsconfig.base.json index ee02d1953f215..89c7acc94f4a1 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1178,8 +1178,8 @@ "@kbn/logs-shared-plugin/*": ["x-pack/plugins/observability_solution/logs_shared/*"], "@kbn/logstash-plugin": ["x-pack/plugins/logstash"], "@kbn/logstash-plugin/*": ["x-pack/plugins/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"], diff --git a/yarn.lock b/yarn.lock index 92b409ffb1a02..dc13183101fad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6172,7 +6172,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 "" From 80fcb36c2c8bfff38b8c8bebd541e6d5d9881250 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:01:19 +0100 Subject: [PATCH 26/51] Relocating module `@kbn/random-sampling` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- package.json | 2 +- src/dev/storybook/aliases.ts | 2 +- tsconfig.base.json | 4 ++-- .../private}/kbn-random-sampling/.storybook/main.js | 0 .../private}/kbn-random-sampling/.storybook/preview.js | 0 .../packages/private}/kbn-random-sampling/README.md | 0 .../packages/private}/kbn-random-sampling/index.ts | 0 .../packages/private}/kbn-random-sampling/jest.config.js | 8 ++++---- .../packages/private}/kbn-random-sampling/kibana.jsonc | 0 .../packages/private}/kbn-random-sampling/package.json | 0 .../src/__stories__/control_slider.stories.mdx | 0 .../src/__stories__/sampling_icon.stories.mdx | 0 .../packages/private}/kbn-random-sampling/src/index.ts | 0 .../kbn-random-sampling/src/ui/icon/sampling_icon.tsx | 0 .../src/ui/slider_control/index.test.tsx | 0 .../kbn-random-sampling/src/ui/slider_control/index.tsx | 0 .../packages/private}/kbn-random-sampling/tsconfig.json | 2 +- yarn.lock | 2 +- 20 files changed, 12 insertions(+), 12 deletions(-) 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%) rename x-pack/{packages => platform/packages/private}/kbn-random-sampling/jest.config.js (59%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f66fb5a824a6b..12d14e4e7848c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -791,7 +791,6 @@ x-pack/packages/kbn-elastic-assistant @elastic/security-generative-ai x-pack/packages/kbn-elastic-assistant-common @elastic/security-generative-ai x-pack/packages/kbn-infra-forge @elastic/obs-ux-management-team x-pack/packages/kbn-langchain @elastic/security-generative-ai -x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations x-pack/packages/kbn-slo-schema @elastic/obs-ux-management-team x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team x-pack/packages/maps/vector_tile_utils @elastic/kibana-presentation @@ -864,6 +863,7 @@ x-pack/packages/security/plugin_types_server @elastic/kibana-security x-pack/packages/security/role_management_model @elastic/kibana-security x-pack/packages/security/ui_components @elastic/kibana-security x-pack/performance @elastic/appex-qa +x-pack/platform/packages/private/kbn-random-sampling @elastic/kibana-visualizations x-pack/platform/packages/shared/kbn-entities-schema @elastic/obs-entities x-pack/platform/plugins/private/graph @elastic/kibana-visualizations x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities diff --git a/.i18nrc.json b/.i18nrc.json index 38bb5bed46e39..4ec5bc130399f 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -96,7 +96,7 @@ "links": "src/plugins/links", "newsfeed": "src/plugins/newsfeed", "presentationUtil": "src/plugins/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", diff --git a/package.json b/package.json index dca34fdd5836b..5e78603490900 100644 --- a/package.json +++ b/package.json @@ -729,7 +729,7 @@ "@kbn/profiling-data-access-plugin": "link:x-pack/plugins/observability_solution/profiling_data_access", "@kbn/profiling-plugin": "link:x-pack/plugins/observability_solution/profiling", "@kbn/profiling-utils": "link:packages/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:packages/kbn-react-field", "@kbn/react-hooks": "link:packages/kbn-react-hooks", "@kbn/react-kibana-context-common": "link:packages/react/kibana_context/common", diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 466c30289723b..1a24e587b5b61 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -61,7 +61,7 @@ export const storybookAliases = { observability_shared: 'x-pack/plugins/observability_solution/observability_shared/.storybook', observability_slo: 'x-pack/plugins/observability_solution/slo/.storybook', presentation: 'src/plugins/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/plugins/security_solution/.storybook', security_solution_packages: 'x-pack/packages/security-solution/storybook/config', diff --git a/tsconfig.base.json b/tsconfig.base.json index 89c7acc94f4a1..829238e42e6ca 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1414,8 +1414,8 @@ "@kbn/profiling-plugin/*": ["x-pack/plugins/observability_solution/profiling/*"], "@kbn/profiling-utils": ["packages/kbn-profiling-utils"], "@kbn/profiling-utils/*": ["packages/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": ["packages/kbn-react-field"], "@kbn/react-field/*": ["packages/kbn-react-field/*"], "@kbn/react-hooks": ["packages/kbn-react-hooks"], 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/packages/kbn-random-sampling/jest.config.js b/x-pack/platform/packages/private/kbn-random-sampling/jest.config.js similarity index 59% rename from x-pack/packages/kbn-random-sampling/jest.config.js rename to x-pack/platform/packages/private/kbn-random-sampling/jest.config.js index ea198cd7ad3bd..67703da61545c 100644 --- a/x-pack/packages/kbn-random-sampling/jest.config.js +++ b/x-pack/platform/packages/private/kbn-random-sampling/jest.config.js @@ -7,9 +7,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/packages/kbn-random-sampling'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/packages/kbn-random-sampling', + 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/packages/kbn-random-sampling/public/**/*.{ts,tsx}'], + 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/yarn.lock b/yarn.lock index dc13183101fad..9b66d632c21a1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6644,7 +6644,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 "" From 3839f5120e244b896447196c8a473ce3e6a506e6 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:02:49 +0100 Subject: [PATCH 27/51] Relocating module `@kbn/sort-predicates` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../platform/packages/shared}/kbn-sort-predicates/README.md | 0 .../platform/packages/shared}/kbn-sort-predicates/index.ts | 0 .../packages/shared}/kbn-sort-predicates/jest.config.js | 4 ++-- .../packages/shared}/kbn-sort-predicates/kibana.jsonc | 0 .../packages/shared}/kbn-sort-predicates/package.json | 0 .../packages/shared}/kbn-sort-predicates/src/sorting.test.ts | 0 .../packages/shared}/kbn-sort-predicates/src/sorting.ts | 0 .../packages/shared}/kbn-sort-predicates/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 12 files changed, 8 insertions(+), 8 deletions(-) rename {packages => src/platform/packages/shared}/kbn-sort-predicates/README.md (100%) rename {packages => src/platform/packages/shared}/kbn-sort-predicates/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-sort-predicates/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 12d14e4e7848c..ecea0f2a1f5c1 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -493,7 +493,6 @@ packages/kbn-shared-svg @elastic/obs-ux-infra_services-team packages/kbn-shared-ux-utility @elastic/appex-sharedux 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-sse-utils @elastic/obs-knowledge-team packages/kbn-sse-utils-client @elastic/obs-knowledge-team packages/kbn-sse-utils-server @elastic/obs-knowledge-team @@ -624,6 +623,7 @@ src/platform/packages/shared/kbn-esql-validation-autocomplete @elastic/kibana-es 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-interpreter @elastic/kibana-visualizations +src/platform/packages/shared/kbn-sort-predicates @elastic/kibana-visualizations src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations src/platform/plugins/private/event_annotation @elastic/kibana-visualizations src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations diff --git a/package.json b/package.json index 5e78603490900..06e66e31f252c 100644 --- a/package.json +++ b/package.json @@ -928,7 +928,7 @@ "@kbn/slo-plugin": "link:x-pack/plugins/observability_solution/slo", "@kbn/slo-schema": "link:x-pack/packages/kbn-slo-schema", "@kbn/snapshot-restore-plugin": "link:x-pack/plugins/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/plugins/spaces", "@kbn/spaces-test-plugin": "link:x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin", "@kbn/sse-utils": "link:packages/kbn-sse-utils", 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/packages/kbn-sort-predicates/jest.config.js b/src/platform/packages/shared/kbn-sort-predicates/jest.config.js similarity index 83% rename from packages/kbn-sort-predicates/jest.config.js rename to src/platform/packages/shared/kbn-sort-predicates/jest.config.js index b72eb54675ae8..460bbf6ab7d2c 100644 --- a/packages/kbn-sort-predicates/jest.config.js +++ b/src/platform/packages/shared/kbn-sort-predicates/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-sort-predicates'], + 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/tsconfig.base.json b/tsconfig.base.json index 829238e42e6ca..060cea77e866e 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1832,8 +1832,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/plugins/spaces"], "@kbn/spaces-plugin/*": ["x-pack/plugins/spaces/*"], "@kbn/spaces-test-plugin": ["x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin"], diff --git a/yarn.lock b/yarn.lock index 9b66d632c21a1..6b10573df94a2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7480,7 +7480,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 "" From f77a1ca390db46b391d2a76cb54ba2fb75141fa3 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:04:18 +0100 Subject: [PATCH 28/51] Relocating module `@kbn/timelion-grammar` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../packages/private}/kbn-timelion-grammar/chain.peggy | 0 .../platform/packages/private}/kbn-timelion-grammar/index.js | 0 .../packages/private}/kbn-timelion-grammar/kibana.jsonc | 0 .../packages/private}/kbn-timelion-grammar/package.json | 0 .../packages/private}/kbn-timelion-grammar/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 9 files changed, 6 insertions(+), 6 deletions(-) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ecea0f2a1f5c1..48a2a7da2ee04 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -504,7 +504,6 @@ 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-timerange @elastic/obs-ux-logs-team packages/kbn-tinymath @elastic/kibana-visualizations packages/kbn-tooling-log @elastic/kibana-operations @@ -611,6 +610,7 @@ src/platform/packages/private/kbn-esql-editor @elastic/kibana-esql 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-timelion-grammar @elastic/kibana-visualizations src/platform/packages/shared/kbn-calculate-width-from-char-count @elastic/kibana-visualizations src/platform/packages/shared/kbn-chart-icons @elastic/kibana-visualizations src/platform/packages/shared/kbn-coloring @elastic/kibana-visualizations diff --git a/package.json b/package.json index 06e66e31f252c..d4849b74e0913 100644 --- a/package.json +++ b/package.json @@ -959,7 +959,7 @@ "@kbn/third-party-vis-lens-example-plugin": "link:x-pack/examples/third_party_vis_lens_example", "@kbn/threat-intelligence-plugin": "link:x-pack/plugins/threat_intelligence", "@kbn/timelines-plugin": "link:x-pack/plugins/timelines", - "@kbn/timelion-grammar": "link:packages/kbn-timelion-grammar", + "@kbn/timelion-grammar": "link:src/platform/packages/private/kbn-timelion-grammar", "@kbn/timerange": "link:packages/kbn-timerange", "@kbn/tinymath": "link:packages/kbn-tinymath", "@kbn/transform-plugin": "link:x-pack/plugins/transform", 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/tsconfig.base.json b/tsconfig.base.json index 060cea77e866e..99db758a282cd 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1918,8 +1918,8 @@ "@kbn/threat-intelligence-plugin/*": ["x-pack/plugins/threat_intelligence/*"], "@kbn/timelines-plugin": ["x-pack/plugins/timelines"], "@kbn/timelines-plugin/*": ["x-pack/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": ["packages/kbn-timerange"], "@kbn/timerange/*": ["packages/kbn-timerange/*"], "@kbn/tinymath": ["packages/kbn-tinymath"], diff --git a/yarn.lock b/yarn.lock index 6b10573df94a2..54aece07933ab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7652,7 +7652,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 "" From 870c0b3dce01207b19bcd3587b59201bde9587d3 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:05:45 +0100 Subject: [PATCH 29/51] Relocating module `@kbn/tinymath` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../platform/packages/private}/kbn-tinymath/README.md | 4 ++-- .../platform/packages/private}/kbn-tinymath/docs/functions.md | 0 .../private}/kbn-tinymath/docs/template/functions.hbs | 0 .../platform/packages/private}/kbn-tinymath/index.d.ts | 0 .../platform/packages/private}/kbn-tinymath/jest.config.js | 4 ++-- .../platform/packages/private}/kbn-tinymath/kibana.jsonc | 0 .../platform/packages/private}/kbn-tinymath/package.json | 0 .../packages/private}/kbn-tinymath/src/functions/abs.js | 0 .../packages/private}/kbn-tinymath/src/functions/add.js | 0 .../packages/private}/kbn-tinymath/src/functions/cbrt.js | 0 .../packages/private}/kbn-tinymath/src/functions/ceil.js | 0 .../packages/private}/kbn-tinymath/src/functions/clamp.js | 0 .../private}/kbn-tinymath/src/functions/comparison/eq.js | 0 .../private}/kbn-tinymath/src/functions/comparison/gt.js | 0 .../private}/kbn-tinymath/src/functions/comparison/gte.js | 0 .../private}/kbn-tinymath/src/functions/comparison/ifelse.js | 0 .../private}/kbn-tinymath/src/functions/comparison/index.js | 0 .../private}/kbn-tinymath/src/functions/comparison/lt.js | 0 .../private}/kbn-tinymath/src/functions/comparison/lte.js | 0 .../packages/private}/kbn-tinymath/src/functions/cos.js | 0 .../packages/private}/kbn-tinymath/src/functions/count.js | 0 .../packages/private}/kbn-tinymath/src/functions/cube.js | 0 .../packages/private}/kbn-tinymath/src/functions/defaults.js | 0 .../packages/private}/kbn-tinymath/src/functions/degtorad.js | 0 .../packages/private}/kbn-tinymath/src/functions/divide.js | 0 .../packages/private}/kbn-tinymath/src/functions/exp.js | 0 .../packages/private}/kbn-tinymath/src/functions/first.js | 0 .../packages/private}/kbn-tinymath/src/functions/fix.js | 0 .../packages/private}/kbn-tinymath/src/functions/floor.js | 0 .../packages/private}/kbn-tinymath/src/functions/index.js | 0 .../packages/private}/kbn-tinymath/src/functions/last.js | 0 .../private}/kbn-tinymath/src/functions/lib/transpose.js | 0 .../packages/private}/kbn-tinymath/src/functions/log.js | 0 .../packages/private}/kbn-tinymath/src/functions/log10.js | 0 .../packages/private}/kbn-tinymath/src/functions/max.js | 0 .../packages/private}/kbn-tinymath/src/functions/mean.js | 0 .../packages/private}/kbn-tinymath/src/functions/median.js | 0 .../packages/private}/kbn-tinymath/src/functions/min.js | 0 .../packages/private}/kbn-tinymath/src/functions/mod.js | 0 .../packages/private}/kbn-tinymath/src/functions/mode.js | 0 .../packages/private}/kbn-tinymath/src/functions/multiply.js | 0 .../packages/private}/kbn-tinymath/src/functions/pi.js | 0 .../packages/private}/kbn-tinymath/src/functions/pow.js | 0 .../packages/private}/kbn-tinymath/src/functions/radtodeg.js | 0 .../packages/private}/kbn-tinymath/src/functions/random.js | 0 .../packages/private}/kbn-tinymath/src/functions/range.js | 0 .../packages/private}/kbn-tinymath/src/functions/round.js | 0 .../packages/private}/kbn-tinymath/src/functions/sin.js | 0 .../packages/private}/kbn-tinymath/src/functions/size.js | 0 .../packages/private}/kbn-tinymath/src/functions/sqrt.js | 0 .../packages/private}/kbn-tinymath/src/functions/square.js | 0 .../packages/private}/kbn-tinymath/src/functions/subtract.js | 0 .../packages/private}/kbn-tinymath/src/functions/sum.js | 0 .../packages/private}/kbn-tinymath/src/functions/tan.js | 0 .../packages/private}/kbn-tinymath/src/functions/unique.js | 0 .../platform/packages/private}/kbn-tinymath/src/grammar.peggy | 0 .../platform/packages/private}/kbn-tinymath/src/index.js | 0 .../packages/private}/kbn-tinymath/test/functions/abs.test.js | 0 .../packages/private}/kbn-tinymath/test/functions/add.test.js | 0 .../private}/kbn-tinymath/test/functions/cbrt.test.js | 0 .../private}/kbn-tinymath/test/functions/ceil.test.js | 0 .../private}/kbn-tinymath/test/functions/clamp.test.js | 0 .../kbn-tinymath/test/functions/comparison/eq.test.js | 0 .../kbn-tinymath/test/functions/comparison/gt.test.js | 0 .../kbn-tinymath/test/functions/comparison/gte.test.js | 0 .../kbn-tinymath/test/functions/comparison/ifelse.test.js | 0 .../kbn-tinymath/test/functions/comparison/lt.test.js | 0 .../kbn-tinymath/test/functions/comparison/lte.test.js | 0 .../packages/private}/kbn-tinymath/test/functions/cos.test.js | 0 .../private}/kbn-tinymath/test/functions/cube.test.js | 0 .../private}/kbn-tinymath/test/functions/defaults.test.js | 0 .../private}/kbn-tinymath/test/functions/degtorad.test.js | 0 .../private}/kbn-tinymath/test/functions/divide.test.js | 0 .../packages/private}/kbn-tinymath/test/functions/exp.test.js | 0 .../private}/kbn-tinymath/test/functions/first.test.js | 0 .../packages/private}/kbn-tinymath/test/functions/fix.test.js | 0 .../private}/kbn-tinymath/test/functions/floor.test.js | 0 .../private}/kbn-tinymath/test/functions/last.test.js | 0 .../packages/private}/kbn-tinymath/test/functions/log.test.js | 0 .../private}/kbn-tinymath/test/functions/log10.test.js | 0 .../packages/private}/kbn-tinymath/test/functions/max.test.js | 0 .../private}/kbn-tinymath/test/functions/mean.test.js | 0 .../private}/kbn-tinymath/test/functions/median.test.js | 0 .../packages/private}/kbn-tinymath/test/functions/min.test.js | 0 .../packages/private}/kbn-tinymath/test/functions/mod.test.js | 0 .../private}/kbn-tinymath/test/functions/mode.test.js | 0 .../private}/kbn-tinymath/test/functions/multiply.test.js | 0 .../packages/private}/kbn-tinymath/test/functions/pi.test.js | 0 .../packages/private}/kbn-tinymath/test/functions/pow.test.js | 0 .../private}/kbn-tinymath/test/functions/radtodeg.test.js | 0 .../private}/kbn-tinymath/test/functions/random.test.js | 0 .../private}/kbn-tinymath/test/functions/range.test.js | 0 .../private}/kbn-tinymath/test/functions/round.test.js | 0 .../packages/private}/kbn-tinymath/test/functions/sin.test.js | 0 .../private}/kbn-tinymath/test/functions/size.test.js | 0 .../private}/kbn-tinymath/test/functions/sqrt.test.js | 0 .../private}/kbn-tinymath/test/functions/square.test.js | 0 .../private}/kbn-tinymath/test/functions/subtract.test.js | 0 .../packages/private}/kbn-tinymath/test/functions/sum.test.js | 0 .../packages/private}/kbn-tinymath/test/functions/tan.test.js | 0 .../private}/kbn-tinymath/test/functions/transpose.test.js | 0 .../private}/kbn-tinymath/test/functions/unique.test.js | 0 .../packages/private}/kbn-tinymath/test/library.test.js | 0 .../platform/packages/private}/kbn-tinymath/tsconfig.json | 2 +- .../timeseries/public/application/components/aggs/math.js | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 109 files changed, 11 insertions(+), 11 deletions(-) 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 => 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 48a2a7da2ee04..2ff3ceb3a2dc7 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -505,7 +505,6 @@ 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-timerange @elastic/obs-ux-logs-team -packages/kbn-tinymath @elastic/kibana-visualizations packages/kbn-tooling-log @elastic/kibana-operations packages/kbn-transpose-utils @elastic/kibana-visualizations packages/kbn-triggers-actions-ui-types @elastic/response-ops @@ -611,6 +610,7 @@ 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-timelion-grammar @elastic/kibana-visualizations +src/platform/packages/private/kbn-tinymath @elastic/kibana-visualizations src/platform/packages/shared/kbn-calculate-width-from-char-count @elastic/kibana-visualizations src/platform/packages/shared/kbn-chart-icons @elastic/kibana-visualizations src/platform/packages/shared/kbn-coloring @elastic/kibana-visualizations diff --git a/package.json b/package.json index d4849b74e0913..0ed06b28239c8 100644 --- a/package.json +++ b/package.json @@ -961,7 +961,7 @@ "@kbn/timelines-plugin": "link:x-pack/plugins/timelines", "@kbn/timelion-grammar": "link:src/platform/packages/private/kbn-timelion-grammar", "@kbn/timerange": "link:packages/kbn-timerange", - "@kbn/tinymath": "link:packages/kbn-tinymath", + "@kbn/tinymath": "link:src/platform/packages/private/kbn-tinymath", "@kbn/transform-plugin": "link:x-pack/plugins/transform", "@kbn/translations-plugin": "link:x-pack/plugins/translations", "@kbn/transpose-utils": "link:packages/kbn-transpose-utils", 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-tinymath/jest.config.js b/src/platform/packages/private/kbn-tinymath/jest.config.js similarity index 84% rename from packages/kbn-tinymath/jest.config.js rename to src/platform/packages/private/kbn-tinymath/jest.config.js index d7e2db62cb954..14ea6adfc47f0 100644 --- a/packages/kbn-tinymath/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-tinymath'], + 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/src/plugins/vis_types/timeseries/public/application/components/aggs/math.js b/src/plugins/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/plugins/vis_types/timeseries/public/application/components/aggs/math.js @@ -116,7 +116,7 @@ export function MathAgg(props) { values={{ link: ( Date: Mon, 9 Dec 2024 16:07:12 +0100 Subject: [PATCH 30/51] Relocating module `@kbn/transpose-utils` --- .github/CODEOWNERS | 2 +- package.json | 2 +- .../platform/packages/private}/kbn-transpose-utils/README.md | 0 .../packages/private}/kbn-transpose-utils/index.test.ts | 0 .../platform/packages/private}/kbn-transpose-utils/index.ts | 0 .../packages/private}/kbn-transpose-utils/jest.config.js | 4 ++-- .../packages/private}/kbn-transpose-utils/kibana.jsonc | 0 .../packages/private}/kbn-transpose-utils/package.json | 0 .../packages/private}/kbn-transpose-utils/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 11 files changed, 8 insertions(+), 8 deletions(-) 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%) rename {packages => src/platform/packages/private}/kbn-transpose-utils/jest.config.js (83%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2ff3ceb3a2dc7..144d3b62dca86 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -506,7 +506,6 @@ packages/kbn-test-jest-helpers @elastic/kibana-operations @elastic/appex-qa packages/kbn-test-subj-selector @elastic/kibana-operations @elastic/appex-qa packages/kbn-timerange @elastic/obs-ux-logs-team packages/kbn-tooling-log @elastic/kibana-operations -packages/kbn-transpose-utils @elastic/kibana-visualizations packages/kbn-triggers-actions-ui-types @elastic/response-ops packages/kbn-try-in-console @elastic/search-kibana packages/kbn-ts-projects @elastic/kibana-operations @@ -611,6 +610,7 @@ src/platform/packages/private/kbn-lens-formula-docs @elastic/kibana-visualizatio src/platform/packages/private/kbn-managed-content-badge @elastic/kibana-visualizations 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/shared/kbn-calculate-width-from-char-count @elastic/kibana-visualizations src/platform/packages/shared/kbn-chart-icons @elastic/kibana-visualizations src/platform/packages/shared/kbn-coloring @elastic/kibana-visualizations diff --git a/package.json b/package.json index 0ed06b28239c8..6cac5a9073b8a 100644 --- a/package.json +++ b/package.json @@ -964,7 +964,7 @@ "@kbn/tinymath": "link:src/platform/packages/private/kbn-tinymath", "@kbn/transform-plugin": "link:x-pack/plugins/transform", "@kbn/translations-plugin": "link:x-pack/plugins/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/plugins/triggers_actions_ui", "@kbn/triggers-actions-ui-types": "link:packages/kbn-triggers-actions-ui-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/packages/kbn-transpose-utils/jest.config.js b/src/platform/packages/private/kbn-transpose-utils/jest.config.js similarity index 83% rename from packages/kbn-transpose-utils/jest.config.js rename to src/platform/packages/private/kbn-transpose-utils/jest.config.js index 1109bd9db4edb..3bd26b3da3178 100644 --- a/packages/kbn-transpose-utils/jest.config.js +++ b/src/platform/packages/private/kbn-transpose-utils/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-transpose-utils'], + 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/tsconfig.base.json b/tsconfig.base.json index acd093d62cfd7..b4ce37c89863d 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1930,8 +1930,8 @@ "@kbn/transform-plugin/*": ["x-pack/plugins/transform/*"], "@kbn/translations-plugin": ["x-pack/plugins/translations"], "@kbn/translations-plugin/*": ["x-pack/plugins/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/plugins/triggers_actions_ui"], diff --git a/yarn.lock b/yarn.lock index 3a7f9e9ff425e..a9c9b976e06d7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7676,7 +7676,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 "" From c834f20e8dc1ead974eb1f3ee93c4f76af42d4c6 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:08:46 +0100 Subject: [PATCH 31/51] Relocating module `@kbn/unified-search-plugin` --- .buildkite/scripts/pipelines/pull_request/pipeline.ts | 2 +- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../src/hooks/use_field_value_autocomplete/index.ts | 2 +- src/dev/storybook/aliases.ts | 2 +- .../plugins/shared}/unified_search/.storybook/main.js | 0 .../plugins/shared}/unified_search/README.md | 0 .../plugins/shared}/unified_search/jest.config.js | 8 ++++---- .../plugins/shared}/unified_search/kibana.jsonc | 0 .../public/__stories__/search_bar.stories.tsx | 0 .../unified_search/public/actions/apply_filter_action.ts | 0 .../shared}/unified_search/public/actions/index.ts | 0 .../actions/update_filter_references_action.test.ts | 0 .../public/actions/update_filter_references_action.ts | 0 .../public/apply_filters/apply_filter_popover_content.tsx | 0 .../public/apply_filters/apply_filters_popover.tsx | 0 .../shared}/unified_search/public/apply_filters/index.ts | 0 .../public/autocomplete/autocomplete_service.ts | 0 .../autocomplete/collectors/create_usage_collector.ts | 0 .../public/autocomplete/collectors/index.ts | 0 .../public/autocomplete/collectors/types.ts | 0 .../shared}/unified_search/public/autocomplete/index.ts | 0 .../autocomplete/providers/kql_query_suggestion/README.md | 0 .../__fixtures__/index_pattern_response.json | 0 .../providers/kql_query_suggestion/async_loads.ts | 0 .../providers/kql_query_suggestion/conjunction.test.ts | 0 .../providers/kql_query_suggestion/conjunction.tsx | 0 .../providers/kql_query_suggestion/field.test.ts | 0 .../autocomplete/providers/kql_query_suggestion/field.tsx | 0 .../autocomplete/providers/kql_query_suggestion/index.ts | 0 .../providers/kql_query_suggestion/operator.test.ts | 0 .../providers/kql_query_suggestion/operator.tsx | 0 .../kql_query_suggestion/sort_prefix_first.test.ts | 0 .../providers/kql_query_suggestion/sort_prefix_first.ts | 0 .../autocomplete/providers/kql_query_suggestion/types.ts | 0 .../providers/kql_query_suggestion/value.test.ts | 0 .../autocomplete/providers/kql_query_suggestion/value.ts | 0 .../autocomplete/providers/query_suggestion_provider.ts | 0 .../providers/value_suggestion_provider.test.ts | 0 .../autocomplete/providers/value_suggestion_provider.ts | 0 .../public/dataview_picker/assets/adhoc.svg | 0 .../public/dataview_picker/change_dataview.styles.ts | 0 .../public/dataview_picker/change_dataview.test.tsx | 0 .../public/dataview_picker/change_dataview.tsx | 0 .../public/dataview_picker/data_view_picker.tsx | 0 .../public/dataview_picker/data_view_selector.tsx | 0 .../public/dataview_picker/dataview_list.test.tsx | 0 .../public/dataview_picker/dataview_list.tsx | 0 .../public/dataview_picker/explore_matching_button.tsx | 0 .../unified_search/public/dataview_picker/index.tsx | 0 .../public/dataview_picker/mocks/dataview.ts | 0 .../public/dataview_picker/sorting_service.test.ts | 0 .../public/dataview_picker/sorting_service.ts | 0 .../public/filter_badge/filter_badge.styles.ts | 0 .../unified_search/public/filter_badge/filter_badge.tsx | 0 .../public/filter_badge/filter_badge_error_boundary.tsx | 0 .../public/filter_badge/filter_badge_expression.tsx | 0 .../public/filter_badge/filter_badge_group.tsx | 0 .../public/filter_badge/filter_badge_invalid.tsx | 0 .../__snapshots__/filter_content.test.tsx.snap | 0 .../filter_badge/filter_content/filter_content.test.tsx | 0 .../public/filter_badge/filter_content/filter_content.tsx | 0 .../public/filter_badge/filter_content/index.ts | 0 .../shared}/unified_search/public/filter_badge/i18n.ts | 0 .../shared}/unified_search/public/filter_badge/index.ts | 0 .../unified_search/public/filter_bar/filter_bar.styles.ts | 0 .../unified_search/public/filter_bar/filter_bar.tsx | 0 .../filter_button_group/filter_button_group.scss | 0 .../filter_button_group/filter_button_group.tsx | 0 .../filter_bar/filter_editor/close_confirm_modal.tsx | 0 .../filter_bar/filter_editor/filter_editor.styles.ts | 0 .../filter_bar/filter_editor/filter_editor.test.tsx | 0 .../public/filter_bar/filter_editor/filter_editor.tsx | 0 .../filter_editor/filter_editor_builder.test.tsx | 0 .../filter_bar/filter_editor/generic_combo_box.styles.ts | 0 .../public/filter_bar/filter_editor/generic_combo_box.tsx | 0 .../public/filter_bar/filter_editor/index.ts | 0 .../filter_editor/lib/filter_editor_utils.test.ts | 0 .../filter_bar/filter_editor/lib/filter_editor_utils.ts | 0 .../filter_bar/filter_editor/lib/filter_operators.ts | 0 .../public/filter_bar/filter_editor/lib/helpers.test.ts | 0 .../public/filter_bar/filter_editor/lib/helpers.ts | 0 .../public/filter_bar/filter_editor/lib/index.ts | 0 .../public/filter_bar/filter_editor/phrase_suggestor.tsx | 0 .../filter_bar/filter_editor/phrase_value_input.tsx | 0 .../filter_editor/phrases_values_input.styles.ts | 0 .../filter_bar/filter_editor/phrases_values_input.tsx | 0 .../public/filter_bar/filter_editor/range_value_input.tsx | 0 .../public/filter_bar/filter_editor/value_input_type.tsx | 0 .../filter_bar/filter_editor/with_close_confirm_modal.tsx | 0 .../public/filter_bar/filter_item/_variables.scss | 0 .../public/filter_bar/filter_item/filter_item.scss | 0 .../public/filter_bar/filter_item/filter_item.tsx | 0 .../public/filter_bar/filter_item/filter_items.tsx | 0 .../public/filter_bar/filter_view/index.tsx | 0 .../shared}/unified_search/public/filter_bar/index.tsx | 0 .../public/filters_builder/__mock__/filters.ts | 0 .../__stories__/filter_builder.stories.tsx | 0 .../unified_search/public/filters_builder/assets/add.svg | 0 .../unified_search/public/filters_builder/assets/or.svg | 0 .../unified_search/public/filters_builder/context.ts | 0 .../public/filters_builder/filter_group.styles.ts | 0 .../public/filters_builder/filter_group.tsx | 0 .../filters_builder/filter_item/actions/action_strings.ts | 0 .../filters_builder/filter_item/actions/actions.tsx | 0 .../public/filters_builder/filter_item/actions/index.tsx | 0 .../filter_item/actions/minimised_actions.tsx | 0 .../public/filters_builder/filter_item/actions/types.ts | 0 .../public/filters_builder/filter_item/field_input.tsx | 0 .../filters_builder/filter_item/filter_item.styles.ts | 0 .../public/filters_builder/filter_item/filter_item.tsx | 0 .../public/filters_builder/filter_item/index.ts | 0 .../public/filters_builder/filter_item/operator_input.tsx | 0 .../public/filters_builder/filter_item/params_editor.tsx | 0 .../filters_builder/filter_item/params_editor_input.tsx | 0 .../public/filters_builder/filter_item/tooltip.tsx | 0 .../public/filters_builder/filters_builder.styles.ts | 0 .../public/filters_builder/filters_builder.tsx | 0 .../unified_search/public/filters_builder/index.ts | 0 .../unified_search/public/filters_builder/reducer.ts | 0 .../unified_search/public/filters_builder/types.ts | 0 .../public/filters_builder/utils/filters_builder.test.ts | 0 .../public/filters_builder/utils/filters_builder.ts | 0 .../unified_search/public/filters_builder/utils/index.ts | 0 .../plugins/shared}/unified_search/public/index.scss | 0 .../plugins/shared}/unified_search/public/index.ts | 0 .../index_pattern_select/create_index_pattern_select.tsx | 0 .../unified_search/public/index_pattern_select/index.tsx | 0 .../public/index_pattern_select/index_pattern_select.tsx | 0 .../shared}/unified_search/public/mocks/esql_editor.tsx | 0 .../unified_search/public/mocks/get_stub_filter.ts | 0 .../plugins/shared}/unified_search/public/mocks/index.ts | 0 .../plugins/shared}/unified_search/public/mocks/mocks.ts | 0 .../plugins/shared}/unified_search/public/plugin.ts | 0 .../public/query_string_input/add_filter_popover.tsx | 0 .../public/query_string_input/esql_menu_popover.test.tsx | 0 .../public/query_string_input/esql_menu_popover.tsx | 0 .../public/query_string_input/fetch_index_patterns.ts | 0 .../public/query_string_input/filter_editor_wrapper.tsx | 0 .../public/query_string_input/from_user.test.ts | 0 .../unified_search/public/query_string_input/from_user.ts | 0 .../public/query_string_input/get_query_string_input.tsx | 0 .../unified_search/public/query_string_input/index.tsx | 0 .../public/query_string_input/language_switcher.test.tsx | 0 .../public/query_string_input/language_switcher.tsx | 0 .../public/query_string_input/match_pairs.ts | 0 .../public/query_string_input/no_data_popover.test.tsx | 0 .../public/query_string_input/no_data_popover.tsx | 0 .../public/query_string_input/panel_title.tsx | 0 .../public/query_string_input/query_bar.scss | 0 .../public/query_string_input/query_bar_menu.test.tsx | 0 .../public/query_string_input/query_bar_menu.tsx | 0 .../public/query_string_input/query_bar_menu_panels.tsx | 0 .../public/query_string_input/query_bar_top_row.test.tsx | 0 .../public/query_string_input/query_bar_top_row.tsx | 0 .../public/query_string_input/query_string_input.scss | 0 .../query_string_input/query_string_input.test.mocks.ts | 0 .../public/query_string_input/query_string_input.test.tsx | 0 .../public/query_string_input/query_string_input.tsx | 0 .../public/query_string_input/to_user.test.ts | 0 .../unified_search/public/query_string_input/to_user.ts | 0 .../unified_search/public/saved_query_form/index.ts | 0 .../public/saved_query_form/save_query_form.tsx | 0 .../unified_search/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 .../shared}/unified_search/public/search_bar/index.tsx | 0 .../public/search_bar/lib/can_show_saved_query.test.ts | 0 .../public/search_bar/lib/can_show_saved_query.ts | 0 .../public/search_bar/lib/clear_saved_query.test.ts | 0 .../public/search_bar/lib/clear_saved_query.ts | 0 .../lib/populate_state_from_saved_query.test.ts | 0 .../search_bar/lib/populate_state_from_saved_query.ts | 0 .../public/search_bar/lib/use_filter_manager.ts | 0 .../public/search_bar/lib/use_query_string_manager.ts | 0 .../public/search_bar/lib/use_saved_query.ts | 0 .../public/search_bar/lib/use_timefilter.ts | 0 .../unified_search/public/search_bar/search_bar.styles.ts | 0 .../unified_search/public/search_bar/search_bar.test.tsx | 0 .../unified_search/public/search_bar/search_bar.tsx | 0 .../plugins/shared}/unified_search/public/services.ts | 0 .../shared}/unified_search/public/triggers/index.ts | 0 .../public/triggers/update_filter_references_trigger.ts | 0 .../__snapshots__/suggestion_component.test.tsx.snap | 0 .../unified_search/public/typeahead/_suggestion.scss | 0 .../shared}/unified_search/public/typeahead/constants.ts | 0 .../shared}/unified_search/public/typeahead/index.tsx | 0 .../public/typeahead/suggestion_component.test.tsx | 0 .../public/typeahead/suggestion_component.tsx | 0 .../public/typeahead/suggestions_component.test.tsx | 0 .../public/typeahead/suggestions_component.tsx | 0 .../shared}/unified_search/public/typeahead/types.ts | 0 .../plugins/shared}/unified_search/public/types.ts | 0 .../unified_search/public/utils/combined_filter.ts | 0 .../plugins/shared}/unified_search/public/utils/index.ts | 0 .../plugins/shared}/unified_search/public/utils/on_raf.ts | 0 .../shared}/unified_search/public/utils/shallow_equal.ts | 0 .../server/autocomplete/autocomplete_service.ts | 0 .../shared}/unified_search/server/autocomplete/index.ts | 0 .../shared}/unified_search/server/autocomplete/routes.ts | 0 .../unified_search/server/autocomplete/terms_agg.test.ts | 0 .../unified_search/server/autocomplete/terms_agg.ts | 0 .../unified_search/server/autocomplete/terms_enum.test.ts | 0 .../unified_search/server/autocomplete/terms_enum.ts | 0 .../server/autocomplete/value_suggestions_route.ts | 0 .../plugins/shared}/unified_search/server/config.ts | 0 .../unified_search/server/config_deprecations.test.ts | 0 .../shared}/unified_search/server/config_deprecations.ts | 0 .../shared}/unified_search/server/data_views/index.ts | 0 .../plugins/shared}/unified_search/server/index.ts | 0 .../plugins/shared}/unified_search/server/mocks.ts | 0 .../plugins/shared}/unified_search/server/plugin.ts | 0 .../plugins/shared}/unified_search/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 219 files changed, 15 insertions(+), 15 deletions(-) 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 => platform/plugins/shared}/unified_search/jest.config.js (73%) 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%) diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 1fe87f98204f7..733b2e51cc43c 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -320,7 +320,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^src\/plugins\/saved_search/, /^src\/plugins\/ui_actions/, /^src\/plugins\/unified_histogram/, - /^src\/plugins\/unified_search/, + /^src\/platform\/plugins\/shared\/unified_search/, /^x-pack\/packages\/kbn-elastic-assistant/, /^x-pack\/packages\/kbn-elastic-assistant-common/, /^x-pack\/packages\/security-solution/, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 144d3b62dca86..ffeb1aaaa222a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -639,6 +639,7 @@ src/platform/plugins/shared/data @elastic/kibana-visualizations @elastic/kibana- src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/platform/plugins/shared/expressions @elastic/kibana-visualizations +src/platform/plugins/shared/unified_search @elastic/kibana-visualizations src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant src/plugins/bfetch @elastic/appex-sharedux @@ -698,7 +699,6 @@ src/plugins/ui_actions @elastic/appex-sharedux src/plugins/ui_actions_enhanced @elastic/appex-sharedux src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery -src/plugins/unified_search @elastic/kibana-visualizations src/plugins/url_forwarding @elastic/kibana-visualizations src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_default_editor @elastic/kibana-visualizations diff --git a/.i18nrc.json b/.i18nrc.json index 4ec5bc130399f..527d2932d9440 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -148,7 +148,7 @@ "visualizationUiComponents": "packages/kbn-visualization-ui-components", "visualizationUtils": "packages/kbn-visualization-utils", "unifiedDocViewer": ["src/plugins/unified_doc_viewer", "packages/kbn-unified-doc-viewer"], - "unifiedSearch": "src/plugins/unified_search", + "unifiedSearch": "src/platform/plugins/shared/unified_search", "unifiedFieldList": "packages/kbn-unified-field-list", "unifiedHistogram": "src/plugins/unified_histogram", "unifiedDataTable": "packages/kbn-unified-data-table", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 4ed9aef618f00..34bf87742dc82 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -369,7 +369,7 @@ 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: diff --git a/package.json b/package.json index 6cac5a9073b8a..d0898637494ae 100644 --- a/package.json +++ b/package.json @@ -987,7 +987,7 @@ "@kbn/unified-field-list": "link:packages/kbn-unified-field-list", "@kbn/unified-field-list-examples-plugin": "link:examples/unified_field_list_examples", "@kbn/unified-histogram-plugin": "link:src/plugins/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:packages/kbn-unsaved-changes-badge", "@kbn/unsaved-changes-prompt": "link:packages/kbn-unsaved-changes-prompt", "@kbn/upgrade-assistant-plugin": "link:x-pack/plugins/upgrade_assistant", diff --git a/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts b/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts index 9fff2abfd5be5..d88779cbf7732 100644 --- a/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts +++ b/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts @@ -13,7 +13,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'; type AutocompleteStart = any; interface FuncArgs { diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 1a24e587b5b61..4ad6ff65c2466 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -71,6 +71,6 @@ export const storybookAliases = { threat_intelligence: 'x-pack/plugins/threat_intelligence/.storybook', triggers_actions_ui: 'x-pack/plugins/triggers_actions_ui/.storybook', ui_actions_enhanced: 'src/plugins/ui_actions_enhanced/.storybook', - unified_search: 'src/plugins/unified_search/.storybook', + unified_search: 'src/platform/plugins/shared/unified_search/.storybook', profiling: 'x-pack/plugins/observability_solution/profiling/.storybook', }; 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/unified_search/jest.config.js b/src/platform/plugins/shared/unified_search/jest.config.js similarity index 73% rename from src/plugins/unified_search/jest.config.js rename to src/platform/plugins/shared/unified_search/jest.config.js index b3358989c81ff..8177d2e6ad29b 100644 --- a/src/plugins/unified_search/jest.config.js +++ b/src/platform/plugins/shared/unified_search/jest.config.js @@ -9,10 +9,10 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/unified_search'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/unified_search', + 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/unified_search/public/**/*.{ts,tsx}'], + collectCoverageFrom: ['/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/tsconfig.base.json b/tsconfig.base.json index b4ce37c89863d..12c702a5fb711 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1980,8 +1980,8 @@ "@kbn/unified-field-list-examples-plugin/*": ["examples/unified_field_list_examples/*"], "@kbn/unified-histogram-plugin": ["src/plugins/unified_histogram"], "@kbn/unified-histogram-plugin/*": ["src/plugins/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": ["packages/kbn-unsaved-changes-badge"], "@kbn/unsaved-changes-badge/*": ["packages/kbn-unsaved-changes-badge/*"], "@kbn/unsaved-changes-prompt": ["packages/kbn-unsaved-changes-prompt"], diff --git a/yarn.lock b/yarn.lock index a9c9b976e06d7..87df28b9ab5b5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7776,7 +7776,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 "" From a1b6624157bd125be787dfa3bf6e3e63414e1e5e Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:10:13 +0100 Subject: [PATCH 32/51] Relocating module `@kbn/url-forwarding-plugin` --- .github/CODEOWNERS | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/url_forwarding/README.md | 0 .../plugins/private}/url_forwarding/jest.config.js | 8 ++++---- .../plugins/private}/url_forwarding/kibana.jsonc | 0 .../url_forwarding/public/forward_app/forward_app.test.ts | 0 .../url_forwarding/public/forward_app/forward_app.ts | 0 .../private}/url_forwarding/public/forward_app/index.ts | 0 .../forward_app/navigate_to_legacy_kibana_url.test.ts | 0 .../public/forward_app/navigate_to_legacy_kibana_url.ts | 0 .../url_forwarding/public/forward_app/normalize_path.ts | 0 .../plugins/private}/url_forwarding/public/index.ts | 0 .../plugins/private}/url_forwarding/public/mocks.ts | 0 .../plugins/private}/url_forwarding/public/plugin.ts | 0 .../plugins/private}/url_forwarding/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 18 files changed, 11 insertions(+), 11 deletions(-) rename src/{plugins => platform/plugins/private}/url_forwarding/README.md (100%) rename src/{plugins => platform/plugins/private}/url_forwarding/jest.config.js (71%) 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 (100%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ffeb1aaaa222a..c1df1445c2ac9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -627,6 +627,7 @@ src/platform/packages/shared/kbn-sort-predicates @elastic/kibana-visualizations src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations src/platform/plugins/private/event_annotation @elastic/kibana-visualizations src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations +src/platform/plugins/private/url_forwarding @elastic/kibana-visualizations 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 @@ -699,7 +700,6 @@ src/plugins/ui_actions @elastic/appex-sharedux src/plugins/ui_actions_enhanced @elastic/appex-sharedux src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery -src/plugins/url_forwarding @elastic/kibana-visualizations src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_default_editor @elastic/kibana-visualizations src/plugins/vis_type_markdown @elastic/kibana-presentation diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 34bf87742dc82..e1ae45dfb59b2 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -373,7 +373,7 @@ It manages its own state and data fetching, and can easily be dropped into pages |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. diff --git a/package.json b/package.json index d0898637494ae..656f1b676e553 100644 --- a/package.json +++ b/package.json @@ -993,7 +993,7 @@ "@kbn/upgrade-assistant-plugin": "link:x-pack/plugins/upgrade_assistant", "@kbn/uptime-plugin": "link:x-pack/plugins/observability_solution/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/plugins/usage_collection", "@kbn/usage-collection-test-plugin": "link:test/plugin_functional/plugins/usage_collection", "@kbn/use-tracked-promise": "link:packages/kbn-use-tracked-promise", 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/url_forwarding/jest.config.js b/src/platform/plugins/private/url_forwarding/jest.config.js similarity index 71% rename from src/plugins/url_forwarding/jest.config.js rename to src/platform/plugins/private/url_forwarding/jest.config.js index 0c12404153541..a41ba03f4f9b5 100644 --- a/src/plugins/url_forwarding/jest.config.js +++ b/src/platform/plugins/private/url_forwarding/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/url_forwarding'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/url_forwarding', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/url_forwarding'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/url_forwarding', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/url_forwarding/public/**/*.{ts,tsx}'], + collectCoverageFrom: ['/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 100% rename from src/plugins/url_forwarding/public/index.ts rename to src/platform/plugins/private/url_forwarding/public/index.ts 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/tsconfig.base.json b/tsconfig.base.json index 12c702a5fb711..0ef905c91709b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1992,8 +1992,8 @@ "@kbn/uptime-plugin/*": ["x-pack/plugins/observability_solution/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/plugins/usage_collection"], "@kbn/usage-collection-plugin/*": ["src/plugins/usage_collection/*"], "@kbn/usage-collection-test-plugin": ["test/plugin_functional/plugins/usage_collection"], diff --git a/yarn.lock b/yarn.lock index 87df28b9ab5b5..733e6233a58f5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7800,7 +7800,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 "" From 529534fd07b98c350eb0af77f8552e24802fa42a Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:11:39 +0100 Subject: [PATCH 33/51] Relocating module `@kbn/vis-default-editor-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/vis_default_editor/README.md | 2 +- .../plugins/private}/vis_default_editor/jest.config.js | 8 ++++---- .../plugins/private}/vis_default_editor/kibana.jsonc | 0 .../plugins/private}/vis_default_editor/public/_agg.scss | 0 .../private}/vis_default_editor/public/_agg_params.scss | 0 .../private}/vis_default_editor/public/_default.scss | 0 .../private}/vis_default_editor/public/_sidebar.scss | 0 .../public/agg_filters/agg_type_field_filters.ts | 0 .../public/agg_filters/agg_type_filters.ts | 0 .../vis_default_editor/public/agg_filters/index.ts | 0 .../public/components/__snapshots__/agg.test.tsx.snap | 0 .../components/__snapshots__/agg_group.test.tsx.snap | 0 .../vis_default_editor/public/components/agg.test.tsx | 0 .../private}/vis_default_editor/public/components/agg.tsx | 0 .../vis_default_editor/public/components/agg_add.tsx | 0 .../public/components/agg_common_props.ts | 0 .../public/components/agg_group.test.tsx | 0 .../vis_default_editor/public/components/agg_group.tsx | 0 .../public/components/agg_group_helper.test.ts | 0 .../public/components/agg_group_helper.tsx | 0 .../public/components/agg_group_state.tsx | 0 .../vis_default_editor/public/components/agg_param.tsx | 0 .../public/components/agg_param_props.ts | 0 .../public/components/agg_params.test.tsx | 0 .../vis_default_editor/public/components/agg_params.tsx | 0 .../public/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 .../vis_default_editor/public/components/agg_select.tsx | 0 .../controls/__snapshots__/extended_bounds.test.tsx.snap | 0 .../controls/__snapshots__/metric_agg.test.tsx.snap | 0 .../components/controls/__snapshots__/size.test.tsx.snap | 0 .../controls/__snapshots__/time_interval.test.tsx.snap | 0 .../controls/__snapshots__/top_aggregate.test.tsx.snap | 0 .../public/components/controls/agg_control_props.tsx | 0 .../public/components/controls/agg_utils.test.tsx | 0 .../components/controls/components/from_to_list.tsx | 0 .../public/components/controls/components/input_list.tsx | 0 .../public/components/controls/components/mask_list.tsx | 0 .../number_list/__snapshots__/number_list.test.tsx.snap | 0 .../number_list/__snapshots__/number_row.test.tsx.snap | 0 .../components/controls/components/number_list/index.ts | 0 .../controls/components/number_list/number_list.test.tsx | 0 .../controls/components/number_list/number_list.tsx | 0 .../controls/components/number_list/number_row.test.tsx | 0 .../controls/components/number_list/number_row.tsx | 0 .../controls/components/number_list/range.test.ts | 0 .../components/controls/components/number_list/range.ts | 0 .../controls/components/number_list/utils.test.ts | 0 .../components/controls/components/number_list/utils.ts | 0 .../components/controls/components/simple_number_list.tsx | 0 .../public/components/controls/date_ranges.test.tsx | 0 .../public/components/controls/date_ranges.tsx | 0 .../public/components/controls/drop_partials.tsx | 0 .../public/components/controls/extended_bounds.test.tsx | 0 .../public/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 .../public/components/controls/has_extended_bounds.tsx | 0 .../public/components/controls/include_exclude.tsx | 0 .../public/components/controls/index.ts | 0 .../public/components/controls/ip_prefix.tsx | 0 .../public/components/controls/ip_range_type.tsx | 0 .../public/components/controls/ip_ranges.tsx | 0 .../public/components/controls/max_bars.tsx | 0 .../public/components/controls/metric_agg.test.tsx | 0 .../public/components/controls/metric_agg.tsx | 0 .../public/components/controls/min_doc_count.tsx | 0 .../public/components/controls/missing_bucket.tsx | 0 .../public/components/controls/number_interval.tsx | 0 .../public/components/controls/order.tsx | 0 .../public/components/controls/order_agg.test.tsx | 0 .../public/components/controls/order_agg.tsx | 0 .../public/components/controls/order_by.tsx | 0 .../public/components/controls/other_bucket.tsx | 0 .../public/components/controls/palette_picker.test.tsx | 0 .../public/components/controls/palette_picker.tsx | 0 .../public/components/controls/percentile_ranks.tsx | 0 .../public/components/controls/percentiles.test.tsx | 0 .../public/components/controls/percentiles.tsx | 0 .../public/components/controls/radius_ratio_option.tsx | 0 .../public/components/controls/range_control.tsx | 0 .../public/components/controls/ranges.tsx | 0 .../public/components/controls/raw_json.tsx | 0 .../public/components/controls/rows_or_columns.tsx | 0 .../public/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 .../public/components/controls/time_interval.test.tsx | 0 .../public/components/controls/time_interval.tsx | 0 .../public/components/controls/top_aggregate.test.tsx | 0 .../public/components/controls/top_aggregate.tsx | 0 .../public/components/controls/top_field.tsx | 0 .../public/components/controls/top_size.tsx | 0 .../public/components/controls/top_sort_field.tsx | 0 .../public/components/controls/utils/agg_utils.ts | 0 .../public/components/controls/utils/index.ts | 0 .../components/controls/utils/inline_comp_wrapper.tsx | 0 .../controls/utils/strings/comma_separated_list.test.ts | 0 .../controls/utils/strings/comma_separated_list.ts | 0 .../public/components/controls/utils/strings/index.ts | 0 .../components/controls/utils/strings/prose.test.ts | 0 .../public/components/controls/utils/strings/prose.ts | 0 .../public/components/controls/utils/use_handlers.ts | 0 .../public/components/options/basic_options.tsx | 0 .../public/components/options/color_ranges.tsx | 0 .../public/components/options/color_schema.tsx | 0 .../vis_default_editor/public/components/options/index.ts | 0 .../components/options/legend_size_settings.test.tsx | 0 .../public/components/options/legend_size_settings.tsx | 0 .../components/options/long_legend_options.test.tsx | 0 .../public/components/options/long_legend_options.tsx | 0 .../public/components/options/number_input.tsx | 0 .../public/components/options/percentage_mode.test.tsx | 0 .../public/components/options/percentage_mode.tsx | 0 .../public/components/options/range.tsx | 0 .../public/components/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 .../vis_default_editor/public/components/sidebar/index.ts | 0 .../public/components/sidebar/navbar.tsx | 0 .../public/components/sidebar/sidebar.tsx | 0 .../public/components/sidebar/sidebar_title.tsx | 0 .../public/components/sidebar/state/actions.ts | 0 .../public/components/sidebar/state/constants.ts | 0 .../public/components/sidebar/state/editor_form_state.ts | 0 .../public/components/sidebar/state/index.ts | 0 .../public/components/sidebar/state/reducers.ts | 0 .../public/components/sidebar/use_option_tabs.ts | 0 .../public/components/utils/editor_config.ts | 0 .../vis_default_editor/public/components/utils/index.ts | 0 .../private}/vis_default_editor/public/default_editor.tsx | 0 .../public/default_editor_controller.tsx | 0 .../private}/vis_default_editor/public/editor_size.ts | 0 .../plugins/private}/vis_default_editor/public/index.scss | 0 .../plugins/private}/vis_default_editor/public/index.ts | 0 .../plugins/private}/vis_default_editor/public/plugin.ts | 0 .../plugins/private}/vis_default_editor/public/schemas.ts | 0 .../private}/vis_default_editor/public/services.ts | 0 .../plugins/private}/vis_default_editor/public/types.ts | 0 .../private}/vis_default_editor/public/utils.test.ts | 0 .../plugins/private}/vis_default_editor/public/utils.ts | 0 .../plugins/private}/vis_default_editor/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 160 files changed, 13 insertions(+), 13 deletions(-) rename src/{plugins => platform/plugins/private}/vis_default_editor/README.md (85%) rename src/{plugins => platform/plugins/private}/vis_default_editor/jest.config.js (70%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c1df1445c2ac9..31cd128e81e20 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -628,6 +628,7 @@ src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsolde src/platform/plugins/private/event_annotation @elastic/kibana-visualizations src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations src/platform/plugins/private/url_forwarding @elastic/kibana-visualizations +src/platform/plugins/private/vis_default_editor @elastic/kibana-visualizations 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 @@ -701,7 +702,6 @@ src/plugins/ui_actions_enhanced @elastic/appex-sharedux src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery src/plugins/usage_collection @elastic/kibana-core -src/plugins/vis_default_editor @elastic/kibana-visualizations src/plugins/vis_type_markdown @elastic/kibana-presentation src/plugins/vis_types/gauge @elastic/kibana-visualizations src/plugins/vis_types/heatmap @elastic/kibana-visualizations diff --git a/.i18nrc.json b/.i18nrc.json index 527d2932d9440..f1c733b2f42b6 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -132,7 +132,7 @@ "usageCollection": "src/plugins/usage_collection", "userProfileComponents": "packages/kbn-user-profile-components", "utils": "packages/kbn-securitysolution-utils/src", - "visDefaultEditor": "src/plugins/vis_default_editor", + "visDefaultEditor": "src/platform/plugins/private/vis_default_editor", "visTypeGauge": "src/plugins/vis_types/gauge", "visTypeHeatmap": "src/plugins/vis_types/heatmap", "visTypeMarkdown": "src/plugins/vis_type_markdown", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index e1ae45dfb59b2..23ee444ca0ce1 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -381,7 +381,7 @@ 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. diff --git a/package.json b/package.json index 656f1b676e553..61fd1218900e2 100644 --- a/package.json +++ b/package.json @@ -1005,7 +1005,7 @@ "@kbn/utils": "link:packages/kbn-utils", "@kbn/ux-plugin": "link:x-pack/plugins/observability_solution/ux", "@kbn/v8-profiler-examples-plugin": "link:examples/v8_profiler_examples", - "@kbn/vis-default-editor-plugin": "link:src/plugins/vis_default_editor", + "@kbn/vis-default-editor-plugin": "link:src/platform/plugins/private/vis_default_editor", "@kbn/vis-type-gauge-plugin": "link:src/plugins/vis_types/gauge", "@kbn/vis-type-heatmap-plugin": "link:src/plugins/vis_types/heatmap", "@kbn/vis-type-markdown-plugin": "link:src/plugins/vis_type_markdown", 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/vis_default_editor/jest.config.js b/src/platform/plugins/private/vis_default_editor/jest.config.js similarity index 70% rename from src/plugins/vis_default_editor/jest.config.js rename to src/platform/plugins/private/vis_default_editor/jest.config.js index ae2f2d8bf60eb..f19ca9a0671b0 100644 --- a/src/plugins/vis_default_editor/jest.config.js +++ b/src/platform/plugins/private/vis_default_editor/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/vis_default_editor'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_default_editor', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/vis_default_editor'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/vis_default_editor', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/vis_default_editor/public/**/*.{ts,tsx}'], + collectCoverageFrom: ['/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/tsconfig.base.json b/tsconfig.base.json index 0ef905c91709b..e08dc7059ee8f 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2018,8 +2018,8 @@ "@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-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/plugins/vis_types/gauge"], "@kbn/vis-type-gauge-plugin/*": ["src/plugins/vis_types/gauge/*"], "@kbn/vis-type-heatmap-plugin": ["src/plugins/vis_types/heatmap"], diff --git a/yarn.lock b/yarn.lock index 733e6233a58f5..db3f085e03ade 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7852,7 +7852,7 @@ 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 "" From c5845ce169545f6402c151b4cf1f2e8a14e9e81f Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:13:04 +0100 Subject: [PATCH 34/51] Relocating module `@kbn/vis-type-gauge-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../helpers/get_i18n_identifier_from_file_path.test.ts | 2 +- .../plugins/private}/vis_types/gauge/common/index.ts | 0 .../plugins/private}/vis_types/gauge/jest.config.js | 8 ++++---- .../plugins/private}/vis_types/gauge/kibana.jsonc | 0 .../gauge/public/__snapshots__/to_ast.test.ts.snap | 0 .../public/convert_to_lens/configurations/gauge.test.ts | 0 .../gauge/public/convert_to_lens/configurations/gauge.ts | 0 .../public/convert_to_lens/configurations/goal.test.ts | 0 .../gauge/public/convert_to_lens/configurations/goal.ts | 0 .../vis_types/gauge/public/convert_to_lens/gauge.test.ts | 0 .../vis_types/gauge/public/convert_to_lens/gauge.ts | 0 .../vis_types/gauge/public/convert_to_lens/goal.test.ts | 0 .../vis_types/gauge/public/convert_to_lens/goal.ts | 0 .../vis_types/gauge/public/convert_to_lens/index.ts | 0 .../vis_types/gauge/public/convert_to_lens/types.ts | 0 .../private}/vis_types/gauge/public/editor/collections.ts | 0 .../gauge/public/editor/components/gauge/index.tsx | 0 .../gauge/public/editor/components/gauge/labels_panel.tsx | 0 .../gauge/public/editor/components/gauge/ranges_panel.tsx | 0 .../gauge/public/editor/components/gauge/style_panel.tsx | 0 .../vis_types/gauge/public/editor/components/index.tsx | 0 .../private}/vis_types/gauge/public/editor/index.ts | 0 .../plugins/private}/vis_types/gauge/public/index.ts | 0 .../plugins/private}/vis_types/gauge/public/plugin.ts | 0 .../plugins/private}/vis_types/gauge/public/services.ts | 0 .../private}/vis_types/gauge/public/to_ast.test.ts | 0 .../plugins/private}/vis_types/gauge/public/to_ast.ts | 0 .../plugins/private}/vis_types/gauge/public/types.ts | 0 .../private}/vis_types/gauge/public/vis_type/gauge.tsx | 0 .../private}/vis_types/gauge/public/vis_type/goal.tsx | 0 .../private}/vis_types/gauge/public/vis_type/index.ts | 0 .../vis_types/gauge/public/vis_type/split_tooltip.tsx | 0 .../plugins/private}/vis_types/gauge/server/config.ts | 0 .../plugins/private}/vis_types/gauge/server/index.ts | 0 .../plugins/private}/vis_types/gauge/server/plugin.ts | 0 .../plugins/private}/vis_types/gauge/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 42 files changed, 13 insertions(+), 13 deletions(-) rename src/{plugins => platform/plugins/private}/vis_types/gauge/common/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/gauge/jest.config.js (72%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 31cd128e81e20..4f465cebb4541 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -629,6 +629,7 @@ src/platform/plugins/private/event_annotation @elastic/kibana-visualizations src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations src/platform/plugins/private/url_forwarding @elastic/kibana-visualizations src/platform/plugins/private/vis_default_editor @elastic/kibana-visualizations +src/platform/plugins/private/vis_types/gauge @elastic/kibana-visualizations 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 @@ -703,7 +704,6 @@ src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_type_markdown @elastic/kibana-presentation -src/plugins/vis_types/gauge @elastic/kibana-visualizations src/plugins/vis_types/heatmap @elastic/kibana-visualizations src/plugins/vis_types/metric @elastic/kibana-visualizations src/plugins/vis_types/pie @elastic/kibana-visualizations diff --git a/.i18nrc.json b/.i18nrc.json index f1c733b2f42b6..797fbf2a0da21 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -133,7 +133,7 @@ "userProfileComponents": "packages/kbn-user-profile-components", "utils": "packages/kbn-securitysolution-utils/src", "visDefaultEditor": "src/platform/plugins/private/vis_default_editor", - "visTypeGauge": "src/plugins/vis_types/gauge", + "visTypeGauge": "src/platform/plugins/private/vis_types/gauge", "visTypeHeatmap": "src/plugins/vis_types/heatmap", "visTypeMarkdown": "src/plugins/vis_type_markdown", "visTypeMetric": "src/plugins/vis_types/metric", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 23ee444ca0ce1..74d7da5cae271 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -387,7 +387,7 @@ It acts as a container for a particular visualization and options tabs. Contains 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. diff --git a/package.json b/package.json index 61fd1218900e2..8673ad9efe1f4 100644 --- a/package.json +++ b/package.json @@ -1006,7 +1006,7 @@ "@kbn/ux-plugin": "link:x-pack/plugins/observability_solution/ux", "@kbn/v8-profiler-examples-plugin": "link:examples/v8_profiler_examples", "@kbn/vis-default-editor-plugin": "link:src/platform/plugins/private/vis_default_editor", - "@kbn/vis-type-gauge-plugin": "link:src/plugins/vis_types/gauge", + "@kbn/vis-type-gauge-plugin": "link:src/platform/plugins/private/vis_types/gauge", "@kbn/vis-type-heatmap-plugin": "link:src/plugins/vis_types/heatmap", "@kbn/vis-type-markdown-plugin": "link:src/plugins/vis_type_markdown", "@kbn/vis-type-metric-plugin": "link:src/plugins/vis_types/metric", 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 ca59efd40de44..604144dad1bdc 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/plugins/observability_solution/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'], ['packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', 'alertsUIShared'], ]; 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/vis_types/gauge/jest.config.js b/src/platform/plugins/private/vis_types/gauge/jest.config.js similarity index 72% rename from src/plugins/vis_types/gauge/jest.config.js rename to src/platform/plugins/private/vis_types/gauge/jest.config.js index cbb2a2d8cf021..07e6fc53821e9 100644 --- a/src/plugins/vis_types/gauge/jest.config.js +++ b/src/platform/plugins/private/vis_types/gauge/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/private/vis_types/gauge'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/gauge', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/vis_types/gauge/{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/tsconfig.base.json b/tsconfig.base.json index e08dc7059ee8f..fca11e5b5e071 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2020,8 +2020,8 @@ "@kbn/validate-next-docs-cli/*": ["packages/kbn-validate-next-docs-cli/*"], "@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/plugins/vis_types/gauge"], - "@kbn/vis-type-gauge-plugin/*": ["src/plugins/vis_types/gauge/*"], + "@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/plugins/vis_types/heatmap"], "@kbn/vis-type-heatmap-plugin/*": ["src/plugins/vis_types/heatmap/*"], "@kbn/vis-type-markdown-plugin": ["src/plugins/vis_type_markdown"], diff --git a/yarn.lock b/yarn.lock index db3f085e03ade..88086bb318505 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7856,7 +7856,7 @@ 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 "" From 0e54adaa09a03bded568945baa4428bfb3c29b0d Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:14:31 +0100 Subject: [PATCH 35/51] Relocating module `@kbn/vis-type-heatmap-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/vis_types/heatmap/common/index.ts | 0 .../plugins/private}/vis_types/heatmap/jest.config.js | 8 ++++---- .../plugins/private}/vis_types/heatmap/kibana.jsonc | 0 .../heatmap/public/__snapshots__/to_ast.test.ts.snap | 0 .../public/convert_to_lens/configurations/index.test.ts | 0 .../public/convert_to_lens/configurations/index.ts | 0 .../public/convert_to_lens/configurations/palette.ts | 0 .../heatmap/public/convert_to_lens/index.test.ts | 0 .../vis_types/heatmap/public/convert_to_lens/index.ts | 0 .../vis_types/heatmap/public/convert_to_lens/types.ts | 0 .../vis_types/heatmap/public/editor/collections.ts | 0 .../heatmap/public/editor/components/heatmap.test.tsx | 0 .../heatmap/public/editor/components/heatmap.tsx | 0 .../vis_types/heatmap/public/editor/components/index.tsx | 0 .../heatmap/public/editor/components/labels_panel.tsx | 0 .../plugins/private}/vis_types/heatmap/public/index.ts | 0 .../plugins/private}/vis_types/heatmap/public/plugin.ts | 0 .../vis_types/heatmap/public/sample_vis.test.mocks.ts | 0 .../plugins/private}/vis_types/heatmap/public/services.ts | 0 .../private}/vis_types/heatmap/public/to_ast.test.ts | 0 .../plugins/private}/vis_types/heatmap/public/to_ast.ts | 0 .../plugins/private}/vis_types/heatmap/public/types.ts | 0 .../vis_types/heatmap/public/utils/palette.test.ts | 0 .../private}/vis_types/heatmap/public/utils/palette.ts | 0 .../private}/vis_types/heatmap/public/vis_type/heatmap.ts | 0 .../private}/vis_types/heatmap/public/vis_type/index.ts | 0 .../plugins/private}/vis_types/heatmap/server/config.ts | 0 .../plugins/private}/vis_types/heatmap/server/index.ts | 0 .../plugins/private}/vis_types/heatmap/server/plugin.ts | 0 .../plugins/private}/vis_types/heatmap/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 36 files changed, 12 insertions(+), 12 deletions(-) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/common/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/heatmap/jest.config.js (72%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4f465cebb4541..99447fe9befc8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -630,6 +630,7 @@ src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizat src/platform/plugins/private/url_forwarding @elastic/kibana-visualizations src/platform/plugins/private/vis_default_editor @elastic/kibana-visualizations src/platform/plugins/private/vis_types/gauge @elastic/kibana-visualizations +src/platform/plugins/private/vis_types/heatmap @elastic/kibana-visualizations 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 @@ -704,7 +705,6 @@ src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_type_markdown @elastic/kibana-presentation -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 diff --git a/.i18nrc.json b/.i18nrc.json index 797fbf2a0da21..2225cc58e6015 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -134,7 +134,7 @@ "utils": "packages/kbn-securitysolution-utils/src", "visDefaultEditor": "src/platform/plugins/private/vis_default_editor", "visTypeGauge": "src/platform/plugins/private/vis_types/gauge", - "visTypeHeatmap": "src/plugins/vis_types/heatmap", + "visTypeHeatmap": "src/platform/plugins/private/vis_types/heatmap", "visTypeMarkdown": "src/plugins/vis_type_markdown", "visTypeMetric": "src/plugins/vis_types/metric", "visTypePie": "src/plugins/vis_types/pie", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 74d7da5cae271..7c85f1b2353fc 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -391,7 +391,7 @@ The plugin exposes the static DefaultEditorController class to consume. |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. diff --git a/package.json b/package.json index 8673ad9efe1f4..84b6bede16c03 100644 --- a/package.json +++ b/package.json @@ -1007,7 +1007,7 @@ "@kbn/v8-profiler-examples-plugin": "link:examples/v8_profiler_examples", "@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/plugins/vis_types/heatmap", + "@kbn/vis-type-heatmap-plugin": "link:src/platform/plugins/private/vis_types/heatmap", "@kbn/vis-type-markdown-plugin": "link:src/plugins/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", 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/vis_types/heatmap/jest.config.js b/src/platform/plugins/private/vis_types/heatmap/jest.config.js similarity index 72% rename from src/plugins/vis_types/heatmap/jest.config.js rename to src/platform/plugins/private/vis_types/heatmap/jest.config.js index 33c1f4e6b6d51..a616d0d6c5f24 100644 --- a/src/plugins/vis_types/heatmap/jest.config.js +++ b/src/platform/plugins/private/vis_types/heatmap/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/heatmap'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/heatmap', + rootDir: '../../../../../..', + roots: ['/src/platform/plugins/private/vis_types/heatmap'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/heatmap', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/vis_types/heatmap/{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/tsconfig.base.json b/tsconfig.base.json index fca11e5b5e071..1e2f6416c7126 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2022,8 +2022,8 @@ "@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/plugins/vis_types/heatmap"], - "@kbn/vis-type-heatmap-plugin/*": ["src/plugins/vis_types/heatmap/*"], + "@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/plugins/vis_type_markdown"], "@kbn/vis-type-markdown-plugin/*": ["src/plugins/vis_type_markdown/*"], "@kbn/vis-type-metric-plugin": ["src/plugins/vis_types/metric"], diff --git a/yarn.lock b/yarn.lock index 88086bb318505..969ea89ceaab4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7860,7 +7860,7 @@ 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 "" From 0e11ce286933cbbd3f2789b183876c0e1941e0c5 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:15:56 +0100 Subject: [PATCH 36/51] Relocating module `@kbn/vis-type-metric-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/vis_types/metric/jest.config.js | 8 ++++---- .../plugins/private}/vis_types/metric/kibana.jsonc | 0 .../metric/public/__snapshots__/to_ast.test.ts.snap | 0 .../private}/vis_types/metric/public/components/index.ts | 0 .../metric/public/components/metric_vis_options.tsx | 0 .../public/convert_to_lens/configurations/index.test.ts | 0 .../metric/public/convert_to_lens/configurations/index.ts | 0 .../vis_types/metric/public/convert_to_lens/index.test.ts | 0 .../vis_types/metric/public/convert_to_lens/index.ts | 0 .../vis_types/metric/public/convert_to_lens/types.ts | 0 .../plugins/private}/vis_types/metric/public/index.ts | 0 .../private}/vis_types/metric/public/metric_vis_type.ts | 0 .../plugins/private}/vis_types/metric/public/plugin.ts | 0 .../plugins/private}/vis_types/metric/public/services.ts | 0 .../private}/vis_types/metric/public/to_ast.test.ts | 0 .../plugins/private}/vis_types/metric/public/to_ast.ts | 0 .../plugins/private}/vis_types/metric/public/types.ts | 0 .../plugins/private}/vis_types/metric/server/config.ts | 0 .../plugins/private}/vis_types/metric/server/index.ts | 0 .../plugins/private}/vis_types/metric/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 26 files changed, 12 insertions(+), 12 deletions(-) rename src/{plugins => platform/plugins/private}/vis_types/metric/jest.config.js (70%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 99447fe9befc8..fc470f6439c19 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -631,6 +631,7 @@ src/platform/plugins/private/url_forwarding @elastic/kibana-visualizations src/platform/plugins/private/vis_default_editor @elastic/kibana-visualizations 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/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 @@ -705,7 +706,6 @@ src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_type_markdown @elastic/kibana-presentation -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 diff --git a/.i18nrc.json b/.i18nrc.json index 2225cc58e6015..038ee9139b3db 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -136,7 +136,7 @@ "visTypeGauge": "src/platform/plugins/private/vis_types/gauge", "visTypeHeatmap": "src/platform/plugins/private/vis_types/heatmap", "visTypeMarkdown": "src/plugins/vis_type_markdown", - "visTypeMetric": "src/plugins/vis_types/metric", + "visTypeMetric": "src/platform/plugins/private/vis_types/metric", "visTypePie": "src/plugins/vis_types/pie", "visTypeTable": "src/plugins/vis_types/table", "visTypeTagCloud": "src/plugins/vis_types/tagcloud", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 7c85f1b2353fc..f449264369caa 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -399,7 +399,7 @@ 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. diff --git a/package.json b/package.json index 84b6bede16c03..450dadad26305 100644 --- a/package.json +++ b/package.json @@ -1009,7 +1009,7 @@ "@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/plugins/vis_type_markdown", - "@kbn/vis-type-metric-plugin": "link:src/plugins/vis_types/metric", + "@kbn/vis-type-metric-plugin": "link:src/platform/plugins/private/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", diff --git a/src/plugins/vis_types/metric/jest.config.js b/src/platform/plugins/private/vis_types/metric/jest.config.js similarity index 70% rename from src/plugins/vis_types/metric/jest.config.js rename to src/platform/plugins/private/vis_types/metric/jest.config.js index 3ac45f884e04a..3a9e7f41bfa43 100644 --- a/src/plugins/vis_types/metric/jest.config.js +++ b/src/platform/plugins/private/vis_types/metric/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/metric'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/metric', + 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/plugins/vis_types/metric/{public,server}/**/*.{ts,tsx}'], + 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/tsconfig.base.json b/tsconfig.base.json index 1e2f6416c7126..a6ef45ed4f965 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2026,8 +2026,8 @@ "@kbn/vis-type-heatmap-plugin/*": ["src/platform/plugins/private/vis_types/heatmap/*"], "@kbn/vis-type-markdown-plugin": ["src/plugins/vis_type_markdown"], "@kbn/vis-type-markdown-plugin/*": ["src/plugins/vis_type_markdown/*"], - "@kbn/vis-type-metric-plugin": ["src/plugins/vis_types/metric"], - "@kbn/vis-type-metric-plugin/*": ["src/plugins/vis_types/metric/*"], + "@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/plugins/vis_types/pie"], "@kbn/vis-type-pie-plugin/*": ["src/plugins/vis_types/pie/*"], "@kbn/vis-type-table-plugin": ["src/plugins/vis_types/table"], diff --git a/yarn.lock b/yarn.lock index 969ea89ceaab4..faf1cc8abce20 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7868,7 +7868,7 @@ 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 "" From 775437d18e12a821546f1148e9d5aad1b748aa91 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:17:20 +0100 Subject: [PATCH 37/51] Relocating module `@kbn/vis-type-pie-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/vis_types/pie/common/index.ts | 0 .../plugins/private}/vis_types/pie/jest.config.js | 8 ++++---- .../plugins/private}/vis_types/pie/kibana.jsonc | 0 .../pie/public/__snapshots__/to_ast.test.ts.snap | 0 .../public/convert_to_lens/configurations/index.test.ts | 0 .../pie/public/convert_to_lens/configurations/index.ts | 0 .../vis_types/pie/public/convert_to_lens/index.test.ts | 0 .../vis_types/pie/public/convert_to_lens/index.ts | 0 .../vis_types/pie/public/convert_to_lens/types.ts | 0 .../private}/vis_types/pie/public/editor/collections.ts | 0 .../vis_types/pie/public/editor/components/index.tsx | 0 .../vis_types/pie/public/editor/components/pie.test.tsx | 0 .../vis_types/pie/public/editor/components/pie.tsx | 0 .../pie/public/editor/components/truncate_labels.test.tsx | 0 .../pie/public/editor/components/truncate_labels.tsx | 0 .../private}/vis_types/pie/public/editor/positions.ts | 0 .../plugins/private}/vis_types/pie/public/index.ts | 0 .../plugins/private}/vis_types/pie/public/plugin.ts | 0 .../vis_types/pie/public/sample_vis.test.mocks.ts | 0 .../plugins/private}/vis_types/pie/public/services.ts | 0 .../plugins/private}/vis_types/pie/public/to_ast.test.ts | 0 .../plugins/private}/vis_types/pie/public/to_ast.ts | 0 .../plugins/private}/vis_types/pie/public/types/index.ts | 0 .../plugins/private}/vis_types/pie/public/types/types.ts | 0 .../private}/vis_types/pie/public/vis_type/index.ts | 0 .../plugins/private}/vis_types/pie/public/vis_type/pie.ts | 0 .../plugins/private}/vis_types/pie/server/config.ts | 0 .../plugins/private}/vis_types/pie/server/index.ts | 0 .../plugins/private}/vis_types/pie/server/plugin.ts | 0 .../plugins/private}/vis_types/pie/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 36 files changed, 12 insertions(+), 12 deletions(-) rename src/{plugins => platform/plugins/private}/vis_types/pie/common/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/pie/jest.config.js (70%) 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 => 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fc470f6439c19..8cdd84f335db5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -632,6 +632,7 @@ src/platform/plugins/private/vis_default_editor @elastic/kibana-visualizations 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/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 @@ -706,7 +707,6 @@ src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_type_markdown @elastic/kibana-presentation -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 diff --git a/.i18nrc.json b/.i18nrc.json index 038ee9139b3db..37eca2a24c057 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -137,7 +137,7 @@ "visTypeHeatmap": "src/platform/plugins/private/vis_types/heatmap", "visTypeMarkdown": "src/plugins/vis_type_markdown", "visTypeMetric": "src/platform/plugins/private/vis_types/metric", - "visTypePie": "src/plugins/vis_types/pie", + "visTypePie": "src/platform/plugins/private/vis_types/pie", "visTypeTable": "src/plugins/vis_types/table", "visTypeTagCloud": "src/plugins/vis_types/tagcloud", "visTypeTimeseries": "src/plugins/vis_types/timeseries", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index f449264369caa..c416128b80ddc 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -403,7 +403,7 @@ The plugin exposes the static DefaultEditorController class to consume. |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. diff --git a/package.json b/package.json index 450dadad26305..ccd4bd94fc0c5 100644 --- a/package.json +++ b/package.json @@ -1010,7 +1010,7 @@ "@kbn/vis-type-heatmap-plugin": "link:src/platform/plugins/private/vis_types/heatmap", "@kbn/vis-type-markdown-plugin": "link:src/plugins/vis_type_markdown", "@kbn/vis-type-metric-plugin": "link:src/platform/plugins/private/vis_types/metric", - "@kbn/vis-type-pie-plugin": "link:src/plugins/vis_types/pie", + "@kbn/vis-type-pie-plugin": "link:src/platform/plugins/private/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", 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/plugins/vis_types/pie/jest.config.js b/src/platform/plugins/private/vis_types/pie/jest.config.js similarity index 70% rename from src/plugins/vis_types/pie/jest.config.js rename to src/platform/plugins/private/vis_types/pie/jest.config.js index 091d9582658eb..8e957d59a8fe6 100644 --- a/src/plugins/vis_types/pie/jest.config.js +++ b/src/platform/plugins/private/vis_types/pie/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/pie'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/pie', + 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/plugins/vis_types/pie/{common,public,server}/**/*.{ts,tsx}'], + 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/vis_types/pie/public/types/index.ts b/src/platform/plugins/private/vis_types/pie/public/types/index.ts similarity index 100% rename from src/plugins/vis_types/pie/public/types/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/tsconfig.base.json b/tsconfig.base.json index a6ef45ed4f965..5e45944880a6e 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2028,8 +2028,8 @@ "@kbn/vis-type-markdown-plugin/*": ["src/plugins/vis_type_markdown/*"], "@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/plugins/vis_types/pie"], - "@kbn/vis-type-pie-plugin/*": ["src/plugins/vis_types/pie/*"], + "@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/plugins/vis_types/table"], "@kbn/vis-type-table-plugin/*": ["src/plugins/vis_types/table/*"], "@kbn/vis-type-tagcloud-plugin": ["src/plugins/vis_types/tagcloud"], diff --git a/yarn.lock b/yarn.lock index faf1cc8abce20..394abd9453a2a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7872,7 +7872,7 @@ 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 "" From ee95bf7732d0b85b17b9f0377e95956137121070 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:18:54 +0100 Subject: [PATCH 38/51] Relocating module `@kbn/vis-type-table-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/vis_types/table/README.md | 0 .../plugins/private}/vis_types/table/common/index.ts | 0 .../plugins/private}/vis_types/table/common/types.ts | 0 .../plugins/private}/vis_types/table/jest.config.js | 8 ++++---- .../plugins/private}/vis_types/table/kibana.jsonc | 0 .../table/public/__snapshots__/table_vis_fn.test.ts.snap | 0 .../__snapshots__/table_vis_basic.test.tsx.snap | 0 .../components/__snapshots__/table_vis_cell.test.tsx.snap | 0 .../private}/vis_types/table/public/components/index.ts | 0 .../table/public/components/table_vis_basic.test.tsx | 0 .../vis_types/table/public/components/table_vis_basic.tsx | 0 .../table/public/components/table_vis_cell.test.tsx | 0 .../vis_types/table/public/components/table_vis_cell.tsx | 0 .../table/public/components/table_vis_columns.tsx | 0 .../table/public/components/table_vis_controls.tsx | 0 .../table/public/components/table_vis_options.tsx | 0 .../table/public/components/table_vis_options_lazy.tsx | 0 .../vis_types/table/public/components/table_vis_split.tsx | 0 .../table/public/components/table_visualization.scss | 0 .../table/public/components/table_visualization.test.tsx | 0 .../table/public/components/table_visualization.tsx | 0 .../vis_types/table/public/components/utils.test.ts | 0 .../private}/vis_types/table/public/components/utils.ts | 0 .../public/convert_to_lens/configurations/index.test.ts | 0 .../table/public/convert_to_lens/configurations/index.ts | 0 .../vis_types/table/public/convert_to_lens/index.test.ts | 0 .../vis_types/table/public/convert_to_lens/index.ts | 0 .../vis_types/table/public/convert_to_lens/types.ts | 0 .../plugins/private}/vis_types/table/public/index.ts | 0 .../plugins/private}/vis_types/table/public/plugin.ts | 0 .../private}/vis_types/table/public/register_vis.ts | 0 .../plugins/private}/vis_types/table/public/services.ts | 0 .../private}/vis_types/table/public/table_vis_fn.test.ts | 0 .../private}/vis_types/table/public/table_vis_fn.ts | 0 .../vis_types/table/public/table_vis_renderer.tsx | 0 .../private}/vis_types/table/public/table_vis_type.ts | 0 .../private}/vis_types/table/public/to_ast.test.ts | 0 .../plugins/private}/vis_types/table/public/to_ast.ts | 0 .../plugins/private}/vis_types/table/public/types.ts | 0 .../table/public/utils/add_percentage_column.test.ts | 0 .../vis_types/table/public/utils/add_percentage_column.ts | 0 .../table/public/utils/create_formatted_table.test.ts | 0 .../table/public/utils/create_formatted_table.ts | 0 .../private}/vis_types/table/public/utils/index.ts | 0 .../table/public/utils/table_vis_response_handler.test.ts | 0 .../table/public/utils/table_vis_response_handler.ts | 0 .../private}/vis_types/table/public/utils/use/index.ts | 0 .../table/public/utils/use/use_pagination.test.ts | 0 .../vis_types/table/public/utils/use/use_pagination.ts | 0 .../vis_types/table/public/utils/use/use_ui_state.test.ts | 0 .../vis_types/table/public/utils/use/use_ui_state.ts | 0 .../plugins/private}/vis_types/table/server/config.ts | 0 .../plugins/private}/vis_types/table/server/index.ts | 0 .../plugins/private}/vis_types/table/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 60 files changed, 12 insertions(+), 12 deletions(-) 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%) rename src/{plugins => platform/plugins/private}/vis_types/table/jest.config.js (72%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8cdd84f335db5..1591d0d0377a9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -633,6 +633,7 @@ 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/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 @@ -707,7 +708,6 @@ src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_type_markdown @elastic/kibana-presentation -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 diff --git a/.i18nrc.json b/.i18nrc.json index 37eca2a24c057..231684f10e89f 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -138,7 +138,7 @@ "visTypeMarkdown": "src/plugins/vis_type_markdown", "visTypeMetric": "src/platform/plugins/private/vis_types/metric", "visTypePie": "src/platform/plugins/private/vis_types/pie", - "visTypeTable": "src/plugins/vis_types/table", + "visTypeTable": "src/platform/plugins/private/vis_types/table", "visTypeTagCloud": "src/plugins/vis_types/tagcloud", "visTypeTimeseries": "src/plugins/vis_types/timeseries", "visTypeVega": "src/plugins/vis_types/vega", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index c416128b80ddc..97eb9bffee5fb 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -407,7 +407,7 @@ The plugin exposes the static DefaultEditorController class to consume. |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. diff --git a/package.json b/package.json index ccd4bd94fc0c5..49e95a8be8f2d 100644 --- a/package.json +++ b/package.json @@ -1011,7 +1011,7 @@ "@kbn/vis-type-markdown-plugin": "link:src/plugins/vis_type_markdown", "@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/plugins/vis_types/table", + "@kbn/vis-type-table-plugin": "link:src/platform/plugins/private/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", 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/plugins/vis_types/table/jest.config.js b/src/platform/plugins/private/vis_types/table/jest.config.js similarity index 72% rename from src/plugins/vis_types/table/jest.config.js rename to src/platform/plugins/private/vis_types/table/jest.config.js index 041dbe1266dfa..3949a70ea5ace 100644 --- a/src/plugins/vis_types/table/jest.config.js +++ b/src/platform/plugins/private/vis_types/table/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/table'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/table', + 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/plugins/vis_types/table/{common,public,server}/**/*.{js,ts,tsx}', + '/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/tsconfig.base.json b/tsconfig.base.json index 5e45944880a6e..d32b4b367f622 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2030,8 +2030,8 @@ "@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/plugins/vis_types/table"], - "@kbn/vis-type-table-plugin/*": ["src/plugins/vis_types/table/*"], + "@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/plugins/vis_types/tagcloud"], "@kbn/vis-type-tagcloud-plugin/*": ["src/plugins/vis_types/tagcloud/*"], "@kbn/vis-type-timelion-plugin": ["src/plugins/vis_types/timelion"], diff --git a/yarn.lock b/yarn.lock index 394abd9453a2a..9548bb0e9488e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7876,7 +7876,7 @@ 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 "" From 46e2a86747238a56e0ac265ff56b312752fe0c95 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:20:30 +0100 Subject: [PATCH 39/51] Relocating module `@kbn/vis-type-tagcloud-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/vis_types/tagcloud/jest.config.js | 8 ++++---- .../plugins/private}/vis_types/tagcloud/kibana.jsonc | 0 .../tagcloud/public/__snapshots__/to_ast.test.ts.snap | 0 .../vis_types/tagcloud/public/components/collections.ts | 0 .../tagcloud/public/components/get_tag_cloud_options.tsx | 0 .../tagcloud/public/components/tag_cloud_options.tsx | 0 .../tagcloud/public/convert_to_lens/index.test.ts | 0 .../vis_types/tagcloud/public/convert_to_lens/index.ts | 0 .../plugins/private}/vis_types/tagcloud/public/index.ts | 0 .../plugins/private}/vis_types/tagcloud/public/plugin.ts | 0 .../private}/vis_types/tagcloud/public/services.ts | 0 .../private}/vis_types/tagcloud/public/tag_cloud_type.ts | 0 .../private}/vis_types/tagcloud/public/to_ast.test.ts | 0 .../plugins/private}/vis_types/tagcloud/public/to_ast.ts | 0 .../plugins/private}/vis_types/tagcloud/public/types.ts | 0 .../plugins/private}/vis_types/tagcloud/server/config.ts | 0 .../plugins/private}/vis_types/tagcloud/server/index.ts | 0 .../plugins/private}/vis_types/tagcloud/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 24 files changed, 12 insertions(+), 12 deletions(-) rename src/{plugins => platform/plugins/private}/vis_types/tagcloud/jest.config.js (69%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1591d0d0377a9..3eab6b16cf0b2 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -634,6 +634,7 @@ 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/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 @@ -708,7 +709,6 @@ src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_type_markdown @elastic/kibana-presentation -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 diff --git a/.i18nrc.json b/.i18nrc.json index 231684f10e89f..038656065517a 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -139,7 +139,7 @@ "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/plugins/vis_types/tagcloud", + "visTypeTagCloud": "src/platform/plugins/private/vis_types/tagcloud", "visTypeTimeseries": "src/plugins/vis_types/timeseries", "visTypeVega": "src/plugins/vis_types/vega", "visTypeVislib": "src/plugins/vis_types/vislib", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 97eb9bffee5fb..f5ce969f28c29 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -411,7 +411,7 @@ The plugin exposes the static DefaultEditorController class to consume. |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. diff --git a/package.json b/package.json index 49e95a8be8f2d..2b923fa98a7fa 100644 --- a/package.json +++ b/package.json @@ -1012,7 +1012,7 @@ "@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/plugins/vis_types/tagcloud", + "@kbn/vis-type-tagcloud-plugin": "link:src/platform/plugins/private/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", diff --git a/src/plugins/vis_types/tagcloud/jest.config.js b/src/platform/plugins/private/vis_types/tagcloud/jest.config.js similarity index 69% rename from src/plugins/vis_types/tagcloud/jest.config.js rename to src/platform/plugins/private/vis_types/tagcloud/jest.config.js index 68fb1678efec1..09f7b87503eec 100644 --- a/src/plugins/vis_types/tagcloud/jest.config.js +++ b/src/platform/plugins/private/vis_types/tagcloud/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/tagcloud'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/tagcloud', + 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/plugins/vis_types/tagcloud/{public,server}/**/*.{ts,tsx}'], + 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/tsconfig.base.json b/tsconfig.base.json index d32b4b367f622..ddedeb5933703 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2032,8 +2032,8 @@ "@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/plugins/vis_types/tagcloud"], - "@kbn/vis-type-tagcloud-plugin/*": ["src/plugins/vis_types/tagcloud/*"], + "@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/plugins/vis_types/timelion"], "@kbn/vis-type-timelion-plugin/*": ["src/plugins/vis_types/timelion/*"], "@kbn/vis-type-timeseries-plugin": ["src/plugins/vis_types/timeseries"], diff --git a/yarn.lock b/yarn.lock index 9548bb0e9488e..62c93ba628879 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7880,7 +7880,7 @@ 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 "" From 15ba18b3482e5a1e5627aec5ecb0126c71d37b08 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:22:08 +0100 Subject: [PATCH 40/51] Relocating module `@kbn/vis-type-timelion-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../build/tasks/package_json/find_used_dependencies.ts | 2 +- .../plugins/private}/vis_types/timelion/README.md | 0 .../private}/vis_types/timelion/common/constants.ts | 0 .../timelion/common/lib/calculate_interval.test.ts | 0 .../vis_types/timelion/common/lib/calculate_interval.ts | 0 .../private}/vis_types/timelion/common/lib/index.ts | 0 .../vis_types/timelion/common/lib/to_milliseconds.ts | 0 .../plugins/private}/vis_types/timelion/common/parser.ts | 0 .../private}/vis_types/timelion/common/parser_async.ts | 0 .../plugins/private}/vis_types/timelion/common/types.ts | 0 .../private}/vis_types/timelion/common/vis_data.ts | 0 .../plugins/private}/vis_types/timelion/jest.config.js | 8 ++++---- .../plugins/private}/vis_types/timelion/kibana.jsonc | 0 .../timelion/public/__snapshots__/to_ast.test.ts.snap | 0 .../private}/vis_types/timelion/public/async_services.ts | 0 .../vis_types/timelion/public/components/index.ts | 0 .../vis_types/timelion/public/components/series/area.tsx | 0 .../vis_types/timelion/public/components/series/bar.tsx | 0 .../vis_types/timelion/public/components/series/index.ts | 0 .../public/components/timelion_expression_input.tsx | 0 .../components/timelion_expression_input_helpers.test.ts | 0 .../components/timelion_expression_input_helpers.ts | 0 .../timelion/public/components/timelion_interval.tsx | 0 .../timelion/public/components/timelion_vis.scss | 0 .../timelion/public/components/timelion_vis_component.tsx | 0 .../timelion/public/helpers/arg_value_suggestions.ts | 0 .../vis_types/timelion/public/helpers/chart_constants.ts | 0 .../vis_types/timelion/public/helpers/panel_utils.ts | 0 .../vis_types/timelion/public/helpers/plugin_services.ts | 0 .../timelion/public/helpers/tick_formatters.test.ts | 0 .../vis_types/timelion/public/helpers/tick_formatters.ts | 0 .../timelion/public/helpers/tick_generator.test.ts | 0 .../vis_types/timelion/public/helpers/tick_generator.ts | 0 .../timelion/public/helpers/timelion_request_handler.ts | 0 .../vis_types/timelion/public/helpers/xaxis_formatter.ts | 0 .../plugins/private}/vis_types/timelion/public/index.ts | 0 .../plugins/private}/vis_types/timelion/public/plugin.ts | 0 .../vis_types/timelion/public/timelion_options.scss | 0 .../vis_types/timelion/public/timelion_options.tsx | 0 .../private}/vis_types/timelion/public/timelion_vis_fn.ts | 0 .../vis_types/timelion/public/timelion_vis_renderer.tsx | 0 .../vis_types/timelion/public/timelion_vis_type.tsx | 0 .../private}/vis_types/timelion/public/to_ast.test.ts | 0 .../plugins/private}/vis_types/timelion/public/to_ast.ts | 0 .../plugins/private}/vis_types/timelion/server/config.ts | 0 .../vis_types/timelion/server/fit_functions/average.js | 0 .../timelion/server/fit_functions/average.test.js | 0 .../vis_types/timelion/server/fit_functions/carry.js | 0 .../vis_types/timelion/server/fit_functions/carry.test.js | 0 .../vis_types/timelion/server/fit_functions/nearest.js | 0 .../vis_types/timelion/server/fit_functions/none.js | 0 .../vis_types/timelion/server/fit_functions/scale.js | 0 .../vis_types/timelion/server/handlers/chain_runner.js | 0 .../vis_types/timelion/server/handlers/lib/arg_type.js | 0 .../timelion/server/handlers/lib/index_arguments.js | 0 .../vis_types/timelion/server/handlers/lib/parse_sheet.js | 0 .../timelion/server/handlers/lib/parse_sheet.test.js | 0 .../timelion/server/handlers/lib/preprocess_chain.js | 0 .../timelion/server/handlers/lib/reposition_arguments.js | 0 .../vis_types/timelion/server/handlers/lib/tl_config.js | 0 .../timelion/server/handlers/lib/validate_arg.js | 0 .../timelion/server/handlers/lib/validate_time.js | 0 .../plugins/private}/vis_types/timelion/server/index.ts | 0 .../private}/vis_types/timelion/server/lib/alter.js | 0 .../private}/vis_types/timelion/server/lib/as_sorted.js | 0 .../vis_types/timelion/server/lib/build_target.js | 0 .../vis_types/timelion/server/lib/classes/chainable.js | 0 .../vis_types/timelion/server/lib/classes/datasource.js | 0 .../timelion/server/lib/classes/timelion_function.d.ts | 0 .../timelion/server/lib/classes/timelion_function.js | 0 .../vis_types/timelion/server/lib/config_manager.ts | 0 .../vis_types/timelion/server/lib/functions_md.js | 0 .../timelion/server/lib/get_namespaced_settings.js | 0 .../vis_types/timelion/server/lib/load_functions.d.ts | 0 .../vis_types/timelion/server/lib/load_functions.js | 0 .../vis_types/timelion/server/lib/load_functions.test.js | 0 .../private}/vis_types/timelion/server/lib/offset_time.js | 0 .../vis_types/timelion/server/lib/offset_time.test.js | 0 .../timelion/server/lib/process_function_definition.js | 0 .../private}/vis_types/timelion/server/lib/reduce.js | 0 .../vis_types/timelion/server/lib/split_interval.js | 0 .../private}/vis_types/timelion/server/lib/unzip_pairs.js | 0 .../plugins/private}/vis_types/timelion/server/plugin.ts | 0 .../vis_types/timelion/server/routes/functions.ts | 0 .../private}/vis_types/timelion/server/routes/run.ts | 0 .../vis_types/timelion/server/series_functions/abs.js | 0 .../timelion/server/series_functions/abs.test.js | 0 .../server/series_functions/aggregate/aggregate.test.js | 0 .../timelion/server/series_functions/aggregate/avg.js | 0 .../server/series_functions/aggregate/cardinality.js | 0 .../timelion/server/series_functions/aggregate/first.js | 0 .../timelion/server/series_functions/aggregate/index.js | 0 .../timelion/server/series_functions/aggregate/last.js | 0 .../timelion/server/series_functions/aggregate/max.js | 0 .../timelion/server/series_functions/aggregate/min.js | 0 .../timelion/server/series_functions/aggregate/sum.js | 0 .../vis_types/timelion/server/series_functions/bars.js | 0 .../timelion/server/series_functions/bars.test.js | 0 .../vis_types/timelion/server/series_functions/color.js | 0 .../timelion/server/series_functions/color.test.js | 0 .../timelion/server/series_functions/condition.js | 0 .../timelion/server/series_functions/condition.test.js | 0 .../vis_types/timelion/server/series_functions/cusum.js | 0 .../timelion/server/series_functions/cusum.test.js | 0 .../timelion/server/series_functions/derivative.js | 0 .../timelion/server/series_functions/derivative.test.js | 0 .../vis_types/timelion/server/series_functions/divide.js | 0 .../timelion/server/series_functions/divide.test.js | 0 .../timelion/server/series_functions/es/es.test.js | 0 .../timelion/server/series_functions/es/index.js | 0 .../timelion/server/series_functions/es/lib/agg_body.js | 0 .../es/lib/agg_response_to_series_list.js | 0 .../server/series_functions/es/lib/build_request.js | 0 .../server/series_functions/es/lib/create_date_agg.js | 0 .../vis_types/timelion/server/series_functions/first.js | 0 .../timelion/server/series_functions/first.test.js | 0 .../vis_types/timelion/server/series_functions/fit.js | 0 .../timelion/server/series_functions/fit.test.js | 0 .../server/series_functions/fixtures/bucket_list.js | 0 .../server/series_functions/fixtures/es_response.js | 0 .../server/series_functions/fixtures/series_list.js | 0 .../server/series_functions/fixtures/tl_config.js | 0 .../vis_types/timelion/server/series_functions/hide.js | 0 .../timelion/server/series_functions/hide.test.js | 0 .../timelion/server/series_functions/holt/index.js | 0 .../timelion/server/series_functions/holt/lib/des.js | 0 .../timelion/server/series_functions/holt/lib/ses.js | 0 .../timelion/server/series_functions/holt/lib/tes.js | 0 .../vis_types/timelion/server/series_functions/label.js | 0 .../timelion/server/series_functions/label.test.js | 0 .../vis_types/timelion/server/series_functions/legend.js | 0 .../timelion/server/series_functions/legend.test.js | 0 .../vis_types/timelion/server/series_functions/lines.js | 0 .../timelion/server/series_functions/lines.test.js | 0 .../vis_types/timelion/server/series_functions/log.js | 0 .../timelion/server/series_functions/log.test.js | 0 .../vis_types/timelion/server/series_functions/max.js | 0 .../timelion/server/series_functions/max.test.js | 0 .../vis_types/timelion/server/series_functions/min.js | 0 .../timelion/server/series_functions/min.test.js | 0 .../timelion/server/series_functions/movingaverage.js | 0 .../server/series_functions/movingaverage.test.js | 0 .../timelion/server/series_functions/movingstd.js | 0 .../timelion/server/series_functions/movingstd.test.js | 0 .../timelion/server/series_functions/multiply.js | 0 .../timelion/server/series_functions/multiply.test.js | 0 .../vis_types/timelion/server/series_functions/points.js | 0 .../timelion/server/series_functions/points.test.js | 0 .../timelion/server/series_functions/precision.js | 0 .../timelion/server/series_functions/precision.test.js | 0 .../vis_types/timelion/server/series_functions/props.js | 0 .../vis_types/timelion/server/series_functions/range.js | 0 .../timelion/server/series_functions/range.test.js | 0 .../timelion/server/series_functions/scale_interval.js | 0 .../server/series_functions/scale_interval.test.js | 0 .../vis_types/timelion/server/series_functions/static.js | 0 .../timelion/server/series_functions/static.test.js | 0 .../timelion/server/series_functions/subtract.js | 0 .../timelion/server/series_functions/subtract.test.js | 0 .../vis_types/timelion/server/series_functions/sum.js | 0 .../timelion/server/series_functions/sum.test.js | 0 .../server/series_functions/test_helpers/get_series.js | 0 .../series_functions/test_helpers/get_series_list.js | 0 .../test_helpers/get_single_series_list.js | 0 .../series_functions/test_helpers/invoke_series_fn.js | 0 .../vis_types/timelion/server/series_functions/title.js | 0 .../timelion/server/series_functions/title.test.js | 0 .../timelion/server/series_functions/trend/index.js | 0 .../timelion/server/series_functions/trend/lib/regress.js | 0 .../vis_types/timelion/server/series_functions/trim.js | 0 .../timelion/server/series_functions/trim.test.js | 0 .../timelion/server/series_functions/worldbank.js | 0 .../server/series_functions/worldbank_indicators.js | 0 .../vis_types/timelion/server/series_functions/yaxis.js | 0 .../timelion/server/series_functions/yaxis.test.js | 0 .../private}/vis_types/timelion/server/timelion.json | 0 .../plugins/private}/vis_types/timelion/server/types.ts | 0 .../private}/vis_types/timelion/server/ui_settings.ts | 0 .../plugins/private}/vis_types/timelion/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 185 files changed, 13 insertions(+), 13 deletions(-) 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 => platform/plugins/private}/vis_types/timelion/jest.config.js (71%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3eab6b16cf0b2..55653da5ffb83 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -635,6 +635,7 @@ 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/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 @@ -709,7 +710,6 @@ src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_type_markdown @elastic/kibana-presentation -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 diff --git a/.i18nrc.json b/.i18nrc.json index 038656065517a..15a07f5cec80e 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -124,7 +124,7 @@ "esqlDataGrid": "src/platform/plugins/shared/esql_datagrid", "statusPage": "src/legacy/core_plugins/status_page", "telemetry": ["src/plugins/telemetry", "src/plugins/telemetry_management_section"], - "timelion": ["src/plugins/vis_types/timelion"], + "timelion": ["src/platform/plugins/private/vis_types/timelion"], "tryInConsole": "packages/kbn-try-in-console/", "uiActions": ["src/plugins/ui_actions", "packages/kbn-ui-actions-browser"], "uiActionsEnhanced": "src/plugins/ui_actions_enhanced", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index f5ce969f28c29..509125c98157e 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -415,7 +415,7 @@ The plugin exposes the static DefaultEditorController class to consume. |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. diff --git a/package.json b/package.json index 2b923fa98a7fa..e835444f005a2 100644 --- a/package.json +++ b/package.json @@ -1013,7 +1013,7 @@ "@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/plugins/vis_types/timelion", + "@kbn/vis-type-timelion-plugin": "link:src/platform/plugins/private/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", 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/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/vis_types/timelion/jest.config.js b/src/platform/plugins/private/vis_types/timelion/jest.config.js similarity index 71% rename from src/plugins/vis_types/timelion/jest.config.js rename to src/platform/plugins/private/vis_types/timelion/jest.config.js index e2e41d47834c5..fa02dc049074a 100644 --- a/src/plugins/vis_types/timelion/jest.config.js +++ b/src/platform/plugins/private/vis_types/timelion/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/private/vis_types/timelion'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/timelion', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/vis_types/timelion/{common,public,server}/**/*.{js,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/tsconfig.base.json b/tsconfig.base.json index ddedeb5933703..7d7ec28870f63 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2034,8 +2034,8 @@ "@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/plugins/vis_types/timelion"], - "@kbn/vis-type-timelion-plugin/*": ["src/plugins/vis_types/timelion/*"], + "@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/plugins/vis_types/timeseries"], "@kbn/vis-type-timeseries-plugin/*": ["src/plugins/vis_types/timeseries/*"], "@kbn/vis-type-vega-plugin": ["src/plugins/vis_types/vega"], diff --git a/yarn.lock b/yarn.lock index 62c93ba628879..66100a5ff3648 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7884,7 +7884,7 @@ 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 "" From c6ba8f5049e986f93a92cf21abdcfabb367e1557 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:23:44 +0100 Subject: [PATCH 41/51] Relocating module `@kbn/vis-type-timeseries-plugin` --- .eslintrc.js | 2 +- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../timeseries/common/__mocks__/index_patterns_utils.ts | 0 .../shared}/vis_types/timeseries/common/agg_utils.test.ts | 0 .../shared}/vis_types/timeseries/common/agg_utils.ts | 0 .../shared}/vis_types/timeseries/common/basic_aggs.ts | 0 .../vis_types/timeseries/common/calculate_label.test.ts | 0 .../vis_types/timeseries/common/calculate_label.ts | 0 .../vis_types/timeseries/common/check_ui_restrictions.ts | 0 .../shared}/vis_types/timeseries/common/constants.ts | 0 .../vis_types/timeseries/common/empty_label.test.ts | 0 .../shared}/vis_types/timeseries/common/empty_label.ts | 0 .../shared}/vis_types/timeseries/common/enums/index.ts | 0 .../vis_types/timeseries/common/enums/metric_types.ts | 0 .../vis_types/timeseries/common/enums/model_types.ts | 0 .../vis_types/timeseries/common/enums/panel_types.ts | 0 .../timeseries/common/enums/timerange_data_modes.ts | 0 .../plugins/shared}/vis_types/timeseries/common/errors.ts | 0 .../vis_types/timeseries/common/fields_utils.test.ts | 0 .../shared}/vis_types/timeseries/common/fields_utils.ts | 0 .../timeseries/common/index_patterns_utils.test.ts | 0 .../vis_types/timeseries/common/index_patterns_utils.ts | 0 .../vis_types/timeseries/common/interval_regexp.test.ts | 0 .../vis_types/timeseries/common/interval_regexp.ts | 0 .../vis_types/timeseries/common/last_value_utils.test.ts | 0 .../vis_types/timeseries/common/last_value_utils.ts | 0 .../vis_types/timeseries/common/operators_utils.test.ts | 0 .../vis_types/timeseries/common/operators_utils.ts | 0 .../vis_types/timeseries/common/to_percentile_number.ts | 0 .../vis_types/timeseries/common/types/color_rules.ts | 0 .../shared}/vis_types/timeseries/common/types/index.ts | 0 .../vis_types/timeseries/common/types/panel_model.ts | 0 .../shared}/vis_types/timeseries/common/types/vis_data.ts | 0 .../vis_types/timeseries/common/ui_restrictions.ts | 0 .../vis_types/timeseries/common/validate_interval.ts | 0 .../shared}/vis_types/timeseries/common/vis_data_utils.ts | 0 .../plugins/shared}/vis_types/timeseries/jest.config.js | 8 ++++---- .../plugins/shared}/vis_types/timeseries/kibana.jsonc | 0 .../application/components/_annotations_editor.scss | 0 .../timeseries/public/application/components/_error.scss | 0 .../public/application/components/_markdown_editor.scss | 0 .../public/application/components/_series_editor.scss | 0 .../application/components/_vis_editor_visualization.scss | 0 .../public/application/components/_vis_with_splits.scss | 0 .../application/components/add_delete_buttons.test.tsx | 0 .../public/application/components/add_delete_buttons.tsx | 0 .../timeseries/public/application/components/aggs/agg.tsx | 0 .../public/application/components/aggs/agg_row.tsx | 0 .../application/components/aggs/agg_select.test.tsx | 0 .../public/application/components/aggs/agg_select.tsx | 0 .../public/application/components/aggs/aggs.tsx | 0 .../public/application/components/aggs/calculation.js | 0 .../public/application/components/aggs/cumulative_sum.js | 0 .../public/application/components/aggs/derivative.js | 0 .../components/aggs/field_select/field_select.tsx | 0 .../components/aggs/field_select/field_select_item.tsx | 0 .../components/aggs/field_select/field_select_utils.ts | 0 .../application/components/aggs/field_select/index.ts | 0 .../components/aggs/field_select/multi_field_select.tsx | 0 .../public/application/components/aggs/filter_ratio.js | 0 .../application/components/aggs/filter_ratio.test.js | 0 .../application/components/aggs/histogram_support.test.js | 0 .../public/application/components/aggs/invalid_agg.tsx | 0 .../timeseries/public/application/components/aggs/math.js | 0 .../public/application/components/aggs/metric_select.js | 0 .../public/application/components/aggs/moving_average.js | 0 .../public/application/components/aggs/percentile.js | 0 .../public/application/components/aggs/percentile_hdr.tsx | 0 .../application/components/aggs/percentile_rank/index.js | 0 .../aggs/percentile_rank/multi_value_row.test.tsx | 0 .../components/aggs/percentile_rank/multi_value_row.tsx | 0 .../components/aggs/percentile_rank/percentile_rank.tsx | 0 .../aggs/percentile_rank/percentile_rank_values.tsx | 0 .../public/application/components/aggs/percentile_ui.js | 0 .../application/components/aggs/percentile_ui.test.tsx | 0 .../public/application/components/aggs/positive_only.js | 0 .../public/application/components/aggs/positive_rate.js | 0 .../public/application/components/aggs/serial_diff.js | 0 .../public/application/components/aggs/series_agg.js | 0 .../public/application/components/aggs/static.js | 0 .../public/application/components/aggs/std_agg.js | 0 .../public/application/components/aggs/std_deviation.js | 0 .../public/application/components/aggs/std_sibling.js | 0 .../public/application/components/aggs/top_hit.js | 0 .../timeseries/public/application/components/aggs/vars.js | 0 .../public/application/components/annotation_row.tsx | 0 .../public/application/components/annotations_editor.tsx | 0 .../public/application/components/color_picker.test.tsx | 0 .../public/application/components/color_picker.tsx | 0 .../public/application/components/color_rules.test.tsx | 0 .../public/application/components/color_rules.tsx | 0 .../public/application/components/data_format_picker.tsx | 0 .../timeseries/public/application/components/error.js | 0 .../icon_select/__snapshots__/icon_select.test.js.snap | 0 .../application/components/icon_select/icon_select.js | 0 .../components/icon_select/icon_select.test.js | 0 .../public/application/components/index_pattern.js | 0 .../application/components/last_value_mode_indicator.tsx | 0 .../application/components/last_value_mode_popover.scss | 0 .../application/components/last_value_mode_popover.tsx | 0 .../public/application/components/lib/agg_to_component.js | 0 .../application/components/lib/calculate_siblings.js | 0 .../application/components/lib/calculate_siblings.test.js | 0 .../components/lib/check_if_numeric_metric.test.ts | 0 .../application/components/lib/check_if_numeric_metric.ts | 0 .../lib/check_if_series_have_same_formatters.test.ts | 0 .../lib/check_if_series_have_same_formatters.ts | 0 .../application/components/lib/collection_actions.test.ts | 0 .../application/components/lib/collection_actions.ts | 0 .../components/lib/convert_series_to_datatable.test.ts | 0 .../components/lib/convert_series_to_datatable.ts | 0 .../application/components/lib/convert_series_to_vars.js | 0 .../components/lib/convert_series_to_vars.test.js | 0 .../application/components/lib/create_change_handler.js | 0 .../components/lib/create_field_formatter.test.ts | 0 .../application/components/lib/create_field_formatter.ts | 0 .../components/lib/create_interval_based_formatter.ts | 0 .../components/lib/create_number_handler.test.ts | 0 .../application/components/lib/create_number_handler.ts | 0 .../components/lib/create_select_handler.test.ts | 0 .../application/components/lib/create_select_handler.ts | 0 .../components/lib/create_text_handler.test.ts | 0 .../application/components/lib/create_text_handler.ts | 0 .../public/application/components/lib/durations.test.ts | 0 .../public/application/components/lib/durations.ts | 0 .../components/lib/external_url_error_modal.tsx | 0 .../application/components/lib/get_axis_label_string.js | 0 .../components/lib/get_axis_label_string.test.js | 0 .../components/lib/get_click_filter_data.test.ts | 0 .../application/components/lib/get_click_filter_data.ts | 0 .../components/lib/get_default_query_language.ts | 0 .../public/application/components/lib/get_display_name.js | 0 .../application/components/lib/get_formatter_type.test.ts | 0 .../application/components/lib/get_formatter_type.ts | 0 .../public/application/components/lib/get_interval.ts | 0 .../application/components/lib/get_metrics_field.test.ts | 0 .../application/components/lib/get_metrics_field.ts | 0 .../components/lib/get_supported_fields_by_metric_type.js | 0 .../lib/get_supported_fields_by_metric_type.test.js | 0 .../lib/index_pattern_select/combo_box_select.tsx | 0 .../lib/index_pattern_select/field_text_select.tsx | 0 .../components/lib/index_pattern_select/index.ts | 0 .../lib/index_pattern_select/index_pattern_select.tsx | 0 .../lib/index_pattern_select/switch_mode_popover.tsx | 0 .../components/lib/index_pattern_select/types.ts | 0 .../application/components/lib/new_metric_agg_fn.ts | 0 .../public/application/components/lib/new_series_fn.js | 0 .../public/application/components/lib/re_id_series.js | 0 .../application/components/lib/re_id_series.test.js | 0 .../public/application/components/lib/reorder.ts | 0 .../application/components/lib/replace_vars.test.ts | 0 .../public/application/components/lib/replace_vars.ts | 0 .../application/components/lib/series_change_handler.js | 0 .../public/application/components/lib/stacked.js | 0 .../public/application/components/lib/tick_formatter.js | 0 .../application/components/lib/tick_formatter.test.js | 0 .../timeseries/public/application/components/lib/types.ts | 0 .../public/application/components/markdown_editor.js | 0 .../public/application/components/palette_picker.test.tsx | 0 .../public/application/components/palette_picker.tsx | 0 .../components/panel_config/_panel_config.scss | 0 .../application/components/panel_config/gauge.test.tsx | 0 .../public/application/components/panel_config/gauge.tsx | 0 .../public/application/components/panel_config/index.ts | 0 .../application/components/panel_config/markdown.tsx | 0 .../public/application/components/panel_config/metric.tsx | 0 .../application/components/panel_config/panel_config.tsx | 0 .../public/application/components/panel_config/table.tsx | 0 .../components/panel_config/timeseries.test.tsx | 0 .../application/components/panel_config/timeseries.tsx | 0 .../public/application/components/panel_config/top_n.tsx | 0 .../public/application/components/panel_config/types.ts | 0 .../public/application/components/query_bar_wrapper.tsx | 0 .../public/application/components/render_counter.tsx | 0 .../timeseries/public/application/components/series.js | 0 .../public/application/components/series_config.js | 0 .../series_config_query_bar_with_ignore_global_filter.js | 0 .../public/application/components/series_drag_handler.tsx | 0 .../public/application/components/series_editor.js | 0 .../timeseries/public/application/components/split.js | 0 .../components/splits/__snapshots__/terms.test.js.snap | 0 .../public/application/components/splits/everything.js | 0 .../public/application/components/splits/filter.js | 0 .../public/application/components/splits/filter_items.js | 0 .../public/application/components/splits/filters.js | 0 .../application/components/splits/group_by_select.tsx | 0 .../public/application/components/splits/terms.js | 0 .../public/application/components/splits/terms.test.js | 0 .../application/components/splits/unsupported_split.js | 0 .../public/application/components/svg/bomb_icon.js | 0 .../public/application/components/svg/fire_icon.js | 0 .../public/application/components/timeseries_loading.tsx | 0 .../application/components/timeseries_visualization.scss | 0 .../application/components/timeseries_visualization.tsx | 0 .../components/use_index_patter_mode_callout.tsx | 0 .../public/application/components/vis_editor.tsx | 0 .../public/application/components/vis_editor_lazy.tsx | 0 .../application/components/vis_editor_visualization.js | 0 .../public/application/components/vis_picker.tsx | 0 .../application/components/vis_types/_vis_types.scss | 0 .../application/components/vis_types/gauge/series.js | 0 .../application/components/vis_types/gauge/series.test.js | 0 .../public/application/components/vis_types/gauge/vis.js | 0 .../public/application/components/vis_types/index.ts | 0 .../components/vis_types/markdown/_markdown.scss | 0 .../application/components/vis_types/markdown/series.js | 0 .../application/components/vis_types/markdown/vis.js | 0 .../application/components/vis_types/metric/series.js | 0 .../components/vis_types/metric/series.test.js | 0 .../public/application/components/vis_types/metric/vis.js | 0 .../application/components/vis_types/table/config.js | 0 .../application/components/vis_types/table/is_sortable.js | 0 .../application/components/vis_types/table/series.js | 0 .../public/application/components/vis_types/table/vis.js | 0 .../application/components/vis_types/timeseries/config.js | 0 .../application/components/vis_types/timeseries/series.js | 0 .../application/components/vis_types/timeseries/vis.js | 0 .../components/vis_types/timeseries/vis.test.js | 0 .../application/components/vis_types/top_n/series.js | 0 .../public/application/components/vis_types/top_n/vis.js | 0 .../public/application/components/vis_with_splits.js | 0 .../public/application/components/yes_no.test.tsx | 0 .../timeseries/public/application/components/yes_no.tsx | 0 .../application/contexts/form_validation_context.ts | 0 .../public/application/contexts/panel_model_context.ts | 0 .../application/contexts/query_input_bar_context.ts | 0 .../public/application/contexts/vis_data_context.ts | 0 .../timeseries/public/application/editor_controller.tsx | 0 .../application/lib/compute_gradient_final_color.test.ts | 0 .../application/lib/compute_gradient_final_color.ts | 0 .../timeseries/public/application/lib/fetch_fields.ts | 0 .../application/lib/get_split_by_terms_color.test.ts | 0 .../public/application/lib/get_split_by_terms_color.ts | 0 .../timeseries/public/application/lib/rainbow_colors.ts | 0 .../timeseries/public/application/lib/set_is_reversed.js | 0 .../timeseries/public/application/styles/common.styles.ts | 0 .../public/application/visualizations/constants/chart.ts | 0 .../public/application/visualizations/constants/icons.ts | 0 .../public/application/visualizations/constants/index.ts | 0 .../application/visualizations/lib/calc_dimensions.js | 0 .../visualizations/lib/calculate_coordinates.js | 0 .../public/application/visualizations/lib/get_value_by.js | 0 .../application/visualizations/views/_annotation.scss | 0 .../public/application/visualizations/views/_gauge.scss | 0 .../public/application/visualizations/views/_metric.scss | 0 .../public/application/visualizations/views/_top_n.scss | 0 .../application/visualizations/views/_variables.scss | 0 .../public/application/visualizations/views/annotation.js | 0 .../public/application/visualizations/views/gauge.js | 0 .../public/application/visualizations/views/gauge_vis.js | 0 .../public/application/visualizations/views/metric.js | 0 .../decorators/__snapshots__/area_decorator.test.js.snap | 0 .../decorators/__snapshots__/bar_decorator.test.js.snap | 0 .../views/timeseries/decorators/area_decorator.js | 0 .../views/timeseries/decorators/area_decorator.test.js | 0 .../views/timeseries/decorators/bar_decorator.js | 0 .../views/timeseries/decorators/bar_decorator.test.js | 0 .../application/visualizations/views/timeseries/index.js | 0 .../timeseries/model/__snapshots__/charts.test.js.snap | 0 .../visualizations/views/timeseries/model/charts.js | 0 .../visualizations/views/timeseries/model/charts.test.js | 0 .../utils/__snapshots__/series_styles.test.js.snap | 0 .../views/timeseries/utils/series_domain_calculation.ts | 0 .../timeseries/utils/series_domain_calculations.test.ts | 0 .../views/timeseries/utils/series_styles.js | 0 .../views/timeseries/utils/series_styles.test.js | 0 .../visualizations/views/timeseries/utils/stack_format.js | 0 .../views/timeseries/utils/stack_format.test.js | 0 .../visualizations/views/timeseries/utils/theme.test.ts | 0 .../visualizations/views/timeseries/utils/theme.ts | 0 .../public/application/visualizations/views/top_n.js | 0 .../timeseries/public/convert_to_lens/gauge/index.test.ts | 0 .../timeseries/public/convert_to_lens/gauge/index.ts | 0 .../timeseries/public/convert_to_lens/index.test.ts | 0 .../vis_types/timeseries/public/convert_to_lens/index.ts | 0 .../public/convert_to_lens/lib/__mocks__/index.ts | 0 .../public/convert_to_lens/lib/configurations/index.ts | 0 .../lib/configurations/metric/index.test.ts | 0 .../convert_to_lens/lib/configurations/metric/index.ts | 0 .../lib/configurations/palette/index.test.ts | 0 .../convert_to_lens/lib/configurations/palette/index.ts | 0 .../lib/configurations/table/index.test.ts | 0 .../convert_to_lens/lib/configurations/table/index.ts | 0 .../convert_to_lens/lib/configurations/xy/chart_type.ts | 0 .../lib/configurations/xy/configuration.test.ts | 0 .../lib/configurations/xy/configuration.ts | 0 .../convert_to_lens/lib/configurations/xy/extents.test.ts | 0 .../convert_to_lens/lib/configurations/xy/extents.ts | 0 .../public/convert_to_lens/lib/configurations/xy/index.ts | 0 .../convert_to_lens/lib/configurations/xy/layers.test.ts | 0 .../convert_to_lens/lib/configurations/xy/layers.ts | 0 .../public/convert_to_lens/lib/convert/column.test.ts | 0 .../public/convert_to_lens/lib/convert/column.ts | 0 .../convert_to_lens/lib/convert/counter_rate.test.ts | 0 .../public/convert_to_lens/lib/convert/counter_rate.ts | 0 .../convert_to_lens/lib/convert/cumulative_sum.test.ts | 0 .../public/convert_to_lens/lib/convert/cumulative_sum.ts | 0 .../convert_to_lens/lib/convert/date_histogram.test.ts | 0 .../public/convert_to_lens/lib/convert/date_histogram.ts | 0 .../convert_to_lens/lib/convert/filter_ratio.test.ts | 0 .../public/convert_to_lens/lib/convert/filter_ratio.ts | 0 .../public/convert_to_lens/lib/convert/filters.test.ts | 0 .../public/convert_to_lens/lib/convert/filters.ts | 0 .../public/convert_to_lens/lib/convert/formula.test.ts | 0 .../public/convert_to_lens/lib/convert/formula.ts | 0 .../public/convert_to_lens/lib/convert/index.ts | 0 .../public/convert_to_lens/lib/convert/last_value.test.ts | 0 .../public/convert_to_lens/lib/convert/last_value.ts | 0 .../convert_to_lens/lib/convert/moving_average.test.ts | 0 .../public/convert_to_lens/lib/convert/moving_average.ts | 0 .../convert_to_lens/lib/convert/parent_pipeline.test.ts | 0 .../public/convert_to_lens/lib/convert/parent_pipeline.ts | 0 .../public/convert_to_lens/lib/convert/percentile.test.ts | 0 .../public/convert_to_lens/lib/convert/percentile.ts | 0 .../convert_to_lens/lib/convert/percentile_rank.test.ts | 0 .../public/convert_to_lens/lib/convert/percentile_rank.ts | 0 .../convert_to_lens/lib/convert/static_value.test.ts | 0 .../public/convert_to_lens/lib/convert/static_value.ts | 0 .../convert_to_lens/lib/convert/std_deviation.test.ts | 0 .../public/convert_to_lens/lib/convert/std_deviation.ts | 0 .../public/convert_to_lens/lib/convert/terms.test.ts | 0 .../public/convert_to_lens/lib/convert/terms.ts | 0 .../public/convert_to_lens/lib/convert/types.ts | 0 .../public/convert_to_lens/lib/convert/variance.test.ts | 0 .../public/convert_to_lens/lib/convert/variance.ts | 0 .../lib/datasource/datasource_info.test.ts | 0 .../convert_to_lens/lib/datasource/datasource_info.ts | 0 .../public/convert_to_lens/lib/datasource/index.ts | 0 .../lib/metrics/counter_rate_formula.test.ts | 0 .../convert_to_lens/lib/metrics/counter_rate_formula.ts | 0 .../lib/metrics/filter_ratio_formula.test.ts | 0 .../convert_to_lens/lib/metrics/filter_ratio_formula.ts | 0 .../public/convert_to_lens/lib/metrics/index.ts | 0 .../convert_to_lens/lib/metrics/metrics_helpers.test.ts | 0 .../public/convert_to_lens/lib/metrics/metrics_helpers.ts | 0 .../convert_to_lens/lib/metrics/pipeline_formula.test.ts | 0 .../convert_to_lens/lib/metrics/pipeline_formula.ts | 0 .../convert_to_lens/lib/metrics/supported_metrics.ts | 0 .../convert_to_lens/lib/metrics/validate_metrics.test.ts | 0 .../convert_to_lens/lib/metrics/validate_metrics.ts | 0 .../convert_to_lens/lib/series/buckets_columns.test.ts | 0 .../public/convert_to_lens/lib/series/buckets_columns.ts | 0 .../public/convert_to_lens/lib/series/columns.test.ts | 0 .../public/convert_to_lens/lib/series/columns.ts | 0 .../timeseries/public/convert_to_lens/lib/series/index.ts | 0 .../convert_to_lens/lib/series/metrics_columns.test.ts | 0 .../public/convert_to_lens/lib/series/metrics_columns.ts | 0 .../public/convert_to_lens/lib/series/series_agg.ts | 0 .../public/convert_to_lens/metric/index.test.ts | 0 .../timeseries/public/convert_to_lens/metric/index.ts | 0 .../timeseries/public/convert_to_lens/table/index.test.ts | 0 .../timeseries/public/convert_to_lens/table/index.ts | 0 .../public/convert_to_lens/timeseries/index.test.ts | 0 .../timeseries/public/convert_to_lens/timeseries/index.ts | 0 .../timeseries/public/convert_to_lens/top_n/index.test.ts | 0 .../timeseries/public/convert_to_lens/top_n/index.ts | 0 .../vis_types/timeseries/public/convert_to_lens/types.ts | 0 .../timeseries/public/convert_to_lens/utils.test.ts | 0 .../vis_types/timeseries/public/convert_to_lens/utils.ts | 0 .../plugins/shared}/vis_types/timeseries/public/index.ts | 0 .../shared}/vis_types/timeseries/public/metrics_fn.ts | 0 .../vis_types/timeseries/public/metrics_type.test.ts | 0 .../shared}/vis_types/timeseries/public/metrics_type.ts | 0 .../plugins/shared}/vis_types/timeseries/public/plugin.ts | 0 .../vis_types/timeseries/public/request_handler.ts | 0 .../shared}/vis_types/timeseries/public/services.ts | 0 .../vis_types/timeseries/public/test_utils/index.ts | 0 .../timeseries/public/timeseries_vis_renderer.tsx | 0 .../plugins/shared}/vis_types/timeseries/public/to_ast.ts | 0 .../plugins/shared}/vis_types/timeseries/public/types.ts | 0 .../shared}/vis_types/timeseries/public/vis_state.test.ts | 0 .../plugins/shared}/vis_types/timeseries/server/config.ts | 0 .../plugins/shared}/vis_types/timeseries/server/index.ts | 0 .../shared}/vis_types/timeseries/server/lib/get_fields.ts | 0 .../vis_types/timeseries/server/lib/get_vis_data.ts | 0 .../capabilities/default_search_capabilities.test.ts | 0 .../capabilities/default_search_capabilities.ts | 0 .../capabilities/rollup_search_capabilities.test.ts | 0 .../capabilities/rollup_search_capabilities.ts | 0 .../timeseries/server/lib/search_strategies/index.ts | 0 .../lib/cached_index_pattern_fetcher.test.ts | 0 .../search_strategies/lib/cached_index_pattern_fetcher.ts | 0 .../server/lib/search_strategies/lib/fields_fetcher.ts | 0 .../lib/search_strategies/lib/interval_helper.test.ts | 0 .../server/lib/search_strategies/lib/interval_helper.ts | 0 .../search_strategies/search_strategies_registry.test.ts | 0 .../lib/search_strategies/search_strategy_registry.ts | 0 .../strategies/abstract_search_strategy.test.ts | 0 .../strategies/abstract_search_strategy.ts | 0 .../strategies/default_search_strategy.test.ts | 0 .../strategies/default_search_strategy.ts | 0 .../server/lib/search_strategies/strategies/index.ts | 0 .../strategies/rollup_search_strategy.test.ts | 0 .../strategies/rollup_search_strategy.ts | 0 .../server/lib/vis_data/annotations/build_request_body.ts | 0 .../server/lib/vis_data/annotations/get_request_params.ts | 0 .../server/lib/vis_data/build_processor_function.test.ts | 0 .../server/lib/vis_data/build_processor_function.ts | 0 .../timeseries/server/lib/vis_data/get_annotations.ts | 0 .../timeseries/server/lib/vis_data/get_interval.test.ts | 0 .../timeseries/server/lib/vis_data/get_interval.ts | 0 .../timeseries/server/lib/vis_data/get_series_data.ts | 0 .../timeseries/server/lib/vis_data/get_table_data.ts | 0 .../server/lib/vis_data/handle_error_response.test.ts | 0 .../server/lib/vis_data/handle_error_response.ts | 0 .../helpers/__snapshots__/bucket_transform.test.js.snap | 0 .../server/lib/vis_data/helpers/bucket_transform.js | 0 .../server/lib/vis_data/helpers/bucket_transform.test.js | 0 .../timeseries/server/lib/vis_data/helpers/check_aggs.ts | 0 .../timeseries/server/lib/vis_data/helpers/format_key.ts | 0 .../server/lib/vis_data/helpers/get_active_series.ts | 0 .../server/lib/vis_data/helpers/get_agg_value.js | 0 .../server/lib/vis_data/helpers/get_agg_value.test.js | 0 .../server/lib/vis_data/helpers/get_bucket_size.test.ts | 0 .../server/lib/vis_data/helpers/get_bucket_size.ts | 0 .../server/lib/vis_data/helpers/get_buckets_path.test.ts | 0 .../server/lib/vis_data/helpers/get_buckets_path.ts | 0 .../server/lib/vis_data/helpers/get_default_decoration.js | 0 .../lib/vis_data/helpers/get_default_decoration.test.js | 0 .../lib/vis_data/helpers/get_es_query_uisettings.ts | 0 .../server/lib/vis_data/helpers/get_last_metric.test.ts | 0 .../server/lib/vis_data/helpers/get_last_metric.ts | 0 .../server/lib/vis_data/helpers/get_sibling_agg_value.js | 0 .../lib/vis_data/helpers/get_sibling_agg_value.test.js | 0 .../server/lib/vis_data/helpers/get_splits.test.ts | 0 .../timeseries/server/lib/vis_data/helpers/get_splits.ts | 0 .../server/lib/vis_data/helpers/get_timerange.test.ts | 0 .../server/lib/vis_data/helpers/get_timerange.ts | 0 .../server/lib/vis_data/helpers/get_timerange_mode.ts | 0 .../timeseries/server/lib/vis_data/helpers/index.ts | 0 .../server/lib/vis_data/helpers/map_empty_to_zero.test.ts | 0 .../server/lib/vis_data/helpers/map_empty_to_zero.ts | 0 .../server/lib/vis_data/helpers/moving_fn_scripts.test.js | 0 .../server/lib/vis_data/helpers/moving_fn_scripts.ts | 0 .../timeseries/server/lib/vis_data/helpers/overwrite.ts | 0 .../server/lib/vis_data/helpers/parse_interval.js | 0 .../server/lib/vis_data/helpers/timestamp.test.ts | 0 .../timeseries/server/lib/vis_data/helpers/timestamp.ts | 0 .../server/lib/vis_data/helpers/unit_to_seconds.test.ts | 0 .../server/lib/vis_data/helpers/unit_to_seconds.ts | 0 .../timeseries/server/lib/vis_data/offset_time.js | 0 .../timeseries/server/lib/vis_data/offset_time.test.js | 0 .../request_processors/annotations/date_histogram.ts | 0 .../lib/vis_data/request_processors/annotations/index.ts | 0 .../vis_data/request_processors/annotations/query.test.ts | 0 .../lib/vis_data/request_processors/annotations/query.ts | 0 .../vis_data/request_processors/annotations/top_hits.ts | 0 .../lib/vis_data/request_processors/annotations/types.ts | 0 .../vis_data/request_processors/series/date_histogram.js | 0 .../request_processors/series/date_histogram.test.js | 0 .../vis_data/request_processors/series/filter_ratios.js | 0 .../request_processors/series/filter_ratios.test.js | 0 .../lib/vis_data/request_processors/series/index.js | 0 .../vis_data/request_processors/series/metric_buckets.js | 0 .../request_processors/series/metric_buckets.test.js | 0 .../vis_data/request_processors/series/normalize_query.js | 0 .../request_processors/series/normalize_query.test.js | 0 .../vis_data/request_processors/series/positive_rate.js | 0 .../request_processors/series/positive_rate.test.js | 0 .../lib/vis_data/request_processors/series/query.js | 0 .../lib/vis_data/request_processors/series/query.test.js | 0 .../vis_data/request_processors/series/sibling_buckets.js | 0 .../request_processors/series/sibling_buckets.test.js | 0 .../request_processors/series/split_by_everything.js | 0 .../request_processors/series/split_by_everything.test.js | 0 .../vis_data/request_processors/series/split_by_filter.js | 0 .../request_processors/series/split_by_filter.test.js | 0 .../request_processors/series/split_by_filters.js | 0 .../request_processors/series/split_by_filters.test.js | 0 .../vis_data/request_processors/series/split_by_terms.js | 0 .../request_processors/series/split_by_terms.test.js | 0 .../vis_data/request_processors/table/apply_filters.ts | 0 .../request_processors/table/calculate_agg_root.ts | 0 .../vis_data/request_processors/table/date_histogram.ts | 0 .../vis_data/request_processors/table/filter_ratios.ts | 0 .../server/lib/vis_data/request_processors/table/index.ts | 0 .../vis_data/request_processors/table/metric_buckets.ts | 0 .../request_processors/table/normalize_query.test.ts | 0 .../vis_data/request_processors/table/normalize_query.ts | 0 .../server/lib/vis_data/request_processors/table/pivot.ts | 0 .../vis_data/request_processors/table/positive_rate.ts | 0 .../lib/vis_data/request_processors/table/query.test.ts | 0 .../server/lib/vis_data/request_processors/table/query.ts | 0 .../vis_data/request_processors/table/sibling_buckets.ts | 0 .../vis_data/request_processors/table/split_by_terms.ts | 0 .../server/lib/vis_data/request_processors/table/types.ts | 0 .../server/lib/vis_data/request_processors/types.ts | 0 .../vis_data/response_processors/annotations/buckets.ts | 0 .../response_processors/annotations/filter.test.ts | 0 .../vis_data/response_processors/annotations/filter.ts | 0 .../lib/vis_data/response_processors/annotations/index.ts | 0 .../vis_data/response_processors/series/_series_agg.js | 0 .../response_processors/series/_series_agg.test.js | 0 .../response_processors/series/drop_last_bucket.js | 0 .../vis_data/response_processors/series/format_label.ts | 0 .../lib/vis_data/response_processors/series/index.js | 0 .../lib/vis_data/response_processors/series/math.js | 0 .../lib/vis_data/response_processors/series/math.test.js | 0 .../lib/vis_data/response_processors/series/percentile.js | 0 .../response_processors/series/percentile.test.js | 0 .../response_processors/series/percentile_rank.js | 0 .../response_processors/series/percentile_rank.test.ts | 0 .../lib/vis_data/response_processors/series/series_agg.js | 0 .../response_processors/series/series_agg.test.js | 0 .../response_processors/series/std_deviation_bands.js | 0 .../series/std_deviation_bands.test.js | 0 .../response_processors/series/std_deviation_sibling.js | 0 .../series/std_deviation_sibling.test.js | 0 .../lib/vis_data/response_processors/series/std_metric.js | 0 .../response_processors/series/std_metric.test.js | 0 .../vis_data/response_processors/series/std_sibling.js | 0 .../response_processors/series/std_sibling.test.js | 0 .../lib/vis_data/response_processors/series/time_shift.js | 0 .../response_processors/series/time_shift.test.js | 0 .../lib/vis_data/response_processors/table/_series_agg.js | 0 .../response_processors/table/drop_last_bucket.ts | 0 .../lib/vis_data/response_processors/table/index.ts | 0 .../server/lib/vis_data/response_processors/table/math.ts | 0 .../lib/vis_data/response_processors/table/percentile.ts | 0 .../vis_data/response_processors/table/percentile_rank.ts | 0 .../lib/vis_data/response_processors/table/series_agg.ts | 0 .../lib/vis_data/response_processors/table/std_metric.ts | 0 .../lib/vis_data/response_processors/table/std_sibling.ts | 0 .../lib/vis_data/response_processors/table/types.ts | 0 .../server/lib/vis_data/series/build_request_body.test.ts | 0 .../server/lib/vis_data/series/build_request_body.ts | 0 .../server/lib/vis_data/series/get_request_params.ts | 0 .../server/lib/vis_data/series/handle_response_body.ts | 0 .../server/lib/vis_data/table/build_request_body.ts | 0 .../server/lib/vis_data/table/build_response_body.ts | 0 .../server/lib/vis_data/table/process_bucket.test.ts | 0 .../server/lib/vis_data/table/process_bucket.ts | 0 .../plugins/shared}/vis_types/timeseries/server/plugin.ts | 0 .../shared}/vis_types/timeseries/server/routes/fields.ts | 0 .../shared}/vis_types/timeseries/server/routes/vis.ts | 0 .../plugins/shared}/vis_types/timeseries/server/types.ts | 0 .../shared}/vis_types/timeseries/server/ui_settings.ts | 0 .../plugins/shared}/vis_types/timeseries/tsconfig.json | 4 ++-- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 543 files changed, 14 insertions(+), 14 deletions(-) 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%) rename src/{plugins => platform/plugins/shared}/vis_types/timeseries/jest.config.js (71%) 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 (100%) 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%) diff --git a/.eslintrc.js b/.eslintrc.js index 135e4ec8d0490..12066d61b9022 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1767,7 +1767,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 55653da5ffb83..9e47b4dee0377 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -649,6 +649,7 @@ src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/platform/plugins/shared/expressions @elastic/kibana-visualizations src/platform/plugins/shared/unified_search @elastic/kibana-visualizations +src/platform/plugins/shared/vis_types/timeseries @elastic/kibana-visualizations src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant src/plugins/bfetch @elastic/appex-sharedux @@ -710,7 +711,6 @@ src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_type_markdown @elastic/kibana-presentation -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 diff --git a/.i18nrc.json b/.i18nrc.json index 15a07f5cec80e..e6d451669dc04 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -140,7 +140,7 @@ "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/plugins/vis_types/timeseries", + "visTypeTimeseries": "src/platform/plugins/shared/vis_types/timeseries", "visTypeVega": "src/plugins/vis_types/vega", "visTypeVislib": "src/plugins/vis_types/vislib", "visTypeXy": "src/plugins/vis_types/xy", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 509125c98157e..ef43604895f71 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -419,7 +419,7 @@ The plugin exposes the static DefaultEditorController class to consume. |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. diff --git a/package.json b/package.json index e835444f005a2..fd28ce1f6bdc3 100644 --- a/package.json +++ b/package.json @@ -1014,7 +1014,7 @@ "@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/plugins/vis_types/timeseries", + "@kbn/vis-type-timeseries-plugin": "link:src/platform/plugins/shared/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", 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/plugins/vis_types/timeseries/jest.config.js b/src/platform/plugins/shared/vis_types/timeseries/jest.config.js similarity index 71% rename from src/plugins/vis_types/timeseries/jest.config.js rename to src/platform/plugins/shared/vis_types/timeseries/jest.config.js index a84334eaef869..3c266589e9a38 100644 --- a/src/plugins/vis_types/timeseries/jest.config.js +++ b/src/platform/plugins/shared/vis_types/timeseries/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/timeseries'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/timeseries', + 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/plugins/vis_types/timeseries/{common,public,server}/**/*.{js,ts,tsx}', + '/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 100% 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 diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/metric_select.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/metric_select.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/metric_select.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/metric_select.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/moving_average.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/moving_average.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/moving_average.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/moving_average.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/percentile.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/percentile.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_hdr.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_hdr.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_hdr.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_hdr.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_rank/index.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_rank/index.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_rank/index.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_rank/index.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_rank/multi_value_row.test.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_rank/multi_value_row.test.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_rank/multi_value_row.test.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_rank/multi_value_row.test.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_rank/multi_value_row.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_rank/multi_value_row.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_rank/multi_value_row.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_rank/multi_value_row.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_rank/percentile_rank.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_rank/percentile_rank.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_rank/percentile_rank.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_rank/percentile_rank.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_rank/percentile_rank_values.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_rank/percentile_rank_values.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_rank/percentile_rank_values.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_rank/percentile_rank_values.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_ui.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_ui.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_ui.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_ui.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_ui.test.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_ui.test.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/percentile_ui.test.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/percentile_ui.test.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/positive_only.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/positive_only.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/positive_only.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/positive_only.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/positive_rate.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/positive_rate.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/positive_rate.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/positive_rate.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/serial_diff.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/serial_diff.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/serial_diff.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/serial_diff.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/series_agg.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/series_agg.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/series_agg.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/series_agg.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/static.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/static.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/static.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/static.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/std_agg.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/std_agg.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/std_agg.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/std_agg.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/std_deviation.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/std_deviation.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/std_deviation.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/std_deviation.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/std_sibling.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/std_sibling.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/std_sibling.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/std_sibling.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/top_hit.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/top_hit.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/top_hit.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/top_hit.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/aggs/vars.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/vars.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/aggs/vars.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/aggs/vars.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/annotation_row.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/annotation_row.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/annotation_row.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/annotation_row.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/annotations_editor.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/annotations_editor.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/annotations_editor.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/annotations_editor.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/color_picker.test.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/color_picker.test.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/color_picker.test.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/color_picker.test.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/color_picker.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/color_picker.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/color_picker.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/color_picker.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/color_rules.test.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/color_rules.test.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/color_rules.test.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/color_rules.test.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/color_rules.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/color_rules.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/color_rules.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/color_rules.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/data_format_picker.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/data_format_picker.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/data_format_picker.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/data_format_picker.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/error.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/error.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/error.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/error.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/icon_select/__snapshots__/icon_select.test.js.snap b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/icon_select/__snapshots__/icon_select.test.js.snap similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/icon_select/__snapshots__/icon_select.test.js.snap rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/icon_select/__snapshots__/icon_select.test.js.snap diff --git a/src/plugins/vis_types/timeseries/public/application/components/icon_select/icon_select.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/icon_select/icon_select.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/icon_select/icon_select.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/icon_select/icon_select.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/icon_select/icon_select.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/icon_select/icon_select.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/icon_select/icon_select.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/icon_select/icon_select.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/index_pattern.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/index_pattern.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/index_pattern.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/index_pattern.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/last_value_mode_indicator.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/last_value_mode_indicator.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/last_value_mode_indicator.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/last_value_mode_indicator.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/last_value_mode_popover.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/last_value_mode_popover.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/last_value_mode_popover.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/last_value_mode_popover.scss diff --git a/src/plugins/vis_types/timeseries/public/application/components/last_value_mode_popover.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/last_value_mode_popover.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/last_value_mode_popover.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/last_value_mode_popover.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/agg_to_component.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/agg_to_component.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/agg_to_component.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/agg_to_component.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/calculate_siblings.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/calculate_siblings.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/calculate_siblings.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/calculate_siblings.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/calculate_siblings.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/calculate_siblings.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/calculate_siblings.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/calculate_siblings.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/check_if_numeric_metric.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/check_if_numeric_metric.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/check_if_numeric_metric.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/check_if_numeric_metric.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/check_if_numeric_metric.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/check_if_numeric_metric.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/check_if_numeric_metric.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/check_if_numeric_metric.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/check_if_series_have_same_formatters.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/check_if_series_have_same_formatters.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/check_if_series_have_same_formatters.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/check_if_series_have_same_formatters.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/check_if_series_have_same_formatters.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/check_if_series_have_same_formatters.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/check_if_series_have_same_formatters.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/check_if_series_have_same_formatters.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/collection_actions.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/collection_actions.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/collection_actions.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/collection_actions.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/collection_actions.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/collection_actions.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/collection_actions.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/collection_actions.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_vars.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/convert_series_to_vars.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_vars.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/convert_series_to_vars.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_vars.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/convert_series_to_vars.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_vars.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/convert_series_to_vars.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/create_change_handler.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_change_handler.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/create_change_handler.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_change_handler.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/create_field_formatter.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_field_formatter.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/create_field_formatter.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_field_formatter.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/create_field_formatter.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_field_formatter.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/create_field_formatter.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_field_formatter.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/create_interval_based_formatter.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_interval_based_formatter.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/create_interval_based_formatter.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_interval_based_formatter.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/create_number_handler.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_number_handler.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/create_number_handler.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_number_handler.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/create_number_handler.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_number_handler.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/create_number_handler.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_number_handler.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/create_select_handler.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_select_handler.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/create_select_handler.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_select_handler.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/create_select_handler.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_select_handler.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/create_select_handler.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_select_handler.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/create_text_handler.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_text_handler.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/create_text_handler.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_text_handler.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/create_text_handler.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_text_handler.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/create_text_handler.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/create_text_handler.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/durations.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/durations.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/durations.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/durations.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/durations.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/durations.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/durations.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/durations.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/external_url_error_modal.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/external_url_error_modal.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/external_url_error_modal.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/external_url_error_modal.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/get_axis_label_string.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_axis_label_string.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/get_axis_label_string.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_axis_label_string.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/get_axis_label_string.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_axis_label_string.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/get_axis_label_string.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_axis_label_string.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/get_click_filter_data.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_click_filter_data.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/get_click_filter_data.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_click_filter_data.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/get_click_filter_data.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_click_filter_data.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/get_click_filter_data.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_click_filter_data.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/get_default_query_language.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_default_query_language.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/get_default_query_language.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_default_query_language.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/get_display_name.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_display_name.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/get_display_name.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_display_name.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/get_formatter_type.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_formatter_type.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/get_formatter_type.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_formatter_type.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/get_formatter_type.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_formatter_type.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/get_formatter_type.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_formatter_type.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/get_interval.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_interval.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/get_interval.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_interval.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/get_metrics_field.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_metrics_field.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/get_metrics_field.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_metrics_field.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/get_metrics_field.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_metrics_field.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/get_metrics_field.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_metrics_field.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/get_supported_fields_by_metric_type.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_supported_fields_by_metric_type.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/get_supported_fields_by_metric_type.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_supported_fields_by_metric_type.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/get_supported_fields_by_metric_type.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_supported_fields_by_metric_type.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/get_supported_fields_by_metric_type.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/get_supported_fields_by_metric_type.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/field_text_select.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/index_pattern_select/field_text_select.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/field_text_select.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/index_pattern_select/field_text_select.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/index_pattern_select/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/index_pattern_select/index.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/switch_mode_popover.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/index_pattern_select/switch_mode_popover.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/switch_mode_popover.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/index_pattern_select/switch_mode_popover.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/new_metric_agg_fn.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/new_metric_agg_fn.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/new_metric_agg_fn.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/new_metric_agg_fn.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/new_series_fn.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/new_series_fn.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/new_series_fn.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/new_series_fn.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/re_id_series.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/re_id_series.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/re_id_series.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/re_id_series.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/re_id_series.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/re_id_series.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/re_id_series.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/re_id_series.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/reorder.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/reorder.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/reorder.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/reorder.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/replace_vars.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/replace_vars.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/replace_vars.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/replace_vars.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/replace_vars.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/replace_vars.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/replace_vars.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/replace_vars.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/series_change_handler.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/series_change_handler.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/series_change_handler.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/series_change_handler.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/stacked.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/stacked.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/stacked.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/stacked.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/tick_formatter.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/tick_formatter.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/tick_formatter.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/tick_formatter.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/tick_formatter.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/tick_formatter.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/tick_formatter.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/tick_formatter.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/types.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/types.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/lib/types.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/lib/types.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/markdown_editor.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/markdown_editor.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/markdown_editor.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/markdown_editor.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/palette_picker.test.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/palette_picker.test.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/palette_picker.test.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/palette_picker.test.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/palette_picker.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/palette_picker.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/palette_picker.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/palette_picker.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/panel_config/_panel_config.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/_panel_config.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/panel_config/_panel_config.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/_panel_config.scss diff --git a/src/plugins/vis_types/timeseries/public/application/components/panel_config/gauge.test.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/gauge.test.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/panel_config/gauge.test.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/gauge.test.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/panel_config/gauge.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/gauge.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/panel_config/gauge.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/gauge.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/panel_config/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/panel_config/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/index.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/panel_config/markdown.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/markdown.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/panel_config/markdown.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/markdown.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/panel_config/metric.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/metric.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/panel_config/metric.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/metric.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/panel_config/panel_config.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/panel_config.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/panel_config/panel_config.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/panel_config.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/panel_config/table.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/table.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/panel_config/table.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/table.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/panel_config/timeseries.test.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/timeseries.test.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/panel_config/timeseries.test.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/timeseries.test.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/panel_config/timeseries.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/timeseries.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/panel_config/timeseries.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/timeseries.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/panel_config/top_n.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/top_n.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/panel_config/top_n.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/top_n.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/panel_config/types.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/types.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/panel_config/types.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/panel_config/types.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/query_bar_wrapper.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/query_bar_wrapper.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/query_bar_wrapper.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/query_bar_wrapper.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/render_counter.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/render_counter.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/render_counter.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/render_counter.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/series.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/series.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/series.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/series.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/series_config.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/series_config.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/series_config.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/series_config.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/series_config_query_bar_with_ignore_global_filter.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/series_config_query_bar_with_ignore_global_filter.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/series_config_query_bar_with_ignore_global_filter.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/series_config_query_bar_with_ignore_global_filter.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/series_drag_handler.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/series_drag_handler.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/series_drag_handler.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/series_drag_handler.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/series_editor.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/series_editor.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/series_editor.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/series_editor.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/split.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/split.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/split.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/split.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/splits/__snapshots__/terms.test.js.snap b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/__snapshots__/terms.test.js.snap similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/splits/__snapshots__/terms.test.js.snap rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/__snapshots__/terms.test.js.snap diff --git a/src/plugins/vis_types/timeseries/public/application/components/splits/everything.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/everything.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/splits/everything.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/everything.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/splits/filter.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/filter.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/splits/filter.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/filter.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/splits/filter_items.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/filter_items.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/splits/filter_items.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/filter_items.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/splits/filters.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/filters.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/splits/filters.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/filters.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/splits/group_by_select.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/group_by_select.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/splits/group_by_select.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/group_by_select.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/splits/terms.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/terms.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/splits/terms.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/terms.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/splits/terms.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/terms.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/splits/terms.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/terms.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/splits/unsupported_split.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/unsupported_split.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/splits/unsupported_split.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/splits/unsupported_split.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/svg/bomb_icon.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/svg/bomb_icon.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/svg/bomb_icon.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/svg/bomb_icon.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/svg/fire_icon.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/svg/fire_icon.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/svg/fire_icon.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/svg/fire_icon.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/timeseries_loading.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/timeseries_loading.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/timeseries_loading.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/timeseries_loading.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/timeseries_visualization.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/timeseries_visualization.scss diff --git a/src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/timeseries_visualization.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/timeseries_visualization.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/use_index_patter_mode_callout.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/use_index_patter_mode_callout.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/use_index_patter_mode_callout.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/use_index_patter_mode_callout.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_editor.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_editor.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_editor.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_editor.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_editor_lazy.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_editor_lazy.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_editor_lazy.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_editor_lazy.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_editor_visualization.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_editor_visualization.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_editor_visualization.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_editor_visualization.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_picker.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_picker.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_picker.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_picker.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/_vis_types.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/_vis_types.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/_vis_types.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/_vis_types.scss diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/gauge/series.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/gauge/series.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/gauge/series.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/gauge/series.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/gauge/series.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/gauge/series.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/gauge/series.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/gauge/series.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/gauge/vis.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/gauge/vis.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/gauge/vis.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/gauge/vis.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/index.ts diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/markdown/_markdown.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/markdown/_markdown.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/markdown/_markdown.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/markdown/_markdown.scss diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/markdown/series.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/markdown/series.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/markdown/series.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/markdown/series.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/markdown/vis.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/markdown/vis.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/markdown/vis.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/markdown/vis.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/metric/series.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/metric/series.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/metric/series.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/metric/series.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/metric/series.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/metric/series.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/metric/series.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/metric/series.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/metric/vis.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/metric/vis.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/metric/vis.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/metric/vis.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/table/config.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/table/config.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/table/config.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/table/config.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/table/is_sortable.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/table/is_sortable.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/table/is_sortable.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/table/is_sortable.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/table/series.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/table/series.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/table/series.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/table/series.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/table/vis.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/table/vis.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/table/vis.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/table/vis.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/timeseries/config.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/timeseries/config.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/timeseries/config.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/timeseries/config.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/timeseries/series.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/timeseries/series.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/timeseries/series.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/timeseries/series.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/timeseries/vis.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/timeseries/vis.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/timeseries/vis.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/timeseries/vis.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/timeseries/vis.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/timeseries/vis.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/timeseries/vis.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/timeseries/vis.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/top_n/series.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/top_n/series.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/top_n/series.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/top_n/series.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_types/top_n/vis.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/top_n/vis.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_types/top_n/vis.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_types/top_n/vis.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_with_splits.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_with_splits.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/vis_with_splits.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/vis_with_splits.js diff --git a/src/plugins/vis_types/timeseries/public/application/components/yes_no.test.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/yes_no.test.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/yes_no.test.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/yes_no.test.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/components/yes_no.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/components/yes_no.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/components/yes_no.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/components/yes_no.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/contexts/form_validation_context.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/contexts/form_validation_context.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/contexts/form_validation_context.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/contexts/form_validation_context.ts diff --git a/src/plugins/vis_types/timeseries/public/application/contexts/panel_model_context.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/contexts/panel_model_context.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/contexts/panel_model_context.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/contexts/panel_model_context.ts diff --git a/src/plugins/vis_types/timeseries/public/application/contexts/query_input_bar_context.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/contexts/query_input_bar_context.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/contexts/query_input_bar_context.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/contexts/query_input_bar_context.ts diff --git a/src/plugins/vis_types/timeseries/public/application/contexts/vis_data_context.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/contexts/vis_data_context.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/contexts/vis_data_context.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/contexts/vis_data_context.ts diff --git a/src/plugins/vis_types/timeseries/public/application/editor_controller.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/application/editor_controller.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/editor_controller.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/application/editor_controller.tsx diff --git a/src/plugins/vis_types/timeseries/public/application/lib/compute_gradient_final_color.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/lib/compute_gradient_final_color.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/lib/compute_gradient_final_color.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/lib/compute_gradient_final_color.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/lib/compute_gradient_final_color.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/lib/compute_gradient_final_color.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/lib/compute_gradient_final_color.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/lib/compute_gradient_final_color.ts diff --git a/src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/lib/fetch_fields.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/lib/fetch_fields.ts diff --git a/src/plugins/vis_types/timeseries/public/application/lib/get_split_by_terms_color.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/lib/get_split_by_terms_color.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/lib/get_split_by_terms_color.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/lib/get_split_by_terms_color.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/lib/get_split_by_terms_color.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/lib/get_split_by_terms_color.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/lib/get_split_by_terms_color.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/lib/get_split_by_terms_color.ts diff --git a/src/plugins/vis_types/timeseries/public/application/lib/rainbow_colors.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/lib/rainbow_colors.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/lib/rainbow_colors.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/lib/rainbow_colors.ts diff --git a/src/plugins/vis_types/timeseries/public/application/lib/set_is_reversed.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/lib/set_is_reversed.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/lib/set_is_reversed.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/lib/set_is_reversed.js diff --git a/src/plugins/vis_types/timeseries/public/application/styles/common.styles.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/styles/common.styles.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/styles/common.styles.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/styles/common.styles.ts diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/constants/chart.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/constants/chart.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/constants/chart.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/constants/chart.ts diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/constants/icons.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/constants/icons.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/constants/icons.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/constants/icons.ts diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/constants/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/constants/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/constants/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/constants/index.ts diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/lib/calc_dimensions.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/lib/calc_dimensions.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/lib/calc_dimensions.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/lib/calc_dimensions.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/lib/calculate_coordinates.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/lib/calculate_coordinates.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/lib/calculate_coordinates.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/lib/calculate_coordinates.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/lib/get_value_by.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/lib/get_value_by.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/lib/get_value_by.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/lib/get_value_by.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/_annotation.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/_annotation.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/_annotation.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/_annotation.scss diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/_gauge.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/_gauge.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/_gauge.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/_gauge.scss diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/_metric.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/_metric.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/_metric.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/_metric.scss diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/_top_n.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/_top_n.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/_top_n.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/_top_n.scss diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/_variables.scss b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/_variables.scss similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/_variables.scss rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/_variables.scss diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/annotation.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/annotation.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/annotation.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/annotation.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/gauge.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/gauge.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/gauge.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/gauge.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/gauge_vis.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/gauge_vis.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/gauge_vis.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/gauge_vis.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/metric.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/metric.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/metric.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/metric.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/area_decorator.test.js.snap b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/area_decorator.test.js.snap similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/area_decorator.test.js.snap rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/area_decorator.test.js.snap diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/bar_decorator.test.js.snap b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/bar_decorator.test.js.snap similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/bar_decorator.test.js.snap rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/__snapshots__/bar_decorator.test.js.snap diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/area_decorator.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/decorators/bar_decorator.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/index.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/index.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/index.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/index.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/model/__snapshots__/charts.test.js.snap b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/model/__snapshots__/charts.test.js.snap similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/model/__snapshots__/charts.test.js.snap rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/model/__snapshots__/charts.test.js.snap diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/model/charts.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/model/charts.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/model/charts.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/model/charts.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/model/charts.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/model/charts.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/model/charts.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/model/charts.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/__snapshots__/series_styles.test.js.snap b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/__snapshots__/series_styles.test.js.snap similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/__snapshots__/series_styles.test.js.snap rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/__snapshots__/series_styles.test.js.snap diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_domain_calculation.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_domain_calculation.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_domain_calculation.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_domain_calculation.ts diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_domain_calculations.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_domain_calculations.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_domain_calculations.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_domain_calculations.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_styles.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_styles.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_styles.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_styles.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_styles.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_styles.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_styles.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/series_styles.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/stack_format.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/stack_format.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/stack_format.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/stack_format.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/stack_format.test.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/stack_format.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/stack_format.test.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/stack_format.test.js diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/theme.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/theme.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/theme.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/theme.test.ts diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/theme.ts b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/theme.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/theme.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/timeseries/utils/theme.ts diff --git a/src/plugins/vis_types/timeseries/public/application/visualizations/views/top_n.js b/src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/top_n.js similarity index 100% rename from src/plugins/vis_types/timeseries/public/application/visualizations/views/top_n.js rename to src/platform/plugins/shared/vis_types/timeseries/public/application/visualizations/views/top_n.js diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/gauge/index.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/gauge/index.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/gauge/index.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/gauge/index.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/gauge/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/gauge/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/gauge/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/gauge/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/index.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/index.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/index.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/index.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/__mocks__/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/__mocks__/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/__mocks__/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/__mocks__/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/metric/index.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/metric/index.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/metric/index.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/metric/index.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/metric/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/metric/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/metric/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/metric/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/palette/index.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/palette/index.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/palette/index.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/palette/index.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/palette/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/palette/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/palette/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/palette/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/table/index.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/table/index.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/table/index.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/table/index.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/table/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/table/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/table/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/table/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/chart_type.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/chart_type.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/chart_type.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/chart_type.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/configuration.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/configuration.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/configuration.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/configuration.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/configuration.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/configuration.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/configuration.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/configuration.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/extents.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/extents.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/extents.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/extents.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/extents.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/extents.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/extents.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/extents.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/layers.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/layers.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/layers.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/layers.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/layers.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/layers.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/layers.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/layers.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/column.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/column.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/column.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/column.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/column.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/column.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/column.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/column.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/counter_rate.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/counter_rate.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/counter_rate.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/counter_rate.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/counter_rate.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/counter_rate.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/counter_rate.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/counter_rate.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/cumulative_sum.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/cumulative_sum.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/cumulative_sum.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/cumulative_sum.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/cumulative_sum.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/cumulative_sum.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/cumulative_sum.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/cumulative_sum.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/date_histogram.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/date_histogram.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/date_histogram.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/date_histogram.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/date_histogram.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/date_histogram.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/date_histogram.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/date_histogram.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/filter_ratio.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/filter_ratio.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/filter_ratio.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/filter_ratio.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/filter_ratio.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/filter_ratio.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/filter_ratio.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/filter_ratio.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/filters.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/filters.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/filters.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/filters.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/filters.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/filters.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/filters.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/filters.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/formula.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/formula.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/formula.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/formula.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/formula.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/formula.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/formula.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/formula.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/last_value.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/last_value.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/last_value.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/last_value.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/last_value.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/last_value.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/last_value.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/last_value.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/moving_average.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/moving_average.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/moving_average.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/moving_average.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/moving_average.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/moving_average.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/moving_average.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/moving_average.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/parent_pipeline.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/parent_pipeline.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/parent_pipeline.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/parent_pipeline.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/parent_pipeline.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/parent_pipeline.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/parent_pipeline.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/parent_pipeline.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile_rank.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile_rank.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile_rank.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile_rank.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile_rank.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile_rank.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile_rank.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/percentile_rank.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/static_value.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/static_value.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/static_value.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/static_value.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/static_value.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/static_value.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/static_value.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/static_value.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/std_deviation.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/std_deviation.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/std_deviation.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/std_deviation.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/std_deviation.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/std_deviation.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/std_deviation.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/std_deviation.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/terms.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/terms.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/terms.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/terms.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/terms.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/terms.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/terms.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/terms.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/types.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/types.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/types.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/types.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/variance.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/variance.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/variance.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/variance.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/variance.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/variance.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/convert/variance.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/convert/variance.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/datasource/datasource_info.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/datasource/datasource_info.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/datasource/datasource_info.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/datasource/datasource_info.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/datasource/datasource_info.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/datasource/datasource_info.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/datasource/datasource_info.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/datasource/datasource_info.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/datasource/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/datasource/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/datasource/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/datasource/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/counter_rate_formula.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/counter_rate_formula.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/counter_rate_formula.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/counter_rate_formula.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/counter_rate_formula.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/counter_rate_formula.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/counter_rate_formula.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/counter_rate_formula.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/filter_ratio_formula.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/filter_ratio_formula.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/filter_ratio_formula.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/filter_ratio_formula.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/filter_ratio_formula.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/filter_ratio_formula.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/filter_ratio_formula.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/filter_ratio_formula.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/metrics_helpers.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/metrics_helpers.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/metrics_helpers.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/metrics_helpers.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/metrics_helpers.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/metrics_helpers.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/metrics_helpers.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/metrics_helpers.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/pipeline_formula.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/pipeline_formula.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/pipeline_formula.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/pipeline_formula.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/pipeline_formula.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/pipeline_formula.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/pipeline_formula.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/pipeline_formula.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/supported_metrics.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/supported_metrics.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/supported_metrics.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/supported_metrics.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/validate_metrics.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/validate_metrics.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/validate_metrics.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/validate_metrics.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/validate_metrics.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/validate_metrics.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/metrics/validate_metrics.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/metrics/validate_metrics.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/buckets_columns.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/buckets_columns.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/buckets_columns.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/buckets_columns.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/buckets_columns.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/buckets_columns.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/buckets_columns.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/buckets_columns.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/columns.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/columns.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/columns.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/columns.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/columns.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/columns.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/columns.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/columns.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/metrics_columns.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/metrics_columns.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/metrics_columns.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/metrics_columns.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/metrics_columns.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/metrics_columns.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/metrics_columns.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/metrics_columns.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/series_agg.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/series_agg.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/lib/series/series_agg.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/lib/series/series_agg.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/metric/index.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/metric/index.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/metric/index.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/metric/index.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/metric/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/metric/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/metric/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/metric/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/table/index.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/table/index.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/table/index.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/table/index.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/table/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/table/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/table/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/table/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/timeseries/index.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/timeseries/index.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/timeseries/index.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/timeseries/index.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/timeseries/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/timeseries/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/timeseries/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/timeseries/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/top_n/index.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/top_n/index.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/top_n/index.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/top_n/index.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/top_n/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/top_n/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/top_n/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/top_n/index.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/types.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/types.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/types.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/types.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/utils.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/utils.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/utils.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/utils.test.ts diff --git a/src/plugins/vis_types/timeseries/public/convert_to_lens/utils.ts b/src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/utils.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/convert_to_lens/utils.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/convert_to_lens/utils.ts diff --git a/src/plugins/vis_types/timeseries/public/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/index.ts diff --git a/src/plugins/vis_types/timeseries/public/metrics_fn.ts b/src/platform/plugins/shared/vis_types/timeseries/public/metrics_fn.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/metrics_fn.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/metrics_fn.ts diff --git a/src/plugins/vis_types/timeseries/public/metrics_type.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/metrics_type.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/metrics_type.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/metrics_type.test.ts diff --git a/src/plugins/vis_types/timeseries/public/metrics_type.ts b/src/platform/plugins/shared/vis_types/timeseries/public/metrics_type.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/metrics_type.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/metrics_type.ts diff --git a/src/plugins/vis_types/timeseries/public/plugin.ts b/src/platform/plugins/shared/vis_types/timeseries/public/plugin.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/plugin.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/plugin.ts diff --git a/src/plugins/vis_types/timeseries/public/request_handler.ts b/src/platform/plugins/shared/vis_types/timeseries/public/request_handler.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/request_handler.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/request_handler.ts diff --git a/src/plugins/vis_types/timeseries/public/services.ts b/src/platform/plugins/shared/vis_types/timeseries/public/services.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/services.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/services.ts diff --git a/src/plugins/vis_types/timeseries/public/test_utils/index.ts b/src/platform/plugins/shared/vis_types/timeseries/public/test_utils/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/test_utils/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/test_utils/index.ts diff --git a/src/plugins/vis_types/timeseries/public/timeseries_vis_renderer.tsx b/src/platform/plugins/shared/vis_types/timeseries/public/timeseries_vis_renderer.tsx similarity index 100% rename from src/plugins/vis_types/timeseries/public/timeseries_vis_renderer.tsx rename to src/platform/plugins/shared/vis_types/timeseries/public/timeseries_vis_renderer.tsx diff --git a/src/plugins/vis_types/timeseries/public/to_ast.ts b/src/platform/plugins/shared/vis_types/timeseries/public/to_ast.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/to_ast.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/to_ast.ts diff --git a/src/plugins/vis_types/timeseries/public/types.ts b/src/platform/plugins/shared/vis_types/timeseries/public/types.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/types.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/types.ts diff --git a/src/plugins/vis_types/timeseries/public/vis_state.test.ts b/src/platform/plugins/shared/vis_types/timeseries/public/vis_state.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/public/vis_state.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/public/vis_state.test.ts diff --git a/src/plugins/vis_types/timeseries/server/config.ts b/src/platform/plugins/shared/vis_types/timeseries/server/config.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/config.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/config.ts diff --git a/src/plugins/vis_types/timeseries/server/index.ts b/src/platform/plugins/shared/vis_types/timeseries/server/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/index.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/get_fields.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/get_fields.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/get_fields.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/get_fields.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/get_vis_data.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/get_vis_data.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/get_vis_data.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/get_vis_data.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/capabilities/default_search_capabilities.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/capabilities/default_search_capabilities.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/capabilities/default_search_capabilities.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/capabilities/default_search_capabilities.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/capabilities/default_search_capabilities.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/capabilities/default_search_capabilities.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/capabilities/default_search_capabilities.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/capabilities/default_search_capabilities.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/capabilities/rollup_search_capabilities.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/capabilities/rollup_search_capabilities.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/capabilities/rollup_search_capabilities.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/capabilities/rollup_search_capabilities.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/capabilities/rollup_search_capabilities.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/capabilities/rollup_search_capabilities.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/capabilities/rollup_search_capabilities.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/capabilities/rollup_search_capabilities.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/index.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/index.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/interval_helper.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/lib/interval_helper.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/interval_helper.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/lib/interval_helper.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/interval_helper.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/lib/interval_helper.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/interval_helper.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/lib/interval_helper.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/search_strategies_registry.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/search_strategies_registry.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/search_strategies_registry.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/search_strategies_registry.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/search_strategy_registry.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/search_strategy_registry.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/search_strategy_registry.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/search_strategy_registry.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/index.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/strategies/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/strategies/index.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/annotations/build_request_body.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/annotations/build_request_body.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/annotations/build_request_body.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/annotations/build_request_body.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/annotations/get_request_params.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/annotations/get_request_params.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/annotations/get_request_params.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/annotations/get_request_params.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/build_processor_function.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/build_processor_function.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/build_processor_function.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/build_processor_function.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/build_processor_function.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/build_processor_function.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/build_processor_function.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/build_processor_function.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/get_annotations.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/get_annotations.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/get_annotations.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/get_annotations.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/get_interval.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/get_interval.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/get_interval.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/get_interval.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/get_interval.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/get_interval.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/get_interval.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/get_interval.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/get_series_data.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/get_series_data.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/get_series_data.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/get_series_data.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/get_table_data.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/get_table_data.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/get_table_data.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/get_table_data.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/handle_error_response.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/handle_error_response.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/handle_error_response.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/handle_error_response.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/handle_error_response.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/handle_error_response.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/handle_error_response.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/handle_error_response.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/__snapshots__/bucket_transform.test.js.snap b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/__snapshots__/bucket_transform.test.js.snap similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/__snapshots__/bucket_transform.test.js.snap rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/__snapshots__/bucket_transform.test.js.snap diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/bucket_transform.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/bucket_transform.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/bucket_transform.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/bucket_transform.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/bucket_transform.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/bucket_transform.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/bucket_transform.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/bucket_transform.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/check_aggs.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/check_aggs.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/check_aggs.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/check_aggs.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/format_key.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/format_key.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/format_key.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/format_key.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_active_series.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_active_series.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_active_series.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_active_series.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_agg_value.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_agg_value.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_agg_value.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_agg_value.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_agg_value.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_agg_value.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_agg_value.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_agg_value.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_bucket_size.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_bucket_size.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_bucket_size.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_bucket_size.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_bucket_size.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_bucket_size.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_bucket_size.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_bucket_size.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_buckets_path.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_buckets_path.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_buckets_path.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_buckets_path.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_buckets_path.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_buckets_path.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_buckets_path.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_buckets_path.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_default_decoration.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_default_decoration.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_default_decoration.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_default_decoration.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_default_decoration.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_default_decoration.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_default_decoration.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_default_decoration.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_es_query_uisettings.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_es_query_uisettings.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_es_query_uisettings.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_es_query_uisettings.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_last_metric.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_last_metric.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_last_metric.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_last_metric.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_last_metric.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_last_metric.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_last_metric.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_last_metric.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_sibling_agg_value.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_sibling_agg_value.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_sibling_agg_value.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_sibling_agg_value.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_sibling_agg_value.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_sibling_agg_value.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_sibling_agg_value.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_sibling_agg_value.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_splits.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_splits.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_splits.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_splits.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_splits.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_splits.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_splits.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_splits.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange_mode.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange_mode.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange_mode.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/get_timerange_mode.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/index.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/index.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/map_empty_to_zero.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/map_empty_to_zero.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/map_empty_to_zero.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/map_empty_to_zero.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/map_empty_to_zero.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/map_empty_to_zero.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/map_empty_to_zero.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/map_empty_to_zero.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/moving_fn_scripts.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/moving_fn_scripts.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/moving_fn_scripts.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/moving_fn_scripts.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/moving_fn_scripts.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/moving_fn_scripts.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/moving_fn_scripts.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/moving_fn_scripts.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/overwrite.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/overwrite.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/overwrite.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/overwrite.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/parse_interval.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/parse_interval.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/parse_interval.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/parse_interval.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/timestamp.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/timestamp.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/timestamp.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/timestamp.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/timestamp.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/timestamp.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/timestamp.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/timestamp.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/unit_to_seconds.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/unit_to_seconds.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/unit_to_seconds.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/unit_to_seconds.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/unit_to_seconds.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/unit_to_seconds.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/helpers/unit_to_seconds.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/helpers/unit_to_seconds.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/offset_time.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/offset_time.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/offset_time.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/offset_time.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/offset_time.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/offset_time.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/offset_time.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/offset_time.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/date_histogram.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/date_histogram.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/date_histogram.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/date_histogram.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/index.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/index.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/query.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/query.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/query.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/query.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/query.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/query.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/query.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/query.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/top_hits.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/top_hits.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/top_hits.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/top_hits.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/types.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/types.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/types.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/annotations/types.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/date_histogram.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/date_histogram.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/date_histogram.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/date_histogram.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/date_histogram.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/date_histogram.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/date_histogram.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/date_histogram.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/filter_ratios.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/filter_ratios.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/filter_ratios.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/filter_ratios.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/filter_ratios.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/filter_ratios.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/filter_ratios.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/filter_ratios.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/index.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/index.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/index.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/index.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/metric_buckets.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/metric_buckets.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/metric_buckets.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/metric_buckets.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/metric_buckets.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/metric_buckets.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/metric_buckets.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/metric_buckets.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/normalize_query.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/normalize_query.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/normalize_query.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/normalize_query.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/normalize_query.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/normalize_query.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/normalize_query.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/normalize_query.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/positive_rate.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/positive_rate.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/positive_rate.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/positive_rate.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/positive_rate.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/positive_rate.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/positive_rate.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/positive_rate.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/query.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/query.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/query.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/query.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/query.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/query.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/query.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/query.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/sibling_buckets.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/sibling_buckets.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/sibling_buckets.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/sibling_buckets.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/sibling_buckets.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/sibling_buckets.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/sibling_buckets.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/sibling_buckets.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_everything.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_everything.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_everything.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_everything.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_everything.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_everything.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_everything.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_everything.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filter.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filter.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filter.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filter.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filter.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filter.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filter.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filter.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filters.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filters.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filters.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filters.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filters.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filters.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filters.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_filters.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_terms.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_terms.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_terms.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_terms.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_terms.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_terms.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_terms.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/series/split_by_terms.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/apply_filters.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/apply_filters.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/apply_filters.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/apply_filters.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/calculate_agg_root.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/calculate_agg_root.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/calculate_agg_root.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/calculate_agg_root.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/date_histogram.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/date_histogram.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/date_histogram.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/date_histogram.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/filter_ratios.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/filter_ratios.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/filter_ratios.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/filter_ratios.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/index.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/index.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/metric_buckets.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/metric_buckets.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/metric_buckets.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/metric_buckets.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/normalize_query.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/normalize_query.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/normalize_query.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/normalize_query.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/normalize_query.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/normalize_query.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/normalize_query.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/normalize_query.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/pivot.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/pivot.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/pivot.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/pivot.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/positive_rate.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/positive_rate.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/positive_rate.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/positive_rate.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/query.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/query.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/query.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/query.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/query.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/query.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/query.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/query.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/sibling_buckets.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/sibling_buckets.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/sibling_buckets.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/sibling_buckets.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/split_by_terms.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/split_by_terms.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/split_by_terms.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/split_by_terms.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/types.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/types.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/types.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/request_processors/types.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/buckets.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/buckets.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/buckets.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/buckets.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/filter.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/filter.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/filter.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/filter.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/filter.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/filter.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/filter.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/filter.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/index.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/annotations/index.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/_series_agg.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/_series_agg.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/_series_agg.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/_series_agg.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/_series_agg.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/_series_agg.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/_series_agg.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/_series_agg.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/drop_last_bucket.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/drop_last_bucket.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/drop_last_bucket.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/drop_last_bucket.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/format_label.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/format_label.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/format_label.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/format_label.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/index.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/index.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/index.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/index.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/math.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/math.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/math.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/math.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/math.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/math.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/math.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/math.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile_rank.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile_rank.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile_rank.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile_rank.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile_rank.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile_rank.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile_rank.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/percentile_rank.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/series_agg.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/series_agg.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/series_agg.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/series_agg.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/series_agg.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/series_agg.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/series_agg.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/series_agg.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_bands.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_bands.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_bands.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_bands.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_bands.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_bands.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_bands.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_bands.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_sibling.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_sibling.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_sibling.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_sibling.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_sibling.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_sibling.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_sibling.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_deviation_sibling.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_metric.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_metric.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_metric.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_metric.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_metric.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_metric.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_metric.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_metric.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_sibling.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_sibling.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_sibling.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_sibling.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_sibling.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_sibling.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_sibling.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/std_sibling.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/time_shift.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/time_shift.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/time_shift.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/time_shift.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/time_shift.test.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/time_shift.test.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/series/time_shift.test.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/series/time_shift.test.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/_series_agg.js b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/_series_agg.js similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/_series_agg.js rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/_series_agg.js diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/drop_last_bucket.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/drop_last_bucket.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/drop_last_bucket.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/drop_last_bucket.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/index.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/index.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/index.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/index.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/math.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/math.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/math.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/math.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/percentile.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/percentile.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/percentile.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/percentile.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/percentile_rank.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/percentile_rank.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/percentile_rank.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/percentile_rank.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/series_agg.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/series_agg.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/series_agg.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/series_agg.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/std_metric.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/std_metric.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/std_metric.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/std_metric.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/std_sibling.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/std_sibling.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/std_sibling.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/std_sibling.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/types.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/types.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/response_processors/table/types.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/response_processors/table/types.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/series/build_request_body.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/series/build_request_body.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/series/build_request_body.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/series/build_request_body.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/series/build_request_body.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/series/build_request_body.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/series/build_request_body.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/series/build_request_body.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/series/get_request_params.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/series/get_request_params.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/series/get_request_params.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/series/get_request_params.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/series/handle_response_body.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/series/handle_response_body.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/series/handle_response_body.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/series/handle_response_body.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/table/build_request_body.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/table/build_request_body.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/table/build_request_body.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/table/build_request_body.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/table/build_response_body.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/table/build_response_body.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/table/build_response_body.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/table/build_response_body.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/table/process_bucket.test.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/table/process_bucket.test.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/table/process_bucket.test.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/table/process_bucket.test.ts diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/table/process_bucket.ts b/src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/table/process_bucket.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/lib/vis_data/table/process_bucket.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/lib/vis_data/table/process_bucket.ts diff --git a/src/plugins/vis_types/timeseries/server/plugin.ts b/src/platform/plugins/shared/vis_types/timeseries/server/plugin.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/plugin.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/plugin.ts diff --git a/src/plugins/vis_types/timeseries/server/routes/fields.ts b/src/platform/plugins/shared/vis_types/timeseries/server/routes/fields.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/routes/fields.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/routes/fields.ts diff --git a/src/plugins/vis_types/timeseries/server/routes/vis.ts b/src/platform/plugins/shared/vis_types/timeseries/server/routes/vis.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/routes/vis.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/routes/vis.ts diff --git a/src/plugins/vis_types/timeseries/server/types.ts b/src/platform/plugins/shared/vis_types/timeseries/server/types.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/types.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/types.ts diff --git a/src/plugins/vis_types/timeseries/server/ui_settings.ts b/src/platform/plugins/shared/vis_types/timeseries/server/ui_settings.ts similarity index 100% rename from src/plugins/vis_types/timeseries/server/ui_settings.ts rename to src/platform/plugins/shared/vis_types/timeseries/server/ui_settings.ts diff --git a/src/plugins/vis_types/timeseries/tsconfig.json b/src/platform/plugins/shared/vis_types/timeseries/tsconfig.json similarity index 93% rename from src/plugins/vis_types/timeseries/tsconfig.json rename to src/platform/plugins/shared/vis_types/timeseries/tsconfig.json index 2ac2cc6798ded..4b621bfa1b89b 100644 --- a/src/plugins/vis_types/timeseries/tsconfig.json +++ b/src/platform/plugins/shared/vis_types/timeseries/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "allowJs": true @@ -8,7 +8,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../../typings/**/*", + "../../../../../../typings/**/*", "*.ts" ], "kbn_references": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index 7d7ec28870f63..542b7d55326ca 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2036,8 +2036,8 @@ "@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/plugins/vis_types/timeseries"], - "@kbn/vis-type-timeseries-plugin/*": ["src/plugins/vis_types/timeseries/*"], + "@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/plugins/vis_types/vega"], "@kbn/vis-type-vega-plugin/*": ["src/plugins/vis_types/vega/*"], "@kbn/vis-type-vislib-plugin": ["src/plugins/vis_types/vislib"], diff --git a/yarn.lock b/yarn.lock index 66100a5ff3648..f87ecc5872933 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7888,7 +7888,7 @@ 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 "" From 630684745bca4c6aaf061d3f5f0783ea282c0258 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:25:23 +0100 Subject: [PATCH 42/51] Relocating module `@kbn/vis-type-vega-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/vis_types/vega/jest.config.js | 8 ++++---- .../plugins/private}/vis_types/vega/kibana.jsonc | 0 .../public/__snapshots__/vega_visualization.test.tsx.snap | 0 .../private}/vis_types/vega/public/async_services.ts | 0 .../public/components/deprecated_interval_info.test.tsx | 0 .../vega/public/components/deprecated_interval_info.tsx | 0 .../vega/public/components/experimental_map_vis_info.tsx | 0 .../vega/public/components/vega_actions_menu.tsx | 0 .../vis_types/vega/public/components/vega_editor.scss | 0 .../vis_types/vega/public/components/vega_help_menu.tsx | 0 .../vega/public/components/vega_info_message.tsx | 0 .../vis_types/vega/public/components/vega_vis.scss | 0 .../vis_types/vega/public/components/vega_vis.styles.tsx | 0 .../vega/public/components/vega_vis_component.tsx | 0 .../vis_types/vega/public/components/vega_vis_editor.tsx | 0 .../vega/public/components/vega_vis_editor_lazy.tsx | 0 .../vis_types/vega/public/data_model/ems_file_parser.ts | 0 .../vega/public/data_model/es_query_parser.test.js | 0 .../vis_types/vega/public/data_model/es_query_parser.ts | 0 .../vis_types/vega/public/data_model/search_api.test.ts | 0 .../vis_types/vega/public/data_model/search_api.ts | 0 .../vis_types/vega/public/data_model/time_cache.test.js | 0 .../vis_types/vega/public/data_model/time_cache.ts | 0 .../private}/vis_types/vega/public/data_model/types.ts | 0 .../vis_types/vega/public/data_model/url_parser.ts | 0 .../private}/vis_types/vega/public/data_model/utils.ts | 0 .../vis_types/vega/public/data_model/vega_parser.test.js | 0 .../vis_types/vega/public/data_model/vega_parser.ts | 0 .../private}/vis_types/vega/public/default.spec.hjson | 0 .../private}/vis_types/vega/public/default_spec.ts | 0 .../plugins/private}/vis_types/vega/public/index.ts | 0 .../vega/public/lib/extract_index_pattern.test.ts | 0 .../vis_types/vega/public/lib/extract_index_pattern.ts | 0 .../vis_types/vega/public/lib/vega_state_restorer.test.ts | 0 .../vis_types/vega/public/lib/vega_state_restorer.ts | 0 .../plugins/private}/vis_types/vega/public/plugin.ts | 0 .../plugins/private}/vis_types/vega/public/services.ts | 0 .../vis_types/vega/public/test_utils/default.spec.json | 0 .../vis_types/vega/public/test_utils/vega_graph.json | 0 .../vis_types/vega/public/test_utils/vega_map_test.json | 0 .../vis_types/vega/public/test_utils/vegalite_graph.json | 0 .../plugins/private}/vis_types/vega/public/to_ast.ts | 0 .../plugins/private}/vis_types/vega/public/vega_fn.ts | 0 .../vega/public/vega_inspector/components/data_viewer.tsx | 0 .../vega/public/vega_inspector/components/index.ts | 0 .../vega_inspector/components/inspector_data_grid.tsx | 0 .../public/vega_inspector/components/signal_viewer.tsx | 0 .../vega/public/vega_inspector/components/spec_viewer.tsx | 0 .../vis_types/vega/public/vega_inspector/index.ts | 0 .../vis_types/vega/public/vega_inspector/vega_adapter.ts | 0 .../vega/public/vega_inspector/vega_data_inspector.scss | 0 .../vega/public/vega_inspector/vega_data_inspector.tsx | 0 .../vega/public/vega_inspector/vega_inspector.tsx | 0 .../vis_types/vega/public/vega_request_handler.ts | 0 .../plugins/private}/vis_types/vega/public/vega_type.ts | 0 .../vis_types/vega/public/vega_view/utils.test.ts | 0 .../private}/vis_types/vega/public/vega_view/utils.ts | 0 .../vis_types/vega/public/vega_view/vega_base_view.d.ts | 0 .../vis_types/vega/public/vega_view/vega_base_view.js | 0 .../vega/public/vega_view/vega_base_view.styles.ts | 0 .../vega/public/vega_view/vega_map_view/constants.ts | 0 .../vega/public/vega_view/vega_map_view/layers/index.ts | 0 .../vega_map_view/layers/tms_raster_layer.test.ts | 0 .../vega_view/vega_map_view/layers/tms_raster_layer.ts | 0 .../vega/public/vega_view/vega_map_view/layers/types.ts | 0 .../vega_view/vega_map_view/layers/vega_layer.test.ts | 0 .../public/vega_view/vega_map_view/layers/vega_layer.ts | 0 .../service_settings/get_service_settings.ts | 0 .../service_settings/get_service_settings_lazy.ts | 0 .../service_settings/service_settings.test.js | 0 .../vega_map_view/service_settings/service_settings.ts | 0 .../service_settings/service_settings_types.ts | 0 .../vega/public/vega_view/vega_map_view/utils/index.ts | 0 .../vega_map_view/utils/validation_helper.test.ts | 0 .../vega_view/vega_map_view/utils/validation_helper.ts | 0 .../vega_view/vega_map_view/utils/vsi_helper.test.ts | 0 .../public/vega_view/vega_map_view/utils/vsi_helper.ts | 0 .../public/vega_view/vega_map_view/vega_map_view.scss | 0 .../vega/public/vega_view/vega_map_view/view.test.ts | 0 .../vis_types/vega/public/vega_view/vega_map_view/view.ts | 0 .../vis_types/vega/public/vega_view/vega_tooltip.js | 0 .../vega/public/vega_view/vega_tooltip.styles.ts | 0 .../vis_types/vega/public/vega_view/vega_view.d.ts | 0 .../private}/vis_types/vega/public/vega_view/vega_view.js | 0 .../private}/vis_types/vega/public/vega_vis_renderer.tsx | 0 .../vis_types/vega/public/vega_visualization.test.tsx | 0 .../private}/vis_types/vega/public/vega_visualization.ts | 0 .../plugins/private}/vis_types/vega/server/config.ts | 0 .../plugins/private}/vis_types/vega/server/index.ts | 0 .../plugins/private}/vis_types/vega/server/plugin.ts | 0 .../plugins/private}/vis_types/vega/server/types.ts | 0 .../plugins/private}/vis_types/vega/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 98 files changed, 12 insertions(+), 12 deletions(-) rename src/{plugins => platform/plugins/private}/vis_types/vega/jest.config.js (70%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9e47b4dee0377..a350216d53e3b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -636,6 +636,7 @@ 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/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 @@ -711,7 +712,6 @@ src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_type_markdown @elastic/kibana-presentation -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 diff --git a/.i18nrc.json b/.i18nrc.json index e6d451669dc04..06e1a4812cfa3 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -141,7 +141,7 @@ "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/plugins/vis_types/vega", + "visTypeVega": "src/platform/plugins/private/vis_types/vega", "visTypeVislib": "src/plugins/vis_types/vislib", "visTypeXy": "src/plugins/vis_types/xy", "visualizations": "src/plugins/visualizations", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index ef43604895f71..cef049a4871aa 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -423,7 +423,7 @@ The plugin exposes the static DefaultEditorController class to consume. |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. diff --git a/package.json b/package.json index fd28ce1f6bdc3..474e9991395a8 100644 --- a/package.json +++ b/package.json @@ -1015,7 +1015,7 @@ "@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/plugins/vis_types/vega", + "@kbn/vis-type-vega-plugin": "link:src/platform/plugins/private/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", diff --git a/src/plugins/vis_types/vega/jest.config.js b/src/platform/plugins/private/vis_types/vega/jest.config.js similarity index 70% rename from src/plugins/vis_types/vega/jest.config.js rename to src/platform/plugins/private/vis_types/vega/jest.config.js index 6e4a84bfc8961..aef3aa6d6d68a 100644 --- a/src/plugins/vis_types/vega/jest.config.js +++ b/src/platform/plugins/private/vis_types/vega/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/vega'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/vega', + 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/plugins/vis_types/vega/{public,server}/**/*.{js,ts,tsx}'], + 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 172dd4c60fea7..56d727935f0a1 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/tsconfig.base.json b/tsconfig.base.json index 542b7d55326ca..9e9461e74721a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2038,8 +2038,8 @@ "@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/plugins/vis_types/vega"], - "@kbn/vis-type-vega-plugin/*": ["src/plugins/vis_types/vega/*"], + "@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/plugins/vis_types/vislib"], "@kbn/vis-type-vislib-plugin/*": ["src/plugins/vis_types/vislib/*"], "@kbn/vis-type-xy-plugin": ["src/plugins/vis_types/xy"], diff --git a/yarn.lock b/yarn.lock index f87ecc5872933..281a97fd25ed9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7892,7 +7892,7 @@ 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 "" From 3d3712a316b704673618d314a4bfed62ccdab4fd Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:26:56 +0100 Subject: [PATCH 43/51] Relocating module `@kbn/vis-type-vislib-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/vis_types/vislib/common/index.ts | 0 .../plugins/private}/vis_types/vislib/jest.config.js | 8 ++++---- .../plugins/private}/vis_types/vislib/kibana.jsonc | 0 .../vislib/public/__snapshots__/to_ast.test.ts.snap | 0 .../vislib/public/fixtures/dispatch_heatmap_config.json | 0 .../vislib/public/fixtures/dispatch_heatmap_d3.json | 0 .../public/fixtures/dispatch_heatmap_data_point.json | 0 .../public/fixtures/mock_data/date_histogram/_columns.js | 0 .../public/fixtures/mock_data/date_histogram/_rows.js | 0 .../mock_data/date_histogram/_rows_series_with_holes.js | 0 .../public/fixtures/mock_data/date_histogram/_series.js | 0 .../mock_data/date_histogram/_series_monthly_interval.js | 0 .../fixtures/mock_data/date_histogram/_series_neg.js | 0 .../fixtures/mock_data/date_histogram/_series_pos_neg.js | 0 .../fixtures/mock_data/date_histogram/_stacked_series.js | 0 .../vislib/public/fixtures/mock_data/filters/_columns.js | 0 .../vislib/public/fixtures/mock_data/filters/_rows.js | 0 .../vislib/public/fixtures/mock_data/filters/_series.js | 0 .../public/fixtures/mock_data/histogram/_columns.js | 0 .../vislib/public/fixtures/mock_data/histogram/_rows.js | 0 .../vislib/public/fixtures/mock_data/histogram/_series.js | 0 .../vislib/public/fixtures/mock_data/histogram/_slices.js | 0 .../fixtures/mock_data/not_enough_data/_one_point.js | 0 .../vislib/public/fixtures/mock_data/range/_columns.js | 0 .../vislib/public/fixtures/mock_data/range/_rows.js | 0 .../vislib/public/fixtures/mock_data/range/_series.js | 0 .../fixtures/mock_data/significant_terms/_columns.js | 0 .../public/fixtures/mock_data/significant_terms/_rows.js | 0 .../fixtures/mock_data/significant_terms/_series.js | 0 .../vislib/public/fixtures/mock_data/stacked/_stacked.js | 0 .../vislib/public/fixtures/mock_data/terms/_columns.js | 0 .../vislib/public/fixtures/mock_data/terms/_rows.js | 0 .../vislib/public/fixtures/mock_data/terms/_series.js | 0 .../public/fixtures/mock_data/terms/_series_multiple.js | 0 .../private}/vis_types/vislib/public/fixtures/mocks.js | 0 .../plugins/private}/vis_types/vislib/public/gauge.ts | 0 .../plugins/private}/vis_types/vislib/public/goal.ts | 0 .../plugins/private}/vis_types/vislib/public/heatmap.ts | 0 .../plugins/private}/vis_types/vislib/public/index.scss | 0 .../plugins/private}/vis_types/vislib/public/index.ts | 0 .../plugins/private}/vis_types/vislib/public/plugin.ts | 0 .../plugins/private}/vis_types/vislib/public/services.ts | 0 .../private}/vis_types/vislib/public/to_ast.test.ts | 0 .../plugins/private}/vis_types/vislib/public/to_ast.ts | 0 .../plugins/private}/vis_types/vislib/public/types.ts | 0 .../private}/vis_types/vislib/public/vis_controller.tsx | 0 .../private}/vis_types/vislib/public/vis_renderer.tsx | 0 .../vis_types/vislib/public/vis_type_vislib_vis_fn.ts | 0 .../private}/vis_types/vislib/public/vis_wrapper.tsx | 0 .../private}/vis_types/vislib/public/vislib/VISLIB.md | 0 .../private}/vis_types/vislib/public/vislib/_index.scss | 0 .../vis_types/vislib/public/vislib/_variables.scss | 0 .../vis_types/vislib/public/vislib/_vislib_vis_type.scss | 0 .../vislib/public/vislib/components/labels/data_array.js | 0 .../public/vislib/components/labels/flatten_series.js | 0 .../vislib/public/vislib/components/labels/index.js | 0 .../vislib/public/vislib/components/labels/labels.js | 0 .../vislib/public/vislib/components/labels/labels.test.js | 0 .../public/vislib/components/labels/truncate_labels.js | 0 .../vislib/public/vislib/components/labels/uniq_labels.js | 0 .../components/legend/__snapshots__/legend.test.tsx.snap | 0 .../vislib/public/vislib/components/legend/_index.scss | 0 .../vislib/public/vislib/components/legend/_legend.scss | 0 .../vislib/public/vislib/components/legend/index.ts | 0 .../public/vislib/components/legend/legend.test.tsx | 0 .../vislib/public/vislib/components/legend/legend.tsx | 0 .../public/vislib/components/legend/legend_item.tsx | 0 .../vislib/public/vislib/components/legend/models.ts | 0 .../public/vislib/components/tooltip/_collect_branch.js | 0 .../vislib/components/tooltip/_collect_branch.test.js | 0 .../vislib/public/vislib/components/tooltip/_index.scss | 0 .../components/tooltip/_pointseries_tooltip_formatter.js | 0 .../tooltip/_pointseries_tooltip_formatter.test.js | 0 .../vislib/public/vislib/components/tooltip/_tooltip.scss | 0 .../vislib/public/vislib/components/tooltip/index.js | 0 .../public/vislib/components/tooltip/position_tooltip.js | 0 .../vislib/components/tooltip/position_tooltip.test.js | 0 .../vislib/public/vislib/components/tooltip/tooltip.js | 0 .../vislib/components/zero_injection/flatten_data.js | 0 .../vislib/components/zero_injection/inject_zeros.js | 0 .../vislib/components/zero_injection/ordered_x_keys.js | 0 .../public/vislib/components/zero_injection/uniq_keys.js | 0 .../components/zero_injection/zero_fill_data_array.js | 0 .../vislib/components/zero_injection/zero_filled_array.js | 0 .../components/zero_injection/zero_injection.test.js | 0 .../private}/vis_types/vislib/public/vislib/errors.ts | 0 .../vis_types/vislib/public/vislib/helpers/index.ts | 0 .../vislib/helpers/point_series/_add_to_siri.test.ts | 0 .../public/vislib/helpers/point_series/_add_to_siri.ts | 0 .../vislib/helpers/point_series/_fake_x_aspect.test.ts | 0 .../public/vislib/helpers/point_series/_fake_x_aspect.ts | 0 .../vislib/helpers/point_series/_get_aspects.test.ts | 0 .../public/vislib/helpers/point_series/_get_aspects.ts | 0 .../public/vislib/helpers/point_series/_get_point.test.ts | 0 .../public/vislib/helpers/point_series/_get_point.ts | 0 .../vislib/helpers/point_series/_get_series.test.ts | 0 .../public/vislib/helpers/point_series/_get_series.ts | 0 .../vislib/helpers/point_series/_init_x_axis.test.ts | 0 .../public/vislib/helpers/point_series/_init_x_axis.ts | 0 .../vislib/helpers/point_series/_init_y_axis.test.ts | 0 .../public/vislib/helpers/point_series/_init_y_axis.ts | 0 .../helpers/point_series/_ordered_date_axis.test.ts | 0 .../vislib/helpers/point_series/_ordered_date_axis.ts | 0 .../vislib/public/vislib/helpers/point_series/index.ts | 0 .../vislib/helpers/point_series/point_series.test.ts | 0 .../public/vislib/helpers/point_series/point_series.ts | 0 .../lib/__snapshots__/dispatch_heatmap.test.js.snap | 0 .../vis_types/vislib/public/vislib/lib/_data_label.js | 0 .../vis_types/vislib/public/vislib/lib/_error_handler.js | 0 .../vislib/public/vislib/lib/_error_handler.test.js | 0 .../vis_types/vislib/public/vislib/lib/_index.scss | 0 .../vis_types/vislib/public/vislib/lib/axis/axis.js | 0 .../vis_types/vislib/public/vislib/lib/axis/axis.test.js | 0 .../vislib/public/vislib/lib/axis/axis_config.js | 0 .../vislib/public/vislib/lib/axis/axis_labels.js | 0 .../vis_types/vislib/public/vislib/lib/axis/axis_scale.js | 0 .../vis_types/vislib/public/vislib/lib/axis/axis_title.js | 0 .../vislib/public/vislib/lib/axis/axis_title.test.js | 0 .../vis_types/vislib/public/vislib/lib/axis/index.js | 0 .../vislib/public/vislib/lib/axis/scale_modes.js | 0 .../vis_types/vislib/public/vislib/lib/axis/time_ticks.js | 0 .../vislib/public/vislib/lib/axis/time_ticks.test.js | 0 .../vislib/public/vislib/lib/axis/x_axis.test.js | 0 .../vislib/public/vislib/lib/axis/y_axis.test.js | 0 .../private}/vis_types/vislib/public/vislib/lib/binder.ts | 0 .../vis_types/vislib/public/vislib/lib/chart_grid.js | 0 .../vis_types/vislib/public/vislib/lib/chart_title.js | 0 .../vislib/public/vislib/lib/chart_title.test.js | 0 .../private}/vis_types/vislib/public/vislib/lib/data.js | 0 .../vis_types/vislib/public/vislib/lib/data.test.js | 0 .../vis_types/vislib/public/vislib/lib/dispatch.js | 0 .../vis_types/vislib/public/vislib/lib/dispatch.test.js | 0 .../vislib/public/vislib/lib/dispatch_heatmap.test.js | 0 .../vis_types/vislib/public/vislib/lib/handler.js | 0 .../vis_types/vislib/public/vislib/lib/handler.test.js | 0 .../vis_types/vislib/public/vislib/lib/layout/_index.scss | 0 .../vislib/public/vislib/lib/layout/_layout.scss | 0 .../vis_types/vislib/public/vislib/lib/layout/index.js | 0 .../vis_types/vislib/public/vislib/lib/layout/layout.js | 0 .../vislib/public/vislib/lib/layout/layout.test.js | 0 .../vislib/public/vislib/lib/layout/layout_types.js | 0 .../vislib/public/vislib/lib/layout/layout_types.test.js | 0 .../vislib/lib/layout/splits/column_chart/chart_split.js | 0 .../lib/layout/splits/column_chart/chart_title_split.js | 0 .../vislib/lib/layout/splits/column_chart/splits.test.js | 0 .../vislib/lib/layout/splits/column_chart/x_axis_split.js | 0 .../vislib/lib/layout/splits/column_chart/y_axis_split.js | 0 .../vislib/lib/layout/splits/gauge_chart/chart_split.js | 0 .../lib/layout/splits/gauge_chart/chart_title_split.js | 0 .../vislib/lib/layout/splits/gauge_chart/splits.test.js | 0 .../vislib/lib/layout/splits/pie_chart/chart_split.js | 0 .../lib/layout/splits/pie_chart/chart_title_split.js | 0 .../public/vislib/lib/layout/types/column_layout.js | 0 .../public/vislib/lib/layout/types/column_layout.test.js | 0 .../vislib/public/vislib/lib/layout/types/gauge_layout.js | 0 .../vis_types/vislib/public/vislib/lib/types/gauge.js | 0 .../vis_types/vislib/public/vislib/lib/types/index.js | 0 .../vislib/public/vislib/lib/types/point_series.js | 0 .../vislib/public/vislib/lib/types/point_series.test.js | 0 .../vis_types/vislib/public/vislib/lib/vis_config.js | 0 .../vis_types/vislib/public/vislib/lib/vis_config.test.js | 0 .../vislib/public/vislib/partials/touchdown_template.tsx | 0 .../vislib/public/vislib/percentage_mode_transform.ts | 0 .../vis_types/vislib/public/vislib/response_handler.js | 0 .../vislib/public/vislib/response_handler.test.ts | 0 .../private}/vis_types/vislib/public/vislib/types.ts | 0 .../private}/vis_types/vislib/public/vislib/vis.js | 0 .../private}/vis_types/vislib/public/vislib/vis.test.js | 0 .../vislib/public/vislib/visualizations/_chart.js | 0 .../vislib/public/vislib/visualizations/_vis_fixture.js | 0 .../vislib/public/vislib/visualizations/chart.test.js | 0 .../vislib/public/vislib/visualizations/gauge_chart.js | 0 .../public/vislib/visualizations/gauge_chart.test.js | 0 .../public/vislib/visualizations/gauges/_index.scss | 0 .../public/vislib/visualizations/gauges/_meter.scss | 0 .../public/vislib/visualizations/gauges/gauge_types.js | 0 .../vislib/public/vislib/visualizations/gauges/meter.js | 0 .../vislib/public/vislib/visualizations/point_series.js | 0 .../vislib/visualizations/point_series/_point_series.js | 0 .../visualizations/point_series/_point_series.test.js | 0 .../vislib/visualizations/point_series/heatmap_chart.js | 0 .../visualizations/point_series/heatmap_chart.test.js | 0 .../vislib/public/vislib/visualizations/time_marker.d.ts | 0 .../vislib/public/vislib/visualizations/time_marker.js | 0 .../public/vislib/visualizations/time_marker.test.js | 0 .../vislib/public/vislib/visualizations/vis_types.js | 0 .../vislib/public/vislib/visualizations/vis_types.test.js | 0 .../plugins/private}/vis_types/vislib/server/config.ts | 0 .../plugins/private}/vis_types/vislib/server/index.ts | 0 .../plugins/private}/vis_types/vislib/server/plugin.ts | 0 .../private}/vis_types/vislib/server/ui_settings.ts | 0 .../plugins/private}/vis_types/vislib/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- x-pack/plugins/ml/public/application/util/chart_utils.js | 2 +- yarn.lock | 2 +- 199 files changed, 13 insertions(+), 13 deletions(-) rename src/{plugins => platform/plugins/private}/vis_types/vislib/common/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/vislib/jest.config.js (72%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a350216d53e3b..8345934c3379e 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -637,6 +637,7 @@ 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/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 @@ -712,7 +713,6 @@ src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_type_markdown @elastic/kibana-presentation -src/plugins/vis_types/vislib @elastic/kibana-visualizations src/plugins/vis_types/xy @elastic/kibana-visualizations src/plugins/visualizations @elastic/kibana-visualizations test diff --git a/.i18nrc.json b/.i18nrc.json index 06e1a4812cfa3..2dad639635a0a 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -142,7 +142,7 @@ "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/plugins/vis_types/vislib", + "visTypeVislib": "src/platform/plugins/private/vis_types/vislib", "visTypeXy": "src/plugins/vis_types/xy", "visualizations": "src/plugins/visualizations", "visualizationUiComponents": "packages/kbn-visualization-ui-components", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index cef049a4871aa..8faceba4b2566 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -427,7 +427,7 @@ The plugin exposes the static DefaultEditorController class to consume. |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. diff --git a/package.json b/package.json index 474e9991395a8..e3fd25a865b6c 100644 --- a/package.json +++ b/package.json @@ -1016,7 +1016,7 @@ "@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/plugins/vis_types/vislib", + "@kbn/vis-type-vislib-plugin": "link:src/platform/plugins/private/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", 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/plugins/vis_types/vislib/jest.config.js b/src/platform/plugins/private/vis_types/vislib/jest.config.js similarity index 72% rename from src/plugins/vis_types/vislib/jest.config.js rename to src/platform/plugins/private/vis_types/vislib/jest.config.js index 89226e3a70735..cd8adf1a6b702 100644 --- a/src/plugins/vis_types/vislib/jest.config.js +++ b/src/platform/plugins/private/vis_types/vislib/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/vislib'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/vislib', + 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/plugins/vis_types/vislib/{common,public,server}/**/*.{js,ts,tsx}', + '/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/tsconfig.base.json b/tsconfig.base.json index 9e9461e74721a..3d2a99d9c20a3 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2040,8 +2040,8 @@ "@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/plugins/vis_types/vislib"], - "@kbn/vis-type-vislib-plugin/*": ["src/plugins/vis_types/vislib/*"], + "@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/plugins/vis_types/xy"], "@kbn/vis-type-xy-plugin/*": ["src/plugins/vis_types/xy/*"], "@kbn/visualization-ui-components": ["packages/kbn-visualization-ui-components"], diff --git a/x-pack/plugins/ml/public/application/util/chart_utils.js b/x-pack/plugins/ml/public/application/util/chart_utils.js index 19b53177d6868..a7f908493bd0a 100644 --- a/x-pack/plugins/ml/public/application/util/chart_utils.js +++ b/x-pack/plugins/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/yarn.lock b/yarn.lock index 281a97fd25ed9..c2196c30431a7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7896,7 +7896,7 @@ 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 "" From 5013d3c793d60bea77bfd03bf10c227442d55145 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:28:24 +0100 Subject: [PATCH 44/51] Relocating module `@kbn/vis-type-xy-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/private}/vis_types/xy/common/index.ts | 0 .../plugins/private}/vis_types/xy/jest.config.js | 8 ++++---- .../plugins/private}/vis_types/xy/kibana.jsonc | 0 .../vis_types/xy/public/__snapshots__/to_ast.test.ts.snap | 0 .../public/convert_to_lens/configurations/index.test.ts | 0 .../xy/public/convert_to_lens/configurations/index.ts | 0 .../vis_types/xy/public/convert_to_lens/index.test.ts | 0 .../private}/vis_types/xy/public/convert_to_lens/index.ts | 0 .../private}/vis_types/xy/public/convert_to_lens/types.ts | 0 .../private}/vis_types/xy/public/editor/collections.ts | 0 .../private}/vis_types/xy/public/editor/common_config.tsx | 0 .../vis_types/xy/public/editor/components/common/index.ts | 0 .../editor/components/common/truncate_labels.test.tsx | 0 .../public/editor/components/common/truncate_labels.tsx | 0 .../editor/components/common/validation_wrapper.tsx | 0 .../vis_types/xy/public/editor/components/index.ts | 0 .../xy/public/editor/components/options/index.tsx | 0 .../__snapshots__/category_axis_panel.test.tsx.snap | 0 .../__snapshots__/chart_options.test.tsx.snap | 0 .../__snapshots__/custom_extents_options.test.tsx.snap | 0 .../metrics_axes/__snapshots__/index.test.tsx.snap | 0 .../__snapshots__/label_options.test.tsx.snap | 0 .../metrics_axes/__snapshots__/line_options.test.tsx.snap | 0 .../__snapshots__/point_options.test.tsx.snap | 0 .../__snapshots__/value_axes_panel.test.tsx.snap | 0 .../__snapshots__/value_axis_options.test.tsx.snap | 0 .../metrics_axes/__snapshots__/y_extents.test.tsx.snap | 0 .../options/metrics_axes/category_axis_panel.test.tsx | 0 .../options/metrics_axes/category_axis_panel.tsx | 0 .../options/metrics_axes/chart_options.test.tsx | 0 .../components/options/metrics_axes/chart_options.tsx | 0 .../options/metrics_axes/custom_extents_options.test.tsx | 0 .../options/metrics_axes/custom_extents_options.tsx | 0 .../editor/components/options/metrics_axes/index.test.tsx | 0 .../editor/components/options/metrics_axes/index.tsx | 0 .../options/metrics_axes/label_options.test.tsx | 0 .../components/options/metrics_axes/label_options.tsx | 0 .../components/options/metrics_axes/line_options.test.tsx | 0 .../components/options/metrics_axes/line_options.tsx | 0 .../editor/components/options/metrics_axes/mocks.ts | 0 .../options/metrics_axes/point_options.test.tsx | 0 .../components/options/metrics_axes/point_options.tsx | 0 .../components/options/metrics_axes/series_panel.tsx | 0 .../editor/components/options/metrics_axes/utils.ts | 0 .../options/metrics_axes/value_axes_panel.test.tsx | 0 .../components/options/metrics_axes/value_axes_panel.tsx | 0 .../options/metrics_axes/value_axis_options.test.tsx | 0 .../options/metrics_axes/value_axis_options.tsx | 0 .../components/options/metrics_axes/y_extents.test.tsx | 0 .../editor/components/options/metrics_axes/y_extents.tsx | 0 .../options/point_series/elastic_charts_options.tsx | 0 .../editor/components/options/point_series/grid_panel.tsx | 0 .../editor/components/options/point_series/index.ts | 0 .../components/options/point_series/point_series.mocks.ts | 0 .../components/options/point_series/point_series.test.tsx | 0 .../components/options/point_series/point_series.tsx | 0 .../components/options/point_series/threshold_panel.tsx | 0 .../plugins/private}/vis_types/xy/public/editor/index.ts | 0 .../private}/vis_types/xy/public/editor/positions.ts | 0 .../private}/vis_types/xy/public/editor/scale_types.ts | 0 .../plugins/private}/vis_types/xy/public/index.ts | 0 .../plugins/private}/vis_types/xy/public/mocks.ts | 0 .../plugins/private}/vis_types/xy/public/plugin.ts | 0 .../private}/vis_types/xy/public/sample_vis.test.mocks.ts | 0 .../plugins/private}/vis_types/xy/public/services.ts | 0 .../plugins/private}/vis_types/xy/public/to_ast.test.ts | 0 .../plugins/private}/vis_types/xy/public/to_ast.ts | 0 .../private}/vis_types/xy/public/types/constants.ts | 0 .../plugins/private}/vis_types/xy/public/types/index.ts | 0 .../plugins/private}/vis_types/xy/public/types/param.ts | 0 .../private}/vis_types/xy/public/utils/accessors.tsx | 0 .../plugins/private}/vis_types/xy/public/utils/common.ts | 0 .../vis_types/xy/public/utils/get_series_params.ts | 0 .../private}/vis_types/xy/public/vis_types/area.ts | 0 .../xy/public/vis_types/get_vis_type_from_params.test.ts | 0 .../xy/public/vis_types/get_vis_type_from_params.ts | 0 .../private}/vis_types/xy/public/vis_types/histogram.ts | 0 .../vis_types/xy/public/vis_types/horizontal_bar.ts | 0 .../private}/vis_types/xy/public/vis_types/index.ts | 0 .../private}/vis_types/xy/public/vis_types/line.ts | 0 .../plugins/private}/vis_types/xy/server/config.ts | 0 .../plugins/private}/vis_types/xy/server/index.ts | 0 .../plugins/private}/vis_types/xy/server/plugin.ts | 0 .../plugins/private}/vis_types/xy/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 90 files changed, 12 insertions(+), 12 deletions(-) rename src/{plugins => platform/plugins/private}/vis_types/xy/common/index.ts (100%) rename src/{plugins => platform/plugins/private}/vis_types/xy/jest.config.js (70%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8345934c3379e..8bec7be2886da 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -638,6 +638,7 @@ 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/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 @@ -713,7 +714,6 @@ src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_type_markdown @elastic/kibana-presentation -src/plugins/vis_types/xy @elastic/kibana-visualizations src/plugins/visualizations @elastic/kibana-visualizations test test/analytics/plugins/analytics_ftr_helpers @elastic/kibana-core diff --git a/.i18nrc.json b/.i18nrc.json index 2dad639635a0a..0432d7a30cc54 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -143,7 +143,7 @@ "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/plugins/vis_types/xy", + "visTypeXy": "src/platform/plugins/private/vis_types/xy", "visualizations": "src/plugins/visualizations", "visualizationUiComponents": "packages/kbn-visualization-ui-components", "visualizationUtils": "packages/kbn-visualization-utils", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 8faceba4b2566..ebd7558f91522 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -431,7 +431,7 @@ The plugin exposes the static DefaultEditorController class to consume. |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. diff --git a/package.json b/package.json index e3fd25a865b6c..f946cabe1a825 100644 --- a/package.json +++ b/package.json @@ -1017,7 +1017,7 @@ "@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/plugins/vis_types/xy", + "@kbn/vis-type-xy-plugin": "link:src/platform/plugins/private/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", 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/plugins/vis_types/xy/jest.config.js b/src/platform/plugins/private/vis_types/xy/jest.config.js similarity index 70% rename from src/plugins/vis_types/xy/jest.config.js rename to src/platform/plugins/private/vis_types/xy/jest.config.js index 6f0148d8050df..e5b45ce92a010 100644 --- a/src/plugins/vis_types/xy/jest.config.js +++ b/src/platform/plugins/private/vis_types/xy/jest.config.js @@ -9,9 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/src/plugins/vis_types/xy'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/xy', + 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/plugins/vis_types/xy/{common,public,server}/**/*.{ts,tsx}'], + 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/tsconfig.base.json b/tsconfig.base.json index 3d2a99d9c20a3..4ae948d2330c4 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2042,8 +2042,8 @@ "@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/plugins/vis_types/xy"], - "@kbn/vis-type-xy-plugin/*": ["src/plugins/vis_types/xy/*"], + "@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": ["packages/kbn-visualization-ui-components"], "@kbn/visualization-ui-components/*": ["packages/kbn-visualization-ui-components/*"], "@kbn/visualization-utils": ["packages/kbn-visualization-utils"], diff --git a/yarn.lock b/yarn.lock index c2196c30431a7..e0137426c23dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7900,7 +7900,7 @@ 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 "" From 8b1046412ca957bf3e43f8ef043f00b6dd02c098 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:29:57 +0100 Subject: [PATCH 45/51] Relocating module `@kbn/visualization-ui-components` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- package.json | 2 +- .../shared}/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 .../components/dimension_buttons/dimension_button.test.tsx | 0 .../components/dimension_buttons/dimension_button.tsx | 0 .../components/dimension_buttons/dimension_button_icon.tsx | 0 .../components/dimension_buttons/empty_button.tsx | 0 .../components/dimension_buttons/index.ts | 0 .../components/dimension_buttons/palette_indicator.tsx | 0 .../components/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 .../components/drag_drop_bucket/buckets.test.tsx | 0 .../components/drag_drop_bucket/buckets.tsx | 0 .../components/drag_drop_bucket/default_bucket_container.tsx | 0 .../components/drag_drop_bucket/fields_bucket_container.tsx | 0 .../components/drag_drop_bucket/index.tsx | 0 .../components/drag_drop_bucket/new_bucket_button.tsx | 0 .../components/drag_drop_bucket/types.ts | 0 .../components/field_picker/field_picker.scss | 0 .../components/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 .../kbn-visualization-ui-components/components/index.ts | 0 .../components/line_style_settings.tsx | 0 .../kbn-visualization-ui-components/components/name_input.tsx | 0 .../components/query_input/filter_query_input.scss | 0 .../components/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 .../packages/shared}/kbn-visualization-ui-components/index.ts | 0 .../shared}/kbn-visualization-ui-components/jest.config.js | 4 ++-- .../shared}/kbn-visualization-ui-components/kibana.jsonc | 0 .../shared}/kbn-visualization-ui-components/package.json | 0 .../shared}/kbn-visualization-ui-components/tsconfig.json | 2 +- .../packages/shared}/kbn-visualization-ui-components/types.ts | 0 .../packages/shared}/kbn-visualization-ui-components/util.ts | 0 tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 51 files changed, 9 insertions(+), 9 deletions(-) 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 => 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8bec7be2886da..e90fe9f9d2b96 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -526,7 +526,6 @@ packages/kbn-utility-types @elastic/kibana-core packages/kbn-utility-types-jest @elastic/kibana-operations packages/kbn-utils @elastic/kibana-operations 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 @@ -624,6 +623,7 @@ src/platform/packages/shared/kbn-event-annotation-common @elastic/kibana-visuali src/platform/packages/shared/kbn-event-annotation-components @elastic/kibana-visualizations src/platform/packages/shared/kbn-interpreter @elastic/kibana-visualizations src/platform/packages/shared/kbn-sort-predicates @elastic/kibana-visualizations +src/platform/packages/shared/kbn-visualization-ui-components @elastic/kibana-visualizations src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations src/platform/plugins/private/event_annotation @elastic/kibana-visualizations src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations diff --git a/.i18nrc.json b/.i18nrc.json index 0432d7a30cc54..98f75faac93cc 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -145,7 +145,7 @@ "visTypeVislib": "src/platform/plugins/private/vis_types/vislib", "visTypeXy": "src/platform/plugins/private/vis_types/xy", "visualizations": "src/plugins/visualizations", - "visualizationUiComponents": "packages/kbn-visualization-ui-components", + "visualizationUiComponents": "src/platform/packages/shared/kbn-visualization-ui-components", "visualizationUtils": "packages/kbn-visualization-utils", "unifiedDocViewer": ["src/plugins/unified_doc_viewer", "packages/kbn-unified-doc-viewer"], "unifiedSearch": "src/platform/plugins/shared/unified_search", diff --git a/package.json b/package.json index f946cabe1a825..efe475d366f8b 100644 --- a/package.json +++ b/package.json @@ -1018,7 +1018,7 @@ "@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:packages/kbn-visualization-ui-components", + "@kbn/visualization-ui-components": "link:src/platform/packages/shared/kbn-visualization-ui-components", "@kbn/visualization-utils": "link:packages/kbn-visualization-utils", "@kbn/visualizations-plugin": "link:src/plugins/visualizations", "@kbn/watcher-plugin": "link:x-pack/plugins/watcher", 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-visualization-ui-components/jest.config.js b/src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js similarity index 82% rename from packages/kbn-visualization-ui-components/jest.config.js rename to src/platform/packages/shared/kbn-visualization-ui-components/jest.config.js index 08b801fcbb173..1c68c8f7ae555 100644 --- a/packages/kbn-visualization-ui-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-visualization-ui-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/tsconfig.base.json b/tsconfig.base.json index 4ae948d2330c4..b09a23608610f 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2044,8 +2044,8 @@ "@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": ["packages/kbn-visualization-ui-components"], - "@kbn/visualization-ui-components/*": ["packages/kbn-visualization-ui-components/*"], + "@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": ["packages/kbn-visualization-utils"], "@kbn/visualization-utils/*": ["packages/kbn-visualization-utils/*"], "@kbn/visualizations-plugin": ["src/plugins/visualizations"], diff --git a/yarn.lock b/yarn.lock index e0137426c23dd..d83a449c23289 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7904,7 +7904,7 @@ 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 "" From 8804769e652fc8efb018dac0575fa03337a70322 Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:31:29 +0100 Subject: [PATCH 46/51] Relocating module `@kbn/visualization-utils` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- package.json | 2 +- .../packages/shared}/kbn-visualization-utils/README.md | 0 .../kbn-visualization-utils/__mocks__/suggestions_mock.ts | 0 .../packages/shared}/kbn-visualization-utils/index.ts | 0 .../packages/shared}/kbn-visualization-utils/jest.config.js | 4 ++-- .../packages/shared}/kbn-visualization-utils/kibana.jsonc | 0 .../packages/shared}/kbn-visualization-utils/package.json | 0 .../kbn-visualization-utils/src/debounced_value.test.ts | 0 .../shared}/kbn-visualization-utils/src/debounced_value.ts | 0 .../shared}/kbn-visualization-utils/src/get_datasource_id.ts | 0 .../kbn-visualization-utils/src/get_lens_attributes.test.ts | 0 .../kbn-visualization-utils/src/get_lens_attributes.ts | 0 .../shared}/kbn-visualization-utils/src/get_timezone.test.ts | 0 .../shared}/kbn-visualization-utils/src/get_timezone.ts | 0 .../kbn-visualization-utils/src/map_vis_to_chart_type.ts | 0 .../shared}/kbn-visualization-utils/src/tooltip_wrapper.tsx | 0 .../packages/shared}/kbn-visualization-utils/src/types.ts | 0 .../packages/shared}/kbn-visualization-utils/tsconfig.json | 2 +- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 22 files changed, 9 insertions(+), 9 deletions(-) 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%) rename {packages => src/platform/packages/shared}/kbn-visualization-utils/jest.config.js (82%) 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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e90fe9f9d2b96..281988898c129 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -526,7 +526,6 @@ packages/kbn-utility-types @elastic/kibana-core packages/kbn-utility-types-jest @elastic/kibana-operations packages/kbn-utils @elastic/kibana-operations packages/kbn-validate-next-docs-cli @elastic/kibana-operations -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-xstate-utils @elastic/obs-ux-logs-team @@ -624,6 +623,7 @@ src/platform/packages/shared/kbn-event-annotation-components @elastic/kibana-vis src/platform/packages/shared/kbn-interpreter @elastic/kibana-visualizations src/platform/packages/shared/kbn-sort-predicates @elastic/kibana-visualizations 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/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations src/platform/plugins/private/event_annotation @elastic/kibana-visualizations src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations diff --git a/.i18nrc.json b/.i18nrc.json index 98f75faac93cc..b0c119bb1cd70 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -146,7 +146,7 @@ "visTypeXy": "src/platform/plugins/private/vis_types/xy", "visualizations": "src/plugins/visualizations", "visualizationUiComponents": "src/platform/packages/shared/kbn-visualization-ui-components", - "visualizationUtils": "packages/kbn-visualization-utils", + "visualizationUtils": "src/platform/packages/shared/kbn-visualization-utils", "unifiedDocViewer": ["src/plugins/unified_doc_viewer", "packages/kbn-unified-doc-viewer"], "unifiedSearch": "src/platform/plugins/shared/unified_search", "unifiedFieldList": "packages/kbn-unified-field-list", diff --git a/package.json b/package.json index efe475d366f8b..081f62653219b 100644 --- a/package.json +++ b/package.json @@ -1019,7 +1019,7 @@ "@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:packages/kbn-visualization-utils", + "@kbn/visualization-utils": "link:src/platform/packages/shared/kbn-visualization-utils", "@kbn/visualizations-plugin": "link:src/plugins/visualizations", "@kbn/watcher-plugin": "link:x-pack/plugins/watcher", "@kbn/xstate-utils": "link:packages/kbn-xstate-utils", 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/packages/kbn-visualization-utils/jest.config.js b/src/platform/packages/shared/kbn-visualization-utils/jest.config.js similarity index 82% rename from packages/kbn-visualization-utils/jest.config.js rename to src/platform/packages/shared/kbn-visualization-utils/jest.config.js index bcf289903636d..56dbc512a68b0 100644 --- a/packages/kbn-visualization-utils/jest.config.js +++ b/src/platform/packages/shared/kbn-visualization-utils/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-visualization-utils'], + 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/tsconfig.base.json b/tsconfig.base.json index b09a23608610f..e96239a0bb4ad 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2046,8 +2046,8 @@ "@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": ["packages/kbn-visualization-utils"], - "@kbn/visualization-utils/*": ["packages/kbn-visualization-utils/*"], + "@kbn/visualization-utils": ["src/platform/packages/shared/kbn-visualization-utils"], + "@kbn/visualization-utils/*": ["src/platform/packages/shared/kbn-visualization-utils/*"], "@kbn/visualizations-plugin": ["src/plugins/visualizations"], "@kbn/visualizations-plugin/*": ["src/plugins/visualizations/*"], "@kbn/watcher-plugin": ["x-pack/plugins/watcher"], diff --git a/yarn.lock b/yarn.lock index d83a449c23289..af5956ce0e1b8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7908,7 +7908,7 @@ 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 "" From f0917775fe3785b56eff5b8b6def64f690cdba7f Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Mon, 9 Dec 2024 16:33:01 +0100 Subject: [PATCH 47/51] Relocating module `@kbn/visualizations-plugin` --- .github/CODEOWNERS | 2 +- .i18nrc.json | 2 +- .../architecture/development-visualize-index.asciidoc | 2 +- docs/developer/plugin-list.asciidoc | 2 +- package.json | 2 +- .../plugins/shared}/visualizations/common/constants.ts | 0 .../visualizations/common/content_management/constants.ts | 0 .../visualizations/common/content_management/index.ts | 0 .../visualizations/common/content_management/latest.ts | 0 .../visualizations/common/content_management/types.ts | 0 .../visualizations/common/content_management/v1/index.ts | 0 .../visualizations/common/content_management/v1/types.ts | 0 .../visualizations/common/convert_to_lens/constants.ts | 0 .../visualizations/common/convert_to_lens/index.ts | 0 .../common/convert_to_lens/lib/buckets/index.test.ts | 0 .../common/convert_to_lens/lib/buckets/index.ts | 0 .../common/convert_to_lens/lib/configurations/index.ts | 0 .../convert_to_lens/lib/configurations/palette.test.ts | 0 .../common/convert_to_lens/lib/configurations/palette.ts | 0 .../lib/configurations/percentage_mode.test.ts | 0 .../convert_to_lens/lib/configurations/percentage_mode.ts | 0 .../common/convert_to_lens/lib/configurations/types.ts | 0 .../common/convert_to_lens/lib/convert/column.test.ts | 0 .../common/convert_to_lens/lib/convert/column.ts | 0 .../common/convert_to_lens/lib/convert/constants.ts | 0 .../convert_to_lens/lib/convert/date_histogram.test.ts | 0 .../common/convert_to_lens/lib/convert/date_histogram.ts | 0 .../common/convert_to_lens/lib/convert/filters.test.ts | 0 .../common/convert_to_lens/lib/convert/filters.ts | 0 .../common/convert_to_lens/lib/convert/formula.test.ts | 0 .../common/convert_to_lens/lib/convert/formula.ts | 0 .../common/convert_to_lens/lib/convert/index.ts | 0 .../common/convert_to_lens/lib/convert/last_value.test.ts | 0 .../common/convert_to_lens/lib/convert/last_value.ts | 0 .../common/convert_to_lens/lib/convert/metric.test.ts | 0 .../common/convert_to_lens/lib/convert/metric.ts | 0 .../convert_to_lens/lib/convert/parent_pipeline.test.ts | 0 .../common/convert_to_lens/lib/convert/parent_pipeline.ts | 0 .../convert_to_lens/lib/convert/percentage_mode.test.ts | 0 .../common/convert_to_lens/lib/convert/percentage_mode.ts | 0 .../common/convert_to_lens/lib/convert/percentile.test.ts | 0 .../common/convert_to_lens/lib/convert/percentile.ts | 0 .../convert_to_lens/lib/convert/percentile_rank.test.ts | 0 .../common/convert_to_lens/lib/convert/percentile_rank.ts | 0 .../common/convert_to_lens/lib/convert/range.test.ts | 0 .../common/convert_to_lens/lib/convert/range.ts | 0 .../convert_to_lens/lib/convert/sibling_pipeline.test.ts | 0 .../convert_to_lens/lib/convert/sibling_pipeline.ts | 0 .../common/convert_to_lens/lib/convert/static_value.ts | 0 .../convert_to_lens/lib/convert/std_deviation.test.ts | 0 .../common/convert_to_lens/lib/convert/std_deviation.ts | 0 .../convert_to_lens/lib/convert/supported_metrics.ts | 0 .../common/convert_to_lens/lib/convert/terms.test.ts | 0 .../common/convert_to_lens/lib/convert/terms.ts | 0 .../common/convert_to_lens/lib/convert/types.ts | 0 .../visualizations/common/convert_to_lens/lib/index.ts | 0 .../common/convert_to_lens/lib/metrics/formula.test.ts | 0 .../common/convert_to_lens/lib/metrics/formula.ts | 0 .../common/convert_to_lens/lib/metrics/index.ts | 0 .../common/convert_to_lens/lib/metrics/metrics.test.ts | 0 .../common/convert_to_lens/lib/metrics/metrics.ts | 0 .../lib/metrics/percentage_formula.test.ts | 0 .../convert_to_lens/lib/metrics/percentage_formula.ts | 0 .../common/convert_to_lens/lib/utils.test.ts | 0 .../visualizations/common/convert_to_lens/lib/utils.ts | 0 .../common/convert_to_lens/types/columns.ts | 0 .../visualizations/common/convert_to_lens/types/common.ts | 0 .../common/convert_to_lens/types/configurations.ts | 0 .../common/convert_to_lens/types/context.ts | 0 .../visualizations/common/convert_to_lens/types/index.ts | 0 .../common/convert_to_lens/types/operations.ts | 0 .../visualizations/common/convert_to_lens/types/params.ts | 0 .../visualizations/common/convert_to_lens/utils.ts | 0 .../visualizations/common/expression_functions/index.ts | 0 .../visualizations/common/expression_functions/range.ts | 0 .../common/expression_functions/vis_dimension.test.ts | 0 .../common/expression_functions/vis_dimension.ts | 0 .../common/expression_functions/xy_dimension.ts | 0 .../plugins/shared}/visualizations/common/index.ts | 0 .../plugins/shared}/visualizations/common/locator.test.ts | 0 .../plugins/shared}/visualizations/common/locator.ts | 0 .../shared}/visualizations/common/locator_location.ts | 0 .../plugins/shared}/visualizations/common/types.ts | 0 .../shared}/visualizations/common/utils/accessors.ts | 0 .../plugins/shared}/visualizations/common/utils/index.ts | 0 .../shared}/visualizations/common/utils/palette.ts | 0 .../visualizations/common/utils/prepare_log_table.test.ts | 0 .../visualizations/common/utils/prepare_log_table.ts | 0 .../plugins/shared}/visualizations/common/vis_schemas.ts | 0 .../plugins/shared}/visualizations/jest.config.js | 8 ++++---- .../plugins/shared}/visualizations/kibana.jsonc | 0 .../public/actions/add_agg_vis_action.test.ts | 0 .../visualizations/public/actions/add_agg_vis_action.ts | 0 .../visualizations/public/actions/edit_in_lens_action.tsx | 0 .../__snapshots__/visualization_noresults.test.js.snap | 0 .../shared}/visualizations/public/components/index.ts | 0 .../public/components/visualization_container.tsx | 0 .../public/components/visualization_error.tsx | 0 .../visualization_missed_saved_object_error.tsx | 0 .../public/components/visualization_noresults.test.js | 0 .../public/components/visualization_noresults.tsx | 0 .../visualizations/public/content_management/index.ts | 0 .../public/content_management/visualization_client.ts | 0 .../visualizations/public/convert_to_lens/datasource.ts | 0 .../visualizations/public/convert_to_lens/index.ts | 0 .../visualizations/public/convert_to_lens/schemas.test.ts | 0 .../visualizations/public/convert_to_lens/schemas.ts | 0 .../visualizations/public/convert_to_lens/utils.test.ts | 0 .../visualizations/public/convert_to_lens/utils.ts | 0 .../public/embeddable/create_vis_instance.ts | 0 .../shared}/visualizations/public/embeddable/events.ts | 0 .../public/embeddable/get_expression_renderer_props.ts | 0 .../embeddable/get_visualize_embeddable_factory_lazy.ts | 0 .../shared}/visualizations/public/embeddable/index.ts | 0 .../public/embeddable/initialize_edit_api.ts | 0 .../embeddable/interfaces/has_expression_variables.ts | 0 .../public/embeddable/interfaces/has_visualize_config.ts | 0 .../visualizations/public/embeddable/save_to_library.ts | 0 .../visualizations/public/embeddable/state.test.ts | 0 .../shared}/visualizations/public/embeddable/state.ts | 0 .../shared}/visualizations/public/embeddable/to_ast.ts | 0 .../shared}/visualizations/public/embeddable/types.ts | 0 .../public/embeddable/visualize_embeddable.tsx | 0 .../plugins/shared}/visualizations/public/index.ts | 0 .../visualizations/public/legacy/embeddable/constants.ts | 0 .../embeddable/create_vis_embeddable_from_object.ts | 0 .../public/legacy/embeddable/embeddables.scss | 0 .../visualizations/public/legacy/embeddable/index.ts | 0 .../public/legacy/embeddable/visualize_embeddable.tsx | 0 .../legacy/embeddable/visualize_embeddable_async.ts | 0 .../embeddable/visualize_embeddable_factory.test.ts | 0 .../legacy/embeddable/visualize_embeddable_factory.tsx | 0 .../shared}/visualizations/public/legacy/memoize.test.ts | 0 .../shared}/visualizations/public/legacy/memoize.ts | 0 .../visualizations/public/legacy/vis_update_state.d.ts | 0 .../visualizations/public/legacy/vis_update_state.js | 0 .../visualizations/public/legacy/vis_update_state.stub.js | 0 .../visualizations/public/legacy/vis_update_state.test.js | 0 .../plugins/shared}/visualizations/public/mocks.ts | 0 .../visualizations/public/persisted_state/index.ts | 0 .../public/persisted_state/persisted_state.ts | 0 .../persisted_state/persisted_state_provider.test.ts | 0 .../plugins/shared}/visualizations/public/plugin.ts | 0 .../plugins/shared}/visualizations/public/services.ts | 0 .../shared}/visualizations/public/triggers/index.ts | 0 .../plugins/shared}/visualizations/public/types.ts | 0 .../saved_objects_utils/check_for_duplicate_title.ts | 0 .../utils/saved_objects_utils/confirm_modal_promise.tsx | 0 .../public/utils/saved_objects_utils/constants.ts | 0 .../display_duplicate_title_confirm_modal.ts | 0 .../saved_objects_utils/find_object_by_title.test.ts | 0 .../utils/saved_objects_utils/find_object_by_title.ts | 0 .../public/utils/saved_objects_utils/index.ts | 0 .../saved_objects_utils/save_with_confirmation.test.ts | 0 .../utils/saved_objects_utils/save_with_confirmation.ts | 0 .../utils/saved_objects_utils/update_basic_attributes.ts | 0 .../saved_visualization_references/controls_references.ts | 0 .../public/utils/saved_visualization_references/index.ts | 0 .../saved_visualization_references.test.ts | 0 .../saved_visualization_references.ts | 0 .../timeseries_references.ts | 0 .../public/utils/saved_visualize_utils.test.ts | 0 .../visualizations/public/utils/saved_visualize_utils.ts | 0 .../plugins/shared}/visualizations/public/vis.scss | 0 .../plugins/shared}/visualizations/public/vis.test.ts | 0 .../plugins/shared}/visualizations/public/vis.ts | 0 .../plugins/shared}/visualizations/public/vis_async.ts | 0 .../shared}/visualizations/public/vis_editors_registry.ts | 0 .../plugins/shared}/visualizations/public/vis_schemas.ts | 0 .../visualizations/public/vis_types/base_vis_type.test.ts | 0 .../visualizations/public/vis_types/base_vis_type.ts | 0 .../shared}/visualizations/public/vis_types/index.ts | 0 .../shared}/visualizations/public/vis_types/schemas.ts | 0 .../shared}/visualizations/public/vis_types/types.ts | 0 .../visualizations/public/vis_types/types_service.ts | 0 .../visualizations/public/vis_types/vis_groups_enum.ts | 0 .../public/vis_types/vis_type_alias_registry.ts | 0 .../shared}/visualizations/public/visualize_app/app.scss | 0 .../shared}/visualizations/public/visualize_app/app.tsx | 0 .../visualize_app/components/experimental_vis_info.tsx | 0 .../public/visualize_app/components/index.ts | 0 .../visualize_app/components/visualize_byvalue_editor.tsx | 0 .../public/visualize_app/components/visualize_editor.scss | 0 .../public/visualize_app/components/visualize_editor.tsx | 0 .../components/visualize_editor_common.test.tsx | 0 .../visualize_app/components/visualize_editor_common.tsx | 0 .../visualize_app/components/visualize_listing.scss | 0 .../public/visualize_app/components/visualize_listing.tsx | 0 .../visualize_app/components/visualize_no_match.tsx | 0 .../public/visualize_app/components/visualize_top_nav.tsx | 0 .../public/visualize_app/components/viz_chart_warning.tsx | 0 .../visualizations/public/visualize_app/constants.ts | 0 .../shared}/visualizations/public/visualize_app/index.tsx | 0 .../shared}/visualizations/public/visualize_app/types.ts | 0 .../public/visualize_app/utils/breadcrumbs.ts | 0 .../utils/create_visualize_app_state.test.ts | 0 .../visualize_app/utils/create_visualize_app_state.ts | 0 .../public/visualize_app/utils/get_table_columns.tsx | 0 .../visualize_app/utils/get_top_nav_config.test.tsx | 0 .../public/visualize_app/utils/get_top_nav_config.tsx | 0 .../utils/get_visualization_instance.test.ts | 0 .../visualize_app/utils/get_visualization_instance.ts | 0 .../utils/get_visualize_list_item_link.test.ts | 0 .../visualize_app/utils/get_visualize_list_item_link.ts | 0 .../visualizations/public/visualize_app/utils/index.ts | 0 .../public/visualize_app/utils/migrate_app_state.ts | 0 .../public/visualize_app/utils/migrate_legacy_query.ts | 0 .../visualizations/public/visualize_app/utils/mocks.ts | 0 .../visualize_app/utils/split_chart_warning_helpers.ts | 0 .../visualizations/public/visualize_app/utils/stubs.ts | 0 .../public/visualize_app/utils/use/index.ts | 0 .../visualize_app/utils/use/use_chrome_visibility.test.ts | 0 .../visualize_app/utils/use/use_chrome_visibility.ts | 0 .../visualize_app/utils/use/use_data_view_updates.ts | 0 .../visualize_app/utils/use/use_editor_updates.test.ts | 0 .../public/visualize_app/utils/use/use_editor_updates.ts | 0 .../utils/use/use_linked_search_updates.test.ts | 0 .../visualize_app/utils/use/use_linked_search_updates.ts | 0 .../utils/use/use_saved_vis_instance.test.ts | 0 .../visualize_app/utils/use/use_saved_vis_instance.ts | 0 .../public/visualize_app/utils/use/use_vis_byvalue.ts | 0 .../utils/use/use_visualize_app_state.test.ts | 0 .../visualize_app/utils/use/use_visualize_app_state.tsx | 0 .../visualizations/public/visualize_app/utils/utils.ts | 0 .../public/visualize_app/utils/visualize_navigation.scss | 0 .../visualizations/public/visualize_screenshot_mode.scss | 0 .../agg_based_selection/agg_based_selection.test.tsx | 0 .../wizard/agg_based_selection/agg_based_selection.tsx | 0 .../public/wizard/agg_based_selection/index.ts | 0 .../shared}/visualizations/public/wizard/dialog.scss | 0 .../visualizations/public/wizard/dialog_navigation.tsx | 0 .../public/wizard/group_selection/group_selection.scss | 0 .../wizard/group_selection/group_selection.test.tsx | 0 .../public/wizard/group_selection/group_selection.tsx | 0 .../visualizations/public/wizard/group_selection/index.ts | 0 .../plugins/shared}/visualizations/public/wizard/index.ts | 0 .../visualizations/public/wizard/new_vis_modal.test.tsx | 0 .../visualizations/public/wizard/new_vis_modal.tsx | 0 .../public/wizard/search_selection/index.ts | 0 .../public/wizard/search_selection/search_selection.tsx | 0 .../wizard/search_selection/show_saved_object.test.ts | 0 .../public/wizard/search_selection/show_saved_object.ts | 0 .../shared}/visualizations/public/wizard/show_new_vis.tsx | 0 .../visualizations/server/capabilities_provider.ts | 0 .../server/content_management/cm_services.ts | 0 .../visualizations/server/content_management/index.ts | 0 .../server/content_management/v1/cm_services.ts | 0 .../server/content_management/visualization_storage.ts | 0 .../embeddable/make_visualize_embeddable_factory.test.ts | 0 .../embeddable/make_visualize_embeddable_factory.ts | 0 .../plugins/shared}/visualizations/server/index.ts | 0 .../server/migrations/visualization_common_migrations.ts | 0 .../visualization_saved_object_migrations.test.ts | 0 .../migrations/visualization_saved_object_migrations.ts | 0 .../plugins/shared}/visualizations/server/plugin.ts | 0 .../server/saved_objects/get_in_app_url.test.ts | 0 .../visualizations/server/saved_objects/get_in_app_url.ts | 0 .../shared}/visualizations/server/saved_objects/index.ts | 0 .../server/saved_objects/read_only_vis_type_registry.ts | 0 .../visualizations/server/saved_objects/visualization.ts | 0 .../plugins/shared}/visualizations/server/types.ts | 0 .../plugins/shared}/visualizations/tsconfig.json | 4 ++-- tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 264 files changed, 14 insertions(+), 14 deletions(-) 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 (100%) 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%) rename src/{plugins => platform/plugins/shared}/visualizations/jest.config.js (73%) 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/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/embeddables.scss (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/embeddable/visualize_embeddable_factory.test.ts (100%) rename src/{plugins => platform/plugins/shared}/visualizations/public/legacy/embeddable/visualize_embeddable_factory.tsx (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%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 281988898c129..b5e238f8ee3a2 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -653,6 +653,7 @@ src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql src/platform/plugins/shared/expressions @elastic/kibana-visualizations src/platform/plugins/shared/unified_search @elastic/kibana-visualizations src/platform/plugins/shared/vis_types/timeseries @elastic/kibana-visualizations +src/platform/plugins/shared/visualizations @elastic/kibana-visualizations src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant src/plugins/bfetch @elastic/appex-sharedux @@ -714,7 +715,6 @@ src/plugins/unified_doc_viewer @elastic/kibana-data-discovery src/plugins/unified_histogram @elastic/kibana-data-discovery src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_type_markdown @elastic/kibana-presentation -src/plugins/visualizations @elastic/kibana-visualizations test test/analytics/plugins/analytics_ftr_helpers @elastic/kibana-core test/analytics/plugins/analytics_plugin_a @elastic/kibana-core diff --git a/.i18nrc.json b/.i18nrc.json index b0c119bb1cd70..4ff644a0747e0 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -144,7 +144,7 @@ "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/plugins/visualizations", + "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/plugins/unified_doc_viewer", "packages/kbn-unified-doc-viewer"], 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/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index ebd7558f91522..6a9bf1f72719a 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -435,7 +435,7 @@ The plugin exposes the static DefaultEditorController class to consume. |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/visualizations[visualizations] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/visualizations[visualizations] |WARNING: Missing README. diff --git a/package.json b/package.json index 081f62653219b..89f7f9c2446f6 100644 --- a/package.json +++ b/package.json @@ -1020,7 +1020,7 @@ "@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/plugins/visualizations", + "@kbn/visualizations-plugin": "link:src/platform/plugins/shared/visualizations", "@kbn/watcher-plugin": "link:x-pack/plugins/watcher", "@kbn/xstate-utils": "link:packages/kbn-xstate-utils", "@kbn/zod": "link:packages/kbn-zod", diff --git a/src/plugins/visualizations/common/constants.ts b/src/platform/plugins/shared/visualizations/common/constants.ts similarity index 100% rename from src/plugins/visualizations/common/constants.ts rename to src/platform/plugins/shared/visualizations/common/constants.ts diff --git a/src/plugins/visualizations/common/content_management/constants.ts b/src/platform/plugins/shared/visualizations/common/content_management/constants.ts similarity index 100% rename from src/plugins/visualizations/common/content_management/constants.ts rename to src/platform/plugins/shared/visualizations/common/content_management/constants.ts diff --git a/src/plugins/visualizations/common/content_management/index.ts b/src/platform/plugins/shared/visualizations/common/content_management/index.ts similarity index 100% rename from src/plugins/visualizations/common/content_management/index.ts rename to src/platform/plugins/shared/visualizations/common/content_management/index.ts diff --git a/src/plugins/visualizations/common/content_management/latest.ts b/src/platform/plugins/shared/visualizations/common/content_management/latest.ts similarity index 100% rename from src/plugins/visualizations/common/content_management/latest.ts rename to src/platform/plugins/shared/visualizations/common/content_management/latest.ts diff --git a/src/plugins/visualizations/common/content_management/types.ts b/src/platform/plugins/shared/visualizations/common/content_management/types.ts similarity index 100% rename from src/plugins/visualizations/common/content_management/types.ts rename to src/platform/plugins/shared/visualizations/common/content_management/types.ts diff --git a/src/plugins/visualizations/common/content_management/v1/index.ts b/src/platform/plugins/shared/visualizations/common/content_management/v1/index.ts similarity index 100% rename from src/plugins/visualizations/common/content_management/v1/index.ts rename to src/platform/plugins/shared/visualizations/common/content_management/v1/index.ts diff --git a/src/plugins/visualizations/common/content_management/v1/types.ts b/src/platform/plugins/shared/visualizations/common/content_management/v1/types.ts similarity index 100% rename from src/plugins/visualizations/common/content_management/v1/types.ts rename to src/platform/plugins/shared/visualizations/common/content_management/v1/types.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/constants.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/constants.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/constants.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/constants.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/index.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/index.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/index.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/index.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/buckets/index.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/buckets/index.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/buckets/index.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/buckets/index.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/buckets/index.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/buckets/index.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/buckets/index.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/buckets/index.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/configurations/index.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/configurations/index.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/configurations/index.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/configurations/index.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/configurations/palette.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/configurations/palette.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/configurations/palette.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/configurations/palette.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/configurations/palette.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/configurations/palette.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/configurations/palette.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/configurations/palette.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/configurations/percentage_mode.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/configurations/percentage_mode.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/configurations/percentage_mode.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/configurations/percentage_mode.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/configurations/percentage_mode.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/configurations/percentage_mode.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/configurations/percentage_mode.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/configurations/percentage_mode.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/configurations/types.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/configurations/types.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/configurations/types.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/configurations/types.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/column.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/column.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/column.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/column.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/column.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/column.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/column.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/column.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/constants.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/constants.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/constants.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/constants.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/date_histogram.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/date_histogram.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/date_histogram.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/date_histogram.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/date_histogram.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/date_histogram.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/date_histogram.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/date_histogram.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/filters.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/filters.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/filters.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/filters.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/filters.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/filters.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/filters.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/filters.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/formula.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/formula.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/formula.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/formula.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/formula.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/formula.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/formula.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/formula.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/index.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/index.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/index.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/index.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/last_value.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/last_value.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/last_value.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/last_value.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/last_value.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/last_value.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/last_value.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/last_value.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/metric.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/metric.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/metric.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/metric.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/metric.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/metric.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/metric.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/metric.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/parent_pipeline.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/parent_pipeline.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/parent_pipeline.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/parent_pipeline.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/parent_pipeline.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/parent_pipeline.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/parent_pipeline.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/parent_pipeline.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/percentage_mode.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/percentage_mode.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/percentage_mode.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/percentage_mode.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/percentage_mode.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/percentage_mode.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/percentage_mode.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/percentage_mode.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/percentile.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/percentile.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/percentile.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/percentile.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/percentile.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/percentile.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/percentile.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/percentile.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/percentile_rank.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/percentile_rank.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/percentile_rank.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/percentile_rank.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/percentile_rank.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/percentile_rank.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/percentile_rank.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/percentile_rank.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/range.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/range.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/range.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/range.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/range.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/range.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/range.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/range.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/sibling_pipeline.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/sibling_pipeline.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/sibling_pipeline.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/sibling_pipeline.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/sibling_pipeline.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/sibling_pipeline.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/sibling_pipeline.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/sibling_pipeline.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/static_value.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/static_value.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/static_value.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/static_value.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/std_deviation.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/std_deviation.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/std_deviation.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/std_deviation.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/std_deviation.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/std_deviation.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/std_deviation.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/std_deviation.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/supported_metrics.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/supported_metrics.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/supported_metrics.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/supported_metrics.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/terms.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/terms.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/terms.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/terms.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/terms.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/terms.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/terms.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/terms.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/convert/types.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/types.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/convert/types.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/convert/types.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/index.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/index.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/index.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/index.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/metrics/formula.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/metrics/formula.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/metrics/formula.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/metrics/formula.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/metrics/formula.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/metrics/formula.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/metrics/formula.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/metrics/formula.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/metrics/index.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/metrics/index.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/metrics/index.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/metrics/index.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/metrics/metrics.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/metrics/metrics.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/metrics/metrics.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/metrics/metrics.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/metrics/metrics.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/metrics/metrics.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/metrics/metrics.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/metrics/metrics.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/metrics/percentage_formula.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/metrics/percentage_formula.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/metrics/percentage_formula.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/metrics/percentage_formula.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/metrics/percentage_formula.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/metrics/percentage_formula.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/metrics/percentage_formula.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/metrics/percentage_formula.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/utils.test.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/utils.test.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/utils.test.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/utils.test.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/lib/utils.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/utils.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/lib/utils.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/lib/utils.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/types/columns.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/types/columns.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/types/columns.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/types/columns.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/types/common.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/types/common.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/types/common.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/types/common.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/types/configurations.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/types/configurations.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/types/configurations.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/types/configurations.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/types/context.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/types/context.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/types/context.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/types/context.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/types/index.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/types/index.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/types/index.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/types/index.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/types/operations.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/types/operations.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/types/operations.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/types/operations.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/types/params.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/types/params.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/types/params.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/types/params.ts diff --git a/src/plugins/visualizations/common/convert_to_lens/utils.ts b/src/platform/plugins/shared/visualizations/common/convert_to_lens/utils.ts similarity index 100% rename from src/plugins/visualizations/common/convert_to_lens/utils.ts rename to src/platform/plugins/shared/visualizations/common/convert_to_lens/utils.ts diff --git a/src/plugins/visualizations/common/expression_functions/index.ts b/src/platform/plugins/shared/visualizations/common/expression_functions/index.ts similarity index 100% rename from src/plugins/visualizations/common/expression_functions/index.ts rename to src/platform/plugins/shared/visualizations/common/expression_functions/index.ts diff --git a/src/plugins/visualizations/common/expression_functions/range.ts b/src/platform/plugins/shared/visualizations/common/expression_functions/range.ts similarity index 100% rename from src/plugins/visualizations/common/expression_functions/range.ts rename to src/platform/plugins/shared/visualizations/common/expression_functions/range.ts diff --git a/src/plugins/visualizations/common/expression_functions/vis_dimension.test.ts b/src/platform/plugins/shared/visualizations/common/expression_functions/vis_dimension.test.ts similarity index 100% rename from src/plugins/visualizations/common/expression_functions/vis_dimension.test.ts rename to src/platform/plugins/shared/visualizations/common/expression_functions/vis_dimension.test.ts diff --git a/src/plugins/visualizations/common/expression_functions/vis_dimension.ts b/src/platform/plugins/shared/visualizations/common/expression_functions/vis_dimension.ts similarity index 100% rename from src/plugins/visualizations/common/expression_functions/vis_dimension.ts rename to src/platform/plugins/shared/visualizations/common/expression_functions/vis_dimension.ts diff --git a/src/plugins/visualizations/common/expression_functions/xy_dimension.ts b/src/platform/plugins/shared/visualizations/common/expression_functions/xy_dimension.ts similarity index 100% rename from src/plugins/visualizations/common/expression_functions/xy_dimension.ts rename to src/platform/plugins/shared/visualizations/common/expression_functions/xy_dimension.ts diff --git a/src/plugins/visualizations/common/index.ts b/src/platform/plugins/shared/visualizations/common/index.ts similarity index 100% rename from src/plugins/visualizations/common/index.ts rename to src/platform/plugins/shared/visualizations/common/index.ts diff --git a/src/plugins/visualizations/common/locator.test.ts b/src/platform/plugins/shared/visualizations/common/locator.test.ts similarity index 100% rename from src/plugins/visualizations/common/locator.test.ts rename to src/platform/plugins/shared/visualizations/common/locator.test.ts diff --git a/src/plugins/visualizations/common/locator.ts b/src/platform/plugins/shared/visualizations/common/locator.ts similarity index 100% rename from src/plugins/visualizations/common/locator.ts rename to src/platform/plugins/shared/visualizations/common/locator.ts diff --git a/src/plugins/visualizations/common/locator_location.ts b/src/platform/plugins/shared/visualizations/common/locator_location.ts similarity index 100% rename from src/plugins/visualizations/common/locator_location.ts rename to src/platform/plugins/shared/visualizations/common/locator_location.ts diff --git a/src/plugins/visualizations/common/types.ts b/src/platform/plugins/shared/visualizations/common/types.ts similarity index 100% rename from src/plugins/visualizations/common/types.ts rename to src/platform/plugins/shared/visualizations/common/types.ts diff --git a/src/plugins/visualizations/common/utils/accessors.ts b/src/platform/plugins/shared/visualizations/common/utils/accessors.ts similarity index 100% rename from src/plugins/visualizations/common/utils/accessors.ts rename to src/platform/plugins/shared/visualizations/common/utils/accessors.ts diff --git a/src/plugins/visualizations/common/utils/index.ts b/src/platform/plugins/shared/visualizations/common/utils/index.ts similarity index 100% rename from src/plugins/visualizations/common/utils/index.ts rename to src/platform/plugins/shared/visualizations/common/utils/index.ts diff --git a/src/plugins/visualizations/common/utils/palette.ts b/src/platform/plugins/shared/visualizations/common/utils/palette.ts similarity index 100% rename from src/plugins/visualizations/common/utils/palette.ts rename to src/platform/plugins/shared/visualizations/common/utils/palette.ts diff --git a/src/plugins/visualizations/common/utils/prepare_log_table.test.ts b/src/platform/plugins/shared/visualizations/common/utils/prepare_log_table.test.ts similarity index 100% rename from src/plugins/visualizations/common/utils/prepare_log_table.test.ts rename to src/platform/plugins/shared/visualizations/common/utils/prepare_log_table.test.ts diff --git a/src/plugins/visualizations/common/utils/prepare_log_table.ts b/src/platform/plugins/shared/visualizations/common/utils/prepare_log_table.ts similarity index 100% rename from src/plugins/visualizations/common/utils/prepare_log_table.ts rename to src/platform/plugins/shared/visualizations/common/utils/prepare_log_table.ts diff --git a/src/plugins/visualizations/common/vis_schemas.ts b/src/platform/plugins/shared/visualizations/common/vis_schemas.ts similarity index 100% rename from src/plugins/visualizations/common/vis_schemas.ts rename to src/platform/plugins/shared/visualizations/common/vis_schemas.ts diff --git a/src/plugins/visualizations/jest.config.js b/src/platform/plugins/shared/visualizations/jest.config.js similarity index 73% rename from src/plugins/visualizations/jest.config.js rename to src/platform/plugins/shared/visualizations/jest.config.js index 50f7976d262ee..897933b9708a3 100644 --- a/src/plugins/visualizations/jest.config.js +++ b/src/platform/plugins/shared/visualizations/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/visualizations'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/visualizations', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/visualizations'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/visualizations', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/visualizations/{common,public,server}/**/*.{js,ts,tsx}', + '/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/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/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/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/embeddable/visualize_embeddable_factory.test.ts b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/visualize_embeddable_factory.test.ts similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable_factory.test.ts rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/visualize_embeddable_factory.test.ts diff --git a/src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable_factory.tsx b/src/platform/plugins/shared/visualizations/public/legacy/embeddable/visualize_embeddable_factory.tsx similarity index 100% rename from src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable_factory.tsx rename to src/platform/plugins/shared/visualizations/public/legacy/embeddable/visualize_embeddable_factory.tsx 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 51deaf4139aa2..3cbc57b7e333a 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/tsconfig.base.json b/tsconfig.base.json index e96239a0bb4ad..f54575272b937 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2048,8 +2048,8 @@ "@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/plugins/visualizations"], - "@kbn/visualizations-plugin/*": ["src/plugins/visualizations/*"], + "@kbn/visualizations-plugin": ["src/platform/plugins/shared/visualizations"], + "@kbn/visualizations-plugin/*": ["src/platform/plugins/shared/visualizations/*"], "@kbn/watcher-plugin": ["x-pack/plugins/watcher"], "@kbn/watcher-plugin/*": ["x-pack/plugins/watcher/*"], "@kbn/web-worker-stub": ["packages/kbn-web-worker-stub"], diff --git a/yarn.lock b/yarn.lock index af5956ce0e1b8..b8141fab9dce1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7912,7 +7912,7 @@ 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 "" From 5b924d5e434c89fd57f24b7ff46cc02319640c15 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:47:40 +0000 Subject: [PATCH 48/51] [CI] Auto-commit changed files from 'node scripts/telemetry_check' --- .../telemetry/schema/oss_platform.json | 42 ++++++++++++++++++- src/plugins/telemetry/schema/oss_plugins.json | 39 ----------------- 2 files changed, 41 insertions(+), 40 deletions(-) diff --git a/src/plugins/telemetry/schema/oss_platform.json b/src/plugins/telemetry/schema/oss_platform.json index d5b0514b64918..d25e9a0b9302c 100644 --- a/src/plugins/telemetry/schema/oss_platform.json +++ b/src/plugins/telemetry/schema/oss_platform.json @@ -1,3 +1,43 @@ { - "properties": {} + "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" + } + } + } + } } diff --git a/src/plugins/telemetry/schema/oss_plugins.json b/src/plugins/telemetry/schema/oss_plugins.json index 8ba1367641679..1e87599da7256 100644 --- a/src/plugins/telemetry/schema/oss_plugins.json +++ b/src/plugins/telemetry/schema/oss_plugins.json @@ -10139,19 +10139,6 @@ } } }, - "kql": { - "properties": { - "optInCount": { - "type": "long" - }, - "optOutCount": { - "type": "long" - }, - "defaultQueryLanguage": { - "type": "keyword" - } - } - }, "localization": { "properties": { "locale": { @@ -10250,32 +10237,6 @@ } } }, - "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": { From 25d2b49fad08124eecb14482e0255f1ae0c8ca4a Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 9 Dec 2024 16:10:20 +0000 Subject: [PATCH 49/51] [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' --- .eslintrc.js | 4 +++- src/dev/storybook/aliases.ts | 9 ++++++--- .../src/plugins/chart_expressions/common/jest.config.js | 4 +++- .../plugins/private/event_annotation/jest.config.js | 3 ++- .../private/event_annotation_listing/jest.config.js | 3 ++- .../plugins/private/url_forwarding/jest.config.js | 7 +++++-- .../plugins/private/url_forwarding/public/index.ts | 1 - .../plugins/private/vis_default_editor/jest.config.js | 7 +++++-- .../plugins/private/vis_types/gauge/jest.config.js | 3 ++- .../plugins/private/vis_types/heatmap/jest.config.js | 3 ++- .../plugins/private/vis_types/metric/jest.config.js | 7 +++++-- .../plugins/private/vis_types/pie/jest.config.js | 7 +++++-- .../plugins/private/vis_types/table/jest.config.js | 3 ++- .../plugins/private/vis_types/tagcloud/jest.config.js | 7 +++++-- .../plugins/private/vis_types/timelion/jest.config.js | 3 ++- .../plugins/private/vis_types/vega/jest.config.js | 7 +++++-- .../plugins/private/vis_types/vislib/jest.config.js | 3 ++- src/platform/plugins/private/vis_types/xy/jest.config.js | 7 +++++-- src/platform/plugins/shared/charts/jest.config.js | 4 +++- src/platform/plugins/shared/charts/public/index.ts | 1 - src/platform/plugins/shared/data/common/index.ts | 1 - src/platform/plugins/shared/data/jest.config.js | 4 +++- src/platform/plugins/shared/expressions/jest.config.js | 7 +++++-- .../plugins/shared/expressions/public/loader.test.ts | 2 +- .../plugins/shared/unified_search/jest.config.js | 7 +++++-- .../plugins/shared/vis_types/timeseries/jest.config.js | 3 ++- .../plugins/shared/visualizations/common/index.ts | 1 - .../plugins/shared/visualizations/jest.config.js | 3 ++- src/plugins/custom_integrations/jest.config.js | 4 +++- .../packages/private/kbn-random-sampling/jest.config.js | 7 +++++-- x-pack/platform/plugins/private/graph/jest.config.js | 4 +++- x-pack/platform/plugins/shared/lens/jest.config.js | 4 +++- 32 files changed, 96 insertions(+), 44 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 12066d61b9022..6602d7a910f27 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -595,7 +595,9 @@ module.exports = { * venn.js fork requires special license headers */ { - files: ['x-pack/platform/plugins/private/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', diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 4ad6ff65c2466..9c2c69afff39d 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -35,13 +35,16 @@ export const storybookAliases = { expandable_flyout: 'packages/kbn-expandable-flyout/.storybook', expression_error: 'src/plugins/expression_error/.storybook', expression_image: 'src/plugins/expression_image/.storybook', - expression_metric_vis: 'src/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook', + expression_metric_vis: + 'src/platform/plugins/shared/chart_expressions/expression_legacy_metric/.storybook', expression_metric: 'src/plugins/expression_metric/.storybook', - expression_partition_vis: 'src/platform/plugins/shared/chart_expressions/expression_partition_vis/.storybook', + expression_partition_vis: + 'src/platform/plugins/shared/chart_expressions/expression_partition_vis/.storybook', expression_repeat_image: 'src/plugins/expression_repeat_image/.storybook', expression_reveal_image: 'src/plugins/expression_reveal_image/.storybook', expression_shape: 'src/plugins/expression_shape/.storybook', - expression_tagcloud: 'src/platform/plugins/shared/chart_expressions/expression_tagcloud/.storybook', + expression_tagcloud: + 'src/platform/plugins/shared/chart_expressions/expression_tagcloud/.storybook', fleet: 'x-pack/plugins/fleet/.storybook', grouping: 'packages/kbn-grouping/.storybook', home: 'src/plugins/home/.storybook', diff --git a/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/jest.config.js b/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/jest.config.js index 6e85d187b33cc..fb622bf640aa4 100644 --- a/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/jest.config.js +++ b/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/jest.config.js @@ -10,5 +10,7 @@ module.exports = { preset: '@kbn/test/jest_node', rootDir: '../../../../../../../../../../../../../../../..', - roots: ['/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common'], + roots: [ + '/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common', + ], }; diff --git a/src/platform/plugins/private/event_annotation/jest.config.js b/src/platform/plugins/private/event_annotation/jest.config.js index 52b7028706bc8..39dbe120fbcb9 100644 --- a/src/platform/plugins/private/event_annotation/jest.config.js +++ b/src/platform/plugins/private/event_annotation/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/private/event_annotation'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/event_annotation', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/event_annotation', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/private/event_annotation/{common,public,server}/**/*.{ts,tsx}', diff --git a/src/platform/plugins/private/event_annotation_listing/jest.config.js b/src/platform/plugins/private/event_annotation_listing/jest.config.js index 5efbf5369b3bc..c6f66690b199f 100644 --- a/src/platform/plugins/private/event_annotation_listing/jest.config.js +++ b/src/platform/plugins/private/event_annotation_listing/jest.config.js @@ -11,7 +11,8 @@ 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', + 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}', diff --git a/src/platform/plugins/private/url_forwarding/jest.config.js b/src/platform/plugins/private/url_forwarding/jest.config.js index a41ba03f4f9b5..ed7f9d4cb0d5d 100644 --- a/src/platform/plugins/private/url_forwarding/jest.config.js +++ b/src/platform/plugins/private/url_forwarding/jest.config.js @@ -11,7 +11,10 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/private/url_forwarding'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/url_forwarding', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/url_forwarding', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/private/url_forwarding/public/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/private/url_forwarding/public/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/private/url_forwarding/public/index.ts b/src/platform/plugins/private/url_forwarding/public/index.ts index 81d14cfd5e1b3..8da437d81dbf4 100644 --- a/src/platform/plugins/private/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/platform/plugins/private/vis_default_editor/jest.config.js b/src/platform/plugins/private/vis_default_editor/jest.config.js index f19ca9a0671b0..9b0478534745c 100644 --- a/src/platform/plugins/private/vis_default_editor/jest.config.js +++ b/src/platform/plugins/private/vis_default_editor/jest.config.js @@ -11,7 +11,10 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/private/vis_default_editor'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/vis_default_editor', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_default_editor', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/private/vis_default_editor/public/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_default_editor/public/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/private/vis_types/gauge/jest.config.js b/src/platform/plugins/private/vis_types/gauge/jest.config.js index 07e6fc53821e9..03e931c487cfa 100644 --- a/src/platform/plugins/private/vis_types/gauge/jest.config.js +++ b/src/platform/plugins/private/vis_types/gauge/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../../..', roots: ['/src/platform/plugins/private/vis_types/gauge'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/gauge', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/gauge', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/private/vis_types/gauge/{common,public,server}/**/*.{ts,tsx}', diff --git a/src/platform/plugins/private/vis_types/heatmap/jest.config.js b/src/platform/plugins/private/vis_types/heatmap/jest.config.js index a616d0d6c5f24..0b06b519839bd 100644 --- a/src/platform/plugins/private/vis_types/heatmap/jest.config.js +++ b/src/platform/plugins/private/vis_types/heatmap/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../../..', roots: ['/src/platform/plugins/private/vis_types/heatmap'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/heatmap', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/heatmap', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/private/vis_types/heatmap/{common,public,server}/**/*.{ts,tsx}', diff --git a/src/platform/plugins/private/vis_types/metric/jest.config.js b/src/platform/plugins/private/vis_types/metric/jest.config.js index 3a9e7f41bfa43..bc7b4f516395b 100644 --- a/src/platform/plugins/private/vis_types/metric/jest.config.js +++ b/src/platform/plugins/private/vis_types/metric/jest.config.js @@ -11,7 +11,10 @@ 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', + 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}'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_types/metric/{public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/private/vis_types/pie/jest.config.js b/src/platform/plugins/private/vis_types/pie/jest.config.js index 8e957d59a8fe6..55d69a830a1e7 100644 --- a/src/platform/plugins/private/vis_types/pie/jest.config.js +++ b/src/platform/plugins/private/vis_types/pie/jest.config.js @@ -11,7 +11,10 @@ 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', + 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}'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_types/pie/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/private/vis_types/table/jest.config.js b/src/platform/plugins/private/vis_types/table/jest.config.js index 3949a70ea5ace..5fa8fc0c3297c 100644 --- a/src/platform/plugins/private/vis_types/table/jest.config.js +++ b/src/platform/plugins/private/vis_types/table/jest.config.js @@ -11,7 +11,8 @@ 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', + 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/platform/plugins/private/vis_types/tagcloud/jest.config.js b/src/platform/plugins/private/vis_types/tagcloud/jest.config.js index 09f7b87503eec..d1c2241eeaa09 100644 --- a/src/platform/plugins/private/vis_types/tagcloud/jest.config.js +++ b/src/platform/plugins/private/vis_types/tagcloud/jest.config.js @@ -11,7 +11,10 @@ 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', + 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}'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_types/tagcloud/{public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/private/vis_types/timelion/jest.config.js b/src/platform/plugins/private/vis_types/timelion/jest.config.js index fa02dc049074a..6d8e58b69358a 100644 --- a/src/platform/plugins/private/vis_types/timelion/jest.config.js +++ b/src/platform/plugins/private/vis_types/timelion/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../../..', roots: ['/src/platform/plugins/private/vis_types/timelion'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/timelion', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_types/timelion', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/private/vis_types/timelion/{common,public,server}/**/*.{js,ts,tsx}', diff --git a/src/platform/plugins/private/vis_types/vega/jest.config.js b/src/platform/plugins/private/vis_types/vega/jest.config.js index aef3aa6d6d68a..65e1dfb519238 100644 --- a/src/platform/plugins/private/vis_types/vega/jest.config.js +++ b/src/platform/plugins/private/vis_types/vega/jest.config.js @@ -11,7 +11,10 @@ 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', + 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}'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_types/vega/{public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/src/platform/plugins/private/vis_types/vislib/jest.config.js b/src/platform/plugins/private/vis_types/vislib/jest.config.js index cd8adf1a6b702..c3375bc07f43f 100644 --- a/src/platform/plugins/private/vis_types/vislib/jest.config.js +++ b/src/platform/plugins/private/vis_types/vislib/jest.config.js @@ -11,7 +11,8 @@ 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', + 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/platform/plugins/private/vis_types/xy/jest.config.js b/src/platform/plugins/private/vis_types/xy/jest.config.js index e5b45ce92a010..481d3f78a8797 100644 --- a/src/platform/plugins/private/vis_types/xy/jest.config.js +++ b/src/platform/plugins/private/vis_types/xy/jest.config.js @@ -11,7 +11,10 @@ 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', + 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}'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_types/xy/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/shared/charts/jest.config.js b/src/platform/plugins/shared/charts/jest.config.js index c3205af188583..1979443fbd6ee 100644 --- a/src/platform/plugins/shared/charts/jest.config.js +++ b/src/platform/plugins/shared/charts/jest.config.js @@ -13,5 +13,7 @@ module.exports = { roots: ['/src/platform/plugins/shared/charts'], coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/charts', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/shared/charts/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/charts/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/shared/charts/public/index.ts b/src/platform/plugins/shared/charts/public/index.ts index 6b70018ac5901..33b70e86cd027 100644 --- a/src/platform/plugins/shared/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/platform/plugins/shared/data/common/index.ts b/src/platform/plugins/shared/data/common/index.ts index 485978479b347..f802d0560f70f 100644 --- a/src/platform/plugins/shared/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/platform/plugins/shared/data/jest.config.js b/src/platform/plugins/shared/data/jest.config.js index 23d674028f945..332abc7b38cd6 100644 --- a/src/platform/plugins/shared/data/jest.config.js +++ b/src/platform/plugins/shared/data/jest.config.js @@ -13,5 +13,7 @@ module.exports = { roots: ['/src/platform/plugins/shared/data'], coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/data', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/shared/data/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/data/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/shared/expressions/jest.config.js b/src/platform/plugins/shared/expressions/jest.config.js index 8547de8897b85..c371bb45eb2f7 100644 --- a/src/platform/plugins/shared/expressions/jest.config.js +++ b/src/platform/plugins/shared/expressions/jest.config.js @@ -11,7 +11,10 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/shared/expressions'], - coverageDirectory: '/target/kibana-coverage/jest/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}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/expressions/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/shared/expressions/public/loader.test.ts b/src/platform/plugins/shared/expressions/public/loader.test.ts index e31ce3e98149c..b3098bfd8dd0a 100644 --- a/src/platform/plugins/shared/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/platform/plugins/shared/unified_search/jest.config.js b/src/platform/plugins/shared/unified_search/jest.config.js index 8177d2e6ad29b..5e3e6964bc3f2 100644 --- a/src/platform/plugins/shared/unified_search/jest.config.js +++ b/src/platform/plugins/shared/unified_search/jest.config.js @@ -11,8 +11,11 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/shared/unified_search'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/unified_search', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/unified_search', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/shared/unified_search/public/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/unified_search/public/**/*.{ts,tsx}', + ], setupFiles: ['jest-canvas-mock'], }; diff --git a/src/platform/plugins/shared/vis_types/timeseries/jest.config.js b/src/platform/plugins/shared/vis_types/timeseries/jest.config.js index 3c266589e9a38..887cc1c8d2619 100644 --- a/src/platform/plugins/shared/vis_types/timeseries/jest.config.js +++ b/src/platform/plugins/shared/vis_types/timeseries/jest.config.js @@ -11,7 +11,8 @@ 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', + 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/platform/plugins/shared/visualizations/common/index.ts b/src/platform/plugins/shared/visualizations/common/index.ts index 1bdec4caa2070..353adcef8603f 100644 --- a/src/platform/plugins/shared/visualizations/common/index.ts +++ b/src/platform/plugins/shared/visualizations/common/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110891 -/* eslint-disable @kbn/eslint/no_export_all */ /** @public types */ export * from './types'; diff --git a/src/platform/plugins/shared/visualizations/jest.config.js b/src/platform/plugins/shared/visualizations/jest.config.js index 897933b9708a3..a086d950bc5ac 100644 --- a/src/platform/plugins/shared/visualizations/jest.config.js +++ b/src/platform/plugins/shared/visualizations/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/shared/visualizations'], - coverageDirectory: '/target/kibana-coverage/jest/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/custom_integrations/jest.config.js b/src/plugins/custom_integrations/jest.config.js index 5b484a2804f96..8c7b58d55e5a7 100644 --- a/src/plugins/custom_integrations/jest.config.js +++ b/src/plugins/custom_integrations/jest.config.js @@ -13,5 +13,7 @@ module.exports = { roots: ['/src/plugins/custom_integrations'], coverageDirectory: '/target/kibana-coverage/jest/src/plugins/custom_integrations', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/shared/data/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/data/{common,public,server}/**/*.{ts,tsx}', + ], }; 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 index 67703da61545c..270828d337062 100644 --- a/x-pack/platform/packages/private/kbn-random-sampling/jest.config.js +++ b/x-pack/platform/packages/private/kbn-random-sampling/jest.config.js @@ -9,7 +9,10 @@ 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', + 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}'], + collectCoverageFrom: [ + '/x-pack/platform/packages/private/kbn-random-sampling/public/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/platform/plugins/private/graph/jest.config.js b/x-pack/platform/plugins/private/graph/jest.config.js index 1963046343119..6748b50f3eed0 100644 --- a/x-pack/platform/plugins/private/graph/jest.config.js +++ b/x-pack/platform/plugins/private/graph/jest.config.js @@ -11,5 +11,7 @@ module.exports = { roots: ['/x-pack/platform/plugins/private/graph'], coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/private/graph', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/platform/plugins/private/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/platform/plugins/shared/lens/jest.config.js b/x-pack/platform/plugins/shared/lens/jest.config.js index 6a2addc009cb5..58bcb55d693c0 100644 --- a/x-pack/platform/plugins/shared/lens/jest.config.js +++ b/x-pack/platform/plugins/shared/lens/jest.config.js @@ -11,6 +11,8 @@ module.exports = { roots: ['/x-pack/platform/plugins/shared/lens'], coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/lens', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/platform/plugins/shared/lens/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/lens/{common,public,server}/**/*.{ts,tsx}', + ], setupFiles: ['jest-canvas-mock'], }; From f8b387e1a516b8b4192c01df44cc7783fb9fbad6 Mon Sep 17 00:00:00 2001 From: nickofthyme Date: Wed, 11 Dec 2024 15:35:32 -0600 Subject: [PATCH 50/51] fix: bad path to `@kbn/chart-expressions-common` --- .github/CODEOWNERS | 4 ++-- package.json | 2 +- .../common => chart-expressions-common}/README.md | 0 .../color_categories.test.ts | 0 .../common => chart-expressions-common}/color_categories.ts | 0 .../common => chart-expressions-common}/index.ts | 0 .../common => chart-expressions-common}/jest.config.js | 6 ++---- .../common => chart-expressions-common}/kibana.jsonc | 0 .../common => chart-expressions-common}/package.json | 0 .../common => chart-expressions-common}/tsconfig.json | 2 +- .../common => chart-expressions-common}/types.ts | 0 .../common => chart-expressions-common}/utils.test.ts | 0 .../common => chart-expressions-common}/utils.ts | 0 tsconfig.base.json | 4 ++-- yarn.lock | 2 +- 15 files changed, 9 insertions(+), 11 deletions(-) rename src/platform/packages/shared/{Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common => chart-expressions-common}/README.md (100%) rename src/platform/packages/shared/{Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common => chart-expressions-common}/color_categories.test.ts (100%) rename src/platform/packages/shared/{Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common => chart-expressions-common}/color_categories.ts (100%) rename src/platform/packages/shared/{Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common => chart-expressions-common}/index.ts (100%) rename src/platform/packages/shared/{Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common => chart-expressions-common}/jest.config.js (68%) rename src/platform/packages/shared/{Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common => chart-expressions-common}/kibana.jsonc (100%) rename src/platform/packages/shared/{Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common => chart-expressions-common}/package.json (100%) rename src/platform/packages/shared/{Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common => chart-expressions-common}/tsconfig.json (81%) rename src/platform/packages/shared/{Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common => chart-expressions-common}/types.ts (100%) rename src/platform/packages/shared/{Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common => chart-expressions-common}/utils.test.ts (100%) rename src/platform/packages/shared/{Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common => chart-expressions-common}/utils.ts (100%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 809ebc5ba3575..95c4af79c429b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -627,7 +627,7 @@ src/platform/packages/shared/kbn-osquery-io-ts-types @elastic/security-asset-man src/platform/packages/shared/kbn-sort-predicates @elastic/kibana-visualizations 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/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations +src/platform/packages/shared/chart-expressions-common @elastic/kibana-visualizations src/platform/plugins/private/event_annotation @elastic/kibana-visualizations src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations src/platform/plugins/private/url_forwarding @elastic/kibana-visualizations @@ -3050,7 +3050,7 @@ src/platform/packages/shared/shared-ux/prompt/not_found @elastic/appex-sharedux src/platform/packages/shared/shared-ux/router/impl @elastic/appex-sharedux src/platform/packages/shared/shared-ux/storybook/mock @elastic/appex-sharedux src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/core @elastic/kibana-core -src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common @elastic/kibana-visualizations +src/platform/packages/shared/chart-expressions-common @elastic/kibana-visualizations 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 diff --git a/package.json b/package.json index 9cbcca45af15c..3df596d8ab9df 100644 --- a/package.json +++ b/package.json @@ -206,7 +206,7 @@ "@kbn/cases-plugin": "link:x-pack/plugins/cases", "@kbn/cbor": "link:packages/kbn-cbor", "@kbn/cell-actions": "link:packages/kbn-cell-actions", - "@kbn/chart-expressions-common": "link:src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common", + "@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/cloud": "link:packages/cloud", diff --git a/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/README.md b/src/platform/packages/shared/chart-expressions-common/README.md similarity index 100% rename from src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/README.md rename to src/platform/packages/shared/chart-expressions-common/README.md diff --git a/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/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/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/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/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/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/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/color_categories.ts rename to src/platform/packages/shared/chart-expressions-common/color_categories.ts diff --git a/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/index.ts b/src/platform/packages/shared/chart-expressions-common/index.ts similarity index 100% rename from src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/index.ts rename to src/platform/packages/shared/chart-expressions-common/index.ts diff --git a/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/jest.config.js b/src/platform/packages/shared/chart-expressions-common/jest.config.js similarity index 68% rename from src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/jest.config.js rename to src/platform/packages/shared/chart-expressions-common/jest.config.js index fb622bf640aa4..b5ba25d7a25f7 100644 --- a/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/jest.config.js +++ b/src/platform/packages/shared/chart-expressions-common/jest.config.js @@ -9,8 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../../../../../../../../../../../../../..', - roots: [ - '/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common', - ], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/chart-expressions-common'], }; diff --git a/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/kibana.jsonc b/src/platform/packages/shared/chart-expressions-common/kibana.jsonc similarity index 100% rename from src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/kibana.jsonc rename to src/platform/packages/shared/chart-expressions-common/kibana.jsonc diff --git a/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/package.json b/src/platform/packages/shared/chart-expressions-common/package.json similarity index 100% rename from src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/package.json rename to src/platform/packages/shared/chart-expressions-common/package.json diff --git a/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/tsconfig.json b/src/platform/packages/shared/chart-expressions-common/tsconfig.json similarity index 81% rename from src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/tsconfig.json rename to src/platform/packages/shared/chart-expressions-common/tsconfig.json index 7905ee3f22b66..23da1315eccdb 100644 --- a/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/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/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/types.ts b/src/platform/packages/shared/chart-expressions-common/types.ts similarity index 100% rename from src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/types.ts rename to src/platform/packages/shared/chart-expressions-common/types.ts diff --git a/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/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/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/utils.test.ts rename to src/platform/packages/shared/chart-expressions-common/utils.test.ts diff --git a/src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/utils.ts b/src/platform/packages/shared/chart-expressions-common/utils.ts similarity index 100% rename from src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/utils.ts rename to src/platform/packages/shared/chart-expressions-common/utils.ts diff --git a/tsconfig.base.json b/tsconfig.base.json index 2b81b08608cdd..974bbe9951792 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -138,8 +138,8 @@ "@kbn/cbor/*": ["packages/kbn-cbor/*"], "@kbn/cell-actions": ["packages/kbn-cell-actions"], "@kbn/cell-actions/*": ["packages/kbn-cell-actions/*"], - "@kbn/chart-expressions-common": ["src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common"], - "@kbn/chart-expressions-common/*": ["src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common/*"], + "@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"], diff --git a/yarn.lock b/yarn.lock index f4b6f9dd0aca4..b5f22dbde7d23 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4092,7 +4092,7 @@ version "0.0.0" uid "" -"@kbn/chart-expressions-common@link:src/platform/packages/shared/Users/gsoldevila/Work/kibana-secondary/Users/gsoldevila/Work/kibana-secondary/src/plugins/chart_expressions/common": +"@kbn/chart-expressions-common@link:src/platform/packages/shared/chart-expressions-common": version "0.0.0" uid "" From 3dea98b2a3da741789980f59ebcada0cf4a207b5 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Wed, 11 Dec 2024 21:47:04 +0000 Subject: [PATCH 51/51] [CI] Auto-commit changed files from 'node scripts/generate codeowners' --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 95c4af79c429b..f9e2db2f68bc9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -610,6 +610,7 @@ src/platform/packages/private/kbn-managed-content-badge @elastic/kibana-visualiz 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/shared/chart-expressions-common @elastic/kibana-visualizations src/platform/packages/shared/deeplinks/ml @elastic/ml-ui src/platform/packages/shared/kbn-calculate-width-from-char-count @elastic/kibana-visualizations src/platform/packages/shared/kbn-chart-icons @elastic/kibana-visualizations @@ -627,7 +628,6 @@ src/platform/packages/shared/kbn-osquery-io-ts-types @elastic/security-asset-man src/platform/packages/shared/kbn-sort-predicates @elastic/kibana-visualizations 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/chart-expressions-common @elastic/kibana-visualizations src/platform/plugins/private/event_annotation @elastic/kibana-visualizations src/platform/plugins/private/event_annotation_listing @elastic/kibana-visualizations src/platform/plugins/private/url_forwarding @elastic/kibana-visualizations