@clickview/online 0.0.3-rc.2 → 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.
- package/dist/en.json +1 -1
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +1 -0
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +5 -6
- package/dist/libs/analytics/src/interfaces/User.d.ts +11 -0
- package/dist/libs/analytics/src/models/CollectionEvent.d.ts +6 -0
- package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +1 -1
- package/dist/libs/analytics/src/utils/UrlHelper.d.ts +3 -0
- package/dist/libs/common/src/react/constants/ViewModelActions.d.ts +3 -0
- package/dist/libs/common/src/react/interfaces/ViewModelAction.d.ts +5 -0
- package/dist/libs/common/src/react/interfaces/ViewModelPayload.d.ts +5 -0
- package/dist/libs/common/src/react/reducers/ViewModelReducer.d.ts +3 -0
- package/dist/libs/shared/src/components/actions/ActionButton.d.ts +6 -2
- package/dist/libs/shared/src/components/actions/ActionsDropdown.d.ts +2 -1
- package/dist/libs/shared/src/components/svgs/clickview-logo/ClickViewLogo.d.ts +3 -0
- package/dist/libs/shared/src/components/widgets/fixed-widget/FixedWidgetUtils.d.ts +1 -1
- package/dist/libs/shared/src/hooks/UseLazyLoad.d.ts +1 -1
- package/dist/libs/shared/src/interfaces/models/Library.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/models/Video.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/Widget.d.ts +2 -1
- package/dist/online-app.css +6 -2
- package/dist/online-app.css.map +1 -0
- package/dist/online-app.js +3 -3
- package/dist/online-app.js.map +1 -0
- package/dist/projects/online/src/apps/libraries/LibrariesApplication.d.ts +11 -0
- package/dist/projects/online/src/apps/libraries/components/libraries-list/LibrariesList.d.ts +7 -0
- package/dist/projects/online/src/apps/libraries/components/libraries-list/partial-loading/PartialLibrariesList.d.ts +2 -0
- package/dist/projects/online/src/apps/libraries/components/library-item/LibraryItem.d.ts +7 -0
- package/dist/projects/online/src/apps/libraries/flight-requests/LibrariesRequests.d.ts +7 -0
- package/dist/projects/online/src/apps/libraries/utils/LibraryHelper.d.ts +9 -0
- package/dist/projects/online/src/apps/libraries/views/libraries/LibrariesView.d.ts +2 -0
- package/dist/projects/online/src/apps/movies-and-tv/MoviesAndTvApplication.d.ts +12 -0
- package/dist/projects/online/src/apps/movies-and-tv/views/movies-and-tv/MoviesAndTvView.d.ts +2 -0
- package/dist/projects/online/src/index.d.ts +6 -1
- package/dist/projects/online/src/shared/components/info-banner/InfoBanner.d.ts +2 -0
- package/dist/projects/online/src/shared/constants/Actions.d.ts +19 -0
- package/dist/projects/online/src/shared/constants/RadioChannels.d.ts +2 -0
- package/dist/projects/online/src/shared/services/LanguageDataService.d.ts +11 -0
- package/package.json +3 -3
- package/typings/libs/FutureCoreHelper.d.ts +5 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Core } from "../../../../../libs/common/src/backbone";
|
|
2
|
+
import { ReactApplication } from "../../../../../libs/common/src/react/core/ReactApplication";
|
|
3
|
+
import { OnlineLayoutViewOptions, OnlineLayoutView } from "../../shared/layouts";
|
|
4
|
+
export declare class LibrariesApplication extends ReactApplication {
|
|
5
|
+
protected layout: OnlineLayoutView;
|
|
6
|
+
get name(): string;
|
|
7
|
+
static get router(): any;
|
|
8
|
+
get channelName(): string;
|
|
9
|
+
get layoutOptions(): Core.LayoutOptions<OnlineLayoutViewOptions>;
|
|
10
|
+
index(): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Flight } from "../../../../../../libs/common/src/react";
|
|
2
|
+
export declare const LibrariesRequests: {
|
|
3
|
+
libraries(): Flight.Request;
|
|
4
|
+
interactives(): Flight.Request;
|
|
5
|
+
recentLibraryVideos(id: string): Flight.Request;
|
|
6
|
+
mostRecentVideos(): Flight.Request;
|
|
7
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Library } from "../../../../../../libs/shared/src/interfaces";
|
|
2
|
+
export declare const LibraryHelper: {
|
|
3
|
+
isPrimaryLibrary(library: Library): boolean;
|
|
4
|
+
isSecondaryLibrary(library: Library): boolean;
|
|
5
|
+
isMoviesAndTv(library: Library): boolean;
|
|
6
|
+
isHostedLibrary(library: Library): boolean;
|
|
7
|
+
isCustomLibrary(library: Library): boolean;
|
|
8
|
+
isSupplementaryLibrary(library: Library): boolean;
|
|
9
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Core } from "../../../../../libs/common/src/backbone";
|
|
2
|
+
import { ReactApplication } from "../../../../../libs/common/src/react/core/ReactApplication";
|
|
3
|
+
import { OnlineLayoutViewOptions, OnlineLayoutView } from "../../shared/layouts";
|
|
4
|
+
export declare class MoviesAndTvApplication extends ReactApplication {
|
|
5
|
+
protected layout: OnlineLayoutView;
|
|
6
|
+
get name(): string;
|
|
7
|
+
static get router(): any;
|
|
8
|
+
get channelName(): string;
|
|
9
|
+
get layoutOptions(): Core.LayoutOptions<OnlineLayoutViewOptions>;
|
|
10
|
+
index(): void;
|
|
11
|
+
addToPlaylist(videoId: string): void;
|
|
12
|
+
}
|
|
@@ -5,6 +5,8 @@ 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';
|
|
8
10
|
import './apps/playlists/components/left-nav/left-nav.lang.json';
|
|
9
11
|
import './apps/playlists/components/new-playlist-button/new-playlist-button.lang.json';
|
|
10
12
|
import './apps/playlists/components/playlist-actions/playlist-actions.lang.json';
|
|
@@ -75,6 +77,8 @@ export * from './apps/subjects/SubjectApplication';
|
|
|
75
77
|
export * from './apps/subjects/SubjectPlaylistsApplication';
|
|
76
78
|
export * from './apps/content-updates/ContentUpdatesApplication';
|
|
77
79
|
export * from './apps/dashboard/OnlineDashboardApplication';
|
|
80
|
+
export * from './apps/movies-and-tv/MoviesAndTvApplication';
|
|
81
|
+
export * from './apps/libraries/LibrariesApplication';
|
|
78
82
|
import { Core } from "../../../libs/common/src/backbone";
|
|
79
83
|
import { InstanceManager } from "../../../libs/common/src/backbone/services/InstanceManager";
|
|
80
84
|
import { AlertType, BaseAlertService } from "../../../libs/common/src/backbone/services/BaseAlertService";
|
|
@@ -87,6 +91,7 @@ import { NotImplementedError } from "../../../libs/common/src/backbone/errors/No
|
|
|
87
91
|
import { CommonServices } from "../../../libs/common/src/backbone/constants/CommonServices";
|
|
88
92
|
import { LanguageService } from "../../../libs/common/src/backbone/services/LanguageService";
|
|
89
93
|
import { Flight } from "../../../libs/common/src/react";
|
|
94
|
+
import { ViewModelReducer } from "../../../libs/common/src/react/reducers/ViewModelReducer";
|
|
90
95
|
import { ScrollService } from "../../../libs/common/src/backbone/services/ScrollService";
|
|
91
96
|
import { CacheDurations } from "../../../libs/shared/src/constants/CacheDurations";
|
|
92
97
|
import { SharedDataServices } from "../../../libs/shared/src/constants/SharedServices";
|
|
@@ -106,4 +111,4 @@ import { CollectionApiClientHelper } from "../../../libs/analytics/src/utils/Col
|
|
|
106
111
|
import { CountryRegionMapping } from "../../../libs/analytics/src/constants/CountryRegionMapping";
|
|
107
112
|
import { CoreContextEnricher } from "../../../libs/analytics/src/enrichers/CoreContextEnricher";
|
|
108
113
|
import { UserDataEnricher } from "../../../libs/analytics/src/enrichers/UserDataEnricher";
|
|
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 };
|
|
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 };
|
|
@@ -42,6 +42,7 @@ export declare const Actions: {
|
|
|
42
42
|
ContentUpdates: {
|
|
43
43
|
CONTENT_UPDATES: string;
|
|
44
44
|
CLASSIFICATION_UPDATE: string;
|
|
45
|
+
CLASSIFICATION: string;
|
|
45
46
|
};
|
|
46
47
|
Dashboard: {
|
|
47
48
|
HOME: string;
|
|
@@ -55,5 +56,23 @@ export declare const Actions: {
|
|
|
55
56
|
CONTENT_UPDATES: string;
|
|
56
57
|
USER_CHANNELS: string;
|
|
57
58
|
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;
|
|
58
77
|
};
|
|
59
78
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseDataService } from "../../../../../libs/common/src/backbone/services/BaseDataService";
|
|
2
|
+
interface LanguageConfig {
|
|
3
|
+
locale: string;
|
|
4
|
+
phrases: any;
|
|
5
|
+
}
|
|
6
|
+
export declare class LanguageDataService extends BaseDataService {
|
|
7
|
+
get name(): string;
|
|
8
|
+
get channelName(): string;
|
|
9
|
+
getLanguageConfig(callback?: (languageConfig: LanguageConfig) => void): void;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clickview/online",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4-dev.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.
|
|
23
|
+
"@clickview/tooling": "0.0.18-dev.0",
|
|
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.
|
|
30
|
+
"@clickview/styles": "1.0.8-dev.0",
|
|
31
31
|
"yup": "0.27.0"
|
|
32
32
|
},
|
|
33
33
|
"babel": {
|