Moved ad hoc filters and upload directive

This commit is contained in:
Torkel Ödegaard 2019-01-23 13:31:45 +01:00
parent 2f08c56260
commit f0eef79c1a
7 changed files with 11 additions and 5 deletions

View File

@ -0,0 +1 @@
export { AdHocFiltersCtrl } from './AdHocFiltersCtrl';

View File

@ -1,8 +1,5 @@
import './dashboard_ctrl'; import './dashboard_ctrl';
import './validation_srv';
import './time_srv'; import './time_srv';
import './ad_hoc_filters';
import './upload';
import './repeat_option/repeat_option'; import './repeat_option/repeat_option';
import './dashgrid/DashboardGridDirective'; import './dashgrid/DashboardGridDirective';
import './dashgrid/RowOptions'; import './dashgrid/RowOptions';
@ -27,6 +24,7 @@ import './components/TimePicker';
import './components/UnsavedChangesModal'; import './components/UnsavedChangesModal';
import './components/SaveModals'; import './components/SaveModals';
import './components/ShareModal'; import './components/ShareModal';
import './components/AdHocFilters';
import DashboardPermissions from './components/DashboardPermissions/DashboardPermissions'; import DashboardPermissions from './components/DashboardPermissions/DashboardPermissions';

View File

@ -0,0 +1 @@
export { uploadDashboardDirective } from './uploadDashboardDirective';

View File

@ -11,7 +11,7 @@ const template = `
`; `;
/** @ngInject */ /** @ngInject */
function uploadDashboardDirective(timer, $location) { export function uploadDashboardDirective(timer, $location) {
return { return {
restrict: 'E', restrict: 'E',
template: template, template: template,

View File

@ -1,5 +1,11 @@
export * from './components/MoveToFolderModal'; // Services
export { ValidationSrv } from './services/ValidationSrv';
// Components
export * from './components/MoveToFolderModal';
export * from './components/UploadDashboard';
// Controllers
import { DashboardListCtrl } from './DashboardListCtrl'; import { DashboardListCtrl } from './DashboardListCtrl';
import { SnapshotListCtrl } from './SnapshotListCtrl'; import { SnapshotListCtrl } from './SnapshotListCtrl';
import { FolderDashboardsCtrl } from './FolderDashboardsCtrl'; import { FolderDashboardsCtrl } from './FolderDashboardsCtrl';