@coorpacademy/components 10.3.25 → 10.3.27-alpha.26

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 (1127) hide show
  1. package/es/atom/autocomplete/test/fixtures/error.js +1 -1
  2. package/es/atom/autocomplete/test/fixtures/error.js.map +1 -1
  3. package/es/atom/autocomplete/test/fixtures/filled.js +1 -1
  4. package/es/atom/autocomplete/test/fixtures/filled.js.map +1 -1
  5. package/es/atom/autocomplete/test/fixtures/modified.js +1 -1
  6. package/es/atom/autocomplete/test/fixtures/modified.js.map +1 -1
  7. package/es/atom/clue/index.js.map +1 -1
  8. package/es/atom/clue/test/see-clue.js +33 -0
  9. package/es/atom/clue/test/see-clue.js.map +1 -1
  10. package/es/atom/content-badge/test/fixtures.js +2 -0
  11. package/es/atom/content-badge/test/fixtures.js.map +1 -1
  12. package/es/atom/cta/test/fixtures/certification.js +1 -1
  13. package/es/atom/cta/test/fixtures/certification.js.map +1 -1
  14. package/es/atom/cta/test/fixtures/disabled.js +1 -1
  15. package/es/atom/cta/test/fixtures/disabled.js.map +1 -1
  16. package/es/atom/cta/test/fixtures/light-small.js +1 -1
  17. package/es/atom/cta/test/fixtures/light-small.js.map +1 -1
  18. package/es/atom/cta/test/fixtures/light.js +1 -1
  19. package/es/atom/cta/test/fixtures/light.js.map +1 -1
  20. package/es/atom/cta/test/fixtures/logout.js +1 -1
  21. package/es/atom/cta/test/fixtures/logout.js.map +1 -1
  22. package/es/atom/cta/test/fixtures/primary-small.js +1 -1
  23. package/es/atom/cta/test/fixtures/primary-small.js.map +1 -1
  24. package/es/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
  25. package/es/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
  26. package/es/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
  27. package/es/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
  28. package/es/atom/cta/test/fixtures/rectangular.js +1 -1
  29. package/es/atom/cta/test/fixtures/rectangular.js.map +1 -1
  30. package/es/atom/cta/test/fixtures/secondary-small.js +1 -1
  31. package/es/atom/cta/test/fixtures/secondary-small.js.map +1 -1
  32. package/es/atom/cta/test/fixtures/secondary.js +1 -1
  33. package/es/atom/cta/test/fixtures/secondary.js.map +1 -1
  34. package/es/atom/drag-and-drop/index.js +1 -1
  35. package/es/atom/drag-and-drop/index.js.map +1 -1
  36. package/es/atom/drag-and-drop/test/fixtures/loading.js +1 -1
  37. package/es/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  38. package/es/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
  39. package/es/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
  40. package/es/atom/image-upload/index.js +1 -1
  41. package/es/atom/image-upload/index.js.map +1 -1
  42. package/es/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
  43. package/es/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
  44. package/es/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
  45. package/es/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
  46. package/es/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
  47. package/es/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
  48. package/es/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
  49. package/es/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
  50. package/es/atom/image-upload/test/fixtures/email.js +1 -1
  51. package/es/atom/image-upload/test/fixtures/email.js.map +1 -1
  52. package/es/atom/image-upload/test/fixtures/mobile.js +1 -1
  53. package/es/atom/image-upload/test/fixtures/mobile.js.map +1 -1
  54. package/es/atom/image-upload/test/fixtures/modified.js +1 -1
  55. package/es/atom/image-upload/test/fixtures/modified.js.map +1 -1
  56. package/es/atom/input-html/index.js.map +1 -1
  57. package/es/atom/input-switch/index.js +13 -6
  58. package/es/atom/input-switch/index.js.map +1 -1
  59. package/es/atom/input-switch/style.css +47 -0
  60. package/es/atom/input-switch/test/fixtures/cm-left.js +11 -0
  61. package/es/atom/input-switch/test/fixtures/cm-left.js.map +1 -0
  62. package/es/atom/input-switch/test/fixtures/cm-right-checked.js +11 -0
  63. package/es/atom/input-switch/test/fixtures/cm-right-checked.js.map +1 -0
  64. package/es/atom/input-switch/test/fixtures/cm-right-disabled.js +11 -0
  65. package/es/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -0
  66. package/es/atom/input-switch/test/fixtures/cm-right-modified.js +12 -0
  67. package/es/atom/input-switch/test/fixtures/cm-right-modified.js.map +1 -0
  68. package/es/atom/input-switch/test/fixtures/cm-right.js +11 -0
  69. package/es/atom/input-switch/test/fixtures/cm-right.js.map +1 -0
  70. package/es/atom/input-switch/test/fixtures/disabled.js +1 -1
  71. package/es/atom/input-switch/test/fixtures/disabled.js.map +1 -1
  72. package/es/atom/input-switch/test/fixtures.js +10 -0
  73. package/es/atom/input-switch/test/fixtures.js.map +1 -1
  74. package/es/atom/link/index.js +3 -2
  75. package/es/atom/link/index.js.map +1 -1
  76. package/es/atom/promo-code/index.js.map +1 -1
  77. package/es/atom/provider/index.js +1 -1
  78. package/es/atom/provider/index.js.map +1 -1
  79. package/es/atom/provider/test/index.js +1 -1
  80. package/es/atom/provider/test/index.js.map +1 -1
  81. package/es/atom/range/index.js +1 -1
  82. package/es/atom/range/index.js.map +1 -1
  83. package/es/atom/range/test/fixtures/multi.js +1 -1
  84. package/es/atom/range/test/fixtures/multi.js.map +1 -1
  85. package/es/atom/range/test/index.js +9 -9
  86. package/es/atom/range/test/index.js.map +1 -1
  87. package/es/atom/video-upload/index.js +1 -1
  88. package/es/atom/video-upload/index.js.map +1 -1
  89. package/es/atom/video-upload/test/fixtures/loading.js +1 -1
  90. package/es/atom/video-upload/test/fixtures/loading.js.map +1 -1
  91. package/es/atom/video-upload/test/fixtures/modified.js +1 -1
  92. package/es/atom/video-upload/test/fixtures/modified.js.map +1 -1
  93. package/es/hoc/animation-scheduler/index.js +3 -3
  94. package/es/hoc/animation-scheduler/index.js.map +1 -1
  95. package/es/hoc/swapper/index.js +4 -2
  96. package/es/hoc/swapper/index.js.map +1 -1
  97. package/es/hoc/transition/index.js +1 -1
  98. package/es/hoc/transition/index.js.map +1 -1
  99. package/es/molecule/add-to-my-list/index.js +1 -1
  100. package/es/molecule/add-to-my-list/index.js.map +1 -1
  101. package/es/molecule/answer/index.js +3 -2
  102. package/es/molecule/answer/index.js.map +1 -1
  103. package/es/molecule/answer/test/fixtures/audio.js +1 -1
  104. package/es/molecule/answer/test/fixtures/audio.js.map +1 -1
  105. package/es/molecule/answer/test/fixtures/default.js +1 -1
  106. package/es/molecule/answer/test/fixtures/default.js.map +1 -1
  107. package/es/molecule/answer/test/fixtures/drop-down.js +1 -1
  108. package/es/molecule/answer/test/fixtures/drop-down.js.map +1 -1
  109. package/es/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
  110. package/es/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
  111. package/es/molecule/answer/test/fixtures/qcm-drag.js +1 -1
  112. package/es/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
  113. package/es/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
  114. package/es/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
  115. package/es/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
  116. package/es/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
  117. package/es/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
  118. package/es/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
  119. package/es/molecule/answer/test/fixtures/qcm-short.js +1 -1
  120. package/es/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
  121. package/es/molecule/answer/test/fixtures/qcm.js +1 -1
  122. package/es/molecule/answer/test/fixtures/qcm.js.map +1 -1
  123. package/es/molecule/answer/test/fixtures/range.js +1 -1
  124. package/es/molecule/answer/test/fixtures/range.js.map +1 -1
  125. package/es/molecule/answer/test/fixtures/template.js +1 -1
  126. package/es/molecule/answer/test/fixtures/template.js.map +1 -1
  127. package/es/molecule/banner/style.css +1 -0
  128. package/es/molecule/banner/test/fixtures/default.js +1 -1
  129. package/es/molecule/banner/test/fixtures/default.js.map +1 -1
  130. package/es/molecule/banner/test/fixtures.js +8 -0
  131. package/es/molecule/banner/test/fixtures.js.map +1 -1
  132. package/es/molecule/brand-form-group/index.js +18 -18
  133. package/es/molecule/brand-form-group/index.js.map +1 -1
  134. package/es/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
  135. package/es/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
  136. package/es/molecule/brand-form-group/test/fixtures/animations.js +2 -2
  137. package/es/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
  138. package/es/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
  139. package/es/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
  140. package/es/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
  141. package/es/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
  142. package/es/molecule/brand-form-group/test/fixtures/images.js +3 -3
  143. package/es/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
  144. package/es/molecule/brand-form-group/test/fixtures/slider.js +1 -1
  145. package/es/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
  146. package/es/molecule/card/customer.css +61 -3
  147. package/es/molecule/card/customer.js +17 -5
  148. package/es/molecule/card/customer.js.map +1 -1
  149. package/es/molecule/card/index.js +16 -6
  150. package/es/molecule/card/index.js.map +1 -1
  151. package/es/molecule/card/style.css +86 -24
  152. package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
  153. package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  154. package/es/molecule/card/test/fixtures/adaptiv.js +1 -1
  155. package/es/molecule/card/test/fixtures/adaptiv.js.map +1 -1
  156. package/es/molecule/card/test/fixtures/coorpmanager.js +18 -0
  157. package/es/molecule/card/test/fixtures/coorpmanager.js.map +1 -0
  158. package/es/molecule/card/test/fixtures/disabled.js +1 -1
  159. package/es/molecule/card/test/fixtures/disabled.js.map +1 -1
  160. package/es/molecule/card-content/index.js +11 -5
  161. package/es/molecule/card-content/index.js.map +1 -1
  162. package/es/molecule/card-content/style.css +52 -0
  163. package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
  164. package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  165. package/es/molecule/card-content/test/fixtures/adaptiv.js +1 -1
  166. package/es/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
  167. package/es/molecule/card-content/test/fixtures/disabled.js +1 -1
  168. package/es/molecule/card-content/test/fixtures/disabled.js.map +1 -1
  169. package/es/molecule/card-with-button/index.js.map +1 -1
  170. package/es/molecule/cm-popin/style.css +1 -0
  171. package/es/molecule/coorp-manager-roles/index.js +1 -1
  172. package/es/molecule/coorp-manager-roles/index.js.map +1 -1
  173. package/es/molecule/dashboard/battle-request-list/index.js +1 -1
  174. package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
  175. package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
  176. package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
  177. package/es/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
  178. package/es/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
  179. package/es/molecule/dashboard/cards-list/test/index.js +1 -1
  180. package/es/molecule/dashboard/cards-list/test/index.js.map +1 -1
  181. package/es/molecule/dashboard/news-list/index.js +1 -1
  182. package/es/molecule/dashboard/news-list/index.js.map +1 -1
  183. package/es/molecule/dashboard/start-battle/index.js +1 -1
  184. package/es/molecule/dashboard/start-battle/index.js.map +1 -1
  185. package/es/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
  186. package/es/molecule/drag-and-drop/index.js +1 -1
  187. package/es/molecule/drag-and-drop/index.js.map +1 -1
  188. package/es/molecule/drag-and-drop/test/fixtures/error.js +1 -1
  189. package/es/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
  190. package/es/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
  191. package/es/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
  192. package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
  193. package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
  194. package/es/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
  195. package/es/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
  196. package/es/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
  197. package/es/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
  198. package/es/molecule/drag-and-drop/test/fixtures/success.js +1 -1
  199. package/es/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
  200. package/es/molecule/drag-and-drop/test/on-click.js +2 -2
  201. package/es/molecule/drag-and-drop/test/on-click.js.map +1 -1
  202. package/es/molecule/drag-and-drop/upload-report.js +1 -1
  203. package/es/molecule/drag-and-drop/upload-report.js.map +1 -1
  204. package/es/molecule/feedback/index.js +1 -1
  205. package/es/molecule/feedback/index.js.map +1 -1
  206. package/es/molecule/filters/test/fixtures/default.js +4 -4
  207. package/es/molecule/filters/test/fixtures/default.js.map +1 -1
  208. package/es/molecule/filters/test/fixtures/filters-list.js +6 -6
  209. package/es/molecule/filters/test/fixtures/filters-list.js.map +1 -1
  210. package/es/molecule/filters/test/fixtures/one.js +2 -2
  211. package/es/molecule/filters/test/fixtures/one.js.map +1 -1
  212. package/es/molecule/filters/test/fixtures/only-radio-group.js +1 -1
  213. package/es/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
  214. package/es/molecule/filters/test/fixtures/only-timer.js +1 -1
  215. package/es/molecule/filters/test/fixtures/only-timer.js.map +1 -1
  216. package/es/molecule/filters/test/fixtures/three.js +3 -3
  217. package/es/molecule/filters/test/fixtures/three.js.map +1 -1
  218. package/es/molecule/filters/test/fixtures/two.js +3 -3
  219. package/es/molecule/filters/test/fixtures/two.js.map +1 -1
  220. package/es/molecule/filters/test/fixtures/zero.js +1 -1
  221. package/es/molecule/filters/test/fixtures/zero.js.map +1 -1
  222. package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
  223. package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
  224. package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
  225. package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
  226. package/es/molecule/hero/test/fixtures/arabic.js +1 -1
  227. package/es/molecule/hero/test/fixtures/arabic.js.map +1 -1
  228. package/es/molecule/hero/test/fixtures/hero.js +1 -1
  229. package/es/molecule/hero/test/fixtures/hero.js.map +1 -1
  230. package/es/molecule/news/test/fixtures/long-description.js +1 -1
  231. package/es/molecule/news/test/fixtures/long-description.js.map +1 -1
  232. package/es/molecule/news/test/fixtures/long-title.js +1 -1
  233. package/es/molecule/news/test/fixtures/long-title.js.map +1 -1
  234. package/es/molecule/news/test/fixtures/small-desciption.js +1 -1
  235. package/es/molecule/news/test/fixtures/small-desciption.js.map +1 -1
  236. package/es/molecule/news/test/fixtures/small-title.js +1 -1
  237. package/es/molecule/news/test/fixtures/small-title.js.map +1 -1
  238. package/es/molecule/popin/index.js +1 -1
  239. package/es/molecule/popin/index.js.map +1 -1
  240. package/es/molecule/progress-bar/index.js +1 -1
  241. package/es/molecule/progress-bar/index.js.map +1 -1
  242. package/es/molecule/questions/drop-down/index.js +1 -1
  243. package/es/molecule/questions/drop-down/index.js.map +1 -1
  244. package/es/molecule/questions/question-range/index.js +3 -2
  245. package/es/molecule/questions/question-range/index.js.map +1 -1
  246. package/es/molecule/questions/template/index.js +2 -2
  247. package/es/molecule/questions/template/index.js.map +1 -1
  248. package/es/molecule/questions/template/test/index.js +1 -1
  249. package/es/molecule/questions/template/test/index.js.map +1 -1
  250. package/es/molecule/quick-access-card/index.js.map +1 -1
  251. package/es/molecule/resource-player/index.js +2 -1
  252. package/es/molecule/resource-player/index.js.map +1 -1
  253. package/es/molecule/select-multiple/index.js +3 -3
  254. package/es/molecule/select-multiple/index.js.map +1 -1
  255. package/es/molecule/select-multiple/style.css +2 -1
  256. package/es/molecule/select-multiple/test/fixtures.js +8 -0
  257. package/es/molecule/select-multiple/test/fixtures.js.map +1 -1
  258. package/es/molecule/select-multiple/test/index.js +2 -2
  259. package/es/molecule/select-multiple/test/index.js.map +1 -1
  260. package/es/molecule/setup-section/index.js +1 -1
  261. package/es/molecule/setup-section/index.js.map +1 -1
  262. package/es/molecule/setup-section/test/fixtures/first.js +1 -1
  263. package/es/molecule/setup-section/test/fixtures/first.js.map +1 -1
  264. package/es/molecule/setup-slide/index.js +8 -8
  265. package/es/molecule/setup-slide/index.js.map +1 -1
  266. package/es/molecule/share/index.js +1 -1
  267. package/es/molecule/share/index.js.map +1 -1
  268. package/es/molecule/video-iframe/index.js +1 -1
  269. package/es/molecule/video-iframe/index.js.map +1 -1
  270. package/es/molecule/video-player/index.js +3 -1
  271. package/es/molecule/video-player/index.js.map +1 -1
  272. package/es/molecule/video-player/jwplayer.js +2 -2
  273. package/es/molecule/video-player/jwplayer.js.map +1 -1
  274. package/es/molecule/video-player/test/fixtures/youtube.js +1 -1
  275. package/es/molecule/video-player/test/fixtures/youtube.js.map +1 -1
  276. package/es/molecule/video-player/vimeo.js +1 -1
  277. package/es/molecule/video-player/vimeo.js.map +1 -1
  278. package/es/molecule/wizard-summary/index.js +30 -3
  279. package/es/molecule/wizard-summary/index.js.map +1 -1
  280. package/es/organism/accordion/coorp-manager/index.js +1 -1
  281. package/es/organism/accordion/coorp-manager/index.js.map +1 -1
  282. package/es/organism/accordion/toggler/index.js +1 -1
  283. package/es/organism/accordion/toggler/index.js.map +1 -1
  284. package/es/organism/accordion/toggler/test/render.js +2 -2
  285. package/es/organism/accordion/toggler/test/render.js.map +1 -1
  286. package/es/organism/brand-form/test/fixtures/sso.js +3 -3
  287. package/es/organism/brand-form/test/fixtures/sso.js.map +1 -1
  288. package/es/organism/content-translation/index.js +2 -2
  289. package/es/organism/content-translation/index.js.map +1 -1
  290. package/es/organism/content-translation/style.css +1 -0
  291. package/es/organism/content-translation/test/fixtures/default.js +2 -2
  292. package/es/organism/content-translation/test/fixtures/default.js.map +1 -1
  293. package/es/organism/content-translation/test/fixtures.js +15 -0
  294. package/es/organism/content-translation/test/fixtures.js.map +1 -0
  295. package/es/organism/course-selection/index.js +26 -9
  296. package/es/organism/course-selection/index.js.map +1 -1
  297. package/es/organism/course-selection/style.css +11 -3
  298. package/es/organism/course-selection/test/fixtures/default.js +44 -13
  299. package/es/organism/course-selection/test/fixtures/default.js.map +1 -1
  300. package/es/organism/course-selection/test/fixtures/empty.js +9 -0
  301. package/es/organism/course-selection/test/fixtures/empty.js.map +1 -1
  302. package/es/organism/course-selection/test/fixtures/filtered.js +11 -3
  303. package/es/organism/course-selection/test/fixtures/filtered.js.map +1 -1
  304. package/es/organism/course-selection/test/fixtures/sorted-selected.js +14 -6
  305. package/es/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
  306. package/es/organism/course-selection/test/fixtures/switch-activated.js +23 -0
  307. package/es/organism/course-selection/test/fixtures/switch-activated.js.map +1 -0
  308. package/es/organism/course-selection/test/fixtures/unsorted-selected.js +14 -6
  309. package/es/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
  310. package/es/organism/course-selection/test/fixtures.js +2 -0
  311. package/es/organism/course-selection/test/fixtures.js.map +1 -1
  312. package/es/organism/discussion/test/fixtures/default.js +1 -1
  313. package/es/organism/discussion/test/fixtures/default.js.map +1 -1
  314. package/es/organism/discussion/test/fixtures/loading-more.js +1 -1
  315. package/es/organism/discussion/test/fixtures/loading-more.js.map +1 -1
  316. package/es/organism/discussion/test/fixtures/new-discussion.js +1 -1
  317. package/es/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
  318. package/es/organism/get-the-app/index.js +2 -2
  319. package/es/organism/get-the-app/index.js.map +1 -1
  320. package/es/organism/list-item/test/fixtures.js +19 -0
  321. package/es/organism/list-item/test/fixtures.js.map +1 -0
  322. package/es/organism/list-items/test/fixtures/archived.js +1 -1
  323. package/es/organism/list-items/test/fixtures/archived.js.map +1 -1
  324. package/es/organism/list-items/test/fixtures/draft.js +1 -1
  325. package/es/organism/list-items/test/fixtures/draft.js.map +1 -1
  326. package/es/organism/list-items/test/fixtures/published.js +2 -2
  327. package/es/organism/list-items/test/fixtures/published.js.map +1 -1
  328. package/es/organism/list-items/test/fixtures.js +17 -0
  329. package/es/organism/list-items/test/fixtures.js.map +1 -0
  330. package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
  331. package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
  332. package/es/organism/mooc-footer/style.css +1 -0
  333. package/es/organism/mooc-header/test/fixtures/default.js +1 -1
  334. package/es/organism/mooc-header/test/fixtures/default.js.map +1 -1
  335. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  336. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  337. package/es/organism/popin/test/fixtures/default.js.map +1 -1
  338. package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
  339. package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
  340. package/es/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
  341. package/es/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
  342. package/es/organism/resource-browser/test/fixtures/kontiki.js +1 -1
  343. package/es/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
  344. package/es/organism/resource-browser/test/fixtures/mp4.js +1 -1
  345. package/es/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
  346. package/es/organism/search-and-chips-results/index.js +11 -4
  347. package/es/organism/search-and-chips-results/index.js.map +1 -1
  348. package/es/organism/search-and-chips-results/style.css +7 -1
  349. package/es/organism/search-and-chips-results/test/fixtures/default.js +1 -0
  350. package/es/organism/search-and-chips-results/test/fixtures/default.js.map +1 -1
  351. package/es/organism/settings/index.js +3 -2
  352. package/es/organism/settings/index.js.map +1 -1
  353. package/es/organism/sidebar/index.js +11 -10
  354. package/es/organism/sidebar/index.js.map +1 -1
  355. package/es/organism/user-preferences/index.js +3 -2
  356. package/es/organism/user-preferences/index.js.map +1 -1
  357. package/es/organism/wizard-contents/index.js +8 -9
  358. package/es/organism/wizard-contents/index.js.map +1 -1
  359. package/es/organism/wizard-contents/style.css +11 -13
  360. package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +1 -1
  361. package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
  362. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -1
  363. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
  364. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +1 -1
  365. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
  366. package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -1
  367. package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
  368. package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -1
  369. package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
  370. package/es/organism/wizard-contents/test/fixtures.js +21 -0
  371. package/es/organism/wizard-contents/test/fixtures.js.map +1 -0
  372. package/es/template/activity/index.js +1 -1
  373. package/es/template/activity/index.js.map +1 -1
  374. package/es/template/activity/test/progression-item-test.js +1 -1
  375. package/es/template/activity/test/progression-item-test.js.map +1 -1
  376. package/es/template/app-player/player/slides/footer/index.js +1 -1
  377. package/es/template/app-player/player/slides/footer/index.js.map +1 -1
  378. package/es/template/app-player/player/slides/index.js +14 -11
  379. package/es/template/app-player/player/slides/index.js.map +1 -1
  380. package/es/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
  381. package/es/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
  382. package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
  383. package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
  384. package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
  385. package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
  386. package/es/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
  387. package/es/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
  388. package/es/template/app-player/player/slides/test/fixtures/clue.js +2 -2
  389. package/es/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
  390. package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
  391. package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
  392. package/es/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
  393. package/es/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
  394. package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
  395. package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
  396. package/es/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
  397. package/es/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
  398. package/es/template/app-player/player/slides/test/fixtures/context.js +2 -2
  399. package/es/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
  400. package/es/template/app-player/player/slides/test/fixtures/default.js +2 -2
  401. package/es/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
  402. package/es/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
  403. package/es/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
  404. package/es/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
  405. package/es/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
  406. package/es/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
  407. package/es/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
  408. package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
  409. package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
  410. package/es/template/app-player/player/slides/test/fixtures/media.js +2 -2
  411. package/es/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
  412. package/es/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
  413. package/es/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
  414. package/es/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
  415. package/es/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
  416. package/es/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
  417. package/es/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
  418. package/es/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
  419. package/es/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
  420. package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
  421. package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
  422. package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
  423. package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
  424. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
  425. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
  426. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
  427. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
  428. package/es/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
  429. package/es/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
  430. package/es/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
  431. package/es/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
  432. package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
  433. package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
  434. package/es/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
  435. package/es/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
  436. package/es/template/app-player/player/slides/test/fixtures/range.js +1 -1
  437. package/es/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
  438. package/es/template/app-player/player/slides/test/fixtures/template.js +1 -1
  439. package/es/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
  440. package/es/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
  441. package/es/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
  442. package/es/template/app-player/player/test/fixtures/background.js +1 -1
  443. package/es/template/app-player/player/test/fixtures/background.js.map +1 -1
  444. package/es/template/app-player/popin-correction/index.js +3 -2
  445. package/es/template/app-player/popin-correction/index.js.map +1 -1
  446. package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
  447. package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
  448. package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
  449. package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
  450. package/es/template/app-player/popin-end/summary.js +11 -7
  451. package/es/template/app-player/popin-end/summary.js.map +1 -1
  452. package/es/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
  453. package/es/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
  454. package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
  455. package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
  456. package/es/template/app-player/popin-header/index.js +4 -3
  457. package/es/template/app-player/popin-header/index.js.map +1 -1
  458. package/es/template/back-office/brand-create/test/fixtures/default.js +1 -1
  459. package/es/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
  460. package/es/template/back-office/brand-create/test/fixtures/loading.js +1 -1
  461. package/es/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
  462. package/es/template/back-office/brand-create/test/fixtures/modified.js +1 -1
  463. package/es/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
  464. package/es/template/back-office/brand-list/test/fixtures/default.js +1 -1
  465. package/es/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  466. package/es/template/back-office/brand-list/test/fixtures/rh.js +1 -1
  467. package/es/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  468. package/es/template/back-office/brand-update/index.js +13 -11
  469. package/es/template/back-office/brand-update/index.js.map +1 -1
  470. package/es/template/back-office/brand-update/style.css +4 -0
  471. package/es/template/back-office/brand-update/test/fixtures/list-items-archived.js +1 -1
  472. package/es/template/back-office/brand-update/test/fixtures/list-items-archived.js.map +1 -1
  473. package/es/template/back-office/brand-update/test/fixtures/list-items-draft.js +1 -1
  474. package/es/template/back-office/brand-update/test/fixtures/list-items-draft.js.map +1 -1
  475. package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +1 -1
  476. package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -1
  477. package/es/template/back-office/brand-update/test/fixtures/list-items-published.js +1 -1
  478. package/es/template/back-office/brand-update/test/fixtures/list-items-published.js.map +1 -1
  479. package/es/template/back-office/brand-update/test/fixtures/loader.js +6 -2
  480. package/es/template/back-office/brand-update/test/fixtures/loader.js.map +1 -1
  481. package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js +237 -2
  482. package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
  483. package/es/template/back-office/brand-update/test/fixtures/manageusers-list.js +1 -1
  484. package/es/template/back-office/brand-update/test/fixtures/manageusers-list.js.map +1 -1
  485. package/es/template/back-office/brand-update/test/fixtures/quick-access.js +1 -1
  486. package/es/template/back-office/brand-update/test/fixtures/quick-access.js.map +1 -1
  487. package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
  488. package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
  489. package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
  490. package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
  491. package/es/template/back-office/brand-update/test/fixtures/uploadusers.js +2 -2
  492. package/es/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
  493. package/es/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js +1 -1
  494. package/es/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js.map +1 -1
  495. package/es/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js +50 -1
  496. package/es/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js.map +1 -1
  497. package/es/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js +1 -1
  498. package/es/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js.map +1 -1
  499. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +1 -1
  500. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -1
  501. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js +1 -1
  502. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js.map +1 -1
  503. package/es/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js +1 -1
  504. package/es/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js.map +1 -1
  505. package/es/template/back-office/brand-update/test/fixtures.js +20 -2
  506. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
  507. package/es/template/cockpit/jw-uploader/index.js +1 -1
  508. package/es/template/cockpit/jw-uploader/index.js.map +1 -1
  509. package/es/template/common/dashboard/index.js +1 -1
  510. package/es/template/common/dashboard/index.js.map +1 -1
  511. package/es/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
  512. package/es/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
  513. package/es/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
  514. package/es/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
  515. package/es/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
  516. package/es/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
  517. package/es/template/common/discipline/test/fixtures/arabic.js +1 -1
  518. package/es/template/common/discipline/test/fixtures/arabic.js.map +1 -1
  519. package/es/template/common/discipline/test/fixtures/default.js +2 -2
  520. package/es/template/common/discipline/test/fixtures/default.js.map +1 -1
  521. package/es/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
  522. package/es/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
  523. package/es/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
  524. package/es/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
  525. package/es/template/common/discipline/test/fixtures/external-course.js +2 -2
  526. package/es/template/common/discipline/test/fixtures/external-course.js.map +1 -1
  527. package/es/template/common/discipline/test/fixtures/share.js +1 -1
  528. package/es/template/common/discipline/test/fixtures/share.js.map +1 -1
  529. package/es/template/teams-dashboard/test/fixtures/default.js +1 -1
  530. package/es/template/teams-dashboard/test/fixtures/default.js.map +1 -1
  531. package/es/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
  532. package/es/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
  533. package/es/template/teams-dashboard/test/fixtures/mobile.js +1 -1
  534. package/es/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
  535. package/es/util/shallow-compare.js.map +1 -1
  536. package/es/util/test/navigation.js +4 -3
  537. package/es/util/test/navigation.js.map +1 -1
  538. package/lib/atom/autocomplete/index.js +2 -2
  539. package/lib/atom/autocomplete/test/fixtures/error.js +1 -1
  540. package/lib/atom/autocomplete/test/fixtures/error.js.map +1 -1
  541. package/lib/atom/autocomplete/test/fixtures/filled.js +1 -1
  542. package/lib/atom/autocomplete/test/fixtures/filled.js.map +1 -1
  543. package/lib/atom/autocomplete/test/fixtures/modified.js +1 -1
  544. package/lib/atom/autocomplete/test/fixtures/modified.js.map +1 -1
  545. package/lib/atom/button-link/index.js +2 -2
  546. package/lib/atom/button-link-icon-only/index.js +2 -2
  547. package/lib/atom/button-menu/index.js +2 -2
  548. package/lib/atom/button-menu/test/fixtures/default.js +1 -1
  549. package/lib/atom/button-menu/test/fixtures/multiple-buttons.js +1 -1
  550. package/lib/atom/chips/index.js +2 -2
  551. package/lib/atom/clue/index.js.map +1 -1
  552. package/lib/atom/clue/test/see-clue.js +34 -0
  553. package/lib/atom/clue/test/see-clue.js.map +1 -1
  554. package/lib/atom/content-badge/test/fixtures.js +3 -0
  555. package/lib/atom/content-badge/test/fixtures.js.map +1 -1
  556. package/lib/atom/cta/test/fixtures/certification.js +1 -1
  557. package/lib/atom/cta/test/fixtures/certification.js.map +1 -1
  558. package/lib/atom/cta/test/fixtures/disabled.js +1 -1
  559. package/lib/atom/cta/test/fixtures/disabled.js.map +1 -1
  560. package/lib/atom/cta/test/fixtures/light-small.js +1 -1
  561. package/lib/atom/cta/test/fixtures/light-small.js.map +1 -1
  562. package/lib/atom/cta/test/fixtures/light.js +1 -1
  563. package/lib/atom/cta/test/fixtures/light.js.map +1 -1
  564. package/lib/atom/cta/test/fixtures/logout.js +1 -1
  565. package/lib/atom/cta/test/fixtures/logout.js.map +1 -1
  566. package/lib/atom/cta/test/fixtures/primary-small.js +1 -1
  567. package/lib/atom/cta/test/fixtures/primary-small.js.map +1 -1
  568. package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
  569. package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
  570. package/lib/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
  571. package/lib/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
  572. package/lib/atom/cta/test/fixtures/rectangular.js +1 -1
  573. package/lib/atom/cta/test/fixtures/rectangular.js.map +1 -1
  574. package/lib/atom/cta/test/fixtures/secondary-small.js +1 -1
  575. package/lib/atom/cta/test/fixtures/secondary-small.js.map +1 -1
  576. package/lib/atom/cta/test/fixtures/secondary.js +1 -1
  577. package/lib/atom/cta/test/fixtures/secondary.js.map +1 -1
  578. package/lib/atom/drag-and-drop/index.js +1 -1
  579. package/lib/atom/drag-and-drop/index.js.map +1 -1
  580. package/lib/atom/drag-and-drop/test/fixtures/loading.js +1 -1
  581. package/lib/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  582. package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
  583. package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
  584. package/lib/atom/image-upload/index.js +3 -3
  585. package/lib/atom/image-upload/index.js.map +1 -1
  586. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
  587. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
  588. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
  589. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
  590. package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
  591. package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
  592. package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
  593. package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
  594. package/lib/atom/image-upload/test/fixtures/email.js +1 -1
  595. package/lib/atom/image-upload/test/fixtures/email.js.map +1 -1
  596. package/lib/atom/image-upload/test/fixtures/mobile.js +1 -1
  597. package/lib/atom/image-upload/test/fixtures/mobile.js.map +1 -1
  598. package/lib/atom/image-upload/test/fixtures/modified.js +1 -1
  599. package/lib/atom/image-upload/test/fixtures/modified.js.map +1 -1
  600. package/lib/atom/input-checkbox/index.js +2 -2
  601. package/lib/atom/input-color/index.js +2 -2
  602. package/lib/atom/input-doublestep/index.js +2 -2
  603. package/lib/atom/input-html/index.js.map +1 -1
  604. package/lib/atom/input-search/index.js +2 -2
  605. package/lib/atom/input-switch/index.js +15 -8
  606. package/lib/atom/input-switch/index.js.map +1 -1
  607. package/lib/atom/input-switch/style.css +47 -0
  608. package/lib/atom/input-switch/test/fixtures/cm-left.js +16 -0
  609. package/lib/atom/input-switch/test/fixtures/cm-left.js.map +1 -0
  610. package/lib/atom/input-switch/test/fixtures/cm-right-checked.js +16 -0
  611. package/lib/atom/input-switch/test/fixtures/cm-right-checked.js.map +1 -0
  612. package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js +20 -0
  613. package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -0
  614. package/lib/atom/input-switch/test/fixtures/cm-right-modified.js +17 -0
  615. package/lib/atom/input-switch/test/fixtures/cm-right-modified.js.map +1 -0
  616. package/lib/atom/input-switch/test/fixtures/cm-right.js +16 -0
  617. package/lib/atom/input-switch/test/fixtures/cm-right.js.map +1 -0
  618. package/lib/atom/input-switch/test/fixtures/disabled.js +1 -1
  619. package/lib/atom/input-switch/test/fixtures/disabled.js.map +1 -1
  620. package/lib/atom/input-switch/test/fixtures.js +15 -0
  621. package/lib/atom/input-switch/test/fixtures.js.map +1 -1
  622. package/lib/atom/input-text/index.js +2 -2
  623. package/lib/atom/input-textarea/index.js +2 -2
  624. package/lib/atom/link/index.js +4 -2
  625. package/lib/atom/link/index.js.map +1 -1
  626. package/lib/atom/promo-code/index.js.map +1 -1
  627. package/lib/atom/provider/index.js +1 -1
  628. package/lib/atom/provider/index.js.map +1 -1
  629. package/lib/atom/provider/test/index.js +1 -1
  630. package/lib/atom/provider/test/index.js.map +1 -1
  631. package/lib/atom/range/index.js +1 -1
  632. package/lib/atom/range/index.js.map +1 -1
  633. package/lib/atom/range/test/fixtures/multi.js +1 -1
  634. package/lib/atom/range/test/fixtures/multi.js.map +1 -1
  635. package/lib/atom/range/test/index.js +9 -9
  636. package/lib/atom/range/test/index.js.map +1 -1
  637. package/lib/atom/select/index.js +2 -2
  638. package/lib/atom/tab/index.js +2 -2
  639. package/lib/atom/video-upload/index.js +1 -1
  640. package/lib/atom/video-upload/index.js.map +1 -1
  641. package/lib/atom/video-upload/test/fixtures/loading.js +1 -1
  642. package/lib/atom/video-upload/test/fixtures/loading.js.map +1 -1
  643. package/lib/atom/video-upload/test/fixtures/modified.js +1 -1
  644. package/lib/atom/video-upload/test/fixtures/modified.js.map +1 -1
  645. package/lib/hoc/animation/index.js +1 -1
  646. package/lib/hoc/animation/test/on-mount.js +2 -2
  647. package/lib/hoc/animation-scheduler/index.js +4 -4
  648. package/lib/hoc/animation-scheduler/index.js.map +1 -1
  649. package/lib/hoc/animation-scheduler/test/fixtures/parallel.js +3 -3
  650. package/lib/hoc/animation-scheduler/test/fixtures/series.js +2 -2
  651. package/lib/hoc/animation-scheduler/test/on-mount.js +2 -2
  652. package/lib/hoc/swapper/index.js +5 -3
  653. package/lib/hoc/swapper/index.js.map +1 -1
  654. package/lib/hoc/swapper/test/on-mount.js +2 -2
  655. package/lib/hoc/transition/index.js +3 -3
  656. package/lib/hoc/transition/index.js.map +1 -1
  657. package/lib/molecule/add-to-my-list/index.js +4 -4
  658. package/lib/molecule/add-to-my-list/index.js.map +1 -1
  659. package/lib/molecule/answer/index.js +5 -3
  660. package/lib/molecule/answer/index.js.map +1 -1
  661. package/lib/molecule/answer/test/fixtures/audio.js +1 -1
  662. package/lib/molecule/answer/test/fixtures/audio.js.map +1 -1
  663. package/lib/molecule/answer/test/fixtures/default.js +1 -1
  664. package/lib/molecule/answer/test/fixtures/default.js.map +1 -1
  665. package/lib/molecule/answer/test/fixtures/drop-down.js +1 -1
  666. package/lib/molecule/answer/test/fixtures/drop-down.js.map +1 -1
  667. package/lib/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
  668. package/lib/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
  669. package/lib/molecule/answer/test/fixtures/qcm-drag.js +1 -1
  670. package/lib/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
  671. package/lib/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
  672. package/lib/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
  673. package/lib/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
  674. package/lib/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
  675. package/lib/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
  676. package/lib/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
  677. package/lib/molecule/answer/test/fixtures/qcm-short.js +1 -1
  678. package/lib/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
  679. package/lib/molecule/answer/test/fixtures/qcm.js +1 -1
  680. package/lib/molecule/answer/test/fixtures/qcm.js.map +1 -1
  681. package/lib/molecule/answer/test/fixtures/range.js +1 -1
  682. package/lib/molecule/answer/test/fixtures/range.js.map +1 -1
  683. package/lib/molecule/answer/test/fixtures/template.js +1 -1
  684. package/lib/molecule/answer/test/fixtures/template.js.map +1 -1
  685. package/lib/molecule/banner/style.css +1 -0
  686. package/lib/molecule/banner/test/fixtures/default.js +1 -1
  687. package/lib/molecule/banner/test/fixtures/default.js.map +1 -1
  688. package/lib/molecule/banner/test/fixtures.js +12 -0
  689. package/lib/molecule/banner/test/fixtures.js.map +1 -1
  690. package/lib/molecule/brand-create-form/index.js +2 -2
  691. package/lib/molecule/brand-form-group/index.js +18 -18
  692. package/lib/molecule/brand-form-group/index.js.map +1 -1
  693. package/lib/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
  694. package/lib/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
  695. package/lib/molecule/brand-form-group/test/fixtures/animations.js +2 -2
  696. package/lib/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
  697. package/lib/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
  698. package/lib/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
  699. package/lib/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
  700. package/lib/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
  701. package/lib/molecule/brand-form-group/test/fixtures/images.js +3 -3
  702. package/lib/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
  703. package/lib/molecule/brand-form-group/test/fixtures/slider.js +1 -1
  704. package/lib/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
  705. package/lib/molecule/bullet-point-menu-button/index.js +2 -2
  706. package/lib/molecule/card/customer.css +61 -3
  707. package/lib/molecule/card/customer.js +22 -6
  708. package/lib/molecule/card/customer.js.map +1 -1
  709. package/lib/molecule/card/index.js +22 -9
  710. package/lib/molecule/card/index.js.map +1 -1
  711. package/lib/molecule/card/style.css +86 -24
  712. package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
  713. package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  714. package/lib/molecule/card/test/fixtures/adaptiv.js +1 -1
  715. package/lib/molecule/card/test/fixtures/adaptiv.js.map +1 -1
  716. package/lib/molecule/card/test/fixtures/coorpmanager.js +28 -0
  717. package/lib/molecule/card/test/fixtures/coorpmanager.js.map +1 -0
  718. package/lib/molecule/card/test/fixtures/disabled.js +1 -1
  719. package/lib/molecule/card/test/fixtures/disabled.js.map +1 -1
  720. package/lib/molecule/card-content/index.js +14 -6
  721. package/lib/molecule/card-content/index.js.map +1 -1
  722. package/lib/molecule/card-content/style.css +52 -0
  723. package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
  724. package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  725. package/lib/molecule/card-content/test/fixtures/adaptiv.js +1 -1
  726. package/lib/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
  727. package/lib/molecule/card-content/test/fixtures/disabled.js +1 -1
  728. package/lib/molecule/card-content/test/fixtures/disabled.js.map +1 -1
  729. package/lib/molecule/card-with-button/index.js.map +1 -1
  730. package/lib/molecule/cm-popin/style.css +1 -0
  731. package/lib/molecule/coorp-manager-roles/index.js +1 -1
  732. package/lib/molecule/coorp-manager-roles/index.js.map +1 -1
  733. package/lib/molecule/dashboard/battle-request-list/index.js +1 -1
  734. package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
  735. package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
  736. package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
  737. package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
  738. package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
  739. package/lib/molecule/dashboard/cards-list/test/index.js +1 -1
  740. package/lib/molecule/dashboard/cards-list/test/index.js.map +1 -1
  741. package/lib/molecule/dashboard/news-list/index.js +1 -1
  742. package/lib/molecule/dashboard/news-list/index.js.map +1 -1
  743. package/lib/molecule/dashboard/start-battle/index.js +1 -1
  744. package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
  745. package/lib/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
  746. package/lib/molecule/drag-and-drop/index.js +3 -3
  747. package/lib/molecule/drag-and-drop/index.js.map +1 -1
  748. package/lib/molecule/drag-and-drop/test/fixtures/error.js +1 -1
  749. package/lib/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
  750. package/lib/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
  751. package/lib/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
  752. package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
  753. package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
  754. package/lib/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
  755. package/lib/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
  756. package/lib/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
  757. package/lib/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
  758. package/lib/molecule/drag-and-drop/test/fixtures/success.js +1 -1
  759. package/lib/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
  760. package/lib/molecule/drag-and-drop/test/on-click.js +2 -2
  761. package/lib/molecule/drag-and-drop/test/on-click.js.map +1 -1
  762. package/lib/molecule/drag-and-drop/upload-report.js +3 -3
  763. package/lib/molecule/drag-and-drop/upload-report.js.map +1 -1
  764. package/lib/molecule/feedback/index.js +3 -3
  765. package/lib/molecule/feedback/index.js.map +1 -1
  766. package/lib/molecule/filters/test/fixtures/default.js +4 -4
  767. package/lib/molecule/filters/test/fixtures/default.js.map +1 -1
  768. package/lib/molecule/filters/test/fixtures/filters-list.js +6 -6
  769. package/lib/molecule/filters/test/fixtures/filters-list.js.map +1 -1
  770. package/lib/molecule/filters/test/fixtures/one.js +2 -2
  771. package/lib/molecule/filters/test/fixtures/one.js.map +1 -1
  772. package/lib/molecule/filters/test/fixtures/only-radio-group.js +1 -1
  773. package/lib/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
  774. package/lib/molecule/filters/test/fixtures/only-timer.js +1 -1
  775. package/lib/molecule/filters/test/fixtures/only-timer.js.map +1 -1
  776. package/lib/molecule/filters/test/fixtures/three.js +3 -3
  777. package/lib/molecule/filters/test/fixtures/three.js.map +1 -1
  778. package/lib/molecule/filters/test/fixtures/two.js +3 -3
  779. package/lib/molecule/filters/test/fixtures/two.js.map +1 -1
  780. package/lib/molecule/filters/test/fixtures/zero.js +1 -1
  781. package/lib/molecule/filters/test/fixtures/zero.js.map +1 -1
  782. package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
  783. package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
  784. package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
  785. package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
  786. package/lib/molecule/hero/index.js +2 -2
  787. package/lib/molecule/hero/test/fixtures/arabic.js +1 -1
  788. package/lib/molecule/hero/test/fixtures/arabic.js.map +1 -1
  789. package/lib/molecule/hero/test/fixtures/hero.js +1 -1
  790. package/lib/molecule/hero/test/fixtures/hero.js.map +1 -1
  791. package/lib/molecule/news/test/fixtures/long-description.js +1 -1
  792. package/lib/molecule/news/test/fixtures/long-description.js.map +1 -1
  793. package/lib/molecule/news/test/fixtures/long-title.js +1 -1
  794. package/lib/molecule/news/test/fixtures/long-title.js.map +1 -1
  795. package/lib/molecule/news/test/fixtures/small-desciption.js +1 -1
  796. package/lib/molecule/news/test/fixtures/small-desciption.js.map +1 -1
  797. package/lib/molecule/news/test/fixtures/small-title.js +1 -1
  798. package/lib/molecule/news/test/fixtures/small-title.js.map +1 -1
  799. package/lib/molecule/popin/index.js +3 -3
  800. package/lib/molecule/popin/index.js.map +1 -1
  801. package/lib/molecule/progress-bar/index.js +1 -1
  802. package/lib/molecule/progress-bar/index.js.map +1 -1
  803. package/lib/molecule/questions/drop-down/index.js +3 -3
  804. package/lib/molecule/questions/drop-down/index.js.map +1 -1
  805. package/lib/molecule/questions/free-text/index.js +2 -2
  806. package/lib/molecule/questions/question-range/index.js +4 -2
  807. package/lib/molecule/questions/question-range/index.js.map +1 -1
  808. package/lib/molecule/questions/template/index.js +2 -2
  809. package/lib/molecule/questions/template/index.js.map +1 -1
  810. package/lib/molecule/questions/template/test/index.js +1 -1
  811. package/lib/molecule/questions/template/test/index.js.map +1 -1
  812. package/lib/molecule/quick-access-card/index.js.map +1 -1
  813. package/lib/molecule/resource-player/index.js +4 -2
  814. package/lib/molecule/resource-player/index.js.map +1 -1
  815. package/lib/molecule/scope-tabs/index.js +2 -2
  816. package/lib/molecule/search-form/index.js +2 -2
  817. package/lib/molecule/select-multiple/index.js +6 -6
  818. package/lib/molecule/select-multiple/index.js.map +1 -1
  819. package/lib/molecule/select-multiple/style.css +2 -1
  820. package/lib/molecule/select-multiple/test/fixtures.js +12 -0
  821. package/lib/molecule/select-multiple/test/fixtures.js.map +1 -1
  822. package/lib/molecule/select-multiple/test/index.js +4 -4
  823. package/lib/molecule/select-multiple/test/index.js.map +1 -1
  824. package/lib/molecule/setup-section/index.js +1 -1
  825. package/lib/molecule/setup-section/index.js.map +1 -1
  826. package/lib/molecule/setup-section/test/fixtures/first.js +1 -1
  827. package/lib/molecule/setup-section/test/fixtures/first.js.map +1 -1
  828. package/lib/molecule/setup-sections/index.js +2 -2
  829. package/lib/molecule/setup-slide/index.js +8 -8
  830. package/lib/molecule/setup-slide/index.js.map +1 -1
  831. package/lib/molecule/share/index.js +4 -4
  832. package/lib/molecule/share/index.js.map +1 -1
  833. package/lib/molecule/titled-checkbox/index.js +2 -2
  834. package/lib/molecule/vertical-tabs/test/fixtures/default.js +1 -1
  835. package/lib/molecule/video-iframe/index.js +1 -1
  836. package/lib/molecule/video-iframe/index.js.map +1 -1
  837. package/lib/molecule/video-player/index.js +3 -1
  838. package/lib/molecule/video-player/index.js.map +1 -1
  839. package/lib/molecule/video-player/jwplayer.js +2 -2
  840. package/lib/molecule/video-player/jwplayer.js.map +1 -1
  841. package/lib/molecule/video-player/test/fixtures/youtube.js +1 -1
  842. package/lib/molecule/video-player/test/fixtures/youtube.js.map +1 -1
  843. package/lib/molecule/video-player/vimeo.js +1 -1
  844. package/lib/molecule/video-player/vimeo.js.map +1 -1
  845. package/lib/molecule/wizard-summary/index.js +31 -4
  846. package/lib/molecule/wizard-summary/index.js.map +1 -1
  847. package/lib/organism/accordion/container/index.js +2 -2
  848. package/lib/organism/accordion/coorp-manager/index.js +3 -3
  849. package/lib/organism/accordion/coorp-manager/index.js.map +1 -1
  850. package/lib/organism/accordion/toggler/index.js +1 -1
  851. package/lib/organism/accordion/toggler/index.js.map +1 -1
  852. package/lib/organism/accordion/toggler/test/render.js +2 -2
  853. package/lib/organism/accordion/toggler/test/render.js.map +1 -1
  854. package/lib/organism/brand-form/index.js +2 -2
  855. package/lib/organism/brand-form/test/fixtures/sso.js +3 -3
  856. package/lib/organism/brand-form/test/fixtures/sso.js.map +1 -1
  857. package/lib/organism/content-translation/index.js +2 -2
  858. package/lib/organism/content-translation/index.js.map +1 -1
  859. package/lib/organism/content-translation/style.css +1 -0
  860. package/lib/organism/content-translation/test/fixtures/default.js +2 -2
  861. package/lib/organism/content-translation/test/fixtures/default.js.map +1 -1
  862. package/lib/organism/content-translation/test/fixtures.js +25 -0
  863. package/lib/organism/content-translation/test/fixtures.js.map +1 -0
  864. package/lib/organism/course-selection/index.js +28 -9
  865. package/lib/organism/course-selection/index.js.map +1 -1
  866. package/lib/organism/course-selection/style.css +11 -3
  867. package/lib/organism/course-selection/test/fixtures/default.js +45 -13
  868. package/lib/organism/course-selection/test/fixtures/default.js.map +1 -1
  869. package/lib/organism/course-selection/test/fixtures/empty.js +9 -0
  870. package/lib/organism/course-selection/test/fixtures/empty.js.map +1 -1
  871. package/lib/organism/course-selection/test/fixtures/filtered.js +11 -3
  872. package/lib/organism/course-selection/test/fixtures/filtered.js.map +1 -1
  873. package/lib/organism/course-selection/test/fixtures/sorted-selected.js +14 -6
  874. package/lib/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
  875. package/lib/organism/course-selection/test/fixtures/switch-activated.js +32 -0
  876. package/lib/organism/course-selection/test/fixtures/switch-activated.js.map +1 -0
  877. package/lib/organism/course-selection/test/fixtures/unsorted-selected.js +14 -6
  878. package/lib/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
  879. package/lib/organism/course-selection/test/fixtures.js +3 -0
  880. package/lib/organism/course-selection/test/fixtures.js.map +1 -1
  881. package/lib/organism/discussion/test/fixtures/default.js +1 -1
  882. package/lib/organism/discussion/test/fixtures/default.js.map +1 -1
  883. package/lib/organism/discussion/test/fixtures/loading-more.js +1 -1
  884. package/lib/organism/discussion/test/fixtures/loading-more.js.map +1 -1
  885. package/lib/organism/discussion/test/fixtures/new-discussion.js +1 -1
  886. package/lib/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
  887. package/lib/organism/get-the-app/index.js +2 -2
  888. package/lib/organism/get-the-app/index.js.map +1 -1
  889. package/lib/organism/list-item/test/fixtures.js +31 -0
  890. package/lib/organism/list-item/test/fixtures.js.map +1 -0
  891. package/lib/organism/list-items/test/fixtures/archived.js +1 -1
  892. package/lib/organism/list-items/test/fixtures/archived.js.map +1 -1
  893. package/lib/organism/list-items/test/fixtures/draft.js +1 -1
  894. package/lib/organism/list-items/test/fixtures/draft.js.map +1 -1
  895. package/lib/organism/list-items/test/fixtures/published.js +2 -2
  896. package/lib/organism/list-items/test/fixtures/published.js.map +1 -1
  897. package/lib/organism/list-items/test/fixtures.js +28 -0
  898. package/lib/organism/list-items/test/fixtures.js.map +1 -0
  899. package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
  900. package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
  901. package/lib/organism/mooc-footer/style.css +1 -0
  902. package/lib/organism/mooc-header/test/fixtures/default.js +1 -1
  903. package/lib/organism/mooc-header/test/fixtures/default.js.map +1 -1
  904. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  905. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  906. package/lib/organism/popin/test/fixtures/default.js.map +1 -1
  907. package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
  908. package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
  909. package/lib/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
  910. package/lib/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
  911. package/lib/organism/resource-browser/test/fixtures/kontiki.js +1 -1
  912. package/lib/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
  913. package/lib/organism/resource-browser/test/fixtures/mp4.js +1 -1
  914. package/lib/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
  915. package/lib/organism/search-and-chips-results/index.js +12 -4
  916. package/lib/organism/search-and-chips-results/index.js.map +1 -1
  917. package/lib/organism/search-and-chips-results/style.css +7 -1
  918. package/lib/organism/search-and-chips-results/test/fixtures/default.js +1 -0
  919. package/lib/organism/search-and-chips-results/test/fixtures/default.js.map +1 -1
  920. package/lib/organism/settings/index.js +4 -2
  921. package/lib/organism/settings/index.js.map +1 -1
  922. package/lib/organism/sidebar/index.js +15 -13
  923. package/lib/organism/sidebar/index.js.map +1 -1
  924. package/lib/organism/user-preferences/index.js +4 -2
  925. package/lib/organism/user-preferences/index.js.map +1 -1
  926. package/lib/organism/wizard-contents/index.js +8 -10
  927. package/lib/organism/wizard-contents/index.js.map +1 -1
  928. package/lib/organism/wizard-contents/style.css +11 -13
  929. package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +1 -1
  930. package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
  931. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -1
  932. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
  933. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +1 -1
  934. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
  935. package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -1
  936. package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
  937. package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -1
  938. package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
  939. package/lib/organism/wizard-contents/test/fixtures.js +34 -0
  940. package/lib/organism/wizard-contents/test/fixtures.js.map +1 -0
  941. package/lib/template/activity/index.js +1 -1
  942. package/lib/template/activity/index.js.map +1 -1
  943. package/lib/template/activity/progression-item.js +2 -2
  944. package/lib/template/activity/test/progression-item-test.js +1 -1
  945. package/lib/template/activity/test/progression-item-test.js.map +1 -1
  946. package/lib/template/app-player/player/slides/footer/index.js +1 -1
  947. package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
  948. package/lib/template/app-player/player/slides/index.js +15 -11
  949. package/lib/template/app-player/player/slides/index.js.map +1 -1
  950. package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
  951. package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
  952. package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
  953. package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
  954. package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
  955. package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
  956. package/lib/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
  957. package/lib/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
  958. package/lib/template/app-player/player/slides/test/fixtures/clue.js +2 -2
  959. package/lib/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
  960. package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
  961. package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
  962. package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
  963. package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
  964. package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
  965. package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
  966. package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
  967. package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
  968. package/lib/template/app-player/player/slides/test/fixtures/context.js +2 -2
  969. package/lib/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
  970. package/lib/template/app-player/player/slides/test/fixtures/default.js +2 -2
  971. package/lib/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
  972. package/lib/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
  973. package/lib/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
  974. package/lib/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
  975. package/lib/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
  976. package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
  977. package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
  978. package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
  979. package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
  980. package/lib/template/app-player/player/slides/test/fixtures/media.js +2 -2
  981. package/lib/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
  982. package/lib/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
  983. package/lib/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
  984. package/lib/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
  985. package/lib/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
  986. package/lib/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
  987. package/lib/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
  988. package/lib/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
  989. package/lib/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
  990. package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
  991. package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
  992. package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
  993. package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
  994. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
  995. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
  996. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
  997. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
  998. package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
  999. package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
  1000. package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
  1001. package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
  1002. package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
  1003. package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
  1004. package/lib/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
  1005. package/lib/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
  1006. package/lib/template/app-player/player/slides/test/fixtures/range.js +1 -1
  1007. package/lib/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
  1008. package/lib/template/app-player/player/slides/test/fixtures/template.js +1 -1
  1009. package/lib/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
  1010. package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
  1011. package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
  1012. package/lib/template/app-player/player/test/fixtures/background.js +1 -1
  1013. package/lib/template/app-player/player/test/fixtures/background.js.map +1 -1
  1014. package/lib/template/app-player/popin-correction/index.js +6 -4
  1015. package/lib/template/app-player/popin-correction/index.js.map +1 -1
  1016. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
  1017. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
  1018. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
  1019. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
  1020. package/lib/template/app-player/popin-end/summary.js +12 -7
  1021. package/lib/template/app-player/popin-end/summary.js.map +1 -1
  1022. package/lib/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
  1023. package/lib/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
  1024. package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
  1025. package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
  1026. package/lib/template/app-player/popin-header/index.js +7 -5
  1027. package/lib/template/app-player/popin-header/index.js.map +1 -1
  1028. package/lib/template/back-office/brand-create/test/fixtures/default.js +1 -1
  1029. package/lib/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
  1030. package/lib/template/back-office/brand-create/test/fixtures/loading.js +1 -1
  1031. package/lib/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
  1032. package/lib/template/back-office/brand-create/test/fixtures/modified.js +1 -1
  1033. package/lib/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
  1034. package/lib/template/back-office/brand-list/test/fixtures/default.js +1 -1
  1035. package/lib/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  1036. package/lib/template/back-office/brand-list/test/fixtures/rh.js +1 -1
  1037. package/lib/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  1038. package/lib/template/back-office/brand-update/index.js +13 -11
  1039. package/lib/template/back-office/brand-update/index.js.map +1 -1
  1040. package/lib/template/back-office/brand-update/style.css +4 -0
  1041. package/lib/template/back-office/brand-update/test/fixtures/analytics.js +2 -2
  1042. package/lib/template/back-office/brand-update/test/fixtures/animations.js +2 -2
  1043. package/lib/template/back-office/brand-update/test/fixtures/cohort-error.js +2 -2
  1044. package/lib/template/back-office/brand-update/test/fixtures/cohort.js +2 -2
  1045. package/lib/template/back-office/brand-update/test/fixtures/dashboard.js +2 -2
  1046. package/lib/template/back-office/brand-update/test/fixtures/dashboards-analytics.js +2 -2
  1047. package/lib/template/back-office/brand-update/test/fixtures/default.js +1 -1
  1048. package/lib/template/back-office/brand-update/test/fixtures/list-items-archived.js +1 -1
  1049. package/lib/template/back-office/brand-update/test/fixtures/list-items-archived.js.map +1 -1
  1050. package/lib/template/back-office/brand-update/test/fixtures/list-items-draft.js +1 -1
  1051. package/lib/template/back-office/brand-update/test/fixtures/list-items-draft.js.map +1 -1
  1052. package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +1 -1
  1053. package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -1
  1054. package/lib/template/back-office/brand-update/test/fixtures/list-items-published.js +1 -1
  1055. package/lib/template/back-office/brand-update/test/fixtures/list-items-published.js.map +1 -1
  1056. package/lib/template/back-office/brand-update/test/fixtures/lms-error.js +2 -2
  1057. package/lib/template/back-office/brand-update/test/fixtures/lms-modified.js +2 -2
  1058. package/lib/template/back-office/brand-update/test/fixtures/lms-success.js +2 -2
  1059. package/lib/template/back-office/brand-update/test/fixtures/lms.js +2 -2
  1060. package/lib/template/back-office/brand-update/test/fixtures/loader.js +7 -3
  1061. package/lib/template/back-office/brand-update/test/fixtures/loader.js.map +1 -1
  1062. package/lib/template/back-office/brand-update/test/fixtures/lookandfeel.js +2 -2
  1063. package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js +237 -2
  1064. package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
  1065. package/lib/template/back-office/brand-update/test/fixtures/manageusers-list.js +2 -2
  1066. package/lib/template/back-office/brand-update/test/fixtures/manageusers-list.js.map +1 -1
  1067. package/lib/template/back-office/brand-update/test/fixtures/quick-access.js +1 -1
  1068. package/lib/template/back-office/brand-update/test/fixtures/quick-access.js.map +1 -1
  1069. package/lib/template/back-office/brand-update/test/fixtures/sso.js +2 -2
  1070. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
  1071. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
  1072. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
  1073. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
  1074. package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js +3 -3
  1075. package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
  1076. package/lib/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js +1 -1
  1077. package/lib/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js.map +1 -1
  1078. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js +50 -1
  1079. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js.map +1 -1
  1080. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js +1 -1
  1081. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js.map +1 -1
  1082. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +1 -1
  1083. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -1
  1084. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js +1 -1
  1085. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js.map +1 -1
  1086. package/lib/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js +1 -1
  1087. package/lib/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js.map +1 -1
  1088. package/lib/template/back-office/brand-update/test/fixtures.js +30 -3
  1089. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
  1090. package/lib/template/cockpit/jw-uploader/index.js +1 -1
  1091. package/lib/template/cockpit/jw-uploader/index.js.map +1 -1
  1092. package/lib/template/common/dashboard/index.js +1 -1
  1093. package/lib/template/common/dashboard/index.js.map +1 -1
  1094. package/lib/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
  1095. package/lib/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
  1096. package/lib/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
  1097. package/lib/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
  1098. package/lib/template/common/discipline/index.js +2 -2
  1099. package/lib/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
  1100. package/lib/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
  1101. package/lib/template/common/discipline/test/fixtures/arabic.js +1 -1
  1102. package/lib/template/common/discipline/test/fixtures/arabic.js.map +1 -1
  1103. package/lib/template/common/discipline/test/fixtures/default.js +2 -2
  1104. package/lib/template/common/discipline/test/fixtures/default.js.map +1 -1
  1105. package/lib/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
  1106. package/lib/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
  1107. package/lib/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
  1108. package/lib/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
  1109. package/lib/template/common/discipline/test/fixtures/external-course.js +2 -2
  1110. package/lib/template/common/discipline/test/fixtures/external-course.js.map +1 -1
  1111. package/lib/template/common/discipline/test/fixtures/share.js +1 -1
  1112. package/lib/template/common/discipline/test/fixtures/share.js.map +1 -1
  1113. package/lib/template/teams-dashboard/index.js +2 -2
  1114. package/lib/template/teams-dashboard/test/fixtures/default.js +2 -2
  1115. package/lib/template/teams-dashboard/test/fixtures/default.js.map +1 -1
  1116. package/lib/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
  1117. package/lib/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
  1118. package/lib/template/teams-dashboard/test/fixtures/mobile.js +1 -1
  1119. package/lib/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
  1120. package/lib/test/helpers/render-component.js +1 -1
  1121. package/lib/util/external-content.js +1 -1
  1122. package/lib/util/proptypes.js +1 -1
  1123. package/lib/util/shallow-compare.js.map +1 -1
  1124. package/lib/util/test/navigation.js +5 -3
  1125. package/lib/util/test/navigation.js.map +1 -1
  1126. package/locales/hy/global.json +80 -0
  1127. package/package.json +2 -2
@@ -39,6 +39,11 @@ var _popinHeader = _interopRequireDefault(require("../popin-header"));
39
39
 
40
40
  var _summary = _interopRequireDefault(require("./summary.css"));
41
41
 
42
+ const _excluded = ["title"],
43
+ _excluded2 = ["title"],
44
+ _excluded3 = ["type"],
45
+ _excluded4 = ["title", "color"];
46
+
42
47
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
43
48
 
44
49
  function _extends() { _extends = Object.assign || 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); }
@@ -56,7 +61,7 @@ const SimpleAction = ({
56
61
  const {
57
62
  title: buttonTitle
58
63
  } = button,
59
- linkProps = _objectWithoutPropertiesLoose(button, ["title"]);
64
+ linkProps = _objectWithoutPropertiesLoose(button, _excluded);
60
65
 
61
66
  return /*#__PURE__*/_react.default.createElement("div", {
62
67
  "data-name": "simpleAction",
@@ -128,7 +133,7 @@ const Subscribe = ({
128
133
  const {
129
134
  title: buttonTitle
130
135
  } = button,
131
- linkProps = _objectWithoutPropertiesLoose(button, ["title"]);
136
+ linkProps = _objectWithoutPropertiesLoose(button, _excluded2);
132
137
 
133
138
  return /*#__PURE__*/_react.default.createElement("div", {
134
139
  className: _summary.default.subscribeWrapper
@@ -153,7 +158,7 @@ const Subscribe = ({
153
158
  }))));
154
159
  };
155
160
 
156
- Subscribe.propTypes = process.env.NODE_ENV !== "production" ? _extends(_extends({}, _button.default.propTypes.propTypes), {}, {
161
+ Subscribe.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, _button.default.propTypes.propTypes, {
157
162
  title: _button.default.propTypes.submitValue
158
163
  }) : {};
159
164
  const actions = {
@@ -166,7 +171,7 @@ const Action = props => {
166
171
  const {
167
172
  type
168
173
  } = props,
169
- actionProps = _objectWithoutPropertiesLoose(props, ["type"]);
174
+ actionProps = _objectWithoutPropertiesLoose(props, _excluded3);
170
175
 
171
176
  const Type = (0, _get2.default)(type, actions);
172
177
  return Type ? /*#__PURE__*/_react.default.createElement(Type, actionProps) : null;
@@ -256,12 +261,12 @@ const Cards = props => {
256
261
 
257
262
  Cards.propTypes = process.env.NODE_ENV !== "production" ? _cardsList.default.propTypes : {};
258
263
 
259
- const Footer = (_ref) => {
264
+ const Footer = _ref => {
260
265
  let {
261
266
  title,
262
267
  color
263
268
  } = _ref,
264
- linkProps = _objectWithoutPropertiesLoose(_ref, ["title", "color"]);
269
+ linkProps = _objectWithoutPropertiesLoose(_ref, _excluded4);
265
270
 
266
271
  return /*#__PURE__*/_react.default.createElement(_link.default, _extends({}, linkProps, {
267
272
  style: {
@@ -274,7 +279,7 @@ const Footer = (_ref) => {
274
279
  }), title);
275
280
  };
276
281
 
277
- Footer.propTypes = process.env.NODE_ENV !== "production" ? _extends(_extends({}, _link.default.propTypes), {}, {
282
+ Footer.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, _link.default.propTypes, {
278
283
  title: _link.default.propTypes.children,
279
284
  color: _propTypes.default.string
280
285
  }) : {};
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/template/app-player/popin-end/summary.js"],"names":["Header","props","SimpleAction","color","prefix","title","button","buttonTitle","linkProps","style","simpleWrapper","simpleTexts","simplePrefix","simpleTitle","innerHTML","__html","backgroundColor","simpleButton","propTypes","PropTypes","string","shape","Button","NextCourse","card","nextCourseWrapper","nextCourseTexts","nextCoursePrefix","nextCourseTitle","nextCourseCard","CardsList","Subscribe","description","subscribeWrapper","subscribeTexts","subscribeDescription","subscribeTitle","subscribeButtonWrapper","subscribeButton","submitValue","actions","simple","subscribe","nextCourse","Action","type","actionProps","Type","oneOf","CardsLoader","loaderWrapper","CommentConfirmation","context","onClick","commentSectionTitle","confirmationLinkText","skin","dark","commentSection","commentSectionIconWrapper","commentSectionIcon","commentSectionTexts","commentSectionLink","node","Link","children","contextTypes","Provider","childContextTypes","CommentSection","isSent","edition","confirmation","bool","Discussion","Cards","cards","cardsWrapper","Footer","footer","Summary","header","recommendation","comment","action","feedback","primary","commentView","discussionWrapper","footerView","feedbackView","summaryWrapper","PopinHeader","href","url","func","isRequired","Feedback"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,MAAM,GAAGC,KAAK,iBAAI,6BAAC,oBAAD,EAAiBA,KAAjB,CAAxB;;AAEA,MAAMC,YAAY,GAAG,CAAC;AAACC,EAAAA,KAAD;AAAQC,EAAAA,MAAR;AAAgBC,EAAAA,KAAhB;AAAuBC,EAAAA;AAAvB,CAAD,KAAoC;AACvD,QAAM;AAACD,IAAAA,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gD,cAAc,CAACnD,SAA/B,CAPS;AAQlBkE,EAAAA,MAAM,EAAEjE,mBAAUE,KAAV,CAAgB;AACtBwB,IAAAA,IAAI,EAAE1B,mBAAU6B,KAAV,CAAgB,oBAAKR,OAAL,CAAhB,EAA+BwD;AADf,GAAhB,CARU;AAWlBd,EAAAA,cAAc,EAAE/D,mBAAUE,KAAV,CAAgBS,mBAAUZ,SAA1B,CAXE;AAYlBmE,EAAAA,QAAQ,EAAElE,mBAAUE,KAAV,CAAgB4E,kBAAS/E,SAAzB;AAZQ,CAApB;eAee8D,O","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {get, getOr, keys} from 'lodash/fp';\nimport classnames from 'classnames';\nimport {NovaSolidStatusCheckCircle2 as CheckIcon} from '@coorpacademy/nova-icons';\nimport Provider from '../../../atom/provider';\nimport Button from '../../../atom/button';\nimport Link from '../../../atom/link';\nimport Discussion from '../../../organism/discussion';\nimport Loader from '../../../atom/loader';\nimport Card from '../../../molecule/card';\nimport Feedback from '../../../molecule/feedback';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport {innerHTML} from '../../../atom/label/style.css';\nimport PopinHeader from '../popin-header';\nimport style from './summary.css';\n\nconst Header = props => <PopinHeader {...props} />;\n\nconst SimpleAction = ({color, prefix, title, button}) => {\n const {title: buttonTitle, ...linkProps} = button;\n return (\n <div data-name=\"simpleAction\" className={style.simpleWrapper}>\n <div className={style.simpleTexts}>\n <span data-name=\"simplePrefix\" className={style.simplePrefix}>\n {prefix}\n </span>\n <span\n data-name=\"simpleTitle\"\n className={classnames(style.simpleTitle, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n </div>\n <Button\n {...linkProps}\n type=\"link\"\n style={{\n backgroundColor: color\n }}\n className={style.simpleButton}\n submitValue={buttonTitle}\n />\n </div>\n );\n};\nSimpleAction.propTypes = {\n color: PropTypes.string,\n prefix: PropTypes.string,\n title: PropTypes.string,\n button: PropTypes.shape(Button.propTypes)\n};\n\nconst NextCourse = ({title, prefix, card}) => (\n <div data-name=\"nextCourse\" className={style.nextCourseWrapper}>\n <div className={style.nextCourseTexts}>\n <div className={style.nextCoursePrefix}>{prefix}</div>\n <div\n className={classnames(style.nextCourseTitle, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n </div>\n <div className={style.nextCourseCard}>\n <Card {...card} dataName={'popin-end-next-course'} />\n </div>\n </div>\n);\nNextCourse.propTypes = {\n title: PropTypes.string,\n prefix: PropTypes.string,\n card: PropTypes.shape(CardsList.propTypes)\n};\n\nconst Subscribe = ({title, description, button, card}) => {\n const {title: buttonTitle, ...linkProps} = button;\n return (\n <div className={style.subscribeWrapper}>\n <div className={style.subscribeTexts}>\n <div className={style.subscribeDescription}>{description}</div>\n <div\n className={classnames(style.subscribeTitle, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <div className={style.subscribeButtonWrapper}>\n <Button\n {...linkProps}\n type=\"link\"\n className={style.subscribeButton}\n submitValue={buttonTitle}\n />\n </div>\n </div>\n <div>\n <Card {...card} dataName={'popin-end-subscribe'} />\n </div>\n </div>\n );\n};\n\nSubscribe.propTypes = {\n ...Button.propTypes.propTypes,\n title: Button.propTypes.submitValue\n};\n\nconst actions = {\n simple: SimpleAction,\n subscribe: Subscribe,\n nextCourse: NextCourse\n};\n\nconst Action = props => {\n const {type, ...actionProps} = props;\n const Type = get(type, actions);\n\n return Type ? <Type {...actionProps} /> : null;\n};\n\nAction.propTypes = {\n type: PropTypes.oneOf(keys(actions))\n};\n\nconst CardsLoader = () => (\n <div className={style.loaderWrapper}>\n <Loader />\n </div>\n);\n\nconst CommentConfirmation = (props, context) => {\n const {onClick, commentSectionTitle, confirmationLinkText} = props;\n const {skin} = context;\n const dark = get('common.dark', skin);\n\n return (\n <div className={style.commentSection}>\n <div className={style.commentSectionIconWrapper}>\n <CheckIcon className={style.commentSectionIcon} color={dark} />\n </div>\n <div className={style.commentSectionTexts}>\n <p>{commentSectionTitle}</p>\n <Link onClick={onClick} className={style.commentSectionLink}>\n {confirmationLinkText}\n </Link>\n </div>\n </div>\n );\n};\n\nCommentConfirmation.propTypes = {\n commentSectionTitle: PropTypes.node,\n confirmationLinkText: Link.propTypes.children,\n onClick: Link.propTypes.onClick\n};\n\nCommentConfirmation.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nconst CommentSection = props => {\n const {isSent, edition, confirmation} = props;\n if (isSent) {\n const {onClick, commentSectionTitle, confirmationLinkText} = confirmation;\n return (\n <CommentConfirmation\n onClick={onClick}\n commentSectionTitle={commentSectionTitle}\n confirmationLinkText={confirmationLinkText}\n />\n );\n }\n\n return <Discussion {...edition} />;\n};\n\nCommentSection.propTypes = {\n isSent: PropTypes.bool,\n edition: PropTypes.shape(Discussion.propTypes),\n confirmation: PropTypes.shape(CommentConfirmation.propTypes)\n};\n\nconst Cards = props => {\n const {cards} = props;\n\n return get('cards', props) === null ? (\n <CardsLoader />\n ) : (\n (cards ? (\n <div className={style.cardsWrapper}>\n <CardsList {...props} dataName={'popin-end-recommendation'} />\n </div>\n ) : null) || null\n );\n};\n\nCards.propTypes = CardsList.propTypes;\n\nconst Footer = ({title, color, ...linkProps}) => (\n <Link\n {...linkProps}\n style={{\n color\n }}\n className={style.footer}\n data-name=\"nextLink\"\n data-popin=\"popinEnd\"\n data-next=\"home\"\n >\n {title}\n </Link>\n);\n\nFooter.propTypes = {\n ...Link.propTypes,\n title: Link.propTypes.children,\n color: PropTypes.string\n};\n\nconst Summary = (props, context) => {\n const {header, recommendation, comment, footer, action, feedback} = props;\n const {skin} = context;\n const primary = getOr('#f0f', 'common.primary', skin);\n const commentView =\n comment && header ? (\n <div className={style.discussionWrapper}>\n <CommentSection {...comment} />\n </div>\n ) : null;\n const footerView = footer && header ? <Footer {...footer} color={primary} /> : null;\n const feedbackView = feedback ? <Feedback {...feedback} /> : null;\n\n return (\n <div className={style.summaryWrapper}>\n <Header {...header} />\n {feedbackView}\n <Action {...action} color={primary} />\n <Cards {...recommendation} />\n {commentView}\n {footerView}\n </div>\n );\n};\n\nSummary.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSummary.propTypes = {\n header: PropTypes.shape(PopinHeader.propTypes),\n footer: PropTypes.shape({\n title: PropTypes.string,\n href: PropTypes.url,\n onClick: PropTypes.func\n }),\n comment: PropTypes.shape(CommentSection.propTypes),\n action: PropTypes.shape({\n type: PropTypes.oneOf(keys(actions)).isRequired\n }),\n recommendation: PropTypes.shape(CardsList.propTypes),\n feedback: PropTypes.shape(Feedback.propTypes)\n};\n\nexport default Summary;\n"],"file":"summary.js"}
1
+ {"version":3,"sources":["../../../../src/template/app-player/popin-end/summary.js"],"names":["Header","props","SimpleAction","color","prefix","title","button","buttonTitle","linkProps","style","simpleWrapper","simpleTexts","simplePrefix","simpleTitle","innerHTML","__html","backgroundColor","simpleButton","propTypes","PropTypes","string","shape","Button","NextCourse","card","nextCourseWrapper","nextCourseTexts","nextCoursePrefix","nextCourseTitle","nextCourseCard","CardsList","Subscribe","description","subscribeWrapper","subscribeTexts","subscribeDescription","subscribeTitle","subscribeButtonWrapper","subscribeButton","submitValue","actions","simple","subscribe","nextCourse","Action","type","actionProps","Type","oneOf","CardsLoader","loaderWrapper","CommentConfirmation","context","onClick","commentSectionTitle","confirmationLinkText","skin","dark","commentSection","commentSectionIconWrapper","commentSectionIcon","commentSectionTexts","commentSectionLink","node","Link","children","contextTypes","Provider","childContextTypes","CommentSection","isSent","edition","confirmation","bool","Discussion","Cards","cards","cardsWrapper","Footer","footer","Summary","header","recommendation","comment","action","feedback","primary","commentView","discussionWrapper","footerView","feedbackView","summaryWrapper","PopinHeader","href","url","func","isRequired","Feedback"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;AAEA,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AAE5D,mBAAUE,KAAV,CAAgB;AACtBhB,IAAAA,KAAK,EAAEc,mBAAUC,MADK;AAEtByE,IAAAA,IAAI,EAAE1E,mBAAU2E,GAFM;AAGtBzC,IAAAA,OAAO,EAAElC,mBAAU4E;AAHG,GAAhB,CAFU;AAOlBZ,EAAAA,OAAO,EAAEhE,mBAAUE,KAAV,CAAgBgD,cAAc,CAACnD,SAA/B,CAPS;AAQlBkE,EAAAA,MAAM,EAAEjE,mBAAUE,KAAV,CAAgB;AACtBwB,IAAAA,IAAI,EAAE1B,mBAAU6B,KAAV,CAAgB,oBAAKR,OAAL,CAAhB,EAA+BwD;AADf,GAAhB,CARU;AAWlBd,EAAAA,cAAc,EAAE/D,mBAAUE,KAAV,CAAgBS,mBAAUZ,SAA1B,CAXE;AAYlBmE,EAAAA,QAAQ,EAAElE,mBAAUE,KAAV,CAAgB4E,kBAAS/E,SAAzB;AAZQ,CAApB;eAee8D,O","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {get, getOr, keys} from 'lodash/fp';\nimport classnames from 'classnames';\nimport {NovaSolidStatusCheckCircle2 as CheckIcon} from '@coorpacademy/nova-icons';\nimport Provider from '../../../atom/provider';\nimport Button from '../../../atom/button';\nimport Link from '../../../atom/link';\nimport Discussion from '../../../organism/discussion';\nimport Loader from '../../../atom/loader';\nimport Card from '../../../molecule/card';\nimport Feedback from '../../../molecule/feedback';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport {innerHTML} from '../../../atom/label/style.css';\nimport PopinHeader from '../popin-header';\nimport style from './summary.css';\n\nconst Header = props => <PopinHeader {...props} />;\n\nconst SimpleAction = ({color, prefix, title, button}) => {\n const {title: buttonTitle, ...linkProps} = button;\n return (\n <div data-name=\"simpleAction\" className={style.simpleWrapper}>\n <div className={style.simpleTexts}>\n <span data-name=\"simplePrefix\" className={style.simplePrefix}>\n {prefix}\n </span>\n <span\n data-name=\"simpleTitle\"\n className={classnames(style.simpleTitle, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n </div>\n <Button\n {...linkProps}\n type=\"link\"\n style={{\n backgroundColor: color\n }}\n className={style.simpleButton}\n submitValue={buttonTitle}\n />\n </div>\n );\n};\nSimpleAction.propTypes = {\n color: PropTypes.string,\n prefix: PropTypes.string,\n title: PropTypes.string,\n button: PropTypes.shape(Button.propTypes)\n};\n\nconst NextCourse = ({title, prefix, card}) => (\n <div data-name=\"nextCourse\" className={style.nextCourseWrapper}>\n <div className={style.nextCourseTexts}>\n <div className={style.nextCoursePrefix}>{prefix}</div>\n <div\n className={classnames(style.nextCourseTitle, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n </div>\n <div className={style.nextCourseCard}>\n <Card {...card} dataName={'popin-end-next-course'} />\n </div>\n </div>\n);\nNextCourse.propTypes = {\n title: PropTypes.string,\n prefix: PropTypes.string,\n card: PropTypes.shape(CardsList.propTypes)\n};\n\nconst Subscribe = ({title, description, button, card}) => {\n const {title: buttonTitle, ...linkProps} = button;\n return (\n <div className={style.subscribeWrapper}>\n <div className={style.subscribeTexts}>\n <div className={style.subscribeDescription}>{description}</div>\n <div\n className={classnames(style.subscribeTitle, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <div className={style.subscribeButtonWrapper}>\n <Button\n {...linkProps}\n type=\"link\"\n className={style.subscribeButton}\n submitValue={buttonTitle}\n />\n </div>\n </div>\n <div>\n <Card {...card} dataName={'popin-end-subscribe'} />\n </div>\n </div>\n );\n};\n\nSubscribe.propTypes = {\n ...Button.propTypes.propTypes,\n title: Button.propTypes.submitValue\n};\n\nconst actions = {\n simple: SimpleAction,\n subscribe: Subscribe,\n nextCourse: NextCourse\n};\n\nconst Action = props => {\n const {type, ...actionProps} = props;\n const Type = get(type, actions);\n\n return Type ? <Type {...actionProps} /> : null;\n};\n\nAction.propTypes = {\n type: PropTypes.oneOf(keys(actions))\n};\n\nconst CardsLoader = () => (\n <div className={style.loaderWrapper}>\n <Loader />\n </div>\n);\n\nconst CommentConfirmation = (props, context) => {\n const {onClick, commentSectionTitle, confirmationLinkText} = props;\n const {skin} = context;\n const dark = get('common.dark', skin);\n\n return (\n <div className={style.commentSection}>\n <div className={style.commentSectionIconWrapper}>\n <CheckIcon className={style.commentSectionIcon} color={dark} />\n </div>\n <div className={style.commentSectionTexts}>\n <p>{commentSectionTitle}</p>\n <Link onClick={onClick} className={style.commentSectionLink}>\n {confirmationLinkText}\n </Link>\n </div>\n </div>\n );\n};\n\nCommentConfirmation.propTypes = {\n commentSectionTitle: PropTypes.node,\n confirmationLinkText: Link.propTypes.children,\n onClick: Link.propTypes.onClick\n};\n\nCommentConfirmation.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nconst CommentSection = props => {\n const {isSent, edition, confirmation} = props;\n if (isSent) {\n const {onClick, commentSectionTitle, confirmationLinkText} = confirmation;\n return (\n <CommentConfirmation\n onClick={onClick}\n commentSectionTitle={commentSectionTitle}\n confirmationLinkText={confirmationLinkText}\n />\n );\n }\n\n return <Discussion {...edition} />;\n};\n\nCommentSection.propTypes = {\n isSent: PropTypes.bool,\n edition: PropTypes.shape(Discussion.propTypes),\n confirmation: PropTypes.shape(CommentConfirmation.propTypes)\n};\n\nconst Cards = props => {\n const {cards} = props;\n\n return get('cards', props) === null ? (\n <CardsLoader />\n ) : (\n (cards ? (\n <div className={style.cardsWrapper}>\n <CardsList {...props} dataName={'popin-end-recommendation'} />\n </div>\n ) : null) || null\n );\n};\n\nCards.propTypes = CardsList.propTypes;\n\nconst Footer = ({title, color, ...linkProps}) => (\n <Link\n {...linkProps}\n style={{\n color\n }}\n className={style.footer}\n data-name=\"nextLink\"\n data-popin=\"popinEnd\"\n data-next=\"home\"\n >\n {title}\n </Link>\n);\n\nFooter.propTypes = {\n ...Link.propTypes,\n title: Link.propTypes.children,\n color: PropTypes.string\n};\n\nconst Summary = (props, context) => {\n const {header, recommendation, comment, footer, action, feedback} = props;\n const {skin} = context;\n const primary = getOr('#f0f', 'common.primary', skin);\n const commentView =\n comment && header ? (\n <div className={style.discussionWrapper}>\n <CommentSection {...comment} />\n </div>\n ) : null;\n const footerView = footer && header ? <Footer {...footer} color={primary} /> : null;\n const feedbackView = feedback ? <Feedback {...feedback} /> : null;\n\n return (\n <div className={style.summaryWrapper}>\n <Header {...header} />\n {feedbackView}\n <Action {...action} color={primary} />\n <Cards {...recommendation} />\n {commentView}\n {footerView}\n </div>\n );\n};\n\nSummary.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSummary.propTypes = {\n header: PropTypes.shape(PopinHeader.propTypes),\n footer: PropTypes.shape({\n title: PropTypes.string,\n href: PropTypes.url,\n onClick: PropTypes.func\n }),\n comment: PropTypes.shape(CommentSection.propTypes),\n action: PropTypes.shape({\n type: PropTypes.oneOf(keys(actions)).isRequired\n }),\n recommendation: PropTypes.shape(CardsList.propTypes),\n feedback: PropTypes.shape(Feedback.propTypes)\n};\n\nexport default Summary;\n"],"file":"summary.js"}
@@ -14,8 +14,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
14
14
  function _extends() { _extends = Object.assign || 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); }
15
15
 
16
16
  var _default = (0, _defaultsDeep2.default)(_loading.default, {
17
- props: _extends(_extends({}, _default2.default), {}, {
18
- header: _extends(_extends({}, _default2.default.props.header), {}, {
17
+ props: _extends({}, _default2.default, {
18
+ header: _extends({}, _default2.default.props.header, {
19
19
  lives: null
20
20
  })
21
21
  })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/app-player/popin-end/test/fixtures/adaptive.js"],"names":["loading","props","defaultFixture","header","lives"],"mappings":";;;;;;;AACA;;AACA;;;;;;eAEe,4BAAaA,gBAAb,EAAsB;AACnCC,EAAAA,KAAK,wBACAC,iBADA;AAEHC,IAAAA,MAAM,wBACDD,kBAAeD,KAAf,CAAqBE,MADpB;AAEJC,MAAAA,KAAK,EAAE;AAFH;AAFH;AAD8B,CAAtB,C","sourcesContent":["import {defaultsDeep} from 'lodash/fp';\nimport loading from './loading';\nimport defaultFixture from './default';\n\nexport default defaultsDeep(loading, {\n props: {\n ...defaultFixture,\n header: {\n ...defaultFixture.props.header,\n lives: null\n }\n }\n});\n"],"file":"adaptive.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/app-player/popin-end/test/fixtures/adaptive.js"],"names":["loading","props","defaultFixture","header","lives"],"mappings":";;;;;;;AACA;;AACA;;;;;;eAEe,4BAAaA,gBAAb,EAAsB;AACnCC,EAAAA,KAAK,eACAC,iBADA;AAEHC,IAAAA,MAAM,eACDD,kBAAeD,KAAf,CAAqBE,MADpB;AAEJC,MAAAA,KAAK,EAAE;AAFH;AAFH;AAD8B,CAAtB,C","sourcesContent":["import {defaultsDeep} from 'lodash/fp';\nimport loading from './loading';\nimport defaultFixture from './default';\n\nexport default defaultsDeep(loading, {\n props: {\n ...defaultFixture,\n header: {\n ...defaultFixture.props.header,\n lives: null\n }\n }\n});\n"],"file":"adaptive.js"}
@@ -14,8 +14,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
14
14
  function _extends() { _extends = Object.assign || 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); }
15
15
 
16
16
  var _default = (0, _defaultsDeep2.default)(_loading.default, {
17
- props: _extends(_extends({}, _default2.default), {}, {
18
- header: _extends(_extends({}, _default2.default.props.header), {}, {
17
+ props: _extends({}, _default2.default, {
18
+ header: _extends({}, _default2.default.props.header, {
19
19
  lives: {
20
20
  count: null
21
21
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/app-player/popin-end/test/fixtures/infinite-lives.js"],"names":["loading","props","defaultFixture","header","lives","count"],"mappings":";;;;;;;AACA;;AACA;;;;;;eAEe,4BAAaA,gBAAb,EAAsB;AACnCC,EAAAA,KAAK,wBACAC,iBADA;AAEHC,IAAAA,MAAM,wBACDD,kBAAeD,KAAf,CAAqBE,MADpB;AAEJC,MAAAA,KAAK,EAAE;AACLC,QAAAA,KAAK,EAAE;AADF;AAFH;AAFH;AAD8B,CAAtB,C","sourcesContent":["import {defaultsDeep} from 'lodash/fp';\nimport loading from './loading';\nimport defaultFixture from './default';\n\nexport default defaultsDeep(loading, {\n props: {\n ...defaultFixture,\n header: {\n ...defaultFixture.props.header,\n lives: {\n count: null\n }\n }\n }\n});\n"],"file":"infinite-lives.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/app-player/popin-end/test/fixtures/infinite-lives.js"],"names":["loading","props","defaultFixture","header","lives","count"],"mappings":";;;;;;;AACA;;AACA;;;;;;eAEe,4BAAaA,gBAAb,EAAsB;AACnCC,EAAAA,KAAK,eACAC,iBADA;AAEHC,IAAAA,MAAM,eACDD,kBAAeD,KAAf,CAAqBE,MADpB;AAEJC,MAAAA,KAAK,EAAE;AACLC,QAAAA,KAAK,EAAE;AADF;AAFH;AAFH;AAD8B,CAAtB,C","sourcesContent":["import {defaultsDeep} from 'lodash/fp';\nimport loading from './loading';\nimport defaultFixture from './default';\n\nexport default defaultsDeep(loading, {\n props: {\n ...defaultFixture,\n header: {\n ...defaultFixture.props.header,\n lives: {\n count: null\n }\n }\n }\n});\n"],"file":"infinite-lives.js"}
@@ -51,9 +51,11 @@ var _style = require("../../../atom/label/style.css");
51
51
 
52
52
  var _style2 = _interopRequireDefault(require("./style.css"));
53
53
 
54
- function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
54
+ const _excluded = ["title", "nextStepTitle", "showNextLevel"];
55
55
 
56
- function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
56
+ 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); }
57
+
58
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
57
59
 
58
60
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
59
61
 
@@ -301,7 +303,7 @@ const CorrectionPart = props => {
301
303
  }) : null), /*#__PURE__*/_react.default.createElement(IconsPart, props));
302
304
  };
303
305
 
304
- CorrectionPart.propTypes = process.env.NODE_ENV !== "production" ? _extends(_extends({}, IconsPart.propTypes), {}, {
306
+ CorrectionPart.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, IconsPart.propTypes, {
305
307
  failed: _propTypes.default.bool,
306
308
  corrections: AnswersCorrection.propTypes.corrections,
307
309
  title: _propTypes.default.string,
@@ -327,7 +329,7 @@ const NextQuestionPart = (props, context) => {
327
329
  nextStepTitle,
328
330
  showNextLevel = false
329
331
  } = _ref,
330
- linkProps = _objectWithoutPropertiesLoose(_ref, ["title", "nextStepTitle", "showNextLevel"]);
332
+ linkProps = _objectWithoutPropertiesLoose(_ref, _excluded);
331
333
 
332
334
  let dataNext;
333
335
 
@@ -387,7 +389,7 @@ const NextQuestionPart = (props, context) => {
387
389
  };
388
390
 
389
391
  NextQuestionPart.propTypes = process.env.NODE_ENV !== "production" ? {
390
- cta: _propTypes.default.shape(_extends(_extends({}, _link.default.propTypes), {}, {
392
+ cta: _propTypes.default.shape(_extends({}, _link.default.propTypes, {
391
393
  title: _propTypes.default.string,
392
394
  nextStepTitle: _propTypes.default.string,
393
395
  showNextLevel: _propTypes.default.bool
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/template/app-player/popin-header/index.js"],"names":["separator","index","style","answerSeparator","joinBySeparator","elements","separators","length","AnswersCorrection","corrections","answers","map","correction","key","isCorrect","correctAnswer","wrongAnswer","innerHTML","__html","answer","fullAnswer","propTypes","PropTypes","arrayOf","shape","string","isRequired","bool","formatPlusSign","value","Rank","failed","rank","animated","onAnimationEnd","skin","positive","centerContent","bumped","iconBubble","icon","iconText","EASE_OUT_CUBIC","progress","Animation","contextTypes","Provider","childContextTypes","Stars","stars","Lifes","lives","revival","life","Life","count","IconsPart","props","iconsWrapper","AnimationScheduler","buildClass","success","loading","getLinkStyle","gameOver","extraLifeGranted","oneMoreLife","CorrectionPart","title","subtitle","isLoading","className","correctionSectionEndSuccess","correctionSectionSuccess","correctionSectionFailGameOver","correctionSectionFail","correctionSectionLoading","titlesWrapper","NextQuestionPart","context","cta","type","nextStepTitle","showNextLevel","linkProps","dataNext","nextStep","gameOverSubtitle","nextSection","wrapperNextSection","nextButton","nextButtonIcon","Link","oneOf","number","PopinHeader","state","nextLink","header","headerWithoutCTA","headerTitle"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AAcA;;AAKA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;AAEA,MAAMA,SAAS,GAAGC,KAAK,iBACrB;AAAM,EAAA,GAAG,EAAEA,KAAX;AAAkB,EAAA,SAAS,EAAEC,gBAAMC;AAAnC,OADF;;AAMA,MAAMC,eAAe,GAAGC,QAAQ,IAAI;AAClC,QAAMC,UAAU,GAAG,qBAAMN,SAAN,EAAiBK,QAAQ,CAACE,MAAT,GAAkB,CAAnC,CAAnB;AACA,SAAO,yEAA4BF,QAA5B,EAAsCC,UAAtC,CAAP;AACD,CAHD;;AAKA,MAAME,iBAAiB,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,KAAmB;AAC3C,QAAMC,OAAO,GAAGD,WAAW,CAACE,GAAZ,CAAgB,CAACC,UAAD,EAAaX,KAAb,KAAuB;AACrD,UAAMY,GAAG,GAAI,UAASZ,KAAM,EAA5B;AACA,wBACE;AACE,MAAA,GAAG,EAAEY,GADP;AAEE,mBAAU,QAFZ;AAGE,sBAAcD,UAAU,CAACE,SAH3B;AAIE,MAAA,SAAS,EAAE,yBACTF,UAAU,CAACE,SAAX,GAAuBZ,gBAAMa,aAA7B,GAA6Cb,gBAAMc,WAD1C,EAETC,gBAFS,CAJb,CAQE;AARF;AASE,MAAA,uBAAuB,EAAE;AAACC,QAAAA,MAAM,EAAEN,UAAU,CAACO;AAApB;AAT3B,MADF;AAaD,GAfe,EAebV,WAfa,CAAhB;AAgBA,sBAAO;AAAG,IAAA,SAAS,EAAEP,gBAAMkB;AAApB,KAAiChB,eAAe,CAACM,OAAD,CAAhD,CAAP;AACD,CAlBD;;AAoBAF,iBAAiB,CAACa,SAAlB,2CAA8B;AAC5BZ,EAAAA,WAAW,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B8B,KANZ;AAOtBiB,EAAAA,KAAK,EAAED,cAAc,CAAC9C,SAAf,CAAyB+C,KAPV;AAQtBC,EAAAA,QAAQ,EAAEF,cAAc,CAAC9C,SAAf,CAAyBgD,QARb;AAStBpC,EAAAA,QAAQ,EAAEkC,cAAc,CAAC9C,SAAf,CAAyBY,QATb;AAUtBgB,EAAAA,KAAK,EAAEkB,cAAc,CAAC9C,SAAf,CAAyB4B,KAVV;AAWtBjB,EAAAA,IAAI,EAAEmC,cAAc,CAAC9C,SAAf,CAAyBW,IAXT;AAYtBvB,EAAAA,WAAW,EAAE0D,cAAc,CAAC9C,SAAf,CAAyBZ;AAZhB,CAAxB;eAeesF,W","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n compact,\n flatten,\n get,\n isNil,\n pipe,\n times,\n zip,\n round,\n parseInt as _parseInt,\n multiply,\n isEmpty\n} from 'lodash/fp';\nimport {\n NovaCompositionNavigationArrowRight as ArrowRight,\n NovaCompositionCoorpacademyCharts as ChartsIcon,\n NovaCompositionCoorpacademyStar as StarIcon\n} from '@coorpacademy/nova-icons';\nimport classnames from 'classnames';\nimport Loader from '../../../atom/loader';\nimport Life from '../../../atom/life';\nimport Link from '../../../atom/link';\nimport Animation, {EASE_OUT_CUBIC} from '../../../hoc/animation';\nimport Transition from '../../../hoc/transition';\nimport AnimationScheduler, {AnimationAdapter} from '../../../hoc/animation-scheduler';\nimport Provider from '../../../atom/provider';\nimport {innerHTML} from '../../../atom/label/style.css';\nimport style from './style.css';\n\nconst separator = index => (\n <span key={index} className={style.answerSeparator}>\n /\n </span>\n);\n\nconst joinBySeparator = elements => {\n const separators = times(separator, elements.length - 1);\n return pipe(zip, flatten, compact)(elements, separators);\n};\n\nconst AnswersCorrection = ({corrections}) => {\n const answers = corrections.map((correction, index) => {\n const key = `answer_${index}`;\n return (\n <span\n key={key}\n data-name=\"answer\"\n data-correct={correction.isCorrect}\n className={classnames(\n correction.isCorrect ? style.correctAnswer : style.wrongAnswer,\n innerHTML\n )}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: correction.answer}}\n />\n );\n }, corrections);\n return <p className={style.fullAnswer}>{joinBySeparator(answers)}</p>;\n};\n\nAnswersCorrection.propTypes = {\n corrections: PropTypes.arrayOf(\n PropTypes.shape({\n answer: PropTypes.string.isRequired,\n isCorrect: PropTypes.bool.isRequired\n })\n )\n};\n\nconst formatPlusSign = value => (value >= 0 ? '+' : '') + value;\n\nconst Rank = ({failed, rank, animated, onAnimationEnd}, {skin}) => {\n const positive = get('common.positive', skin);\n if (failed || isNil(rank)) return null;\n return (\n <AnimationScheduler animated={animated} onAnimationEnd={onAnimationEnd}>\n <div className={style.centerContent}>\n <Transition name=\"label\" after=\"counter\" className={style.bumped}>\n <div className={style.iconBubble}>\n <ChartsIcon className={style.icon} color={positive} />\n </div>\n </Transition>\n <span className={style.iconText}>\n <Animation name=\"counter\" bezier={EASE_OUT_CUBIC} duration={1000}>\n {progress => pipe(_parseInt(10), multiply(progress), round, formatPlusSign)(rank)}\n </Animation>\n </span>\n </div>\n </AnimationScheduler>\n );\n};\n\nRank.propTypes = {\n failed: PropTypes.bool,\n rank: PropTypes.string,\n animated: Animation.propTypes.animated,\n onAnimationEnd: Animation.propTypes.onAnimationEnd\n};\n\nRank.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nconst Stars = ({failed, stars, animated, onAnimationEnd}, {skin}) => {\n const positive = get('common.positive', skin);\n if (failed || isNil(stars)) return null;\n\n return (\n <AnimationScheduler animated={animated} onAnimationEnd={onAnimationEnd}>\n <div className={style.centerContent}>\n <Transition name=\"label\" after=\"counter\" className={style.bumped}>\n <div className={style.iconBubble}>\n <StarIcon className={style.icon} color={positive} />\n </div>\n </Transition>\n <span data-name=\"iconText\" className={style.iconText}>\n <Animation name=\"counter\" bezier={EASE_OUT_CUBIC} duration={1000}>\n {progress => pipe(_parseInt(10), multiply(progress), round, formatPlusSign)(stars)}\n </Animation>\n </span>\n </div>\n </AnimationScheduler>\n );\n};\n\nStars.propTypes = {\n failed: PropTypes.bool,\n stars: PropTypes.string,\n animated: Animation.propTypes.animated,\n onAnimationEnd: Animation.propTypes.onAnimationEnd\n};\n\nStars.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nconst Lifes = ({lives, failed, animated, revival}) => {\n if (isNil(lives)) return null;\n\n return (\n <Life\n failed={failed}\n count={lives}\n animated={animated}\n revival={revival}\n className={style.life}\n />\n );\n};\n\nLifes.propTypes = {\n lives: Life.propTypes.count,\n failed: Life.propTypes.failed,\n animated: Life.propTypes.animated,\n revival: Life.propTypes.revival\n};\n\nconst IconsPart = props => {\n const {lives, failed, stars, rank, animated, revival} = props;\n return (\n <AnimationScheduler animated>\n <div className={style.iconsWrapper}>\n <Lifes lives={lives} failed={failed} animated={animated} revival={revival} />\n\n <AnimationAdapter name=\"stars\">\n <Stars stars={stars} fail={failed} />\n </AnimationAdapter>\n <AnimationAdapter name=\"rank\" after=\"stars\">\n <Rank rank={rank} fail={failed} />\n </AnimationAdapter>\n </div>\n </AnimationScheduler>\n );\n};\n\nIconsPart.propTypes = {\n lives: Lifes.propTypes.lives,\n failed: Lifes.propTypes.failed,\n stars: Stars.propTypes.stars,\n rank: Rank.propTypes.rank,\n animated: AnimationScheduler.propTypes.animated,\n revival: PropTypes.bool\n};\n\nconst buildClass = (value, success, failed, loading) => {\n if (loading && isNil(value)) return loading;\n return value ? failed : success;\n};\n\nconst getLinkStyle = ({gameOver, extraLifeGranted}) => {\n if (extraLifeGranted) {\n return style.oneMoreLife;\n } else if (gameOver) {\n return style.gameOver;\n } else {\n return null;\n }\n};\n\nconst CorrectionPart = props => {\n const {failed, corrections, title, subtitle, stars, rank, gameOver} = props;\n const isLoading = isNil(failed);\n const className = buildClass(\n failed,\n stars && rank ? style.correctionSectionEndSuccess : style.correctionSectionSuccess,\n gameOver ? style.correctionSectionFailGameOver : style.correctionSectionFail,\n style.correctionSectionLoading\n );\n\n return (\n <div data-name=\"correctionSection\" className={className}>\n <div className={style.titlesWrapper}>\n {isLoading ? <Loader /> : null}\n <h1\n data-name=\"title\"\n className={classnames(style.title, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <h2 className={style.subtitle}>{subtitle}</h2>\n {failed && !isEmpty(corrections) ? <AnswersCorrection corrections={corrections} /> : null}\n </div>\n <IconsPart {...props} />\n </div>\n );\n};\n\nCorrectionPart.propTypes = {\n ...IconsPart.propTypes,\n failed: PropTypes.bool,\n corrections: AnswersCorrection.propTypes.corrections,\n title: PropTypes.string,\n subtitle: PropTypes.string,\n stars: PropTypes.string,\n rank: PropTypes.string,\n gameOver: PropTypes.bool\n};\n\nconst NextQuestionPart = (props, context) => {\n const {cta, type, extraLifeGranted, gameOver, failed = false, lives = 0} = props;\n const {title, nextStepTitle, showNextLevel = false, ...linkProps} = cta || {};\n let dataNext;\n\n switch (type) {\n case 'popinCorrection': {\n if (gameOver) {\n dataNext = 'game-over';\n } else if (failed) {\n if (lives > 0) {\n dataNext = 'continue-failure';\n } else if (extraLifeGranted) {\n dataNext = 'continue-used-extra-life';\n }\n } else {\n dataNext = 'continue-success';\n }\n break;\n }\n\n case 'popinEnd': {\n if (failed) {\n dataNext = 'redo-content';\n } else if (showNextLevel) {\n dataNext = 'next-level';\n } else {\n dataNext = 'home';\n }\n }\n }\n\n const nextStep = nextStepTitle ? (\n <div\n className={classnames(gameOver ? style.gameOverSubtitle : style.nextStepTitle, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: nextStepTitle}}\n />\n ) : null;\n\n return (\n <Link\n {...linkProps}\n className={classnames(style.nextSection, getLinkStyle({gameOver, extraLifeGranted}))}\n data-name=\"nextLink\"\n data-popin={type}\n data-next={dataNext}\n >\n <div className={style.wrapperNextSection}>\n <div className={style.nextButton}>\n {title}\n <ArrowRight color=\"inherit\" className={style.nextButtonIcon} />\n </div>\n {nextStep}\n </div>\n </Link>\n );\n};\n\nNextQuestionPart.propTypes = {\n cta: PropTypes.shape({\n ...Link.propTypes,\n title: PropTypes.string,\n nextStepTitle: PropTypes.string,\n showNextLevel: PropTypes.bool\n }),\n type: PropTypes.oneOf(['popinCorrection', 'popinEnd']).isRequired,\n extraLifeGranted: PropTypes.bool,\n gameOver: PropTypes.bool,\n failed: PropTypes.bool,\n lives: PropTypes.number\n};\n\nconst PopinHeader = (props, context) => {\n const {\n animated,\n failed,\n title,\n subtitle,\n lives,\n stars,\n rank,\n corrections,\n cta,\n extraLifeGranted,\n gameOver = false,\n type\n } = props;\n\n const state = buildClass(failed, 'success', 'failed', null);\n\n const nextLink = cta ? (\n <NextQuestionPart\n cta={cta}\n type={type}\n extraLifeGranted={extraLifeGranted}\n failed={failed}\n gameOver={gameOver}\n lives={lives}\n />\n ) : null;\n\n return (\n <div\n className={cta ? style.header : style.headerWithoutCTA}\n data-name=\"popinHeader\"\n data-state={state}\n >\n <div className={style.headerTitle}>\n <CorrectionPart\n title={title}\n subtitle={subtitle}\n lives={lives}\n animated={animated}\n stars={stars}\n rank={rank}\n failed={failed}\n gameOver={gameOver}\n revival={extraLifeGranted}\n corrections={corrections}\n />\n {nextLink}\n </div>\n </div>\n );\n};\n\nPopinHeader.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nPopinHeader.propTypes = {\n cta: NextQuestionPart.propTypes.cta,\n type: NextQuestionPart.propTypes.type,\n extraLifeGranted: NextQuestionPart.propTypes.extraLifeGranted,\n failed: NextQuestionPart.propTypes.failed,\n gameOver: NextQuestionPart.propTypes.gameOver,\n lives: NextQuestionPart.propTypes.lives,\n title: CorrectionPart.propTypes.title,\n subtitle: CorrectionPart.propTypes.subtitle,\n animated: CorrectionPart.propTypes.animated,\n stars: CorrectionPart.propTypes.stars,\n rank: CorrectionPart.propTypes.rank,\n corrections: CorrectionPart.propTypes.corrections\n};\n\nexport default PopinHeader;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/template/app-player/popin-header/index.js"],"names":["separator","index","style","answerSeparator","joinBySeparator","elements","separators","length","AnswersCorrection","corrections","answers","map","correction","key","isCorrect","correctAnswer","wrongAnswer","innerHTML","__html","answer","fullAnswer","propTypes","PropTypes","arrayOf","shape","string","isRequired","bool","formatPlusSign","value","Rank","failed","rank","animated","onAnimationEnd","skin","positive","centerContent","bumped","iconBubble","icon","iconText","EASE_OUT_CUBIC","progress","Animation","contextTypes","Provider","childContextTypes","Stars","stars","Lifes","lives","revival","life","Life","count","IconsPart","props","iconsWrapper","AnimationScheduler","buildClass","success","loading","getLinkStyle","gameOver","extraLifeGranted","oneMoreLife","CorrectionPart","title","subtitle","isLoading","className","correctionSectionEndSuccess","correctionSectionSuccess","correctionSectionFailGameOver","correctionSectionFail","correctionSectionLoading","titlesWrapper","NextQuestionPart","context","cta","type","nextStepTitle","showNextLevel","linkProps","dataNext","nextStep","gameOverSubtitle","nextSection","wrapperNextSection","nextButton","nextButtonIcon","Link","oneOf","number","PopinHeader","state","nextLink","header","headerWithoutCTA","headerTitle"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AAcA;;AAKA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEA,MAAMA,SAAS,GAAGC,KAAK,iBACrB;AAAM,EAAA,GAAG,EAAEA,KAAX;AAAkB,EAAA,SAAS,EAAEC,gBAAMC;AAAnC,OADF;;AAMA,MAAMC,eAAe,GAAGC,QAAQ,IAAI;AAClC,QAAMC,UAAU,GAAG,qBAAMN,SAAN,EAAiBK,QAAQ,CAACE,MAAT,GAAkB,CAAnC,CAAnB;AACA,SAAO,yEAA4BF,QAA5B,EAAsCC,UAAtC,CAAP;AACD,CAHD;;AAKA,MAAME,iBAAiB,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,KAAmB;AAC3C,QAAMC,OAAO,GAAGD,WAAW,CAACE,GAAZ,CAAgB,CAACC,UAAD,EAAaX,KAAb,KAAuB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AuBD,CApDD;;AAsDAF,WAAW,CAAClD,YAAZ,GAA2B;AACzBV,EAAAA,IAAI,EAAEW,kBAASC,iBAAT,CAA2BZ;AADR,CAA3B;AAIA4D,WAAW,CAAC1E,SAAZ,2CAAwB;AACtB2D,EAAAA,GAAG,EAAEF,gBAAgB,CAACzD,SAAjB,CAA2B2D,GADV;AAEtBC,EAAAA,IAAI,EAAEH,gBAAgB,CAACzD,SAAjB,CAA2B4D,IAFX;AAGtBhB,EAAAA,gBAAgB,EAAEa,gBAAgB,CAACzD,SAAjB,CAA2B4C,gBAHvB;AAItBlC,EAAAA,MAAM,EAAE+C,gBAAgB,CAACzD,SAAjB,CAA2BU,MAJb;AAKtBiC,EAAAA,QAAQ,EAAEc,gBAAgB,CAACzD,SAAjB,CAA2B2C,QALf;AAMtBb,EAAAA,KAAK,EAAE2B,gBAAgB,CAACzD,SAAjB,CAA2B8B,KANZ;AAOtBiB,EAAAA,KAAK,EAAED,cAAc,CAAC9C,SAAf,CAAyB+C,KAPV;AAQtBC,EAAAA,QAAQ,EAAEF,cAAc,CAAC9C,SAAf,CAAyBgD,QARb;AAStBpC,EAAAA,QAAQ,EAAEkC,cAAc,CAAC9C,SAAf,CAAyBY,QATb;AAUtBgB,EAAAA,KAAK,EAAEkB,cAAc,CAAC9C,SAAf,CAAyB4B,KAVV;AAWtBjB,EAAAA,IAAI,EAAEmC,cAAc,CAAC9C,SAAf,CAAyBW,IAXT;AAYtBvB,EAAAA,WAAW,EAAE0D,cAAc,CAAC9C,SAAf,CAAyBZ;AAZhB,CAAxB;eAeesF,W","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n compact,\n flatten,\n get,\n isNil,\n pipe,\n times,\n zip,\n round,\n parseInt as _parseInt,\n multiply,\n isEmpty\n} from 'lodash/fp';\nimport {\n NovaCompositionNavigationArrowRight as ArrowRight,\n NovaCompositionCoorpacademyCharts as ChartsIcon,\n NovaCompositionCoorpacademyStar as StarIcon\n} from '@coorpacademy/nova-icons';\nimport classnames from 'classnames';\nimport Loader from '../../../atom/loader';\nimport Life from '../../../atom/life';\nimport Link from '../../../atom/link';\nimport Animation, {EASE_OUT_CUBIC} from '../../../hoc/animation';\nimport Transition from '../../../hoc/transition';\nimport AnimationScheduler, {AnimationAdapter} from '../../../hoc/animation-scheduler';\nimport Provider from '../../../atom/provider';\nimport {innerHTML} from '../../../atom/label/style.css';\nimport style from './style.css';\n\nconst separator = index => (\n <span key={index} className={style.answerSeparator}>\n /\n </span>\n);\n\nconst joinBySeparator = elements => {\n const separators = times(separator, elements.length - 1);\n return pipe(zip, flatten, compact)(elements, separators);\n};\n\nconst AnswersCorrection = ({corrections}) => {\n const answers = corrections.map((correction, index) => {\n const key = `answer_${index}`;\n return (\n <span\n key={key}\n data-name=\"answer\"\n data-correct={correction.isCorrect}\n className={classnames(\n correction.isCorrect ? style.correctAnswer : style.wrongAnswer,\n innerHTML\n )}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: correction.answer}}\n />\n );\n }, corrections);\n return <p className={style.fullAnswer}>{joinBySeparator(answers)}</p>;\n};\n\nAnswersCorrection.propTypes = {\n corrections: PropTypes.arrayOf(\n PropTypes.shape({\n answer: PropTypes.string.isRequired,\n isCorrect: PropTypes.bool.isRequired\n })\n )\n};\n\nconst formatPlusSign = value => (value >= 0 ? '+' : '') + value;\n\nconst Rank = ({failed, rank, animated, onAnimationEnd}, {skin}) => {\n const positive = get('common.positive', skin);\n if (failed || isNil(rank)) return null;\n return (\n <AnimationScheduler animated={animated} onAnimationEnd={onAnimationEnd}>\n <div className={style.centerContent}>\n <Transition name=\"label\" after=\"counter\" className={style.bumped}>\n <div className={style.iconBubble}>\n <ChartsIcon className={style.icon} color={positive} />\n </div>\n </Transition>\n <span className={style.iconText}>\n <Animation name=\"counter\" bezier={EASE_OUT_CUBIC} duration={1000}>\n {progress => pipe(_parseInt(10), multiply(progress), round, formatPlusSign)(rank)}\n </Animation>\n </span>\n </div>\n </AnimationScheduler>\n );\n};\n\nRank.propTypes = {\n failed: PropTypes.bool,\n rank: PropTypes.string,\n animated: Animation.propTypes.animated,\n onAnimationEnd: Animation.propTypes.onAnimationEnd\n};\n\nRank.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nconst Stars = ({failed, stars, animated, onAnimationEnd}, {skin}) => {\n const positive = get('common.positive', skin);\n if (failed || isNil(stars)) return null;\n\n return (\n <AnimationScheduler animated={animated} onAnimationEnd={onAnimationEnd}>\n <div className={style.centerContent}>\n <Transition name=\"label\" after=\"counter\" className={style.bumped}>\n <div className={style.iconBubble}>\n <StarIcon className={style.icon} color={positive} />\n </div>\n </Transition>\n <span data-name=\"iconText\" className={style.iconText}>\n <Animation name=\"counter\" bezier={EASE_OUT_CUBIC} duration={1000}>\n {progress => pipe(_parseInt(10), multiply(progress), round, formatPlusSign)(stars)}\n </Animation>\n </span>\n </div>\n </AnimationScheduler>\n );\n};\n\nStars.propTypes = {\n failed: PropTypes.bool,\n stars: PropTypes.string,\n animated: Animation.propTypes.animated,\n onAnimationEnd: Animation.propTypes.onAnimationEnd\n};\n\nStars.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nconst Lifes = ({lives, failed, animated, revival}) => {\n if (isNil(lives)) return null;\n\n return (\n <Life\n failed={failed}\n count={lives}\n animated={animated}\n revival={revival}\n className={style.life}\n />\n );\n};\n\nLifes.propTypes = {\n lives: Life.propTypes.count,\n failed: Life.propTypes.failed,\n animated: Life.propTypes.animated,\n revival: Life.propTypes.revival\n};\n\nconst IconsPart = props => {\n const {lives, failed, stars, rank, animated, revival} = props;\n return (\n <AnimationScheduler animated>\n <div className={style.iconsWrapper}>\n <Lifes lives={lives} failed={failed} animated={animated} revival={revival} />\n\n <AnimationAdapter name=\"stars\">\n <Stars stars={stars} fail={failed} />\n </AnimationAdapter>\n <AnimationAdapter name=\"rank\" after=\"stars\">\n <Rank rank={rank} fail={failed} />\n </AnimationAdapter>\n </div>\n </AnimationScheduler>\n );\n};\n\nIconsPart.propTypes = {\n lives: Lifes.propTypes.lives,\n failed: Lifes.propTypes.failed,\n stars: Stars.propTypes.stars,\n rank: Rank.propTypes.rank,\n animated: AnimationScheduler.propTypes.animated,\n revival: PropTypes.bool\n};\n\nconst buildClass = (value, success, failed, loading) => {\n if (loading && isNil(value)) return loading;\n return value ? failed : success;\n};\n\nconst getLinkStyle = ({gameOver, extraLifeGranted}) => {\n if (extraLifeGranted) {\n return style.oneMoreLife;\n } else if (gameOver) {\n return style.gameOver;\n } else {\n return null;\n }\n};\n\nconst CorrectionPart = props => {\n const {failed, corrections, title, subtitle, stars, rank, gameOver} = props;\n const isLoading = isNil(failed);\n const className = buildClass(\n failed,\n stars && rank ? style.correctionSectionEndSuccess : style.correctionSectionSuccess,\n gameOver ? style.correctionSectionFailGameOver : style.correctionSectionFail,\n style.correctionSectionLoading\n );\n\n return (\n <div data-name=\"correctionSection\" className={className}>\n <div className={style.titlesWrapper}>\n {isLoading ? <Loader /> : null}\n <h1\n data-name=\"title\"\n className={classnames(style.title, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <h2 className={style.subtitle}>{subtitle}</h2>\n {failed && !isEmpty(corrections) ? <AnswersCorrection corrections={corrections} /> : null}\n </div>\n <IconsPart {...props} />\n </div>\n );\n};\n\nCorrectionPart.propTypes = {\n ...IconsPart.propTypes,\n failed: PropTypes.bool,\n corrections: AnswersCorrection.propTypes.corrections,\n title: PropTypes.string,\n subtitle: PropTypes.string,\n stars: PropTypes.string,\n rank: PropTypes.string,\n gameOver: PropTypes.bool\n};\n\nconst NextQuestionPart = (props, context) => {\n const {cta, type, extraLifeGranted, gameOver, failed = false, lives = 0} = props;\n const {title, nextStepTitle, showNextLevel = false, ...linkProps} = cta || {};\n let dataNext;\n\n switch (type) {\n case 'popinCorrection': {\n if (gameOver) {\n dataNext = 'game-over';\n } else if (failed) {\n if (lives > 0) {\n dataNext = 'continue-failure';\n } else if (extraLifeGranted) {\n dataNext = 'continue-used-extra-life';\n }\n } else {\n dataNext = 'continue-success';\n }\n break;\n }\n\n case 'popinEnd': {\n if (failed) {\n dataNext = 'redo-content';\n } else if (showNextLevel) {\n dataNext = 'next-level';\n } else {\n dataNext = 'home';\n }\n }\n }\n\n const nextStep = nextStepTitle ? (\n <div\n className={classnames(gameOver ? style.gameOverSubtitle : style.nextStepTitle, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: nextStepTitle}}\n />\n ) : null;\n\n return (\n <Link\n {...linkProps}\n className={classnames(style.nextSection, getLinkStyle({gameOver, extraLifeGranted}))}\n data-name=\"nextLink\"\n data-popin={type}\n data-next={dataNext}\n >\n <div className={style.wrapperNextSection}>\n <div className={style.nextButton}>\n {title}\n <ArrowRight color=\"inherit\" className={style.nextButtonIcon} />\n </div>\n {nextStep}\n </div>\n </Link>\n );\n};\n\nNextQuestionPart.propTypes = {\n cta: PropTypes.shape({\n ...Link.propTypes,\n title: PropTypes.string,\n nextStepTitle: PropTypes.string,\n showNextLevel: PropTypes.bool\n }),\n type: PropTypes.oneOf(['popinCorrection', 'popinEnd']).isRequired,\n extraLifeGranted: PropTypes.bool,\n gameOver: PropTypes.bool,\n failed: PropTypes.bool,\n lives: PropTypes.number\n};\n\nconst PopinHeader = (props, context) => {\n const {\n animated,\n failed,\n title,\n subtitle,\n lives,\n stars,\n rank,\n corrections,\n cta,\n extraLifeGranted,\n gameOver = false,\n type\n } = props;\n\n const state = buildClass(failed, 'success', 'failed', null);\n\n const nextLink = cta ? (\n <NextQuestionPart\n cta={cta}\n type={type}\n extraLifeGranted={extraLifeGranted}\n failed={failed}\n gameOver={gameOver}\n lives={lives}\n />\n ) : null;\n\n return (\n <div\n className={cta ? style.header : style.headerWithoutCTA}\n data-name=\"popinHeader\"\n data-state={state}\n >\n <div className={style.headerTitle}>\n <CorrectionPart\n title={title}\n subtitle={subtitle}\n lives={lives}\n animated={animated}\n stars={stars}\n rank={rank}\n failed={failed}\n gameOver={gameOver}\n revival={extraLifeGranted}\n corrections={corrections}\n />\n {nextLink}\n </div>\n </div>\n );\n};\n\nPopinHeader.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nPopinHeader.propTypes = {\n cta: NextQuestionPart.propTypes.cta,\n type: NextQuestionPart.propTypes.type,\n extraLifeGranted: NextQuestionPart.propTypes.extraLifeGranted,\n failed: NextQuestionPart.propTypes.failed,\n gameOver: NextQuestionPart.propTypes.gameOver,\n lives: NextQuestionPart.propTypes.lives,\n title: CorrectionPart.propTypes.title,\n subtitle: CorrectionPart.propTypes.subtitle,\n animated: CorrectionPart.propTypes.animated,\n stars: CorrectionPart.propTypes.stars,\n rank: CorrectionPart.propTypes.rank,\n corrections: CorrectionPart.propTypes.corrections\n};\n\nexport default PopinHeader;\n"],"file":"index.js"}
@@ -15,7 +15,7 @@ const {
15
15
  props
16
16
  } = _default2.default;
17
17
  var _default = {
18
- props: _extends(_extends({}, props), {}, {
18
+ props: _extends({}, props, {
19
19
  header: _default3.default.props
20
20
  })
21
21
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/back-office/brand-create/test/fixtures/default.js"],"names":["props","CreateForm","header","Header"],"mappings":";;;;;AAAA;;AACA;;;;;;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUC,iBAAhB;eAEe;AACbD,EAAAA,KAAK,wBACAA,KADA;AAEHE,IAAAA,MAAM,EAAEC,kBAAOH;AAFZ;AADQ,C","sourcesContent":["import CreateForm from '../../../../../molecule/brand-create-form/test/fixtures/default';\nimport Header from '../../../../../organism/setup-header/test/fixtures/default';\n\nconst {props} = CreateForm;\n\nexport default {\n props: {\n ...props,\n header: Header.props\n }\n};\n"],"file":"default.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/back-office/brand-create/test/fixtures/default.js"],"names":["props","CreateForm","header","Header"],"mappings":";;;;;AAAA;;AACA;;;;;;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUC,iBAAhB;eAEe;AACbD,EAAAA,KAAK,eACAA,KADA;AAEHE,IAAAA,MAAM,EAAEC,kBAAOH;AAFZ;AADQ,C","sourcesContent":["import CreateForm from '../../../../../molecule/brand-create-form/test/fixtures/default';\nimport Header from '../../../../../organism/setup-header/test/fixtures/default';\n\nconst {props} = CreateForm;\n\nexport default {\n props: {\n ...props,\n header: Header.props\n }\n};\n"],"file":"default.js"}
@@ -15,7 +15,7 @@ const {
15
15
  props
16
16
  } = _loading.default;
17
17
  var _default = {
18
- props: _extends(_extends({}, props), {}, {
18
+ props: _extends({}, props, {
19
19
  header: _default2.default.props
20
20
  })
21
21
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/back-office/brand-create/test/fixtures/loading.js"],"names":["props","CreateForm","header","Header"],"mappings":";;;;;AAAA;;AACA;;;;;;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUC,gBAAhB;eAEe;AACbD,EAAAA,KAAK,wBACAA,KADA;AAEHE,IAAAA,MAAM,EAAEC,kBAAOH;AAFZ;AADQ,C","sourcesContent":["import CreateForm from '../../../../../molecule/brand-create-form/test/fixtures/loading';\nimport Header from '../../../../../organism/setup-header/test/fixtures/default';\n\nconst {props} = CreateForm;\n\nexport default {\n props: {\n ...props,\n header: Header.props\n }\n};\n"],"file":"loading.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/back-office/brand-create/test/fixtures/loading.js"],"names":["props","CreateForm","header","Header"],"mappings":";;;;;AAAA;;AACA;;;;;;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUC,gBAAhB;eAEe;AACbD,EAAAA,KAAK,eACAA,KADA;AAEHE,IAAAA,MAAM,EAAEC,kBAAOH;AAFZ;AADQ,C","sourcesContent":["import CreateForm from '../../../../../molecule/brand-create-form/test/fixtures/loading';\nimport Header from '../../../../../organism/setup-header/test/fixtures/default';\n\nconst {props} = CreateForm;\n\nexport default {\n props: {\n ...props,\n header: Header.props\n }\n};\n"],"file":"loading.js"}
@@ -15,7 +15,7 @@ const {
15
15
  props
16
16
  } = _modified.default;
17
17
  var _default = {
18
- props: _extends(_extends({}, props), {}, {
18
+ props: _extends({}, props, {
19
19
  header: _default2.default.props
20
20
  })
21
21
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/back-office/brand-create/test/fixtures/modified.js"],"names":["props","CreateForm","header","Header"],"mappings":";;;;;AAAA;;AACA;;;;;;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUC,iBAAhB;eAEe;AACbD,EAAAA,KAAK,wBACAA,KADA;AAEHE,IAAAA,MAAM,EAAEC,kBAAOH;AAFZ;AADQ,C","sourcesContent":["import CreateForm from '../../../../../molecule/brand-create-form/test/fixtures/modified';\nimport Header from '../../../../../organism/setup-header/test/fixtures/default';\n\nconst {props} = CreateForm;\n\nexport default {\n props: {\n ...props,\n header: Header.props\n }\n};\n"],"file":"modified.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/back-office/brand-create/test/fixtures/modified.js"],"names":["props","CreateForm","header","Header"],"mappings":";;;;;AAAA;;AACA;;;;;;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUC,iBAAhB;eAEe;AACbD,EAAAA,KAAK,eACAA,KADA;AAEHE,IAAAA,MAAM,EAAEC,kBAAOH;AAFZ;AADQ,C","sourcesContent":["import CreateForm from '../../../../../molecule/brand-create-form/test/fixtures/modified';\nimport Header from '../../../../../organism/setup-header/test/fixtures/default';\n\nconst {props} = CreateForm;\n\nexport default {\n props: {\n ...props,\n header: Header.props\n }\n};\n"],"file":"modified.js"}
@@ -16,7 +16,7 @@ const {
16
16
  } = _default2.default;
17
17
  var _default = {
18
18
  props: {
19
- header: _extends(_extends({}, _default3.default.props), {}, {
19
+ header: _extends({}, _default3.default.props, {
20
20
  isHome: true
21
21
  }),
22
22
  brands: [props, props, props, props, props],
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/back-office/brand-list/test/fixtures/default.js"],"names":["props","BrandCard","header","Header","isHome","brands","search","value","placeholder","onChange","filter","list","name","checked","label","theme","console","log","create","edit","editHref"],"mappings":";;;;;AAAA;;AACA;;;;;;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUC,iBAAhB;eAEe;AACbD,EAAAA,KAAK,EAAE;AACLE,IAAAA,MAAM,wBAAMC,kBAAOH,KAAb;AAAoBI,MAAAA,MAAM,EAAE;AAA5B,MADD;AAELC,IAAAA,MAAM,EAAE,CAACL,KAAD,EAAQA,KAAR,EAAeA,KAAf,EAAsBA,KAAtB,EAA6BA,KAA7B,CAFH;AAGLM,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,EADD;AAENC,MAAAA,WAAW,EAAE,cAFP;AAGNC,MAAAA,QAAQ,EAAE,MAAM,CAAE;AAHZ,KAHH;AAQLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,IAAI,EAAE,CACJ;AACEC,QAAAA,IAAI,EAAE,UADR;AAEEL,QAAAA,KAAK,EAAE,UAFT;AAGEM,QAAAA,OAAO,EAAE,KAHX;AAIEC,QAAAA,KAAK,EAAE;AAJT,OADI,EAOJ;AACEF,QAAAA,IAAI,EAAE,MADR;AAEEL,QAAAA,KAAK,EAAE,MAFT;AAGEM,QAAAA,OAAO,EAAE,IAHX;AAIEC,QAAAA,KAAK,EAAE;AAJT,OAPI,CADA;AAeNC,MAAAA,KAAK,EAAE,cAfD;AAgBNN,MAAAA,QAAQ,EAAEF,KAAK,IAAIS,OAAO,CAACC,GAAR,CAAYV,KAAZ;AAhBb,KARH;AA0BLW,IAAAA,MAAM,EAAE;AACNC,MAAAA,IAAI,EAAE,uBADA;AAENC,MAAAA,QAAQ,EAAE;AAFJ;AA1BH;AADM,C","sourcesContent":["import BrandCard from '../../../../../molecule/brand-card/test/fixtures/default';\nimport Header from '../../../../../organism/setup-header/test/fixtures/default';\n\nconst {props} = BrandCard;\n\nexport default {\n props: {\n header: {...Header.props, isHome: true},\n brands: [props, props, props, props, props],\n search: {\n value: '',\n placeholder: 'Search brand',\n onChange: () => {}\n },\n filter: {\n list: [\n {\n name: 'customer',\n value: 'customer',\n checked: false,\n label: 'Customer platforms'\n },\n {\n name: 'team',\n value: 'team',\n checked: true,\n label: 'Team platforms'\n }\n ],\n theme: 'coorpmanager',\n onChange: value => console.log(value)\n },\n create: {\n edit: 'Create a new platform',\n editHref: '#'\n }\n }\n};\n"],"file":"default.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/back-office/brand-list/test/fixtures/default.js"],"names":["props","BrandCard","header","Header","isHome","brands","search","value","placeholder","onChange","filter","list","name","checked","label","theme","console","log","create","edit","editHref"],"mappings":";;;;;AAAA;;AACA;;;;;;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUC,iBAAhB;eAEe;AACbD,EAAAA,KAAK,EAAE;AACLE,IAAAA,MAAM,eAAMC,kBAAOH,KAAb;AAAoBI,MAAAA,MAAM,EAAE;AAA5B,MADD;AAELC,IAAAA,MAAM,EAAE,CAACL,KAAD,EAAQA,KAAR,EAAeA,KAAf,EAAsBA,KAAtB,EAA6BA,KAA7B,CAFH;AAGLM,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,EADD;AAENC,MAAAA,WAAW,EAAE,cAFP;AAGNC,MAAAA,QAAQ,EAAE,MAAM,CAAE;AAHZ,KAHH;AAQLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,IAAI,EAAE,CACJ;AACEC,QAAAA,IAAI,EAAE,UADR;AAEEL,QAAAA,KAAK,EAAE,UAFT;AAGEM,QAAAA,OAAO,EAAE,KAHX;AAIEC,QAAAA,KAAK,EAAE;AAJT,OADI,EAOJ;AACEF,QAAAA,IAAI,EAAE,MADR;AAEEL,QAAAA,KAAK,EAAE,MAFT;AAGEM,QAAAA,OAAO,EAAE,IAHX;AAIEC,QAAAA,KAAK,EAAE;AAJT,OAPI,CADA;AAeNC,MAAAA,KAAK,EAAE,cAfD;AAgBNN,MAAAA,QAAQ,EAAEF,KAAK,IAAIS,OAAO,CAACC,GAAR,CAAYV,KAAZ;AAhBb,KARH;AA0BLW,IAAAA,MAAM,EAAE;AACNC,MAAAA,IAAI,EAAE,uBADA;AAENC,MAAAA,QAAQ,EAAE;AAFJ;AA1BH;AADM,C","sourcesContent":["import BrandCard from '../../../../../molecule/brand-card/test/fixtures/default';\nimport Header from '../../../../../organism/setup-header/test/fixtures/default';\n\nconst {props} = BrandCard;\n\nexport default {\n props: {\n header: {...Header.props, isHome: true},\n brands: [props, props, props, props, props],\n search: {\n value: '',\n placeholder: 'Search brand',\n onChange: () => {}\n },\n filter: {\n list: [\n {\n name: 'customer',\n value: 'customer',\n checked: false,\n label: 'Customer platforms'\n },\n {\n name: 'team',\n value: 'team',\n checked: true,\n label: 'Team platforms'\n }\n ],\n theme: 'coorpmanager',\n onChange: value => console.log(value)\n },\n create: {\n edit: 'Create a new platform',\n editHref: '#'\n }\n }\n};\n"],"file":"default.js"}
@@ -10,7 +10,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
10
10
  function _extends() { _extends = Object.assign || 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); }
11
11
 
12
12
  var _default = {
13
- props: _extends(_extends({}, _default2.default.props), {}, {
13
+ props: _extends({}, _default2.default.props, {
14
14
  create: null
15
15
  })
16
16
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/back-office/brand-list/test/fixtures/rh.js"],"names":["props","Default","create"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,wBACAC,kBAAQD,KADR;AAEHE,IAAAA,MAAM,EAAE;AAFL;AADQ,C","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n create: null\n }\n};\n"],"file":"rh.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/back-office/brand-list/test/fixtures/rh.js"],"names":["props","Default","create"],"mappings":";;;;;AAAA;;;;;;eAEe;AACbA,EAAAA,KAAK,eACAC,kBAAQD,KADR;AAEHE,IAAAA,MAAM,EAAE;AAFL;AADQ,C","sourcesContent":["import Default from './default';\n\nexport default {\n props: {\n ...Default.props,\n create: null\n }\n};\n"],"file":"rh.js"}
@@ -134,7 +134,7 @@ const buildPopin = popin => {
134
134
 
135
135
  const buildTabs = items => {
136
136
  const selectedTab = (0, _pipe.default)((0, _find.default)(e => e.selected), (0, _get.default)('tabs'), (0, _find.default)(e => e.selected))(items);
137
- const showTabs = selectedTab && !(0, _isEmpty.default)(selectedTab.subTabs);
137
+ const showTabs = selectedTab ? (0, _find.default)(e => e.selected, selectedTab.subTabs) : undefined;
138
138
  if (!showTabs) return null;
139
139
  return /*#__PURE__*/_react.default.createElement("div", {
140
140
  className: _style.default.tabs
@@ -146,7 +146,9 @@ const buildTabs = items => {
146
146
 
147
147
  const buildContentView = content => {
148
148
  if (!content) {
149
- return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_loader.default, null));
149
+ return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_loader.default, {
150
+ theme: "coorpmanager"
151
+ }));
150
152
  }
151
153
 
152
154
  const {
@@ -200,7 +202,7 @@ const BrandUpdate = props => {
200
202
  const contentView = buildContentView(content);
201
203
  const detailsView = buildDetailsView(details);
202
204
  const popinView = buildPopin(popin);
203
- const contentStyle = (0, _classnames.default)([_style.default.content, !(0, _isEmpty.default)(notifications) && _style.default.contentWithNotifications]);
205
+ const contentStyle = (0, _classnames.default)([_style.default.content, !(0, _isEmpty.default)(notifications) && _style.default.contentWithNotifications, (0, _isEmpty.default)(content) && _style.default.loader]);
204
206
  return /*#__PURE__*/_react.default.createElement("div", {
205
207
  className: _style.default.container
206
208
  }, /*#__PURE__*/_react.default.createElement("div", {
@@ -239,30 +241,30 @@ BrandUpdate.propTypes = process.env.NODE_ENV !== "production" ? {
239
241
  }))
240
242
  }))
241
243
  })).isRequired,
242
- content: _propTypes.default.oneOfType([_propTypes.default.shape(_extends(_extends({}, _brandForm.default.propTypes), {}, {
244
+ content: _propTypes.default.oneOfType([_propTypes.default.shape(_extends({}, _brandForm.default.propTypes, {
243
245
  key: _propTypes.default.string,
244
246
  type: _propTypes.default.oneOf(['form'])
245
- })), _propTypes.default.shape(_extends(_extends({}, _brandTable.default.propTypes), {}, {
247
+ })), _propTypes.default.shape(_extends({}, _brandTable.default.propTypes, {
246
248
  key: _propTypes.default.string,
247
249
  type: _propTypes.default.oneOf(['list'])
248
- })), _propTypes.default.shape(_extends(_extends({}, _brandUpload.default.propTypes), {}, {
250
+ })), _propTypes.default.shape(_extends({}, _brandUpload.default.propTypes, {
249
251
  key: _propTypes.default.string,
250
252
  type: _propTypes.default.oneOf(['upload'])
251
- })), _propTypes.default.shape(_extends(_extends({}, _brandAnalytics.default.propTypes), {}, {
253
+ })), _propTypes.default.shape(_extends({}, _brandAnalytics.default.propTypes, {
252
254
  key: _propTypes.default.string,
253
255
  type: _propTypes.default.oneOf(['analytics-dashboards'])
254
- })), _propTypes.default.shape(_extends(_extends({}, _brandDashboard.default.propTypes), {}, {
256
+ })), _propTypes.default.shape(_extends({}, _brandDashboard.default.propTypes, {
255
257
  key: _propTypes.default.string,
256
258
  type: _propTypes.default.oneOf(['home'])
257
- })), _propTypes.default.shape(_extends(_extends({}, _wizardContents.default.propTypes), {}, {
259
+ })), _propTypes.default.shape(_extends({}, _wizardContents.default.propTypes, {
258
260
  key: _propTypes.default.string,
259
261
  type: _propTypes.default.oneOf(['wizard'])
260
- })), _propTypes.default.shape(_extends(_extends({}, _listItems.default.propTypes), {}, {
262
+ })), _propTypes.default.shape(_extends({}, _listItems.default.propTypes, {
261
263
  key: _propTypes.default.string,
262
264
  type: _propTypes.default.oneOf(['list-content'])
263
265
  }))]),
264
266
  popin: _propTypes.default.shape(_extends({}, _cmPopin.default.propTypes)),
265
- details: _propTypes.default.shape(_extends(_extends({}, _brandTable.default.propTypes), {}, {
267
+ details: _propTypes.default.shape(_extends({}, _brandTable.default.propTypes, {
266
268
  key: _propTypes.default.string,
267
269
  type: _propTypes.default.oneOf(['list'])
268
270
  })),