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: [
AddonBlockActivityModulesComponent,
],
entryComponents: [
AddonBlockActivityModulesComponent,
],
})
export class AddonBlockActivityModulesComponentsModule {}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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