@angular/flex-layout#FlexLayoutModule TypeScript Examples
The following examples show how to use
@angular/flex-layout#FlexLayoutModule.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: network.module.ts From EXOS-Core with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
RouterModule,
FlexLayoutModule,
MaterialModule,
FormsModule,
],
declarations: [
NetworkComponent,
NetworkDetailsComponent,
NetworkAddNodeComponent,
NetworkBanNodeComponent,
],
exports: [
NetworkComponent,
NetworkDetailsComponent,
],
entryComponents: [
NetworkAddNodeComponent,
NetworkBanNodeComponent
],
})
export class NetworkModule {
}
Example #2
Source File: app.module.ts From careydevelopmentcrm with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
MenuListItemComponent,
FeaturesComponent,
ConfirmationDialogComponent
],
imports: [
BrowserModule,
FlexLayoutModule,
HttpClientModule,
AppRoutingModule,
BrowserAnimationsModule,
MatToolbarModule,
MatSidenavModule,
MatListModule,
MatIconModule,
MatDialogModule,
MatButtonModule,
MatNativeDateModule,
BreadcrumbModule,
UserModule.forRoot({ baseUrl: environment.baseUserServiceUrl }),
AuthModule.forRoot({ baseUrl: environment.baseUserServiceUrl }),
GeoModule.forRoot({ baseUrl: environment.baseGeoServiceUrl }),
ValidationModule.forRoot({ fieldSummaries : allFieldSummaries })
],
providers: [
{ provide: HTTP_INTERCEPTORS, useClass: JwtInterceptor, multi: true },
{ provide: HTTP_INTERCEPTORS, useClass: HttpErrorInterceptor, multi: true }
],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #3
Source File: search-lib.module.ts From loopback4-microservice-catalog with MIT License | 6 votes |
@NgModule({
declarations: [SearchComponent],
imports: [
CommonModule,
FormsModule,
HttpClientModule,
MatSelectModule,
MatFormFieldModule,
MatIconModule,
MatInputModule,
FlexLayoutModule,
],
exports: [SearchComponent],
})
export class SearchLibModule {}
Example #4
Source File: dashboard.module.ts From careydevelopmentcrm with MIT License | 6 votes |
@NgModule({
declarations: [
DashboardComponent
],
imports: [
CommonModule,
DealsModule,
FlexLayoutModule,
MatProgressSpinnerModule,
MatCardModule,
RouterModule.forChild(routes)
]
})
export class DashboardModule {
constructor() { }
}
Example #5
Source File: json-schema-form.module.ts From json-schema-form with Apache License 2.0 | 6 votes |
@NgModule({
declarations: [JsonSchemaFormComponent, EditElementDialogComponent, WidgetDirective],
imports: [
MatCardModule,
FlexLayoutModule,
MatIconModule,
MatTooltipModule,
MatTableModule,
MatTabsModule,
MatFormFieldModule,
MatSelectModule,
MatDatepickerModule,
MatCheckboxModule,
MatAutocompleteModule,
HttpClientModule,
CommonModule,
MatInputModule,
MatNativeDateModule,
MatButtonModule,
MatExpansionModule,
MatMenuModule,
ReactiveFormsModule,
MatDialogModule,
MatChipsModule,
DragDropModule
],
exports: [JsonSchemaFormComponent],
providers: [
// turn off tooltip gestures on mobile: https://github.com/angular/components/issues/4892
{ provide: MAT_TOOLTIP_DEFAULT_OPTIONS, useValue: { touchGestures: 'off' } },
{ provide: EDIT_DIALOG_TOKEN, useValue: EditElementDialogComponent }
]
})
export class JsonSchemaFormModule { }
Example #6
Source File: app.module.ts From ledge with Mozilla Public License 2.0 | 6 votes |
@NgModule({
declarations: [
AppComponent,
PatternComponent,
ManualComponent,
ResourcesComponent,
ToolsetComponent,
],
imports: [
BrowserModule,
FormsModule,
ReactiveFormsModule,
SharedModule,
AppRoutingModule,
HttpClientModule,
BrowserAnimationsModule,
CustomMaterialModule,
LedgeRenderModule,
ScullyLibModule,
FlexLayoutModule,
TranslateModule.forRoot({
defaultLanguage: 'zh-cn',
loader: {
provide: TranslateLoader,
useClass: WebpackTranslateLoader,
},
// loader: {
// provide: TranslateLoader,
// useFactory: createTranslateLoader,
// deps: [HttpClient],
// },
}),
],
providers: [Title],
bootstrap: [AppComponent],
})
export class AppModule {}
Example #7
Source File: wallet.module.ts From blockcore-hub with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
RouterModule,
ReceiveModule,
SendModule,
ReactiveFormsModule,
FlexLayoutModule,
FormsModule,
AppSharedModule,
PaymentModule,
MaterialModule,
WalletRoutingModule
],
declarations: [
WalletComponent,
WalletUtxoCountDialogComponent
],
exports: [
WalletComponent,
],
entryComponents: [
WalletUtxoCountDialogComponent
],
})
export class WalletModule {
}
Example #8
Source File: swaps.module.ts From EXOS-Core with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
RouterModule,
MaterialModule,
FlexLayoutModule,
],
declarations: [
SwapsComponent,
],
exports: [
SwapsComponent,
],
})
export class SwapsModule {
}
Example #9
Source File: app.module.ts From angular-spring-rsocket-sample with GNU General Public License v3.0 | 6 votes |
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
FormsModule,
FlexLayoutModule,
MatFormFieldModule,
MatButtonModule,
MatIconModule,
MatInputModule
],
exports:[
BrowserAnimationsModule,
FormsModule,
FlexLayoutModule,
MatFormFieldModule,
MatButtonModule,
MatIconModule,
MatInputModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #10
Source File: app.module.ts From youpez-admin with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
AppRoutingModule,
FlexLayoutModule,
CoreModule,
HttpClientModule,
SharedModule,
StoreModule.forRoot(reducers, {metaReducers}),
!environment.production ? StoreDevtoolsModule.instrument() : [],
EffectsModule.forRoot([AppEffects]),
NgxMdModule.forRoot(),
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {
}
Example #11
Source File: demos.module.ts From open-source with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
FlexLayoutModule,
RouterModule.forChild(routes),
LayoutModule,
],
declarations: [IndexComponent],
})
export class DemosModule {}
Example #12
Source File: youpez.module.ts From youpez-admin with MIT License | 6 votes |
MainModules = [ RouterModule, FlexLayoutModule, ResizableModule, BemModule, NgbDropdownModule, NgbTooltipModule, DragDropModule, A11yModule, ReactiveFormsModule, MatDialogModule, ]
Example #13
Source File: app-components.module.ts From barista with Apache License 2.0 | 6 votes |
@NgModule({
declarations: expose,
exports: expose,
imports: [
CommonModule,
AppMaterialModule,
NgxDatatableModule,
NgxChartsModule,
RouterModule,
FlexLayoutModule,
GlobalInjectorModule,
TableModule,
MultiSelectModule,
ButtonModule,
InputTextModule,
],
providers: [],
})
export class AppComponentsModule {}
Example #14
Source File: shared.module.ts From WiLearning with GNU Affero General Public License v3.0 | 6 votes |
@NgModule({
imports: [
CommonModule,
FormsModule,
FlexLayoutModule,
LayoutModule,
OverlayModule,
PortalModule,
DragDropModule,
ReactiveFormsModule,
HttpClientModule,
MaterialComponentsModule
],
exports: [
CommonModule,
FormsModule,
FlexLayoutModule,
LayoutModule,
OverlayModule,
PortalModule,
DragDropModule,
ReactiveFormsModule,
HttpClientModule,
MaterialComponentsModule
]
})
export class SharedModule {}
Example #15
Source File: sessions.module.ts From matx-angular with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
SharedMaterialModule,
SharedComponentsModule,
FlexLayoutModule,
PerfectScrollbarModule,
RouterModule.forChild(SessionsRoutes),
],
declarations: [
ForgotPasswordComponent,
LockscreenComponent,
SigninComponent,
SignupComponent,
NotFoundComponent,
ErrorComponent
],
})
export class SessionsModule {}
Example #16
Source File: app.module.ts From flingo with MIT License | 6 votes |
@NgModule({
declarations: [AppComponent, AppBreadcrumbComponent, FullComponent, AppSidebarComponent, SpinnerComponent],
imports: [
BrowserModule,
BrowserAnimationsModule,
MatMenuModule,
MatIconModule,
MatButtonModule,
LayoutModule,
SharedModule,
RouterModule.forRoot(AppRoutes, { relativeLinkResolution: 'legacy' }),
MatSidenavModule,
FlexLayoutModule,
MatToolbarModule,
MatListModule,
MatProgressBarModule,
SpinnerModule
],
bootstrap: [AppComponent]
})
export class AppModule {}
Example #17
Source File: app.module.ts From responsive-toolbar with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
ResponsiveToolbarComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
MatToolbarModule,
FlexLayoutModule,
MatMenuModule,
MatButtonModule,
MatIconModule,
MatDividerModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #18
Source File: staking.module.ts From blockcore-hub with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
RouterModule,
ReactiveFormsModule,
FlexLayoutModule,
FormsModule,
AppSharedModule,
MaterialModule,
StakingRoutingModule
],
declarations: [
StakingComponent
],
exports: [
StakingComponent,
],
})
export class StakingModule {
}
Example #19
Source File: app.module.ts From card-view-demo with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
MatCardModule,
MatToolbarModule,
MatButtonModule,
FlexLayoutModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #20
Source File: layout.module.ts From nghacks with MIT License | 6 votes |
@NgModule({
declarations: [
LayoutComponent,
ProgressbarComponent,
SidenavComponent,
TopnavComponent,
NoticeComponent
],
imports: [
CommonModule,
RouterModule,
FlexLayoutModule,
MatSidenavModule,
MatIconModule,
MatToolbarModule,
MatButtonModule,
MatRippleModule,
MatTooltipModule,
MatProgressBarModule
],
exports: [
LayoutComponent
]
})
export class LayoutModule { }
Example #21
Source File: mat-fab-menu.module.ts From fab-menu with MIT License | 6 votes |
@NgModule({
declarations: [MatFabMenuComponent],
imports: [
CommonModule,
MatButtonModule,
MatIconModule,
MatTooltipModule,
FlexLayoutModule
],
exports: [MatFabMenuComponent]
})
export class MatFabMenuModule {
}
Example #22
Source File: app.module.ts From angular-dark-mode with MIT License | 6 votes |
@NgModule({
declarations: [
AppComponent,
SampleDialogComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
MatToolbarModule,
MatSlideToggleModule,
ReactiveFormsModule,
MatButtonModule,
MatCardModule,
MatIconModule,
MatDialogModule,
FlexLayoutModule,
MatFormFieldModule,
MatInputModule,
MatCheckboxModule,
MatExpansionModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Example #23
Source File: dashboard.module.ts From blockcore-hub with MIT License | 6 votes |
@NgModule({
imports: [
CommonModule,
RouterModule,
MaterialModule,
FlexLayoutModule,
FormsModule,
ReactiveFormsModule,
AppSharedModule
],
declarations: [
DashboardComponent,
],
exports: [
DashboardComponent,
],
})
export class DashboardModule {
}
Example #24
Source File: app.module.ts From ewelink-web-ui with MIT License | 5 votes |
@NgModule({
declarations: [
AppComponent,
SwitchComponent,
LoginComponent,
HomeComponent,
DeviceComponent,
MenuInfoComponent,
JsonPrettyDialogComponent,
],
entryComponents: [JsonPrettyDialogComponent],
imports: [
BrowserModule,
CommonModule,
AppRoutingModule,
HttpClientModule,
BrowserAnimationsModule,
FlexLayoutModule,
ReactiveFormsModule,
MaterialDefinitionsModule,
NgxJsonViewerModule,
NotifierModule.withConfig({
position: { vertical: { position: 'top', distance: 74 }, horizontal: { position: "right" } }
})
],
providers: [
StyleUtils,
StylesheetMap,
MediaMarshaller,
ɵMatchMedia,
BreakPointRegistry,
PrintHook,
LayoutStyleBuilder,
FlexStyleBuilder,
ShowHideStyleBuilder,
FlexOrderStyleBuilder,
FlexFillStyleBuilder,
LayoutGapStyleBuilder,
LayoutAlignStyleBuilder
],
bootstrap: [AppComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
})
export class AppModule { }
Example #25
Source File: shared.module.ts From angular-communities with MIT License | 5 votes |
@NgModule({
declarations: COMPONENTS,
imports: [MATERIAL_MODULES, CORE_MODULES, FlexLayoutModule],
exports: [COMPONENTS, MATERIAL_MODULES, CORE_MODULES, FlexLayoutModule],
})
export class SharedModule {}
Example #26
Source File: app.module.ts From EXOS-Core with MIT License | 5 votes |
@NgModule({
declarations: [
],
imports: [
BrowserModule,
BrowserAnimationsModule,
FormsModule,
HttpClientModule,
MaterialModule,
RootModule,
DashboardModule,
NotificationsModule,
WalletModule,
SettingsModule,
LoginModule,
LogoutModule,
SwapsModule,
AboutModule,
AppSharedModule,
LoadModule,
NetworkModule,
NotFoundModule,
ReportModule,
UpdateModule,
DetailsModule,
WexoDetailsModule,
AdvancedModule,
ToolsModule,
HistoryModule,
AppRoutingModule,
FlexLayoutModule,
],
exports: [
],
providers: [
HttpErrorHandler,
httpInterceptorProviders,
// ApiService,
// HubService,
// ChainService,
ElectronService,
// GlobalService,
{ provide: APP_TITLE, useValue: 'EXOS Core' },
{
provide: LOCALE_ID,
deps: [LocaleService],
useFactory: (Locale: { locale: any; }) => Locale.locale
}
],
bootstrap: [RootComponent]
})
export class AppModule {
constructor(theming: Theming, log: Logger) {
log.info('Environment: ' + environment.environment);
theming.start();
}
}
Example #27
Source File: vulnerability-status-deployment-types-details.component.spec.ts From barista with Apache License 2.0 | 5 votes |
describe('VulnerabilityStatusDeploymentTypesDetailsComponent', () => {
let component: VulnerabilityStatusDeploymentTypesDetailsComponent;
let fixture: ComponentFixture<VulnerabilityStatusDeploymentTypesDetailsComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
RouterTestingModule,
StoreModule.forRoot(
{},
{
runtimeChecks: {
strictStateImmutability: true,
strictActionImmutability: true,
strictActionSerializability: true,
},
},
),
EffectsModule.forRoot([]),
EntityDataModule.forRoot(entityConfig),
EntityStoreModule,
HttpClientTestingModule,
FormsModule,
ReactiveFormsModule,
NgxDatatableModule,
FormlyMaterialModule,
AppMaterialModule,
AppComponentsModule,
FlexLayoutModule,
MatSnackBarModule,
FormlyModule.forRoot({
types: [{ name: 'flex-layout', component: FlexLayoutTypeComponent }],
}),
],
declarations: [VulnerabilityStatusDeploymentTypesDetailsComponent, FlexLayoutTypeComponent],
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(VulnerabilityStatusDeploymentTypesDetailsComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
Example #28
Source File: app.module.ts From workflow-editor with Educational Community License v2.0 | 5 votes |
@NgModule({
declarations: [
AppComponent,
UploadWorkflowsDialogComponent,
DragDropUploadDirective,
WorkflowListComponent,
DownloadWorkflowsDialogComponent,
WorkflowItemComponent,
OperationItemComponent,
DefaultOperationListComponent,
SelectWorkflowsDialogComponent,
EditOperationComponent,
EditWorkflowComponent,
ConditionItemComponent,
APPLICATION_VALIDATORS,
ShowErrorComponent,
SearchPipe
],
imports: [
BrowserModule,
Ng2SearchPipeModule,
AngularSplitModule.forRoot(),
MonacoEditorModule.forRoot(),
BrowserAnimationsModule,
DragDropModule,
MatToolbarModule,
MatDialogModule,
MatFormFieldModule,
MatInputModule,
MatChipsModule,
MatTabsModule,
MatIconModule,
MatCardModule,
MatAutocompleteModule,
FormsModule,
ReactiveFormsModule,
MatBadgeModule,
MatListModule,
MatSidenavModule,
MatButtonToggleModule,
FlexLayoutModule,
MatSlideToggleModule,
MatButtonModule,
MatProgressSpinnerModule,
SortablejsModule.forRoot({
animation: 150,
group: {
name: 'shared'
},
fallbackOnBody: true,
swapThreshold: 0.65
})
],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
providers: [],
bootstrap: [AppComponent],
entryComponents: [UploadWorkflowsDialogComponent, DownloadWorkflowsDialogComponent, SelectWorkflowsDialogComponent]
})
export class AppModule { }
Example #29
Source File: qd-messages-ts.module.ts From qd-messages-ts with GNU Affero General Public License v3.0 | 5 votes |
@NgModule({
declarations: [
QDMessagesComponent,
ChannelComponent,
MatMenuComponent,
FsIconComponent,
ChannelListComponent,
ChannelSidebarRightComponent,
ChannelSidebarLeftComponent,
ChannelParticipantListComponent,
ChannelSettingsComponent,
ChannelTabComponent,
ChannelFavoritesComponent
],
imports: [
NbSidebarModule,
CdkTableModule,
CdkTreeModule,
NbMenuModule,
ClipboardModule,
HttpClientModule,
MatCardModule,
MatSelectModule,
MatButtonModule,
MatCheckboxModule,
MatMenuModule,
CommonModule,
QuestMessengerJSRoutingModule,
FontAwesomeModule,
NbThemeModule,
NbLayoutModule,
NbChatModule,
NbTabsetModule,
NbEvaIconsModule,
NbIconModule,
FormsModule,
NbContextMenuModule,
NbDialogModule.forRoot(),
NbCardModule,
MatTreeModule,
DragDropModule,
MatButtonModule,
MatCheckboxModule,
MatInputModule,
MatFormFieldModule,
ZXingScannerModule,
MatSliderModule,
FlexLayoutModule,
MatIconModule,
LinkyModule
],
exports: [
QDMessagesComponent,
CdkTableModule,
MatFormFieldModule,
MatSelectModule,
MatTreeModule,
MatMenuModule,
],
providers: [
NbDialogService
],
bootstrap: [QDMessagesComponent]
})
export class QDMessagesModule { }