@clickview/lite 0.0.5-dev.0 → 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.
Files changed (114) hide show
  1. package/dist/apps/content-updates/LiteContentUpdatesApplication.d.ts +16 -0
  2. package/dist/apps/content-updates/utils/LiteContentUpdateAppLinks.d.ts +2 -0
  3. package/dist/apps/content-updates/utils/index.d.ts +1 -0
  4. package/dist/apps/default/LiteDefaultApplication.d.ts +8 -3
  5. package/dist/apps/default/views/dialog/LiteDialogView.d.ts +2 -0
  6. package/dist/apps/default/views/index.d.ts +2 -0
  7. package/dist/apps/embed/LiteEmbedApplication.d.ts +2 -2
  8. package/dist/apps/notifications/LiteNotificationsApplication.d.ts +2 -2
  9. package/dist/apps/playlists/LitePlaylistsApplication.d.ts +3 -4
  10. package/dist/apps/search/LiteSearchApplication.d.ts +0 -1
  11. package/dist/apps/search/components/filter-actions/FilterActions.d.ts +11 -0
  12. package/dist/apps/search/components/filter-button/FilterButton.d.ts +7 -0
  13. package/dist/apps/search/components/filter-types/checkbox-filter/CheckboxFilter.d.ts +5 -0
  14. package/dist/apps/search/components/filter-types/index.d.ts +4 -0
  15. package/dist/apps/search/components/filter-types/more-filters/MoreFilters.d.ts +5 -0
  16. package/dist/apps/search/components/filter-types/radio-filter/RadioFilter.d.ts +7 -0
  17. package/dist/apps/search/components/filter-types/switch-filter/SwitchFilter.d.ts +3 -0
  18. package/dist/apps/search/components/index.d.ts +5 -0
  19. package/dist/apps/search/components/reset-button/ResetButton.d.ts +6 -0
  20. package/dist/apps/search/components/search-filters/PartialSearchFilters.d.ts +2 -0
  21. package/dist/apps/search/components/search-filters/SearchFilters.d.ts +3 -1
  22. package/dist/apps/search/interfaces/FilterProps.d.ts +4 -0
  23. package/dist/apps/search/interfaces/SearchFilter.d.ts +17 -0
  24. package/dist/apps/search/interfaces/SearchResults.d.ts +3 -2
  25. package/dist/apps/search/interfaces/index.d.ts +2 -0
  26. package/dist/apps/search/reducers/FilterReducer.d.ts +28 -0
  27. package/dist/apps/search/reducers/index.d.ts +1 -0
  28. package/dist/apps/search/utils/FilterHelper.d.ts +14 -0
  29. package/dist/apps/search/utils/SearchHelper.d.ts +2 -3
  30. package/dist/apps/search/utils/index.d.ts +1 -0
  31. package/dist/apps/search/views/search-results/SearchResultsView.d.ts +1 -1
  32. package/dist/apps/subjects/LiteSubjectApplication.d.ts +3 -2
  33. package/dist/bundle.js +1 -1
  34. package/dist/en.json +1 -1
  35. package/dist/index.d.ts +16 -0
  36. package/dist/lite-app.css +21 -1
  37. package/dist/shared/components/clips/ClipItem.d.ts +8 -0
  38. package/dist/shared/components/clips/Clips.d.ts +7 -0
  39. package/dist/shared/components/div-button/DivButton.d.ts +10 -0
  40. package/dist/shared/components/immersive-reader/ImmersiveReader.d.ts +8 -0
  41. package/dist/shared/components/index.d.ts +7 -0
  42. package/dist/shared/components/interactives/InteractiveItem.d.ts +7 -0
  43. package/dist/shared/components/interactives/Interactives.d.ts +7 -0
  44. package/dist/shared/components/play-page/PlayPage.d.ts +1 -0
  45. package/dist/shared/components/play-page/VideoTitle.d.ts +1 -0
  46. package/dist/shared/components/synopsis/Synopsis.d.ts +8 -0
  47. package/dist/shared/components/upload-file-select/UploadFileSelect.d.ts +6 -0
  48. package/dist/shared/components/uploading-item/UploadingItem.d.ts +9 -0
  49. package/dist/shared/components/user-options/UserOptions.d.ts +1 -1
  50. package/dist/shared/components/video-details/VideoDetails.d.ts +1 -0
  51. package/dist/shared/constants/LiteActions.d.ts +13 -0
  52. package/dist/shared/constants/LiteRadioChannels.d.ts +2 -0
  53. package/dist/shared/constants/RadioChannels.d.ts +10 -0
  54. package/dist/shared/constants/Services.d.ts +24 -0
  55. package/dist/shared/constants/index.d.ts +2 -0
  56. package/dist/shared/errors/index.d.ts +1 -1
  57. package/dist/shared/flight-requests/VideoRequests.d.ts +4 -1
  58. package/dist/shared/flight-requests/index.d.ts +2 -2
  59. package/dist/shared/layouts/teacher-layout/TeacherLayoutView.d.ts +2 -2
  60. package/dist/shared/layouts/teacher-layout/drag-mask/DragMask.d.ts +2 -0
  61. package/dist/shared/services/CombineUploadsService.d.ts +44 -0
  62. package/dist/shared/services/FlightVideoDataService.d.ts +14 -0
  63. package/dist/shared/services/FlightVideoUploadDataService.d.ts +33 -0
  64. package/dist/shared/services/VideoUploadService.d.ts +12 -0
  65. package/dist/shared/services/index.d.ts +4 -0
  66. package/dist/shared/views/edit-upload/EditUploadView.d.ts +7 -0
  67. package/dist/shared/views/edit-video/EditVideoView.d.ts +7 -0
  68. package/dist/shared/views/index.d.ts +2 -1
  69. package/dist/shared/views/left-nav/LeftNavView.d.ts +1 -1
  70. package/dist/shared/views/my-uploads/DismissableAlert.d.ts +2 -0
  71. package/dist/shared/views/my-uploads/useGetUploadingItems.d.ts +3 -0
  72. package/package.json +12 -7
  73. package/dist/apps/default/index.d.ts +0 -2
  74. package/dist/apps/index.d.ts +0 -1
  75. package/dist/apps/notifications/interfaces/Notification.d.ts +0 -3
  76. package/dist/apps/notifications/interfaces/NotificationCollection.d.ts +0 -4
  77. package/dist/apps/notifications/interfaces/index.d.ts +0 -2
  78. package/dist/apps/notifications/services/FlightNotificationDataService.d.ts +0 -16
  79. package/dist/apps/notifications/services/index.d.ts +0 -1
  80. package/dist/apps/playlists/components/index.d.ts +0 -1
  81. package/dist/apps/playlists/components/playlist-list/LitePlaylistItem.d.ts +0 -9
  82. package/dist/apps/playlists/components/playlist-list/LitePlaylistList.d.ts +0 -9
  83. package/dist/apps/playlists/components/playlist-list/index.d.ts +0 -1
  84. package/dist/apps/playlists/flight-requests/PlaylistRequests.d.ts +0 -4
  85. package/dist/apps/playlists/flight-requests/index.d.ts +0 -1
  86. package/dist/apps/playlists/index.d.ts +0 -1
  87. package/dist/apps/playlists/views/index.d.ts +0 -1
  88. package/dist/apps/playlists/views/user-playlists/UserPlaylistsView.d.ts +0 -2
  89. package/dist/apps/playlists/views/user-playlists/index.d.ts +0 -1
  90. package/dist/bundle.js.map +0 -1
  91. package/dist/lite-app.css.map +0 -1
  92. package/dist/lite-app.js +0 -112
  93. package/dist/lite-app.js.map +0 -1
  94. package/dist/shared/components/icon-button/IconButton.d.ts +0 -9
  95. package/dist/shared/errors/not-found/NotFoundError.d.ts +0 -5
  96. package/dist/shared/errors/primitives/AlertError.d.ts +0 -0
  97. package/dist/shared/errors/primitives/DialogError.d.ts +0 -0
  98. package/dist/shared/errors/primitives/ErrorPageError.d.ts +0 -0
  99. package/dist/shared/errors/primitives/index.d.ts +0 -3
  100. package/dist/shared/flight-requests/ConfigRequests.d.ts +0 -4
  101. package/dist/shared/flight-requests/PlaylistRequests.d.ts +0 -4
  102. package/dist/shared/flight-requests/UserRequests.d.ts +0 -4
  103. package/dist/shared/index.d.ts +0 -5
  104. package/dist/shared/utils/InfiniteScrollHelper.d.ts +0 -11
  105. package/dist/shared/utils/LiteAppLinkHelper.d.ts +0 -3
  106. package/dist/shared/views/backbone-wrapper/BackboneWrapperView.d.ts +0 -8
  107. package/dist/shared/views/favorite-videos/FavoriteVideos.d.ts +0 -6
  108. package/dist/shared/views/favorite-videos/index.d.ts +0 -1
  109. package/dist/shared/views/my-uploads/components/MyUploadsBannerActions.d.ts +0 -5
  110. package/dist/shared/views/play/components/BackButton.d.ts +0 -2
  111. package/dist/shared/views/play/components/Badges.d.ts +0 -7
  112. package/dist/shared/views/play/components/Buttons.d.ts +0 -2
  113. package/dist/shared/views/play/components/VideoTitle.d.ts +0 -7
  114. 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,2 @@
1
+ import { ContentUpdateAppLinks } from '@clickview/playlists';
2
+ export declare const LiteContentUpdateAppLinks: ContentUpdateAppLinks;
@@ -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 Core.Application {
9
+ export declare class DefaultApplication extends ReactApplication {
10
10
  layout: TeacherLayoutView;
11
11
  get name(): string;
12
12
  protected get layoutOptions(): Core.LayoutOptions<TeacherLayoutViewOptions>;
@@ -16,9 +16,14 @@ export declare class DefaultApplication extends Core.Application {
16
16
  playVideo(id: string): void;
17
17
  playSharedVideo(shortCode: string): void;
18
18
  myUploads(params: HashObject): void;
19
- favoriteVideos(params: HashObject): void;
19
+ editVideo(videoId: string): void;
20
+ editUpload(uploadId: string): void;
20
21
  series(id: string, params: HashObject): void;
22
+ favoriteVideos(params: HashObject): void;
21
23
  catchAllRoutes(): void;
22
24
  notFound(): void;
25
+ error(): void;
26
+ dialogError(): void;
27
+ devError(): void;
23
28
  }
24
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,2 +1,4 @@
1
+ export * from './dev-error/LiteDevErrorView';
2
+ export * from './error/LiteErrorView';
1
3
  export * from './home/HomeView';
2
4
  export * from './not-found/LiteNotFoundView';
@@ -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 Core.Application {
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 Core.Application {
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,24 +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 Core.Application {
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
20
  addToPlaylist(videoId: string): void;
21
21
  removeVideoFromPlaylist(videoId: string, playlistId: string): void;
22
- protected onShowAlert(options?: ObjectHash): void;
23
22
  }
24
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 {};
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { SearchFilter, MoreFilters } from 'apps/search/interfaces';
3
+ interface FilterButtonProps {
4
+ filter: SearchFilter | MoreFilters;
5
+ }
6
+ export declare function FilterButton(props: FilterButtonProps): JSX.Element;
7
+ export {};
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ interface CheckboxFilterProps {
3
+ }
4
+ export declare function CheckboxFilter(props: CheckboxFilterProps): JSX.Element;
5
+ export {};
@@ -0,0 +1,4 @@
1
+ export * from './checkbox-filter/CheckboxFilter';
2
+ export * from './more-filters/MoreFilters';
3
+ export * from './radio-filter/RadioFilter';
4
+ export * from './switch-filter/SwitchFilter';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ interface MoreFiltersProps {
3
+ }
4
+ export declare function MoreFilters(props: MoreFiltersProps): JSX.Element;
5
+ export {};
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { SearchFilter } from 'apps/search/interfaces';
3
+ interface RadioFilterProps {
4
+ filter: SearchFilter;
5
+ }
6
+ export declare function RadioFilter(props: RadioFilterProps): JSX.Element;
7
+ export {};
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { FilterProps } from 'apps/search/interfaces';
3
+ export declare function SwitchFilter(props: FilterProps): JSX.Element;
@@ -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';
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface ResetButtonProps {
3
+ currentQueryParam: string;
4
+ }
5
+ export declare function ResetButton(props: ResetButtonProps): JSX.Element;
6
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function PartialSearchFilters(): JSX.Element;
@@ -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(props: SearchFiltersProps): JSX.Element;
6
+ export declare function SearchFilters({ queryParams }: SearchFiltersProps): JSX.Element;
5
7
  export {};
@@ -0,0 +1,4 @@
1
+ import { SearchFilter, MoreFilters } from './SearchFilter';
2
+ export interface FilterProps {
3
+ filter: SearchFilter | MoreFilters;
4
+ }
@@ -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?: Classification[];
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: SearchResults;
14
+ otherResults: OtherSearchResults;
14
15
  }
15
16
  export interface OtherSearchResultSet {
16
17
  type: 'video' | 'playlist' | 'series';
@@ -1 +1,3 @@
1
1
  export * from './SearchResults';
2
+ export * from './SearchFilter';
3
+ export * from './FilterProps';
@@ -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, BaseObject, PresentationAudience } from '@clickview/shared';
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.
@@ -1 +1,2 @@
1
+ export * from './FilterHelper';
1
2
  export * from './SearchHelper';
@@ -3,5 +3,5 @@ import { HashObject } from '@clickview/common';
3
3
  interface SearchResultsViewProps {
4
4
  queryParams: HashObject;
5
5
  }
6
- export declare function SearchResultsView(props: SearchResultsViewProps): JSX.Element;
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 Core.Application {
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
  }