@clickview/player 0.0.3 → 0.0.4-rc.1
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/.storybook/main.js +1 -0
- package/.storybook/stories/Base.stories.tsx +6 -5
- package/.storybook/stories/Interactives.stories.tsx +45 -49
- package/.storybook/stories/utils/mock-playerapi.ts +44 -12
- package/dist/en.json +1 -393
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +5 -1
- package/dist/libs/common/src/backbone/utils/LocalStorageHelper.d.ts +58 -0
- package/dist/libs/common/src/react/flight/FlightHelpers.d.ts +2 -1
- package/dist/libs/common/src/react/utils/ArrayHelper.d.ts +17 -1
- package/dist/libs/shared/src/components/actions/ActionButton.d.ts +2 -0
- package/dist/libs/shared/src/components/actions/ActionsDropdown.d.ts +1 -1
- package/dist/libs/shared/src/components/icon-button/IconButton.d.ts +2 -0
- package/dist/libs/shared/src/components/interactive-questions/InteractionLabel.d.ts +20 -0
- package/dist/libs/shared/src/components/popup/Popup.d.ts +2 -0
- package/dist/libs/shared/src/enums/ObjectStatus.d.ts +3 -3
- package/dist/libs/shared/src/enums/UserGroup.d.ts +3 -3
- package/dist/libs/shared/src/enums/UserRole.d.ts +4 -4
- package/dist/libs/shared/src/hooks/UseGrabCursorProps.d.ts +15 -0
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +3 -1
- package/dist/libs/shared/src/images/svg/objects/index.d.ts +3 -1
- package/dist/libs/shared/src/interfaces/models/Classroom.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/models/Clip.d.ts +4 -1
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +1 -7
- package/dist/libs/shared/src/interfaces/models/Customer.d.ts +1 -2
- package/dist/libs/shared/src/interfaces/models/InteractiveMetadata.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Series.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/User.d.ts +12 -37
- package/dist/libs/shared/src/interfaces/models/Video.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/interactive-results/StudentAttempt.d.ts +1 -1
- package/dist/libs/shared/src/utils/InteractiveCorrectnessHelper.d.ts +16 -0
- package/dist/player-app.css +45 -2391
- package/dist/player-app.js +122 -5657
- package/dist/projects/player/src/components/collapserator/collapserator.d.ts +2 -0
- package/dist/projects/player/src/components/landing-splash/landing-splash.d.ts +65 -0
- package/dist/projects/player/src/components/landing-splash/metadata/splash-metadata.d.ts +63 -0
- package/dist/projects/player/src/components/landing-splash/metadata/splash-title/splash-title.d.ts +62 -0
- package/dist/projects/player/src/components/landing-splash/metadata/splash-warning/splash-warning.d.ts +60 -0
- package/dist/projects/player/src/components/logo/clickview-logo.d.ts +1 -0
- package/dist/projects/player/src/components/menu/menu.d.ts +16 -0
- package/dist/projects/player/src/components/menu-button/menu-button.d.ts +1 -0
- package/dist/projects/player/src/components/player/player.d.ts +2 -0
- package/dist/projects/player/src/components/subs-caps-button/SubCapsMenuItem.d.ts +52 -0
- package/dist/projects/player/src/components/subs-caps-button/subtitle-search-menu-item.d.ts +54 -0
- package/dist/projects/player/src/components/subs-caps-button/subtitle-size-menu-item.d.ts +53 -0
- package/dist/projects/player/src/components/subtitle-search-button/subtitle-result-menu-item.d.ts +15 -0
- package/dist/projects/player/src/components/subtitle-search-button/subtitle-search-button.d.ts +30 -0
- package/dist/projects/player/src/components/subtitle-search-button/subtitle-search-input.d.ts +27 -0
- package/dist/projects/player/src/components/subtitle-size-button/subtitle-size-button.d.ts +1 -0
- package/dist/projects/player/src/components/text-track-settings/text-track-settings.d.ts +56 -0
- package/dist/projects/player/src/components/thumbnail-display/thumbnail-display.d.ts +1 -0
- package/dist/projects/player/src/interfaces/models/PlaybackObject.d.ts +13 -0
- package/dist/projects/player/src/players/base-player.d.ts +9 -0
- package/dist/projects/player/src/players/interactive-player.d.ts +2 -0
- package/dist/projects/player/src/plugins/chromecast-plugin/chromecast-plugin.d.ts +11 -0
- package/dist/projects/player/src/plugins/chromecast-plugin/components/chromecast-button.d.ts +1 -0
- package/dist/projects/player/src/plugins/chromecast-plugin/session-manager.d.ts +73 -0
- package/dist/projects/player/src/plugins/chromecast-plugin/tech/chromecast-tech-ui/chromecast-tech-ui.d.ts +67 -0
- package/dist/projects/player/src/plugins/chromecast-plugin/tech/chromecast-tech.d.ts +1 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/seek-bar/interactive-bar-items.d.ts +4 -4
- package/dist/projects/player/src/plugins/interactive-plugin/components/sliding-timepoint/sliding-timepoints.d.ts +1 -0
- package/dist/projects/player/src/plugins/interactive-plugin/components/timepoint/timepoint-component.d.ts +1 -0
- package/dist/projects/player/src/plugins/interactive-plugin/hooks/useInteractiveTrack.d.ts +4 -2
- package/dist/projects/player/src/plugins/interactive-plugin/interactive-plugin.d.ts +1 -0
- package/dist/projects/player/src/plugins/interactive-plugin/utils/helpers.d.ts +1 -1
- package/dist/projects/player/src/plugins/persist-quality-settings-plugin/persist-quality-settings-plugin.d.ts +33 -0
- package/dist/projects/player/src/plugins/persist-subtitle-settings-plugin/persist-subtitle-settings-plugin.d.ts +38 -0
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/components/drag-handle/drag-handle.d.ts +53 -0
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/components/drag-targets/drag-targets.d.ts +54 -0
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/components/whiteboard-mode-button/whiteboard-mode-button.d.ts +23 -0
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/components/whiteboard-mode-button/whiteboard-mode-menu-item.d.ts +15 -0
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/contants/WhiteboardSides.d.ts +5 -0
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/interfaces/WhiteboardSide.d.ts +1 -0
- package/dist/projects/player/src/plugins/whiteboard-mode-plugin/whiteboard-mode-plugin.d.ts +34 -0
- package/dist/projects/player/src/utils/fn.d.ts +30 -0
- package/dist/projects/player/src/utils/local-storage-helper.d.ts +6 -0
- package/dist/projects/player/src/utils/track-helper.d.ts +1 -0
- package/package.json +70 -66
- package/typings/utils/imports.d.ts +1 -1
- package/dist/libs/shared/src/enums/CustomerType.d.ts +0 -11
- package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-short-answer.ts/create-short-answer.d.ts +0 -12
- package/dist/projects/player/src/plugins/interactive-plugin/components/incomplete-alert/incomplete-alert.d.ts +0 -2
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive/create-interaction-buttons.d.ts +0 -13
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive/useInteractiveTrack.d.ts +0 -20
- package/dist/projects/player/src/plugins/interactive-plugin/components/interactive/view-iteraction-buttons.d.ts +0 -13
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/CreateInteractionState.d.ts +0 -4
- package/dist/projects/player/src/plugins/interactive-plugin/interfaces/ViewInteractionState.d.ts +0 -3
package/dist/en.json
CHANGED
|
@@ -1,393 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"notifications": {
|
|
3
|
-
"notificationList": {
|
|
4
|
-
"noNotifications": "You have no notifications"
|
|
5
|
-
},
|
|
6
|
-
"services": {
|
|
7
|
-
"suggestEditSubmit": "Suggestion was successfully submitted"
|
|
8
|
-
},
|
|
9
|
-
"utils": {
|
|
10
|
-
"viewVideoDetails": "View video details",
|
|
11
|
-
"viewVideo": "View video",
|
|
12
|
-
"reviewVideos": "Review videos",
|
|
13
|
-
"viewNewContent": "View new content",
|
|
14
|
-
"reviewVideo": "Review video",
|
|
15
|
-
"seeNow": "See now"
|
|
16
|
-
},
|
|
17
|
-
"notifications": {
|
|
18
|
-
"title": "Notifications",
|
|
19
|
-
"notifications": "Notifications"
|
|
20
|
-
},
|
|
21
|
-
"notificationsPopover": {
|
|
22
|
-
"notifications": "Notifications",
|
|
23
|
-
"seeAll": "See all notifications"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"playlists": {
|
|
27
|
-
"emptyState": {
|
|
28
|
-
"noPlaylistsHeading": "You have no playlists",
|
|
29
|
-
"noPlaylistsInfo": "Click <strong>New Playlist</strong> above to create one.",
|
|
30
|
-
"noVideosHeading": "There are no videos in this playlist",
|
|
31
|
-
"noVideosInfo": "Learn how to add videos to a playlist."
|
|
32
|
-
},
|
|
33
|
-
"playlistItem": {
|
|
34
|
-
"videos": "%{smart_count} video |||| %{smart_count} videos",
|
|
35
|
-
"lastUpdated": "Last updated: %{timeAgo}",
|
|
36
|
-
"notUpdatedRecently": "Last updated over a month ago"
|
|
37
|
-
},
|
|
38
|
-
"playlistSortSelect": {
|
|
39
|
-
"recentlyUpdated": "Recently updated",
|
|
40
|
-
"atoz": "A to Z",
|
|
41
|
-
"ztoa": "Z to A",
|
|
42
|
-
"newest": "Newest",
|
|
43
|
-
"oldest": "Oldest"
|
|
44
|
-
},
|
|
45
|
-
"hooks": {
|
|
46
|
-
"somethingWentWrong": "Something went wrong"
|
|
47
|
-
},
|
|
48
|
-
"validation": {
|
|
49
|
-
"nameExceeds": "Name is too long",
|
|
50
|
-
"nameRequired": "Name is required",
|
|
51
|
-
"descriptionExceeds": "Description is too long"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"search": {
|
|
55
|
-
"searchTips": {
|
|
56
|
-
"heading": "Search Tips",
|
|
57
|
-
"firstTerm": "\"atomic bonding\"",
|
|
58
|
-
"firstDescription": "Search for exact phrases using quotation marks",
|
|
59
|
-
"secondTerm": "\"romeo and juliet\" english",
|
|
60
|
-
"secondDescription": "Combine normal and exact phrases together",
|
|
61
|
-
"thirdTerm": "-pollution",
|
|
62
|
-
"thirdDescription": "Exclude a keyword from your search",
|
|
63
|
-
"fourthTerm1": "tag:literature",
|
|
64
|
-
"fourthTerm2": "folder:science",
|
|
65
|
-
"fourthDescription": "Search for results within a tag, folder or series",
|
|
66
|
-
"fifthTerm": "folder:-physics",
|
|
67
|
-
"fifthDescription": "Use a \"-\" to exclude a folder, title or series"
|
|
68
|
-
},
|
|
69
|
-
"services": {
|
|
70
|
-
"folderTag": "This folder",
|
|
71
|
-
"seriesTag": "This series"
|
|
72
|
-
},
|
|
73
|
-
"searchBar": {
|
|
74
|
-
"findingResults": "Finding results...",
|
|
75
|
-
"recentSearches": "Recent Searches",
|
|
76
|
-
"allResults": "Show all results for",
|
|
77
|
-
"noLibraries": "There are currently no libraries to search. Add a new library to get started.",
|
|
78
|
-
"placeholder": "Search within your library... |||| Search within your libraries...",
|
|
79
|
-
"classifications": "topics",
|
|
80
|
-
"videos": "videos",
|
|
81
|
-
"tags": "tags",
|
|
82
|
-
"series": "series"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"subjects": {
|
|
86
|
-
"audienceFilter": {
|
|
87
|
-
"clear": "Clear"
|
|
88
|
-
},
|
|
89
|
-
"comingSoon": {
|
|
90
|
-
"comingSoon": "Coming Soon",
|
|
91
|
-
"info1": "We are currently building this topic.",
|
|
92
|
-
"info2": "In the meantime, we can remind you when it's available.",
|
|
93
|
-
"remindMe": "Remind Me"
|
|
94
|
-
},
|
|
95
|
-
"heroVideo": {
|
|
96
|
-
"resourcesHeading": "Resources",
|
|
97
|
-
"linksHeading": "Links",
|
|
98
|
-
"clipsHeading": "Clips",
|
|
99
|
-
"tagsHeading": "Tags",
|
|
100
|
-
"links": "%{smart_count} link |||| %{smart_count} links",
|
|
101
|
-
"resources": "%{smart_count} resource |||| %{smart_count} resources",
|
|
102
|
-
"clips": "%{smart_count} clip |||| %{smart_count} clips"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"upload": {
|
|
106
|
-
"fileType": {
|
|
107
|
-
"heading": "Invalid file type",
|
|
108
|
-
"body": "Sorry but you cannot upload files of that type.",
|
|
109
|
-
"okay": "Okay",
|
|
110
|
-
"close": "Close"
|
|
111
|
-
},
|
|
112
|
-
"internetConnectivityError": {
|
|
113
|
-
"title": "Internet connectivity issue",
|
|
114
|
-
"heading": "Connectivity issue.",
|
|
115
|
-
"body": "There seems to be an issue with your internet connection. Please try uploading your files again.",
|
|
116
|
-
"okay": "Okay"
|
|
117
|
-
},
|
|
118
|
-
"utils": {
|
|
119
|
-
"videoProcessingError": "Something went wrong processing this video.",
|
|
120
|
-
"waiting": "Waiting to be processed",
|
|
121
|
-
"processing": "Processing %{progress}%",
|
|
122
|
-
"complete": "Complete",
|
|
123
|
-
"readyToWatch": "Ready to watch, still processing higher resolutions."
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
"shared": {
|
|
127
|
-
"backButton": {
|
|
128
|
-
"back": "Back",
|
|
129
|
-
"backTo": "Back to %{backToName}"
|
|
130
|
-
},
|
|
131
|
-
"badges": {
|
|
132
|
-
"interactive": "Interactive",
|
|
133
|
-
"resources": "Resources"
|
|
134
|
-
},
|
|
135
|
-
"channelFormField": {
|
|
136
|
-
"channel": "Channel",
|
|
137
|
-
"placeholder": "Search for a channel..."
|
|
138
|
-
},
|
|
139
|
-
"confirmationPopup": {
|
|
140
|
-
"confirm": "Confirm",
|
|
141
|
-
"cancel": "Cancel"
|
|
142
|
-
},
|
|
143
|
-
"curriculumLinks": {
|
|
144
|
-
"curriculumLinks": "Curriculum Links",
|
|
145
|
-
"seeLess": "See less"
|
|
146
|
-
},
|
|
147
|
-
"editLink": {
|
|
148
|
-
"linkNameExceeds": "Please provide a shorter name",
|
|
149
|
-
"linkNameRequired": "Please provide a name for your resource",
|
|
150
|
-
"linkUrlRequired": "Please provide a valid URL for your resource. e.g. https://example.com",
|
|
151
|
-
"linkUrlExceeds": "Please provide a shorter URL",
|
|
152
|
-
"urlLabel": "URL",
|
|
153
|
-
"urlPlaceholder": "Paste the URL to a resource here",
|
|
154
|
-
"nameLabel": "Name",
|
|
155
|
-
"namePlaceholder": "Display name",
|
|
156
|
-
"cancel": "Cancel"
|
|
157
|
-
},
|
|
158
|
-
"editResource": {
|
|
159
|
-
"name": "Name",
|
|
160
|
-
"namePlaceholder": "Enter a name for this resource",
|
|
161
|
-
"nameTooLong": "Name is too long",
|
|
162
|
-
"nameRequired": "Name is required",
|
|
163
|
-
"cancel": "Cancel"
|
|
164
|
-
},
|
|
165
|
-
"editVideoDetails": {
|
|
166
|
-
"nameExceeds": "Name is too long",
|
|
167
|
-
"nameRequired": "Name is required",
|
|
168
|
-
"descriptionExceeds": "Description is too long",
|
|
169
|
-
"namePlaceholder": "Enter a name for your video",
|
|
170
|
-
"descriptionPlaceholder": "Enter a description for your video",
|
|
171
|
-
"cancel": "Cancel",
|
|
172
|
-
"nameLabel": "Title",
|
|
173
|
-
"descriptionLabel": "Description"
|
|
174
|
-
},
|
|
175
|
-
"editVideoLinks": {
|
|
176
|
-
"heading": "Resource Links",
|
|
177
|
-
"description": "You may attach links to other learning resources related to this video.",
|
|
178
|
-
"attach": "Attach",
|
|
179
|
-
"limit": "There is a resource link limit of %{limit} links. To add another link please first remove one."
|
|
180
|
-
},
|
|
181
|
-
"editVideoResources": {
|
|
182
|
-
"resourcesLimit": "There is a resource limit of %{limit} resources. To add another resource please first remove one.",
|
|
183
|
-
"customerResources": "My School's Learning Resources",
|
|
184
|
-
"clickViewResources": "Learning Resources by ClickView",
|
|
185
|
-
"resources": "Learning Resources",
|
|
186
|
-
"resourcesDescription": "Maximum file size 10MB. <span class='text-muted'>(Word, Excel, PowerPoint, pdf, text and images are supported.)</span>",
|
|
187
|
-
"resourcesAlternative": "or Drag and drop learning resources(s) to upload",
|
|
188
|
-
"clickViewResourcesEmpty": "There are no ClickView resources for this video"
|
|
189
|
-
},
|
|
190
|
-
"editVideoSubtitles": {
|
|
191
|
-
"subtitlesLimit": "There is a subtitle limit of %{limit} subtitles. To add another subtitle please first remove one.",
|
|
192
|
-
"customerSubtitles": "My School's Subtitles",
|
|
193
|
-
"subtitles": "Subtitles",
|
|
194
|
-
"subtitlesDescription": "You can upload up to %{limit} subtitles. <span class='text-muted'>(.srt files are supported.)</span>",
|
|
195
|
-
"subtitlesAlternative": "or Drag and drop a subtitle file (*.srt) to upload",
|
|
196
|
-
"clickViewSubtitles": "Subtitles by ClickView",
|
|
197
|
-
"clickViewSubtitlesEmpty": "There are no ClickView subtitles for this video"
|
|
198
|
-
},
|
|
199
|
-
"favouriteButton": {
|
|
200
|
-
"favouriteError": "Failed to favourite video.",
|
|
201
|
-
"unfavouriteError": "Failed to unfavourite video."
|
|
202
|
-
},
|
|
203
|
-
"fileSelect": {
|
|
204
|
-
"browse": "Browse for a file",
|
|
205
|
-
"invalidFileType": "Invalid file type"
|
|
206
|
-
},
|
|
207
|
-
"formButtons": {
|
|
208
|
-
"create": "Create",
|
|
209
|
-
"save": "Save",
|
|
210
|
-
"next": "Next"
|
|
211
|
-
},
|
|
212
|
-
"imageCropper": {
|
|
213
|
-
"cancel": "Cancel",
|
|
214
|
-
"crop": "Crop",
|
|
215
|
-
"title": "Crop and resize your image"
|
|
216
|
-
},
|
|
217
|
-
"imageSelect": {
|
|
218
|
-
"minDimensions": "(Minimum dimensions are %{width}px x %{height}px)",
|
|
219
|
-
"uploadAThumbnail": "Upload a thumbnail"
|
|
220
|
-
},
|
|
221
|
-
"immersiveReader": {
|
|
222
|
-
"titleFallback": "Immersive Reader"
|
|
223
|
-
},
|
|
224
|
-
"interactiveQuestions": {
|
|
225
|
-
"answer": "Answer",
|
|
226
|
-
"pending": "Pending",
|
|
227
|
-
"answered": "Answered"
|
|
228
|
-
},
|
|
229
|
-
"languageSelect": {
|
|
230
|
-
"heading": "Select a language for your subtitle",
|
|
231
|
-
"placeholder": "Select a language",
|
|
232
|
-
"close": "Close",
|
|
233
|
-
"submit": "Submit",
|
|
234
|
-
"label": "Language"
|
|
235
|
-
},
|
|
236
|
-
"pagination": {
|
|
237
|
-
"next": "Next",
|
|
238
|
-
"previous": "Previous"
|
|
239
|
-
},
|
|
240
|
-
"searchBar": {
|
|
241
|
-
"placeholder": "Enter a search query",
|
|
242
|
-
"recentSearchHeading": "Recent Searches"
|
|
243
|
-
},
|
|
244
|
-
"videoAtAGlance": {
|
|
245
|
-
"readFullDescription": "View Video Details",
|
|
246
|
-
"videoAtAGlance": "Video at a glance...",
|
|
247
|
-
"seeCurriculumLinks": "See Curriculum Links"
|
|
248
|
-
},
|
|
249
|
-
"videoItemDescription": {
|
|
250
|
-
"showMore": "... Show more",
|
|
251
|
-
"showLess": "Show less"
|
|
252
|
-
},
|
|
253
|
-
"interactiveItem": {
|
|
254
|
-
"previewQuestions": "Preview %{questionsShown} of %{smart_count} question |||| Preview %{questionsShown} of %{smart_count} questions"
|
|
255
|
-
},
|
|
256
|
-
"videoOwnerText": {
|
|
257
|
-
"clickViewContent": "Created by ClickView"
|
|
258
|
-
},
|
|
259
|
-
"dynamicWidget": {
|
|
260
|
-
"topics": "Topics",
|
|
261
|
-
"relatedTopics": "Related Topics",
|
|
262
|
-
"teach": "What would you like to teach?",
|
|
263
|
-
"preferencesTooltip": "Update your preferences"
|
|
264
|
-
},
|
|
265
|
-
"fixedWidget": {
|
|
266
|
-
"preferencesTooltip": "Update your preferences"
|
|
267
|
-
},
|
|
268
|
-
"greeting": {
|
|
269
|
-
"morning": "Good morning",
|
|
270
|
-
"afternoon": "Good afternoon",
|
|
271
|
-
"evening": "Good evening",
|
|
272
|
-
"fallback": "Hello",
|
|
273
|
-
"prompt": "What would you like to teach today?"
|
|
274
|
-
},
|
|
275
|
-
"interactiveWidgetItem": {
|
|
276
|
-
"previewQuestions": "Preview Questions"
|
|
277
|
-
},
|
|
278
|
-
"subjectWidgetItem": {
|
|
279
|
-
"comingSoon": "Coming Soon",
|
|
280
|
-
"edit": "Edit My Topics",
|
|
281
|
-
"all": "Explore all topics"
|
|
282
|
-
},
|
|
283
|
-
"dataHooks": {
|
|
284
|
-
"favourited": "Added <strong>%{video}</strong> to favourited videos.",
|
|
285
|
-
"unfavourited": "Removed <strong>%{video}</strong> from favourited videos."
|
|
286
|
-
},
|
|
287
|
-
"hooks": {
|
|
288
|
-
"navLockTitle": "Are you sure you want to leave?",
|
|
289
|
-
"navLockBody": "By leaving the current page all uploads will be discarded",
|
|
290
|
-
"discard": "Discard",
|
|
291
|
-
"cancel": "Cancel"
|
|
292
|
-
},
|
|
293
|
-
"behaviors": {
|
|
294
|
-
"fileDrop": {
|
|
295
|
-
"fileDrop": "Drop files here to begin uploading"
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
"_fileSelect": {
|
|
299
|
-
"browse": "Browse for a file",
|
|
300
|
-
"drop": "Drop files here to begin uploading"
|
|
301
|
-
},
|
|
302
|
-
"_pagination": {
|
|
303
|
-
"next": "Next",
|
|
304
|
-
"previous": "Previous"
|
|
305
|
-
},
|
|
306
|
-
"tooManyFiles": {
|
|
307
|
-
"title": "Uploading many files",
|
|
308
|
-
"heading": "Multiple files selected",
|
|
309
|
-
"body": "Please only upload one file at a time.",
|
|
310
|
-
"okay": "Okay"
|
|
311
|
-
},
|
|
312
|
-
"errors": {
|
|
313
|
-
"tooManyResources": {
|
|
314
|
-
"heading": "Too many resources.",
|
|
315
|
-
"body": "Cannot add more than %{resourceLimit} resource files to a video. Please remove some resources if you would like to add more.",
|
|
316
|
-
"okay": "Okay"
|
|
317
|
-
},
|
|
318
|
-
"tooManySubtitles": {
|
|
319
|
-
"heading": "Too many subtitles",
|
|
320
|
-
"body": "Cannot add more than %{subtitleLimit} subtitle files to a video. Please remove some subtitles if you would like to add more.",
|
|
321
|
-
"okay": "Okay"
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
"interactionTypes": {
|
|
325
|
-
"annotationName": "Annotation",
|
|
326
|
-
"imageName": "Image",
|
|
327
|
-
"missingWordName": "Missing word",
|
|
328
|
-
"missingWordPrompt": "Fill in the blank by typing the missing word(s)",
|
|
329
|
-
"multipleChoiceName": "Multiple Choice",
|
|
330
|
-
"multipleChoicePrompt": "Choose the correct answer(s)",
|
|
331
|
-
"shortAnswerName": "Short Answer",
|
|
332
|
-
"shortAnswerPrompt": "Type in your answer to the question",
|
|
333
|
-
"trueOrFalseName": "True or False",
|
|
334
|
-
"trueOrFalsePrompt": "Choose the correct answer"
|
|
335
|
-
},
|
|
336
|
-
"shared-utils": {
|
|
337
|
-
"responsive": "Responsive",
|
|
338
|
-
"small": "Small",
|
|
339
|
-
"medium": "Medium",
|
|
340
|
-
"large": "Large",
|
|
341
|
-
"exchange": "Exchange",
|
|
342
|
-
"workspace": "Workspace",
|
|
343
|
-
"file": "File",
|
|
344
|
-
"zipArchive": "Zip archive",
|
|
345
|
-
"presentation": "Presentation",
|
|
346
|
-
"spreadsheet": "Spreadsheet",
|
|
347
|
-
"document": "Document",
|
|
348
|
-
"pdf": "PDF",
|
|
349
|
-
"image": "Image",
|
|
350
|
-
"autoGeneratedSubtitle": "%{name} (auto-generated)",
|
|
351
|
-
"cancel": "Cancel",
|
|
352
|
-
"confirm": "Confirm"
|
|
353
|
-
},
|
|
354
|
-
"deleteLinkView": {
|
|
355
|
-
"heading": "Remove link?",
|
|
356
|
-
"body": "Are you sure you want to remove <strong>%{name}</strong>?",
|
|
357
|
-
"remove": "Remove",
|
|
358
|
-
"success": "Successfully removed link",
|
|
359
|
-
"error": "Failed to remove link. Please try again later."
|
|
360
|
-
},
|
|
361
|
-
"deleteResourceView": {
|
|
362
|
-
"heading": "Remove learning resource?",
|
|
363
|
-
"body": "Are you sure you want to remove <strong>%{name}</strong>?",
|
|
364
|
-
"remove": "Remove",
|
|
365
|
-
"success": "Successfully removed resource",
|
|
366
|
-
"error": "Failed to remove resource. Please try again later."
|
|
367
|
-
},
|
|
368
|
-
"deleteSubtitleView": {
|
|
369
|
-
"heading": "Remove subtitle?",
|
|
370
|
-
"body": "Are you sure you want to remove these subtitles: <strong>%{language}</strong>?",
|
|
371
|
-
"remove": "Remove",
|
|
372
|
-
"success": "Successfully removed subtitle",
|
|
373
|
-
"error": "Failed to remove subtitle. Please try again later."
|
|
374
|
-
},
|
|
375
|
-
"editLinkView": {
|
|
376
|
-
"heading": "Edit link",
|
|
377
|
-
"success": "Successfully saved link",
|
|
378
|
-
"error": "Failed to save link. Please try again later."
|
|
379
|
-
},
|
|
380
|
-
"editResourceView": {
|
|
381
|
-
"heading": "Edit learning resource",
|
|
382
|
-
"success": "Successfully updated resource",
|
|
383
|
-
"error": "Failed to update resource. Please try again later."
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
"workspace": {
|
|
387
|
-
"ratingSelect": {
|
|
388
|
-
"rating": "Rating",
|
|
389
|
-
"removeRating": "Remove rating",
|
|
390
|
-
"removeRatingTitle": "Without a rating, this video will be viewable by all staff and students"
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
}
|
|
1
|
+
{"notifications":{"notificationList":{"noNotifications":"You have no notifications"},"services":{"suggestEditSubmit":"Suggestion was successfully submitted"},"utils":{"viewVideoDetails":"View video details","viewVideo":"View video","reviewVideos":"Review videos","viewNewContent":"View new content","reviewVideo":"Review video","seeNow":"See now"},"notifications":{"title":"Notifications","notifications":"Notifications"},"notificationsPopover":{"notifications":"Notifications","seeAll":"See all notifications"}},"playlists":{"emptyState":{"noPlaylistsHeading":"You have no playlists","noPlaylistsInfo":"Click <strong>New Playlist</strong> above to create one.","noVideosHeading":"There are no videos in this playlist","noVideosInfo":"Learn how to add videos to a playlist."},"playlistItem":{"videos":"%{smart_count} video |||| %{smart_count} videos","lastUpdated":"Last updated: %{timeAgo}","notUpdatedRecently":"Last updated over a month ago"},"playlistSortSelect":{"recentlyUpdated":"Recently updated","atoz":"A to Z","ztoa":"Z to A","newest":"Newest","oldest":"Oldest"},"hooks":{"somethingWentWrong":"Something went wrong"},"validation":{"nameExceeds":"Name is too long","nameRequired":"Name is required","descriptionExceeds":"Description is too long"}},"search":{"filterActions":{"apply":"Apply","reset":"Reset"},"durationFilter":{"rangeShort":"< 10 min","rangeMedium":"11 - 40 min","rangeLong":"> 40 min"},"resetButton":{"reset":"Reset all"},"searchFilters":{"heading":"Filters","reset":"Reset Filters"},"searchTips":{"heading":"Search Tips","firstTerm":"\"atomic bonding\"","firstDescription":"Search for exact phrases using quotation marks","secondTerm":"\"romeo and juliet\" english","secondDescription":"Combine normal and exact phrases together","thirdTerm":"-pollution","thirdDescription":"Exclude a keyword from your search","fourthTerm1":"tag:literature","fourthTerm2":"folder:science","fourthDescription":"Search for results within a tag, folder or series","fifthTerm":"folder:-physics","fifthDescription":"Use a \"-\" to exclude a folder, title or series"},"services":{"folderTag":"This folder","seriesTag":"This series"},"searchBar":{"findingResults":"Finding results...","recentSearches":"Recent Searches","allResults":"Show all results for","noLibraries":"There are currently no libraries to search. Add a new library to get started.","placeholder":"Search within your library... |||| Search within your libraries...","classifications":"topics","videos":"videos","tags":"tags","series":"series"}},"sharedSearch":{"utils":{"yearGroup":"Year Groups","types":"Types","rating":"Ratings","interactives":"Interactives","clips":"Clips","classroom":"Classrooms","moreFilters":"More Filters","interactivesDescription":"Only display videos with interactives","clipsDescription":"Only display videos with clips","topics":"Topics","playlists":"Playlists","series":"Series","videos":"Videos","firstNameAToZ":"First Name: A - Z","firstNameZToA":"First Name: Z - A","surnameAToZ":"Last Name: A - Z","surnameZToA":"Last Name: Z - A","audience":"Year Groups","resources":"Resources","resourcesDescription":"Only display videos with learning resources","subtitles":"Subtitles","subtitlesDescription":"Only display videos with subtitles","productionYear":"Production Year","anyYear":"Any Year","thisYear":"This Year","last3Years":"Last 3 Years","last10Years":"Last 10 Years","isHd":"Is HD","isHdDescription":"Only display HD videos","producedByClickView":"Is ClickView Content","producedByClickViewDescription":"Only display videos produced by ClickView","duration":"Duration","durationShort":"Short","durationMedium":"Medium","durationLong":"Long","deactivated":"Deactivated","deactivatedDescription":"Only show deactivated users"}},"subjects":{"audienceFilter":{"clear":"Clear"},"comingSoon":{"comingSoon":"Coming Soon","info1":"We are currently building this topic.","info2":"In the meantime, we can remind you when it's available.","remindMe":"Remind Me"},"heroVideo":{"resourcesHeading":"Resources","linksHeading":"Links","clipsHeading":"Clips","tagsHeading":"Tags","links":"%{smart_count} link |||| %{smart_count} links","resources":"%{smart_count} resource |||| %{smart_count} resources","clips":"%{smart_count} clip |||| %{smart_count} clips"}},"upload":{"fileType":{"heading":"Invalid file type","body":"Sorry but you cannot upload files of that type.","okay":"Okay","close":"Close"},"internetConnectivityError":{"title":"Internet connectivity issue","heading":"Connectivity issue.","body":"There seems to be an issue with your internet connection. Please try uploading your files again.","okay":"Okay"},"utils":{"videoProcessingError":"Something went wrong processing this video.","waiting":"Waiting to be processed","processing":"Processing %{progress}%","complete":"Complete","readyToWatch":"Ready to watch, still processing higher resolutions."}},"userManager":{"bulkUploadFileSelect":{"uploadBtn":"Upload .csv file","emptySpreadsheet":"The file you have uploaded appears to be empty! Please add some users and try again.","missingHeadings":"Your spreadsheet is missing the following headings: <strong>%{headings}</strong>.<br /><br />Please update your spreadsheet, or download our <a href=\"%{template}\" class=\"info-link\">Template</a> and try again.","unrecognisedHeadings":"The following headings in your spreadsheet are invalid: <strong>%{headings}</strong>.<br /><br />Please update your spreadsheet, or download our <a href=\"%{template}\" class=\"info-link\">Template</a> and try again."},"editStaffSpreadsheet":{"editUser":"Edit staff","error":"Failed to upload staff"},"editStudentSpreadsheet":{"editUser":"Edit student"},"editUserSpreadsheet":{"networkError":"Something went wrong while trying to complete your upload. Please try again.","navLockTitle":"Are you sure you want to leave?","navLockBody":"By leaving the current page all uploads will be discarded"},"staffSpreadsheetHeading":{"switchLabel":"Show only listings that need reviewing","next":"Next","cancel":"Cancel","heading":"Review staff list","reviewCount":"<span class=\"text-danger font-weight-bold\">%{smart_count}</span> listing needs reviewing. Please make sure you fill out all required missing information: |||| <span class=\"text-danger font-weight-bold\">%{smart_count}</span> listings need reviewing. Please make sure you fill out all required missing information:"},"studentSpreadsheetHeading":{"switchLabel":"Show only listings that need reviewing","next":"Next","cancel":"Cancel","heading":"Review student list","reviewCount":"<span class=\"text-danger font-weight-bold\">%{smart_count}</span> listing needs reviewing. Please make sure you fill out all required missing information: |||| <span class=\"text-danger font-weight-bold\">%{smart_count}</span> listings need reviewing. Please make sure you fill out all required missing information:"},"uploadUserSpreadsheet":{"chooseOption":"Choose an option to upload your users","uploadCsv":"Upload a .csv file","useOurTemplate":"Use our template to ensure the correct details are uploaded.","download":"Download Excel Template","googleSheets":"Import from Google Sheets","emptySpreadsheet":"The file you have uploaded appears to be empty! Please add some users and try again."},"staffDuplicatesHeading":{"heading":"Review staff list upload","next":"Next","cancel":"Cancel"},"studentDuplicatesHeading":{"heading":"Review student list upload","next":"Next","cancel":"Cancel"},"staffDuplicates":{"navLockTitle":"Are you sure you want to leave?","navLockBody":"By leaving the current page all uploads will be discarded","editUser":"Edit staff","subheading":"<span class=\"%{highlightClass}\">Some of your new staff accounts have identical details.</span> Make changes below, delete, or <a href=\"cv://user-manager-reupload\" class=\"%{linkClass}\">reupload your file</a>."},"studentDuplicates":{"navLockTitle":"Are you sure you want to leave?","navLockBody":"By leaving the current page all uploads will be discarded","editUser":"Edit student","subheading":"<span class=\"%{highlightClass}\">Some of your new staff accounts have identical details.</span> Make changes below, delete, or <a href=\"cv://user-manager-reupload\" class=\"%{linkClass}\">reupload your file</a>."},"staffSpreadsheetReviewHeading":{"cancel":"Cancel","finish":"Finish","heading":"Review staff list upload","isValid":"✅ Your list is valid! Click 'Finish' to complete the upload."},"studentSpreadsheetReviewHeading":{"cancel":"Cancel","finish":"Finish","heading":"Review student list upload","isValid":"✅ Your list is valid! Click 'Finish' to complete the upload."},"userSpreadsheetReview":{"navLockTitle":"Are you sure you want to leave?","navLockBody":"By leaving the current page all uploads will be discarded"},"deleteUploadedStaffPopup":{"title":"Remove staff","confirmation":"Are you sure you want to remove this staff account?","cancel":"Cancel","delete":"Remove"},"deleteUploadedStudentPopup":{"title":"Remove student","confirmation":"Are you sure you want to remove this student account?","cancel":"Cancel","delete":"Remove"},"deleteStaff":{"infoOneUser":"Are you sure you want to delete <strong>%{name}'s</strong> account from your school?","infoManyUsers":"Are you sure you want to delete <strong>%{total}</strong> staff member accounts from your school?"},"deleteStudent":{"infoOneUser":"Are you sure you want to delete <strong>%{name}'s</strong> account from your school?","infoManyUsers":"Are you sure you want to delete <strong>%{total}</strong> students accounts from your school?"},"deleteUser":{"typeDelete":"Please type <strong>delete</strong> to confirm.","delete":"Delete","cancel":"Cancel"},"downloadUserList":{"studentFileName":"student-list","staffFileName":"staff-list"},"editUploadedUserPopup":{"save":"Save","saveAndNext":"Save and next"},"googleSheetsSelector":{"authenticating":"Authenticating with Google...","cancel":"Cancel","upload":"Upload","spreadsheetId":"Spreadsheet","selectSpreadsheetId":"Select a spreadsheet","spreadsheetRange":"Sheet","selectSpreadsheetRange":"Select a sheet","spreadsheetIdRequired":"Spreadsheet name is required","spreadsheetRangeRequired":"Sheet is required","okay":"Okay","authErrorTitle":"Authentication error","authErrorMessage":"Something went wrong while trying to authenticate to your Google account. Please try again.","spreadsheetFetchErrorTitle":"Something went wrong","spreadsheetFetchErrorMessage":"Something went wrong while we were trying to retrieve your spreadsheets. Please try again.","spreadsheetConfirmErrorTitle":"Something went wrong","spreadsheetConfirmErrorMessage":"Something went wrong while we were processing your spreadsheet. Please try again.","noSpreadsheetsErrorTitle":"No spreadsheets found","noSpreadsheetsErrorMessage":"We could not find any spreadsheets on your Google account. Please create a spreadsheet and try again."},"manageUsers":{"searchBarPlaceholder":"Search users..."},"toggleUserStatus":{"activateCheck":"Are you sure you want to activate <strong>%{name}</strong>?","deactivateCheck":"Are you sure you want to deactivate <strong>%{name}</strong>?","cancel":"Cancel","activate":"Activate","deactivate":"Deactivate"},"userCreatedSuccess":{"okay":"Okay","copy":"Copy","emailedAdminInfo":"To access their usernames and passwords, please check your email.","emailedUsersInfo":"The user has been sent an email to get started on ClickView. |||| Each user has been sent an email to get started on ClickView.","username":"Username:","password":"Password:","userDetailsInfo":"Copy and save these details somewhere safe! You won't be able to access them again.","copied":"Successfully copied user details to clipboard."},"userDetailsForm":{"cancel":"Cancel","firstName":"First Name","lastName":"Last Name","yearGroup":"Year Group","emailAddress":"Email Address","username":"Username","password":"Password","firstNamePlaceholder":"Enter user's first name...","lastNamePlaceholder":"Enter user's last name...","emailAddressPlaceholder":"Enter user's email...","usernamePlaceholder":"Create custom username...","passwordPlaceholder":"Create a password...","selectYearGroup":"Select a year group...","admin":"Administrator","goToNext":"Continue to next user","usernameInfo":"Usernames are automatically generated if a custom one is not provided","passwordInfo":"Passwords are automatically generated if a custom one is not provided"},"userDuplicatesTable":{"firstName":"First Name","lastName":"Last Name","email":"Email","username":"Username"},"userManagerSearchEmptyState":{"heading":"No users were found that match your search","info":"Try changing your search query or filters"},"userList":{"activate":"Activate account","deactivate":"Deactivate account","deactivated":"Deactivated","thatsYou":"That's you","admin":"Admin","delete":"Delete","deleteDisabledTooltip":"Account must be deactivated before deleting","yesterday":"Yesterday","lastActive":"Last active","today":"Today","changePassword":"Change password","viewWorkspace":"View workspace"},"staffManagerActions":{"uploadList":"Upload staff list","addNew":"Create new staff member","export":"Export staff"},"studentManagerActions":{"uploadList":"Upload student list","addNew":"Create new student","export":"Export students"},"userManagerEntries":{"users":"Showing %{totalShowing} of %{totalUsers} user |||| Showing %{totalShowing} of %{totalUsers} users"},"staffManagerHeader":{"heading":"Staff Manager","managerBreadcrumb":"Staff Manager"},"studentManagerHeader":{"heading":"Student Manager","managerBreadcrumb":"Student Manager"},"userManagerHeader":{"settingsBreadcrumb":"Settings"},"invalidListingsEmptyState":{"heading":"There are no listings that need reviewing for ClickView","info":"You may still view and edit entries, or if they are finalised just hit \"Next\"","cta":"See full list"},"staffReviewTable":{"firstName":"First Name","lastName":"Last Name","email":"Email","username":"Username","noEmail":"No email provided","noUsername":"No username provided","invalidUsernameTooltip":"Usernames can only contain letters (a-z), numbers (0-9), periods (.), and underscores (_) are allowed."},"studentReviewTable":{"firstName":"First Name","lastName":"Last Name","yearGroup":"Year Group","email":"Email","username":"Username","noEmail":"No email provided","noUsername":"No username provided","invalidUsernameTooltip":"Usernames can only contain letters (a-z), numbers (0-9), periods (.), and underscores (_) are allowed."},"deleteActivatedUsersError":{"title":"Oops!","heading":"Oops!","body":"<strong>%{activatedCount}</strong> out of <strong>%{totalUsers}</strong> selected accounts have not been deactivated yet. Accounts must be deactivated before they can be deleted.","okay":"Okay"},"emptySpreadsheetError":{"title":"Empty spreadsheet error","heading":"Spreadsheet cannot be empty","okay":"Okay"},"invalidSpreadsheetError":{"title":"Invalid spreadsheet error","heading":"Invalid spreadsheet error","okay":"Okay"},"utils":{"nameExceeds":"First name is too long","nameRequired":"First name required","surnameExceeds":"Last name is too long","surnameRequired":"Last name required","emailExceeds":"Email address is too long","emailRequired":"Email address required","emailInvalid":"Email address invalid","yearGroupRequired":"Year group required","yearGroupInvalid":"Year group invalid","usernameExceeds":"Username is too long","usernameRequired":"Username required","usernameExistsShort":"Username already exists","usernameExistsLong":"A user with this username already exists.","emailExistsShort":"Email already exists","emailExistsLong":"A user with this email address already exists.","usernameInvalid":"Username is invalid","missingHeadingsError":"Your spreadsheet is missing the following headings: <strong>%{headings}</strong>.<br /><br />Please update your spreadsheet, or download our <a href=\"%{template}\" class=\"info-link\">Template</a> and try again.","unrecognisedHeadingsError":"The following headings in your spreadsheet are invalid: <strong>%{headings}</strong>.<br /><br />Please update your spreadsheet, or download our <a href=\"%{template}\" class=\"info-link\">Template</a> and try again."},"userValidation":{"nameExceeds":"First name is too long","nameRequired":"First name is required","surnameExceeds":"Last name is too long","surnameRequired":"Last name is required","emailExceeds":"Email address is too long","emailRequired":"Email address is required","emailInvalid":"Please provide a valid email address","yearGroupRequired":"Year group is required","yearGroupInvalid":"Year group is invalid","usernameExceeds":"Username is too long","usernameRequired":"Username is required","usernameInvalid":"Username invalid. Only letters (a-z), numbers (0-9), periods (.), and underscores (_) are allowed.","usernameIsEmail":"Username invalid. Email addresses cannot be used for usernames."}},"shared":{"backButton":{"back":"Back","backTo":"Back to %{backToName}"},"badges":{"interactive":"Interactive","resources":"Resources"},"channelFormField":{"channel":"Channel","placeholder":"Search for a channel..."},"confirmationPopup":{"confirm":"Confirm","cancel":"Cancel"},"curriculumLinks":{"curriculumLinks":"Curriculum Links","seeLess":"See less"},"editLink":{"linkNameExceeds":"Please provide a shorter name","linkNameRequired":"Please provide a name for your resource","linkUrlRequired":"Please provide a valid URL for your resource. e.g. https://example.com","linkUrlExceeds":"Please provide a shorter URL","urlLabel":"URL","urlPlaceholder":"Paste the URL to a resource here","nameLabel":"Name","namePlaceholder":"Display name","cancel":"Cancel"},"editResource":{"name":"Name","namePlaceholder":"Enter a name for this resource","nameTooLong":"Name is too long","nameRequired":"Name is required","cancel":"Cancel"},"editVideoDetails":{"nameExceeds":"Name is too long","nameRequired":"Name is required","descriptionExceeds":"Description is too long","namePlaceholder":"Enter a name for your video","descriptionPlaceholder":"Enter a description for your video","cancel":"Cancel","nameLabel":"Title","descriptionLabel":"Description"},"editVideoLinks":{"heading":"Resource Links","description":"You may attach links to other learning resources related to this video.","attach":"Attach","limit":"There is a resource link limit of %{limit} links. To add another link please first remove one."},"editVideoResources":{"resourcesLimit":"There is a resource limit of %{limit} resources. To add another resource please first remove one.","customerResources":"My School's Learning Resources","clickViewResources":"Learning Resources by ClickView","resources":"Learning Resources","resourcesDescription":"Maximum file size 10MB. <span class='text-muted'>(Word, Excel, PowerPoint, pdf, text and images are supported.)</span>","resourcesAlternative":"or Drag and drop learning resources(s) to upload","clickViewResourcesEmpty":"There are no ClickView resources for this video"},"editVideoSubtitles":{"subtitlesLimit":"There is a subtitle limit of %{limit} subtitles. To add another subtitle please first remove one.","customerSubtitles":"My School's Subtitles","subtitles":"Subtitles","subtitlesDescription":"You can upload up to %{limit} subtitles. <span class='text-muted'>(.srt files are supported.)</span>","subtitlesAlternative":"or Drag and drop a subtitle file (*.srt) to upload","clickViewSubtitles":"Subtitles by ClickView","clickViewSubtitlesEmpty":"There are no ClickView subtitles for this video"},"favouriteButton":{"favouriteError":"Failed to favourite video.","unfavouriteError":"Failed to unfavourite video."},"fileSelect":{"browse":"Browse for a file","invalidFileType":"Invalid file type"},"formButtons":{"create":"Create","save":"Save","next":"Next"},"imageCropper":{"cancel":"Cancel","crop":"Crop","title":"Crop and resize your image"},"imageSelect":{"minDimensions":"(Minimum dimensions are %{width}px x %{height}px)","uploadAThumbnail":"Upload a thumbnail"},"immersiveReader":{"titleFallback":"Immersive Reader"},"interactiveQuestions":{"answer":"Answer","pending":"Pending","answered":"Answered"},"languageSelect":{"heading":"Select a language for your subtitle","placeholder":"Select a language","close":"Close","submit":"Submit","label":"Language"},"pagination":{"next":"Next","previous":"Previous"},"searchBar":{"placeholder":"Enter a search query","recentSearchHeading":"Recent Searches"},"videoAtAGlance":{"readFullDescription":"View Video Details","videoAtAGlance":"Video at a glance...","seeCurriculumLinks":"See Curriculum Links"},"videoItemDescription":{"showMore":"... Show more","showLess":"Show less"},"interactiveItem":{"previewQuestions":"Preview %{questionsShown} of %{smart_count} question |||| Preview %{questionsShown} of %{smart_count} questions"},"videoOwnerText":{"clickViewContent":"Created by ClickView"},"dynamicWidget":{"topics":"Topics","relatedTopics":"Related Topics","teach":"What would you like to teach?","preferencesTooltip":"Update your preferences"},"fixedWidget":{"preferencesTooltip":"Update your preferences"},"greeting":{"morning":"Good morning","afternoon":"Good afternoon","evening":"Good evening","fallback":"Hello","prompt":"What would you like to teach today?"},"interactiveWidgetItem":{"previewQuestions":"Preview Questions"},"subjectWidgetItem":{"comingSoon":"Coming Soon","edit":"Edit My Topics","all":"Explore all topics"},"dataHooks":{"favourited":"Added <strong>%{video}</strong> to favourited videos.","unfavourited":"Removed <strong>%{video}</strong> from favourited videos."},"hooks":{"navLockTitle":"Are you sure you want to leave?","navLockBody":"By leaving the current page all uploads will be discarded","discard":"Discard","cancel":"Cancel"},"behaviors":{"fileDrop":{"fileDrop":"Drop files here to begin uploading"}},"_fileSelect":{"browse":"Browse for a file","drop":"Drop files here to begin uploading"},"_pagination":{"next":"Next","previous":"Previous"},"tooManyFiles":{"title":"Uploading many files","heading":"Multiple files selected","body":"Please only upload one file at a time.","okay":"Okay"},"errors":{"tooManyResources":{"heading":"Too many resources.","body":"Cannot add more than %{resourceLimit} resource files to a video. Please remove some resources if you would like to add more.","okay":"Okay"},"tooManySubtitles":{"heading":"Too many subtitles","body":"Cannot add more than %{subtitleLimit} subtitle files to a video. Please remove some subtitles if you would like to add more.","okay":"Okay"}},"interactionTypes":{"annotationName":"Annotation","imageName":"Image","missingWordName":"Missing word","missingWordPrompt":"Fill in the blank by typing the missing word(s)","multipleChoiceName":"Multiple Choice","multipleChoicePrompt":"Choose the correct answer(s)","shortAnswerName":"Short Answer","shortAnswerPrompt":"Type in your answer to the question","trueOrFalseName":"True or False","trueOrFalsePrompt":"Choose the correct answer"},"shared-utils":{"responsive":"Responsive","small":"Small","medium":"Medium","large":"Large","exchange":"Exchange","workspace":"Workspace","file":"File","zipArchive":"Zip archive","presentation":"Presentation","spreadsheet":"Spreadsheet","document":"Document","pdf":"PDF","image":"Image","autoGeneratedSubtitle":"%{name} (auto-generated)","cancel":"Cancel","confirm":"Confirm"},"deleteLinkView":{"heading":"Remove link?","body":"Are you sure you want to remove <strong>%{name}</strong>?","remove":"Remove","success":"Successfully removed link","error":"Failed to remove link. Please try again later."},"deleteResourceView":{"heading":"Remove learning resource?","body":"Are you sure you want to remove <strong>%{name}</strong>?","remove":"Remove","success":"Successfully removed resource","error":"Failed to remove resource. Please try again later."},"deleteSubtitleView":{"heading":"Remove subtitle?","body":"Are you sure you want to remove these subtitles: <strong>%{language}</strong>?","remove":"Remove","success":"Successfully removed subtitle","error":"Failed to remove subtitle. Please try again later."},"editLinkView":{"heading":"Edit link","success":"Successfully saved link","error":"Failed to save link. Please try again later."},"editResourceView":{"heading":"Edit learning resource","success":"Successfully updated resource","error":"Failed to update resource. Please try again later."}},"workspace":{"ratingSelect":{"rating":"Rating","removeRating":"Remove rating","removeRatingTitle":"Without a rating, this video will be viewable by all staff and students"}}}
|
|
@@ -65,6 +65,7 @@ export declare enum UserAction {
|
|
|
65
65
|
Activate = "cv_product_activate",
|
|
66
66
|
VerifyEmail = "cv_product_verify_email",
|
|
67
67
|
ChangePassword = "cv_product_change_password",
|
|
68
|
+
Export = "cv_product_export",
|
|
68
69
|
SetAccess = "cv_product_set_access",
|
|
69
70
|
AddToLocalCache = "cv_product_add_to_lc",
|
|
70
71
|
/**
|
|
@@ -144,6 +145,7 @@ export declare enum LocationContext {
|
|
|
144
145
|
MigrationWarnings = "migration_warnings",
|
|
145
146
|
PlaylistListHeader = "playlist_list_header",
|
|
146
147
|
PlaylistListItem = "playlist_list_item",
|
|
148
|
+
SeriesListItem = "series_list_item",
|
|
147
149
|
SearchBar = "search_bar",
|
|
148
150
|
InstantSearch = "instant_search",
|
|
149
151
|
SearchFilters = "search_filters",
|
|
@@ -165,6 +167,7 @@ export declare enum LocationContext {
|
|
|
165
167
|
EditInteractive = "edit_interactive",
|
|
166
168
|
PlaySharedInteractive = "play_shared_interactive",
|
|
167
169
|
InteractiveListItem = "interactive_list_item",
|
|
170
|
+
DeleteInteractive = "delete_interactive",
|
|
168
171
|
PlayPage = "play_page",
|
|
169
172
|
Player = "player",
|
|
170
173
|
FloatingPlayer = "floating_player",
|
|
@@ -251,7 +254,8 @@ export declare enum ClickDescriptor {
|
|
|
251
254
|
Cover = "cover",
|
|
252
255
|
TallPoster = "tall_poster",
|
|
253
256
|
Slide = "slide",
|
|
254
|
-
ExternalLink = "external_link"
|
|
257
|
+
ExternalLink = "external_link",
|
|
258
|
+
ViewStudentWorkspace = "view_student_workspace"
|
|
255
259
|
}
|
|
256
260
|
export declare enum VideoActionDescriptor {
|
|
257
261
|
FeatureUserChannelVideo = "feature_user_channel_video",
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare enum StorageType {
|
|
2
|
+
LocalStorage = "localStorage",
|
|
3
|
+
SessionStorage = "sessionStorage"
|
|
4
|
+
}
|
|
5
|
+
export interface StorageHelper {
|
|
6
|
+
get(key: string): any;
|
|
7
|
+
set(key: string, data: any): boolean;
|
|
8
|
+
remove(key: string): any;
|
|
9
|
+
length(): number;
|
|
10
|
+
clear(): any;
|
|
11
|
+
cacheSet(key: string, data: any, expire?: number): any;
|
|
12
|
+
cacheGet(key: string): any;
|
|
13
|
+
cacheExists(key: string): boolean;
|
|
14
|
+
cacheRemove(key: string): any;
|
|
15
|
+
cacheFlush(): void;
|
|
16
|
+
}
|
|
17
|
+
interface StaticBaseStorageHelperOptions {
|
|
18
|
+
type: StorageType;
|
|
19
|
+
}
|
|
20
|
+
declare abstract class StaticBaseStorageHelper implements StorageHelper {
|
|
21
|
+
private cachePrefix;
|
|
22
|
+
private expireTime;
|
|
23
|
+
private hasSupport;
|
|
24
|
+
private storage;
|
|
25
|
+
protected type: StorageType;
|
|
26
|
+
protected constructor(options: StaticBaseStorageHelperOptions);
|
|
27
|
+
get(key: string): any;
|
|
28
|
+
set(key: string, data: any): boolean;
|
|
29
|
+
remove(key: string): void;
|
|
30
|
+
length(): number;
|
|
31
|
+
clear(): void;
|
|
32
|
+
/**
|
|
33
|
+
* Caching Ops
|
|
34
|
+
*/
|
|
35
|
+
cacheSet(key: string, data: any, expire?: number): boolean;
|
|
36
|
+
cacheGet(key: string): any;
|
|
37
|
+
cacheExists(key: string): boolean;
|
|
38
|
+
cacheRemove(key: string): void;
|
|
39
|
+
cacheFlush(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Privates
|
|
42
|
+
*/
|
|
43
|
+
private cacheClean;
|
|
44
|
+
private isExpired;
|
|
45
|
+
private getCurrentTime;
|
|
46
|
+
private hasBrowserSupport;
|
|
47
|
+
}
|
|
48
|
+
declare class StaticLocalStorageHelper extends StaticBaseStorageHelper {
|
|
49
|
+
protected static instance: StaticLocalStorageHelper;
|
|
50
|
+
static get Instance(): StaticLocalStorageHelper;
|
|
51
|
+
}
|
|
52
|
+
declare class StaticSessionStorageHelper extends StaticBaseStorageHelper {
|
|
53
|
+
protected static instance: StaticSessionStorageHelper;
|
|
54
|
+
static get Instance(): StaticSessionStorageHelper;
|
|
55
|
+
}
|
|
56
|
+
export declare const LocalStorageHelper: StaticLocalStorageHelper;
|
|
57
|
+
export declare const SessionStorageHelper: StaticSessionStorageHelper;
|
|
58
|
+
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { Store } from 'redux';
|
|
1
2
|
import { ApplicationState } from 'libs/common/react/interfaces/ApplicationState';
|
|
2
3
|
import { Request, Response, Dispatch } from './interfaces';
|
|
3
4
|
export declare function emptyResponse<T>(): Response<T>;
|
|
4
5
|
export declare function getResponse<T>(state: ApplicationState, key: string): Response<T>;
|
|
5
6
|
export declare function getFetch(dispatch: Dispatch, request: Request): () => void;
|
|
6
7
|
export declare function fetch(dispatch: Dispatch, request: Request): void;
|
|
7
|
-
export declare function hooklessFetch(
|
|
8
|
+
export declare function hooklessFetch(store: Store, request: Request): void;
|
|
8
9
|
export declare function useGetFetch(request: Request): () => void;
|
|
9
10
|
interface GetResponseOptions {
|
|
10
11
|
optimize: boolean;
|
|
@@ -16,7 +16,7 @@ export declare const ArrayHelper: {
|
|
|
16
16
|
groupBy<T_11>(arr: T_11[], property: string): {
|
|
17
17
|
[index: string]: T_11[];
|
|
18
18
|
};
|
|
19
|
-
flatten<T_12>(arr: T_12[], shallow?: boolean): T_12[];
|
|
19
|
+
flatten<T_12>(arr: T_12[][], shallow?: boolean): T_12[];
|
|
20
20
|
intersection<T_13>(...arrays: T_13[][]): T_13[];
|
|
21
21
|
/**
|
|
22
22
|
* Add a value to an array, or if it is already in the array, remove it.
|
|
@@ -40,5 +40,21 @@ export declare const ArrayHelper: {
|
|
|
40
40
|
sortBy<T_16 extends HashObject<any>, TSort = T_16>(arr: T_16[], iteratee?: Iterator<T_16, TSort> | keyof T_16): T_16[];
|
|
41
41
|
chunk<T_17>(array: _.Collection<T_17>, count: number): T_17[][];
|
|
42
42
|
uniq<T_18 extends string | number | HashObject<any>, TSort_1 = T_18>(array: T_18[], iteratee?: Iterator<T_18, TSort_1> | keyof T_18): T_18[];
|
|
43
|
+
/**
|
|
44
|
+
* Transform array to an object.
|
|
45
|
+
*
|
|
46
|
+
* Where an array of objects is passed:
|
|
47
|
+
* - PropAsKey must match a property within the objects. This property will be used as the key.
|
|
48
|
+
* - Value will be the object from the array
|
|
49
|
+
*
|
|
50
|
+
* Where an array of primitives is passed:
|
|
51
|
+
* - propAsKey will be used as the key
|
|
52
|
+
* - Value will be the primitive
|
|
53
|
+
*
|
|
54
|
+
* @param arr
|
|
55
|
+
* @param propAsKey
|
|
56
|
+
* @returns object
|
|
57
|
+
*/
|
|
58
|
+
toObject(arr: any[], propAsKey: string): any;
|
|
43
59
|
};
|
|
44
60
|
export {};
|
|
@@ -2,10 +2,12 @@ import * as React from 'react';
|
|
|
2
2
|
import { Core } from 'libs/common/core';
|
|
3
3
|
import { HashObject } from 'libs/common/react/interfaces';
|
|
4
4
|
import { AnalyticsOptions } from 'libs/analytics/interfaces';
|
|
5
|
+
import { SvgContainerSize } from 'libs/shared/components/svg-container/SvgContainer';
|
|
5
6
|
interface ActionButtonProps {
|
|
6
7
|
appLink?: Core.AppLink;
|
|
7
8
|
onClick?: (e: React.MouseEvent) => void;
|
|
8
9
|
svgName?: string;
|
|
10
|
+
svgSize?: SvgContainerSize;
|
|
9
11
|
className?: string;
|
|
10
12
|
tooltip?: string;
|
|
11
13
|
showSpinner?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ActionOptions } from './Actions';
|
|
3
|
-
export declare type DropdownActionOptions = Omit<ActionOptions, 'button'
|
|
3
|
+
export declare type DropdownActionOptions = Omit<ActionOptions, 'button'>;
|
|
4
4
|
interface ActionsDropdownProps {
|
|
5
5
|
actions: DropdownActionOptions[];
|
|
6
6
|
className?: string;
|
|
@@ -2,8 +2,10 @@ import * as React from 'react';
|
|
|
2
2
|
import { Core } from 'libs/common/core';
|
|
3
3
|
import { HashObject } from 'libs/common/react/interfaces/HashObject';
|
|
4
4
|
import { AnalyticsOptions } from 'libs/analytics/interfaces/AnalyticsTypes';
|
|
5
|
+
import { SvgContainerSize } from 'libs/shared/components/svg-container/SvgContainer';
|
|
5
6
|
interface IconButtonProps {
|
|
6
7
|
svgName: string;
|
|
8
|
+
svgSize?: SvgContainerSize;
|
|
7
9
|
className?: string;
|
|
8
10
|
appLink?: Core.AppLink;
|
|
9
11
|
onClick?: (e: React.MouseEvent) => void;
|