From bfd21ecd1e926650f023efec3024dc86dd7eb2dc Mon Sep 17 00:00:00 2001 From: csantosm <4a.santos@gmail.com> Date: Wed, 2 Feb 2022 13:44:49 +0100 Subject: [PATCH] openvidu-components: Moved panels into panel component --- .../{ => panel}/chat-panel/chat-panel.component.css | 0 .../{ => panel}/chat-panel/chat-panel.component.html | 0 .../{ => panel}/chat-panel/chat-panel.component.spec.ts | 4 ++-- .../{ => panel}/chat-panel/chat-panel.component.ts | 8 ++++---- .../participant-item/participant-item.component.css | 0 .../participant-item/participant-item.component.html | 0 .../participant-item/participant-item.component.spec.ts | 0 .../participant-item/participant-item.component.ts | 0 .../participants-panel/participants-panel.component.css | 0 .../participants-panel/participants-panel.component.html | 0 .../participants-panel.component.spec.ts | 0 .../participants-panel/participants-panel.component.ts | 6 +++--- .../openvidu-angular/src/lib/openvidu-angular.module.ts | 6 +++--- .../projects/openvidu-angular/src/public-api.ts | 4 ++-- 14 files changed, 14 insertions(+), 14 deletions(-) rename openvidu-components-angular/projects/openvidu-angular/src/lib/components/{ => panel}/chat-panel/chat-panel.component.css (100%) rename openvidu-components-angular/projects/openvidu-angular/src/lib/components/{ => panel}/chat-panel/chat-panel.component.html (100%) rename openvidu-components-angular/projects/openvidu-angular/src/lib/components/{ => panel}/chat-panel/chat-panel.component.spec.ts (82%) rename openvidu-components-angular/projects/openvidu-angular/src/lib/components/{ => panel}/chat-panel/chat-panel.component.ts (87%) rename openvidu-components-angular/projects/openvidu-angular/src/lib/components/{ => panel}/participants-panel/participant-item/participant-item.component.css (100%) rename openvidu-components-angular/projects/openvidu-angular/src/lib/components/{ => panel}/participants-panel/participant-item/participant-item.component.html (100%) rename openvidu-components-angular/projects/openvidu-angular/src/lib/components/{ => panel}/participants-panel/participant-item/participant-item.component.spec.ts (100%) rename openvidu-components-angular/projects/openvidu-angular/src/lib/components/{ => panel}/participants-panel/participant-item/participant-item.component.ts (100%) rename openvidu-components-angular/projects/openvidu-angular/src/lib/components/{ => panel}/participants-panel/participants-panel/participants-panel.component.css (100%) rename openvidu-components-angular/projects/openvidu-angular/src/lib/components/{ => panel}/participants-panel/participants-panel/participants-panel.component.html (100%) rename openvidu-components-angular/projects/openvidu-angular/src/lib/components/{ => panel}/participants-panel/participants-panel/participants-panel.component.spec.ts (100%) rename openvidu-components-angular/projects/openvidu-angular/src/lib/components/{ => panel}/participants-panel/participants-panel/participants-panel.component.ts (83%) diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/chat-panel/chat-panel.component.css b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/chat-panel/chat-panel.component.css similarity index 100% rename from openvidu-components-angular/projects/openvidu-angular/src/lib/components/chat-panel/chat-panel.component.css rename to openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/chat-panel/chat-panel.component.css diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/chat-panel/chat-panel.component.html b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/chat-panel/chat-panel.component.html similarity index 100% rename from openvidu-components-angular/projects/openvidu-angular/src/lib/components/chat-panel/chat-panel.component.html rename to openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/chat-panel/chat-panel.component.html diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/chat-panel/chat-panel.component.spec.ts b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/chat-panel/chat-panel.component.spec.ts similarity index 82% rename from openvidu-components-angular/projects/openvidu-angular/src/lib/components/chat-panel/chat-panel.component.spec.ts rename to openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/chat-panel/chat-panel.component.spec.ts index 8cc7ff68..0204558a 100644 --- a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/chat-panel/chat-panel.component.spec.ts +++ b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/chat-panel/chat-panel.component.spec.ts @@ -1,6 +1,6 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { ChatService } from '../../services/chat/chat.service'; -import { ChatServiceMock } from '../../services/chat/chat.service.mock'; +import { ChatService } from '../../../services/chat/chat.service'; +import { ChatServiceMock } from '../../../services/chat/chat.service.mock'; import { ChatPanelComponent } from './chat-panel.component'; diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/chat-panel/chat-panel.component.ts b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/chat-panel/chat-panel.component.ts similarity index 87% rename from openvidu-components-angular/projects/openvidu-angular/src/lib/components/chat-panel/chat-panel.component.ts rename to openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/chat-panel/chat-panel.component.ts index 4182525d..a885dce2 100644 --- a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/chat-panel/chat-panel.component.ts +++ b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/chat-panel/chat-panel.component.ts @@ -1,9 +1,9 @@ import { AfterViewInit, Component, ElementRef, HostListener, OnInit, ViewChild } from '@angular/core'; import { Subscription } from 'rxjs'; -import { ChatMessage } from '../../models/chat.model'; -import { MenuType } from '../../models/menu.model'; -import { ChatService } from '../../services/chat/chat.service'; -import { SidenavMenuService } from '../../services/sidenav-menu/sidenav-menu.service'; +import { ChatMessage } from '../../../models/chat.model'; +import { MenuType } from '../../../models/menu.model'; +import { ChatService } from '../../../services/chat/chat.service'; +import { SidenavMenuService } from '../../../services/sidenav-menu/sidenav-menu.service'; @Component({ selector: 'ov-chat-panel', diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participant-item/participant-item.component.css b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-item/participant-item.component.css similarity index 100% rename from openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participant-item/participant-item.component.css rename to openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-item/participant-item.component.css diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participant-item/participant-item.component.html b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-item/participant-item.component.html similarity index 100% rename from openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participant-item/participant-item.component.html rename to openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-item/participant-item.component.html diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participant-item/participant-item.component.spec.ts b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-item/participant-item.component.spec.ts similarity index 100% rename from openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participant-item/participant-item.component.spec.ts rename to openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-item/participant-item.component.spec.ts diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participant-item/participant-item.component.ts b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-item/participant-item.component.ts similarity index 100% rename from openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participant-item/participant-item.component.ts rename to openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participant-item/participant-item.component.ts diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participants-panel/participants-panel.component.css b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participants-panel/participants-panel.component.css similarity index 100% rename from openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participants-panel/participants-panel.component.css rename to openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participants-panel/participants-panel.component.css diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participants-panel/participants-panel.component.html b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participants-panel/participants-panel.component.html similarity index 100% rename from openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participants-panel/participants-panel.component.html rename to openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participants-panel/participants-panel.component.html diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participants-panel/participants-panel.component.spec.ts b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participants-panel/participants-panel.component.spec.ts similarity index 100% rename from openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participants-panel/participants-panel.component.spec.ts rename to openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participants-panel/participants-panel.component.spec.ts diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participants-panel/participants-panel.component.ts b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participants-panel/participants-panel.component.ts similarity index 83% rename from openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participants-panel/participants-panel.component.ts rename to openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participants-panel/participants-panel.component.ts index 07496acb..b9d9dcc7 100644 --- a/openvidu-components-angular/projects/openvidu-angular/src/lib/components/participants-panel/participants-panel/participants-panel.component.ts +++ b/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/participants-panel/participants-panel/participants-panel.component.ts @@ -1,7 +1,7 @@ import { ChangeDetectorRef, Component, OnInit } from '@angular/core'; -import { ParticipantAbstractModel, ParticipantModel } from '../../../models/participant.model'; -import { ParticipantService } from '../../../services/participant/participant.service'; -import { SidenavMenuService } from '../../../services/sidenav-menu/sidenav-menu.service'; +import { ParticipantAbstractModel, ParticipantModel } from '../../../../models/participant.model'; +import { ParticipantService } from '../../../../services/participant/participant.service'; +import { SidenavMenuService } from '../../../..//services/sidenav-menu/sidenav-menu.service'; @Component({ selector: 'ov-participants-panel', diff --git a/openvidu-components-angular/projects/openvidu-angular/src/lib/openvidu-angular.module.ts b/openvidu-components-angular/projects/openvidu-angular/src/lib/openvidu-angular.module.ts index bf3cbf81..eb66179d 100644 --- a/openvidu-components-angular/projects/openvidu-angular/src/lib/openvidu-angular.module.ts +++ b/openvidu-components-angular/projects/openvidu-angular/src/lib/openvidu-angular.module.ts @@ -29,7 +29,7 @@ import { HttpClientModule } from '@angular/common/http'; import { UserSettingsComponent } from './components/user-settings/user-settings.component'; import { ToolbarComponent } from './components/toolbar/toolbar.component'; import { VideoComponent } from './components/video/video.component'; -import { ChatPanelComponent } from './components/chat-panel/chat-panel.component'; +import { ChatPanelComponent } from './components/panel/chat-panel/chat-panel.component'; import { SessionComponent } from './components/session/session.component'; import { LayoutComponent } from './components/layout/layout.component'; import { StreamComponent } from './components/stream/stream.component'; @@ -54,8 +54,8 @@ import { DocumentService } from './services/document/document.service'; import { LayoutService } from './services/layout/layout.service'; import { SidenavMenuService } from './services/sidenav-menu/sidenav-menu.service'; import { ParticipantService } from './services/participant/participant.service'; -import { ParticipantItemComponent } from './components/participants-panel/participant-item/participant-item.component'; -import { ParticipantsPanelComponent } from './components/participants-panel/participants-panel/participants-panel.component'; +import { ParticipantItemComponent } from './components/panel/participants-panel/participant-item/participant-item.component'; +import { ParticipantsPanelComponent } from './components/panel/participants-panel/participants-panel/participants-panel.component'; import { VideoconferenceComponent } from './components/videoconference/videoconference.component'; import { PanelComponent } from './components/panel/panel.component'; diff --git a/openvidu-components-angular/projects/openvidu-angular/src/public-api.ts b/openvidu-components-angular/projects/openvidu-angular/src/public-api.ts index 143daa78..d7fef6a0 100644 --- a/openvidu-components-angular/projects/openvidu-angular/src/public-api.ts +++ b/openvidu-components-angular/projects/openvidu-angular/src/public-api.ts @@ -24,8 +24,8 @@ export * from './lib/services/storage/storage.service'; export * from './lib/components/videoconference/videoconference.component'; export * from './lib/components/user-settings/user-settings.component'; export * from './lib/components/toolbar/toolbar.component'; -export * from './lib/components/chat-panel/chat-panel.component'; -export * from './lib/components/participants-panel/participants-panel/participants-panel.component'; +export * from './lib/components/panel/chat-panel/chat-panel.component'; +export * from './lib/components/panel/participants-panel/participants-panel/participants-panel.component'; export * from './lib/components/session/session.component'; export * from './lib/components/layout/layout.component'; export * from './lib/components/stream/stream.component';