@clickview/online 0.0.10-dev.0 → 0.0.10-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.
- package/dist/en.json +1 -1
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +2 -0
- package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +5 -1
- package/dist/libs/common/src/backbone/core/index.d.ts +1 -1
- package/dist/libs/common/src/backbone/utils/LocalStorageHelper.d.ts +1 -1
- package/dist/libs/common/src/react/flight/FlightHelpers.d.ts +1 -1
- package/dist/libs/common/src/react/hooks/UseViewModel.d.ts +5 -1
- package/dist/libs/common/src/react/utils/TimeHelper.d.ts +1 -0
- package/dist/libs/shared/src/apps/playlists/components/playlist-list/PlaylistItem.d.ts +1 -2
- package/dist/libs/shared/src/apps/playlists/components/sort-select/PlaylistSortSelect.d.ts +7 -0
- package/dist/libs/shared/src/apps/playlists/utils/PlaylistSortHelper.d.ts +2 -1
- package/dist/libs/shared/src/apps/playlists/utils/PlaylistStateUpdateHelper.d.ts +0 -2
- package/dist/libs/shared/src/apps/playlists/utils/RecentPlaylistHelper.d.ts +2 -4
- package/dist/libs/shared/src/apps/subjects/components/audience-filter/AudienceFilter.d.ts +3 -3
- package/dist/libs/shared/src/apps/subjects/components/coming-soon/ComingSoon.d.ts +1 -0
- package/dist/libs/shared/src/apps/subjects/hooks/useAudienceFilter.d.ts +10 -0
- package/dist/libs/shared/src/components/banner-header/BannerHeader.d.ts +1 -0
- package/dist/libs/shared/src/components/breadcrumbs/Breadcrumbs.d.ts +3 -1
- package/dist/libs/shared/src/components/search-bar/SearchBar.d.ts +10 -0
- package/dist/libs/shared/src/components/search-bar/SearchInput.d.ts +2 -1
- package/dist/libs/shared/src/components/spotlight/Spotlight.d.ts +12 -0
- package/dist/libs/shared/src/components/thumbnails/video/VideoThumbnail.d.ts +6 -5
- package/dist/libs/shared/src/components/widgets/dynamic-widget/DynamicWidget.d.ts +1 -1
- package/dist/libs/shared/src/components/widgets/items/video-widget-item/VideoWidgetItem.d.ts +2 -0
- package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +1 -0
- package/dist/libs/shared/src/constants/SharedViewModelKeys.d.ts +4 -0
- package/dist/libs/shared/src/constants/WithStatements.d.ts +9 -0
- package/dist/libs/shared/src/enums/MediaQueries.d.ts +3 -1
- package/dist/libs/shared/src/enums/PermissionName.d.ts +23 -0
- package/dist/libs/shared/src/enums/ResourceFileType.d.ts +9 -0
- package/dist/libs/shared/src/enums/SettingName.d.ts +0 -1
- package/dist/libs/shared/src/flight-requests/PlaylistRequests.d.ts +3 -3
- package/dist/libs/shared/src/flight-requests/SettingRequests.d.ts +2 -1
- package/dist/libs/shared/src/flight-requests/UserRequests.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/collections/ClassificationCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/ClassroomCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/ClassroomGroupCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/InteractiveCollection.d.ts +2 -2
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Classroom.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/ClassroomGroup.d.ts +18 -0
- package/dist/libs/shared/src/interfaces/models/Clip.d.ts +4 -3
- package/dist/libs/shared/src/interfaces/models/Curriculum.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/InteractiveMetadata.d.ts +14 -0
- package/dist/libs/shared/src/interfaces/models/Resource.d.ts +2 -2
- package/dist/libs/shared/src/interfaces/models/User.d.ts +4 -2
- package/dist/libs/shared/src/interfaces/models/Video.d.ts +6 -2
- package/dist/libs/shared/src/interfaces/models/VideoHistory.d.ts +4 -1
- package/dist/libs/shared/src/interfaces/models/Widget.d.ts +1 -1
- package/dist/libs/shared/src/interfaces/models/YearGroup.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/index.d.ts +5 -1
- package/dist/libs/shared/src/interfaces/models/interactive/ActionableItem.d.ts +6 -0
- package/dist/libs/shared/src/interfaces/models/interactive/Interaction.d.ts +16 -0
- package/dist/libs/shared/src/interfaces/models/interactive/InteractionType.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/interactive/InteractionTypeId.d.ts +8 -0
- package/dist/libs/shared/src/interfaces/models/interactive/Interactive.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/interactive/Timepoint.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/models/interactive/index.d.ts +6 -0
- package/dist/libs/shared/src/interfaces/models/primitives/BaseObject.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/primitives/VirtualObject.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/primitives/index.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/requests/CreateOrUpdateClipRequest.d.ts +6 -0
- package/dist/libs/shared/src/interfaces/requests/CreateViewKeyRequest.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +1 -0
- package/dist/libs/shared/src/utils/FavouriteHelpers.d.ts +30 -0
- package/dist/libs/shared/src/utils/RecentItemHelper.d.ts +11 -0
- package/dist/libs/shared/src/utils/UserHelper.d.ts +0 -3
- package/dist/libs/shared/src/utils/VideoDetailsHelper.d.ts +0 -9
- package/dist/libs/shared/src/utils/VideoHelper.d.ts +5 -0
- package/dist/online-app.css +19 -15
- package/dist/online-app.js +5 -5
- package/dist/projects/online/src/apps/content-updates/components/index.d.ts +1 -1
- package/dist/projects/online/src/apps/playlists/components/left-nav/LeftNav.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/components/left-nav/left-nav-item/LeftNavItem.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/components/playlist-header/PlaylistHeader.d.ts +1 -0
- package/dist/projects/online/src/apps/playlists/components/playlist-list-header/PlaylistListHeader.d.ts +0 -1
- package/dist/projects/online/src/apps/playlists/filters/MigrationFilter.d.ts +1 -1
- package/dist/projects/online/src/apps/playlists/views/playlists/PlaylistsView.d.ts +1 -1
- package/dist/projects/online/src/index.d.ts +4 -2
- package/dist/projects/online/src/shared/constants/Actions.d.ts +1 -2
- package/dist/projects/online/src/shared/hooks/UseSetOnlinePageTitle.d.ts +1 -0
- package/dist/projects/online/src/shared/utils/OnlineHelper.d.ts +1 -0
- package/dist/projects/online/src/styles/index.d.ts +1 -0
- package/package.json +4 -4
- package/dist/libs/shared/src/apps/subjects/hooks/useAudienceParams.d.ts +0 -5
- package/dist/libs/shared/src/apps/subjects/reducers/AudienceReducer.d.ts +0 -11
- package/dist/libs/shared/src/enums/PlayerMediaType.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Interactive.d.ts +0 -9
- package/dist/libs/shared/src/utils/CollectionHelper.d.ts +0 -16
- package/dist/projects/online/src/apps/playlists/components/legacy-playlist-list/LegacyPartialPlaylistList.d.ts +0 -2
- package/dist/projects/online/src/apps/playlists/components/legacy-playlist-list/LegacyPlaylistItem.d.ts +0 -7
- package/dist/projects/online/src/apps/playlists/components/legacy-playlist-list/LegacyPlaylistList.d.ts +0 -7
- /package/dist/projects/online/src/apps/content-updates/components/classification-banner/{ClassifictionBannerContainer.d.ts → ClassificationBanner.d.ts} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './whats-new-breadcrumbs/WhatsNewBreadcrumbsContainer';
|
|
2
|
-
export * from './classification-banner/
|
|
2
|
+
export * from './classification-banner/ClassificationBanner';
|
|
3
3
|
export * from './classification-update-breadcrumbs/ClassificationUpdateBreadcrumbsContainer';
|
package/dist/projects/online/src/apps/playlists/components/left-nav/left-nav-item/LeftNavItem.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { CurrentUser, Playlist } from "../../../../../../../../libs/shared/src/i
|
|
|
3
3
|
interface LeftNavItemProps {
|
|
4
4
|
playlist: Playlist;
|
|
5
5
|
currentUser: CurrentUser;
|
|
6
|
-
canFollow: boolean;
|
|
7
6
|
selected?: boolean;
|
|
8
7
|
}
|
|
9
8
|
export declare function LeftNavItem(props: LeftNavItemProps): React.ReactElement;
|
|
@@ -7,6 +7,5 @@ export interface PlaylistListHeaderProps {
|
|
|
7
7
|
imageCdnUrl: string;
|
|
8
8
|
sortType: PlaylistSortType;
|
|
9
9
|
getSortAppLink: (sort: PlaylistSortType) => Core.AppLink;
|
|
10
|
-
canFollow: boolean;
|
|
11
10
|
}
|
|
12
11
|
export declare function PlaylistListHeader(props: PlaylistListHeaderProps): React.ReactElement;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Core } from "../../../../../../libs/common/src/backbone";
|
|
2
|
-
export declare function MigrationFilter(
|
|
2
|
+
export declare function MigrationFilter(options: Core.FilterOptions, next: Core.MiddlewareNext<Core.FilterOptions>): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PlaylistSortType } from "../../../../../../../libs/shared/src/apps/playlists/enums/PlaylistSortType";
|
|
3
3
|
interface PlaylistsViewProps {
|
|
4
|
-
sort
|
|
4
|
+
sort?: PlaylistSortType;
|
|
5
5
|
}
|
|
6
6
|
export declare function PlaylistsView(props: PlaylistsViewProps): React.ReactElement;
|
|
7
7
|
export {};
|
|
@@ -14,7 +14,6 @@ import './apps/libraries/views/libraries/libraries.lang.json';
|
|
|
14
14
|
import './apps/movies-and-tv/views/movies-and-tv/movies-and-tv.lang.json';
|
|
15
15
|
import './apps/playlists/components/left-nav/left-nav-item/left-nav-item.lang.json';
|
|
16
16
|
import './apps/playlists/components/left-nav/left-nav.lang.json';
|
|
17
|
-
import './apps/playlists/components/legacy-playlist-list/legacy-playlist-item.lang.json';
|
|
18
17
|
import './apps/playlists/components/playlist-details/playlist-details.lang.json';
|
|
19
18
|
import './apps/playlists/components/playlist-header/playlist-header.lang.json';
|
|
20
19
|
import './apps/playlists/components/playlist-list-header/playlist-list-header.lang.json';
|
|
@@ -58,6 +57,7 @@ import '../../../libs/shared/src/apps/playlists/validation/playlists-validation.
|
|
|
58
57
|
import '../../../libs/shared/src/apps/search/components/search-tips/search-tips.lang.json';
|
|
59
58
|
import '../../../libs/shared/src/apps/search/services/search-services.lang.json';
|
|
60
59
|
import '../../../libs/shared/src/apps/search/views/search-bar/search-bar.lang.json';
|
|
60
|
+
import '../../../libs/shared/src/apps/subjects/components/audience-filter/audience-filter.lang.json';
|
|
61
61
|
import '../../../libs/shared/src/apps/subjects/components/coming-soon/coming-soon.lang.json';
|
|
62
62
|
import '../../../libs/shared/src/apps/subjects/components/hero-video/hero-video.lang.json';
|
|
63
63
|
import '../../../libs/shared/src/apps/upload/errors/file-type/file-type.lang.json';
|
|
@@ -100,6 +100,7 @@ import '../../../libs/shared/src/views/delete-resource/delete-resource-view.lang
|
|
|
100
100
|
import '../../../libs/shared/src/views/delete-subtitle/delete-subtitle-view.lang.json';
|
|
101
101
|
import '../../../libs/shared/src/views/edit-link/edit-link-view.lang.json';
|
|
102
102
|
import '../../../libs/shared/src/views/edit-resource/edit-resource-view.lang.json';
|
|
103
|
+
import './styles';
|
|
103
104
|
export * from './shared/constants/Layouts';
|
|
104
105
|
export * from './shared/constants/Services';
|
|
105
106
|
export * from './shared/services/OnlineContextService';
|
|
@@ -131,6 +132,7 @@ import { CommonServices } from "../../../libs/common/src/backbone/constants/Comm
|
|
|
131
132
|
import { LanguageService } from "../../../libs/common/src/backbone/services/LanguageService";
|
|
132
133
|
import { Flight } from "../../../libs/common/src/react";
|
|
133
134
|
import { ViewModelReducer } from "../../../libs/common/src/react/reducers/ViewModelReducer";
|
|
135
|
+
import { EnvironmentVariables } from "../../../libs/common/src/backbone/services/EnvironmentVariables";
|
|
134
136
|
import { CacheDurations } from "../../../libs/shared/src/constants/CacheDurations";
|
|
135
137
|
import { SharedDataServices } from "../../../libs/shared/src/constants/SharedServices";
|
|
136
138
|
import { ConfigDataService } from "../../../libs/shared/src/services/ConfigDataService";
|
|
@@ -152,4 +154,4 @@ import { CollectionApiClientHelper } from "../../../libs/analytics/src/utils/Col
|
|
|
152
154
|
import { CountryRegionMapping } from "../../../libs/analytics/src/constants/CountryRegionMapping";
|
|
153
155
|
import { CoreContextEnricher } from "../../../libs/analytics/src/enrichers/CoreContextEnricher";
|
|
154
156
|
import { UserDataEnricher } from "../../../libs/analytics/src/enrichers/UserDataEnricher";
|
|
155
|
-
export { Core, InstanceManager, BaseAlertService, AlertType, FifoMemoryCache, AjaxDataProvider, ConcurrencyHelper, UrlHelper, DevError, NotImplementedError, CommonServices, LanguageService, Flight, ViewModelReducer, CacheDurations, SharedDataServices, ConfigDataService, UserDataService, LanguageDataService, ImageUrlService, AnalyticsService, DebuggerClient, EventTransport, CollectionApiClient, CollectionApiClientHelper, CountryRegionMapping, CoreContextEnricher, UserDataEnricher, AppOptionsService, AlertError, DialogError, ErrorPageError, AlertList, AlertView, LangHelper, LearningResourceUploadService, SubtitleUploadService, AppChannels, Actions };
|
|
157
|
+
export { Core, InstanceManager, BaseAlertService, AlertType, FifoMemoryCache, AjaxDataProvider, ConcurrencyHelper, UrlHelper, DevError, NotImplementedError, CommonServices, LanguageService, Flight, ViewModelReducer, EnvironmentVariables, CacheDurations, SharedDataServices, ConfigDataService, UserDataService, LanguageDataService, ImageUrlService, AnalyticsService, DebuggerClient, EventTransport, CollectionApiClient, CollectionApiClientHelper, CountryRegionMapping, CoreContextEnricher, UserDataEnricher, AppOptionsService, AlertError, DialogError, ErrorPageError, AlertList, AlertView, LangHelper, LearningResourceUploadService, SubtitleUploadService, AppChannels, Actions };
|
|
@@ -69,12 +69,11 @@ export declare const Actions: {
|
|
|
69
69
|
Libraries: {
|
|
70
70
|
HOME: string;
|
|
71
71
|
LIBRARY: string;
|
|
72
|
-
CONTENT_UPDATES: string;
|
|
73
|
-
LATEST_RELEASES: string;
|
|
74
72
|
SERIES: string;
|
|
75
73
|
VIDEO: string;
|
|
76
74
|
INTERACTVIES: string;
|
|
77
75
|
MOST_RECENT: string;
|
|
76
|
+
RECENTLY_ADDED: string;
|
|
78
77
|
};
|
|
79
78
|
Exchange: {
|
|
80
79
|
HOME: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useSetOnlinePageTitle(title: string | boolean, dependencies?: any[]): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './buttons.scss';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clickview/online",
|
|
3
|
-
"version": "0.0.10-
|
|
3
|
+
"version": "0.0.10-rc.0",
|
|
4
4
|
"description": "Online",
|
|
5
5
|
"main": "dist/online-app.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
"author": "",
|
|
21
21
|
"license": "ISC",
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@clickview/eslint-config": "
|
|
24
|
-
"@clickview/tooling": "0.0.19-
|
|
23
|
+
"@clickview/eslint-config": "1.0.0",
|
|
24
|
+
"@clickview/tooling": "0.0.19-rc.0",
|
|
25
25
|
"@types/linkifyjs": "2.1.3",
|
|
26
26
|
"@types/react-sortable-hoc": "0.7.1",
|
|
27
27
|
"@types/react-transition-group": "4.2.3",
|
|
28
28
|
"@types/yup": "0.26.24"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@clickview/styles": "1.0.12-
|
|
31
|
+
"@clickview/styles": "1.0.12-rc.0",
|
|
32
32
|
"yup": "0.27.0"
|
|
33
33
|
},
|
|
34
34
|
"babel": {
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { HashObject, ReducerActions } from "../../../../../common/src/react/interfaces";
|
|
3
|
-
import { PresentationAudience } from "../../../interfaces";
|
|
4
|
-
import { AudienceActions } from "../reducers/AudienceReducer";
|
|
5
|
-
export declare function useParseAudienceParams(params: HashObject, audiences: PresentationAudience[], dispatch: React.Dispatch<ReducerActions<AudienceActions>>, dependencies?: any[]): void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReducerActions } from "../../../../../common/src/react/interfaces";
|
|
2
|
-
import { PresentationAudience } from "../../../interfaces";
|
|
3
|
-
export declare enum AudienceActions {
|
|
4
|
-
Init = "init",
|
|
5
|
-
Toggle = "toggle"
|
|
6
|
-
}
|
|
7
|
-
export interface ActiveAudiences {
|
|
8
|
-
[audienceId: string]: PresentationAudience;
|
|
9
|
-
}
|
|
10
|
-
export declare const InitialAudienceState: ActiveAudiences;
|
|
11
|
-
export declare function AudienceReducer(prevState: ActiveAudiences, action: ReducerActions<AudienceActions>): ActiveAudiences;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { LegacyPagination } from "../../../common/src/backbone/interfaces";
|
|
2
|
-
import { BasePaginatedCollection, BaseObject } from "../interfaces";
|
|
3
|
-
interface LegacyPaginatedCollection {
|
|
4
|
-
data: BaseObject[];
|
|
5
|
-
pagination: LegacyPagination;
|
|
6
|
-
}
|
|
7
|
-
export declare const CollectionHelper: {
|
|
8
|
-
isEmpty(collection: BasePaginatedCollection<BaseObject>): boolean;
|
|
9
|
-
length(collection: BasePaginatedCollection<BaseObject>): number;
|
|
10
|
-
at<T extends BaseObject>(collection: BasePaginatedCollection<T>, idx: number): T;
|
|
11
|
-
get<T_1 extends BaseObject>(collection: BasePaginatedCollection<T_1>, id: string): T_1;
|
|
12
|
-
flattenCollections<T_2 extends BaseObject, U extends BasePaginatedCollection<T_2>>(collections: U[]): T_2[];
|
|
13
|
-
getNextCursor<T_3 extends BaseObject, U_1 extends BasePaginatedCollection<T_3>>(collection: U_1): string;
|
|
14
|
-
convertLegacyPaginatedCollection(collection: LegacyPaginatedCollection): BasePaginatedCollection<BaseObject>;
|
|
15
|
-
};
|
|
16
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Playlist } from "../../../../../../../libs/shared/src/interfaces";
|
|
3
|
-
interface LegacyPlaylistItemProps {
|
|
4
|
-
playlist: Playlist;
|
|
5
|
-
}
|
|
6
|
-
export declare function LegacyPlaylistItem(props: LegacyPlaylistItemProps): React.ReactElement;
|
|
7
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Playlist } from "../../../../../../../libs/shared/src/interfaces";
|
|
3
|
-
interface PlaylistListProps {
|
|
4
|
-
playlists: Playlist[];
|
|
5
|
-
}
|
|
6
|
-
export declare function LegacyPlaylistList(props: PlaylistListProps): React.ReactElement;
|
|
7
|
-
export {};
|