@clickview/online 0.0.2 → 0.0.3-rc.1
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/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/apps/subjects/components/preferences/preference-item/PreferenceItem.d.ts +15 -0
- package/dist/libs/shared/src/apps/subjects/components/preferences/preference-item/PreferenceItemStatus.d.ts +10 -0
- package/dist/libs/shared/src/apps/subjects/interfaces/Curriculum.d.ts +4 -0
- package/dist/libs/shared/src/apps/subjects/interfaces/SchoolLevel.d.ts +4 -0
- package/dist/libs/shared/src/components/svgs/ClickViewLogo.d.ts +2 -0
- package/dist/libs/shared/src/components/svgs/clickview-logo/ClickViewLogo.d.ts +3 -0
- package/dist/{projects/online/src/shared → libs/shared/src}/services/LanguageDataService.d.ts +2 -6
- package/dist/online-app.css.map +1 -0
- package/dist/online-app.js +2 -2
- 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/apps/subjects/views/preferences/curriculum/CurriculumSelectorView.d.ts +5 -0
- package/dist/projects/online/src/apps/subjects/views/preferences/school-level-selector/SchoolLevelSelectorView.d.ts +2 -0
- package/dist/projects/online/src/apps/subjects/views/preferences/welcome/PreferencesWelcomeView.d.ts +2 -0
- package/dist/projects/online/src/index.d.ts +2 -2
- package/dist/projects/online/src/shared/components/info-banner/InfoBanner.d.ts +2 -0
- package/dist/projects/online/src/shared/services/index.d.ts +0 -1
- package/package.json +1 -1
|
@@ -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
|
+
}
|
|
@@ -65,7 +65,6 @@ import '../../../libs/shared/src/utils/shared-utils.lang.json';
|
|
|
65
65
|
import '../../../libs/shared/src/utils/video-actions/video-actions-helper.lang.json';
|
|
66
66
|
export * from './shared/constants/Layouts';
|
|
67
67
|
export * from './shared/constants/Services';
|
|
68
|
-
export * from './shared/services/LanguageDataService';
|
|
69
68
|
export * from './shared/services/OnlineContextService';
|
|
70
69
|
export * from './shared/layouts/OnlineLayoutView';
|
|
71
70
|
export * from './apps/default/OnlineDefaultApplication';
|
|
@@ -93,6 +92,7 @@ import { CacheDurations } from "../../../libs/shared/src/constants/CacheDuration
|
|
|
93
92
|
import { SharedDataServices } from "../../../libs/shared/src/constants/SharedServices";
|
|
94
93
|
import { ConfigDataService } from "../../../libs/shared/src/services/ConfigDataService";
|
|
95
94
|
import { UserDataService } from "../../../libs/shared/src/services/UserDataService";
|
|
95
|
+
import { LanguageDataService } from "../../../libs/shared/src/services/LanguageDataService";
|
|
96
96
|
import { ImageUrlService } from "../../../libs/shared/src/services/ImageUrlService";
|
|
97
97
|
import { AppOptionsService } from "../../../libs/shared/src/services/AppOptionsService";
|
|
98
98
|
import { AlertError } from "../../../libs/shared/src/errors/primitives/AlertError";
|
|
@@ -106,4 +106,4 @@ import { CollectionApiClientHelper } from "../../../libs/analytics/src/utils/Col
|
|
|
106
106
|
import { CountryRegionMapping } from "../../../libs/analytics/src/constants/CountryRegionMapping";
|
|
107
107
|
import { CoreContextEnricher } from "../../../libs/analytics/src/enrichers/CoreContextEnricher";
|
|
108
108
|
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, 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 };
|