From 09950ea27d947a37aea27a6e32eb000ac1c0c479 Mon Sep 17 00:00:00 2001 From: Liza Katz Date: Mon, 1 Jul 2019 12:12:17 +0300 Subject: [PATCH] Moved fancy forms into vis editor (#39977) --- src/legacy/ui/public/vis/editors/default/agg.js | 2 +- .../editors/default}/fancy_forms/__tests__/fancy_forms.js | 0 .../default}/fancy_forms/__tests__/nested_fancy_forms.js | 0 .../public/{ => vis/editors/default}/fancy_forms/fancy_forms.js | 2 +- .../ui/public/{ => vis/editors/default}/fancy_forms/index.js | 0 .../editors/default}/fancy_forms/kbn_form_controller.js | 0 .../editors/default}/fancy_forms/kbn_model_controller.js | 0 7 files changed, 2 insertions(+), 2 deletions(-) rename src/legacy/ui/public/{ => vis/editors/default}/fancy_forms/__tests__/fancy_forms.js (100%) rename src/legacy/ui/public/{ => vis/editors/default}/fancy_forms/__tests__/nested_fancy_forms.js (100%) rename src/legacy/ui/public/{ => vis/editors/default}/fancy_forms/fancy_forms.js (96%) rename src/legacy/ui/public/{ => vis/editors/default}/fancy_forms/index.js (100%) rename src/legacy/ui/public/{ => vis/editors/default}/fancy_forms/kbn_form_controller.js (100%) rename src/legacy/ui/public/{ => vis/editors/default}/fancy_forms/kbn_model_controller.js (100%) diff --git a/src/legacy/ui/public/vis/editors/default/agg.js b/src/legacy/ui/public/vis/editors/default/agg.js index 9c6493048b25b..1a6290b541a97 100644 --- a/src/legacy/ui/public/vis/editors/default/agg.js +++ b/src/legacy/ui/public/vis/editors/default/agg.js @@ -21,7 +21,7 @@ import './agg_params'; import './agg_add'; import { Direction } from './keyboard_move'; import _ from 'lodash'; -import '../../../fancy_forms'; +import './fancy_forms'; import { uiModules } from '../../../modules'; import aggTemplate from './agg.html'; import { move } from '../../../utils/collection'; diff --git a/src/legacy/ui/public/fancy_forms/__tests__/fancy_forms.js b/src/legacy/ui/public/vis/editors/default/fancy_forms/__tests__/fancy_forms.js similarity index 100% rename from src/legacy/ui/public/fancy_forms/__tests__/fancy_forms.js rename to src/legacy/ui/public/vis/editors/default/fancy_forms/__tests__/fancy_forms.js diff --git a/src/legacy/ui/public/fancy_forms/__tests__/nested_fancy_forms.js b/src/legacy/ui/public/vis/editors/default/fancy_forms/__tests__/nested_fancy_forms.js similarity index 100% rename from src/legacy/ui/public/fancy_forms/__tests__/nested_fancy_forms.js rename to src/legacy/ui/public/vis/editors/default/fancy_forms/__tests__/nested_fancy_forms.js diff --git a/src/legacy/ui/public/fancy_forms/fancy_forms.js b/src/legacy/ui/public/vis/editors/default/fancy_forms/fancy_forms.js similarity index 96% rename from src/legacy/ui/public/fancy_forms/fancy_forms.js rename to src/legacy/ui/public/vis/editors/default/fancy_forms/fancy_forms.js index 4d461f657be71..9ffebb792d3fd 100644 --- a/src/legacy/ui/public/fancy_forms/fancy_forms.js +++ b/src/legacy/ui/public/vis/editors/default/fancy_forms/fancy_forms.js @@ -17,7 +17,7 @@ * under the License. */ -import { uiModules } from '../modules'; +import { uiModules } from '../../../../modules'; import { decorateFormController } from './kbn_form_controller'; import { decorateModelController } from './kbn_model_controller'; diff --git a/src/legacy/ui/public/fancy_forms/index.js b/src/legacy/ui/public/vis/editors/default/fancy_forms/index.js similarity index 100% rename from src/legacy/ui/public/fancy_forms/index.js rename to src/legacy/ui/public/vis/editors/default/fancy_forms/index.js diff --git a/src/legacy/ui/public/fancy_forms/kbn_form_controller.js b/src/legacy/ui/public/vis/editors/default/fancy_forms/kbn_form_controller.js similarity index 100% rename from src/legacy/ui/public/fancy_forms/kbn_form_controller.js rename to src/legacy/ui/public/vis/editors/default/fancy_forms/kbn_form_controller.js diff --git a/src/legacy/ui/public/fancy_forms/kbn_model_controller.js b/src/legacy/ui/public/vis/editors/default/fancy_forms/kbn_model_controller.js similarity index 100% rename from src/legacy/ui/public/fancy_forms/kbn_model_controller.js rename to src/legacy/ui/public/vis/editors/default/fancy_forms/kbn_model_controller.js