openvidu-components: Renamed library to openvidu-components-angular

This commit is contained in:
Carlos Santos 2024-06-03 23:53:48 +02:00
parent b67a8f0e9d
commit 0833665094
62 changed files with 245 additions and 306 deletions

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -941,9 +941,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@esbuild/linux-x64": {
@ -4900,10 +4900,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},

View File

@ -19,7 +19,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"

View File

@ -5,10 +5,10 @@ import { lastValueFrom } from 'rxjs';
import {
PanelStatusInfo,
PanelService,
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
} from 'openvidu-angular';
OpenViduComponentsDirectiveModule,
} from 'openvidu-components-angular';
import { MatIcon } from '@angular/material/icon';
import { MatIconButton } from '@angular/material/button';
@ -54,9 +54,9 @@ import { CommonModule } from '@angular/common';
standalone: true,
imports: [
CommonModule,
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
OpenViduComponentsDirectiveModule,
MatIconButton,
MatIcon,
],

View File

@ -1,12 +1,12 @@
import { enableProdMode, importProvidersFrom } from '@angular/core';
import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { OpenViduAngularModule, OpenViduAngularConfig } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
import { withInterceptorsFromDi, provideHttpClient } from '@angular/common/http';
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
const config: OpenViduComponentsConfig = {
production: environment.production,
};
@ -16,7 +16,7 @@ if (environment.production) {
bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, OpenViduAngularModule.forRoot(config)),
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(config)),
provideAnimations(),
provideHttpClient(withInterceptorsFromDi()),
],

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -941,9 +941,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@esbuild/linux-x64": {
@ -4900,10 +4900,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},

View File

@ -20,7 +20,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -32,4 +32,4 @@
"@types/node": "^20.12.12",
"typescript": "^5.4.5"
}
}
}

View File

@ -1,24 +1,24 @@
import { Component } from '@angular/core';
import {
RecordingInfo,
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
RecordingStatus,
RecordingOutputMode,
RecordingDeleteRequestedEvent,
} from 'openvidu-angular';
} from 'openvidu-components-angular';
@Component({
selector: 'app-root',
template: `
<!-- Reference documentation: https://docs.openvidu.io/en/stable/api/openvidu-angular/components/AdminLoginComponent.html -->
<!-- Reference documentation: https://docs.openvidu.io/en/stable/api/openvidu-components-angular/components/AdminLoginComponent.html -->
@if (!logged) {
<ov-admin-login
(onLoginRequested)="onLoginClicked($event)"
></ov-admin-login>
}
<!-- Reference documentation: https://docs.openvidu.io/en/stable/api/openvidu-angular/components/AdminDashboardComponent.html -->
<!-- Reference documentation: https://docs.openvidu.io/en/stable/api/openvidu-components-angular/components/AdminDashboardComponent.html -->
@if (logged) {
<ov-admin-dashboard
[recordingsList]="recordings"
@ -30,7 +30,7 @@ import {
}
`,
standalone: true,
imports: [OpenViduAngularModule, ApiDirectiveModule],
imports: [OpenViduComponentsModule, ApiDirectiveModule],
})
export class AppComponent {
title = 'openvidu-admin-dashboard';

View File

@ -1,11 +1,11 @@
import { enableProdMode, importProvidersFrom } from '@angular/core';
import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { OpenViduAngularModule, OpenViduAngularConfig } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
const config: OpenViduComponentsConfig = {
production: environment.production
};
@ -17,7 +17,7 @@ if (environment.production) {
bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, OpenViduAngularModule.forRoot(config)),
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(config)),
provideAnimations()
]
})

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -941,9 +941,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@esbuild/linux-x64": {
@ -4900,10 +4900,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},

View File

@ -20,7 +20,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"

View File

@ -3,10 +3,10 @@ import { Component } from '@angular/core';
import { lastValueFrom } from 'rxjs';
import { environment } from 'src/environments/environment';
import {
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
} from 'openvidu-angular';
OpenViduComponentsDirectiveModule,
} from 'openvidu-components-angular';
@Component({
selector: 'app-root',
@ -28,9 +28,9 @@ import {
styleUrls: ['./app.component.scss'],
standalone: true,
imports: [
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
OpenViduComponentsDirectiveModule,
],
})
export class AppComponent {

View File

@ -1,11 +1,11 @@
import { enableProdMode, importProvidersFrom } from '@angular/core';
import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { OpenViduAngularModule, OpenViduAngularConfig } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
const config: OpenViduComponentsConfig = {
production: environment.production
};
@ -17,7 +17,7 @@ if (environment.production) {
bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, OpenViduAngularModule.forRoot(config)),
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(config)),
provideAnimations()
]
})

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -941,9 +941,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@esbuild/linux-x64": {
@ -4900,10 +4900,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},

View File

@ -20,7 +20,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"

View File

@ -10,10 +10,10 @@ import {
RemoteParticipant,
Room,
RoomEvent,
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
} from 'openvidu-angular';
OpenViduComponentsDirectiveModule,
} from 'openvidu-components-angular';
import { environment } from 'src/environments/environment';
@Component({
@ -45,9 +45,9 @@ import { environment } from 'src/environments/environment';
styleUrls: ['./app.component.scss'],
standalone: true,
imports: [
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
OpenViduComponentsDirectiveModule,
],
})
export class AppComponent {

View File

@ -2,11 +2,11 @@ import { enableProdMode, importProvidersFrom } from '@angular/core';
import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { OpenViduAngularModule, OpenViduAngularConfig } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
const config: OpenViduComponentsConfig = {
production: environment.production,
};
@ -16,7 +16,7 @@ if (environment.production) {
bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, OpenViduAngularModule.forRoot(config)),
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(config)),
provideAnimations(),
],
}).catch((err) => console.error(err));

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -941,9 +941,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@esbuild/linux-x64": {
@ -4900,10 +4900,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},

View File

@ -20,7 +20,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"

View File

@ -4,10 +4,10 @@ import { lastValueFrom, Subscription } from 'rxjs';
import {
ParticipantModel,
ParticipantService,
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
} from 'openvidu-angular';
OpenViduComponentsDirectiveModule,
} from 'openvidu-components-angular';
import { environment } from 'src/environments/environment';
import { NgClass } from '@angular/common';
@ -55,9 +55,9 @@ import { NgClass } from '@angular/common';
styleUrls: ['./app.component.scss'],
standalone: true,
imports: [
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
OpenViduComponentsDirectiveModule,
NgClass,
],
})

View File

@ -3,11 +3,11 @@ import { enableProdMode, importProvidersFrom } from '@angular/core';
import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { OpenViduAngularModule, OpenViduAngularConfig } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
const config: OpenViduComponentsConfig = {
production: environment.production,
};
@ -17,7 +17,7 @@ if (environment.production) {
bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, OpenViduAngularModule.forRoot(config)),
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(config)),
provideAnimations(),
],
}).catch((err) => console.error(err));

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -941,9 +941,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@esbuild/linux-x64": {
@ -4900,10 +4900,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},

View File

@ -20,7 +20,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"

View File

@ -4,10 +4,10 @@ import { lastValueFrom } from 'rxjs';
import { environment } from 'src/environments/environment';
import {
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
} from 'openvidu-angular';
OpenViduComponentsDirectiveModule,
} from 'openvidu-components-angular';
@Component({
selector: 'app-root',
@ -38,9 +38,9 @@ import {
styleUrls: ['./app.component.scss'],
standalone: true,
imports: [
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
OpenViduComponentsDirectiveModule,
],
})
export class AppComponent {

View File

@ -2,11 +2,11 @@ import { enableProdMode, importProvidersFrom } from '@angular/core';
import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { OpenViduAngularModule, OpenViduAngularConfig } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
const config: OpenViduComponentsConfig = {
production: environment.production,
};
@ -16,7 +16,7 @@ if (environment.production) {
bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, OpenViduAngularModule.forRoot(config)),
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(config)),
provideAnimations(),
],
}).catch((err) => console.error(err));

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -941,9 +941,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@esbuild/linux-x64": {
@ -4900,10 +4900,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},

View File

@ -20,7 +20,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"

View File

@ -4,10 +4,10 @@ import { lastValueFrom } from 'rxjs';
import {
OpenViduService,
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
} from 'openvidu-angular';
OpenViduComponentsDirectiveModule,
} from 'openvidu-components-angular';
import { environment } from 'src/environments/environment';
@Component({
@ -39,9 +39,9 @@ import { environment } from 'src/environments/environment';
styles: [],
standalone: true,
imports: [
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
OpenViduComponentsDirectiveModule,
],
})
export class AppComponent {

View File

@ -2,11 +2,11 @@ import { enableProdMode, importProvidersFrom } from '@angular/core';
import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { OpenViduAngularModule, OpenViduAngularConfig } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
const config: OpenViduComponentsConfig = {
production: environment.production,
};
@ -16,7 +16,7 @@ if (environment.production) {
bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, OpenViduAngularModule.forRoot(config)),
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(config)),
provideAnimations(),
],
}).catch((err) => console.error(err));

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -941,9 +941,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@esbuild/linux-x64": {
@ -4900,10 +4900,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},

View File

@ -20,7 +20,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"

View File

@ -7,10 +7,10 @@ import { MatIcon } from '@angular/material/icon';
import { MatMenuTrigger, MatMenu, MatMenuItem } from '@angular/material/menu';
import { MatIconButton } from '@angular/material/button';
import {
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
} from 'openvidu-angular';
OpenViduComponentsDirectiveModule,
} from 'openvidu-components-angular';
@Component({
selector: 'app-root',
@ -41,9 +41,9 @@ import {
styles: [],
standalone: true,
imports: [
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
OpenViduComponentsDirectiveModule,
MatIconButton,
MatMenuTrigger,
MatIcon,

View File

@ -2,11 +2,11 @@ import { enableProdMode, importProvidersFrom } from '@angular/core';
import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { OpenViduAngularModule, OpenViduAngularConfig } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
const config: OpenViduComponentsConfig = {
production: environment.production,
};
@ -16,7 +16,7 @@ if (environment.production) {
bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, OpenViduAngularModule.forRoot(config)),
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(config)),
provideAnimations(),
],
}).catch((err) => console.error(err));

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -941,9 +941,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@esbuild/linux-x64": {
@ -4900,10 +4900,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},

View File

@ -20,7 +20,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"

View File

@ -5,10 +5,10 @@ import { lastValueFrom, Subscription } from 'rxjs';
import {
ParticipantModel,
ParticipantService,
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
} from 'openvidu-angular';
OpenViduComponentsDirectiveModule,
} from 'openvidu-components-angular';
import { environment } from 'src/environments/environment';
@Component({
@ -36,9 +36,9 @@ import { environment } from 'src/environments/environment';
styleUrls: ['./app.component.scss'],
standalone: true,
imports: [
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
OpenViduComponentsDirectiveModule,
],
})
export class AppComponent implements OnInit, OnDestroy {

View File

@ -2,11 +2,11 @@ import { enableProdMode, importProvidersFrom } from '@angular/core';
import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { OpenViduAngularModule, OpenViduAngularConfig } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
const config: OpenViduComponentsConfig = {
production: environment.production,
};
@ -16,7 +16,7 @@ if (environment.production) {
bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, OpenViduAngularModule.forRoot(config)),
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(config)),
provideAnimations(),
],
}).catch((err) => console.error(err));

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -941,9 +941,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@esbuild/linux-x64": {
@ -4900,10 +4900,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},

View File

@ -20,7 +20,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"

View File

@ -3,10 +3,10 @@ import { Component } from '@angular/core';
import { lastValueFrom } from 'rxjs';
import {
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
} from 'openvidu-angular';
OpenViduComponentsDirectiveModule,
} from 'openvidu-components-angular';
@Component({
selector: 'app-root',
@ -30,9 +30,9 @@ import {
styleUrls: ['./app.component.scss'],
standalone: true,
imports: [
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
OpenViduComponentsDirectiveModule,
],
})
export class AppComponent {

View File

@ -2,11 +2,11 @@ import { enableProdMode, importProvidersFrom } from '@angular/core';
import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { OpenViduAngularModule, OpenViduAngularConfig } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
const config: OpenViduComponentsConfig = {
production: environment.production,
};
@ -16,7 +16,7 @@ if (environment.production) {
bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, OpenViduAngularModule.forRoot(config)),
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(config)),
provideAnimations(),
],
}).catch((err) => console.error(err));

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -2675,9 +2675,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@discoveryjs/json-ext": {
@ -8953,10 +8953,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},

View File

@ -20,7 +20,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -32,4 +32,4 @@
"@types/node": "^20.12.12",
"typescript": "^5.4.5"
}
}
}

View File

@ -4,10 +4,10 @@ import { lastValueFrom } from 'rxjs';
import {
ParticipantService,
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
} from 'openvidu-angular';
OpenViduComponentsDirectiveModule,
} from 'openvidu-components-angular';
import { environment } from 'src/environments/environment';
@Component({
@ -26,9 +26,9 @@ import { environment } from 'src/environments/environment';
`,
standalone: true,
imports: [
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
OpenViduComponentsDirectiveModule,
],
})
export class AppComponent {

View File

@ -2,11 +2,11 @@ import { enableProdMode, importProvidersFrom } from '@angular/core';
import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { OpenViduAngularModule, OpenViduAngularConfig } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
const config: OpenViduComponentsConfig = {
production: environment.production,
};
@ -16,7 +16,7 @@ if (environment.production) {
bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, OpenViduAngularModule.forRoot(config)),
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(config)),
provideAnimations(),
],
}).catch((err) => console.error(err));

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -2682,9 +2682,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@colors/colors": {
@ -9694,10 +9694,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},

View File

@ -20,7 +20,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"

View File

@ -2,7 +2,7 @@ import { HttpClient } from '@angular/common/http';
import { Component } from '@angular/core';
import { lastValueFrom } from 'rxjs';
import { OpenViduAngularModule, ApiDirectiveModule } from 'openvidu-angular';
import { OpenViduComponentsModule, ApiDirectiveModule } from 'openvidu-components-angular';
@Component({
selector: 'app-root',
@ -10,7 +10,7 @@ import { OpenViduAngularModule, ApiDirectiveModule } from 'openvidu-angular';
'<ov-videoconference [token]="token" [livekitUrl]="LIVEKIT_URL" (onTokenRequested)="onTokenRequested($event)"></ov-videoconference>',
styles: [''],
standalone: true,
imports: [OpenViduAngularModule, ApiDirectiveModule],
imports: [OpenViduComponentsModule, ApiDirectiveModule],
})
export class AppComponent {
// For local development, leave these variables empty

View File

@ -1,55 +0,0 @@
import { HttpClient } from '@angular/common/http';
import { Component } from '@angular/core';
import { lastValueFrom } from 'rxjs';
import { environment } from 'src/environments/environment';
import { OpenViduAngularModule, ApiDirectiveModule } from 'openvidu-angular';
@Component({
selector: 'app-root',
template:
'<ov-videoconference [token]="token" [livekitUrl]="LIVEKIT_URL" (onTokenRequested)="onTokenRequested($event)"></ov-videoconference>',
styles: [''],
standalone: true,
imports: [OpenViduAngularModule, ApiDirectiveModule],
})
export class AppComponent {
// The URL of the application server.
APPLICATION_SERVER_URL = '';
LIVEKIT_URL = environment.livekitUrl;
// The name of the room to join.
roomName = 'openvidu-custom-ui';
// The token used to join the room.
token!: string;
// Creates a new instance of the AppComponent class.
constructor(private httpClient: HttpClient) {}
// Requests a token to join the room with the given participant name.
async onTokenRequested(participantName: string) {
const { token } = await this.getToken(this.roomName, participantName);
this.token = token;
}
// Retrieves a token to join the room with the given name and participant name.
getToken(roomName: string, participantName: string): Promise<any> {
try {
return lastValueFrom(
this.httpClient.post<any>(this.APPLICATION_SERVER_URL + 'token', {
roomName,
participantName,
})
);
} catch (error: any) {
if (error.status === 404) {
throw {
status: error.status,
message: 'Cannot connect with backend. ' + error.url + ' not found',
};
}
throw error;
}
}
}

View File

@ -1,28 +1,22 @@
import { enableProdMode, importProvidersFrom } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { environment as environment_1 } from 'src/environments/environment';
import { OpenViduAngularModule, OpenViduAngularConfig } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
production: environment.production
const config: OpenViduComponentsConfig = {
production: environment.production,
};
if (environment.production) {
enableProdMode();
}
bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, OpenViduAngularModule.forRoot(config)),
provideAnimations()
]
})
.catch(err => console.error(err));
providers: [
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(config)),
provideAnimations(),
],
}).catch((err) => console.error(err));

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "18.0.1",
"@angular/platform-browser-dynamic": "18.0.1",
"@angular/router": "18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "7.5.2",
"tslib": "2.0.0",
"zone.js": "0.14.6"
@ -2749,9 +2749,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@discoveryjs/json-ext": {
@ -9490,10 +9490,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},
@ -9509,7 +9509,7 @@
"livekit-client": "2.1.0"
}
},
"node_modules/openvidu-angular/node_modules/tslib": {
"node_modules/openvidu-components-angular/node_modules/tslib": {
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "18.0.1",
"@angular/platform-browser-dynamic": "18.0.1",
"@angular/router": "18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "7.5.2",
"tslib": "2.0.0",
"zone.js": "0.14.6"

View File

@ -10,10 +10,10 @@ import {
RemoteParticipant,
Room,
RoomEvent,
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule
} from 'openvidu-angular';
OpenViduComponentsDirectiveModule
} from 'openvidu-components-angular';
import { ParticipantAppModel } from './models/participant-app.model';
import { environment } from 'src/environments/environment';
@ -42,7 +42,7 @@ enum DataTopicApp {
])
],
standalone: true,
imports: [OpenViduAngularModule, ApiDirectiveModule, OpenViduAngularDirectiveModule, MatIconButton, MatIcon]
imports: [OpenViduComponentsModule, ApiDirectiveModule, OpenViduComponentsDirectiveModule, MatIconButton, MatIcon]
})
export class AppComponent {
// For local development, leave these variables empty

View File

@ -1,4 +1,4 @@
import { ParticipantModel, ParticipantProperties } from 'openvidu-angular';
import { ParticipantModel, ParticipantProperties } from 'openvidu-components-angular';
// Represents a participant in the application, with the ability to raise their hand.
export class ParticipantAppModel extends ParticipantModel {

View File

@ -6,13 +6,13 @@ import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { ParticipantAppModel } from './app/models/participant-app.model';
import { environment as environment_1 } from 'src/environments/environment';
import { OpenViduAngularModule, OpenViduAngularConfig, ParticipantProperties } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig, ParticipantProperties } from 'openvidu-components-angular';
import { provideAnimations } from '@angular/platform-browser/animations';
import { MatIconModule } from '@angular/material/icon';
import { MatButtonModule } from '@angular/material/button';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
const config: OpenViduComponentsConfig = {
production: environment.production,
participantFactory: (props: ParticipantProperties) => new ParticipantAppModel(props)
};
@ -25,7 +25,7 @@ if (environment.production) {
bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, MatButtonModule, MatIconModule, OpenViduAngularModule.forRoot(config)),
importProvidersFrom(BrowserModule, MatButtonModule, MatIconModule, OpenViduComponentsModule.forRoot(config)),
provideAnimations()
]
})

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -941,9 +941,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@esbuild/linux-x64": {
@ -4900,10 +4900,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},

View File

@ -19,7 +19,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"

View File

@ -4,10 +4,10 @@ import { lastValueFrom } from 'rxjs';
import {
ParticipantService,
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
} from 'openvidu-angular';
OpenViduComponentsDirectiveModule,
} from 'openvidu-components-angular';
import { environment } from 'src/environments/environment';
import { MatIcon } from '@angular/material/icon';
import { MatIconButton } from '@angular/material/button';
@ -33,9 +33,9 @@ import { MatIconButton } from '@angular/material/button';
styles: [],
standalone: true,
imports: [
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
OpenViduComponentsDirectiveModule,
MatIconButton,
MatIcon,
],

View File

@ -2,13 +2,13 @@ import { enableProdMode, importProvidersFrom } from '@angular/core';
import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { OpenViduAngularModule, OpenViduAngularConfig } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
import { MatIconModule } from '@angular/material/icon';
import { MatButtonModule } from '@angular/material/button';
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
const config: OpenViduComponentsConfig = {
production: environment.production,
};
@ -22,7 +22,7 @@ bootstrapApplication(AppComponent, {
BrowserModule,
MatButtonModule,
MatIconModule,
OpenViduAngularModule.forRoot(config)
OpenViduComponentsModule.forRoot(config)
),
provideAnimations(),
],

View File

@ -18,7 +18,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"
@ -941,9 +941,9 @@
}
},
"node_modules/@bufbuild/protobuf": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.9.0.tgz",
"integrity": "sha512-W7gp8Q/v1NlCZLsv8pQ3Y0uCu/SHgXOVFK+eUluUKWXmsb6VHkpNx0apdOWWcDbB9sJoKeP8uPrjmehJz6xETQ==",
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-1.10.0.tgz",
"integrity": "sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==",
"peer": true
},
"node_modules/@esbuild/linux-x64": {
@ -4900,10 +4900,10 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/openvidu-angular": {
"node_modules/openvidu-components-angular": {
"version": "3.0.0-dev",
"resolved": "file:../openvidu-angular-3.0.0-dev.tgz",
"integrity": "sha512-JFzJcrA6+wrRH6PcEdQ0M1xjxQYiW9cBd6TA2RtF2iBCypm+Ahd6WJRvpQ8RdoJzZon5dmzpvqbbs9niaCILuQ==",
"resolved": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"integrity": "sha512-XNkyz3Kkd1cj6nWjL6UcO4M/fAvuuRgU8EXdr83f2jceCoY/+gPugWzE8DDb99/JZd/ZuK46hwYfZxfMqirvYQ==",
"dependencies": {
"tslib": "^2.3.0"
},

View File

@ -19,7 +19,7 @@
"@angular/platform-browser": "^18.0.1",
"@angular/platform-browser-dynamic": "^18.0.1",
"@angular/router": "^18.0.1",
"openvidu-angular": "file:../openvidu-angular-3.0.0-dev.tgz",
"openvidu-components-angular": "file:../openvidu-components-angular-3.0.0-dev.tgz",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.6"

View File

@ -4,10 +4,10 @@ import { lastValueFrom } from 'rxjs';
import { environment } from 'src/environments/environment';
import {
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
} from 'openvidu-angular';
OpenViduComponentsDirectiveModule,
} from 'openvidu-components-angular';
@Component({
selector: 'app-root',
@ -26,9 +26,9 @@ import {
styles: [],
standalone: true,
imports: [
OpenViduAngularModule,
OpenViduComponentsModule,
ApiDirectiveModule,
OpenViduAngularDirectiveModule,
OpenViduComponentsDirectiveModule,
],
})
export class AppComponent {

View File

@ -2,11 +2,11 @@ import { enableProdMode, importProvidersFrom } from '@angular/core';
import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { OpenViduAngularModule, OpenViduAngularConfig } from 'openvidu-angular';
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
const config: OpenViduAngularConfig = {
const config: OpenViduComponentsConfig = {
production: environment.production,
};
@ -16,7 +16,7 @@ if (environment.production) {
bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, OpenViduAngularModule.forRoot(config)),
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(config)),
provideAnimations(),
],
}).catch((err) => console.error(err));