@coorpacademy/components 10.3.26 → 10.3.30

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 (1029) 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/cta/test/fixtures/certification.js +1 -1
  11. package/es/atom/cta/test/fixtures/certification.js.map +1 -1
  12. package/es/atom/cta/test/fixtures/disabled.js +1 -1
  13. package/es/atom/cta/test/fixtures/disabled.js.map +1 -1
  14. package/es/atom/cta/test/fixtures/light-small.js +1 -1
  15. package/es/atom/cta/test/fixtures/light-small.js.map +1 -1
  16. package/es/atom/cta/test/fixtures/light.js +1 -1
  17. package/es/atom/cta/test/fixtures/light.js.map +1 -1
  18. package/es/atom/cta/test/fixtures/logout.js +1 -1
  19. package/es/atom/cta/test/fixtures/logout.js.map +1 -1
  20. package/es/atom/cta/test/fixtures/primary-small.js +1 -1
  21. package/es/atom/cta/test/fixtures/primary-small.js.map +1 -1
  22. package/es/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
  23. package/es/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
  24. package/es/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
  25. package/es/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
  26. package/es/atom/cta/test/fixtures/rectangular.js +1 -1
  27. package/es/atom/cta/test/fixtures/rectangular.js.map +1 -1
  28. package/es/atom/cta/test/fixtures/secondary-small.js +1 -1
  29. package/es/atom/cta/test/fixtures/secondary-small.js.map +1 -1
  30. package/es/atom/cta/test/fixtures/secondary.js +1 -1
  31. package/es/atom/cta/test/fixtures/secondary.js.map +1 -1
  32. package/es/atom/drag-and-drop/index.js +1 -1
  33. package/es/atom/drag-and-drop/index.js.map +1 -1
  34. package/es/atom/drag-and-drop/test/fixtures/loading.js +1 -1
  35. package/es/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  36. package/es/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
  37. package/es/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
  38. package/es/atom/image-upload/index.js +1 -1
  39. package/es/atom/image-upload/index.js.map +1 -1
  40. package/es/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
  41. package/es/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
  42. package/es/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
  43. package/es/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
  44. package/es/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
  45. package/es/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
  46. package/es/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
  47. package/es/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
  48. package/es/atom/image-upload/test/fixtures/email.js +1 -1
  49. package/es/atom/image-upload/test/fixtures/email.js.map +1 -1
  50. package/es/atom/image-upload/test/fixtures/mobile.js +1 -1
  51. package/es/atom/image-upload/test/fixtures/mobile.js.map +1 -1
  52. package/es/atom/image-upload/test/fixtures/modified.js +1 -1
  53. package/es/atom/image-upload/test/fixtures/modified.js.map +1 -1
  54. package/es/atom/input-html/index.js.map +1 -1
  55. package/es/atom/input-switch/test/fixtures/cm-right-disabled.js +1 -1
  56. package/es/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -1
  57. package/es/atom/input-switch/test/fixtures/disabled.js +1 -1
  58. package/es/atom/input-switch/test/fixtures/disabled.js.map +1 -1
  59. package/es/atom/input-switch/test/fixtures.js +0 -10
  60. package/es/atom/input-switch/test/fixtures.js.map +1 -1
  61. package/es/atom/link/index.js +2 -3
  62. package/es/atom/link/index.js.map +1 -1
  63. package/es/atom/promo-code/index.js.map +1 -1
  64. package/es/atom/provider/index.js +1 -1
  65. package/es/atom/provider/index.js.map +1 -1
  66. package/es/atom/provider/test/index.js +1 -1
  67. package/es/atom/provider/test/index.js.map +1 -1
  68. package/es/atom/range/index.js +1 -1
  69. package/es/atom/range/index.js.map +1 -1
  70. package/es/atom/range/test/fixtures/multi.js +1 -1
  71. package/es/atom/range/test/fixtures/multi.js.map +1 -1
  72. package/es/atom/range/test/index.js +9 -9
  73. package/es/atom/range/test/index.js.map +1 -1
  74. package/es/atom/video-upload/index.js +1 -1
  75. package/es/atom/video-upload/index.js.map +1 -1
  76. package/es/atom/video-upload/test/fixtures/loading.js +1 -1
  77. package/es/atom/video-upload/test/fixtures/loading.js.map +1 -1
  78. package/es/atom/video-upload/test/fixtures/modified.js +1 -1
  79. package/es/atom/video-upload/test/fixtures/modified.js.map +1 -1
  80. package/es/hoc/animation-scheduler/index.js +3 -3
  81. package/es/hoc/animation-scheduler/index.js.map +1 -1
  82. package/es/hoc/swapper/index.js +2 -4
  83. package/es/hoc/swapper/index.js.map +1 -1
  84. package/es/hoc/transition/index.js +1 -1
  85. package/es/hoc/transition/index.js.map +1 -1
  86. package/es/molecule/add-to-my-list/index.js +1 -1
  87. package/es/molecule/add-to-my-list/index.js.map +1 -1
  88. package/es/molecule/answer/index.js +2 -3
  89. package/es/molecule/answer/index.js.map +1 -1
  90. package/es/molecule/answer/test/fixtures/audio.js +1 -1
  91. package/es/molecule/answer/test/fixtures/audio.js.map +1 -1
  92. package/es/molecule/answer/test/fixtures/default.js +1 -1
  93. package/es/molecule/answer/test/fixtures/default.js.map +1 -1
  94. package/es/molecule/answer/test/fixtures/drop-down.js +1 -1
  95. package/es/molecule/answer/test/fixtures/drop-down.js.map +1 -1
  96. package/es/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
  97. package/es/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
  98. package/es/molecule/answer/test/fixtures/qcm-drag.js +1 -1
  99. package/es/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
  100. package/es/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
  101. package/es/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
  102. package/es/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
  103. package/es/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
  104. package/es/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
  105. package/es/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
  106. package/es/molecule/answer/test/fixtures/qcm-short.js +1 -1
  107. package/es/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
  108. package/es/molecule/answer/test/fixtures/qcm.js +1 -1
  109. package/es/molecule/answer/test/fixtures/qcm.js.map +1 -1
  110. package/es/molecule/answer/test/fixtures/range.js +1 -1
  111. package/es/molecule/answer/test/fixtures/range.js.map +1 -1
  112. package/es/molecule/answer/test/fixtures/template.js +1 -1
  113. package/es/molecule/answer/test/fixtures/template.js.map +1 -1
  114. package/es/molecule/brand-form-group/index.js +18 -18
  115. package/es/molecule/brand-form-group/index.js.map +1 -1
  116. package/es/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
  117. package/es/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
  118. package/es/molecule/brand-form-group/test/fixtures/animations.js +2 -2
  119. package/es/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
  120. package/es/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
  121. package/es/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
  122. package/es/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
  123. package/es/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
  124. package/es/molecule/brand-form-group/test/fixtures/images.js +3 -3
  125. package/es/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
  126. package/es/molecule/brand-form-group/test/fixtures/slider.js +1 -1
  127. package/es/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
  128. package/es/molecule/card/index.js +1 -1
  129. package/es/molecule/card/index.js.map +1 -1
  130. package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
  131. package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  132. package/es/molecule/card/test/fixtures/adaptiv.js +1 -1
  133. package/es/molecule/card/test/fixtures/adaptiv.js.map +1 -1
  134. package/es/molecule/card/test/fixtures/disabled.js +1 -1
  135. package/es/molecule/card/test/fixtures/disabled.js.map +1 -1
  136. package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
  137. package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  138. package/es/molecule/card-content/test/fixtures/adaptiv.js +1 -1
  139. package/es/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
  140. package/es/molecule/card-content/test/fixtures/disabled.js +1 -1
  141. package/es/molecule/card-content/test/fixtures/disabled.js.map +1 -1
  142. package/es/molecule/card-with-button/index.js.map +1 -1
  143. package/es/molecule/cm-popin/style.css +1 -0
  144. package/es/molecule/coorp-manager-roles/index.js +1 -1
  145. package/es/molecule/coorp-manager-roles/index.js.map +1 -1
  146. package/es/molecule/dashboard/battle-request-list/index.js +1 -1
  147. package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
  148. package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
  149. package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
  150. package/es/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
  151. package/es/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
  152. package/es/molecule/dashboard/cards-list/test/index.js +1 -1
  153. package/es/molecule/dashboard/cards-list/test/index.js.map +1 -1
  154. package/es/molecule/dashboard/news-list/index.js +1 -1
  155. package/es/molecule/dashboard/news-list/index.js.map +1 -1
  156. package/es/molecule/dashboard/start-battle/index.js +1 -1
  157. package/es/molecule/dashboard/start-battle/index.js.map +1 -1
  158. package/es/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
  159. package/es/molecule/drag-and-drop/index.js +1 -1
  160. package/es/molecule/drag-and-drop/index.js.map +1 -1
  161. package/es/molecule/drag-and-drop/test/fixtures/error.js +1 -1
  162. package/es/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
  163. package/es/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
  164. package/es/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
  165. package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
  166. package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
  167. package/es/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
  168. package/es/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
  169. package/es/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
  170. package/es/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
  171. package/es/molecule/drag-and-drop/test/fixtures/success.js +1 -1
  172. package/es/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
  173. package/es/molecule/drag-and-drop/test/on-click.js +2 -2
  174. package/es/molecule/drag-and-drop/test/on-click.js.map +1 -1
  175. package/es/molecule/drag-and-drop/upload-report.js +1 -1
  176. package/es/molecule/drag-and-drop/upload-report.js.map +1 -1
  177. package/es/molecule/feedback/index.js +1 -1
  178. package/es/molecule/feedback/index.js.map +1 -1
  179. package/es/molecule/filters/test/fixtures/default.js +4 -4
  180. package/es/molecule/filters/test/fixtures/default.js.map +1 -1
  181. package/es/molecule/filters/test/fixtures/filters-list.js +6 -6
  182. package/es/molecule/filters/test/fixtures/filters-list.js.map +1 -1
  183. package/es/molecule/filters/test/fixtures/one.js +2 -2
  184. package/es/molecule/filters/test/fixtures/one.js.map +1 -1
  185. package/es/molecule/filters/test/fixtures/only-radio-group.js +1 -1
  186. package/es/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
  187. package/es/molecule/filters/test/fixtures/only-timer.js +1 -1
  188. package/es/molecule/filters/test/fixtures/only-timer.js.map +1 -1
  189. package/es/molecule/filters/test/fixtures/three.js +3 -3
  190. package/es/molecule/filters/test/fixtures/three.js.map +1 -1
  191. package/es/molecule/filters/test/fixtures/two.js +3 -3
  192. package/es/molecule/filters/test/fixtures/two.js.map +1 -1
  193. package/es/molecule/filters/test/fixtures/zero.js +1 -1
  194. package/es/molecule/filters/test/fixtures/zero.js.map +1 -1
  195. package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
  196. package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
  197. package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
  198. package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
  199. package/es/molecule/hero/test/fixtures/arabic.js +1 -1
  200. package/es/molecule/hero/test/fixtures/arabic.js.map +1 -1
  201. package/es/molecule/hero/test/fixtures/hero.js +1 -1
  202. package/es/molecule/hero/test/fixtures/hero.js.map +1 -1
  203. package/es/molecule/news/test/fixtures/long-description.js +1 -1
  204. package/es/molecule/news/test/fixtures/long-description.js.map +1 -1
  205. package/es/molecule/news/test/fixtures/long-title.js +1 -1
  206. package/es/molecule/news/test/fixtures/long-title.js.map +1 -1
  207. package/es/molecule/news/test/fixtures/small-desciption.js +1 -1
  208. package/es/molecule/news/test/fixtures/small-desciption.js.map +1 -1
  209. package/es/molecule/news/test/fixtures/small-title.js +1 -1
  210. package/es/molecule/news/test/fixtures/small-title.js.map +1 -1
  211. package/es/molecule/popin/index.js +1 -1
  212. package/es/molecule/popin/index.js.map +1 -1
  213. package/es/molecule/progress-bar/index.js +1 -1
  214. package/es/molecule/progress-bar/index.js.map +1 -1
  215. package/es/molecule/questions/drop-down/index.js +1 -1
  216. package/es/molecule/questions/drop-down/index.js.map +1 -1
  217. package/es/molecule/questions/question-range/index.js +2 -3
  218. package/es/molecule/questions/question-range/index.js.map +1 -1
  219. package/es/molecule/questions/template/index.js +2 -2
  220. package/es/molecule/questions/template/index.js.map +1 -1
  221. package/es/molecule/questions/template/test/index.js +1 -1
  222. package/es/molecule/questions/template/test/index.js.map +1 -1
  223. package/es/molecule/quick-access-card/index.js.map +1 -1
  224. package/es/molecule/resource-player/index.js +1 -2
  225. package/es/molecule/resource-player/index.js.map +1 -1
  226. package/es/molecule/select-multiple/index.js +3 -3
  227. package/es/molecule/select-multiple/index.js.map +1 -1
  228. package/es/molecule/select-multiple/test/index.js +2 -2
  229. package/es/molecule/select-multiple/test/index.js.map +1 -1
  230. package/es/molecule/setup-section/index.js +1 -1
  231. package/es/molecule/setup-section/index.js.map +1 -1
  232. package/es/molecule/setup-section/test/fixtures/first.js +1 -1
  233. package/es/molecule/setup-section/test/fixtures/first.js.map +1 -1
  234. package/es/molecule/setup-slide/index.js +8 -8
  235. package/es/molecule/setup-slide/index.js.map +1 -1
  236. package/es/molecule/share/index.js +1 -1
  237. package/es/molecule/share/index.js.map +1 -1
  238. package/es/molecule/video-iframe/index.js +1 -1
  239. package/es/molecule/video-iframe/index.js.map +1 -1
  240. package/es/molecule/video-player/index.js +1 -3
  241. package/es/molecule/video-player/index.js.map +1 -1
  242. package/es/molecule/video-player/jwplayer.js +2 -2
  243. package/es/molecule/video-player/jwplayer.js.map +1 -1
  244. package/es/molecule/video-player/test/fixtures/youtube.js +1 -1
  245. package/es/molecule/video-player/test/fixtures/youtube.js.map +1 -1
  246. package/es/molecule/video-player/vimeo.js +1 -1
  247. package/es/molecule/video-player/vimeo.js.map +1 -1
  248. package/es/molecule/wizard-summary/index.js +30 -3
  249. package/es/molecule/wizard-summary/index.js.map +1 -1
  250. package/es/molecule/wizard-summary/style.css +1 -0
  251. package/es/organism/accordion/coorp-manager/index.js +1 -1
  252. package/es/organism/accordion/coorp-manager/index.js.map +1 -1
  253. package/es/organism/accordion/toggler/index.js +1 -1
  254. package/es/organism/accordion/toggler/index.js.map +1 -1
  255. package/es/organism/accordion/toggler/test/render.js +2 -2
  256. package/es/organism/accordion/toggler/test/render.js.map +1 -1
  257. package/es/organism/brand-form/test/fixtures/sso.js +3 -3
  258. package/es/organism/brand-form/test/fixtures/sso.js.map +1 -1
  259. package/es/organism/content-translation/index.js +2 -2
  260. package/es/organism/content-translation/index.js.map +1 -1
  261. package/es/organism/content-translation/style.css +1 -0
  262. package/es/organism/content-translation/test/fixtures/default.js +2 -2
  263. package/es/organism/content-translation/test/fixtures/default.js.map +1 -1
  264. package/es/organism/course-selection/index.js +5 -3
  265. package/es/organism/course-selection/index.js.map +1 -1
  266. package/es/organism/course-selection/test/fixtures/default.js +6 -5
  267. package/es/organism/course-selection/test/fixtures/default.js.map +1 -1
  268. package/es/organism/course-selection/test/fixtures/filtered.js +2 -2
  269. package/es/organism/course-selection/test/fixtures/filtered.js.map +1 -1
  270. package/es/organism/course-selection/test/fixtures/sorted-selected.js +5 -5
  271. package/es/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
  272. package/es/organism/course-selection/test/fixtures/unsorted-selected.js +5 -5
  273. package/es/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
  274. package/es/organism/course-selection/test/fixtures.js +0 -2
  275. package/es/organism/course-selection/test/fixtures.js.map +1 -1
  276. package/es/organism/discussion/test/fixtures/default.js +1 -1
  277. package/es/organism/discussion/test/fixtures/default.js.map +1 -1
  278. package/es/organism/discussion/test/fixtures/loading-more.js +1 -1
  279. package/es/organism/discussion/test/fixtures/loading-more.js.map +1 -1
  280. package/es/organism/discussion/test/fixtures/new-discussion.js +1 -1
  281. package/es/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
  282. package/es/organism/get-the-app/index.js +2 -2
  283. package/es/organism/get-the-app/index.js.map +1 -1
  284. package/es/organism/list-items/test/fixtures/archived.js +1 -1
  285. package/es/organism/list-items/test/fixtures/archived.js.map +1 -1
  286. package/es/organism/list-items/test/fixtures/draft.js +1 -1
  287. package/es/organism/list-items/test/fixtures/draft.js.map +1 -1
  288. package/es/organism/list-items/test/fixtures/published.js +2 -2
  289. package/es/organism/list-items/test/fixtures/published.js.map +1 -1
  290. package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
  291. package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
  292. package/es/organism/mooc-header/test/fixtures/default.js +1 -1
  293. package/es/organism/mooc-header/test/fixtures/default.js.map +1 -1
  294. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  295. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  296. package/es/organism/popin/test/fixtures/default.js.map +1 -1
  297. package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
  298. package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
  299. package/es/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
  300. package/es/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
  301. package/es/organism/resource-browser/test/fixtures/kontiki.js +1 -1
  302. package/es/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
  303. package/es/organism/resource-browser/test/fixtures/mp4.js +1 -1
  304. package/es/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
  305. package/es/organism/search-and-chips-results/index.js +5 -3
  306. package/es/organism/search-and-chips-results/index.js.map +1 -1
  307. package/es/organism/search-and-chips-results/test/fixtures/default.js +1 -0
  308. package/es/organism/search-and-chips-results/test/fixtures/default.js.map +1 -1
  309. package/es/organism/settings/index.js +2 -3
  310. package/es/organism/settings/index.js.map +1 -1
  311. package/es/organism/sidebar/index.js +10 -11
  312. package/es/organism/sidebar/index.js.map +1 -1
  313. package/es/organism/user-preferences/index.js +2 -3
  314. package/es/organism/user-preferences/index.js.map +1 -1
  315. package/es/organism/wizard-contents/index.js +11 -7
  316. package/es/organism/wizard-contents/index.js.map +1 -1
  317. package/es/organism/wizard-contents/style.css +9 -5
  318. package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +1 -1
  319. package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
  320. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -1
  321. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
  322. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +1 -1
  323. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
  324. package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -1
  325. package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
  326. package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -1
  327. package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
  328. package/es/template/activity/index.js +1 -1
  329. package/es/template/activity/index.js.map +1 -1
  330. package/es/template/activity/test/progression-item-test.js +1 -1
  331. package/es/template/activity/test/progression-item-test.js.map +1 -1
  332. package/es/template/app-player/player/slides/footer/index.js +1 -1
  333. package/es/template/app-player/player/slides/footer/index.js.map +1 -1
  334. package/es/template/app-player/player/slides/index.js +11 -14
  335. package/es/template/app-player/player/slides/index.js.map +1 -1
  336. package/es/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
  337. package/es/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
  338. package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
  339. package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
  340. package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
  341. package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
  342. package/es/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
  343. package/es/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
  344. package/es/template/app-player/player/slides/test/fixtures/clue.js +2 -2
  345. package/es/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
  346. package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
  347. package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
  348. package/es/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
  349. package/es/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
  350. package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
  351. package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
  352. package/es/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
  353. package/es/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
  354. package/es/template/app-player/player/slides/test/fixtures/context.js +2 -2
  355. package/es/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
  356. package/es/template/app-player/player/slides/test/fixtures/default.js +2 -2
  357. package/es/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
  358. package/es/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
  359. package/es/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
  360. package/es/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
  361. package/es/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
  362. package/es/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
  363. package/es/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
  364. package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
  365. package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
  366. package/es/template/app-player/player/slides/test/fixtures/media.js +2 -2
  367. package/es/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
  368. package/es/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
  369. package/es/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
  370. package/es/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
  371. package/es/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
  372. package/es/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
  373. package/es/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
  374. package/es/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
  375. package/es/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
  376. package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
  377. package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
  378. package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
  379. package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
  380. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
  381. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
  382. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
  383. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
  384. package/es/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
  385. package/es/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
  386. package/es/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
  387. package/es/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
  388. package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
  389. package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
  390. package/es/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
  391. package/es/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
  392. package/es/template/app-player/player/slides/test/fixtures/range.js +1 -1
  393. package/es/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
  394. package/es/template/app-player/player/slides/test/fixtures/template.js +1 -1
  395. package/es/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
  396. package/es/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
  397. package/es/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
  398. package/es/template/app-player/player/test/fixtures/background.js +1 -1
  399. package/es/template/app-player/player/test/fixtures/background.js.map +1 -1
  400. package/es/template/app-player/popin-correction/index.js +2 -3
  401. package/es/template/app-player/popin-correction/index.js.map +1 -1
  402. package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
  403. package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
  404. package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
  405. package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
  406. package/es/template/app-player/popin-end/summary.js +7 -11
  407. package/es/template/app-player/popin-end/summary.js.map +1 -1
  408. package/es/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
  409. package/es/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
  410. package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
  411. package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
  412. package/es/template/app-player/popin-header/index.js +3 -4
  413. package/es/template/app-player/popin-header/index.js.map +1 -1
  414. package/es/template/back-office/brand-create/test/fixtures/default.js +1 -1
  415. package/es/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
  416. package/es/template/back-office/brand-create/test/fixtures/loading.js +1 -1
  417. package/es/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
  418. package/es/template/back-office/brand-create/test/fixtures/modified.js +1 -1
  419. package/es/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
  420. package/es/template/back-office/brand-list/test/fixtures/default.js +1 -1
  421. package/es/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  422. package/es/template/back-office/brand-list/test/fixtures/rh.js +1 -1
  423. package/es/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  424. package/es/template/back-office/brand-update/index.js +9 -9
  425. package/es/template/back-office/brand-update/index.js.map +1 -1
  426. package/es/template/back-office/brand-update/test/fixtures/list-items-archived.js +1 -1
  427. package/es/template/back-office/brand-update/test/fixtures/list-items-archived.js.map +1 -1
  428. package/es/template/back-office/brand-update/test/fixtures/list-items-draft.js +1 -1
  429. package/es/template/back-office/brand-update/test/fixtures/list-items-draft.js.map +1 -1
  430. package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +1 -1
  431. package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -1
  432. package/es/template/back-office/brand-update/test/fixtures/list-items-published.js +1 -1
  433. package/es/template/back-office/brand-update/test/fixtures/list-items-published.js.map +1 -1
  434. package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js +1 -1
  435. package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
  436. package/es/template/back-office/brand-update/test/fixtures/quick-access.js +1 -1
  437. package/es/template/back-office/brand-update/test/fixtures/quick-access.js.map +1 -1
  438. package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
  439. package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
  440. package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
  441. package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
  442. package/es/template/back-office/brand-update/test/fixtures/uploadusers.js +1 -1
  443. package/es/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
  444. package/es/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js +1 -1
  445. package/es/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js.map +1 -1
  446. package/es/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js +50 -1
  447. package/es/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js.map +1 -1
  448. package/es/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js +1 -1
  449. package/es/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js.map +1 -1
  450. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +1 -1
  451. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -1
  452. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js +1 -1
  453. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js.map +1 -1
  454. package/es/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js +1 -1
  455. package/es/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js.map +1 -1
  456. package/es/template/cockpit/jw-uploader/index.js +1 -1
  457. package/es/template/cockpit/jw-uploader/index.js.map +1 -1
  458. package/es/template/common/dashboard/index.js +1 -1
  459. package/es/template/common/dashboard/index.js.map +1 -1
  460. package/es/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
  461. package/es/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
  462. package/es/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
  463. package/es/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
  464. package/es/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
  465. package/es/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
  466. package/es/template/common/discipline/test/fixtures/arabic.js +1 -1
  467. package/es/template/common/discipline/test/fixtures/arabic.js.map +1 -1
  468. package/es/template/common/discipline/test/fixtures/default.js +2 -2
  469. package/es/template/common/discipline/test/fixtures/default.js.map +1 -1
  470. package/es/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
  471. package/es/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
  472. package/es/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
  473. package/es/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
  474. package/es/template/common/discipline/test/fixtures/external-course.js +2 -2
  475. package/es/template/common/discipline/test/fixtures/external-course.js.map +1 -1
  476. package/es/template/common/discipline/test/fixtures/share.js +1 -1
  477. package/es/template/common/discipline/test/fixtures/share.js.map +1 -1
  478. package/es/template/teams-dashboard/test/fixtures/default.js +1 -1
  479. package/es/template/teams-dashboard/test/fixtures/default.js.map +1 -1
  480. package/es/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
  481. package/es/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
  482. package/es/template/teams-dashboard/test/fixtures/mobile.js +1 -1
  483. package/es/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
  484. package/es/util/shallow-compare.js.map +1 -1
  485. package/es/util/test/navigation.js +3 -4
  486. package/es/util/test/navigation.js.map +1 -1
  487. package/lib/atom/autocomplete/index.js +2 -2
  488. package/lib/atom/autocomplete/test/fixtures/error.js +1 -1
  489. package/lib/atom/autocomplete/test/fixtures/error.js.map +1 -1
  490. package/lib/atom/autocomplete/test/fixtures/filled.js +1 -1
  491. package/lib/atom/autocomplete/test/fixtures/filled.js.map +1 -1
  492. package/lib/atom/autocomplete/test/fixtures/modified.js +1 -1
  493. package/lib/atom/autocomplete/test/fixtures/modified.js.map +1 -1
  494. package/lib/atom/button-link/index.js +2 -2
  495. package/lib/atom/button-link-icon-only/index.js +2 -2
  496. package/lib/atom/button-menu/index.js +2 -2
  497. package/lib/atom/button-menu/test/fixtures/default.js +1 -1
  498. package/lib/atom/button-menu/test/fixtures/multiple-buttons.js +1 -1
  499. package/lib/atom/chips/index.js +2 -2
  500. package/lib/atom/clue/index.js.map +1 -1
  501. package/lib/atom/clue/test/see-clue.js +34 -0
  502. package/lib/atom/clue/test/see-clue.js.map +1 -1
  503. package/lib/atom/cta/test/fixtures/certification.js +1 -1
  504. package/lib/atom/cta/test/fixtures/certification.js.map +1 -1
  505. package/lib/atom/cta/test/fixtures/disabled.js +1 -1
  506. package/lib/atom/cta/test/fixtures/disabled.js.map +1 -1
  507. package/lib/atom/cta/test/fixtures/light-small.js +1 -1
  508. package/lib/atom/cta/test/fixtures/light-small.js.map +1 -1
  509. package/lib/atom/cta/test/fixtures/light.js +1 -1
  510. package/lib/atom/cta/test/fixtures/light.js.map +1 -1
  511. package/lib/atom/cta/test/fixtures/logout.js +1 -1
  512. package/lib/atom/cta/test/fixtures/logout.js.map +1 -1
  513. package/lib/atom/cta/test/fixtures/primary-small.js +1 -1
  514. package/lib/atom/cta/test/fixtures/primary-small.js.map +1 -1
  515. package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
  516. package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
  517. package/lib/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
  518. package/lib/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
  519. package/lib/atom/cta/test/fixtures/rectangular.js +1 -1
  520. package/lib/atom/cta/test/fixtures/rectangular.js.map +1 -1
  521. package/lib/atom/cta/test/fixtures/secondary-small.js +1 -1
  522. package/lib/atom/cta/test/fixtures/secondary-small.js.map +1 -1
  523. package/lib/atom/cta/test/fixtures/secondary.js +1 -1
  524. package/lib/atom/cta/test/fixtures/secondary.js.map +1 -1
  525. package/lib/atom/drag-and-drop/index.js +1 -1
  526. package/lib/atom/drag-and-drop/index.js.map +1 -1
  527. package/lib/atom/drag-and-drop/test/fixtures/loading.js +1 -1
  528. package/lib/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  529. package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
  530. package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
  531. package/lib/atom/image-upload/index.js +3 -3
  532. package/lib/atom/image-upload/index.js.map +1 -1
  533. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
  534. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
  535. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
  536. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
  537. package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
  538. package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
  539. package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
  540. package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
  541. package/lib/atom/image-upload/test/fixtures/email.js +1 -1
  542. package/lib/atom/image-upload/test/fixtures/email.js.map +1 -1
  543. package/lib/atom/image-upload/test/fixtures/mobile.js +1 -1
  544. package/lib/atom/image-upload/test/fixtures/mobile.js.map +1 -1
  545. package/lib/atom/image-upload/test/fixtures/modified.js +1 -1
  546. package/lib/atom/image-upload/test/fixtures/modified.js.map +1 -1
  547. package/lib/atom/input-checkbox/index.js +2 -2
  548. package/lib/atom/input-color/index.js +2 -2
  549. package/lib/atom/input-doublestep/index.js +2 -2
  550. package/lib/atom/input-html/index.js.map +1 -1
  551. package/lib/atom/input-search/index.js +2 -2
  552. package/lib/atom/input-switch/index.js +2 -2
  553. package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js +1 -1
  554. package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -1
  555. package/lib/atom/input-switch/test/fixtures/disabled.js +1 -1
  556. package/lib/atom/input-switch/test/fixtures/disabled.js.map +1 -1
  557. package/lib/atom/input-switch/test/fixtures.js +0 -15
  558. package/lib/atom/input-switch/test/fixtures.js.map +1 -1
  559. package/lib/atom/input-text/index.js +2 -2
  560. package/lib/atom/input-textarea/index.js +2 -2
  561. package/lib/atom/link/index.js +2 -4
  562. package/lib/atom/link/index.js.map +1 -1
  563. package/lib/atom/promo-code/index.js.map +1 -1
  564. package/lib/atom/provider/index.js +1 -1
  565. package/lib/atom/provider/index.js.map +1 -1
  566. package/lib/atom/provider/test/index.js +1 -1
  567. package/lib/atom/provider/test/index.js.map +1 -1
  568. package/lib/atom/range/index.js +1 -1
  569. package/lib/atom/range/index.js.map +1 -1
  570. package/lib/atom/range/test/fixtures/multi.js +1 -1
  571. package/lib/atom/range/test/fixtures/multi.js.map +1 -1
  572. package/lib/atom/range/test/index.js +9 -9
  573. package/lib/atom/range/test/index.js.map +1 -1
  574. package/lib/atom/select/index.js +2 -2
  575. package/lib/atom/tab/index.js +2 -2
  576. package/lib/atom/video-upload/index.js +1 -1
  577. package/lib/atom/video-upload/index.js.map +1 -1
  578. package/lib/atom/video-upload/test/fixtures/loading.js +1 -1
  579. package/lib/atom/video-upload/test/fixtures/loading.js.map +1 -1
  580. package/lib/atom/video-upload/test/fixtures/modified.js +1 -1
  581. package/lib/atom/video-upload/test/fixtures/modified.js.map +1 -1
  582. package/lib/hoc/animation/index.js +1 -1
  583. package/lib/hoc/animation/test/on-mount.js +2 -2
  584. package/lib/hoc/animation-scheduler/index.js +4 -4
  585. package/lib/hoc/animation-scheduler/index.js.map +1 -1
  586. package/lib/hoc/animation-scheduler/test/fixtures/parallel.js +3 -3
  587. package/lib/hoc/animation-scheduler/test/fixtures/series.js +2 -2
  588. package/lib/hoc/animation-scheduler/test/on-mount.js +2 -2
  589. package/lib/hoc/swapper/index.js +3 -5
  590. package/lib/hoc/swapper/index.js.map +1 -1
  591. package/lib/hoc/swapper/test/on-mount.js +2 -2
  592. package/lib/hoc/transition/index.js +3 -3
  593. package/lib/hoc/transition/index.js.map +1 -1
  594. package/lib/molecule/add-to-my-list/index.js +4 -4
  595. package/lib/molecule/add-to-my-list/index.js.map +1 -1
  596. package/lib/molecule/answer/index.js +3 -5
  597. package/lib/molecule/answer/index.js.map +1 -1
  598. package/lib/molecule/answer/test/fixtures/audio.js +1 -1
  599. package/lib/molecule/answer/test/fixtures/audio.js.map +1 -1
  600. package/lib/molecule/answer/test/fixtures/default.js +1 -1
  601. package/lib/molecule/answer/test/fixtures/default.js.map +1 -1
  602. package/lib/molecule/answer/test/fixtures/drop-down.js +1 -1
  603. package/lib/molecule/answer/test/fixtures/drop-down.js.map +1 -1
  604. package/lib/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
  605. package/lib/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
  606. package/lib/molecule/answer/test/fixtures/qcm-drag.js +1 -1
  607. package/lib/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
  608. package/lib/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
  609. package/lib/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
  610. package/lib/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
  611. package/lib/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
  612. package/lib/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
  613. package/lib/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
  614. package/lib/molecule/answer/test/fixtures/qcm-short.js +1 -1
  615. package/lib/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
  616. package/lib/molecule/answer/test/fixtures/qcm.js +1 -1
  617. package/lib/molecule/answer/test/fixtures/qcm.js.map +1 -1
  618. package/lib/molecule/answer/test/fixtures/range.js +1 -1
  619. package/lib/molecule/answer/test/fixtures/range.js.map +1 -1
  620. package/lib/molecule/answer/test/fixtures/template.js +1 -1
  621. package/lib/molecule/answer/test/fixtures/template.js.map +1 -1
  622. package/lib/molecule/brand-create-form/index.js +2 -2
  623. package/lib/molecule/brand-form-group/index.js +18 -18
  624. package/lib/molecule/brand-form-group/index.js.map +1 -1
  625. package/lib/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
  626. package/lib/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
  627. package/lib/molecule/brand-form-group/test/fixtures/animations.js +2 -2
  628. package/lib/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
  629. package/lib/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
  630. package/lib/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
  631. package/lib/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
  632. package/lib/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
  633. package/lib/molecule/brand-form-group/test/fixtures/images.js +3 -3
  634. package/lib/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
  635. package/lib/molecule/brand-form-group/test/fixtures/slider.js +1 -1
  636. package/lib/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
  637. package/lib/molecule/bullet-point-menu-button/index.js +2 -2
  638. package/lib/molecule/card/index.js +3 -3
  639. package/lib/molecule/card/index.js.map +1 -1
  640. package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
  641. package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  642. package/lib/molecule/card/test/fixtures/adaptiv.js +1 -1
  643. package/lib/molecule/card/test/fixtures/adaptiv.js.map +1 -1
  644. package/lib/molecule/card/test/fixtures/disabled.js +1 -1
  645. package/lib/molecule/card/test/fixtures/disabled.js.map +1 -1
  646. package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
  647. package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  648. package/lib/molecule/card-content/test/fixtures/adaptiv.js +1 -1
  649. package/lib/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
  650. package/lib/molecule/card-content/test/fixtures/disabled.js +1 -1
  651. package/lib/molecule/card-content/test/fixtures/disabled.js.map +1 -1
  652. package/lib/molecule/card-with-button/index.js.map +1 -1
  653. package/lib/molecule/cm-popin/style.css +1 -0
  654. package/lib/molecule/coorp-manager-roles/index.js +1 -1
  655. package/lib/molecule/coorp-manager-roles/index.js.map +1 -1
  656. package/lib/molecule/dashboard/battle-request-list/index.js +1 -1
  657. package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
  658. package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
  659. package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
  660. package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
  661. package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
  662. package/lib/molecule/dashboard/cards-list/test/index.js +1 -1
  663. package/lib/molecule/dashboard/cards-list/test/index.js.map +1 -1
  664. package/lib/molecule/dashboard/news-list/index.js +1 -1
  665. package/lib/molecule/dashboard/news-list/index.js.map +1 -1
  666. package/lib/molecule/dashboard/start-battle/index.js +1 -1
  667. package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
  668. package/lib/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
  669. package/lib/molecule/drag-and-drop/index.js +3 -3
  670. package/lib/molecule/drag-and-drop/index.js.map +1 -1
  671. package/lib/molecule/drag-and-drop/test/fixtures/error.js +1 -1
  672. package/lib/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
  673. package/lib/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
  674. package/lib/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
  675. package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
  676. package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
  677. package/lib/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
  678. package/lib/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
  679. package/lib/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
  680. package/lib/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
  681. package/lib/molecule/drag-and-drop/test/fixtures/success.js +1 -1
  682. package/lib/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
  683. package/lib/molecule/drag-and-drop/test/on-click.js +2 -2
  684. package/lib/molecule/drag-and-drop/test/on-click.js.map +1 -1
  685. package/lib/molecule/drag-and-drop/upload-report.js +3 -3
  686. package/lib/molecule/drag-and-drop/upload-report.js.map +1 -1
  687. package/lib/molecule/feedback/index.js +3 -3
  688. package/lib/molecule/feedback/index.js.map +1 -1
  689. package/lib/molecule/filters/test/fixtures/default.js +4 -4
  690. package/lib/molecule/filters/test/fixtures/default.js.map +1 -1
  691. package/lib/molecule/filters/test/fixtures/filters-list.js +6 -6
  692. package/lib/molecule/filters/test/fixtures/filters-list.js.map +1 -1
  693. package/lib/molecule/filters/test/fixtures/one.js +2 -2
  694. package/lib/molecule/filters/test/fixtures/one.js.map +1 -1
  695. package/lib/molecule/filters/test/fixtures/only-radio-group.js +1 -1
  696. package/lib/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
  697. package/lib/molecule/filters/test/fixtures/only-timer.js +1 -1
  698. package/lib/molecule/filters/test/fixtures/only-timer.js.map +1 -1
  699. package/lib/molecule/filters/test/fixtures/three.js +3 -3
  700. package/lib/molecule/filters/test/fixtures/three.js.map +1 -1
  701. package/lib/molecule/filters/test/fixtures/two.js +3 -3
  702. package/lib/molecule/filters/test/fixtures/two.js.map +1 -1
  703. package/lib/molecule/filters/test/fixtures/zero.js +1 -1
  704. package/lib/molecule/filters/test/fixtures/zero.js.map +1 -1
  705. package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
  706. package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
  707. package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
  708. package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
  709. package/lib/molecule/hero/index.js +2 -2
  710. package/lib/molecule/hero/test/fixtures/arabic.js +1 -1
  711. package/lib/molecule/hero/test/fixtures/arabic.js.map +1 -1
  712. package/lib/molecule/hero/test/fixtures/hero.js +1 -1
  713. package/lib/molecule/hero/test/fixtures/hero.js.map +1 -1
  714. package/lib/molecule/news/test/fixtures/long-description.js +1 -1
  715. package/lib/molecule/news/test/fixtures/long-description.js.map +1 -1
  716. package/lib/molecule/news/test/fixtures/long-title.js +1 -1
  717. package/lib/molecule/news/test/fixtures/long-title.js.map +1 -1
  718. package/lib/molecule/news/test/fixtures/small-desciption.js +1 -1
  719. package/lib/molecule/news/test/fixtures/small-desciption.js.map +1 -1
  720. package/lib/molecule/news/test/fixtures/small-title.js +1 -1
  721. package/lib/molecule/news/test/fixtures/small-title.js.map +1 -1
  722. package/lib/molecule/popin/index.js +3 -3
  723. package/lib/molecule/popin/index.js.map +1 -1
  724. package/lib/molecule/progress-bar/index.js +1 -1
  725. package/lib/molecule/progress-bar/index.js.map +1 -1
  726. package/lib/molecule/questions/drop-down/index.js +3 -3
  727. package/lib/molecule/questions/drop-down/index.js.map +1 -1
  728. package/lib/molecule/questions/free-text/index.js +2 -2
  729. package/lib/molecule/questions/question-range/index.js +2 -4
  730. package/lib/molecule/questions/question-range/index.js.map +1 -1
  731. package/lib/molecule/questions/template/index.js +2 -2
  732. package/lib/molecule/questions/template/index.js.map +1 -1
  733. package/lib/molecule/questions/template/test/index.js +1 -1
  734. package/lib/molecule/questions/template/test/index.js.map +1 -1
  735. package/lib/molecule/quick-access-card/index.js.map +1 -1
  736. package/lib/molecule/resource-player/index.js +2 -4
  737. package/lib/molecule/resource-player/index.js.map +1 -1
  738. package/lib/molecule/scope-tabs/index.js +2 -2
  739. package/lib/molecule/search-form/index.js +2 -2
  740. package/lib/molecule/select-multiple/index.js +6 -6
  741. package/lib/molecule/select-multiple/index.js.map +1 -1
  742. package/lib/molecule/select-multiple/test/index.js +4 -4
  743. package/lib/molecule/select-multiple/test/index.js.map +1 -1
  744. package/lib/molecule/setup-section/index.js +1 -1
  745. package/lib/molecule/setup-section/index.js.map +1 -1
  746. package/lib/molecule/setup-section/test/fixtures/first.js +1 -1
  747. package/lib/molecule/setup-section/test/fixtures/first.js.map +1 -1
  748. package/lib/molecule/setup-sections/index.js +2 -2
  749. package/lib/molecule/setup-slide/index.js +8 -8
  750. package/lib/molecule/setup-slide/index.js.map +1 -1
  751. package/lib/molecule/share/index.js +4 -4
  752. package/lib/molecule/share/index.js.map +1 -1
  753. package/lib/molecule/titled-checkbox/index.js +2 -2
  754. package/lib/molecule/vertical-tabs/test/fixtures/default.js +1 -1
  755. package/lib/molecule/video-iframe/index.js +1 -1
  756. package/lib/molecule/video-iframe/index.js.map +1 -1
  757. package/lib/molecule/video-player/index.js +1 -3
  758. package/lib/molecule/video-player/index.js.map +1 -1
  759. package/lib/molecule/video-player/jwplayer.js +2 -2
  760. package/lib/molecule/video-player/jwplayer.js.map +1 -1
  761. package/lib/molecule/video-player/test/fixtures/youtube.js +1 -1
  762. package/lib/molecule/video-player/test/fixtures/youtube.js.map +1 -1
  763. package/lib/molecule/video-player/vimeo.js +1 -1
  764. package/lib/molecule/video-player/vimeo.js.map +1 -1
  765. package/lib/molecule/wizard-summary/index.js +31 -4
  766. package/lib/molecule/wizard-summary/index.js.map +1 -1
  767. package/lib/molecule/wizard-summary/style.css +1 -0
  768. package/lib/organism/accordion/container/index.js +2 -2
  769. package/lib/organism/accordion/coorp-manager/index.js +3 -3
  770. package/lib/organism/accordion/coorp-manager/index.js.map +1 -1
  771. package/lib/organism/accordion/toggler/index.js +1 -1
  772. package/lib/organism/accordion/toggler/index.js.map +1 -1
  773. package/lib/organism/accordion/toggler/test/render.js +2 -2
  774. package/lib/organism/accordion/toggler/test/render.js.map +1 -1
  775. package/lib/organism/brand-form/index.js +2 -2
  776. package/lib/organism/brand-form/test/fixtures/sso.js +3 -3
  777. package/lib/organism/brand-form/test/fixtures/sso.js.map +1 -1
  778. package/lib/organism/content-translation/index.js +2 -2
  779. package/lib/organism/content-translation/index.js.map +1 -1
  780. package/lib/organism/content-translation/style.css +1 -0
  781. package/lib/organism/content-translation/test/fixtures/default.js +2 -2
  782. package/lib/organism/content-translation/test/fixtures/default.js.map +1 -1
  783. package/lib/organism/course-selection/index.js +5 -3
  784. package/lib/organism/course-selection/index.js.map +1 -1
  785. package/lib/organism/course-selection/test/fixtures/default.js +6 -5
  786. package/lib/organism/course-selection/test/fixtures/default.js.map +1 -1
  787. package/lib/organism/course-selection/test/fixtures/filtered.js +2 -2
  788. package/lib/organism/course-selection/test/fixtures/filtered.js.map +1 -1
  789. package/lib/organism/course-selection/test/fixtures/sorted-selected.js +5 -5
  790. package/lib/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
  791. package/lib/organism/course-selection/test/fixtures/unsorted-selected.js +5 -5
  792. package/lib/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
  793. package/lib/organism/course-selection/test/fixtures.js +0 -3
  794. package/lib/organism/course-selection/test/fixtures.js.map +1 -1
  795. package/lib/organism/discussion/test/fixtures/default.js +1 -1
  796. package/lib/organism/discussion/test/fixtures/default.js.map +1 -1
  797. package/lib/organism/discussion/test/fixtures/loading-more.js +1 -1
  798. package/lib/organism/discussion/test/fixtures/loading-more.js.map +1 -1
  799. package/lib/organism/discussion/test/fixtures/new-discussion.js +1 -1
  800. package/lib/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
  801. package/lib/organism/get-the-app/index.js +2 -2
  802. package/lib/organism/get-the-app/index.js.map +1 -1
  803. package/lib/organism/list-items/test/fixtures/archived.js +1 -1
  804. package/lib/organism/list-items/test/fixtures/archived.js.map +1 -1
  805. package/lib/organism/list-items/test/fixtures/draft.js +1 -1
  806. package/lib/organism/list-items/test/fixtures/draft.js.map +1 -1
  807. package/lib/organism/list-items/test/fixtures/published.js +2 -2
  808. package/lib/organism/list-items/test/fixtures/published.js.map +1 -1
  809. package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
  810. package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
  811. package/lib/organism/mooc-header/test/fixtures/default.js +1 -1
  812. package/lib/organism/mooc-header/test/fixtures/default.js.map +1 -1
  813. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  814. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  815. package/lib/organism/popin/test/fixtures/default.js.map +1 -1
  816. package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
  817. package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
  818. package/lib/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
  819. package/lib/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
  820. package/lib/organism/resource-browser/test/fixtures/kontiki.js +1 -1
  821. package/lib/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
  822. package/lib/organism/resource-browser/test/fixtures/mp4.js +1 -1
  823. package/lib/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
  824. package/lib/organism/search-and-chips-results/index.js +5 -3
  825. package/lib/organism/search-and-chips-results/index.js.map +1 -1
  826. package/lib/organism/search-and-chips-results/test/fixtures/default.js +1 -0
  827. package/lib/organism/search-and-chips-results/test/fixtures/default.js.map +1 -1
  828. package/lib/organism/settings/index.js +2 -4
  829. package/lib/organism/settings/index.js.map +1 -1
  830. package/lib/organism/sidebar/index.js +13 -15
  831. package/lib/organism/sidebar/index.js.map +1 -1
  832. package/lib/organism/user-preferences/index.js +2 -4
  833. package/lib/organism/user-preferences/index.js.map +1 -1
  834. package/lib/organism/wizard-contents/index.js +11 -7
  835. package/lib/organism/wizard-contents/index.js.map +1 -1
  836. package/lib/organism/wizard-contents/style.css +9 -5
  837. package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +1 -1
  838. package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
  839. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -1
  840. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
  841. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +1 -1
  842. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
  843. package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -1
  844. package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
  845. package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -1
  846. package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
  847. package/lib/template/activity/index.js +1 -1
  848. package/lib/template/activity/index.js.map +1 -1
  849. package/lib/template/activity/progression-item.js +2 -2
  850. package/lib/template/activity/test/progression-item-test.js +1 -1
  851. package/lib/template/activity/test/progression-item-test.js.map +1 -1
  852. package/lib/template/app-player/player/slides/footer/index.js +1 -1
  853. package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
  854. package/lib/template/app-player/player/slides/index.js +11 -15
  855. package/lib/template/app-player/player/slides/index.js.map +1 -1
  856. package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
  857. package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
  858. package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
  859. package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
  860. package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
  861. package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
  862. package/lib/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
  863. package/lib/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
  864. package/lib/template/app-player/player/slides/test/fixtures/clue.js +2 -2
  865. package/lib/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
  866. package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
  867. package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
  868. package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
  869. package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
  870. package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
  871. package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
  872. package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
  873. package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
  874. package/lib/template/app-player/player/slides/test/fixtures/context.js +2 -2
  875. package/lib/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
  876. package/lib/template/app-player/player/slides/test/fixtures/default.js +2 -2
  877. package/lib/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
  878. package/lib/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
  879. package/lib/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
  880. package/lib/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
  881. package/lib/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
  882. package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
  883. package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
  884. package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
  885. package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
  886. package/lib/template/app-player/player/slides/test/fixtures/media.js +2 -2
  887. package/lib/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
  888. package/lib/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
  889. package/lib/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
  890. package/lib/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
  891. package/lib/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
  892. package/lib/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
  893. package/lib/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
  894. package/lib/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
  895. package/lib/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
  896. package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
  897. package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
  898. package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
  899. package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
  900. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
  901. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
  902. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
  903. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
  904. package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
  905. package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
  906. package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
  907. package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
  908. package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
  909. package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
  910. package/lib/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
  911. package/lib/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
  912. package/lib/template/app-player/player/slides/test/fixtures/range.js +1 -1
  913. package/lib/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
  914. package/lib/template/app-player/player/slides/test/fixtures/template.js +1 -1
  915. package/lib/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
  916. package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
  917. package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
  918. package/lib/template/app-player/player/test/fixtures/background.js +1 -1
  919. package/lib/template/app-player/player/test/fixtures/background.js.map +1 -1
  920. package/lib/template/app-player/popin-correction/index.js +4 -6
  921. package/lib/template/app-player/popin-correction/index.js.map +1 -1
  922. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
  923. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
  924. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
  925. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
  926. package/lib/template/app-player/popin-end/summary.js +7 -12
  927. package/lib/template/app-player/popin-end/summary.js.map +1 -1
  928. package/lib/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
  929. package/lib/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
  930. package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
  931. package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
  932. package/lib/template/app-player/popin-header/index.js +5 -7
  933. package/lib/template/app-player/popin-header/index.js.map +1 -1
  934. package/lib/template/back-office/brand-create/test/fixtures/default.js +1 -1
  935. package/lib/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
  936. package/lib/template/back-office/brand-create/test/fixtures/loading.js +1 -1
  937. package/lib/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
  938. package/lib/template/back-office/brand-create/test/fixtures/modified.js +1 -1
  939. package/lib/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
  940. package/lib/template/back-office/brand-list/test/fixtures/default.js +1 -1
  941. package/lib/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  942. package/lib/template/back-office/brand-list/test/fixtures/rh.js +1 -1
  943. package/lib/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  944. package/lib/template/back-office/brand-update/index.js +9 -9
  945. package/lib/template/back-office/brand-update/index.js.map +1 -1
  946. package/lib/template/back-office/brand-update/test/fixtures/analytics.js +2 -2
  947. package/lib/template/back-office/brand-update/test/fixtures/animations.js +2 -2
  948. package/lib/template/back-office/brand-update/test/fixtures/cohort-error.js +2 -2
  949. package/lib/template/back-office/brand-update/test/fixtures/cohort.js +2 -2
  950. package/lib/template/back-office/brand-update/test/fixtures/dashboard.js +2 -2
  951. package/lib/template/back-office/brand-update/test/fixtures/dashboards-analytics.js +2 -2
  952. package/lib/template/back-office/brand-update/test/fixtures/default.js +1 -1
  953. package/lib/template/back-office/brand-update/test/fixtures/list-items-archived.js +1 -1
  954. package/lib/template/back-office/brand-update/test/fixtures/list-items-archived.js.map +1 -1
  955. package/lib/template/back-office/brand-update/test/fixtures/list-items-draft.js +1 -1
  956. package/lib/template/back-office/brand-update/test/fixtures/list-items-draft.js.map +1 -1
  957. package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +1 -1
  958. package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -1
  959. package/lib/template/back-office/brand-update/test/fixtures/list-items-published.js +1 -1
  960. package/lib/template/back-office/brand-update/test/fixtures/list-items-published.js.map +1 -1
  961. package/lib/template/back-office/brand-update/test/fixtures/lms-error.js +2 -2
  962. package/lib/template/back-office/brand-update/test/fixtures/lms-modified.js +2 -2
  963. package/lib/template/back-office/brand-update/test/fixtures/lms-success.js +2 -2
  964. package/lib/template/back-office/brand-update/test/fixtures/lms.js +2 -2
  965. package/lib/template/back-office/brand-update/test/fixtures/lookandfeel.js +2 -2
  966. package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js +1 -1
  967. package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
  968. package/lib/template/back-office/brand-update/test/fixtures/quick-access.js +1 -1
  969. package/lib/template/back-office/brand-update/test/fixtures/quick-access.js.map +1 -1
  970. package/lib/template/back-office/brand-update/test/fixtures/sso.js +2 -2
  971. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
  972. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
  973. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
  974. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
  975. package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js +1 -1
  976. package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
  977. package/lib/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js +1 -1
  978. package/lib/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js.map +1 -1
  979. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js +50 -1
  980. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js.map +1 -1
  981. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js +1 -1
  982. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js.map +1 -1
  983. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +1 -1
  984. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -1
  985. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js +1 -1
  986. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js.map +1 -1
  987. package/lib/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js +1 -1
  988. package/lib/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js.map +1 -1
  989. package/lib/template/cockpit/jw-uploader/index.js +1 -1
  990. package/lib/template/cockpit/jw-uploader/index.js.map +1 -1
  991. package/lib/template/common/dashboard/index.js +1 -1
  992. package/lib/template/common/dashboard/index.js.map +1 -1
  993. package/lib/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
  994. package/lib/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
  995. package/lib/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
  996. package/lib/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
  997. package/lib/template/common/discipline/index.js +2 -2
  998. package/lib/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
  999. package/lib/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
  1000. package/lib/template/common/discipline/test/fixtures/arabic.js +1 -1
  1001. package/lib/template/common/discipline/test/fixtures/arabic.js.map +1 -1
  1002. package/lib/template/common/discipline/test/fixtures/default.js +2 -2
  1003. package/lib/template/common/discipline/test/fixtures/default.js.map +1 -1
  1004. package/lib/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
  1005. package/lib/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
  1006. package/lib/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
  1007. package/lib/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
  1008. package/lib/template/common/discipline/test/fixtures/external-course.js +2 -2
  1009. package/lib/template/common/discipline/test/fixtures/external-course.js.map +1 -1
  1010. package/lib/template/common/discipline/test/fixtures/share.js +1 -1
  1011. package/lib/template/common/discipline/test/fixtures/share.js.map +1 -1
  1012. package/lib/template/teams-dashboard/index.js +2 -2
  1013. package/lib/template/teams-dashboard/test/fixtures/default.js +2 -2
  1014. package/lib/template/teams-dashboard/test/fixtures/default.js.map +1 -1
  1015. package/lib/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
  1016. package/lib/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
  1017. package/lib/template/teams-dashboard/test/fixtures/mobile.js +1 -1
  1018. package/lib/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
  1019. package/lib/test/helpers/render-component.js +1 -1
  1020. package/lib/util/external-content.js +1 -1
  1021. package/lib/util/proptypes.js +1 -1
  1022. package/lib/util/shallow-compare.js.map +1 -1
  1023. package/lib/util/test/navigation.js +3 -5
  1024. package/lib/util/test/navigation.js.map +1 -1
  1025. package/package.json +2 -2
  1026. package/es/molecule/search/test/fixtures.js +0 -15
  1027. package/es/molecule/search/test/fixtures.js.map +0 -1
  1028. package/lib/molecule/search/test/fixtures.js +0 -25
  1029. package/lib/molecule/search/test/fixtures.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/organism/user-preferences/index.js"],"names":["React","PropTypes","NovaCompositionCoorpacademyInformationIcon","InfoIcon","InputSwitch","style","Settings","props","label","description","settings","infoIconWrapper","infoIcon","showToolTip","descriptionLabel","propTypes","string","isRequired","UserPreferences","preferences","arrayOf","shape"],"mappings":";;;;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,SAAQC,0CAA0C,IAAIC,QAAtD,QAAqE,0BAArE;AACA,OAAOC,WAAP,MAAwB,yBAAxB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,QAAQ,GAAGC,KAAK,IAAI;AACxB,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA;AAAR,MAAoCF,KAA1C;AAAA,QAA8BG,QAA9B,iCAA0CH,KAA1C;;AACA,sBACE;AAAK,IAAA,SAAS,EAAEF,KAAK,CAACK;AAAtB,kBACE,oBAAC,WAAD,EAAiBA,QAAjB,CADF,eAEE;AAAM,IAAA,SAAS,EAAEL,KAAK,CAACG;AAAvB,KAA+BA,KAA/B,CAFF,EAGG,SAAQC,WAAR,IAAuB,IAAvB,gBACC;AAAK,IAAA,SAAS,EAAEJ,KAAK,CAACM;AAAtB,kBACE,oBAAC,QAAD;AAAU,IAAA,MAAM,EAAE,EAAlB;AAAsB,IAAA,KAAK,EAAE,EAA7B;AAAiC,IAAA,SAAS,EAAEN,KAAK,CAACO;AAAlD,IADF,eAEE;AAAK,IAAA,SAAS,EAAEP,KAAK,CAACQ;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAER,KAAK,CAACS;AAAtB,KAAyCL,WAAzC,CADF,CAFF,CAJJ,CADF;AAcD,CAhBD;;AAkBAH,QAAQ,CAACS,SAAT,wDACKX,WAAW,CAACW,SADjB;AAEEP,EAAAA,KAAK,EAAEP,SAAS,CAACe,MAAV,CAAiBC,UAF1B;AAGER,EAAAA,WAAW,EAAER,SAAS,CAACe;AAHzB;;AAMA,MAAME,eAAe,GAAGX,KAAK,IAAI;AAC/B,QAAM;AAACY,IAAAA,WAAW,GAAG;AAAf,MAAqBZ,KAA3B;AAEA,sBACE;AAAK,IAAA,SAAS,EAAEF,KAAK,CAACc;AAAtB,KACG,KACCT,QAAQ,iBACN,oBAAC,QAAD,eAAcA,QAAd;AAAwB,IAAA,GAAG,EAAEA,QAAQ,CAACF;AAAtC,KAFH,EAICW,WAJD,CADH,CADF;AAUD,CAbD;;AAeAD,eAAe,CAACH,SAAhB,2CAA4B;AAC1BI,EAAAA,WAAW,EAAElB,SAAS,CAACmB,OAAV,CAAkBnB,SAAS,CAACoB,KAAV,CAAgBf,QAAQ,CAACS,SAAzB,CAAlB;AADa,CAA5B;AAIA,eAAeG,eAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map, isEmpty} from 'lodash/fp';\nimport {NovaCompositionCoorpacademyInformationIcon as InfoIcon} from '@coorpacademy/nova-icons';\nimport InputSwitch from '../../atom/input-switch';\nimport style from './style.css';\n\nconst Settings = props => {\n const {label, description, ...settings} = props;\n return (\n <div className={style.settings}>\n <InputSwitch {...settings} />\n <span className={style.label}>{label}</span>\n {isEmpty(description) ? null : (\n <div className={style.infoIconWrapper}>\n <InfoIcon height={16} width={16} className={style.infoIcon} />\n <div className={style.showToolTip}>\n <div className={style.descriptionLabel}>{description}</div>\n </div>\n </div>\n )}\n </div>\n );\n};\n\nSettings.propTypes = {\n ...InputSwitch.propTypes,\n label: PropTypes.string.isRequired,\n description: PropTypes.string\n};\n\nconst UserPreferences = props => {\n const {preferences = []} = props;\n\n return (\n <div className={style.preferences}>\n {map(\n settings => (\n <Settings {...settings} key={settings.label} />\n ),\n preferences\n )}\n </div>\n );\n};\n\nUserPreferences.propTypes = {\n preferences: PropTypes.arrayOf(PropTypes.shape(Settings.propTypes))\n};\n\nexport default UserPreferences;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/organism/user-preferences/index.js"],"names":["React","PropTypes","NovaCompositionCoorpacademyInformationIcon","InfoIcon","InputSwitch","style","Settings","props","label","description","settings","infoIconWrapper","infoIcon","showToolTip","descriptionLabel","propTypes","string","isRequired","UserPreferences","preferences","arrayOf","shape"],"mappings":";;;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,SAAQC,0CAA0C,IAAIC,QAAtD,QAAqE,0BAArE;AACA,OAAOC,WAAP,MAAwB,yBAAxB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,QAAQ,GAAGC,KAAK,IAAI;AACxB,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA;AAAR,MAAoCF,KAA1C;AAAA,QAA8BG,QAA9B,iCAA0CH,KAA1C;;AACA,sBACE;AAAK,IAAA,SAAS,EAAEF,KAAK,CAACK;AAAtB,kBACE,oBAAC,WAAD,EAAiBA,QAAjB,CADF,eAEE;AAAM,IAAA,SAAS,EAAEL,KAAK,CAACG;AAAvB,KAA+BA,KAA/B,CAFF,EAGG,SAAQC,WAAR,IAAuB,IAAvB,gBACC;AAAK,IAAA,SAAS,EAAEJ,KAAK,CAACM;AAAtB,kBACE,oBAAC,QAAD;AAAU,IAAA,MAAM,EAAE,EAAlB;AAAsB,IAAA,KAAK,EAAE,EAA7B;AAAiC,IAAA,SAAS,EAAEN,KAAK,CAACO;AAAlD,IADF,eAEE;AAAK,IAAA,SAAS,EAAEP,KAAK,CAACQ;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAER,KAAK,CAACS;AAAtB,KAAyCL,WAAzC,CADF,CAFF,CAJJ,CADF;AAcD,CAhBD;;AAkBAH,QAAQ,CAACS,SAAT,iEACKX,WAAW,CAACW,SADjB;AAEEP,EAAAA,KAAK,EAAEP,SAAS,CAACe,MAAV,CAAiBC,UAF1B;AAGER,EAAAA,WAAW,EAAER,SAAS,CAACe;AAHzB;;AAMA,MAAME,eAAe,GAAGX,KAAK,IAAI;AAC/B,QAAM;AAACY,IAAAA,WAAW,GAAG;AAAf,MAAqBZ,KAA3B;AAEA,sBACE;AAAK,IAAA,SAAS,EAAEF,KAAK,CAACc;AAAtB,KACG,KACCT,QAAQ,iBACN,oBAAC,QAAD,eAAcA,QAAd;AAAwB,IAAA,GAAG,EAAEA,QAAQ,CAACF;AAAtC,KAFH,EAICW,WAJD,CADH,CADF;AAUD,CAbD;;AAeAD,eAAe,CAACH,SAAhB,2CAA4B;AAC1BI,EAAAA,WAAW,EAAElB,SAAS,CAACmB,OAAV,CAAkBnB,SAAS,CAACoB,KAAV,CAAgBf,QAAQ,CAACS,SAAzB,CAAlB;AADa,CAA5B;AAIA,eAAeG,eAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map, isEmpty} from 'lodash/fp';\nimport {NovaCompositionCoorpacademyInformationIcon as InfoIcon} from '@coorpacademy/nova-icons';\nimport InputSwitch from '../../atom/input-switch';\nimport style from './style.css';\n\nconst Settings = props => {\n const {label, description, ...settings} = props;\n return (\n <div className={style.settings}>\n <InputSwitch {...settings} />\n <span className={style.label}>{label}</span>\n {isEmpty(description) ? null : (\n <div className={style.infoIconWrapper}>\n <InfoIcon height={16} width={16} className={style.infoIcon} />\n <div className={style.showToolTip}>\n <div className={style.descriptionLabel}>{description}</div>\n </div>\n </div>\n )}\n </div>\n );\n};\n\nSettings.propTypes = {\n ...InputSwitch.propTypes,\n label: PropTypes.string.isRequired,\n description: PropTypes.string\n};\n\nconst UserPreferences = props => {\n const {preferences = []} = props;\n\n return (\n <div className={style.preferences}>\n {map(\n settings => (\n <Settings {...settings} key={settings.label} />\n ),\n preferences\n )}\n </div>\n );\n};\n\nUserPreferences.propTypes = {\n preferences: PropTypes.arrayOf(PropTypes.shape(Settings.propTypes))\n};\n\nexport default UserPreferences;\n"],"file":"index.js"}
@@ -110,7 +110,9 @@ const WizardContents = props => {
110
110
  previousStep
111
111
  } = props;
112
112
  const headerView = buildHeader(wizardHeader, steps);
113
- const formView = buildForm(content);
113
+ const formView = buildForm(_extends(_extends({}, content), {}, {
114
+ isLoading
115
+ }));
114
116
  const rightActionView = buildActionZone(previousStep, nextStep, 'right');
115
117
  const footerActionView = buildActionZone(previousStep, nextStep, 'footer');
116
118
  return /*#__PURE__*/React.createElement("div", {
@@ -120,9 +122,11 @@ const WizardContents = props => {
120
122
  className: style.leftSection
121
123
  }, headerView, /*#__PURE__*/React.createElement("div", {
122
124
  className: style.form
123
- }, isLoading ? /*#__PURE__*/React.createElement(Loader, {
125
+ }, isLoading ? /*#__PURE__*/React.createElement("div", {
126
+ className: style.loader
127
+ }, /*#__PURE__*/React.createElement(Loader, {
124
128
  theme: "coorpmanager"
125
- }) : formView)), /*#__PURE__*/React.createElement("div", {
129
+ })) : formView)), /*#__PURE__*/React.createElement("div", {
126
130
  className: style.rightSection,
127
131
  "data-name": "summary-right-section"
128
132
  }, /*#__PURE__*/React.createElement("div", {
@@ -152,13 +156,13 @@ WizardContents.propTypes = process.env.NODE_ENV !== "production" ? {
152
156
  }).isRequired,
153
157
  steps: WizardSteps.propTypes.steps,
154
158
  summary: PropTypes.shape(_extends({}, WizardSummary.propTypes)).isRequired,
155
- content: PropTypes.oneOfType([PropTypes.shape(_extends({}, BrandForm.propTypes, {
159
+ content: PropTypes.oneOfType([PropTypes.shape(_extends(_extends({}, BrandForm.propTypes), {}, {
156
160
  type: PropTypes.oneOf(['form'])
157
- })), PropTypes.shape(_extends({}, ContentTranslate.propTypes, {
161
+ })), PropTypes.shape(_extends(_extends({}, ContentTranslate.propTypes), {}, {
158
162
  type: PropTypes.oneOf(['translate'])
159
- })), PropTypes.shape(_extends({}, OrganismSearchAndChipsResults.propTypes, {
163
+ })), PropTypes.shape(_extends(_extends({}, OrganismSearchAndChipsResults.propTypes), {}, {
160
164
  type: PropTypes.oneOf(['populations'])
161
- })), PropTypes.shape(_extends({}, CourseSelection.propTypes, {
165
+ })), PropTypes.shape(_extends(_extends({}, CourseSelection.propTypes), {}, {
162
166
  type: PropTypes.oneOf(['courses'])
163
167
  }))]),
164
168
  previousStep: PropTypes.shape({
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/organism/wizard-contents/index.js"],"names":["React","getOr","PropTypes","ButtonLink","ButtonLinkIconOnly","WizardSteps","WizardSummary","BrandForm","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","Loader","style","buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","nextButton","actionZone","button","WizardContents","props","isLoading","summary","headerView","formView","rightActionView","footerActionView","container","leftSection","form","rightSection","stickySection","summaryZone","footer","summaryFooter","actionFooter","propTypes","bool","shape","string","func","isRequired","oneOfType","oneOf"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,KAAP,MAAkB,iBAAlB;AACA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D,6BAA6B,CAACoD,SADnC;AAEEpC,IAAAA,IAAI,EAAEvB,SAAS,CAACkE,KAAV,CAAgB,CAAC,aAAD,CAAhB;AAFR,KAT2B,EAa3BlE,SAAS,CAAC6D,KAAV,cACKrD,eAAe,CAACmD,SADrB;AAEEpC,IAAAA,IAAI,EAAEvB,SAAS,CAACkE,KAAV,CAAgB,CAAC,SAAD,CAAhB;AAFR,KAb2B,CAApB,CAVgB;AA4BzB/B,EAAAA,YAAY,EAAEnC,SAAS,CAAC6D,KAAV,CAAgB;AAC5B7B,IAAAA,KAAK,EAAEhC,SAAS,CAAC8D,MADW;AAE5B/C,IAAAA,OAAO,EAAEf,SAAS,CAAC+D;AAFS,GAAhB,CA5BW;AAgCzB3B,EAAAA,QAAQ,EAAEpC,SAAS,CAAC6D,KAAV,CAAgB;AACxBtC,IAAAA,IAAI,EAAEvB,SAAS,CAACkE,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;AAExBlC,IAAAA,KAAK,EAAEhC,SAAS,CAAC8D,MAFO;AAGxB/C,IAAAA,OAAO,EAAEf,SAAS,CAAC+D;AAHK,GAAhB;AAhCe,CAA3B;AAuCA,eAAerB,cAAf","sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport Loader from '../../atom/loader';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'custom-playlist-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm(content);\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n\n return (\n <div className={style.container} data-name=\"custom-playlist-summary\">\n <div className={style.leftSection}>\n {headerView}\n <div className={style.form}>{isLoading ? <Loader theme=\"coorpmanager\" /> : formView}</div>\n </div>\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n <div className={style.footer} data-name=\"summary-footer-section\">\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n <div className={style.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/organism/wizard-contents/index.js"],"names":["React","getOr","PropTypes","ButtonLink","ButtonLinkIconOnly","WizardSteps","WizardSummary","BrandForm","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","Loader","style","buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","nextButton","actionZone","button","WizardContents","props","isLoading","summary","headerView","formView","rightActionView","footerActionView","container","leftSection","form","loader","rightSection","stickySection","summaryZone","footer","summaryFooter","actionFooter","propTypes","bool","shape","string","func","isRequired","oneOfType","oneOf"],"mappings":";;AAAA,OAA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CAACsD,SADtB;AAEErC,IAAAA,IAAI,EAAEvB,SAAS,CAACmE,KAAV,CAAgB,CAAC,WAAD,CAAhB;AAFR,KAL2B,EAS3BnE,SAAS,CAAC8D,KAAV,uBACKvD,6BAA6B,CAACqD,SADnC;AAEErC,IAAAA,IAAI,EAAEvB,SAAS,CAACmE,KAAV,CAAgB,CAAC,aAAD,CAAhB;AAFR,KAT2B,EAa3BnE,SAAS,CAAC8D,KAAV,uBACKtD,eAAe,CAACoD,SADrB;AAEErC,IAAAA,IAAI,EAAEvB,SAAS,CAACmE,KAAV,CAAgB,CAAC,SAAD,CAAhB;AAFR,KAb2B,CAApB,CAVgB;AA4BzBhC,EAAAA,YAAY,EAAEnC,SAAS,CAAC8D,KAAV,CAAgB;AAC5B9B,IAAAA,KAAK,EAAEhC,SAAS,CAAC+D,MADW;AAE5BhD,IAAAA,OAAO,EAAEf,SAAS,CAACgE;AAFS,GAAhB,CA5BW;AAgCzB5B,EAAAA,QAAQ,EAAEpC,SAAS,CAAC8D,KAAV,CAAgB;AACxBvC,IAAAA,IAAI,EAAEvB,SAAS,CAACmE,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;AAExBnC,IAAAA,KAAK,EAAEhC,SAAS,CAAC+D,MAFO;AAGxBhD,IAAAA,OAAO,EAAEf,SAAS,CAACgE;AAHK,GAAhB;AAhCe,CAA3B;AAuCA,eAAetB,cAAf","sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport Loader from '../../atom/loader';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'custom-playlist-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n\n return (\n <div className={style.container} data-name=\"custom-playlist-summary\">\n <div className={style.leftSection}>\n {headerView}\n <div className={style.form}>\n {isLoading ? (\n <div className={style.loader}>\n <Loader theme=\"coorpmanager\" />\n </div>\n ) : (\n formView\n )}\n </div>\n </div>\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n <div className={style.footer} data-name=\"summary-footer-section\">\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n <div className={style.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"file":"index.js"}
@@ -30,18 +30,22 @@
30
30
 
31
31
  .stickySection {
32
32
  box-sizing: border-box;
33
- position: fixed;
33
+ position: relative;
34
34
  z-index: 1;
35
- bottom: 0;
36
- right: 64px;
37
35
  width: 320px;
38
- height: 82%;
36
+ height: 100%;
37
+ max-height: 646px;
39
38
  border-radius: 7px;
40
- height: 86%;
41
39
  display: flex;
42
40
  flex-direction: column;
43
41
  }
44
42
 
43
+ .loader {
44
+ position: relative;
45
+ min-height: 50vh;
46
+ width: 100%;
47
+ }
48
+
45
49
  .header {
46
50
  display: flex;
47
51
  flex-direction: row;
@@ -25,7 +25,7 @@ export default {
25
25
  current: true
26
26
  }],
27
27
  summary: wizardSummary.props,
28
- content: _extends({}, addCoursesForm.props, {
28
+ content: _extends(_extends({}, addCoursesForm.props), {}, {
29
29
  type: 'courses'
30
30
  }),
31
31
  previousStep: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js"],"names":["wizardSummary","addCoursesForm","props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","content","type","previousStep","label","nextStep"],"mappings":";;AAAA;AACA,OAAOA,aAAP,MAA0B,kEAA1B;AACA,OAAOC,cAAP,MAA2B,iDAA3B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,sBADK;AAEZC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AAFH,KAFT;AAMLC,IAAAA,KAAK,EAAE,CACL;AACEJ,MAAAA,KAAK,EAAE,sBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KADK,EAKL;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KALK,EASL;AACEL,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KATK,EAaL;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KAbK,CANF;AAyBLC,IAAAA,OAAO,EAAEZ,aAAa,CAACE,KAzBlB;AA0BLW,IAAAA,OAAO,eACFZ,cAAc,CAACC,KADb;AAELY,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,eADK;AAEZV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFH,KA9BT;AAkCLS,IAAAA,QAAQ,EAAE;AACRH,MAAAA,IAAI,EAAE,SADE;AAERE,MAAAA,KAAK,EAAE,SAFC;AAGRV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AAlCL;AADM,CAAf","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport addCoursesForm from '../../../course-selection/test/fixtures/default';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Edit custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: true\n },\n {\n title: 'Translations',\n done: true\n },\n {\n title: 'Assign populations',\n done: true\n },\n {\n title: 'Add courses',\n done: false,\n current: true\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...addCoursesForm.props,\n type: 'courses'\n },\n previousStep: {\n label: 'Previous Step',\n onClick: () => console.log('Previous Step')\n },\n nextStep: {\n type: 'publish',\n label: 'Publish',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-add-courses-create.js"}
1
+ {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js"],"names":["wizardSummary","addCoursesForm","props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","content","type","previousStep","label","nextStep"],"mappings":";;AAAA;AACA,OAAOA,aAAP,MAA0B,kEAA1B;AACA,OAAOC,cAAP,MAA2B,iDAA3B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,sBADK;AAEZC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AAFH,KAFT;AAMLC,IAAAA,KAAK,EAAE,CACL;AACEJ,MAAAA,KAAK,EAAE,sBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KADK,EAKL;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KALK,EASL;AACEL,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KATK,EAaL;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KAbK,CANF;AAyBLC,IAAAA,OAAO,EAAEZ,aAAa,CAACE,KAzBlB;AA0BLW,IAAAA,OAAO,wBACFZ,cAAc,CAACC,KADb;AAELY,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,eADK;AAEZV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFH,KA9BT;AAkCLS,IAAAA,QAAQ,EAAE;AACRH,MAAAA,IAAI,EAAE,SADE;AAERE,MAAAA,KAAK,EAAE,SAFC;AAGRV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AAlCL;AADM,CAAf","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport addCoursesForm from '../../../course-selection/test/fixtures/default';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Edit custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: true\n },\n {\n title: 'Translations',\n done: true\n },\n {\n title: 'Assign populations',\n done: true\n },\n {\n title: 'Add courses',\n done: false,\n current: true\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...addCoursesForm.props,\n type: 'courses'\n },\n previousStep: {\n label: 'Previous Step',\n onClick: () => console.log('Previous Step')\n },\n nextStep: {\n type: 'publish',\n label: 'Publish',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-add-courses-create.js"}
@@ -25,7 +25,7 @@ export default {
25
25
  done: false
26
26
  }],
27
27
  summary: wizardSummary.props,
28
- content: _extends({}, generalInformation.props, {
28
+ content: _extends(_extends({}, generalInformation.props), {}, {
29
29
  type: 'form'
30
30
  }),
31
31
  nextStep: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js"],"names":["wizardSummary","generalInformation","props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","content","type","nextStep","label"],"mappings":";;AAAA;AACA,OAAOA,aAAP,MAA0B,kEAA1B;AACA,OAAOC,kBAAP,MAA+B,oDAA/B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,wBADK;AAEZC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AAFH,KAFT;AAMLC,IAAAA,KAAK,EAAE,CACL;AACEJ,MAAAA,KAAK,EAAE,sBADT;AAEEK,MAAAA,IAAI,EAAE,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KADK,EAML;AACEN,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KANK,EAUL;AACEL,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAVK,EAcL;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEZ,aAAa,CAACE,KAzBlB;AA0BLW,IAAAA,OAAO,eACFZ,kBAAkB,CAACC,KADjB;AAELY,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,QAAQ,EAAE;AACRD,MAAAA,IAAI,EAAE,MADE;AAERE,MAAAA,KAAK,EAAE,WAFC;AAGRV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AA9BL;AADM,CAAf","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport generalInformation from '../../../brand-form/test/fixtures/wizard-playlists';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Create custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: false,\n current: true\n },\n {\n title: 'Translations',\n done: false\n },\n {\n title: 'Assign populations',\n done: false\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...generalInformation.props,\n type: 'form'\n },\n nextStep: {\n type: 'next',\n label: 'Next step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-general-settings-create.js"}
1
+ {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js"],"names":["wizardSummary","generalInformation","props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","content","type","nextStep","label"],"mappings":";;AAAA;AACA,OAAOA,aAAP,MAA0B,kEAA1B;AACA,OAAOC,kBAAP,MAA+B,oDAA/B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,wBADK;AAEZC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AAFH,KAFT;AAMLC,IAAAA,KAAK,EAAE,CACL;AACEJ,MAAAA,KAAK,EAAE,sBADT;AAEEK,MAAAA,IAAI,EAAE,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KADK,EAML;AACEN,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KANK,EAUL;AACEL,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAVK,EAcL;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEZ,aAAa,CAACE,KAzBlB;AA0BLW,IAAAA,OAAO,wBACFZ,kBAAkB,CAACC,KADjB;AAELY,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,QAAQ,EAAE;AACRD,MAAAA,IAAI,EAAE,MADE;AAERE,MAAAA,KAAK,EAAE,WAFC;AAGRV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AA9BL;AADM,CAAf","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport generalInformation from '../../../brand-form/test/fixtures/wizard-playlists';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Create custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: false,\n current: true\n },\n {\n title: 'Translations',\n done: false\n },\n {\n title: 'Assign populations',\n done: false\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...generalInformation.props,\n type: 'form'\n },\n nextStep: {\n type: 'next',\n label: 'Next step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-general-settings-create.js"}
@@ -25,7 +25,7 @@ export default {
25
25
  done: false
26
26
  }],
27
27
  summary: wizardSummary.props,
28
- content: _extends({}, generalInformation.props, {
28
+ content: _extends(_extends({}, generalInformation.props), {}, {
29
29
  type: 'form'
30
30
  }),
31
31
  nextStep: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js"],"names":["wizardSummary","generalInformation","props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","content","type","nextStep","label"],"mappings":";;AAAA;AACA,OAAOA,aAAP,MAA0B,+DAA1B;AACA,OAAOC,kBAAP,MAA+B,oDAA/B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,sBADK;AAEZC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AAFH,KAFT;AAMLC,IAAAA,KAAK,EAAE,CACL;AACEJ,MAAAA,KAAK,EAAE,sBADT;AAEEK,MAAAA,IAAI,EAAE,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KADK,EAML;AACEN,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KANK,EAUL;AACEL,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAVK,EAcL;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEZ,aAAa,CAACE,KAzBlB;AA0BLW,IAAAA,OAAO,eACFZ,kBAAkB,CAACC,KADjB;AAELY,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,QAAQ,EAAE;AACRC,MAAAA,KAAK,EAAE,WADC;AAERV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAFP;AA9BL;AADM,CAAf","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/one-section';\nimport generalInformation from '../../../brand-form/test/fixtures/wizard-playlists';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Edit custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: false,\n current: true\n },\n {\n title: 'Translations',\n done: false\n },\n {\n title: 'Assign populations',\n done: false\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...generalInformation.props,\n type: 'form'\n },\n nextStep: {\n label: 'Next Step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-general-settings-edit.js"}
1
+ {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js"],"names":["wizardSummary","generalInformation","props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","content","type","nextStep","label"],"mappings":";;AAAA;AACA,OAAOA,aAAP,MAA0B,+DAA1B;AACA,OAAOC,kBAAP,MAA+B,oDAA/B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,sBADK;AAEZC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AAFH,KAFT;AAMLC,IAAAA,KAAK,EAAE,CACL;AACEJ,MAAAA,KAAK,EAAE,sBADT;AAEEK,MAAAA,IAAI,EAAE,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KADK,EAML;AACEN,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KANK,EAUL;AACEL,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAVK,EAcL;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEZ,aAAa,CAACE,KAzBlB;AA0BLW,IAAAA,OAAO,wBACFZ,kBAAkB,CAACC,KADjB;AAELY,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,QAAQ,EAAE;AACRC,MAAAA,KAAK,EAAE,WADC;AAERV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAFP;AA9BL;AADM,CAAf","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/one-section';\nimport generalInformation from '../../../brand-form/test/fixtures/wizard-playlists';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Edit custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: false,\n current: true\n },\n {\n title: 'Translations',\n done: false\n },\n {\n title: 'Assign populations',\n done: false\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...generalInformation.props,\n type: 'form'\n },\n nextStep: {\n label: 'Next Step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-general-settings-edit.js"}
@@ -25,7 +25,7 @@ export default {
25
25
  done: false
26
26
  }],
27
27
  summary: wizardSummary.props,
28
- content: _extends({}, populationsForm.props, {
28
+ content: _extends(_extends({}, populationsForm.props), {}, {
29
29
  type: 'populations'
30
30
  }),
31
31
  previousStep: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-populations-create.js"],"names":["wizardSummary","populationsForm","props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","content","type","previousStep","label","nextStep"],"mappings":";;AAAA;AACA,OAAOA,aAAP,MAA0B,kEAA1B;AACA,OAAOC,eAAP,MAA4B,iEAA5B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,wBADK;AAEZC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AAFH,KAFT;AAMLC,IAAAA,KAAK,EAAE,CACL;AACEJ,MAAAA,KAAK,EAAE,sBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KADK,EAKL;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KALK,EASL;AACEL,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KATK,EAcL;AACEN,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEZ,aAAa,CAACE,KAzBlB;AA0BLW,IAAAA,OAAO,eACFZ,eAAe,CAACC,KADd;AAELY,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,eADK;AAEZV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFH,KA9BT;AAkCLS,IAAAA,QAAQ,EAAE;AACRH,MAAAA,IAAI,EAAE,MADE;AAERE,MAAAA,KAAK,EAAE,WAFC;AAGRV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AAlCL;AADM,CAAf","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport populationsForm from '../../../search-and-chips-results/test/fixtures/sorted-selected';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Create custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: true\n },\n {\n title: 'Translations',\n done: true\n },\n {\n title: 'Assign populations',\n done: false,\n current: true\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...populationsForm.props,\n type: 'populations'\n },\n previousStep: {\n label: 'Previous Step',\n onClick: () => console.log('Previous Step')\n },\n nextStep: {\n type: 'next',\n label: 'Next Step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-populations-create.js"}
1
+ {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-populations-create.js"],"names":["wizardSummary","populationsForm","props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","content","type","previousStep","label","nextStep"],"mappings":";;AAAA;AACA,OAAOA,aAAP,MAA0B,kEAA1B;AACA,OAAOC,eAAP,MAA4B,iEAA5B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,wBADK;AAEZC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AAFH,KAFT;AAMLC,IAAAA,KAAK,EAAE,CACL;AACEJ,MAAAA,KAAK,EAAE,sBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KADK,EAKL;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KALK,EASL;AACEL,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KATK,EAcL;AACEN,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEZ,aAAa,CAACE,KAzBlB;AA0BLW,IAAAA,OAAO,wBACFZ,eAAe,CAACC,KADd;AAELY,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,eADK;AAEZV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFH,KA9BT;AAkCLS,IAAAA,QAAQ,EAAE;AACRH,MAAAA,IAAI,EAAE,MADE;AAERE,MAAAA,KAAK,EAAE,WAFC;AAGRV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AAlCL;AADM,CAAf","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport populationsForm from '../../../search-and-chips-results/test/fixtures/sorted-selected';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Create custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: true\n },\n {\n title: 'Translations',\n done: true\n },\n {\n title: 'Assign populations',\n done: false,\n current: true\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...populationsForm.props,\n type: 'populations'\n },\n previousStep: {\n label: 'Previous Step',\n onClick: () => console.log('Previous Step')\n },\n nextStep: {\n type: 'next',\n label: 'Next Step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-populations-create.js"}
@@ -25,7 +25,7 @@ export default {
25
25
  done: false
26
26
  }],
27
27
  summary: wizardSummary.props,
28
- content: _extends({}, translateForm.props, {
28
+ content: _extends(_extends({}, translateForm.props), {}, {
29
29
  type: 'translate'
30
30
  }),
31
31
  previousStep: {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-translate-edit.js"],"names":["wizardSummary","translateForm","props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","content","type","previousStep","label","nextStep"],"mappings":";;AAAA;AACA,OAAOA,aAAP,MAA0B,kEAA1B;AACA,OAAOC,aAAP,MAA0B,oDAA1B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,sBADK;AAEZC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AAFH,KAFT;AAMLC,IAAAA,KAAK,EAAE,CACL;AACEJ,MAAAA,KAAK,EAAE,sBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KADK,EAKL;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KALK,EAUL;AACEN,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAVK,EAcL;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEZ,aAAa,CAACE,KAzBlB;AA0BLW,IAAAA,OAAO,eACFZ,aAAa,CAACC,KADZ;AAELY,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,eADK;AAEZV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFH,KA9BT;AAkCLS,IAAAA,QAAQ,EAAE;AACRH,MAAAA,IAAI,EAAE,MADE;AAERE,MAAAA,KAAK,EAAE,WAFC;AAGRV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AAlCL;AADM,CAAf","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport translateForm from '../../../content-translation/test/fixtures/default';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Edit custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: true\n },\n {\n title: 'Translations',\n done: false,\n current: true\n },\n {\n title: 'Assign populations',\n done: false\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...translateForm.props,\n type: 'translate'\n },\n previousStep: {\n label: 'Previous Step',\n onClick: () => console.log('Previous Step')\n },\n nextStep: {\n type: 'next',\n label: 'Next Step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-translate-edit.js"}
1
+ {"version":3,"sources":["../../../../../src/organism/wizard-contents/test/fixtures/playlist-translate-edit.js"],"names":["wizardSummary","translateForm","props","isLoading","wizardHeader","title","onClick","console","log","steps","done","current","summary","content","type","previousStep","label","nextStep"],"mappings":";;AAAA;AACA,OAAOA,aAAP,MAA0B,kEAA1B;AACA,OAAOC,aAAP,MAA0B,oDAA1B;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,KADN;AAELC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,sBADK;AAEZC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AAFH,KAFT;AAMLC,IAAAA,KAAK,EAAE,CACL;AACEJ,MAAAA,KAAK,EAAE,sBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KADK,EAKL;AACEL,MAAAA,KAAK,EAAE,cADT;AAEEK,MAAAA,IAAI,EAAE,KAFR;AAGEC,MAAAA,OAAO,EAAE;AAHX,KALK,EAUL;AACEN,MAAAA,KAAK,EAAE,oBADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAVK,EAcL;AACEL,MAAAA,KAAK,EAAE,aADT;AAEEK,MAAAA,IAAI,EAAE;AAFR,KAdK,CANF;AAyBLE,IAAAA,OAAO,EAAEZ,aAAa,CAACE,KAzBlB;AA0BLW,IAAAA,OAAO,wBACFZ,aAAa,CAACC,KADZ;AAELY,MAAAA,IAAI,EAAE;AAFD,MA1BF;AA8BLC,IAAAA,YAAY,EAAE;AACZC,MAAAA,KAAK,EAAE,eADK;AAEZV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFH,KA9BT;AAkCLS,IAAAA,QAAQ,EAAE;AACRH,MAAAA,IAAI,EAAE,MADE;AAERE,MAAAA,KAAK,EAAE,WAFC;AAGRV,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,WAAZ;AAHP;AAlCL;AADM,CAAf","sourcesContent":["/* eslint-disable no-console */\nimport wizardSummary from '../../../../molecule/wizard-summary/test/fixtures/three-sections';\nimport translateForm from '../../../content-translation/test/fixtures/default';\n\nexport default {\n props: {\n isLoading: false,\n wizardHeader: {\n title: 'Edit custom playlist',\n onClick: () => console.log('Close')\n },\n steps: [\n {\n title: 'General Informations',\n done: true\n },\n {\n title: 'Translations',\n done: false,\n current: true\n },\n {\n title: 'Assign populations',\n done: false\n },\n {\n title: 'Add courses',\n done: false\n }\n ],\n summary: wizardSummary.props,\n content: {\n ...translateForm.props,\n type: 'translate'\n },\n previousStep: {\n label: 'Previous Step',\n onClick: () => console.log('Previous Step')\n },\n nextStep: {\n type: 'next',\n label: 'Next Step',\n onClick: () => console.log('Next Step')\n }\n }\n};\n"],"file":"playlist-translate-edit.js"}
@@ -137,7 +137,7 @@ Progression.propTypes = process.env.NODE_ENV !== "production" ? {
137
137
  }).isRequired,
138
138
  engines: PropTypes.arrayOf(PropTypes.shape(EngineStars.propTypes)),
139
139
  loading: PropTypes.bool.isRequired,
140
- progressions: PropTypes.arrayOf(PropTypes.shape(_extends({}, ProgressionItem.propTypes, {
140
+ progressions: PropTypes.arrayOf(PropTypes.shape(_extends(_extends({}, ProgressionItem.propTypes), {}, {
141
141
  ref: PropTypes.string.isRequired
142
142
  }))),
143
143
  themeFilter: PropTypes.shape({
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/template/activity/index.js"],"names":["React","PropTypes","classnames","Provider","Button","Select","Loader","innerHTML","ProgressionItem","EngineStars","StarsSummary","style","Progression","Component","constructor","props","context","e","recommendation","stopPropagation","preventDefault","onClick","themeFilter","onChange","handleClick","bind","handleSelectTheme","render","mainTitle","mainSubtitle","progressions","total","engines","loading","skin","primary","loader","allProgressions","map","progression","ref","coreProgression","core","themeSelect","options","selectBorder","select","recommendationSection","recommendationWrapper","title","subtitle","course","__html","courseTitle","cta","backgroundColor","default","headerProgression","wrapperCta","wrapperProgression","childContextTypes","propTypes","string","isRequired","shape","label","stars","number","arrayOf","bool","func"],"mappings":";;;;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,QAAP,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omit, isEmpty} from 'lodash/fp';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport Provider from '../../atom/provider';\nimport Button from '../../atom/button';\nimport Select from '../../atom/select';\nimport Loader from '../../atom/loader';\nimport {innerHTML} from '../../atom/label/style.css';\nimport ProgressionItem from './progression-item';\nimport EngineStars from './engine-stars';\nimport StarsSummary from './stars-summary';\nimport style from './style.css';\n\nclass Progression extends React.Component {\n static propTypes = {\n mainTitle: PropTypes.string.isRequired,\n mainSubtitle: PropTypes.string.isRequired,\n total: PropTypes.shape({\n label: PropTypes.string.isRequired,\n stars: PropTypes.number.isRequired\n }).isRequired,\n engines: PropTypes.arrayOf(PropTypes.shape(EngineStars.propTypes)),\n loading: PropTypes.bool.isRequired,\n progressions: PropTypes.arrayOf(\n PropTypes.shape({...ProgressionItem.propTypes, ref: PropTypes.string.isRequired})\n ),\n themeFilter: PropTypes.shape({\n options: Select.propTypes.options.isRequired,\n onChange: Select.propTypes.onChange\n }),\n recommendation: PropTypes.shape({\n cta: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string.isRequired,\n courseTitle: PropTypes.string.isRequired,\n onClick: PropTypes.func\n })\n };\n\n static contextTypes = {\n skin: Provider.childContextTypes.skin\n };\n\n constructor(props, context) {\n super(props, context);\n this.handleClick = this.handleClick.bind(this);\n this.handleSelectTheme = this.handleSelectTheme.bind(this);\n }\n\n handleClick = e => {\n const {recommendation} = this.props;\n e.stopPropagation();\n e.preventDefault();\n const {onClick} = recommendation;\n onClick && onClick(e);\n };\n\n handleSelectTheme = e => {\n const {\n themeFilter: {onChange}\n } = this.props;\n onChange && onChange(e);\n };\n\n render() {\n const {\n mainTitle,\n mainSubtitle,\n recommendation = {},\n progressions = [],\n total,\n engines = [],\n themeFilter = {},\n loading\n } = this.props;\n const {skin} = this.context;\n\n const primary = get('common.primary', skin);\n const loader = loading ? (\n <div className={style.loader}>\n <Loader />\n </div>\n ) : null;\n const allProgressions = progressions.map(progression => (\n <ProgressionItem {...omit(['ref'], progression)} key={progression.ref} />\n ));\n\n const coreProgression = (\n <div data-name=\"activityCore\" className={style.core}>\n {allProgressions}\n </div>\n );\n const themeSelect = !isEmpty(themeFilter.options) ? (\n <Select\n borderClassName={style.selectBorder}\n className={style.select}\n theme=\"thematiques\"\n options={themeFilter.options}\n onChange={this.handleSelectTheme}\n />\n ) : null;\n const recommendationSection = !isEmpty(recommendation) ? (\n <div className={style.recommendationWrapper}>\n <p className={style.recommendationSection}>{recommendation.title} </p>\n <p className={style.recommendationSection}>\n <span>{recommendation.subtitle} </span>\n <span\n className={classnames(style.course, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: recommendation.courseTitle}}\n />\n </p>\n <Button\n type=\"link\"\n onClick={this.handleClick}\n submitValue={recommendation.cta}\n style={{\n backgroundColor: primary\n }}\n className={style.cta}\n />\n </div>\n ) : null;\n return (\n <div className={style.default}>\n <div data-name=\"activity-header\">\n <div className={style.mainTitle}>\n <span>{mainTitle}</span> {mainSubtitle}\n </div>\n <div className={style.headerProgression}>\n <div className={style.wrapperCta}>\n {themeSelect}\n {recommendationSection}\n </div>\n <StarsSummary engines={engines} total={total} />\n </div>\n </div>\n <div className={style.wrapperProgression} data-name=\"activityList\">\n {coreProgression}\n {loader}\n </div>\n </div>\n );\n }\n}\n\nexport default Progression;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/template/activity/index.js"],"names":["React","PropTypes","classnames","Provider","Button","Select","Loader","innerHTML","ProgressionItem","EngineStars","StarsSummary","style","Progression","Component","constructor","props","context","e","recommendation","stopPropagation","preventDefault","onClick","themeFilter","onChange","handleClick","bind","handleSelectTheme","render","mainTitle","mainSubtitle","progressions","total","engines","loading","skin","primary","loader","allProgressions","map","progression","ref","coreProgression","core","themeSelect","options","selectBorder","select","recommendationSection","recommendationWrapper","title","subtitle","course","__html","courseTitle","cta","backgroundColor","default","headerProgression","wrapperCta","wrapperProgression","childContextTypes","propTypes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AAAA,WAAW,EAAEpD,SAAS,CAAC6D,MAAV,CAAiBC,UAJA;AAK9B1C,IAAAA,OAAO,EAAEpB,SAAS,CAACqE;AALW,GAAhB;AAhBC,C;AAoIrB,eAAe1D,WAAf","sourcesContent":["import React from 'react';\nimport {get, omit, isEmpty} from 'lodash/fp';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport Provider from '../../atom/provider';\nimport Button from '../../atom/button';\nimport Select from '../../atom/select';\nimport Loader from '../../atom/loader';\nimport {innerHTML} from '../../atom/label/style.css';\nimport ProgressionItem from './progression-item';\nimport EngineStars from './engine-stars';\nimport StarsSummary from './stars-summary';\nimport style from './style.css';\n\nclass Progression extends React.Component {\n static propTypes = {\n mainTitle: PropTypes.string.isRequired,\n mainSubtitle: PropTypes.string.isRequired,\n total: PropTypes.shape({\n label: PropTypes.string.isRequired,\n stars: PropTypes.number.isRequired\n }).isRequired,\n engines: PropTypes.arrayOf(PropTypes.shape(EngineStars.propTypes)),\n loading: PropTypes.bool.isRequired,\n progressions: PropTypes.arrayOf(\n PropTypes.shape({...ProgressionItem.propTypes, ref: PropTypes.string.isRequired})\n ),\n themeFilter: PropTypes.shape({\n options: Select.propTypes.options.isRequired,\n onChange: Select.propTypes.onChange\n }),\n recommendation: PropTypes.shape({\n cta: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string.isRequired,\n courseTitle: PropTypes.string.isRequired,\n onClick: PropTypes.func\n })\n };\n\n static contextTypes = {\n skin: Provider.childContextTypes.skin\n };\n\n constructor(props, context) {\n super(props, context);\n this.handleClick = this.handleClick.bind(this);\n this.handleSelectTheme = this.handleSelectTheme.bind(this);\n }\n\n handleClick = e => {\n const {recommendation} = this.props;\n e.stopPropagation();\n e.preventDefault();\n const {onClick} = recommendation;\n onClick && onClick(e);\n };\n\n handleSelectTheme = e => {\n const {\n themeFilter: {onChange}\n } = this.props;\n onChange && onChange(e);\n };\n\n render() {\n const {\n mainTitle,\n mainSubtitle,\n recommendation = {},\n progressions = [],\n total,\n engines = [],\n themeFilter = {},\n loading\n } = this.props;\n const {skin} = this.context;\n\n const primary = get('common.primary', skin);\n const loader = loading ? (\n <div className={style.loader}>\n <Loader />\n </div>\n ) : null;\n const allProgressions = progressions.map(progression => (\n <ProgressionItem {...omit(['ref'], progression)} key={progression.ref} />\n ));\n\n const coreProgression = (\n <div data-name=\"activityCore\" className={style.core}>\n {allProgressions}\n </div>\n );\n const themeSelect = !isEmpty(themeFilter.options) ? (\n <Select\n borderClassName={style.selectBorder}\n className={style.select}\n theme=\"thematiques\"\n options={themeFilter.options}\n onChange={this.handleSelectTheme}\n />\n ) : null;\n const recommendationSection = !isEmpty(recommendation) ? (\n <div className={style.recommendationWrapper}>\n <p className={style.recommendationSection}>{recommendation.title} </p>\n <p className={style.recommendationSection}>\n <span>{recommendation.subtitle} </span>\n <span\n className={classnames(style.course, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: recommendation.courseTitle}}\n />\n </p>\n <Button\n type=\"link\"\n onClick={this.handleClick}\n submitValue={recommendation.cta}\n style={{\n backgroundColor: primary\n }}\n className={style.cta}\n />\n </div>\n ) : null;\n return (\n <div className={style.default}>\n <div data-name=\"activity-header\">\n <div className={style.mainTitle}>\n <span>{mainTitle}</span> {mainSubtitle}\n </div>\n <div className={style.headerProgression}>\n <div className={style.wrapperCta}>\n {themeSelect}\n {recommendationSection}\n </div>\n <StarsSummary engines={engines} total={total} />\n </div>\n </div>\n <div className={style.wrapperProgression} data-name=\"activityList\">\n {coreProgression}\n {loader}\n </div>\n </div>\n );\n }\n}\n\nexport default Progression;\n"],"file":"index.js"}
@@ -30,7 +30,7 @@ test('should call the onClick function with click on cta', t => {
30
30
  stopPropagation: () => t.pass()
31
31
  };
32
32
 
33
- const props = _extends({}, defaultFixture.props.progressions[0], {
33
+ const props = _extends(_extends({}, defaultFixture.props.progressions[0]), {}, {
34
34
  onClick: e => t.is(e, clickEvent)
35
35
  });
36
36
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/template/activity/test/progression-item-test.js"],"names":["browserEnv","test","React","shallow","configure","Adapter","Link","ProgressionItem","defaultFixture","adapter","Wrapper","props","skin","dark","primary","white","t","plan","clickEvent","preventDefault","pass","stopPropagation","progressions","onClick","e","is","wrapper","find","first","simulate","element","length"],"mappings":";;;;AAAA,OAAOA,UAAP,MAAuB,aAAvB;AACA,OAAOC,IAAP,MAAiB,KAAjB;AACA,OAAOC,KAAP,MAAkB,OAAlB;AAEA,SAAQC,OAAR,EAAiBC,SAAjB,QAAiC,QAAjC;AACA,OAAOC,OAAP,MAAoB,yBAApB;AACA,OAAOC,IAAP,MAAiB,oBAAjB;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAR,UAAU;AACVI,SAAS,CAAC;AAACK,EAAAA,OAAO,EAAE,IAAIJ,OAAJ;AAAV,CAAD,CAAT;;AAEA,MAAMK,OAAO,GAAGC,KAAK,IACnBJ,eAAe,CAACI,KAAD,EAAQ;AACrBC,EAAAA,IAAI,EAAE;AACJC,IAAAA,IAAI,EAAE,OADF;AAEJC,IAAAA,OAAO,EAAE,MAFL;AAGJC,IAAAA,KAAK,EAAE;AAHH;AADe,CAAR,CADjB;;AASAd,IAAI,CAAC,oDAAD,EAAuDe,CAAC,IAAI;AAC9DA,EAAAA,CAAC,CAACC,IAAF,CAAO,CAAP;AAEA,QAAMC,UAAU,GAAG;AAACC,IAAAA,cAAc,EAAE,MAAMH,CAAC,CAACI,IAAF,EAAvB;AAAiCC,IAAAA,eAAe,EAAE,MAAML,CAAC,CAACI,IAAF;AAAxD,GAAnB;;AACA,QAAMT,KAAK,gBAAOH,cAAc,CAACG,KAAf,CAAqBW,YAArB,CAAkC,CAAlC,CAAP;AAA6CC,IAAAA,OAAO,EAAEC,CAAC,IAAIR,CAAC,CAACS,EAAF,CAAKD,CAAL,EAAQN,UAAR;AAA3D,IAAX;;AACA,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\nimport {omit} from 'lodash/fp';\nimport {shallow, configure} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport Link from '../../../atom/link';\nimport ProgressionItem from '../progression-item';\nimport defaultFixture from './fixtures/default';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\nconst Wrapper = props =>\n ProgressionItem(props, {\n skin: {\n dark: 'black',\n primary: 'blue',\n white: 'white'\n }\n });\n\ntest('should call the onClick function with click on cta', t => {\n t.plan(3);\n\n const clickEvent = {preventDefault: () => t.pass(), stopPropagation: () => t.pass()};\n const props = {...defaultFixture.props.progressions[0], onClick: e => t.is(e, clickEvent)};\n const wrapper = shallow(<Wrapper {...props} />);\n\n wrapper.find(Link).first().simulate('click', clickEvent);\n});\n\ntest('should not contain a link if progressionItem is disabled', t => {\n t.plan(1);\n\n const props = {...defaultFixture.props.progressions[3]};\n const wrapper = shallow(<Wrapper {...props} />);\n\n const element = wrapper.find(Link);\n t.is(element.length, 0);\n});\n\ntest('should not crash if onClick is not sent', t => {\n t.plan(2);\n\n const props = omit(['onClick'], defaultFixture.props.progressions[1]);\n const wrapper = shallow(<Wrapper {...props} />);\n\n wrapper\n .find(Link)\n .first()\n .simulate('click', {\n preventDefault: () => {\n t.pass();\n },\n stopPropagation: () => {\n t.pass();\n }\n });\n});\n"],"file":"progression-item-test.js"}
1
+ {"version":3,"sources":["../../../../src/template/activity/test/progression-item-test.js"],"names":["browserEnv","test","React","shallow","configure","Adapter","Link","ProgressionItem","defaultFixture","adapter","Wrapper","props","skin","dark","primary","white","t","plan","clickEvent","preventDefault","pass","stopPropagation","progressions","onClick","e","is","wrapper","find","first","simulate","element","length"],"mappings":";;;;AAAA,OAAOA,UAAP,MAAuB,aAAvB;AACA,OAAOC,IAAP,MAAiB,KAAjB;AACA,OAAOC,KAAP,MAAkB,OAAlB;AAEA,SAAQC,OAAR,EAAiBC,SAAjB,QAAiC,QAAjC;AACA,OAAOC,OAAP,MAAoB,yBAApB;AACA,OAAOC,IAAP,M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OAAD,EAAaQ,KAAb,CAAD,CAAvB;AAEA,QAAMmB,OAAO,GAAGJ,OAAO,CAACC,IAAR,CAAarB,IAAb,CAAhB;AACAU,EAAAA,CAAC,CAACS,EAAF,CAAKK,OAAO,CAACC,MAAb,EAAqB,CAArB;AACD,CARG,CAAJ;AAUA9B,IAAI,CAAC,yCAAD,EAA4Ce,CAAC,IAAI;AACnDA,EAAAA,CAAC,CAACC,IAAF,CAAO,CAAP;;AAEA,QAAMN,KAAK,GAAG,MAAK,CAAC,SAAD,CAAL,EAAkBH,cAAc,CAACG,KAAf,CAAqBW,YAArB,CAAkC,CAAlC,CAAlB,CAAd;;AACA,QAAMI,OAAO,GAAGvB,OAAO,eAAC,oBAAC,OAAD,EAAaQ,KAAb,CAAD,CAAvB;AAEAe,EAAAA,OAAO,CACJC,IADH,CACQrB,IADR,EAEGsB,KAFH,GAGGC,QAHH,CAGY,OAHZ,EAGqB;AACjBV,IAAAA,cAAc,EAAE,MAAM;AACpBH,MAAAA,CAAC,CAACI,IAAF;AACD,KAHgB;AAIjBC,IAAAA,eAAe,EAAE,MAAM;AACrBL,MAAAA,CAAC,CAACI,IAAF;AACD;AANgB,GAHrB;AAWD,CAjBG,CAAJ","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {omit} from 'lodash/fp';\nimport {shallow, configure} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport Link from '../../../atom/link';\nimport ProgressionItem from '../progression-item';\nimport defaultFixture from './fixtures/default';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\nconst Wrapper = props =>\n ProgressionItem(props, {\n skin: {\n dark: 'black',\n primary: 'blue',\n white: 'white'\n }\n });\n\ntest('should call the onClick function with click on cta', t => {\n t.plan(3);\n\n const clickEvent = {preventDefault: () => t.pass(), stopPropagation: () => t.pass()};\n const props = {...defaultFixture.props.progressions[0], onClick: e => t.is(e, clickEvent)};\n const wrapper = shallow(<Wrapper {...props} />);\n\n wrapper.find(Link).first().simulate('click', clickEvent);\n});\n\ntest('should not contain a link if progressionItem is disabled', t => {\n t.plan(1);\n\n const props = {...defaultFixture.props.progressions[3]};\n const wrapper = shallow(<Wrapper {...props} />);\n\n const element = wrapper.find(Link);\n t.is(element.length, 0);\n});\n\ntest('should not crash if onClick is not sent', t => {\n t.plan(2);\n\n const props = omit(['onClick'], defaultFixture.props.progressions[1]);\n const wrapper = shallow(<Wrapper {...props} />);\n\n wrapper\n .find(Link)\n .first()\n .simulate('click', {\n preventDefault: () => {\n t.pass();\n },\n stopPropagation: () => {\n t.pass();\n }\n });\n});\n"],"file":"progression-item-test.js"}
@@ -103,7 +103,7 @@ class Button extends React.Component {
103
103
  onClick: onClick,
104
104
  onMouseEnter: this.handleMouseEnter,
105
105
  onMouseLeave: this.handleMouseLeave,
106
- style: _extends({}, hoverStyle, selectedColor)
106
+ style: _extends(_extends({}, hoverStyle), selectedColor)
107
107
  }, /*#__PURE__*/React.createElement("div", {
108
108
  className: highlighted ? style.highlighted : style.logo
109
109
  }, notifyView, /*#__PURE__*/React.createElement(IconType, {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/app-player/player/slides/footer/index.js"],"names":["React","PropTypes","classnames","NovaCompositionCoorpacademyFilterVideo2","MediaIcon","NovaCompositionCoorpacademyClue","ClueIcon","NovaCompositionCoorpacademyMap","ContextIcon","NovaCompositionCoorpacademyChat","CoachIcon","NovaCompositionCoorpacademyListBullets3","QuestionIcon","Provider","style","TABS","question","icon","media","clue","coach","className","context","Button","Component","constructor","props","onMouseEnter","setState","prevState","hovered","onMouseLeave","state","render","skin","grey","primaryColor","disabled","notify","selected","highlighted","title","type","onClick","colorIcon","selectedColor","borderTopColor","hoverStyle","IconType","button","notifyView","handleMouseEnter","handleMouseLeave","logo","color","childContextTypes","propTypes","bool","string","oneOf","isRequired","func","SlidesFooter","buttons","length","Buttons","map","key","wrapper","arrayOf","shape"],"mappings":";;;;;;;AAAA,OAAOA,KAAP,M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,EAAAA,OAAO,EAAE1C,SAAS,CAAC4D;AATF,C;;AAoGrB,MAAMC,YAAY,GAAGpC,KAAK,IAAI;AAC5B,QAAM;AAACqC,IAAAA,OAAO,GAAG;AAAX,MAAiBrC,KAAvB;AACA,MAAIqC,OAAO,CAACC,MAAR,KAAmB,CAAvB,EAA0B,OAAO,IAAP;AAE1B,QAAMC,OAAO,GAAGF,OAAO,CAACG,GAAR,CAAY,CAACjB,MAAD,EAASkB,GAAT,KAAiB;AAC3C,wBAAO,oBAAC,MAAD,eAAYlB,MAAZ;AAAoB,MAAA,GAAG,EAAEkB;AAAzB,OAAP;AACD,GAFe,CAAhB;AAIA,sBACE;AAAK,iBAAU,cAAf;AAA8B,IAAA,SAAS,EAAErD,KAAK,CAACsD;AAA/C,KACGH,OADH,CADF;AAKD,CAbD;;AAeAH,YAAY,CAACN,SAAb,2CAAyB;AACvBO,EAAAA,OAAO,EAAE9D,SAAS,CAACoE,OAAV,CACPpE,SAAS,CAACqE,KAAV,CAAgB;AACdjC,IAAAA,QAAQ,EAAEpC,SAAS,CAACwD,IADN;AAEdnB,IAAAA,MAAM,EAAErC,SAAS,CAACwD,IAFJ;AAGdlB,IAAAA,QAAQ,EAAEtC,SAAS,CAACwD,IAHN;AAIdjB,IAAAA,WAAW,EAAEvC,SAAS,CAACwD,IAJT;AAKdhB,IAAAA,KAAK,EAAExC,SAAS,CAACyD,MALH;AAMdhB,IAAAA,IAAI,EAAEzC,SAAS,CAAC0D,KAAV,CAAgB,MAAK5C,IAAL,CAAhB,EAA4B6C,UANpB;AAOdjC,IAAAA,YAAY,EAAE1B,SAAS,CAAC4D,IAPV;AAQd9B,IAAAA,YAAY,EAAE9B,SAAS,CAAC4D,IARV;AASdlB,IAAAA,OAAO,EAAE1C,SAAS,CAAC4D;AATL,GAAhB,CADO;AADc,CAAzB;AAgBA,eAAeC,YAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {get, keys} from 'lodash/fp';\nimport {\n NovaCompositionCoorpacademyFilterVideo2 as MediaIcon,\n NovaCompositionCoorpacademyClue as ClueIcon,\n NovaCompositionCoorpacademyMap as ContextIcon,\n NovaCompositionCoorpacademyChat as CoachIcon,\n NovaCompositionCoorpacademyListBullets3 as QuestionIcon\n} from '@coorpacademy/nova-icons';\nimport Provider from '../../../../../atom/provider';\nimport style from './style.css';\n\nconst TABS = {\n question: {\n icon: QuestionIcon\n },\n media: {\n icon: MediaIcon\n },\n clue: {\n icon: ClueIcon\n },\n coach: {\n icon: CoachIcon,\n className: style.coach\n },\n context: {\n icon: ContextIcon\n }\n};\n\nclass Button extends React.Component {\n static propTypes = {\n disabled: PropTypes.bool,\n notify: PropTypes.bool,\n selected: PropTypes.bool,\n highlighted: PropTypes.bool,\n title: PropTypes.string,\n type: PropTypes.oneOf(keys(TABS)).isRequired,\n onMouseEnter: PropTypes.func,\n onMouseLeave: PropTypes.func,\n onClick: PropTypes.func\n };\n\n static contextTypes = {\n skin: Provider.childContextTypes.skin\n };\n\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n hovered: false\n };\n }\n\n handleMouseEnter = () => {\n const {onMouseEnter} = this.props;\n\n this.setState(prevState => ({\n hovered: true\n }));\n onMouseEnter && onMouseEnter();\n };\n\n handleMouseLeave = () => {\n const {onMouseLeave} = this.props;\n this.setState(prevState => ({\n hovered: false\n }));\n\n onMouseLeave && onMouseLeave();\n };\n\n render() {\n const {skin} = this.context;\n const {hovered} = this.state;\n const grey = get('common.grey', skin);\n const primaryColor = get('common.primary', skin);\n const {disabled, notify, selected, highlighted, title, type, onClick} = this.props;\n const colorIcon = selected ? primaryColor : grey;\n const selectedColor = (selected && {borderTopColor: primaryColor}) || {};\n\n const hoverStyle =\n !disabled && hovered\n ? {\n borderTopColor: primaryColor\n }\n : {};\n\n const IconType = get([type, 'icon'], TABS);\n const className = classnames(\n style.button,\n get([type, 'className'], TABS),\n selected && style.selected,\n disabled && style.disabled\n );\n\n const notifyView = notify ? <span className={style.notify} /> : null;\n return (\n <div\n data-name={`button`}\n data-type={type}\n data-selected={selected}\n data-disabled={disabled}\n className={className}\n onClick={onClick}\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n style={{\n ...hoverStyle,\n ...selectedColor\n }}\n >\n <div className={highlighted ? style.highlighted : style.logo}>\n {notifyView}\n <IconType\n style={{\n color: colorIcon\n }}\n color={colorIcon}\n height={30}\n />\n </div>\n <div data-name=\"title\" className={style.title}>\n {title}\n </div>\n </div>\n );\n }\n}\n\nconst SlidesFooter = props => {\n const {buttons = []} = props;\n if (buttons.length === 0) return null;\n\n const Buttons = buttons.map((button, key) => {\n return <Button {...button} key={key} />;\n });\n\n return (\n <div data-name=\"slidesFooter\" className={style.wrapper}>\n {Buttons}\n </div>\n );\n};\n\nSlidesFooter.propTypes = {\n buttons: PropTypes.arrayOf(\n PropTypes.shape({\n disabled: PropTypes.bool,\n notify: PropTypes.bool,\n selected: PropTypes.bool,\n highlighted: PropTypes.bool,\n title: PropTypes.string,\n type: PropTypes.oneOf(keys(TABS)).isRequired,\n onMouseEnter: PropTypes.func,\n onMouseLeave: PropTypes.func,\n onClick: PropTypes.func\n })\n )\n};\n\nexport default SlidesFooter;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/app-player/player/slides/footer/index.js"],"names":["React","PropTypes","classnames","NovaCompositionCoorpacademyFilterVideo2","MediaIcon","NovaCompositionCoorpacademyClue","ClueIcon","NovaCompositionCoorpacademyMap","ContextIcon","NovaCompositionCoorpacademyChat","CoachIcon","NovaCompositionCoorpacademyListBullets3","QuestionIcon","Provider","style","TABS","question","icon","media","clue","coach","className","context","Button","Component","constructor","props","onMouseEnter","setState","prevState","hovered","onMouseLeave","state","render","skin","grey","primaryColor","disabled","notify","selected","highlighted","title","type","onClick","colorIcon","selectedColor","borderTopColor","hoverStyle","IconType","button","notifyView","handleMouseEnter","handleMouseLeave","logo","color","childContextTypes","propTypes","bool","string","oneOf","is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,eAAeC,YAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {get, keys} from 'lodash/fp';\nimport {\n NovaCompositionCoorpacademyFilterVideo2 as MediaIcon,\n NovaCompositionCoorpacademyClue as ClueIcon,\n NovaCompositionCoorpacademyMap as ContextIcon,\n NovaCompositionCoorpacademyChat as CoachIcon,\n NovaCompositionCoorpacademyListBullets3 as QuestionIcon\n} from '@coorpacademy/nova-icons';\nimport Provider from '../../../../../atom/provider';\nimport style from './style.css';\n\nconst TABS = {\n question: {\n icon: QuestionIcon\n },\n media: {\n icon: MediaIcon\n },\n clue: {\n icon: ClueIcon\n },\n coach: {\n icon: CoachIcon,\n className: style.coach\n },\n context: {\n icon: ContextIcon\n }\n};\n\nclass Button extends React.Component {\n static propTypes = {\n disabled: PropTypes.bool,\n notify: PropTypes.bool,\n selected: PropTypes.bool,\n highlighted: PropTypes.bool,\n title: PropTypes.string,\n type: PropTypes.oneOf(keys(TABS)).isRequired,\n onMouseEnter: PropTypes.func,\n onMouseLeave: PropTypes.func,\n onClick: PropTypes.func\n };\n\n static contextTypes = {\n skin: Provider.childContextTypes.skin\n };\n\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n hovered: false\n };\n }\n\n handleMouseEnter = () => {\n const {onMouseEnter} = this.props;\n\n this.setState(prevState => ({\n hovered: true\n }));\n onMouseEnter && onMouseEnter();\n };\n\n handleMouseLeave = () => {\n const {onMouseLeave} = this.props;\n this.setState(prevState => ({\n hovered: false\n }));\n\n onMouseLeave && onMouseLeave();\n };\n\n render() {\n const {skin} = this.context;\n const {hovered} = this.state;\n const grey = get('common.grey', skin);\n const primaryColor = get('common.primary', skin);\n const {disabled, notify, selected, highlighted, title, type, onClick} = this.props;\n const colorIcon = selected ? primaryColor : grey;\n const selectedColor = (selected && {borderTopColor: primaryColor}) || {};\n\n const hoverStyle =\n !disabled && hovered\n ? {\n borderTopColor: primaryColor\n }\n : {};\n\n const IconType = get([type, 'icon'], TABS);\n const className = classnames(\n style.button,\n get([type, 'className'], TABS),\n selected && style.selected,\n disabled && style.disabled\n );\n\n const notifyView = notify ? <span className={style.notify} /> : null;\n return (\n <div\n data-name={`button`}\n data-type={type}\n data-selected={selected}\n data-disabled={disabled}\n className={className}\n onClick={onClick}\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n style={{\n ...hoverStyle,\n ...selectedColor\n }}\n >\n <div className={highlighted ? style.highlighted : style.logo}>\n {notifyView}\n <IconType\n style={{\n color: colorIcon\n }}\n color={colorIcon}\n height={30}\n />\n </div>\n <div data-name=\"title\" className={style.title}>\n {title}\n </div>\n </div>\n );\n }\n}\n\nconst SlidesFooter = props => {\n const {buttons = []} = props;\n if (buttons.length === 0) return null;\n\n const Buttons = buttons.map((button, key) => {\n return <Button {...button} key={key} />;\n });\n\n return (\n <div data-name=\"slidesFooter\" className={style.wrapper}>\n {Buttons}\n </div>\n );\n};\n\nSlidesFooter.propTypes = {\n buttons: PropTypes.arrayOf(\n PropTypes.shape({\n disabled: PropTypes.bool,\n notify: PropTypes.bool,\n selected: PropTypes.bool,\n highlighted: PropTypes.bool,\n title: PropTypes.string,\n type: PropTypes.oneOf(keys(TABS)).isRequired,\n onMouseEnter: PropTypes.func,\n onMouseLeave: PropTypes.func,\n onClick: PropTypes.func\n })\n )\n};\n\nexport default SlidesFooter;\n"],"file":"index.js"}
@@ -8,9 +8,6 @@ import _getOr from "lodash/fp/getOr";
8
8
  import _get from "lodash/fp/get";
9
9
  import _find from "lodash/fp/find";
10
10
  import _compact from "lodash/fp/compact";
11
- const _excluded = ["videoId"],
12
- _excluded2 = ["question", "step"],
13
- _excluded3 = ["error"];
14
11
 
15
12
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
16
13
 
@@ -243,11 +240,11 @@ const ContextVideo = props => {
243
240
  const {
244
241
  src
245
242
  } = props;
246
- const videos = src.map(_ref => {
243
+ const videos = src.map((_ref) => {
247
244
  let {
248
245
  videoId
249
246
  } = _ref,
250
- childProps = _objectWithoutPropertiesLoose(_ref, _excluded);
247
+ childProps = _objectWithoutPropertiesLoose(_ref, ["videoId"]);
251
248
 
252
249
  return /*#__PURE__*/React.createElement(VideoPlayer, _extends({}, _omit('id', childProps), {
253
250
  id: videoId,
@@ -279,13 +276,13 @@ const ContextMedia = ({
279
276
  };
280
277
 
281
278
  ContextMedia.propTypes = process.env.NODE_ENV !== "production" ? {
282
- media: PropTypes.oneOfType([PropTypes.shape(_extends({}, ContextImage.propTypes, {
279
+ media: PropTypes.oneOfType([PropTypes.shape(_extends(_extends({}, ContextImage.propTypes), {}, {
283
280
  type: PropTypes.oneOf(['img'])
284
- })), PropTypes.shape(_extends({}, PDF.propTypes, {
281
+ })), PropTypes.shape(_extends(_extends({}, PDF.propTypes), {}, {
285
282
  type: PropTypes.oneOf(['pdf'])
286
- })), PropTypes.shape(_extends({}, Audio.propTypes, {
283
+ })), PropTypes.shape(_extends(_extends({}, Audio.propTypes), {}, {
287
284
  type: PropTypes.oneOf(['audio'])
288
- })), PropTypes.shape(_extends({}, ContextVideo.propTypes, {
285
+ })), PropTypes.shape(_extends(_extends({}, ContextVideo.propTypes), {}, {
289
286
  type: PropTypes.oneOf(['video'])
290
287
  }))])
291
288
  } : {};
@@ -404,18 +401,18 @@ const LoadingLayout = () => /*#__PURE__*/React.createElement("div", {
404
401
  className: style.loading
405
402
  }, /*#__PURE__*/React.createElement(Loader, null));
406
403
 
407
- const LoadedLayout = _ref2 => {
404
+ const LoadedLayout = (_ref2) => {
408
405
  let {
409
406
  question
410
407
  } = _ref2,
411
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
408
+ props = _objectWithoutPropertiesLoose(_ref2, ["question", "step"]);
412
409
 
413
410
  return question ? /*#__PURE__*/React.createElement(ContentLayout, _extends({}, props, {
414
411
  question: question
415
412
  })) : /*#__PURE__*/React.createElement(LoadingLayout, null);
416
413
  };
417
414
 
418
- LoadedLayout.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, ContentLayout.propTypes, {
415
+ LoadedLayout.propTypes = process.env.NODE_ENV !== "production" ? _extends(_extends({}, ContentLayout.propTypes), {}, {
419
416
  question: ContentLayout.propTypes.question
420
417
  }) : {};
421
418
  /*
@@ -434,11 +431,11 @@ ErrorMessage.propTypes = process.env.NODE_ENV !== "production" ? {
434
431
  errorMsg: PropTypes.string
435
432
  } : {};
436
433
 
437
- const Content = _ref3 => {
434
+ const Content = (_ref3) => {
438
435
  let {
439
436
  error
440
437
  } = _ref3,
441
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3);
438
+ props = _objectWithoutPropertiesLoose(_ref3, ["error"]);
442
439
 
443
440
  return error ? /*#__PURE__*/React.createElement(ErrorMessage, props) : /*#__PURE__*/React.createElement(LoadedLayout, props);
444
441
  };