@clickview/online 0.0.4-dev.1 → 0.0.4-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.
Files changed (32) hide show
  1. package/dist/en.json +1 -1
  2. package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +0 -1
  3. package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +6 -5
  4. package/dist/libs/analytics/src/interfaces/User.d.ts +0 -11
  5. package/dist/libs/analytics/src/models/CollectionEvent.d.ts +0 -6
  6. package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +1 -1
  7. package/dist/libs/common/src/react/utils/TextHelper.d.ts +0 -3
  8. package/dist/libs/shared/src/components/actions/ActionButton.d.ts +2 -6
  9. package/dist/libs/shared/src/components/actions/ActionsDropdown.d.ts +1 -2
  10. package/dist/libs/shared/src/components/widgets/fixed-widget/FixedWidgetUtils.d.ts +1 -1
  11. package/dist/libs/shared/src/hooks/UseLazyLoad.d.ts +1 -1
  12. package/dist/libs/shared/src/interfaces/models/Library.d.ts +0 -2
  13. package/dist/libs/shared/src/interfaces/models/Video.d.ts +2 -1
  14. package/dist/libs/shared/src/interfaces/models/Widget.d.ts +1 -2
  15. package/dist/online-app.css +2 -6
  16. package/dist/online-app.css.map +1 -1
  17. package/dist/online-app.js +3 -3
  18. package/dist/online-app.js.map +1 -1
  19. package/dist/projects/online/src/index.d.ts +1 -6
  20. package/dist/projects/online/src/shared/constants/Actions.d.ts +0 -19
  21. package/dist/projects/online/src/shared/constants/RadioChannels.d.ts +0 -2
  22. package/package.json +3 -3
  23. package/typings/libs/FutureCoreHelper.d.ts +0 -5
  24. package/dist/projects/online/src/apps/playlists/OnlinePlaylistsApplication.d.ts +0 -32
  25. package/dist/projects/online/src/apps/playlists/components/playlist-header/PartialPlaylistHeader.d.ts +0 -2
  26. package/dist/projects/online/src/apps/playlists/components/video-list/VideoList.d.ts +0 -8
  27. package/dist/projects/online/src/apps/playlists/flight-requests/ClassificationRequests.d.ts +0 -4
  28. package/dist/projects/online/src/apps/playlists/views/play-shared-playlist/PlaySharedPlaylistView.d.ts +0 -11
  29. package/dist/projects/online/src/apps/playlists/views/play-shared-playlist/index.d.ts +0 -1
  30. package/dist/projects/online/src/apps/playlists/views/shared-playlist/SharedPlaylistView.d.ts +0 -6
  31. package/dist/projects/online/src/apps/subjects/views/classification-playlist/components/PartialPlaylistHeader.d.ts +0 -2
  32. package/dist/projects/online/src/shared/hooks/UseMixinVideoRestrictions.d.ts +0 -14
@@ -5,8 +5,6 @@ import './apps/content-updates/views/content-updates/content-updates.lang.json';
5
5
  import './apps/dashboard/components/hero-widget/hero-widget.lang.json';
6
6
  import './apps/dashboard/views/dashboard/dashboard.lang.json';
7
7
  import './apps/dashboard/views/error/error.lang.json';
8
- import './apps/libraries/views/libraries/libraries.lang.json';
9
- import './apps/movies-and-tv/views/movies-and-tv/movies-and-tv.lang.json';
10
8
  import './apps/playlists/components/left-nav/left-nav.lang.json';
11
9
  import './apps/playlists/components/new-playlist-button/new-playlist-button.lang.json';
12
10
  import './apps/playlists/components/playlist-actions/playlist-actions.lang.json';
@@ -77,8 +75,6 @@ export * from './apps/subjects/SubjectApplication';
77
75
  export * from './apps/subjects/SubjectPlaylistsApplication';
78
76
  export * from './apps/content-updates/ContentUpdatesApplication';
79
77
  export * from './apps/dashboard/OnlineDashboardApplication';
80
- export * from './apps/movies-and-tv/MoviesAndTvApplication';
81
- export * from './apps/libraries/LibrariesApplication';
82
78
  import { Core } from "../../../libs/common/src/backbone";
83
79
  import { InstanceManager } from "../../../libs/common/src/backbone/services/InstanceManager";
84
80
  import { AlertType, BaseAlertService } from "../../../libs/common/src/backbone/services/BaseAlertService";
@@ -91,7 +87,6 @@ import { NotImplementedError } from "../../../libs/common/src/backbone/errors/No
91
87
  import { CommonServices } from "../../../libs/common/src/backbone/constants/CommonServices";
92
88
  import { LanguageService } from "../../../libs/common/src/backbone/services/LanguageService";
93
89
  import { Flight } from "../../../libs/common/src/react";
94
- import { ViewModelReducer } from "../../../libs/common/src/react/reducers/ViewModelReducer";
95
90
  import { ScrollService } from "../../../libs/common/src/backbone/services/ScrollService";
96
91
  import { CacheDurations } from "../../../libs/shared/src/constants/CacheDurations";
97
92
  import { SharedDataServices } from "../../../libs/shared/src/constants/SharedServices";
@@ -111,4 +106,4 @@ import { CollectionApiClientHelper } from "../../../libs/analytics/src/utils/Col
111
106
  import { CountryRegionMapping } from "../../../libs/analytics/src/constants/CountryRegionMapping";
112
107
  import { CoreContextEnricher } from "../../../libs/analytics/src/enrichers/CoreContextEnricher";
113
108
  import { UserDataEnricher } from "../../../libs/analytics/src/enrichers/UserDataEnricher";
114
- export { Core, InstanceManager, BaseAlertService, AlertType, FifoMemoryCache, AjaxDataProvider, ConcurrencyHelper, UrlHelper, DevError, NotImplementedError, CommonServices, LanguageService, Flight, ViewModelReducer, ScrollService, CacheDurations, SharedDataServices, ConfigDataService, UserDataService, LanguageDataService, ImageUrlService, AnalyticsService, DebuggerClient, EventTransport, CollectionApiClient, CollectionApiClientHelper, CountryRegionMapping, CoreContextEnricher, UserDataEnricher, AppOptionsService, AlertError, DialogError, ErrorPageError };
109
+ export { Core, InstanceManager, BaseAlertService, AlertType, FifoMemoryCache, AjaxDataProvider, ConcurrencyHelper, UrlHelper, DevError, NotImplementedError, CommonServices, LanguageService, Flight, ScrollService, CacheDurations, SharedDataServices, ConfigDataService, UserDataService, LanguageDataService, ImageUrlService, AnalyticsService, DebuggerClient, EventTransport, CollectionApiClient, CollectionApiClientHelper, CountryRegionMapping, CoreContextEnricher, UserDataEnricher, AppOptionsService, AlertError, DialogError, ErrorPageError };
@@ -42,7 +42,6 @@ export declare const Actions: {
42
42
  ContentUpdates: {
43
43
  CONTENT_UPDATES: string;
44
44
  CLASSIFICATION_UPDATE: string;
45
- CLASSIFICATION: string;
46
45
  };
47
46
  Dashboard: {
48
47
  HOME: string;
@@ -56,23 +55,5 @@ export declare const Actions: {
56
55
  CONTENT_UPDATES: string;
57
56
  USER_CHANNELS: string;
58
57
  USER_CHANNEL: string;
59
- LATEST_RELEASES: string;
60
- };
61
- MoviesAndTv: {
62
- HOME: string;
63
- WIDGET: string;
64
- VIDEO: string;
65
- SERIES: string;
66
- ADD_TO_PLAYLIST: string;
67
- };
68
- Libraries: {
69
- HOME: string;
70
- LIBRARY: string;
71
- CONTENT_UPDATES: string;
72
- LATEST_RELEASES: string;
73
- SERIES: string;
74
- VIDEO: string;
75
- INTERACTVIES: string;
76
- MOST_RECENT: string;
77
58
  };
78
59
  };
@@ -5,8 +5,6 @@ export declare const AppChannels: {
5
5
  SUBJECT_PLAYLISTS: string;
6
6
  CONTENT_UPDATES: string;
7
7
  DASHBOARD: string;
8
- MOVIES_AND_TV: string;
9
- LIBRARIES: string;
10
8
  };
11
9
  export declare const DataChannels: {
12
10
  CLASSIFICATION: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickview/online",
3
- "version": "0.0.4-dev.1",
3
+ "version": "0.0.4-rc.0",
4
4
  "description": "Online",
5
5
  "main": "dist/online-app.js",
6
6
  "types": "dist/index.d.ts",
@@ -20,14 +20,14 @@
20
20
  "author": "",
21
21
  "license": "ISC",
22
22
  "devDependencies": {
23
- "@clickview/tooling": "0.0.18-dev.1",
23
+ "@clickview/tooling": "0.0.17",
24
24
  "@types/linkifyjs": "2.1.3",
25
25
  "@types/react-sortable-hoc": "0.7.1",
26
26
  "@types/react-transition-group": "4.2.3",
27
27
  "@types/yup": "0.26.24"
28
28
  },
29
29
  "dependencies": {
30
- "@clickview/styles": "1.0.8-dev.1",
30
+ "@clickview/styles": "1.0.7",
31
31
  "yup": "0.27.0"
32
32
  },
33
33
  "babel": {
@@ -15,9 +15,4 @@ declare namespace ClickView {
15
15
  }
16
16
  }
17
17
  }
18
-
19
- declare namespace currentUser {
20
- declare function hasSubjects(): boolean;
21
- declare function hasMoviesAndTv(): boolean;
22
- }
23
18
  }
@@ -1,32 +0,0 @@
1
- import { Core } from "../../../../../libs/common/src/backbone";
2
- import { ReactApplication } from "../../../../../libs/common/src/react/core/ReactApplication";
3
- import { HashObject } from "../../../../../libs/common/src/react/interfaces/HashObject";
4
- import { OnlineLayoutView, OnlineLayoutViewOptions } from "../../shared/layouts";
5
- export declare class PlaylistApplication extends ReactApplication {
6
- protected layout: OnlineLayoutView;
7
- private currentPlaylistId;
8
- initialize(): void;
9
- get name(): string;
10
- static get router(): any;
11
- get channelName(): string;
12
- get layoutOptions(): Core.LayoutOptions<OnlineLayoutViewOptions>;
13
- index(params: HashObject): void;
14
- playlist(playlistId: string): void;
15
- newPlaylist(): void;
16
- editPlaylist(playlistId: string): void;
17
- deletePlaylist(playlistId: string): void;
18
- removeVideoFromPlaylist(videoId: string, playlistId: string): void;
19
- playPlaylistVideo(playlistId: string, videoId: string): void;
20
- sharePlaylist(playlistId: string): void;
21
- sharedPlaylist(shareCode: string): void;
22
- playSharedPlaylistVideo(shareCode: string, videoId: string): void;
23
- accessDenied(): void;
24
- notFound(): void;
25
- migrationInProgress(): void;
26
- private renderLeftNav;
27
- private setCurrentPlaylist;
28
- private hideLeftNav;
29
- private getPopupProps;
30
- private getVideoAppLink;
31
- private getPhrase;
32
- }
@@ -1,2 +0,0 @@
1
- import * as React from 'react';
2
- export declare function PartialPlaylistHeader(): React.ReactElement;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { Video } from "../../../../../../../libs/shared/src/interfaces";
3
- import { VideoItemComponentProps } from './VideoItemComponent';
4
- interface VideoListProps extends Omit<VideoItemComponentProps, 'video' | 'idx'> {
5
- videos: Video[];
6
- }
7
- export declare const VideoList: (props: VideoListProps) => JSX.Element;
8
- export {};
@@ -1,4 +0,0 @@
1
- import { Flight } from "../../../../../../libs/common/src/react";
2
- export declare const ClassificationRequests: {
3
- classification(id: string): Flight.Request;
4
- };
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- import { Core } from "../../../../../../../libs/common/src/backbone";
3
- import { Playlist, Video } from "../../../../../../../libs/shared/src/interfaces";
4
- interface PlaySharedPlaylistViewProps {
5
- shareCode: string;
6
- videoId: string;
7
- getPlaylistAppLink: (playlist: Playlist) => Core.AppLink;
8
- getVideoAppLink: (video: Video) => Core.AppLink;
9
- }
10
- export declare function PlaySharedPlaylistView(props: PlaySharedPlaylistViewProps): React.ReactElement;
11
- export {};
@@ -1 +0,0 @@
1
- export * from './PlayPlaylistView';
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- interface SharedPlaylistViewProps {
3
- shareCode: string;
4
- }
5
- export declare function SharedPlaylistView(props: SharedPlaylistViewProps): React.ReactElement;
6
- export {};
@@ -1,2 +0,0 @@
1
- import * as React from 'react';
2
- export declare function PartialPlaylistHeader(): React.ReactElement;
@@ -1,14 +0,0 @@
1
- import { Flight } from "../../../../../libs/common/src/react";
2
- import { VideoCollection, Video, Restriction } from "../../../../../libs/shared/src/interfaces";
3
- interface MixinVideoRestrictionsResponse {
4
- response: Flight.Response<Restriction[]>;
5
- fetchRestrictions: () => void;
6
- }
7
- /**
8
- *
9
- * @param videos videos to fetch restrictions for
10
- *
11
- * Returns a function to re-fetch restrictions
12
- */
13
- export declare function useMixinVideoRestrictions(videos: VideoCollection | Video[]): MixinVideoRestrictionsResponse;
14
- export {};