Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// Copyright The Linux Foundation and each contributor to CommunityBridge.
// SPDX-License-Identifier: MIT
import { NgModule } from '@angular/core';
import { IonicModule } from 'ionic-angular';
import { MemberNavigationComponent } from './member-navigation';
@NgModule({
declarations: [
MemberNavigationComponent,
],
imports: [
IonicModule,
],
exports: [
MemberNavigationComponent,
]
})
export class MemberNavigationComponentModule {}
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import {AlertComponent} from './alert.component';
import {ConfirmComponent} from './confirm.component';
import { ModalService } from './modal.service';
/**
* 模态框模块
*/
@NgModule({
imports:[
CommonModule,
NgbModule
],
declarations: [
AlertComponent,
ConfirmComponent
],
providers:[ModalService],
entryComponents:[
AlertComponent,
ConfirmComponent
]
})
export class ModalModule { }
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { StarterHomeComponent } from './starter-home/starter-home.component';
const routes: Routes = [{
path: '',
component: StarterHomeComponent
}];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class StarterHomeRoutingModule { }
import {RouterModule} from '@angular/router';
import {DamagedModule} from '../../../../../shared/components/damaged';
import {ExtendModule} from '../../../../../shared/components/extend';
import {GuestModeModule} from '../../../../../shared/components/guest';
import {LostModule} from '../../../../../shared/components/lost';
import {MaterialModule} from '../../core/material_module';
import {DeviceActionBoxModule} from '../device_action_box';
import {DeviceActionsMenuModule} from '../device_actions_menu';
import {DeviceButtonsModule} from '../device_buttons';
import {DeviceListTable} from './device_list_table';
export * from './device_list_table';
@NgModule({
declarations: [
DeviceListTable,
],
exports: [
DeviceListTable,
],
imports: [
BrowserModule,
DamagedModule,
DeviceActionBoxModule,
DeviceActionsMenuModule,
DeviceButtonsModule,
GuestModeModule,
ExtendModule,
LostModule,
MaterialModule,
import {NgModule} from '@angular/core';
import {FormsModule} from "@angular/forms";
import {BrowserModule} from '@angular/platform-browser';
import {AudioQueryTermComponent} from "./audio-query-term.component";
import {AudioRecorderDialogComponent} from "./audio-recorder-dialog.component";
import {AudioRecorderModule} from "../../../shared/components/audio/audio-recorder-module";
import {MaterialModule} from "../../../material.module";
@NgModule({
imports: [ MaterialModule, BrowserModule, FormsModule, AudioRecorderModule],
declarations: [ AudioQueryTermComponent, AudioRecorderDialogComponent ],
exports: [ AudioQueryTermComponent ],
entryComponents: [ AudioRecorderDialogComponent ]
})
export class AudioQueryTermModule { }
import {NgModule} from '@angular/core';
import {UserNameComponent} from "./user-name/user-name.component";
import {IonicModule} from "@ionic/angular";
@NgModule({
declarations: [
UserNameComponent
],
imports: [
IonicModule
],
exports: [UserNameComponent]
})
export class SharedModule {
}
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { ClickOutModule } from '../clickout/clickout.module';
import { SelectDropdownComponent } from './select-dropdown.component';
@NgModule({
declarations: [ SelectDropdownComponent ],
imports: [ CommonModule, ClickOutModule ],
exports: [ SelectDropdownComponent ]
})
export class SelectDropdownModule { }
import {NgModule} from '@angular/core';
import {MdcFormFieldModule} from '@angular-mdc/web/form-field';
import {MdcCheckbox} from './checkbox';
@NgModule({
imports: [MdcFormFieldModule],
exports: [
MdcFormFieldModule,
MdcCheckbox
],
declarations: [MdcCheckbox]
})
export class MdcCheckboxModule { }
* Written by Augustinas Markevicius 2016
*/
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { SharedModule } from '../shared/shared.module';
import { CustomAngularMaterialModule } from '../core/custom-angular-material.module';
import { TileProfileComponent } from './tile-profile/tile-profile.component';
import { ProfileComponent } from './profile/profile.component';
import { PrivacyToggleHelperComponent } from './privacy-toggle-helper/privacy-toggle-helper.component';
import { ProfilesService } from './profiles.service';
@NgModule({
imports: [ SharedModule, FormsModule, ReactiveFormsModule, CustomAngularMaterialModule ],
declarations: [ TileProfileComponent, ProfileComponent, PrivacyToggleHelperComponent ],
providers: [ ProfilesService ],
exports: [ TileProfileComponent ]
})
export class ProfilesModule {}
import { NgModule } from '@angular/core';
import { SharedModule } from '../shared.module';
import { DelonFormModule, WidgetRegistry } from '@delon/form';
import { MarkdownWidget } from '../../../../packages/form/widgets-third/markdown/markdown.widget';
import { TinymceWidget } from '../../../../packages/form/widgets-third/tinymce/tinymce.widget';
import { UeditorWidget } from '../../../../packages/form/widgets-third/ueditor/ueditor.widget';
export const SCHEMA_THIRDS_COMPONENTS = [TinymceWidget, UeditorWidget, MarkdownWidget];
@NgModule({
declarations: SCHEMA_THIRDS_COMPONENTS,
entryComponents: SCHEMA_THIRDS_COMPONENTS,
imports: [SharedModule, DelonFormModule.forRoot()],
exports: [...SCHEMA_THIRDS_COMPONENTS],
})
export class JsonSchemaModule {
constructor(widgetRegistry: WidgetRegistry) {
widgetRegistry.register(TinymceWidget.KEY, TinymceWidget);
widgetRegistry.register(UeditorWidget.KEY, UeditorWidget);
widgetRegistry.register(MarkdownWidget.KEY, MarkdownWidget);
}
}