@coorpacademy/components 11.35.2-forcedeploy.13 → 11.35.2

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 (263) hide show
  1. package/es/atom/button-link/index.js +1 -1
  2. package/es/atom/button-link/index.js.map +1 -1
  3. package/es/atom/button-link/style.css +2 -2
  4. package/es/atom/icon/index.d.ts +17 -35
  5. package/es/atom/icon/index.d.ts.map +1 -1
  6. package/es/atom/icon/index.js +15 -32
  7. package/es/atom/icon/index.js.map +1 -1
  8. package/es/atom/radio-with-title/index.d.ts +3 -13
  9. package/es/atom/radio-with-title/index.d.ts.map +1 -1
  10. package/es/atom/radio-with-title/types.d.ts +2 -13
  11. package/es/atom/radio-with-title/types.d.ts.map +1 -1
  12. package/es/atom/status-item/index.native.js +1 -1
  13. package/es/atom/status-item/index.native.js.map +1 -1
  14. package/es/atom/tag/index.d.ts +1 -12
  15. package/es/atom/tag/style.css +0 -1
  16. package/es/atom/title/index.d.ts +2 -13
  17. package/es/molecule/banner/style.css +0 -1
  18. package/es/molecule/base-modal/style.css +1 -0
  19. package/es/molecule/bulk-progress-bar/index.js +2 -2
  20. package/es/molecule/bulk-progress-bar/index.js.map +1 -1
  21. package/es/molecule/certification-card/index.js +1 -1
  22. package/es/molecule/certification-card/index.js.map +1 -1
  23. package/es/molecule/cm-popin/types.d.ts +7 -28
  24. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  25. package/es/molecule/cm-popin/types.js +1 -1
  26. package/es/molecule/cm-popin/types.js.map +1 -1
  27. package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  28. package/es/molecule/dashboard/cards-list/index.js +0 -2
  29. package/es/molecule/dashboard/cards-list/index.js.map +1 -1
  30. package/es/molecule/learner-skill-card/index.js +8 -10
  31. package/es/molecule/learner-skill-card/index.js.map +1 -1
  32. package/es/molecule/learner-skill-card/style.css +0 -1
  33. package/es/molecule/learning-priority-modal/style.css +2 -3
  34. package/es/molecule/progress-wrapper/index.js +1 -1
  35. package/es/molecule/progress-wrapper/index.js.map +1 -1
  36. package/es/molecule/skills-chart-side-information-item/index.d.ts +1 -1
  37. package/es/molecule/skills-chart-side-information-panel/index.d.ts +1 -1
  38. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -13
  39. package/es/molecule/title-radio-wrapper/index.d.ts +3 -13
  40. package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  41. package/es/molecule/title-radio-wrapper/types.d.ts +2 -13
  42. package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  43. package/es/molecule/translation-modal/index.d.ts +1 -0
  44. package/es/molecule/translation-modal/index.d.ts.map +1 -1
  45. package/es/molecule/translation-modal/index.js +7 -24
  46. package/es/molecule/translation-modal/index.js.map +1 -1
  47. package/es/organism/cards-grid/index.d.ts +10 -48
  48. package/es/organism/cards-grid/index.d.ts.map +1 -1
  49. package/es/organism/cards-grid/index.js +2 -3
  50. package/es/organism/cards-grid/index.js.map +1 -1
  51. package/es/organism/content-skill-modal/index.d.ts +3 -13
  52. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  53. package/es/organism/content-skill-modal/types.d.ts +2 -12
  54. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  55. package/es/organism/list-item/index.js +5 -5
  56. package/es/organism/list-item/index.js.map +1 -1
  57. package/es/organism/list-item/style.css +17 -23
  58. package/es/organism/list-items/index.d.ts +2 -13
  59. package/es/organism/list-items/style.css +0 -1
  60. package/es/organism/rewards-form/index.d.ts +2 -13
  61. package/es/organism/select-opponents/index.d.ts +3 -13
  62. package/es/organism/select-opponents/index.d.ts.map +1 -1
  63. package/es/organism/select-opponents/types.d.ts +2 -13
  64. package/es/organism/select-opponents/types.d.ts.map +1 -1
  65. package/es/organism/sidebar/index.d.ts +2 -2
  66. package/es/organism/skill-edition/index.d.ts +52 -1261
  67. package/es/organism/skill-edition/index.d.ts.map +1 -1
  68. package/es/organism/skill-edition/index.js +224 -3
  69. package/es/organism/skill-edition/index.js.map +1 -1
  70. package/es/organism/skill-edition/types.d.ts +117 -1268
  71. package/es/organism/skill-edition/types.d.ts.map +1 -1
  72. package/es/organism/skill-edition/types.js +59 -7
  73. package/es/organism/skill-edition/types.js.map +1 -1
  74. package/es/organism/title-and-input/index.d.ts +5 -25
  75. package/es/organism/title-and-input/index.d.ts.map +1 -1
  76. package/es/organism/title-and-input/types.d.ts +4 -24
  77. package/es/organism/title-and-input/types.d.ts.map +1 -1
  78. package/es/organism/wizard-contents/index.d.ts +2 -13
  79. package/es/template/app-player/loading/index.d.ts +6 -27
  80. package/es/template/app-player/player/index.d.ts +12 -53
  81. package/es/template/app-player/player/slides/index.d.ts +6 -27
  82. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  83. package/es/template/app-player/popin-correction/index.d.ts +6 -26
  84. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  85. package/es/template/app-player/popin-end/index.d.ts +6 -27
  86. package/es/template/app-review/index.d.ts +7 -27
  87. package/es/template/app-review/index.d.ts.map +1 -1
  88. package/es/template/app-review/player/prop-types.d.ts +6 -27
  89. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  90. package/es/template/app-review/prop-types.d.ts +6 -27
  91. package/es/template/app-review/prop-types.d.ts.map +1 -1
  92. package/es/template/back-office/brand-update/index.d.ts +1113 -1713
  93. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  94. package/es/template/back-office/brand-update/index.js +12 -0
  95. package/es/template/back-office/brand-update/index.js.map +1 -1
  96. package/es/template/back-office/brand-update/utils.d.ts +1 -1
  97. package/es/template/common/dashboard/index.d.ts +12 -53
  98. package/es/template/common/search-page/index.d.ts +6 -27
  99. package/es/template/external-course/index.d.ts +6 -27
  100. package/es/template/skill-detail/all-courses.css +2 -3
  101. package/es/template/skill-detail/all-courses.d.ts +17 -52
  102. package/es/template/skill-detail/all-courses.d.ts.map +1 -1
  103. package/es/template/skill-detail/all-courses.js +11 -12
  104. package/es/template/skill-detail/all-courses.js.map +1 -1
  105. package/es/template/skill-detail/continue-learning.css +2 -7
  106. package/es/template/skill-detail/continue-learning.d.ts +12 -25
  107. package/es/template/skill-detail/continue-learning.d.ts.map +1 -1
  108. package/es/template/skill-detail/continue-learning.js.map +1 -1
  109. package/es/template/skill-detail/index.d.ts +71 -81
  110. package/es/template/skill-detail/index.d.ts.map +1 -1
  111. package/es/template/skill-detail/index.js +55 -87
  112. package/es/template/skill-detail/index.js.map +1 -1
  113. package/es/template/skill-detail/style.css +39 -97
  114. package/es/variables/colors.css +0 -2
  115. package/es/variables/colors.d.ts +2 -3
  116. package/es/variables/colors.d.ts.map +1 -1
  117. package/es/variables/colors.js +3 -4
  118. package/es/variables/colors.js.map +1 -1
  119. package/es/variables/theme.native.js +1 -1
  120. package/es/variables/theme.native.js.map +1 -1
  121. package/lib/atom/button-link/index.js +1 -1
  122. package/lib/atom/button-link/index.js.map +1 -1
  123. package/lib/atom/button-link/style.css +2 -2
  124. package/lib/atom/icon/index.d.ts +17 -35
  125. package/lib/atom/icon/index.d.ts.map +1 -1
  126. package/lib/atom/icon/index.js +18 -34
  127. package/lib/atom/icon/index.js.map +1 -1
  128. package/lib/atom/radio-with-title/index.d.ts +3 -13
  129. package/lib/atom/radio-with-title/index.d.ts.map +1 -1
  130. package/lib/atom/radio-with-title/types.d.ts +2 -13
  131. package/lib/atom/radio-with-title/types.d.ts.map +1 -1
  132. package/lib/atom/status-item/index.native.js +1 -1
  133. package/lib/atom/status-item/index.native.js.map +1 -1
  134. package/lib/atom/tag/index.d.ts +1 -12
  135. package/lib/atom/tag/style.css +0 -1
  136. package/lib/atom/title/index.d.ts +2 -13
  137. package/lib/molecule/banner/style.css +0 -1
  138. package/lib/molecule/base-modal/style.css +1 -0
  139. package/lib/molecule/bulk-progress-bar/index.js +2 -2
  140. package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
  141. package/lib/molecule/certification-card/index.js +1 -1
  142. package/lib/molecule/certification-card/index.js.map +1 -1
  143. package/lib/molecule/cm-popin/types.d.ts +7 -28
  144. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  145. package/lib/molecule/cm-popin/types.js +1 -1
  146. package/lib/molecule/cm-popin/types.js.map +1 -1
  147. package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  148. package/lib/molecule/dashboard/cards-list/index.js +0 -2
  149. package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
  150. package/lib/molecule/learner-skill-card/index.js +8 -10
  151. package/lib/molecule/learner-skill-card/index.js.map +1 -1
  152. package/lib/molecule/learner-skill-card/style.css +0 -1
  153. package/lib/molecule/learning-priority-modal/style.css +2 -3
  154. package/lib/molecule/progress-wrapper/index.js +1 -1
  155. package/lib/molecule/progress-wrapper/index.js.map +1 -1
  156. package/lib/molecule/skills-chart-side-information-item/index.d.ts +1 -1
  157. package/lib/molecule/skills-chart-side-information-panel/index.d.ts +1 -1
  158. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -13
  159. package/lib/molecule/title-radio-wrapper/index.d.ts +3 -13
  160. package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  161. package/lib/molecule/title-radio-wrapper/types.d.ts +2 -13
  162. package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  163. package/lib/molecule/translation-modal/index.d.ts +1 -0
  164. package/lib/molecule/translation-modal/index.d.ts.map +1 -1
  165. package/lib/molecule/translation-modal/index.js +6 -23
  166. package/lib/molecule/translation-modal/index.js.map +1 -1
  167. package/lib/organism/cards-grid/index.d.ts +10 -48
  168. package/lib/organism/cards-grid/index.d.ts.map +1 -1
  169. package/lib/organism/cards-grid/index.js +2 -3
  170. package/lib/organism/cards-grid/index.js.map +1 -1
  171. package/lib/organism/content-skill-modal/index.d.ts +3 -13
  172. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  173. package/lib/organism/content-skill-modal/types.d.ts +2 -12
  174. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  175. package/lib/organism/list-item/index.js +5 -5
  176. package/lib/organism/list-item/index.js.map +1 -1
  177. package/lib/organism/list-item/style.css +17 -23
  178. package/lib/organism/list-items/index.d.ts +2 -13
  179. package/lib/organism/list-items/style.css +0 -1
  180. package/lib/organism/rewards-form/index.d.ts +2 -13
  181. package/lib/organism/select-opponents/index.d.ts +3 -13
  182. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  183. package/lib/organism/select-opponents/types.d.ts +2 -13
  184. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  185. package/lib/organism/sidebar/index.d.ts +2 -2
  186. package/lib/organism/skill-edition/index.d.ts +52 -1261
  187. package/lib/organism/skill-edition/index.d.ts.map +1 -1
  188. package/lib/organism/skill-edition/index.js +224 -3
  189. package/lib/organism/skill-edition/index.js.map +1 -1
  190. package/lib/organism/skill-edition/types.d.ts +117 -1268
  191. package/lib/organism/skill-edition/types.d.ts.map +1 -1
  192. package/lib/organism/skill-edition/types.js +59 -7
  193. package/lib/organism/skill-edition/types.js.map +1 -1
  194. package/lib/organism/title-and-input/index.d.ts +5 -25
  195. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  196. package/lib/organism/title-and-input/types.d.ts +4 -24
  197. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  198. package/lib/organism/wizard-contents/index.d.ts +2 -13
  199. package/lib/template/app-player/loading/index.d.ts +6 -27
  200. package/lib/template/app-player/player/index.d.ts +12 -53
  201. package/lib/template/app-player/player/slides/index.d.ts +6 -27
  202. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  203. package/lib/template/app-player/popin-correction/index.d.ts +6 -26
  204. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  205. package/lib/template/app-player/popin-end/index.d.ts +6 -27
  206. package/lib/template/app-review/index.d.ts +7 -27
  207. package/lib/template/app-review/index.d.ts.map +1 -1
  208. package/lib/template/app-review/player/prop-types.d.ts +6 -27
  209. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  210. package/lib/template/app-review/prop-types.d.ts +6 -27
  211. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  212. package/lib/template/back-office/brand-update/index.d.ts +1113 -1713
  213. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  214. package/lib/template/back-office/brand-update/index.js +12 -0
  215. package/lib/template/back-office/brand-update/index.js.map +1 -1
  216. package/lib/template/back-office/brand-update/utils.d.ts +1 -1
  217. package/lib/template/common/dashboard/index.d.ts +12 -53
  218. package/lib/template/common/search-page/index.d.ts +6 -27
  219. package/lib/template/external-course/index.d.ts +6 -27
  220. package/lib/template/skill-detail/all-courses.css +2 -3
  221. package/lib/template/skill-detail/all-courses.d.ts +17 -52
  222. package/lib/template/skill-detail/all-courses.d.ts.map +1 -1
  223. package/lib/template/skill-detail/all-courses.js +11 -11
  224. package/lib/template/skill-detail/all-courses.js.map +1 -1
  225. package/lib/template/skill-detail/continue-learning.css +2 -7
  226. package/lib/template/skill-detail/continue-learning.d.ts +12 -25
  227. package/lib/template/skill-detail/continue-learning.d.ts.map +1 -1
  228. package/lib/template/skill-detail/continue-learning.js.map +1 -1
  229. package/lib/template/skill-detail/index.d.ts +71 -81
  230. package/lib/template/skill-detail/index.d.ts.map +1 -1
  231. package/lib/template/skill-detail/index.js +55 -87
  232. package/lib/template/skill-detail/index.js.map +1 -1
  233. package/lib/template/skill-detail/style.css +39 -97
  234. package/lib/variables/colors.css +0 -2
  235. package/lib/variables/colors.d.ts +2 -3
  236. package/lib/variables/colors.d.ts.map +1 -1
  237. package/lib/variables/colors.js +3 -4
  238. package/lib/variables/colors.js.map +1 -1
  239. package/lib/variables/theme.native.js +1 -1
  240. package/lib/variables/theme.native.js.map +1 -1
  241. package/locales/bs/global.json +1 -0
  242. package/locales/de/global.json +1 -0
  243. package/locales/es/global.json +1 -0
  244. package/locales/et/global.json +1 -0
  245. package/locales/fi/global.json +1 -0
  246. package/locales/fr/global.json +1 -0
  247. package/locales/hu/global.json +1 -0
  248. package/locales/hy/global.json +1 -0
  249. package/locales/ja/global.json +1 -0
  250. package/locales/nl/global.json +1 -0
  251. package/locales/pl/global.json +1 -0
  252. package/locales/pt/global.json +1 -0
  253. package/locales/ro/global.json +1 -0
  254. package/locales/sk/global.json +1 -0
  255. package/locales/sl/global.json +1 -0
  256. package/locales/sv/global.json +1 -0
  257. package/locales/tl/global.json +1 -0
  258. package/locales/tr/global.json +1 -0
  259. package/locales/uk/global.json +1 -0
  260. package/locales/vi/global.json +1 -0
  261. package/locales/zh/global.json +1 -0
  262. package/locales/zh_TW/global.json +1 -0
  263. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-update/index.js"],"names":[],"mappings":";AA6OA,sDAgDC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-update/index.js"],"names":[],"mappings":";AAmPA,sDAgDC"}
@@ -32,6 +32,8 @@ var _bulkInfos = _interopRequireDefault(require("../../../molecule/bulk-infos"))
32
32
  var _title = _interopRequireDefault(require("../../../atom/title"));
33
33
  var _skillEdition = _interopRequireDefault(require("../../../organism/skill-edition"));
34
34
  var _iconPickerModal = _interopRequireDefault(require("../../../molecule/icon-picker-modal"));
35
+ var _translationModal = _interopRequireDefault(require("../../../molecule/translation-modal"));
36
+ var _contentSkillModal = _interopRequireDefault(require("../../../organism/content-skill-modal"));
35
37
  var _style = _interopRequireDefault(require("./style.css"));
36
38
  var _utils = require("./utils");
37
39
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -132,6 +134,10 @@ const buildPopin = popin => {
132
134
  switch (popin.type) {
133
135
  case 'icon-picker':
134
136
  return /*#__PURE__*/_react.default.createElement(_iconPickerModal.default, popin);
137
+ case 'translation':
138
+ return /*#__PURE__*/_react.default.createElement(_translationModal.default, popin);
139
+ case 'content':
140
+ return /*#__PURE__*/_react.default.createElement(_contentSkillModal.default, popin);
135
141
  default:
136
142
  return buildDefaultPopin(popin);
137
143
  }
@@ -353,6 +359,12 @@ BrandUpdate.propTypes = process.env.NODE_ENV !== "production" ? {
353
359
  }), _propTypes.default.shape({
354
360
  ..._iconPickerModal.default.propTypes,
355
361
  type: _propTypes.default.oneOf(['icon-picker'])
362
+ }), _propTypes.default.shape({
363
+ ..._translationModal.default.propTypes,
364
+ type: _propTypes.default.oneOf(['translation'])
365
+ }), _propTypes.default.shape({
366
+ ..._contentSkillModal.default.propTypes,
367
+ type: _propTypes.default.oneOf(['content'])
356
368
  })]),
357
369
  details: _propTypes.default.shape({
358
370
  ..._brandTable.default.propTypes,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_propTypes","_map","_pipe","_get","_isEmpty","_find","_classnames","_brandTabs","_sidebar","_brandForm","_brandTable","_brandUpload","_brandAnalytics","_brandDashboard","_wizardContents","_listItems","_brandLearningPriorities","_banner","_setupHeader","_headerWithActions","_loader","_coorpManager","_cmPopin","_buttonLinkIcon","_expandibleActionableTable","_bulkInfos","_title","_skillEdition","_iconPickerModal","_style","_utils","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","getStyle","isSelected","style","selectedElement","unselectedElement","subTabsView","_subTabs","map","convert","cap","subTab","_index","createElement","key","title","type","IconLinkItem","styles","selected","uppercase","target","LinkItem","setChildrenAsHtml","buildLeftNavigation","logo","items","onItemClick","formattedTabs","href","index","children","iconType","formattedTabsViews","tab","className","tabs","navigation","src","tabProps","theme","onClick","buildNotifications","notifications","isEmpty","notificationsList","notification","temporary","permanentNotification","find","permanentNotifications","buildHeader","header","buildDefaultPopin","popin","icon","popinIcon","secondButton","popinSecondButton","themeIcon","actionButton","themeActionButton","POPIN_THEMES","buildPopin","buildDocumentation","documentation","show","onClose","content","classNames","open","documentationContent","dangerouslySetInnerHTML","__html","closeButton","size","buildTabs","selectedTab","pipe","get","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","buildTitle","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","titleView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","process","env","NODE_ENV","PropTypes","arrayOf","shape","Banner","oneOfType","Header","HeaderWithActions","oneOf","isRequired","string","bool","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","BulkInfos","ExpandibleActionableTable","BrandLearningPriorities","SkillEdition","func","CmPopin","IconPickerModal","Title","_default","exports"],"sources":["../../../../src/template/back-office/brand-update/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport pipe from 'lodash/fp/pipe';\nimport get from 'lodash/fp/get';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\nimport classNames from 'classnames';\nimport BrandTabs from '../../../molecule/brand-tabs';\nimport {IconLinkItem, LinkItem} from '../../../organism/sidebar';\nimport BrandForm from '../../../organism/brand-form';\nimport BrandTable from '../../../organism/brand-table';\nimport BrandUpload from '../../../organism/brand-upload';\nimport BrandAnalytics from '../../../organism/brand-analytics';\nimport BrandDashboard from '../../../organism/brand-dashboard';\nimport WizardContents from '../../../organism/wizard-contents';\nimport ListItems from '../../../organism/list-items';\nimport BrandLearningPriorities from '../../../organism/brand-learning-priorities';\nimport Banner from '../../../molecule/banner';\nimport Header from '../../../organism/setup-header';\nimport HeaderWithActions from '../../../organism/header-with-actions';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport ButtonLinkIcon from '../../../atom/button-link-icon';\nimport ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';\nimport BulkInfos from '../../../molecule/bulk-infos';\nimport Title from '../../../atom/title';\nimport SkillEdition from '../../../organism/skill-edition';\nimport IconPickerModal from '../../../molecule/icon-picker-modal';\nimport style from './style.css';\nimport {POPIN_THEMES} from './utils';\n\nconst getStyle = isSelected => (isSelected ? style.selectedElement : style.unselectedElement);\n\nconst subTabsView = (_subTabs = []) =>\n map.convert({cap: false})((subTab, _index) => (\n <div key={subTab.title}>\n {subTab.type === 'iconLink' ? (\n <IconLinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n target={'_blank'}\n />\n ) : (\n <LinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n setChildrenAsHtml={false}\n />\n )}\n </div>\n ))(_subTabs);\n\n// TODO: this fonction should be replaced by a molecule to avoid this file to be unreadable\nconst buildLeftNavigation = (logo, items, onItemClick) => {\n const formattedTabs = items.map(({key, title, href, selected, type = 'simpleTab'}, index) => ({\n title,\n selected,\n type,\n href,\n index,\n children: [],\n iconType: key || 'arrow'\n }));\n\n const formattedTabsViews = map(tab => (\n <div key={tab.title} className={style.subTabsView}>\n {subTabsView(tab.tabs)}\n </div>\n ))(items);\n\n return (\n <div className={style.navigation}>\n <div className={style.logo}>\n <a href=\"/\">\n <img src={logo} />\n </a>\n </div>\n <Accordion tabProps={formattedTabs} theme={'setup'} onClick={onItemClick}>\n {formattedTabsViews}\n </Accordion>\n </div>\n );\n};\n\nconst buildNotifications = notifications => {\n if (isEmpty(notifications)) {\n return null;\n }\n\n const notificationsList = notifications.map((notification, index) => {\n return (\n <div className={!notification.temporary ? style.permanentNotification : null} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return (\n <div className={!find({temporary: true}, notifications) ? style.permanentNotifications : null}>\n {notificationsList}\n </div>\n );\n};\n\nconst buildHeader = header => {\n return (\n <div className={style.header}>\n {header.type === 'header-with-actions' ? (\n <HeaderWithActions {...header} />\n ) : (\n <Header {...header} />\n )}\n </div>\n );\n};\n\nconst buildDefaultPopin = popin => {\n const {theme, icon: popinIcon, secondButton: popinSecondButton} = popin;\n const {icon: themeIcon, actionButton: themeActionButton} = POPIN_THEMES[theme] ?? {};\n\n return (\n <div className={style.popin}>\n <CmPopin\n {...popin}\n icon={popinIcon || themeIcon}\n secondButton={{...popinSecondButton, ...themeActionButton}}\n />\n </div>\n );\n};\n\nconst buildPopin = popin => {\n if (isEmpty(popin)) return;\n\n switch (popin.type) {\n case 'icon-picker':\n return <IconPickerModal {...popin} />;\n default:\n return buildDefaultPopin(popin);\n }\n};\n\nconst buildDocumentation = documentation => {\n if (!documentation) return null;\n const {show = false, onClose, content = ''} = documentation;\n return (\n <div className={classNames(style.documentation, show && style.open)}>\n <div\n className={style.documentationContent}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n {onClose ? (\n <ButtonLinkIcon\n className={style.closeButton}\n onClick={onClose}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n ) : null}\n </div>\n );\n};\n\nconst buildTabs = items => {\n const selectedTab = pipe(\n find(e => e.selected),\n get('tabs'),\n find(e => e.selected)\n )(items);\n\n const showTabs = selectedTab ? find(e => e.selected, selectedTab.subTabs) : undefined;\n if (!showTabs) return null;\n return (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={selectedTab.subTabs} />\n </div>\n );\n};\n\nconst buildContentView = content => {\n if (!content) {\n return (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n );\n }\n\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'list':\n return <BrandTable {...content} />;\n case 'upload':\n return <BrandUpload {...content} />;\n case 'analytics-dashboards':\n return <BrandAnalytics {...content} />;\n case 'list-content':\n case 'expandible-actionable-table':\n return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n case 'expandible-table':\n return <WizardContents {...content} />;\n case 'bulk-empty-dashboard':\n return <BulkInfos {...content} />;\n case 'table-pending':\n return <ExpandibleActionableTable {...content} />;\n case 'learning-priorities':\n return <BrandLearningPriorities {...content} />;\n case 'skill-edition':\n return <SkillEdition {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst buildTitle = title => {\n if (isEmpty(title)) return;\n return (\n <div className={style.title}>\n <Title {...title} />\n </div>\n );\n};\n\nconst BrandUpdate = props => {\n const {\n notifications,\n header,\n items,\n content,\n details,\n popin,\n onItemClick,\n documentation,\n contentFixHeight,\n title\n } = props;\n const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';\n\n const leftNavigation = buildLeftNavigation(logo, items, onItemClick);\n const notificationsView = buildNotifications(notifications);\n const documentationView = buildDocumentation(documentation);\n const headerView = buildHeader(header, notifications);\n const tabsView = buildTabs(items);\n const contentView = buildContentView(content);\n const detailsView = buildDetailsView(details);\n const popinView = buildPopin(popin);\n const titleView = buildTitle(title);\n\n const contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications,\n contentFixHeight && style.contentFixHeight\n ]);\n\n return (\n <div className={style.container}>\n <div className={style.left}>{leftNavigation}</div>\n <div className={style.contentWrapper}>\n <div className={style.headerSticky}>{headerView}</div>\n <div className={contentStyle}>\n {notificationsView}\n {titleView}\n {tabsView}\n {contentView}\n {detailsView}\n {documentationView}\n </div>\n </div>\n {popinView}\n </div>\n );\n};\n\nBrandUpdate.defaultProps = {\n notifications: []\n};\n\nBrandUpdate.propTypes = {\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n ...Banner.propTypes\n })\n ),\n header: PropTypes.oneOfType([\n PropTypes.shape({...Header.propTypes}),\n PropTypes.shape({\n ...HeaderWithActions.propTypes,\n type: PropTypes.oneOf(['header-with-actions']).isRequired\n })\n ]),\n items: PropTypes.arrayOf(\n PropTypes.shape({\n key: PropTypes.string,\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n tabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n subTabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string\n })\n )\n })\n )\n })\n ).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n PropTypes.shape({\n ...BrandUpload.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['upload'])\n }),\n PropTypes.shape({\n ...BrandAnalytics.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['analytics-dashboards'])\n }),\n PropTypes.shape({\n ...BrandDashboard.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['home'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['wizard'])\n }),\n PropTypes.shape({\n ...ListItems.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list-content', 'expandible-actionable-table'])\n }),\n PropTypes.shape({\n ...BulkInfos.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['bulk-empty-dashboard'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['table-pending'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n content: PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n ...WizardContents.propTypes.content.propTypes\n }),\n key: PropTypes.string,\n type: PropTypes.oneOf(['expandible-table'])\n }),\n PropTypes.shape({\n ...BrandLearningPriorities.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['learning-priorities'])\n }),\n PropTypes.shape({\n ...SkillEdition.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['skill-edition'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\n }),\n popin: PropTypes.oneOfType([\n PropTypes.shape({\n ...CmPopin.propTypes,\n theme: PropTypes.oneOf(['published', 'archived', 'deleted'])\n }),\n PropTypes.shape({\n ...IconPickerModal.propTypes,\n type: PropTypes.oneOf(['icon-picker'])\n })\n ]),\n details: PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n onItemClick: PropTypes.func,\n contentFixHeight: PropTypes.bool,\n title: PropTypes.shape(Title.propTypes)\n};\n\nexport default BrandUpdate;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,IAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,KAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,IAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,QAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,KAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,WAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,UAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,QAAA,GAAAT,OAAA;AACA,IAAAU,UAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,WAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,YAAA,GAAAb,sBAAA,CAAAC,OAAA;AACA,IAAAa,eAAA,GAAAd,sBAAA,CAAAC,OAAA;AACA,IAAAc,eAAA,GAAAf,sBAAA,CAAAC,OAAA;AACA,IAAAe,eAAA,GAAAhB,sBAAA,CAAAC,OAAA;AACA,IAAAgB,UAAA,GAAAjB,sBAAA,CAAAC,OAAA;AACA,IAAAiB,wBAAA,GAAAlB,sBAAA,CAAAC,OAAA;AACA,IAAAkB,OAAA,GAAAnB,sBAAA,CAAAC,OAAA;AACA,IAAAmB,YAAA,GAAAp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O,KAAK,CAAC,CAAC,WAAW,EAAE,UAAU,EAAE,SAAS,CAAC;EAC7D,CAAC,CAAC,EACFP,kBAAS,CAACE,KAAK,CAAC;IACd,GAAGsB,wBAAe,CAAC5B,SAAS;IAC5B5F,IAAI,EAAEgG,kBAAS,CAACO,KAAK,CAAC,CAAC,aAAa,CAAC;EACvC,CAAC,CAAC,CACH,CAAC;EACFhC,OAAO,EAAEyB,kBAAS,CAACE,KAAK,CAAC;IACvB,GAAGU,mBAAU,CAAChB,SAAS;IACvB9F,GAAG,EAAEkG,kBAAS,CAACS,MAAM;IACrBzG,IAAI,EAAEgG,kBAAS,CAACO,KAAK,CAAC,CAAC,MAAM,CAAC;EAChC,CAAC,CAAC;EACF5F,WAAW,EAAEqF,kBAAS,CAACsB,IAAI;EAC3B3C,gBAAgB,EAAEqB,kBAAS,CAACU,IAAI;EAChC3G,KAAK,EAAEiG,kBAAS,CAACE,KAAK,CAACuB,cAAK,CAAC7B,SAAS;AACxC,CAAC;AAAC,IAAA8B,QAAA,GAAAC,OAAA,CAAAvJ,OAAA,GAEaqG,WAAW","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_propTypes","_map","_pipe","_get","_isEmpty","_find","_classnames","_brandTabs","_sidebar","_brandForm","_brandTable","_brandUpload","_brandAnalytics","_brandDashboard","_wizardContents","_listItems","_brandLearningPriorities","_banner","_setupHeader","_headerWithActions","_loader","_coorpManager","_cmPopin","_buttonLinkIcon","_expandibleActionableTable","_bulkInfos","_title","_skillEdition","_iconPickerModal","_translationModal","_contentSkillModal","_style","_utils","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","getStyle","isSelected","style","selectedElement","unselectedElement","subTabsView","_subTabs","map","convert","cap","subTab","_index","createElement","key","title","type","IconLinkItem","styles","selected","uppercase","target","LinkItem","setChildrenAsHtml","buildLeftNavigation","logo","items","onItemClick","formattedTabs","href","index","children","iconType","formattedTabsViews","tab","className","tabs","navigation","src","tabProps","theme","onClick","buildNotifications","notifications","isEmpty","notificationsList","notification","temporary","permanentNotification","find","permanentNotifications","buildHeader","header","buildDefaultPopin","popin","icon","popinIcon","secondButton","popinSecondButton","themeIcon","actionButton","themeActionButton","POPIN_THEMES","buildPopin","buildDocumentation","documentation","show","onClose","content","classNames","open","documentationContent","dangerouslySetInnerHTML","__html","closeButton","size","buildTabs","selectedTab","pipe","get","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","buildTitle","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","titleView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","process","env","NODE_ENV","PropTypes","arrayOf","shape","Banner","oneOfType","Header","HeaderWithActions","oneOf","isRequired","string","bool","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","BulkInfos","ExpandibleActionableTable","BrandLearningPriorities","SkillEdition","func","CmPopin","IconPickerModal","TranslationModal","ContentSkillModal","Title","_default","exports"],"sources":["../../../../src/template/back-office/brand-update/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport pipe from 'lodash/fp/pipe';\nimport get from 'lodash/fp/get';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\nimport classNames from 'classnames';\nimport BrandTabs from '../../../molecule/brand-tabs';\nimport {IconLinkItem, LinkItem} from '../../../organism/sidebar';\nimport BrandForm from '../../../organism/brand-form';\nimport BrandTable from '../../../organism/brand-table';\nimport BrandUpload from '../../../organism/brand-upload';\nimport BrandAnalytics from '../../../organism/brand-analytics';\nimport BrandDashboard from '../../../organism/brand-dashboard';\nimport WizardContents from '../../../organism/wizard-contents';\nimport ListItems from '../../../organism/list-items';\nimport BrandLearningPriorities from '../../../organism/brand-learning-priorities';\nimport Banner from '../../../molecule/banner';\nimport Header from '../../../organism/setup-header';\nimport HeaderWithActions from '../../../organism/header-with-actions';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport ButtonLinkIcon from '../../../atom/button-link-icon';\nimport ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';\nimport BulkInfos from '../../../molecule/bulk-infos';\nimport Title from '../../../atom/title';\nimport SkillEdition from '../../../organism/skill-edition';\nimport IconPickerModal from '../../../molecule/icon-picker-modal';\nimport TranslationModal from '../../../molecule/translation-modal';\nimport ContentSkillModal from '../../../organism/content-skill-modal';\nimport style from './style.css';\nimport {POPIN_THEMES} from './utils';\n\nconst getStyle = isSelected => (isSelected ? style.selectedElement : style.unselectedElement);\n\nconst subTabsView = (_subTabs = []) =>\n map.convert({cap: false})((subTab, _index) => (\n <div key={subTab.title}>\n {subTab.type === 'iconLink' ? (\n <IconLinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n target={'_blank'}\n />\n ) : (\n <LinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n setChildrenAsHtml={false}\n />\n )}\n </div>\n ))(_subTabs);\n\n// TODO: this fonction should be replaced by a molecule to avoid this file to be unreadable\nconst buildLeftNavigation = (logo, items, onItemClick) => {\n const formattedTabs = items.map(({key, title, href, selected, type = 'simpleTab'}, index) => ({\n title,\n selected,\n type,\n href,\n index,\n children: [],\n iconType: key || 'arrow'\n }));\n\n const formattedTabsViews = map(tab => (\n <div key={tab.title} className={style.subTabsView}>\n {subTabsView(tab.tabs)}\n </div>\n ))(items);\n\n return (\n <div className={style.navigation}>\n <div className={style.logo}>\n <a href=\"/\">\n <img src={logo} />\n </a>\n </div>\n <Accordion tabProps={formattedTabs} theme={'setup'} onClick={onItemClick}>\n {formattedTabsViews}\n </Accordion>\n </div>\n );\n};\n\nconst buildNotifications = notifications => {\n if (isEmpty(notifications)) {\n return null;\n }\n\n const notificationsList = notifications.map((notification, index) => {\n return (\n <div className={!notification.temporary ? style.permanentNotification : null} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return (\n <div className={!find({temporary: true}, notifications) ? style.permanentNotifications : null}>\n {notificationsList}\n </div>\n );\n};\n\nconst buildHeader = header => {\n return (\n <div className={style.header}>\n {header.type === 'header-with-actions' ? (\n <HeaderWithActions {...header} />\n ) : (\n <Header {...header} />\n )}\n </div>\n );\n};\n\nconst buildDefaultPopin = popin => {\n const {theme, icon: popinIcon, secondButton: popinSecondButton} = popin;\n const {icon: themeIcon, actionButton: themeActionButton} = POPIN_THEMES[theme] ?? {};\n\n return (\n <div className={style.popin}>\n <CmPopin\n {...popin}\n icon={popinIcon || themeIcon}\n secondButton={{...popinSecondButton, ...themeActionButton}}\n />\n </div>\n );\n};\n\nconst buildPopin = popin => {\n if (isEmpty(popin)) return;\n\n switch (popin.type) {\n case 'icon-picker':\n return <IconPickerModal {...popin} />;\n case 'translation':\n return <TranslationModal {...popin} />;\n case 'content':\n return <ContentSkillModal {...popin} />;\n default:\n return buildDefaultPopin(popin);\n }\n};\n\nconst buildDocumentation = documentation => {\n if (!documentation) return null;\n const {show = false, onClose, content = ''} = documentation;\n return (\n <div className={classNames(style.documentation, show && style.open)}>\n <div\n className={style.documentationContent}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n {onClose ? (\n <ButtonLinkIcon\n className={style.closeButton}\n onClick={onClose}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n ) : null}\n </div>\n );\n};\n\nconst buildTabs = items => {\n const selectedTab = pipe(\n find(e => e.selected),\n get('tabs'),\n find(e => e.selected)\n )(items);\n\n const showTabs = selectedTab ? find(e => e.selected, selectedTab.subTabs) : undefined;\n if (!showTabs) return null;\n return (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={selectedTab.subTabs} />\n </div>\n );\n};\n\nconst buildContentView = content => {\n if (!content) {\n return (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\n </div>\n );\n }\n\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'list':\n return <BrandTable {...content} />;\n case 'upload':\n return <BrandUpload {...content} />;\n case 'analytics-dashboards':\n return <BrandAnalytics {...content} />;\n case 'list-content':\n case 'expandible-actionable-table':\n return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n case 'expandible-table':\n return <WizardContents {...content} />;\n case 'bulk-empty-dashboard':\n return <BulkInfos {...content} />;\n case 'table-pending':\n return <ExpandibleActionableTable {...content} />;\n case 'learning-priorities':\n return <BrandLearningPriorities {...content} />;\n case 'skill-edition':\n return <SkillEdition {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst buildTitle = title => {\n if (isEmpty(title)) return;\n return (\n <div className={style.title}>\n <Title {...title} />\n </div>\n );\n};\n\nconst BrandUpdate = props => {\n const {\n notifications,\n header,\n items,\n content,\n details,\n popin,\n onItemClick,\n documentation,\n contentFixHeight,\n title\n } = props;\n const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';\n\n const leftNavigation = buildLeftNavigation(logo, items, onItemClick);\n const notificationsView = buildNotifications(notifications);\n const documentationView = buildDocumentation(documentation);\n const headerView = buildHeader(header, notifications);\n const tabsView = buildTabs(items);\n const contentView = buildContentView(content);\n const detailsView = buildDetailsView(details);\n const popinView = buildPopin(popin);\n const titleView = buildTitle(title);\n\n const contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications,\n contentFixHeight && style.contentFixHeight\n ]);\n\n return (\n <div className={style.container}>\n <div className={style.left}>{leftNavigation}</div>\n <div className={style.contentWrapper}>\n <div className={style.headerSticky}>{headerView}</div>\n <div className={contentStyle}>\n {notificationsView}\n {titleView}\n {tabsView}\n {contentView}\n {detailsView}\n {documentationView}\n </div>\n </div>\n {popinView}\n </div>\n );\n};\n\nBrandUpdate.defaultProps = {\n notifications: []\n};\n\nBrandUpdate.propTypes = {\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n ...Banner.propTypes\n })\n ),\n header: PropTypes.oneOfType([\n PropTypes.shape({...Header.propTypes}),\n PropTypes.shape({\n ...HeaderWithActions.propTypes,\n type: PropTypes.oneOf(['header-with-actions']).isRequired\n })\n ]),\n items: PropTypes.arrayOf(\n PropTypes.shape({\n key: PropTypes.string,\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n tabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n subTabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string\n })\n )\n })\n )\n })\n ).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n PropTypes.shape({\n ...BrandUpload.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['upload'])\n }),\n PropTypes.shape({\n ...BrandAnalytics.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['analytics-dashboards'])\n }),\n PropTypes.shape({\n ...BrandDashboard.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['home'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['wizard'])\n }),\n PropTypes.shape({\n ...ListItems.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list-content', 'expandible-actionable-table'])\n }),\n PropTypes.shape({\n ...BulkInfos.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['bulk-empty-dashboard'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['table-pending'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n content: PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n ...WizardContents.propTypes.content.propTypes\n }),\n key: PropTypes.string,\n type: PropTypes.oneOf(['expandible-table'])\n }),\n PropTypes.shape({\n ...BrandLearningPriorities.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['learning-priorities'])\n }),\n PropTypes.shape({\n ...SkillEdition.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['skill-edition'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\n }),\n popin: PropTypes.oneOfType([\n PropTypes.shape({\n ...CmPopin.propTypes,\n theme: PropTypes.oneOf(['published', 'archived', 'deleted'])\n }),\n PropTypes.shape({\n ...IconPickerModal.propTypes,\n type: PropTypes.oneOf(['icon-picker'])\n }),\n PropTypes.shape({\n ...TranslationModal.propTypes,\n type: PropTypes.oneOf(['translation'])\n }),\n PropTypes.shape({\n ...ContentSkillModal.propTypes,\n type: PropTypes.oneOf(['content'])\n })\n ]),\n details: PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n onItemClick: PropTypes.func,\n contentFixHeight: PropTypes.bool,\n title: PropTypes.shape(Title.propTypes)\n};\n\nexport default BrandUpdate;\n"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,IAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,KAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,IAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,QAAA,GAAAN,sBAAA,CA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AGuB,yBAAgB,CAAC7B,SAAS;IAC7B5F,IAAI,EAAEgG,kBAAS,CAACO,KAAK,CAAC,CAAC,aAAa,CAAC;EACvC,CAAC,CAAC,EACFP,kBAAS,CAACE,KAAK,CAAC;IACd,GAAGwB,0BAAiB,CAAC9B,SAAS;IAC9B5F,IAAI,EAAEgG,kBAAS,CAACO,KAAK,CAAC,CAAC,SAAS,CAAC;EACnC,CAAC,CAAC,CACH,CAAC;EACFhC,OAAO,EAAEyB,kBAAS,CAACE,KAAK,CAAC;IACvB,GAAGU,mBAAU,CAAChB,SAAS;IACvB9F,GAAG,EAAEkG,kBAAS,CAACS,MAAM;IACrBzG,IAAI,EAAEgG,kBAAS,CAACO,KAAK,CAAC,CAAC,MAAM,CAAC;EAChC,CAAC,CAAC;EACF5F,WAAW,EAAEqF,kBAAS,CAACsB,IAAI;EAC3B3C,gBAAgB,EAAEqB,kBAAS,CAACU,IAAI;EAChC3G,KAAK,EAAEiG,kBAAS,CAACE,KAAK,CAACyB,cAAK,CAAC/B,SAAS;AACxC,CAAC;AAAC,IAAAgC,QAAA,GAAAC,OAAA,CAAAzJ,OAAA,GAEaqG,WAAW","ignoreList":[]}
@@ -17,7 +17,7 @@ export namespace POPIN_THEMES {
17
17
  const position: string;
18
18
  namespace faIcon {
19
19
  const name: string;
20
- const color: "#FFFFFF";
20
+ const color: "#ffffff";
21
21
  const size: number;
22
22
  namespace customStyle {
23
23
  const padding: number;
@@ -19,7 +19,7 @@ declare namespace Dashboard {
19
19
  'data-name': PropTypes.Requireable<string>;
20
20
  titleSize: PropTypes.Requireable<string>;
21
21
  subtitleSize: PropTypes.Requireable<string>;
22
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
22
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
23
23
  tag: PropTypes.Requireable<PropTypes.InferProps<{
24
24
  label: PropTypes.Requireable<string>;
25
25
  type: PropTypes.Requireable<string>;
@@ -27,17 +27,7 @@ declare namespace Dashboard {
27
27
  customStyle: PropTypes.Requireable<{
28
28
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
29
29
  }>;
30
- icon: PropTypes.Requireable<PropTypes.InferProps<{
31
- position: PropTypes.Requireable<string>;
32
- iconName?: React.Validator<string> | undefined;
33
- iconColor?: React.Validator<string | null | undefined> | undefined;
34
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
35
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
36
- borderRadius?: React.Validator<string | null | undefined> | undefined;
37
- preset?: React.Validator<string | null | undefined> | undefined;
38
- size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
39
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
40
- }>>;
30
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
41
31
  }>>;
42
32
  button: PropTypes.Requireable<PropTypes.InferProps<{
43
33
  type: PropTypes.Requireable<string>;
@@ -124,8 +114,8 @@ declare namespace Dashboard {
124
114
  borderRadius: PropTypes.Requireable<string>;
125
115
  preset: PropTypes.Requireable<string>;
126
116
  size: PropTypes.Requireable<PropTypes.InferProps<{
127
- faSize: PropTypes.Validator<number>;
128
- wrapperSize: PropTypes.Validator<number>;
117
+ faSize: PropTypes.Requireable<number>;
118
+ wrapperSize: PropTypes.Requireable<number>;
129
119
  }>>;
130
120
  customStyle: PropTypes.Requireable<{
131
121
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -563,7 +553,7 @@ declare namespace Dashboard {
563
553
  'data-name': PropTypes.Requireable<string>;
564
554
  titleSize: PropTypes.Requireable<string>;
565
555
  subtitleSize: PropTypes.Requireable<string>;
566
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
556
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
567
557
  tag: PropTypes.Requireable<PropTypes.InferProps<{
568
558
  label: PropTypes.Requireable<string>;
569
559
  type: PropTypes.Requireable<string>;
@@ -571,17 +561,7 @@ declare namespace Dashboard {
571
561
  customStyle: PropTypes.Requireable<{
572
562
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
573
563
  }>;
574
- icon: PropTypes.Requireable<PropTypes.InferProps<{
575
- position: PropTypes.Requireable<string>;
576
- iconName?: React.Validator<string> | undefined;
577
- iconColor?: React.Validator<string | null | undefined> | undefined;
578
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
579
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
580
- borderRadius?: React.Validator<string | null | undefined> | undefined;
581
- preset?: React.Validator<string | null | undefined> | undefined;
582
- size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
583
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
584
- }>>;
564
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
585
565
  }>>;
586
566
  button: PropTypes.Requireable<PropTypes.InferProps<{
587
567
  type: PropTypes.Requireable<string>;
@@ -796,7 +776,7 @@ declare namespace Dashboard {
796
776
  'data-name': PropTypes.Requireable<string>;
797
777
  titleSize: PropTypes.Requireable<string>;
798
778
  subtitleSize: PropTypes.Requireable<string>;
799
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
779
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
800
780
  tag: PropTypes.Requireable<PropTypes.InferProps<{
801
781
  label: PropTypes.Requireable<string>;
802
782
  type: PropTypes.Requireable<string>;
@@ -804,17 +784,7 @@ declare namespace Dashboard {
804
784
  customStyle: PropTypes.Requireable<{
805
785
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
806
786
  }>;
807
- icon: PropTypes.Requireable<PropTypes.InferProps<{
808
- position: PropTypes.Requireable<string>;
809
- iconName?: React.Validator<string> | undefined;
810
- iconColor?: React.Validator<string | null | undefined> | undefined;
811
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
812
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
813
- borderRadius?: React.Validator<string | null | undefined> | undefined;
814
- preset?: React.Validator<string | null | undefined> | undefined;
815
- size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
816
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
817
- }>>;
787
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
818
788
  }>>;
819
789
  button: PropTypes.Requireable<PropTypes.InferProps<{
820
790
  type: PropTypes.Requireable<string>;
@@ -901,8 +871,8 @@ declare namespace Dashboard {
901
871
  borderRadius: PropTypes.Requireable<string>;
902
872
  preset: PropTypes.Requireable<string>;
903
873
  size: PropTypes.Requireable<PropTypes.InferProps<{
904
- faSize: PropTypes.Validator<number>;
905
- wrapperSize: PropTypes.Validator<number>;
874
+ faSize: PropTypes.Requireable<number>;
875
+ wrapperSize: PropTypes.Requireable<number>;
906
876
  }>>;
907
877
  customStyle: PropTypes.Requireable<{
908
878
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -1340,7 +1310,7 @@ declare namespace Dashboard {
1340
1310
  'data-name': PropTypes.Requireable<string>;
1341
1311
  titleSize: PropTypes.Requireable<string>;
1342
1312
  subtitleSize: PropTypes.Requireable<string>;
1343
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
1313
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
1344
1314
  tag: PropTypes.Requireable<PropTypes.InferProps<{
1345
1315
  label: PropTypes.Requireable<string>;
1346
1316
  type: PropTypes.Requireable<string>;
@@ -1348,17 +1318,7 @@ declare namespace Dashboard {
1348
1318
  customStyle: PropTypes.Requireable<{
1349
1319
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
1350
1320
  }>;
1351
- icon: PropTypes.Requireable<PropTypes.InferProps<{
1352
- position: PropTypes.Requireable<string>;
1353
- iconName?: React.Validator<string> | undefined;
1354
- iconColor?: React.Validator<string | null | undefined> | undefined;
1355
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
1356
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
1357
- borderRadius?: React.Validator<string | null | undefined> | undefined;
1358
- preset?: React.Validator<string | null | undefined> | undefined;
1359
- size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
1360
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
1361
- }>>;
1321
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
1362
1322
  }>>;
1363
1323
  button: PropTypes.Requireable<PropTypes.InferProps<{
1364
1324
  type: PropTypes.Requireable<string>;
@@ -1561,5 +1521,4 @@ declare namespace Dashboard {
1561
1521
  };
1562
1522
  }
1563
1523
  import PropTypes from "prop-types";
1564
- import React from "react";
1565
1524
  //# sourceMappingURL=index.d.ts.map
@@ -200,7 +200,7 @@ declare namespace SearchPage {
200
200
  'data-name': PropTypes.Requireable<string>;
201
201
  titleSize: PropTypes.Requireable<string>;
202
202
  subtitleSize: PropTypes.Requireable<string>;
203
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
203
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
204
204
  tag: PropTypes.Requireable<PropTypes.InferProps<{
205
205
  label: PropTypes.Requireable<string>;
206
206
  type: PropTypes.Requireable<string>;
@@ -208,17 +208,7 @@ declare namespace SearchPage {
208
208
  customStyle: PropTypes.Requireable<{
209
209
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
210
210
  }>;
211
- icon: PropTypes.Requireable<PropTypes.InferProps<{
212
- position: PropTypes.Requireable<string>;
213
- iconName?: React.Validator<string> | undefined;
214
- iconColor?: React.Validator<string | null | undefined> | undefined;
215
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
216
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
217
- borderRadius?: React.Validator<string | null | undefined> | undefined;
218
- preset?: React.Validator<string | null | undefined> | undefined;
219
- size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
220
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
221
- }>>;
211
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
222
212
  }>>;
223
213
  button: PropTypes.Requireable<PropTypes.InferProps<{
224
214
  type: PropTypes.Requireable<string>;
@@ -305,8 +295,8 @@ declare namespace SearchPage {
305
295
  borderRadius: PropTypes.Requireable<string>;
306
296
  preset: PropTypes.Requireable<string>;
307
297
  size: PropTypes.Requireable<PropTypes.InferProps<{
308
- faSize: PropTypes.Validator<number>;
309
- wrapperSize: PropTypes.Validator<number>;
298
+ faSize: PropTypes.Requireable<number>;
299
+ wrapperSize: PropTypes.Requireable<number>;
310
300
  }>>;
311
301
  customStyle: PropTypes.Requireable<{
312
302
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -744,7 +734,7 @@ declare namespace SearchPage {
744
734
  'data-name': PropTypes.Requireable<string>;
745
735
  titleSize: PropTypes.Requireable<string>;
746
736
  subtitleSize: PropTypes.Requireable<string>;
747
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
737
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
748
738
  tag: PropTypes.Requireable<PropTypes.InferProps<{
749
739
  label: PropTypes.Requireable<string>;
750
740
  type: PropTypes.Requireable<string>;
@@ -752,17 +742,7 @@ declare namespace SearchPage {
752
742
  customStyle: PropTypes.Requireable<{
753
743
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
754
744
  }>;
755
- icon: PropTypes.Requireable<PropTypes.InferProps<{
756
- position: PropTypes.Requireable<string>;
757
- iconName?: React.Validator<string> | undefined;
758
- iconColor?: React.Validator<string | null | undefined> | undefined;
759
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
760
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
761
- borderRadius?: React.Validator<string | null | undefined> | undefined;
762
- preset?: React.Validator<string | null | undefined> | undefined;
763
- size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
764
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
765
- }>>;
745
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
766
746
  }>>;
767
747
  button: PropTypes.Requireable<PropTypes.InferProps<{
768
748
  type: PropTypes.Requireable<string>;
@@ -965,5 +945,4 @@ declare namespace SearchPage {
965
945
  }
966
946
  }
967
947
  import PropTypes from "prop-types";
968
- import React from "react";
969
948
  //# sourceMappingURL=index.d.ts.map
@@ -37,7 +37,7 @@ declare namespace ExternalCourse {
37
37
  'data-name': PropTypes.Requireable<string>;
38
38
  titleSize: PropTypes.Requireable<string>;
39
39
  subtitleSize: PropTypes.Requireable<string>;
40
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
40
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
41
41
  tag: PropTypes.Requireable<PropTypes.InferProps<{
42
42
  label: PropTypes.Requireable<string>;
43
43
  type: PropTypes.Requireable<string>;
@@ -45,17 +45,7 @@ declare namespace ExternalCourse {
45
45
  customStyle: PropTypes.Requireable<{
46
46
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
47
47
  }>;
48
- icon: PropTypes.Requireable<PropTypes.InferProps<{
49
- position: PropTypes.Requireable<string>;
50
- iconName?: React.Validator<string> | undefined;
51
- iconColor?: React.Validator<string | null | undefined> | undefined;
52
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
53
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
54
- borderRadius?: React.Validator<string | null | undefined> | undefined;
55
- preset?: React.Validator<string | null | undefined> | undefined;
56
- size?: React.Validator<import("../../atom/icon").IconSize | null | undefined> | undefined;
57
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
58
- }>>;
48
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
59
49
  }>>;
60
50
  button: PropTypes.Requireable<PropTypes.InferProps<{
61
51
  type: PropTypes.Requireable<string>;
@@ -142,8 +132,8 @@ declare namespace ExternalCourse {
142
132
  borderRadius: PropTypes.Requireable<string>;
143
133
  preset: PropTypes.Requireable<string>;
144
134
  size: PropTypes.Requireable<PropTypes.InferProps<{
145
- faSize: PropTypes.Validator<number>;
146
- wrapperSize: PropTypes.Validator<number>;
135
+ faSize: PropTypes.Requireable<number>;
136
+ wrapperSize: PropTypes.Requireable<number>;
147
137
  }>>;
148
138
  customStyle: PropTypes.Requireable<{
149
139
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -581,7 +571,7 @@ declare namespace ExternalCourse {
581
571
  'data-name': PropTypes.Requireable<string>;
582
572
  titleSize: PropTypes.Requireable<string>;
583
573
  subtitleSize: PropTypes.Requireable<string>;
584
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
574
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
585
575
  tag: PropTypes.Requireable<PropTypes.InferProps<{
586
576
  label: PropTypes.Requireable<string>;
587
577
  type: PropTypes.Requireable<string>;
@@ -589,17 +579,7 @@ declare namespace ExternalCourse {
589
579
  customStyle: PropTypes.Requireable<{
590
580
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
591
581
  }>;
592
- icon: PropTypes.Requireable<PropTypes.InferProps<{
593
- position: PropTypes.Requireable<string>;
594
- iconName?: React.Validator<string> | undefined;
595
- iconColor?: React.Validator<string | null | undefined> | undefined;
596
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
597
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
598
- borderRadius?: React.Validator<string | null | undefined> | undefined;
599
- preset?: React.Validator<string | null | undefined> | undefined;
600
- size?: React.Validator<import("../../atom/icon").IconSize | null | undefined> | undefined;
601
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
602
- }>>;
582
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
603
583
  }>>;
604
584
  button: PropTypes.Requireable<PropTypes.InferProps<{
605
585
  type: PropTypes.Requireable<string>;
@@ -825,5 +805,4 @@ declare namespace ExternalCourse {
825
805
  }
826
806
  }
827
807
  import PropTypes from "prop-types";
828
- import React from "react";
829
808
  //# sourceMappingURL=index.d.ts.map
@@ -21,8 +21,8 @@
21
21
 
22
22
  .continueLearningNumber {
23
23
  border-radius: 12px;
24
- background-color: cm_grey_100;
25
- color: cm_grey_500;
24
+ background-color: #EAEAEB;
25
+ color: #515161;
26
26
  padding: 2px 4px;
27
27
  margin-left: 8px;
28
28
  font-size: 10px;
@@ -49,7 +49,6 @@
49
49
  font-size: 14px;
50
50
  font-style: normal;
51
51
  font-weight: 600;
52
- margin-right: 16px;
53
52
  }
54
53
 
55
54
  .sortWrapper {
@@ -1,43 +1,8 @@
1
- /// <reference types="react" />
2
- import PropTypes from 'prop-types';
3
- import { CardsGridProps } from '../../organism/cards-grid';
4
- interface ProviderContext {
5
- skin: {
6
- common: {
7
- primary: string;
8
- secondary: string;
9
- };
10
- };
11
- translate: (key: string, options?: any) => string;
12
- }
13
- declare const AllCourses: {
14
- (props: {
15
- dataName?: string | undefined;
16
- ariaLabel?: string | undefined;
17
- selected?: boolean | undefined;
18
- label?: string | undefined;
19
- content: {
20
- list: CardsGridProps['list'];
21
- loading?: boolean;
22
- };
23
- totalContents?: number | undefined;
24
- search: {
25
- oldValue: string;
26
- onChange: (value: string) => void;
27
- };
28
- bannerMicrolearning?: {
29
- type: 'skill' | 'playlist';
30
- action: () => void;
31
- oldSwitchValue: boolean;
32
- } | undefined;
33
- filters: {
34
- onChange?: ((value: string) => void) | undefined;
35
- options?: unknown[] | undefined;
36
- };
37
- sorting?: unknown;
38
- }, context: ProviderContext): JSX.Element;
39
- contextTypes: {
40
- skin: PropTypes.Requireable<PropTypes.InferProps<{
1
+ export default AllCourses;
2
+ declare function AllCourses(props: any, context: any): JSX.Element;
3
+ declare namespace AllCourses {
4
+ namespace contextTypes {
5
+ const skin: PropTypes.Requireable<PropTypes.InferProps<{
41
6
  common: PropTypes.Requireable<{
42
7
  [x: string]: any;
43
8
  }>;
@@ -58,18 +23,18 @@ declare const AllCourses: {
58
23
  [x: string]: any;
59
24
  }>;
60
25
  }>>;
61
- translate: PropTypes.Requireable<(...args: any[]) => any>;
62
- };
63
- propTypes: {
64
- content: PropTypes.Requireable<PropTypes.InferProps<{
26
+ const translate: PropTypes.Requireable<(...args: any[]) => any>;
27
+ }
28
+ namespace propTypes {
29
+ const content: PropTypes.Requireable<PropTypes.InferProps<{
65
30
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
66
31
  customStyle: PropTypes.Requireable<{
67
32
  [x: string]: string | null | undefined;
68
33
  }>;
69
34
  loading: PropTypes.Requireable<boolean>;
70
35
  }>>;
71
- totalContents: PropTypes.Requireable<number>;
72
- filters: PropTypes.Requireable<PropTypes.InferProps<{
36
+ const totalContents: PropTypes.Requireable<number>;
37
+ const filters: PropTypes.Requireable<PropTypes.InferProps<{
73
38
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
74
39
  options: PropTypes.Requireable<(PropTypes.InferProps<{
75
40
  name: PropTypes.Validator<string>;
@@ -78,7 +43,7 @@ declare const AllCourses: {
78
43
  validOption: PropTypes.Requireable<boolean>;
79
44
  }> | null | undefined)[]>;
80
45
  }>>;
81
- sorting: PropTypes.Requireable<PropTypes.InferProps<{
46
+ const sorting: PropTypes.Requireable<PropTypes.InferProps<{
82
47
  title: PropTypes.Requireable<string>;
83
48
  name: PropTypes.Requireable<string>;
84
49
  className: PropTypes.Requireable<string>;
@@ -109,16 +74,16 @@ declare const AllCourses: {
109
74
  'aria-label': PropTypes.Requireable<string>;
110
75
  'aria-labelledby': PropTypes.Requireable<string>;
111
76
  }>>;
112
- bannerMicrolearning: PropTypes.Requireable<PropTypes.InferProps<{
77
+ const bannerMicrolearning: PropTypes.Requireable<PropTypes.InferProps<{
113
78
  type: PropTypes.Requireable<string>;
114
79
  action: PropTypes.Requireable<(...args: any[]) => any>;
115
80
  oldSwitchValue: PropTypes.Requireable<boolean>;
116
81
  }>>;
117
- search: PropTypes.Requireable<PropTypes.InferProps<{
82
+ const search: PropTypes.Requireable<PropTypes.InferProps<{
118
83
  oldValue: PropTypes.Requireable<string>;
119
84
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
120
85
  }>>;
121
- };
122
- };
123
- export default AllCourses;
86
+ }
87
+ }
88
+ import PropTypes from "prop-types";
124
89
  //# sourceMappingURL=all-courses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"all-courses.d.ts","sourceRoot":"","sources":["../../../src/template/skill-detail/all-courses.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAMnC,OAAkB,EAAC,cAAc,EAAC,MAAM,2BAA2B,CAAC;AAQpE,UAAU,eAAe;IACvB,IAAI,EAAE;QACJ,MAAM,EAAE;YACN,OAAO,EAAE,MAAM,CAAC;YAChB,SAAS,EAAE,MAAM,CAAC;SACnB,CAAC;KACH,CAAC;IACF,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;CACnD;AAgDD,QAAA,MAAM,UAAU;;;;;;iBAMH;YACP,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;YAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;SACnB;;;sBAGW,MAAM;8BACE,MAAM,KAAK,IAAI;;;kBAG3B,OAAO,GAAG,UAAU;oBAClB,MAAM,IAAI;4BACF,OAAO;;;gCAGJ,MAAM,KAAK,IAAI;;;kBAG1B,OAAO;gBAEV,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgKzB,CAAC;AA0BF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"all-courses.d.ts","sourceRoot":"","sources":["../../../src/template/skill-detail/all-courses.js"],"names":[],"mappings":";AAgDA,mEA8JC"}