@clickview/online 0.0.3-rc.0 → 0.0.3-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/dist/libs/common/src/react/constants/ViewModelActions.d.ts +3 -0
- package/dist/libs/common/src/react/interfaces/ViewModelAction.d.ts +5 -0
- package/dist/libs/common/src/react/interfaces/ViewModelPayload.d.ts +5 -0
- package/dist/libs/common/src/react/reducers/ViewModelReducer.d.ts +3 -0
- package/dist/libs/shared/src/apps/subjects/components/preferences/preference-item/PreferenceItem.d.ts +15 -0
- package/dist/libs/shared/src/apps/subjects/components/preferences/preference-item/PreferenceItemStatus.d.ts +10 -0
- package/dist/libs/shared/src/apps/subjects/interfaces/Curriculum.d.ts +4 -0
- package/dist/libs/shared/src/apps/subjects/interfaces/SchoolLevel.d.ts +4 -0
- package/dist/libs/shared/src/components/svgs/ClickViewLogo.d.ts +2 -0
- package/dist/libs/shared/src/components/svgs/clickview-logo/ClickViewLogo.d.ts +3 -0
- package/dist/online-app.css.map +1 -0
- package/dist/online-app.js +1 -1
- package/dist/online-app.js.map +1 -0
- package/dist/projects/online/src/apps/libraries/LibrariesApplication.d.ts +11 -0
- package/dist/projects/online/src/apps/libraries/components/libraries-list/LibrariesList.d.ts +7 -0
- package/dist/projects/online/src/apps/libraries/components/libraries-list/partial-loading/PartialLibrariesList.d.ts +2 -0
- package/dist/projects/online/src/apps/libraries/components/library-item/LibraryItem.d.ts +7 -0
- package/dist/projects/online/src/apps/libraries/flight-requests/LibrariesRequests.d.ts +7 -0
- package/dist/projects/online/src/apps/libraries/utils/LibraryHelper.d.ts +9 -0
- package/dist/projects/online/src/apps/libraries/views/libraries/LibrariesView.d.ts +2 -0
- package/dist/projects/online/src/apps/movies-and-tv/MoviesAndTvApplication.d.ts +12 -0
- package/dist/projects/online/src/apps/movies-and-tv/views/movies-and-tv/MoviesAndTvView.d.ts +2 -0
- package/dist/projects/online/src/apps/subjects/views/preferences/curriculum/CurriculumSelectorView.d.ts +5 -0
- package/dist/projects/online/src/apps/subjects/views/preferences/school-level-selector/SchoolLevelSelectorView.d.ts +2 -0
- package/dist/projects/online/src/apps/subjects/views/preferences/welcome/PreferencesWelcomeView.d.ts +2 -0
- package/dist/projects/online/src/shared/components/info-banner/InfoBanner.d.ts +2 -0
- package/package.json +44 -44
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Core } from "../../../../../libs/common/src/backbone";
|
|
2
|
+
import { ReactApplication } from "../../../../../libs/common/src/react/core/ReactApplication";
|
|
3
|
+
import { OnlineLayoutViewOptions, OnlineLayoutView } from "../../shared/layouts";
|
|
4
|
+
export declare class LibrariesApplication extends ReactApplication {
|
|
5
|
+
protected layout: OnlineLayoutView;
|
|
6
|
+
get name(): string;
|
|
7
|
+
static get router(): any;
|
|
8
|
+
get channelName(): string;
|
|
9
|
+
get layoutOptions(): Core.LayoutOptions<OnlineLayoutViewOptions>;
|
|
10
|
+
index(): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Flight } from "../../../../../../libs/common/src/react";
|
|
2
|
+
export declare const LibrariesRequests: {
|
|
3
|
+
libraries(): Flight.Request;
|
|
4
|
+
interactives(): Flight.Request;
|
|
5
|
+
recentLibraryVideos(id: string): Flight.Request;
|
|
6
|
+
mostRecentVideos(): Flight.Request;
|
|
7
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Library } from "../../../../../../libs/shared/src/interfaces";
|
|
2
|
+
export declare const LibraryHelper: {
|
|
3
|
+
isPrimaryLibrary(library: Library): boolean;
|
|
4
|
+
isSecondaryLibrary(library: Library): boolean;
|
|
5
|
+
isMoviesAndTv(library: Library): boolean;
|
|
6
|
+
isHostedLibrary(library: Library): boolean;
|
|
7
|
+
isCustomLibrary(library: Library): boolean;
|
|
8
|
+
isSupplementaryLibrary(library: Library): boolean;
|
|
9
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Core } from "../../../../../libs/common/src/backbone";
|
|
2
|
+
import { ReactApplication } from "../../../../../libs/common/src/react/core/ReactApplication";
|
|
3
|
+
import { OnlineLayoutViewOptions, OnlineLayoutView } from "../../shared/layouts";
|
|
4
|
+
export declare class MoviesAndTvApplication extends ReactApplication {
|
|
5
|
+
protected layout: OnlineLayoutView;
|
|
6
|
+
get name(): string;
|
|
7
|
+
static get router(): any;
|
|
8
|
+
get channelName(): string;
|
|
9
|
+
get layoutOptions(): Core.LayoutOptions<OnlineLayoutViewOptions>;
|
|
10
|
+
index(): void;
|
|
11
|
+
addToPlaylist(videoId: string): void;
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@clickview/online",
|
|
3
|
-
"version": "0.0.3-rc.
|
|
4
|
-
"description": "Online",
|
|
5
|
-
"main": "dist/online-app.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"start": "set NODE_ENV=development&& webpack -w --config ./tooling/webpack.config.js",
|
|
9
|
-
"build": "set NODE_ENV=production&& webpack --config ./tooling/webpack.config.js",
|
|
10
|
-
"dev-build": "set NODE_ENV=development&& webpack --config ./tooling/webpack.config.js"
|
|
11
|
-
},
|
|
12
|
-
"repository": {
|
|
13
|
-
"type": "git",
|
|
14
|
-
"url": "https://gitlab.cvinternal.net/front-end/clickview"
|
|
15
|
-
},
|
|
16
|
-
"cv": {
|
|
17
|
-
"publishable": true,
|
|
18
|
-
"rebuildable": true
|
|
19
|
-
},
|
|
20
|
-
"author": "",
|
|
21
|
-
"license": "ISC",
|
|
22
|
-
"devDependencies": {
|
|
23
|
-
"@clickview/tooling": "0.0.17",
|
|
24
|
-
"@types/linkifyjs": "2.1.3",
|
|
25
|
-
"@types/react-sortable-hoc": "0.7.1",
|
|
26
|
-
"@types/react-transition-group": "4.2.3",
|
|
27
|
-
"@types/yup": "0.26.24"
|
|
28
|
-
},
|
|
29
|
-
"dependencies": {
|
|
30
|
-
"@clickview/styles": "1.0.7",
|
|
31
|
-
"yup": "0.27.0"
|
|
32
|
-
},
|
|
33
|
-
"babel": {
|
|
34
|
-
"presets": [
|
|
35
|
-
[
|
|
36
|
-
"@babel/preset-env",
|
|
37
|
-
{
|
|
38
|
-
"corejs": 3,
|
|
39
|
-
"useBuiltIns": "entry"
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
]
|
|
43
|
-
}
|
|
44
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@clickview/online",
|
|
3
|
+
"version": "0.0.3-rc.1",
|
|
4
|
+
"description": "Online",
|
|
5
|
+
"main": "dist/online-app.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"start": "set NODE_ENV=development&& webpack -w --config ./tooling/webpack.config.js",
|
|
9
|
+
"build": "set NODE_ENV=production&& webpack --config ./tooling/webpack.config.js",
|
|
10
|
+
"dev-build": "set NODE_ENV=development&& webpack --config ./tooling/webpack.config.js"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://gitlab.cvinternal.net/front-end/clickview"
|
|
15
|
+
},
|
|
16
|
+
"cv": {
|
|
17
|
+
"publishable": true,
|
|
18
|
+
"rebuildable": true
|
|
19
|
+
},
|
|
20
|
+
"author": "",
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@clickview/tooling": "0.0.17",
|
|
24
|
+
"@types/linkifyjs": "2.1.3",
|
|
25
|
+
"@types/react-sortable-hoc": "0.7.1",
|
|
26
|
+
"@types/react-transition-group": "4.2.3",
|
|
27
|
+
"@types/yup": "0.26.24"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@clickview/styles": "1.0.7",
|
|
31
|
+
"yup": "0.27.0"
|
|
32
|
+
},
|
|
33
|
+
"babel": {
|
|
34
|
+
"presets": [
|
|
35
|
+
[
|
|
36
|
+
"@babel/preset-env",
|
|
37
|
+
{
|
|
38
|
+
"corejs": 3,
|
|
39
|
+
"useBuiltIns": "entry"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
}
|