MOBILE-3947 blocks: Remove unnecessary imports and exports from blocks
parent
4677ce5c3f
commit
d7d4772252
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockActivityModulesHandler } from './services/block-handler';
|
import { AddonBlockActivityModulesHandler } from './services/block-handler';
|
||||||
import { AddonBlockActivityModulesComponentsModule } from './components/components.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
AddonBlockActivityModulesComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -25,8 +25,5 @@ import { AddonBlockActivityModulesComponent } from './activitymodules/activitymo
|
||||||
imports: [
|
imports: [
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockActivityModulesComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockActivityModulesComponentsModule {}
|
export class AddonBlockActivityModulesComponentsModule {}
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockActivityResultsHandler } from './services/block-handler';
|
import { AddonBlockActivityResultsHandler } from './services/block-handler';
|
||||||
import { AddonBlockActivityResultsComponentsModule } from './components/components.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
AddonBlockActivityResultsComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -24,8 +24,5 @@ import { AddonBlockActivityResultsComponent } from './activityresults/activityre
|
||||||
imports: [
|
imports: [
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockActivityResultsComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockActivityResultsComponentsModule {}
|
export class AddonBlockActivityResultsComponentsModule {}
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockBadgesHandler } from './services/block-handler';
|
import { AddonBlockBadgesHandler } from './services/block-handler';
|
||||||
import { AddonBlockBadgesComponentsModule } from './components/components.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
AddonBlockBadgesComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -24,8 +24,5 @@ import { AddonBlockBadgesComponent } from './badges/badges';
|
||||||
imports: [
|
imports: [
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockBadgesComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockBadgesComponentsModule {}
|
export class AddonBlockBadgesComponentsModule {}
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockBlogMenuHandler } from './services/block-handler';
|
import { AddonBlockBlogMenuHandler } from './services/block-handler';
|
||||||
import { AddonBlockBlogMenuComponentsModule } from './components/components.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
AddonBlockBlogMenuComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -24,8 +24,5 @@ import { AddonBlockBlogMenuComponent } from './blogmenu/blogmenu';
|
||||||
imports: [
|
imports: [
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockBlogMenuComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockBlogMenuComponentsModule {}
|
export class AddonBlockBlogMenuComponentsModule {}
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockBlogRecentHandler } from './services/block-handler';
|
import { AddonBlockBlogRecentHandler } from './services/block-handler';
|
||||||
import { AddonBlockBlogRecentComponentsModule } from './components/components.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
AddonBlockBlogRecentComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -24,8 +24,5 @@ import { AddonBlockBlogRecentComponent } from './blogrecent/blogrecent';
|
||||||
imports: [
|
imports: [
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockBlogRecentComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockBlogRecentComponentsModule {}
|
export class AddonBlockBlogRecentComponentsModule {}
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockBlogTagsHandler } from './services/block-handler';
|
import { AddonBlockBlogTagsHandler } from './services/block-handler';
|
||||||
import { AddonBlockBlogTagsComponentsModule } from './components/components.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
AddonBlockBlogTagsComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -24,8 +24,5 @@ import { AddonBlockBlogTagsComponent } from './blogtags/blogtags';
|
||||||
imports: [
|
imports: [
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockBlogTagsComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockBlogTagsComponentsModule {}
|
export class AddonBlockBlogTagsComponentsModule {}
|
||||||
|
|
|
@ -13,16 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockCalendarMonthHandler } from './services/block-handler';
|
import { AddonBlockCalendarMonthHandler } from './services/block-handler';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -13,16 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockCalendarUpcomingHandler } from './services/block-handler';
|
import { AddonBlockCalendarUpcomingHandler } from './services/block-handler';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -13,16 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockCommentsHandler } from './services/block-handler';
|
import { AddonBlockCommentsHandler } from './services/block-handler';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -13,16 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockCompletionStatusHandler } from './services/block-handler';
|
import { AddonBlockCompletionStatusHandler } from './services/block-handler';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -13,16 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockCourseListHandler } from './services/block-handler';
|
import { AddonBlockCourseListHandler } from './services/block-handler';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockGlobalSearchHandler } from './services/block-handler';
|
import { AddonBlockGlobalSearchHandler } from './services/block-handler';
|
||||||
import { CoreBlockComponentsModule } from '@features/block/components/components.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
CoreBlockComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -13,16 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockGlossaryRandomHandler } from './services/block-handler';
|
import { AddonBlockGlossaryRandomHandler } from './services/block-handler';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockLearningPlansHandler } from './services/block-handler';
|
import { AddonBlockLearningPlansHandler } from './services/block-handler';
|
||||||
import { CoreBlockComponentsModule } from '@features/block/components/components.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
CoreBlockComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -26,8 +26,5 @@ import { AddonBlockMyOverviewComponent } from './myoverview/myoverview';
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
CoreCoursesComponentsModule,
|
CoreCoursesComponentsModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockMyOverviewComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockMyOverviewComponentsModule {}
|
export class AddonBlockMyOverviewComponentsModule {}
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockMyOverviewComponentsModule } from './components/components.module';
|
|
||||||
import { AddonBlockMyOverviewHandler } from './services/block-handler';
|
import { AddonBlockMyOverviewHandler } from './services/block-handler';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
AddonBlockMyOverviewComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -24,8 +24,5 @@ import { AddonBlockNewsItemsComponent } from './newsitems/newsitems';
|
||||||
imports: [
|
imports: [
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockNewsItemsComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockNewsItemsComponentsModule {}
|
export class AddonBlockNewsItemsComponentsModule {}
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockNewsItemsHandler } from './services/block-handler';
|
import { AddonBlockNewsItemsHandler } from './services/block-handler';
|
||||||
import { AddonBlockNewsItemsComponentsModule } from './components/components.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
AddonBlockNewsItemsComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -24,8 +24,5 @@ import { AddonBlockOnlineUsersComponent } from './onlineusers/onlineusers';
|
||||||
imports: [
|
imports: [
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockOnlineUsersComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockOnlineUsersComponentsModule {}
|
export class AddonBlockOnlineUsersComponentsModule {}
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockOnlineUsersHandler } from './services/block-handler';
|
import { AddonBlockOnlineUsersHandler } from './services/block-handler';
|
||||||
import { AddonBlockOnlineUsersComponentsModule } from './components/components.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
AddonBlockOnlineUsersComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -13,16 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockPrivateFilesHandler } from './services/block-handler';
|
import { AddonBlockPrivateFilesHandler } from './services/block-handler';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -24,8 +24,5 @@ import { AddonBlockRecentActivityComponent } from './recentactivity/recentactivi
|
||||||
imports: [
|
imports: [
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockRecentActivityComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockRecentActivityComponentsModule {}
|
export class AddonBlockRecentActivityComponentsModule {}
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockRecentActivityHandler } from './services/block-handler';
|
import { AddonBlockRecentActivityHandler } from './services/block-handler';
|
||||||
import { AddonBlockRecentActivityComponentsModule } from './components/components.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
AddonBlockRecentActivityComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -27,8 +27,5 @@ import { AddonBlockRecentlyAccessedCoursesComponent } from './recentlyaccessedco
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
CoreCoursesComponentsModule,
|
CoreCoursesComponentsModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockRecentlyAccessedCoursesComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockRecentlyAccessedCoursesComponentsModule {}
|
export class AddonBlockRecentlyAccessedCoursesComponentsModule {}
|
||||||
|
|
|
@ -13,16 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { CoreSharedModule } from '@/core/shared.module';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockRecentlyAccessedCoursesComponentsModule } from './components/components.module';
|
|
||||||
import { AddonBlockRecentlyAccessedCoursesHandler } from './services/block-handler';
|
import { AddonBlockRecentlyAccessedCoursesHandler } from './services/block-handler';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
CoreSharedModule,
|
|
||||||
AddonBlockRecentlyAccessedCoursesComponentsModule,
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -27,8 +27,5 @@ import { AddonBlockRecentlyAccessedItemsComponent } from './recentlyaccesseditem
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
CoreCoursesComponentsModule,
|
CoreCoursesComponentsModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockRecentlyAccessedItemsComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockRecentlyAccessedItemsComponentsModule {}
|
export class AddonBlockRecentlyAccessedItemsComponentsModule {}
|
||||||
|
|
|
@ -13,16 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { CoreSharedModule } from '@/core/shared.module';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockRecentlyAccessedItemsComponentsModule } from './components/components.module';
|
|
||||||
import { AddonBlockRecentlyAccessedItemsHandler } from './services/block-handler';
|
import { AddonBlockRecentlyAccessedItemsHandler } from './services/block-handler';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
CoreSharedModule,
|
|
||||||
AddonBlockRecentlyAccessedItemsComponentsModule,
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -24,8 +24,5 @@ import { AddonBlockRssClientComponent } from './rssclient/rssclient';
|
||||||
imports: [
|
imports: [
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockRssClientComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockRssClientComponentsModule {}
|
export class AddonBlockRssClientComponentsModule {}
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockRssClientHandler } from './services/block-handler';
|
import { AddonBlockRssClientHandler } from './services/block-handler';
|
||||||
import { AddonBlockRssClientComponentsModule } from './components/components.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
AddonBlockRssClientComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockSearchForumsHandler } from './services/block-handler';
|
import { AddonBlockSearchForumsHandler } from './services/block-handler';
|
||||||
import { CoreBlockComponentsModule } from '@features/block/components/components.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
CoreBlockComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -13,16 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockSelfCompletionHandler } from './services/block-handler';
|
import { AddonBlockSelfCompletionHandler } from './services/block-handler';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -27,8 +27,5 @@ import { AddonBlockSiteMainMenuComponent } from './sitemainmenu/sitemainmenu';
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
CoreCourseComponentsModule,
|
CoreCourseComponentsModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockSiteMainMenuComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockSiteMainMenuComponentsModule {}
|
export class AddonBlockSiteMainMenuComponentsModule {}
|
||||||
|
|
|
@ -13,16 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { CoreSharedModule } from '@/core/shared.module';
|
|
||||||
import { AddonBlockSiteMainMenuComponentsModule } from './components/components.module';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockSiteMainMenuHandler } from './services/block-handler';
|
import { AddonBlockSiteMainMenuHandler } from './services/block-handler';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
CoreSharedModule,
|
|
||||||
AddonBlockSiteMainMenuComponentsModule,
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -27,8 +27,5 @@ import { AddonBlockStarredCoursesComponent } from './starredcourses/starredcours
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
CoreCoursesComponentsModule,
|
CoreCoursesComponentsModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockStarredCoursesComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockStarredCoursesComponentsModule {}
|
export class AddonBlockStarredCoursesComponentsModule {}
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockStarredCoursesComponentsModule } from './components/components.module';
|
|
||||||
import { AddonBlockStarredCoursesHandler } from './services/block-handler';
|
import { AddonBlockStarredCoursesHandler } from './services/block-handler';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
AddonBlockStarredCoursesComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -24,8 +24,5 @@ import { AddonBlockTagsComponent } from './tags/tags';
|
||||||
imports: [
|
imports: [
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockTagsComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockTagsComponentsModule {}
|
export class AddonBlockTagsComponentsModule {}
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockTagsHandler } from './services/block-handler';
|
import { AddonBlockTagsHandler } from './services/block-handler';
|
||||||
import { AddonBlockTagsComponentsModule } from './components/components.module';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
AddonBlockTagsComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
|
@ -29,9 +29,5 @@ import { CoreSearchComponentsModule } from '@features/search/components/componen
|
||||||
CoreSharedModule,
|
CoreSharedModule,
|
||||||
CoreSearchComponentsModule,
|
CoreSearchComponentsModule,
|
||||||
],
|
],
|
||||||
exports: [
|
|
||||||
AddonBlockTimelineComponent,
|
|
||||||
AddonBlockTimelineEventsComponent,
|
|
||||||
],
|
|
||||||
})
|
})
|
||||||
export class AddonBlockTimelineComponentsModule {}
|
export class AddonBlockTimelineComponentsModule {}
|
||||||
|
|
|
@ -13,18 +13,10 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
||||||
import { IonicModule } from '@ionic/angular';
|
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
|
||||||
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
import { CoreBlockDelegate } from '@features/block/services/block-delegate';
|
||||||
import { AddonBlockTimelineComponentsModule } from './components/components.module';
|
|
||||||
import { AddonBlockTimelineHandler } from './services/block-handler';
|
import { AddonBlockTimelineHandler } from './services/block-handler';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
|
||||||
IonicModule,
|
|
||||||
AddonBlockTimelineComponentsModule,
|
|
||||||
TranslateModule.forChild(),
|
|
||||||
],
|
|
||||||
providers: [
|
providers: [
|
||||||
{
|
{
|
||||||
provide: APP_INITIALIZER,
|
provide: APP_INITIALIZER,
|
||||||
|
|
Loading…
Reference in New Issue