@clickview/lite 0.0.12 → 0.0.13

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 (67) hide show
  1. package/package.json +53 -53
  2. package/dist/apps/classrooms/components/edit-classroom-group-form/EditClassroomGroupForm.d.ts +0 -10
  3. package/dist/apps/classrooms/components/manage-classroom-student-list-item/ManageClassroomStudentListItem.d.ts +0 -10
  4. package/dist/apps/content-updates/utils/ContentUpdateAppLinks.d.ts +0 -0
  5. package/dist/apps/default/index.d.ts +0 -2
  6. package/dist/apps/default/views/dialog/LiteDialogView.d.ts +0 -9
  7. package/dist/apps/default/views/home/HomeView.d.ts +0 -5
  8. package/dist/apps/embed/EmbedApplication.d.ts +0 -15
  9. package/dist/apps/index.d.ts +0 -1
  10. package/dist/apps/user-manager/components/edit-uploaded-student-popup/EditUploadedStudentPopup.d.ts +0 -8
  11. package/dist/apps/user-manager/components/edit-user-details/EditUserDetails.d.ts +0 -22
  12. package/dist/apps/user-manager/components/manage-students-list/ManageStudentItem.d.ts +0 -9
  13. package/dist/apps/user-manager/components/manage-students-list/ManageStudentsList.d.ts +0 -7
  14. package/dist/apps/user-manager/components/manage-students-list/partial-loading/PartialManageStudentsList.d.ts +0 -2
  15. package/dist/apps/user-manager/components/small-pagination/SmallPagination.d.ts +0 -13
  16. package/dist/apps/user-manager/flight-requests/ClassroomRequests.d.ts +0 -4
  17. package/dist/apps/user-manager/flight-requests/SchoolUserRequests2.d.ts +0 -11
  18. package/dist/apps/user-manager/flight-requests/StudentRequests.d.ts +0 -4
  19. package/dist/apps/user-manager/flight-requests/YearLevelRequests2.d.ts +0 -4
  20. package/dist/apps/user-manager/flight-requests/index.d.ts +0 -2
  21. package/dist/apps/user-manager/index.d.ts +0 -5
  22. package/dist/apps/user-manager/interfaces/collections/UserRoleCollection.d.ts +0 -3
  23. package/dist/apps/user-manager/interfaces/collections/index.d.ts +0 -1
  24. package/dist/apps/user-manager/interfaces/mocks/MockUserType.d.ts +0 -4
  25. package/dist/apps/user-manager/interfaces/models/UserRole.d.ts +0 -3
  26. package/dist/apps/user-manager/interfaces/models/index.d.ts +0 -1
  27. package/dist/apps/user-manager/views/bulk-student-upload/BulkStudentUploadView.d.ts +0 -7
  28. package/dist/apps/user-manager/views/bulk-teacher-upload/BulkTeacherUploadView.d.ts +0 -7
  29. package/dist/apps/user-manager/views/index.d.ts +0 -1
  30. package/dist/apps/user-manager/views/school-student-manager/partial-loading/PartialSchoolStudentManager.d.ts +0 -2
  31. package/dist/apps/user-manager/views/student-upload-review/StudentUploadReducer.d.ts +0 -34
  32. package/dist/bundle.js.map +0 -1
  33. package/dist/lite-app.css.map +0 -1
  34. package/dist/shared/components/div-button/DivButton.d.ts +0 -10
  35. package/dist/shared/components/icon-button/IconButton.d.ts +0 -9
  36. package/dist/shared/components/sort-select/SortSelect.d.ts +0 -2
  37. package/dist/shared/components/upload-file-select/UploadFileSelect.d.ts +0 -6
  38. package/dist/shared/components/uploading-item/UploadingItem.d.ts +0 -9
  39. package/dist/shared/errors/not-found/NotFoundError.d.ts +0 -5
  40. package/dist/shared/flight-requests/ConfigRequests.d.ts +0 -4
  41. package/dist/shared/flight-requests/SchoolUserRequests2.d.ts +0 -10
  42. package/dist/shared/flight-requests/UserRequests.d.ts +0 -5
  43. package/dist/shared/flight-requests/YearLevelRequests.d.ts +0 -4
  44. package/dist/shared/hooks/useWatchCollectionAsMapReducer.d.ts +0 -13
  45. package/dist/shared/index.d.ts +0 -7
  46. package/dist/shared/interfaces/mocks/MockUserType.d.ts +0 -0
  47. package/dist/shared/layouts/embed-layout/EmbedLayoutCompnent.d.ts +0 -8
  48. package/dist/shared/layouts/embed-layut/EmbedLayoutCompnent.d.ts +0 -8
  49. package/dist/shared/layouts/embed-layut/EmbedLayoutView.d.ts +0 -17
  50. package/dist/shared/services/CombineUploadsService.d.ts +0 -44
  51. package/dist/shared/services/FlightVideoUploadDataService.d.ts +0 -33
  52. package/dist/shared/services/VideoUploadService.d.ts +0 -12
  53. package/dist/shared/views/backbone-wrapper/BackboneWrapperView.d.ts +0 -8
  54. package/dist/shared/views/edit-upload/EditUploadView.d.ts +0 -7
  55. package/dist/shared/views/edit-video/EditVideoDetails.d.ts +0 -19
  56. package/dist/shared/views/favorite-videos/FavoriteVideosView.d.ts +0 -6
  57. package/dist/shared/views/my-uploads/CombineUploadsService.d.ts +0 -17
  58. package/dist/shared/views/my-uploads/DismissableAlert.d.ts +0 -2
  59. package/dist/shared/views/my-uploads/MyUploadsView.d.ts +0 -6
  60. package/dist/shared/views/my-uploads/UploadingItem.d.ts +0 -7
  61. package/dist/shared/views/my-uploads/useGetUploadingItems.d.ts +0 -3
  62. package/dist/shared/views/play/components/BackButton.d.ts +0 -2
  63. package/dist/shared/views/play/components/Badges.d.ts +0 -7
  64. package/dist/shared/views/play/components/Buttons.d.ts +0 -2
  65. package/dist/shared/views/play/components/PlayPage.d.ts +0 -7
  66. package/dist/shared/views/play/components/VideoTitle.d.ts +0 -7
  67. package/dist/shared/views/play/components/index.d.ts +0 -3
package/package.json CHANGED
@@ -1,53 +1,53 @@
1
- {
2
- "name": "@clickview/lite",
3
- "version": "0.0.12",
4
- "description": "ClickView Lite",
5
- "main": "dist/bundle.js",
6
- "types": "dist/index.d.ts",
7
- "scripts": {
8
- "start": "set NODE_ENV=development&& webpack -w --config ./tooling/webpack.config.js",
9
- "build": "set NODE_ENV=production&& webpack --config ./tooling/webpack.config.js",
10
- "dev-build": "set NODE_ENV=development&& webpack --config ./tooling/webpack.config.js"
11
- },
12
- "repository": {
13
- "type": "git",
14
- "url": "http://gitlab.cvinternal.net/front-end/lite.git"
15
- },
16
- "cv": {
17
- "publishable": true,
18
- "rebuildable": true
19
- },
20
- "author": "Joshua Taylor, Shale Kuzmanovski, Matt Trengrove, Michael McDonnell",
21
- "license": "ISC",
22
- "devDependencies": {
23
- "@clickview/tooling": "0.0.15",
24
- "@types/marked": "0.7.3",
25
- "@types/papaparse": "5.0.3",
26
- "@types/react-copy-to-clipboard": "4.3.0",
27
- "@types/react-custom-scrollbars": "4.0.6"
28
- },
29
- "dependencies": {
30
- "@clickview/common": "1.0.7",
31
- "@clickview/dashboard": "1.0.10",
32
- "@clickview/playlists": "1.0.11",
33
- "@clickview/shared": "1.0.10",
34
- "@clickview/styles": "1.0.4",
35
- "@microsoft/immersive-reader-sdk": "1.0.0",
36
- "marked": "0.8.0",
37
- "papaparse": "5.2.0",
38
- "react-copy-to-clipboard": "5.0.2",
39
- "react-custom-scrollbars": "4.2.1",
40
- "react-dropzone": "10.2.1"
41
- },
42
- "babel": {
43
- "presets": [
44
- [
45
- "@babel/preset-env",
46
- {
47
- "corejs": 3,
48
- "useBuiltIns": "entry"
49
- }
50
- ]
51
- ]
52
- }
53
- }
1
+ {
2
+ "name": "@clickview/lite",
3
+ "version": "0.0.13",
4
+ "description": "ClickView Lite",
5
+ "main": "dist/bundle.js",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "start": "set NODE_ENV=development&& webpack -w --config ./tooling/webpack.config.js",
9
+ "build": "set NODE_ENV=production&& webpack --config ./tooling/webpack.config.js",
10
+ "dev-build": "set NODE_ENV=development&& webpack --config ./tooling/webpack.config.js"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "http://gitlab.cvinternal.net/front-end/lite.git"
15
+ },
16
+ "cv": {
17
+ "publishable": true,
18
+ "rebuildable": true
19
+ },
20
+ "author": "Joshua Taylor, Shale Kuzmanovski, Matt Trengrove, Michael McDonnell",
21
+ "license": "ISC",
22
+ "devDependencies": {
23
+ "@clickview/tooling": "0.0.15",
24
+ "@types/marked": "0.7.3",
25
+ "@types/papaparse": "5.0.3",
26
+ "@types/react-copy-to-clipboard": "4.3.0",
27
+ "@types/react-custom-scrollbars": "4.0.6"
28
+ },
29
+ "dependencies": {
30
+ "@clickview/common": "1.0.7",
31
+ "@clickview/dashboard": "1.0.10",
32
+ "@clickview/playlists": "1.0.12",
33
+ "@clickview/shared": "1.0.10",
34
+ "@clickview/styles": "1.0.4",
35
+ "@microsoft/immersive-reader-sdk": "1.0.0",
36
+ "marked": "0.8.0",
37
+ "papaparse": "5.2.0",
38
+ "react-copy-to-clipboard": "5.0.2",
39
+ "react-custom-scrollbars": "4.2.1",
40
+ "react-dropzone": "10.2.1"
41
+ },
42
+ "babel": {
43
+ "presets": [
44
+ [
45
+ "@babel/preset-env",
46
+ {
47
+ "corejs": 3,
48
+ "useBuiltIns": "entry"
49
+ }
50
+ ]
51
+ ]
52
+ }
53
+ }
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { PopupViewProps } from '@clickview/shared';
3
- import { MockClassroomGroup } from 'shared/interfaces/mocks';
4
- interface EditClassroomGroupFormProps extends PopupViewProps {
5
- group?: MockClassroomGroup;
6
- saveGroup: (group: MockClassroomGroup) => void;
7
- showButtonSpinner: boolean;
8
- }
9
- export declare function EditClassroomGroupForm(props: EditClassroomGroupFormProps): JSX.Element;
10
- export {};
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { MockStudent, MockClassroom } from 'apps/user-manager/interfaces';
3
- interface ManageClassroomStudentListItemProps {
4
- classroom: MockClassroom;
5
- student: MockStudent;
6
- onToggleCheckbox: () => void;
7
- checked: boolean;
8
- }
9
- export declare function ManageClassroomStudentListItem(props: ManageClassroomStudentListItemProps): JSX.Element;
10
- export {};
@@ -1,2 +0,0 @@
1
- export * from './views';
2
- export * from './LiteDefaultApplication';
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- import { DialogOptions, PopupViewProps } from '@clickview/shared';
3
- interface DialogViewProps extends DialogOptions {
4
- onDone?: () => void;
5
- onFail?: () => void;
6
- }
7
- declare type PropTypes = React.PropsWithChildren<DialogViewProps & PopupViewProps>;
8
- export declare function DialogView(props: PropTypes): React.ReactElement;
9
- export {};
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * TODO: This is a temporary view and should be deleted
4
- */
5
- export declare function HomeView(): React.ReactElement;
@@ -1,15 +0,0 @@
1
- import { Core, HashObject } from '@clickview/common';
2
- import { EmbedLayoutView } from 'shared/layouts';
3
- declare class EmbedAppRouter extends Core.AppRouter {
4
- protected get channelName(): string;
5
- protected get appRoutes(): HashObject;
6
- }
7
- export declare class EmbedApplication extends Core.Application {
8
- layout: EmbedLayoutView;
9
- get name(): string;
10
- protected get layoutOptions(): Core.LayoutOptions<Core.LayoutViewOptions>;
11
- get channelName(): string;
12
- static get router(): typeof EmbedAppRouter;
13
- embedVideo(shortCode: string): void;
14
- }
15
- export {};
@@ -1 +0,0 @@
1
- export * from './default';
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { PopupViewProps } from '@clickview/shared';
3
- import { MockStudent } from 'apps/user-manager/interfaces';
4
- interface EditUploadedStudentPopupProps {
5
- student: MockStudent;
6
- }
7
- export declare function EditUploadedStudentPopup(props: EditUploadedStudentPopupProps & PopupViewProps): JSX.Element;
8
- export {};
@@ -1,22 +0,0 @@
1
- import * as React from 'react';
2
- import { User, YearLevelCollection } from '@clickview/shared';
3
- export declare const UserValidationSchema: import("yup").ObjectSchema<import("yup").Shape<object, {
4
- name: string;
5
- surname: string;
6
- email: string;
7
- yearLevel: number;
8
- }>>;
9
- export interface EditUserRequest {
10
- name: string;
11
- surname: string;
12
- email: string;
13
- yearLevel: string;
14
- }
15
- interface EditUserDetailsProps {
16
- user?: User;
17
- saveUser: (data: EditUserRequest) => void;
18
- onClickCancel: () => void;
19
- yearLevels: YearLevelCollection;
20
- }
21
- export declare function EditUserDetails(props: EditUserDetailsProps): React.ReactElement;
22
- export {};
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { MockStudent } from 'apps/user-manager/views/school-student-manager/SchoolStudentManagerView';
3
- interface ManageStudentItemProps {
4
- student: MockStudent;
5
- isChecked: boolean;
6
- onToggleCheckbox: () => void;
7
- }
8
- export declare function ManageStudentItem(props: ManageStudentItemProps): JSX.Element;
9
- export {};
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { MockStudent } from 'apps/user-manager/views/school-student-manager/SchoolStudentManagerView';
3
- interface ManageStudentsListProps {
4
- students: MockStudent[];
5
- }
6
- export declare function ManageStudentsList(props: ManageStudentsListProps): JSX.Element;
7
- export {};
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function PartialManageStudentsList(): JSX.Element;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { Core, Cursors } from '@clickview/common';
3
- interface SmallPaginationProps {
4
- type: 'cursor' | 'local';
5
- appLink?: Core.AppLink;
6
- onClickNext?: () => void;
7
- onClickBack?: () => void;
8
- currentPage?: number;
9
- totalPages?: number;
10
- cursors?: Cursors;
11
- }
12
- export declare function SmallPagination(props: SmallPaginationProps): JSX.Element;
13
- export {};
@@ -1,4 +0,0 @@
1
- import { Flight } from '@clickview/common';
2
- export declare const ClassroomRequests: {
3
- getAll(): Flight.SimulatedRequest;
4
- };
@@ -1,11 +0,0 @@
1
- import { Flight } from '@clickview/common';
2
- import { EditUserRequest } from 'apps/user-manager/interfaces';
3
- export declare const SchoolUserRequests2: {
4
- getStudent(id: string): Flight.SimulatedRequest;
5
- getTeacher(id: string): Flight.SimulatedRequest;
6
- createStudent(user: EditUserRequest, success?: () => void, error?: () => void): Flight.SimulatedRequest;
7
- createTeacher(user: EditUserRequest, success?: () => void, error?: () => void): Flight.SimulatedRequest;
8
- updateStudent(user: EditUserRequest, success?: () => void, error?: () => void): Flight.SimulatedRequest;
9
- updateTeacher(user: EditUserRequest, success?: () => void, error?: () => void): Flight.SimulatedRequest;
10
- getUserRoles(): Flight.SimulatedRequest;
11
- };
@@ -1,4 +0,0 @@
1
- import { Flight } from '@clickview/common';
2
- export declare const StudentRequests: {
3
- getStudents(): Flight.SimulatedRequest;
4
- };
@@ -1,4 +0,0 @@
1
- import { Flight } from '@clickview/common';
2
- export declare const YearLevelRequests2: {
3
- getAll(): Flight.SimulatedRequest;
4
- };
@@ -1,2 +0,0 @@
1
- export * from './SchoolUserRequests2';
2
- export * from './YearLevelRequests';
@@ -1,5 +0,0 @@
1
- export * from './components';
2
- export * from './flight-requests';
3
- export * from './interfaces';
4
- export * from './validation';
5
- export * from './views';
@@ -1,3 +0,0 @@
1
- import { UserRole } from '../models/UserRole';
2
- export interface UserRoleCollection extends Array<UserRole> {
3
- }
@@ -1 +0,0 @@
1
- export * from './UserRoleCollection';
@@ -1,4 +0,0 @@
1
- export declare enum MockUserType {
2
- Student = 0,
3
- Teacher = 1
4
- }
@@ -1,3 +0,0 @@
1
- import { BaseObject } from '@clickview/shared';
2
- export interface UserRole extends BaseObject {
3
- }
@@ -1 +0,0 @@
1
- export * from './UserRole';
@@ -1,7 +0,0 @@
1
- import { HashObject } from '@clickview/common';
2
- import React from 'react';
3
- interface BulkStudentUploadViewProps {
4
- students: HashObject[];
5
- }
6
- export declare function BulkStudentUploadView(props: BulkStudentUploadViewProps): React.ReactElement;
7
- export {};
@@ -1,7 +0,0 @@
1
- import { HashObject } from '@clickview/common';
2
- import React from 'react';
3
- interface BulkTeacherUploadView {
4
- teachers: HashObject[];
5
- }
6
- export declare function BulkTeacherUploadView(props: BulkTeacherUploadView): React.ReactElement;
7
- export {};
@@ -1 +0,0 @@
1
- export * from './create-student/CreateStudentView';
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function PartialSchoolStudentManager(): JSX.Element;
@@ -1,34 +0,0 @@
1
- /// <reference types="react" />
2
- import { ReducerActions } from '@clickview/common';
3
- import { MockStudent } from 'apps/user-manager/interfaces';
4
- declare type ActionTypes = 'init' | 'save' | 'delete';
5
- interface InvalidStudentHash {
6
- [lookupId: string]: {
7
- student: MockStudent;
8
- errors: {
9
- name?: string;
10
- surname?: string;
11
- email?: string;
12
- yearLevel?: {
13
- name: string;
14
- };
15
- };
16
- };
17
- }
18
- export interface StudentUploadReducerState {
19
- students: MockStudent[];
20
- invalidStudents: InvalidStudentHash;
21
- }
22
- /**
23
- * Context
24
- */
25
- interface StudentUploadContextType {
26
- state: StudentUploadReducerState;
27
- dispatch: React.Dispatch<ReducerActions<ActionTypes, any>>;
28
- }
29
- export declare const StudentUploadContext: import("react").Context<StudentUploadContextType>;
30
- /**
31
- * Reducer
32
- */
33
- export declare function StudentUploadReducer(state: StudentUploadReducerState, action: ReducerActions<ActionTypes, any>): any;
34
- export {};