From 16b5525950c27172b8426e03cbb1c59794cfc44c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 1 Aug 2019 11:38:26 +0200 Subject: Update Angular -> 8.2.0 --- .../videojs-components/peertube-load-progress-bar.ts | 1 + .../player/videojs-components/resolution-menu-button.ts | 2 ++ .../player/videojs-components/settings-menu-button.ts | 12 ++++++++++++ .../player/videojs-components/settings-menu-item.ts | 16 ++++++++++++++++ 4 files changed, 31 insertions(+) (limited to 'client/src/assets') diff --git a/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts b/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts index 9a0e3b550..b594fc1c5 100644 --- a/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts +++ b/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts @@ -6,6 +6,7 @@ import { Player } from 'video.js' const Component: VideoJSComponentInterface = videojsUntyped.getComponent('Component') class PeerTubeLoadProgressBar extends Component { + partEls_: any[] constructor (player: Player, options: any) { super(player, options) diff --git a/client/src/assets/player/videojs-components/resolution-menu-button.ts b/client/src/assets/player/videojs-components/resolution-menu-button.ts index cff44de72..aeb48888f 100644 --- a/client/src/assets/player/videojs-components/resolution-menu-button.ts +++ b/client/src/assets/player/videojs-components/resolution-menu-button.ts @@ -9,6 +9,8 @@ const Menu: VideoJSComponentInterface = videojsUntyped.getComponent('Menu') const MenuButton: VideoJSComponentInterface = videojsUntyped.getComponent('MenuButton') class ResolutionMenuButton extends MenuButton { label: HTMLElement + labelEl_: any + player: Player constructor (player: Player, options: any) { super(player, options) diff --git a/client/src/assets/player/videojs-components/settings-menu-button.ts b/client/src/assets/player/videojs-components/settings-menu-button.ts index 5e09032b4..3e8b5fc94 100644 --- a/client/src/assets/player/videojs-components/settings-menu-button.ts +++ b/client/src/assets/player/videojs-components/settings-menu-button.ts @@ -14,6 +14,18 @@ const Menu: VideoJSComponentInterface = videojsUntyped.getComponent('Menu') const Component: VideoJSComponentInterface = videojsUntyped.getComponent('Component') class SettingsButton extends Button { + playerComponent = videojs.Player + dialog: any + dialogEl: any + menu: any + panel: any + panelChild: any + + addSettingsItemHandler: Function + disposeSettingsItemHandler: Function + playerClickHandler: Function + userInactiveHandler: Function + constructor (player: videojs.Player, options: any) { super(player, options) diff --git a/client/src/assets/player/videojs-components/settings-menu-item.ts b/client/src/assets/player/videojs-components/settings-menu-item.ts index 24b7e0c70..b738300ae 100644 --- a/client/src/assets/player/videojs-components/settings-menu-item.ts +++ b/client/src/assets/player/videojs-components/settings-menu-item.ts @@ -12,6 +12,22 @@ const MenuItem: VideoJSComponentInterface = videojsUntyped.getComponent('MenuIte const component: VideoJSComponentInterface = videojsUntyped.getComponent('Component') class SettingsMenuItem extends MenuItem { + settingsButton: any + dialog: any + mainMenu: any + panel: any + panelChild: any + panelChildEl: any + size: any + menuToLoad: string + subMenu: any + + submenuClickHandler: Function + transitionEndHandler: Function + + settingsSubMenuTitleEl_: any + settingsSubMenuValueEl_: any + settingsSubMenuEl_: any constructor (player: videojs.Player, options: any, entry: string, menuButton: VideoJSComponentInterface) { super(player, options) -- cgit v1.2.3