@clickview/online 0.0.7-rc.0 → 0.0.7-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 +20 -4
- package/dist/libs/common/src/backbone/core/BaseView.d.ts +4 -0
- package/dist/libs/common/src/react/components/BackboneViewWrapper.d.ts +1 -1
- package/dist/libs/common/src/react/context/PageTitleContext.d.ts +10 -0
- package/dist/libs/{shared/src/hooks/useSetPageTitle.d.ts → common/src/react/hooks/UseSetPageTitle.d.ts} +1 -1
- package/dist/libs/common/src/react/utils/ArrayHelper.d.ts +1 -1
- package/dist/libs/common/src/react/utils/TextHelper.d.ts +1 -1
- package/dist/libs/shared/src/apps/playlists/components/playlist-list/PlaylistItem.d.ts +3 -0
- package/dist/libs/shared/src/apps/playlists/components/playlist-list/PlaylistList.d.ts +3 -0
- package/dist/libs/shared/src/apps/subjects/components/classification-list/ClassificationList.d.ts +3 -0
- package/dist/libs/shared/src/apps/subjects/components/preferences/bulk-preference-summary/BulkPreferenceSummary.d.ts +7 -0
- package/dist/libs/shared/src/apps/subjects/components/preferences/footer/PreferenceFooter.d.ts +6 -1
- package/dist/libs/shared/src/apps/subjects/utils/OnboardingHelper.d.ts +15 -0
- package/dist/libs/shared/src/components/back-button/BackButton.d.ts +3 -1
- package/dist/libs/shared/src/components/banner-header/BannerHeader.d.ts +1 -0
- package/dist/libs/shared/src/components/series-link/SeriesLink.d.ts +4 -0
- package/dist/libs/shared/src/components/thumbnails/base/BaseThumbnail.d.ts +3 -0
- package/dist/libs/shared/src/components/thumbnails/video/VideoThumbnail.d.ts +3 -0
- package/dist/libs/shared/src/components/widgets/dynamic-widget/DynamicWidget.d.ts +3 -0
- package/dist/libs/shared/src/components/widgets/fixed-widget/FixedWidget.d.ts +3 -0
- package/dist/libs/shared/src/components/widgets/items/series-widget-item/SeriesWidgetItem.d.ts +3 -0
- package/dist/libs/shared/src/components/widgets/items/subject-widget-item/EditSubjectsWidgetLink.d.ts +3 -0
- package/dist/libs/shared/src/components/widgets/items/subject-widget-item/SubjectWidgetItem.d.ts +3 -0
- package/dist/libs/shared/src/components/widgets/items/user-channels-widget-item/UserChannelsWidgetItem.d.ts +4 -0
- package/dist/libs/shared/src/components/widgets/items/video-widget-item/VideoWidgetItem.d.ts +3 -0
- package/dist/libs/shared/src/constants/AppVariables.d.ts +1 -0
- package/dist/libs/shared/src/enums/SettingName.d.ts +15 -1
- package/dist/libs/shared/src/flight-requests/SettingRequests.d.ts +1 -1
- package/dist/libs/shared/src/flight-requests/UserRequests.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/EntitySetting.d.ts +2 -2
- package/dist/libs/shared/src/interfaces/models/Theme.d.ts +7 -3
- package/dist/libs/shared/src/interfaces/models/User.d.ts +1 -1
- package/dist/libs/shared/src/interfaces/services/BaseSettingsDataService.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/services/index.d.ts +2 -0
- package/dist/libs/shared/src/services/UserDataService.d.ts +4 -3
- package/dist/libs/shared/src/utils/ImageHelper.d.ts +1 -0
- package/dist/libs/shared/src/utils/WidgetHelper.d.ts +12 -0
- package/dist/online-app.css +13 -11
- package/dist/online-app.js +3 -3
- package/dist/projects/online/src/apps/dashboard/components/hero-widget/CarouselItem.d.ts +1 -0
- package/dist/projects/online/src/apps/playlists/components/playlist-header/PlaylistHeader.d.ts +2 -0
- package/dist/projects/online/src/apps/subjects/SubjectApplication.d.ts +0 -1
- package/dist/projects/online/src/apps/subjects/utils/ClassificationAppLinks.d.ts +0 -1
- package/dist/projects/online/src/apps/subjects/utils/OnboardingHelper.d.ts +11 -12
- package/dist/projects/online/src/apps/subjects/views/preferences/{BasePreferencesView.d.ts → OnlineBasePreferencesView.d.ts} +1 -1
- package/dist/projects/online/src/apps/subjects/views/preferences/index.d.ts +7 -7
- package/dist/projects/online/src/index.d.ts +2 -2
- package/dist/projects/online/src/shared/constants/Actions.d.ts +0 -1
- package/package.json +2 -2
- package/dist/libs/shared/src/context/PageTitleContext.d.ts +0 -10
- package/dist/projects/online/src/apps/subjects/views/classification-series-list-view/ClassificationSeriesListView.d.ts +0 -8
- package/dist/projects/online/src/apps/subjects/views/classification-series-list-view/index.d.ts +0 -1
- package/dist/projects/online/src/shared/context/PageTitleContext.d.ts +0 -10
- package/dist/projects/online/src/shared/context/index.d.ts +0 -1
- /package/dist/libs/{shared/src → common/src/react}/utils/PageTitleHelper.d.ts +0 -0
- /package/dist/projects/online/src/apps/subjects/views/preferences/curriculum-presentation/{CurriculumPresentationSelectorView.d.ts → OnlineCurriculumPresentationSelectorView.d.ts} +0 -0
- /package/dist/projects/online/src/apps/subjects/views/preferences/level-preferences/{LevelPreferencesView.d.ts → OnlineLevelPreferencesView.d.ts} +0 -0
- /package/dist/projects/online/src/apps/subjects/views/preferences/subject-preferences/{SubjectPreferencesView.d.ts → OnlineSubjectPreferencesView.d.ts} +0 -0
- /package/dist/projects/online/src/apps/subjects/views/preferences/subject-presentation/{SubjectPresentationSelectorView.d.ts → OnlineSubjectPresentationSelectorView.d.ts} +0 -0
- /package/dist/projects/online/src/apps/subjects/views/preferences/summary/{PreferencesSummaryView.d.ts → OnlinePreferencesSummaryView.d.ts} +0 -0
- /package/dist/projects/online/src/apps/subjects/views/preferences/welcome/{PreferencesWelcomeView.d.ts → OnlinePreferencesWelcomeView.d.ts} +0 -0
- /package/dist/projects/online/src/shared/constants/{ViewModelKeys.d.ts → OnlineViewModels.d.ts} +0 -0
package/dist/projects/online/src/apps/playlists/components/playlist-header/PlaylistHeader.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ interface PlaylistHeaderProps {
|
|
|
11
11
|
canShare?: boolean;
|
|
12
12
|
canEdit?: boolean;
|
|
13
13
|
canFollow?: boolean;
|
|
14
|
+
backButtonAppLink?: Core.AppLink;
|
|
15
|
+
backButtonText?: string;
|
|
14
16
|
}
|
|
15
17
|
export declare function PlaylistHeader(props: PlaylistHeaderProps): JSX.Element;
|
|
16
18
|
export {};
|
|
@@ -8,7 +8,6 @@ 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
|
-
classificationSeries(classificationId: string, slug?: string, queryParams?: HashObject<string>): void;
|
|
12
11
|
classificationPlaylists(id: string, slug?: string): void;
|
|
13
12
|
preferences(params?: HashObject): void;
|
|
14
13
|
protected onShowAlert(options?: HashObject): void;
|
|
@@ -2,6 +2,5 @@ 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 getSeriesSubviewAppLink: (classification: Classification) => Core.AppLink;
|
|
6
5
|
export declare const getPlaylistAppLink: (classification: Classification) => (playlist: Playlist) => Core.AppLink;
|
|
7
6
|
export declare const getDashboardAppLink: () => Core.AppLink;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Core } from "../../../../../../libs/common/src/backbone";
|
|
3
|
-
import {
|
|
4
|
-
import { Presentation } from "../../../../../../libs/shared/src/interfaces";
|
|
5
|
-
import { BulkOnboardingPreferencesState } from "../../../../../../libs/shared/src/enums/BulkOnboardingPreferencesState";
|
|
6
|
-
import { PreferenceStep } from "../views/preferences/BasePreferencesView";
|
|
3
|
+
import { PreferenceStep } from "../../../../../../libs/shared/src/apps/subjects/utils/OnboardingHelper";
|
|
7
4
|
export declare const OnboardingHelper: {
|
|
8
5
|
buildAppLink(step: PreferenceStep, redirectUrl?: string): Core.AppLink;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
getComponent(step: PreferenceStep): (...props: any) => JSX.Element;
|
|
7
|
+
setSpotlightCookie(userId: string): void;
|
|
8
|
+
getSpotlightCookie(): string;
|
|
9
|
+
clearSpotlightCookie(): void;
|
|
10
|
+
getIsStep(currentStep: PreferenceStep): (steps?: "summary" | "curriculum" | "welcome" | "subjects" | "levels" | "school-level" | PreferenceStep[]) => boolean;
|
|
11
|
+
hasManyPresentationTypes(presentations?: import("../../../../../../libs/shared/src/interfaces").Presentation[]): import("../../../../../../libs/common/src/react/interfaces").HashObject<any>;
|
|
12
|
+
getBulkPreferencesState(state: import("../../../../../../libs/shared/src/enums/BulkOnboardingPreferencesState").BulkOnboardingPreferencesState): {
|
|
13
13
|
subjects: boolean;
|
|
14
|
+
levels: boolean;
|
|
14
15
|
};
|
|
15
16
|
stepIsValid(step: string): step is PreferenceStep;
|
|
16
|
-
hasBulkSelectedLevels(bulkState: BulkOnboardingPreferencesState): boolean;
|
|
17
|
-
hasBulkSelectedSubjects(bulkState: BulkOnboardingPreferencesState): boolean;
|
|
18
|
-
getBackgroundImage(step: PreferenceStep): string;
|
|
19
|
-
getComponent(step: PreferenceStep): (...props: any) => JSX.Element;
|
|
17
|
+
hasBulkSelectedLevels(bulkState: import("../../../../../../libs/shared/src/enums/BulkOnboardingPreferencesState").BulkOnboardingPreferencesState): boolean;
|
|
18
|
+
hasBulkSelectedSubjects(bulkState: import("../../../../../../libs/shared/src/enums/BulkOnboardingPreferencesState").BulkOnboardingPreferencesState): boolean;
|
|
20
19
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
import { PreferenceStep } from "../../../../../../../libs/shared/src/apps/subjects/utils/OnboardingHelper";
|
|
3
3
|
interface BasePreferencesViewProps {
|
|
4
4
|
step: PreferenceStep;
|
|
5
5
|
redirectUrl: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './subject-preferences/
|
|
3
|
-
export * from './level-preferences/
|
|
4
|
-
export * from './summary/
|
|
5
|
-
export * from './subject-presentation/
|
|
6
|
-
export * from './curriculum-presentation/
|
|
7
|
-
export * from './welcome/
|
|
1
|
+
export * from './OnlineBasePreferencesView';
|
|
2
|
+
export * from './subject-preferences/OnlineSubjectPreferencesView';
|
|
3
|
+
export * from './level-preferences/OnlineLevelPreferencesView';
|
|
4
|
+
export * from './summary/OnlinePreferencesSummaryView';
|
|
5
|
+
export * from './subject-presentation/OnlineSubjectPresentationSelectorView';
|
|
6
|
+
export * from './curriculum-presentation/OnlineCurriculumPresentationSelectorView';
|
|
7
|
+
export * from './welcome/OnlinePreferencesWelcomeView';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import './apps/content-updates/components/classification-banner/classification-banner.lang.json';
|
|
2
2
|
import './apps/content-updates/components/classification-update-breadcrumbs/classification-update-breadcrumbs.lang.json';
|
|
3
3
|
import './apps/content-updates/components/whats-new-breadcrumbs/online-whats-new-breadcrumbs.lang.json';
|
|
4
|
+
import './apps/content-updates/views/classification-update/classification-update.lang.json';
|
|
4
5
|
import './apps/content-updates/views/content-updates/content-updates.lang.json';
|
|
5
6
|
import './apps/dashboard/components/hero-widget/hero-widget.lang.json';
|
|
6
7
|
import './apps/dashboard/components/onboarding-nag/onboarding-nag.lang.json';
|
|
@@ -29,8 +30,8 @@ import './apps/playlists/views/new-playlist/new-playlist.lang.json';
|
|
|
29
30
|
import './apps/playlists/views/playlist/playlist-view.lang.json';
|
|
30
31
|
import './apps/playlists/views/playlists/playlists.lang.json';
|
|
31
32
|
import './apps/playlists/views/remove-video-from-playlist/remove-video-from-playlist.lang.json';
|
|
32
|
-
import './apps/subjects/views/classification-series-list-view/classification-series-list.lang.json';
|
|
33
33
|
import './apps/subjects/views/classification/classifications-view.lang.json';
|
|
34
|
+
import './apps/subjects/views/preferences/base-preferences.lang.json';
|
|
34
35
|
import './apps/subjects/views/preferences/curriculum-presentation/curriculum-presentation-selector.lang.json';
|
|
35
36
|
import './apps/subjects/views/preferences/level-preferences/level-preferences.lang.json';
|
|
36
37
|
import './apps/subjects/views/preferences/subject-preferences/subject-preferences.lang.json';
|
|
@@ -38,7 +39,6 @@ import './apps/subjects/views/preferences/subject-presentation/subject-presentat
|
|
|
38
39
|
import './apps/subjects/views/preferences/summary/preferences-summary.lang.json';
|
|
39
40
|
import './apps/subjects/views/preferences/welcome/preferences-welcome.lang.json';
|
|
40
41
|
import './shared/components/video-list/video-list.lang.json';
|
|
41
|
-
import './shared/context/context.lang.json';
|
|
42
42
|
import './shared/errors/not-found/not-found-error.lang.json';
|
|
43
43
|
import './shared/views/error/error.lang.json';
|
|
44
44
|
import './shared/views/share/share.lang.json';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clickview/online",
|
|
3
|
-
"version": "0.0.7-rc.
|
|
3
|
+
"version": "0.0.7-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.
|
|
30
|
+
"@clickview/styles": "1.0.9-rc.1",
|
|
31
31
|
"yup": "0.27.0"
|
|
32
32
|
},
|
|
33
33
|
"babel": {
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface IPageTitleContext {
|
|
3
|
-
setPageTitle?: (title: string) => void;
|
|
4
|
-
revertPageTitle?: () => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const PageTitleContext: React.Context<IPageTitleContext>;
|
|
7
|
-
export declare const PageTitleContextProvider: ({ children }: {
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
}) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
10
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { HashObject } from "../../../../../../../libs/common/src/react/interfaces/HashObject";
|
|
3
|
-
interface ClassificationSeriesListViewProps {
|
|
4
|
-
id: string;
|
|
5
|
-
queryParams?: HashObject;
|
|
6
|
-
}
|
|
7
|
-
export declare function ClassificationSeriesListView(props: ClassificationSeriesListViewProps): React.ReactElement;
|
|
8
|
-
export {};
|
package/dist/projects/online/src/apps/subjects/views/classification-series-list-view/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ClassificationSeriesListView';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface IPageTitleContext {
|
|
3
|
-
setPageTitle?: (title: string) => void;
|
|
4
|
-
revertPageTitle?: () => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const PageTitleContext: React.Context<IPageTitleContext>;
|
|
7
|
-
export declare const PageTitleContextProvider: ({ children }: {
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
}) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
10
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './PageTitleContext';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/projects/online/src/shared/constants/{ViewModelKeys.d.ts → OnlineViewModels.d.ts}
RENAMED
|
File without changes
|