@clickview/player 0.0.6-dev.3 → 0.0.6
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 +3 -21
- package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +42 -0
- package/dist/libs/common/src/backbone/core/AppLink.d.ts +4 -0
- package/dist/libs/common/src/backbone/core/BaseError.d.ts +0 -8
- package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +5 -0
- package/dist/libs/common/src/backbone/interfaces/Xhr.d.ts +2 -2
- package/dist/libs/shared/src/apps/notifications/enums/NotificationType.d.ts +1 -3
- package/dist/libs/shared/src/constants/AppVariables.d.ts +1 -0
- package/dist/libs/shared/src/enums/MasterType.d.ts +0 -1
- package/dist/libs/shared/src/enums/SettingName.d.ts +0 -1
- package/dist/libs/shared/src/hooks/useNavLock.d.ts +0 -2
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +4 -7
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +1 -3
- package/dist/libs/shared/src/images/svg/objects/index.d.ts +1 -3
- package/dist/libs/shared/src/images/svg/player/index.d.ts +14 -0
- package/dist/libs/shared/src/images/svg/status/index.d.ts +1 -2
- package/dist/libs/shared/src/interfaces/app-variables/BaseNotificationsAppVariables.d.ts +3 -6
- package/dist/libs/shared/src/interfaces/index.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/models/InteractiveMetadata.d.ts +1 -1
- package/dist/libs/shared/src/interfaces/models/User.d.ts +1 -14
- package/dist/libs/shared/src/interfaces/models/interactive-results/InteractiveResultSet.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/interactive-results/StudentResult.d.ts +1 -2
- package/dist/libs/shared/src/interfaces/requests/CreateViewKeyRequest.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +1 -0
- package/dist/libs/shared/src/utils/ImageHelper.d.ts +1 -2
- package/dist/player-app.css +21 -23
- package/dist/player-app.js +13 -13
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-item.d.ts +0 -1
- package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-items.d.ts +0 -1
- package/dist/projects/player/src/components/cog-button/cog-button.d.ts +5 -7
- package/dist/projects/player/src/components/collapserator/collapserator.d.ts +1 -1
- package/dist/projects/player/src/components/menu/menu.d.ts +0 -7
- package/dist/projects/player/src/components/player/player.d.ts +0 -4
- package/dist/projects/player/src/components/subs-caps-button/subs-caps-button.d.ts +0 -1
- package/dist/projects/player/src/components/subs-caps-button/subtitle-search-menu-item.d.ts +1 -2
- package/dist/projects/player/src/components/subtitle-search-button/subtitle-search-button.d.ts +0 -2
- package/dist/projects/player/src/components/subtitle-search-button/subtitle-search-input.d.ts +0 -1
- package/dist/projects/player/src/players/base-player.d.ts +3 -13
- package/dist/projects/player/src/players/interactive-player.d.ts +0 -4
- package/dist/projects/player/src/players/player.d.ts +5 -1
- package/dist/projects/player/src/plugins/example-plugin/components/example-button/example-button.d.ts +1 -0
- package/dist/projects/player/src/plugins/example-plugin/example-plugin.d.ts +2 -0
- package/dist/projects/player/src/plugins/fullscreen-on-rotate-plugin/fullscreen-on-rotate-plugin.d.ts +0 -29
- package/dist/projects/player/src/plugins/interactive-plugin/hooks/useStateManager.d.ts +0 -2
- package/dist/projects/player/src/plugins/interactive-plugin/interactive-plugin.d.ts +0 -2
- package/dist/projects/player/src/plugins/next-video-plugin/next-video-plugin.d.ts +1 -2
- package/dist/projects/player/src/plugins/open-externally-plugin/open-externally-plugin.d.ts +0 -30
- package/dist/projects/player/src/plugins/persist-subtitle-settings-plugin/persist-subtitle-settings-plugin.d.ts +1 -0
- package/dist/projects/player/src/plugins/persist-volume-plugin/persist-volume-plugin.d.ts +0 -25
- package/dist/projects/player/src/plugins/picture-in-picture-plugin/picture-in-picture-plugin.d.ts +1 -0
- package/dist/projects/player/src/plugins/progress-reporter-plugin/progress-reporter-plugin.d.ts +0 -1
- package/dist/projects/player/src/plugins/progressive-files-plugin/progressive-files-plugin.d.ts +0 -3
- package/dist/projects/player/src/plugins/touch-controls-plugin/touch-controls-plugin.d.ts +0 -40
- package/dist/projects/player/src/services/analytics-service.d.ts +2 -6
- package/dist/projects/player/src/utils/scrollbar-helper.d.ts +6 -0
- package/package.json +4 -5
- package/dist/libs/shared/src/apps/search/interfaces/FilterProps.d.ts +0 -8
- package/dist/libs/shared/src/apps/search/interfaces/SearchFilter.d.ts +0 -29
- package/dist/libs/shared/src/apps/search/interfaces/SearchResults.d.ts +0 -26
- package/dist/libs/shared/src/apps/search/interfaces/SearchTypes.d.ts +0 -26
- package/dist/libs/shared/src/apps/search/interfaces/index.d.ts +0 -4
- package/dist/libs/shared/src/apps/search/reducers/FilterReducer.d.ts +0 -36
- package/dist/libs/shared/src/apps/search/reducers/index.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/FavouriteVideoFunc.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/responses/ShareSearchResponse.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/responses/index.d.ts +0 -1
- package/dist/projects/player/src/components/cog-button/collapsible-heading-menu-item.d.ts +0 -15
- package/dist/projects/player/src/components/keyboard-shortcuts-button/keyboard-shortcuts-button.d.ts +0 -1
- package/dist/projects/player/src/components/play-pause-feedback/play-pause-feedback.d.ts +0 -1
- package/dist/projects/player/src/components/play-toggle/play-toggle.d.ts +0 -1
- package/dist/projects/player/src/components/subs-caps-button/off-text-track-menu-item.d.ts +0 -1
- package/dist/projects/player/src/players/reports/reports-player.d.ts +0 -14
- package/dist/projects/player/src/plugins/engagement-overlay-plugin/components/engagement-overlay.d.ts +0 -1
- package/dist/projects/player/src/plugins/engagement-overlay-plugin/engagement-overlay-plugin.d.ts +0 -30
- package/dist/projects/player/src/react/ReportsPlayer.d.ts +0 -3
- /package/dist/projects/player/src/{components/seek-bar/seek-bar.d.ts → plugins/example-plugin/components/example-react-button/example-react-button.d.ts} +0 -0
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Core } from 'libs/common/core';
|
|
3
|
-
import { ReducerActions } from 'libs/common/react/interfaces';
|
|
4
|
-
import { SearchFilter, FilterIds, FilterOption } from 'libs/shared/apps/search/interfaces';
|
|
5
|
-
export declare type FilterState = {
|
|
6
|
-
active: boolean;
|
|
7
|
-
selection?: FilterOption[];
|
|
8
|
-
};
|
|
9
|
-
export declare type DraftState = {
|
|
10
|
-
[key in FilterIds]?: FilterState;
|
|
11
|
-
};
|
|
12
|
-
declare type FilterStateHashFilters = {
|
|
13
|
-
[key in FilterIds]: FilterState;
|
|
14
|
-
};
|
|
15
|
-
export declare type FilterStateHash = FilterStateHashFilters & {
|
|
16
|
-
appLink: Core.AppLink;
|
|
17
|
-
moreFilters?: Omit<FilterStateHash, 'moreFilters'>;
|
|
18
|
-
};
|
|
19
|
-
export declare type FilterActionType = 'update';
|
|
20
|
-
export declare type FilterPayloadType = {
|
|
21
|
-
filter: SearchFilter;
|
|
22
|
-
state: FilterState;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Context
|
|
26
|
-
*/
|
|
27
|
-
interface FilterContextType {
|
|
28
|
-
state: FilterStateHash;
|
|
29
|
-
dispatch: React.Dispatch<ReducerActions<FilterActionType>>;
|
|
30
|
-
}
|
|
31
|
-
export declare const FilterContext: import("react").Context<FilterContextType>;
|
|
32
|
-
/**
|
|
33
|
-
* Reducer - root level keys should match the filter object's corresponding "id" field
|
|
34
|
-
*/
|
|
35
|
-
export declare function FilterReducer(state: FilterStateHash, action: ReducerActions<FilterActionType, FilterStateHash>): FilterStateHash;
|
|
36
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './FilterReducer';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { User, Classroom, ClassroomGroup } from 'libs/shared/interfaces';
|
|
2
|
-
import { SearchResultsObject, SearchResults } from 'libs/shared/apps/search/interfaces';
|
|
3
|
-
declare type ShareSearchObjectTypes = SearchResultsObject<User> | SearchResultsObject<Classroom> | SearchResultsObject<ClassroomGroup>;
|
|
4
|
-
export declare type ShareSearchResponse = SearchResults<ShareSearchObjectTypes>;
|
|
5
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ShareSearchResponse';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import videojs, { VideoJsPlayer } from 'video.js';
|
|
2
|
-
declare const MenuItem: {
|
|
3
|
-
new (player: VideoJsPlayer, options?: videojs.MenuItemOptions): videojs.MenuItem;
|
|
4
|
-
prototype: videojs.MenuItem;
|
|
5
|
-
};
|
|
6
|
-
interface CollapsibleHeadingMenuItemOptions extends videojs.MenuItemOptions {
|
|
7
|
-
onClickBack?: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare class CollapsibleHeadingMenuItem extends MenuItem {
|
|
10
|
-
options_: CollapsibleHeadingMenuItemOptions;
|
|
11
|
-
constructor(player: VideoJsPlayer, options?: CollapsibleHeadingMenuItemOptions);
|
|
12
|
-
createEl(): HTMLLIElement;
|
|
13
|
-
handleClick(event: videojs.EventTarget.Event): void;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
package/dist/projects/player/src/components/keyboard-shortcuts-button/keyboard-shortcuts-button.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './keyboard-shortcuts-button.scss';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './play-pause-feedback.scss';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './play-toggle.scss';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BasePlayer, BasePlayerOptions } from 'projects/player/players/base-player';
|
|
2
|
-
import 'projects/player/plugins/engagement-overlay-plugin/engagement-overlay-plugin';
|
|
3
|
-
import { AnalyticsPlayerType } from 'projects/player/services/analytics-service';
|
|
4
|
-
import './reports-player.scss';
|
|
5
|
-
export interface ReportsPlayerOptions extends BasePlayerOptions {
|
|
6
|
-
heatMap: number[];
|
|
7
|
-
}
|
|
8
|
-
export declare class ReportsPlayer extends BasePlayer {
|
|
9
|
-
protected options: ReportsPlayerOptions;
|
|
10
|
-
constructor(id: string | Element, options: ReportsPlayerOptions);
|
|
11
|
-
protected getPlayerClassName(): string;
|
|
12
|
-
protected configurePlugins(): void;
|
|
13
|
-
protected getAnalyticsPlayerType(): AnalyticsPlayerType;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './engagement-overlay.scss';
|
package/dist/projects/player/src/plugins/engagement-overlay-plugin/engagement-overlay-plugin.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import videojs, { VideoJsPlayer } from 'video.js';
|
|
2
|
-
import 'projects/player/plugins/engagement-overlay-plugin/components/engagement-overlay';
|
|
3
|
-
declare const Plugin: {
|
|
4
|
-
new (player: VideoJsPlayer, options?: any): videojs.Plugin;
|
|
5
|
-
prototype: videojs.Plugin;
|
|
6
|
-
BASE_PLUGIN_NAME: string;
|
|
7
|
-
deregisterPlugin(name: string): void;
|
|
8
|
-
getPlugin(name: string): any;
|
|
9
|
-
getPluginVersion(name: string): string;
|
|
10
|
-
getPlugins(names?: string[]): {
|
|
11
|
-
[name: string]: videojs.Plugin;
|
|
12
|
-
};
|
|
13
|
-
isBasic(plugin: string | (() => any)): boolean;
|
|
14
|
-
registerPlugin<T, K>(name: string, plugin: (this: VideoJsPlayer, ...options: K[]) => T): (...options: K[]) => T;
|
|
15
|
-
registerPlugin<T_1 extends any>(name: string, plugin: T_1): () => T_1;
|
|
16
|
-
};
|
|
17
|
-
interface EngagementOverlayPluginOptions {
|
|
18
|
-
heatMap: number[];
|
|
19
|
-
}
|
|
20
|
-
declare class EngagementOverlayPlugin extends Plugin {
|
|
21
|
-
private options;
|
|
22
|
-
constructor(player: VideoJsPlayer, options: EngagementOverlayPluginOptions);
|
|
23
|
-
private initialize;
|
|
24
|
-
}
|
|
25
|
-
declare module 'video.js' {
|
|
26
|
-
interface VideoJsPlayer {
|
|
27
|
-
engagementOverlayPlugin(options?: EngagementOverlayPluginOptions): EngagementOverlayPlugin;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export {};
|