MOBILE-3915 chore: Fix some imports
parent
1e2eb7e4fb
commit
2c2be04065
|
@ -26,7 +26,7 @@ import { CoreSite } from '@classes/site';
|
|||
import { CoreUtils } from '@services/utils/utils';
|
||||
import { CoreDomUtils } from '@services/utils/dom';
|
||||
import { CoreTextUtils } from '@services/utils/text';
|
||||
import { AddonCourseCompletion } from '@/addons/coursecompletion/services/coursecompletion';
|
||||
import { AddonCourseCompletion } from '@addons/coursecompletion/services/coursecompletion';
|
||||
import { AddonBlockMyOverviewFilterOptionsComponent } from '../filteroptions/filteroptions';
|
||||
import { IonSearchbar } from '@ionic/angular';
|
||||
import moment from 'moment';
|
||||
|
|
|
@ -27,7 +27,7 @@ import {
|
|||
CoreEnrolledCourseDataWithOptions,
|
||||
} from '@features/courses/services/courses-helper';
|
||||
import { CoreCourseOptionsDelegate } from '@features/course/services/course-options-delegate';
|
||||
import { AddonCourseCompletion } from '@/addons/coursecompletion/services/coursecompletion';
|
||||
import { AddonCourseCompletion } from '@addons/coursecompletion/services/coursecompletion';
|
||||
import { CoreBlockBaseComponent } from '@features/block/classes/base-block-component';
|
||||
import { CoreUtils } from '@services/utils/utils';
|
||||
import { CoreSite } from '@classes/site';
|
||||
|
|
|
@ -21,7 +21,7 @@ import {
|
|||
CoreEnrolledCourseDataWithOptions,
|
||||
} from '@features/courses/services/courses-helper';
|
||||
import { CoreCourseOptionsDelegate } from '@features/course/services/course-options-delegate';
|
||||
import { AddonCourseCompletion } from '@/addons/coursecompletion/services/coursecompletion';
|
||||
import { AddonCourseCompletion } from '@addons/coursecompletion/services/coursecompletion';
|
||||
import { CoreBlockBaseComponent } from '@features/block/classes/base-block-component';
|
||||
import { CoreUtils } from '@services/utils/utils';
|
||||
import { CoreSite } from '@classes/site';
|
||||
|
|
|
@ -25,26 +25,26 @@ function buildRoutes(injector: Injector): Routes {
|
|||
data: {
|
||||
mainMenuTabRoot: AddonCalendarMainMenuHandlerService.PAGE_NAME,
|
||||
},
|
||||
loadChildren: () => import('@/addons/calendar/pages/index/index.module').then(m => m.AddonCalendarIndexPageModule),
|
||||
loadChildren: () => import('@addons/calendar/pages/index/index.module').then(m => m.AddonCalendarIndexPageModule),
|
||||
},
|
||||
{
|
||||
path: 'settings',
|
||||
loadChildren: () =>
|
||||
import('@/addons/calendar/pages/settings/settings.module').then(m => m.AddonCalendarSettingsPageModule),
|
||||
import('@addons/calendar/pages/settings/settings.module').then(m => m.AddonCalendarSettingsPageModule),
|
||||
},
|
||||
{
|
||||
path: 'day',
|
||||
loadChildren: () =>
|
||||
import('@/addons/calendar/pages/day/day.module').then(m => m.AddonCalendarDayPageModule),
|
||||
import('@addons/calendar/pages/day/day.module').then(m => m.AddonCalendarDayPageModule),
|
||||
},
|
||||
{
|
||||
path: 'event/:id',
|
||||
loadChildren: () => import('@/addons/calendar/pages/event/event.module').then(m => m.AddonCalendarEventPageModule),
|
||||
loadChildren: () => import('@addons/calendar/pages/event/event.module').then(m => m.AddonCalendarEventPageModule),
|
||||
},
|
||||
{
|
||||
path: 'edit/:eventId',
|
||||
loadChildren: () =>
|
||||
import('@/addons/calendar/pages/edit-event/edit-event.module').then(m => m.AddonCalendarEditEventPageModule),
|
||||
import('@addons/calendar/pages/edit-event/edit-event.module').then(m => m.AddonCalendarEditEventPageModule),
|
||||
},
|
||||
...buildTabMainRoutes(injector, {
|
||||
redirectTo: 'index',
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
import { Injectable } from '@angular/core';
|
||||
import { CoreError } from '@classes/errors/error';
|
||||
import { CoreFileUploader, CoreFileUploaderStoreFilesResult } from '@features/fileuploader/services/fileuploader';
|
||||
import { FileEntry } from '@ionic-native/file';
|
||||
import { FileEntry } from '@ionic-native/file/ngx';
|
||||
import { CoreFile } from '@services/file';
|
||||
import { CoreFileEntry } from '@services/file-helper';
|
||||
import { CoreSites } from '@services/sites';
|
||||
|
|
|
@ -37,7 +37,7 @@ export const ADDON_NOTIFICATIONS_SERVICES: Type<unknown>[] = [
|
|||
const routes: Routes = [
|
||||
{
|
||||
path: AddonNotificationsMainMenuHandlerService.PAGE_NAME,
|
||||
loadChildren: () => import('@/addons/notifications/notifications-lazy.module').then(m => m.AddonNotificationsLazyModule),
|
||||
loadChildren: () => import('@addons/notifications/notifications-lazy.module').then(m => m.AddonNotificationsLazyModule),
|
||||
},
|
||||
];
|
||||
const preferencesRoutes: Routes = [
|
||||
|
|
|
@ -28,8 +28,8 @@ import {
|
|||
AddonPrivateFilesFile,
|
||||
AddonPrivateFilesGetUserInfoWSResult,
|
||||
AddonPrivateFilesGetFilesWSParams,
|
||||
} from '@/addons/privatefiles/services/privatefiles';
|
||||
import { AddonPrivateFilesHelper } from '@/addons/privatefiles/services/privatefiles-helper';
|
||||
} from '@addons/privatefiles/services/privatefiles';
|
||||
import { AddonPrivateFilesHelper } from '@addons/privatefiles/services/privatefiles-helper';
|
||||
import { CoreUtils } from '@services/utils/utils';
|
||||
import { CoreNavigator } from '@services/navigator';
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ export const ADDON_PRIVATEFILES_SERVICES: Type<unknown>[] = [
|
|||
const routes: Routes = [
|
||||
{
|
||||
path: AddonPrivateFilesUserHandlerService.PAGE_NAME,
|
||||
loadChildren: () => import('@/addons/privatefiles/privatefiles-lazy.module').then(m => m.AddonPrivateFilesLazyModule),
|
||||
loadChildren: () => import('@addons/privatefiles/privatefiles-lazy.module').then(m => m.AddonPrivateFilesLazyModule),
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
import { AddonPrivateFiles } from '@/addons/privatefiles/services/privatefiles';
|
||||
import { AddonPrivateFiles } from '@addons/privatefiles/services/privatefiles';
|
||||
import { makeSingleton } from '@singletons';
|
||||
import {
|
||||
CoreUserDelegateContext,
|
||||
|
|
|
@ -24,7 +24,7 @@ import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|||
import { IonicModule, IonicRouteStrategy } from '@ionic/angular';
|
||||
|
||||
import { CoreModule } from '@/core/core.module';
|
||||
import { AddonsModule } from '@/addons/addons.module';
|
||||
import { AddonsModule } from '@addons/addons.module';
|
||||
|
||||
import { AppComponent } from './app.component';
|
||||
import { AppRoutingModule } from './app-routing.module';
|
||||
|
|
|
@ -24,7 +24,7 @@ import {
|
|||
} from './courses';
|
||||
import { makeSingleton, Translate } from '@singletons';
|
||||
import { CoreWSExternalFile } from '@services/ws';
|
||||
import { AddonCourseCompletion } from '@/addons/coursecompletion/services/coursecompletion';
|
||||
import { AddonCourseCompletion } from '@addons/coursecompletion/services/coursecompletion';
|
||||
|
||||
/**
|
||||
* Helper to gather some common courses functions.
|
||||
|
|
Loading…
Reference in New Issue