MOBILE-2163 core: Fix StaticInjectorError in AOT

main
Dani Palou 2018-06-08 09:03:48 +02:00
parent b494f1da8c
commit a23654fdb7
40 changed files with 206 additions and 75 deletions

View File

@ -30,11 +30,12 @@ export const ADDON_BADGES_PROVIDERS: any[] = [
],
imports: [
],
providers: ADDON_BADGES_PROVIDERS.concat([
providers: [
AddonBadgesProvider,
AddonBadgesUserHandler,
AddonBadgesMyBadgesLinkHandler,
AddonBadgesBadgeLinkHandler
])
]
})
export class AddonBadgesModule {
constructor(userDelegate: CoreUserDelegate, userHandler: AddonBadgesUserHandler,

View File

@ -33,9 +33,11 @@ export const ADDON_CALENDAR_PROVIDERS: any[] = [
],
imports: [
],
providers: ADDON_CALENDAR_PROVIDERS.concat([
providers: [
AddonCalendarProvider,
AddonCalendarHelperProvider,
AddonCalendarMainMenuHandler
])
]
})
export class AddonCalendarModule {
constructor(mainMenuDelegate: CoreMainMenuDelegate, calendarHandler: AddonCalendarMainMenuHandler,

View File

@ -35,11 +35,13 @@ export const ADDON_COMPETENCY_PROVIDERS: any[] = [
imports: [
AddonCompetencyComponentsModule
],
providers: ADDON_COMPETENCY_PROVIDERS.concat([
providers: [
AddonCompetencyProvider,
AddonCompetencyHelperProvider,
AddonCompetencyCourseOptionHandler,
AddonCompetencyMainMenuHandler,
AddonCompetencyUserHandler
])
]
})
export class AddonCompetencyModule {
constructor(mainMenuDelegate: CoreMainMenuDelegate, mainMenuHandler: AddonCompetencyMainMenuHandler,

View File

@ -29,9 +29,11 @@ export const ADDON_FILES_PROVIDERS: any[] = [
],
imports: [
],
providers: ADDON_FILES_PROVIDERS.concat([
providers: [
AddonFilesProvider,
AddonFilesHelperProvider,
AddonFilesMainMenuHandler
])
]
})
export class AddonFilesModule {
constructor(mainMenuDelegate: CoreMainMenuDelegate, filesHandler: AddonFilesMainMenuHandler) {

View File

@ -25,6 +25,8 @@ export const ADDON_MESSAGEOUTPUT_PROVIDERS: any[] = [
],
imports: [
],
providers: ADDON_MESSAGEOUTPUT_PROVIDERS
providers: [
AddonMessageOutputDelegate
]
})
export class AddonMessageOutputModule {}

View File

@ -50,7 +50,10 @@ export const ADDON_MESSAGES_PROVIDERS: any[] = [
],
imports: [
],
providers: ADDON_MESSAGES_PROVIDERS.concat([
providers: [
AddonMessagesProvider,
AddonMessagesOfflineProvider,
AddonMessagesSyncProvider,
AddonMessagesMainMenuHandler,
AddonMessagesSendMessageUserHandler,
AddonMessagesAddContactUserHandler,
@ -59,7 +62,7 @@ export const ADDON_MESSAGES_PROVIDERS: any[] = [
AddonMessagesIndexLinkHandler,
AddonMessagesSyncCronHandler,
AddonMessagesSettingsHandler
])
]
})
export class AddonMessagesModule {
constructor(mainMenuDelegate: CoreMainMenuDelegate, mainmenuHandler: AddonMessagesMainMenuHandler,

View File

@ -48,13 +48,19 @@ export const ADDON_MOD_ASSIGN_PROVIDERS: any[] = [
AddonModAssignSubmissionModule,
AddonModAssignFeedbackModule
],
providers: ADDON_MOD_ASSIGN_PROVIDERS.concat([
providers: [
AddonModAssignProvider,
AddonModAssignOfflineProvider,
AddonModAssignSyncProvider,
AddonModAssignHelperProvider,
AddonModAssignFeedbackDelegate,
AddonModAssignSubmissionDelegate,
AddonModAssignDefaultFeedbackHandler,
AddonModAssignDefaultSubmissionHandler,
AddonModAssignModuleHandler,
AddonModAssignPrefetchHandler,
AddonModAssignSyncCronHandler
])
]
})
export class AddonModAssignModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModAssignModuleHandler,

View File

@ -33,11 +33,12 @@ export const ADDON_MOD_BOOK_PROVIDERS: any[] = [
imports: [
AddonModBookComponentsModule
],
providers: ADDON_MOD_BOOK_PROVIDERS.concat([
providers: [
AddonModBookProvider,
AddonModBookModuleHandler,
AddonModBookLinkHandler,
AddonModBookPrefetchHandler
])
]
})
export class AddonModBookModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModBookModuleHandler,

View File

@ -31,10 +31,11 @@ export const ADDON_MOD_CHAT_PROVIDERS: any[] = [
imports: [
AddonModChatComponentsModule
],
providers: ADDON_MOD_CHAT_PROVIDERS.concat([
providers: [
AddonModChatProvider,
AddonModChatLinkHandler,
AddonModChatModuleHandler,
])
]
})
export class AddonModChatModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModChatModuleHandler,

View File

@ -40,12 +40,15 @@ export const ADDON_MOD_CHOICE_PROVIDERS: any[] = [
imports: [
AddonModChoiceComponentsModule
],
providers: ADDON_MOD_CHOICE_PROVIDERS.concat([
providers: [
AddonModChoiceProvider,
AddonModChoiceSyncProvider,
AddonModChoiceOfflineProvider,
AddonModChoiceModuleHandler,
AddonModChoicePrefetchHandler,
AddonModChoiceLinkHandler,
AddonModChoiceSyncCronHandler
])
]
})
export class AddonModChoiceModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModChoiceModuleHandler,

View File

@ -51,7 +51,12 @@ export const ADDON_MOD_DATA_PROVIDERS: any[] = [
AddonModDataComponentsModule,
AddonModDataFieldModule
],
providers: ADDON_MOD_DATA_PROVIDERS.concat([
providers: [
AddonModDataProvider,
AddonModDataHelperProvider,
AddonModDataSyncProvider,
AddonModDataOfflineProvider,
AddonModDataFieldsDelegate,
AddonModDataModuleHandler,
AddonModDataPrefetchHandler,
AddonModDataLinkHandler,
@ -61,7 +66,7 @@ export const ADDON_MOD_DATA_PROVIDERS: any[] = [
AddonModDataEditLinkHandler,
AddonModDataSyncCronHandler,
AddonModDataDefaultFieldHandler
])
]
})
export class AddonModDataModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModDataModuleHandler,

View File

@ -47,7 +47,11 @@ export const ADDON_MOD_FEEDBACK_PROVIDERS: any[] = [
imports: [
AddonModFeedbackComponentsModule
],
providers: ADDON_MOD_FEEDBACK_PROVIDERS.concat([
providers: [
AddonModFeedbackProvider,
AddonModFeedbackHelperProvider,
AddonModFeedbackSyncProvider,
AddonModFeedbackOfflineProvider,
AddonModFeedbackModuleHandler,
AddonModFeedbackPrefetchHandler,
AddonModFeedbackLinkHandler,
@ -57,7 +61,7 @@ export const ADDON_MOD_FEEDBACK_PROVIDERS: any[] = [
AddonModFeedbackCompleteLinkHandler,
AddonModFeedbackPrintLinkHandler,
AddonModFeedbackSyncCronHandler
])
]
})
export class AddonModFeedbackModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModFeedbackModuleHandler,

View File

@ -37,12 +37,14 @@ export const ADDON_MOD_FOLDER_PROVIDERS: any[] = [
imports: [
AddonModFolderComponentsModule
],
providers: ADDON_MOD_FOLDER_PROVIDERS.concat([
providers: [
AddonModFolderProvider,
AddonModFolderHelperProvider,
AddonModFolderModuleHandler,
AddonModFolderPrefetchHandler,
AddonModFolderLinkHandler,
AddonModFolderPluginFileHandler
])
]
})
export class AddonModFolderModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModFolderModuleHandler,

View File

@ -43,13 +43,17 @@ export const ADDON_MOD_FORUM_PROVIDERS: any[] = [
imports: [
AddonModForumComponentsModule,
],
providers: ADDON_MOD_FORUM_PROVIDERS.concat([
providers: [
AddonModForumProvider,
AddonModForumOfflineProvider,
AddonModForumHelperProvider,
AddonModForumSyncProvider,
AddonModForumModuleHandler,
AddonModForumPrefetchHandler,
AddonModForumSyncCronHandler,
AddonModForumIndexLinkHandler,
AddonModForumDiscussionLinkHandler
])
]
})
export class AddonModForumModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModForumModuleHandler,

View File

@ -43,13 +43,17 @@ export const ADDON_MOD_GLOSSARY_PROVIDERS: any[] = [
imports: [
AddonModGlossaryComponentsModule,
],
providers: ADDON_MOD_GLOSSARY_PROVIDERS.concat([
providers: [
AddonModGlossaryProvider,
AddonModGlossaryOfflineProvider,
AddonModGlossaryHelperProvider,
AddonModGlossarySyncProvider,
AddonModGlossaryModuleHandler,
AddonModGlossaryPrefetchHandler,
AddonModGlossarySyncCronHandler,
AddonModGlossaryIndexLinkHandler,
AddonModGlossaryEntryLinkHandler,
])
]
})
export class AddonModGlossaryModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModGlossaryModuleHandler,

View File

@ -35,12 +35,13 @@ export const ADDON_MOD_IMSCP_PROVIDERS: any[] = [
imports: [
AddonModImscpComponentsModule
],
providers: ADDON_MOD_IMSCP_PROVIDERS.concat([
providers: [
AddonModImscpProvider,
AddonModImscpModuleHandler,
AddonModImscpPrefetchHandler,
AddonModImscpLinkHandler,
AddonModImscpPluginFileHandler
])
]
})
export class AddonModImscpModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModImscpModuleHandler,

View File

@ -44,14 +44,18 @@ export const ADDON_MOD_LESSON_PROVIDERS: any[] = [
imports: [
AddonModLessonComponentsModule
],
providers: ADDON_MOD_LESSON_PROVIDERS.concat([
providers: [
AddonModLessonProvider,
AddonModLessonOfflineProvider,
AddonModLessonSyncProvider,
AddonModLessonHelperProvider,
AddonModLessonModuleHandler,
AddonModLessonPrefetchHandler,
AddonModLessonSyncCronHandler,
AddonModLessonIndexLinkHandler,
AddonModLessonGradeLinkHandler,
AddonModLessonReportLinkHandler
])
]
})
export class AddonModLessonModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModLessonModuleHandler,

View File

@ -776,7 +776,6 @@ export class AddonModLessonProvider {
useRegExp = pageData.page.qoption;
let expectedAnswer = answer.answer,
isMatch = false,
markIt = false,
ignoreCase;
if (useRegExp) {
@ -826,7 +825,6 @@ export class AddonModLessonProvider {
// 2- Check for code for marking wrong strings (coded by initial '++').
case '++':
expectedAnswer = expectedAnswer.substr(2);
markIt = true;
// Check for one or several matches.
const matches = studentAnswer.match(new RegExp(expectedAnswer, 'g' + ignoreCase));

View File

@ -31,10 +31,11 @@ export const ADDON_MOD_LTI_PROVIDERS: any[] = [
imports: [
AddonModLtiComponentsModule
],
providers: ADDON_MOD_LTI_PROVIDERS.concat([
providers: [
AddonModLtiProvider,
AddonModLtiModuleHandler,
AddonModLtiLinkHandler
])
]
})
export class AddonModLtiModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModLtiModuleHandler,

View File

@ -37,12 +37,14 @@ export const ADDON_MOD_PAGE_PROVIDERS: any[] = [
imports: [
AddonModPageComponentsModule
],
providers: ADDON_MOD_PAGE_PROVIDERS.concat([
providers: [
AddonModPageProvider,
AddonModPageHelperProvider,
AddonModPageModuleHandler,
AddonModPagePrefetchHandler,
AddonModPageLinkHandler,
AddonModPagePluginFileHandler
])
]
})
export class AddonModPageModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModPageModuleHandler,

View File

@ -66,14 +66,19 @@ export const ADDON_MOD_QUIZ_PROVIDERS: any[] = [
AddonModQuizAccessSecureWindowModule,
AddonModQuizAccessTimeLimitModule
],
providers: ADDON_MOD_QUIZ_PROVIDERS.concat([
providers: [
AddonModQuizAccessRuleDelegate,
AddonModQuizProvider,
AddonModQuizOfflineProvider,
AddonModQuizHelperProvider,
AddonModQuizSyncProvider,
AddonModQuizModuleHandler,
AddonModQuizPrefetchHandler,
AddonModQuizSyncCronHandler,
AddonModQuizIndexLinkHandler,
AddonModQuizGradeLinkHandler,
AddonModQuizReviewLinkHandler
])
]
})
export class AddonModQuizModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModQuizModuleHandler,

View File

@ -36,13 +36,14 @@ export const ADDON_MOD_RESOURCE_PROVIDERS: any[] = [
imports: [
AddonModResourceComponentsModule
],
providers: ADDON_MOD_RESOURCE_PROVIDERS.concat([
providers: [
AddonModResourceProvider,
AddonModResourceModuleHandler,
AddonModResourceHelperProvider,
AddonModResourcePrefetchHandler,
AddonModResourceLinkHandler,
AddonModResourcePluginFileHandler
])
]
})
export class AddonModResourceModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModResourceModuleHandler,

View File

@ -43,13 +43,17 @@ export const ADDON_MOD_SCORM_PROVIDERS: any[] = [
imports: [
AddonModScormComponentsModule
],
providers: ADDON_MOD_SCORM_PROVIDERS.concat([
providers: [
AddonModScormProvider,
AddonModScormOfflineProvider,
AddonModScormHelperProvider,
AddonModScormSyncProvider,
AddonModScormModuleHandler,
AddonModScormPrefetchHandler,
AddonModScormSyncCronHandler,
AddonModScormIndexLinkHandler,
AddonModScormGradeLinkHandler
])
]
})
export class AddonModScormModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModScormModuleHandler,

View File

@ -42,12 +42,16 @@ export const ADDON_MOD_SURVEY_PROVIDERS: any[] = [
imports: [
AddonModSurveyComponentsModule
],
providers: ADDON_MOD_SURVEY_PROVIDERS.concat([
providers: [
AddonModSurveyProvider,
AddonModSurveyHelperProvider,
AddonModSurveySyncProvider,
AddonModSurveyOfflineProvider,
AddonModSurveyModuleHandler,
AddonModSurveyPrefetchHandler,
AddonModSurveyLinkHandler,
AddonModSurveySyncCronHandler
])
]
})
export class AddonModSurveyModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModSurveyModuleHandler,

View File

@ -33,10 +33,12 @@ export const ADDON_MOD_URL_PROVIDERS: any[] = [
imports: [
AddonModUrlComponentsModule
],
providers: ADDON_MOD_URL_PROVIDERS.concat([
providers: [
AddonModUrlProvider,
AddonModUrlHelperProvider,
AddonModUrlModuleHandler,
AddonModUrlLinkHandler
])
]
})
export class AddonModUrlModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModUrlModuleHandler,

View File

@ -43,7 +43,10 @@ export const ADDON_MOD_WIKI_PROVIDERS: any[] = [
imports: [
AddonModWikiComponentsModule
],
providers: ADDON_MOD_WIKI_PROVIDERS.concat([
providers: [
AddonModWikiProvider,
AddonModWikiOfflineProvider,
AddonModWikiSyncProvider,
AddonModWikiModuleHandler,
AddonModWikiPrefetchHandler,
AddonModWikiSyncCronHandler,
@ -51,7 +54,7 @@ export const ADDON_MOD_WIKI_PROVIDERS: any[] = [
AddonModWikiPageOrMapLinkHandler,
AddonModWikiCreateLinkHandler,
AddonModWikiEditLinkHandler
])
]
})
export class AddonModWikiModule {
constructor(moduleDelegate: CoreCourseModuleDelegate, moduleHandler: AddonModWikiModuleHandler,

View File

@ -38,11 +38,14 @@ export const ADDON_NOTES_PROVIDERS: any[] = [
imports: [
AddonNotesComponentsModule
],
providers: ADDON_NOTES_PROVIDERS.concat([
providers: [
AddonNotesProvider,
AddonNotesOfflineProvider,
AddonNotesSyncProvider,
AddonNotesCourseOptionHandler,
AddonNotesSyncCronHandler,
AddonNotesUserHandler
])
]
})
export class AddonNotesModule {
constructor(courseOptionsDelegate: CoreCourseOptionsDelegate, courseOptionHandler: AddonNotesCourseOptionHandler,

View File

@ -37,11 +37,12 @@ export const ADDON_NOTIFICATIONS_PROVIDERS: any[] = [
],
imports: [
],
providers: ADDON_NOTIFICATIONS_PROVIDERS.concat([
providers: [
AddonNotificationsProvider,
AddonNotificationsMainMenuHandler,
AddonNotificationsSettingsHandler,
AddonNotificationsCronHandler,
])
]
})
export class AddonNotificationsModule {
constructor(mainMenuDelegate: CoreMainMenuDelegate, mainMenuHandler: AddonNotificationsMainMenuHandler,

View File

@ -32,7 +32,10 @@ export const ADDON_PUSHNOTIFICATIONS_PROVIDERS: any[] = [
],
imports: [
],
providers: ADDON_PUSHNOTIFICATIONS_PROVIDERS
providers: [
AddonPushNotificationsProvider,
AddonPushNotificationsDelegate
]
})
export class AddonPushNotificationsModule {
constructor(platform: Platform, pushNotificationsProvider: AddonPushNotificationsProvider, eventsProvider: CoreEventsProvider,

View File

@ -29,7 +29,9 @@ export const ADDON_REMOTETHEMES_PROVIDERS: any[] = [
],
imports: [
],
providers: ADDON_REMOTETHEMES_PROVIDERS
providers: [
AddonRemoteThemesProvider
]
})
export class AddonRemoteThemesModule {
constructor(initDelegate: CoreInitDelegate, remoteThemesProvider: AddonRemoteThemesProvider, eventsProvider: CoreEventsProvider,

View File

@ -217,13 +217,39 @@ export const CORE_PROVIDERS: any[] = [
entryComponents: [
MoodleMobileApp
],
providers: CORE_PROVIDERS.concat([
providers: [
CoreLoggerProvider,
CoreDbProvider,
CoreAppProvider,
CoreConfigProvider,
CoreLangProvider,
CoreTextUtilsProvider,
CoreDomUtilsProvider,
CoreTimeUtilsProvider,
CoreUrlUtilsProvider,
CoreUtilsProvider,
CoreMimetypeUtilsProvider,
CoreInitDelegate,
CoreFileProvider,
CoreWSProvider,
CoreEventsProvider,
CoreSitesFactoryProvider,
CoreSitesProvider,
CoreLocalNotificationsProvider,
CoreGroupsProvider,
CoreCronDelegate,
CoreFileSessionProvider,
CoreFilepoolProvider,
CoreUpdateManagerProvider,
CorePluginFileDelegate,
CoreSyncProvider,
CoreFileHelperProvider,
{
provide: HTTP_INTERCEPTORS,
useClass: CoreInterceptor,
multi: true,
}
])
]
})
export class AppModule {
constructor(platform: Platform, initDelegate: CoreInitDelegate, updateManager: CoreUpdateManagerProvider,

View File

@ -44,10 +44,16 @@ export const CORE_COURSE_PROVIDERS: any[] = [
CoreCourseFormatWeeksModule,
CoreCourseFormatSocialModule
],
providers: CORE_COURSE_PROVIDERS.concat([
providers: [
CoreCourseProvider,
CoreCourseHelperProvider,
CoreCourseFormatDelegate,
CoreCourseModuleDelegate,
CoreCourseModulePrefetchDelegate,
CoreCourseOptionsDelegate,
CoreCourseFormatDefaultHandler,
CoreCourseModuleDefaultHandler
]),
],
exports: []
})
export class CoreCourseModule {}

View File

@ -32,12 +32,14 @@ export const CORE_COURSES_PROVIDERS: any[] = [
declarations: [],
imports: [
],
providers: CORE_COURSES_PROVIDERS.concat([
providers: [
CoreCoursesProvider,
CoreCoursesMyOverviewProvider,
CoreCoursesMainMenuHandler,
CoreCoursesCourseLinkHandler,
CoreCoursesIndexLinkHandler,
CoreCoursesMyOverviewLinkHandler
]),
],
exports: []
})
export class CoreCoursesModule {

View File

@ -62,9 +62,12 @@ import { CoreInitDelegate } from '@providers/init';
// List of Ionic Native providers.
export const IONIC_NATIVE_PROVIDERS = [
Badge,
Camera,
Clipboard,
Device,
File,
FileOpener,
FileTransfer,
Globalization,
InAppBrowser,
@ -72,9 +75,11 @@ export const IONIC_NATIVE_PROVIDERS = [
LocalNotifications,
MediaCapture,
Network,
Push,
SplashScreen,
StatusBar,
SQLite,
WebIntent,
Zip
];

View File

@ -34,13 +34,16 @@ export const CORE_FILEUPLOADER_PROVIDERS: any[] = [
],
imports: [
],
providers: CORE_FILEUPLOADER_PROVIDERS.concat([
providers: [
CoreFileUploaderProvider,
CoreFileUploaderHelperProvider,
CoreFileUploaderDelegate,
CoreFileUploaderAlbumHandler,
CoreFileUploaderAudioHandler,
CoreFileUploaderCameraHandler,
CoreFileUploaderFileHandler,
CoreFileUploaderVideoHandler
])
]
})
export class CoreFileUploaderModule {
constructor(delegate: CoreFileUploaderDelegate, albumHandler: CoreFileUploaderAlbumHandler,

View File

@ -41,13 +41,15 @@ export const CORE_GRADES_PROVIDERS: any[] = [
imports: [
CoreGradesComponentsModule
],
providers: CORE_GRADES_PROVIDERS.concat([
providers: [
CoreGradesProvider,
CoreGradesHelperProvider,
CoreGradesMainMenuHandler,
CoreGradesCourseOptionHandler,
CoreGradesUserLinkHandler,
CoreGradesOverviewLinkHandler,
CoreGradesUserHandler
])
]
})
export class CoreGradesModule {
constructor(mainMenuDelegate: CoreMainMenuDelegate, gradesMenuHandler: CoreGradesMainMenuHandler,

View File

@ -32,10 +32,14 @@ export const CORE_QUESTION_PROVIDERS: any[] = [
declarations: [],
imports: [
],
providers: CORE_QUESTION_PROVIDERS.concat([
providers: [
CoreQuestionProvider,
CoreQuestionDelegate,
CoreQuestionBehaviourDelegate,
CoreQuestionHelperProvider,
CoreQuestionDefaultHandler,
CoreQuestionBehaviourDefaultHandler
]),
],
exports: []
})
export class CoreQuestionModule {}

View File

@ -30,9 +30,11 @@ export const CORE_SHAREDFILES_PROVIDERS: any[] = [
],
imports: [
],
providers: CORE_SHAREDFILES_PROVIDERS.concat([
providers: [
CoreSharedFilesProvider,
CoreSharedFilesHelperProvider,
CoreSharedFilesUploadHandler
])
]
})
export class CoreSharedFilesModule {
constructor(platform: Platform, delegate: CoreFileUploaderDelegate, handler: CoreSharedFilesUploadHandler,

View File

@ -28,10 +28,11 @@ export const CORE_SITEHOME_PROVIDERS: any[] = [
declarations: [],
imports: [
],
providers: CORE_SITEHOME_PROVIDERS.concat([
providers: [
CoreSiteHomeProvider,
CoreSiteHomeMainMenuHandler,
CoreSiteHomeIndexLinkHandler
]),
],
exports: []
})
export class CoreSiteHomeModule {

View File

@ -41,12 +41,16 @@ export const CORE_USER_PROVIDERS: any[] = [
imports: [
CoreUserComponentsModule
],
providers: CORE_USER_PROVIDERS.concat([
providers: [
CoreUserDelegate,
CoreUserProfileFieldDelegate,
CoreUserProvider,
CoreUserHelperProvider,
CoreUserProfileMailHandler,
CoreUserProfileLinkHandler,
CoreUserParticipantsCourseOptionHandler,
CoreUserParticipantsLinkHandler
])
]
})
export class CoreUserModule {
constructor(userDelegate: CoreUserDelegate, userProfileMailHandler: CoreUserProfileMailHandler,