@clickview/online 0.0.12 → 0.0.13-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/en.json +1 -1
- package/dist/online-app.css +42 -12
- package/dist/online-app.js +5 -5
- package/package.json +3 -3
- package/typings/libs/FutureCoreHelper.d.ts +23 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clickview/online",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13-rc.0",
|
|
4
4
|
"description": "Online",
|
|
5
5
|
"main": "dist/online-app.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"license": "ISC",
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@clickview/eslint-config": "1.0.0",
|
|
24
|
-
"@clickview/tooling": "0.0.
|
|
24
|
+
"@clickview/tooling": "0.0.21-rc.0",
|
|
25
25
|
"@types/linkifyjs": "2.1.3",
|
|
26
26
|
"@types/react-sortable-hoc": "0.7.1",
|
|
27
27
|
"@types/react-transition-group": "4.2.3",
|
|
28
28
|
"@types/yup": "0.26.24"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@clickview/styles": "1.0.
|
|
31
|
+
"@clickview/styles": "1.0.14-rc.0",
|
|
32
32
|
"yup": "0.27.0"
|
|
33
33
|
},
|
|
34
34
|
"babel": {
|
|
@@ -7,22 +7,17 @@ declare namespace ClickView {
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
declare namespace currentUser {
|
|
11
|
-
declare function hasCompletedOnboarding(): boolean;
|
|
12
|
-
declare function completeOnboarding(): void;
|
|
13
|
-
declare function mustCompleteOnboarding(): boolean;
|
|
14
|
-
declare function getBulkOnboardingPreferencesState(): import('libs/shared/enums/BulkOnboardingPreferencesState').BulkOnboardingPreferencesState;
|
|
15
|
-
declare function updateBulkOnboardingPreferencesState(value: import('libs/shared/enums/BulkOnboardingPreferencesState').BulkOnboardingPreferencesState): void;
|
|
16
|
-
declare function isAdmin(): boolean;
|
|
17
|
-
declare function isStaff(): boolean;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
10
|
declare namespace Data {
|
|
21
11
|
declare namespace Config {
|
|
22
12
|
declare const env: string;
|
|
23
13
|
declare namespace region {
|
|
24
14
|
declare const code: string;
|
|
25
15
|
}
|
|
16
|
+
declare namespace urls {
|
|
17
|
+
declare const onlineUrl: string;
|
|
18
|
+
declare const companyWebsite: string;
|
|
19
|
+
declare const trainingChannelId: string;
|
|
20
|
+
}
|
|
26
21
|
}
|
|
27
22
|
|
|
28
23
|
declare namespace User {
|
|
@@ -33,15 +28,31 @@ declare namespace ClickView {
|
|
|
33
28
|
declare const workspaceId: string;
|
|
34
29
|
}
|
|
35
30
|
}
|
|
36
|
-
|
|
37
|
-
declare namespace currentUser {
|
|
31
|
+
declare namespace currentUser {
|
|
38
32
|
declare function hasSubjects(): boolean;
|
|
39
33
|
declare function hasMoviesAndTv(): boolean;
|
|
40
34
|
declare function get(key: string): any;
|
|
41
35
|
declare function getRegion(): string;
|
|
36
|
+
|
|
37
|
+
declare function isPrimaryCustomer(): boolean;
|
|
38
|
+
|
|
39
|
+
declare function isStudent(): boolean;
|
|
42
40
|
declare function isAdmin(): boolean;
|
|
43
41
|
declare function isStaff(): boolean;
|
|
44
42
|
declare function isAuthenticated(): boolean;
|
|
43
|
+
|
|
45
44
|
declare function canUseInteractives(): boolean;
|
|
45
|
+
declare function isFreeEduScotCustomer(): boolean;
|
|
46
|
+
declare function hasWestOSLibrary(): boolean;
|
|
47
|
+
declare function hasFreeProduct(): boolean;
|
|
48
|
+
|
|
49
|
+
declare function hasCurriculum(): boolean;
|
|
50
|
+
declare function getDashboardLayout(): DashboardLayout;
|
|
51
|
+
|
|
52
|
+
declare function hasCompletedOnboarding(): boolean;
|
|
53
|
+
declare function completeOnboarding(): void;
|
|
54
|
+
declare function mustCompleteOnboarding(): boolean;
|
|
55
|
+
declare function getBulkOnboardingPreferencesState(): import('libs/shared/enums/BulkOnboardingPreferencesState').BulkOnboardingPreferencesState;
|
|
56
|
+
declare function updateBulkOnboardingPreferencesState(value: import('libs/shared/enums/BulkOnboardingPreferencesState').BulkOnboardingPreferencesState): void;
|
|
46
57
|
}
|
|
47
58
|
}
|