@clickview/lite 0.0.3-rc.6 → 0.0.4-dev.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.
Files changed (38) hide show
  1. package/dist/apps/dashboard/LiteDashboardApplication.d.ts +17 -0
  2. package/dist/apps/default/LiteDefaultApplication.d.ts +2 -0
  3. package/dist/apps/embed/LiteEmbedApplication.d.ts +15 -0
  4. package/dist/apps/embed/views/embed/EmbedView.d.ts +10 -0
  5. package/dist/apps/embed/views/index.d.ts +1 -0
  6. package/dist/apps/notifications/LiteNotificationsApplication.d.ts +10 -0
  7. package/dist/apps/notifications/constants/NotificationsAppVariables.d.ts +7 -0
  8. package/dist/apps/playlists/LitePlaylistsApplication.d.ts +1 -0
  9. package/dist/apps/subjects/LiteSubjectApplication.d.ts +14 -0
  10. package/dist/bundle.js +4291 -1
  11. package/dist/bundle.js.map +1 -0
  12. package/dist/en.json +55 -1
  13. package/dist/index.d.ts +9 -0
  14. package/dist/lite-app.css +155 -5
  15. package/dist/lite-app.css.map +1 -0
  16. package/dist/shared/components/index.d.ts +2 -0
  17. package/dist/shared/components/play-page/Badges.d.ts +7 -0
  18. package/dist/shared/components/play-page/Buttons.d.ts +2 -0
  19. package/dist/shared/components/play-page/PlayPage.d.ts +8 -0
  20. package/dist/shared/components/play-page/VideoTitle.d.ts +7 -0
  21. package/dist/shared/components/user-options/UserOptions.d.ts +10 -0
  22. package/dist/shared/components/video-details/VideoDetails.d.ts +0 -4
  23. package/dist/shared/constants/LiteActions.d.ts +17 -0
  24. package/dist/shared/constants/LiteLayouts.d.ts +1 -0
  25. package/dist/shared/constants/LiteRadioChannels.d.ts +4 -0
  26. package/dist/shared/contexts/player/PlayerContext.d.ts +20 -4
  27. package/dist/shared/flight-requests/ShareRequests.d.ts +4 -0
  28. package/dist/shared/flight-requests/VideoRequests.d.ts +1 -0
  29. package/dist/shared/layouts/embed-layout/EmbedLayoutComponent.d.ts +8 -0
  30. package/dist/shared/layouts/embed-layout/EmbedLayoutView.d.ts +17 -0
  31. package/dist/shared/layouts/index.d.ts +1 -0
  32. package/dist/shared/layouts/teacher-layout/TeacherLayoutComponent.d.ts +2 -2
  33. package/dist/shared/layouts/teacher-layout/TeacherLayoutView.d.ts +0 -2
  34. package/dist/shared/views/backbone-wrapper/BackboneWrapperView.d.ts +8 -0
  35. package/dist/shared/views/favorite-videos/FavoriteVideosView.d.ts +6 -0
  36. package/dist/shared/views/index.d.ts +3 -0
  37. package/dist/shared/views/play-shared/PlaySharedView.d.ts +6 -0
  38. package/package.json +45 -44
@@ -0,0 +1,17 @@
1
+ import { ObjectHash } from 'backbone';
2
+ import { Core, HashObject } from '@clickview/common';
3
+ import { TeacherLayoutViewOptions, TeacherLayoutView } from 'shared/layouts';
4
+ declare class DashboardAppRouter extends Core.AppRouter {
5
+ protected get channelName(): string;
6
+ protected get appRoutes(): ObjectHash;
7
+ }
8
+ export declare class DashboardApplication extends Core.Application {
9
+ protected layout: TeacherLayoutView;
10
+ get name(): string;
11
+ get channelName(): string;
12
+ static get router(): typeof DashboardAppRouter;
13
+ protected get layoutOptions(): Core.LayoutOptions<TeacherLayoutViewOptions>;
14
+ get appChannels(): HashObject<string>;
15
+ index(): void;
16
+ }
17
+ export {};
@@ -14,7 +14,9 @@ export declare class DefaultApplication extends Core.Application {
14
14
  static get router(): typeof DefaultAppRouter;
15
15
  index(): void;
16
16
  playVideo(id: string): void;
17
+ playSharedVideo(shortCode: string): void;
17
18
  myUploads(params: HashObject): void;
19
+ favoriteVideos(params: HashObject): void;
18
20
  series(id: string, params: HashObject): void;
19
21
  catchAllRoutes(): void;
20
22
  notFound(): void;
@@ -0,0 +1,15 @@
1
+ import { Core, HashObject } from '@clickview/common';
2
+ import { EmbedLayoutView } from 'shared/layouts';
3
+ declare class EmbedAppRouter extends Core.AppRouter {
4
+ protected get channelName(): string;
5
+ protected get appRoutes(): HashObject;
6
+ }
7
+ export declare class EmbedApplication extends Core.Application {
8
+ layout: EmbedLayoutView;
9
+ get name(): string;
10
+ protected get layoutOptions(): Core.LayoutOptions<Core.LayoutViewOptions>;
11
+ get channelName(): string;
12
+ static get router(): typeof EmbedAppRouter;
13
+ embedVideo(shortCode: string): void;
14
+ }
15
+ export {};
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ interface EmbedViewProps {
3
+ /**
4
+ * TODO: Replace id with shortcode. It's just a master id now
5
+ * as a placeholder
6
+ */
7
+ id: string;
8
+ }
9
+ export declare function EmbedView(props: EmbedViewProps): JSX.Element;
10
+ export {};
@@ -0,0 +1 @@
1
+ export * from './embed/EmbedView';
@@ -0,0 +1,10 @@
1
+ import { Core, HashObject } from '@clickview/common';
2
+ import { TeacherLayoutViewOptions, TeacherLayoutView } from 'shared/layouts';
3
+ export declare class NotificationsApplication extends Core.Application {
4
+ protected layout: TeacherLayoutView;
5
+ get name(): string;
6
+ protected get layoutOptions(): Core.LayoutOptions<TeacherLayoutViewOptions>;
7
+ static get router(): any;
8
+ get channelName(): string;
9
+ index(params: HashObject): void;
10
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseNotificationsAppVariables, NotificationsAppLinks, NotificationType } from '@clickview/shared';
2
+ export declare class NotificationsAppVariables extends BaseNotificationsAppVariables {
3
+ get appLinks(): NotificationsAppLinks;
4
+ get notificationTypesWithAppLinks(): Array<NotificationType>;
5
+ get notificationsEmptyStateUrl(): string;
6
+ get bellIconColor(): 'dark';
7
+ }
@@ -17,6 +17,7 @@ export declare class PlaylistsApplication extends Core.Application {
17
17
  newPlaylist(): void;
18
18
  editPlaylist(id: string): void;
19
19
  deletePlaylist(id: string): void;
20
+ addToPlaylist(videoId: string): void;
20
21
  removeVideoFromPlaylist(videoId: string, playlistId: string): void;
21
22
  protected onShowAlert(options?: ObjectHash): void;
22
23
  }
@@ -0,0 +1,14 @@
1
+ import { ObjectHash } from 'backbone';
2
+ import { Core, HashObject } from '@clickview/common';
3
+ import { TeacherLayoutViewOptions, TeacherLayoutView } from 'shared/layouts';
4
+ export declare class SubjectApplication extends Core.Application {
5
+ protected layout: TeacherLayoutView;
6
+ get name(): string;
7
+ static get router(): any;
8
+ get channelName(): string;
9
+ protected get layoutOptions(): Core.LayoutOptions<TeacherLayoutViewOptions>;
10
+ get appChannels(): HashObject<string>;
11
+ classification(classificationId: string): void;
12
+ playlist(id: string, playlistId: string): void;
13
+ protected onShowAlert(options?: ObjectHash): void;
14
+ }