diff --git a/openvidu-components/openvidu-additional-panels/package-lock.json b/openvidu-components/openvidu-additional-panels/package-lock.json index 1991cf1e..410cfcba 100644 --- a/openvidu-components/openvidu-additional-panels/package-lock.json +++ b/openvidu-components/openvidu-additional-panels/package-lock.json @@ -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" }, diff --git a/openvidu-components/openvidu-additional-panels/package.json b/openvidu-components/openvidu-additional-panels/package.json index 93c5f20c..ce6b05fe 100644 --- a/openvidu-components/openvidu-additional-panels/package.json +++ b/openvidu-components/openvidu-additional-panels/package.json @@ -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" diff --git a/openvidu-components/openvidu-additional-panels/src/app/app.component.ts b/openvidu-components/openvidu-additional-panels/src/app/app.component.ts index 18522915..b60b2e97 100644 --- a/openvidu-components/openvidu-additional-panels/src/app/app.component.ts +++ b/openvidu-components/openvidu-additional-panels/src/app/app.component.ts @@ -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, ], diff --git a/openvidu-components/openvidu-additional-panels/src/main.ts b/openvidu-components/openvidu-additional-panels/src/main.ts index 513ebd11..1ee1b827 100644 --- a/openvidu-components/openvidu-additional-panels/src/main.ts +++ b/openvidu-components/openvidu-additional-panels/src/main.ts @@ -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()), ], diff --git a/openvidu-components/openvidu-admin-dashboard/package-lock.json b/openvidu-components/openvidu-admin-dashboard/package-lock.json index 87ee7a2e..83fa0ce9 100644 --- a/openvidu-components/openvidu-admin-dashboard/package-lock.json +++ b/openvidu-components/openvidu-admin-dashboard/package-lock.json @@ -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" }, diff --git a/openvidu-components/openvidu-admin-dashboard/package.json b/openvidu-components/openvidu-admin-dashboard/package.json index a01cc943..e0bc489a 100644 --- a/openvidu-components/openvidu-admin-dashboard/package.json +++ b/openvidu-components/openvidu-admin-dashboard/package.json @@ -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" } -} \ No newline at end of file +} diff --git a/openvidu-components/openvidu-admin-dashboard/src/app/app.component.ts b/openvidu-components/openvidu-admin-dashboard/src/app/app.component.ts index 2be22530..f351c3ad 100644 --- a/openvidu-components/openvidu-admin-dashboard/src/app/app.component.ts +++ b/openvidu-components/openvidu-admin-dashboard/src/app/app.component.ts @@ -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: ` - + @if (!logged) { } - + @if (logged) { console.error(err)); diff --git a/openvidu-components/openvidu-custom-layout/package-lock.json b/openvidu-components/openvidu-custom-layout/package-lock.json index d6adc053..e4fcd1a8 100644 --- a/openvidu-components/openvidu-custom-layout/package-lock.json +++ b/openvidu-components/openvidu-custom-layout/package-lock.json @@ -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" }, diff --git a/openvidu-components/openvidu-custom-layout/package.json b/openvidu-components/openvidu-custom-layout/package.json index ba90a231..c112c512 100644 --- a/openvidu-components/openvidu-custom-layout/package.json +++ b/openvidu-components/openvidu-custom-layout/package.json @@ -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" diff --git a/openvidu-components/openvidu-custom-layout/src/app/app.component.ts b/openvidu-components/openvidu-custom-layout/src/app/app.component.ts index 39d8540e..55562bc5 100644 --- a/openvidu-components/openvidu-custom-layout/src/app/app.component.ts +++ b/openvidu-components/openvidu-custom-layout/src/app/app.component.ts @@ -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, ], }) diff --git a/openvidu-components/openvidu-custom-layout/src/main.ts b/openvidu-components/openvidu-custom-layout/src/main.ts index 19f0139d..e8bdbb4d 100644 --- a/openvidu-components/openvidu-custom-layout/src/main.ts +++ b/openvidu-components/openvidu-custom-layout/src/main.ts @@ -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)); diff --git a/openvidu-components/openvidu-custom-panels/package-lock.json b/openvidu-components/openvidu-custom-panels/package-lock.json index 68b74933..9662a3d5 100644 --- a/openvidu-components/openvidu-custom-panels/package-lock.json +++ b/openvidu-components/openvidu-custom-panels/package-lock.json @@ -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" }, diff --git a/openvidu-components/openvidu-custom-panels/package.json b/openvidu-components/openvidu-custom-panels/package.json index 85faab63..a60ba95c 100644 --- a/openvidu-components/openvidu-custom-panels/package.json +++ b/openvidu-components/openvidu-custom-panels/package.json @@ -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" diff --git a/openvidu-components/openvidu-custom-panels/src/app/app.component.ts b/openvidu-components/openvidu-custom-panels/src/app/app.component.ts index dc6cf4f2..e5cd2c90 100644 --- a/openvidu-components/openvidu-custom-panels/src/app/app.component.ts +++ b/openvidu-components/openvidu-custom-panels/src/app/app.component.ts @@ -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 { diff --git a/openvidu-components/openvidu-custom-panels/src/main.ts b/openvidu-components/openvidu-custom-panels/src/main.ts index 395cfbc7..80eb7240 100644 --- a/openvidu-components/openvidu-custom-panels/src/main.ts +++ b/openvidu-components/openvidu-custom-panels/src/main.ts @@ -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)); diff --git a/openvidu-components/openvidu-custom-participant-panel-item-elements/package-lock.json b/openvidu-components/openvidu-custom-participant-panel-item-elements/package-lock.json index b179bc8d..5d0a6c97 100644 --- a/openvidu-components/openvidu-custom-participant-panel-item-elements/package-lock.json +++ b/openvidu-components/openvidu-custom-participant-panel-item-elements/package-lock.json @@ -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" }, diff --git a/openvidu-components/openvidu-custom-participant-panel-item-elements/package.json b/openvidu-components/openvidu-custom-participant-panel-item-elements/package.json index 28ec5c10..17f4058c 100644 --- a/openvidu-components/openvidu-custom-participant-panel-item-elements/package.json +++ b/openvidu-components/openvidu-custom-participant-panel-item-elements/package.json @@ -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" diff --git a/openvidu-components/openvidu-custom-participant-panel-item-elements/src/app/app.component.ts b/openvidu-components/openvidu-custom-participant-panel-item-elements/src/app/app.component.ts index 7cd24ac4..8b935929 100644 --- a/openvidu-components/openvidu-custom-participant-panel-item-elements/src/app/app.component.ts +++ b/openvidu-components/openvidu-custom-participant-panel-item-elements/src/app/app.component.ts @@ -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 { diff --git a/openvidu-components/openvidu-custom-participant-panel-item-elements/src/main.ts b/openvidu-components/openvidu-custom-participant-panel-item-elements/src/main.ts index 395cfbc7..80eb7240 100644 --- a/openvidu-components/openvidu-custom-participant-panel-item-elements/src/main.ts +++ b/openvidu-components/openvidu-custom-participant-panel-item-elements/src/main.ts @@ -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)); diff --git a/openvidu-components/openvidu-custom-participant-panel-item/package-lock.json b/openvidu-components/openvidu-custom-participant-panel-item/package-lock.json index fdafa36f..8001f5ba 100644 --- a/openvidu-components/openvidu-custom-participant-panel-item/package-lock.json +++ b/openvidu-components/openvidu-custom-participant-panel-item/package-lock.json @@ -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" }, diff --git a/openvidu-components/openvidu-custom-participant-panel-item/package.json b/openvidu-components/openvidu-custom-participant-panel-item/package.json index 7b7155f6..881d8855 100644 --- a/openvidu-components/openvidu-custom-participant-panel-item/package.json +++ b/openvidu-components/openvidu-custom-participant-panel-item/package.json @@ -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" diff --git a/openvidu-components/openvidu-custom-participant-panel-item/src/app/app.component.ts b/openvidu-components/openvidu-custom-participant-panel-item/src/app/app.component.ts index f1d318a1..cbb78d16 100644 --- a/openvidu-components/openvidu-custom-participant-panel-item/src/app/app.component.ts +++ b/openvidu-components/openvidu-custom-participant-panel-item/src/app/app.component.ts @@ -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, diff --git a/openvidu-components/openvidu-custom-participant-panel-item/src/main.ts b/openvidu-components/openvidu-custom-participant-panel-item/src/main.ts index 395cfbc7..80eb7240 100644 --- a/openvidu-components/openvidu-custom-participant-panel-item/src/main.ts +++ b/openvidu-components/openvidu-custom-participant-panel-item/src/main.ts @@ -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)); diff --git a/openvidu-components/openvidu-custom-participants-panel/package-lock.json b/openvidu-components/openvidu-custom-participants-panel/package-lock.json index 49e6510b..bffad52b 100644 --- a/openvidu-components/openvidu-custom-participants-panel/package-lock.json +++ b/openvidu-components/openvidu-custom-participants-panel/package-lock.json @@ -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" }, diff --git a/openvidu-components/openvidu-custom-participants-panel/package.json b/openvidu-components/openvidu-custom-participants-panel/package.json index abcb7da5..f355b320 100644 --- a/openvidu-components/openvidu-custom-participants-panel/package.json +++ b/openvidu-components/openvidu-custom-participants-panel/package.json @@ -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" diff --git a/openvidu-components/openvidu-custom-participants-panel/src/app/app.component.ts b/openvidu-components/openvidu-custom-participants-panel/src/app/app.component.ts index eca6c695..5e2aaae7 100644 --- a/openvidu-components/openvidu-custom-participants-panel/src/app/app.component.ts +++ b/openvidu-components/openvidu-custom-participants-panel/src/app/app.component.ts @@ -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 { diff --git a/openvidu-components/openvidu-custom-participants-panel/src/main.ts b/openvidu-components/openvidu-custom-participants-panel/src/main.ts index 395cfbc7..80eb7240 100644 --- a/openvidu-components/openvidu-custom-participants-panel/src/main.ts +++ b/openvidu-components/openvidu-custom-participants-panel/src/main.ts @@ -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)); diff --git a/openvidu-components/openvidu-custom-stream/package-lock.json b/openvidu-components/openvidu-custom-stream/package-lock.json index b82ab533..9795f76b 100644 --- a/openvidu-components/openvidu-custom-stream/package-lock.json +++ b/openvidu-components/openvidu-custom-stream/package-lock.json @@ -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" }, diff --git a/openvidu-components/openvidu-custom-stream/package.json b/openvidu-components/openvidu-custom-stream/package.json index f7e4e013..4ced63aa 100644 --- a/openvidu-components/openvidu-custom-stream/package.json +++ b/openvidu-components/openvidu-custom-stream/package.json @@ -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" diff --git a/openvidu-components/openvidu-custom-stream/src/app/app.component.ts b/openvidu-components/openvidu-custom-stream/src/app/app.component.ts index 4ab590b5..cecb2ae4 100644 --- a/openvidu-components/openvidu-custom-stream/src/app/app.component.ts +++ b/openvidu-components/openvidu-custom-stream/src/app/app.component.ts @@ -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 { diff --git a/openvidu-components/openvidu-custom-stream/src/main.ts b/openvidu-components/openvidu-custom-stream/src/main.ts index 395cfbc7..80eb7240 100644 --- a/openvidu-components/openvidu-custom-stream/src/main.ts +++ b/openvidu-components/openvidu-custom-stream/src/main.ts @@ -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)); diff --git a/openvidu-components/openvidu-custom-toolbar/package-lock.json b/openvidu-components/openvidu-custom-toolbar/package-lock.json index d0dd99e1..75ddc203 100644 --- a/openvidu-components/openvidu-custom-toolbar/package-lock.json +++ b/openvidu-components/openvidu-custom-toolbar/package-lock.json @@ -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" }, diff --git a/openvidu-components/openvidu-custom-toolbar/package.json b/openvidu-components/openvidu-custom-toolbar/package.json index 8edb97b2..231f56f0 100644 --- a/openvidu-components/openvidu-custom-toolbar/package.json +++ b/openvidu-components/openvidu-custom-toolbar/package.json @@ -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" } -} \ No newline at end of file +} diff --git a/openvidu-components/openvidu-custom-toolbar/src/app/app.component.ts b/openvidu-components/openvidu-custom-toolbar/src/app/app.component.ts index d3a5f371..b83b6014 100644 --- a/openvidu-components/openvidu-custom-toolbar/src/app/app.component.ts +++ b/openvidu-components/openvidu-custom-toolbar/src/app/app.component.ts @@ -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 { diff --git a/openvidu-components/openvidu-custom-toolbar/src/main.ts b/openvidu-components/openvidu-custom-toolbar/src/main.ts index 0aeedf73..e03414cd 100644 --- a/openvidu-components/openvidu-custom-toolbar/src/main.ts +++ b/openvidu-components/openvidu-custom-toolbar/src/main.ts @@ -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)); diff --git a/openvidu-components/openvidu-custom-ui/package-lock.json b/openvidu-components/openvidu-custom-ui/package-lock.json index 2c4cd89d..888300e0 100644 --- a/openvidu-components/openvidu-custom-ui/package-lock.json +++ b/openvidu-components/openvidu-custom-ui/package-lock.json @@ -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" }, diff --git a/openvidu-components/openvidu-custom-ui/package.json b/openvidu-components/openvidu-custom-ui/package.json index 4c45af01..9dbb7a42 100644 --- a/openvidu-components/openvidu-custom-ui/package.json +++ b/openvidu-components/openvidu-custom-ui/package.json @@ -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" diff --git a/openvidu-components/openvidu-custom-ui/src/app/app.component.ts b/openvidu-components/openvidu-custom-ui/src/app/app.component.ts index 8d640d24..a5a7e6a3 100644 --- a/openvidu-components/openvidu-custom-ui/src/app/app.component.ts +++ b/openvidu-components/openvidu-custom-ui/src/app/app.component.ts @@ -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'; '', styles: [''], standalone: true, - imports: [OpenViduAngularModule, ApiDirectiveModule], + imports: [OpenViduComponentsModule, ApiDirectiveModule], }) export class AppComponent { // For local development, leave these variables empty diff --git a/openvidu-components/openvidu-custom-ui/src/app/app.component.ts.bak b/openvidu-components/openvidu-custom-ui/src/app/app.component.ts.bak deleted file mode 100644 index 1e870896..00000000 --- a/openvidu-components/openvidu-custom-ui/src/app/app.component.ts.bak +++ /dev/null @@ -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: - '', - 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 { - try { - return lastValueFrom( - this.httpClient.post(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; - } - } -} diff --git a/openvidu-components/openvidu-custom-ui/src/main.ts b/openvidu-components/openvidu-custom-ui/src/main.ts index 6e14b8de..e03414cd 100644 --- a/openvidu-components/openvidu-custom-ui/src/main.ts +++ b/openvidu-components/openvidu-custom-ui/src/main.ts @@ -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)); diff --git a/openvidu-components/openvidu-toggle-hand/package-lock.json b/openvidu-components/openvidu-toggle-hand/package-lock.json index fd5f862b..4291a555 100644 --- a/openvidu-components/openvidu-toggle-hand/package-lock.json +++ b/openvidu-components/openvidu-toggle-hand/package-lock.json @@ -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==" diff --git a/openvidu-components/openvidu-toggle-hand/package.json b/openvidu-components/openvidu-toggle-hand/package.json index 87e385c7..2b2d4ca2 100644 --- a/openvidu-components/openvidu-toggle-hand/package.json +++ b/openvidu-components/openvidu-toggle-hand/package.json @@ -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" diff --git a/openvidu-components/openvidu-toggle-hand/src/app/app.component.ts b/openvidu-components/openvidu-toggle-hand/src/app/app.component.ts index 0cb0c91b..5a449a3c 100644 --- a/openvidu-components/openvidu-toggle-hand/src/app/app.component.ts +++ b/openvidu-components/openvidu-toggle-hand/src/app/app.component.ts @@ -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 diff --git a/openvidu-components/openvidu-toggle-hand/src/app/models/participant-app.model.ts b/openvidu-components/openvidu-toggle-hand/src/app/models/participant-app.model.ts index 9a1254da..95c8a565 100644 --- a/openvidu-components/openvidu-toggle-hand/src/app/models/participant-app.model.ts +++ b/openvidu-components/openvidu-toggle-hand/src/app/models/participant-app.model.ts @@ -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 { diff --git a/openvidu-components/openvidu-toggle-hand/src/main.ts b/openvidu-components/openvidu-toggle-hand/src/main.ts index 00c73bed..f2c12c28 100644 --- a/openvidu-components/openvidu-toggle-hand/src/main.ts +++ b/openvidu-components/openvidu-toggle-hand/src/main.ts @@ -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() ] }) diff --git a/openvidu-components/openvidu-toolbar-buttons/package-lock.json b/openvidu-components/openvidu-toolbar-buttons/package-lock.json index 40a42cee..422175c0 100644 --- a/openvidu-components/openvidu-toolbar-buttons/package-lock.json +++ b/openvidu-components/openvidu-toolbar-buttons/package-lock.json @@ -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" }, diff --git a/openvidu-components/openvidu-toolbar-buttons/package.json b/openvidu-components/openvidu-toolbar-buttons/package.json index 58673a43..d20d9b7a 100644 --- a/openvidu-components/openvidu-toolbar-buttons/package.json +++ b/openvidu-components/openvidu-toolbar-buttons/package.json @@ -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" diff --git a/openvidu-components/openvidu-toolbar-buttons/src/app/app.component.ts b/openvidu-components/openvidu-toolbar-buttons/src/app/app.component.ts index 557f0ab7..b36355f1 100644 --- a/openvidu-components/openvidu-toolbar-buttons/src/app/app.component.ts +++ b/openvidu-components/openvidu-toolbar-buttons/src/app/app.component.ts @@ -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, ], diff --git a/openvidu-components/openvidu-toolbar-buttons/src/main.ts b/openvidu-components/openvidu-toolbar-buttons/src/main.ts index a4956242..807fb580 100644 --- a/openvidu-components/openvidu-toolbar-buttons/src/main.ts +++ b/openvidu-components/openvidu-toolbar-buttons/src/main.ts @@ -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(), ], diff --git a/openvidu-components/openvidu-toolbar-panel-buttons/package-lock.json b/openvidu-components/openvidu-toolbar-panel-buttons/package-lock.json index a9dfa8e6..1dbc1afc 100644 --- a/openvidu-components/openvidu-toolbar-panel-buttons/package-lock.json +++ b/openvidu-components/openvidu-toolbar-panel-buttons/package-lock.json @@ -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" }, diff --git a/openvidu-components/openvidu-toolbar-panel-buttons/package.json b/openvidu-components/openvidu-toolbar-panel-buttons/package.json index 4f7ef463..e5e38618 100644 --- a/openvidu-components/openvidu-toolbar-panel-buttons/package.json +++ b/openvidu-components/openvidu-toolbar-panel-buttons/package.json @@ -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" diff --git a/openvidu-components/openvidu-toolbar-panel-buttons/src/app/app.component.ts b/openvidu-components/openvidu-toolbar-panel-buttons/src/app/app.component.ts index af54d5db..f5459a4c 100644 --- a/openvidu-components/openvidu-toolbar-panel-buttons/src/app/app.component.ts +++ b/openvidu-components/openvidu-toolbar-panel-buttons/src/app/app.component.ts @@ -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 { diff --git a/openvidu-components/openvidu-toolbar-panel-buttons/src/main.ts b/openvidu-components/openvidu-toolbar-panel-buttons/src/main.ts index 395cfbc7..80eb7240 100644 --- a/openvidu-components/openvidu-toolbar-panel-buttons/src/main.ts +++ b/openvidu-components/openvidu-toolbar-panel-buttons/src/main.ts @@ -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));