Skip to content

Commit

Permalink
Moved modal and transition directives to ML (#39976) (#40013)
Browse files Browse the repository at this point in the history
* Moved modal and transition directives to ML

* Moved paginated selectable list to ML

* Moved paginated selectable list test

* Fixed i18n
  • Loading branch information
Liza Katz authored Jul 1, 2019
1 parent 00baee5 commit 2cbf5ac
Show file tree
Hide file tree
Showing 14 changed files with 209 additions and 221 deletions.
18 changes: 0 additions & 18 deletions src/legacy/ui/public/angular-bootstrap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,35 +22,17 @@ uiModules.get('kibana', [
*/
angular.module('ui.bootstrap', [
'ui.bootstrap.tpls',
'ui.bootstrap.transition',
'ui.bootstrap.bindHtml',
'ui.bootstrap.modal',
'ui.bootstrap.tooltip',
]);

angular.module('ui.bootstrap.tpls', [
'template/modal/backdrop.html',
'template/modal/window.html',
'template/tooltip/tooltip-html-unsafe-popup.html',
'template/tooltip/tooltip-popup.html',
]);

import './bindHtml/bindHtml';
import './modal/modal';
import './tooltip/tooltip';
import './transition/transition';

import backdrop from './modal/backdrop.html';

angular.module('template/modal/backdrop.html', []).run(['$templateCache', function($templateCache) {
$templateCache.put('template/modal/backdrop.html', backdrop);
}]);

import modal from './modal/window.html';

angular.module('template/modal/window.html', []).run(['$templateCache', function($templateCache) {
$templateCache.put('template/modal/window.html', modal);
}]);

import tooltipUnsafePopup from './tooltip/tooltip-html-unsafe-popup.html';

Expand Down
82 changes: 0 additions & 82 deletions src/legacy/ui/public/angular-bootstrap/transition/transition.js

This file was deleted.

2 changes: 2 additions & 0 deletions x-pack/legacy/plugins/ml/public/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import 'ui/persisted_log';
import 'ui/autoload/all';
import 'ui/kbn_top_nav';

import 'plugins/ml/components/transition/transition';
import 'plugins/ml/components/modal/modal';
import 'plugins/ml/access_denied';
import 'plugins/ml/jobs';
import 'plugins/ml/services/calendar_service';
Expand Down
Loading

0 comments on commit 2cbf5ac

Please sign in to comment.