@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.
Files changed (30) hide show
  1. package/dist/libs/common/src/react/constants/ViewModelActions.d.ts +3 -0
  2. package/dist/libs/common/src/react/interfaces/ViewModelAction.d.ts +5 -0
  3. package/dist/libs/common/src/react/interfaces/ViewModelPayload.d.ts +5 -0
  4. package/dist/libs/common/src/react/reducers/ViewModelReducer.d.ts +3 -0
  5. package/dist/libs/shared/src/apps/subjects/components/preferences/preference-item/PreferenceItem.d.ts +15 -0
  6. package/dist/libs/shared/src/apps/subjects/components/preferences/preference-item/PreferenceItemStatus.d.ts +10 -0
  7. package/dist/libs/shared/src/apps/subjects/interfaces/Curriculum.d.ts +4 -0
  8. package/dist/libs/shared/src/apps/subjects/interfaces/SchoolLevel.d.ts +4 -0
  9. package/dist/libs/shared/src/components/svgs/ClickViewLogo.d.ts +2 -0
  10. package/dist/libs/shared/src/components/svgs/clickview-logo/ClickViewLogo.d.ts +3 -0
  11. package/dist/{projects/online/src/shared → libs/shared/src}/services/LanguageDataService.d.ts +2 -6
  12. package/dist/online-app.css.map +1 -0
  13. package/dist/online-app.js +2 -2
  14. package/dist/online-app.js.map +1 -0
  15. package/dist/projects/online/src/apps/libraries/LibrariesApplication.d.ts +11 -0
  16. package/dist/projects/online/src/apps/libraries/components/libraries-list/LibrariesList.d.ts +7 -0
  17. package/dist/projects/online/src/apps/libraries/components/libraries-list/partial-loading/PartialLibrariesList.d.ts +2 -0
  18. package/dist/projects/online/src/apps/libraries/components/library-item/LibraryItem.d.ts +7 -0
  19. package/dist/projects/online/src/apps/libraries/flight-requests/LibrariesRequests.d.ts +7 -0
  20. package/dist/projects/online/src/apps/libraries/utils/LibraryHelper.d.ts +9 -0
  21. package/dist/projects/online/src/apps/libraries/views/libraries/LibrariesView.d.ts +2 -0
  22. package/dist/projects/online/src/apps/movies-and-tv/MoviesAndTvApplication.d.ts +12 -0
  23. package/dist/projects/online/src/apps/movies-and-tv/views/movies-and-tv/MoviesAndTvView.d.ts +2 -0
  24. package/dist/projects/online/src/apps/subjects/views/preferences/curriculum/CurriculumSelectorView.d.ts +5 -0
  25. package/dist/projects/online/src/apps/subjects/views/preferences/school-level-selector/SchoolLevelSelectorView.d.ts +2 -0
  26. package/dist/projects/online/src/apps/subjects/views/preferences/welcome/PreferencesWelcomeView.d.ts +2 -0
  27. package/dist/projects/online/src/index.d.ts +2 -2
  28. package/dist/projects/online/src/shared/components/info-banner/InfoBanner.d.ts +2 -0
  29. package/dist/projects/online/src/shared/services/index.d.ts +0 -1
  30. 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
+ /// <reference types="react" />
2
+ import { Library } from "../../../../../../../libs/shared/src/interfaces";
3
+ interface LibrariesListProps {
4
+ libraries: Library[];
5
+ }
6
+ export declare function LibrariesList(props: LibrariesListProps): JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function PartialLibrariesList(): JSX.Element;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { Library } from "../../../../../../../libs/shared/src/interfaces";
3
+ interface LibraryItemProps {
4
+ library: Library;
5
+ }
6
+ export declare function LibraryItem(props: LibraryItemProps): JSX.Element;
7
+ export {};
@@ -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,2 @@
1
+ /// <reference types="react" />
2
+ export declare function LibrariesView(): JSX.Element;
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function MoviesAndTvView(): JSX.Element;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ interface CurriculumSelectorViewProps {
3
+ }
4
+ export declare function CurriculumSelectorView(props: CurriculumSelectorViewProps): JSX.Element;
5
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function SchoolLevelSelectorView(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function PreferencesWelcomeView(): JSX.Element;
@@ -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 };
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare function InfoBanner(props: React.PropsWithChildren<{}>): JSX.Element;
@@ -1,3 +1,2 @@
1
- export * from './LanguageDataService';
2
1
  export * from './AppBridgeService';
3
2
  export * from './OnlineContextService';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickview/online",
3
- "version": "0.0.2",
3
+ "version": "0.0.3-rc.1",
4
4
  "description": "Online",
5
5
  "main": "dist/online-app.js",
6
6
  "types": "dist/index.d.ts",