@clickview/player 0.0.9 → 0.0.10-rc.0
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/libs/shared/src/components/actions/ActionButton.d.ts +1 -0
- package/dist/libs/shared/src/components/app-link/AppLink.d.ts +1 -0
- package/dist/libs/shared/src/components/icon-button/IconButton.d.ts +1 -0
- package/dist/libs/shared/src/components/widgets/items/FixedWidgetItemProps.d.ts +1 -1
- package/dist/libs/shared/src/enums/ProductId.d.ts +3 -2
- package/dist/player-app.css +1 -1
- package/dist/player-app.js +2 -2
- package/dist/projects/player/src/players/interactive-player.d.ts +3 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive-actions/interactive-actions.d.ts +11 -0
- package/dist/projects/player/src/plugins/interactive-plugin/interactive-plugin.d.ts +3 -0
- package/package.json +3 -3
|
@@ -17,9 +17,12 @@ export interface InteractivePlayerOptions extends BasePlayerOptions {
|
|
|
17
17
|
authToken?: string;
|
|
18
18
|
collectResults?: boolean;
|
|
19
19
|
currentUser?: CurrentUser;
|
|
20
|
+
actionsPortalNode?: HtmlPortalNode;
|
|
20
21
|
questionListPortalNode?: HtmlPortalNode;
|
|
21
22
|
summaryPortalNode?: HtmlPortalNode;
|
|
22
23
|
onShowSummary?: (showing: boolean) => void;
|
|
24
|
+
onClickEditDetails?: () => void;
|
|
25
|
+
onClickPublish?: () => void;
|
|
23
26
|
}
|
|
24
27
|
export declare class InteractivePlayer extends BasePlayer {
|
|
25
28
|
protected options: InteractivePlayerOptions;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HtmlPortalNode } from 'react-reverse-portal';
|
|
3
|
+
import { Interactive } from 'libs/shared/interfaces';
|
|
4
|
+
interface InteractiveActionsProps {
|
|
5
|
+
interactive: Interactive;
|
|
6
|
+
portalNode: HtmlPortalNode;
|
|
7
|
+
onClickEditDetails?: () => void;
|
|
8
|
+
onClickPublish?: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function InteractiveActions(props: InteractiveActionsProps): React.ReactElement;
|
|
11
|
+
export {};
|
|
@@ -29,6 +29,7 @@ interface InteractivePluginOptions {
|
|
|
29
29
|
mode?: InteractiveMode;
|
|
30
30
|
imageApi?: URL;
|
|
31
31
|
resultsService?: ResultsService;
|
|
32
|
+
actionsPortalNode?: HtmlPortalNode;
|
|
32
33
|
questionListPortalNode?: HtmlPortalNode;
|
|
33
34
|
summaryPortalNode?: HtmlPortalNode;
|
|
34
35
|
progress?: ProgressEvent[];
|
|
@@ -36,6 +37,8 @@ interface InteractivePluginOptions {
|
|
|
36
37
|
clipOffset?: number;
|
|
37
38
|
analyticsService: AnalyticsService;
|
|
38
39
|
onShowSummary?: (showing: boolean) => void;
|
|
40
|
+
onClickEditDetails?: () => void;
|
|
41
|
+
onClickPublish?: () => void;
|
|
39
42
|
}
|
|
40
43
|
declare class InteractivePlugin extends Plugin {
|
|
41
44
|
private options;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clickview/player",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10-rc.0",
|
|
4
4
|
"description": "ClickView Player",
|
|
5
5
|
"main": "dist/player-app.js",
|
|
6
6
|
"scripts": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@babel/core": "7.11.6",
|
|
29
29
|
"@clickview/eslint-config": "1.0.1",
|
|
30
30
|
"@clickview/player-font": "0.0.12",
|
|
31
|
-
"@clickview/tooling": "0.0.
|
|
31
|
+
"@clickview/tooling": "0.0.28-rc.0",
|
|
32
32
|
"@storybook/react": "6.0.26",
|
|
33
33
|
"@types/chromecast-caf-sender": "1.0.3",
|
|
34
34
|
"@types/cropperjs": "1.3.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"webpack-dev-server": "3.11.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@clickview/styles": "1.0.
|
|
45
|
+
"@clickview/styles": "1.0.21-rc.0",
|
|
46
46
|
"@microsoft/signalr": "5.0.2",
|
|
47
47
|
"cropperjs": "1.5.6",
|
|
48
48
|
"draft-convert": "2.1.10",
|