@clickview/player 0.0.8-dev.2 → 0.0.8-dev.4

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.
Files changed (43) hide show
  1. package/dist/libs/shared/src/apps/search/interfaces/SearchFilter.d.ts +1 -0
  2. package/dist/libs/shared/src/components/actions/Actions.d.ts +1 -0
  3. package/dist/libs/shared/src/components/avatar/Avatar.d.ts +1 -0
  4. package/dist/libs/shared/src/components/feedback-tooltip/FeedbackTooltip.d.ts +1 -0
  5. package/dist/libs/shared/src/components/image-cropper/SimpleCropper.d.ts +1 -0
  6. package/dist/libs/shared/src/components/immersive-reader/ImmersiveReader.d.ts +1 -0
  7. package/dist/libs/shared/src/components/interaction-answers/multiple-choice/MultipleChoiceInteractionAnswers.d.ts +1 -0
  8. package/dist/libs/shared/src/components/interaction-answers/true-or-false/TrueOrFalseInteractionAnswers.d.ts +1 -0
  9. package/dist/libs/shared/src/components/interactive-questions/InteractionLabel.d.ts +1 -0
  10. package/dist/libs/shared/src/components/svg-container/SvgContainer.d.ts +1 -0
  11. package/dist/libs/shared/src/interfaces/models/VideoHistory.d.ts +3 -1
  12. package/dist/player-app.js +4 -4
  13. package/dist/projects/player/src/components/cog-button/cog-button.d.ts +3 -0
  14. package/dist/projects/player/src/components/text-track-button/off-text-track-menu-item.d.ts +1 -0
  15. package/dist/projects/player/src/components/text-track-button/text-track-button.d.ts +1 -0
  16. package/dist/projects/player/src/players/base-player.d.ts +1 -0
  17. package/dist/projects/player/src/plugins/engagement-overlay-plugin/components/timepoint-interactions/timepoint-interactions.d.ts +1 -0
  18. package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-annotation/create-annotation-link.d.ts +1 -0
  19. package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-image/create-image-cropper.d.ts +1 -0
  20. package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-image/upload-image-icon.d.ts +1 -0
  21. package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-missing-word/create-missing-word.d.ts +1 -0
  22. package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-multiple-choice/create-multiple-choice.d.ts +1 -0
  23. package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-multiple-choice/multiple-choice-answer.d.ts +1 -0
  24. package/package.json +3 -3
  25. package/.storybook/main.js +0 -23
  26. package/.storybook/preview-head.html +0 -4
  27. package/.storybook/stories/Base.stories.tsx +0 -133
  28. package/.storybook/stories/Clips.stories.tsx +0 -80
  29. package/.storybook/stories/Interactives.stories.tsx +0 -64
  30. package/.storybook/stories/Resources.stories.tsx +0 -15
  31. package/.storybook/stories/Subtitles.stories.tsx +0 -22
  32. package/.storybook/stories/assets/chapters.vtt +0 -19
  33. package/.storybook/stories/assets/en.vtt +0 -8
  34. package/.storybook/stories/assets/es.vtt +0 -8
  35. package/.storybook/stories/assets/fr.vtt +0 -8
  36. package/.storybook/stories/assets/interactive.json +0 -451
  37. package/.storybook/stories/assets/sample_1280x720.mp4.jpg +0 -0
  38. package/.storybook/stories/assets/sample_1280x720.mp4.vtx +0 -0
  39. package/.storybook/stories/assets/thumbnails.vtt +0 -62
  40. package/.storybook/stories/assets/vertical.mp4 +0 -0
  41. package/.storybook/stories/utils/Wrap.tsx +0 -18
  42. package/.storybook/stories/utils/mock-playerapi.ts +0 -361
  43. package/.storybook/stories/utils/mock-setup.ts +0 -16
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterProps } from './FilterProps';
2
3
  import { SearchIndices } from './SearchResults';
3
4
  import { FilterStateHash } from '../reducers';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Core } from 'libs/common/core';
2
3
  import { HashObject } from 'libs/common/react/interfaces';
3
4
  import { AnalyticsOptions } from 'libs/analytics/interfaces';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AvatarProps {
2
3
  imageCdnUrl: string;
3
4
  initials: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface FeedbackTooltipProps {
2
3
  tooltipText: string;
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ImageType } from 'libs/shared/enums/Images';
2
3
  import './image-cropper.scss';
3
4
  export interface SimpleCropperProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PropsWithAnalyticsOptions } from 'libs/shared/interfaces';
2
3
  declare type ImmersiveReaderProps = PropsWithAnalyticsOptions<{
3
4
  text: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionableItem, Interaction } from 'libs/shared/interfaces';
2
3
  interface MultipleChoiceInteractionAnswersProps {
3
4
  interaction: Interaction;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionableItem, Interaction } from 'libs/shared/interfaces';
2
3
  interface TrueOrFalseInteractionAnswersProps {
3
4
  interaction: Interaction;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Interaction } from 'libs/shared/interfaces';
2
3
  interface InteractionLabelProps {
3
4
  interaction: Interaction;
@@ -16,6 +16,7 @@ interface SvgContainerProps {
16
16
  onClick?: (...args: any[]) => void;
17
17
  title?: string;
18
18
  tooltipPlacement?: Placement;
19
+ tooltipSpanHack?: boolean;
19
20
  }
20
21
  export declare function SvgContainer(props: SvgContainerProps): React.ReactElement;
21
22
  export {};
@@ -1,11 +1,13 @@
1
1
  import { BaseObject, VirtualObject } from './primitives';
2
- export interface VideoHistory extends Omit<BaseObject, 'id' | 'name'> {
2
+ import { MasterType } from 'libs/shared/enums/MasterType';
3
+ export interface VideoHistory extends Omit<BaseObject, 'id' | 'name' | 'type' | 'typeId'> {
3
4
  videoId: string;
4
5
  userId: string;
5
6
  customerId: string;
6
7
  lastDateWatched: string;
7
8
  lastTimeWatched: string;
8
9
  lastProgressPoint: number;
10
+ masterType: MasterType;
9
11
  }
10
12
  export interface VideoProgress extends VirtualObject {
11
13
  progress: number;