@coorpacademy/components 11.32.20 → 11.32.21

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.
Files changed (143) hide show
  1. package/es/atom/radio-with-title/index.d.ts +6 -0
  2. package/es/atom/radio-with-title/index.d.ts.map +1 -1
  3. package/es/atom/radio-with-title/types.d.ts +6 -0
  4. package/es/atom/radio-with-title/types.d.ts.map +1 -1
  5. package/es/atom/tag/style.css +2 -1
  6. package/es/atom/title/index.d.ts +6 -0
  7. package/es/atom/title/index.d.ts.map +1 -1
  8. package/es/atom/title/index.js +16 -4
  9. package/es/atom/title/index.js.map +1 -1
  10. package/es/atom/title/style.css +13 -0
  11. package/es/molecule/cm-popin/types.d.ts +6 -0
  12. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  13. package/es/molecule/dashboard/cards-list/index.d.ts +8 -2
  14. package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  15. package/es/molecule/dashboard/cards-list/index.js +28 -27
  16. package/es/molecule/dashboard/cards-list/index.js.map +1 -1
  17. package/es/molecule/dashboard/cards-list/prop-types.d.ts +1 -0
  18. package/es/molecule/dashboard/cards-list/prop-types.d.ts.map +1 -1
  19. package/es/molecule/dashboard/cards-list/prop-types.js.map +1 -1
  20. package/es/molecule/dashboard/cards-list/style.css +12 -29
  21. package/es/molecule/learning-priority-card/index.d.ts +1 -3
  22. package/es/molecule/learning-priority-card/index.d.ts.map +1 -1
  23. package/es/molecule/learning-priority-card/index.js +1 -3
  24. package/es/molecule/learning-priority-card/index.js.map +1 -1
  25. package/es/molecule/learning-priority-card/style.css +2 -0
  26. package/es/molecule/learning-priority-card/types.d.ts +2 -6
  27. package/es/molecule/learning-priority-card/types.d.ts.map +1 -1
  28. package/es/molecule/learning-priority-card/types.js +1 -3
  29. package/es/molecule/learning-priority-card/types.js.map +1 -1
  30. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +6 -0
  31. package/es/molecule/title-radio-wrapper/index.d.ts +6 -0
  32. package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  33. package/es/molecule/title-radio-wrapper/types.d.ts +6 -0
  34. package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  35. package/es/organism/rewards-form/index.d.ts +6 -0
  36. package/es/organism/select-opponents/index.d.ts +6 -0
  37. package/es/organism/select-opponents/index.d.ts.map +1 -1
  38. package/es/organism/select-opponents/types.d.ts +6 -0
  39. package/es/organism/select-opponents/types.d.ts.map +1 -1
  40. package/es/organism/title-and-input/index.d.ts +12 -0
  41. package/es/organism/title-and-input/index.d.ts.map +1 -1
  42. package/es/organism/title-and-input/types.d.ts +12 -0
  43. package/es/organism/title-and-input/types.d.ts.map +1 -1
  44. package/es/organism/wizard-contents/index.d.ts +6 -0
  45. package/es/template/app-player/loading/index.d.ts +6 -0
  46. package/es/template/app-player/player/index.d.ts +12 -0
  47. package/es/template/app-player/player/slides/index.d.ts +6 -0
  48. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  49. package/es/template/app-player/popin-correction/index.d.ts +6 -0
  50. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  51. package/es/template/app-player/popin-end/index.d.ts +14 -2
  52. package/es/template/app-player/popin-end/summary.d.ts +8 -2
  53. package/es/template/app-review/index.d.ts +6 -0
  54. package/es/template/app-review/index.d.ts.map +1 -1
  55. package/es/template/app-review/player/prop-types.d.ts +6 -0
  56. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  57. package/es/template/app-review/prop-types.d.ts +6 -0
  58. package/es/template/app-review/prop-types.d.ts.map +1 -1
  59. package/es/template/back-office/brand-update/index.d.ts +6 -0
  60. package/es/template/common/dashboard/index.d.ts +12 -0
  61. package/es/template/common/dashboard/index.d.ts.map +1 -1
  62. package/es/template/common/dashboard/index.js +27 -1
  63. package/es/template/common/dashboard/index.js.map +1 -1
  64. package/es/template/common/search-page/index.d.ts +14 -2
  65. package/es/template/external-course/index.d.ts +6 -0
  66. package/es/template/my-learning/index.d.ts +151 -1
  67. package/es/template/my-learning/index.d.ts.map +1 -1
  68. package/es/template/my-learning/index.js +35 -3
  69. package/es/template/my-learning/index.js.map +1 -1
  70. package/es/template/my-learning/style.css +18 -3
  71. package/es/template/teams-dashboard/index.d.ts +8 -2
  72. package/lib/atom/radio-with-title/index.d.ts +6 -0
  73. package/lib/atom/radio-with-title/index.d.ts.map +1 -1
  74. package/lib/atom/radio-with-title/types.d.ts +6 -0
  75. package/lib/atom/radio-with-title/types.d.ts.map +1 -1
  76. package/lib/atom/tag/style.css +2 -1
  77. package/lib/atom/title/index.d.ts +6 -0
  78. package/lib/atom/title/index.d.ts.map +1 -1
  79. package/lib/atom/title/index.js +18 -4
  80. package/lib/atom/title/index.js.map +1 -1
  81. package/lib/atom/title/style.css +13 -0
  82. package/lib/molecule/cm-popin/types.d.ts +6 -0
  83. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  84. package/lib/molecule/dashboard/cards-list/index.d.ts +8 -2
  85. package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  86. package/lib/molecule/dashboard/cards-list/index.js +29 -27
  87. package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
  88. package/lib/molecule/dashboard/cards-list/prop-types.d.ts +1 -0
  89. package/lib/molecule/dashboard/cards-list/prop-types.d.ts.map +1 -1
  90. package/lib/molecule/dashboard/cards-list/prop-types.js.map +1 -1
  91. package/lib/molecule/dashboard/cards-list/style.css +12 -29
  92. package/lib/molecule/learning-priority-card/index.d.ts +1 -3
  93. package/lib/molecule/learning-priority-card/index.d.ts.map +1 -1
  94. package/lib/molecule/learning-priority-card/index.js +1 -3
  95. package/lib/molecule/learning-priority-card/index.js.map +1 -1
  96. package/lib/molecule/learning-priority-card/style.css +2 -0
  97. package/lib/molecule/learning-priority-card/types.d.ts +2 -6
  98. package/lib/molecule/learning-priority-card/types.d.ts.map +1 -1
  99. package/lib/molecule/learning-priority-card/types.js +1 -3
  100. package/lib/molecule/learning-priority-card/types.js.map +1 -1
  101. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +6 -0
  102. package/lib/molecule/title-radio-wrapper/index.d.ts +6 -0
  103. package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  104. package/lib/molecule/title-radio-wrapper/types.d.ts +6 -0
  105. package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  106. package/lib/organism/rewards-form/index.d.ts +6 -0
  107. package/lib/organism/select-opponents/index.d.ts +6 -0
  108. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  109. package/lib/organism/select-opponents/types.d.ts +6 -0
  110. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  111. package/lib/organism/title-and-input/index.d.ts +12 -0
  112. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  113. package/lib/organism/title-and-input/types.d.ts +12 -0
  114. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  115. package/lib/organism/wizard-contents/index.d.ts +6 -0
  116. package/lib/template/app-player/loading/index.d.ts +6 -0
  117. package/lib/template/app-player/player/index.d.ts +12 -0
  118. package/lib/template/app-player/player/slides/index.d.ts +6 -0
  119. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  120. package/lib/template/app-player/popin-correction/index.d.ts +6 -0
  121. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  122. package/lib/template/app-player/popin-end/index.d.ts +14 -2
  123. package/lib/template/app-player/popin-end/summary.d.ts +8 -2
  124. package/lib/template/app-review/index.d.ts +6 -0
  125. package/lib/template/app-review/index.d.ts.map +1 -1
  126. package/lib/template/app-review/player/prop-types.d.ts +6 -0
  127. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  128. package/lib/template/app-review/prop-types.d.ts +6 -0
  129. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  130. package/lib/template/back-office/brand-update/index.d.ts +6 -0
  131. package/lib/template/common/dashboard/index.d.ts +12 -0
  132. package/lib/template/common/dashboard/index.d.ts.map +1 -1
  133. package/lib/template/common/dashboard/index.js +29 -1
  134. package/lib/template/common/dashboard/index.js.map +1 -1
  135. package/lib/template/common/search-page/index.d.ts +14 -2
  136. package/lib/template/external-course/index.d.ts +6 -0
  137. package/lib/template/my-learning/index.d.ts +151 -1
  138. package/lib/template/my-learning/index.d.ts.map +1 -1
  139. package/lib/template/my-learning/index.js +42 -4
  140. package/lib/template/my-learning/index.js.map +1 -1
  141. package/lib/template/my-learning/style.css +18 -3
  142. package/lib/template/teams-dashboard/index.d.ts +8 -2
  143. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["Hero","React","memo","hero","welcome","style","propTypes","PropTypes","shape","HeroCard","Slide","Dashboard","props","sections","cookie","popinWithCards","showMoreOnLeftOrRightAriaLabel","buildSectionComponent","section","type","buildSection","index","sectionView","sectionsList","key","map","wrapper","arrayOf","oneOfType","BattleRequestList","CardsList","NewsList","StartBattle","ReviewBanner","LearningProfileBanner","CMPopin"],"sources":["../../../../src/template/common/dashboard/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Slide from '../../../atom/slide';\nimport HeroCard from '../../../molecule/hero';\nimport BattleRequestList from '../../../molecule/dashboard/battle-request-list';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport NewsList from '../../../molecule/dashboard/news-list';\nimport StartBattle from '../../../molecule/dashboard/start-battle';\nimport CMPopin from '../../../molecule/cm-popin';\nimport ReviewBanner from '../../../molecule/dashboard/review-banner';\nimport LearningProfileBanner from '../../../molecule/dashboard/learning-profile-banner';\nimport style from './style.css';\n\nconst Hero = React.memo(function Hero({hero, welcome}) {\n return <div className={style.hero}>{hero ? <HeroCard {...hero} /> : <Slide {...welcome} />}</div>;\n});\n\nHero.propTypes = {\n hero: PropTypes.shape(HeroCard.propTypes),\n welcome: PropTypes.shape(Slide.propTypes)\n};\n\nconst Dashboard = props => {\n const {\n sections = [],\n hero,\n welcome,\n cookie,\n popinWithCards,\n 'arrows-aria-label': showMoreOnLeftOrRightAriaLabel\n } = props;\n const buildSectionComponent = section => {\n const {type} = section;\n switch (type) {\n case 'hero':\n return <Hero hero={hero} welcome={welcome} />;\n case 'battleRequests':\n return <BattleRequestList {...section} />;\n case 'cards':\n return <CardsList {...section} arrows-aria-label={showMoreOnLeftOrRightAriaLabel} />;\n case 'news':\n return <NewsList {...section} />;\n case 'battle':\n return <StartBattle {...section} />;\n case 'review':\n return <ReviewBanner {...section} />;\n case 'learningProfile':\n return <LearningProfileBanner {...section} />;\n default:\n return null;\n }\n };\n\n const buildSection = (section, index) => {\n const sectionView = buildSectionComponent(section);\n\n return <div key={index}>{sectionView}</div>;\n };\n\n const sectionsList = [{type: 'hero', key: 'hero'}, ...sections].map(section => (\n <div key={section.key}>{buildSection(section)}</div>\n ));\n return (\n <div className={style.wrapper} data-name=\"dashboard\">\n {sectionsList}\n {cookie ? <CMPopin {...cookie} /> : null}\n {popinWithCards ? (\n <div className={style.popinWithCards}>\n <CMPopin {...popinWithCards} />\n </div>\n ) : null}\n </div>\n );\n};\n\nDashboard.propTypes = {\n hero: Hero.propTypes.hero,\n welcome: Hero.propTypes.welcome,\n sections: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape(BattleRequestList.propTypes),\n PropTypes.shape(CardsList.propTypes),\n PropTypes.shape(NewsList.propTypes),\n PropTypes.shape(StartBattle.propTypes),\n PropTypes.shape(ReviewBanner.propTypes),\n PropTypes.shape(LearningProfileBanner.propTypes)\n ])\n ),\n cookie: PropTypes.shape(CMPopin.propTypes),\n 'arrows-aria-label': CardsList.propTypes['arrows-aria-label'],\n popinWithCards: PropTypes.shape(CMPopin.propTypes)\n};\nexport default Dashboard;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,IAAI,gBAAGC,cAAA,CAAMC,IAAN,CAAW,SAASF,IAAT,CAAc;EAACG,IAAD;EAAOC;AAAP,CAAd,EAA+B;EACrD,oBAAO;IAAK,SA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,CAAgB0B,8BAAA,CAAsB5B,SAAtC,CANkB,CAApB,CADQ,CAHU;EAapBQ,MAAM,EAAEP,kBAAA,CAAUC,KAAV,CAAgB2B,gBAAA,CAAQ7B,SAAxB,CAbY;EAcpB,qBAAqBwB,kBAAA,CAAUxB,SAAV,CAAoB,mBAApB,CAdD;EAepBS,cAAc,EAAER,kBAAA,CAAUC,KAAV,CAAgB2B,gBAAA,CAAQ7B,SAAxB;AAfI,CAAtB;eAiBeK,S"}
1
+ {"version":3,"file":"index.js","names":["Hero","React","memo","hero","welcome","style","propTypes","PropTypes","shape","HeroCard","Slide","Dashboard","props","sections","cookie","popinWithCards","showMoreOnLeftOrRightAriaLabel","buildSectionComponent","section","type","title","subtitle","icon","iconName","iconColor","borderRadius","backgroundColor","tag","label","cards","size","buildSection","index","sectionView","sectionsList","key","map","wrapper","arrayOf","oneOfType","BattleRequestList","CardsList","learningPrioritiesPropTypes","NewsList","StartBattle","ReviewBanner","LearningProfileBanner","CMPopin"],"sources":["../../../../src/template/common/dashboard/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {size} from 'lodash/fp';\nimport Slide from '../../../atom/slide';\nimport HeroCard from '../../../molecule/hero';\nimport BattleRequestList from '../../../molecule/dashboard/battle-request-list';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport NewsList from '../../../molecule/dashboard/news-list';\nimport StartBattle from '../../../molecule/dashboard/start-battle';\nimport CMPopin from '../../../molecule/cm-popin';\nimport ReviewBanner from '../../../molecule/dashboard/review-banner';\nimport LearningProfileBanner from '../../../molecule/dashboard/learning-profile-banner';\nimport Title from '../../../atom/title';\nimport {learningPrioritiesPropTypes} from '../../my-learning';\nimport style from './style.css';\n\nconst Hero = React.memo(function Hero({hero, welcome}) {\n return <div className={style.hero}>{hero ? <HeroCard {...hero} /> : <Slide {...welcome} />}</div>;\n});\n\nHero.propTypes = {\n hero: PropTypes.shape(HeroCard.propTypes),\n welcome: PropTypes.shape(Slide.propTypes)\n};\n\nconst Dashboard = props => {\n const {\n sections = [],\n hero,\n welcome,\n cookie,\n popinWithCards,\n 'arrows-aria-label': showMoreOnLeftOrRightAriaLabel\n } = props;\n const buildSectionComponent = section => {\n const {type} = section;\n switch (type) {\n case 'hero':\n return <Hero hero={hero} welcome={welcome} />;\n case 'battleRequests':\n return <BattleRequestList {...section} />;\n case 'learningPrioritiesCards': {\n return (\n <CardsList\n {...section}\n title={\n <Title\n {...{\n type: 'form-group',\n title: section.title,\n subtitle: section.subtitle,\n icon: {\n iconName: 'sign-post',\n iconColor: '#A32700',\n borderRadius: '12px',\n backgroundColor: '#FFDCD1'\n },\n tag: {\n label: `${size(section.cards)}`,\n size: 'S'\n }\n }}\n />\n }\n arrows-aria-label={showMoreOnLeftOrRightAriaLabel}\n />\n );\n }\n case 'cards':\n return <CardsList {...section} arrows-aria-label={showMoreOnLeftOrRightAriaLabel} />;\n case 'news':\n return <NewsList {...section} />;\n case 'battle':\n return <StartBattle {...section} />;\n case 'review':\n return <ReviewBanner {...section} />;\n case 'learningProfile':\n return <LearningProfileBanner {...section} />;\n default:\n return null;\n }\n };\n\n const buildSection = (section, index) => {\n const sectionView = buildSectionComponent(section);\n\n return <div key={index}>{sectionView}</div>;\n };\n\n const sectionsList = [{type: 'hero', key: 'hero'}, ...sections].map(section => (\n <div key={section.key}>{buildSection(section)}</div>\n ));\n return (\n <div className={style.wrapper} data-name=\"dashboard\">\n {sectionsList}\n {cookie ? <CMPopin {...cookie} /> : null}\n {popinWithCards ? (\n <div className={style.popinWithCards}>\n <CMPopin {...popinWithCards} />\n </div>\n ) : null}\n </div>\n );\n};\n\nDashboard.propTypes = {\n hero: Hero.propTypes.hero,\n welcome: Hero.propTypes.welcome,\n sections: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape(BattleRequestList.propTypes),\n PropTypes.shape(CardsList.propTypes),\n PropTypes.shape(learningPrioritiesPropTypes),\n PropTypes.shape(NewsList.propTypes),\n PropTypes.shape(StartBattle.propTypes),\n PropTypes.shape(ReviewBanner.propTypes),\n PropTypes.shape(LearningProfileBanner.propTypes)\n ])\n ),\n cookie: PropTypes.shape(CMPopin.propTypes),\n 'arrows-aria-label': CardsList.propTypes['arrows-aria-label'],\n popinWithCards: PropTypes.shape(CMPopin.propTypes)\n};\nexport default Dashboard;\n"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,IAAI,gBAAGC,cAAA,CAAMC,IAAN,CAAW,SAASF,IAAT,CAAc;EAACG,IAAD;EAAOC;AAAP,CAAd,EAA+B;EACrD,oBAAO;IAAK,SAAS,EAAEC,cAAA,CAAMF;EAAtB,GAA6BA,IAAI,gBAAG,6BAAC,aAAD,EAAcA,IAAd,CAAH,gBAA4B,6BAAC,cAAD,EAAWC,OAAX,CAA7D,CAAP;AACD,CAFY,CAAb;;AAIAJ,IAAI,CAACM,SAAL,2CAAiB;EACfH,IAAI,EAAEI,kBAAA,CAAUC,KAAV,CAAgBC,aAAA,CAASH,SAAzB,CADS;EAEfF,OAAO,EAAEG,kBAAA,CAAUC,KAAV,CAAgBE,cAAA,CAAMJ,SAAtB;AAFM,CAAjB;;AAKA,MAAMK,SAAS,GAAGC,KAAK,IAAI;EACzB,MAAM;IACJC,QAAQ,GAAG,EADP;IAEJV,IAFI;IAGJC,OAHI;IAIJU,MAJI;IAKJC,cALI;IAMJ,qBAAqBC;EANjB,IAOFJ,KAPJ;;EAQA,MAAMK,qBAAqB,GAAGC,OAAO,IAAI;IACvC,MAAM;MAACC;IAAD,IAASD,OAAf;;IACA,QAAQC,IAAR;MACE,KAAK,MAAL;QACE,oBAAO,6BAAC,IAAD;UAAM,IAAI,EAAEhB,IAAZ;UAAkB,OAAO,EAAEC;QAA3B,EAAP;;MACF,KAAK,gBAAL;QACE,oBAAO,6BAAC,0BAAD,EAAuBc,OAAvB,CAAP;;MACF,KAAK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C,KAAV,CAAgBuC,gBAAA,CAAQzC,SAAxB;AAhBI,CAAtB;eAkBeK,S"}
@@ -116,7 +116,7 @@ declare namespace SearchPage {
116
116
  dataName: PropTypes.Requireable<string>;
117
117
  title: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
118
118
  showMore: PropTypes.Requireable<string>;
119
- cards: PropTypes.Requireable<(PropTypes.InferProps<{
119
+ cards: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
120
120
  badge: PropTypes.Requireable<string>;
121
121
  image: PropTypes.Requireable<string>;
122
122
  disabled: PropTypes.Requireable<boolean>;
@@ -167,7 +167,12 @@ declare namespace SearchPage {
167
167
  progression: PropTypes.Requireable<string>;
168
168
  adaptive: PropTypes.Requireable<string>;
169
169
  }>>;
170
- }> | null | undefined)[]>;
170
+ }> | PropTypes.InferProps<{
171
+ title: PropTypes.Requireable<string>;
172
+ tagLabel: PropTypes.Requireable<string>;
173
+ progression: PropTypes.Requireable<number>;
174
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
175
+ }> | null | undefined> | null | undefined)[]>;
171
176
  customStyle: PropTypes.Requireable<{
172
177
  [x: string]: string | null | undefined;
173
178
  }>;
@@ -177,6 +182,7 @@ declare namespace SearchPage {
177
182
  showMoreOnLeftAriaLabel: PropTypes.Requireable<string>;
178
183
  showMoreOnRightAriaLabel: PropTypes.Requireable<string>;
179
184
  }>>;
185
+ type: PropTypes.Requireable<string>;
180
186
  testingSizes: PropTypes.Requireable<any>;
181
187
  }>>;
182
188
  const moreSortAriaLabel: PropTypes.Requireable<string>;
@@ -194,6 +200,12 @@ declare namespace SearchPage {
194
200
  'data-name': PropTypes.Requireable<string>;
195
201
  titleSize: PropTypes.Requireable<string>;
196
202
  subtitleSize: PropTypes.Requireable<string>;
203
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
204
+ tag: PropTypes.Requireable<PropTypes.InferProps<{
205
+ label: PropTypes.Requireable<string>;
206
+ type: PropTypes.Requireable<string>;
207
+ size: PropTypes.Requireable<string>;
208
+ }>>;
197
209
  }>>;
198
210
  headerIcon: PropTypes.Requireable<string>;
199
211
  backgroundImage: PropTypes.Requireable<string>;
@@ -33,6 +33,12 @@ declare namespace ExternalCourse {
33
33
  'data-name': PropTypes.Requireable<string>;
34
34
  titleSize: PropTypes.Requireable<string>;
35
35
  subtitleSize: PropTypes.Requireable<string>;
36
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
37
+ tag: PropTypes.Requireable<PropTypes.InferProps<{
38
+ label: PropTypes.Requireable<string>;
39
+ type: PropTypes.Requireable<string>;
40
+ size: PropTypes.Requireable<string>;
41
+ }>>;
36
42
  }>>;
37
43
  headerIcon: PropTypes.Requireable<string>;
38
44
  backgroundImage: PropTypes.Requireable<string>;
@@ -1,4 +1,80 @@
1
+ export const learningPrioritiesPropTypes: {
2
+ title: PropTypes.Requireable<string>;
3
+ subtitle: PropTypes.Requireable<string>;
4
+ contentType: PropTypes.Requireable<string>;
5
+ dataName: PropTypes.Requireable<string>;
6
+ showMore: PropTypes.Requireable<string>;
7
+ cards: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
8
+ badge: PropTypes.Requireable<string>;
9
+ image: PropTypes.Requireable<string>;
10
+ disabled: PropTypes.Requireable<boolean>;
11
+ adaptiv: PropTypes.Requireable<boolean>;
12
+ type: PropTypes.Requireable<string>;
13
+ title: PropTypes.Requireable<string>;
14
+ author: PropTypes.Requireable<string>;
15
+ certifiedAuthor: PropTypes.Requireable<boolean>;
16
+ customer: PropTypes.Requireable<PropTypes.InferProps<{
17
+ theme: PropTypes.Requireable<string>;
18
+ type: PropTypes.Requireable<string>;
19
+ name: PropTypes.Requireable<string>;
20
+ coorpOriginal: PropTypes.Validator<boolean>;
21
+ disabled: PropTypes.Requireable<boolean>;
22
+ 'aria-label': PropTypes.Requireable<string>;
23
+ }>>;
24
+ progress: PropTypes.Requireable<number>;
25
+ favorite: PropTypes.Requireable<boolean>;
26
+ addFavoriteToolTip: PropTypes.Requireable<string>;
27
+ removeFavoriteToolTip: PropTypes.Requireable<string>;
28
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
29
+ onFavoriteClick: PropTypes.Requireable<(...args: any[]) => any>;
30
+ isSelected: PropTypes.Requireable<boolean>;
31
+ notification: PropTypes.Requireable<PropTypes.InferProps<{
32
+ message: PropTypes.Validator<string>;
33
+ icon: PropTypes.Validator<string>;
34
+ }>>;
35
+ badgeCategory: PropTypes.Requireable<string>;
36
+ badgeLabel: PropTypes.Requireable<string>;
37
+ theme: PropTypes.Requireable<string>;
38
+ disabledContent: PropTypes.Requireable<string>;
39
+ 'aria-label': PropTypes.Requireable<string>;
40
+ 'background-aria-label': PropTypes.Requireable<string>;
41
+ 'favorite-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
42
+ favorite: PropTypes.Requireable<string>;
43
+ addToFavorite: PropTypes.Requireable<string>;
44
+ removeFromFavorite: PropTypes.Requireable<string>;
45
+ }>>;
46
+ 'selectable-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
47
+ select: PropTypes.Requireable<string>;
48
+ unSelect: PropTypes.Requireable<string>;
49
+ }>>;
50
+ 'customer-aria-label': PropTypes.Requireable<string>;
51
+ 'badge-aria-label': PropTypes.Requireable<string>;
52
+ 'disabled-aria-label': PropTypes.Requireable<string>;
53
+ 'card-content-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
54
+ author: PropTypes.Requireable<string>;
55
+ progression: PropTypes.Requireable<string>;
56
+ adaptive: PropTypes.Requireable<string>;
57
+ }>>;
58
+ }> | PropTypes.InferProps<{
59
+ title: PropTypes.Requireable<string>;
60
+ tagLabel: PropTypes.Requireable<string>;
61
+ progression: PropTypes.Requireable<number>;
62
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
63
+ }> | null | undefined> | null | undefined)[]>;
64
+ customStyle: PropTypes.Requireable<{
65
+ [x: string]: string | null | undefined;
66
+ }>;
67
+ onScroll: PropTypes.Requireable<(...args: any[]) => any>;
68
+ onShowMore: PropTypes.Requireable<(...args: any[]) => any>;
69
+ 'arrows-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
70
+ showMoreOnLeftAriaLabel: PropTypes.Requireable<string>;
71
+ showMoreOnRightAriaLabel: PropTypes.Requireable<string>;
72
+ }>>;
73
+ type: PropTypes.Requireable<string>;
74
+ testingSizes: PropTypes.Requireable<any>;
75
+ };
1
76
  export default MyLearning;
77
+ import PropTypes from "prop-types";
2
78
  declare function MyLearning(props: any, context: any): JSX.Element;
3
79
  declare namespace MyLearning {
4
80
  namespace contextTypes {
@@ -48,7 +124,81 @@ declare namespace MyLearning {
48
124
  const onSkillFocusConfirm: PropTypes.Requireable<(...args: any[]) => any>;
49
125
  const onReviewSkill: PropTypes.Requireable<(...args: any[]) => any>;
50
126
  const onExploreSkill: PropTypes.Requireable<(...args: any[]) => any>;
127
+ const learningPriorities: PropTypes.Requireable<PropTypes.InferProps<{
128
+ title: PropTypes.Requireable<string>;
129
+ subtitle: PropTypes.Requireable<string>;
130
+ contentType: PropTypes.Requireable<string>;
131
+ dataName: PropTypes.Requireable<string>;
132
+ showMore: PropTypes.Requireable<string>;
133
+ cards: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
134
+ badge: PropTypes.Requireable<string>;
135
+ image: PropTypes.Requireable<string>;
136
+ disabled: PropTypes.Requireable<boolean>;
137
+ adaptiv: PropTypes.Requireable<boolean>;
138
+ type: PropTypes.Requireable<string>;
139
+ title: PropTypes.Requireable<string>;
140
+ author: PropTypes.Requireable<string>;
141
+ certifiedAuthor: PropTypes.Requireable<boolean>;
142
+ customer: PropTypes.Requireable<PropTypes.InferProps<{
143
+ theme: PropTypes.Requireable<string>;
144
+ type: PropTypes.Requireable<string>;
145
+ name: PropTypes.Requireable<string>;
146
+ coorpOriginal: PropTypes.Validator<boolean>;
147
+ disabled: PropTypes.Requireable<boolean>;
148
+ 'aria-label': PropTypes.Requireable<string>;
149
+ }>>;
150
+ progress: PropTypes.Requireable<number>;
151
+ favorite: PropTypes.Requireable<boolean>;
152
+ addFavoriteToolTip: PropTypes.Requireable<string>;
153
+ removeFavoriteToolTip: PropTypes.Requireable<string>;
154
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
155
+ onFavoriteClick: PropTypes.Requireable<(...args: any[]) => any>;
156
+ isSelected: PropTypes.Requireable<boolean>;
157
+ notification: PropTypes.Requireable<PropTypes.InferProps<{
158
+ message: PropTypes.Validator<string>;
159
+ icon: PropTypes.Validator<string>;
160
+ }>>;
161
+ badgeCategory: PropTypes.Requireable<string>;
162
+ badgeLabel: PropTypes.Requireable<string>;
163
+ theme: PropTypes.Requireable<string>;
164
+ disabledContent: PropTypes.Requireable<string>;
165
+ 'aria-label': PropTypes.Requireable<string>;
166
+ 'background-aria-label': PropTypes.Requireable<string>;
167
+ 'favorite-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
168
+ favorite: PropTypes.Requireable<string>;
169
+ addToFavorite: PropTypes.Requireable<string>;
170
+ removeFromFavorite: PropTypes.Requireable<string>;
171
+ }>>;
172
+ 'selectable-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
173
+ select: PropTypes.Requireable<string>;
174
+ unSelect: PropTypes.Requireable<string>;
175
+ }>>;
176
+ 'customer-aria-label': PropTypes.Requireable<string>;
177
+ 'badge-aria-label': PropTypes.Requireable<string>;
178
+ 'disabled-aria-label': PropTypes.Requireable<string>;
179
+ 'card-content-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
180
+ author: PropTypes.Requireable<string>;
181
+ progression: PropTypes.Requireable<string>;
182
+ adaptive: PropTypes.Requireable<string>;
183
+ }>>;
184
+ }> | PropTypes.InferProps<{
185
+ title: PropTypes.Requireable<string>;
186
+ tagLabel: PropTypes.Requireable<string>;
187
+ progression: PropTypes.Requireable<number>;
188
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
189
+ }> | null | undefined> | null | undefined)[]>;
190
+ customStyle: PropTypes.Requireable<{
191
+ [x: string]: string | null | undefined;
192
+ }>;
193
+ onScroll: PropTypes.Requireable<(...args: any[]) => any>;
194
+ onShowMore: PropTypes.Requireable<(...args: any[]) => any>;
195
+ 'arrows-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
196
+ showMoreOnLeftAriaLabel: PropTypes.Requireable<string>;
197
+ showMoreOnRightAriaLabel: PropTypes.Requireable<string>;
198
+ }>>;
199
+ type: PropTypes.Requireable<string>;
200
+ testingSizes: PropTypes.Requireable<any>;
201
+ }>>;
51
202
  }
52
203
  }
53
- import PropTypes from "prop-types";
54
204
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/my-learning/index.js"],"names":[],"mappings":";AA8GA,mEA4XC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/my-learning/index.js"],"names":[],"mappings":"AA+gBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIE;;;AAnaF,mEAwZC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- exports.default = void 0;
4
+ exports.learningPrioritiesPropTypes = exports.default = void 0;
5
+
6
+ var _isEmpty2 = _interopRequireDefault(require("lodash/fp/isEmpty"));
7
+
8
+ var _size2 = _interopRequireDefault(require("lodash/fp/size"));
5
9
 
6
10
  var _sortBy2 = _interopRequireDefault(require("lodash/fp/sortBy"));
7
11
 
@@ -51,6 +55,10 @@ var _searchValueIncluded = _interopRequireDefault(require("../../util/search-val
51
55
 
52
56
  var _timeFormat = require("../../util/time-format");
53
57
 
58
+ var _cardsList = _interopRequireDefault(require("../../molecule/dashboard/cards-list"));
59
+
60
+ var _title = _interopRequireDefault(require("../../atom/title"));
61
+
54
62
  var _style = _interopRequireDefault(require("./style.css"));
55
63
 
56
64
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -59,6 +67,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
59
67
 
60
68
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
61
69
 
70
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
71
+
62
72
  const ChangeSkillFocusButton = (props, context) => {
63
73
  const {
64
74
  onClick
@@ -154,7 +164,8 @@ const MyLearning = (props, context) => {
154
164
  isLoading,
155
165
  onSkillFocusConfirm,
156
166
  onReviewSkill,
157
- onExploreSkill
167
+ onExploreSkill,
168
+ learningPriorities
158
169
  } = props;
159
170
  const {
160
171
  skin,
@@ -234,7 +245,26 @@ const MyLearning = (props, context) => {
234
245
  const ReviewTooltipContent = (0, _react.useCallback)(() => /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("b", null, translate('review_mode_tooltip_header'))), /*#__PURE__*/_react.default.createElement("p", null, translate('review_mode_tooltip_content')), /*#__PURE__*/_react.default.createElement("ol", null, /*#__PURE__*/_react.default.createElement("li", null, translate('review_mode_tooltip_content_part1')), /*#__PURE__*/_react.default.createElement("li", null, translate('review_mode_tooltip_content_part2')), /*#__PURE__*/_react.default.createElement("li", null, translate('review_mode_tooltip_content_part3')), /*#__PURE__*/_react.default.createElement("li", null, translate('review_mode_tooltip_content_part4')))), [translate]);
235
246
  return /*#__PURE__*/_react.default.createElement("div", {
236
247
  className: _style.default.backgroundContainer
237
- }, /*#__PURE__*/_react.default.createElement("div", {
248
+ }, (0, _isEmpty2.default)(learningPriorities?.cards) ? null : /*#__PURE__*/_react.default.createElement("div", {
249
+ className: _style.default.cardsListContainer
250
+ }, /*#__PURE__*/_react.default.createElement(_cardsList.default, _extends({}, learningPriorities, {
251
+ title: /*#__PURE__*/_react.default.createElement(_title.default, {
252
+ type: 'form-group',
253
+ title: learningPriorities.title,
254
+ subtitle: learningPriorities.subtitle,
255
+ icon: {
256
+ iconName: 'sign-post',
257
+ iconColor: '#A32700',
258
+ borderRadius: '12px',
259
+ backgroundColor: '#FFDCD1'
260
+ },
261
+ tag: {
262
+ label: `${(0, _size2.default)(learningPriorities.cards)}`,
263
+ type: 'default',
264
+ size: 'S'
265
+ }
266
+ })
267
+ }))), /*#__PURE__*/_react.default.createElement("div", {
238
268
  className: _style.default.container
239
269
  }, /*#__PURE__*/_react.default.createElement(_skillPickerModal.default, {
240
270
  skills: skills,
@@ -431,6 +461,13 @@ MyLearning.contextTypes = {
431
461
  skin: _provider.default.childContextTypes.skin,
432
462
  translate: _provider.default.childContextTypes.translate
433
463
  };
464
+
465
+ const learningPrioritiesPropTypes = _extends({}, _cardsList.default.propTypes, {
466
+ title: _propTypes.default.string,
467
+ subtitle: _propTypes.default.string
468
+ });
469
+
470
+ exports.learningPrioritiesPropTypes = learningPrioritiesPropTypes;
434
471
  MyLearning.propTypes = process.env.NODE_ENV !== "production" ? {
435
472
  skills: _propTypes.default.arrayOf(_propTypes.default.string),
436
473
  selectedSkills: _propTypes.default.arrayOf(_propTypes.default.string),
@@ -449,7 +486,8 @@ MyLearning.propTypes = process.env.NODE_ENV !== "production" ? {
449
486
  isLoading: _propTypes.default.bool,
450
487
  onSkillFocusConfirm: _propTypes.default.func,
451
488
  onReviewSkill: _propTypes.default.func,
452
- onExploreSkill: _propTypes.default.func
489
+ onExploreSkill: _propTypes.default.func,
490
+ learningPriorities: _propTypes.default.shape(learningPrioritiesPropTypes)
453
491
  } : {};
454
492
  var _default = MyLearning;
455
493
  exports.default = _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["ChangeSkillFocusButton","props","context","onClick","skin","translate","primarySkinColor","backgroundColor","convert","color","transition","position","faIcon","name","size","contextTypes","Provider","childContextTypes","propTypes","PropTypes","func","FilterButton","active","filter","skillTotal","Content","useCallback","style","skillFilterNumber","skillFilterNumberInActive","buttonProps","customStyle","width","content","bool","string","number","MyLearning","skills","selectedSkills","skillsInformation","skillsLocales","learnerFeature","isLoading","onSkillFocusConfirm","onReviewSkill","onExploreSkill","open","setOpen","useState","selectedSkillsList","setSelectedSkillsList","skillFocusSelectedOnChart","setSkillFocusSelectedOnChart","undefined","searchValue","setSearchValue","searchResults","setSearchResults","skillRef","activeFilter","setActiveFilter","skillsReviewReady","useMemo","skill","availableForReview","graphDatas","toFixed","graphLegends","filters","all","review","sumKpi","kpi","skillFocusSelectedOnChartScore","stats","coursedCompletedData","questionsToReviewData","learningTimeData","skillChartPaneLegends","focusedSkill","skillChartPanelProps","title","value","legend","icon","iconName","formatMinutes","handleOnDotClick","handleOpenSkillPicker","handleCloseSkillPicker","handleConfirmSkillPicker","focusSkillList","handleSearch","searchValueIncluded","handleSearchReset","ReviewTooltipContent","backgroundContainer","container","skillFocusContainer","skillFocusHeader","skillFocusHeaderWrapper","skillFocusHeaderIcon","faSize","wrapperSize","skillFocusHeaderContent","skillFocusHeaderTitle","skillFocusHeaderDescription","length","skillFocusContent","radarContainer","gradient","fill","stroke","percentage","background","label","skillFocusEmpty","img","skillFocusEmptyTitle","skillFocusEmptyDescription","skillListHeader","skillListHeaderIcon","skillListHeaderContent","skillListHeaderTitle","skillListHeaderDescription","infoIconTooltip","tooltip","toolBarContainer","skillFilterContainer","map","index","handleFilterClick","searchWrapper","placeholder","onChange","emptySearchResultContainer","emptySearchResultTitle","emptySearchResultDescription","emptySearchResultClearSearch","skillListContainer","skillListEmptyContainer","defaultStats","score","contentCompleted","questionsToReview","handleReviewSkill","handleExploreSkill","includes","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} 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 style from './style.css';\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=\"#FFFFFF\"\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 ? convert(`color(${primarySkinColor} a(0.07))`) : '#EAEAEB',\n color: active ? primarySkinColor : '#515161'\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))`) : '#FFFFFF',\n color: active ? primarySkinColor : '#9999A8',\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 onReviewSkill,\n onExploreSkill\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, getOr(0, [skill, 'stats', 'score'], skillsInformation).toFixed(1)]),\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: '#D9F4F7'}\n },\n {\n title: translate('skill_chart_side_panel_learning_hours'),\n value: formatMinutes(learningTimeData),\n legend: skillChartPaneLegends,\n icon: {iconName: 'clock', backgroundColor: '#FAD6DE'}\n },\n {\n title: translate('skill_chart_side_panel_questions_to_review'),\n value: `${questionsToReviewData}`,\n legend: skillChartPaneLegends,\n icon: {iconName: 'circle-question', backgroundColor: '#FFDCD1'}\n }\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 <div className={style.container}>\n <SkillPickerModal\n skills={skills}\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=\"#DDD1FF\"\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=\"#FFF9D1\"\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_mode_available' && 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 handleReviewSkill() {\n onReviewSkill(skill);\n }\n function handleExploreSkill() {\n onExploreSkill(skill);\n }\n const {score, content, questionsToReview, contentCompleted} = skillsInformation[\n skill\n ]\n ? skillsInformation[skill].stats\n : defaultStats;\n return (\n <div key={index}>\n <LearnerSkillCard\n skillTitle={skillsLocales[skill]}\n focus={selectedSkills.includes(skill)}\n metrics={{\n score: score.toFixed(1),\n content,\n questionsToReview,\n contentCompleted\n }}\n review={\n skillsInformation[skill]\n ? skillsInformation[skill].availableForReview\n : false\n }\n onReviewClick={handleReviewSkill}\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 onReviewSkill: PropTypes.func,\n onExploreSkill: PropTypes.func\n};\n\nexport default MyLearning;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,sBAAsB,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EACjD,MAAM;IAACC;EAAD,IAAYF,KAAlB;EACA,MAAM;IAACG,IAAD;IAAOC;EAAP,IAAoBH,OAA1B;EACA,MAAMI,gBAAgB,GAAG,mBAAI,gBAAJ,EAAsBF,IAAtB,CAAzB;EAEA,oBACE;IAAK,aAAU;EAAf,gBACE,6BAAC,mBAAD;IACE,WAAW,EAAE;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CAAkBlI,kBAAA,CAAUgB,MAA5B,CADa;EAErBI,cAAc,EAAEpB,kBAAA,CAAUkI,OAAV,CAAkBlI,kBAAA,CAAUgB,MAA5B,CAFK;EAGrBK,iBAAiB,EAAErB,kBAAA,CAAUmI,QAAV,CACjBnI,kBAAA,CAAUoI,KAAV,CAAgB;IACdtF,kBAAkB,EAAE9C,kBAAA,CAAUe,IADhB;IAEdyC,KAAK,EAAExD,kBAAA,CAAUoI,KAAV,CAAgB;MACrBR,KAAK,EAAE5H,kBAAA,CAAUiB,MADI;MAErBH,OAAO,EAAEd,kBAAA,CAAUiB,MAFE;MAGrB4G,gBAAgB,EAAE7H,kBAAA,CAAUiB,MAHP;MAIrB6G,iBAAiB,EAAE9H,kBAAA,CAAUiB,MAJR;MAKrBoH,YAAY,EAAErI,kBAAA,CAAUiB;IALH,CAAhB;EAFO,CAAhB,CADiB,CAHE;EAerBK,aAAa,EAAEtB,kBAAA,CAAUmI,QAAV,CAAmBnI,kBAAA,CAAUgB,MAA7B,CAfM;EAgBrBO,cAAc,EAAEvB,kBAAA,CAAUe,IAhBL;EAiBrBS,SAAS,EAAExB,kBAAA,CAAUe,IAjBA;EAkBrBU,mBAAmB,EAAEzB,kBAAA,CAAUC,IAlBV;EAmBrByB,aAAa,EAAE1B,kBAAA,CAAUC,IAnBJ;EAoBrB0B,cAAc,EAAE3B,kBAAA,CAAUC;AApBL,CAAvB;eAuBeiB,U"}
1
+ {"version":3,"file":"index.js","names":["ChangeSkillFocusButton","props","context","onClick","skin","translate","primarySkinColor","backgroundColor","convert","color","transition","position","faIcon","name","size","contextTypes","Provider","childContextTypes","propTypes","PropTypes","func","FilterButton","active","filter","skillTotal","Content","useCallback","style","skillFilterNumber","skillFilterNumberInActive","buttonProps","customStyle","width","content","bool","string","number","MyLearning","skills","selectedSkills","skillsInformation","skillsLocales","learnerFeature","isLoading","onSkillFocusConfirm","onReviewSkill","onExploreSkill","learningPriorities","open","setOpen","useState","selectedSkillsList","setSelectedSkillsList","skillFocusSelectedOnChart","setSkillFocusSelectedOnChart","undefined","searchValue","setSearchValue","searchResults","setSearchResults","skillRef","activeFilter","setActiveFilter","skillsReviewReady","useMemo","skill","availableForReview","graphDatas","toFixed","graphLegends","filters","all","review","sumKpi","kpi","skillFocusSelectedOnChartScore","stats","coursedCompletedData","questionsToReviewData","learningTimeData","skillChartPaneLegends","focusedSkill","skillChartPanelProps","title","value","legend","icon","iconName","formatMinutes","handleOnDotClick","handleOpenSkillPicker","handleCloseSkillPicker","handleConfirmSkillPicker","focusSkillList","handleSearch","searchValueIncluded","handleSearchReset","ReviewTooltipContent","backgroundContainer","cards","cardsListContainer","type","subtitle","iconColor","borderRadius","tag","label","container","skillFocusContainer","skillFocusHeader","skillFocusHeaderWrapper","skillFocusHeaderIcon","faSize","wrapperSize","skillFocusHeaderContent","skillFocusHeaderTitle","skillFocusHeaderDescription","length","skillFocusContent","radarContainer","gradient","fill","stroke","percentage","background","skillFocusEmpty","img","skillFocusEmptyTitle","skillFocusEmptyDescription","skillListHeader","skillListHeaderIcon","skillListHeaderContent","skillListHeaderTitle","skillListHeaderDescription","infoIconTooltip","tooltip","toolBarContainer","skillFilterContainer","map","index","handleFilterClick","searchWrapper","placeholder","onChange","emptySearchResultContainer","emptySearchResultTitle","emptySearchResultDescription","emptySearchResultClearSearch","skillListContainer","skillListEmptyContainer","defaultStats","score","contentCompleted","questionsToReview","handleReviewSkill","handleExploreSkill","includes","learningPrioritiesPropTypes","CardsList","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 style from './style.css';\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=\"#FFFFFF\"\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 ? convert(`color(${primarySkinColor} a(0.07))`) : '#EAEAEB',\n color: active ? primarySkinColor : '#515161'\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))`) : '#FFFFFF',\n color: active ? primarySkinColor : '#9999A8',\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 onReviewSkill,\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, getOr(0, [skill, 'stats', 'score'], skillsInformation).toFixed(1)]),\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: '#D9F4F7'}\n },\n {\n title: translate('skill_chart_side_panel_learning_hours'),\n value: formatMinutes(learningTimeData),\n legend: skillChartPaneLegends,\n icon: {iconName: 'clock', backgroundColor: '#FAD6DE'}\n },\n {\n title: translate('skill_chart_side_panel_questions_to_review'),\n value: `${questionsToReviewData}`,\n legend: skillChartPaneLegends,\n icon: {iconName: 'circle-question', backgroundColor: '#FFDCD1'}\n }\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: learningPriorities.title,\n subtitle: learningPriorities.subtitle,\n icon: {\n iconName: 'sign-post',\n iconColor: '#A32700',\n borderRadius: '12px',\n backgroundColor: '#FFDCD1'\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 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=\"#DDD1FF\"\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=\"#FFF9D1\"\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_mode_available' && 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 handleReviewSkill() {\n onReviewSkill(skill);\n }\n function handleExploreSkill() {\n onExploreSkill(skill);\n }\n const {score, content, questionsToReview, contentCompleted} = skillsInformation[\n skill\n ]\n ? skillsInformation[skill].stats\n : defaultStats;\n return (\n <div key={index}>\n <LearnerSkillCard\n skillTitle={skillsLocales[skill]}\n focus={selectedSkills.includes(skill)}\n metrics={{\n score: score.toFixed(1),\n content,\n questionsToReview,\n contentCompleted\n }}\n review={\n skillsInformation[skill]\n ? skillsInformation[skill].availableForReview\n : false\n }\n onReviewClick={handleReviewSkill}\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\nexport const learningPrioritiesPropTypes = {\n ...CardsList.propTypes,\n title: PropTypes.string,\n subtitle: PropTypes.string\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 onReviewSkill: PropTypes.func,\n onExploreSkill: PropTypes.func,\n learningPriorities: PropTypes.shape(learningPrioritiesPropTypes)\n};\n\nexport default MyLearning;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,sBA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E/C,kBAAA,CAAUe,IADhB;IAEd0C,KAAK,EAAEzD,kBAAA,CAAU8I,KAAV,CAAgB;MACrBV,KAAK,EAAEpI,kBAAA,CAAUiB,MADI;MAErBH,OAAO,EAAEd,kBAAA,CAAUiB,MAFE;MAGrBoH,gBAAgB,EAAErI,kBAAA,CAAUiB,MAHP;MAIrBqH,iBAAiB,EAAEtI,kBAAA,CAAUiB,MAJR;MAKrB8H,YAAY,EAAE/I,kBAAA,CAAUiB;IALH,CAAhB;EAFO,CAAhB,CADiB,CAHE;EAerBK,aAAa,EAAEtB,kBAAA,CAAU6I,QAAV,CAAmB7I,kBAAA,CAAUgB,MAA7B,CAfM;EAgBrBO,cAAc,EAAEvB,kBAAA,CAAUe,IAhBL;EAiBrBS,SAAS,EAAExB,kBAAA,CAAUe,IAjBA;EAkBrBU,mBAAmB,EAAEzB,kBAAA,CAAUC,IAlBV;EAmBrByB,aAAa,EAAE1B,kBAAA,CAAUC,IAnBJ;EAoBrB0B,cAAc,EAAE3B,kBAAA,CAAUC,IApBL;EAqBrB2B,kBAAkB,EAAE5B,kBAAA,CAAU8I,KAAV,CAAgBJ,2BAAhB;AArBC,CAAvB;eAwBexH,U"}
@@ -3,6 +3,7 @@
3
3
  @value tablet from breakpoints;
4
4
  @value mobile from breakpoints;
5
5
  @value white from colors;
6
+ @value cm_grey_50 from colors;
6
7
  @value cm_grey_100 from colors;
7
8
  @value cm_grey_500 from colors;
8
9
 
@@ -10,12 +11,11 @@
10
11
  background-color: white;
11
12
  min-height: 100%;
12
13
  width: 100%;
14
+ font-family: "Gilroy";
15
+ font-style: normal;
13
16
  }
14
17
 
15
18
  .container {
16
- background-color: white;
17
- font-family: "Gilroy";
18
- font-style: normal;
19
19
  margin-top: 48px;
20
20
  margin-bottom: 48px;
21
21
  margin-left: auto;
@@ -28,10 +28,21 @@
28
28
  max-width: calc(1080px + 32px);
29
29
  }
30
30
 
31
+ .cardsListContainer {
32
+ background-color: cm_grey_50;
33
+ padding: 48px 0;
34
+ }
35
+
36
+ /* to override wrapper's style from CardsList component */
37
+ .cardsListContainer > :first-child {
38
+ padding: 0;
39
+ }
40
+
31
41
  .skillFocusContainer {
32
42
  border-radius: 16px;
33
43
  border: 1px solid cm_grey_100;
34
44
  overflow: hidden;
45
+ margin-top: 48px;
35
46
  margin-bottom: 40px;
36
47
  }
37
48
 
@@ -272,4 +283,8 @@
272
283
  .skillFocusContent {
273
284
  flex-direction: column;
274
285
  }
286
+
287
+ .cardsListContainer {
288
+ padding: 24px 16px;
289
+ }
275
290
  }
@@ -39,7 +39,7 @@ declare namespace TeamsDashboard {
39
39
  dataName: PropTypes.Requireable<string>;
40
40
  title: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
41
41
  showMore: PropTypes.Requireable<string>;
42
- cards: PropTypes.Requireable<(PropTypes.InferProps<{
42
+ cards: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
43
43
  badge: PropTypes.Requireable<string>;
44
44
  image: PropTypes.Requireable<string>;
45
45
  disabled: PropTypes.Requireable<boolean>;
@@ -90,7 +90,12 @@ declare namespace TeamsDashboard {
90
90
  progression: PropTypes.Requireable<string>;
91
91
  adaptive: PropTypes.Requireable<string>;
92
92
  }>>;
93
- }> | null | undefined)[]>;
93
+ }> | PropTypes.InferProps<{
94
+ title: PropTypes.Requireable<string>;
95
+ tagLabel: PropTypes.Requireable<string>;
96
+ progression: PropTypes.Requireable<number>;
97
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
98
+ }> | null | undefined> | null | undefined)[]>;
94
99
  customStyle: PropTypes.Requireable<{
95
100
  [x: string]: string | null | undefined;
96
101
  }>;
@@ -100,6 +105,7 @@ declare namespace TeamsDashboard {
100
105
  showMoreOnLeftAriaLabel: PropTypes.Requireable<string>;
101
106
  showMoreOnRightAriaLabel: PropTypes.Requireable<string>;
102
107
  }>>;
108
+ type: PropTypes.Requireable<string>;
103
109
  testingSizes: PropTypes.Requireable<any>;
104
110
  }> | null | undefined)[]>;
105
111
  const isLoading: PropTypes.Requireable<boolean>;