@coorpacademy/components 11.40.2-alpha.10.10 → 11.40.2-alpha.13.14
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/es/molecule/certification-card/index.d.ts +2 -1
- package/es/molecule/certification-card/index.d.ts.map +1 -1
- package/es/molecule/certification-card/index.js +9 -1
- package/es/molecule/certification-card/index.js.map +1 -1
- package/es/molecule/cm-popin/types.d.ts +1 -1
- package/es/molecule/learner-skill-card/index.d.ts +24 -25
- package/es/molecule/learner-skill-card/index.d.ts.map +1 -1
- package/es/molecule/learner-skill-card/index.js +44 -13
- package/es/molecule/learner-skill-card/index.js.map +1 -1
- package/es/molecule/playlist-card/index.d.ts +2 -1
- package/es/molecule/playlist-card/index.d.ts.map +1 -1
- package/es/molecule/playlist-card/index.js +9 -1
- package/es/molecule/playlist-card/index.js.map +1 -1
- package/es/organism/cards-grid/index.d.ts +29 -1
- package/es/organism/cards-grid/index.d.ts.map +1 -1
- package/es/organism/cards-grid/index.js +23 -8
- package/es/organism/cards-grid/index.js.map +1 -1
- package/es/template/app-player/loading/index.d.ts +1 -1
- package/es/template/app-player/player/index.d.ts +2 -2
- package/es/template/app-player/player/slides/index.d.ts +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +1 -1
- package/es/template/app-player/popin-end/index.d.ts +1 -1
- package/es/template/app-review/index.d.ts +1 -1
- package/es/template/app-review/player/prop-types.d.ts +1 -1
- package/es/template/app-review/prop-types.d.ts +1 -1
- package/es/template/back-office/brand-update/index.d.ts +1 -1
- package/es/template/certification-detail/index.d.ts +1 -1
- package/es/template/common/authors/index.d.ts +1 -1
- package/es/template/common/dashboard/index.d.ts +2 -2
- package/es/template/common/search-page/index.d.ts +49 -46
- package/es/template/common/search-page/style.css +3 -2
- package/es/template/external-course/index.d.ts +1 -1
- package/es/template/my-learning/index.d.ts.map +1 -1
- package/es/template/my-learning/index.js +3 -1
- package/es/template/my-learning/index.js.map +1 -1
- package/es/template/playlist-detail/index.d.ts +1 -1
- package/es/template/skill-detail/all-courses.d.ts +1 -1
- package/es/template/skill-detail/continue-learning.d.ts +1 -1
- package/es/template/skill-detail/index.d.ts +2 -2
- package/es/template/skill-detail/index.d.ts.map +1 -1
- package/es/template/skill-detail/index.js +3 -1
- package/es/template/skill-detail/index.js.map +1 -1
- package/lib/molecule/certification-card/index.d.ts +2 -1
- package/lib/molecule/certification-card/index.d.ts.map +1 -1
- package/lib/molecule/certification-card/index.js +9 -1
- package/lib/molecule/certification-card/index.js.map +1 -1
- package/lib/molecule/cm-popin/types.d.ts +1 -1
- package/lib/molecule/learner-skill-card/index.d.ts +24 -25
- package/lib/molecule/learner-skill-card/index.d.ts.map +1 -1
- package/lib/molecule/learner-skill-card/index.js +44 -13
- package/lib/molecule/learner-skill-card/index.js.map +1 -1
- package/lib/molecule/playlist-card/index.d.ts +2 -1
- package/lib/molecule/playlist-card/index.d.ts.map +1 -1
- package/lib/molecule/playlist-card/index.js +9 -1
- package/lib/molecule/playlist-card/index.js.map +1 -1
- package/lib/organism/cards-grid/index.d.ts +29 -1
- package/lib/organism/cards-grid/index.d.ts.map +1 -1
- package/lib/organism/cards-grid/index.js +23 -8
- package/lib/organism/cards-grid/index.js.map +1 -1
- package/lib/template/app-player/loading/index.d.ts +1 -1
- package/lib/template/app-player/player/index.d.ts +2 -2
- package/lib/template/app-player/player/slides/index.d.ts +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +1 -1
- package/lib/template/app-review/index.d.ts +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +1 -1
- package/lib/template/app-review/prop-types.d.ts +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +1 -1
- package/lib/template/certification-detail/index.d.ts +1 -1
- package/lib/template/common/authors/index.d.ts +1 -1
- package/lib/template/common/dashboard/index.d.ts +2 -2
- package/lib/template/common/search-page/index.d.ts +49 -46
- package/lib/template/common/search-page/style.css +3 -2
- package/lib/template/external-course/index.d.ts +1 -1
- package/lib/template/my-learning/index.d.ts.map +1 -1
- package/lib/template/my-learning/index.js +3 -1
- package/lib/template/my-learning/index.js.map +1 -1
- package/lib/template/playlist-detail/index.d.ts +1 -1
- package/lib/template/skill-detail/all-courses.d.ts +1 -1
- package/lib/template/skill-detail/continue-learning.d.ts +1 -1
- package/lib/template/skill-detail/index.d.ts +2 -2
- package/lib/template/skill-detail/index.d.ts.map +1 -1
- package/lib/template/skill-detail/index.js +3 -1
- package/lib/template/skill-detail/index.js.map +1 -1
- package/locales/bs/global.json +6 -4
- package/locales/cs/global.json +6 -4
- package/locales/de/global.json +6 -4
- package/locales/en/global.json +4 -2
- package/locales/es/global.json +6 -4
- package/locales/et/global.json +6 -4
- package/locales/fi/global.json +6 -4
- package/locales/fr/global.json +4 -2
- package/locales/hr/global.json +6 -4
- package/locales/hu/global.json +6 -4
- package/locales/hy/global.json +6 -4
- package/locales/it/global.json +6 -4
- package/locales/ja/global.json +6 -4
- package/locales/ko/global.json +6 -4
- package/locales/lt/global.json +6 -4
- package/locales/nl/global.json +6 -4
- package/locales/pl/global.json +6 -4
- package/locales/pt/global.json +6 -4
- package/locales/ro/global.json +6 -4
- package/locales/ru/global.json +6 -4
- package/locales/sk/global.json +6 -4
- package/locales/sl/global.json +6 -4
- package/locales/sv/global.json +6 -4
- package/locales/th/global.json +6 -2
- package/locales/tl/global.json +6 -4
- package/locales/tr/global.json +6 -4
- package/locales/uk/global.json +6 -4
- package/locales/vi/global.json +6 -4
- package/locales/zh/global.json +6 -4
- package/locales/zh_TW/global.json +6 -4
- package/package.json +2 -2
- package/es/molecule/learner-skill-card/prop-types.d.ts +0 -37
- package/es/molecule/learner-skill-card/prop-types.d.ts.map +0 -1
- package/es/molecule/learner-skill-card/prop-types.js +0 -20
- package/es/molecule/learner-skill-card/prop-types.js.map +0 -1
- package/lib/molecule/learner-skill-card/prop-types.d.ts +0 -37
- package/lib/molecule/learner-skill-card/prop-types.d.ts.map +0 -1
- package/lib/molecule/learner-skill-card/prop-types.js +0 -25
- package/lib/molecule/learner-skill-card/prop-types.js.map +0 -1
|
@@ -212,7 +212,7 @@ declare namespace SlidesPlayer {
|
|
|
212
212
|
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
213
213
|
type: PropTypes.Requireable<string>;
|
|
214
214
|
list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
215
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
215
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
216
216
|
customStyle: PropTypes.Requireable<{
|
|
217
217
|
[x: string]: string | null | undefined;
|
|
218
218
|
}>;
|
|
@@ -242,7 +242,7 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
242
242
|
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
243
243
|
type: PropTypes.Requireable<string>;
|
|
244
244
|
list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
245
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
245
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
246
246
|
customStyle: PropTypes.Requireable<{
|
|
247
247
|
[x: string]: string | null | undefined;
|
|
248
248
|
}>;
|
|
@@ -342,7 +342,7 @@ declare namespace PopinEnd {
|
|
|
342
342
|
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
343
343
|
type: PropTypes.Requireable<string>;
|
|
344
344
|
list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
345
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
345
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
346
346
|
customStyle: PropTypes.Requireable<{
|
|
347
347
|
[x: string]: string | null | undefined;
|
|
348
348
|
}>;
|
|
@@ -663,7 +663,7 @@ declare const AppReview: {
|
|
|
663
663
|
items: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
664
664
|
type: import("prop-types").Requireable<string>;
|
|
665
665
|
list: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
|
|
666
|
-
list: import("prop-types").Requireable<(import("prop-types").
|
|
666
|
+
list: import("prop-types").Requireable<((import("prop-types").InferPropsInner<Pick<any, any>> & Partial<import("prop-types").InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
667
667
|
customStyle: import("prop-types").Requireable<{
|
|
668
668
|
[x: string]: string | null | undefined;
|
|
669
669
|
}>;
|
|
@@ -664,7 +664,7 @@ declare const propTypes: {
|
|
|
664
664
|
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
665
665
|
type: PropTypes.Requireable<string>;
|
|
666
666
|
list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
667
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
667
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
668
668
|
customStyle: PropTypes.Requireable<{
|
|
669
669
|
[x: string]: string | null | undefined;
|
|
670
670
|
}>;
|
|
@@ -668,7 +668,7 @@ declare const propTypes: {
|
|
|
668
668
|
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
669
669
|
type: PropTypes.Requireable<string>;
|
|
670
670
|
list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
671
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
671
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
672
672
|
customStyle: PropTypes.Requireable<{
|
|
673
673
|
[x: string]: string | null | undefined;
|
|
674
674
|
}>;
|
|
@@ -1885,7 +1885,7 @@ declare namespace BrandUpdate {
|
|
|
1885
1885
|
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1886
1886
|
type: PropTypes.Requireable<string>;
|
|
1887
1887
|
list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
1888
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
1888
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
1889
1889
|
customStyle: PropTypes.Requireable<{
|
|
1890
1890
|
[x: string]: string | null | undefined;
|
|
1891
1891
|
}>;
|
|
@@ -42,7 +42,7 @@ declare namespace CertificationDetail {
|
|
|
42
42
|
const badgeUrl: PropTypes.Requireable<string>;
|
|
43
43
|
const ongoingCoursesAvailable: PropTypes.Requireable<boolean>;
|
|
44
44
|
const certificationCourses: PropTypes.Requireable<PropTypes.InferProps<{
|
|
45
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
45
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
46
46
|
customStyle: PropTypes.Requireable<{
|
|
47
47
|
[x: string]: string | null | undefined;
|
|
48
48
|
}>;
|
|
@@ -2,7 +2,7 @@ export default Authors;
|
|
|
2
2
|
declare class Authors extends React.Component<any, any, any> {
|
|
3
3
|
static propTypes: {
|
|
4
4
|
cards: PropTypes.Requireable<PropTypes.InferProps<{
|
|
5
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
5
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
6
6
|
customStyle: PropTypes.Requireable<{
|
|
7
7
|
[x: string]: string | null | undefined;
|
|
8
8
|
}>;
|
|
@@ -159,7 +159,7 @@ declare namespace Dashboard {
|
|
|
159
159
|
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
160
160
|
type: PropTypes.Requireable<string>;
|
|
161
161
|
list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
162
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
162
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
163
163
|
customStyle: PropTypes.Requireable<{
|
|
164
164
|
[x: string]: string | null | undefined;
|
|
165
165
|
}>;
|
|
@@ -970,7 +970,7 @@ declare namespace Dashboard {
|
|
|
970
970
|
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
971
971
|
type: PropTypes.Requireable<string>;
|
|
972
972
|
list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
973
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
973
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
974
974
|
customStyle: PropTypes.Requireable<{
|
|
975
975
|
[x: string]: string | null | undefined;
|
|
976
976
|
}>;
|
|
@@ -79,7 +79,7 @@ declare namespace SearchPage {
|
|
|
79
79
|
sortAriaLabel: PropTypes.Requireable<string>;
|
|
80
80
|
}>>;
|
|
81
81
|
const cards: PropTypes.Requireable<PropTypes.InferProps<{
|
|
82
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
82
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
83
83
|
customStyle: PropTypes.Requireable<{
|
|
84
84
|
[x: string]: string | null | undefined;
|
|
85
85
|
}>;
|
|
@@ -342,7 +342,7 @@ declare namespace SearchPage {
|
|
|
342
342
|
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
343
343
|
type: PropTypes.Requireable<string>;
|
|
344
344
|
list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
345
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
345
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
346
346
|
customStyle: PropTypes.Requireable<{
|
|
347
347
|
[x: string]: string | null | undefined;
|
|
348
348
|
}>;
|
|
@@ -1002,6 +1002,53 @@ declare namespace SearchPage {
|
|
|
1002
1002
|
[x: string]: PropTypes.InferProps<{
|
|
1003
1003
|
title: PropTypes.Requireable<string>;
|
|
1004
1004
|
cards: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
|
|
1005
|
+
type: PropTypes.Validator<string>;
|
|
1006
|
+
title: PropTypes.Validator<string>;
|
|
1007
|
+
label: PropTypes.Requireable<string>;
|
|
1008
|
+
'aria-label': PropTypes.Requireable<string>;
|
|
1009
|
+
cardIndex: PropTypes.Requireable<number>;
|
|
1010
|
+
focus: PropTypes.Requireable<boolean>;
|
|
1011
|
+
progress: PropTypes.Requireable<number>;
|
|
1012
|
+
metrics: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1013
|
+
content: PropTypes.Requireable<number>;
|
|
1014
|
+
questionsToReview: PropTypes.Requireable<number>;
|
|
1015
|
+
}>>;
|
|
1016
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1017
|
+
color: PropTypes.Requireable<string>;
|
|
1018
|
+
name: PropTypes.Requireable<string>;
|
|
1019
|
+
}>>;
|
|
1020
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1021
|
+
}> | PropTypes.InferProps<{
|
|
1022
|
+
type: PropTypes.Validator<string>;
|
|
1023
|
+
label: PropTypes.Requireable<string>;
|
|
1024
|
+
goal: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1025
|
+
title: PropTypes.Requireable<string>;
|
|
1026
|
+
condition: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1027
|
+
nbDone: PropTypes.Requireable<number>;
|
|
1028
|
+
}>>;
|
|
1029
|
+
}>>;
|
|
1030
|
+
progress: PropTypes.Requireable<number>;
|
|
1031
|
+
imgUrl: PropTypes.Requireable<string>;
|
|
1032
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1033
|
+
locales: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1034
|
+
conditionDescriptionProgress: PropTypes.Requireable<string>;
|
|
1035
|
+
tag: PropTypes.Requireable<string>;
|
|
1036
|
+
}>>;
|
|
1037
|
+
}> | PropTypes.InferProps<{
|
|
1038
|
+
type: PropTypes.Validator<string>;
|
|
1039
|
+
label: PropTypes.Requireable<string>;
|
|
1040
|
+
title: PropTypes.Validator<string>;
|
|
1041
|
+
progress: PropTypes.Requireable<number>;
|
|
1042
|
+
coverImages: PropTypes.Validator<(PropTypes.InferProps<{
|
|
1043
|
+
type: PropTypes.Requireable<string>;
|
|
1044
|
+
image: PropTypes.Requireable<string>;
|
|
1045
|
+
}> | null | undefined)[]>;
|
|
1046
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1047
|
+
locales: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1048
|
+
playlistTag: PropTypes.Requireable<string>;
|
|
1049
|
+
coursesLabel: PropTypes.Requireable<string>;
|
|
1050
|
+
}>>;
|
|
1051
|
+
}> | PropTypes.InferProps<{
|
|
1005
1052
|
badge: PropTypes.Requireable<string>;
|
|
1006
1053
|
image: PropTypes.Requireable<string>;
|
|
1007
1054
|
disabled: PropTypes.Requireable<boolean>;
|
|
@@ -1057,50 +1104,6 @@ declare namespace SearchPage {
|
|
|
1057
1104
|
tagLabel: PropTypes.Requireable<string>;
|
|
1058
1105
|
progression: PropTypes.Requireable<number>;
|
|
1059
1106
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1060
|
-
}> | PropTypes.InferProps<{
|
|
1061
|
-
label: PropTypes.Requireable<string>;
|
|
1062
|
-
goal: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1063
|
-
title: PropTypes.Requireable<string>;
|
|
1064
|
-
condition: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1065
|
-
nbDone: PropTypes.Requireable<number>;
|
|
1066
|
-
}>>;
|
|
1067
|
-
}>>;
|
|
1068
|
-
progress: PropTypes.Requireable<number>;
|
|
1069
|
-
imgUrl: PropTypes.Requireable<string>;
|
|
1070
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1071
|
-
locales: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1072
|
-
conditionDescriptionProgress: PropTypes.Requireable<string>;
|
|
1073
|
-
tag: PropTypes.Requireable<string>;
|
|
1074
|
-
}>>;
|
|
1075
|
-
}> | PropTypes.InferProps<{
|
|
1076
|
-
'aria-label': PropTypes.Requireable<string>;
|
|
1077
|
-
cardIndex: PropTypes.Requireable<number>;
|
|
1078
|
-
skillTitle: PropTypes.Requireable<string>;
|
|
1079
|
-
skillAriaLabel: PropTypes.Requireable<string>;
|
|
1080
|
-
focus: PropTypes.Requireable<boolean>;
|
|
1081
|
-
metrics: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1082
|
-
content: PropTypes.Requireable<number>;
|
|
1083
|
-
score: PropTypes.Requireable<number>;
|
|
1084
|
-
questionsToReview: PropTypes.Requireable<number>;
|
|
1085
|
-
}>>;
|
|
1086
|
-
icon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1087
|
-
color: PropTypes.Requireable<string>;
|
|
1088
|
-
name: PropTypes.Requireable<string>;
|
|
1089
|
-
}>>;
|
|
1090
|
-
onExploreClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1091
|
-
}> | PropTypes.InferProps<{
|
|
1092
|
-
label: PropTypes.Requireable<string>;
|
|
1093
|
-
title: PropTypes.Validator<string>;
|
|
1094
|
-
progress: PropTypes.Requireable<number>;
|
|
1095
|
-
coverImages: PropTypes.Validator<(PropTypes.InferProps<{
|
|
1096
|
-
type: PropTypes.Requireable<string>;
|
|
1097
|
-
image: PropTypes.Requireable<string>;
|
|
1098
|
-
}> | null | undefined)[]>;
|
|
1099
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1100
|
-
locales: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1101
|
-
playlistTag: PropTypes.Requireable<string>;
|
|
1102
|
-
coursesLabel: PropTypes.Requireable<string>;
|
|
1103
|
-
}>>;
|
|
1104
1107
|
}> | null | undefined> | null | undefined)[]>;
|
|
1105
1108
|
showMore: PropTypes.Requireable<string>;
|
|
1106
1109
|
onShowMore: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.sectionHeader {
|
|
83
|
-
max-width:
|
|
83
|
+
max-width: 1090px;
|
|
84
84
|
margin: auto;
|
|
85
85
|
padding: 16px 30px 8px;
|
|
86
86
|
box-sizing: border-box;
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
.contentSection .sectionHeader {
|
|
106
106
|
padding: 0;
|
|
107
107
|
margin: 16px auto 8px auto;
|
|
108
|
-
max-width:
|
|
108
|
+
max-width: 1090px;
|
|
109
109
|
display: flex;
|
|
110
110
|
line-height: 20px;
|
|
111
111
|
align-items: start;
|
|
@@ -113,6 +113,7 @@
|
|
|
113
113
|
|
|
114
114
|
.contentGrid {
|
|
115
115
|
max-width: 1090px;
|
|
116
|
+
width: 100%;
|
|
116
117
|
margin: auto 0 auto -8px;
|
|
117
118
|
box-sizing: border-box;
|
|
118
119
|
}
|
|
@@ -177,7 +177,7 @@ declare namespace ExternalCourse {
|
|
|
177
177
|
items: PropTypes.Requireable<PropTypes.InferProps<{
|
|
178
178
|
type: PropTypes.Requireable<string>;
|
|
179
179
|
list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
|
|
180
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
180
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
181
181
|
customStyle: PropTypes.Requireable<{
|
|
182
182
|
[x: string]: string | null | undefined;
|
|
183
183
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/my-learning/index.js"],"names":[],"mappings":";AAqHA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/my-learning/index.js"],"names":[],"mappings":";AAqHA,mEA0ZC"}
|
|
@@ -172,7 +172,9 @@ const MyLearning = (props, context) => {
|
|
|
172
172
|
backgroundColor: COLORS.pink_100
|
|
173
173
|
}
|
|
174
174
|
}, {
|
|
175
|
-
title: translate('skill_chart_side_panel_questions_to_review'
|
|
175
|
+
title: translate('skill_chart_side_panel_questions_to_review', {
|
|
176
|
+
count: questionsToReviewData || 0
|
|
177
|
+
}),
|
|
176
178
|
value: `${questionsToReviewData}`,
|
|
177
179
|
legend: skillChartPaneLegends,
|
|
178
180
|
icon: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","useCallback","useState","useMemo","PropTypes","convert","Provider","Icon","Picture","ButtonLink","ToolTip","ReviewNoSkills","SearchForm","SkillPickerModal","ResponsiveLearningProfileRadarChart","SkillsChartSideInformationPanel","LearnerSkillCard","searchValueIncluded","formatMinutes","CardsList","Title","COLORS","style","roundScore","value","Math","round","ChangeSkillFocusButton","props","context","onClick","skin","translate","primarySkinColor","_get","createElement","customStyle","backgroundColor","color","transition","hoverBackgroundColor","hoverColor","white","label","icon","position","faIcon","name","size","contextTypes","childContextTypes","propTypes","process","env","NODE_ENV","func","FilterButton","active","filter","skillTotal","Content","className","skillFilterNumber","skillFilterNumberInActive","cm_grey_100","cm_grey_500","buttonProps","cm_grey_400","width","content","bool","string","number","MyLearning","skills","selectedSkills","skillsInformation","skillsLocales","learnerFeature","isLoading","onSkillFocusConfirm","onExploreSkill","learningPriorities","open","setOpen","selectedSkillsList","setSelectedSkillsList","skillFocusSelectedOnChart","setSkillFocusSelectedOnChart","undefined","searchValue","setSearchValue","searchResults","setSearchResults","_sortBy","skillRef","_getOr","activeFilter","setActiveFilter","skillsReviewReady","skill","availableForReview","graphDatas","_pipe","_map","_fromPairs","graphLegends","filters","all","review","sumKpi","kpi","skillFocusSelectedOnChartScore","_sumBy","stats","coursedCompletedData","questionsToReviewData","learningTimeData","skillChartPaneLegends","focusedSkill","skillChartPanelProps","title","legend","iconName","turquoise_100","pink_100","orange_100","skillsScore","handleOnDotClick","handleOpenSkillPicker","handleCloseSkillPicker","handleConfirmSkillPicker","focusSkillList","handleSearch","handleSearchReset","ReviewTooltipContent","backgroundContainer","_isEmpty","cards","cardsListContainer","_extends","type","subtitle","iconColor","cm_orange_800","borderRadius","tag","_size","container","isOpen","onCancel","onConfirm","onClose","skillFocusContainer","skillFocusHeader","skillFocusHeaderWrapper","skillFocusHeaderIcon","purple_100","faSize","wrapperSize","skillFocusHeaderContent","skillFocusHeaderTitle","skillFocusHeaderDescription","length","skillFocusContent","radarContainer","totalDataset","height","data","onExploreClick","colors","gradient","fill","stroke","percentage","background","sidePanelItems","skillFocusEmpty","img","src","alt","skillFocusEmptyTitle","skillFocusEmptyDescription","skillListHeader","skillListHeaderIcon","yellow_100","skillListHeaderContent","skillListHeaderTitle","skillListHeaderDescription","fontSize","iconContainerClassName","infoIconTooltip","tooltipClassName","tooltip","TooltipContent","closeToolTipInformationTextAriaLabel","toolBarContainer","skillFilterContainer","_keys","map","index","handleFilterClick","key","searchWrapper","search","placeholder","onChange","onReset","emptySearchResultContainer","emptySearchResultTitle","emptySearchResultDescription","emptySearchResultClearSearch","skillListContainer","skillListEmptyContainer","titleNoSkills","textNoSkills","iconSkillAriaLabel","imagePosition","defaultStats","score","contentCompleted","questionsToReview","handleExploreSkill","skillTitle","cardIndex","focus","includes","metrics","arrayOf","objectOf","shape","learningTime"],"sources":["../../../src/template/my-learning/index.js"],"sourcesContent":["import React, {useCallback, useState, useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {convert} from 'css-color-function';\nimport {get, keys, map, fromPairs, pipe, sumBy, getOr, sortBy, size, isEmpty} from 'lodash/fp';\nimport Provider from '../../atom/provider';\nimport Icon from '../../atom/icon';\nimport Picture from '../../atom/picture';\nimport ButtonLink from '../../atom/button-link';\nimport ToolTip from '../../atom/tooltip';\nimport ReviewNoSkills from '../../organism/review-no-skills';\nimport SearchForm from '../../molecule/search-form';\nimport SkillPickerModal from '../../molecule/skill-picker-modal';\nimport ResponsiveLearningProfileRadarChart from '../../molecule/learning-profile-radar-chart';\nimport SkillsChartSideInformationPanel from '../../molecule/skills-chart-side-information-panel';\nimport LearnerSkillCard from '../../molecule/learner-skill-card';\nimport searchValueIncluded from '../../util/search-value-included';\nimport {formatMinutes} from '../../util/time-format';\nimport CardsList from '../../molecule/dashboard/cards-list';\nimport Title from '../../atom/title';\nimport {COLORS} from '../../variables/colors';\nimport style from './style.css';\n\nconst roundScore = value => Math.round(value * 10) / 10;\n\nconst ChangeSkillFocusButton = (props, context) => {\n const {onClick} = props;\n const {skin, translate} = context;\n const primarySkinColor = get('common.primary', skin);\n\n return (\n <div data-name=\"button-explore-wrapper\">\n <ButtonLink\n customStyle={{\n backgroundColor: convert(`color(${primarySkinColor} a(0.07))`),\n color: primarySkinColor,\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n }}\n hoverBackgroundColor={primarySkinColor}\n hoverColor={COLORS.white}\n onClick={onClick}\n label={translate('skills_change_focus')}\n data-name=\"change-skill-focus-button\"\n icon={{\n position: 'left',\n faIcon: {\n name: 'arrows-rotate',\n backgroundColor: convert(`color(${primarySkinColor} a(0.07))`),\n color: primarySkinColor,\n size: 16\n }\n }}\n />\n </div>\n );\n};\n\nChangeSkillFocusButton.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nChangeSkillFocusButton.propTypes = {\n onClick: PropTypes.func\n};\n\nconst FilterButton = (props, context) => {\n const {active, filter, skillTotal, onClick} = props;\n const {skin} = context;\n const primarySkinColor = get('common.primary', skin);\n\n const Content = useCallback(\n () => (\n <div>\n {filter}\n <span\n className={active ? style.skillFilterNumber : style.skillFilterNumberInActive}\n style={{\n backgroundColor: active\n ? convert(`color(${primarySkinColor} a(0.07))`)\n : COLORS.cm_grey_100,\n color: active ? primarySkinColor : COLORS.cm_grey_500\n }}\n >\n {skillTotal}\n </span>\n </div>\n ),\n [filter, skillTotal, active, primarySkinColor]\n );\n\n const buttonProps = {\n customStyle: {\n backgroundColor: active ? convert(`color(${primarySkinColor} a(0.07))`) : COLORS.white,\n color: active ? primarySkinColor : COLORS.cm_grey_400,\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out',\n width: 'fit-content'\n },\n onClick,\n content: <Content />,\n 'data-name': 'change-skill-focus-button'\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nFilterButton.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nFilterButton.propTypes = {\n active: PropTypes.bool,\n filter: PropTypes.string,\n skillTotal: PropTypes.number,\n onClick: PropTypes.func\n};\n\nconst MyLearning = (props, context) => {\n const {\n skills,\n selectedSkills = [],\n skillsInformation,\n skillsLocales,\n learnerFeature = true,\n isLoading,\n onSkillFocusConfirm,\n onExploreSkill,\n learningPriorities\n } = props;\n const {skin, translate} = context;\n const primarySkinColor = get('common.primary', skin);\n const [open, setOpen] = useState(false);\n const [selectedSkillsList, setSelectedSkillsList] = useState(selectedSkills);\n const [skillFocusSelectedOnChart, setSkillFocusSelectedOnChart] = useState(undefined);\n const [searchValue, setSearchValue] = useState('');\n const [searchResults, setSearchResults] = useState(\n sortBy(skillRef => -getOr(0, [skillRef, 'stats', 'score'], skillsInformation), skills)\n );\n const [activeFilter, setActiveFilter] = useState('all');\n\n const skillsReviewReady = useMemo(() => {\n return searchResults.filter(skill =>\n skillsInformation[skill] ? skillsInformation[skill].availableForReview : false\n );\n }, [searchResults, skillsInformation]);\n\n const graphDatas = useMemo(\n () =>\n pipe(\n map(skill => [skill, roundScore(getOr(0, [skill, 'stats', 'score'], skillsInformation))]),\n fromPairs\n )(selectedSkillsList),\n [selectedSkillsList, skillsInformation]\n );\n\n const graphLegends = useMemo(\n () =>\n pipe(\n map(skill => [skill, skillsLocales[skill]]),\n fromPairs\n )(selectedSkillsList),\n [selectedSkillsList, skillsLocales]\n );\n\n const filters = useMemo(() => {\n return {\n all: searchResults,\n review: skillsReviewReady\n };\n }, [searchResults, skillsReviewReady]);\n\n const sumKpi = useCallback(\n kpi => {\n const skillFocusSelectedOnChartScore = getOr(\n 0,\n [skillFocusSelectedOnChart, 'stats', `${kpi}`],\n skillsInformation\n );\n return skillFocusSelectedOnChart\n ? skillFocusSelectedOnChartScore\n : sumBy(\n skill => (skillsInformation[skill] ? skillsInformation[skill].stats[kpi] : 0),\n selectedSkillsList\n );\n },\n [skillFocusSelectedOnChart, skillsInformation, selectedSkillsList]\n );\n\n const coursedCompletedData = useMemo(() => sumKpi('contentCompleted'), [sumKpi]);\n\n const questionsToReviewData = useMemo(() => sumKpi('questionsToReview'), [sumKpi]);\n\n const learningTimeData = useMemo(() => sumKpi('learningTime'), [sumKpi]);\n\n const skillChartPaneLegends = useMemo(\n () =>\n translate('skill_scope_specifier', {\n focusedSkill: skillFocusSelectedOnChart\n ? skillsLocales[skillFocusSelectedOnChart]\n : translate('focused_skills')\n }),\n [translate, skillsLocales, skillFocusSelectedOnChart]\n );\n const skillChartPanelProps = [\n {\n title: translate('skill_chart_side_panel_content_completed'),\n value: `${coursedCompletedData}`,\n legend: skillChartPaneLegends,\n icon: {iconName: 'book-open-cover', backgroundColor: COLORS.turquoise_100}\n },\n {\n title: translate('skill_chart_side_panel_learning_hours'),\n value: formatMinutes(learningTimeData),\n legend: skillChartPaneLegends,\n icon: {iconName: 'clock', backgroundColor: COLORS.pink_100}\n },\n {\n title: translate('skill_chart_side_panel_questions_to_review'),\n value: `${questionsToReviewData}`,\n legend: skillChartPaneLegends,\n icon: {iconName: 'circle-question', backgroundColor: COLORS.orange_100}\n }\n ];\n\n const skillsScore = useMemo(\n () =>\n pipe(\n map(skill => [skill, getOr(0, [skill, 'stats', 'score'], skillsInformation)]),\n fromPairs\n )(skills),\n [skills, skillsInformation]\n );\n\n const handleOnDotClick = useCallback(\n skillRef => {\n setSkillFocusSelectedOnChart(skillRef);\n },\n [setSkillFocusSelectedOnChart]\n );\n const handleOpenSkillPicker = useCallback(() => setOpen(true), [setOpen]);\n const handleCloseSkillPicker = useCallback(() => setOpen(false), [setOpen]);\n const handleConfirmSkillPicker = useCallback(\n focusSkillList => {\n setSelectedSkillsList(focusSkillList);\n onSkillFocusConfirm(focusSkillList);\n setOpen(false);\n },\n [onSkillFocusConfirm, setSelectedSkillsList, setOpen]\n );\n const handleSearch = useCallback(\n value => {\n setSearchValue(value);\n setSearchResults(skills.filter(skill => searchValueIncluded(skillsLocales[skill], value)));\n },\n [skills, skillsLocales, setSearchValue, setSearchResults]\n );\n const handleSearchReset = useCallback(() => {\n setSearchValue('');\n setSearchResults(skills);\n }, [skills, setSearchValue, setSearchResults]);\n\n const ReviewTooltipContent = useCallback(\n () => (\n <div>\n <div>\n <b>{translate('review_mode_tooltip_header')}</b>\n </div>\n <p>{translate('review_mode_tooltip_content')}</p>\n <ol>\n <li>{translate('review_mode_tooltip_content_part1')}</li>\n <li>{translate('review_mode_tooltip_content_part2')}</li>\n <li>{translate('review_mode_tooltip_content_part3')}</li>\n <li>{translate('review_mode_tooltip_content_part4')}</li>\n </ol>\n </div>\n ),\n [translate]\n );\n\n return (\n <div className={style.backgroundContainer}>\n {isEmpty(learningPriorities?.cards) ? null : (\n <div className={style.cardsListContainer}>\n <CardsList\n {...learningPriorities}\n title={\n <Title\n {...{\n type: 'form-group',\n title: translate('learning_priorities'),\n subtitle: translate('learning_priorities_description'),\n icon: {\n iconName: 'sign-post',\n iconColor: COLORS.cm_orange_800,\n borderRadius: '12px',\n backgroundColor: COLORS.orange_100\n },\n tag: {\n label: `${size(learningPriorities.cards)}`,\n type: 'default',\n size: 'S'\n }\n }}\n />\n }\n />\n </div>\n )}\n <div className={style.container}>\n <SkillPickerModal\n skills={skills}\n skillsScore={skillsScore}\n selectedSkills={selectedSkillsList}\n skillsLocales={skillsLocales}\n isOpen={open}\n isLoading={isLoading}\n onCancel={handleCloseSkillPicker}\n onConfirm={handleConfirmSkillPicker}\n onClose={handleCloseSkillPicker}\n />\n {learnerFeature ? (\n <div data-name=\"skill-focus-container\" className={style.skillFocusContainer}>\n <header className={style.skillFocusHeader}>\n <div className={style.skillFocusHeaderWrapper}>\n <div className={style.skillFocusHeaderIcon}>\n <Icon\n iconName=\"bullseye-arrow\"\n backgroundColor={COLORS.purple_100}\n borderRadius=\"12px\"\n size={{faSize: 20, wrapperSize: 48}}\n />\n </div>\n <div className={style.skillFocusHeaderContent}>\n <div data-name=\"skill-focus-title\" className={style.skillFocusHeaderTitle}>\n {translate('skills_focus')}\n </div>\n <div\n data-name=\"skill-focus-description\"\n className={style.skillFocusHeaderDescription}\n >\n {translate('skills_focus_description')}\n </div>\n </div>\n </div>\n {selectedSkillsList.length >= 3 ? (\n <ChangeSkillFocusButton onClick={handleOpenSkillPicker} />\n ) : null}\n </header>\n {selectedSkillsList.length >= 3 ? (\n <div className={style.skillFocusContent}>\n <div className={style.radarContainer}>\n <ResponsiveLearningProfileRadarChart\n totalDataset={1}\n height={424}\n width={680}\n data={graphDatas}\n legend={graphLegends}\n onClick={handleOnDotClick}\n onExploreClick={onExploreSkill}\n colors={[\n {\n gradient: {\n fill: ['#0062ffff', '#8000ff85'],\n stroke: ['#0062ffff', '#8000FF']\n },\n percentage: {\n color: primarySkinColor,\n background: convert(`color(${primarySkinColor} a(0.07))`)\n },\n label: {\n color: '#020202ff'\n }\n }\n ]}\n />\n </div>\n <SkillsChartSideInformationPanel sidePanelItems={skillChartPanelProps} />\n </div>\n ) : (\n <div className={style.skillFocusEmpty}>\n <Picture\n className={style.img}\n src=\"https://static.coorpacademy.com/assets/images/mylearning-no-skill-selected-placeholder.svg\"\n alt=\"demo\"\n />\n <div className={style.skillFocusEmptyTitle}>\n {translate('skills_focus_empty_title')}\n </div>\n <div className={style.skillFocusEmptyDescription}>\n {translate('skills_focus_empty_description')}\n </div>\n <div>\n <ButtonLink\n label={translate('skills_choose_focus')}\n type=\"primary\"\n customStyle={{\n width: 'fit-contain',\n backgroundColor: primarySkinColor\n }}\n hoverBackgroundColor={convert(\n `hsl(from ${primarySkinColor} h s calc(l*(1 - 0.08)))`\n )}\n onClick={handleOpenSkillPicker}\n />\n </div>\n </div>\n )}\n </div>\n ) : null}\n <header className={style.skillListHeader}>\n <div className={style.skillListHeaderIcon}>\n <Icon\n iconName=\"dumbbell\"\n backgroundColor={COLORS.yellow_100}\n size={{faSize: 20, wrapperSize: 48}}\n />\n </div>\n <div className={style.skillListHeaderContent}>\n <div className={style.skillListHeaderTitle}>{translate('skills_section_title')}</div>\n <div className={style.skillListHeaderDescription}>\n {translate('skills_section_description')}\n <ToolTip\n fontSize={12}\n iconContainerClassName={style.infoIconTooltip}\n tooltipClassName={style.tooltip}\n TooltipContent={ReviewTooltipContent}\n closeToolTipInformationTextAriaLabel={translate('close_tooltip_information')}\n />\n </div>\n </div>\n </header>\n <div className={style.toolBarContainer}>\n <div className={style.skillFilterContainer}>\n {keys(filters).map((filter, index) => {\n function handleFilterClick() {\n setActiveFilter(filter);\n }\n\n return (\n <div key={index}>\n <FilterButton\n active={activeFilter === filter}\n filter={\n filter === 'all' ? translate('all') : translate('review_mode_available')\n }\n skillTotal={filters[filter].length}\n onClick={handleFilterClick}\n />\n </div>\n );\n })}\n </div>\n <div className={style.searchWrapper}>\n <SearchForm\n search={{\n placeholder: translate('search_place_holder'),\n value: searchValue,\n onChange: handleSearch\n }}\n onReset={handleSearchReset}\n />\n </div>\n </div>\n {searchValue && searchResults.length === 0 ? (\n <div className={style.emptySearchResultContainer}>\n <div className={style.emptySearchResultTitle}>\n {translate('empty_search_result_title', {searchValue})}\n </div>\n <div className={style.emptySearchResultDescription}>\n {translate('empty_search_result_description')}\n </div>\n <div className={style.emptySearchResultClearSearch} onClick={handleSearchReset}>\n {translate('empty_search_result_clear_search')}\n </div>\n </div>\n ) : (\n <div className={style.skillListContainer}>\n {activeFilter === 'review' && filters[activeFilter].length === 0 ? (\n <div className={style.skillListEmptyContainer}>\n <ReviewNoSkills\n titleNoSkills={translate('review_skill_empty')}\n textNoSkills={translate('review_skill_empty_description')}\n iconSkillAriaLabel={translate('review_skill_empty')}\n imagePosition=\"top\"\n />\n </div>\n ) : (\n filters[activeFilter].map((skill, index) => {\n const defaultStats = {\n score: 0,\n content: 0,\n contentCompleted: 0,\n questionsToReview: 0\n };\n\n function handleExploreSkill() {\n onExploreSkill(skill);\n }\n const {score, content, questionsToReview} = skillsInformation[skill]\n ? skillsInformation[skill].stats\n : defaultStats;\n const {color, name} = get([skill, 'icon'], skillsInformation);\n return (\n <div key={index}>\n <LearnerSkillCard\n skillTitle={skillsLocales[skill]}\n cardIndex={index}\n focus={selectedSkills.includes(skill)}\n metrics={{\n score,\n content,\n questionsToReview\n }}\n icon={{color, name}}\n onExploreClick={handleExploreSkill}\n />\n </div>\n );\n })\n )}\n </div>\n )}\n </div>\n </div>\n );\n};\n\nMyLearning.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nMyLearning.propTypes = {\n skills: PropTypes.arrayOf(PropTypes.string),\n selectedSkills: PropTypes.arrayOf(PropTypes.string),\n skillsInformation: PropTypes.objectOf(\n PropTypes.shape({\n availableForReview: PropTypes.bool,\n stats: PropTypes.shape({\n score: PropTypes.number,\n content: PropTypes.number,\n contentCompleted: PropTypes.number,\n questionsToReview: PropTypes.number,\n learningTime: PropTypes.number\n })\n })\n ),\n skillsLocales: PropTypes.objectOf(PropTypes.string),\n learnerFeature: PropTypes.bool,\n isLoading: PropTypes.bool,\n onSkillFocus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
1
|
+
{"version":3,"file":"index.js","names":["React","useCallback","useState","useMemo","PropTypes","convert","Provider","Icon","Picture","ButtonLink","ToolTip","ReviewNoSkills","SearchForm","SkillPickerModal","ResponsiveLearningProfileRadarChart","SkillsChartSideInformationPanel","LearnerSkillCard","searchValueIncluded","formatMinutes","CardsList","Title","COLORS","style","roundScore","value","Math","round","ChangeSkillFocusButton","props","context","onClick","skin","translate","primarySkinColor","_get","createElement","customStyle","backgroundColor","color","transition","hoverBackgroundColor","hoverColor","white","label","icon","position","faIcon","name","size","contextTypes","childContextTypes","propTypes","process","env","NODE_ENV","func","FilterButton","active","filter","skillTotal","Content","className","skillFilterNumber","skillFilterNumberInActive","cm_grey_100","cm_grey_500","buttonProps","cm_grey_400","width","content","bool","string","number","MyLearning","skills","selectedSkills","skillsInformation","skillsLocales","learnerFeature","isLoading","onSkillFocusConfirm","onExploreSkill","learningPriorities","open","setOpen","selectedSkillsList","setSelectedSkillsList","skillFocusSelectedOnChart","setSkillFocusSelectedOnChart","undefined","searchValue","setSearchValue","searchResults","setSearchResults","_sortBy","skillRef","_getOr","activeFilter","setActiveFilter","skillsReviewReady","skill","availableForReview","graphDatas","_pipe","_map","_fromPairs","graphLegends","filters","all","review","sumKpi","kpi","skillFocusSelectedOnChartScore","_sumBy","stats","coursedCompletedData","questionsToReviewData","learningTimeData","skillChartPaneLegends","focusedSkill","skillChartPanelProps","title","legend","iconName","turquoise_100","pink_100","count","orange_100","skillsScore","handleOnDotClick","handleOpenSkillPicker","handleCloseSkillPicker","handleConfirmSkillPicker","focusSkillList","handleSearch","handleSearchReset","ReviewTooltipContent","backgroundContainer","_isEmpty","cards","cardsListContainer","_extends","type","subtitle","iconColor","cm_orange_800","borderRadius","tag","_size","container","isOpen","onCancel","onConfirm","onClose","skillFocusContainer","skillFocusHeader","skillFocusHeaderWrapper","skillFocusHeaderIcon","purple_100","faSize","wrapperSize","skillFocusHeaderContent","skillFocusHeaderTitle","skillFocusHeaderDescription","length","skillFocusContent","radarContainer","totalDataset","height","data","onExploreClick","colors","gradient","fill","stroke","percentage","background","sidePanelItems","skillFocusEmpty","img","src","alt","skillFocusEmptyTitle","skillFocusEmptyDescription","skillListHeader","skillListHeaderIcon","yellow_100","skillListHeaderContent","skillListHeaderTitle","skillListHeaderDescription","fontSize","iconContainerClassName","infoIconTooltip","tooltipClassName","tooltip","TooltipContent","closeToolTipInformationTextAriaLabel","toolBarContainer","skillFilterContainer","_keys","map","index","handleFilterClick","key","searchWrapper","search","placeholder","onChange","onReset","emptySearchResultContainer","emptySearchResultTitle","emptySearchResultDescription","emptySearchResultClearSearch","skillListContainer","skillListEmptyContainer","titleNoSkills","textNoSkills","iconSkillAriaLabel","imagePosition","defaultStats","score","contentCompleted","questionsToReview","handleExploreSkill","skillTitle","cardIndex","focus","includes","metrics","arrayOf","objectOf","shape","learningTime"],"sources":["../../../src/template/my-learning/index.js"],"sourcesContent":["import React, {useCallback, useState, useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {convert} from 'css-color-function';\nimport {get, keys, map, fromPairs, pipe, sumBy, getOr, sortBy, size, isEmpty} from 'lodash/fp';\nimport Provider from '../../atom/provider';\nimport Icon from '../../atom/icon';\nimport Picture from '../../atom/picture';\nimport ButtonLink from '../../atom/button-link';\nimport ToolTip from '../../atom/tooltip';\nimport ReviewNoSkills from '../../organism/review-no-skills';\nimport SearchForm from '../../molecule/search-form';\nimport SkillPickerModal from '../../molecule/skill-picker-modal';\nimport ResponsiveLearningProfileRadarChart from '../../molecule/learning-profile-radar-chart';\nimport SkillsChartSideInformationPanel from '../../molecule/skills-chart-side-information-panel';\nimport LearnerSkillCard from '../../molecule/learner-skill-card';\nimport searchValueIncluded from '../../util/search-value-included';\nimport {formatMinutes} from '../../util/time-format';\nimport CardsList from '../../molecule/dashboard/cards-list';\nimport Title from '../../atom/title';\nimport {COLORS} from '../../variables/colors';\nimport style from './style.css';\n\nconst roundScore = value => Math.round(value * 10) / 10;\n\nconst ChangeSkillFocusButton = (props, context) => {\n const {onClick} = props;\n const {skin, translate} = context;\n const primarySkinColor = get('common.primary', skin);\n\n return (\n <div data-name=\"button-explore-wrapper\">\n <ButtonLink\n customStyle={{\n backgroundColor: convert(`color(${primarySkinColor} a(0.07))`),\n color: primarySkinColor,\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out'\n }}\n hoverBackgroundColor={primarySkinColor}\n hoverColor={COLORS.white}\n onClick={onClick}\n label={translate('skills_change_focus')}\n data-name=\"change-skill-focus-button\"\n icon={{\n position: 'left',\n faIcon: {\n name: 'arrows-rotate',\n backgroundColor: convert(`color(${primarySkinColor} a(0.07))`),\n color: primarySkinColor,\n size: 16\n }\n }}\n />\n </div>\n );\n};\n\nChangeSkillFocusButton.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nChangeSkillFocusButton.propTypes = {\n onClick: PropTypes.func\n};\n\nconst FilterButton = (props, context) => {\n const {active, filter, skillTotal, onClick} = props;\n const {skin} = context;\n const primarySkinColor = get('common.primary', skin);\n\n const Content = useCallback(\n () => (\n <div>\n {filter}\n <span\n className={active ? style.skillFilterNumber : style.skillFilterNumberInActive}\n style={{\n backgroundColor: active\n ? convert(`color(${primarySkinColor} a(0.07))`)\n : COLORS.cm_grey_100,\n color: active ? primarySkinColor : COLORS.cm_grey_500\n }}\n >\n {skillTotal}\n </span>\n </div>\n ),\n [filter, skillTotal, active, primarySkinColor]\n );\n\n const buttonProps = {\n customStyle: {\n backgroundColor: active ? convert(`color(${primarySkinColor} a(0.07))`) : COLORS.white,\n color: active ? primarySkinColor : COLORS.cm_grey_400,\n transition: 'background-color 0.15s ease-in-out, color 0.15s ease-in-out',\n width: 'fit-content'\n },\n onClick,\n content: <Content />,\n 'data-name': 'change-skill-focus-button'\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nFilterButton.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nFilterButton.propTypes = {\n active: PropTypes.bool,\n filter: PropTypes.string,\n skillTotal: PropTypes.number,\n onClick: PropTypes.func\n};\n\nconst MyLearning = (props, context) => {\n const {\n skills,\n selectedSkills = [],\n skillsInformation,\n skillsLocales,\n learnerFeature = true,\n isLoading,\n onSkillFocusConfirm,\n onExploreSkill,\n learningPriorities\n } = props;\n const {skin, translate} = context;\n const primarySkinColor = get('common.primary', skin);\n const [open, setOpen] = useState(false);\n const [selectedSkillsList, setSelectedSkillsList] = useState(selectedSkills);\n const [skillFocusSelectedOnChart, setSkillFocusSelectedOnChart] = useState(undefined);\n const [searchValue, setSearchValue] = useState('');\n const [searchResults, setSearchResults] = useState(\n sortBy(skillRef => -getOr(0, [skillRef, 'stats', 'score'], skillsInformation), skills)\n );\n const [activeFilter, setActiveFilter] = useState('all');\n\n const skillsReviewReady = useMemo(() => {\n return searchResults.filter(skill =>\n skillsInformation[skill] ? skillsInformation[skill].availableForReview : false\n );\n }, [searchResults, skillsInformation]);\n\n const graphDatas = useMemo(\n () =>\n pipe(\n map(skill => [skill, roundScore(getOr(0, [skill, 'stats', 'score'], skillsInformation))]),\n fromPairs\n )(selectedSkillsList),\n [selectedSkillsList, skillsInformation]\n );\n\n const graphLegends = useMemo(\n () =>\n pipe(\n map(skill => [skill, skillsLocales[skill]]),\n fromPairs\n )(selectedSkillsList),\n [selectedSkillsList, skillsLocales]\n );\n\n const filters = useMemo(() => {\n return {\n all: searchResults,\n review: skillsReviewReady\n };\n }, [searchResults, skillsReviewReady]);\n\n const sumKpi = useCallback(\n kpi => {\n const skillFocusSelectedOnChartScore = getOr(\n 0,\n [skillFocusSelectedOnChart, 'stats', `${kpi}`],\n skillsInformation\n );\n return skillFocusSelectedOnChart\n ? skillFocusSelectedOnChartScore\n : sumBy(\n skill => (skillsInformation[skill] ? skillsInformation[skill].stats[kpi] : 0),\n selectedSkillsList\n );\n },\n [skillFocusSelectedOnChart, skillsInformation, selectedSkillsList]\n );\n\n const coursedCompletedData = useMemo(() => sumKpi('contentCompleted'), [sumKpi]);\n\n const questionsToReviewData = useMemo(() => sumKpi('questionsToReview'), [sumKpi]);\n\n const learningTimeData = useMemo(() => sumKpi('learningTime'), [sumKpi]);\n\n const skillChartPaneLegends = useMemo(\n () =>\n translate('skill_scope_specifier', {\n focusedSkill: skillFocusSelectedOnChart\n ? skillsLocales[skillFocusSelectedOnChart]\n : translate('focused_skills')\n }),\n [translate, skillsLocales, skillFocusSelectedOnChart]\n );\n const skillChartPanelProps = [\n {\n title: translate('skill_chart_side_panel_content_completed'),\n value: `${coursedCompletedData}`,\n legend: skillChartPaneLegends,\n icon: {iconName: 'book-open-cover', backgroundColor: COLORS.turquoise_100}\n },\n {\n title: translate('skill_chart_side_panel_learning_hours'),\n value: formatMinutes(learningTimeData),\n legend: skillChartPaneLegends,\n icon: {iconName: 'clock', backgroundColor: COLORS.pink_100}\n },\n {\n title: translate('skill_chart_side_panel_questions_to_review', {\n count: questionsToReviewData || 0\n }),\n value: `${questionsToReviewData}`,\n legend: skillChartPaneLegends,\n icon: {iconName: 'circle-question', backgroundColor: COLORS.orange_100}\n }\n ];\n\n const skillsScore = useMemo(\n () =>\n pipe(\n map(skill => [skill, getOr(0, [skill, 'stats', 'score'], skillsInformation)]),\n fromPairs\n )(skills),\n [skills, skillsInformation]\n );\n\n const handleOnDotClick = useCallback(\n skillRef => {\n setSkillFocusSelectedOnChart(skillRef);\n },\n [setSkillFocusSelectedOnChart]\n );\n const handleOpenSkillPicker = useCallback(() => setOpen(true), [setOpen]);\n const handleCloseSkillPicker = useCallback(() => setOpen(false), [setOpen]);\n const handleConfirmSkillPicker = useCallback(\n focusSkillList => {\n setSelectedSkillsList(focusSkillList);\n onSkillFocusConfirm(focusSkillList);\n setOpen(false);\n },\n [onSkillFocusConfirm, setSelectedSkillsList, setOpen]\n );\n const handleSearch = useCallback(\n value => {\n setSearchValue(value);\n setSearchResults(skills.filter(skill => searchValueIncluded(skillsLocales[skill], value)));\n },\n [skills, skillsLocales, setSearchValue, setSearchResults]\n );\n const handleSearchReset = useCallback(() => {\n setSearchValue('');\n setSearchResults(skills);\n }, [skills, setSearchValue, setSearchResults]);\n\n const ReviewTooltipContent = useCallback(\n () => (\n <div>\n <div>\n <b>{translate('review_mode_tooltip_header')}</b>\n </div>\n <p>{translate('review_mode_tooltip_content')}</p>\n <ol>\n <li>{translate('review_mode_tooltip_content_part1')}</li>\n <li>{translate('review_mode_tooltip_content_part2')}</li>\n <li>{translate('review_mode_tooltip_content_part3')}</li>\n <li>{translate('review_mode_tooltip_content_part4')}</li>\n </ol>\n </div>\n ),\n [translate]\n );\n\n return (\n <div className={style.backgroundContainer}>\n {isEmpty(learningPriorities?.cards) ? null : (\n <div className={style.cardsListContainer}>\n <CardsList\n {...learningPriorities}\n title={\n <Title\n {...{\n type: 'form-group',\n title: translate('learning_priorities'),\n subtitle: translate('learning_priorities_description'),\n icon: {\n iconName: 'sign-post',\n iconColor: COLORS.cm_orange_800,\n borderRadius: '12px',\n backgroundColor: COLORS.orange_100\n },\n tag: {\n label: `${size(learningPriorities.cards)}`,\n type: 'default',\n size: 'S'\n }\n }}\n />\n }\n />\n </div>\n )}\n <div className={style.container}>\n <SkillPickerModal\n skills={skills}\n skillsScore={skillsScore}\n selectedSkills={selectedSkillsList}\n skillsLocales={skillsLocales}\n isOpen={open}\n isLoading={isLoading}\n onCancel={handleCloseSkillPicker}\n onConfirm={handleConfirmSkillPicker}\n onClose={handleCloseSkillPicker}\n />\n {learnerFeature ? (\n <div data-name=\"skill-focus-container\" className={style.skillFocusContainer}>\n <header className={style.skillFocusHeader}>\n <div className={style.skillFocusHeaderWrapper}>\n <div className={style.skillFocusHeaderIcon}>\n <Icon\n iconName=\"bullseye-arrow\"\n backgroundColor={COLORS.purple_100}\n borderRadius=\"12px\"\n size={{faSize: 20, wrapperSize: 48}}\n />\n </div>\n <div className={style.skillFocusHeaderContent}>\n <div data-name=\"skill-focus-title\" className={style.skillFocusHeaderTitle}>\n {translate('skills_focus')}\n </div>\n <div\n data-name=\"skill-focus-description\"\n className={style.skillFocusHeaderDescription}\n >\n {translate('skills_focus_description')}\n </div>\n </div>\n </div>\n {selectedSkillsList.length >= 3 ? (\n <ChangeSkillFocusButton onClick={handleOpenSkillPicker} />\n ) : null}\n </header>\n {selectedSkillsList.length >= 3 ? (\n <div className={style.skillFocusContent}>\n <div className={style.radarContainer}>\n <ResponsiveLearningProfileRadarChart\n totalDataset={1}\n height={424}\n width={680}\n data={graphDatas}\n legend={graphLegends}\n onClick={handleOnDotClick}\n onExploreClick={onExploreSkill}\n colors={[\n {\n gradient: {\n fill: ['#0062ffff', '#8000ff85'],\n stroke: ['#0062ffff', '#8000FF']\n },\n percentage: {\n color: primarySkinColor,\n background: convert(`color(${primarySkinColor} a(0.07))`)\n },\n label: {\n color: '#020202ff'\n }\n }\n ]}\n />\n </div>\n <SkillsChartSideInformationPanel sidePanelItems={skillChartPanelProps} />\n </div>\n ) : (\n <div className={style.skillFocusEmpty}>\n <Picture\n className={style.img}\n src=\"https://static.coorpacademy.com/assets/images/mylearning-no-skill-selected-placeholder.svg\"\n alt=\"demo\"\n />\n <div className={style.skillFocusEmptyTitle}>\n {translate('skills_focus_empty_title')}\n </div>\n <div className={style.skillFocusEmptyDescription}>\n {translate('skills_focus_empty_description')}\n </div>\n <div>\n <ButtonLink\n label={translate('skills_choose_focus')}\n type=\"primary\"\n customStyle={{\n width: 'fit-contain',\n backgroundColor: primarySkinColor\n }}\n hoverBackgroundColor={convert(\n `hsl(from ${primarySkinColor} h s calc(l*(1 - 0.08)))`\n )}\n onClick={handleOpenSkillPicker}\n />\n </div>\n </div>\n )}\n </div>\n ) : null}\n <header className={style.skillListHeader}>\n <div className={style.skillListHeaderIcon}>\n <Icon\n iconName=\"dumbbell\"\n backgroundColor={COLORS.yellow_100}\n size={{faSize: 20, wrapperSize: 48}}\n />\n </div>\n <div className={style.skillListHeaderContent}>\n <div className={style.skillListHeaderTitle}>{translate('skills_section_title')}</div>\n <div className={style.skillListHeaderDescription}>\n {translate('skills_section_description')}\n <ToolTip\n fontSize={12}\n iconContainerClassName={style.infoIconTooltip}\n tooltipClassName={style.tooltip}\n TooltipContent={ReviewTooltipContent}\n closeToolTipInformationTextAriaLabel={translate('close_tooltip_information')}\n />\n </div>\n </div>\n </header>\n <div className={style.toolBarContainer}>\n <div className={style.skillFilterContainer}>\n {keys(filters).map((filter, index) => {\n function handleFilterClick() {\n setActiveFilter(filter);\n }\n\n return (\n <div key={index}>\n <FilterButton\n active={activeFilter === filter}\n filter={\n filter === 'all' ? translate('all') : translate('review_mode_available')\n }\n skillTotal={filters[filter].length}\n onClick={handleFilterClick}\n />\n </div>\n );\n })}\n </div>\n <div className={style.searchWrapper}>\n <SearchForm\n search={{\n placeholder: translate('search_place_holder'),\n value: searchValue,\n onChange: handleSearch\n }}\n onReset={handleSearchReset}\n />\n </div>\n </div>\n {searchValue && searchResults.length === 0 ? (\n <div className={style.emptySearchResultContainer}>\n <div className={style.emptySearchResultTitle}>\n {translate('empty_search_result_title', {searchValue})}\n </div>\n <div className={style.emptySearchResultDescription}>\n {translate('empty_search_result_description')}\n </div>\n <div className={style.emptySearchResultClearSearch} onClick={handleSearchReset}>\n {translate('empty_search_result_clear_search')}\n </div>\n </div>\n ) : (\n <div className={style.skillListContainer}>\n {activeFilter === 'review' && filters[activeFilter].length === 0 ? (\n <div className={style.skillListEmptyContainer}>\n <ReviewNoSkills\n titleNoSkills={translate('review_skill_empty')}\n textNoSkills={translate('review_skill_empty_description')}\n iconSkillAriaLabel={translate('review_skill_empty')}\n imagePosition=\"top\"\n />\n </div>\n ) : (\n filters[activeFilter].map((skill, index) => {\n const defaultStats = {\n score: 0,\n content: 0,\n contentCompleted: 0,\n questionsToReview: 0\n };\n\n function handleExploreSkill() {\n onExploreSkill(skill);\n }\n const {score, content, questionsToReview} = skillsInformation[skill]\n ? skillsInformation[skill].stats\n : defaultStats;\n const {color, name} = get([skill, 'icon'], skillsInformation);\n return (\n <div key={index}>\n <LearnerSkillCard\n skillTitle={skillsLocales[skill]}\n cardIndex={index}\n focus={selectedSkills.includes(skill)}\n metrics={{\n score,\n content,\n questionsToReview\n }}\n icon={{color, name}}\n onExploreClick={handleExploreSkill}\n />\n </div>\n );\n })\n )}\n </div>\n )}\n </div>\n </div>\n );\n};\n\nMyLearning.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nMyLearning.propTypes = {\n skills: PropTypes.arrayOf(PropTypes.string),\n selectedSkills: PropTypes.arrayOf(PropTypes.string),\n skillsInformation: PropTypes.objectOf(\n PropTypes.shape({\n availableForReview: PropTypes.bool,\n stats: PropTypes.shape({\n score: PropTypes.number,\n content: PropTypes.number,\n contentCompleted: PropTypes.number,\n questionsToReview: PropTypes.number,\n learningTime: PropTypes.number\n })\n })\n ),\n skillsLocales: PropTypes.objectOf(PropTypes.string),\n learnerFeature: PropTypes.bool,\n isLoading: PropTypes.bool,\n onSkillFocusConfirm: PropTypes.func,\n onExploreSkill: PropTypes.func,\n learningPriorities: PropTypes.shape(CardsList.propTypes)\n};\n\nexport default MyLearning;\n"],"mappings":";;;;;;;;;;;AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,QAAQ,EAAEC,OAAO,QAAO,OAAO;AAC3D,OAAOC,SAAS,MAAM,YAAY;AAClC,SAAQC,OAAO,QAAO,oBAAoB;AAE1C,OAAOC,QAAQ,MAAM,qBAAqB;AAC1C,OAAOC,IAAI,MAAM,iBAAiB;AAClC,OAAOC,OAAO,MAAM,oBAAoB;AACxC,OAAOC,UAAU,MAAM,wBAAwB;AAC/C,OAAOC,OAAO,MAAM,oBAAoB;AACxC,OAAOC,cAAc,MAAM,iCAAiC;AAC5D,OAAOC,UAAU,MAAM,4BAA4B;AACnD,OAAOC,gBAAgB,MAAM,mCAAmC;AAChE,OAAOC,mCAAmC,MAAM,6CAA6C;AAC7F,OAAOC,+BAA+B,MAAM,oDAAoD;AAChG,OAAOC,gBAAgB,MAAM,mCAAmC;AAChE,OAAOC,m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EAAE9G,SAAS,CAACmO,KAAK,CAAC;MACrBX,KAAK,EAAExN,SAAS,CAACoE,MAAM;MACvBH,OAAO,EAAEjE,SAAS,CAACoE,MAAM;MACzBqJ,gBAAgB,EAAEzN,SAAS,CAACoE,MAAM;MAClCsJ,iBAAiB,EAAE1N,SAAS,CAACoE,MAAM;MACnCgK,YAAY,EAAEpO,SAAS,CAACoE;IAC1B,CAAC;EACH,CAAC,CACH,CAAC;EACDK,aAAa,EAAEzE,SAAS,CAACkO,QAAQ,CAAClO,SAAS,CAACmE,MAAM,CAAC;EACnDO,cAAc,EAAE1E,SAAS,CAACkE,IAAI;EAC9BS,SAAS,EAAE3E,SAAS,CAACkE,IAAI;EACzBU,mBAAmB,EAAE5E,SAAS,CAACmD,IAAI;EACnC0B,cAAc,EAAE7E,SAAS,CAACmD,IAAI;EAC9B2B,kBAAkB,EAAE9E,SAAS,CAACmO,KAAK,CAACpN,SAAS,CAACgC,SAAS;AACzD,CAAC;AAED,eAAesB,UAAU","ignoreList":[]}
|
|
@@ -35,7 +35,7 @@ declare namespace PlaylistDetail {
|
|
|
35
35
|
const description: PropTypes.Requireable<string>;
|
|
36
36
|
const ongoingCoursesAvailable: PropTypes.Requireable<boolean>;
|
|
37
37
|
const playlistCourses: PropTypes.Requireable<PropTypes.InferProps<{
|
|
38
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
38
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
39
39
|
customStyle: PropTypes.Requireable<{
|
|
40
40
|
[x: string]: string | null | undefined;
|
|
41
41
|
}>;
|
|
@@ -57,7 +57,7 @@ declare const AllCourses: {
|
|
|
57
57
|
};
|
|
58
58
|
propTypes: {
|
|
59
59
|
content: PropTypes.Requireable<PropTypes.InferProps<{
|
|
60
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
60
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
61
61
|
customStyle: PropTypes.Requireable<{
|
|
62
62
|
[x: string]: string | null | undefined;
|
|
63
63
|
}>;
|
|
@@ -40,7 +40,7 @@ declare const ContinueLearning: {
|
|
|
40
40
|
};
|
|
41
41
|
propTypes: {
|
|
42
42
|
ongoingCourses: PropTypes.Requireable<PropTypes.InferProps<{
|
|
43
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
43
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
44
44
|
customStyle: PropTypes.Requireable<{
|
|
45
45
|
[x: string]: string | null | undefined;
|
|
46
46
|
}>;
|
|
@@ -12,7 +12,7 @@ interface ProviderContext {
|
|
|
12
12
|
secondary: string;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
translate: (key: string) => string;
|
|
15
|
+
translate: (key: string, options?: any) => string;
|
|
16
16
|
}
|
|
17
17
|
export declare const ContinueLearningButton: {
|
|
18
18
|
(props: ContinueLearningButtonProps, context: ProviderContext): JSX.Element;
|
|
@@ -123,7 +123,7 @@ declare const SkillDetail: {
|
|
|
123
123
|
availableForReview: PropTypes.Requireable<boolean>;
|
|
124
124
|
ongoingCoursesAvailable: PropTypes.Requireable<boolean>;
|
|
125
125
|
skillIncludedCourses: PropTypes.Requireable<PropTypes.InferProps<{
|
|
126
|
-
list: PropTypes.Requireable<(PropTypes.
|
|
126
|
+
list: PropTypes.Requireable<((PropTypes.InferPropsInner<Pick<any, any>> & Partial<PropTypes.InferPropsInner<Pick<any, never>>>) | null | undefined)[]>;
|
|
127
127
|
customStyle: PropTypes.Requireable<{
|
|
128
128
|
[x: string]: string | null | undefined;
|
|
129
129
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/skill-detail/index.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAUnC,OAAkB,EAAC,cAAc,EAAC,MAAM,2BAA2B,CAAC;AAMpE,UAAU,2BAA2B;IACnC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AACD,UAAU,eAAe;IACvB,IAAI,EAAE;QACJ,MAAM,EAAE;YACN,OAAO,EAAE,MAAM,CAAC;YAChB,SAAS,EAAE,MAAM,CAAC;SACnB,CAAC;KACH,CAAC;IACF,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/skill-detail/index.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAUnC,OAAkB,EAAC,cAAc,EAAC,MAAM,2BAA2B,CAAC;AAMpE,UAAU,2BAA2B;IACnC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AACD,UAAU,eAAe;IACvB,IAAI,EAAE;QACJ,MAAM,EAAE;YACN,OAAO,EAAE,MAAM,CAAC;YAChB,SAAS,EAAE,MAAM,CAAC;SACnB,CAAC;KACH,CAAC;IACF,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;CACnD;AAED,eAAO,MAAM,sBAAsB;YAC1B,2BAA2B,WACzB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BzB,CAAC;AAYF,UAAU,OAAO;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,aAAK,mBAAmB,GACpB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACrB;IACE,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AACN,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,oBAAoB,EAAE,cAAc,CAAC;IACrC,OAAO,EAAE;QACP,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;QACtB,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;KACrB,CAAC;IACF,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAC;IACrC,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;KACtB,CAAC;IACF,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;CAC3C;AACD,QAAA,MAAM,WAAW;YAAW,gBAAgB,WAAW,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+MrE,CAAC;AAyCF,eAAe,WAAW,CAAC"}
|
|
@@ -194,7 +194,9 @@ const SkillDetail = (props, context) => {
|
|
|
194
194
|
}
|
|
195
195
|
})) : null), questionsToReview > 0 ? /*#__PURE__*/React.createElement("div", {
|
|
196
196
|
className: style.skillInformation
|
|
197
|
-
}, /*#__PURE__*/React.createElement("span", null,
|
|
197
|
+
}, /*#__PURE__*/React.createElement("span", null, translate('skill_chart_side_panel_questions_to_review', {
|
|
198
|
+
count: questionsToReview
|
|
199
|
+
}))) : null, /*#__PURE__*/React.createElement("div", {
|
|
198
200
|
className: classnames(style.progressContainer, !hasDescription && style.noDescriptionSpacing)
|
|
199
201
|
}, /*#__PURE__*/React.createElement(ProgressBar, null)), /*#__PURE__*/React.createElement("div", {
|
|
200
202
|
className: style.ctaWrapper
|