Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing angular es6 import #4521

Merged
merged 1 commit into from
Jan 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions contribs/gmf/apps/appmodule.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const exports = {};
* module.
*/

import angular from 'angular';
import ngeoUtils from 'ngeo/utils.js';

/**
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/apps/desktop/Controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

import 'gmf/controllers/desktop.scss';
import angular from 'angular';
import gmfControllersAbstractDesktopController from 'gmf/controllers/AbstractDesktopController.js';
import appBase from '../appmodule.js';
import EPSG2056 from '@geoblocks/proj/src/EPSG_2056.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/apps/iframe_api/Controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

import 'gmf/controllers/iframe_api.scss';
import angular from 'angular';
import gmfControllersAbstractAPIController from 'gmf/controllers/AbstractAPIController.js';
import appBase from '../appmodule.js';
import EPSG2056 from '@geoblocks/proj/src/EPSG_2056.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/apps/mobile/Controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* by the HTML page and the controller to provide the configuration.
*/

import angular from 'angular';
import gmfControllersAbstractMobileController from 'gmf/controllers/AbstractMobileController.js';
import 'gmf/controllers/mobile.scss';
import appBase from '../appmodule.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/apps/mobile_alt/Controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* by the HTML page and the controller to provide the configuration.
*/

import angular from 'angular';
import gmfControllersAbstractMobileController from 'gmf/controllers/AbstractMobileController.js';
import './sass/mobile_alt.scss';
import appBase from '../appmodule.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/apps/oeedit/Controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* by the HTML page and the controller to provide the configuration.
*/

import angular from 'angular';
import gmfControllersAbstractDesktopController from 'gmf/controllers/AbstractDesktopController.js';
import './sass/oeedit.scss';
import appBase from '../appmodule.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/apps/oeview/Controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* by the HTML page and the controller to provide the configuration.
*/

import angular from 'angular';
import gmfControllersAbstractDesktopController from 'gmf/controllers/AbstractDesktopController.js';
import './sass/oeview.scss';
import appBase from '../appmodule.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './authentication.css';
import gmfAuthenticationModule from 'gmf/authentication/module.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/backgroundlayerselector.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './backgroundlayerselector.css';
import gmfBackgroundlayerselectorModule from 'gmf/backgroundlayerselector/module.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/contextualdata.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './contextualdata.css';
import gmfContextualdataModule from 'gmf/contextualdata/module.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import './datepicker.css';
import ngeoMiscDatepickerComponent from 'ngeo/misc/datepickerComponent.js';

Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/displayquerygrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './displayquerygrid.css';
import gmfDatasourceManager from 'gmf/datasource/Manager.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/displayquerywindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './displayquerywindow.css';
import gmfDatasourceManager from 'gmf/datasource/Manager.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/drawfeature.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import './drawfeature.css';
import 'jquery-ui/ui/widgets/tooltip.js';
import gmfMapComponent from 'gmf/map/component.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/editfeature.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './editfeature.css';
import 'jquery-ui/ui/widgets/tooltip.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/editfeatureselector.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './editfeatureselector.css';
import 'jquery-ui/ui/widgets/tooltip.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/elevation.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './elevation.css';
import gmfMapComponent from 'gmf/map/component.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/featurestyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import './featurestyle.css';
import gmfDrawingFeatureStyleComponent from 'gmf/drawing/featureStyleComponent.js';

Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/filterselector.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
const exports = {};
// Todo - use the 'Filter' theme instead if the 'Edit' theme

import angular from 'angular';
import appURL from './url.js';
import './filterselector.css';
import 'jquery-ui/ui/widgets/tooltip.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/importdatasource.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
const exports = {};
// Todo - use the 'Filter' theme instead if the 'Edit' theme

import angular from 'angular';
import appURL from './url.js';
import './importdatasource.css';
import 'jquery-ui/ui/widgets/tooltip.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/layertree.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './layertree.css';
import gmfDisclaimerModule from 'gmf/disclaimer/module.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/layertreeadd.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './layertreeadd.css';
import gmfDisclaimerModule from 'gmf/disclaimer/module.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/lidarprofile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
const exports = {};

import './lidarprofile.css';
import angular from 'angular';
import gmfMapComponent from 'gmf/map/component.js';
import gmfLidarprofileModule from 'gmf/lidarprofile/module.js';
import EPSG2056 from '@geoblocks/proj/src/EPSG_2056.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/mobilemeasure.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './mobilemeasure.css';
import gmfMapComponent from 'gmf/map/component.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/mouseposition.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
const exports = {};

import './mouseposition.css';
import angular from 'angular';
import gmfMapModule from 'gmf/map/module.js';

import EPSG2056 from '@geoblocks/proj/src/EPSG_2056.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/objectediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './objectediting.css';
import gmfLayertreeComponent from 'gmf/layertree/component.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/objecteditinghub.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './objecteditinghub.css';
import googAsserts from 'goog/asserts.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/permalink.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
const exports = {};

import './permalink.css';
import angular from 'angular';
import gmfMapModule from 'gmf/map/module.js';

import EPSG21781 from '@geoblocks/proj/src/EPSG_21781.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/print.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './print.css';
import gmfLayertreeComponent from 'gmf/layertree/component.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './profile.css';
import gmfPermalinkPermalink from 'gmf/permalink/Permalink.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './search.css';
import gmfMapComponent from 'gmf/map/component.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './share.css';
import gmfPermalinkShareComponent from 'gmf/permalink/shareComponent.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
const exports = {};

import './simple.css';
import angular from 'angular';
import gmfMapComponent from 'gmf/map/component.js';

import olMap from 'ol/Map.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/themeselector.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './themeselector.css';
import gmfThemeModule from 'gmf/theme/module.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/timeslider.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
const exports = {};

import './timeslider.css';
import angular from 'angular';
import gmfLayertreeTimeSliderComponent from 'gmf/layertree/timeSliderComponent.js';

import ngeoMiscWMSTime from 'ngeo/misc/WMSTime.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/wfspermalink.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './wfspermalink.css';
import gmfMapModule from 'gmf/map/module.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/xsdattributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';
import appURL from './url.js';
import './xsdattributes.css';
import gmfThemeThemes from 'gmf/theme/Themes.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/src/authentication/Service.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* @module gmf.authentication.Service
*/
import angular from 'angular';
import ngeoCustomEvent from 'ngeo/CustomEvent.js';
import olEventsEventTarget from 'ol/events/Target.js';

Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/src/authentication/component.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* @module gmf.authentication.component
*/
import angular from 'angular';
import gmfAuthenticationService from 'gmf/authentication/Service.js';
import ngeoMessageMessage from 'ngeo/message/Message.js';
import ngeoMessageNotification from 'ngeo/message/Notification.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/src/backgroundlayerselector/component.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* @module gmf.backgroundlayerselector.component
*/
import angular from 'angular';
import gmfThemeThemes from 'gmf/theme/Themes.js';
import ngeoMapBackgroundLayerMgr from 'ngeo/map/BackgroundLayerMgr.js';
import * as olEvents from 'ol/events.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/src/backgroundlayerselector/module.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* @module gmf.backgroundlayerselector.module
*/
import angular from 'angular';
import gmfBackgroundlayerselectorComponent from 'gmf/backgroundlayerselector/component.js';

/**
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/src/contextualdata/component.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* @module gmf.contextualdata.component
*/
import angular from 'angular';
import gmfRasterRasterService from 'gmf/raster/RasterService.js';
import googAsserts from 'goog/asserts.js';
import olOverlay from 'ol/Overlay.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/src/contextualdata/module.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* @module gmf.contextualdata.module
*/
import angular from 'angular';
import gmfContextualdataComponent from 'gmf/contextualdata/component.js';

import './contextualdata.scss';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/src/controllers/AbstractAPIController.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* @module gmf.controllers.AbstractAPIController
*/
import angular from 'angular';
import gmfControllersAbstractAppController from 'gmf/controllers/AbstractAppController.js';
import ngeoQueryBboxQueryComponent from 'ngeo/query/bboxQueryComponent.js';
import ngeoMapResizemap from 'ngeo/map/resizemap.js';
Expand Down
2 changes: 1 addition & 1 deletion contribs/gmf/src/controllers/AbstractAppController.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @module gmf.controllers.AbstractAppController
*/
import 'jquery';
import 'angular';
import angular from 'angular';
import 'angular-gettext';
import 'angular-dynamic-locale';
import bootstrap from 'gmf/controllers/bootstrap.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/src/controllers/AbstractDesktopController.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* @module gmf.controllers.AbstractDesktopController
*/
import angular from 'angular';
import gmfControllersAbstractAPIController from 'gmf/controllers/AbstractAPIController.js';
import gmfContextualdataModule from 'gmf/contextualdata/module.js';
import gmfEditingModule from 'gmf/editing/module.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/src/controllers/AbstractMobileController.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* @module gmf.controllers.AbstractMobileController
*/
import angular from 'angular';
import gmfControllersAbstractAppController from 'gmf/controllers/AbstractAppController.js';
import gmfMobileMeasureModule from 'gmf/mobile/measure/module.js';
import gmfMobileNavigationModule from 'gmf/mobile/navigation/module.js';
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/src/datasource/DataSourceBeingFiltered.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
const exports = {};

import angular from 'angular';

/**
* @type {!angular.IModule}
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/src/datasource/ExternalDataSourcesManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// TODO - MaxScaleDenominator
// TODO - MinScaleDenominator

import angular from 'angular';
import gmfBase from 'gmf/index.js';
import googAsserts from 'goog/asserts.js';
import ngeoMapLayerHelper from 'ngeo/map/LayerHelper.js';
Expand Down