@clickview/lite 0.0.11-dev.0 → 0.0.11-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/default/LiteDefaultApplication.d.ts +0 -1
- package/dist/apps/search/components/filter-actions/FilterActions.d.ts +0 -2
- package/dist/apps/search/components/filter-types/checkbox-filter/CheckboxFilter.d.ts +0 -2
- package/dist/apps/search/components/filter-types/index.d.ts +1 -3
- package/dist/apps/search/components/search-filters/PartialSearchFilters.d.ts +1 -6
- package/dist/apps/search/components/search-filters/SearchFilters.d.ts +1 -5
- package/dist/apps/search/flight-requests/SearchRequests.d.ts +1 -1
- package/dist/apps/search/interfaces/SearchFilter.d.ts +5 -7
- package/dist/apps/search/reducers/FilterReducer.d.ts +10 -14
- package/dist/apps/search/utils/FilterHelper.d.ts +6 -38
- package/dist/bundle.js +1 -1
- package/dist/en.json +1 -1
- package/dist/index.d.ts +0 -16
- package/dist/lite-app.css +1 -5
- package/dist/shared/constants/LiteActions.d.ts +0 -8
- package/dist/shared/constants/LiteRadioChannels.d.ts +0 -1
- package/dist/shared/flight-requests/VideoRequests.d.ts +0 -7
- package/dist/shared/hooks/index.d.ts +0 -1
- package/package.json +7 -7
- package/typings/utils/imports.d.ts +1 -6
- package/dist/apps/default/views/mock-testing/MockRequests.d.ts +0 -12
- package/dist/apps/default/views/mock-testing/MockView.d.ts +0 -2
- package/dist/apps/search/components/filter-types/dropdown-filter/DropdownFilter.d.ts +0 -7
- package/dist/apps/search/components/filter-types/radio-filter/year-level/YearLevelRadioFilter.d.ts +0 -7
- package/dist/apps/search/components/scoped-search-bar/ScopedSearchBar.d.ts +0 -18
- package/dist/apps/search/components/scoped-search-bar/partial-loading/PartialScopedSearchBar.d.ts +0 -2
- package/dist/apps/user-manager/LiteUserManagerApplication.d.ts +0 -16
- package/dist/apps/user-manager/components/edit-student-details/EditStudentDetails.d.ts +0 -10
- package/dist/apps/user-manager/components/edit-teacher-details/EditTeacherDetails.d.ts +0 -10
- package/dist/apps/user-manager/components/index.d.ts +0 -4
- package/dist/apps/user-manager/components/manage-users-list/ManageUsersList.d.ts +0 -8
- package/dist/apps/user-manager/components/manage-users-list/partial-loading/PartialManageUsersList.d.ts +0 -2
- package/dist/apps/user-manager/components/manage-users-list/students/ManageStudentItem.d.ts +0 -9
- package/dist/apps/user-manager/components/manage-users-list/teachers/ManageTeacherItem.d.ts +0 -9
- package/dist/apps/user-manager/components/user-details-form/UserDetailsForm.d.ts +0 -11
- package/dist/apps/user-manager/components/year-level-select/YearLevelSelect.d.ts +0 -9
- package/dist/apps/user-manager/enums/index.d.ts +0 -1
- package/dist/apps/user-manager/enums/mocks/MockUserType.d.ts +0 -4
- package/dist/apps/user-manager/flight-requests/ClassroomRequests.d.ts +0 -4
- package/dist/apps/user-manager/flight-requests/SchoolUserRequests.d.ts +0 -21
- package/dist/apps/user-manager/flight-requests/YearLevelRequests.d.ts +0 -4
- package/dist/apps/user-manager/interfaces/EditUserRequest.d.ts +0 -8
- package/dist/apps/user-manager/interfaces/index.d.ts +0 -6
- package/dist/apps/user-manager/interfaces/mocks/MockClassroom.d.ts +0 -3
- package/dist/apps/user-manager/interfaces/mocks/MockStudent.d.ts +0 -7
- package/dist/apps/user-manager/interfaces/mocks/MockTeacher.d.ts +0 -5
- package/dist/apps/user-manager/interfaces/mocks/MockUserRole.d.ts +0 -3
- package/dist/apps/user-manager/interfaces/mocks/MockYearLevel.d.ts +0 -3
- package/dist/apps/user-manager/validation/index.d.ts +0 -1
- package/dist/apps/user-manager/validation/user-validation/UserValidationSchema.d.ts +0 -14
- package/dist/apps/user-manager/views/create-student/CreateStudentView.d.ts +0 -6
- package/dist/apps/user-manager/views/create-teacher/CreateTeacherView.d.ts +0 -6
- package/dist/apps/user-manager/views/edit-student/EditStudentView.d.ts +0 -7
- package/dist/apps/user-manager/views/edit-teacher/EditTeacherView.d.ts +0 -7
- package/dist/apps/user-manager/views/remove-user/RemoveUserView.d.ts +0 -8
- package/dist/apps/user-manager/views/school-student-manager/SchoolStudentManagerView.d.ts +0 -7
- package/dist/apps/user-manager/views/school-student-manager/empty-state/SchoolStudentManagerEmptyState.d.ts +0 -2
- package/dist/apps/user-manager/views/school-teacher-manager/SchoolTeacherManagerView.d.ts +0 -11
- package/dist/apps/user-manager/views/school-teacher-manager/empty-state/SchoolTeacherManagerEmptyState.d.ts +0 -2
- package/dist/shared/hooks/useBulkCheckboxManager.d.ts +0 -17
- package/dist/shared/hooks/useVideoMixin.d.ts +0 -2
package/dist/en.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"search":{"filterActions":{"apply":"Apply","reset":"Reset"},"resetButton":{"reset":"Reset Filters"},"searchFilters":{"heading":"Filters","reset":"Reset Filters"},"utils":{"
|
|
1
|
+
{"search":{"filterActions":{"apply":"Apply","reset":"Reset"},"resetButton":{"reset":"Reset Filters"},"searchFilters":{"heading":"Filters","reset":"Reset Filters"},"utils":{"yearLevels":"Year Levels","types":"Types","ratings":"Ratings","interactives":"Interactives","clips":"Clips","moreFilters":"More Filters","interactivesDescription":"Only display videos with interactives","clipsDescription":"Only display videos with clips","allTypes":"All Types","topics":"Topics","playlists":"Playlist","series":"Series","videos":"Videos"},"searchResults":{"heading":"Search Results","playlists":"Playlists","series":"Series","relatedPlaylists":"Related Playlists","relatedSeries":"Related Series"}},"shared":{"clips":{"clips":"Clips","create":"Create a clip","empty":"Only want a part of the video? Create a clip by trimming it down to the sections you want."},"immersiveReader":{"titleFallback":"Immersive Reader"},"interactives":{"interactives":"Interactives","create":"Create interactive","preview":"Preview Questions","empty":"Create your own questions to put into this video!"},"playPage":{"classroomMode":"Classroom Mode","createInteractive":"Create interactive video","createClip":"Create clip","more":"More","share":"Share","addToPlaylist":"Add to Playlist","favourite":"Favourite","relatedVideos":"Related Videos"},"synopsis":{"showFullDescription":"Show full description","videoAtAGlance":"Video at a glance..."},"uploadFileSelect":{"uploadVideo":"Upload a video"},"userOptions":{"myProfile":"My Profile","myPreferences":"My Preferences","signOut":"Sign Out"},"videoDetails":{"details":"Details","rating":"Rating: %{code}","productionYear":"Production Year: %{year}","productionCompanies":"Production Companies","distributors":"Distributors","tags":"Tags:","description":"Description","showGlance":"See video at a glance"},"notFound":{"title":"Page not found"},"dragMask":{"message":"Drop files here to begin uploading"},"uploadService":{"navLock":"Are you sure you want to leave? Your upload progress will be lost."},"favoriteVideos":{"header":"Favourited Videos"},"leftNav":{"home":"Home","myPlaylists":"My Playlists","myUploads":"My Uploads","following":"Following","favouritedVideos":"Favourited Videos","myClassrooms":"My Classrooms","watchHistory":"Watch History"},"myUploads":{"header":"My Uploads","description":"Here we store all the videos that you upload on to ClickView!","share":"Share","edit":"Edit","alertMessage":"Drag a video onto this window <strong>at any time</strong> to begin uploading.","alertSecondaryMessage":"(You can select more than 1 video at a time)"},"series":{"dashboard":"Dashboard","series":"Series: %{seriesName}","share":"Share","follow":"Follow"}},"lite":{"uploadItem":{"uploading":"UPLOADING","processing":"PROCESSING","error":"ERROR PROCESSING"}}}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,21 +3,6 @@ import './apps/search/components/reset-button/reset-button.lang.json';
|
|
|
3
3
|
import './apps/search/components/search-filters/search-filters.lang.json';
|
|
4
4
|
import './apps/search/utils/search-utils.lang.json';
|
|
5
5
|
import './apps/search/views/search-results/search-results.lang.json';
|
|
6
|
-
import './apps/user-manager/components/manage-users-list/students/manage-students.lang.json';
|
|
7
|
-
import './apps/user-manager/components/manage-users-list/teachers/manage-teachers.lang.json';
|
|
8
|
-
import './apps/user-manager/components/user-details-form/student-details-form.lang.json';
|
|
9
|
-
import './apps/user-manager/components/user-details-form/teacher-details-form.lang.json';
|
|
10
|
-
import './apps/user-manager/components/user-details-form/user-details-form.lang.json';
|
|
11
|
-
import './apps/user-manager/validation/user-validation/user-validation.lang.json';
|
|
12
|
-
import './apps/user-manager/views/create-student/create-student.lang.json';
|
|
13
|
-
import './apps/user-manager/views/create-teacher/create-teacher.lang.json';
|
|
14
|
-
import './apps/user-manager/views/edit-student/edit-student.lang.json';
|
|
15
|
-
import './apps/user-manager/views/edit-teacher/edit-teacher.lang.json';
|
|
16
|
-
import './apps/user-manager/views/remove-user/remove-user.lang.json';
|
|
17
|
-
import './apps/user-manager/views/school-student-manager/empty-state/school-student-manager-empty-state.lang.json';
|
|
18
|
-
import './apps/user-manager/views/school-student-manager/school-student-manager.lang.json';
|
|
19
|
-
import './apps/user-manager/views/school-teacher-manager/empty-state/school-teacher-manager-empty-state.lang.json';
|
|
20
|
-
import './apps/user-manager/views/school-teacher-manager/school-teacher-manager.lang.json';
|
|
21
6
|
import './shared/components/clips/clips.lang.json';
|
|
22
7
|
import './shared/components/immersive-reader/immersive-reader.lang.json';
|
|
23
8
|
import './shared/components/interactives/interactives.lang.json';
|
|
@@ -49,7 +34,6 @@ export * from './apps/dashboard/LiteDashboardApplication';
|
|
|
49
34
|
export * from './apps/subjects/LiteSubjectApplication';
|
|
50
35
|
export * from './apps/search/LiteSearchApplication';
|
|
51
36
|
export * from './apps/content-updates/LiteContentUpdatesApplication';
|
|
52
|
-
export * from './apps/user-manager/LiteUserManagerApplication';
|
|
53
37
|
export * from './apps/search/constants/SearchAppVariables';
|
|
54
38
|
export * from './apps/notifications/LiteNotificationsApplication';
|
|
55
39
|
export * from './apps/notifications/constants/NotificationsAppVariables';
|
package/dist/lite-app.css
CHANGED
|
@@ -28,11 +28,7 @@ body{background-color:#fff}
|
|
|
28
28
|
|
|
29
29
|
._2zHGT{height:1.5rem;width:3.5rem}._3Gy7Y{height:2.2rem;width:5rem}
|
|
30
30
|
|
|
31
|
-
._2LJ1G{font-weight:500}.
|
|
31
|
+
._2LJ1G{font-weight:500}._2LJ1G::after{display:none}._13K5j{min-width:15rem}
|
|
32
32
|
|
|
33
33
|
._1c2gx{height:2rem;width:13rem}
|
|
34
34
|
|
|
35
|
-
.Atgxo{background-color:#D7D7D7}
|
|
36
|
-
|
|
37
|
-
.Pt-8R{position:absolute;top:50%;right:.3125rem;-webkit-transform:translateY(-50%);transform:translateY(-50%)}
|
|
38
|
-
|
|
@@ -42,12 +42,4 @@ export declare const Actions: {
|
|
|
42
42
|
CONTENT_UPDATES: string;
|
|
43
43
|
CLASSIFICATION_UPDATE: string;
|
|
44
44
|
};
|
|
45
|
-
UserManager: {
|
|
46
|
-
STUDENTS: string;
|
|
47
|
-
REMOVE_USERS: string;
|
|
48
|
-
NEW_STUDENT: string;
|
|
49
|
-
EDIT_STUDENT: string;
|
|
50
|
-
NEW_TEACHER: string;
|
|
51
|
-
EDIT_TEACHER: string;
|
|
52
|
-
};
|
|
53
45
|
};
|
|
@@ -6,11 +6,4 @@ export declare const VideoRequests: {
|
|
|
6
6
|
videos(ids: string[], success?: (videos: Video[]) => void): Flight.Request;
|
|
7
7
|
updateVideo(data: UpdateVideoRequest, success?: () => void): Flight.Request;
|
|
8
8
|
favoriteVideos(cursor: string): Flight.Request;
|
|
9
|
-
/**
|
|
10
|
-
* This is simply an example to show the prototype for useVideoMixin
|
|
11
|
-
* eventually there will be endpoints in domain that let us fetch members
|
|
12
|
-
* without fetching the objects properties, so we can fetch stuff like
|
|
13
|
-
* hasInteractives and isFavourited as subsequent calls
|
|
14
|
-
*/
|
|
15
|
-
videoRatings(ids: string[]): Flight.Request;
|
|
16
9
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clickview/lite",
|
|
3
|
-
"version": "0.0.11-
|
|
3
|
+
"version": "0.0.11-rc.0",
|
|
4
4
|
"description": "ClickView Lite",
|
|
5
5
|
"main": "dist/bundle.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"author": "Joshua Taylor, Shale Kuzmanovski, Matt Trengrove, Michael McDonnell",
|
|
21
21
|
"license": "ISC",
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@clickview/tooling": "0.0.
|
|
23
|
+
"@clickview/tooling": "0.0.14",
|
|
24
24
|
"@types/marked": "0.7.3",
|
|
25
25
|
"@types/react-custom-scrollbars": "4.0.6"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@clickview/common": "1.0.6-
|
|
29
|
-
"@clickview/dashboard": "1.0.9-
|
|
30
|
-
"@clickview/playlists": "1.0.10-
|
|
31
|
-
"@clickview/shared": "1.0.9-
|
|
32
|
-
"@clickview/styles": "1.0.
|
|
28
|
+
"@clickview/common": "1.0.6-rc.0",
|
|
29
|
+
"@clickview/dashboard": "1.0.9-rc.0",
|
|
30
|
+
"@clickview/playlists": "1.0.10-rc.0",
|
|
31
|
+
"@clickview/shared": "1.0.9-rc.0",
|
|
32
|
+
"@clickview/styles": "1.0.4",
|
|
33
33
|
"@microsoft/immersive-reader-sdk": "1.0.0",
|
|
34
34
|
"marked": "0.8.0",
|
|
35
35
|
"react-custom-scrollbars": "4.2.1",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Flight, Xhr } from '@clickview/common';
|
|
2
|
-
export interface Todo {
|
|
3
|
-
id: string;
|
|
4
|
-
text: string;
|
|
5
|
-
done: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const MockRequests: {
|
|
8
|
-
getTodos(): Flight.SimulatedRequest;
|
|
9
|
-
addTodo(text: string, success: () => void, error: (xhr: Xhr) => void): Flight.SimulatedRequest;
|
|
10
|
-
updateTodo(todo: Todo): Flight.SimulatedRequest;
|
|
11
|
-
deleteTodo(id: string): Flight.SimulatedRequest;
|
|
12
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface ScopedSearchBarProps {
|
|
3
|
-
id: string;
|
|
4
|
-
onSubmit?: (query: string) => void;
|
|
5
|
-
name?: string;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
queryParamName?: string;
|
|
9
|
-
debounceTime?: number;
|
|
10
|
-
}
|
|
11
|
-
export declare function ScopedSearchBar(props: ScopedSearchBarProps): JSX.Element;
|
|
12
|
-
export declare namespace ScopedSearchBar {
|
|
13
|
-
var defaultProps: {
|
|
14
|
-
debounceTime: number;
|
|
15
|
-
queryParamName: string;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Core, ReactApplication, HashObject } from '@clickview/common';
|
|
2
|
-
import { TeacherLayoutViewOptions, TeacherLayoutView } from 'shared/layouts';
|
|
3
|
-
export declare class UserManagerApplication extends ReactApplication {
|
|
4
|
-
protected layout: TeacherLayoutView;
|
|
5
|
-
get name(): string;
|
|
6
|
-
static get router(): any;
|
|
7
|
-
get channelName(): string;
|
|
8
|
-
protected get layoutOptions(): Core.LayoutOptions<TeacherLayoutViewOptions>;
|
|
9
|
-
studentManager(queryParams?: HashObject): void;
|
|
10
|
-
teacherManager(queryParams?: HashObject): void;
|
|
11
|
-
newStudent(): void;
|
|
12
|
-
editStudent(params: HashObject): void;
|
|
13
|
-
newTeacher(): void;
|
|
14
|
-
editTeacher(params: HashObject): void;
|
|
15
|
-
removeUsers(params: HashObject): void;
|
|
16
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { EditUserRequest, MockYearLevel, MockStudent } from 'apps/user-manager/interfaces';
|
|
3
|
-
interface EditStudentDetailsProps {
|
|
4
|
-
user?: MockStudent;
|
|
5
|
-
saveUser: (data: EditUserRequest) => void;
|
|
6
|
-
onClickCancel: () => void;
|
|
7
|
-
yearLevels: MockYearLevel[];
|
|
8
|
-
}
|
|
9
|
-
export declare function EditStudentDetails(props: EditStudentDetailsProps): React.ReactElement;
|
|
10
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { EditUserRequest, MockUserRole, MockTeacher } from 'apps/user-manager/interfaces';
|
|
3
|
-
interface EditUserDetailsProps {
|
|
4
|
-
user?: MockTeacher;
|
|
5
|
-
saveUser: (data: EditUserRequest) => void;
|
|
6
|
-
onClickCancel: () => void;
|
|
7
|
-
userRoles: MockUserRole[];
|
|
8
|
-
}
|
|
9
|
-
export declare function EditTeacherDetails(props: EditUserDetailsProps): React.ReactElement;
|
|
10
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { MockStudent } from 'apps/user-manager/interfaces';
|
|
3
|
-
interface ManageStudentItemProps {
|
|
4
|
-
user: MockStudent;
|
|
5
|
-
isChecked: boolean;
|
|
6
|
-
onToggleCheckbox: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function ManageStudentItem(props: ManageStudentItemProps): JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { MockTeacher } from 'apps/user-manager/views/school-teacher-manager/SchoolTeacherManagerView';
|
|
3
|
-
interface ManageTeacherItemProps {
|
|
4
|
-
user: MockTeacher;
|
|
5
|
-
isChecked: boolean;
|
|
6
|
-
onToggleCheckbox: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function ManageTeacherItem(props: ManageTeacherItemProps): JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { MockYearLevel, MockUserRole } from 'apps/user-manager/interfaces';
|
|
3
|
-
import { MockUserType } from 'apps/user-manager/enums';
|
|
4
|
-
interface UserDetailsFormProps {
|
|
5
|
-
onClickCancel: () => void;
|
|
6
|
-
yearLevels?: MockYearLevel[];
|
|
7
|
-
userRoles?: MockUserRole[];
|
|
8
|
-
userType: MockUserType;
|
|
9
|
-
}
|
|
10
|
-
export declare function UserDetailsForm(props: UserDetailsFormProps): React.ReactElement;
|
|
11
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { MockYearLevel } from 'apps/user-manager/interfaces';
|
|
3
|
-
interface YearLevelSelectProps {
|
|
4
|
-
yearLevels: MockYearLevel[];
|
|
5
|
-
onSelect: (id: string) => void;
|
|
6
|
-
selected?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare function YearLevelSelect(props: YearLevelSelectProps): React.ReactElement;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './mocks/MockUserType';
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Flight, HashObject } from '@clickview/common';
|
|
2
|
-
import { EditUserRequest } from 'apps/user-manager/interfaces';
|
|
3
|
-
export declare const SchoolUserRequests: {
|
|
4
|
-
/**
|
|
5
|
-
* School student management
|
|
6
|
-
*/
|
|
7
|
-
getSchoolStudents(queryObject?: HashObject<any>): Flight.SimulatedRequest;
|
|
8
|
-
removeStudentsFromSchool(ids: string[], onDone: () => void): Flight.SimulatedRequest;
|
|
9
|
-
getStudent(id: string): Flight.SimulatedRequest;
|
|
10
|
-
createStudent(user: EditUserRequest, success?: () => void, error?: () => void): Flight.SimulatedRequest;
|
|
11
|
-
updateStudent(user: EditUserRequest, success?: () => void, error?: () => void): Flight.SimulatedRequest;
|
|
12
|
-
/**
|
|
13
|
-
* School teacher management
|
|
14
|
-
*/
|
|
15
|
-
getSchoolTeachers(queryObject?: HashObject<any>): Flight.SimulatedRequest;
|
|
16
|
-
removeTeachersFromSchool(ids: string[], onDone: () => void): Flight.SimulatedRequest;
|
|
17
|
-
getTeacher(id: string): Flight.SimulatedRequest;
|
|
18
|
-
createTeacher(user: EditUserRequest, success?: () => void, error?: () => void): Flight.SimulatedRequest;
|
|
19
|
-
updateTeacher(user: EditUserRequest, success?: () => void, error?: () => void): Flight.SimulatedRequest;
|
|
20
|
-
getUserRoles(): Flight.SimulatedRequest;
|
|
21
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './user-validation/UserValidationSchema';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare const TeacherValidationSchema: import("yup").ObjectSchema<import("yup").Shape<import("yup").Shape<object, {
|
|
2
|
-
name: string;
|
|
3
|
-
surname: string;
|
|
4
|
-
email: string;
|
|
5
|
-
}>, {
|
|
6
|
-
userRole: string;
|
|
7
|
-
}>>;
|
|
8
|
-
export declare const StudentValidationSchema: import("yup").ObjectSchema<import("yup").Shape<import("yup").Shape<object, {
|
|
9
|
-
name: string;
|
|
10
|
-
surname: string;
|
|
11
|
-
email: string;
|
|
12
|
-
}>, {
|
|
13
|
-
yearLevel: string;
|
|
14
|
-
}>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PopupViewProps } from '@clickview/shared';
|
|
3
|
-
interface RemoveUserViewProps {
|
|
4
|
-
userIds: string[];
|
|
5
|
-
userType: 'student' | 'teacher';
|
|
6
|
-
}
|
|
7
|
-
export declare function RemoveUserView(props: RemoveUserViewProps & PopupViewProps): JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { HashObject } from '@clickview/common';
|
|
3
|
-
interface SchoolStudentManagerViewProps {
|
|
4
|
-
queryParams: HashObject;
|
|
5
|
-
}
|
|
6
|
-
export declare function SchoolStudentManagerView(props: SchoolStudentManagerViewProps): JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { HashObject } from '@clickview/common';
|
|
3
|
-
import { User, BaseObject } from '@clickview/shared';
|
|
4
|
-
export declare type MockTeacher = User & {
|
|
5
|
-
userRole: BaseObject;
|
|
6
|
-
};
|
|
7
|
-
interface SchoolTeacherManagerViewProps {
|
|
8
|
-
queryParams: HashObject;
|
|
9
|
-
}
|
|
10
|
-
export declare function SchoolTeacherManagerView(props: SchoolTeacherManagerViewProps): JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { HashObject } from '@clickview/common';
|
|
2
|
-
interface BulkCheckboxManagerOptions {
|
|
3
|
-
preselectedIds?: string[];
|
|
4
|
-
idField?: string;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* @param collection - The collection you are keeping track of with checkboxes
|
|
8
|
-
* @param options - See interface above
|
|
9
|
-
*/
|
|
10
|
-
export declare const useBulkCheckboxManager: (collection: HashObject<any>[], options?: BulkCheckboxManagerOptions) => {
|
|
11
|
-
onToggleBulk: () => void;
|
|
12
|
-
onToggleItem: (id: string) => void;
|
|
13
|
-
getSelected: () => string[];
|
|
14
|
-
isChecked: (item: string | HashObject<string>) => boolean;
|
|
15
|
-
bulkChecked: boolean;
|
|
16
|
-
};
|
|
17
|
-
export {};
|