@clickview/player 0.0.6-dev.0 → 0.0.6-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/en.json +1 -1
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +0 -1
- package/dist/libs/common/src/backbone/core/BaseError.d.ts +8 -0
- package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +0 -5
- package/dist/libs/shared/src/apps/notifications/enums/NotificationType.d.ts +2 -1
- package/dist/libs/shared/src/apps/search/interfaces/FilterProps.d.ts +8 -0
- package/dist/libs/shared/src/apps/search/interfaces/SearchFilter.d.ts +29 -0
- package/dist/libs/shared/src/apps/search/interfaces/SearchResults.d.ts +26 -0
- package/dist/libs/shared/src/apps/search/interfaces/SearchTypes.d.ts +26 -0
- package/dist/libs/shared/src/apps/search/interfaces/index.d.ts +4 -0
- package/dist/libs/shared/src/apps/search/reducers/FilterReducer.d.ts +36 -0
- package/dist/libs/shared/src/apps/search/reducers/index.d.ts +1 -0
- package/dist/libs/shared/src/constants/AppVariables.d.ts +0 -1
- package/dist/libs/shared/src/enums/SettingName.d.ts +1 -0
- package/dist/libs/shared/src/hooks/useNavLock.d.ts +2 -0
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +4 -4
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +3 -1
- package/dist/libs/shared/src/images/svg/objects/index.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/FavouriteVideoFunc.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/app-variables/BaseNotificationsAppVariables.d.ts +4 -3
- package/dist/libs/shared/src/interfaces/index.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/InteractiveMetadata.d.ts +1 -1
- package/dist/libs/shared/src/interfaces/models/User.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/models/interactive-results/InteractiveResultSet.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/responses/ShareSearchResponse.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/responses/index.d.ts +1 -0
- package/dist/player-app.css +2 -2
- package/dist/player-app.js +3 -3
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-item.d.ts +2 -2
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-items.d.ts +2 -2
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-load-progress.d.ts +2 -2
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-play-progress.d.ts +2 -2
- package/dist/projects/player/src/components/chapters-button/chapter-menu-item.d.ts +2 -2
- package/dist/projects/player/src/components/cog-button/cog-button.d.ts +7 -4
- package/dist/projects/player/src/components/landing-splash/landing-splash.d.ts +2 -2
- package/dist/projects/player/src/components/landing-splash/metadata/splash-metadata.d.ts +2 -2
- package/dist/projects/player/src/components/landing-splash/metadata/splash-title/splash-title.d.ts +2 -2
- package/dist/projects/player/src/components/landing-splash/metadata/splash-warning/splash-warning.d.ts +2 -2
- package/dist/projects/player/src/components/subs-caps-button/SubCapsMenuItem.d.ts +2 -2
- package/dist/projects/player/src/components/subs-caps-button/subtitle-search-menu-item.d.ts +2 -2
- package/dist/projects/player/src/components/subs-caps-button/subtitle-size-menu-item.d.ts +2 -2
- package/dist/projects/player/src/components/text-track-settings/text-track-settings.d.ts +2 -2
- package/dist/projects/player/src/components/thumbnail-display/thumbnail-display.d.ts +2 -2
- package/dist/projects/player/src/players/base-player.d.ts +0 -1
- package/dist/projects/player/src/players/player.d.ts +1 -0
- package/dist/projects/player/src/players/reports/reports-player.d.ts +14 -0
- package/dist/projects/player/src/plugins/chromecast-plugin/session-manager.d.ts +2 -2
- package/dist/projects/player/src/plugins/chromecast-plugin/tech/chromecast-tech-ui/chromecast-tech-ui.d.ts +2 -2
- package/dist/projects/player/src/plugins/create-clip-plugin/components/clip-timepoint-selector/clip-timepoint-selector-handle.d.ts +2 -2
- package/dist/projects/player/src/plugins/create-clip-plugin/components/clip-timepoint-selector/clip-timepoint-selector.d.ts +2 -2
- package/dist/projects/player/src/plugins/engagement-overlay-plugin/components/engagement-overlay.d.ts +1 -0
- package/dist/projects/player/src/plugins/engagement-overlay-plugin/engagement-overlay-plugin.d.ts +30 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/seek-bar/interactive-bar-items.d.ts +2 -2
- package/dist/projects/player/src/plugins/next-video-plugin/next-video-plugin.d.ts +1 -0
- package/dist/projects/player/src/plugins/touch-controls-plugin/components/touch-controls/touch-controls.d.ts +2 -2
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/components/drag-handle/drag-handle.d.ts +2 -2
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/components/drag-targets/drag-targets.d.ts +2 -2
- package/dist/projects/player/src/react/ReportsPlayer.d.ts +3 -0
- package/dist/projects/player/src/services/analytics-service.d.ts +1 -1
- package/package.json +71 -70
- package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +0 -42
- package/dist/libs/shared/src/images/svg/player/index.d.ts +0 -14
- package/dist/libs/shared/src/interfaces/requests/CreateViewKeyRequest.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,70 +1,71 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@clickview/player",
|
|
3
|
-
"version": "0.0.6-dev.
|
|
4
|
-
"description": "ClickView Player",
|
|
5
|
-
"main": "dist/player-app.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"start": "set NODE_ENV=development&& webpack -w --config ./tooling/webpack.config.js",
|
|
8
|
-
"build": "set NODE_ENV=production&& webpack --config ./tooling/webpack.config.js",
|
|
9
|
-
"build-font": "set NODE_ENV=development&& npm run start",
|
|
10
|
-
"dev-build": "set NODE_ENV=development&& webpack --config ./tooling/webpack.config.js",
|
|
11
|
-
"storybook": "start-storybook -s ./.storybook/stories/assets -p 6006",
|
|
12
|
-
"build-storybook": "build-storybook",
|
|
13
|
-
"test": "jest",
|
|
14
|
-
"test-watch": "jest --watch",
|
|
15
|
-
"webpack-dev-server": "set NODE_ENV=development&& webpack-dev-server --config ./tooling/webpack.config.js"
|
|
16
|
-
},
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "https://gitlab.cvinternal.net/front-end/clickview"
|
|
20
|
-
},
|
|
21
|
-
"cv": {
|
|
22
|
-
"publishable": true,
|
|
23
|
-
"rebuildable": true
|
|
24
|
-
},
|
|
25
|
-
"author": "Matt Trengrove, Cameron Hill, Shale Kuzmanovski",
|
|
26
|
-
"license": "ISC",
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"@babel/core": "7.11.6",
|
|
29
|
-
"@clickview/eslint-config": "1.0.1",
|
|
30
|
-
"@clickview/player-font": "0.0.
|
|
31
|
-
"@clickview/tooling": "0.0.24-dev.
|
|
32
|
-
"@storybook/react": "6.0.26",
|
|
33
|
-
"@types/chromecast-caf-sender": "1.0.3",
|
|
34
|
-
"@types/cropperjs": "1.3.0",
|
|
35
|
-
"@types/draft-js": "0.10.44",
|
|
36
|
-
"@types/node-polyglot": "0.4.34",
|
|
37
|
-
"@types/react-draft-wysiwyg": "1.13.1",
|
|
38
|
-
"@types/simplebar": "5.1.1",
|
|
39
|
-
"@types/video.js": "7.3.11",
|
|
40
|
-
"jest": "26.1.0",
|
|
41
|
-
"ts-jest": "26.1.4",
|
|
42
|
-
"webpack-dev-server": "3.11.0"
|
|
43
|
-
},
|
|
44
|
-
"dependencies": {
|
|
45
|
-
"@clickview/styles": "1.0.17-dev.
|
|
46
|
-
"@microsoft/signalr": "5.0.2",
|
|
47
|
-
"cropperjs": "1.5.6",
|
|
48
|
-
"draft-convert": "2.1.10",
|
|
49
|
-
"draft-js": "0.11.7",
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"react-
|
|
54
|
-
"
|
|
55
|
-
"simplebar
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@clickview/player",
|
|
3
|
+
"version": "0.0.6-dev.2",
|
|
4
|
+
"description": "ClickView Player",
|
|
5
|
+
"main": "dist/player-app.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"start": "set NODE_ENV=development&& webpack -w --config ./tooling/webpack.config.js",
|
|
8
|
+
"build": "set NODE_ENV=production&& webpack --config ./tooling/webpack.config.js",
|
|
9
|
+
"build-font": "set NODE_ENV=development&& npm run start",
|
|
10
|
+
"dev-build": "set NODE_ENV=development&& webpack --config ./tooling/webpack.config.js",
|
|
11
|
+
"storybook": "start-storybook -s ./.storybook/stories/assets -p 6006",
|
|
12
|
+
"build-storybook": "build-storybook",
|
|
13
|
+
"test": "jest",
|
|
14
|
+
"test-watch": "jest --watch",
|
|
15
|
+
"webpack-dev-server": "set NODE_ENV=development&& webpack-dev-server --config ./tooling/webpack.config.js"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://gitlab.cvinternal.net/front-end/clickview"
|
|
20
|
+
},
|
|
21
|
+
"cv": {
|
|
22
|
+
"publishable": true,
|
|
23
|
+
"rebuildable": true
|
|
24
|
+
},
|
|
25
|
+
"author": "Matt Trengrove, Cameron Hill, Shale Kuzmanovski",
|
|
26
|
+
"license": "ISC",
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@babel/core": "7.11.6",
|
|
29
|
+
"@clickview/eslint-config": "1.0.1",
|
|
30
|
+
"@clickview/player-font": "0.0.12",
|
|
31
|
+
"@clickview/tooling": "0.0.24-dev.4",
|
|
32
|
+
"@storybook/react": "6.0.26",
|
|
33
|
+
"@types/chromecast-caf-sender": "1.0.3",
|
|
34
|
+
"@types/cropperjs": "1.3.0",
|
|
35
|
+
"@types/draft-js": "0.10.44",
|
|
36
|
+
"@types/node-polyglot": "0.4.34",
|
|
37
|
+
"@types/react-draft-wysiwyg": "1.13.1",
|
|
38
|
+
"@types/simplebar": "5.1.1",
|
|
39
|
+
"@types/video.js": "7.3.11",
|
|
40
|
+
"jest": "26.1.0",
|
|
41
|
+
"ts-jest": "26.1.4",
|
|
42
|
+
"webpack-dev-server": "3.11.0"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@clickview/styles": "1.0.17-dev.4",
|
|
46
|
+
"@microsoft/signalr": "5.0.2",
|
|
47
|
+
"cropperjs": "1.5.6",
|
|
48
|
+
"draft-convert": "2.1.10",
|
|
49
|
+
"draft-js": "0.11.7",
|
|
50
|
+
"highcharts": "9.1.0",
|
|
51
|
+
"keycode": "2.2.0",
|
|
52
|
+
"node-polyglot": "2.3.0",
|
|
53
|
+
"react-draft-wysiwyg": "1.14.5",
|
|
54
|
+
"react-textarea-autosize": "8.3.2",
|
|
55
|
+
"simplebar": "5.3.0",
|
|
56
|
+
"simplebar-react": "2.3.0",
|
|
57
|
+
"video.js": "7.11.2",
|
|
58
|
+
"videojs-contrib-quality-levels": "2.0.9"
|
|
59
|
+
},
|
|
60
|
+
"babel": {
|
|
61
|
+
"presets": [
|
|
62
|
+
[
|
|
63
|
+
"@babel/preset-env",
|
|
64
|
+
{
|
|
65
|
+
"corejs": 3,
|
|
66
|
+
"useBuiltIns": "entry"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { HashObject, Video } from 'libs/analytics/interfaces';
|
|
2
|
-
export interface VideoWatchAnalyticsEvent {
|
|
3
|
-
model: Video;
|
|
4
|
-
playbackStatus: PlaybackStatus;
|
|
5
|
-
}
|
|
6
|
-
export interface PlaybackStatus {
|
|
7
|
-
position: number;
|
|
8
|
-
chapter: number;
|
|
9
|
-
totalDuration: number;
|
|
10
|
-
totalWatched: number;
|
|
11
|
-
hasStarted?: boolean;
|
|
12
|
-
}
|
|
13
|
-
interface BaseVideoData {
|
|
14
|
-
id: string;
|
|
15
|
-
title: string;
|
|
16
|
-
trackingCode: string;
|
|
17
|
-
duration: number;
|
|
18
|
-
}
|
|
19
|
-
interface BaseAssocData {
|
|
20
|
-
id: string;
|
|
21
|
-
title?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface VideoAnalyticsPayload {
|
|
24
|
-
video: BaseVideoData;
|
|
25
|
-
rating?: string;
|
|
26
|
-
series?: BaseAssocData;
|
|
27
|
-
folder?: BaseAssocData;
|
|
28
|
-
owner?: BaseAssocData;
|
|
29
|
-
playlist?: BaseAssocData;
|
|
30
|
-
playbackStatus?: PlaybackStatus;
|
|
31
|
-
}
|
|
32
|
-
export declare const VideoDataFormatHelper: {
|
|
33
|
-
getVideoData(options: VideoWatchAnalyticsEvent): VideoAnalyticsPayload;
|
|
34
|
-
/**
|
|
35
|
-
* Map to the same properties recorded in Online.
|
|
36
|
-
* @see _toLogMasterVideo() in AnalyticsService in Online
|
|
37
|
-
*
|
|
38
|
-
* TODO: Video origin and user channel logging - both of these need to be re-worked properly.
|
|
39
|
-
*/
|
|
40
|
-
getLegacyVideoData(options: VideoWatchAnalyticsEvent): HashObject;
|
|
41
|
-
};
|
|
42
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import Quality240 from './quality-240.svg';
|
|
2
|
-
import Quality480 from './quality-480.svg';
|
|
3
|
-
import QualityHD from './quality-hd.svg';
|
|
4
|
-
import CloseCaption from './close-caption.svg';
|
|
5
|
-
import Contract from './contract.svg';
|
|
6
|
-
import FullScreen from './full-screen.svg';
|
|
7
|
-
import Mute from './mute.svg';
|
|
8
|
-
import Next from './next.svg';
|
|
9
|
-
import Play from './play.svg';
|
|
10
|
-
import PlayCircle from './play-circle.svg';
|
|
11
|
-
import Pause from './pause.svg';
|
|
12
|
-
import Previous from './previous.svg';
|
|
13
|
-
import Volume from './volume.svg';
|
|
14
|
-
export { Quality240, Quality480, QualityHD, CloseCaption, Contract, FullScreen, Mute, Next, Play, PlayCircle, Pause, Previous, Volume };
|