ov-components: Updated testapp to Angular 20

master
Carlos Santos 2025-10-09 14:27:33 +02:00
parent a666659ca0
commit 45d2f7dd6e
12 changed files with 3056 additions and 2187 deletions

View File

@ -153,5 +153,31 @@
},
"cli": {
"analytics": false
}
},
"schematics": {
"@schematics/angular:component": {
"type": "component"
},
"@schematics/angular:directive": {
"type": "directive"
},
"@schematics/angular:service": {
"type": "service"
},
"@schematics/angular:guard": {
"typeSeparator": "."
},
"@schematics/angular:interceptor": {
"typeSeparator": "."
},
"@schematics/angular:module": {
"typeSeparator": "."
},
"@schematics/angular:pipe": {
"typeSeparator": "."
},
"@schematics/angular:resolver": {
"typeSeparator": "."
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,14 @@
{
"dependencies": {
"@angular/animations": "19.2.15",
"@angular/cdk": "19.2.19",
"@angular/common": "19.2.15",
"@angular/core": "19.2.15",
"@angular/forms": "19.2.15",
"@angular/material": "19.2.19",
"@angular/platform-browser": "19.2.15",
"@angular/platform-browser-dynamic": "19.2.15",
"@angular/router": "19.2.15",
"@angular/animations": "20.3.4",
"@angular/cdk": "20.2.8",
"@angular/common": "20.3.4",
"@angular/core": "20.3.4",
"@angular/forms": "20.3.4",
"@angular/material": "20.2.8",
"@angular/platform-browser": "20.3.4",
"@angular/platform-browser-dynamic": "20.3.4",
"@angular/router": "20.3.4",
"@livekit/track-processors": "^0.5.6",
"@types/dom-mediacapture-transform": "^0.1.11",
"autolinker": "4.0.0",
@ -18,10 +18,10 @@
"zone.js": "^0.15.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "19.2.17",
"@angular/cli": "19.2.17",
"@angular/compiler": "19.2.15",
"@angular/compiler-cli": "19.2.15",
"@angular-devkit/build-angular": "20.3.5",
"@angular/cli": "20.3.5",
"@angular/compiler": "20.3.4",
"@angular/compiler-cli": "20.3.4",
"@compodoc/compodoc": "^1.1.25",
"@types/jasmine": "^5.1.4",
"@types/node": "20.12.14",
@ -48,7 +48,7 @@
"karma-mocha-reporter": "2.2.5",
"karma-notify-reporter": "1.3.0",
"lint-staged": "^15.2.10",
"ng-packagr": "19.2.2",
"ng-packagr": "20.3.0",
"npm-watch": "^0.13.0",
"pixelmatch": "^7.1.0",
"pngjs": "^7.0.0",

View File

@ -32,5 +32,5 @@
}
::ng-deep .mat-mdc-progress-spinner {
--mdc-circular-progress-active-indicator-color: var(--ov-accent-action-color);
--mat-progress-spinner-active-indicator-color: var(--ov-accent-action-color);
}

View File

@ -43,7 +43,7 @@ mat-spinner {
}
::ng-deep .mat-mdc-progress-spinner {
--mdc-circular-progress-active-indicator-color: var(--ov-accent-action-color);
--mat-progress-spinner-active-indicator-color: var(--ov-accent-action-color);
}
/*

View File

@ -306,8 +306,8 @@
}
::ng-deep .mat-mdc-list-base {
--mdc-list-list-item-hover-label-text-color: unset;
--mdc-list-list-item-hover-leading-icon-color: unset;
--mat-list-list-item-hover-label-text-color: unset;
--mat-list-list-item-hover-leading-icon-color: unset;
padding: 0;
}

View File

@ -208,7 +208,7 @@
// Remove focus state layer
.mat-mdc-list-base {
--mdc-list-list-item-focus-state-layer-color: transparent !important;
--mat-list-list-item-focus-state-layer-color: transparent !important;
}
// Language selector styling

View File

@ -75,7 +75,7 @@
}
.mat-mdc-progress-spinner {
--mdc-circular-progress-active-indicator-color: var(--ov-secondary-action-color, #4285f4);
--mat-progress-spinner-active-indicator-color: var(--ov-secondary-action-color, #4285f4);
}
}
}

View File

@ -26,7 +26,7 @@
}
::ng-deep .mat-mdc-progress-spinner {
--mdc-circular-progress-active-indicator-color: var(--ov-accent-action-color);
--mat-progress-spinner-active-indicator-color: var(--ov-accent-action-color);
}
/* Private css variables */

View File

@ -1,5 +1,5 @@
import { DOCUMENT } from '@angular/common';
import { Inject, Injectable } from '@angular/core';
import { Inject, Injectable, DOCUMENT } from '@angular/core';
import { ParticipantFactoryFunction, OpenViduComponentsConfig } from '../../config/openvidu-components-angular.config';
/**

View File

@ -2,20 +2,26 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/openvidu-components-angular",
"module": "esnext",
"target": "ES2021",
"moduleResolution": "node",
"lib": ["ES2021", "DOM"],
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"declaration": true,
"sourceMap": true,
"declarationMap": true,
"inlineSources": true,
"resolveJsonModule": true,
"types": ["node", "dom-mediacapture-transform"],
"allowSyntheticDefaultImports": true
},
"outDir": "../../dist/openvidu-components-angular",
"module": "esnext",
"target": "ES2021",
"moduleResolution": "bundler",
"lib": [
"ES2021",
"DOM"
],
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"declaration": true,
"sourceMap": true,
"declarationMap": true,
"inlineSources": true,
"resolveJsonModule": true,
"types": [
"node",
"dom-mediacapture-transform"
],
"allowSyntheticDefaultImports": true
},
"exclude": ["node_modules", "src/test.ts", "**/*.spec.ts", "**/*.mock.ts"]
}

View File

@ -3,13 +3,19 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/spec",
"lib": ["ES2021", "DOM"],
"types": ["jasmine", "node", "dom-mediacapture-transform"],
"moduleResolution": "node",
"lib": [
"ES2021",
"DOM"
],
"types": [
"jasmine",
"node",
"dom-mediacapture-transform"
],
"moduleResolution": "bundler",
"experimentalDecorators": true,
"resolveJsonModule": true,
"skipDefaultLibCheck": true // Livekit track processors fails with typescript types checking
//"skipLibCheck": true // Livekit track processors fails with typescript types checking
"skipDefaultLibCheck": true
},
"files": [
"src/test.ts"