@clickview/lite 0.0.4 → 0.0.5-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/apps/content-updates/LiteContentUpdatesApplication.d.ts +16 -0
- package/dist/apps/content-updates/utils/LiteContentUpdateAppLinks.d.ts +2 -0
- package/dist/apps/content-updates/utils/index.d.ts +1 -0
- package/dist/apps/default/LiteDefaultApplication.d.ts +9 -2
- package/dist/apps/default/views/dialog/LiteDialogView.d.ts +2 -0
- package/dist/apps/default/views/index.d.ts +2 -0
- package/dist/apps/embed/LiteEmbedApplication.d.ts +2 -2
- package/dist/apps/notifications/LiteNotificationsApplication.d.ts +2 -2
- package/dist/apps/playlists/LitePlaylistsApplication.d.ts +4 -4
- package/dist/apps/search/LiteSearchApplication.d.ts +0 -1
- package/dist/apps/search/components/filter-actions/FilterActions.d.ts +11 -0
- package/dist/apps/search/components/filter-button/FilterButton.d.ts +7 -0
- package/dist/apps/search/components/filter-types/checkbox-filter/CheckboxFilter.d.ts +5 -0
- package/dist/apps/search/components/filter-types/index.d.ts +4 -0
- package/dist/apps/search/components/filter-types/more-filters/MoreFilters.d.ts +5 -0
- package/dist/apps/search/components/filter-types/radio-filter/RadioFilter.d.ts +7 -0
- package/dist/apps/search/components/filter-types/switch-filter/SwitchFilter.d.ts +3 -0
- package/dist/apps/search/components/index.d.ts +5 -0
- package/dist/apps/search/components/reset-button/ResetButton.d.ts +6 -0
- package/dist/apps/search/components/search-filters/PartialSearchFilters.d.ts +2 -0
- package/dist/apps/search/components/search-filters/SearchFilters.d.ts +3 -1
- package/dist/apps/search/interfaces/FilterProps.d.ts +4 -0
- package/dist/apps/search/interfaces/SearchFilter.d.ts +17 -0
- package/dist/apps/search/interfaces/SearchResults.d.ts +3 -2
- package/dist/apps/search/interfaces/index.d.ts +2 -0
- package/dist/apps/search/reducers/FilterReducer.d.ts +28 -0
- package/dist/apps/search/reducers/index.d.ts +1 -0
- package/dist/apps/search/utils/FilterHelper.d.ts +14 -0
- package/dist/apps/search/utils/SearchHelper.d.ts +2 -3
- package/dist/apps/search/utils/index.d.ts +1 -0
- package/dist/apps/search/views/search-results/SearchResultsView.d.ts +1 -1
- package/dist/apps/subjects/LiteSubjectApplication.d.ts +3 -2
- package/dist/bundle.js +1 -1
- package/dist/en.json +1 -1
- package/dist/index.d.ts +25 -0
- package/dist/lite-app.css +27 -3
- package/dist/shared/components/clips/ClipItem.d.ts +8 -0
- package/dist/shared/components/clips/Clips.d.ts +7 -0
- package/dist/shared/components/div-button/DivButton.d.ts +10 -0
- package/dist/shared/components/immersive-reader/ImmersiveReader.d.ts +8 -0
- package/dist/shared/components/index.d.ts +9 -0
- package/dist/shared/components/interactives/InteractiveItem.d.ts +7 -0
- package/dist/shared/components/interactives/Interactives.d.ts +7 -0
- package/dist/shared/components/play-page/PlayPage.d.ts +1 -0
- package/dist/shared/components/play-page/VideoTitle.d.ts +1 -0
- package/dist/shared/components/synopsis/Synopsis.d.ts +8 -0
- package/dist/shared/components/upload-file-select/UploadFileSelect.d.ts +6 -0
- package/dist/shared/components/uploading-item/UploadingItem.d.ts +9 -0
- package/dist/shared/components/user-options/UserOptions.d.ts +1 -1
- package/dist/shared/components/video-details/VideoDetails.d.ts +1 -4
- package/dist/shared/constants/LiteActions.d.ts +30 -0
- package/dist/shared/constants/LiteLayouts.d.ts +1 -0
- package/dist/shared/constants/LiteRadioChannels.d.ts +6 -0
- package/dist/shared/constants/RadioChannels.d.ts +10 -0
- package/dist/shared/constants/Services.d.ts +24 -0
- package/dist/shared/constants/index.d.ts +2 -0
- package/dist/shared/contexts/player/PlayerContext.d.ts +20 -4
- package/dist/shared/errors/index.d.ts +1 -1
- package/dist/shared/flight-requests/VideoRequests.d.ts +5 -1
- package/dist/shared/flight-requests/index.d.ts +2 -2
- package/dist/shared/layouts/index.d.ts +1 -0
- package/dist/shared/layouts/teacher-layout/TeacherLayoutComponent.d.ts +2 -2
- package/dist/shared/layouts/teacher-layout/TeacherLayoutView.d.ts +2 -4
- package/dist/shared/layouts/teacher-layout/drag-mask/DragMask.d.ts +2 -0
- package/dist/shared/services/CombineUploadsService.d.ts +44 -0
- package/dist/shared/services/FlightVideoDataService.d.ts +14 -0
- package/dist/shared/services/FlightVideoUploadDataService.d.ts +33 -0
- package/dist/shared/services/VideoUploadService.d.ts +12 -0
- package/dist/shared/services/index.d.ts +4 -0
- package/dist/shared/views/edit-upload/EditUploadView.d.ts +7 -0
- package/dist/shared/views/edit-video/EditVideoView.d.ts +7 -0
- package/dist/shared/views/index.d.ts +4 -0
- package/dist/shared/views/left-nav/LeftNavView.d.ts +1 -1
- package/dist/shared/views/my-uploads/DismissableAlert.d.ts +2 -0
- package/dist/shared/views/my-uploads/useGetUploadingItems.d.ts +3 -0
- package/package.json +12 -7
- package/dist/apps/default/index.d.ts +0 -2
- package/dist/apps/index.d.ts +0 -1
- package/dist/apps/notifications/interfaces/Notification.d.ts +0 -3
- package/dist/apps/notifications/interfaces/NotificationCollection.d.ts +0 -4
- package/dist/apps/notifications/interfaces/index.d.ts +0 -2
- package/dist/apps/notifications/services/FlightNotificationDataService.d.ts +0 -16
- package/dist/apps/notifications/services/index.d.ts +0 -1
- package/dist/apps/playlists/components/index.d.ts +0 -1
- package/dist/apps/playlists/components/playlist-list/LitePlaylistItem.d.ts +0 -9
- package/dist/apps/playlists/components/playlist-list/LitePlaylistList.d.ts +0 -9
- package/dist/apps/playlists/components/playlist-list/index.d.ts +0 -1
- package/dist/apps/playlists/flight-requests/PlaylistRequests.d.ts +0 -4
- package/dist/apps/playlists/flight-requests/index.d.ts +0 -1
- package/dist/apps/playlists/index.d.ts +0 -1
- package/dist/apps/playlists/views/index.d.ts +0 -1
- package/dist/apps/playlists/views/user-playlists/UserPlaylistsView.d.ts +0 -2
- package/dist/apps/playlists/views/user-playlists/index.d.ts +0 -1
- package/dist/bundle.js.map +0 -1
- package/dist/lite-app.css.map +0 -1
- package/dist/lite-app.js +0 -112
- package/dist/lite-app.js.map +0 -1
- package/dist/shared/components/icon-button/IconButton.d.ts +0 -9
- package/dist/shared/errors/not-found/NotFoundError.d.ts +0 -5
- package/dist/shared/errors/primitives/AlertError.d.ts +0 -0
- package/dist/shared/errors/primitives/DialogError.d.ts +0 -0
- package/dist/shared/errors/primitives/ErrorPageError.d.ts +0 -0
- package/dist/shared/errors/primitives/index.d.ts +0 -3
- package/dist/shared/flight-requests/ConfigRequests.d.ts +0 -4
- package/dist/shared/flight-requests/PlaylistRequests.d.ts +0 -4
- package/dist/shared/flight-requests/UserRequests.d.ts +0 -4
- package/dist/shared/index.d.ts +0 -5
- package/dist/shared/utils/InfiniteScrollHelper.d.ts +0 -11
- package/dist/shared/utils/LiteAppLinkHelper.d.ts +0 -3
- package/dist/shared/views/backbone-wrapper/BackboneWrapperView.d.ts +0 -8
- package/dist/shared/views/favorite-videos/FavoriteVideos.d.ts +0 -6
- package/dist/shared/views/favorite-videos/index.d.ts +0 -1
- package/dist/shared/views/my-uploads/components/MyUploadsBannerActions.d.ts +0 -5
- package/dist/shared/views/play/components/BackButton.d.ts +0 -2
- package/dist/shared/views/play/components/Badges.d.ts +0 -7
- package/dist/shared/views/play/components/Buttons.d.ts +0 -2
- package/dist/shared/views/play/components/VideoTitle.d.ts +0 -7
- package/dist/shared/views/play/components/index.d.ts +0 -3
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Core, HashObject } from '@clickview/common';
|
|
2
|
+
import { TeacherLayoutViewOptions, TeacherLayoutView } from 'shared/layouts';
|
|
3
|
+
declare class ContentUpdatesRouter extends Core.AppRouter {
|
|
4
|
+
get channelName(): string;
|
|
5
|
+
protected get appRoutes(): HashObject;
|
|
6
|
+
}
|
|
7
|
+
export declare class ContentUpdatesApplication extends Core.Application {
|
|
8
|
+
protected layout: TeacherLayoutView;
|
|
9
|
+
get name(): string;
|
|
10
|
+
protected get layoutOptions(): Core.LayoutOptions<TeacherLayoutViewOptions>;
|
|
11
|
+
get channelName(): string;
|
|
12
|
+
static get router(): typeof ContentUpdatesRouter;
|
|
13
|
+
contentUpdates(): void;
|
|
14
|
+
classificationUpdate(classificationId: string): void;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LiteContentUpdateAppLinks';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { Core, HashObject } from '@clickview/common';
|
|
2
|
+
import { Core, HashObject, ReactApplication } from '@clickview/common';
|
|
3
3
|
import { TeacherLayoutViewOptions, TeacherLayoutView } from 'shared/layouts';
|
|
4
4
|
declare class DefaultAppRouter extends Core.AppRouter {
|
|
5
5
|
protected get channelName(): string;
|
|
6
6
|
protected get appRoutes(): ObjectHash;
|
|
7
7
|
protected get appLinks(): string[];
|
|
8
8
|
}
|
|
9
|
-
export declare class DefaultApplication extends
|
|
9
|
+
export declare class DefaultApplication extends ReactApplication {
|
|
10
10
|
layout: TeacherLayoutView;
|
|
11
11
|
get name(): string;
|
|
12
12
|
protected get layoutOptions(): Core.LayoutOptions<TeacherLayoutViewOptions>;
|
|
@@ -14,9 +14,16 @@ export declare class DefaultApplication extends Core.Application {
|
|
|
14
14
|
static get router(): typeof DefaultAppRouter;
|
|
15
15
|
index(): void;
|
|
16
16
|
playVideo(id: string): void;
|
|
17
|
+
playSharedVideo(shortCode: string): void;
|
|
17
18
|
myUploads(params: HashObject): void;
|
|
19
|
+
editVideo(videoId: string): void;
|
|
20
|
+
editUpload(uploadId: string): void;
|
|
18
21
|
series(id: string, params: HashObject): void;
|
|
22
|
+
favoriteVideos(params: HashObject): void;
|
|
19
23
|
catchAllRoutes(): void;
|
|
20
24
|
notFound(): void;
|
|
25
|
+
error(): void;
|
|
26
|
+
dialogError(): void;
|
|
27
|
+
devError(): void;
|
|
21
28
|
}
|
|
22
29
|
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { DialogOptions, PopupViewProps } from '@clickview/shared';
|
|
3
3
|
interface DialogViewProps extends DialogOptions {
|
|
4
|
+
onDone?: () => void;
|
|
5
|
+
onFail?: () => void;
|
|
4
6
|
}
|
|
5
7
|
declare type PropTypes = React.PropsWithChildren<DialogViewProps & PopupViewProps>;
|
|
6
8
|
export declare function DialogView(props: PropTypes): React.ReactElement;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Core, HashObject } from '@clickview/common';
|
|
1
|
+
import { Core, HashObject, ReactApplication } from '@clickview/common';
|
|
2
2
|
import { EmbedLayoutView } from 'shared/layouts';
|
|
3
3
|
declare class EmbedAppRouter extends Core.AppRouter {
|
|
4
4
|
protected get channelName(): string;
|
|
5
5
|
protected get appRoutes(): HashObject;
|
|
6
6
|
}
|
|
7
|
-
export declare class EmbedApplication extends
|
|
7
|
+
export declare class EmbedApplication extends ReactApplication {
|
|
8
8
|
layout: EmbedLayoutView;
|
|
9
9
|
get name(): string;
|
|
10
10
|
protected get layoutOptions(): Core.LayoutOptions<Core.LayoutViewOptions>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Core, HashObject } from '@clickview/common';
|
|
1
|
+
import { Core, HashObject, ReactApplication } from '@clickview/common';
|
|
2
2
|
import { TeacherLayoutViewOptions, TeacherLayoutView } from 'shared/layouts';
|
|
3
|
-
export declare class NotificationsApplication extends
|
|
3
|
+
export declare class NotificationsApplication extends ReactApplication {
|
|
4
4
|
protected layout: TeacherLayoutView;
|
|
5
5
|
get name(): string;
|
|
6
6
|
protected get layoutOptions(): Core.LayoutOptions<TeacherLayoutViewOptions>;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { Core } from '@clickview/common';
|
|
2
|
+
import { Core, HashObject, ReactApplication } from '@clickview/common';
|
|
3
3
|
import { TeacherLayoutViewOptions, TeacherLayoutView } from 'shared/layouts';
|
|
4
4
|
declare class PlaylistsAppRouter extends Core.AppRouter {
|
|
5
5
|
protected get channelName(): string;
|
|
6
6
|
protected get appRoutes(): ObjectHash;
|
|
7
7
|
protected get appLinks(): string[];
|
|
8
8
|
}
|
|
9
|
-
export declare class PlaylistsApplication extends
|
|
9
|
+
export declare class PlaylistsApplication extends ReactApplication {
|
|
10
10
|
protected layout: TeacherLayoutView;
|
|
11
11
|
get name(): string;
|
|
12
12
|
protected get layoutOptions(): Core.LayoutOptions<TeacherLayoutViewOptions>;
|
|
13
13
|
get channelName(): string;
|
|
14
14
|
static get router(): typeof PlaylistsAppRouter;
|
|
15
|
-
index(): void;
|
|
15
|
+
index(params: HashObject): void;
|
|
16
16
|
playlist(id: string): void;
|
|
17
17
|
newPlaylist(): void;
|
|
18
18
|
editPlaylist(id: string): void;
|
|
19
19
|
deletePlaylist(id: string): void;
|
|
20
|
+
addToPlaylist(videoId: string): void;
|
|
20
21
|
removeVideoFromPlaylist(videoId: string, playlistId: string): void;
|
|
21
|
-
protected onShowAlert(options?: ObjectHash): void;
|
|
22
22
|
}
|
|
23
23
|
export {};
|
|
@@ -4,7 +4,6 @@ import { TeacherLayoutViewOptions, TeacherLayoutView } from 'shared/layouts';
|
|
|
4
4
|
declare class SearchAppRouter extends Core.AppRouter {
|
|
5
5
|
protected get channelName(): string;
|
|
6
6
|
protected get appRoutes(): ObjectHash;
|
|
7
|
-
protected get appLinks(): string[];
|
|
8
7
|
}
|
|
9
8
|
export declare class SearchApplication extends Core.Application {
|
|
10
9
|
protected layout: TeacherLayoutView;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FilterPayloadType } from 'apps/search/reducers';
|
|
3
|
+
interface FilterActionsProps extends FilterPayloadType {
|
|
4
|
+
}
|
|
5
|
+
export declare function FilterActions(props: FilterActionsProps): JSX.Element;
|
|
6
|
+
export declare namespace FilterActions {
|
|
7
|
+
var defaultProps: {
|
|
8
|
+
active: boolean;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -1 +1,6 @@
|
|
|
1
1
|
export * from './search-filters/SearchFilters';
|
|
2
|
+
export * from './search-filters/PartialSearchFilters';
|
|
3
|
+
export * from './filter-button/FilterButton';
|
|
4
|
+
export * from './filter-actions/FilterActions';
|
|
5
|
+
export * from './reset-button/ResetButton';
|
|
6
|
+
export * from './filter-types';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { HashObject } from '@clickview/common';
|
|
2
3
|
interface SearchFiltersProps {
|
|
4
|
+
queryParams: HashObject;
|
|
3
5
|
}
|
|
4
|
-
export declare function SearchFilters(
|
|
6
|
+
export declare function SearchFilters({ queryParams }: SearchFiltersProps): JSX.Element;
|
|
5
7
|
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare type FilterNames = 'yearLevels' | 'type' | 'ratings' | 'interactives' | 'clips' | 'moreFilters';
|
|
2
|
+
export declare type FilterType = 'radio' | 'checkbox' | 'switch' | 'more-filters' | 'rating';
|
|
3
|
+
export interface SearchFilter {
|
|
4
|
+
name: FilterNames;
|
|
5
|
+
label: string;
|
|
6
|
+
type: FilterType;
|
|
7
|
+
description?: string;
|
|
8
|
+
options?: FilterOption[];
|
|
9
|
+
}
|
|
10
|
+
export interface MoreFilters extends SearchFilter {
|
|
11
|
+
filters: SearchFilter[];
|
|
12
|
+
}
|
|
13
|
+
export interface FilterOption {
|
|
14
|
+
name: string;
|
|
15
|
+
label: string;
|
|
16
|
+
default?: boolean;
|
|
17
|
+
}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { Video, Series, Playlist, Classification } from '@clickview/shared';
|
|
2
2
|
export interface SearchResults {
|
|
3
|
-
subjects
|
|
3
|
+
subjects: Classification[];
|
|
4
4
|
videos: Video[];
|
|
5
5
|
series: Series[];
|
|
6
6
|
playlists: Playlist[];
|
|
7
7
|
}
|
|
8
|
+
export declare type OtherSearchResults = Omit<SearchResults, 'subjects'>;
|
|
8
9
|
export interface MainSearchResults {
|
|
9
10
|
subjects: Classification[];
|
|
10
11
|
firstVideo: Video;
|
|
11
12
|
playlists: Playlist[];
|
|
12
13
|
series: Series[];
|
|
13
|
-
otherResults:
|
|
14
|
+
otherResults: OtherSearchResults;
|
|
14
15
|
}
|
|
15
16
|
export interface OtherSearchResultSet {
|
|
16
17
|
type: 'video' | 'playlist' | 'series';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ReducerActions } from '@clickview/common';
|
|
3
|
+
import { SearchFilter, FilterNames, FilterOption } from 'apps/search/interfaces';
|
|
4
|
+
export declare type FilterState = {
|
|
5
|
+
[key in FilterNames]: {
|
|
6
|
+
active: boolean;
|
|
7
|
+
selection?: FilterOption;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare type FilterActionType = 'apply' | 'reset' | 'bulk-reset';
|
|
11
|
+
export interface FilterPayloadType {
|
|
12
|
+
filter: SearchFilter;
|
|
13
|
+
active: boolean;
|
|
14
|
+
selection?: FilterOption;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Context
|
|
18
|
+
*/
|
|
19
|
+
interface FilterContextType {
|
|
20
|
+
state: FilterState;
|
|
21
|
+
dispatch: React.Dispatch<ReducerActions<FilterActionType>>;
|
|
22
|
+
}
|
|
23
|
+
export declare const FilterContext: import("react").Context<FilterContextType>;
|
|
24
|
+
/**
|
|
25
|
+
* Reducer - root level keys should match the filter object's corresponding "name" field
|
|
26
|
+
*/
|
|
27
|
+
export declare function FilterReducer(state: FilterState, action: ReducerActions<FilterActionType, FilterPayloadType>): FilterState;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FilterReducer';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HashObject } from '@clickview/common';
|
|
3
|
+
import { SearchFilter, MoreFilters, FilterType, FilterProps, FilterOption } from 'apps/search/interfaces';
|
|
4
|
+
import { FilterState, FilterPayloadType } from 'apps/search/reducers';
|
|
5
|
+
export declare const FilterHelper: {
|
|
6
|
+
getMainFilters(): SearchFilter[];
|
|
7
|
+
getMoreFilters(): MoreFilters;
|
|
8
|
+
mapTypeToComponent(type: FilterType): (props: FilterProps) => JSX.Element;
|
|
9
|
+
deriveInitialStateFromQuery(queryParams?: HashObject<any>, mainFilters?: SearchFilter[], moreFilters?: MoreFilters): FilterState;
|
|
10
|
+
buildQueryParams(queryParams: HashObject<any>, state: FilterPayloadType): HashObject<any>;
|
|
11
|
+
hasActiveFilters(queryParams: HashObject<any>): boolean;
|
|
12
|
+
getTypeOptions(): FilterOption[];
|
|
13
|
+
getRadioParamValue(selection: FilterOption): string;
|
|
14
|
+
};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Core } from '@clickview/common';
|
|
3
|
-
import { Video, Series, Playlist,
|
|
3
|
+
import { Video, Series, Playlist, PresentationAudience } from '@clickview/shared';
|
|
4
4
|
import { SearchResults, MainSearchResults, OtherSearchResultSet } from 'apps/search/interfaces';
|
|
5
5
|
export declare const SearchHelper: {
|
|
6
6
|
/**
|
|
7
7
|
* These are the results that appear at the very top of the page
|
|
8
8
|
*/
|
|
9
9
|
filterMainResults(results: SearchResults): MainSearchResults;
|
|
10
|
-
structureOtherResults(results: SearchResults): OtherSearchResultSet[];
|
|
11
|
-
generateResultSets<T extends BaseObject>(results: T[], setCapacity: number): T[][];
|
|
10
|
+
structureOtherResults(results: Pick<SearchResults, "series" | "videos" | "playlists">): OtherSearchResultSet[];
|
|
12
11
|
buildResultStructure(videoSets: Video[][], playlistSets: Playlist[][], seriesSets: Series[][]): OtherSearchResultSet[];
|
|
13
12
|
/**
|
|
14
13
|
* Determines whether or not a playlist or series set should be added to the results structure next.
|
|
@@ -3,5 +3,5 @@ import { HashObject } from '@clickview/common';
|
|
|
3
3
|
interface SearchResultsViewProps {
|
|
4
4
|
queryParams: HashObject;
|
|
5
5
|
}
|
|
6
|
-
export declare function SearchResultsView(
|
|
6
|
+
export declare function SearchResultsView({ queryParams }: SearchResultsViewProps): JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ObjectHash } from 'backbone';
|
|
2
|
-
import { Core, HashObject } from '@clickview/common';
|
|
2
|
+
import { Core, HashObject, ReactApplication } from '@clickview/common';
|
|
3
3
|
import { TeacherLayoutViewOptions, TeacherLayoutView } from 'shared/layouts';
|
|
4
|
-
export declare class SubjectApplication extends
|
|
4
|
+
export declare class SubjectApplication extends ReactApplication {
|
|
5
5
|
protected layout: TeacherLayoutView;
|
|
6
6
|
get name(): string;
|
|
7
7
|
static get router(): any;
|
|
@@ -10,5 +10,6 @@ export declare class SubjectApplication extends Core.Application {
|
|
|
10
10
|
get appChannels(): HashObject<string>;
|
|
11
11
|
classification(classificationId: string): void;
|
|
12
12
|
playlist(id: string, playlistId: string): void;
|
|
13
|
+
preferences({ step }: HashObject): void;
|
|
13
14
|
protected onShowAlert(options?: ObjectHash): void;
|
|
14
15
|
}
|