@coorpacademy/components 11.32.32 → 11.32.33-alpha.27
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/atom/button-link/index.d.ts.map +1 -1
- package/es/atom/button-link/index.js +2 -1
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/button-link/types.d.ts +1 -0
- package/es/atom/button-link/types.d.ts.map +1 -1
- package/es/atom/button-link/types.js.map +1 -1
- package/es/atom/icon/index.d.ts.map +1 -1
- package/es/atom/icon/index.js +7 -3
- package/es/atom/icon/index.js.map +1 -1
- package/es/atom/radio-with-title/index.d.ts +2 -1
- package/es/atom/radio-with-title/index.d.ts.map +1 -1
- package/es/atom/radio-with-title/types.d.ts +2 -1
- package/es/atom/radio-with-title/types.d.ts.map +1 -1
- package/es/atom/tag/index.d.ts +4 -2
- package/es/atom/tag/index.d.ts.map +1 -1
- package/es/atom/tag/index.js +27 -7
- package/es/atom/tag/index.js.map +1 -1
- package/es/atom/tag/style.css +7 -0
- package/es/atom/title/index.d.ts +2 -1
- package/es/molecule/bulk-progress-bar/index.d.ts.map +1 -1
- package/es/molecule/bulk-progress-bar/index.js +2 -1
- package/es/molecule/bulk-progress-bar/index.js.map +1 -1
- package/es/molecule/bulk-progress-bar/style.css +0 -4
- package/es/molecule/cm-popin/types.d.ts +2 -1
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/progress-bar/index.d.ts +1 -0
- package/es/molecule/progress-bar/index.d.ts.map +1 -1
- package/es/molecule/progress-bar/index.js +6 -4
- package/es/molecule/progress-bar/index.js.map +1 -1
- package/es/molecule/progress-wrapper/index.d.ts +29 -0
- package/es/molecule/progress-wrapper/index.d.ts.map +1 -0
- package/es/molecule/progress-wrapper/index.js +200 -0
- package/es/molecule/progress-wrapper/index.js.map +1 -0
- package/es/molecule/progress-wrapper/style.css +185 -0
- package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -1
- package/es/molecule/title-radio-wrapper/index.d.ts +2 -1
- package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/es/molecule/title-radio-wrapper/types.d.ts +2 -1
- package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/es/organism/rewards-form/index.d.ts +2 -1
- package/es/organism/select-opponents/index.d.ts +2 -1
- package/es/organism/select-opponents/index.d.ts.map +1 -1
- package/es/organism/select-opponents/types.d.ts +2 -1
- package/es/organism/select-opponents/types.d.ts.map +1 -1
- package/es/organism/title-and-input/index.d.ts +4 -2
- package/es/organism/title-and-input/index.d.ts.map +1 -1
- package/es/organism/title-and-input/types.d.ts +4 -2
- package/es/organism/title-and-input/types.d.ts.map +1 -1
- package/es/organism/wizard-contents/index.d.ts +2 -1
- package/es/template/activity/progression-item.css +0 -4
- package/es/template/activity/progression-item.d.ts.map +1 -1
- package/es/template/activity/progression-item.js +2 -1
- package/es/template/activity/progression-item.js.map +1 -1
- package/es/template/app-player/loading/index.d.ts +2 -1
- package/es/template/app-player/player/index.d.ts +4 -2
- package/es/template/app-player/player/slides/index.d.ts +2 -1
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +2 -1
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +2 -1
- package/es/template/app-review/index.d.ts +2 -1
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +2 -1
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +2 -1
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +2 -1
- package/es/template/certification-detail/index.d.ts +105 -0
- package/es/template/certification-detail/index.d.ts.map +1 -0
- package/es/template/certification-detail/index.js +158 -0
- package/es/template/certification-detail/index.js.map +1 -0
- package/es/template/certification-detail/style.css +130 -0
- package/es/template/common/dashboard/index.d.ts +4 -2
- package/es/template/common/search-page/index.d.ts +2 -1
- package/es/template/external-course/index.d.ts +2 -1
- package/es/template/playlist-detail/index.d.ts.map +1 -1
- package/es/template/playlist-detail/index.js +4 -2
- package/es/template/playlist-detail/index.js.map +1 -1
- package/es/template/playlist-detail/style.css +5 -0
- package/es/template/skill-detail/all-courses.css +6 -6
- package/es/template/skill-detail/continue-learning.d.ts.map +1 -1
- package/es/template/skill-detail/continue-learning.js +3 -2
- package/es/template/skill-detail/continue-learning.js.map +1 -1
- package/lib/atom/button-link/index.d.ts.map +1 -1
- package/lib/atom/button-link/index.js +2 -1
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/button-link/types.d.ts +1 -0
- package/lib/atom/button-link/types.d.ts.map +1 -1
- package/lib/atom/button-link/types.js.map +1 -1
- package/lib/atom/icon/index.d.ts.map +1 -1
- package/lib/atom/icon/index.js +7 -3
- package/lib/atom/icon/index.js.map +1 -1
- package/lib/atom/radio-with-title/index.d.ts +2 -1
- package/lib/atom/radio-with-title/index.d.ts.map +1 -1
- package/lib/atom/radio-with-title/types.d.ts +2 -1
- package/lib/atom/radio-with-title/types.d.ts.map +1 -1
- package/lib/atom/tag/index.d.ts +4 -2
- package/lib/atom/tag/index.d.ts.map +1 -1
- package/lib/atom/tag/index.js +28 -7
- package/lib/atom/tag/index.js.map +1 -1
- package/lib/atom/tag/style.css +7 -0
- package/lib/atom/title/index.d.ts +2 -1
- package/lib/molecule/bulk-progress-bar/index.d.ts.map +1 -1
- package/lib/molecule/bulk-progress-bar/index.js +2 -1
- package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
- package/lib/molecule/bulk-progress-bar/style.css +0 -4
- package/lib/molecule/cm-popin/types.d.ts +2 -1
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/progress-bar/index.d.ts +1 -0
- package/lib/molecule/progress-bar/index.d.ts.map +1 -1
- package/lib/molecule/progress-bar/index.js +6 -4
- package/lib/molecule/progress-bar/index.js.map +1 -1
- package/lib/molecule/progress-wrapper/index.d.ts +29 -0
- package/lib/molecule/progress-wrapper/index.d.ts.map +1 -0
- package/lib/molecule/progress-wrapper/index.js +221 -0
- package/lib/molecule/progress-wrapper/index.js.map +1 -0
- package/lib/molecule/progress-wrapper/style.css +185 -0
- package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -1
- package/lib/molecule/title-radio-wrapper/index.d.ts +2 -1
- package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/title-radio-wrapper/types.d.ts +2 -1
- package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
- package/lib/organism/rewards-form/index.d.ts +2 -1
- package/lib/organism/select-opponents/index.d.ts +2 -1
- package/lib/organism/select-opponents/index.d.ts.map +1 -1
- package/lib/organism/select-opponents/types.d.ts +2 -1
- package/lib/organism/select-opponents/types.d.ts.map +1 -1
- package/lib/organism/title-and-input/index.d.ts +4 -2
- package/lib/organism/title-and-input/index.d.ts.map +1 -1
- package/lib/organism/title-and-input/types.d.ts +4 -2
- package/lib/organism/title-and-input/types.d.ts.map +1 -1
- package/lib/organism/wizard-contents/index.d.ts +2 -1
- package/lib/template/activity/progression-item.css +0 -4
- package/lib/template/activity/progression-item.d.ts.map +1 -1
- package/lib/template/activity/progression-item.js +2 -1
- package/lib/template/activity/progression-item.js.map +1 -1
- package/lib/template/app-player/loading/index.d.ts +2 -1
- package/lib/template/app-player/player/index.d.ts +4 -2
- package/lib/template/app-player/player/slides/index.d.ts +2 -1
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +2 -1
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +2 -1
- package/lib/template/app-review/index.d.ts +2 -1
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +2 -1
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +2 -1
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +2 -1
- package/lib/template/certification-detail/index.d.ts +105 -0
- package/lib/template/certification-detail/index.d.ts.map +1 -0
- package/lib/template/certification-detail/index.js +186 -0
- package/lib/template/certification-detail/index.js.map +1 -0
- package/lib/template/certification-detail/style.css +130 -0
- package/lib/template/common/dashboard/index.d.ts +4 -2
- package/lib/template/common/search-page/index.d.ts +2 -1
- package/lib/template/external-course/index.d.ts +2 -1
- package/lib/template/playlist-detail/index.d.ts.map +1 -1
- package/lib/template/playlist-detail/index.js +4 -2
- package/lib/template/playlist-detail/index.js.map +1 -1
- package/lib/template/playlist-detail/style.css +5 -0
- package/lib/template/skill-detail/all-courses.css +6 -6
- package/lib/template/skill-detail/continue-learning.d.ts.map +1 -1
- package/lib/template/skill-detail/continue-learning.js +3 -2
- package/lib/template/skill-detail/continue-learning.js.map +1 -1
- package/locales/bs/global.json +8 -0
- package/locales/cs/global.json +8 -0
- package/locales/de/global.json +8 -0
- package/locales/en/global.json +8 -0
- package/locales/es/global.json +8 -0
- package/locales/et/global.json +8 -0
- package/locales/fi/global.json +8 -0
- package/locales/fr/global.json +8 -0
- package/locales/hr/global.json +8 -0
- package/locales/hu/global.json +8 -0
- package/locales/hy/global.json +8 -0
- package/locales/it/global.json +8 -0
- package/locales/ja/global.json +8 -0
- package/locales/ko/global.json +8 -0
- package/locales/nl/global.json +8 -0
- package/locales/pl/global.json +8 -0
- package/locales/pt/global.json +8 -0
- package/locales/ro/global.json +8 -0
- package/locales/ru/global.json +8 -0
- package/locales/sk/global.json +8 -0
- package/locales/sl/global.json +8 -0
- package/locales/sv/global.json +8 -0
- package/locales/tl/global.json +8 -0
- package/locales/tr/global.json +8 -0
- package/locales/uk/global.json +8 -0
- package/locales/vi/global.json +8 -0
- package/locales/zh/global.json +8 -0
- package/locales/zh_TW/global.json +8 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["DESCRIPTION_BREAKPOINT","CertificationDetail","props","context","certificationRef","title","description","certificationCourses","ongoingCourses","totalCourses","totalModules","filters","sorting","onBackClick","onContinueLearningClick","metrics","logoUrl","onDownloadDiploma","badge","translate","progression","completedCourses","completedModules","stars","badgeUrl","onDownloadBadge","showMore","setShowMore","useState","handleShowMore","useCallback","Description","classnames","style","truncate","backgroundContainer","container","backButton","ctaContainer","logoContainer","logo","length","showMoreWrapper","faSize","wrapperSize","contentStats","divider","list","continueLearningSection","type","onDownload","contextTypes","skin","Provider","childContextTypes","propTypes","PropTypes","string","isRequired","shape","number","func","CardsGrid","onChange","options","arrayOf","SelectOptionPropTypes","Select"],"sources":["../../../src/template/certification-detail/index.js"],"sourcesContent":["import React, {useCallback, useState} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {compact, lowerCase} from 'lodash/fp';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport Select, {SelectOptionPropTypes} from '../../atom/select';\nimport ButtonLinkIcon from '../../atom/button-link-icon';\nimport Icon from '../../atom/icon';\nimport CardsGrid from '../../organism/cards-grid';\nimport AllCourses from '../skill-detail/all-courses';\nimport ContinueLearning from '../skill-detail/continue-learning';\nimport {ContinueLearningButton} from '../skill-detail';\nimport ProgressWrapper from '../../molecule/progress-wrapper';\nimport style from './style.css';\n\nconst DESCRIPTION_BREAKPOINT = 382;\n\nconst CertificationDetail = (props, context) => {\n const {\n certificationRef,\n title,\n description,\n certificationCourses,\n ongoingCourses,\n totalCourses,\n totalModules,\n filters,\n sorting,\n onBackClick,\n onContinueLearningClick,\n metrics,\n logoUrl,\n onDownloadDiploma,\n badge = {}\n } = props;\n const {translate} = context;\n const {progression, completedCourses, completedModules, stars} = metrics;\n const {badgeUrl = false, onDownloadBadge} = badge;\n\n const [showMore, setShowMore] = useState(false);\n const handleShowMore = useCallback(() => setShowMore(!showMore), [setShowMore, showMore]);\n\n const Description = useCallback(() => {\n return (\n <div className={classnames(style.description, !showMore && style.truncate)}>\n {description}\n </div>\n );\n }, [showMore, description]);\n\n return (\n <div className={style.backgroundContainer}>\n <div className={style.container} data-name={certificationRef}>\n <ButtonLinkIcon\n faIcon=\"arrow-left\"\n data-name=\"back-button\"\n aria-label=\"Back\"\n onClick={onBackClick}\n className={style.backButton}\n tooltipPlacement=\"right\"\n />\n <div className={style.ctaContainer}>\n <div className={style.logoContainer}>\n <img className={style.logo} src={logoUrl} />\n </div>\n <div>\n <Tag label={translate('certification')} />\n <div className={style.title}>{title}</div>\n {description ? (\n <>\n <Description />\n {description.length >= DESCRIPTION_BREAKPOINT ? (\n <div className={style.showMoreWrapper} onClick={handleShowMore}>\n {translate(showMore ? 'Show less' : 'Show more')}\n <Icon\n iconName={showMore ? 'chevron-up' : 'chevron-down'}\n size={{faSize: 14, wrapperSize: 16}}\n />\n </div>\n ) : null}\n </>\n ) : null}\n <div className={style.contentStats}>\n <span>{`${totalCourses} ${lowerCase(translate('courses'))}`}</span>\n <div className={style.divider} />\n <span>{`${totalModules} ${lowerCase(translate('modules'))}`}</span>\n </div>\n <ContinueLearningButton\n ongoingCoursesAvailable={!!ongoingCourses.list.length}\n onClick={onContinueLearningClick}\n />\n </div>\n </div>\n <div className={style.continueLearningSection}>\n <ContinueLearning ongoingCourses={ongoingCourses} />\n </div>\n <ProgressWrapper\n title={translate('your_progress')}\n subtitle={translate('certification_progress_wrapper_subtitle')}\n progression={progression}\n completedCourses={completedCourses}\n completedModules={completedModules}\n sections={compact([\n {\n type: 'diploma',\n onDownload: () => onDownloadDiploma\n },\n badgeUrl && {\n type: 'badge',\n badgeUrl,\n onDownload: () => onDownloadBadge\n },\n {\n type: 'stars',\n stars\n }\n ])}\n />\n <AllCourses\n courses={certificationCourses}\n totalCourses={totalCourses}\n filters={filters}\n sorting={sorting}\n />\n </div>\n </div>\n );\n};\n\nCertificationDetail.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nCertificationDetail.propTypes = {\n title: PropTypes.string.isRequired,\n certificationRef: PropTypes.string.isRequired,\n description: PropTypes.string,\n logoUrl: PropTypes.string,\n metrics: PropTypes.shape({\n progression: PropTypes.number,\n stars: PropTypes.number,\n completedCourses: PropTypes.number,\n completedModules: PropTypes.number\n }),\n onDownloadDiploma: PropTypes.func,\n badge: PropTypes.shape({\n badgeUrl: PropTypes.string,\n onDownloadBadge: PropTypes.func\n }),\n ongoingCourses: PropTypes.shape(CardsGrid.propTypes),\n certificationCourses: PropTypes.shape(CardsGrid.propTypes),\n totalCourses: PropTypes.number,\n totalModules: PropTypes.number,\n filters: PropTypes.shape({\n onChange: PropTypes.func,\n options: PropTypes.arrayOf(PropTypes.shape(SelectOptionPropTypes))\n }),\n sorting: PropTypes.shape(Select.propTypes),\n onBackClick: PropTypes.func,\n onContinueLearningClick: PropTypes.func\n};\n\nexport default CertificationDetail;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,sBAAsB,GAAG,GAA/B;;AAEA,MAAMC,mBAAmB,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EAC9C,MAAM;IACJC,gBADI;IAEJC,KAFI;IAGJC,WAHI;IAIJC,oBAJI;IAKJC,cALI;IAMJC,YANI;IAOJC,YAPI;IAQJC,OARI;IASJC,OATI;IAUJC,WAVI;IAWJC,uBAXI;IAYJC,OAZI;IAaJC,OAbI;IAcJC,iBAdI;IAeJC,KAAK,GAAG;EAfJ,IAgBFhB,KAhBJ;EAiBA,MAAM;IAACiB;EAAD,IAAchB,OAApB;EACA,MAAM;IAACiB,WAAD;IAAcC,gBAAd;IAAgCC,gBAAhC;IAAkDC;EAAlD,IAA2DR,OAAjE;EACA,MAAM;IAACS,QAAQ,GAAG,KAAZ;IAAmBC;EAAnB,IAAsCP,KAA5C;EAEA,MAAM,CAACQ,QAAD,EAAWC,WAAX,IAA0B,I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oB9BjD,OAAO,EAAE6C,kBAAA,CAAUG,KAAV,CAAgB;IACvBI,QAAQ,EAAEP,kBAAA,CAAUK,IADG;IAEvBG,OAAO,EAAER,kBAAA,CAAUS,OAAV,CAAkBT,kBAAA,CAAUG,KAAV,CAAgBO,6BAAhB,CAAlB;EAFc,CAAhB,CApBqB;EAwB9BtD,OAAO,EAAE4C,kBAAA,CAAUG,KAAV,CAAgBQ,eAAA,CAAOZ,SAAvB,CAxBqB;EAyB9B1C,WAAW,EAAE2C,kBAAA,CAAUK,IAzBO;EA0B9B/C,uBAAuB,EAAE0C,kBAAA,CAAUK;AA1BL,CAAhC;eA6Be5D,mB"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
@value colors: "../../variables/colors.css";
|
|
2
|
+
@value breakpoints: "../../variables/breakpoints.css";
|
|
3
|
+
@value tablet from breakpoints;
|
|
4
|
+
@value mobile from breakpoints;
|
|
5
|
+
@value xtraLightGrey from colors;
|
|
6
|
+
@value cm_grey_50 from colors;
|
|
7
|
+
@value cm_grey_100 from colors;
|
|
8
|
+
@value cm_grey_200 from colors;
|
|
9
|
+
@value cm_grey_400 from colors;
|
|
10
|
+
|
|
11
|
+
.divider {
|
|
12
|
+
width: 4px;
|
|
13
|
+
height: 4px;
|
|
14
|
+
background-color: cm_grey_400;
|
|
15
|
+
border: solid cm_grey_400 1px;
|
|
16
|
+
border-radius: 4px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.textBase {
|
|
20
|
+
font-family: "Gilroy";
|
|
21
|
+
font-style: normal;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.backgroundContainer {
|
|
25
|
+
background-color: white;
|
|
26
|
+
min-height: 100%;
|
|
27
|
+
width: 100%;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.container {
|
|
31
|
+
composes: textBase;
|
|
32
|
+
background-color: white;
|
|
33
|
+
font-family: "Gilroy";
|
|
34
|
+
font-style: normal;
|
|
35
|
+
margin-top: 48px;
|
|
36
|
+
margin-bottom: 48px;
|
|
37
|
+
margin-left: auto;
|
|
38
|
+
margin-right: auto;
|
|
39
|
+
padding: 0 16px;
|
|
40
|
+
position: relative;
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
min-height: 100%;
|
|
43
|
+
width: 100%;
|
|
44
|
+
max-width: calc(1080px + 40px);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.backButton {
|
|
48
|
+
margin-bottom: 16px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ctaContainer {
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
width: 100%;
|
|
55
|
+
gap: 40px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.logoContainer {
|
|
59
|
+
height: 300px;
|
|
60
|
+
width: 450px;
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
background-color: cm_grey_50;
|
|
65
|
+
border-radius: 16px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.logo {
|
|
69
|
+
width: 191px;
|
|
70
|
+
height: 191px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.showMoreWrapper {
|
|
74
|
+
display: flex;
|
|
75
|
+
gap: 8px;
|
|
76
|
+
align-items: center;
|
|
77
|
+
margin-top: 8px;
|
|
78
|
+
font-weight: 600;
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.title {
|
|
83
|
+
margin-top: 8px;
|
|
84
|
+
font-size: 24px;
|
|
85
|
+
font-weight: 700;
|
|
86
|
+
line-height: 32px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.description {
|
|
90
|
+
margin-top: 8px;
|
|
91
|
+
max-width: 620px;
|
|
92
|
+
font-size: 14px;
|
|
93
|
+
font-weight: 500;
|
|
94
|
+
line-height: 20px;
|
|
95
|
+
color: cm_grey_400;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.truncate {
|
|
99
|
+
display: -webkit-box;
|
|
100
|
+
-webkit-line-clamp: 4;
|
|
101
|
+
-webkit-box-orient: vertical;
|
|
102
|
+
overflow: hidden;
|
|
103
|
+
text-overflow: ellipsis;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.contentStats {
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
gap: 8px;
|
|
110
|
+
padding: 24px 0;
|
|
111
|
+
font-weight: 600;
|
|
112
|
+
color: cm_grey_400;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.continueLearningSection {
|
|
116
|
+
padding: 24px 0 32px 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@media tablet {
|
|
120
|
+
.ctaContainer {
|
|
121
|
+
flex-direction: column;
|
|
122
|
+
align-items: flex-start;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@media mobile {
|
|
127
|
+
.logoContainer {
|
|
128
|
+
width: 100%;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -25,8 +25,9 @@ declare namespace Dashboard {
|
|
|
25
25
|
type: PropTypes.Requireable<string>;
|
|
26
26
|
size: PropTypes.Requireable<string>;
|
|
27
27
|
customStyle: PropTypes.Requireable<{
|
|
28
|
-
[x: string]: string | null | undefined;
|
|
28
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
29
29
|
}>;
|
|
30
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
30
31
|
}>>;
|
|
31
32
|
}>>;
|
|
32
33
|
headerIcon: PropTypes.Requireable<string>;
|
|
@@ -321,8 +322,9 @@ declare namespace Dashboard {
|
|
|
321
322
|
type: PropTypes.Requireable<string>;
|
|
322
323
|
size: PropTypes.Requireable<string>;
|
|
323
324
|
customStyle: PropTypes.Requireable<{
|
|
324
|
-
[x: string]: string | null | undefined;
|
|
325
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
325
326
|
}>;
|
|
327
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
326
328
|
}>>;
|
|
327
329
|
}>>;
|
|
328
330
|
headerIcon: PropTypes.Requireable<string>;
|
|
@@ -206,8 +206,9 @@ declare namespace SearchPage {
|
|
|
206
206
|
type: PropTypes.Requireable<string>;
|
|
207
207
|
size: PropTypes.Requireable<string>;
|
|
208
208
|
customStyle: PropTypes.Requireable<{
|
|
209
|
-
[x: string]: string | null | undefined;
|
|
209
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
210
210
|
}>;
|
|
211
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
211
212
|
}>>;
|
|
212
213
|
}>>;
|
|
213
214
|
headerIcon: PropTypes.Requireable<string>;
|
|
@@ -43,8 +43,9 @@ declare namespace ExternalCourse {
|
|
|
43
43
|
type: PropTypes.Requireable<string>;
|
|
44
44
|
size: PropTypes.Requireable<string>;
|
|
45
45
|
customStyle: PropTypes.Requireable<{
|
|
46
|
-
[x: string]: string | null | undefined;
|
|
46
|
+
[x: string]: NonNullable<string | number | null | undefined> | null | undefined;
|
|
47
47
|
}>;
|
|
48
|
+
icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
|
|
48
49
|
}>>;
|
|
49
50
|
}>>;
|
|
50
51
|
headerIcon: PropTypes.Requireable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/playlist-detail/index.js"],"names":[],"mappings":";AAiBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/playlist-detail/index.js"],"names":[],"mappings":";AAiBA,uEAgFC"}
|
|
@@ -99,9 +99,11 @@ const PlaylistDetail = (props, context) => {
|
|
|
99
99
|
}, /*#__PURE__*/_react.default.createElement(_skillDetail.ContinueLearningButton, {
|
|
100
100
|
ongoingCoursesAvailable: !!ongoingCourses.list.length,
|
|
101
101
|
onClick: onContinueLearningClick
|
|
102
|
-
})))), /*#__PURE__*/_react.default.createElement(
|
|
102
|
+
})))), /*#__PURE__*/_react.default.createElement("div", {
|
|
103
|
+
className: _style.default.continueLearningSection
|
|
104
|
+
}, /*#__PURE__*/_react.default.createElement(_continueLearning.default, {
|
|
103
105
|
ongoingCourses: ongoingCourses
|
|
104
|
-
}), /*#__PURE__*/_react.default.createElement(_allCourses.default, {
|
|
106
|
+
})), /*#__PURE__*/_react.default.createElement(_allCourses.default, {
|
|
105
107
|
courses: playlistCourses,
|
|
106
108
|
totalCourses: totalCourses,
|
|
107
109
|
filters: filters,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["DESCRIPTION_BREAKPOINT","PlaylistDetail","props","context","title","coverImages","playlistRef","description","ongoingCourses","playlistCourses","totalCourses","filters","sorting","onBackClick","onContinueLearningClick","translate","showMore","setShowMore","useState","handleShowMore","useCallback","Description","classnames","style","truncate","backgroundContainer","container","backButton","ctaContainer","coverWrapper","length","showMoreWrapper","faSize","wrapperSize","continueLearningButton","list","contextTypes","skin","Provider","childContextTypes","propTypes","PropTypes","string","isRequired","PlaylistDetailCover","images","shape","CardsGrid","number","onChange","func","options","arrayOf","SelectOptionPropTypes","Select"],"sources":["../../../src/template/playlist-detail/index.js"],"sourcesContent":["import React, {useCallback, useState} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport Select, {SelectOptionPropTypes} from '../../atom/select';\nimport ButtonLinkIcon from '../../atom/button-link-icon';\nimport Icon from '../../atom/icon';\nimport CardsGrid from '../../organism/cards-grid';\nimport AllCourses from '../skill-detail/all-courses';\nimport ContinueLearning from '../skill-detail/continue-learning';\nimport PlaylistDetailCover from '../../molecule/playlist-detail-cover';\nimport {ContinueLearningButton} from '../skill-detail';\nimport style from './style.css';\n\nconst DESCRIPTION_BREAKPOINT = 382;\n\nconst PlaylistDetail = (props, context) => {\n const {\n title,\n coverImages,\n playlistRef,\n description,\n ongoingCourses,\n playlistCourses,\n totalCourses,\n filters,\n sorting,\n onBackClick,\n onContinueLearningClick\n } = props;\n const {translate} = context;\n\n const [showMore, setShowMore] = useState(false);\n\n const handleShowMore = useCallback(() => setShowMore(!showMore), [setShowMore, showMore]);\n\n const Description = useCallback(() => {\n return (\n <div className={classnames(style.description, !showMore && style.truncate)}>\n {description}\n </div>\n );\n }, [showMore, description]);\n\n return (\n <div className={style.backgroundContainer}>\n <div className={style.container} data-name={playlistRef}>\n <ButtonLinkIcon\n faIcon=\"arrow-left\"\n data-name=\"back-button\"\n aria-label=\"Back\"\n onClick={onBackClick}\n className={style.backButton}\n tooltipPlacement=\"right\"\n />\n <div className={style.ctaContainer}>\n <div className={style.coverWrapper}>\n <PlaylistDetailCover images={coverImages} />\n </div>\n <div>\n <Tag label={translate('playlist')} />\n <div className={style.title}>{title}</div>\n {description ? (\n <>\n <Description />\n {description.length >= DESCRIPTION_BREAKPOINT ? (\n <div className={style.showMoreWrapper} onClick={handleShowMore}>\n {translate(showMore ? 'Show less' : 'Show more')}\n <Icon\n iconName={showMore ? 'chevron-up' : 'chevron-down'}\n size={{faSize: 14, wrapperSize: 16}}\n />\n </div>\n ) : null}\n </>\n ) : null}\n <div className={style.continueLearningButton}>\n <ContinueLearningButton\n ongoingCoursesAvailable={!!ongoingCourses.list.length}\n onClick={onContinueLearningClick}\n />\n </div>\n </div>\n </div>\n <ContinueLearning ongoingCourses={ongoingCourses} />\n <AllCourses\n courses={playlistCourses}\n totalCourses={totalCourses}\n filters={filters}\n sorting={sorting}\n />\n </div>\n </div>\n );\n};\n\nPlaylistDetail.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nPlaylistDetail.propTypes = {\n title: PropTypes.string.isRequired,\n coverImages: PlaylistDetailCover.propTypes.images,\n playlistRef: PropTypes.string.isRequired,\n description: PropTypes.string,\n ongoingCourses: PropTypes.shape(CardsGrid.propTypes),\n playlistCourses: PropTypes.shape(CardsGrid.propTypes),\n totalCourses: PropTypes.number,\n filters: PropTypes.shape({\n onChange: PropTypes.func,\n options: PropTypes.arrayOf(PropTypes.shape(SelectOptionPropTypes))\n }),\n sorting: PropTypes.shape(Select.propTypes),\n onBackClick: PropTypes.func,\n onContinueLearningClick: PropTypes.func\n};\n\nexport default PlaylistDetail;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,sBAAsB,GAAG,GAA/B;;AAEA,MAAMC,cAAc,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EACzC,MAAM;IACJC,KADI;IAEJC,WAFI;IAGJC,WAHI;IAIJC,WAJI;IAKJC,cALI;IAMJC,eANI;IAOJC,YAPI;IAQJC,OARI;IASJC,OATI;IAUJC,WAVI;IAWJC;EAXI,IAYFZ,KAZJ;EAaA,MAAM;IAACa;EAAD,IAAcZ,OAApB;EAEA,MAAM,CAACa,QAAD,EAAWC,WAAX,IAA0B,IAAAC,eAAA,EAAS,KAAT,CAAhC;EAEA,MAAMC,cAAc,GAAG,IAAAC,kBAAA,EAAY,MAAMH,WAAW,CAAC,CAACD,QAAF,CAA7B,EAA0C,CAACC,WAAD,EAAcD,QAAd,CAA1C,CAAvB;EAEA,MAAMK,WAAW,GAAG,IAAAD,kBAAA,EAAY,MAAM;IACpC,oBACE;MAAK,SAAS,EAAE,IAAAE,mBAAA,EAAWC,cAAA,CAAMhB,WAAjB,EAA8B,CAACS,QAAD,IAAaO,cAAA,CAAMC,QAAjD;IAAhB,GACGjB,WADH,CADF;EAKD,CANmB,EAMjB,CAACS,QAAD,EAAWT,WAAX,CANiB,CAApB;EAQA,oBACE;IAAK,SAAS,EAAEgB,cAAA,CAAME;EAAtB,gBACE;IAAK,SAAS,EAAEF,cAAA,CAAMG,SAAtB;IAAiC,aAAWpB;EAA5C,gBACE,6BAAC,uBAAD;IACE,MAAM,EAAC,YADT;IAEE,aAAU,aAFZ;IAGE,cAAW,MAHb;IAIE,OAAO,EAAEO,WAJX;IAKE,SAAS,EAAEU,cAAA,CAAMI,UALnB;IAME,gBAAgB,EAAC;EANnB,EADF,eASE;IAAK,SAAS,EAAEJ,cAAA,CAAMK;EAAtB,gBACE;IAAK,SAAS,EAAEL,cAAA,CAAMM;EAAtB,gBACE,6BAAC,4BAAD;IAAqB,MAAM,EAAExB;EAA7B,EADF,CADF,eAIE,uDACE,6BAAC,YAAD;IAAK,KAAK,EAAEU,SAAS,CAAC,UAAD;EAArB,EADF,eAEE;IAAK,SAAS,EAAEQ,cAAA,CAAMnB;EAAtB,GAA8BA,KAA9B,CAFF,EAGGG,WAAW,gBACV,yEACE,6BAAC,WAAD,OADF,EAEGA,WAAW,CAACuB,MAAZ,IAAsB9B,sBAAtB,gBACC;IAAK,SAAS,EAAEuB,cAAA,CAAMQ,eAAtB;IAAuC,OAAO,EAAEZ;EAAhD,GACGJ,SAAS,CAACC,QAAQ,GAAG,WAAH,GAAiB,WAA1B,CADZ,eAEE,6BAAC,aAAD;IACE,QAAQ,EAAEA,QAAQ,GAAG,YAAH,GAAkB,cADtC;IAEE,IAAI,EAAE;MAACgB,MAAM,EAAE,EAAT;MAAaC,WAAW,EAAE;IAA1B;EAFR,EAFF,CADD,GAQG,IAVN,CADU,GAaR,IAhBN,eAiBE;IAAK,SAAS,EAAEV,cAAA,CAAMW;EAAtB,gBACE,6BAAC,mCAAD;IACE,uBAAuB,EAAE,CAAC,CAAC1B,cAAc,CAAC2B,IAAf,CAAoBL,MADjD;IAEE,OAAO,EAAEhB;EAFX,EADF,CAjBF,CAJF,CATF,eAsCE,6BAAC,yBAAD;IAAkB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","names":["DESCRIPTION_BREAKPOINT","PlaylistDetail","props","context","title","coverImages","playlistRef","description","ongoingCourses","playlistCourses","totalCourses","filters","sorting","onBackClick","onContinueLearningClick","translate","showMore","setShowMore","useState","handleShowMore","useCallback","Description","classnames","style","truncate","backgroundContainer","container","backButton","ctaContainer","coverWrapper","length","showMoreWrapper","faSize","wrapperSize","continueLearningButton","list","continueLearningSection","contextTypes","skin","Provider","childContextTypes","propTypes","PropTypes","string","isRequired","PlaylistDetailCover","images","shape","CardsGrid","number","onChange","func","options","arrayOf","SelectOptionPropTypes","Select"],"sources":["../../../src/template/playlist-detail/index.js"],"sourcesContent":["import React, {useCallback, useState} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport Select, {SelectOptionPropTypes} from '../../atom/select';\nimport ButtonLinkIcon from '../../atom/button-link-icon';\nimport Icon from '../../atom/icon';\nimport CardsGrid from '../../organism/cards-grid';\nimport AllCourses from '../skill-detail/all-courses';\nimport ContinueLearning from '../skill-detail/continue-learning';\nimport PlaylistDetailCover from '../../molecule/playlist-detail-cover';\nimport {ContinueLearningButton} from '../skill-detail';\nimport style from './style.css';\n\nconst DESCRIPTION_BREAKPOINT = 382;\n\nconst PlaylistDetail = (props, context) => {\n const {\n title,\n coverImages,\n playlistRef,\n description,\n ongoingCourses,\n playlistCourses,\n totalCourses,\n filters,\n sorting,\n onBackClick,\n onContinueLearningClick\n } = props;\n const {translate} = context;\n\n const [showMore, setShowMore] = useState(false);\n\n const handleShowMore = useCallback(() => setShowMore(!showMore), [setShowMore, showMore]);\n\n const Description = useCallback(() => {\n return (\n <div className={classnames(style.description, !showMore && style.truncate)}>\n {description}\n </div>\n );\n }, [showMore, description]);\n\n return (\n <div className={style.backgroundContainer}>\n <div className={style.container} data-name={playlistRef}>\n <ButtonLinkIcon\n faIcon=\"arrow-left\"\n data-name=\"back-button\"\n aria-label=\"Back\"\n onClick={onBackClick}\n className={style.backButton}\n tooltipPlacement=\"right\"\n />\n <div className={style.ctaContainer}>\n <div className={style.coverWrapper}>\n <PlaylistDetailCover images={coverImages} />\n </div>\n <div>\n <Tag label={translate('playlist')} />\n <div className={style.title}>{title}</div>\n {description ? (\n <>\n <Description />\n {description.length >= DESCRIPTION_BREAKPOINT ? (\n <div className={style.showMoreWrapper} onClick={handleShowMore}>\n {translate(showMore ? 'Show less' : 'Show more')}\n <Icon\n iconName={showMore ? 'chevron-up' : 'chevron-down'}\n size={{faSize: 14, wrapperSize: 16}}\n />\n </div>\n ) : null}\n </>\n ) : null}\n <div className={style.continueLearningButton}>\n <ContinueLearningButton\n ongoingCoursesAvailable={!!ongoingCourses.list.length}\n onClick={onContinueLearningClick}\n />\n </div>\n </div>\n </div>\n <div className={style.continueLearningSection}>\n <ContinueLearning ongoingCourses={ongoingCourses} />\n </div>\n <AllCourses\n courses={playlistCourses}\n totalCourses={totalCourses}\n filters={filters}\n sorting={sorting}\n />\n </div>\n </div>\n );\n};\n\nPlaylistDetail.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nPlaylistDetail.propTypes = {\n title: PropTypes.string.isRequired,\n coverImages: PlaylistDetailCover.propTypes.images,\n playlistRef: PropTypes.string.isRequired,\n description: PropTypes.string,\n ongoingCourses: PropTypes.shape(CardsGrid.propTypes),\n playlistCourses: PropTypes.shape(CardsGrid.propTypes),\n totalCourses: PropTypes.number,\n filters: PropTypes.shape({\n onChange: PropTypes.func,\n options: PropTypes.arrayOf(PropTypes.shape(SelectOptionPropTypes))\n }),\n sorting: PropTypes.shape(Select.propTypes),\n onBackClick: PropTypes.func,\n onContinueLearningClick: PropTypes.func\n};\n\nexport default PlaylistDetail;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,sBAAsB,GAAG,GAA/B;;AAEA,MAAMC,cAAc,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EACzC,MAAM;IACJC,KADI;IAEJC,WAFI;IAGJC,WA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,CAAUC,MAJE;EAKzBnC,cAAc,EAAEkC,kBAAA,CAAUK,KAAV,CAAgBC,kBAAA,CAAUP,SAA1B,CALS;EAMzBhC,eAAe,EAAEiC,kBAAA,CAAUK,KAAV,CAAgBC,kBAAA,CAAUP,SAA1B,CANQ;EAOzB/B,YAAY,EAAEgC,kBAAA,CAAUO,MAPC;EAQzBtC,OAAO,EAAE+B,kBAAA,CAAUK,KAAV,CAAgB;IACvBG,QAAQ,EAAER,kBAAA,CAAUS,IADG;IAEvBC,OAAO,EAAEV,kBAAA,CAAUW,OAAV,CAAkBX,kBAAA,CAAUK,KAAV,CAAgBO,6BAAhB,CAAlB;EAFc,CAAhB,CARgB;EAYzB1C,OAAO,EAAE8B,kBAAA,CAAUK,KAAV,CAAgBQ,eAAA,CAAOd,SAAvB,CAZgB;EAazB5B,WAAW,EAAE6B,kBAAA,CAAUS,IAbE;EAczBrC,uBAAuB,EAAE4B,kBAAA,CAAUS;AAdV,CAA3B;eAiBelD,c"}
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
text-decoration: underline;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
@media
|
|
112
|
+
@media tablet {
|
|
113
113
|
.searchAndSortSection {
|
|
114
114
|
flex-direction: column;
|
|
115
115
|
}
|
|
@@ -117,6 +117,10 @@
|
|
|
117
117
|
.sortSection {
|
|
118
118
|
margin-top: 16px;
|
|
119
119
|
}
|
|
120
|
+
|
|
121
|
+
.filterWrapper {
|
|
122
|
+
overflow-x: scroll;
|
|
123
|
+
}
|
|
120
124
|
}
|
|
121
125
|
|
|
122
126
|
@media mobile {
|
|
@@ -126,8 +130,4 @@
|
|
|
126
130
|
align-items: flex-start;
|
|
127
131
|
margin-top: 16px;
|
|
128
132
|
}
|
|
129
|
-
|
|
130
|
-
.filterWrapper {
|
|
131
|
-
overflow-x: scroll;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
133
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"continue-learning.d.ts","sourceRoot":"","sources":["../../../src/template/skill-detail/continue-learning.js"],"names":[],"mappings":";AAQA,
|
|
1
|
+
{"version":3,"file":"continue-learning.d.ts","sourceRoot":"","sources":["../../../src/template/skill-detail/continue-learning.js"],"names":[],"mappings":";AAQA,gFA0BC"}
|
|
@@ -44,9 +44,10 @@ const ContinueLearning = (props, context) => {
|
|
|
44
44
|
|
|
45
45
|
return /*#__PURE__*/_react.default.createElement(_cardsList.default, {
|
|
46
46
|
cards: (0, _sortBy2.default)(course => -(0, _getOr2.default)(0, ['progress'], course), ongoingCourses.list),
|
|
47
|
-
title: /*#__PURE__*/_react.default.createElement(Title, null)
|
|
47
|
+
title: /*#__PURE__*/_react.default.createElement(Title, null) // to override CardList wrapper padding
|
|
48
|
+
,
|
|
48
49
|
customStyle: {
|
|
49
|
-
padding: '
|
|
50
|
+
padding: '0px'
|
|
50
51
|
}
|
|
51
52
|
});
|
|
52
53
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"continue-learning.js","names":["ContinueLearning","props","context","ongoingCourses","translate","Title","useCallback","style","continueLearningTitle","continueLearningNumber","list","length","course","padding","contextTypes","skin","Provider","childContextTypes","propTypes","PropTypes","shape","CardsGrid"],"sources":["../../../src/template/skill-detail/continue-learning.js"],"sourcesContent":["import React, {useCallback} from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, sortBy} from 'lodash/fp';\nimport Provider from '../../atom/provider';\nimport CardsGrid from '../../organism/cards-grid';\nimport CardsList from '../../molecule/dashboard/cards-list';\nimport style from './continue-learning.css';\n\nconst ContinueLearning = (props, context) => {\n const {ongoingCourses} = props;\n const {translate} = context;\n\n const Title = useCallback(\n () => (\n <>\n <span className={style.continueLearningTitle}>{translate('continue_learning')}</span>\n <span className={style.continueLearningNumber}>{ongoingCourses.list.length}</span>\n </>\n ),\n [ongoingCourses, translate]\n );\n\n if (ongoingCourses.list.length === 0) {\n return null;\n }\n\n return (\n <CardsList\n cards={sortBy(course => -getOr(0, ['progress'], course), ongoingCourses.list)}\n title={<Title />}\n customStyle={{padding: '
|
|
1
|
+
{"version":3,"file":"continue-learning.js","names":["ContinueLearning","props","context","ongoingCourses","translate","Title","useCallback","style","continueLearningTitle","continueLearningNumber","list","length","course","padding","contextTypes","skin","Provider","childContextTypes","propTypes","PropTypes","shape","CardsGrid"],"sources":["../../../src/template/skill-detail/continue-learning.js"],"sourcesContent":["import React, {useCallback} from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, sortBy} from 'lodash/fp';\nimport Provider from '../../atom/provider';\nimport CardsGrid from '../../organism/cards-grid';\nimport CardsList from '../../molecule/dashboard/cards-list';\nimport style from './continue-learning.css';\n\nconst ContinueLearning = (props, context) => {\n const {ongoingCourses} = props;\n const {translate} = context;\n\n const Title = useCallback(\n () => (\n <>\n <span className={style.continueLearningTitle}>{translate('continue_learning')}</span>\n <span className={style.continueLearningNumber}>{ongoingCourses.list.length}</span>\n </>\n ),\n [ongoingCourses, translate]\n );\n\n if (ongoingCourses.list.length === 0) {\n return null;\n }\n\n return (\n <CardsList\n cards={sortBy(course => -getOr(0, ['progress'], course), ongoingCourses.list)}\n title={<Title />}\n // to override CardList wrapper padding\n customStyle={{padding: '0px'}}\n />\n );\n};\n\nContinueLearning.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nContinueLearning.propTypes = {\n ongoingCourses: PropTypes.shape(CardsGrid.propTypes)\n};\n\nexport default ContinueLearning;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,gBAAgB,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EAC3C,MAAM;IAACC;EAAD,IAAmBF,KAAzB;EACA,MAAM;IAACG;EAAD,IAAcF,OAApB;EAEA,MAAMG,KAAK,GAAG,IAAAC,kBAAA,EACZ,mBACE,yEACE;IAAM,SAAS,EAAEC,yBAAA,CAAMC;EAAvB,GAA+CJ,SAAS,CAAC,mBAAD,CAAxD,CADF,eAEE;IAAM,SAAS,EAAEG,yBAAA,CAAME;EAAvB,GAAgDN,cAAc,CAACO,IAAf,CAAoBC,MAApE,CAFF,CAFU,EAOZ,CAACR,cAAD,EAAiBC,SAAjB,CAPY,CAAd;;EAUA,IAAID,cAAc,CAACO,IAAf,CAAoBC,MAApB,KAA+B,CAAnC,EAAsC;IACpC,OAAO,IAAP;EACD;;EAED,oBACE,6BAAC,kBAAD;IACE,KAAK,EAAE,sBAAOC,MAAM,IAAI,CAAC,qBAAM,CAAN,EAAS,CAAC,UAAD,CAAT,EAAuBA,MAAvB,CAAlB,EAAkDT,cAAc,CAACO,IAAjE,CADT;IAEE,KAAK,eAAE,6BAAC,KAAD,OAFT,CAGE;IAHF;IAIE,WAAW,EAAE;MAACG,OAAO,EAAE;IAAV;EAJf,EADF;AAQD,CA1BD;;AA4BAb,gBAAgB,CAACc,YAAjB,GAAgC;EAC9BC,IAAI,EAAEC,iBAAA,CAASC,iBAAT,CAA2BF,IADH;EAE9BX,SAAS,EAAEY,iBAAA,CAASC,iBAAT,CAA2Bb;AAFR,CAAhC;AAKAJ,gBAAgB,CAACkB,SAAjB,2CAA6B;EAC3Bf,cAAc,EAAEgB,kBAAA,CAAUC,KAAV,CAAgBC,kBAAA,CAAUH,SAA1B;AADW,CAA7B;eAIelB,gB"}
|
package/locales/bs/global.json
CHANGED
|
@@ -12,11 +12,16 @@
|
|
|
12
12
|
"associated_skills": "Povezane vještine",
|
|
13
13
|
"Back to Dashboard Home": "Povratak na kontrolnu tablu",
|
|
14
14
|
"back_to_catalog": "Povratak na kurseve",
|
|
15
|
+
"badge": "Badge",
|
|
16
|
+
"bonus_stars": "Bonus stars",
|
|
15
17
|
"cart_title": "Pretplata za Coorpacademy",
|
|
16
18
|
"challenges you on": "izaziva te",
|
|
19
|
+
"download": "Download",
|
|
17
20
|
"is challenging you": "{{username}} te izaziva za {{courseName}}",
|
|
18
21
|
"items": "stavke",
|
|
19
22
|
"certificate": "Certifikat",
|
|
23
|
+
"certification": "Certification",
|
|
24
|
+
"certification_progress_wrapper_subtitle": "To unlock your rewards, you need to complete this certification",
|
|
20
25
|
"chapters": "poglavlja",
|
|
21
26
|
"Close": "Zatvori",
|
|
22
27
|
"clue_stars_to_loose_plural": "Otključavanje traga smanjuje broj zvijezda koje možete dobiti za ovo pitanje za {{count}} (ako tačno odgovorite)",
|
|
@@ -38,6 +43,7 @@
|
|
|
38
43
|
"confirm": "Potvrdi",
|
|
39
44
|
"Delete": "Izbrisati",
|
|
40
45
|
"Draft": "Skica",
|
|
46
|
+
"diploma": "Diploma",
|
|
41
47
|
"answer_the_question": "Odgovori na pitanje",
|
|
42
48
|
"Edit": "Uredi",
|
|
43
49
|
"Explore": "Istražiti",
|
|
@@ -54,6 +60,8 @@
|
|
|
54
60
|
"learning_priorities_brand_description": "Definirajte prioritete učenja za svoju kompaniju pomoću vještina, lista za reprodukciju ili certifikata. Oni će se pojaviti na stranici Moje učenje.",
|
|
55
61
|
"media_stars_to_win_plural": "Osvoji {{count}} dodatnu zvijezdu u ovom poglavlju prvi put kad vidiš lekciju!",
|
|
56
62
|
"media_stars_to_win": "Osvoji {{count}} dodatnu zvijezdu u ovom poglavlju prvi put kad vidiš lekciju!",
|
|
63
|
+
"modules": "Modules",
|
|
64
|
+
"modules_completed": "modules completed",
|
|
57
65
|
"More": "Više",
|
|
58
66
|
"More details": "Više detalja",
|
|
59
67
|
"New media": "Nova lekcija",
|
package/locales/cs/global.json
CHANGED
|
@@ -12,11 +12,16 @@
|
|
|
12
12
|
"associated_skills": "Přidružené dovednosti",
|
|
13
13
|
"Back to Dashboard Home": "Zpět na domovskou stránku ovládacího panelu",
|
|
14
14
|
"back_to_catalog": "Zpět na kurzy",
|
|
15
|
+
"badge": "Badge",
|
|
16
|
+
"bonus_stars": "Bonus stars",
|
|
15
17
|
"cart_title": "Předplatné Coorpacademy",
|
|
16
18
|
"challenges you on": "vás vyzve",
|
|
19
|
+
"download": "Download",
|
|
17
20
|
"is challenging you": "{{username}} vám posílá výzvu do {{courseName}}",
|
|
18
21
|
"items": "položky",
|
|
19
22
|
"certificate": "Osvědčení",
|
|
23
|
+
"certification": "Certification",
|
|
24
|
+
"certification_progress_wrapper_subtitle": "To unlock your rewards, you need to complete this certification",
|
|
20
25
|
"chapters": "kapitoly",
|
|
21
26
|
"Close": "Zavřít",
|
|
22
27
|
"clue_stars_to_loose_plural": "Odemknutí nápovědy sníží počet hvězd, které můžete získat na této otázce, o {{count}} (pokud ji zodpovíte správně)",
|
|
@@ -38,6 +43,7 @@
|
|
|
38
43
|
"confirm": "Potvrdit",
|
|
39
44
|
"Delete": "Smazat",
|
|
40
45
|
"Draft": "Návrh",
|
|
46
|
+
"diploma": "Diploma",
|
|
41
47
|
"answer_the_question": "Odpovězte na otázku",
|
|
42
48
|
"Edit": "Upravit",
|
|
43
49
|
"Explore": "Prozkoumat",
|
|
@@ -54,6 +60,8 @@
|
|
|
54
60
|
"learning_priorities_brand_description": "Definujte pro svou společnost priority vzdělávání pomocí dovedností, seznamů skladeb nebo certifikací. Zobrazí se na stránce Moje učení.",
|
|
55
61
|
"media_stars_to_win_plural": "Získejte další hvězdy ({{count}}) v této kapitole při prvním zobrazení lekce!",
|
|
56
62
|
"media_stars_to_win": "Vyhrajte další hvězdu ({{count}}) v této kapitole při prvním zobrazení lekce!",
|
|
63
|
+
"modules": "Modules",
|
|
64
|
+
"modules_completed": "modules completed",
|
|
57
65
|
"More": "Více",
|
|
58
66
|
"More details": "Více informací",
|
|
59
67
|
"New media": "Nová lekce",
|
package/locales/de/global.json
CHANGED
|
@@ -12,11 +12,16 @@
|
|
|
12
12
|
"associated_skills": "Zugehörige Fähigkeiten",
|
|
13
13
|
"Back to Dashboard Home": "Zurück zur Startseite des Dashboards",
|
|
14
14
|
"back_to_catalog": "Zurück zu den Kursen",
|
|
15
|
+
"badge": "Badge",
|
|
16
|
+
"bonus_stars": "Bonus stars",
|
|
15
17
|
"cart_title": "Coorpacademy Abo",
|
|
16
18
|
"challenges you on": "Herausforderungen für Sie",
|
|
19
|
+
"download": "Download",
|
|
17
20
|
"is challenging you": "{{username}} fordert Sie heraus {{courseName}}",
|
|
18
21
|
"items": "Artikel",
|
|
19
22
|
"certificate": "Zertifikat",
|
|
23
|
+
"certification": "Certification",
|
|
24
|
+
"certification_progress_wrapper_subtitle": "To unlock your rewards, you need to complete this certification",
|
|
20
25
|
"chapters": "Kapitel",
|
|
21
26
|
"Close": "Schliessen",
|
|
22
27
|
"clue_stars_to_loose_plural": "Wenn Sie den Hinweis benutzen, reduziert sich die Anzahl Sterne, die Sie bei dieser Frage gewinnen können um {{count}} (wenn Sie richtig antworten)",
|
|
@@ -38,6 +43,7 @@
|
|
|
38
43
|
"confirm": "Bestätigen",
|
|
39
44
|
"Delete": "Löschen",
|
|
40
45
|
"Draft": "Entwurf",
|
|
46
|
+
"diploma": "Diploma",
|
|
41
47
|
"answer_the_question": "Beantworten Sie die Frage",
|
|
42
48
|
"Edit": "Bearbeiten",
|
|
43
49
|
"Explore": "Erkunden",
|
|
@@ -54,6 +60,8 @@
|
|
|
54
60
|
"learning_priorities_brand_description": "Definieren Sie Lernprioritäten für Ihr Unternehmen mit Fähigkeiten, Playlists oder Zertifizierungen. Diese werden auf der Seite „Mein Lernen“ angezeigt.",
|
|
55
61
|
"media_stars_to_win_plural": "Gewinnen Sie {{count}} zusätzliche Sterne in diesem Kapitel, wenn Sie die Lektion das erste Mal ansehen!",
|
|
56
62
|
"media_stars_to_win": "Gewinnen Sie {{count}} zusätzliche Sterne in diesem Kapitel, wenn Sie die Lektion das erste Mal ansehen!",
|
|
63
|
+
"modules": "Modules",
|
|
64
|
+
"modules_completed": "modules completed",
|
|
57
65
|
"More": "Mehr",
|
|
58
66
|
"More details": "Mehr Details",
|
|
59
67
|
"New media": "Neue Lektion",
|
package/locales/en/global.json
CHANGED
|
@@ -12,11 +12,16 @@
|
|
|
12
12
|
"associated_skills": "Associated skills",
|
|
13
13
|
"Back to Dashboard Home": "Back to Dashboard Home",
|
|
14
14
|
"back_to_catalog": "Back to courses",
|
|
15
|
+
"badge": "Badge",
|
|
16
|
+
"bonus_stars": "Bonus stars",
|
|
15
17
|
"cart_title": "Coorpacademy Subscription",
|
|
16
18
|
"challenges you on": "challenges you on",
|
|
19
|
+
"download": "Download",
|
|
17
20
|
"is challenging you": "{{username}} is challenging you {{courseName}}",
|
|
18
21
|
"items": "items",
|
|
19
22
|
"certificate": "Certificate",
|
|
23
|
+
"certification": "Certification",
|
|
24
|
+
"certification_progress_wrapper_subtitle": "To unlock your rewards, you need to complete this certification",
|
|
20
25
|
"chapters": "chapters",
|
|
21
26
|
"Close": "Close",
|
|
22
27
|
"clue_stars_to_loose_plural": "Unlocking the clue reduces the stars you can gain on this question by {{count}} (if you get it right)",
|
|
@@ -38,6 +43,7 @@
|
|
|
38
43
|
"confirm": "Confirm",
|
|
39
44
|
"Delete": "Delete",
|
|
40
45
|
"Draft": "Draft",
|
|
46
|
+
"diploma": "Diploma",
|
|
41
47
|
"answer_the_question": "Answer the question",
|
|
42
48
|
"Edit": "Edit",
|
|
43
49
|
"Explore": "Explore",
|
|
@@ -54,6 +60,8 @@
|
|
|
54
60
|
"learning_priorities_brand_description": "Define learning priorities for your company with skills, playlists or certifications. They will appear on the My Learning page.",
|
|
55
61
|
"media_stars_to_win_plural": "Win {{count}} additional stars in this chapter the first time you view a lesson!",
|
|
56
62
|
"media_stars_to_win": "Win {{count}} additional star in this chapter the first time you view a lesson!",
|
|
63
|
+
"modules": "Modules",
|
|
64
|
+
"modules_completed": "modules completed",
|
|
57
65
|
"More": "More",
|
|
58
66
|
"More details": "More details",
|
|
59
67
|
"New media": "New lesson",
|
package/locales/es/global.json
CHANGED
|
@@ -12,11 +12,16 @@
|
|
|
12
12
|
"associated_skills": "Habilidades asociadas",
|
|
13
13
|
"Back to Dashboard Home": "Volver al panel de inicio",
|
|
14
14
|
"back_to_catalog": "Volver a los cursos",
|
|
15
|
+
"badge": "Badge",
|
|
16
|
+
"bonus_stars": "Bonus stars",
|
|
15
17
|
"cart_title": "Suscripción a Coorpacademy",
|
|
16
18
|
"challenges you on": "te reta en",
|
|
19
|
+
"download": "Download",
|
|
17
20
|
"is challenging you": "{{username}} te reta a {{courseName}}",
|
|
18
21
|
"items": "elementos",
|
|
19
22
|
"certificate": "Certificado",
|
|
23
|
+
"certification": "Certification",
|
|
24
|
+
"certification_progress_wrapper_subtitle": "To unlock your rewards, you need to complete this certification",
|
|
20
25
|
"chapters": "capítulos",
|
|
21
26
|
"Close": "Cerrar",
|
|
22
27
|
"clue_stars_to_loose_plural": "Desbloquear la pista reduce en {{count}} las estrellas que puedes ganar por esta pregunta (si la aciertas)",
|
|
@@ -38,6 +43,7 @@
|
|
|
38
43
|
"confirm": "Confirmar",
|
|
39
44
|
"Delete": "Borrar",
|
|
40
45
|
"Draft": "Sequía",
|
|
46
|
+
"diploma": "Diploma",
|
|
41
47
|
"answer_the_question": "Responda a la pregunta",
|
|
42
48
|
"Edit": "Editar",
|
|
43
49
|
"Explore": "Explorar",
|
|
@@ -54,6 +60,8 @@
|
|
|
54
60
|
"learning_priorities_brand_description": "Define las prioridades de aprendizaje de tu empresa con habilidades, listas de reproducción o certificaciones. Aparecerán en la página Mi aprendizaje.",
|
|
55
61
|
"media_stars_to_win_plural": "Gana {{count}} estrellas adicionales en este capítulo la primera vez que veas una lección.",
|
|
56
62
|
"media_stars_to_win": "Gana {{count}} estrellas adicionales en este capítulo la primera vez que veas una lección.",
|
|
63
|
+
"modules": "Modules",
|
|
64
|
+
"modules_completed": "modules completed",
|
|
57
65
|
"More": "Más",
|
|
58
66
|
"More details": "Más detalles",
|
|
59
67
|
"New media": "Nueva lección",
|
package/locales/et/global.json
CHANGED
|
@@ -12,11 +12,16 @@
|
|
|
12
12
|
"associated_skills": "Seotud oskused",
|
|
13
13
|
"Back to Dashboard Home": "Tagasi esilehele",
|
|
14
14
|
"back_to_catalog": "Tagasi kursuste esilehele",
|
|
15
|
+
"badge": "Badge",
|
|
16
|
+
"bonus_stars": "Bonus stars",
|
|
15
17
|
"cart_title": "Coorpacademy tellimus",
|
|
16
18
|
"challenges you on": "esitas sulle väljakutse",
|
|
19
|
+
"download": "Download",
|
|
17
20
|
"is challenging you": "{{username}} esitab sulle väljakutse {{courseName}}",
|
|
18
21
|
"items": "esemed",
|
|
19
22
|
"certificate": "tunnistus",
|
|
23
|
+
"certification": "Certification",
|
|
24
|
+
"certification_progress_wrapper_subtitle": "To unlock your rewards, you need to complete this certification",
|
|
20
25
|
"chapters": "peatükid",
|
|
21
26
|
"Close": "Sulge",
|
|
22
27
|
"clue_stars_to_loose_plural": "Vihje kasutamine vähendab saadavat punktisummat {{count}} võrra (juhul, kui vastad õigesti)",
|
|
@@ -38,6 +43,7 @@
|
|
|
38
43
|
"confirm": "Kinnita",
|
|
39
44
|
"Delete": "Kustuta",
|
|
40
45
|
"Draft": "Mustand",
|
|
46
|
+
"diploma": "Diploma",
|
|
41
47
|
"answer_the_question": "Vastake küsimusele",
|
|
42
48
|
"Edit": "Muuda",
|
|
43
49
|
"Explore": "Avasta",
|
|
@@ -54,6 +60,8 @@
|
|
|
54
60
|
"learning_priorities_brand_description": "Määrake oma ettevõtte õppimisprioriteedid oskuste, esitusloendite või sertifikaatide abil. Need kuvatakse lehel Minu õppimine.",
|
|
55
61
|
"media_stars_to_win_plural": "Võida selles peatükis õppetunni esmakordsel vaatamisel {{count}} lisatähepunkti!",
|
|
56
62
|
"media_stars_to_win": "Võida selles peatükis õppetunni esmakordsel vaatamisel {{count}} lisatähepunkt!",
|
|
63
|
+
"modules": "Modules",
|
|
64
|
+
"modules_completed": "modules completed",
|
|
57
65
|
"More": "Lisaks",
|
|
58
66
|
"More details": "Rohkem detaile",
|
|
59
67
|
"New media": "Uus õppetund",
|
package/locales/fi/global.json
CHANGED
|
@@ -12,11 +12,16 @@
|
|
|
12
12
|
"associated_skills": "Liittyvät taidot",
|
|
13
13
|
"Back to Dashboard Home": "Takaisin koontinäytön kotisivulle",
|
|
14
14
|
"back_to_catalog": "Takaisin kursseihin",
|
|
15
|
+
"badge": "Badge",
|
|
16
|
+
"bonus_stars": "Bonus stars",
|
|
15
17
|
"cart_title": "Coorpacademyn tilaus",
|
|
16
18
|
"challenges you on": "haastaa sinut",
|
|
19
|
+
"download": "Download",
|
|
17
20
|
"is challenging you": "{{username}} haastaa sinut {{courseName}}",
|
|
18
21
|
"items": "kohteita",
|
|
19
22
|
"certificate": "Todistus",
|
|
23
|
+
"certification": "Certification",
|
|
24
|
+
"certification_progress_wrapper_subtitle": "To unlock your rewards, you need to complete this certification",
|
|
20
25
|
"chapters": "kappaleet",
|
|
21
26
|
"Close": "Sulje",
|
|
22
27
|
"clue_stars_to_loose_plural": "Jos avaat tämän vihjeen, voitat tästä kysymyksestä {{count}} tähteä vähemmän (jos saat sen oikein)",
|
|
@@ -38,6 +43,7 @@
|
|
|
38
43
|
"confirm": "Vahvista",
|
|
39
44
|
"Delete": "Poista",
|
|
40
45
|
"Draft": "Luonnos",
|
|
46
|
+
"diploma": "Diploma",
|
|
41
47
|
"answer_the_question": "Vastaa kysymykseen",
|
|
42
48
|
"Edit": "Muokkaa",
|
|
43
49
|
"Explore": "Tutustu",
|
|
@@ -54,6 +60,8 @@
|
|
|
54
60
|
"learning_priorities_brand_description": "Määritä yrityksesi oppimisprioriteetit taitojen, soittolistojen tai sertifikaattien avulla. Ne näkyvät Oma oppiminen -sivulla.",
|
|
55
61
|
"media_stars_to_win_plural": "Voita {{count}} ylimääräistä tähteä tässä kappaleessa, kun katsot oppitunnin ensimmäisen kerran!",
|
|
56
62
|
"media_stars_to_win": "Voita {{count}} ylimääräinen tähti tässä kappaleessa, kun katsot oppitunnin ensimmäisen kerran!",
|
|
63
|
+
"modules": "Modules",
|
|
64
|
+
"modules_completed": "modules completed",
|
|
57
65
|
"More": "Enemmän",
|
|
58
66
|
"More details": "Lisää tietoja",
|
|
59
67
|
"New media": "Uusi oppitunti",
|
package/locales/fr/global.json
CHANGED
|
@@ -12,11 +12,16 @@
|
|
|
12
12
|
"associated_skills": "Compétences associées",
|
|
13
13
|
"Back to Dashboard Home": "Retour à l’accueil du tableau de bord",
|
|
14
14
|
"back_to_catalog": "Retour aux cours",
|
|
15
|
+
"badge": "Badge",
|
|
16
|
+
"bonus_stars": "Bonus stars",
|
|
15
17
|
"cart_title": "Abonnement Coorpacademy ",
|
|
16
18
|
"challenges you on": "vous défie sur",
|
|
19
|
+
"download": "Download",
|
|
17
20
|
"is challenging you": "{{username}} vous défie {{courseName}}",
|
|
18
21
|
"items": "articles",
|
|
19
22
|
"certificate": "Certificat",
|
|
23
|
+
"certification": "Certification",
|
|
24
|
+
"certification_progress_wrapper_subtitle": "To unlock your rewards, you need to complete this certification",
|
|
20
25
|
"chapters": "chapitres",
|
|
21
26
|
"Close": "Fermer",
|
|
22
27
|
"clue_stars_to_loose_plural": "En regardant l'indice, cette question vous rapportera {{count}} étoiles en moins (si vous y répondez correctement)",
|
|
@@ -38,6 +43,7 @@
|
|
|
38
43
|
"confirm": "Confirmer",
|
|
39
44
|
"Delete": "Supprimer",
|
|
40
45
|
"Draft": "Brouillon",
|
|
46
|
+
"diploma": "Diploma",
|
|
41
47
|
"answer_the_question": "Répondez à la question",
|
|
42
48
|
"Edit": "Modifier",
|
|
43
49
|
"Explore": "Explorer",
|
|
@@ -54,6 +60,8 @@
|
|
|
54
60
|
"learning_priorities_brand_description": "Définissez les priorités d'apprentissage de votre entreprise avec des compétences, des playlists ou des certifications. Elles apparaîtront sur la page Mon apprentissage.",
|
|
55
61
|
"media_stars_to_win_plural": "Gagnez {{count}} étoiles supplémentaires par chapitre en consultant la leçon !",
|
|
56
62
|
"media_stars_to_win": "Gagnez {{count}} étoile supplémentaire par chapitre en consultant la leçon !",
|
|
63
|
+
"modules": "Modules",
|
|
64
|
+
"modules_completed": "modules completed",
|
|
57
65
|
"More": "Plus",
|
|
58
66
|
"More details": "Plus de détails",
|
|
59
67
|
"New media": "Nouvelle leçon",
|