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