MOBILE-3585 core: Rename some helper files
parent
f1af6e6a6e
commit
e0f16ec49b
|
@ -16,7 +16,7 @@ import { Component, OnInit } from '@angular/core';
|
|||
import { NavController } from '@ionic/angular';
|
||||
|
||||
import { CoreLangProvider } from '@services/lang';
|
||||
import { CoreLoginHelperProvider } from '@core/login/services/helper';
|
||||
import { CoreLoginHelperProvider } from '@core/login/services/login.helper';
|
||||
import { CoreEvents, CoreEventSessionExpiredData } from '@singletons/events';
|
||||
import { Network, NgZone, Platform } from '@singletons/core.singletons';
|
||||
import { CoreApp } from '@services/app';
|
||||
|
|
|
@ -17,7 +17,7 @@ import { NavController } from '@ionic/angular';
|
|||
import { CoreSiteBasicInfo, CoreSites } from '@services/sites';
|
||||
import { CoreDomUtils } from '@services/utils/dom';
|
||||
import { Translate } from '@singletons/core.singletons';
|
||||
import { CoreLoginHelper } from '@core/login/services/helper';
|
||||
import { CoreLoginHelper } from '@core/login/services/login.helper';
|
||||
import { CoreContentLinksAction } from '../../services/contentlinks.delegate';
|
||||
import { CoreContentLinksHelper } from '../../services/contentlinks.helper';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
|
|
|
@ -17,7 +17,7 @@ import { NavController } from '@ionic/angular';
|
|||
import { CoreSites } from '@services/sites';
|
||||
import { CoreDomUtils } from '@services/utils/dom';
|
||||
import { CoreUtils } from '@services/utils/utils';
|
||||
import { CoreLoginHelper } from '@core/login/services/helper';
|
||||
import { CoreLoginHelper } from '@core/login/services/login.helper';
|
||||
import { CoreContentLinksDelegate, CoreContentLinksAction } from './contentlinks.delegate';
|
||||
import { CoreSite } from '@classes/site';
|
||||
import { CoreMainMenu } from '@core/mainmenu/services/mainmenu';
|
||||
|
|
|
@ -16,8 +16,7 @@ import { NgModule } from '@angular/core';
|
|||
import { Platform } from '@ionic/angular';
|
||||
|
||||
import { CoreInitDelegate } from '@services/init';
|
||||
import { CoreEmulatorHelperProvider } from './services/helper';
|
||||
import { CoreEmulatorCaptureHelperProvider } from './services/capture.helper';
|
||||
import { CoreEmulatorHelperProvider } from './services/emulator.helper';
|
||||
import { CoreEmulatorComponentsModule } from './components/components.module';
|
||||
|
||||
// Ionic Native services.
|
||||
|
@ -74,8 +73,6 @@ import { ZipMock } from './services/zip';
|
|||
CoreEmulatorComponentsModule,
|
||||
],
|
||||
providers: [
|
||||
CoreEmulatorHelperProvider,
|
||||
CoreEmulatorCaptureHelperProvider,
|
||||
{
|
||||
provide: Camera,
|
||||
deps: [Platform],
|
||||
|
|
|
@ -23,7 +23,9 @@ import { CaptureMediaComponentInputs, CoreEmulatorCaptureMediaComponent } from '
|
|||
/**
|
||||
* Helper service with some features to capture media (image, audio, video).
|
||||
*/
|
||||
@Injectable()
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class CoreEmulatorCaptureHelperProvider {
|
||||
|
||||
protected possibleAudioMimeTypes = {
|
||||
|
|
|
@ -25,7 +25,9 @@ import { FileTransferErrorMock } from './file-transfer';
|
|||
/**
|
||||
* Helper service for the emulator feature. It also acts as an init handler.
|
||||
*/
|
||||
@Injectable()
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class CoreEmulatorHelperProvider implements CoreInitHandler {
|
||||
|
||||
name = 'CoreEmulator';
|
|
@ -16,7 +16,7 @@ import { Component } from '@angular/core';
|
|||
|
||||
import { CoreUtils } from '@services/utils/utils';
|
||||
import { ModalController, Translate } from '@singletons/core.singletons';
|
||||
import { CoreLoginHelperProvider } from '@core/login/services/helper';
|
||||
import { CoreLoginHelperProvider } from '@core/login/services/login.helper';
|
||||
|
||||
/**
|
||||
* Component that displays help to connect to a site.
|
||||
|
|
|
@ -16,7 +16,7 @@ import { Component } from '@angular/core';
|
|||
|
||||
import { CoreConfig } from '@services/config';
|
||||
import { CoreUtils } from '@services/utils/utils';
|
||||
import { CoreLoginHelperProvider } from '@core/login/services/helper';
|
||||
import { CoreLoginHelperProvider } from '@core/login/services/login.helper';
|
||||
import { ModalController } from '@singletons/core.singletons';
|
||||
|
||||
/**
|
||||
|
|
|
@ -16,7 +16,7 @@ import { Component } from '@angular/core';
|
|||
|
||||
import { CoreSites } from '@services/sites';
|
||||
import { CoreDomUtils } from '@services/utils/dom';
|
||||
import { CoreLoginHelper } from '@core/login/services/helper';
|
||||
import { CoreLoginHelper } from '@core/login/services/login.helper';
|
||||
import { Translate } from '@singletons/core.singletons';
|
||||
|
||||
/**
|
||||
|
|
|
@ -21,7 +21,7 @@ import { CoreApp } from '@services/app';
|
|||
import { CoreSites } from '@services/sites';
|
||||
import { CoreDomUtils } from '@services/utils/dom';
|
||||
import { CoreUtils } from '@services/utils/utils';
|
||||
import { CoreLoginHelper, CoreLoginHelperProvider } from '@core/login/services/helper';
|
||||
import { CoreLoginHelper, CoreLoginHelperProvider } from '@core/login/services/login.helper';
|
||||
import { CoreConstants } from '@core/constants';
|
||||
import { Translate } from '@singletons/core.singletons';
|
||||
import { CoreSiteIdentityProvider, CoreSitePublicConfigResponse } from '@classes/site';
|
||||
|
|
|
@ -22,7 +22,7 @@ import { CoreDomUtils } from '@services/utils/dom';
|
|||
import { CoreTextUtils } from '@services/utils/text';
|
||||
import { CoreCountry, CoreUtils } from '@services/utils/utils';
|
||||
import { CoreWS, CoreWSExternalWarning } from '@services/ws';
|
||||
import { AuthEmailSignupProfileFieldsCategory, AuthEmailSignupSettings, CoreLoginHelper } from '@core/login/services/helper';
|
||||
import { AuthEmailSignupProfileFieldsCategory, AuthEmailSignupSettings, CoreLoginHelper } from '@core/login/services/login.helper';
|
||||
import { CoreConstants } from '@core/constants';
|
||||
import { Translate } from '@singletons/core.singletons';
|
||||
import { CoreSitePublicConfigResponse } from '@classes/site';
|
||||
|
|
|
@ -18,7 +18,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
|||
import { NavController } from '@ionic/angular';
|
||||
|
||||
import { CoreDomUtils } from '@services/utils/dom';
|
||||
import { CoreLoginHelper } from '@core/login/services/helper';
|
||||
import { CoreLoginHelper } from '@core/login/services/login.helper';
|
||||
import { Translate, Platform } from '@singletons/core.singletons';
|
||||
import { CoreWSExternalWarning } from '@services/ws';
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ import { CoreInit } from '@services/init';
|
|||
import { SplashScreen } from '@singletons/core.singletons';
|
||||
import { CoreConstants } from '@core/constants';
|
||||
import { CoreSites } from '@/app/services/sites';
|
||||
import { CoreLoginHelper } from '@/app/core/login/services/helper';
|
||||
import { CoreLoginHelper } from '@/app/core/login/services/login.helper';
|
||||
|
||||
/**
|
||||
* Page that displays a "splash screen" while the app is being initialized.
|
||||
|
|
|
@ -21,7 +21,7 @@ import { CoreApp } from '@services/app';
|
|||
import { CoreSites } from '@services/sites';
|
||||
import { CoreDomUtils } from '@services/utils/dom';
|
||||
import { CoreUtils } from '@services/utils/utils';
|
||||
import { CoreLoginHelper } from '@core/login/services/helper';
|
||||
import { CoreLoginHelper } from '@core/login/services/login.helper';
|
||||
import { CoreSiteIdentityProvider, CoreSitePublicConfigResponse } from '@classes/site';
|
||||
import { CoreEvents } from '@singletons/events';
|
||||
import { CoreError } from '@classes/errors/error';
|
||||
|
|
|
@ -20,7 +20,7 @@ import { CoreSites } from '@services/sites';
|
|||
import { CoreDomUtils } from '@services/utils/dom';
|
||||
import { CoreUtils } from '@services/utils/utils';
|
||||
import { CoreMimetypeUtils } from '@services/utils/mimetype';
|
||||
import { CoreLoginHelper } from '@core/login/services/helper';
|
||||
import { CoreLoginHelper } from '@core/login/services/login.helper';
|
||||
import { CoreSite } from '@classes/site';
|
||||
|
||||
/**
|
||||
|
|
|
@ -22,7 +22,7 @@ import { CoreConfig } from '@services/config';
|
|||
import { CoreSites, CoreSiteCheckResponse, CoreLoginSiteInfo, CoreSitesDemoSiteData } from '@services/sites';
|
||||
import { CoreUtils } from '@services/utils/utils';
|
||||
import { CoreDomUtils } from '@services/utils/dom';
|
||||
import { CoreLoginHelper, CoreLoginHelperProvider } from '@core/login/services/helper';
|
||||
import { CoreLoginHelper, CoreLoginHelperProvider } from '@core/login/services/login.helper';
|
||||
import { CoreSite } from '@classes/site';
|
||||
import { CoreError } from '@classes/errors/error';
|
||||
import { CoreConstants } from '@core/constants';
|
||||
|
|
|
@ -18,7 +18,7 @@ import { Component, OnInit } from '@angular/core';
|
|||
|
||||
import { CoreSiteBasicInfo, CoreSites } from '@services/sites';
|
||||
import { CoreLogger } from '@singletons/logger';
|
||||
import { CoreLoginHelper } from '../../services/helper';
|
||||
import { CoreLoginHelper } from '@core/login/services/login.helper';
|
||||
|
||||
/**
|
||||
* Page that displays a "splash screen" while the app is being initialized.
|
||||
|
|
|
@ -18,7 +18,7 @@ import { Subscription } from 'rxjs';
|
|||
import { CoreSites } from '@services/sites';
|
||||
import { CoreUtils } from '@services/utils/utils';
|
||||
import { CoreSiteInfo } from '@classes/site';
|
||||
import { CoreLoginHelper } from '@core/login/services/helper';
|
||||
import { CoreLoginHelper } from '@core/login/services/login.helper';
|
||||
import { CoreMainMenuDelegate, CoreMainMenuHandlerData } from '../../services/mainmenu.delegate';
|
||||
import { CoreMainMenu, CoreMainMenuCustomItem } from '../../services/mainmenu';
|
||||
import { CoreEventObserver, CoreEvents } from '@singletons/events';
|
||||
|
|
Loading…
Reference in New Issue