Merge pull request #5970 from FinnStutzenstein/updateClientDeps

Client dependencies
This commit is contained in:
Finn Stutzenstein 2021-03-22 08:52:31 +01:00 committed by GitHub
commit 7bbd8688a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 19 deletions

View File

@ -2608,9 +2608,9 @@
"dev": true "dev": true
}, },
"@types/pdfjs-dist": { "@types/pdfjs-dist": {
"version": "2.1.5", "version": "2.1.7",
"resolved": "https://registry.npmjs.org/@types/pdfjs-dist/-/pdfjs-dist-2.1.5.tgz", "resolved": "https://registry.npmjs.org/@types/pdfjs-dist/-/pdfjs-dist-2.1.7.tgz",
"integrity": "sha512-/vs9nLI/BYNo1pobKR5oEucEEcMgd8Mx1nByPNR3QhTboBwdDreQ0fHYXrGRtK3cShDDrVdApL0KhMckMuKSHw==" "integrity": "sha512-nQIwcPUhkAIyn7x9NS0lR/qxYfd5unRtfGkMjvpgF4Sh28IXftRymaNmFKTTdejDNY25NDGSIyjwj/BRwAPexg=="
}, },
"@types/q": { "@types/q": {
"version": "1.5.4", "version": "1.5.4",
@ -10802,9 +10802,9 @@
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw="
}, },
"ng-particles": { "ng-particles": {
"version": "2.1.11", "version": "2.6.0",
"resolved": "https://registry.npmjs.org/ng-particles/-/ng-particles-2.1.11.tgz", "resolved": "https://registry.npmjs.org/ng-particles/-/ng-particles-2.6.0.tgz",
"integrity": "sha512-x0A3P/7B7iUyyvlmU4t8bQCvXiO61lFtqdwf6/l5eyxl3/KowauhqsxQBw/3KlR67LdwJBvekxIrQEa+vWh7QQ==", "integrity": "sha512-XE//UyPZD2OWNAZbBXLvNiuuwDGdk8rtg2ZRPFGR8t7YQ5BacR+DkIYWtcxH1ce79bGTA8BraYmokl8fbjMQsw==",
"requires": { "requires": {
"tslib": "^2.0.0" "tslib": "^2.0.0"
}, },
@ -10834,12 +10834,12 @@
} }
}, },
"ng2-pdf-viewer": { "ng2-pdf-viewer": {
"version": "6.3.2", "version": "6.4.1",
"resolved": "https://registry.npmjs.org/ng2-pdf-viewer/-/ng2-pdf-viewer-6.3.2.tgz", "resolved": "https://registry.npmjs.org/ng2-pdf-viewer/-/ng2-pdf-viewer-6.4.1.tgz",
"integrity": "sha512-H2tBhDd+Lq6CUzK2g54HsCcZDR2wTn1sDjYqKY3yF0Ydasl2R5ppCKynZBU/zge4EKvmHglJI120FbQMpJKDYQ==", "integrity": "sha512-A8R9SGa2bu4n+mtagGX8DqBrVAbuROrEgcAOQwCdciYTLAq9EFGEB8TCQZpjvYVaFTNwjKWTMTjFQVEorjbLeQ==",
"requires": { "requires": {
"@types/pdfjs-dist": "^2.1.4", "@types/pdfjs-dist": "~2.1.7",
"pdfjs-dist": "^2.4.456", "pdfjs-dist": "~2.5.207",
"tslib": "^1.10.0" "tslib": "^1.10.0"
} }
}, },
@ -15775,9 +15775,9 @@
} }
}, },
"tsparticles": { "tsparticles": {
"version": "1.18.11", "version": "1.23.0",
"resolved": "https://registry.npmjs.org/tsparticles/-/tsparticles-1.18.11.tgz", "resolved": "https://registry.npmjs.org/tsparticles/-/tsparticles-1.23.0.tgz",
"integrity": "sha512-F5czk8foRoywWHDYDT0eZhQwCXOHz7OGhJCsoybThTUIT+nwc1Eclltm/TMrnnxZZghF3Fo0VL8nN4inf+pQbA==", "integrity": "sha512-1lnQyq8n+RqLJQiw1XoNbpmPJlBjtpP6jmxhxqezvOJKechL3STQ6Fao3G1GjC4MM43LY3OSJmyfiHmmMR7JLQ==",
"requires": { "requires": {
"pathseg": "^1.2.0" "pathseg": "^1.2.0"
} }

View File

@ -66,9 +66,9 @@
"lz4js": "^0.2.0", "lz4js": "^0.2.0",
"material-icon-font": "git+https://github.com/petergng/materialIconFont.git", "material-icon-font": "git+https://github.com/petergng/materialIconFont.git",
"moment": "^2.27.0", "moment": "^2.27.0",
"ng-particles": "^2.1.11", "ng-particles": "^2.6.0",
"ng2-charts": "^2.4.0", "ng2-charts": "^2.4.0",
"ng2-pdf-viewer": "6.3.2", "ng2-pdf-viewer": "^6.4.1",
"ngx-device-detector": "^2.0.0", "ngx-device-detector": "^2.0.0",
"ngx-file-drop": "^9.0.1", "ngx-file-drop": "^9.0.1",
"ngx-mat-select-search": "^3.0.3", "ngx-mat-select-search": "^3.0.3",
@ -80,7 +80,7 @@
"rxjs": "^6.6.2", "rxjs": "^6.6.2",
"tinymce": "5.6.0", "tinymce": "5.6.0",
"tslib": "^1.10.0", "tslib": "^1.10.0",
"tsparticles": "^1.18.11", "tsparticles": "^1.23.0",
"video.js": "^7.8.4", "video.js": "^7.8.4",
"zone.js": "~0.10.2" "zone.js": "~0.10.2"
}, },

View File

@ -6,7 +6,6 @@ import { TranslateService } from '@ngx-translate/core';
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
import { auditTime } from 'rxjs/operators'; import { auditTime } from 'rxjs/operators';
import { Container } from 'tsparticles'; import { Container } from 'tsparticles';
import { Emitters } from 'tsparticles/dist/Plugins/Emitters/Emitters';
import { ApplauseService } from 'app/core/ui-services/applause.service'; import { ApplauseService } from 'app/core/ui-services/applause.service';
import { ConfigService } from 'app/core/ui-services/config.service'; import { ConfigService } from 'app/core/ui-services/config.service';
@ -79,7 +78,8 @@ export class ApplauseParticleDisplayComponent extends BaseViewComponentDirective
private setParticleLevel(level: number): void { private setParticleLevel(level: number): void {
if (this.particleContainer) { if (this.particleContainer) {
const emitters = this.particleContainer.plugins.get('emitters') as Emitters; const emitters = this.particleContainer.plugins.get('emitters') as any;
// TODO: Use `Emitters` instead of any.
if (emitters) { if (emitters) {
emitters.array[0].emitterOptions.rate.quantity = level; emitters.array[0].emitterOptions.rate.quantity = level;
} }