MOBILE-3644 core: Remove all entryComponents

main
Dani Palou 2021-04-14 11:16:36 +02:00
parent ae97ee3b23
commit 8a3fb4a5eb
38 changed files with 0 additions and 115 deletions

View File

@ -28,8 +28,5 @@ import { AddonBlockActivityModulesComponent } from './activitymodules/activitymo
exports: [ exports: [
AddonBlockActivityModulesComponent, AddonBlockActivityModulesComponent,
], ],
entryComponents: [
AddonBlockActivityModulesComponent,
],
}) })
export class AddonBlockActivityModulesComponentsModule {} export class AddonBlockActivityModulesComponentsModule {}

View File

@ -27,8 +27,5 @@ import { AddonBlockActivityResultsComponent } from './activityresults/activityre
exports: [ exports: [
AddonBlockActivityResultsComponent, AddonBlockActivityResultsComponent,
], ],
entryComponents: [
AddonBlockActivityResultsComponent,
],
}) })
export class AddonBlockActivityResultsComponentsModule {} export class AddonBlockActivityResultsComponentsModule {}

View File

@ -27,8 +27,5 @@ import { AddonBlockBadgesComponent } from './badges/badges';
exports: [ exports: [
AddonBlockBadgesComponent, AddonBlockBadgesComponent,
], ],
entryComponents: [
AddonBlockBadgesComponent,
],
}) })
export class AddonBlockBadgesComponentsModule {} export class AddonBlockBadgesComponentsModule {}

View File

@ -27,8 +27,5 @@ import { AddonBlockBlogMenuComponent } from './blogmenu/blogmenu';
exports: [ exports: [
AddonBlockBlogMenuComponent, AddonBlockBlogMenuComponent,
], ],
entryComponents: [
AddonBlockBlogMenuComponent,
],
}) })
export class AddonBlockBlogMenuComponentsModule {} export class AddonBlockBlogMenuComponentsModule {}

View File

@ -27,8 +27,5 @@ import { AddonBlockBlogRecentComponent } from './blogrecent/blogrecent';
exports: [ exports: [
AddonBlockBlogRecentComponent, AddonBlockBlogRecentComponent,
], ],
entryComponents: [
AddonBlockBlogRecentComponent,
],
}) })
export class AddonBlockBlogRecentComponentsModule {} export class AddonBlockBlogRecentComponentsModule {}

View File

@ -27,8 +27,5 @@ import { AddonBlockBlogTagsComponent } from './blogtags/blogtags';
exports: [ exports: [
AddonBlockBlogTagsComponent, AddonBlockBlogTagsComponent,
], ],
entryComponents: [
AddonBlockBlogTagsComponent,
],
}) })
export class AddonBlockBlogTagsComponentsModule {} export class AddonBlockBlogTagsComponentsModule {}

View File

@ -29,8 +29,5 @@ import { AddonBlockMyOverviewComponent } from './myoverview/myoverview';
exports: [ exports: [
AddonBlockMyOverviewComponent, AddonBlockMyOverviewComponent,
], ],
entryComponents: [
AddonBlockMyOverviewComponent,
],
}) })
export class AddonBlockMyOverviewComponentsModule {} export class AddonBlockMyOverviewComponentsModule {}

View File

@ -27,8 +27,5 @@ import { AddonBlockNewsItemsComponent } from './newsitems/newsitems';
exports: [ exports: [
AddonBlockNewsItemsComponent, AddonBlockNewsItemsComponent,
], ],
entryComponents: [
AddonBlockNewsItemsComponent,
],
}) })
export class AddonBlockNewsItemsComponentsModule {} export class AddonBlockNewsItemsComponentsModule {}

View File

@ -27,8 +27,5 @@ import { AddonBlockOnlineUsersComponent } from './onlineusers/onlineusers';
exports: [ exports: [
AddonBlockOnlineUsersComponent, AddonBlockOnlineUsersComponent,
], ],
entryComponents: [
AddonBlockOnlineUsersComponent,
],
}) })
export class AddonBlockOnlineUsersComponentsModule {} export class AddonBlockOnlineUsersComponentsModule {}

View File

@ -27,8 +27,5 @@ import { AddonBlockRecentActivityComponent } from './recentactivity/recentactivi
exports: [ exports: [
AddonBlockRecentActivityComponent, AddonBlockRecentActivityComponent,
], ],
entryComponents: [
AddonBlockRecentActivityComponent,
],
}) })
export class AddonBlockRecentActivityComponentsModule {} export class AddonBlockRecentActivityComponentsModule {}

View File

@ -30,8 +30,5 @@ import { AddonBlockRecentlyAccessedCoursesComponent } from './recentlyaccessedco
exports: [ exports: [
AddonBlockRecentlyAccessedCoursesComponent, AddonBlockRecentlyAccessedCoursesComponent,
], ],
entryComponents: [
AddonBlockRecentlyAccessedCoursesComponent,
],
}) })
export class AddonBlockRecentlyAccessedCoursesComponentsModule {} export class AddonBlockRecentlyAccessedCoursesComponentsModule {}

View File

@ -30,8 +30,5 @@ import { AddonBlockRecentlyAccessedItemsComponent } from './recentlyaccesseditem
exports: [ exports: [
AddonBlockRecentlyAccessedItemsComponent, AddonBlockRecentlyAccessedItemsComponent,
], ],
entryComponents: [
AddonBlockRecentlyAccessedItemsComponent,
],
}) })
export class AddonBlockRecentlyAccessedItemsComponentsModule {} export class AddonBlockRecentlyAccessedItemsComponentsModule {}

View File

@ -27,8 +27,5 @@ import { AddonBlockRssClientComponent } from './rssclient/rssclient';
exports: [ exports: [
AddonBlockRssClientComponent, AddonBlockRssClientComponent,
], ],
entryComponents: [
AddonBlockRssClientComponent,
],
}) })
export class AddonBlockRssClientComponentsModule {} export class AddonBlockRssClientComponentsModule {}

View File

@ -30,8 +30,5 @@ import { AddonBlockSiteMainMenuComponent } from './sitemainmenu/sitemainmenu';
exports: [ exports: [
AddonBlockSiteMainMenuComponent, AddonBlockSiteMainMenuComponent,
], ],
entryComponents: [
AddonBlockSiteMainMenuComponent,
],
}) })
export class AddonBlockSiteMainMenuComponentsModule {} export class AddonBlockSiteMainMenuComponentsModule {}

View File

@ -30,8 +30,5 @@ import { AddonBlockStarredCoursesComponent } from './starredcourses/starredcours
exports: [ exports: [
AddonBlockStarredCoursesComponent, AddonBlockStarredCoursesComponent,
], ],
entryComponents: [
AddonBlockStarredCoursesComponent,
],
}) })
export class AddonBlockStarredCoursesComponentsModule {} export class AddonBlockStarredCoursesComponentsModule {}

View File

@ -27,8 +27,5 @@ import { AddonBlockTagsComponent } from './tags/tags';
exports: [ exports: [
AddonBlockTagsComponent, AddonBlockTagsComponent,
], ],
entryComponents: [
AddonBlockTagsComponent,
],
}) })
export class AddonBlockTagsComponentsModule {} export class AddonBlockTagsComponentsModule {}

View File

@ -35,9 +35,5 @@ import { AddonBlockTimelineEventsComponent } from './events/events';
AddonBlockTimelineComponent, AddonBlockTimelineComponent,
AddonBlockTimelineEventsComponent, AddonBlockTimelineEventsComponent,
], ],
entryComponents: [
AddonBlockTimelineComponent,
AddonBlockTimelineEventsComponent,
],
}) })
export class AddonBlockTimelineComponentsModule {} export class AddonBlockTimelineComponentsModule {}

View File

@ -36,8 +36,5 @@ import { AddonCalendarFilterPopoverComponent } from './filter/filter';
AddonCalendarUpcomingEventsComponent, AddonCalendarUpcomingEventsComponent,
AddonCalendarFilterPopoverComponent, AddonCalendarFilterPopoverComponent,
], ],
entryComponents: [
AddonCalendarFilterPopoverComponent,
],
}) })
export class AddonCalendarComponentsModule {} export class AddonCalendarComponentsModule {}

View File

@ -25,8 +25,5 @@ import { AddonMessagesConversationInfoComponent } from './conversation-info/conv
imports: [ imports: [
CoreSharedModule, CoreSharedModule,
], ],
entryComponents: [
AddonMessagesConversationInfoComponent,
],
}) })
export class AddonMessagesComponentsModule {} export class AddonMessagesComponentsModule {}

View File

@ -40,8 +40,5 @@ import { AddonModAssignFeedbackDelegate } from '../../services/feedback-delegate
exports: [ exports: [
AddonModAssignFeedbackCommentsComponent, AddonModAssignFeedbackCommentsComponent,
], ],
entryComponents: [
AddonModAssignFeedbackCommentsComponent,
],
}) })
export class AddonModAssignFeedbackCommentsModule {} export class AddonModAssignFeedbackCommentsModule {}

View File

@ -38,8 +38,5 @@ import { AddonModAssignFeedbackDelegate } from '../../services/feedback-delegate
exports: [ exports: [
AddonModAssignFeedbackEditPdfComponent, AddonModAssignFeedbackEditPdfComponent,
], ],
entryComponents: [
AddonModAssignFeedbackEditPdfComponent,
],
}) })
export class AddonModAssignFeedbackEditPdfModule {} export class AddonModAssignFeedbackEditPdfModule {}

View File

@ -38,8 +38,5 @@ import { AddonModAssignFeedbackDelegate } from '../../services/feedback-delegate
exports: [ exports: [
AddonModAssignFeedbackFileComponent, AddonModAssignFeedbackFileComponent,
], ],
entryComponents: [
AddonModAssignFeedbackFileComponent,
],
}) })
export class AddonModAssignFeedbackFileModule {} export class AddonModAssignFeedbackFileModule {}

View File

@ -40,8 +40,5 @@ import { CoreCommentsComponentsModule } from '@features/comments/components/comp
exports: [ exports: [
AddonModAssignSubmissionCommentsComponent, AddonModAssignSubmissionCommentsComponent,
], ],
entryComponents: [
AddonModAssignSubmissionCommentsComponent,
],
}) })
export class AddonModAssignSubmissionCommentsModule {} export class AddonModAssignSubmissionCommentsModule {}

View File

@ -38,8 +38,5 @@ import { AddonModAssignSubmissionDelegate } from '../../services/submission-dele
exports: [ exports: [
AddonModAssignSubmissionFileComponent, AddonModAssignSubmissionFileComponent,
], ],
entryComponents: [
AddonModAssignSubmissionFileComponent,
],
}) })
export class AddonModAssignSubmissionFileModule {} export class AddonModAssignSubmissionFileModule {}

View File

@ -40,8 +40,5 @@ import { AddonModAssignSubmissionDelegate } from '../../services/submission-dele
exports: [ exports: [
AddonModAssignSubmissionOnlineTextComponent, AddonModAssignSubmissionOnlineTextComponent,
], ],
entryComponents: [
AddonModAssignSubmissionOnlineTextComponent,
],
}) })
export class AddonModAssignSubmissionOnlineTextModule {} export class AddonModAssignSubmissionOnlineTextModule {}

View File

@ -35,9 +35,5 @@ import { CoreSearchComponentsModule } from '@features/search/components/componen
AddonModGlossaryIndexComponent, AddonModGlossaryIndexComponent,
AddonModGlossaryModePickerPopoverComponent, AddonModGlossaryModePickerPopoverComponent,
], ],
entryComponents: [
AddonModGlossaryIndexComponent,
AddonModGlossaryModePickerPopoverComponent,
],
}) })
export class AddonModGlossaryComponentsModule {} export class AddonModGlossaryComponentsModule {}

View File

@ -38,8 +38,5 @@ import { CoreSharedModule } from '@/core/shared.module';
exports: [ exports: [
AddonUserProfileFieldCheckboxComponent, AddonUserProfileFieldCheckboxComponent,
], ],
entryComponents: [
AddonUserProfileFieldCheckboxComponent,
],
}) })
export class AddonUserProfileFieldCheckboxModule {} export class AddonUserProfileFieldCheckboxModule {}

View File

@ -38,8 +38,5 @@ import { CoreSharedModule } from '@/core/shared.module';
exports: [ exports: [
AddonUserProfileFieldDatetimeComponent, AddonUserProfileFieldDatetimeComponent,
], ],
entryComponents: [
AddonUserProfileFieldDatetimeComponent,
],
}) })
export class AddonUserProfileFieldDatetimeModule {} export class AddonUserProfileFieldDatetimeModule {}

View File

@ -38,8 +38,5 @@ import { CoreSharedModule } from '@/core/shared.module';
exports: [ exports: [
AddonUserProfileFieldMenuComponent, AddonUserProfileFieldMenuComponent,
], ],
entryComponents: [
AddonUserProfileFieldMenuComponent,
],
}) })
export class AddonUserProfileFieldMenuModule {} export class AddonUserProfileFieldMenuModule {}

View File

@ -38,8 +38,5 @@ import { CoreSharedModule } from '@/core/shared.module';
exports: [ exports: [
AddonUserProfileFieldTextComponent, AddonUserProfileFieldTextComponent,
], ],
entryComponents: [
AddonUserProfileFieldTextComponent,
],
}) })
export class AddonUserProfileFieldTextModule {} export class AddonUserProfileFieldTextModule {}

View File

@ -40,8 +40,5 @@ import { CoreEditorComponentsModule } from '@features/editor/components/componen
exports: [ exports: [
AddonUserProfileFieldTextareaComponent, AddonUserProfileFieldTextareaComponent,
], ],
entryComponents: [
AddonUserProfileFieldTextareaComponent,
],
}) })
export class AddonUserProfileFieldTextareaModule {} export class AddonUserProfileFieldTextareaModule {}

View File

@ -37,7 +37,6 @@ export function createTranslateLoader(http: HttpClient): TranslateHttpLoader {
@NgModule({ @NgModule({
declarations: [AppComponent], declarations: [AppComponent],
entryComponents: [],
imports: [ imports: [
BrowserModule, BrowserModule,
BrowserAnimationsModule, BrowserAnimationsModule,

View File

@ -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.

View File

@ -35,10 +35,5 @@ import { CoreSharedModule } from '@/core/shared.module';
CoreBlockPreRenderedComponent, CoreBlockPreRenderedComponent,
CoreBlockCourseBlocksComponent, CoreBlockCourseBlocksComponent,
], ],
entryComponents: [
CoreBlockOnlyTitleComponent,
CoreBlockPreRenderedComponent,
CoreBlockCourseBlocksComponent,
],
}) })
export class CoreBlockComponentsModule {} export class CoreBlockComponentsModule {}

View File

@ -29,8 +29,5 @@ import { CoreCommentsCommentsComponent } from './comments/comments';
CoreCommentsCommentsComponent, CoreCommentsCommentsComponent,
CoreCommentsAddComponent, CoreCommentsAddComponent,
], ],
entryComponents: [
CoreCommentsCommentsComponent,
],
}) })
export class CoreCommentsComponentsModule {} export class CoreCommentsComponentsModule {}

View File

@ -36,8 +36,5 @@ import { CoreCoursesSelfEnrolPasswordComponent } from './self-enrol-password/sel
CoreCoursesCourseOptionsMenuComponent, CoreCoursesCourseOptionsMenuComponent,
CoreCoursesSelfEnrolPasswordComponent, CoreCoursesSelfEnrolPasswordComponent,
], ],
entryComponents: [
CoreCoursesCourseOptionsMenuComponent,
],
}) })
export class CoreCoursesComponentsModule {} export class CoreCoursesComponentsModule {}

View File

@ -29,8 +29,5 @@ import { CoreSharedModule } from '@/core/shared.module';
exports: [ exports: [
CoreEditorRichTextEditorComponent, CoreEditorRichTextEditorComponent,
], ],
entryComponents: [
CoreEditorRichTextEditorComponent,
],
}) })
export class CoreEditorComponentsModule {} export class CoreEditorComponentsModule {}

View File

@ -32,8 +32,5 @@ import { CoreRatingRatingsComponent } from './ratings/ratings';
CoreRatingRateComponent, CoreRatingRateComponent,
CoreRatingRatingsComponent, CoreRatingRatingsComponent,
], ],
entryComponents: [
CoreRatingRatingsComponent,
],
}) })
export class CoreRatingComponentsModule {} export class CoreRatingComponentsModule {}