MOBILE-3947 chore: Remove unnecessary route module exports
parent
f6b9ce0212
commit
537dc07587
|
@ -13,7 +13,7 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { Injector, NgModule } from '@angular/core';
|
import { Injector, NgModule } from '@angular/core';
|
||||||
import { RouterModule, ROUTES, Routes } from '@angular/router';
|
import { ROUTES, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { CoreSharedModule } from '@/core/shared.module';
|
import { CoreSharedModule } from '@/core/shared.module';
|
||||||
import { AddonBlogEntriesPage } from './pages/entries/entries';
|
import { AddonBlogEntriesPage } from './pages/entries/entries';
|
||||||
|
@ -48,7 +48,6 @@ function buildRoutes(injector: Injector): Routes {
|
||||||
CoreTagComponentsModule,
|
CoreTagComponentsModule,
|
||||||
CoreMainMenuComponentsModule,
|
CoreMainMenuComponentsModule,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: ROUTES,
|
provide: ROUTES,
|
||||||
|
|
|
@ -42,7 +42,6 @@ const routes: Routes = [
|
||||||
CoreMainMenuRoutingModule.forChild({ children: routes }),
|
CoreMainMenuRoutingModule.forChild({ children: routes }),
|
||||||
CoreCourseIndexRoutingModule.forChild({ children: routes }),
|
CoreCourseIndexRoutingModule.forChild({ children: routes }),
|
||||||
],
|
],
|
||||||
exports: [CoreMainMenuRoutingModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -20,7 +20,7 @@ import { AddonCalendarEventPage } from '@addons/calendar/pages/event/event';
|
||||||
import { AddonCalendarIndexPage } from '@addons/calendar/pages/index';
|
import { AddonCalendarIndexPage } from '@addons/calendar/pages/index';
|
||||||
import { AddonCalendarSettingsPage } from '@addons/calendar/pages/settings/settings';
|
import { AddonCalendarSettingsPage } from '@addons/calendar/pages/settings/settings';
|
||||||
import { Injector, NgModule } from '@angular/core';
|
import { Injector, NgModule } from '@angular/core';
|
||||||
import { RouterModule, ROUTES, Routes } from '@angular/router';
|
import { ROUTES, Routes } from '@angular/router';
|
||||||
import { CoreEditorComponentsModule } from '@features/editor/components/components.module';
|
import { CoreEditorComponentsModule } from '@features/editor/components/components.module';
|
||||||
import { CoreMainMenuComponentsModule } from '@features/mainmenu/components/components.module';
|
import { CoreMainMenuComponentsModule } from '@features/mainmenu/components/components.module';
|
||||||
|
|
||||||
|
@ -70,7 +70,6 @@ function buildRoutes(injector: Injector): Routes {
|
||||||
CoreMainMenuComponentsModule,
|
CoreMainMenuComponentsModule,
|
||||||
CoreEditorComponentsModule,
|
CoreEditorComponentsModule,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
declarations: [
|
declarations: [
|
||||||
AddonCalendarDayPage,
|
AddonCalendarDayPage,
|
||||||
AddonCalendarEditEventPage,
|
AddonCalendarEditEventPage,
|
||||||
|
|
|
@ -62,7 +62,6 @@ const mainMenuChildrenRoutes: Routes = [
|
||||||
CoreMainMenuRoutingModule.forChild({ children: mainMenuChildrenRoutes }),
|
CoreMainMenuRoutingModule.forChild({ children: mainMenuChildrenRoutes }),
|
||||||
AddonCalendarComponentsModule,
|
AddonCalendarComponentsModule,
|
||||||
],
|
],
|
||||||
exports: [CoreMainMenuRoutingModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: CORE_SITE_SCHEMAS,
|
provide: CORE_SITE_SCHEMAS,
|
||||||
|
|
|
@ -25,7 +25,6 @@ import { AddonCompetencyPushClickHandler } from './services/handlers/push-click'
|
||||||
import { AddonCompetencyUserCompetencyLinkHandler } from './services/handlers/user-competency-link';
|
import { AddonCompetencyUserCompetencyLinkHandler } from './services/handlers/user-competency-link';
|
||||||
import { AddonCompetencyUserHandler } from './services/handlers/user';
|
import { AddonCompetencyUserHandler } from './services/handlers/user';
|
||||||
import { Routes } from '@angular/router';
|
import { Routes } from '@angular/router';
|
||||||
import { CoreMainMenuRoutingModule } from '@features/mainmenu/mainmenu-routing.module';
|
|
||||||
import { CoreMainMenuTabRoutingModule } from '@features/mainmenu/mainmenu-tab-routing.module';
|
import { CoreMainMenuTabRoutingModule } from '@features/mainmenu/mainmenu-tab-routing.module';
|
||||||
import { CoreCourseIndexRoutingModule } from '@features/course/course-routing.module';
|
import { CoreCourseIndexRoutingModule } from '@features/course/course-routing.module';
|
||||||
import { COURSE_PAGE_NAME } from '@features/course/course.module';
|
import { COURSE_PAGE_NAME } from '@features/course/course.module';
|
||||||
|
@ -77,7 +76,6 @@ const courseIndexRoutes: Routes = [
|
||||||
CoreMainMenuTabRoutingModule.forChild(mainMenuChildrenRoutes),
|
CoreMainMenuTabRoutingModule.forChild(mainMenuChildrenRoutes),
|
||||||
CoreCourseIndexRoutingModule.forChild({ children: courseIndexRoutes }),
|
CoreCourseIndexRoutingModule.forChild({ children: courseIndexRoutes }),
|
||||||
],
|
],
|
||||||
exports: [CoreMainMenuRoutingModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -33,7 +33,6 @@ const routes: Routes = [
|
||||||
CoreCommentsComponentsModule,
|
CoreCommentsComponentsModule,
|
||||||
CoreTagComponentsModule,
|
CoreTagComponentsModule,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
declarations: [
|
declarations: [
|
||||||
AddonCourseCompletionReportPage,
|
AddonCourseCompletionReportPage,
|
||||||
],
|
],
|
||||||
|
|
|
@ -22,7 +22,7 @@ import { AddonMessagesGroupConversationsPage } from '@addons/messages/pages/grou
|
||||||
import { AddonMessagesSearchPage } from '@addons/messages/pages/search/search';
|
import { AddonMessagesSearchPage } from '@addons/messages/pages/search/search';
|
||||||
import { AddonMessagesMainMenuHandlerService } from '@addons/messages/services/handlers/mainmenu';
|
import { AddonMessagesMainMenuHandlerService } from '@addons/messages/services/handlers/mainmenu';
|
||||||
import { Injector, NgModule } from '@angular/core';
|
import { Injector, NgModule } from '@angular/core';
|
||||||
import { Route, RouterModule, ROUTES, Routes } from '@angular/router';
|
import { Route, ROUTES, Routes } from '@angular/router';
|
||||||
import { CoreMainMenuComponentsModule } from '@features/mainmenu/components/components.module';
|
import { CoreMainMenuComponentsModule } from '@features/mainmenu/components/components.module';
|
||||||
|
|
||||||
import { buildTabMainRoutes } from '@features/mainmenu/mainmenu-tab-routing.module';
|
import { buildTabMainRoutes } from '@features/mainmenu/mainmenu-tab-routing.module';
|
||||||
|
@ -139,7 +139,6 @@ function buildRoutes(injector: Injector): Routes {
|
||||||
AddonMessagesGroupConversationsPage,
|
AddonMessagesGroupConversationsPage,
|
||||||
AddonMessagesSearchPage,
|
AddonMessagesSearchPage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: ROUTES,
|
provide: ROUTES,
|
||||||
|
|
|
@ -33,6 +33,5 @@ const routes: Routes = [
|
||||||
declarations: [
|
declarations: [
|
||||||
AddonMessagesSettingsPage,
|
AddonMessagesSettingsPage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
})
|
})
|
||||||
export class AddonMessagesSettingsLazyModule {}
|
export class AddonMessagesSettingsLazyModule {}
|
||||||
|
|
|
@ -33,7 +33,6 @@ const routes: Routes = [
|
||||||
CoreCommentsComponentsModule,
|
CoreCommentsComponentsModule,
|
||||||
CoreTagComponentsModule,
|
CoreTagComponentsModule,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
declarations: [
|
declarations: [
|
||||||
AddonNotesListPage,
|
AddonNotesListPage,
|
||||||
],
|
],
|
||||||
|
|
|
@ -17,7 +17,7 @@ import { CoreSharedModule } from '@/core/shared.module';
|
||||||
import { AddonNotificationsListPage } from '@addons/notifications/pages/list/list';
|
import { AddonNotificationsListPage } from '@addons/notifications/pages/list/list';
|
||||||
import { AddonNotificationsNotificationPage } from '@addons/notifications/pages/notification/notification';
|
import { AddonNotificationsNotificationPage } from '@addons/notifications/pages/notification/notification';
|
||||||
import { Injector, NgModule } from '@angular/core';
|
import { Injector, NgModule } from '@angular/core';
|
||||||
import { RouterModule, ROUTES, Routes } from '@angular/router';
|
import { ROUTES, Routes } from '@angular/router';
|
||||||
import { CoreMainMenuComponentsModule } from '@features/mainmenu/components/components.module';
|
import { CoreMainMenuComponentsModule } from '@features/mainmenu/components/components.module';
|
||||||
|
|
||||||
import { buildTabMainRoutes } from '@features/mainmenu/mainmenu-tab-routing.module';
|
import { buildTabMainRoutes } from '@features/mainmenu/mainmenu-tab-routing.module';
|
||||||
|
@ -69,7 +69,6 @@ function buildRoutes(injector: Injector): Routes {
|
||||||
AddonNotificationsListPage,
|
AddonNotificationsListPage,
|
||||||
AddonNotificationsNotificationPage,
|
AddonNotificationsNotificationPage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: ROUTES,
|
provide: ROUTES,
|
||||||
|
|
|
@ -33,6 +33,5 @@ const routes: Routes = [
|
||||||
declarations: [
|
declarations: [
|
||||||
AddonNotificationsSettingsPage,
|
AddonNotificationsSettingsPage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
})
|
})
|
||||||
export class AddonNotificationsSettingsLazyModule {}
|
export class AddonNotificationsSettingsLazyModule {}
|
||||||
|
|
|
@ -64,7 +64,6 @@ const preferencesRoutes: Routes = [
|
||||||
CoreMainMenuTabRoutingModule.forChild(routes),
|
CoreMainMenuTabRoutingModule.forChild(routes),
|
||||||
CoreSitePreferencesRoutingModule.forChild(preferencesRoutes),
|
CoreSitePreferencesRoutingModule.forChild(preferencesRoutes),
|
||||||
],
|
],
|
||||||
exports: [CoreMainMenuRoutingModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
import { CoreSharedModule } from '@/core/shared.module';
|
import { CoreSharedModule } from '@/core/shared.module';
|
||||||
import { AddonPrivateFilesIndexPage } from '@addons/privatefiles/pages/index';
|
import { AddonPrivateFilesIndexPage } from '@addons/privatefiles/pages/index';
|
||||||
import { Injector, NgModule } from '@angular/core';
|
import { Injector, NgModule } from '@angular/core';
|
||||||
import { RouterModule, ROUTES, Routes } from '@angular/router';
|
import { ROUTES, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { buildTabMainRoutes } from '@features/mainmenu/mainmenu-tab-routing.module';
|
import { buildTabMainRoutes } from '@features/mainmenu/mainmenu-tab-routing.module';
|
||||||
|
|
||||||
|
@ -49,7 +49,6 @@ function buildRoutes(injector: Injector): Routes {
|
||||||
declarations: [
|
declarations: [
|
||||||
AddonPrivateFilesIndexPage,
|
AddonPrivateFilesIndexPage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: ROUTES,
|
provide: ROUTES,
|
||||||
|
|
|
@ -47,7 +47,6 @@ const routes: Routes = [
|
||||||
CoreMainMenuTabRoutingModule.forChild(routes),
|
CoreMainMenuTabRoutingModule.forChild(routes),
|
||||||
CoreMainMenuRoutingModule.forChild({ children: routes }),
|
CoreMainMenuRoutingModule.forChild({ children: routes }),
|
||||||
],
|
],
|
||||||
exports: [CoreMainMenuRoutingModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -18,8 +18,6 @@ import { CoreContentLinksDelegate } from '@features/contentlinks/services/conten
|
||||||
import { AddonReportInsightsActionLinkHandler } from './services/handlers/action-link';
|
import { AddonReportInsightsActionLinkHandler } from './services/handlers/action-link';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [],
|
|
||||||
exports: [],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -35,7 +35,6 @@ const routes: Routes = [
|
||||||
RouterModule.forChild(routes),
|
RouterModule.forChild(routes),
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
declarations: [
|
declarations: [
|
||||||
AddonStorageManagerCoursesStoragePage,
|
AddonStorageManagerCoursesStoragePage,
|
||||||
AddonStorageManagerCourseStoragePage,
|
AddonStorageManagerCourseStoragePage,
|
||||||
|
|
|
@ -33,7 +33,6 @@ const routes: Routes = [
|
||||||
CoreMainMenuRoutingModule.forChild({ children: routes }),
|
CoreMainMenuRoutingModule.forChild({ children: routes }),
|
||||||
CoreSitePreferencesRoutingModule.forChild(routes),
|
CoreSitePreferencesRoutingModule.forChild(routes),
|
||||||
],
|
],
|
||||||
exports: [CoreMainMenuRoutingModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -226,7 +226,6 @@ export const APP_ROUTES = new InjectionToken('APP_ROUTES');
|
||||||
providers: [
|
providers: [
|
||||||
{ provide: ROUTES, multi: true, useFactory: buildAppRoutes, deps: [Injector] },
|
{ provide: ROUTES, multi: true, useFactory: buildAppRoutes, deps: [Injector] },
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
})
|
})
|
||||||
export class AppRoutingModule {
|
export class AppRoutingModule {
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { Injector, NgModule } from '@angular/core';
|
import { Injector, NgModule } from '@angular/core';
|
||||||
import { RouterModule, ROUTES, Routes } from '@angular/router';
|
import { ROUTES, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { CoreCourseComponentsModule } from '@features/course/components/components.module';
|
import { CoreCourseComponentsModule } from '@features/course/components/components.module';
|
||||||
import { CoreSharedModule } from '@/core/shared.module';
|
import { CoreSharedModule } from '@/core/shared.module';
|
||||||
|
@ -50,6 +50,5 @@ function buildRoutes(injector: Injector): Routes {
|
||||||
declarations: [
|
declarations: [
|
||||||
CoreCourseContentsPage,
|
CoreCourseContentsPage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
})
|
})
|
||||||
export class CoreCourseContentsLazyModule {}
|
export class CoreCourseContentsLazyModule {}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
import { CoreSharedModule } from '@/core/shared.module';
|
import { CoreSharedModule } from '@/core/shared.module';
|
||||||
import { Injector, NgModule } from '@angular/core';
|
import { Injector, NgModule } from '@angular/core';
|
||||||
import { RouterModule, ROUTES, Routes } from '@angular/router';
|
import { ROUTES, Routes } from '@angular/router';
|
||||||
import { CoreCourseComponentsModule } from '@features/course/components/components.module';
|
import { CoreCourseComponentsModule } from '@features/course/components/components.module';
|
||||||
import { resolveIndexRoutes } from '@features/course/course-routing.module';
|
import { resolveIndexRoutes } from '@features/course/course-routing.module';
|
||||||
import { CoreCourseSummaryPageModule } from '@features/course/pages/course-summary/course-summary.module';
|
import { CoreCourseSummaryPageModule } from '@features/course/pages/course-summary/course-summary.module';
|
||||||
|
@ -75,7 +75,6 @@ function buildRoutes(injector: Injector): Routes {
|
||||||
CoreCourseComponentsModule,
|
CoreCourseComponentsModule,
|
||||||
CoreCourseSummaryPageModule,
|
CoreCourseSummaryPageModule,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: ROUTES,
|
provide: ROUTES,
|
||||||
|
|
|
@ -34,6 +34,5 @@ const routes: Routes = [
|
||||||
CoreRemindersComponentsModule,
|
CoreRemindersComponentsModule,
|
||||||
CoreCourseSummaryPageModule,
|
CoreCourseSummaryPageModule,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
})
|
})
|
||||||
export class CoreCourseSummaryLazyModule {}
|
export class CoreCourseSummaryLazyModule {}
|
||||||
|
|
|
@ -86,7 +86,6 @@ const courseIndexRoutes: Routes = [
|
||||||
CoreMainMenuTabRoutingModule.forChild(routes),
|
CoreMainMenuTabRoutingModule.forChild(routes),
|
||||||
CoreCourseFormatModule,
|
CoreCourseFormatModule,
|
||||||
],
|
],
|
||||||
exports: [CoreCourseIndexRoutingModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: CORE_SITE_SCHEMAS,
|
provide: CORE_SITE_SCHEMAS,
|
||||||
|
|
|
@ -35,6 +35,5 @@ const routes: Routes = [
|
||||||
declarations: [
|
declarations: [
|
||||||
CoreCoursesDashboardPage,
|
CoreCoursesDashboardPage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
})
|
})
|
||||||
export class CoreCoursesDashboardLazyModule {}
|
export class CoreCoursesDashboardLazyModule {}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
import { CoreSharedModule } from '@/core/shared.module';
|
import { CoreSharedModule } from '@/core/shared.module';
|
||||||
import { Injector, NgModule } from '@angular/core';
|
import { Injector, NgModule } from '@angular/core';
|
||||||
import { RouterModule, ROUTES, Routes } from '@angular/router';
|
import { ROUTES, Routes } from '@angular/router';
|
||||||
import { CoreCoursesComponentsModule } from '@features/courses/components/components.module';
|
import { CoreCoursesComponentsModule } from '@features/courses/components/components.module';
|
||||||
import { CoreCoursesCategoriesPage } from '@features/courses/pages/categories/categories';
|
import { CoreCoursesCategoriesPage } from '@features/courses/pages/categories/categories';
|
||||||
import { CoreCoursesListPage } from '@features/courses/pages/list/list';
|
import { CoreCoursesListPage } from '@features/courses/pages/list/list';
|
||||||
|
@ -70,7 +70,6 @@ function buildRoutes(injector: Injector): Routes {
|
||||||
CoreCoursesCategoriesPage,
|
CoreCoursesCategoriesPage,
|
||||||
CoreCoursesListPage,
|
CoreCoursesListPage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: ROUTES,
|
provide: ROUTES,
|
||||||
|
|
|
@ -38,6 +38,5 @@ const routes: Routes = [
|
||||||
declarations: [
|
declarations: [
|
||||||
CoreCoursesMyPage,
|
CoreCoursesMyPage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
})
|
})
|
||||||
export class CoreCoursesMyLazyModule {}
|
export class CoreCoursesMyLazyModule {}
|
||||||
|
|
|
@ -78,7 +78,6 @@ const routes: Routes = [
|
||||||
CoreMainMenuRoutingModule.forChild({ children: routes }),
|
CoreMainMenuRoutingModule.forChild({ children: routes }),
|
||||||
CoreMainMenuTabRoutingModule.forChild(routes),
|
CoreMainMenuTabRoutingModule.forChild(routes),
|
||||||
],
|
],
|
||||||
exports: [CoreMainMenuRoutingModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -35,6 +35,5 @@ const routes: Routes = [
|
||||||
declarations: [
|
declarations: [
|
||||||
CoreLoginCredentialsPage,
|
CoreLoginCredentialsPage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
})
|
})
|
||||||
export class CoreLoginCredentialsLazyModule {}
|
export class CoreLoginCredentialsLazyModule {}
|
||||||
|
|
|
@ -35,6 +35,5 @@ const routes: Routes = [
|
||||||
declarations: [
|
declarations: [
|
||||||
CoreLoginReconnectPage,
|
CoreLoginReconnectPage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
})
|
})
|
||||||
export class CoreLoginReconnectLazyModule {}
|
export class CoreLoginReconnectLazyModule {}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { Injector, NgModule } from '@angular/core';
|
import { Injector, NgModule } from '@angular/core';
|
||||||
import { RouterModule, Routes, ROUTES } from '@angular/router';
|
import { Routes, ROUTES } from '@angular/router';
|
||||||
|
|
||||||
import { CoreSharedModule } from '@/core/shared.module';
|
import { CoreSharedModule } from '@/core/shared.module';
|
||||||
import { buildTabMainRoutes } from '@features/mainmenu/mainmenu-tab-routing.module';
|
import { buildTabMainRoutes } from '@features/mainmenu/mainmenu-tab-routing.module';
|
||||||
|
@ -52,8 +52,5 @@ function buildRoutes(injector: Injector): Routes {
|
||||||
declarations: [
|
declarations: [
|
||||||
CoreMainMenuMorePage,
|
CoreMainMenuMorePage,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
RouterModule,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class CoreMainMenuMoreLazyModule {}
|
export class CoreMainMenuMoreLazyModule {}
|
||||||
|
|
|
@ -32,6 +32,5 @@ const routes: Routes = [
|
||||||
declarations: [
|
declarations: [
|
||||||
CoreMainMenuReloadPage,
|
CoreMainMenuReloadPage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
})
|
})
|
||||||
export class CoreMainMenuReloadLazyModule {}
|
export class CoreMainMenuReloadLazyModule {}
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { Routes } from '@angular/router';
|
import { Routes } from '@angular/router';
|
||||||
import { CoreContentLinksDelegate } from '@features/contentlinks/services/contentlinks-delegate';
|
import { CoreContentLinksDelegate } from '@features/contentlinks/services/contentlinks-delegate';
|
||||||
import { CoreMainMenuRoutingModule } from '@features/mainmenu/mainmenu-routing.module';
|
|
||||||
import { CoreMainMenuTabRoutingModule } from '@features/mainmenu/mainmenu-tab-routing.module';
|
import { CoreMainMenuTabRoutingModule } from '@features/mainmenu/mainmenu-tab-routing.module';
|
||||||
import { CoreUserDelegate } from '@features/user/services/user-delegate';
|
import { CoreUserDelegate } from '@features/user/services/user-delegate';
|
||||||
import { CoreReportBuilderLinkHandler } from './services/handlers/reportbuilder-link';
|
import { CoreReportBuilderLinkHandler } from './services/handlers/reportbuilder-link';
|
||||||
|
@ -32,7 +31,6 @@ const routes: Routes = [
|
||||||
imports: [
|
imports: [
|
||||||
CoreMainMenuTabRoutingModule.forChild(routes),
|
CoreMainMenuTabRoutingModule.forChild(routes),
|
||||||
],
|
],
|
||||||
exports: [CoreMainMenuRoutingModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
import { CoreSharedModule } from '@/core/shared.module';
|
import { CoreSharedModule } from '@/core/shared.module';
|
||||||
import { NgModule, Injector } from '@angular/core';
|
import { NgModule, Injector } from '@angular/core';
|
||||||
import { RouterModule, Routes, ROUTES } from '@angular/router';
|
import { Routes, ROUTES } from '@angular/router';
|
||||||
import { CoreSearchGlobalSearchPage } from './pages/global-search/global-search';
|
import { CoreSearchGlobalSearchPage } from './pages/global-search/global-search';
|
||||||
import { CoreSearchComponentsModule } from '@features/search/components/components.module';
|
import { CoreSearchComponentsModule } from '@features/search/components/components.module';
|
||||||
import { CoreMainMenuComponentsModule } from '@features/mainmenu/components/components.module';
|
import { CoreMainMenuComponentsModule } from '@features/mainmenu/components/components.module';
|
||||||
|
@ -38,7 +38,6 @@ function buildRoutes(injector: Injector): Routes {
|
||||||
CoreSearchComponentsModule,
|
CoreSearchComponentsModule,
|
||||||
CoreMainMenuComponentsModule,
|
CoreMainMenuComponentsModule,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
declarations: [
|
declarations: [
|
||||||
CoreSearchGlobalSearchPage,
|
CoreSearchGlobalSearchPage,
|
||||||
],
|
],
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { Injector, NgModule } from '@angular/core';
|
import { Injector, NgModule } from '@angular/core';
|
||||||
import { RouterModule, ROUTES, Routes } from '@angular/router';
|
import { ROUTES, Routes } from '@angular/router';
|
||||||
|
|
||||||
import { CoreSharedModule } from '@/core/shared.module';
|
import { CoreSharedModule } from '@/core/shared.module';
|
||||||
import { conditionalRoutes } from '@/app/app-routing.module';
|
import { conditionalRoutes } from '@/app/app-routing.module';
|
||||||
|
@ -60,6 +60,5 @@ function buildRoutes(injector: Injector): Routes {
|
||||||
imports: [
|
imports: [
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
})
|
})
|
||||||
export class CoreettingsSiteLazyModule {}
|
export class CoreettingsSiteLazyModule {}
|
||||||
|
|
|
@ -37,6 +37,5 @@ const routes: Routes = [
|
||||||
declarations: [
|
declarations: [
|
||||||
CoreSiteHomeIndexPage,
|
CoreSiteHomeIndexPage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
})
|
})
|
||||||
export class CoreSiteHomeLazyModule {}
|
export class CoreSiteHomeLazyModule {}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
import { conditionalRoutes } from '@/app/app-routing.module';
|
import { conditionalRoutes } from '@/app/app-routing.module';
|
||||||
import { CoreSharedModule } from '@/core/shared.module';
|
import { CoreSharedModule } from '@/core/shared.module';
|
||||||
import { Injector, NgModule } from '@angular/core';
|
import { Injector, NgModule } from '@angular/core';
|
||||||
import { Route, RouterModule, ROUTES, Routes } from '@angular/router';
|
import { Route, ROUTES, Routes } from '@angular/router';
|
||||||
import { CoreMainMenuComponentsModule } from '@features/mainmenu/components/components.module';
|
import { CoreMainMenuComponentsModule } from '@features/mainmenu/components/components.module';
|
||||||
|
|
||||||
import { buildTabMainRoutes } from '@features/mainmenu/mainmenu-tab-routing.module';
|
import { buildTabMainRoutes } from '@features/mainmenu/mainmenu-tab-routing.module';
|
||||||
|
@ -86,7 +86,6 @@ function buildRoutes(injector: Injector): Routes {
|
||||||
CoreTagSearchPage,
|
CoreTagSearchPage,
|
||||||
CoreTagIndexAreaPage,
|
CoreTagIndexAreaPage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: ROUTES,
|
provide: ROUTES,
|
||||||
|
|
|
@ -53,7 +53,6 @@ const routes: Routes = [
|
||||||
CoreMainMenuRoutingModule.forChild({ children: routes }),
|
CoreMainMenuRoutingModule.forChild({ children: routes }),
|
||||||
CoreTagComponentsModule,
|
CoreTagComponentsModule,
|
||||||
],
|
],
|
||||||
exports: [CoreMainMenuRoutingModule],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -32,6 +32,5 @@ const routes: Routes = [
|
||||||
declarations: [
|
declarations: [
|
||||||
CoreUserCompleteProfilePage,
|
CoreUserCompleteProfilePage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
})
|
})
|
||||||
export class CoreUserAppLazyModule {}
|
export class CoreUserAppLazyModule {}
|
||||||
|
|
|
@ -33,6 +33,5 @@ const routes: Routes = [
|
||||||
declarations: [
|
declarations: [
|
||||||
CoreUserProfilePage,
|
CoreUserProfilePage,
|
||||||
],
|
],
|
||||||
exports: [RouterModule],
|
|
||||||
})
|
})
|
||||||
export class CoreUserProfileLazyModule {}
|
export class CoreUserProfileLazyModule {}
|
||||||
|
|
Loading…
Reference in New Issue