@clickview/online 0.0.8-rc.0 → 0.0.8-rc.2
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 -1
- package/dist/libs/common/src/react/flight/FlightHelpers.d.ts +1 -0
- package/dist/libs/common/src/react/utils/ArrayHelper.d.ts +11 -10
- package/dist/libs/shared/src/components/badges/Badge.d.ts +2 -1
- package/dist/libs/shared/src/components/favourite-button/FavouriteButton.d.ts +1 -1
- package/dist/libs/shared/src/components/thumbnails/video/VideoThumbnail.d.ts +1 -1
- package/dist/libs/shared/src/components/widgets/dynamic-widget/DynamicWidget.d.ts +6 -1
- package/dist/libs/shared/src/components/widgets/items/subject-widget-item/AllSubjectsWidgetLink.d.ts +10 -0
- package/dist/libs/shared/src/components/widgets/items/subject-widget-item/index.d.ts +4 -0
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +1 -0
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +1 -0
- package/dist/libs/shared/src/utils/CollectionHelper.d.ts +7 -0
- package/dist/online-app.css +8 -8
- package/dist/online-app.js +3 -3
- package/dist/projects/online/src/apps/subjects/SubjectApplication.d.ts +2 -0
- package/dist/projects/online/src/apps/subjects/utils/ClassificationAppLinks.d.ts +1 -0
- package/dist/projects/online/src/apps/subjects/views/classifications/ClassificationsView.d.ts +11 -0
- package/dist/projects/online/src/apps/subjects/views/classifications/index.d.ts +1 -0
- package/dist/projects/online/src/index.d.ts +3 -1
- package/dist/projects/online/src/shared/constants/Actions.d.ts +2 -0
- package/package.json +2 -2
|
@@ -8,6 +8,8 @@ export declare class SubjectApplication extends Core.Application {
|
|
|
8
8
|
get channelName(): string;
|
|
9
9
|
get layoutOptions(): Core.LayoutOptions<OnlineLayoutViewOptions>;
|
|
10
10
|
classification(classificationId: string, slug?: string, queryParams?: HashObject<string>): void;
|
|
11
|
+
classificationAll(): void;
|
|
12
|
+
classificationTopics(classificationId: string): void;
|
|
11
13
|
classificationPlaylists(id: string, slug?: string): void;
|
|
12
14
|
preferences(params?: HashObject): void;
|
|
13
15
|
protected onShowAlert(options?: HashObject): void;
|
|
@@ -2,5 +2,6 @@ import { Core } from "../../../../../../libs/common/src/backbone";
|
|
|
2
2
|
import { HashObject } from "../../../../../../libs/common/src/react/interfaces/HashObject";
|
|
3
3
|
import { Classification, Playlist } from "../../../../../../libs/shared/src/interfaces";
|
|
4
4
|
export declare const getClassificationAppLink: (params?: HashObject<any>) => (classification?: Classification) => Core.AppLink;
|
|
5
|
+
export declare const getClassificationTopicsAppLink: (params?: HashObject<any>) => (classification?: Classification) => Core.AppLink;
|
|
5
6
|
export declare const getPlaylistAppLink: (classification: Classification) => (playlist: Playlist) => Core.AppLink;
|
|
6
7
|
export declare const getDashboardAppLink: () => Core.AppLink;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Classification } from "../../../../../../../libs/shared/src/interfaces";
|
|
3
|
+
import { ActionOptions } from "../../../../../../../libs/shared/src/components/actions/Actions";
|
|
4
|
+
import { HashObject } from "../../../../../../../libs/analytics/src/interfaces";
|
|
5
|
+
export declare function getBannerActions(classification: Classification, onFollow: () => void, showFollowButtonSpinner: boolean): ActionOptions[];
|
|
6
|
+
interface ClassificationsViewProps {
|
|
7
|
+
id?: string;
|
|
8
|
+
queryParams?: HashObject;
|
|
9
|
+
}
|
|
10
|
+
export declare function ClassificationsView({ id }: ClassificationsViewProps): React.ReactElement;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ClassificationsView';
|
|
@@ -30,7 +30,8 @@ import './apps/playlists/views/new-playlist/new-playlist.lang.json';
|
|
|
30
30
|
import './apps/playlists/views/playlist/playlist-view.lang.json';
|
|
31
31
|
import './apps/playlists/views/playlists/playlists.lang.json';
|
|
32
32
|
import './apps/playlists/views/remove-video-from-playlist/remove-video-from-playlist.lang.json';
|
|
33
|
-
import './apps/subjects/views/classification/
|
|
33
|
+
import './apps/subjects/views/classification/classification-view.lang.json';
|
|
34
|
+
import './apps/subjects/views/classifications/classifications-view.lang.json';
|
|
34
35
|
import './apps/subjects/views/preferences/base-preferences.lang.json';
|
|
35
36
|
import './apps/subjects/views/preferences/curriculum-presentation/curriculum-presentation-selector.lang.json';
|
|
36
37
|
import './apps/subjects/views/preferences/level-preferences/level-preferences.lang.json';
|
|
@@ -61,6 +62,7 @@ import '../../../libs/shared/src/apps/upload/errors/file-type/file-type.lang.jso
|
|
|
61
62
|
import '../../../libs/shared/src/apps/upload/errors/internet-connectivity/internet-connectivity.lang.json';
|
|
62
63
|
import '../../../libs/shared/src/apps/upload/utils/upload-utils.lang.json';
|
|
63
64
|
import '../../../libs/shared/src/components/back-button/back-button.lang.json';
|
|
65
|
+
import '../../../libs/shared/src/components/badges/badge.lang.json';
|
|
64
66
|
import '../../../libs/shared/src/components/edit-video-details/edit-video-details.lang.json';
|
|
65
67
|
import '../../../libs/shared/src/components/favourite-button/favourite-button.lang.json';
|
|
66
68
|
import '../../../libs/shared/src/components/forms/form-buttons/form-buttons.lang.json';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clickview/online",
|
|
3
|
-
"version": "0.0.8-rc.
|
|
3
|
+
"version": "0.0.8-rc.2",
|
|
4
4
|
"description": "Online",
|
|
5
5
|
"main": "dist/online-app.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@types/yup": "0.26.24"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@clickview/styles": "1.0.10-rc.
|
|
30
|
+
"@clickview/styles": "1.0.10-rc.2",
|
|
31
31
|
"yup": "0.27.0"
|
|
32
32
|
},
|
|
33
33
|
"babel": {
|