2022-01-19 17:24:11 +01:00
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
2022-03-21 14:23:50 +01:00
|
|
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
2022-01-19 17:24:11 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
|
|
|
import { AppRoutingModule } from './app.routing.module';
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
2022-04-05 15:58:12 +02:00
|
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
|
|
import { MatIconModule } from '@angular/material/icon';
|
|
|
|
import { MatMenuModule } from '@angular/material/menu';
|
2022-01-19 17:24:11 +01:00
|
|
|
|
|
|
|
import { environment } from 'src/environments/environment';
|
|
|
|
|
|
|
|
import { CallComponent } from './openvidu-call/call.component';
|
|
|
|
import { DashboardComponent } from './dashboard/dashboard.component';
|
2022-03-21 14:23:50 +01:00
|
|
|
import { TestingComponent } from './testing-app/testing.component';
|
2022-04-05 15:58:12 +02:00
|
|
|
import { ToolbarDirectiveComponent } from './examples/toolbar-directive/toolbar-directive.component';
|
|
|
|
import { ToolbarAdditionalButtonsDirectiveComponent } from './examples/toolbarAdditionalButtons-directive/toolbarAdditionalButtons-directive.component';
|
|
|
|
import { LayoutDirectiveComponent } from './examples/layout-directive/layout-directive.component';
|
|
|
|
import { StreamDirectiveComponent } from './examples/stream-directive/stream-directive.component';
|
|
|
|
import { PanelDirectiveComponent } from './examples/panel-directive/panel-directive.component';
|
|
|
|
import { ParticipantsPanelDirectiveComponent } from './examples/participantsPanel-directive/participantsPanel-directive.component';
|
|
|
|
import { ParticipantPanelItemDirectiveComponent } from './examples/participantPanelItem-directive/participantPanelItem-directive.component';
|
|
|
|
import { ParticipantPanelItemElementsDirectiveComponent } from './examples/participantPanelItemElements-directive/participantPanelItemElements-directive.component';
|
|
|
|
import { ChatPanelDirectiveComponent } from './examples/chatPanel-directive/chatPanel-directive.component';
|
|
|
|
|
|
|
|
// openvidu-angular
|
|
|
|
import { OpenViduAngularModule } from 'openvidu-angular';
|
|
|
|
import { ExamplesDashboardComponent } from './examples/examples-dashboard/examples-dashboard.component';
|
2022-01-19 17:24:11 +01:00
|
|
|
|
|
|
|
@NgModule({
|
2022-01-20 12:07:42 +01:00
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
DashboardComponent,
|
|
|
|
CallComponent,
|
2022-04-05 15:58:12 +02:00
|
|
|
TestingComponent,
|
|
|
|
ExamplesDashboardComponent,
|
|
|
|
ToolbarDirectiveComponent,
|
|
|
|
ToolbarAdditionalButtonsDirectiveComponent,
|
|
|
|
LayoutDirectiveComponent,
|
|
|
|
StreamDirectiveComponent,
|
|
|
|
PanelDirectiveComponent,
|
|
|
|
ParticipantsPanelDirectiveComponent,
|
|
|
|
ChatPanelDirectiveComponent,
|
|
|
|
ParticipantPanelItemDirectiveComponent,
|
|
|
|
ParticipantPanelItemElementsDirectiveComponent
|
2022-01-20 12:07:42 +01:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
2022-03-21 14:23:50 +01:00
|
|
|
MatCheckboxModule,
|
2022-01-20 12:07:42 +01:00
|
|
|
MatButtonModule,
|
2022-03-21 14:23:50 +01:00
|
|
|
MatIconModule,
|
2022-04-05 15:58:12 +02:00
|
|
|
MatMenuModule,
|
2022-01-20 12:07:42 +01:00
|
|
|
BrowserAnimationsModule,
|
2022-02-15 16:24:01 +01:00
|
|
|
OpenViduAngularModule.forRoot(environment),
|
2022-01-20 12:07:42 +01:00
|
|
|
AppRoutingModule // Order is important, AppRoutingModule must be the last import for useHash working
|
|
|
|
],
|
2022-04-05 15:58:12 +02:00
|
|
|
providers: [],
|
2022-01-20 12:07:42 +01:00
|
|
|
bootstrap: [AppComponent]
|
2022-01-19 17:24:11 +01:00
|
|
|
})
|
2022-01-20 12:07:42 +01:00
|
|
|
export class AppModule {}
|