frontend: Exposes and provides layout service
Exposes the layout and storage services from the shared components library. Provides the layout service to make it available for dependency injection.
This commit is contained in:
parent
8e9443351c
commit
f930bf1447
@ -19,3 +19,5 @@ export * from './theme.service';
|
||||
export * from './token-storage.service';
|
||||
export * from './wizard-state.service';
|
||||
export * from './analytics.service';
|
||||
export * from './layout.service';
|
||||
export * from './storage.service';
|
||||
|
||||
@ -11,8 +11,8 @@ import { provideAnimationsAsync } from '@angular/platform-browser/animations/asy
|
||||
import { provideRouter } from '@angular/router';
|
||||
import { ceRoutes } from '@app/app.routes';
|
||||
import { environment } from '@environment/environment';
|
||||
import { CustomParticipantModel, httpInterceptor, ThemeService } from '@openvidu-meet/shared-components';
|
||||
import { OpenViduComponentsConfig, OpenViduComponentsModule, ParticipantProperties } from 'openvidu-components-angular';
|
||||
import { CustomParticipantModel, httpInterceptor, MeetLayoutService, ThemeService } from '@openvidu-meet/shared-components';
|
||||
import { LayoutService, OpenViduComponentsConfig, OpenViduComponentsModule, ParticipantProperties } from 'openvidu-components-angular';
|
||||
|
||||
const ovComponentsconfig: OpenViduComponentsConfig = {
|
||||
production: environment.production,
|
||||
@ -29,6 +29,7 @@ export const appConfig: ApplicationConfig = {
|
||||
return initializerFn();
|
||||
}),
|
||||
importProvidersFrom(OpenViduComponentsModule.forRoot(ovComponentsconfig)),
|
||||
{ provide: LayoutService, useClass: MeetLayoutService },
|
||||
provideZoneChangeDetection({ eventCoalescing: true }),
|
||||
provideRouter(ceRoutes),
|
||||
provideAnimationsAsync(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user