MOBILE-3320: Move common modules to shared module

main
Noel De Martin 2021-02-16 13:10:44 +01:00
parent 836a7bb812
commit 858a0f4a63
105 changed files with 15 additions and 715 deletions

View File

@ -12,11 +12,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { TranslateModule } from '@ngx-translate/core';
import { conditionalRoutes } from '@/app/app-routing.module'; import { conditionalRoutes } from '@/app/app-routing.module';
import { CoreScreen } from '@services/screen'; import { CoreScreen } from '@services/screen';
@ -58,9 +55,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
@ -27,10 +23,6 @@ import { AddonBlockActivityModulesComponent } from './activitymodules/activitymo
AddonBlockActivityModulesComponent, AddonBlockActivityModulesComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonBlockActivityResultsComponent } from './activityresults/activityresults'; import { AddonBlockActivityResultsComponent } from './activityresults/activityresults';
@ -26,10 +22,6 @@ import { AddonBlockActivityResultsComponent } from './activityresults/activityre
AddonBlockActivityResultsComponent, AddonBlockActivityResultsComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonBlockBadgesComponent } from './badges/badges'; import { AddonBlockBadgesComponent } from './badges/badges';
@ -26,10 +22,6 @@ import { AddonBlockBadgesComponent } from './badges/badges';
AddonBlockBadgesComponent, AddonBlockBadgesComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonBlockBlogMenuComponent } from './blogmenu/blogmenu'; import { AddonBlockBlogMenuComponent } from './blogmenu/blogmenu';
@ -26,10 +22,6 @@ import { AddonBlockBlogMenuComponent } from './blogmenu/blogmenu';
AddonBlockBlogMenuComponent, AddonBlockBlogMenuComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonBlockBlogRecentComponent } from './blogrecent/blogrecent'; import { AddonBlockBlogRecentComponent } from './blogrecent/blogrecent';
@ -26,10 +22,6 @@ import { AddonBlockBlogRecentComponent } from './blogrecent/blogrecent';
AddonBlockBlogRecentComponent, AddonBlockBlogRecentComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonBlockBlogTagsComponent } from './blogtags/blogtags'; import { AddonBlockBlogTagsComponent } from './blogtags/blogtags';
@ -26,10 +22,6 @@ import { AddonBlockBlogTagsComponent } from './blogtags/blogtags';
AddonBlockBlogTagsComponent, AddonBlockBlogTagsComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCoursesComponentsModule } from '@features/courses/components/components.module'; import { CoreCoursesComponentsModule } from '@features/courses/components/components.module';
@ -27,10 +23,6 @@ import { AddonBlockMyOverviewComponent } from './myoverview/myoverview';
AddonBlockMyOverviewComponent, AddonBlockMyOverviewComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreCoursesComponentsModule, CoreCoursesComponentsModule,
], ],

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonBlockNewsItemsComponent } from './newsitems/newsitems'; import { AddonBlockNewsItemsComponent } from './newsitems/newsitems';
@ -26,10 +22,6 @@ import { AddonBlockNewsItemsComponent } from './newsitems/newsitems';
AddonBlockNewsItemsComponent, AddonBlockNewsItemsComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonBlockOnlineUsersComponent } from './onlineusers/onlineusers'; import { AddonBlockOnlineUsersComponent } from './onlineusers/onlineusers';
@ -26,10 +22,6 @@ import { AddonBlockOnlineUsersComponent } from './onlineusers/onlineusers';
AddonBlockOnlineUsersComponent, AddonBlockOnlineUsersComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonBlockRecentActivityComponent } from './recentactivity/recentactivity'; import { AddonBlockRecentActivityComponent } from './recentactivity/recentactivity';
@ -26,10 +22,6 @@ import { AddonBlockRecentActivityComponent } from './recentactivity/recentactivi
AddonBlockRecentActivityComponent, AddonBlockRecentActivityComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -13,9 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCoursesComponentsModule } from '@features/courses/components/components.module'; import { CoreCoursesComponentsModule } from '@features/courses/components/components.module';
@ -27,9 +24,6 @@ import { AddonBlockRecentlyAccessedCoursesComponent } from './recentlyaccessedco
AddonBlockRecentlyAccessedCoursesComponent, AddonBlockRecentlyAccessedCoursesComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreCoursesComponentsModule, CoreCoursesComponentsModule,
], ],

View File

@ -13,8 +13,6 @@
// limitations under the License. // limitations under the License.
import { APP_INITIALIZER, NgModule } from '@angular/core'; import { APP_INITIALIZER, NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreBlockDelegate } from '@features/block/services/block-delegate'; import { CoreBlockDelegate } from '@features/block/services/block-delegate';
import { AddonBlockRecentlyAccessedCoursesComponentsModule } from './components/components.module'; import { AddonBlockRecentlyAccessedCoursesComponentsModule } from './components/components.module';
@ -22,10 +20,8 @@ import { AddonBlockRecentlyAccessedCoursesHandler } from './services/block-handl
@NgModule({ @NgModule({
imports: [ imports: [
IonicModule,
CoreSharedModule, CoreSharedModule,
AddonBlockRecentlyAccessedCoursesComponentsModule, AddonBlockRecentlyAccessedCoursesComponentsModule,
TranslateModule.forChild(),
], ],
providers: [ providers: [
{ {

View File

@ -13,9 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCoursesComponentsModule } from '@features/courses/components/components.module'; import { CoreCoursesComponentsModule } from '@features/courses/components/components.module';
@ -27,9 +24,6 @@ import { AddonBlockRecentlyAccessedItemsComponent } from './recentlyaccesseditem
AddonBlockRecentlyAccessedItemsComponent, AddonBlockRecentlyAccessedItemsComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreCoursesComponentsModule, CoreCoursesComponentsModule,
], ],

View File

@ -13,8 +13,6 @@
// limitations under the License. // limitations under the License.
import { APP_INITIALIZER, NgModule } from '@angular/core'; import { APP_INITIALIZER, NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreBlockDelegate } from '@features/block/services/block-delegate'; import { CoreBlockDelegate } from '@features/block/services/block-delegate';
import { AddonBlockRecentlyAccessedItemsComponentsModule } from './components/components.module'; import { AddonBlockRecentlyAccessedItemsComponentsModule } from './components/components.module';
@ -22,10 +20,8 @@ import { AddonBlockRecentlyAccessedItemsHandler } from './services/block-handler
@NgModule({ @NgModule({
imports: [ imports: [
IonicModule,
CoreSharedModule, CoreSharedModule,
AddonBlockRecentlyAccessedItemsComponentsModule, AddonBlockRecentlyAccessedItemsComponentsModule,
TranslateModule.forChild(),
], ],
providers: [ providers: [
{ {

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonBlockRssClientComponent } from './rssclient/rssclient'; import { AddonBlockRssClientComponent } from './rssclient/rssclient';
@ -26,10 +22,6 @@ import { AddonBlockRssClientComponent } from './rssclient/rssclient';
AddonBlockRssClientComponent, AddonBlockRssClientComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -13,9 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCourseComponentsModule } from '@features/course/components/components.module'; import { CoreCourseComponentsModule } from '@features/course/components/components.module';
@ -28,9 +25,6 @@ import { AddonBlockSiteMainMenuComponent } from './sitemainmenu/sitemainmenu';
AddonBlockSiteMainMenuComponent, AddonBlockSiteMainMenuComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreCourseComponentsModule, CoreCourseComponentsModule,
], ],

View File

@ -13,8 +13,6 @@
// limitations under the License. // limitations under the License.
import { APP_INITIALIZER, NgModule } from '@angular/core'; import { APP_INITIALIZER, NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonBlockSiteMainMenuComponentsModule } from './components/components.module'; import { AddonBlockSiteMainMenuComponentsModule } from './components/components.module';
import { CoreBlockDelegate } from '@features/block/services/block-delegate'; import { CoreBlockDelegate } from '@features/block/services/block-delegate';
@ -22,10 +20,8 @@ import { AddonBlockSiteMainMenuHandler } from './services/block-handler';
@NgModule({ @NgModule({
imports: [ imports: [
IonicModule,
CoreSharedModule, CoreSharedModule,
AddonBlockSiteMainMenuComponentsModule, AddonBlockSiteMainMenuComponentsModule,
TranslateModule.forChild(),
], ],
providers: [ providers: [
{ {

View File

@ -13,9 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCoursesComponentsModule } from '@features/courses/components/components.module'; import { CoreCoursesComponentsModule } from '@features/courses/components/components.module';
@ -27,9 +24,6 @@ import { AddonBlockStarredCoursesComponent } from './starredcourses/starredcours
AddonBlockStarredCoursesComponent, AddonBlockStarredCoursesComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreCoursesComponentsModule, CoreCoursesComponentsModule,
], ],

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonBlockTagsComponent } from './tags/tags'; import { AddonBlockTagsComponent } from './tags/tags';
@ -26,10 +22,6 @@ import { AddonBlockTagsComponent } from './tags/tags';
AddonBlockTagsComponent, AddonBlockTagsComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { FormsModule } from '@angular/forms';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCoursesComponentsModule } from '@features/courses/components/components.module'; import { CoreCoursesComponentsModule } from '@features/courses/components/components.module';
@ -31,10 +27,6 @@ import { AddonBlockTimelineEventsComponent } from './events/events';
AddonBlockTimelineEventsComponent, AddonBlockTimelineEventsComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreCoursesComponentsModule, CoreCoursesComponentsModule,
CoreCourseComponentsModule, CoreCourseComponentsModule,

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
@ -31,10 +27,6 @@ import { AddonCalendarFilterPopoverComponent } from './filter/filter';
AddonCalendarFilterPopoverComponent, AddonCalendarFilterPopoverComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
providers: [ providers: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonCalendarComponentsModule } from '../../components/components.module'; import { AddonCalendarComponentsModule } from '../../components/components.module';
@ -33,9 +30,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
AddonCalendarComponentsModule, AddonCalendarComponentsModule,
], ],

View File

@ -13,11 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreEditorComponentsModule } from '@features/editor/components/components.module'; import { CoreEditorComponentsModule } from '@features/editor/components/components.module';
@ -34,11 +30,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
FormsModule,
ReactiveFormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreEditorComponentsModule, CoreEditorComponentsModule,
], ],

View File

@ -13,11 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonCalendarComponentsModule } from '../../components/components.module'; import { AddonCalendarComponentsModule } from '../../components/components.module';
@ -34,10 +30,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
AddonCalendarComponentsModule, AddonCalendarComponentsModule,
], ],

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonCalendarComponentsModule } from '../../components/components.module'; import { AddonCalendarComponentsModule } from '../../components/components.module';
@ -33,9 +30,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
AddonCalendarComponentsModule, AddonCalendarComponentsModule,
], ],

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { AddonCalendarEventRoute, AddonCalendarEditRoute } from '@addons/calendar/calendar-lazy.module'; import { AddonCalendarEventRoute, AddonCalendarEditRoute } from '@addons/calendar/calendar-lazy.module';
import { conditionalRoutes } from '@/app/app-routing.module'; import { conditionalRoutes } from '@/app/app-routing.module';
import { CoreScreen } from '@services/screen'; import { CoreScreen } from '@services/screen';
@ -54,9 +51,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -14,16 +14,10 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { CoreDirectivesModule } from '@directives/directives.module';
import { CorePipesModule } from '@pipes/pipes.module';
import { AddonCalendarSettingsPage } from './settings'; import { AddonCalendarSettingsPage } from './settings';
import { CoreSharedModule } from '@/core/shared.module';
const routes: Routes = [ const routes: Routes = [
{ {
@ -35,12 +29,7 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule, CoreSharedModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreDirectivesModule,
CorePipesModule,
], ],
declarations: [ declarations: [
AddonCalendarSettingsPage, AddonCalendarSettingsPage,

View File

@ -13,11 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonMessageOutputAirnotifierDevicesPage } from './devices'; import { AddonMessageOutputAirnotifierDevicesPage } from './devices';
@ -32,10 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,9 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
@ -27,9 +24,6 @@ import { AddonMessagesConversationInfoComponent } from './conversation-info/conv
AddonMessagesConversationInfoComponent, AddonMessagesConversationInfoComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
entryComponents: [ entryComponents: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { conditionalRoutes } from '@/app/app-routing.module'; import { conditionalRoutes } from '@/app/app-routing.module';
import { AddonMessagesDiscussionRoute } from '@addons/messages/messages-lazy.module'; import { AddonMessagesDiscussionRoute } from '@addons/messages/messages-lazy.module';
import { CoreScreen } from '@services/screen'; import { CoreScreen } from '@services/screen';
@ -52,9 +49,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreSearchComponentsModule, CoreSearchComponentsModule,
], ],

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { conditionalRoutes } from '@/app/app-routing.module'; import { conditionalRoutes } from '@/app/app-routing.module';
import { AddonMessagesDiscussionRoute } from '@addons/messages/messages-lazy.module'; import { AddonMessagesDiscussionRoute } from '@addons/messages/messages-lazy.module';
import { CoreScreen } from '@services/screen'; import { CoreScreen } from '@services/screen';
@ -52,9 +49,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
@ -33,9 +30,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
AddonMessagesComponentsModule, AddonMessagesComponentsModule,
], ],
@ -45,4 +39,3 @@ const routes: Routes = [
exports: [RouterModule], exports: [RouterModule],
}) })
export class AddonMessagesDiscussionPageModule {} export class AddonMessagesDiscussionPageModule {}

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { CoreScreen } from '@services/screen'; import { CoreScreen } from '@services/screen';
import { conditionalRoutes } from '@/app/app-routing.module'; import { conditionalRoutes } from '@/app/app-routing.module';
import { AddonMessagesDiscussionRoute } from '@addons/messages/messages-lazy.module'; import { AddonMessagesDiscussionRoute } from '@addons/messages/messages-lazy.module';
@ -52,9 +49,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreSearchComponentsModule, CoreSearchComponentsModule,
], ],

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { conditionalRoutes } from '@/app/app-routing.module'; import { conditionalRoutes } from '@/app/app-routing.module';
import { AddonMessagesDiscussionRoute } from '@addons/messages/messages-lazy.module'; import { AddonMessagesDiscussionRoute } from '@addons/messages/messages-lazy.module';
import { CoreScreen } from '@services/screen'; import { CoreScreen } from '@services/screen';
@ -51,9 +48,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { CoreScreen } from '@services/screen'; import { CoreScreen } from '@services/screen';
import { conditionalRoutes } from '@/app/app-routing.module'; import { conditionalRoutes } from '@/app/app-routing.module';
import { AddonMessagesDiscussionRoute } from '@addons/messages/messages-lazy.module'; import { AddonMessagesDiscussionRoute } from '@addons/messages/messages-lazy.module';
@ -52,9 +49,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreSearchComponentsModule, CoreSearchComponentsModule,
], ],

View File

@ -13,11 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
@ -33,10 +29,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCourseComponentsModule } from '@features/course/components/components.module'; import { CoreCourseComponentsModule } from '@features/course/components/components.module';
@ -31,10 +27,6 @@ import { AddonModBookTocComponent } from './toc/toc';
AddonModBookTocComponent, AddonModBookTocComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
FormsModule,
CoreSharedModule, CoreSharedModule,
CoreCourseComponentsModule, CoreCourseComponentsModule,
CoreTagComponentsModule, CoreTagComponentsModule,

View File

@ -14,9 +14,6 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonModBookComponentsModule } from '../../components/components.module'; import { AddonModBookComponentsModule } from '../../components/components.module';
@ -32,9 +29,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
AddonModBookComponentsModule, AddonModBookComponentsModule,
], ],

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCourseComponentsModule } from '@features/course/components/components.module'; import { CoreCourseComponentsModule } from '@features/course/components/components.module';
@ -31,10 +27,6 @@ import { AddonModLessonPasswordModalComponent } from './password-modal/password-
AddonModLessonPasswordModalComponent, AddonModLessonPasswordModalComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
FormsModule,
CoreSharedModule, CoreSharedModule,
CoreCourseComponentsModule, CoreCourseComponentsModule,
], ],

View File

@ -14,9 +14,6 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonModLessonComponentsModule } from '../../components/components.module'; import { AddonModLessonComponentsModule } from '../../components/components.module';
@ -32,9 +29,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
AddonModLessonComponentsModule, AddonModLessonComponentsModule,
], ],

View File

@ -14,10 +14,6 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonModLessonPlayerPage } from './player'; import { AddonModLessonPlayerPage } from './player';
@ -35,11 +31,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
FormsModule,
ReactiveFormsModule,
CoreSharedModule, CoreSharedModule,
CoreEditorComponentsModule, CoreEditorComponentsModule,
], ],

View File

@ -14,10 +14,6 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonModLessonUserRetakePage } from './user-retake'; import { AddonModLessonUserRetakePage } from './user-retake';
@ -32,10 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
FormsModule,
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCourseComponentsModule } from '@features/course/components/components.module'; import { CoreCourseComponentsModule } from '@features/course/components/components.module';
@ -28,10 +24,6 @@ import { AddonModPageIndexComponent } from './index/index';
AddonModPageIndexComponent, AddonModPageIndexComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
FormsModule,
CoreSharedModule, CoreSharedModule,
CoreCourseComponentsModule, CoreCourseComponentsModule,
], ],

View File

@ -14,9 +14,6 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonModPageComponentsModule } from '../../components/components.module'; import { AddonModPageComponentsModule } from '../../components/components.module';
@ -32,9 +29,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
AddonModPageComponentsModule, AddonModPageComponentsModule,
], ],

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonNotificationsComponentsModule } from '../../components/components.module'; import { AddonNotificationsComponentsModule } from '../../components/components.module';
@ -32,9 +29,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
AddonNotificationsComponentsModule, AddonNotificationsComponentsModule,
], ],

View File

@ -13,11 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonNotificationsSettingsPage } from './settings'; import { AddonNotificationsSettingsPage } from './settings';
@ -32,10 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
FormsModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,11 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { AddonPrivateFilesIndexPage } from '.'; import { AddonPrivateFilesIndexPage } from '.';
@ -32,10 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { APP_INITIALIZER, NgModule } from '@angular/core'; import { APP_INITIALIZER, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { AddonUserProfileFieldCheckboxHandler } from './services/handlers/checkbox'; import { AddonUserProfileFieldCheckboxHandler } from './services/handlers/checkbox';
import { CoreUserProfileFieldDelegate } from '@features/user/services/user-profile-field-delegate'; import { CoreUserProfileFieldDelegate } from '@features/user/services/user-profile-field-delegate';
@ -28,11 +24,6 @@ import { CoreSharedModule } from '@/core/shared.module';
AddonUserProfileFieldCheckboxComponent, AddonUserProfileFieldCheckboxComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule.forRoot(),
TranslateModule.forChild(),
FormsModule,
ReactiveFormsModule,
CoreSharedModule, CoreSharedModule,
], ],
providers: [ providers: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { APP_INITIALIZER, NgModule } from '@angular/core'; import { APP_INITIALIZER, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { AddonUserProfileFieldDatetimeHandler } from './services/handlers/datetime'; import { AddonUserProfileFieldDatetimeHandler } from './services/handlers/datetime';
import { CoreUserProfileFieldDelegate } from '@features/user/services/user-profile-field-delegate'; import { CoreUserProfileFieldDelegate } from '@features/user/services/user-profile-field-delegate';
@ -28,11 +24,6 @@ import { CoreSharedModule } from '@/core/shared.module';
AddonUserProfileFieldDatetimeComponent, AddonUserProfileFieldDatetimeComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule.forRoot(),
TranslateModule.forChild(),
FormsModule,
ReactiveFormsModule,
CoreSharedModule, CoreSharedModule,
], ],
providers: [ providers: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { APP_INITIALIZER, NgModule } from '@angular/core'; import { APP_INITIALIZER, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { AddonUserProfileFieldMenuHandler } from './services/handlers/menu'; import { AddonUserProfileFieldMenuHandler } from './services/handlers/menu';
import { CoreUserProfileFieldDelegate } from '@features/user/services/user-profile-field-delegate'; import { CoreUserProfileFieldDelegate } from '@features/user/services/user-profile-field-delegate';
@ -28,11 +24,6 @@ import { CoreSharedModule } from '@/core/shared.module';
AddonUserProfileFieldMenuComponent, AddonUserProfileFieldMenuComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule.forRoot(),
TranslateModule.forChild(),
FormsModule,
ReactiveFormsModule,
CoreSharedModule, CoreSharedModule,
], ],
providers: [ providers: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { APP_INITIALIZER, NgModule } from '@angular/core'; import { APP_INITIALIZER, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { AddonUserProfileFieldTextHandler } from './services/handlers/text'; import { AddonUserProfileFieldTextHandler } from './services/handlers/text';
import { CoreUserProfileFieldDelegate } from '@features/user/services/user-profile-field-delegate'; import { CoreUserProfileFieldDelegate } from '@features/user/services/user-profile-field-delegate';
@ -28,11 +24,6 @@ import { CoreSharedModule } from '@/core/shared.module';
AddonUserProfileFieldTextComponent, AddonUserProfileFieldTextComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule.forRoot(),
TranslateModule.forChild(),
FormsModule,
ReactiveFormsModule,
CoreSharedModule, CoreSharedModule,
], ],
providers: [ providers: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { APP_INITIALIZER, NgModule } from '@angular/core'; import { APP_INITIALIZER, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { AddonUserProfileFieldTextareaHandler } from './services/handlers/textarea'; import { AddonUserProfileFieldTextareaHandler } from './services/handlers/textarea';
import { CoreUserProfileFieldDelegate } from '@features/user/services/user-profile-field-delegate'; import { CoreUserProfileFieldDelegate } from '@features/user/services/user-profile-field-delegate';
@ -29,11 +25,6 @@ import { CoreEditorComponentsModule } from '@features/editor/components/componen
AddonUserProfileFieldTextareaComponent, AddonUserProfileFieldTextareaComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule.forRoot(),
TranslateModule.forChild(),
FormsModule,
ReactiveFormsModule,
CoreSharedModule, CoreSharedModule,
CoreEditorComponentsModule, CoreEditorComponentsModule,
], ],

View File

@ -87,7 +87,7 @@ import { CoreLocalFileComponent } from './local-file/local-file';
], ],
imports: [ imports: [
CommonModule, CommonModule,
IonicModule.forRoot(), IonicModule,
FormsModule, FormsModule,
TranslateModule.forChild(), TranslateModule.forChild(),
CoreDirectivesModule, CoreDirectivesModule,

View File

@ -13,9 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreBlockComponent } from './block/block'; import { CoreBlockComponent } from './block/block';
import { CoreBlockOnlyTitleComponent } from './only-title-block/only-title-block'; import { CoreBlockOnlyTitleComponent } from './only-title-block/only-title-block';
import { CoreBlockPreRenderedComponent } from './pre-rendered-block/pre-rendered-block'; import { CoreBlockPreRenderedComponent } from './pre-rendered-block/pre-rendered-block';
@ -30,9 +27,6 @@ import { CoreSharedModule } from '@/core/shared.module';
CoreBlockCourseBlocksComponent, CoreBlockCourseBlocksComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -14,9 +14,6 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
@ -35,9 +32,6 @@ const routes: Routes = [
], ],
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
}) })

View File

@ -13,9 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreBlockComponentsModule } from '@features/block/components/components.module'; import { CoreBlockComponentsModule } from '@features/block/components/components.module';
@ -39,9 +36,6 @@ import { CoreCourseUnsupportedModuleComponent } from './unsupported-module/unsup
], ],
imports: [ imports: [
CoreBlockComponentsModule, CoreBlockComponentsModule,
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCourseContentsPage } from './contents'; import { CoreCourseContentsPage } from './contents';
@ -32,9 +29,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreCourseComponentsModule, CoreCourseComponentsModule,
], ],

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { Injector, NgModule } from '@angular/core'; import { Injector, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, ROUTES, Routes } from '@angular/router'; import { RouterModule, ROUTES, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { resolveModuleRoutes } from '@/app/app-routing.module'; import { resolveModuleRoutes } from '@/app/app-routing.module';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
@ -41,9 +38,6 @@ function buildRoutes(injector: Injector): Routes {
{ provide: ROUTES, multi: true, useFactory: buildRoutes, deps: [Injector] }, { provide: ROUTES, multi: true, useFactory: buildRoutes, deps: [Injector] },
], ],
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCourseListModTypePage } from './list-mod-type'; import { CoreCourseListModTypePage } from './list-mod-type';
@ -35,9 +32,6 @@ const routes: Routes = [
], ],
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreCourseComponentsModule, CoreCourseComponentsModule,
], ],

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCourseUnsupportedModulePage } from './unsupported-module'; import { CoreCourseUnsupportedModulePage } from './unsupported-module';
@ -32,9 +29,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreCourseComponentsModule, CoreCourseComponentsModule,
], ],

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { FormsModule } from '@angular/forms';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCoursesCourseListItemComponent } from './course-list-item/course-list-item'; import { CoreCoursesCourseListItemComponent } from './course-list-item/course-list-item';
@ -32,10 +28,6 @@ import { CoreCoursesSelfEnrolPasswordComponent } from './self-enrol-password/sel
CoreCoursesSelfEnrolPasswordComponent, CoreCoursesSelfEnrolPasswordComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCoursesComponentsModule } from '../../components/components.module'; import { CoreCoursesComponentsModule } from '../../components/components.module';
@ -34,9 +31,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreCoursesComponentsModule, CoreCoursesComponentsModule,
], ],

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCoursesComponentsModule } from '../../components/components.module'; import { CoreCoursesComponentsModule } from '../../components/components.module';
@ -34,9 +31,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreCoursesComponentsModule, CoreCoursesComponentsModule,
], ],

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCoursesCoursePreviewPage } from './course-preview'; import { CoreCoursesCoursePreviewPage } from './course-preview';
@ -32,9 +29,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreCoursesComponentsModule, CoreCoursesComponentsModule,
], ],

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreBlockComponentsModule } from '@features/block/components/components.module'; import { CoreBlockComponentsModule } from '@features/block/components/components.module';
@ -33,9 +30,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreBlockComponentsModule, CoreBlockComponentsModule,
], ],

View File

@ -13,11 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { FormsModule } from '@angular/forms';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCoursesMyCoursesPage } from './my-courses'; import { CoreCoursesMyCoursesPage } from './my-courses';
@ -33,10 +29,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
FormsModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreCoursesComponentsModule, CoreCoursesComponentsModule,
], ],

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreCoursesComponentsModule } from '../../components/components.module'; import { CoreCoursesComponentsModule } from '../../components/components.module';
@ -34,9 +31,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreCoursesComponentsModule, CoreCoursesComponentsModule,
CoreSearchComponentsModule, CoreSearchComponentsModule,

View File

@ -13,9 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreEditorRichTextEditorComponent } from './rich-text-editor/rich-text-editor'; import { CoreEditorRichTextEditorComponent } from './rich-text-editor/rich-text-editor';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
@ -25,9 +22,6 @@ import { CoreSharedModule } from '@/core/shared.module';
CoreEditorRichTextEditorComponent, CoreEditorRichTextEditorComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
providers: [ providers: [

View File

@ -13,9 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreEmulatorCaptureMediaComponent } from './capture-media/capture-media'; import { CoreEmulatorCaptureMediaComponent } from './capture-media/capture-media';
@ -25,9 +22,6 @@ import { CoreEmulatorCaptureMediaComponent } from './capture-media/capture-media
CoreEmulatorCaptureMediaComponent, CoreEmulatorCaptureMediaComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule.forRoot(),
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -12,11 +12,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { TranslateModule } from '@ngx-translate/core';
import { conditionalRoutes } from '@/app/app-routing.module'; import { conditionalRoutes } from '@/app/app-routing.module';
import { CoreScreen } from '@services/screen'; import { CoreScreen } from '@services/screen';
@ -73,9 +70,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreGradesCoursePageModule, CoreGradesCoursePageModule,
], ],

View File

@ -12,10 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
@ -23,9 +20,6 @@ import { CoreGradesCoursePage } from './course.page';
@NgModule({ @NgModule({
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,9 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreH5PPlayerComponent } from './h5p-player/h5p-player'; import { CoreH5PPlayerComponent } from './h5p-player/h5p-player';
@ -27,10 +24,7 @@ import { CoreH5PIframeComponent } from './h5p-iframe/h5p-iframe';
CoreH5PIframeComponent, CoreH5PIframeComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
CoreSharedModule, CoreSharedModule,
TranslateModule.forChild(),
], ],
providers: [ providers: [
], ],

View File

@ -14,9 +14,6 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreLoginSiteHelpComponent } from './components/site-help/site-help'; import { CoreLoginSiteHelpComponent } from './components/site-help/site-help';
@ -69,9 +66,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
RouterModule.forChild(routes), RouterModule.forChild(routes),
], ],

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreLoginChangePasswordPage } from './change-password'; import { CoreLoginChangePasswordPage } from './change-password';
@ -31,9 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,11 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreLoginCredentialsPage } from './credentials'; import { CoreLoginCredentialsPage } from './credentials';
@ -32,11 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
FormsModule,
ReactiveFormsModule,
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,11 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreUserComponentsModule } from '@features/user/components/components.module'; import { CoreUserComponentsModule } from '@features/user/components/components.module';
@ -34,11 +30,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
FormsModule,
ReactiveFormsModule,
CoreSharedModule, CoreSharedModule,
CoreUserComponentsModule, CoreUserComponentsModule,
], ],

View File

@ -13,11 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreLoginForgottenPasswordPage } from './forgotten-password'; import { CoreLoginForgottenPasswordPage } from './forgotten-password';
@ -32,11 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
FormsModule,
ReactiveFormsModule,
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,11 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreLoginReconnectPage } from './reconnect'; import { CoreLoginReconnectPage } from './reconnect';
@ -32,11 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
FormsModule,
ReactiveFormsModule,
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreLoginSitePolicyPage } from './site-policy'; import { CoreLoginSitePolicyPage } from './site-policy';
@ -31,9 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,11 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreLoginSitePage } from './site'; import { CoreLoginSitePage } from './site';
@ -32,11 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
FormsModule,
ReactiveFormsModule,
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreLoginSitesPage } from './sites'; import { CoreLoginSitesPage } from './sites';
@ -31,9 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -12,11 +12,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
import { CommonModule } from '@angular/common';
import { Injector, NgModule } from '@angular/core'; import { Injector, NgModule } from '@angular/core';
import { ROUTES, Routes } from '@angular/router'; import { ROUTES, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { resolveModuleRoutes } from '@/app/app-routing.module'; import { resolveModuleRoutes } from '@/app/app-routing.module';
@ -56,9 +53,6 @@ function buildRoutes(injector: Injector): Routes {
@NgModule({ @NgModule({
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule,
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { Injector, NgModule } from '@angular/core'; import { Injector, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, ROUTES, Routes } from '@angular/router'; import { RouterModule, ROUTES, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { resolveModuleRoutes } from '@/app/app-routing.module'; import { resolveModuleRoutes } from '@/app/app-routing.module';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
@ -40,9 +37,6 @@ function buildRoutes(injector: Injector): Routes {
@NgModule({ @NgModule({
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
providers: [ providers: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { Injector, NgModule } from '@angular/core'; import { Injector, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, ROUTES } from '@angular/router'; import { RouterModule, ROUTES } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreMainMenuMorePage } from './more'; import { CoreMainMenuMorePage } from './more';
@ -24,9 +21,6 @@ import { buildTabMainRoutes } from '@features/mainmenu/mainmenu-tab-routing.modu
@NgModule({ @NgModule({
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
providers: [ providers: [

View File

@ -13,10 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreSearchBoxComponent } from './search-box/search-box'; import { CoreSearchBoxComponent } from './search-box/search-box';
@ -27,10 +23,6 @@ import { CoreSearchBoxComponent } from './search-box/search-box';
CoreSearchBoxComponent, CoreSearchBoxComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [ exports: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreSettingsAboutPage } from './about'; import { CoreSettingsAboutPage } from './about';
@ -31,9 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreSettingsDeviceInfoPage } from './deviceinfo'; import { CoreSettingsDeviceInfoPage } from './deviceinfo';
@ -31,9 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,11 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { FormsModule } from '@angular/forms';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreSettingsGeneralPage } from './general'; import { CoreSettingsGeneralPage } from './general';
@ -32,10 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreSettingsLicensesPage } from './licenses'; import { CoreSettingsLicensesPage } from './licenses';
@ -31,9 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreSitePreferencesPage } from './site'; import { CoreSitePreferencesPage } from './site';
@ -34,9 +31,6 @@ const routes: Routes = [
], ],
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
}) })

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreSettingsSpaceUsagePage } from './space-usage'; import { CoreSettingsSpaceUsagePage } from './space-usage';
@ -31,9 +28,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -14,14 +14,10 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreSettingsSynchronizationPage } from './synchronization'; import { CoreSettingsSynchronizationPage } from './synchronization';
import { FormsModule } from '@angular/forms';
const routes: Routes = [ const routes: Routes = [
{ {
@ -33,10 +29,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -12,11 +12,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { TranslateModule } from '@ngx-translate/core';
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';
@ -85,9 +82,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule,
CoreSharedModule, CoreSharedModule,
], ],
declarations: [ declarations: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreBlockComponentsModule } from '@/core/features/block/components/components.module'; import { CoreBlockComponentsModule } from '@/core/features/block/components/components.module';
@ -34,9 +31,6 @@ const routes: Routes = [
@NgModule({ @NgModule({
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreBlockComponentsModule, CoreBlockComponentsModule,
CoreCourseComponentsModule, CoreCourseComponentsModule,

View File

@ -13,9 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreTagFeedComponent } from './feed/feed'; import { CoreTagFeedComponent } from './feed/feed';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
@ -27,9 +24,6 @@ import { CoreTagListComponent } from './list/list';
CoreTagListComponent, CoreTagListComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
providers: [ providers: [

View File

@ -13,10 +13,7 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CommonModule } from '@angular/common';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreTagIndexAreaPage } from './index-area.page'; import { CoreTagIndexAreaPage } from './index-area.page';
@ -34,9 +31,6 @@ const routes: Routes = [
], ],
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [RouterModule], exports: [RouterModule],

View File

@ -13,9 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { conditionalRoutes } from '@/app/app-routing.module'; import { conditionalRoutes } from '@/app/app-routing.module';
import { CoreTagIndexAreaRoute } from '@features/tag/tag-lazy.module'; import { CoreTagIndexAreaRoute } from '@features/tag/tag-lazy.module';
@ -53,9 +50,6 @@ const routes: Routes = [
], ],
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
exports: [RouterModule], exports: [RouterModule],

View File

@ -13,16 +13,12 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreSearchComponentsModule } from '@features/search/components/components.module'; import { CoreSearchComponentsModule } from '@features/search/components/components.module';
import { CoreTagSearchPage } from './search.page'; import { CoreTagSearchPage } from './search.page';
import { FormsModule } from '@angular/forms';
const routes: Routes = [ const routes: Routes = [
{ {
@ -36,10 +32,6 @@ const routes: Routes = [
], ],
imports: [ imports: [
RouterModule.forChild(routes), RouterModule.forChild(routes),
CommonModule,
IonicModule,
FormsModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
CoreSearchComponentsModule, CoreSearchComponentsModule,
], ],

View File

@ -13,9 +13,6 @@
// limitations under the License. // limitations under the License.
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import { CoreSharedModule } from '@/core/shared.module'; import { CoreSharedModule } from '@/core/shared.module';
import { CoreUserProfileFieldComponent } from './user-profile-field/user-profile-field'; import { CoreUserProfileFieldComponent } from './user-profile-field/user-profile-field';
@ -27,9 +24,6 @@ import { CoreUserTagAreaComponent } from './tag-area/tag-area';
CoreUserTagAreaComponent, CoreUserTagAreaComponent,
], ],
imports: [ imports: [
CommonModule,
IonicModule,
TranslateModule.forChild(),
CoreSharedModule, CoreSharedModule,
], ],
providers: [ providers: [

Some files were not shown because too many files have changed in this diff Show More