@clickview/lite 0.0.4-dev.0 → 0.0.4
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 -2
- package/dist/apps/default/index.d.ts +2 -0
- package/dist/apps/default/views/dev-error/LiteDevErrorView.d.ts +6 -0
- package/dist/apps/default/views/dialog/LiteDialogView.d.ts +7 -0
- package/dist/apps/default/views/error/LiteErrorView.d.ts +7 -0
- package/dist/apps/index.d.ts +1 -0
- package/dist/apps/notifications/interfaces/Notification.d.ts +3 -0
- package/dist/apps/notifications/interfaces/NotificationCollection.d.ts +4 -0
- package/dist/apps/notifications/interfaces/index.d.ts +2 -0
- package/dist/apps/notifications/services/FlightNotificationDataService.d.ts +16 -0
- package/dist/apps/notifications/services/index.d.ts +1 -0
- package/dist/apps/playlists/LitePlaylistsApplication.d.ts +0 -1
- package/dist/apps/playlists/components/index.d.ts +1 -0
- package/dist/apps/playlists/components/playlist-list/LitePlaylistItem.d.ts +9 -0
- package/dist/apps/playlists/components/playlist-list/LitePlaylistList.d.ts +9 -0
- package/dist/apps/playlists/components/playlist-list/index.d.ts +1 -0
- package/dist/apps/playlists/flight-requests/PlaylistRequests.d.ts +4 -0
- package/dist/apps/playlists/flight-requests/index.d.ts +1 -0
- package/dist/apps/playlists/index.d.ts +1 -0
- package/dist/apps/playlists/views/index.d.ts +1 -0
- package/dist/apps/playlists/views/user-playlists/UserPlaylistsView.d.ts +2 -0
- package/dist/apps/playlists/views/user-playlists/index.d.ts +1 -0
- package/dist/apps/search/LiteSearchApplication.d.ts +17 -0
- package/dist/apps/search/components/index.d.ts +1 -0
- package/dist/apps/search/components/search-filters/SearchFilters.d.ts +5 -0
- package/dist/apps/search/flight-requests/SearchRequests.d.ts +4 -0
- package/dist/apps/search/flight-requests/index.d.ts +1 -0
- package/dist/apps/search/interfaces/SearchResults.d.ts +18 -0
- package/dist/apps/search/interfaces/index.d.ts +1 -0
- package/dist/apps/search/utils/SearchHelper.d.ts +21 -0
- package/dist/apps/search/utils/index.d.ts +1 -0
- package/dist/apps/search/views/index.d.ts +1 -0
- package/dist/apps/search/views/search-results/PartialSearchResultsView.d.ts +2 -0
- package/dist/apps/search/views/search-results/SearchResultsView.d.ts +7 -0
- package/dist/bundle.js +1 -4291
- package/dist/bundle.js.map +1 -1
- package/dist/en.json +1 -55
- package/dist/index.d.ts +0 -9
- package/dist/lite-app.css +5 -155
- package/dist/lite-app.css.map +1 -1
- package/dist/lite-app.js +112 -0
- package/dist/lite-app.js.map +1 -0
- package/dist/shared/components/icon-button/IconButton.d.ts +9 -0
- package/dist/shared/components/index.d.ts +0 -2
- package/dist/shared/components/video-details/VideoDetails.d.ts +4 -0
- package/dist/shared/constants/LiteActions.d.ts +0 -17
- package/dist/shared/constants/LiteLayouts.d.ts +0 -1
- package/dist/shared/constants/LiteRadioChannels.d.ts +0 -4
- package/dist/shared/contexts/player/PlayerContext.d.ts +4 -20
- package/dist/shared/errors/not-found/LiteNotFoundError.d.ts +5 -0
- package/dist/shared/errors/primitives/AlertError.d.ts +0 -0
- package/dist/shared/errors/primitives/DialogError.d.ts +0 -0
- package/dist/shared/errors/primitives/ErrorPageError.d.ts +0 -0
- package/dist/shared/errors/primitives/index.d.ts +3 -0
- package/dist/shared/flight-requests/AudienceRequests.d.ts +4 -0
- package/dist/shared/flight-requests/PlaylistRequests.d.ts +4 -0
- package/dist/shared/flight-requests/VideoRequests.d.ts +0 -1
- package/dist/shared/index.d.ts +5 -0
- package/dist/shared/layouts/index.d.ts +0 -1
- package/dist/shared/layouts/teacher-layout/TeacherLayoutComponent.d.ts +2 -2
- package/dist/shared/layouts/teacher-layout/TeacherLayoutView.d.ts +2 -0
- package/dist/shared/utils/InfiniteScrollHelper.d.ts +11 -0
- package/dist/shared/utils/LiteAppLinkHelper.d.ts +3 -0
- package/dist/shared/views/favorite-videos/FavoriteVideos.d.ts +6 -0
- package/dist/shared/views/favorite-videos/index.d.ts +1 -0
- package/dist/shared/views/index.d.ts +0 -3
- package/dist/shared/views/my-uploads/components/MyUploadsBannerActions.d.ts +5 -0
- package/dist/shared/views/play/components/BackButton.d.ts +2 -0
- package/package.json +44 -45
package/dist/en.json
CHANGED
|
@@ -1,55 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"shared": {
|
|
3
|
-
"playPage": {
|
|
4
|
-
"classroomMode": "Classroom Mode",
|
|
5
|
-
"createInteractive": "Create interactive video",
|
|
6
|
-
"createClip": "Create clip",
|
|
7
|
-
"more": "More",
|
|
8
|
-
"share": "Share",
|
|
9
|
-
"addToPlaylist": "Add to Playlist",
|
|
10
|
-
"favourite": "Favourite",
|
|
11
|
-
"relatedVideos": "Related Videos"
|
|
12
|
-
},
|
|
13
|
-
"userOptions": {
|
|
14
|
-
"myProfile": "My Profile",
|
|
15
|
-
"myPreferences": "My Preferences",
|
|
16
|
-
"signOut": "Sign Out"
|
|
17
|
-
},
|
|
18
|
-
"videoDetails": {
|
|
19
|
-
"details": "Details",
|
|
20
|
-
"rating": "Rating: %{code}",
|
|
21
|
-
"productionYear": "Production Year: %{year}",
|
|
22
|
-
"productionCompanies": "Production Companies",
|
|
23
|
-
"distributors": "Distributors",
|
|
24
|
-
"tags": "Tags:",
|
|
25
|
-
"description": "Description"
|
|
26
|
-
},
|
|
27
|
-
"notFound": {
|
|
28
|
-
"title": "Page not found"
|
|
29
|
-
},
|
|
30
|
-
"favoriteVideos": {
|
|
31
|
-
"header": "Favourited Videos"
|
|
32
|
-
},
|
|
33
|
-
"leftNav": {
|
|
34
|
-
"home": "Home",
|
|
35
|
-
"myPlaylists": "My Playlists",
|
|
36
|
-
"myUploads": "My Uploads",
|
|
37
|
-
"following": "Following",
|
|
38
|
-
"favouritedVideos": "Favourited Videos",
|
|
39
|
-
"myClassrooms": "My Classrooms",
|
|
40
|
-
"watchHistory": "Watch History"
|
|
41
|
-
},
|
|
42
|
-
"myUploads": {
|
|
43
|
-
"header": "My Uploads",
|
|
44
|
-
"description": "Here we store all the videos that you upload on to ClickView!",
|
|
45
|
-
"share": "Share",
|
|
46
|
-
"edit": "Edit"
|
|
47
|
-
},
|
|
48
|
-
"series": {
|
|
49
|
-
"dashboard": "Dashboard",
|
|
50
|
-
"series": "Series: %{seriesName}",
|
|
51
|
-
"share": "Share",
|
|
52
|
-
"follow": "Follow"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
{"shared":{"notFound":{"title":"Page not found"},"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"},"series":{"dashboard":"Dashboard","series":"Series: %{seriesName}","share":"Share","follow":"Follow"}}}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import './shared/components/play-page/play-page.lang.json';
|
|
2
|
-
import './shared/components/user-options/user-options.lang.json';
|
|
3
|
-
import './shared/components/video-details/video-details.lang.json';
|
|
4
1
|
import './shared/errors/not-found/not-found.lang.json';
|
|
5
|
-
import './shared/views/favorite-videos/favorite-videos-view.lang.json';
|
|
6
2
|
import './shared/views/left-nav/left-nav-view.lang.json';
|
|
7
3
|
import './shared/views/my-uploads/my-uploads-view.lang.json';
|
|
8
4
|
import './shared/views/series/series-view.lang.json';
|
|
@@ -15,9 +11,4 @@ export * from './shared/layouts';
|
|
|
15
11
|
export * from './shared/services';
|
|
16
12
|
export * from './apps/default/LiteDefaultApplication';
|
|
17
13
|
export * from './apps/playlists/LitePlaylistsApplication';
|
|
18
|
-
export * from './apps/embed/LiteEmbedApplication';
|
|
19
|
-
export * from './apps/dashboard/LiteDashboardApplication';
|
|
20
|
-
export * from './apps/subjects/LiteSubjectApplication';
|
|
21
14
|
export * from './apps/search/constants/SearchAppVariables';
|
|
22
|
-
export * from './apps/notifications/LiteNotificationsApplication';
|
|
23
|
-
export * from './apps/notifications/constants/NotificationsAppVariables';
|
package/dist/lite-app.css
CHANGED
|
@@ -1,160 +1,10 @@
|
|
|
1
|
-
body
|
|
2
|
-
background-color: #fff; }
|
|
1
|
+
body{background-color:#fff}
|
|
3
2
|
|
|
4
|
-
.
|
|
5
|
-
display: inline-block;
|
|
6
|
-
position: fixed;
|
|
7
|
-
bottom: 0;
|
|
8
|
-
right: 1.25rem;
|
|
9
|
-
width: 25rem; }
|
|
3
|
+
._3RLQ9{background-color:#fff;border-bottom:1px solid #eaeaea;z-index:1002}.UIlc9{min-width:12rem;width:13.75rem;height:2.92062rem}._2E7RQ{padding-right:18.75rem}._2HygL{right:0}._2OoYm{border-radius:50%;background-color:#51ADA3;display:inline-block;width:2.1875rem;height:2.1875rem;text-align:center;line-height:2.1875rem;background-size:cover;background-position:top center}._2b7ER{border-radius:50%;display:inline-block;background-color:#eaeaea;width:2.1875rem;height:2.1875rem;text-align:center;line-height:2.1875rem;background-size:cover;background-position:top center}._2BRko{color:#eaeaea;height:1.25rem;width:1.25rem;margin-right:1.25rem;cursor:pointer;display:inline-block}._2BRko svg{width:100% !important;height:100% !important}.oX-Ph{border:2px solid #eaeaea;max-width:40rem;margin-right:40rem;border-radius:3px;padding:0}
|
|
10
4
|
|
|
11
|
-
.
|
|
12
|
-
position: absolute; }
|
|
5
|
+
._3jVyN{top:4.25rem;bottom:0;position:fixed;width:15rem;background-color:#fff;border-right:1px solid #eaeaea;z-index:1001}._1ud9G{border-radius:50%;background-color:#eaeaea;width:3rem;height:3rem;position:absolute;left:1.25rem;display:inline-block}._3A_-8{position:relative;min-height:3rem}._3qbRh{padding-left:5.5rem;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);display:inline-block}._2idO9{width:5.5rem}._2idO9 ._1ud9G{position:relative;left:auto;margin:0 1.25rem}._2idO9 ._3qbRh{position:relative;padding-left:0;text-align:center;top:auto;-webkit-transform:none;transform:none;display:block}
|
|
13
6
|
|
|
14
|
-
.
|
|
15
|
-
width: 2.1875rem;
|
|
16
|
-
height: 2.1875rem;
|
|
17
|
-
display: inline-block; }
|
|
7
|
+
._3C4_W{display:inline-block;position:fixed;bottom:0;right:1.25rem;width:350px}._2voRI{position:absolute}
|
|
18
8
|
|
|
19
|
-
.
|
|
20
|
-
/**
|
|
21
|
-
* Prevents the child buttons cascading vertically because
|
|
22
|
-
* of the flex-shrink-1 class
|
|
23
|
-
*/
|
|
24
|
-
min-width: 3.4rem; }
|
|
9
|
+
._1SX2l{padding-top:1.25rem}._3LJFz{padding-left:5.5rem}._34Pt4{padding-left:15rem}._1gZ0J{padding-left:0}.mE2Dq{z-index:1000}
|
|
25
10
|
|
|
26
|
-
.cv--flippedIcon--3nkTw {
|
|
27
|
-
-webkit-transform: scaleX(-1);
|
|
28
|
-
transform: scaleX(-1); }
|
|
29
|
-
|
|
30
|
-
.cv--avatar--3g8JZ {
|
|
31
|
-
border-radius: 50%;
|
|
32
|
-
background-color: #51ADA3;
|
|
33
|
-
display: inline-block;
|
|
34
|
-
width: 2.1875rem;
|
|
35
|
-
height: 2.1875rem;
|
|
36
|
-
text-align: center;
|
|
37
|
-
line-height: 2.1875rem;
|
|
38
|
-
background-size: cover;
|
|
39
|
-
background-position: top center; }
|
|
40
|
-
|
|
41
|
-
.cv--iconPlaceholder--2hr_4 {
|
|
42
|
-
border-radius: 50%;
|
|
43
|
-
background-color: #eaeaea;
|
|
44
|
-
/**
|
|
45
|
-
* TODO: This is an arbitrary size just to get the nav set up.
|
|
46
|
-
* This either needs to be calculated or turned into a variable
|
|
47
|
-
*/
|
|
48
|
-
width: 2.1875rem;
|
|
49
|
-
height: 2.1875rem; }
|
|
50
|
-
|
|
51
|
-
.cv--nav--3RLQ9 {
|
|
52
|
-
background-color: #fff;
|
|
53
|
-
border-bottom: 1px solid #eaeaea;
|
|
54
|
-
z-index: 1002; }
|
|
55
|
-
|
|
56
|
-
.cv--logoContainer--UIlc9 {
|
|
57
|
-
min-width: 12rem;
|
|
58
|
-
width: 13.75rem;
|
|
59
|
-
height: 2.92062rem; }
|
|
60
|
-
|
|
61
|
-
.cv--searchBar--2E7RQ {
|
|
62
|
-
padding-right: 18.75rem; }
|
|
63
|
-
|
|
64
|
-
.cv--actionButtons--2HygL {
|
|
65
|
-
right: 0; }
|
|
66
|
-
|
|
67
|
-
.cv--hamburger--2BRko {
|
|
68
|
-
color: #eaeaea;
|
|
69
|
-
height: 1.25rem;
|
|
70
|
-
width: 1.25rem;
|
|
71
|
-
margin-right: 1.25rem;
|
|
72
|
-
cursor: pointer;
|
|
73
|
-
display: inline-block; }
|
|
74
|
-
.cv--hamburger--2BRko svg {
|
|
75
|
-
width: 100% !important;
|
|
76
|
-
height: 100% !important; }
|
|
77
|
-
|
|
78
|
-
.cv--searchBarContainer--oX-Ph {
|
|
79
|
-
border: 2px solid #eaeaea;
|
|
80
|
-
max-width: 40rem;
|
|
81
|
-
margin-right: 40rem;
|
|
82
|
-
border-radius: 3px;
|
|
83
|
-
padding: 0; }
|
|
84
|
-
|
|
85
|
-
.cv--leftNav--3jVyN {
|
|
86
|
-
top: 4.25rem;
|
|
87
|
-
bottom: 0;
|
|
88
|
-
position: fixed;
|
|
89
|
-
width: 15rem;
|
|
90
|
-
background-color: #fff;
|
|
91
|
-
border-right: 1px solid #eaeaea;
|
|
92
|
-
z-index: 1001; }
|
|
93
|
-
|
|
94
|
-
.cv--iconPlaceholder--1ud9G {
|
|
95
|
-
border-radius: 50%;
|
|
96
|
-
background-color: #eaeaea;
|
|
97
|
-
/**
|
|
98
|
-
* TODO: This is an arbitrary size just to get the nav set up.
|
|
99
|
-
* This either needs to be calculated or turned into a variable
|
|
100
|
-
*/
|
|
101
|
-
width: 3rem;
|
|
102
|
-
height: 3rem;
|
|
103
|
-
position: absolute;
|
|
104
|
-
left: 1.25rem;
|
|
105
|
-
display: inline-block; }
|
|
106
|
-
|
|
107
|
-
.cv--leftNavAnchor--3A_-8 {
|
|
108
|
-
position: relative;
|
|
109
|
-
/**
|
|
110
|
-
* TODO: See the todo above. Replace this with a variable
|
|
111
|
-
*/
|
|
112
|
-
min-height: 3rem; }
|
|
113
|
-
|
|
114
|
-
.cv--leftNavText--3qbRh {
|
|
115
|
-
padding-left: 5.5rem;
|
|
116
|
-
position: absolute;
|
|
117
|
-
top: 50%;
|
|
118
|
-
-webkit-transform: translateY(-50%);
|
|
119
|
-
transform: translateY(-50%);
|
|
120
|
-
display: inline-block; }
|
|
121
|
-
|
|
122
|
-
.cv--leftNavCollapsed--2idO9 {
|
|
123
|
-
width: 5.5rem; }
|
|
124
|
-
.cv--leftNavCollapsed--2idO9 .cv--iconPlaceholder--1ud9G {
|
|
125
|
-
position: relative;
|
|
126
|
-
left: auto;
|
|
127
|
-
margin: 0 1.25rem; }
|
|
128
|
-
.cv--leftNavCollapsed--2idO9 .cv--leftNavText--3qbRh {
|
|
129
|
-
position: relative;
|
|
130
|
-
padding-left: 0;
|
|
131
|
-
text-align: center;
|
|
132
|
-
top: auto;
|
|
133
|
-
-webkit-transform: none;
|
|
134
|
-
transform: none;
|
|
135
|
-
display: block; }
|
|
136
|
-
|
|
137
|
-
.cv--content--1SX2l {
|
|
138
|
-
padding-top: 1.25rem; }
|
|
139
|
-
|
|
140
|
-
.cv--collapsedNavContent--3LJFz {
|
|
141
|
-
padding-left: 5.5rem; }
|
|
142
|
-
|
|
143
|
-
.cv--openNavContent--34Pt4 {
|
|
144
|
-
padding-left: 15rem; }
|
|
145
|
-
|
|
146
|
-
.cv--hiddenNavContent--1gZ0J {
|
|
147
|
-
padding-left: 0; }
|
|
148
|
-
|
|
149
|
-
.cv--mask--mE2Dq {
|
|
150
|
-
z-index: 1000; }
|
|
151
|
-
|
|
152
|
-
.cv--embeddedPlayer--3kXb6 {
|
|
153
|
-
position: fixed;
|
|
154
|
-
top: 0;
|
|
155
|
-
left: 0;
|
|
156
|
-
right: 0;
|
|
157
|
-
bottom: 0; }
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
/*# sourceMappingURL=lite-app.css.map*/
|
package/dist/lite-app.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["file://C:/ClickView Projects
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/clickview/packages/lite/src/styles/theme-overrides.scss","file://C:/ClickView Projects/clickview/packages/lite/src/shared/components/floating-player/floating-player.scss","file://C:/ClickView Projects/clickview/packages/lite/src/shared/components/user-options/user-options.scss","file://C:/ClickView Projects/clickview/packages/lite/src/shared/views/header/header.scss","file://C:/ClickView Projects/clickview/packages/lite/src/shared/views/left-nav/left-nav.scss","file://C:/ClickView Projects/clickview/packages/lite/src/shared/layouts/teacher-layout/teacher-layout.scss","file://C:/ClickView Projects/clickview/packages/lite/src/apps/embed/views/embed/embed.scss"],"names":[],"mappings":"AAAA;AACA,yBAAyB;;ACDzB;AACA,eAAe;;AAEf;AACA,qBAAqB;;AAErB;AACA;AACA;AACA,wBAAwB;;AAExB;AACA;AACA;AACA;AACA;AACA,oBAAoB;;AAEpB;AACA;AACA,gCAAgC;;ACpBhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;;ACnBpB;AACA;AACA;AACA,gBAAgB;;AAEhB;AACA;AACA;AACA,qBAAqB;;AAErB;AACA,0BAA0B;;AAE1B;AACA,WAAW;;AAEX;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,4BAA4B;;AAE5B;AACA;AACA;AACA;AACA;AACA,aAAa;;AChCb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;;AAEhB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;;AAExB;AACA;AACA;AACA;AACA;AACA,mBAAmB;;AAEnB;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;;AAExB;AACA,gBAAgB;AAChB;AACA;AACA;AACA,sBAAsB;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;;AClDnB;AACA,uBAAuB;;AAEvB;AACA,uBAAuB;;AAEvB;AACA,sBAAsB;;AAEtB;AACA,kBAAkB;;AAElB;AACA,gBAAgB;;AAEhB;AACA;AACA;AACA,YAAY;;AClBZ;AACA;AACA;AACA;AACA;AACA,YAAY","file":"lite-app.css","sourcesContent":["body {\n background-color: #fff; }\n",".cv--fixed--3C4_W {\n width: 25rem; }\n\n.cv--inline--2voRI {\n position: absolute; }\n\n.cv--closeSvg--2RiDj {\n width: 2.1875rem;\n height: 2.1875rem;\n display: inline-block; }\n\n.cv--buttons--ZbN3s {\n /**\r\n * Prevents the child buttons cascading vertically because \r\n * of the flex-shrink-1 class\r\n */\n min-width: 3.4rem; }\n\n.cv--flippedIcon--3nkTw {\n -webkit-transform: scaleX(-1);\n transform: scaleX(-1); }\n",".cv--avatar--3g8JZ {\n border-radius: 50%;\n background-color: #51ADA3;\n display: inline-block;\n width: 2.1875rem;\n height: 2.1875rem;\n text-align: center;\n line-height: 2.1875rem;\n background-size: cover;\n background-position: top center; }\n\n.cv--iconPlaceholder--2hr_4 {\n border-radius: 50%;\n background-color: #eaeaea;\n /**\r\n * TODO: This is an arbitrary size just to get the nav set up.\r\n * This either needs to be calculated or turned into a variable\r\n */\n width: 2.1875rem;\n height: 2.1875rem; }\n",".cv--nav--3RLQ9 {\n background-color: #fff;\n border-bottom: 1px solid #eaeaea;\n z-index: 1002; }\n\n.cv--logoContainer--UIlc9 {\n min-width: 12rem;\n width: 13.75rem;\n height: 2.92062rem; }\n\n.cv--searchBar--2E7RQ {\n padding-right: 18.75rem; }\n\n.cv--actionButtons--2HygL {\n right: 0; }\n\n.cv--hamburger--2BRko {\n color: #eaeaea;\n height: 1.25rem;\n width: 1.25rem;\n margin-right: 1.25rem;\n cursor: pointer;\n display: inline-block; }\n .cv--hamburger--2BRko svg {\n width: 100% !important;\n height: 100% !important; }\n\n.cv--searchBarContainer--oX-Ph {\n border: 2px solid #eaeaea;\n max-width: 40rem;\n margin-right: 40rem;\n border-radius: 3px;\n padding: 0; }\n",".cv--leftNav--3jVyN {\n top: 4.25rem;\n bottom: 0;\n position: fixed;\n width: 15rem;\n background-color: #fff;\n border-right: 1px solid #eaeaea;\n z-index: 1001; }\n\n.cv--iconPlaceholder--1ud9G {\n border-radius: 50%;\n background-color: #eaeaea;\n /**\r\n * TODO: This is an arbitrary size just to get the nav set up.\r\n * This either needs to be calculated or turned into a variable\r\n */\n width: 3rem;\n height: 3rem;\n position: absolute;\n left: 1.25rem;\n display: inline-block; }\n\n.cv--leftNavAnchor--3A_-8 {\n position: relative;\n /**\r\n * TODO: See the todo above. Replace this with a variable\r\n */\n min-height: 3rem; }\n\n.cv--leftNavText--3qbRh {\n padding-left: 5.5rem;\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n display: inline-block; }\n\n.cv--leftNavCollapsed--2idO9 {\n width: 5.5rem; }\n .cv--leftNavCollapsed--2idO9 .cv--iconPlaceholder--1ud9G {\n position: relative;\n left: auto;\n margin: 0 1.25rem; }\n .cv--leftNavCollapsed--2idO9 .cv--leftNavText--3qbRh {\n position: relative;\n padding-left: 0;\n text-align: center;\n top: auto;\n -webkit-transform: none;\n transform: none;\n display: block; }\n",".cv--content--1SX2l {\n padding-top: 1.25rem; }\n\n.cv--collapsedNavContent--3LJFz {\n padding-left: 5.5rem; }\n\n.cv--openNavContent--34Pt4 {\n padding-left: 15rem; }\n\n.cv--hiddenNavContent--1gZ0J {\n padding-left: 0; }\n\n.cv--mask--mE2Dq {\n z-index: 1000; }\n\n.cv--fixedBottomRightContainer--Sgmex {\n position: fixed;\n right: 1.25rem;\n bottom: 0; }\n",".cv--embeddedPlayer--3kXb6 {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0; }\n"],"sourceRoot":""}
|
package/dist/lite-app.js
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory();
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define([], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["lite"] = factory();
|
|
8
|
+
else
|
|
9
|
+
root["lite"] = factory();
|
|
10
|
+
})(window, function() {
|
|
11
|
+
return /******/ (function(modules) { // webpackBootstrap
|
|
12
|
+
/******/ // The module cache
|
|
13
|
+
/******/ var installedModules = {};
|
|
14
|
+
/******/
|
|
15
|
+
/******/ // The require function
|
|
16
|
+
/******/ function __webpack_require__(moduleId) {
|
|
17
|
+
/******/
|
|
18
|
+
/******/ // Check if module is in cache
|
|
19
|
+
/******/ if(installedModules[moduleId]) {
|
|
20
|
+
/******/ return installedModules[moduleId].exports;
|
|
21
|
+
/******/ }
|
|
22
|
+
/******/ // Create a new module (and put it into the cache)
|
|
23
|
+
/******/ var module = installedModules[moduleId] = {
|
|
24
|
+
/******/ i: moduleId,
|
|
25
|
+
/******/ l: false,
|
|
26
|
+
/******/ exports: {}
|
|
27
|
+
/******/ };
|
|
28
|
+
/******/
|
|
29
|
+
/******/ // Execute the module function
|
|
30
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
31
|
+
/******/
|
|
32
|
+
/******/ // Flag the module as loaded
|
|
33
|
+
/******/ module.l = true;
|
|
34
|
+
/******/
|
|
35
|
+
/******/ // Return the exports of the module
|
|
36
|
+
/******/ return module.exports;
|
|
37
|
+
/******/ }
|
|
38
|
+
/******/
|
|
39
|
+
/******/
|
|
40
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
41
|
+
/******/ __webpack_require__.m = modules;
|
|
42
|
+
/******/
|
|
43
|
+
/******/ // expose the module cache
|
|
44
|
+
/******/ __webpack_require__.c = installedModules;
|
|
45
|
+
/******/
|
|
46
|
+
/******/ // define getter function for harmony exports
|
|
47
|
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
48
|
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
49
|
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
50
|
+
/******/ }
|
|
51
|
+
/******/ };
|
|
52
|
+
/******/
|
|
53
|
+
/******/ // define __esModule on exports
|
|
54
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
55
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
56
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
57
|
+
/******/ }
|
|
58
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
59
|
+
/******/ };
|
|
60
|
+
/******/
|
|
61
|
+
/******/ // create a fake namespace object
|
|
62
|
+
/******/ // mode & 1: value is a module id, require it
|
|
63
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
64
|
+
/******/ // mode & 4: return value when already ns object
|
|
65
|
+
/******/ // mode & 8|1: behave like require
|
|
66
|
+
/******/ __webpack_require__.t = function(value, mode) {
|
|
67
|
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
68
|
+
/******/ if(mode & 8) return value;
|
|
69
|
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
70
|
+
/******/ var ns = Object.create(null);
|
|
71
|
+
/******/ __webpack_require__.r(ns);
|
|
72
|
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
73
|
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
74
|
+
/******/ return ns;
|
|
75
|
+
/******/ };
|
|
76
|
+
/******/
|
|
77
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
78
|
+
/******/ __webpack_require__.n = function(module) {
|
|
79
|
+
/******/ var getter = module && module.__esModule ?
|
|
80
|
+
/******/ function getDefault() { return module['default']; } :
|
|
81
|
+
/******/ function getModuleExports() { return module; };
|
|
82
|
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
83
|
+
/******/ return getter;
|
|
84
|
+
/******/ };
|
|
85
|
+
/******/
|
|
86
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
|
87
|
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
88
|
+
/******/
|
|
89
|
+
/******/ // __webpack_public_path__
|
|
90
|
+
/******/ __webpack_require__.p = "";
|
|
91
|
+
/******/
|
|
92
|
+
/******/
|
|
93
|
+
/******/ // Load entry module and return exports
|
|
94
|
+
/******/ return __webpack_require__(__webpack_require__.s = "./src/index.ts");
|
|
95
|
+
/******/ })
|
|
96
|
+
/************************************************************************/
|
|
97
|
+
/******/ ({
|
|
98
|
+
|
|
99
|
+
/***/ "./src/index.ts":
|
|
100
|
+
/*!**********************!*\
|
|
101
|
+
!*** ./src/index.ts ***!
|
|
102
|
+
\**********************/
|
|
103
|
+
/*! no static exports found */
|
|
104
|
+
/***/ (function(module, exports) {
|
|
105
|
+
|
|
106
|
+
console.log('entry point');
|
|
107
|
+
|
|
108
|
+
/***/ })
|
|
109
|
+
|
|
110
|
+
/******/ });
|
|
111
|
+
});
|
|
112
|
+
//# sourceMappingURL=lite-app.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/clickview/packages/lite/webpack/universalModuleDefinition","file://C:/ClickView Projects/clickview/packages/lite/webpack/bootstrap","file://C:/ClickView Projects/clickview/packages/lite/src/index.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;QCVA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;AClFA,OAAO,CAAC,GAAR,CAAY,aAAZ,E","file":"lite-app.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"lite\"] = factory();\n\telse\n\t\troot[\"lite\"] = factory();\n})(window, function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./src/index.ts\");\n","console.log('entry point');"],"sourceRoot":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Core } from '@clickview/common';
|
|
3
|
+
interface IconButtonProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
appLink?: Core.AppLink;
|
|
6
|
+
svgName: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function IconButton(props: React.PropsWithChildren<IconButtonProps>): React.ReactElement;
|
|
9
|
+
export {};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Video } from '@clickview/shared';
|
|
3
|
+
interface VideoDetailsProps {
|
|
4
|
+
video: Video;
|
|
5
|
+
}
|
|
6
|
+
export declare function VideoDetails(props: VideoDetailsProps): React.ReactElement;
|
|
3
7
|
interface DetailsPaneProps {
|
|
4
8
|
video: Video;
|
|
5
9
|
}
|
|
@@ -3,8 +3,6 @@ export declare const Actions: {
|
|
|
3
3
|
HOME: string;
|
|
4
4
|
MY_UPLOADS: string;
|
|
5
5
|
SERIES: string;
|
|
6
|
-
PLAY_VIDEO: string;
|
|
7
|
-
FAVORITE_VIDEOS: string;
|
|
8
6
|
};
|
|
9
7
|
Playlists: {
|
|
10
8
|
HOME: string;
|
|
@@ -12,21 +10,6 @@ export declare const Actions: {
|
|
|
12
10
|
NEW_PLAYLIST: string;
|
|
13
11
|
EDIT_PLAYLIST: string;
|
|
14
12
|
DELETE_PLAYLIST: string;
|
|
15
|
-
ADD_TO_PLAYLIST: string;
|
|
16
13
|
REMOVE_VIDEO_FROM_PLAYLIST: string;
|
|
17
14
|
};
|
|
18
|
-
Dashboard: {
|
|
19
|
-
HOME: string;
|
|
20
|
-
DASHBOARD: string;
|
|
21
|
-
VIDEO: string;
|
|
22
|
-
};
|
|
23
|
-
Classifications: {
|
|
24
|
-
CLASSIFICATION: string;
|
|
25
|
-
PLAYLIST: string;
|
|
26
|
-
VIDEO: string;
|
|
27
|
-
SERIES: string;
|
|
28
|
-
};
|
|
29
|
-
Notifications: {
|
|
30
|
-
HOME: string;
|
|
31
|
-
};
|
|
32
15
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Video } from '@clickview/shared';
|
|
3
2
|
export interface PlayerPosition {
|
|
4
3
|
top: number;
|
|
5
4
|
left: number;
|
|
@@ -7,25 +6,10 @@ export interface PlayerPosition {
|
|
|
7
6
|
}
|
|
8
7
|
interface PlayerContextProps {
|
|
9
8
|
webPlayerUrl: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
setVideo: (video: Video) => void;
|
|
15
|
-
/**
|
|
16
|
-
* Position of the video player when we're on a play page
|
|
17
|
-
* no position means we're floating on the bottom right of the screen
|
|
18
|
-
*/
|
|
19
|
-
viewportPosition: PlayerPosition;
|
|
20
|
-
setViewportPosition: (position: PlayerPosition) => void;
|
|
21
|
-
/**
|
|
22
|
-
* Tells the floating player to not render when it has
|
|
23
|
-
* as video but no position. This prevents
|
|
24
|
-
* a bug where the floating player flashes briefly when the
|
|
25
|
-
* PlayView has set a video but not yet set a position
|
|
26
|
-
*/
|
|
27
|
-
isOnPlayPage: boolean;
|
|
28
|
-
setIsOnPlayPage: (isOnPlayPage: boolean) => void;
|
|
9
|
+
id?: string;
|
|
10
|
+
setId: (id: string) => void;
|
|
11
|
+
position: PlayerPosition;
|
|
12
|
+
setPosition: (position: PlayerPosition) => void;
|
|
29
13
|
}
|
|
30
14
|
export declare const PlayerContext: React.Context<PlayerContextProps>;
|
|
31
15
|
export declare function PlayerContextProvider(props: React.PropsWithChildren<{}>): React.ReactElement;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Store } from 'redux';
|
|
3
|
-
export interface
|
|
3
|
+
export interface LayoutComponentProps {
|
|
4
4
|
showNav: boolean;
|
|
5
5
|
contentChild?: React.ReactNode;
|
|
6
6
|
popupChild?: React.ReactNode;
|
|
7
7
|
alertChild?: React.ReactNode;
|
|
8
8
|
store: Store;
|
|
9
9
|
}
|
|
10
|
-
declare function WrapLayoutWithProviders(props:
|
|
10
|
+
declare function WrapLayoutWithProviders(props: LayoutComponentProps): React.ReactElement;
|
|
11
11
|
export { WrapLayoutWithProviders as TeacherLayoutComponent };
|
|
@@ -16,8 +16,10 @@ export declare class TeacherLayoutView extends ReactLayoutView {
|
|
|
16
16
|
static getCacheKey(options: TeacherLayoutViewOptions): string;
|
|
17
17
|
regions(): ObjectHash;
|
|
18
18
|
private getChildComponents;
|
|
19
|
+
private getSearchModel;
|
|
19
20
|
protected unsetRegion(region: string): void;
|
|
20
21
|
closePopup(): void;
|
|
21
22
|
showChildView(region: string, component: React.ReactElement): void;
|
|
22
23
|
renderLayout(): void;
|
|
24
|
+
private renderSearchBar;
|
|
23
25
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Flight } from '@clickview/common';
|
|
2
|
+
interface InfiniteScrollProps<T> {
|
|
3
|
+
items: T[];
|
|
4
|
+
shouldInitialFetch: boolean;
|
|
5
|
+
nextCursor: string;
|
|
6
|
+
isFetching: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const InfiniteScrollHelper: {
|
|
9
|
+
getInfiniteScrollProps<T>(state: Flight.ApplicationState, getKey: (cursor?: string) => string): InfiniteScrollProps<T>;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FavoriteVideos';
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
export * from './favorite-videos/FavoriteVideosView';
|
|
2
1
|
export * from './header/HeaderView';
|
|
3
2
|
export * from './left-nav/LeftNavView';
|
|
4
3
|
export * from './play/PlayView';
|
|
5
4
|
export * from './my-uploads/MyUploadsView';
|
|
6
5
|
export * from './series/SeriesView';
|
|
7
|
-
export * from './play-shared/PlaySharedView';
|
|
8
|
-
export * from './backbone-wrapper/BackboneWrapperView';
|