MOBILE-3644 core: Remove all entryComponents
parent
ae97ee3b23
commit
8a3fb4a5eb
|
@ -28,8 +28,5 @@ import { AddonBlockActivityModulesComponent } from './activitymodules/activitymo
|
|||
exports: [
|
||||
AddonBlockActivityModulesComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockActivityModulesComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockActivityModulesComponentsModule {}
|
||||
|
|
|
@ -27,8 +27,5 @@ import { AddonBlockActivityResultsComponent } from './activityresults/activityre
|
|||
exports: [
|
||||
AddonBlockActivityResultsComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockActivityResultsComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockActivityResultsComponentsModule {}
|
||||
|
|
|
@ -27,8 +27,5 @@ import { AddonBlockBadgesComponent } from './badges/badges';
|
|||
exports: [
|
||||
AddonBlockBadgesComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockBadgesComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockBadgesComponentsModule {}
|
||||
|
|
|
@ -27,8 +27,5 @@ import { AddonBlockBlogMenuComponent } from './blogmenu/blogmenu';
|
|||
exports: [
|
||||
AddonBlockBlogMenuComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockBlogMenuComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockBlogMenuComponentsModule {}
|
||||
|
|
|
@ -27,8 +27,5 @@ import { AddonBlockBlogRecentComponent } from './blogrecent/blogrecent';
|
|||
exports: [
|
||||
AddonBlockBlogRecentComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockBlogRecentComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockBlogRecentComponentsModule {}
|
||||
|
|
|
@ -27,8 +27,5 @@ import { AddonBlockBlogTagsComponent } from './blogtags/blogtags';
|
|||
exports: [
|
||||
AddonBlockBlogTagsComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockBlogTagsComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockBlogTagsComponentsModule {}
|
||||
|
|
|
@ -29,8 +29,5 @@ import { AddonBlockMyOverviewComponent } from './myoverview/myoverview';
|
|||
exports: [
|
||||
AddonBlockMyOverviewComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockMyOverviewComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockMyOverviewComponentsModule {}
|
||||
|
|
|
@ -27,8 +27,5 @@ import { AddonBlockNewsItemsComponent } from './newsitems/newsitems';
|
|||
exports: [
|
||||
AddonBlockNewsItemsComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockNewsItemsComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockNewsItemsComponentsModule {}
|
||||
|
|
|
@ -27,8 +27,5 @@ import { AddonBlockOnlineUsersComponent } from './onlineusers/onlineusers';
|
|||
exports: [
|
||||
AddonBlockOnlineUsersComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockOnlineUsersComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockOnlineUsersComponentsModule {}
|
||||
|
|
|
@ -27,8 +27,5 @@ import { AddonBlockRecentActivityComponent } from './recentactivity/recentactivi
|
|||
exports: [
|
||||
AddonBlockRecentActivityComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockRecentActivityComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockRecentActivityComponentsModule {}
|
||||
|
|
|
@ -30,8 +30,5 @@ import { AddonBlockRecentlyAccessedCoursesComponent } from './recentlyaccessedco
|
|||
exports: [
|
||||
AddonBlockRecentlyAccessedCoursesComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockRecentlyAccessedCoursesComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockRecentlyAccessedCoursesComponentsModule {}
|
||||
|
|
|
@ -30,8 +30,5 @@ import { AddonBlockRecentlyAccessedItemsComponent } from './recentlyaccesseditem
|
|||
exports: [
|
||||
AddonBlockRecentlyAccessedItemsComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockRecentlyAccessedItemsComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockRecentlyAccessedItemsComponentsModule {}
|
||||
|
|
|
@ -27,8 +27,5 @@ import { AddonBlockRssClientComponent } from './rssclient/rssclient';
|
|||
exports: [
|
||||
AddonBlockRssClientComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockRssClientComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockRssClientComponentsModule {}
|
||||
|
|
|
@ -30,8 +30,5 @@ import { AddonBlockSiteMainMenuComponent } from './sitemainmenu/sitemainmenu';
|
|||
exports: [
|
||||
AddonBlockSiteMainMenuComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockSiteMainMenuComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockSiteMainMenuComponentsModule {}
|
||||
|
|
|
@ -30,8 +30,5 @@ import { AddonBlockStarredCoursesComponent } from './starredcourses/starredcours
|
|||
exports: [
|
||||
AddonBlockStarredCoursesComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockStarredCoursesComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockStarredCoursesComponentsModule {}
|
||||
|
|
|
@ -27,8 +27,5 @@ import { AddonBlockTagsComponent } from './tags/tags';
|
|||
exports: [
|
||||
AddonBlockTagsComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockTagsComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockTagsComponentsModule {}
|
||||
|
|
|
@ -35,9 +35,5 @@ import { AddonBlockTimelineEventsComponent } from './events/events';
|
|||
AddonBlockTimelineComponent,
|
||||
AddonBlockTimelineEventsComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonBlockTimelineComponent,
|
||||
AddonBlockTimelineEventsComponent,
|
||||
],
|
||||
})
|
||||
export class AddonBlockTimelineComponentsModule {}
|
||||
|
|
|
@ -36,8 +36,5 @@ import { AddonCalendarFilterPopoverComponent } from './filter/filter';
|
|||
AddonCalendarUpcomingEventsComponent,
|
||||
AddonCalendarFilterPopoverComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonCalendarFilterPopoverComponent,
|
||||
],
|
||||
})
|
||||
export class AddonCalendarComponentsModule {}
|
||||
|
|
|
@ -25,8 +25,5 @@ import { AddonMessagesConversationInfoComponent } from './conversation-info/conv
|
|||
imports: [
|
||||
CoreSharedModule,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonMessagesConversationInfoComponent,
|
||||
],
|
||||
})
|
||||
export class AddonMessagesComponentsModule {}
|
||||
|
|
|
@ -40,8 +40,5 @@ import { AddonModAssignFeedbackDelegate } from '../../services/feedback-delegate
|
|||
exports: [
|
||||
AddonModAssignFeedbackCommentsComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonModAssignFeedbackCommentsComponent,
|
||||
],
|
||||
})
|
||||
export class AddonModAssignFeedbackCommentsModule {}
|
||||
|
|
|
@ -38,8 +38,5 @@ import { AddonModAssignFeedbackDelegate } from '../../services/feedback-delegate
|
|||
exports: [
|
||||
AddonModAssignFeedbackEditPdfComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonModAssignFeedbackEditPdfComponent,
|
||||
],
|
||||
})
|
||||
export class AddonModAssignFeedbackEditPdfModule {}
|
||||
|
|
|
@ -38,8 +38,5 @@ import { AddonModAssignFeedbackDelegate } from '../../services/feedback-delegate
|
|||
exports: [
|
||||
AddonModAssignFeedbackFileComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonModAssignFeedbackFileComponent,
|
||||
],
|
||||
})
|
||||
export class AddonModAssignFeedbackFileModule {}
|
||||
|
|
|
@ -40,8 +40,5 @@ import { CoreCommentsComponentsModule } from '@features/comments/components/comp
|
|||
exports: [
|
||||
AddonModAssignSubmissionCommentsComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonModAssignSubmissionCommentsComponent,
|
||||
],
|
||||
})
|
||||
export class AddonModAssignSubmissionCommentsModule {}
|
||||
|
|
|
@ -38,8 +38,5 @@ import { AddonModAssignSubmissionDelegate } from '../../services/submission-dele
|
|||
exports: [
|
||||
AddonModAssignSubmissionFileComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonModAssignSubmissionFileComponent,
|
||||
],
|
||||
})
|
||||
export class AddonModAssignSubmissionFileModule {}
|
||||
|
|
|
@ -40,8 +40,5 @@ import { AddonModAssignSubmissionDelegate } from '../../services/submission-dele
|
|||
exports: [
|
||||
AddonModAssignSubmissionOnlineTextComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonModAssignSubmissionOnlineTextComponent,
|
||||
],
|
||||
})
|
||||
export class AddonModAssignSubmissionOnlineTextModule {}
|
||||
|
|
|
@ -35,9 +35,5 @@ import { CoreSearchComponentsModule } from '@features/search/components/componen
|
|||
AddonModGlossaryIndexComponent,
|
||||
AddonModGlossaryModePickerPopoverComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonModGlossaryIndexComponent,
|
||||
AddonModGlossaryModePickerPopoverComponent,
|
||||
],
|
||||
})
|
||||
export class AddonModGlossaryComponentsModule {}
|
||||
|
|
|
@ -38,8 +38,5 @@ import { CoreSharedModule } from '@/core/shared.module';
|
|||
exports: [
|
||||
AddonUserProfileFieldCheckboxComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonUserProfileFieldCheckboxComponent,
|
||||
],
|
||||
})
|
||||
export class AddonUserProfileFieldCheckboxModule {}
|
||||
|
|
|
@ -38,8 +38,5 @@ import { CoreSharedModule } from '@/core/shared.module';
|
|||
exports: [
|
||||
AddonUserProfileFieldDatetimeComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonUserProfileFieldDatetimeComponent,
|
||||
],
|
||||
})
|
||||
export class AddonUserProfileFieldDatetimeModule {}
|
||||
|
|
|
@ -38,8 +38,5 @@ import { CoreSharedModule } from '@/core/shared.module';
|
|||
exports: [
|
||||
AddonUserProfileFieldMenuComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonUserProfileFieldMenuComponent,
|
||||
],
|
||||
})
|
||||
export class AddonUserProfileFieldMenuModule {}
|
||||
|
|
|
@ -38,8 +38,5 @@ import { CoreSharedModule } from '@/core/shared.module';
|
|||
exports: [
|
||||
AddonUserProfileFieldTextComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonUserProfileFieldTextComponent,
|
||||
],
|
||||
})
|
||||
export class AddonUserProfileFieldTextModule {}
|
||||
|
|
|
@ -40,8 +40,5 @@ import { CoreEditorComponentsModule } from '@features/editor/components/componen
|
|||
exports: [
|
||||
AddonUserProfileFieldTextareaComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
AddonUserProfileFieldTextareaComponent,
|
||||
],
|
||||
})
|
||||
export class AddonUserProfileFieldTextareaModule {}
|
||||
|
|
|
@ -37,7 +37,6 @@ export function createTranslateLoader(http: HttpClient): TranslateHttpLoader {
|
|||
|
||||
@NgModule({
|
||||
declarations: [AppComponent],
|
||||
entryComponents: [],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
BrowserAnimationsModule,
|
||||
|
|
|
@ -51,8 +51,6 @@ import { CoreLogger } from '@singletons/logger';
|
|||
* <p>Cannot render the data.</p>
|
||||
* </core-dynamic-component>
|
||||
*
|
||||
* Please notice that the component that you pass needs to be declared in entryComponents of the module to be created dynamically.
|
||||
*
|
||||
* Alternatively, you can also supply a ComponentRef instead of the class of the component. In this case, the component won't
|
||||
* be instantiated because it already is, it will be attached to the view and the right data will be passed to it.
|
||||
* Passing ComponentRef is meant for site plugins.
|
||||
|
|
|
@ -35,10 +35,5 @@ import { CoreSharedModule } from '@/core/shared.module';
|
|||
CoreBlockPreRenderedComponent,
|
||||
CoreBlockCourseBlocksComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
CoreBlockOnlyTitleComponent,
|
||||
CoreBlockPreRenderedComponent,
|
||||
CoreBlockCourseBlocksComponent,
|
||||
],
|
||||
})
|
||||
export class CoreBlockComponentsModule {}
|
||||
|
|
|
@ -29,8 +29,5 @@ import { CoreCommentsCommentsComponent } from './comments/comments';
|
|||
CoreCommentsCommentsComponent,
|
||||
CoreCommentsAddComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
CoreCommentsCommentsComponent,
|
||||
],
|
||||
})
|
||||
export class CoreCommentsComponentsModule {}
|
||||
|
|
|
@ -36,8 +36,5 @@ import { CoreCoursesSelfEnrolPasswordComponent } from './self-enrol-password/sel
|
|||
CoreCoursesCourseOptionsMenuComponent,
|
||||
CoreCoursesSelfEnrolPasswordComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
CoreCoursesCourseOptionsMenuComponent,
|
||||
],
|
||||
})
|
||||
export class CoreCoursesComponentsModule {}
|
||||
|
|
|
@ -29,8 +29,5 @@ import { CoreSharedModule } from '@/core/shared.module';
|
|||
exports: [
|
||||
CoreEditorRichTextEditorComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
CoreEditorRichTextEditorComponent,
|
||||
],
|
||||
})
|
||||
export class CoreEditorComponentsModule {}
|
||||
|
|
|
@ -32,8 +32,5 @@ import { CoreRatingRatingsComponent } from './ratings/ratings';
|
|||
CoreRatingRateComponent,
|
||||
CoreRatingRatingsComponent,
|
||||
],
|
||||
entryComponents: [
|
||||
CoreRatingRatingsComponent,
|
||||
],
|
||||
})
|
||||
export class CoreRatingComponentsModule {}
|
||||
|
|
Loading…
Reference in New Issue