@coorpacademy/components 10.3.26 → 10.3.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1028) 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/cta/test/fixtures/certification.js +1 -1
  9. package/es/atom/cta/test/fixtures/certification.js.map +1 -1
  10. package/es/atom/cta/test/fixtures/disabled.js +1 -1
  11. package/es/atom/cta/test/fixtures/disabled.js.map +1 -1
  12. package/es/atom/cta/test/fixtures/light-small.js +1 -1
  13. package/es/atom/cta/test/fixtures/light-small.js.map +1 -1
  14. package/es/atom/cta/test/fixtures/light.js +1 -1
  15. package/es/atom/cta/test/fixtures/light.js.map +1 -1
  16. package/es/atom/cta/test/fixtures/logout.js +1 -1
  17. package/es/atom/cta/test/fixtures/logout.js.map +1 -1
  18. package/es/atom/cta/test/fixtures/primary-small.js +1 -1
  19. package/es/atom/cta/test/fixtures/primary-small.js.map +1 -1
  20. package/es/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
  21. package/es/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
  22. package/es/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
  23. package/es/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
  24. package/es/atom/cta/test/fixtures/rectangular.js +1 -1
  25. package/es/atom/cta/test/fixtures/rectangular.js.map +1 -1
  26. package/es/atom/cta/test/fixtures/secondary-small.js +1 -1
  27. package/es/atom/cta/test/fixtures/secondary-small.js.map +1 -1
  28. package/es/atom/cta/test/fixtures/secondary.js +1 -1
  29. package/es/atom/cta/test/fixtures/secondary.js.map +1 -1
  30. package/es/atom/drag-and-drop/index.js +1 -1
  31. package/es/atom/drag-and-drop/index.js.map +1 -1
  32. package/es/atom/drag-and-drop/test/fixtures/loading.js +1 -1
  33. package/es/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  34. package/es/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
  35. package/es/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
  36. package/es/atom/image-upload/index.js +1 -1
  37. package/es/atom/image-upload/index.js.map +1 -1
  38. package/es/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
  39. package/es/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
  40. package/es/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
  41. package/es/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
  42. package/es/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
  43. package/es/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
  44. package/es/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
  45. package/es/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
  46. package/es/atom/image-upload/test/fixtures/email.js +1 -1
  47. package/es/atom/image-upload/test/fixtures/email.js.map +1 -1
  48. package/es/atom/image-upload/test/fixtures/mobile.js +1 -1
  49. package/es/atom/image-upload/test/fixtures/mobile.js.map +1 -1
  50. package/es/atom/image-upload/test/fixtures/modified.js +1 -1
  51. package/es/atom/image-upload/test/fixtures/modified.js.map +1 -1
  52. package/es/atom/input-html/index.js.map +1 -1
  53. package/es/atom/input-switch/test/fixtures/cm-right-disabled.js +1 -1
  54. package/es/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -1
  55. package/es/atom/input-switch/test/fixtures/disabled.js +1 -1
  56. package/es/atom/input-switch/test/fixtures/disabled.js.map +1 -1
  57. package/es/atom/input-switch/test/fixtures.js +0 -10
  58. package/es/atom/input-switch/test/fixtures.js.map +1 -1
  59. package/es/atom/link/index.js +2 -3
  60. package/es/atom/link/index.js.map +1 -1
  61. package/es/atom/loader/test/fixtures.js +2 -0
  62. package/es/atom/loader/test/fixtures.js.map +1 -1
  63. package/es/atom/promo-code/index.js.map +1 -1
  64. package/es/atom/provider/index.js.map +1 -1
  65. package/es/atom/provider/test/index.js +1 -1
  66. package/es/atom/provider/test/index.js.map +1 -1
  67. package/es/atom/range/index.js +1 -1
  68. package/es/atom/range/index.js.map +1 -1
  69. package/es/atom/range/test/fixtures/multi.js +1 -1
  70. package/es/atom/range/test/fixtures/multi.js.map +1 -1
  71. package/es/atom/range/test/index.js +9 -9
  72. package/es/atom/range/test/index.js.map +1 -1
  73. package/es/atom/video-upload/index.js +1 -1
  74. package/es/atom/video-upload/index.js.map +1 -1
  75. package/es/atom/video-upload/test/fixtures/loading.js +1 -1
  76. package/es/atom/video-upload/test/fixtures/loading.js.map +1 -1
  77. package/es/atom/video-upload/test/fixtures/modified.js +1 -1
  78. package/es/atom/video-upload/test/fixtures/modified.js.map +1 -1
  79. package/es/hoc/animation-scheduler/index.js +3 -3
  80. package/es/hoc/animation-scheduler/index.js.map +1 -1
  81. package/es/hoc/swapper/index.js +2 -4
  82. package/es/hoc/swapper/index.js.map +1 -1
  83. package/es/hoc/transition/index.js +1 -1
  84. package/es/hoc/transition/index.js.map +1 -1
  85. package/es/molecule/add-to-my-list/index.js +1 -1
  86. package/es/molecule/add-to-my-list/index.js.map +1 -1
  87. package/es/molecule/answer/index.js +2 -3
  88. package/es/molecule/answer/index.js.map +1 -1
  89. package/es/molecule/answer/test/fixtures/audio.js +1 -1
  90. package/es/molecule/answer/test/fixtures/audio.js.map +1 -1
  91. package/es/molecule/answer/test/fixtures/default.js +1 -1
  92. package/es/molecule/answer/test/fixtures/default.js.map +1 -1
  93. package/es/molecule/answer/test/fixtures/drop-down.js +1 -1
  94. package/es/molecule/answer/test/fixtures/drop-down.js.map +1 -1
  95. package/es/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
  96. package/es/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
  97. package/es/molecule/answer/test/fixtures/qcm-drag.js +1 -1
  98. package/es/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
  99. package/es/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
  100. package/es/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
  101. package/es/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
  102. package/es/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
  103. package/es/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
  104. package/es/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
  105. package/es/molecule/answer/test/fixtures/qcm-short.js +1 -1
  106. package/es/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
  107. package/es/molecule/answer/test/fixtures/qcm.js +1 -1
  108. package/es/molecule/answer/test/fixtures/qcm.js.map +1 -1
  109. package/es/molecule/answer/test/fixtures/range.js +1 -1
  110. package/es/molecule/answer/test/fixtures/range.js.map +1 -1
  111. package/es/molecule/answer/test/fixtures/template.js +1 -1
  112. package/es/molecule/answer/test/fixtures/template.js.map +1 -1
  113. package/es/molecule/brand-form-group/index.js +18 -18
  114. package/es/molecule/brand-form-group/index.js.map +1 -1
  115. package/es/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
  116. package/es/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
  117. package/es/molecule/brand-form-group/test/fixtures/animations.js +2 -2
  118. package/es/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
  119. package/es/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
  120. package/es/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
  121. package/es/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
  122. package/es/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
  123. package/es/molecule/brand-form-group/test/fixtures/images.js +3 -3
  124. package/es/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
  125. package/es/molecule/brand-form-group/test/fixtures/slider.js +1 -1
  126. package/es/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
  127. package/es/molecule/card/index.js +1 -1
  128. package/es/molecule/card/index.js.map +1 -1
  129. package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
  130. package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  131. package/es/molecule/card/test/fixtures/adaptiv.js +1 -1
  132. package/es/molecule/card/test/fixtures/adaptiv.js.map +1 -1
  133. package/es/molecule/card/test/fixtures/disabled.js +1 -1
  134. package/es/molecule/card/test/fixtures/disabled.js.map +1 -1
  135. package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
  136. package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  137. package/es/molecule/card-content/test/fixtures/adaptiv.js +1 -1
  138. package/es/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
  139. package/es/molecule/card-content/test/fixtures/disabled.js +1 -1
  140. package/es/molecule/card-content/test/fixtures/disabled.js.map +1 -1
  141. package/es/molecule/card-with-button/index.js.map +1 -1
  142. package/es/molecule/coorp-manager-roles/index.js +1 -1
  143. package/es/molecule/coorp-manager-roles/index.js.map +1 -1
  144. package/es/molecule/dashboard/battle-request-list/index.js +1 -1
  145. package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
  146. package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
  147. package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
  148. package/es/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
  149. package/es/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
  150. package/es/molecule/dashboard/cards-list/test/index.js +1 -1
  151. package/es/molecule/dashboard/cards-list/test/index.js.map +1 -1
  152. package/es/molecule/dashboard/news-list/index.js +1 -1
  153. package/es/molecule/dashboard/news-list/index.js.map +1 -1
  154. package/es/molecule/dashboard/start-battle/index.js +1 -1
  155. package/es/molecule/dashboard/start-battle/index.js.map +1 -1
  156. package/es/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
  157. package/es/molecule/drag-and-drop/index.js +1 -1
  158. package/es/molecule/drag-and-drop/index.js.map +1 -1
  159. package/es/molecule/drag-and-drop/test/fixtures/error.js +1 -1
  160. package/es/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
  161. package/es/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
  162. package/es/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
  163. package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
  164. package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
  165. package/es/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
  166. package/es/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
  167. package/es/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
  168. package/es/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
  169. package/es/molecule/drag-and-drop/test/fixtures/success.js +1 -1
  170. package/es/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
  171. package/es/molecule/drag-and-drop/test/on-click.js +2 -2
  172. package/es/molecule/drag-and-drop/test/on-click.js.map +1 -1
  173. package/es/molecule/drag-and-drop/upload-report.js +1 -1
  174. package/es/molecule/drag-and-drop/upload-report.js.map +1 -1
  175. package/es/molecule/feedback/index.js +1 -1
  176. package/es/molecule/feedback/index.js.map +1 -1
  177. package/es/molecule/filters/test/fixtures/default.js +4 -4
  178. package/es/molecule/filters/test/fixtures/default.js.map +1 -1
  179. package/es/molecule/filters/test/fixtures/filters-list.js +6 -6
  180. package/es/molecule/filters/test/fixtures/filters-list.js.map +1 -1
  181. package/es/molecule/filters/test/fixtures/one.js +2 -2
  182. package/es/molecule/filters/test/fixtures/one.js.map +1 -1
  183. package/es/molecule/filters/test/fixtures/only-radio-group.js +1 -1
  184. package/es/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
  185. package/es/molecule/filters/test/fixtures/only-timer.js +1 -1
  186. package/es/molecule/filters/test/fixtures/only-timer.js.map +1 -1
  187. package/es/molecule/filters/test/fixtures/three.js +3 -3
  188. package/es/molecule/filters/test/fixtures/three.js.map +1 -1
  189. package/es/molecule/filters/test/fixtures/two.js +3 -3
  190. package/es/molecule/filters/test/fixtures/two.js.map +1 -1
  191. package/es/molecule/filters/test/fixtures/zero.js +1 -1
  192. package/es/molecule/filters/test/fixtures/zero.js.map +1 -1
  193. package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
  194. package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
  195. package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
  196. package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
  197. package/es/molecule/hero/test/fixtures/arabic.js +1 -1
  198. package/es/molecule/hero/test/fixtures/arabic.js.map +1 -1
  199. package/es/molecule/hero/test/fixtures/hero.js +1 -1
  200. package/es/molecule/hero/test/fixtures/hero.js.map +1 -1
  201. package/es/molecule/news/test/fixtures/long-description.js +1 -1
  202. package/es/molecule/news/test/fixtures/long-description.js.map +1 -1
  203. package/es/molecule/news/test/fixtures/long-title.js +1 -1
  204. package/es/molecule/news/test/fixtures/long-title.js.map +1 -1
  205. package/es/molecule/news/test/fixtures/small-desciption.js +1 -1
  206. package/es/molecule/news/test/fixtures/small-desciption.js.map +1 -1
  207. package/es/molecule/news/test/fixtures/small-title.js +1 -1
  208. package/es/molecule/news/test/fixtures/small-title.js.map +1 -1
  209. package/es/molecule/popin/index.js +1 -1
  210. package/es/molecule/popin/index.js.map +1 -1
  211. package/es/molecule/progress-bar/index.js +1 -1
  212. package/es/molecule/progress-bar/index.js.map +1 -1
  213. package/es/molecule/questions/drop-down/index.js +1 -1
  214. package/es/molecule/questions/drop-down/index.js.map +1 -1
  215. package/es/molecule/questions/question-range/index.js +2 -3
  216. package/es/molecule/questions/question-range/index.js.map +1 -1
  217. package/es/molecule/questions/template/index.js +2 -2
  218. package/es/molecule/questions/template/index.js.map +1 -1
  219. package/es/molecule/questions/template/test/index.js +1 -1
  220. package/es/molecule/questions/template/test/index.js.map +1 -1
  221. package/es/molecule/quick-access-card/index.js.map +1 -1
  222. package/es/molecule/resource-player/index.js +1 -2
  223. package/es/molecule/resource-player/index.js.map +1 -1
  224. package/es/molecule/select-multiple/index.js +3 -3
  225. package/es/molecule/select-multiple/index.js.map +1 -1
  226. package/es/molecule/select-multiple/test/index.js +2 -2
  227. package/es/molecule/select-multiple/test/index.js.map +1 -1
  228. package/es/molecule/setup-section/index.js +1 -1
  229. package/es/molecule/setup-section/index.js.map +1 -1
  230. package/es/molecule/setup-section/test/fixtures/first.js +1 -1
  231. package/es/molecule/setup-section/test/fixtures/first.js.map +1 -1
  232. package/es/molecule/setup-slide/index.js +8 -8
  233. package/es/molecule/setup-slide/index.js.map +1 -1
  234. package/es/molecule/share/index.js +1 -1
  235. package/es/molecule/share/index.js.map +1 -1
  236. package/es/molecule/vertical-tabs/test/fixtures.js +2 -0
  237. package/es/molecule/vertical-tabs/test/fixtures.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/organism/accordion/coorp-manager/index.js +1 -1
  249. package/es/organism/accordion/coorp-manager/index.js.map +1 -1
  250. package/es/organism/accordion/toggler/index.js +1 -1
  251. package/es/organism/accordion/toggler/index.js.map +1 -1
  252. package/es/organism/accordion/toggler/test/render.js +2 -2
  253. package/es/organism/accordion/toggler/test/render.js.map +1 -1
  254. package/es/organism/brand-form/test/fixtures/sso.js +3 -3
  255. package/es/organism/brand-form/test/fixtures/sso.js.map +1 -1
  256. package/es/organism/content-translation/index.js +2 -2
  257. package/es/organism/content-translation/index.js.map +1 -1
  258. package/es/organism/content-translation/style.css +1 -0
  259. package/es/organism/content-translation/test/fixtures/default.js +2 -2
  260. package/es/organism/content-translation/test/fixtures/default.js.map +1 -1
  261. package/es/organism/course-selection/index.js +5 -3
  262. package/es/organism/course-selection/index.js.map +1 -1
  263. package/es/organism/course-selection/test/fixtures/default.js +6 -5
  264. package/es/organism/course-selection/test/fixtures/default.js.map +1 -1
  265. package/es/organism/course-selection/test/fixtures/filtered.js +2 -2
  266. package/es/organism/course-selection/test/fixtures/filtered.js.map +1 -1
  267. package/es/organism/course-selection/test/fixtures/sorted-selected.js +5 -5
  268. package/es/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
  269. package/es/organism/course-selection/test/fixtures/unsorted-selected.js +5 -5
  270. package/es/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
  271. package/es/organism/course-selection/test/fixtures.js +0 -2
  272. package/es/organism/course-selection/test/fixtures.js.map +1 -1
  273. package/es/organism/discussion/test/fixtures/default.js +1 -1
  274. package/es/organism/discussion/test/fixtures/default.js.map +1 -1
  275. package/es/organism/discussion/test/fixtures/loading-more.js +1 -1
  276. package/es/organism/discussion/test/fixtures/loading-more.js.map +1 -1
  277. package/es/organism/discussion/test/fixtures/new-discussion.js +1 -1
  278. package/es/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
  279. package/es/organism/get-the-app/index.js +2 -2
  280. package/es/organism/get-the-app/index.js.map +1 -1
  281. package/es/organism/list-items/test/fixtures/archived.js +1 -1
  282. package/es/organism/list-items/test/fixtures/archived.js.map +1 -1
  283. package/es/organism/list-items/test/fixtures/draft.js +1 -1
  284. package/es/organism/list-items/test/fixtures/draft.js.map +1 -1
  285. package/es/organism/list-items/test/fixtures/published.js +1 -1
  286. package/es/organism/list-items/test/fixtures/published.js.map +1 -1
  287. package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
  288. package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
  289. package/es/organism/mooc-header/test/fixtures/default.js +1 -1
  290. package/es/organism/mooc-header/test/fixtures/default.js.map +1 -1
  291. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  292. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  293. package/es/organism/popin/test/fixtures/default.js.map +1 -1
  294. package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
  295. package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
  296. package/es/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
  297. package/es/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
  298. package/es/organism/resource-browser/test/fixtures/kontiki.js +1 -1
  299. package/es/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
  300. package/es/organism/resource-browser/test/fixtures/mp4.js +1 -1
  301. package/es/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
  302. package/es/organism/search-and-chips-results/index.js +5 -3
  303. package/es/organism/search-and-chips-results/index.js.map +1 -1
  304. package/es/organism/search-and-chips-results/test/fixtures/default.js +1 -0
  305. package/es/organism/search-and-chips-results/test/fixtures/default.js.map +1 -1
  306. package/es/organism/settings/index.js +2 -3
  307. package/es/organism/settings/index.js.map +1 -1
  308. package/es/organism/sidebar/index.js +10 -11
  309. package/es/organism/sidebar/index.js.map +1 -1
  310. package/es/organism/user-preferences/index.js +2 -3
  311. package/es/organism/user-preferences/index.js.map +1 -1
  312. package/es/organism/wizard-contents/index.js +11 -7
  313. package/es/organism/wizard-contents/index.js.map +1 -1
  314. package/es/organism/wizard-contents/style.css +6 -0
  315. package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +1 -1
  316. package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
  317. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -1
  318. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
  319. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +1 -1
  320. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
  321. package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -1
  322. package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
  323. package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -1
  324. package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
  325. package/es/template/activity/index.js +1 -1
  326. package/es/template/activity/index.js.map +1 -1
  327. package/es/template/activity/test/progression-item-test.js +1 -1
  328. package/es/template/activity/test/progression-item-test.js.map +1 -1
  329. package/es/template/app-player/player/slides/footer/index.js +1 -1
  330. package/es/template/app-player/player/slides/footer/index.js.map +1 -1
  331. package/es/template/app-player/player/slides/index.js +11 -14
  332. package/es/template/app-player/player/slides/index.js.map +1 -1
  333. package/es/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
  334. package/es/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
  335. package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
  336. package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
  337. package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
  338. package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
  339. package/es/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
  340. package/es/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
  341. package/es/template/app-player/player/slides/test/fixtures/clue.js +2 -2
  342. package/es/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
  343. package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
  344. package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
  345. package/es/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
  346. package/es/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
  347. package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
  348. package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
  349. package/es/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
  350. package/es/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
  351. package/es/template/app-player/player/slides/test/fixtures/context.js +2 -2
  352. package/es/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
  353. package/es/template/app-player/player/slides/test/fixtures/default.js +2 -2
  354. package/es/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
  355. package/es/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
  356. package/es/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
  357. package/es/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
  358. package/es/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
  359. package/es/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
  360. package/es/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
  361. package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
  362. package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
  363. package/es/template/app-player/player/slides/test/fixtures/media.js +2 -2
  364. package/es/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
  365. package/es/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
  366. package/es/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
  367. package/es/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
  368. package/es/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
  369. package/es/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
  370. package/es/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
  371. package/es/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
  372. package/es/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
  373. package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
  374. package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
  375. package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
  376. package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
  377. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
  378. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
  379. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
  380. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
  381. package/es/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
  382. package/es/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
  383. package/es/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
  384. package/es/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
  385. package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
  386. package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
  387. package/es/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
  388. package/es/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
  389. package/es/template/app-player/player/slides/test/fixtures/range.js +1 -1
  390. package/es/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
  391. package/es/template/app-player/player/slides/test/fixtures/template.js +1 -1
  392. package/es/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
  393. package/es/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
  394. package/es/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
  395. package/es/template/app-player/player/test/fixtures/background.js +1 -1
  396. package/es/template/app-player/player/test/fixtures/background.js.map +1 -1
  397. package/es/template/app-player/popin-correction/index.js +2 -3
  398. package/es/template/app-player/popin-correction/index.js.map +1 -1
  399. package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
  400. package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
  401. package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
  402. package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
  403. package/es/template/app-player/popin-end/summary.js +7 -11
  404. package/es/template/app-player/popin-end/summary.js.map +1 -1
  405. package/es/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
  406. package/es/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
  407. package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
  408. package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
  409. package/es/template/app-player/popin-header/index.js +3 -4
  410. package/es/template/app-player/popin-header/index.js.map +1 -1
  411. package/es/template/back-office/brand-create/test/fixtures/default.js +1 -1
  412. package/es/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
  413. package/es/template/back-office/brand-create/test/fixtures/loading.js +1 -1
  414. package/es/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
  415. package/es/template/back-office/brand-create/test/fixtures/modified.js +1 -1
  416. package/es/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
  417. package/es/template/back-office/brand-list/test/fixtures/default.js +1 -1
  418. package/es/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  419. package/es/template/back-office/brand-list/test/fixtures/rh.js +1 -1
  420. package/es/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  421. package/es/template/back-office/brand-update/index.js +8 -8
  422. package/es/template/back-office/brand-update/index.js.map +1 -1
  423. package/es/template/back-office/brand-update/test/fixtures/list-items-archived.js +1 -1
  424. package/es/template/back-office/brand-update/test/fixtures/list-items-archived.js.map +1 -1
  425. package/es/template/back-office/brand-update/test/fixtures/list-items-draft.js +1 -1
  426. package/es/template/back-office/brand-update/test/fixtures/list-items-draft.js.map +1 -1
  427. package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +1 -1
  428. package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -1
  429. package/es/template/back-office/brand-update/test/fixtures/list-items-published.js +1 -1
  430. package/es/template/back-office/brand-update/test/fixtures/list-items-published.js.map +1 -1
  431. package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js +1 -1
  432. package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
  433. package/es/template/back-office/brand-update/test/fixtures/quick-access.js +1 -1
  434. package/es/template/back-office/brand-update/test/fixtures/quick-access.js.map +1 -1
  435. package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
  436. package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
  437. package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
  438. package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
  439. package/es/template/back-office/brand-update/test/fixtures/uploadusers.js +1 -1
  440. package/es/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
  441. package/es/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js +1 -1
  442. package/es/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js.map +1 -1
  443. package/es/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js +1 -1
  444. package/es/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js.map +1 -1
  445. package/es/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js +1 -1
  446. package/es/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js.map +1 -1
  447. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +1 -1
  448. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -1
  449. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js +1 -1
  450. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js.map +1 -1
  451. package/es/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js +1 -1
  452. package/es/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js.map +1 -1
  453. package/es/template/cockpit/jw-uploader/index.js +1 -1
  454. package/es/template/cockpit/jw-uploader/index.js.map +1 -1
  455. package/es/template/common/dashboard/index.js +1 -1
  456. package/es/template/common/dashboard/index.js.map +1 -1
  457. package/es/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
  458. package/es/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
  459. package/es/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
  460. package/es/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
  461. package/es/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
  462. package/es/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
  463. package/es/template/common/discipline/test/fixtures/arabic.js +1 -1
  464. package/es/template/common/discipline/test/fixtures/arabic.js.map +1 -1
  465. package/es/template/common/discipline/test/fixtures/default.js +2 -2
  466. package/es/template/common/discipline/test/fixtures/default.js.map +1 -1
  467. package/es/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
  468. package/es/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
  469. package/es/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
  470. package/es/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
  471. package/es/template/common/discipline/test/fixtures/external-course.js +2 -2
  472. package/es/template/common/discipline/test/fixtures/external-course.js.map +1 -1
  473. package/es/template/common/discipline/test/fixtures/share.js +1 -1
  474. package/es/template/common/discipline/test/fixtures/share.js.map +1 -1
  475. package/es/template/teams-dashboard/test/fixtures/default.js +1 -1
  476. package/es/template/teams-dashboard/test/fixtures/default.js.map +1 -1
  477. package/es/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
  478. package/es/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
  479. package/es/template/teams-dashboard/test/fixtures/mobile.js +1 -1
  480. package/es/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
  481. package/es/util/shallow-compare.js.map +1 -1
  482. package/es/util/test/navigation.js +3 -4
  483. package/es/util/test/navigation.js.map +1 -1
  484. package/lib/atom/autocomplete/index.js +2 -2
  485. package/lib/atom/autocomplete/test/fixtures/error.js +1 -1
  486. package/lib/atom/autocomplete/test/fixtures/error.js.map +1 -1
  487. package/lib/atom/autocomplete/test/fixtures/filled.js +1 -1
  488. package/lib/atom/autocomplete/test/fixtures/filled.js.map +1 -1
  489. package/lib/atom/autocomplete/test/fixtures/modified.js +1 -1
  490. package/lib/atom/autocomplete/test/fixtures/modified.js.map +1 -1
  491. package/lib/atom/button-link/index.js +2 -2
  492. package/lib/atom/button-link-icon-only/index.js +2 -2
  493. package/lib/atom/button-menu/index.js +2 -2
  494. package/lib/atom/button-menu/test/fixtures/default.js +1 -1
  495. package/lib/atom/button-menu/test/fixtures/multiple-buttons.js +1 -1
  496. package/lib/atom/chips/index.js +2 -2
  497. package/lib/atom/clue/index.js.map +1 -1
  498. package/lib/atom/cta/test/fixtures/certification.js +1 -1
  499. package/lib/atom/cta/test/fixtures/certification.js.map +1 -1
  500. package/lib/atom/cta/test/fixtures/disabled.js +1 -1
  501. package/lib/atom/cta/test/fixtures/disabled.js.map +1 -1
  502. package/lib/atom/cta/test/fixtures/light-small.js +1 -1
  503. package/lib/atom/cta/test/fixtures/light-small.js.map +1 -1
  504. package/lib/atom/cta/test/fixtures/light.js +1 -1
  505. package/lib/atom/cta/test/fixtures/light.js.map +1 -1
  506. package/lib/atom/cta/test/fixtures/logout.js +1 -1
  507. package/lib/atom/cta/test/fixtures/logout.js.map +1 -1
  508. package/lib/atom/cta/test/fixtures/primary-small.js +1 -1
  509. package/lib/atom/cta/test/fixtures/primary-small.js.map +1 -1
  510. package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
  511. package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
  512. package/lib/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
  513. package/lib/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
  514. package/lib/atom/cta/test/fixtures/rectangular.js +1 -1
  515. package/lib/atom/cta/test/fixtures/rectangular.js.map +1 -1
  516. package/lib/atom/cta/test/fixtures/secondary-small.js +1 -1
  517. package/lib/atom/cta/test/fixtures/secondary-small.js.map +1 -1
  518. package/lib/atom/cta/test/fixtures/secondary.js +1 -1
  519. package/lib/atom/cta/test/fixtures/secondary.js.map +1 -1
  520. package/lib/atom/drag-and-drop/index.js +1 -1
  521. package/lib/atom/drag-and-drop/index.js.map +1 -1
  522. package/lib/atom/drag-and-drop/test/fixtures/loading.js +1 -1
  523. package/lib/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  524. package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
  525. package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
  526. package/lib/atom/image-upload/index.js +3 -3
  527. package/lib/atom/image-upload/index.js.map +1 -1
  528. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
  529. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
  530. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
  531. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
  532. package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
  533. package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
  534. package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
  535. package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
  536. package/lib/atom/image-upload/test/fixtures/email.js +1 -1
  537. package/lib/atom/image-upload/test/fixtures/email.js.map +1 -1
  538. package/lib/atom/image-upload/test/fixtures/mobile.js +1 -1
  539. package/lib/atom/image-upload/test/fixtures/mobile.js.map +1 -1
  540. package/lib/atom/image-upload/test/fixtures/modified.js +1 -1
  541. package/lib/atom/image-upload/test/fixtures/modified.js.map +1 -1
  542. package/lib/atom/input-checkbox/index.js +2 -2
  543. package/lib/atom/input-color/index.js +2 -2
  544. package/lib/atom/input-doublestep/index.js +2 -2
  545. package/lib/atom/input-html/index.js.map +1 -1
  546. package/lib/atom/input-search/index.js +2 -2
  547. package/lib/atom/input-switch/index.js +2 -2
  548. package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js +1 -1
  549. package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -1
  550. package/lib/atom/input-switch/test/fixtures/disabled.js +1 -1
  551. package/lib/atom/input-switch/test/fixtures/disabled.js.map +1 -1
  552. package/lib/atom/input-switch/test/fixtures.js +0 -15
  553. package/lib/atom/input-switch/test/fixtures.js.map +1 -1
  554. package/lib/atom/input-text/index.js +2 -2
  555. package/lib/atom/input-textarea/index.js +2 -2
  556. package/lib/atom/link/index.js +2 -4
  557. package/lib/atom/link/index.js.map +1 -1
  558. package/lib/atom/loader/test/fixtures.js +3 -0
  559. package/lib/atom/loader/test/fixtures.js.map +1 -1
  560. package/lib/atom/promo-code/index.js.map +1 -1
  561. package/lib/atom/provider/index.js.map +1 -1
  562. package/lib/atom/provider/test/index.js +1 -1
  563. package/lib/atom/provider/test/index.js.map +1 -1
  564. package/lib/atom/range/index.js +1 -1
  565. package/lib/atom/range/index.js.map +1 -1
  566. package/lib/atom/range/test/fixtures/multi.js +1 -1
  567. package/lib/atom/range/test/fixtures/multi.js.map +1 -1
  568. package/lib/atom/range/test/index.js +9 -9
  569. package/lib/atom/range/test/index.js.map +1 -1
  570. package/lib/atom/select/index.js +2 -2
  571. package/lib/atom/tab/index.js +2 -2
  572. package/lib/atom/video-upload/index.js +1 -1
  573. package/lib/atom/video-upload/index.js.map +1 -1
  574. package/lib/atom/video-upload/test/fixtures/loading.js +1 -1
  575. package/lib/atom/video-upload/test/fixtures/loading.js.map +1 -1
  576. package/lib/atom/video-upload/test/fixtures/modified.js +1 -1
  577. package/lib/atom/video-upload/test/fixtures/modified.js.map +1 -1
  578. package/lib/hoc/animation/index.js +1 -1
  579. package/lib/hoc/animation/test/on-mount.js +2 -2
  580. package/lib/hoc/animation-scheduler/index.js +4 -4
  581. package/lib/hoc/animation-scheduler/index.js.map +1 -1
  582. package/lib/hoc/animation-scheduler/test/fixtures/parallel.js +3 -3
  583. package/lib/hoc/animation-scheduler/test/fixtures/series.js +2 -2
  584. package/lib/hoc/animation-scheduler/test/on-mount.js +2 -2
  585. package/lib/hoc/swapper/index.js +3 -5
  586. package/lib/hoc/swapper/index.js.map +1 -1
  587. package/lib/hoc/swapper/test/on-mount.js +2 -2
  588. package/lib/hoc/transition/index.js +3 -3
  589. package/lib/hoc/transition/index.js.map +1 -1
  590. package/lib/molecule/add-to-my-list/index.js +4 -4
  591. package/lib/molecule/add-to-my-list/index.js.map +1 -1
  592. package/lib/molecule/answer/index.js +3 -5
  593. package/lib/molecule/answer/index.js.map +1 -1
  594. package/lib/molecule/answer/test/fixtures/audio.js +1 -1
  595. package/lib/molecule/answer/test/fixtures/audio.js.map +1 -1
  596. package/lib/molecule/answer/test/fixtures/default.js +1 -1
  597. package/lib/molecule/answer/test/fixtures/default.js.map +1 -1
  598. package/lib/molecule/answer/test/fixtures/drop-down.js +1 -1
  599. package/lib/molecule/answer/test/fixtures/drop-down.js.map +1 -1
  600. package/lib/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
  601. package/lib/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
  602. package/lib/molecule/answer/test/fixtures/qcm-drag.js +1 -1
  603. package/lib/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
  604. package/lib/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
  605. package/lib/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
  606. package/lib/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
  607. package/lib/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
  608. package/lib/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
  609. package/lib/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
  610. package/lib/molecule/answer/test/fixtures/qcm-short.js +1 -1
  611. package/lib/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
  612. package/lib/molecule/answer/test/fixtures/qcm.js +1 -1
  613. package/lib/molecule/answer/test/fixtures/qcm.js.map +1 -1
  614. package/lib/molecule/answer/test/fixtures/range.js +1 -1
  615. package/lib/molecule/answer/test/fixtures/range.js.map +1 -1
  616. package/lib/molecule/answer/test/fixtures/template.js +1 -1
  617. package/lib/molecule/answer/test/fixtures/template.js.map +1 -1
  618. package/lib/molecule/brand-create-form/index.js +2 -2
  619. package/lib/molecule/brand-form-group/index.js +18 -18
  620. package/lib/molecule/brand-form-group/index.js.map +1 -1
  621. package/lib/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
  622. package/lib/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
  623. package/lib/molecule/brand-form-group/test/fixtures/animations.js +2 -2
  624. package/lib/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
  625. package/lib/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
  626. package/lib/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
  627. package/lib/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
  628. package/lib/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
  629. package/lib/molecule/brand-form-group/test/fixtures/images.js +3 -3
  630. package/lib/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
  631. package/lib/molecule/brand-form-group/test/fixtures/slider.js +1 -1
  632. package/lib/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
  633. package/lib/molecule/bullet-point-menu-button/index.js +2 -2
  634. package/lib/molecule/card/index.js +3 -3
  635. package/lib/molecule/card/index.js.map +1 -1
  636. package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
  637. package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  638. package/lib/molecule/card/test/fixtures/adaptiv.js +1 -1
  639. package/lib/molecule/card/test/fixtures/adaptiv.js.map +1 -1
  640. package/lib/molecule/card/test/fixtures/disabled.js +1 -1
  641. package/lib/molecule/card/test/fixtures/disabled.js.map +1 -1
  642. package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
  643. package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  644. package/lib/molecule/card-content/test/fixtures/adaptiv.js +1 -1
  645. package/lib/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
  646. package/lib/molecule/card-content/test/fixtures/disabled.js +1 -1
  647. package/lib/molecule/card-content/test/fixtures/disabled.js.map +1 -1
  648. package/lib/molecule/card-with-button/index.js.map +1 -1
  649. package/lib/molecule/coorp-manager-roles/index.js +1 -1
  650. package/lib/molecule/coorp-manager-roles/index.js.map +1 -1
  651. package/lib/molecule/dashboard/battle-request-list/index.js +1 -1
  652. package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
  653. package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
  654. package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
  655. package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
  656. package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
  657. package/lib/molecule/dashboard/cards-list/test/index.js +1 -1
  658. package/lib/molecule/dashboard/cards-list/test/index.js.map +1 -1
  659. package/lib/molecule/dashboard/news-list/index.js +1 -1
  660. package/lib/molecule/dashboard/news-list/index.js.map +1 -1
  661. package/lib/molecule/dashboard/start-battle/index.js +1 -1
  662. package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
  663. package/lib/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
  664. package/lib/molecule/drag-and-drop/index.js +3 -3
  665. package/lib/molecule/drag-and-drop/index.js.map +1 -1
  666. package/lib/molecule/drag-and-drop/test/fixtures/error.js +1 -1
  667. package/lib/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
  668. package/lib/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
  669. package/lib/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
  670. package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
  671. package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
  672. package/lib/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
  673. package/lib/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
  674. package/lib/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
  675. package/lib/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
  676. package/lib/molecule/drag-and-drop/test/fixtures/success.js +1 -1
  677. package/lib/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
  678. package/lib/molecule/drag-and-drop/test/on-click.js +2 -2
  679. package/lib/molecule/drag-and-drop/test/on-click.js.map +1 -1
  680. package/lib/molecule/drag-and-drop/upload-report.js +3 -3
  681. package/lib/molecule/drag-and-drop/upload-report.js.map +1 -1
  682. package/lib/molecule/feedback/index.js +3 -3
  683. package/lib/molecule/feedback/index.js.map +1 -1
  684. package/lib/molecule/filters/test/fixtures/default.js +4 -4
  685. package/lib/molecule/filters/test/fixtures/default.js.map +1 -1
  686. package/lib/molecule/filters/test/fixtures/filters-list.js +6 -6
  687. package/lib/molecule/filters/test/fixtures/filters-list.js.map +1 -1
  688. package/lib/molecule/filters/test/fixtures/one.js +2 -2
  689. package/lib/molecule/filters/test/fixtures/one.js.map +1 -1
  690. package/lib/molecule/filters/test/fixtures/only-radio-group.js +1 -1
  691. package/lib/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
  692. package/lib/molecule/filters/test/fixtures/only-timer.js +1 -1
  693. package/lib/molecule/filters/test/fixtures/only-timer.js.map +1 -1
  694. package/lib/molecule/filters/test/fixtures/three.js +3 -3
  695. package/lib/molecule/filters/test/fixtures/three.js.map +1 -1
  696. package/lib/molecule/filters/test/fixtures/two.js +3 -3
  697. package/lib/molecule/filters/test/fixtures/two.js.map +1 -1
  698. package/lib/molecule/filters/test/fixtures/zero.js +1 -1
  699. package/lib/molecule/filters/test/fixtures/zero.js.map +1 -1
  700. package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
  701. package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
  702. package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
  703. package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
  704. package/lib/molecule/hero/index.js +2 -2
  705. package/lib/molecule/hero/test/fixtures/arabic.js +1 -1
  706. package/lib/molecule/hero/test/fixtures/arabic.js.map +1 -1
  707. package/lib/molecule/hero/test/fixtures/hero.js +1 -1
  708. package/lib/molecule/hero/test/fixtures/hero.js.map +1 -1
  709. package/lib/molecule/news/test/fixtures/long-description.js +1 -1
  710. package/lib/molecule/news/test/fixtures/long-description.js.map +1 -1
  711. package/lib/molecule/news/test/fixtures/long-title.js +1 -1
  712. package/lib/molecule/news/test/fixtures/long-title.js.map +1 -1
  713. package/lib/molecule/news/test/fixtures/small-desciption.js +1 -1
  714. package/lib/molecule/news/test/fixtures/small-desciption.js.map +1 -1
  715. package/lib/molecule/news/test/fixtures/small-title.js +1 -1
  716. package/lib/molecule/news/test/fixtures/small-title.js.map +1 -1
  717. package/lib/molecule/popin/index.js +3 -3
  718. package/lib/molecule/popin/index.js.map +1 -1
  719. package/lib/molecule/progress-bar/index.js +1 -1
  720. package/lib/molecule/progress-bar/index.js.map +1 -1
  721. package/lib/molecule/questions/drop-down/index.js +3 -3
  722. package/lib/molecule/questions/drop-down/index.js.map +1 -1
  723. package/lib/molecule/questions/free-text/index.js +2 -2
  724. package/lib/molecule/questions/question-range/index.js +2 -4
  725. package/lib/molecule/questions/question-range/index.js.map +1 -1
  726. package/lib/molecule/questions/template/index.js +2 -2
  727. package/lib/molecule/questions/template/index.js.map +1 -1
  728. package/lib/molecule/questions/template/test/index.js +1 -1
  729. package/lib/molecule/questions/template/test/index.js.map +1 -1
  730. package/lib/molecule/quick-access-card/index.js.map +1 -1
  731. package/lib/molecule/resource-player/index.js +2 -4
  732. package/lib/molecule/resource-player/index.js.map +1 -1
  733. package/lib/molecule/scope-tabs/index.js +2 -2
  734. package/lib/molecule/search-form/index.js +2 -2
  735. package/lib/molecule/select-multiple/index.js +6 -6
  736. package/lib/molecule/select-multiple/index.js.map +1 -1
  737. package/lib/molecule/select-multiple/test/index.js +4 -4
  738. package/lib/molecule/select-multiple/test/index.js.map +1 -1
  739. package/lib/molecule/setup-section/index.js +1 -1
  740. package/lib/molecule/setup-section/index.js.map +1 -1
  741. package/lib/molecule/setup-section/test/fixtures/first.js +1 -1
  742. package/lib/molecule/setup-section/test/fixtures/first.js.map +1 -1
  743. package/lib/molecule/setup-sections/index.js +2 -2
  744. package/lib/molecule/setup-slide/index.js +8 -8
  745. package/lib/molecule/setup-slide/index.js.map +1 -1
  746. package/lib/molecule/share/index.js +4 -4
  747. package/lib/molecule/share/index.js.map +1 -1
  748. package/lib/molecule/titled-checkbox/index.js +2 -2
  749. package/lib/molecule/vertical-tabs/test/fixtures/default.js +1 -1
  750. package/lib/molecule/vertical-tabs/test/fixtures.js +3 -0
  751. package/lib/molecule/vertical-tabs/test/fixtures.js.map +1 -1
  752. package/lib/molecule/video-iframe/index.js +1 -1
  753. package/lib/molecule/video-iframe/index.js.map +1 -1
  754. package/lib/molecule/video-player/index.js +1 -3
  755. package/lib/molecule/video-player/index.js.map +1 -1
  756. package/lib/molecule/video-player/jwplayer.js +2 -2
  757. package/lib/molecule/video-player/jwplayer.js.map +1 -1
  758. package/lib/molecule/video-player/test/fixtures/youtube.js +1 -1
  759. package/lib/molecule/video-player/test/fixtures/youtube.js.map +1 -1
  760. package/lib/molecule/video-player/vimeo.js +1 -1
  761. package/lib/molecule/video-player/vimeo.js.map +1 -1
  762. package/lib/molecule/wizard-summary/index.js +2 -2
  763. package/lib/organism/accordion/container/index.js +2 -2
  764. package/lib/organism/accordion/coorp-manager/index.js +3 -3
  765. package/lib/organism/accordion/coorp-manager/index.js.map +1 -1
  766. package/lib/organism/accordion/toggler/index.js +1 -1
  767. package/lib/organism/accordion/toggler/index.js.map +1 -1
  768. package/lib/organism/accordion/toggler/test/render.js +2 -2
  769. package/lib/organism/accordion/toggler/test/render.js.map +1 -1
  770. package/lib/organism/brand-form/index.js +2 -2
  771. package/lib/organism/brand-form/test/fixtures/sso.js +3 -3
  772. package/lib/organism/brand-form/test/fixtures/sso.js.map +1 -1
  773. package/lib/organism/content-translation/index.js +2 -2
  774. package/lib/organism/content-translation/index.js.map +1 -1
  775. package/lib/organism/content-translation/style.css +1 -0
  776. package/lib/organism/content-translation/test/fixtures/default.js +2 -2
  777. package/lib/organism/content-translation/test/fixtures/default.js.map +1 -1
  778. package/lib/organism/course-selection/index.js +5 -3
  779. package/lib/organism/course-selection/index.js.map +1 -1
  780. package/lib/organism/course-selection/test/fixtures/default.js +6 -5
  781. package/lib/organism/course-selection/test/fixtures/default.js.map +1 -1
  782. package/lib/organism/course-selection/test/fixtures/filtered.js +2 -2
  783. package/lib/organism/course-selection/test/fixtures/filtered.js.map +1 -1
  784. package/lib/organism/course-selection/test/fixtures/sorted-selected.js +5 -5
  785. package/lib/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
  786. package/lib/organism/course-selection/test/fixtures/unsorted-selected.js +5 -5
  787. package/lib/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
  788. package/lib/organism/course-selection/test/fixtures.js +0 -3
  789. package/lib/organism/course-selection/test/fixtures.js.map +1 -1
  790. package/lib/organism/discussion/test/fixtures/default.js +1 -1
  791. package/lib/organism/discussion/test/fixtures/default.js.map +1 -1
  792. package/lib/organism/discussion/test/fixtures/loading-more.js +1 -1
  793. package/lib/organism/discussion/test/fixtures/loading-more.js.map +1 -1
  794. package/lib/organism/discussion/test/fixtures/new-discussion.js +1 -1
  795. package/lib/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
  796. package/lib/organism/get-the-app/index.js +2 -2
  797. package/lib/organism/get-the-app/index.js.map +1 -1
  798. package/lib/organism/list-items/test/fixtures/archived.js +1 -1
  799. package/lib/organism/list-items/test/fixtures/archived.js.map +1 -1
  800. package/lib/organism/list-items/test/fixtures/draft.js +1 -1
  801. package/lib/organism/list-items/test/fixtures/draft.js.map +1 -1
  802. package/lib/organism/list-items/test/fixtures/published.js +1 -1
  803. package/lib/organism/list-items/test/fixtures/published.js.map +1 -1
  804. package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
  805. package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
  806. package/lib/organism/mooc-header/test/fixtures/default.js +1 -1
  807. package/lib/organism/mooc-header/test/fixtures/default.js.map +1 -1
  808. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  809. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  810. package/lib/organism/popin/test/fixtures/default.js.map +1 -1
  811. package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
  812. package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
  813. package/lib/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
  814. package/lib/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
  815. package/lib/organism/resource-browser/test/fixtures/kontiki.js +1 -1
  816. package/lib/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
  817. package/lib/organism/resource-browser/test/fixtures/mp4.js +1 -1
  818. package/lib/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
  819. package/lib/organism/search-and-chips-results/index.js +5 -3
  820. package/lib/organism/search-and-chips-results/index.js.map +1 -1
  821. package/lib/organism/search-and-chips-results/test/fixtures/default.js +1 -0
  822. package/lib/organism/search-and-chips-results/test/fixtures/default.js.map +1 -1
  823. package/lib/organism/settings/index.js +2 -4
  824. package/lib/organism/settings/index.js.map +1 -1
  825. package/lib/organism/sidebar/index.js +13 -15
  826. package/lib/organism/sidebar/index.js.map +1 -1
  827. package/lib/organism/user-preferences/index.js +2 -4
  828. package/lib/organism/user-preferences/index.js.map +1 -1
  829. package/lib/organism/wizard-contents/index.js +11 -7
  830. package/lib/organism/wizard-contents/index.js.map +1 -1
  831. package/lib/organism/wizard-contents/style.css +6 -0
  832. package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +1 -1
  833. package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
  834. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -1
  835. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
  836. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +1 -1
  837. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
  838. package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -1
  839. package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
  840. package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -1
  841. package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
  842. package/lib/template/activity/index.js +1 -1
  843. package/lib/template/activity/index.js.map +1 -1
  844. package/lib/template/activity/progression-item.js +2 -2
  845. package/lib/template/activity/test/progression-item-test.js +1 -1
  846. package/lib/template/activity/test/progression-item-test.js.map +1 -1
  847. package/lib/template/app-player/player/slides/footer/index.js +1 -1
  848. package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
  849. package/lib/template/app-player/player/slides/index.js +11 -15
  850. package/lib/template/app-player/player/slides/index.js.map +1 -1
  851. package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
  852. package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
  853. package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
  854. package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
  855. package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
  856. package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
  857. package/lib/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
  858. package/lib/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
  859. package/lib/template/app-player/player/slides/test/fixtures/clue.js +2 -2
  860. package/lib/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
  861. package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
  862. package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
  863. package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
  864. package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
  865. package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
  866. package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
  867. package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
  868. package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
  869. package/lib/template/app-player/player/slides/test/fixtures/context.js +2 -2
  870. package/lib/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
  871. package/lib/template/app-player/player/slides/test/fixtures/default.js +2 -2
  872. package/lib/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
  873. package/lib/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
  874. package/lib/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
  875. package/lib/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
  876. package/lib/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
  877. package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
  878. package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
  879. package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
  880. package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
  881. package/lib/template/app-player/player/slides/test/fixtures/media.js +2 -2
  882. package/lib/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
  883. package/lib/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
  884. package/lib/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
  885. package/lib/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
  886. package/lib/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
  887. package/lib/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
  888. package/lib/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
  889. package/lib/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
  890. package/lib/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
  891. package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
  892. package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
  893. package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
  894. package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
  895. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
  896. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
  897. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
  898. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
  899. package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
  900. package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
  901. package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
  902. package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
  903. package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
  904. package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
  905. package/lib/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
  906. package/lib/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
  907. package/lib/template/app-player/player/slides/test/fixtures/range.js +1 -1
  908. package/lib/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
  909. package/lib/template/app-player/player/slides/test/fixtures/template.js +1 -1
  910. package/lib/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
  911. package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
  912. package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
  913. package/lib/template/app-player/player/test/fixtures/background.js +1 -1
  914. package/lib/template/app-player/player/test/fixtures/background.js.map +1 -1
  915. package/lib/template/app-player/popin-correction/index.js +4 -6
  916. package/lib/template/app-player/popin-correction/index.js.map +1 -1
  917. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
  918. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
  919. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
  920. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
  921. package/lib/template/app-player/popin-end/summary.js +7 -12
  922. package/lib/template/app-player/popin-end/summary.js.map +1 -1
  923. package/lib/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
  924. package/lib/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
  925. package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
  926. package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
  927. package/lib/template/app-player/popin-header/index.js +5 -7
  928. package/lib/template/app-player/popin-header/index.js.map +1 -1
  929. package/lib/template/back-office/brand-create/test/fixtures/default.js +1 -1
  930. package/lib/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
  931. package/lib/template/back-office/brand-create/test/fixtures/loading.js +1 -1
  932. package/lib/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
  933. package/lib/template/back-office/brand-create/test/fixtures/modified.js +1 -1
  934. package/lib/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
  935. package/lib/template/back-office/brand-list/test/fixtures/default.js +1 -1
  936. package/lib/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  937. package/lib/template/back-office/brand-list/test/fixtures/rh.js +1 -1
  938. package/lib/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  939. package/lib/template/back-office/brand-update/index.js +8 -8
  940. package/lib/template/back-office/brand-update/index.js.map +1 -1
  941. package/lib/template/back-office/brand-update/test/fixtures/analytics.js +2 -2
  942. package/lib/template/back-office/brand-update/test/fixtures/animations.js +2 -2
  943. package/lib/template/back-office/brand-update/test/fixtures/cohort-error.js +2 -2
  944. package/lib/template/back-office/brand-update/test/fixtures/cohort.js +2 -2
  945. package/lib/template/back-office/brand-update/test/fixtures/dashboard.js +2 -2
  946. package/lib/template/back-office/brand-update/test/fixtures/dashboards-analytics.js +2 -2
  947. package/lib/template/back-office/brand-update/test/fixtures/default.js +1 -1
  948. package/lib/template/back-office/brand-update/test/fixtures/list-items-archived.js +1 -1
  949. package/lib/template/back-office/brand-update/test/fixtures/list-items-archived.js.map +1 -1
  950. package/lib/template/back-office/brand-update/test/fixtures/list-items-draft.js +1 -1
  951. package/lib/template/back-office/brand-update/test/fixtures/list-items-draft.js.map +1 -1
  952. package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +1 -1
  953. package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -1
  954. package/lib/template/back-office/brand-update/test/fixtures/list-items-published.js +1 -1
  955. package/lib/template/back-office/brand-update/test/fixtures/list-items-published.js.map +1 -1
  956. package/lib/template/back-office/brand-update/test/fixtures/lms-error.js +2 -2
  957. package/lib/template/back-office/brand-update/test/fixtures/lms-modified.js +2 -2
  958. package/lib/template/back-office/brand-update/test/fixtures/lms-success.js +2 -2
  959. package/lib/template/back-office/brand-update/test/fixtures/lms.js +2 -2
  960. package/lib/template/back-office/brand-update/test/fixtures/lookandfeel.js +2 -2
  961. package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js +1 -1
  962. package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
  963. package/lib/template/back-office/brand-update/test/fixtures/quick-access.js +1 -1
  964. package/lib/template/back-office/brand-update/test/fixtures/quick-access.js.map +1 -1
  965. package/lib/template/back-office/brand-update/test/fixtures/sso.js +2 -2
  966. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
  967. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
  968. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
  969. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
  970. package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js +1 -1
  971. package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
  972. package/lib/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js +1 -1
  973. package/lib/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js.map +1 -1
  974. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js +1 -1
  975. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js.map +1 -1
  976. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js +1 -1
  977. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js.map +1 -1
  978. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +1 -1
  979. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -1
  980. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js +1 -1
  981. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js.map +1 -1
  982. package/lib/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js +1 -1
  983. package/lib/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js.map +1 -1
  984. package/lib/template/cockpit/jw-uploader/index.js +1 -1
  985. package/lib/template/cockpit/jw-uploader/index.js.map +1 -1
  986. package/lib/template/common/dashboard/index.js +1 -1
  987. package/lib/template/common/dashboard/index.js.map +1 -1
  988. package/lib/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
  989. package/lib/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
  990. package/lib/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
  991. package/lib/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
  992. package/lib/template/common/discipline/index.js +2 -2
  993. package/lib/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
  994. package/lib/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
  995. package/lib/template/common/discipline/test/fixtures/arabic.js +1 -1
  996. package/lib/template/common/discipline/test/fixtures/arabic.js.map +1 -1
  997. package/lib/template/common/discipline/test/fixtures/default.js +2 -2
  998. package/lib/template/common/discipline/test/fixtures/default.js.map +1 -1
  999. package/lib/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
  1000. package/lib/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
  1001. package/lib/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
  1002. package/lib/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
  1003. package/lib/template/common/discipline/test/fixtures/external-course.js +2 -2
  1004. package/lib/template/common/discipline/test/fixtures/external-course.js.map +1 -1
  1005. package/lib/template/common/discipline/test/fixtures/share.js +1 -1
  1006. package/lib/template/common/discipline/test/fixtures/share.js.map +1 -1
  1007. package/lib/template/teams-dashboard/index.js +2 -2
  1008. package/lib/template/teams-dashboard/test/fixtures/default.js +2 -2
  1009. package/lib/template/teams-dashboard/test/fixtures/default.js.map +1 -1
  1010. package/lib/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
  1011. package/lib/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
  1012. package/lib/template/teams-dashboard/test/fixtures/mobile.js +1 -1
  1013. package/lib/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
  1014. package/lib/test/helpers/render-component.js +1 -1
  1015. package/lib/util/external-content.js +1 -1
  1016. package/lib/util/proptypes.js +1 -1
  1017. package/lib/util/shallow-compare.js.map +1 -1
  1018. package/lib/util/test/navigation.js +3 -5
  1019. package/lib/util/test/navigation.js.map +1 -1
  1020. package/package.json +2 -2
  1021. package/es/molecule/search/test/fixtures.js +0 -15
  1022. package/es/molecule/search/test/fixtures.js.map +0 -1
  1023. package/es/organism/playlist-translation/test/fixtures.js +0 -15
  1024. package/es/organism/playlist-translation/test/fixtures.js.map +0 -1
  1025. package/lib/molecule/search/test/fixtures.js +0 -25
  1026. package/lib/molecule/search/test/fixtures.js.map +0 -1
  1027. package/lib/organism/playlist-translation/test/fixtures.js +0 -25
  1028. package/lib/organism/playlist-translation/test/fixtures.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/template/common/dashboard/index.js"],"names":["React","PropTypes","Slide","HeroCard","BattleRequestList","CardsList","NewsList","StartBattle","style","Hero","memo","hero","welcome","propTypes","shape","Dashboard","props","sections","buildSectionComponent","section","type","buildSection","index","sectionView","sectionsList","key","map","wrapper","arrayOf","oneOfType"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,KAAP,MAAkB,qBAAlB;AACA,OAAOC,QAAP,MAAqB,wBAArB;AACA,OAAOC,iBAAP,MAA8B,iDAA9B;AACA,OAAOC,SAAP,MAAsB,wCAAtB;AACA,OAAOC,QAAP,MAAqB,uCAArB;AACA,OAAOC,WAAP,MAAwB,0CAAxB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,IAAI,gBAAGT,KAAK,CA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,CAAzC;AAEA,wBAAO;AAAK,MAAA,GAAG,EAAEG;AAAV,OAAkBC,WAAlB,CAAP;AACD,GAJD;;AAMA,QAAMC,YAAY,GAAG,CAAC;AAACJ,IAAAA,IAAI,EAAE,MAAP;AAAeK,IAAAA,GAAG,EAAE;AAApB,GAAD,EAA8B,GAAGR,QAAjC,EAA2CS,GAA3C,CAA+CP,OAAO,iBACzE;AAAK,IAAA,GAAG,EAAEA,OAAO,CAACM;AAAlB,KAAwBJ,YAAY,CAACF,OAAD,CAApC,CADmB,CAArB;AAGA,sBACE;AAAK,IAAA,SAAS,EAAEX,KAAK,CAACmB,OAAtB;AAA+B,iBAAU;AAAzC,KACGH,YADH,CADF;AAKD,CAnCD;;AAqCAT,SAAS,CAACF,SAAV,2CAAsB;AACpBF,EAAAA,IAAI,EAAEF,IAAI,CAACI,SAAL,CAAeF,IADD;AAEpBC,EAAAA,OAAO,EAAEH,IAAI,CAACI,SAAL,CAAeD,OAFJ;AAGpBK,EAAAA,QAAQ,EAAEhB,SAAS,CAAC2B,OAAV,CACR3B,SAAS,CAAC4B,SAAV,CAAoB,CAClB5B,SAAS,CAACa,KAAV,CAAgBV,iBAAiB,CAACS,SAAlC,CADkB,EAElBZ,SAAS,CAACa,KAAV,CAAgBT,SAAS,CAACQ,SAA1B,CAFkB,EAGlBZ,SAAS,CAACa,KAAV,CAAgBR,QAAQ,CAACO,SAAzB,CAHkB,EAIlBZ,SAAS,CAACa,KAAV,CAAgBP,WAAW,CAACM,SAA5B,CAJkB,CAApB,CADQ;AAHU,CAAtB;AAYA,eAAeE,SAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Slide from '../../../atom/slide';\nimport HeroCard from '../../../molecule/hero';\nimport BattleRequestList from '../../../molecule/dashboard/battle-request-list';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport NewsList from '../../../molecule/dashboard/news-list';\nimport StartBattle from '../../../molecule/dashboard/start-battle';\nimport style from './style.css';\n\nconst Hero = React.memo(function Hero({hero, welcome}) {\n return <div className={style.hero}>{hero ? <HeroCard {...hero} /> : <Slide {...welcome} />}</div>;\n});\n\nHero.propTypes = {\n hero: PropTypes.shape(HeroCard.propTypes),\n welcome: PropTypes.shape(Slide.propTypes)\n};\n\nconst Dashboard = props => {\n const {sections = [], hero, welcome} = props;\n\n const buildSectionComponent = section => {\n const {type} = section;\n switch (type) {\n case 'hero':\n return <Hero hero={hero} welcome={welcome} />;\n case 'battleRequests':\n return <BattleRequestList {...section} />;\n case 'cards':\n return <CardsList {...section} />;\n case 'news':\n return <NewsList {...section} />;\n case 'battle':\n return <StartBattle {...section} />;\n default:\n return null;\n }\n };\n\n const buildSection = (section, index) => {\n const sectionView = buildSectionComponent(section);\n\n return <div key={index}>{sectionView}</div>;\n };\n\n const sectionsList = [{type: 'hero', key: 'hero'}, ...sections].map(section => (\n <div key={section.key}>{buildSection(section)}</div>\n ));\n return (\n <div className={style.wrapper} data-name=\"dashboard\">\n {sectionsList}\n </div>\n );\n};\n\nDashboard.propTypes = {\n hero: Hero.propTypes.hero,\n welcome: Hero.propTypes.welcome,\n sections: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape(BattleRequestList.propTypes),\n PropTypes.shape(CardsList.propTypes),\n PropTypes.shape(NewsList.propTypes),\n PropTypes.shape(StartBattle.propTypes)\n ])\n )\n};\nexport default Dashboard;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/template/common/dashboard/index.js"],"names":["React","PropTypes","Slide","HeroCard","BattleRequestList","CardsList","NewsList","StartBattle","style","Hero","memo","hero","welcome","propTypes","shape","Dashboard","props","sections","buildSectionComponent","section","type","buildSection","index","sectionView","sectionsList","key","map","wrapper","arrayOf","oneOfType"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,KAAP,MAAkB,qBAAlB;AACA,OAAOC,QAAP,MAAqB,wBAArB;AACA,OAAOC,iBAAP,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oBAAC,WAAD,EAAiBA,OAAjB,CAAP;;AACF;AACE,eAAO,IAAP;AAZJ;AAcD,GAhBD;;AAkBA,QAAME,YAAY,GAAG,CAACF,OAAD,EAAUG,KAAV,KAAoB;AACvC,UAAMC,WAAW,GAAGL,qBAAqB,CAACC,OAAD,CAAzC;AAEA,wBAAO;AAAK,MAAA,GAAG,EAAEG;AAAV,OAAkBC,WAAlB,CAAP;AACD,GAJD;;AAMA,QAAMC,YAAY,GAAG,CAAC;AAACJ,IAAAA,IAAI,EAAE,MAAP;AAAeK,IAAAA,GAAG,EAAE;AAApB,GAAD,EAA8B,GAAGR,QAAjC,EAA2CS,GAA3C,CAA+CP,OAAO,iBACzE;AAAK,IAAA,GAAG,EAAEA,OAAO,CAACM;AAAlB,KAAwBJ,YAAY,CAACF,OAAD,CAApC,CADmB,CAArB;AAGA,sBACE;AAAK,IAAA,SAAS,EAAEX,KAAK,CAACmB,OAAtB;AAA+B,iBAAU;AAAzC,KACGH,YADH,CADF;AAKD,CAnCD;;AAqCAT,SAAS,CAACF,SAAV,2CAAsB;AACpBF,EAAAA,IAAI,EAAEF,IAAI,CAACI,SAAL,CAAeF,IADD;AAEpBC,EAAAA,OAAO,EAAEH,IAAI,CAACI,SAAL,CAAeD,OAFJ;AAGpBK,EAAAA,QAAQ,EAAEhB,SAAS,CAAC2B,OAAV,CACR3B,SAAS,CAAC4B,SAAV,CAAoB,CAClB5B,SAAS,CAACa,KAAV,CAAgBV,iBAAiB,CAACS,SAAlC,CADkB,EAElBZ,SAAS,CAACa,KAAV,CAAgBT,SAAS,CAACQ,SAA1B,CAFkB,EAGlBZ,SAAS,CAACa,KAAV,CAAgBR,QAAQ,CAACO,SAAzB,CAHkB,EAIlBZ,SAAS,CAACa,KAAV,CAAgBP,WAAW,CAACM,SAA5B,CAJkB,CAApB,CADQ;AAHU,CAAtB;AAYA,eAAeE,SAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Slide from '../../../atom/slide';\nimport HeroCard from '../../../molecule/hero';\nimport BattleRequestList from '../../../molecule/dashboard/battle-request-list';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport NewsList from '../../../molecule/dashboard/news-list';\nimport StartBattle from '../../../molecule/dashboard/start-battle';\nimport style from './style.css';\n\nconst Hero = React.memo(function Hero({hero, welcome}) {\n return <div className={style.hero}>{hero ? <HeroCard {...hero} /> : <Slide {...welcome} />}</div>;\n});\n\nHero.propTypes = {\n hero: PropTypes.shape(HeroCard.propTypes),\n welcome: PropTypes.shape(Slide.propTypes)\n};\n\nconst Dashboard = props => {\n const {sections = [], hero, welcome} = props;\n\n const buildSectionComponent = section => {\n const {type} = section;\n switch (type) {\n case 'hero':\n return <Hero hero={hero} welcome={welcome} />;\n case 'battleRequests':\n return <BattleRequestList {...section} />;\n case 'cards':\n return <CardsList {...section} />;\n case 'news':\n return <NewsList {...section} />;\n case 'battle':\n return <StartBattle {...section} />;\n default:\n return null;\n }\n };\n\n const buildSection = (section, index) => {\n const sectionView = buildSectionComponent(section);\n\n return <div key={index}>{sectionView}</div>;\n };\n\n const sectionsList = [{type: 'hero', key: 'hero'}, ...sections].map(section => (\n <div key={section.key}>{buildSection(section)}</div>\n ));\n return (\n <div className={style.wrapper} data-name=\"dashboard\">\n {sectionsList}\n </div>\n );\n};\n\nDashboard.propTypes = {\n hero: Hero.propTypes.hero,\n welcome: Hero.propTypes.welcome,\n sections: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape(BattleRequestList.propTypes),\n PropTypes.shape(CardsList.propTypes),\n PropTypes.shape(NewsList.propTypes),\n PropTypes.shape(StartBattle.propTypes)\n ])\n )\n};\nexport default Dashboard;\n"],"file":"index.js"}
@@ -17,7 +17,7 @@ const {
17
17
  props
18
18
  } = Default;
19
19
  export default {
20
- props: _extends({}, props, {
20
+ props: _extends(_extends({}, props), {}, {
21
21
  sections: [_defaultsDeep(requestsProps, {
22
22
  type: 'battleRequests',
23
23
  key: 'battleRequests'
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/common/dashboard/test/fixtures/empty-requests.js"],"names":["BattleRequestList","CardsList","ManyCardsList","NewsList","StartBattle","Default","requestsProps","props","cardsProps","manyCardsProps","newsProps","battleProps","sections","type","key"],"mappings":";;;;AACA,OAAOA,iBAAP,MAA8B,2EAA9B;AACA,OAAOC,SAAP,MAAsB,oEAAtB;AACA,OAAOC,aAAP,MAA0B,iEAA1B;AACA,OAAOC,QAAP,MAAqB,mEAArB;AACA,OAAOC,WAAP,MAAwB,sEAAxB;AACA,OAAOC,OAAP,MAAoB,WAApB;AAEA,MAAMC,aAAa,GAAGN,iBAAiB,CAACO,KAAxC;AACA,MAAMC,UAAU,GAAGP,SAAS,CAACM,KAA7B;AACA,MAAME,cAAc,GAAGP,aAAa,CAACK,KAArC;AACA,MAAMG,SAAS,GAAGP,QAAQ,CAACI,KAA3B;AACA,MAAMI,WAAW,GAAGP,WAAW,CAACG,KAAhC;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUF,OAAhB;AAEA,eAAe;AACbE,EAAAA,KAAK,eACAA,KADA;AAEHK,IAAAA,QAAQ,EAAE,CACR,cAAaN,aAAb,EAA4B;AAC1BO,MAAAA,IAAI,EAAE,gBADoB;AAE1BC,MAAAA,GAAG,EAAE;AAFqB,KAA5B,CADQ,EAKR,cAAaN,UAAb,EAAyB;AACvBK,MAAAA,IAAI,EAAE,OADiB;AAEvBC,MAAAA,GAAG,EAAE;AAFkB,KAAzB,CALQ,EASR,cAAaL,cAAb,EAA6B;AAC3BI,MAAAA,IAAI,EAAE,OADqB;AAE3BC,MAAAA,GAAG,EAAE;AAFsB,KAA7B,CATQ,EAaR,cAAaH,WAAb,EAA0B;AACxBE,MAAAA,IAAI,EAAE,QADkB;AAExBC,MAAAA,GAAG,EAAE;AAFmB,KAA1B,CAbQ,EAiBR,cAAaJ,SAAb,EAAwB;AACtBG,MAAAA,IAAI,EAAE,MADgB;AAEtBC,MAAAA,GAAG,EAAE;AAFiB,KAAxB,CAjBQ;AAFP;AADQ,CAAf","sourcesContent":["import {defaultsDeep} from 'lodash/fp';\nimport BattleRequestList from '../../../../../molecule/dashboard/battle-request-list/test/fixtures/empty';\nimport CardsList from '../../../../../molecule/dashboard/cards-list/test/fixtures/default';\nimport ManyCardsList from '../../../../../molecule/dashboard/cards-list/test/fixtures/many';\nimport NewsList from '../../../../../molecule/dashboard/news-list/test/fixtures/default';\nimport StartBattle from '../../../../../molecule/dashboard/start-battle/test/fixtures/default';\nimport Default from './default';\n\nconst requestsProps = BattleRequestList.props;\nconst cardsProps = CardsList.props;\nconst manyCardsProps = ManyCardsList.props;\nconst newsProps = NewsList.props;\nconst battleProps = StartBattle.props;\n\nconst {props} = Default;\n\nexport default {\n props: {\n ...props,\n sections: [\n defaultsDeep(requestsProps, {\n type: 'battleRequests',\n key: 'battleRequests'\n }),\n defaultsDeep(cardsProps, {\n type: 'cards',\n key: 'playlist1'\n }),\n defaultsDeep(manyCardsProps, {\n type: 'cards',\n key: 'playlist1'\n }),\n defaultsDeep(battleProps, {\n type: 'battle',\n key: 'battle'\n }),\n defaultsDeep(newsProps, {\n type: 'news',\n key: 'news'\n })\n ]\n }\n};\n"],"file":"empty-requests.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/common/dashboard/test/fixtures/empty-requests.js"],"names":["BattleRequestList","CardsList","ManyCardsList","NewsList","StartBattle","Default","requestsProps","props","cardsProps","manyCardsProps","newsProps","battleProps","sections","type","key"],"mappings":";;;;AACA,OAAOA,iBAAP,MAA8B,2EAA9B;AACA,OAAOC,SAAP,MAAsB,oEAAtB;AACA,OAAOC,aAAP,MAA0B,iEAA1B;AACA,OAAOC,QAAP,MAAqB,mEAArB;AACA,OAAOC,WAAP,MAAwB,sEAAxB;AACA,OAAOC,OAAP,MAAoB,WAApB;AAEA,MAAMC,aAAa,GAAGN,iBAAiB,CAACO,KAAxC;AACA,MAAMC,UAAU,GAAGP,SAAS,CAACM,KAA7B;AACA,MAAME,cAAc,GAAGP,aAAa,CAACK,KAArC;AACA,MAAMG,SAAS,GAAGP,QAAQ,CAACI,KAA3B;AACA,MAAMI,WAAW,GAAGP,WAAW,CAACG,KAAhC;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUF,OAAhB;AAEA,eAAe;AACbE,EAAAA,KAAK,wBACAA,KADA;AAEHK,IAAAA,QAAQ,EAAE,CACR,cAAaN,aAAb,EAA4B;AAC1BO,MAAAA,IAAI,EAAE,gBADoB;AAE1BC,MAAAA,GAAG,EAAE;AAFqB,KAA5B,CADQ,EAKR,cAAaN,UAAb,EAAyB;AACvBK,MAAAA,IAAI,EAAE,OADiB;AAEvBC,MAAAA,GAAG,EAAE;AAFkB,KAAzB,CALQ,EASR,cAAaL,cAAb,EAA6B;AAC3BI,MAAAA,IAAI,EAAE,OADqB;AAE3BC,MAAAA,GAAG,EAAE;AAFsB,KAA7B,CATQ,EAaR,cAAaH,WAAb,EAA0B;AACxBE,MAAAA,IAAI,EAAE,QADkB;AAExBC,MAAAA,GAAG,EAAE;AAFmB,KAA1B,CAbQ,EAiBR,cAAaJ,SAAb,EAAwB;AACtBG,MAAAA,IAAI,EAAE,MADgB;AAEtBC,MAAAA,GAAG,EAAE;AAFiB,KAAxB,CAjBQ;AAFP;AADQ,CAAf","sourcesContent":["import {defaultsDeep} from 'lodash/fp';\nimport BattleRequestList from '../../../../../molecule/dashboard/battle-request-list/test/fixtures/empty';\nimport CardsList from '../../../../../molecule/dashboard/cards-list/test/fixtures/default';\nimport ManyCardsList from '../../../../../molecule/dashboard/cards-list/test/fixtures/many';\nimport NewsList from '../../../../../molecule/dashboard/news-list/test/fixtures/default';\nimport StartBattle from '../../../../../molecule/dashboard/start-battle/test/fixtures/default';\nimport Default from './default';\n\nconst requestsProps = BattleRequestList.props;\nconst cardsProps = CardsList.props;\nconst manyCardsProps = ManyCardsList.props;\nconst newsProps = NewsList.props;\nconst battleProps = StartBattle.props;\n\nconst {props} = Default;\n\nexport default {\n props: {\n ...props,\n sections: [\n defaultsDeep(requestsProps, {\n type: 'battleRequests',\n key: 'battleRequests'\n }),\n defaultsDeep(cardsProps, {\n type: 'cards',\n key: 'playlist1'\n }),\n defaultsDeep(manyCardsProps, {\n type: 'cards',\n key: 'playlist1'\n }),\n defaultsDeep(battleProps, {\n type: 'battle',\n key: 'battle'\n }),\n defaultsDeep(newsProps, {\n type: 'news',\n key: 'news'\n })\n ]\n }\n};\n"],"file":"empty-requests.js"}
@@ -6,7 +6,7 @@ const {
6
6
  props
7
7
  } = Default;
8
8
  export default {
9
- props: _extends({}, props, {
9
+ props: _extends(_extends({}, props), {}, {
10
10
  hero: heroCardFixtures.props
11
11
  })
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/common/dashboard/test/fixtures/with-hero-card.js"],"names":["heroCardFixtures","Default","props","hero"],"mappings":";;AAAA,OAAOA,gBAAP,MAA6B,iDAA7B;AACA,OAAOC,OAAP,MAAoB,WAApB;AAEA,MAAM;AAACC,EAAAA;AAAD,IAAUD,OAAhB;AAEA,eAAe;AACbC,EAAAA,KAAK,eACAA,KADA;AAEHC,IAAAA,IAAI,EAAEH,gBAAgB,CAACE;AAFpB;AADQ,CAAf","sourcesContent":["import heroCardFixtures from '../../../../../molecule/hero/test/fixtures/hero';\nimport Default from './default';\n\nconst {props} = Default;\n\nexport default {\n props: {\n ...props,\n hero: heroCardFixtures.props\n }\n};\n"],"file":"with-hero-card.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/common/dashboard/test/fixtures/with-hero-card.js"],"names":["heroCardFixtures","Default","props","hero"],"mappings":";;AAAA,OAAOA,gBAAP,MAA6B,iDAA7B;AACA,OAAOC,OAAP,MAAoB,WAApB;AAEA,MAAM;AAACC,EAAAA;AAAD,IAAUD,OAAhB;AAEA,eAAe;AACbC,EAAAA,KAAK,wBACAA,KADA;AAEHC,IAAAA,IAAI,EAAEH,gBAAgB,CAACE;AAFpB;AADQ,CAAf","sourcesContent":["import heroCardFixtures from '../../../../../molecule/hero/test/fixtures/hero';\nimport Default from './default';\n\nconst {props} = Default;\n\nexport default {\n props: {\n ...props,\n hero: heroCardFixtures.props\n }\n};\n"],"file":"with-hero-card.js"}
@@ -30,7 +30,7 @@ const {
30
30
  content,
31
31
  levels
32
32
  } = disciplineScope.props;
33
- content.discussion = _extends({}, ForumComment.props, {
33
+ content.discussion = _extends(_extends({}, ForumComment.props), {}, {
34
34
  title: 'Sandbox discussion',
35
35
  threads
36
36
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/common/discipline/test/fixtures/add-to-my-list.js"],"names":["disciplineHeader","disciplinePartners","disciplineCTA","disciplineScope","Thread","ForumComment","thread","props","threads","map","title","description","video","start","buy","startLabel","buyLabel","authors","content","levels","discussion","selected","changeLevel","level","shareWording","shareText","shareSuccessWording","shareErrorWording","addToMyListButton","favorite","onFavoriteClick","cb","addToMyListText","removeFromMyListText","disableAddToMyList","disableShare"],"mappings":";;;;;;AACA,OAAOA,gBAAP,MAA6B,0EAA7B;AACA,OAAOC,kBAAP,MAA+B,qEAA/B;AACA,OAAOC,aAAP,MAA0B,8DAA1B;AACA,OAAOC,eAAP,MAA4B,+DAA5B;AACA,OAAOC,MAAP,MAAmB,kEAAnB;AACA,OAAOC,YAAP,MAAyB,mEAAzB;AAEA,MAAMC,MAAM,GAAGF,MAAM,CAACG,KAAtB;AAEA,MAAMC,OAAO,GAAG,CAACF,MAAD,EAASG,GAAT,CAAa,QAAO,IAAP,EAAa,MAAM,WAAnB,CAAb,CAAhB;AAEA,MAAM;AAACC,EAAAA,KAAD;AAAQC,EAAAA,WAAR;AAAqBC,EAAAA;AAArB,IAA8BZ,gBAAgB,CAACO,KAArD;AACA,MAAM;AAACM,EAAAA,KAAD;AAAQC,EAAAA,GAAR;AAAaC,EAAAA,UAAb;AAAyBC,EAAAA;AAAzB,IAAqCd,aAAa,CAACK,KAAzD;AACA,MAAM;AAACU,EAAAA;AAAD,IAAYhB,kBAAkB,CAACM,KAArC;AACA,MAAM;AAACW,EAAAA,OAAD;AAAUC,EAAAA;AAAV,IAAoBhB,eAAe,CAACI,KAA1C;AAEAW,OAAO,CAACE,UAAR,gBACKf,YAAY,CAACE,KADlB;AAEEG,EAAAA,KAAK,EAAE,oBAFT;AAGEF,EAAAA;AAHF;AAKA,eAAe;AACbD,EAAAA,KAAK,EAAE;AACLc,IAAAA,QAAQ,EAAE,CADL;AAELR,IAAAA,KAFK;AAGLC,IAAAA,GAHK;AAILC,IAAAA,UAJK;AAKLC,IAAAA,QALK;AAMLN,IAAAA,KANK;AAOLC,IAAAA,WAPK;AAQLC,IAAAA,KARK;AASLK,IAAAA,OAAO,EAAE,CAAC,MAAKA,OAAL,CAAD,CATJ;AAULK,IAAAA,WAAW,EAAE,MAAM,IAVd;AAWLC,IAAAA,KAAK,EAAEL,OAXF;AAYLC,IAAAA,MAZK;AAaLK,IAAAA,YAAY,EAAE,OAbT;AAcLC,IAAAA,SAAS,EAAE,YAdN;AAeLC,IAAAA,mBAAmB,EAAE,SAfhB;AAgBLC,IAAAA,iBAAiB,EAAE,OAhBd;AAiBLC,IAAAA,iBAAiB,EAAE,mBAjBd;AAkBLC,IAAAA,QAAQ,EAAE,IAlBL;AAmBLC,IAAAA,eAAe,EAAEC,EAAE,IAAIA,EAAE,EAnBpB;AAoBLC,IAAAA,eAAe,EAAE,oBApBZ;AAqBLC,IAAAA,oBAAoB,EAAE,wBArBjB;AAsBLC,IAAAA,kBAAkB,EAAE,KAtBf;AAuBLC,IAAAA,YAAY,EAAE;AAvBT;AADM,CAAf","sourcesContent":["import {update, uniqueId, head} from 'lodash/fp';\nimport disciplineHeader from '../../../../../molecule/discipline-header/test/fixtures/long-description';\nimport disciplinePartners from '../../../../../molecule/discipline-partners/test/fixtures/more-info';\nimport disciplineCTA from '../../../../../molecule/discipline-cta/test/fixtures/default';\nimport disciplineScope from '../../../../../molecule/discipline-scope/test/fixtures/medias';\nimport Thread from '../../../../../molecule/forum/forum-thread/test/fixtures/default';\nimport ForumComment from '../../../../../molecule/forum/forum-comment/test/fixtures/default';\n\nconst thread = Thread.props;\n\nconst threads = [thread].map(update('id', () => uniqueId()));\n\nconst {title, description, video} = disciplineHeader.props;\nconst {start, buy, startLabel, buyLabel} = disciplineCTA.props;\nconst {authors} = disciplinePartners.props;\nconst {content, levels} = disciplineScope.props;\n\ncontent.discussion = {\n ...ForumComment.props,\n title: 'Sandbox discussion',\n threads\n};\nexport default {\n props: {\n selected: 2,\n start,\n buy,\n startLabel,\n buyLabel,\n title,\n description,\n video,\n authors: [head(authors)],\n changeLevel: () => true,\n level: content,\n levels,\n shareWording: 'Share',\n shareText: 'Share this',\n shareSuccessWording: 'Success',\n shareErrorWording: 'Error',\n addToMyListButton: 'Danh sách của tôi',\n favorite: true,\n onFavoriteClick: cb => cb(),\n addToMyListText: 'Added to your list',\n removeFromMyListText: 'Removed from your list',\n disableAddToMyList: false,\n disableShare: false\n }\n};\n"],"file":"add-to-my-list.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/common/discipline/test/fixtures/add-to-my-list.js"],"names":["disciplineHeader","disciplinePartners","disciplineCTA","disciplineScope","Thread","ForumComment","thread","props","threads","map","title","description","video","start","buy","startLabel","buyLabel","authors","content","levels","discussion","selected","changeLevel","level","shareWording","shareText","shareSuccessWording","shareErrorWording","addToMyListButton","favorite","onFavoriteClick","cb","addToMyListText","removeFromMyListText","disableAddToMyList","disableShare"],"mappings":";;;;;;AACA,OAAOA,gBAAP,MAA6B,0EAA7B;AACA,OAAOC,kBAAP,MAA+B,qEAA/B;AACA,OAAOC,aAAP,MAA0B,8DAA1B;AACA,OAAOC,eAAP,MAA4B,+DAA5B;AACA,OAAOC,MAAP,MAAmB,kEAAnB;AACA,OAAOC,YAAP,MAAyB,mEAAzB;AAEA,MAAMC,MAAM,GAAGF,MAAM,CAACG,KAAtB;AAEA,MAAMC,OAAO,GAAG,CAACF,MAAD,EAASG,GAAT,CAAa,QAAO,IAAP,EAAa,MAAM,WAAnB,CAAb,CA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AE;AAvBT;AADM,CAAf","sourcesContent":["import {update, uniqueId, head} from 'lodash/fp';\nimport disciplineHeader from '../../../../../molecule/discipline-header/test/fixtures/long-description';\nimport disciplinePartners from '../../../../../molecule/discipline-partners/test/fixtures/more-info';\nimport disciplineCTA from '../../../../../molecule/discipline-cta/test/fixtures/default';\nimport disciplineScope from '../../../../../molecule/discipline-scope/test/fixtures/medias';\nimport Thread from '../../../../../molecule/forum/forum-thread/test/fixtures/default';\nimport ForumComment from '../../../../../molecule/forum/forum-comment/test/fixtures/default';\n\nconst thread = Thread.props;\n\nconst threads = [thread].map(update('id', () => uniqueId()));\n\nconst {title, description, video} = disciplineHeader.props;\nconst {start, buy, startLabel, buyLabel} = disciplineCTA.props;\nconst {authors} = disciplinePartners.props;\nconst {content, levels} = disciplineScope.props;\n\ncontent.discussion = {\n ...ForumComment.props,\n title: 'Sandbox discussion',\n threads\n};\nexport default {\n props: {\n selected: 2,\n start,\n buy,\n startLabel,\n buyLabel,\n title,\n description,\n video,\n authors: [head(authors)],\n changeLevel: () => true,\n level: content,\n levels,\n shareWording: 'Share',\n shareText: 'Share this',\n shareSuccessWording: 'Success',\n shareErrorWording: 'Error',\n addToMyListButton: 'Danh sách của tôi',\n favorite: true,\n onFavoriteClick: cb => cb(),\n addToMyListText: 'Added to your list',\n removeFromMyListText: 'Removed from your list',\n disableAddToMyList: false,\n disableShare: false\n }\n};\n"],"file":"add-to-my-list.js"}
@@ -33,7 +33,7 @@ const {
33
33
  content,
34
34
  levels
35
35
  } = disciplineScope.props;
36
- content.discussion = _extends({}, ForumComment.props, {
36
+ content.discussion = _extends(_extends({}, ForumComment.props), {}, {
37
37
  title: 'Sandbox discussion',
38
38
  threads
39
39
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/common/discipline/test/fixtures/arabic.js"],"names":["disciplineHeader","disciplinePartners","disciplineCTA","disciplineScope","Thread","ThreadDeep","ForumComment","thread","props","thread2","threads","map","title","description","video","image","start","buy","startLabel","buyLabel","authors","content","levels","discussion","selected","changeLevel","level","shareWording","shareText","shareSuccessWording","shareErrorWording"],"mappings":";;;;;;AACA,OAAOA,gBAAP,MAA6B,gEAA7B;AACA,OAAOC,kBAAP,MAA+B,qEAA/B;AACA,OAAOC,aAAP,MAA0B,8DAA1B;AACA,OAAOC,eAAP,MAA4B,+DAA5B;AACA,OAAOC,MAAP,MAAmB,kEAAnB;AACA,OAAOC,UAAP,MAAuB,uEAAvB;AACA,OAAOC,YAAP,MAAyB,mEAAzB;AAEA,MAAMC,MAAM,GAAGH,MAAM,CAACI,KAAtB;AACA,MAAMC,OAAO,GAAGJ,UAAU,CAACG,KAA3B;AAEA,MAAME,OAAO,GAAG,CAACH,MAAD,EAASE,OAAT,EAAkBE,GAAlB,CAAsB,QAAO,IAAP,EAAa,MAAM,WAAnB,CAAtB,CAAhB;AAEA,MAAM;AAACC,EAAAA,KAAD;AAAQC,EAAAA,WAAR;AAAqBC,EAAAA,KAArB;AAA4BC,EAAAA;AAA5B,IAAqCf,gBAAgB,CAACQ,KAA5D;AACA,MAAM;AAACQ,EAAAA,KAAD;AAAQC,EAAAA,GAAR;AAAaC,EAAAA,UAAb;AAAyBC,EAAAA;AAAzB,IAAqCjB,aAAa,CAACM,KAAzD;AACA,MAAM;AAACY,EAAAA;AAAD,IAAYnB,kBAAkB,CAACO,KAArC;AACA,MAAM;AAACa,EAAAA,OAAD;AAAUC,EAAAA;AAAV,IAAoBnB,eAAe,CAACK,KAA1C;AAEAa,OAAO,CAACE,UAAR,gBACKjB,YAAY,CAACE,KADlB;AAEEI,EAAAA,KAAK,EAAE,oBAFT;AAGEF,EAAAA;AAHF;AAKA,eAAe;AACbF,EAAAA,KAAK,EAAE;AACLgB,IAAAA,QAAQ,EAAE,CADL;AAELR,IAAAA,KAFK;AAGLC,IAAAA,GAHK;AAILC,IAAAA,UAJK;AAKLC,IAAAA,QALK;AAMLP,IAAAA,KANK;AAOLC,IAAAA,WAPK;AAQLE,IAAAA,KARK;AASLD,IAAAA,KATK;AAULM,IAAAA,OAAO,EAAE,CAAC,MAAKA,OAAL,CAAD,CAVJ;AAWLK,IAAAA,WAAW,EAAE,MAAM,IAXd;AAYLC,IAAAA,KAAK,EAAEL,OAZF;AAaLC,IAAAA,MAbK;AAcLK,IAAAA,YAAY,EAAE,OAdT;AAeLC,IAAAA,SAAS,EAAE,YAfN;AAgBLC,IAAAA,mBAAmB,EAAE,SAhBhB;AAiBLC,IAAAA,iBAAiB,EAAE;AAjBd;AADM,CAAf","sourcesContent":["import {update, uniqueId, head} from 'lodash/fp';\nimport disciplineHeader from '../../../../../molecule/discipline-header/test/fixtures/arabic';\nimport disciplinePartners from '../../../../../molecule/discipline-partners/test/fixtures/more-info';\nimport disciplineCTA from '../../../../../molecule/discipline-cta/test/fixtures/default';\nimport disciplineScope from '../../../../../molecule/discipline-scope/test/fixtures/arabic';\nimport Thread from '../../../../../molecule/forum/forum-thread/test/fixtures/default';\nimport ThreadDeep from '../../../../../molecule/forum/forum-thread/test/fixtures/deep-answers';\nimport ForumComment from '../../../../../molecule/forum/forum-comment/test/fixtures/default';\n\nconst thread = Thread.props;\nconst thread2 = ThreadDeep.props;\n\nconst threads = [thread, thread2].map(update('id', () => uniqueId()));\n\nconst {title, description, video, image} = disciplineHeader.props;\nconst {start, buy, startLabel, buyLabel} = disciplineCTA.props;\nconst {authors} = disciplinePartners.props;\nconst {content, levels} = disciplineScope.props;\n\ncontent.discussion = {\n ...ForumComment.props,\n title: 'Sandbox discussion',\n threads\n};\nexport default {\n props: {\n selected: 2,\n start,\n buy,\n startLabel,\n buyLabel,\n title,\n description,\n image,\n video,\n authors: [head(authors)],\n changeLevel: () => true,\n level: content,\n levels,\n shareWording: 'Share',\n shareText: 'Share this',\n shareSuccessWording: 'Success',\n shareErrorWording: 'Error'\n }\n};\n"],"file":"arabic.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/common/discipline/test/fixtures/arabic.js"],"names":["disciplineHeader","disciplinePartners","disciplineCTA","disciplineScope","Thread","ThreadDeep","ForumComment","thread","props","thread2","threads","map","title","description","video","image","start","buy","startLabel","buyLabel","authors","content","levels","discussion","selected","changeLevel","level","shareWording","shareText","shareSuccessWording","shareErrorWording"],"mappings":";;;;;;AACA,OAAOA,gBAAP,MAA6B,gEAA7B;AACA,OAAOC,kBAAP,MAA+B,qEAA/B;AACA,OAAOC,aAAP,MAA0B,8DAA1B;AACA,OAAOC,eAAP,MAA4B,+DAA5B;AACA,OAAOC,MAAP,MAAmB,kEAAnB;AACA,OAAOC,UAAP,MAAuB,uEAAvB;AACA,OAAOC,YAAP,MAAyB,mEAAzB;AAEA,MAAMC,MAAM,GAAGH,MAAM,CAACI,KAAtB;AACA,MAAMC,OAAO,GAAGJ,UAAU,CAACG,KAA3B;AAEA,MAAME,OAAO,GAAG,CAACH,MAAD,EAASE,OAAT,EAAkBE,GAAlB,CAAsB,QAAO,IAAP,EAAa,MAAM,WAAnB,CAAtB,CAAhB;AAEA,MAAM;AAACC,EAAAA,KAAD;AAAQC,EAAAA,WAAR;AAAqBC,EAAAA,KAArB;AAA4BC,EAAAA;AAA5B,IAAqCf,gBAAgB,CAACQ,KAA5D;AACA,MAAM;AAACQ,EAAAA,KAAD;AAAQC,EAAAA,GAAR;AAAaC,EAAAA,UAAb;AAAyBC,EAAAA;AAAzB,IAAqCjB,aAAa,CAACM,KAAzD;AACA,MAAM;AAACY,EAAAA;AAAD,IAAYnB,kBAAkB,CAACO,KAArC;AACA,MAAM;AAACa,EAAAA,OAAD;AAAUC,EAAAA;AAAV,IAAoBnB,eAAe,CAACK,KAA1C;AAEAa,OAAO,CAACE,UAAR,yBACKjB,YAAY,CAACE,KADlB;AAEEI,EAAAA,KAAK,EAAE,oBAFT;AAGEF,EAAAA;AAHF;AAKA,eAAe;AACbF,EAAAA,KAAK,EAAE;AACLgB,IAAAA,QAAQ,EAAE,CADL;AAELR,IAAAA,KAFK;AAGLC,IAAAA,GAHK;AAILC,IAAAA,UAJK;AAKLC,IAAAA,QALK;AAMLP,IAAAA,KANK;AAOLC,IAAAA,WAPK;AAQLE,IAAAA,KARK;AASLD,IAAAA,KATK;AAULM,IAAAA,OAAO,EAAE,CAAC,MAAKA,OAAL,CAAD,CAVJ;AAWLK,IAAAA,WAAW,EAAE,MAAM,IAXd;AAYLC,IAAAA,KAAK,EAAEL,OAZF;AAaLC,IAAAA,MAbK;AAcLK,IAAAA,YAAY,EAAE,OAdT;AAeLC,IAAAA,SAAS,EAAE,YAfN;AAgBLC,IAAAA,mBAAmB,EAAE,SAhBhB;AAiBLC,IAAAA,iBAAiB,EAAE;AAjBd;AADM,CAAf","sourcesContent":["import {update, uniqueId, head} from 'lodash/fp';\nimport disciplineHeader from '../../../../../molecule/discipline-header/test/fixtures/arabic';\nimport disciplinePartners from '../../../../../molecule/discipline-partners/test/fixtures/more-info';\nimport disciplineCTA from '../../../../../molecule/discipline-cta/test/fixtures/default';\nimport disciplineScope from '../../../../../molecule/discipline-scope/test/fixtures/arabic';\nimport Thread from '../../../../../molecule/forum/forum-thread/test/fixtures/default';\nimport ThreadDeep from '../../../../../molecule/forum/forum-thread/test/fixtures/deep-answers';\nimport ForumComment from '../../../../../molecule/forum/forum-comment/test/fixtures/default';\n\nconst thread = Thread.props;\nconst thread2 = ThreadDeep.props;\n\nconst threads = [thread, thread2].map(update('id', () => uniqueId()));\n\nconst {title, description, video, image} = disciplineHeader.props;\nconst {start, buy, startLabel, buyLabel} = disciplineCTA.props;\nconst {authors} = disciplinePartners.props;\nconst {content, levels} = disciplineScope.props;\n\ncontent.discussion = {\n ...ForumComment.props,\n title: 'Sandbox discussion',\n threads\n};\nexport default {\n props: {\n selected: 2,\n start,\n buy,\n startLabel,\n buyLabel,\n title,\n description,\n image,\n video,\n authors: [head(authors)],\n changeLevel: () => true,\n level: content,\n levels,\n shareWording: 'Share',\n shareText: 'Share this',\n shareSuccessWording: 'Success',\n shareErrorWording: 'Error'\n }\n};\n"],"file":"arabic.js"}
@@ -44,8 +44,8 @@ export default {
44
44
  video,
45
45
  authors: [_head(authors)],
46
46
  changeLevel: () => true,
47
- level: _extends({}, content, {
48
- discussion: _extends({}, ForumComment.props, {
47
+ level: _extends(_extends({}, content), {}, {
48
+ discussion: _extends(_extends({}, ForumComment.props), {}, {
49
49
  title: 'Sandbox discussion',
50
50
  threads
51
51
  })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/common/discipline/test/fixtures/default.js"],"names":["disciplineHeader","disciplinePartners","disciplineCTA","disciplineScope","Thread","ForumComment","thread","props","threads","map","title","description","video","image","start","buy","startLabel","buyLabel","authors","content","levels","selected","changeLevel","level","discussion","shareWording","shareText","shareSuccessWording","shareErrorWording","addToMyListButton","favorite","onFavoriteClick","cb","addToMyListText","removeFromMyListText"],"mappings":";;;;;;AACA,OAAOA,gBAAP,MAA6B,0EAA7B;AACA,OAAOC,kBAAP,MAA+B,qEAA/B;AACA,OAAOC,aAAP,MAA0B,8DAA1B;AACA,OAAOC,eAAP,MAA4B,+DAA5B;AACA,OAAOC,MAAP,MAAmB,kEAAnB;AACA,OAAOC,YAAP,MAAyB,mEAAzB;AAEA,MAAMC,MAAM,GAAGF,MAAM,CAACG,KAAtB;AAEA,MAAMC,OAAO,GAAG,CAACF,MAAD,EAASG,GAAT,CAAa,QAAO,IAAP,EAAa,MAAM,WAAnB,CAAb,CAAhB;AAEA,MAAM;AAACC,EAAAA,KAAD;AAAQC,EAAAA,WAAR;AAAqBC,EAAAA,KAArB;AAA4BC,EAAAA;AAA5B,IAAqCb,gBAAgB,CAACO,KAA5D;AACA,MAAM;AAACO,EAAAA,KAAD;AAAQC,EAAAA,GAAR;AAAaC,EAAAA,UAAb;AAAyBC,EAAAA;AAAzB,IAAqCf,aAAa,CAACK,KAAzD;AACA,MAAM;AAACW,EAAAA;AAAD,IAAYjB,kBAAkB,CAACM,KAArC;AACA,MAAM;AAACY,EAAAA,OAAD;AAAUC,EAAAA;AAAV,IAAoBjB,eAAe,CAACI,KAA1C;AAEA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLc,IAAAA,QAAQ,EAAE,CADL;AAELP,IAAAA,KAFK;AAGLC,IAAAA,GAHK;AAILC,IAAAA,UAJK;AAKLC,IAAAA,QALK;AAMLP,IAAAA,KANK;AAOLC,IAAAA,WAPK;AAQLE,IAAAA,KARK;AASLD,IAAAA,KATK;AAULM,IAAAA,OAAO,EAAE,CAAC,MAAKA,OAAL,CAAD,CAVJ;AAWLI,IAAAA,WAAW,EAAE,MAAM,IAXd;AAYLC,IAAAA,KAAK,eACAJ,OADA;AAEHK,MAAAA,UAAU,eACLnB,YAAY,CAACE,KADR;AAERG,QAAAA,KAAK,EAAE,oBAFC;AAGRF,QAAAA;AAHQ;AAFP,MAZA;AAoBLY,IAAAA,MApBK;AAqBLK,IAAAA,YAAY,EAAE,OArBT;AAsBLC,IAAAA,SAAS,EAAE,YAtBN;AAuBLC,IAAAA,mBAAmB,EAAE,SAvBhB;AAwBLC,IAAAA,iBAAiB,EAAE,OAxBd;AAyBLC,IAAAA,iBAAiB,EAAE,SAzBd;AA0BLC,IAAAA,QAAQ,EAAE,IA1BL;AA2BLC,IAAAA,eAAe,EAAEC,EAAE,IAAIA,EAAE,EA3BpB;AA4BLC,IAAAA,eAAe,EAAE,oBA5BZ;AA6BLC,IAAAA,oBAAoB,EAAE;AA7BjB;AADM,CAAf","sourcesContent":["import {update, uniqueId, head} from 'lodash/fp';\nimport disciplineHeader from '../../../../../molecule/discipline-header/test/fixtures/long-description';\nimport disciplinePartners from '../../../../../molecule/discipline-partners/test/fixtures/more-info';\nimport disciplineCTA from '../../../../../molecule/discipline-cta/test/fixtures/default';\nimport disciplineScope from '../../../../../molecule/discipline-scope/test/fixtures/medias';\nimport Thread from '../../../../../molecule/forum/forum-thread/test/fixtures/default';\nimport ForumComment from '../../../../../molecule/forum/forum-comment/test/fixtures/default';\n\nconst thread = Thread.props;\n\nconst threads = [thread].map(update('id', () => uniqueId()));\n\nconst {title, description, video, image} = disciplineHeader.props;\nconst {start, buy, startLabel, buyLabel} = disciplineCTA.props;\nconst {authors} = disciplinePartners.props;\nconst {content, levels} = disciplineScope.props;\n\nexport default {\n props: {\n selected: 2,\n start,\n buy,\n startLabel,\n buyLabel,\n title,\n description,\n image,\n video,\n authors: [head(authors)],\n changeLevel: () => true,\n level: {\n ...content,\n discussion: {\n ...ForumComment.props,\n title: 'Sandbox discussion',\n threads\n }\n },\n levels,\n shareWording: 'Share',\n shareText: 'Share this',\n shareSuccessWording: 'Success',\n shareErrorWording: 'Error',\n addToMyListButton: 'My list',\n favorite: true,\n onFavoriteClick: cb => cb(),\n addToMyListText: 'Added to your list',\n removeFromMyListText: 'Removed from your list'\n }\n};\n"],"file":"default.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/common/discipline/test/fixtures/default.js"],"names":["disciplineHeader","disciplinePartners","disciplineCTA","disciplineScope","Thread","ForumComment","thread","props","threads","map","title","description","video","image","start","buy","startLabel","buyLabel","authors","content","levels","selected","changeLevel","level","discussion","shareWording","shareText","shareSuccessWording","shareErrorWording","addToMyListButton","favorite","onFavoriteClick","cb","addToMyListText","removeFromMyListText"],"mappings":";;;;;;AACA,OAAOA,gBAAP,MAA6B,0EAA7B;AACA,OAAOC,kBAAP,MAA+B,qEAA/B;AACA,OAAOC,aAAP,MAA0B,8DAA1B;AACA,OAAOC,eAAP,MAA4B,+DAA5B;AACA,OAAOC,MAAP,MAAmB,kEAAnB;AACA,OAAOC,YAAP,MAAyB,mEAAzB;AAEA,MAAMC,MAAM,GAAGF,MAAM,CAACG,KAAtB;AAEA,MAAMC,OAAO,GAAG,CAACF,MAAD,EAASG,GAAT,CAAa,QAAO,IAAP,EAAa,MAAM,WAAnB,CAAb,CAAhB;AAEA,MAAM;AAACC,EAAAA,KAAD;AAAQC,EAAAA,WAAR;AAAqBC,EAAAA,KAArB;AAA4BC,EAAAA;AAA5B,IAAqCb,gBAAgB,CAACO,KAA5D;AACA,MAAM;AAACO,EAAAA,KAAD;AAAQC,EAAAA,GAAR;AAAaC,EAAAA,UAAb;AAAyBC,EAAAA;AAAzB,IAAqCf,aAAa,CAACK,KAAzD;AACA,MAAM;AAACW,EAAAA;AAAD,IAAYjB,kBAAkB,CAACM,KAArC;AACA,MAAM;AAACY,EAAAA,OAAD;AAAUC,EAAAA;AAAV,IAAoBjB,eAAe,CAACI,KAA1C;AAEA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLc,IAAAA,QAAQ,EAAE,CADL;AAELP,IAAAA,KAFK;AAGLC,IAAAA,GAHK;AAILC,IAAAA,UAJK;AAKLC,IAAAA,QALK;AAMLP,IAAAA,KANK;AAOLC,IAAAA,WAPK;AAQLE,IAAAA,KARK;AASLD,IAAAA,KATK;AAULM,IAAAA,OAAO,EAAE,CAAC,MAAKA,OAAL,CAAD,CAVJ;AAWLI,IAAAA,WAAW,EAAE,MAAM,IAXd;AAYLC,IAAAA,KAAK,wBACAJ,OADA;AAEHK,MAAAA,UAAU,wBACLnB,YAAY,CAACE,KADR;AAERG,QAAAA,KAAK,EAAE,oBAFC;AAGRF,QAAAA;AAHQ;AAFP,MAZA;AAoBLY,IAAAA,MApBK;AAqBLK,IAAAA,YAAY,EAAE,OArBT;AAsBLC,IAAAA,SAAS,EAAE,YAtBN;AAuBLC,IAAAA,mBAAmB,EAAE,SAvBhB;AAwBLC,IAAAA,iBAAiB,EAAE,OAxBd;AAyBLC,IAAAA,iBAAiB,EAAE,SAzBd;AA0BLC,IAAAA,QAAQ,EAAE,IA1BL;AA2BLC,IAAAA,eAAe,EAAEC,EAAE,IAAIA,EAAE,EA3BpB;AA4BLC,IAAAA,eAAe,EAAE,oBA5BZ;AA6BLC,IAAAA,oBAAoB,EAAE;AA7BjB;AADM,CAAf","sourcesContent":["import {update, uniqueId, head} from 'lodash/fp';\nimport disciplineHeader from '../../../../../molecule/discipline-header/test/fixtures/long-description';\nimport disciplinePartners from '../../../../../molecule/discipline-partners/test/fixtures/more-info';\nimport disciplineCTA from '../../../../../molecule/discipline-cta/test/fixtures/default';\nimport disciplineScope from '../../../../../molecule/discipline-scope/test/fixtures/medias';\nimport Thread from '../../../../../molecule/forum/forum-thread/test/fixtures/default';\nimport ForumComment from '../../../../../molecule/forum/forum-comment/test/fixtures/default';\n\nconst thread = Thread.props;\n\nconst threads = [thread].map(update('id', () => uniqueId()));\n\nconst {title, description, video, image} = disciplineHeader.props;\nconst {start, buy, startLabel, buyLabel} = disciplineCTA.props;\nconst {authors} = disciplinePartners.props;\nconst {content, levels} = disciplineScope.props;\n\nexport default {\n props: {\n selected: 2,\n start,\n buy,\n startLabel,\n buyLabel,\n title,\n description,\n image,\n video,\n authors: [head(authors)],\n changeLevel: () => true,\n level: {\n ...content,\n discussion: {\n ...ForumComment.props,\n title: 'Sandbox discussion',\n threads\n }\n },\n levels,\n shareWording: 'Share',\n shareText: 'Share this',\n shareSuccessWording: 'Success',\n shareErrorWording: 'Error',\n addToMyListButton: 'My list',\n favorite: true,\n onFavoriteClick: cb => cb(),\n addToMyListText: 'Added to your list',\n removeFromMyListText: 'Removed from your list'\n }\n};\n"],"file":"default.js"}
@@ -18,7 +18,7 @@ const {
18
18
  video
19
19
  } = disciplineHeader.props;
20
20
  export default {
21
- props: _extends({}, props, {
21
+ props: _extends(_extends({}, props), {}, {
22
22
  popularity: rating,
23
23
  maxPopularity: maxRating,
24
24
  authors,
@@ -26,7 +26,7 @@ export default {
26
26
  buyLabel: null,
27
27
  video,
28
28
  levels: [],
29
- level: _extends({}, props.content, {
29
+ level: _extends(_extends({}, props.content), {}, {
30
30
  title: null
31
31
  })
32
32
  })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/common/discipline/test/fixtures/external-course-with-video.js"],"names":["disciplinePartners","externalCourseCTA","disciplineHeader","Default","props","rating","maxRating","authors","video","popularity","maxPopularity","buy","buyLabel","levels","level","content","title"],"mappings":";;AAAA,OAAOA,kBAAP,MAA+B,qEAA/B;AACA,OAAOC,iBAAP,MAA8B,8DAA9B;AACA,OAAOC,gBAAP,MAA6B,kEAA7B;AACA,OAAOC,OAAP,MAAoB,WAApB;AAEA,MAAM;AAACC,EAAAA;AAAD,IAAUD,OAAhB;AACA,MAAM;AAACE,EAAAA,MAAD;AAASC,EAAAA;AAAT,IAAsBL,iBAAiB,CAACG,KAA9C;AACA,MAAM;AAACG,EAAAA;AAAD,IAAYP,kBAAkB,CAACI,KAArC;AACA,MAAM;AAACI,EAAAA;AAAD,IAAUN,gBAAgB,CAACE,KAAjC;AACA,eAAe;AACbA,EAAAA,KAAK,eACAA,KADA;AAEHK,IAAAA,UAAU,EAAEJ,MAFT;AAGHK,IAAAA,aAAa,EAAEJ,SAHZ;AAIHC,IAAAA,OAJG;AAKHI,IAAAA,GAAG,EAAE,IALF;AAMHC,IAAAA,QAAQ,EAAE,IANP;AAOHJ,IAAAA,KAPG;AAQHK,IAAAA,MAAM,EAAE,EARL;AASHC,IAAAA,KAAK,eAAMV,KAAK,CAACW,OAAZ;AAAqBC,MAAAA,KAAK,EAAE;AAA5B;AATF;AADQ,CAAf","sourcesContent":["import disciplinePartners from '../../../../../molecule/discipline-partners/test/fixtures/more-info';\nimport externalCourseCTA from '../../../../../molecule/discipline-cta/test/fixtures/default';\nimport disciplineHeader from '../../../../../molecule/discipline-header/test/fixtures/jwplayer';\nimport Default from './default';\n\nconst {props} = Default;\nconst {rating, maxRating} = externalCourseCTA.props;\nconst {authors} = disciplinePartners.props;\nconst {video} = disciplineHeader.props;\nexport default {\n props: {\n ...props,\n popularity: rating,\n maxPopularity: maxRating,\n authors,\n buy: null,\n buyLabel: null,\n video,\n levels: [],\n level: {...props.content, title: null}\n }\n};\n"],"file":"external-course-with-video.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/common/discipline/test/fixtures/external-course-with-video.js"],"names":["disciplinePartners","externalCourseCTA","disciplineHeader","Default","props","rating","maxRating","authors","video","popularity","maxPopularity","buy","buyLabel","levels","level","content","title"],"mappings":";;AAAA,OAAOA,kBAAP,MAA+B,qEAA/B;AACA,OAAOC,iBAAP,MAA8B,8DAA9B;AACA,OAAOC,gBAAP,MAA6B,kEAA7B;AACA,OAAOC,OAAP,MAAoB,WAApB;AAEA,MAAM;AAACC,EAAAA;AAAD,IAAUD,OAAhB;AACA,MAAM;AAACE,EAAAA,MAAD;AAASC,EAAAA;AAAT,IAAsBL,iBAAiB,CAACG,KAA9C;AACA,MAAM;AAACG,EAAAA;AAAD,IAAYP,kBAAkB,CAACI,KAArC;AACA,MAAM;AAACI,EAAAA;AAAD,IAAUN,gBAAgB,CAACE,KAAjC;AACA,eAAe;AACbA,EAAAA,KAAK,wBACAA,KADA;AAEHK,IAAAA,UAAU,EAAEJ,MAFT;AAGHK,IAAAA,aAAa,EAAEJ,SAHZ;AAIHC,IAAAA,OAJG;AAKHI,IAAAA,GAAG,EAAE,IALF;AAMHC,IAAAA,QAAQ,EAAE,IANP;AAOHJ,IAAAA,KAPG;AAQHK,IAAAA,MAAM,EAAE,EARL;AASHC,IAAAA,KAAK,wBAAMV,KAAK,CAACW,OAAZ;AAAqBC,MAAAA,KAAK,EAAE;AAA5B;AATF;AADQ,CAAf","sourcesContent":["import disciplinePartners from '../../../../../molecule/discipline-partners/test/fixtures/more-info';\nimport externalCourseCTA from '../../../../../molecule/discipline-cta/test/fixtures/default';\nimport disciplineHeader from '../../../../../molecule/discipline-header/test/fixtures/jwplayer';\nimport Default from './default';\n\nconst {props} = Default;\nconst {rating, maxRating} = externalCourseCTA.props;\nconst {authors} = disciplinePartners.props;\nconst {video} = disciplineHeader.props;\nexport default {\n props: {\n ...props,\n popularity: rating,\n maxPopularity: maxRating,\n authors,\n buy: null,\n buyLabel: null,\n video,\n levels: [],\n level: {...props.content, title: null}\n }\n};\n"],"file":"external-course-with-video.js"}
@@ -14,14 +14,14 @@ const {
14
14
  authors
15
15
  } = disciplinePartners.props;
16
16
  export default {
17
- props: _extends({}, props, {
17
+ props: _extends(_extends({}, props), {}, {
18
18
  popularity: rating,
19
19
  maxPopularity: maxRating,
20
20
  authors,
21
21
  buy: null,
22
22
  buyLabel: null,
23
23
  levels: [],
24
- level: _extends({}, props.content, {
24
+ level: _extends(_extends({}, props.content), {}, {
25
25
  title: null
26
26
  }),
27
27
  image: null
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/common/discipline/test/fixtures/external-course-without-image.js"],"names":["disciplinePartners","externalCourseCTA","Default","props","rating","maxRating","authors","popularity","maxPopularity","buy","buyLabel","levels","level","content","title","image"],"mappings":";;AAAA,OAAOA,kBAAP,MAA+B,qEAA/B;AACA,OAAOC,iBAAP,MAA8B,8DAA9B;AACA,OAAOC,OAAP,MAAoB,WAApB;AAEA,MAAM;AAACC,EAAAA;AAAD,IAAUD,OAAhB;AACA,MAAM;AAACE,EAAAA,MAAD;AAASC,EAAAA;AAAT,IAAsBJ,iBAAiB,CAACE,KAA9C;AACA,MAAM;AAACG,EAAAA;AAAD,IAAYN,kBAAkB,CAACG,KAArC;AAEA,eAAe;AACbA,EAAAA,KAAK,eACAA,KADA;AAEHI,IAAAA,UAAU,EAAEH,MAFT;AAGHI,IAAAA,aAAa,EAAEH,SAHZ;AAIHC,IAAAA,OAJG;AAKHG,IAAAA,GAAG,EAAE,IALF;AAMHC,IAAAA,QAAQ,EAAE,IANP;AAOHC,IAAAA,MAAM,EAAE,EAPL;AAQHC,IAAAA,KAAK,eAAMT,KAAK,CAACU,OAAZ;AAAqBC,MAAAA,KAAK,EAAE;AAA5B,MARF;AASHC,IAAAA,KAAK,EAAE;AATJ;AADQ,CAAf","sourcesContent":["import disciplinePartners from '../../../../../molecule/discipline-partners/test/fixtures/more-info';\nimport externalCourseCTA from '../../../../../molecule/discipline-cta/test/fixtures/default';\nimport Default from './default';\n\nconst {props} = Default;\nconst {rating, maxRating} = externalCourseCTA.props;\nconst {authors} = disciplinePartners.props;\n\nexport default {\n props: {\n ...props,\n popularity: rating,\n maxPopularity: maxRating,\n authors,\n buy: null,\n buyLabel: null,\n levels: [],\n level: {...props.content, title: null},\n image: null\n }\n};\n"],"file":"external-course-without-image.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/common/discipline/test/fixtures/external-course-without-image.js"],"names":["disciplinePartners","externalCourseCTA","Default","props","rating","maxRating","authors","popularity","maxPopularity","buy","buyLabel","levels","level","content","title","image"],"mappings":";;AAAA,OAAOA,kBAAP,MAA+B,qEAA/B;AACA,OAAOC,iBAAP,MAA8B,8DAA9B;AACA,OAAOC,OAAP,MAAoB,WAApB;AAEA,MAAM;AAACC,EAAAA;AAAD,IAAUD,OAAhB;AACA,MAAM;AAACE,EAAAA,MAAD;AAASC,EAAAA;AAAT,IAAsBJ,iBAAiB,CAACE,KAA9C;AACA,MAAM;AAACG,EAAAA;AAAD,IAAYN,kBAAkB,CAACG,KAArC;AAEA,eAAe;AACbA,EAAAA,KAAK,wBACAA,KADA;AAEHI,IAAAA,UAAU,EAAEH,MAFT;AAGHI,IAAAA,aAAa,EAAEH,SAHZ;AAIHC,IAAAA,OAJG;AAKHG,IAAAA,GAAG,EAAE,IALF;AAMHC,IAAAA,QAAQ,EAAE,IANP;AAOHC,IAAAA,MAAM,EAAE,EAPL;AAQHC,IAAAA,KAAK,wBAAMT,KAAK,CAACU,OAAZ;AAAqBC,MAAAA,KAAK,EAAE;AAA5B,MARF;AASHC,IAAAA,KAAK,EAAE;AATJ;AADQ,CAAf","sourcesContent":["import disciplinePartners from '../../../../../molecule/discipline-partners/test/fixtures/more-info';\nimport externalCourseCTA from '../../../../../molecule/discipline-cta/test/fixtures/default';\nimport Default from './default';\n\nconst {props} = Default;\nconst {rating, maxRating} = externalCourseCTA.props;\nconst {authors} = disciplinePartners.props;\n\nexport default {\n props: {\n ...props,\n popularity: rating,\n maxPopularity: maxRating,\n authors,\n buy: null,\n buyLabel: null,\n levels: [],\n level: {...props.content, title: null},\n image: null\n }\n};\n"],"file":"external-course-without-image.js"}
@@ -18,7 +18,7 @@ const {
18
18
  image
19
19
  } = disciplineHeader.props;
20
20
  export default {
21
- props: _extends({}, props, {
21
+ props: _extends(_extends({}, props), {}, {
22
22
  popularity: rating,
23
23
  maxPopularity: maxRating,
24
24
  authors,
@@ -27,7 +27,7 @@ export default {
27
27
  video: null,
28
28
  image,
29
29
  levels: [],
30
- level: _extends({}, props.content, {
30
+ level: _extends(_extends({}, props.content), {}, {
31
31
  title: null,
32
32
  discussion: {}
33
33
  })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/common/discipline/test/fixtures/external-course.js"],"names":["disciplinePartners","externalCourseCTA","disciplineHeader","Default","props","rating","maxRating","authors","image","popularity","maxPopularity","buy","buyLabel","video","levels","level","content","title","discussion"],"mappings":";;AAAA,OAAOA,kBAAP,MAA+B,qEAA/B;AACA,OAAOC,iBAAP,MAA8B,8DAA9B;AACA,OAAOC,gBAAP,MAA6B,kEAA7B;AACA,OAAOC,OAAP,MAAoB,WAApB;AAEA,MAAM;AAACC,EAAAA;AAAD,IAAUD,OAAhB;AACA,MAAM;AAACE,EAAAA,MAAD;AAASC,EAAAA;AAAT,IAAsBL,iBAAiB,CAACG,KAA9C;AACA,MAAM;AAACG,EAAAA;AAAD,IAAYP,kBAAkB,CAACI,KAArC;AACA,MAAM;AAACI,EAAAA;AAAD,IAAUN,gBAAgB,CAACE,KAAjC;AACA,eAAe;AACbA,EAAAA,KAAK,eACAA,KADA;AAEHK,IAAAA,UAAU,EAAEJ,MAFT;AAGHK,IAAAA,aAAa,EAAEJ,SAHZ;AAIHC,IAAAA,OAJG;AAKHI,IAAAA,GAAG,EAAE,IALF;AAMHC,IAAAA,QAAQ,EAAE,IANP;AAOHC,IAAAA,KAAK,EAAE,IAPJ;AAQHL,IAAAA,KARG;AASHM,IAAAA,MAAM,EAAE,EATL;AAUHC,IAAAA,KAAK,eAAMX,KAAK,CAACY,OAAZ;AAAqBC,MAAAA,KAAK,EAAE,IAA5B;AAAkCC,MAAAA,UAAU,EAAE;AAA9C;AAVF;AADQ,CAAf","sourcesContent":["import disciplinePartners from '../../../../../molecule/discipline-partners/test/fixtures/more-info';\nimport externalCourseCTA from '../../../../../molecule/discipline-cta/test/fixtures/default';\nimport disciplineHeader from '../../../../../molecule/discipline-header/test/fixtures/no-video';\nimport Default from './default';\n\nconst {props} = Default;\nconst {rating, maxRating} = externalCourseCTA.props;\nconst {authors} = disciplinePartners.props;\nconst {image} = disciplineHeader.props;\nexport default {\n props: {\n ...props,\n popularity: rating,\n maxPopularity: maxRating,\n authors,\n buy: null,\n buyLabel: null,\n video: null,\n image,\n levels: [],\n level: {...props.content, title: null, discussion: {}}\n }\n};\n"],"file":"external-course.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/common/discipline/test/fixtures/external-course.js"],"names":["disciplinePartners","externalCourseCTA","disciplineHeader","Default","props","rating","maxRating","authors","image","popularity","maxPopularity","buy","buyLabel","video","levels","level","content","title","discussion"],"mappings":";;AAAA,OAAOA,kBAAP,MAA+B,qEAA/B;AACA,OAAOC,iBAAP,MAA8B,8DAA9B;AACA,OAAOC,gBAAP,MAA6B,kEAA7B;AACA,OAAOC,OAAP,MAAoB,WAApB;AAEA,MAAM;AAACC,EAAAA;AAAD,IAAUD,OAAhB;AACA,MAAM;AAACE,EAAAA,MAAD;AAASC,EAAAA;AAAT,IAAsBL,iBAAiB,CAACG,KAA9C;AACA,MAAM;AAACG,EAAAA;AAAD,IAAYP,kBAAkB,CAACI,KAArC;AACA,MAAM;AAACI,EAAAA;AAAD,IAAUN,gBAAgB,CAACE,KAAjC;AACA,eAAe;AACbA,EAAAA,KAAK,wBACAA,KADA;AAEHK,IAAAA,UAAU,EAAEJ,MAFT;AAGHK,IAAAA,aAAa,EAAEJ,SAHZ;AAIHC,IAAAA,OAJG;AAKHI,IAAAA,GAAG,EAAE,IALF;AAMHC,IAAAA,QAAQ,EAAE,IANP;AAOHC,IAAAA,KAAK,EAAE,IAPJ;AAQHL,IAAAA,KARG;AASHM,IAAAA,MAAM,EAAE,EATL;AAUHC,IAAAA,KAAK,wBAAMX,KAAK,CAACY,OAAZ;AAAqBC,MAAAA,KAAK,EAAE,IAA5B;AAAkCC,MAAAA,UAAU,EAAE;AAA9C;AAVF;AADQ,CAAf","sourcesContent":["import disciplinePartners from '../../../../../molecule/discipline-partners/test/fixtures/more-info';\nimport externalCourseCTA from '../../../../../molecule/discipline-cta/test/fixtures/default';\nimport disciplineHeader from '../../../../../molecule/discipline-header/test/fixtures/no-video';\nimport Default from './default';\n\nconst {props} = Default;\nconst {rating, maxRating} = externalCourseCTA.props;\nconst {authors} = disciplinePartners.props;\nconst {image} = disciplineHeader.props;\nexport default {\n props: {\n ...props,\n popularity: rating,\n maxPopularity: maxRating,\n authors,\n buy: null,\n buyLabel: null,\n video: null,\n image,\n levels: [],\n level: {...props.content, title: null, discussion: {}}\n }\n};\n"],"file":"external-course.js"}
@@ -30,7 +30,7 @@ const {
30
30
  content,
31
31
  levels
32
32
  } = disciplineScope.props;
33
- content.discussion = _extends({}, ForumComment.props, {
33
+ content.discussion = _extends(_extends({}, ForumComment.props), {}, {
34
34
  title: 'Sandbox discussion',
35
35
  threads
36
36
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/common/discipline/test/fixtures/share.js"],"names":["disciplineHeader","disciplinePartners","disciplineCTA","disciplineScope","Thread","ForumComment","thread","props","threads","map","title","description","video","start","buy","startLabel","buyLabel","authors","content","levels","discussion","selected","changeLevel","level","shareWording","shareText","shareSuccessWording","shareErrorWording","addToMyListButton","favorite","onFavoriteClick","cb","addToMyListText","removeFromMyListText"],"mappings":";;;;;;AACA,OAAOA,gBAAP,MAA6B,0EAA7B;AACA,OAAOC,kBAAP,MAA+B,qEAA/B;AACA,OAAOC,aAAP,MAA0B,8DAA1B;AACA,OAAOC,eAAP,MAA4B,+DAA5B;AACA,OAAOC,MAAP,MAAmB,kEAAnB;AACA,OAAOC,YAAP,MAAyB,mEAAzB;AAEA,MAAMC,MAAM,GAAGF,MAAM,CAACG,KAAtB;AAEA,MAAMC,OAAO,GAAG,CAACF,MAAD,EAASG,GAAT,CAAa,QAAO,IAAP,EAA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lodash/fp';\nimport disciplineHeader from '../../../../../molecule/discipline-header/test/fixtures/long-description';\nimport disciplinePartners from '../../../../../molecule/discipline-partners/test/fixtures/more-info';\nimport disciplineCTA from '../../../../../molecule/discipline-cta/test/fixtures/default';\nimport disciplineScope from '../../../../../molecule/discipline-scope/test/fixtures/medias';\nimport Thread from '../../../../../molecule/forum/forum-thread/test/fixtures/default';\nimport ForumComment from '../../../../../molecule/forum/forum-comment/test/fixtures/default';\n\nconst thread = Thread.props;\n\nconst threads = [thread].map(update('id', () => uniqueId()));\n\nconst {title, description, video} = disciplineHeader.props;\nconst {start, buy, startLabel, buyLabel} = disciplineCTA.props;\nconst {authors} = disciplinePartners.props;\nconst {content, levels} = disciplineScope.props;\n\ncontent.discussion = {\n ...ForumComment.props,\n title: 'Sandbox discussion',\n threads\n};\nexport default {\n props: {\n selected: 2,\n start,\n buy,\n startLabel,\n buyLabel,\n title,\n description,\n video,\n authors: [head(authors)],\n changeLevel: () => true,\n level: content,\n levels,\n shareWording: 'Chia sẻ',\n shareText: 'Share this',\n shareSuccessWording: 'Success',\n shareErrorWording: 'Error',\n addToMyListButton: 'Danh sách của tôi',\n favorite: true,\n onFavoriteClick: cb => cb(),\n addToMyListText: 'Added to your list',\n removeFromMyListText: 'Removed from your list'\n }\n};\n"],"file":"share.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/common/discipline/test/fixtures/share.js"],"names":["disciplineHeader","disciplinePartners","disciplineCTA","disciplineScope","Thread","ForumComment","thread","props","threads","map","title","description","video","start","buy","startLabel","buyLabel","authors","content","levels","discussion","selected","changeLevel","level","shareWording","shareText","shareSuccessWording","shareErrorWording","addToMyListButton","favorite","onFavoriteClick","cb","addToMyListText","removeFromMyListText"],"mappings":";;;;;;AACA,OAAOA,gBAAP,MAA6B,0EAA7B;AACA,OAAOC,kBAAP,MAA+B,qEAA/B;AACA,OAAOC,aAAP,MAA0B,8DAA1B;AACA,OAAOC,eAAP,MAA4B,+DAA5B;AACA,OAAOC,MAA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AAmBLC,IAAAA,eAAe,EAAEC,EAAE,IAAIA,EAAE,EAnBpB;AAoBLC,IAAAA,eAAe,EAAE,oBApBZ;AAqBLC,IAAAA,oBAAoB,EAAE;AArBjB;AADM,CAAf","sourcesContent":["import {update, uniqueId, head} from 'lodash/fp';\nimport disciplineHeader from '../../../../../molecule/discipline-header/test/fixtures/long-description';\nimport disciplinePartners from '../../../../../molecule/discipline-partners/test/fixtures/more-info';\nimport disciplineCTA from '../../../../../molecule/discipline-cta/test/fixtures/default';\nimport disciplineScope from '../../../../../molecule/discipline-scope/test/fixtures/medias';\nimport Thread from '../../../../../molecule/forum/forum-thread/test/fixtures/default';\nimport ForumComment from '../../../../../molecule/forum/forum-comment/test/fixtures/default';\n\nconst thread = Thread.props;\n\nconst threads = [thread].map(update('id', () => uniqueId()));\n\nconst {title, description, video} = disciplineHeader.props;\nconst {start, buy, startLabel, buyLabel} = disciplineCTA.props;\nconst {authors} = disciplinePartners.props;\nconst {content, levels} = disciplineScope.props;\n\ncontent.discussion = {\n ...ForumComment.props,\n title: 'Sandbox discussion',\n threads\n};\nexport default {\n props: {\n selected: 2,\n start,\n buy,\n startLabel,\n buyLabel,\n title,\n description,\n video,\n authors: [head(authors)],\n changeLevel: () => true,\n level: content,\n levels,\n shareWording: 'Chia sẻ',\n shareText: 'Share this',\n shareSuccessWording: 'Success',\n shareErrorWording: 'Error',\n addToMyListButton: 'Danh sách của tôi',\n favorite: true,\n onFavoriteClick: cb => cb(),\n addToMyListText: 'Added to your list',\n removeFromMyListText: 'Removed from your list'\n }\n};\n"],"file":"share.js"}
@@ -84,7 +84,7 @@ export const sections = [_defaultsDeep(cardsProps, {
84
84
  type: 'cards'
85
85
  })];
86
86
  export default {
87
- props: _extends({}, headerProps, {
87
+ props: _extends(_extends({}, headerProps), {}, {
88
88
  sections,
89
89
  isLoading: false
90
90
  })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/template/teams-dashboard/test/fixtures/default.js"],"names":["cardProps","image","adaptiv","certification","type","title","author","certifiedAuthor","badge","customer","coorpOriginal","name","onClick","console","log","manyCardsProps","showMore","cards","onScroll","skip","limit","onShowMore","cardsProps","logo","src","srcMobile","href","platformLinks","submitValue","target","small","logout","headerProps","sections","props","isLoading"],"mappings":";;;;AAEA,MAAMA,SAAS,GAAG;AAChBC,EAAAA,KAAK,EACH,4LAFc;AAGhBC,EAAAA,OAAO,EAAE,KAHO;AAIhBC,EAAAA,aAAa,EAAE,KAJC;AAKhBC,EAAAA,IAAI,EAAE,QALU;AAMhBC,EAAAA,KAAK,EAAE,sDANS;AAOhBC,EAAAA,MAAM,EAAE,cAPQ;AAQhBC,EAAAA,eAAe,EAAE,IARD;AAShBC,EAAAA,KAAK,EAAE,KATS;AAUhBC,EAAAA,QAAQ,EAAE;AACRC,IAAAA,aAAa,EAAE,IADP;AAERC,IAAAA,IAAI,EAAE;AAFE,GAVM;AAchBC,EAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,kBAAZ;AAdC,CAAlB;AAiBA,MAAMC,cAAc,GAAG;AACrBV,EAAAA,KAAK,EAAE,aADc;AAErBW,EAAAA,QAAQ,EAAE,SAFW;AAGrBC,EAAAA,KAAK,EAAE,CACL,cAAajB,SAAb,EAAwB;AAACK,IAAAA,KAAK,EAAE;AAAR,GAAxB,CADK,EAEL,cAAaL,SAAb,EAAwB;AAACK,IAAAA,KAAK,EAAE;AAAR,GAAxB,CAFK,EAGL,cAAaL,SAAb,EAAwB;AAACK,IAAAA,KAAK,EAAE;AAAR,GAAxB,CAHK,EAIL,cAAaL,SAAb,EAAwB;AAACK,IAAAA,KAAK,EAAE;AAAR,GAAxB,CAJK,EAKL,cAAaL,SAAb,EAAwB;AAACK,IAAAA,KAAK,EAAE;AAAR,GAAxB,CALK,EAML,cAAaL,SAAb,EAAwB;AAACK,IAAAA,KAAK,EAAE;AAAR,GAAxB,CANK,EAOL,cAAaL,SAAb,EAAwB;AAACK,IAAAA,KAAK,EAAE;AAAR,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AAE;AAJT,CAD2B,EAO3B;AACEF,EAAAA,WAAW,EAAE,SADf;AAEEF,EAAAA,IAAI,EAAE,GAFR;AAGEG,EAAAA,MAAM,EAAE,OAHV;AAIEC,EAAAA,KAAK,EAAE,KAJT;AAKEC,EAAAA,MAAM,EAAE;AALV,CAP2B,CAAtB;AAgBP,OAAO,MAAMC,WAAW,GAAG;AACzBT,EAAAA,IADyB;AAEzBI,EAAAA;AAFyB,CAApB;AAKP,OAAO,MAAMM,QAAQ,GAAG,CACtB,cAAaX,UAAb,EAAyB;AACvBlB,EAAAA,IAAI,EAAE;AADiB,CAAzB,CADsB,EAItB,cAAaW,cAAb,EAA6B;AAC3BX,EAAAA,IAAI,EAAE;AADqB,CAA7B,CAJsB,CAAjB;AASP,eAAe;AACb8B,EAAAA,KAAK,eACAF,WADA;AAEHC,IAAAA,QAFG;AAGHE,IAAAA,SAAS,EAAE;AAHR;AADQ,CAAf","sourcesContent":["import {defaultsDeep} from 'lodash/fp';\n\nconst cardProps = {\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n adaptiv: false,\n certification: false,\n type: 'course',\n title: 'From Mass Market to One to One targeting Lorem ipsum',\n author: 'Coorpacademy',\n certifiedAuthor: true,\n badge: 'new',\n customer: {\n coorpOriginal: true,\n name: 'Decathlon creation'\n },\n onClick: () => console.log('click everywhere')\n};\n\nconst manyCardsProps = {\n title: 'Most Recent',\n showMore: 'See all',\n cards: [\n defaultsDeep(cardProps, {title: 'First item'}),\n defaultsDeep(cardProps, {title: 'Second item'}),\n defaultsDeep(cardProps, {title: 'Third item'}),\n defaultsDeep(cardProps, {title: 'Fourth item'}),\n defaultsDeep(cardProps, {title: 'Fifth item'}),\n defaultsDeep(cardProps, {title: 'Sixth item'}),\n defaultsDeep(cardProps, {title: 'Seventh item'}),\n defaultsDeep(cardProps, {title: 'Eight item'}),\n defaultsDeep(cardProps, {title: 'Ninth item'}),\n defaultsDeep(cardProps, {title: 'Tenth item'}),\n defaultsDeep(cardProps, {type: 'chapter'})\n ],\n onScroll: (skip, limit) => {\n console.log(skip, limit);\n },\n onShowMore: () => {\n console.log('show More');\n }\n};\n\nconst cardsProps = {\n title: 'Most popular',\n cards: [\n cardProps,\n cardProps,\n cardProps,\n {},\n {},\n {},\n cardProps,\n cardProps,\n cardProps,\n {},\n cardProps,\n cardProps,\n cardProps\n ],\n onScroll: (skip, limit) => {\n console.log(skip, limit);\n }\n};\n\nexport const logo = {\n src: 'https://static.coorpacademy.com/content/up/raw/logo_coorp-1491561426926.svg',\n srcMobile: 'https://static.coorpacademy.com/content/up/raw/logo_mobile-1491561428898.svg',\n href: '#'\n};\n\nexport const platformLinks = [\n {\n submitValue: 'Go to your platform',\n href: 'https://onboarding.coorpacademy.com/dashboard',\n target: '_blank',\n small: false\n },\n {\n submitValue: 'Log out',\n href: '#',\n target: '_self',\n small: false,\n logout: true\n }\n];\n\nexport const headerProps = {\n logo,\n platformLinks\n};\n\nexport const sections = [\n defaultsDeep(cardsProps, {\n type: 'cards'\n }),\n defaultsDeep(manyCardsProps, {\n type: 'cards'\n })\n];\n\nexport default {\n props: {\n ...headerProps,\n sections,\n isLoading: false\n }\n};\n"],"file":"default.js"}
1
+ {"version":3,"sources":["../../../../../src/template/teams-dashboard/test/fixtures/default.js"],"names":["cardProps","image","adaptiv","certification","type","title","author","certifiedAuthor","badge","customer","coorpOriginal","name","onClick","console","log","manyCardsProps","showMore","cards","onScroll","skip","limit","onShowMore","cardsProps","logo","src","srcMobile","href","platformLinks","submitValue","target","small","logout","headerProps","sections","props","isLoading"],"mappings":";;;;AAEA,MAAMA,SAAS,GAAG;AAChBC,EAAAA,KAAK,EACH,4LAFc;AAGhBC,EAAAA,OAAO,EAAE,KAHO;AAIhBC,EAAAA,aAAa,EAAE,KAJC;AAKhBC,EAAAA,IAAI,EAAE,QALU;AAMhBC,EAAAA,KAAK,EA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AA,IAAI,EAAE;AADiB,CAAzB,CADsB,EAItB,cAAaW,cAAb,EAA6B;AAC3BX,EAAAA,IAAI,EAAE;AADqB,CAA7B,CAJsB,CAAjB;AASP,eAAe;AACb8B,EAAAA,KAAK,wBACAF,WADA;AAEHC,IAAAA,QAFG;AAGHE,IAAAA,SAAS,EAAE;AAHR;AADQ,CAAf","sourcesContent":["import {defaultsDeep} from 'lodash/fp';\n\nconst cardProps = {\n image:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/partner-wedemain/fr/medias/img/cover/shutterstock_248741149-1470302136299.jpg&h=500&w=500&q=90',\n adaptiv: false,\n certification: false,\n type: 'course',\n title: 'From Mass Market to One to One targeting Lorem ipsum',\n author: 'Coorpacademy',\n certifiedAuthor: true,\n badge: 'new',\n customer: {\n coorpOriginal: true,\n name: 'Decathlon creation'\n },\n onClick: () => console.log('click everywhere')\n};\n\nconst manyCardsProps = {\n title: 'Most Recent',\n showMore: 'See all',\n cards: [\n defaultsDeep(cardProps, {title: 'First item'}),\n defaultsDeep(cardProps, {title: 'Second item'}),\n defaultsDeep(cardProps, {title: 'Third item'}),\n defaultsDeep(cardProps, {title: 'Fourth item'}),\n defaultsDeep(cardProps, {title: 'Fifth item'}),\n defaultsDeep(cardProps, {title: 'Sixth item'}),\n defaultsDeep(cardProps, {title: 'Seventh item'}),\n defaultsDeep(cardProps, {title: 'Eight item'}),\n defaultsDeep(cardProps, {title: 'Ninth item'}),\n defaultsDeep(cardProps, {title: 'Tenth item'}),\n defaultsDeep(cardProps, {type: 'chapter'})\n ],\n onScroll: (skip, limit) => {\n console.log(skip, limit);\n },\n onShowMore: () => {\n console.log('show More');\n }\n};\n\nconst cardsProps = {\n title: 'Most popular',\n cards: [\n cardProps,\n cardProps,\n cardProps,\n {},\n {},\n {},\n cardProps,\n cardProps,\n cardProps,\n {},\n cardProps,\n cardProps,\n cardProps\n ],\n onScroll: (skip, limit) => {\n console.log(skip, limit);\n }\n};\n\nexport const logo = {\n src: 'https://static.coorpacademy.com/content/up/raw/logo_coorp-1491561426926.svg',\n srcMobile: 'https://static.coorpacademy.com/content/up/raw/logo_mobile-1491561428898.svg',\n href: '#'\n};\n\nexport const platformLinks = [\n {\n submitValue: 'Go to your platform',\n href: 'https://onboarding.coorpacademy.com/dashboard',\n target: '_blank',\n small: false\n },\n {\n submitValue: 'Log out',\n href: '#',\n target: '_self',\n small: false,\n logout: true\n }\n];\n\nexport const headerProps = {\n logo,\n platformLinks\n};\n\nexport const sections = [\n defaultsDeep(cardsProps, {\n type: 'cards'\n }),\n defaultsDeep(manyCardsProps, {\n type: 'cards'\n })\n];\n\nexport default {\n props: {\n ...headerProps,\n sections,\n isLoading: false\n }\n};\n"],"file":"default.js"}
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
2
2
 
3
3
  import { headerProps, sections } from './default';
4
4
  export default {
5
- props: _extends({}, headerProps, {
5
+ props: _extends(_extends({}, headerProps), {}, {
6
6
  sections,
7
7
  isLoading: true
8
8
  })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/template/teams-dashboard/test/fixtures/is-loading.js"],"names":["headerProps","sections","props","isLoading"],"mappings":";;AAAA,SAAQA,WAAR,EAAqBC,QAArB,QAAoC,WAApC;AAEA,eAAe;AACbC,EAAAA,KAAK,eACAF,WADA;AAEHC,IAAAA,QAFG;AAGHE,IAAAA,SAAS,EAAE;AAHR;AADQ,CAAf","sourcesContent":["import {headerProps, sections} from './default';\n\nexport default {\n props: {\n ...headerProps,\n sections,\n isLoading: true\n }\n};\n"],"file":"is-loading.js"}
1
+ {"version":3,"sources":["../../../../../src/template/teams-dashboard/test/fixtures/is-loading.js"],"names":["headerProps","sections","props","isLoading"],"mappings":";;AAAA,SAAQA,WAAR,EAAqBC,QAArB,QAAoC,WAApC;AAEA,eAAe;AACbC,EAAAA,KAAK,wBACAF,WADA;AAEHC,IAAAA,QAFG;AAGHE,IAAAA,SAAS,EAAE;AAHR;AADQ,CAAf","sourcesContent":["import {headerProps, sections} from './default';\n\nexport default {\n props: {\n ...headerProps,\n sections,\n isLoading: true\n }\n};\n"],"file":"is-loading.js"}
@@ -10,7 +10,7 @@ const headerProps = {
10
10
  platformLinks
11
11
  };
12
12
  export default {
13
- props: _extends({}, headerProps, {
13
+ props: _extends(_extends({}, headerProps), {}, {
14
14
  sections
15
15
  })
16
16
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/template/teams-dashboard/test/fixtures/mobile.js"],"names":["sections","platformLinks","headerProps","logo","src","undefined","srcMobile","href","props"],"mappings":";;AAAA,SAAQA,QAAR,EAAkBC,aAAlB,QAAsC,WAAtC;AAEA,MAAMC,WAAW,GAAG;AAClBC,EAAAA,IAAI,EAAE;AACJC,IAAAA,GAAG,EAAEC,SADD;AAEJC,IAAAA,SAAS,EAAE,gFAFP;AAGJC,IAAAA,IAAI,EAAE;AAHF,GADY;AAMlBN,EAAAA;AANkB,CAApB;AASA,eAAe;AACbO,EAAAA,KAAK,eACAN,WADA;AAEHF,IAAAA;AAFG;AADQ,CAAf","sourcesContent":["import {sections, platformLinks} from './default';\n\nconst headerProps = {\n logo: {\n src: undefined,\n srcMobile: 'https://static.coorpacademy.com/content/up/raw/logo-generique-teams-mobile.png',\n href: '#'\n },\n platformLinks\n};\n\nexport default {\n props: {\n ...headerProps,\n sections\n }\n};\n"],"file":"mobile.js"}
1
+ {"version":3,"sources":["../../../../../src/template/teams-dashboard/test/fixtures/mobile.js"],"names":["sections","platformLinks","headerProps","logo","src","undefined","srcMobile","href","props"],"mappings":";;AAAA,SAAQA,QAAR,EAAkBC,aAAlB,QAAsC,WAAtC;AAEA,MAAMC,WAAW,GAAG;AAClBC,EAAAA,IAAI,EAAE;AACJC,IAAAA,GAAG,EAAEC,SADD;AAEJC,IAAAA,SAAS,EAAE,gFAFP;AAGJC,IAAAA,IAAI,EAAE;AAHF,GADY;AAMlBN,EAAAA;AANkB,CAApB;AASA,eAAe;AACbO,EAAAA,KAAK,wBACAN,WADA;AAEHF,IAAAA;AAFG;AADQ,CAAf","sourcesContent":["import {sections, platformLinks} from './default';\n\nconst headerProps = {\n logo: {\n src: undefined,\n srcMobile: 'https://static.coorpacademy.com/content/up/raw/logo-generique-teams-mobile.png',\n href: '#'\n },\n platformLinks\n};\n\nexport default {\n props: {\n ...headerProps,\n sections\n }\n};\n"],"file":"mobile.js"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/util/shallow-compare.js"],"names":["shallowCompare","instance","nextProps","nextState","nextContext","props","state","context"],"mappings":";;AAEA;AACA;AACA;AACA;AACA;AACA,MAAMA,cAAc,GAAG,CAACC,QAAD,EAAWC,SAAX,EAAsBC,SAAtB,EAAiCC,WAAjC,KAAiD;AACtE,SAAO,EACL,SAAQH,QAAQ,CAACI,KAAjB,EAAwBH,SAAxB,KACA,SAAQD,QAAQ,CAACK,KAAjB,EAAwBH,SAAxB,CADA,IAEA,SAAQF,QAAQ,CAACM,OAAjB,EAA0BH,WAA1B,CAHK,CAAP;AAKD,CAND;;AAQA,eAAeJ,cAAf","sourcesContent":["import {isEqual} from 'lodash/fp';\n\n/**\n * Does a shallow comparison for props, state and context\n * See also https://facebook.github.io/react/docs/shallow-compare.html\n * from https://github.com/facebook/react/blob/master/src/addons/shallowCompare.js\n */\nconst shallowCompare = (instance, nextProps, nextState, nextContext) => {\n return !(\n isEqual(instance.props, nextProps) &&\n isEqual(instance.state, nextState) &&\n isEqual(instance.context, nextContext)\n );\n};\n\nexport default shallowCompare;\n"],"file":"shallow-compare.js"}
1
+ {"version":3,"sources":["../../src/util/shallow-compare.js"],"names":["shallowCompare","instance","nextProps","nextState","nextContext","props","state","context"],"mappings":";;AAEA;;;;;AAKA,MAAMA,cAAc,GAAG,CAACC,QAAD,EAAWC,SAAX,EAAsBC,SAAtB,EAAiCC,WAAjC,KAAiD;AACtE,SAAO,EACL,SAAQH,QAAQ,CAACI,KAAjB,EAAwBH,SAAxB,KACA,SAAQD,QAAQ,CAACK,KAAjB,EAAwBH,SAAxB,CADA,IAEA,SAAQF,QAAQ,CAACM,OAAjB,EAA0BH,WAA1B,CAHK,CAAP;AAKD,CAND;;AAQA,eAAeJ,cAAf","sourcesContent":["import {isEqual} from 'lodash/fp';\n\n/**\n * Does a shallow comparison for props, state and context\n * See also https://facebook.github.io/react/docs/shallow-compare.html\n * from https://github.com/facebook/react/blob/master/src/addons/shallowCompare.js\n */\nconst shallowCompare = (instance, nextProps, nextState, nextContext) => {\n return !(\n isEqual(instance.props, nextProps) &&\n isEqual(instance.state, nextState) &&\n isEqual(instance.context, nextContext)\n );\n};\n\nexport default shallowCompare;\n"],"file":"shallow-compare.js"}
@@ -1,5 +1,4 @@
1
1
  import _noop from "lodash/fp/noop";
2
- const _excluded = ["href", "button"];
3
2
 
4
3
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
4
 
@@ -8,12 +7,12 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
8
7
  import test from 'ava';
9
8
  import pushToHistory from '../navigation';
10
9
 
11
- const createEvent = _ref => {
10
+ const createEvent = (_ref) => {
12
11
  let {
13
12
  href,
14
13
  button = 0
15
14
  } = _ref,
16
- props = _objectWithoutPropertiesLoose(_ref, _excluded);
15
+ props = _objectWithoutPropertiesLoose(_ref, ["href", "button"]);
17
16
 
18
17
  return _extends({
19
18
  target: {
@@ -110,7 +109,7 @@ test('should not do anything if event is mouse click used with keyboard modifier
110
109
  href: '/foo'
111
110
  };
112
111
 
113
- const createEventWithModifier = modifier => createEvent(_extends({}, props, {
112
+ const createEventWithModifier = modifier => createEvent(_extends(_extends({}, props), {}, {
114
113
  [modifier]: true
115
114
  }));
116
115
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/util/test/navigation.js"],"names":["test","pushToHistory","createEvent","href","button","props","target","preventDefault","t","plan","options","history","push","is","onClick","customEvent","pass","fail","defaultPrevented","createEventWithModifier","modifier"],"mappings":";;;;;;;AAAA,OAAOA,IAAP,MAAiB,KAAjB;AAEA,OAAOC,aAAP,MAA0B,eAA1B;;AAEA,MAAMC,WAAW,GAAG;AAAA,MAAC;AAACC,IAAAA,IAAD;AAAOC,IAAAA,MAAM,GAAG;AAAhB,GAAD;AAAA,MAAuBC,KAAvB;;AAAA;AAClBC,IAAAA,MAAM,EAAE;AACNH,MAAAA;AADM,KADU;AAIlBC,IAAAA,MAJkB;AAKlBG,IAAAA,cAAc;AALI,KAMfF,KANe;AAAA,CAApB;;AASAL,IAAI,CAAC,yCAAD,EAA4CQ,CAAC,IAAI;AACnDA,EAAAA,CAAC,CAACC,IAAF,CAAO,CAAP;AAEA,QAAMC,OAAO,GAAG;AACdC,IAAAA,OAAO,EAAE;AACPC,MAAAA,IAAI,EAAET,IAAI,IAAIK,CAAC,CAACK,EAAF,CAAKV,IAAL,EAAW,MAAX;AADP;AADK,GAAhB;AAKA,QAAME,KAAK,GAAG;AACZF,IAAAA,IAAI,EAAE;AADM,GAAd;AAGA,QAAMW,OAAO,GAAGb,aAAa,CAACS,OAAD,CAA7B;AACA,QAAMK,WAAW,GAAGb,WAAW,CAACG,KAAD,CAA/B;AAEAS,EAAAA,OAAO,CAACT,KAAD,CAAP,CAAeU,WAAf;AACD,CAfG,CAAJ;AAiBAf,IAAI,CAAC,yDAAD,EAA4DQ,CAAC,IAAI;AACnE,QAAMH,KAAK,GAAG;AACZF,IAAAA,IAAI,EAAE;AADM,GAAd;AAGA,QAAMW,OAAO,GAAGb,aAAa,CAAC,EAAD,CAA7B;AACA,QAAMc,WAAW,GAAGb,WAAW,CAACG,KAAD,CAA/B;AAEAS,EAAAA,OAAO,CAACT,KAAD,CAAP,CAAeU,WAAf;AACAP,EAAAA,CAAC,CAACQ,IAAF;AACD,CATG,CAAJ;AAWAhB,IAAI,CAAC,gEAAD,EAAmEQ,CAAC,IAAI;A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AAO,EAAE;AACPC,MAAAA,IAAI,EAAET,IAAI,IAAIK,CAAC,CAACS,IAAF;AADP;AADK,GAAhB;AAMA,QAAMZ,KAAK,GAAG;AACZF,IAAAA,IAAI,EAAE,MADM;AAEZC,IAAAA,MAAM,EAAE;AAFI,GAAd;AAIA,QAAMU,OAAO,GAAGb,aAAa,CAACS,OAAD,CAA7B;AACA,QAAMK,WAAW,GAAGb,WAAW,CAACG,KAAD,CAA/B;AAEAS,EAAAA,OAAO,CAACT,KAAD,CAAP,CAAeU,WAAf;AACAP,EAAAA,CAAC,CAACQ,IAAF;AACD,CAhBG,CAAJ;AAkBAhB,IAAI,CAAC,6EAAD,EAAgFQ,CAAC,IAAI;AACvF,QAAME,OAAO,GAAG;AACdC,IAAAA,OAAO,EAAE;AACPC,MAAAA,IAAI,EAAET,IAAI,IAAIK,CAAC,CAACS,IAAF;AADP;AADK,GAAhB;AAMA,QAAMZ,KAAK,GAAG;AACZF,IAAAA,IAAI,EAAE;AADM,GAAd;;AAIA,QAAMgB,uBAAuB,GAAGC,QAAQ,IAAIlB,WAAW,cAAKG,KAAL;AAAY,KAACe,QAAD,GAAY;AAAxB,KAAvD;;AAEA,QAAMN,OAAO,GAAGb,aAAa,CAACS,OAAD,CAA7B;AACAI,EAAAA,OAAO,CAACT,KAAD,CAAP,CAAec,uBAAuB,CAAC,QAAD,CAAtC;AACAL,EAAAA,OAAO,CAACT,KAAD,CAAP,CAAec,uBAAuB,CAAC,SAAD,CAAtC;AACAL,EAAAA,OAAO,CAACT,KAAD,CAAP,CAAec,uBAAuB,CAAC,SAAD,CAAtC;AACAL,EAAAA,OAAO,CAACT,KAAD,CAAP,CAAec,uBAAuB,CAAC,UAAD,CAAtC;AACAX,EAAAA,CAAC,CAACQ,IAAF;AACD,CAnBG,CAAJ","sourcesContent":["import test from 'ava';\nimport {noop} from 'lodash/fp';\nimport pushToHistory from '../navigation';\n\nconst createEvent = ({href, button = 0, ...props}) => ({\n target: {\n href\n },\n button,\n preventDefault: noop,\n ...props\n});\n\ntest('should push to history navigation event', t => {\n t.plan(1);\n\n const options = {\n history: {\n push: href => t.is(href, '/foo')\n }\n };\n const props = {\n href: '/foo'\n };\n const onClick = pushToHistory(options);\n const customEvent = createEvent(props);\n\n onClick(props)(customEvent);\n});\n\ntest('should not do anything if history is not in the options', t => {\n const props = {\n href: '/foo'\n };\n const onClick = pushToHistory({});\n const customEvent = createEvent(props);\n\n onClick(props)(customEvent);\n t.pass();\n});\n\ntest('should not do anything if event does not contain a target href', t => {\n const options = {\n history: {\n push: href => t.fail()\n }\n };\n const onClick = pushToHistory(options);\n\n onClick({})({});\n t.pass();\n});\n\ntest('should not do anything if href contain domain name', t => {\n const props = {\n href: 'http://foo.bar/baz'\n };\n const options = {\n history: {\n push: href => t.fail()\n }\n };\n const onClick = pushToHistory(options);\n\n onClick(props)({});\n t.pass();\n});\n\ntest('should not do anything if event is prevented', t => {\n const options = {\n history: {\n push: href => t.fail()\n }\n };\n\n const props = {\n href: '/foo',\n defaultPrevented: true\n };\n const onClick = pushToHistory(options);\n const customEvent = createEvent(props);\n\n onClick(props)(customEvent);\n t.pass();\n});\n\ntest('should not do anything if event is mouse click but not left click', t => {\n const options = {\n history: {\n push: href => t.fail()\n }\n };\n\n const props = {\n href: '/foo',\n button: 1\n };\n const onClick = pushToHistory(options);\n const customEvent = createEvent(props);\n\n onClick(props)(customEvent);\n t.pass();\n});\n\ntest('should not do anything if event is mouse click used with keyboard modifiers', t => {\n const options = {\n history: {\n push: href => t.fail()\n }\n };\n\n const props = {\n href: '/foo'\n };\n\n const createEventWithModifier = modifier => createEvent({...props, [modifier]: true});\n\n const onClick = pushToHistory(options);\n onClick(props)(createEventWithModifier('altKey'));\n onClick(props)(createEventWithModifier('metaKey'));\n onClick(props)(createEventWithModifier('ctrlKey'));\n onClick(props)(createEventWithModifier('shiftKey'));\n t.pass();\n});\n"],"file":"navigation.js"}
1
+ {"version":3,"sources":["../../../src/util/test/navigation.js"],"names":["test","pushToHistory","createEvent","href","button","props","target","preventDefault","t","plan","options","history","push","is","onClick","customEvent","pass","fail","defaultPrevented","createEventWithModifier","modifier"],"mappings":";;;;;;AAAA,OAAOA,IAAP,MAAiB,KAAjB;AAEA,OAAOC,aAAP,MAA0B,eAA1B;;AAEA,MAAMC,WAAW,GAAG;AAAA,MAAC;AAACC,IAAAA,IAAD;AAAOC,IAAAA,MAAM,GAAG;AAAhB,GAAD;AAAA,MAAuBC,KAAvB;;AAAA;AAClBC,IAAAA,MAAM,EAAE;AACNH,MAAAA;AADM,KADU;AAIlBC,IAAAA,MAJkB;AAKlBG,IAAAA,cAAc;AALI,KAMfF,KANe;AAAA,CAApB;;AASAL,IAAI,CAAC,yCAAD,EAA4CQ,CAAC,IAAI;AACnDA,EAAAA,CAAC,CAACC,IAAF,CAAO,CAAP;AAEA,QAAMC,OAAO,GAAG;AACdC,IAAAA,OAAO,EAAE;AACPC,MAAAA,IAAI,EAAET,IAAI,IAAIK,CAAC,CAACK,EAAF,CAAKV,IAAL,EAAW,MAAX;AADP;AADK,GAAhB;AAKA,QAAME,KAAK,GAAG;AACZF,IAAAA,IAAI,EAAE;AADM,GAAd;AAGA,QAAMW,OAAO,GAAGb,aAAa,CAACS,OAAD,CAA7B;AACA,QAAMK,WAAW,GAAGb,WAAW,CAACG,KAAD,CAA/B;AAEAS,EAAAA,OAAO,CAACT,KAAD,CAAP,CAAeU,WAAf;AACD,CAfG,CAAJ;AAiBAf,IAAI,CAAC,yDAAD,EAA4DQ,CAAC,IAAI;AACnE,QAAMH,KAAK,GAAG;AACZF,IAAAA,IAAI,EAAE;AADM,GAAd;AAGA,QAAMW,OAAO,GAAGb,aAAa,CAAC,EAAD,CAA7B;AACA,QAAMc,WAAW,GAAGb,WAAW,CAACG,KAAD,CAA/B;AAEAS,EAAAA,OAAO,CAACT,KAAD,CAAP,CAAeU,WAAf;AACAP,EAAAA,CAAC,CAACQ,IAAF;AACD,CATG,CAAJ;AAWAhB,IAAI,CAAC,gEAAD,E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,GAAG;AACdC,IAAAA,OAAO,EAAE;AACPC,MAAAA,IAAI,EAAET,IAAI,IAAIK,CAAC,CAACS,IAAF;AADP;AADK,GAAhB;AAMA,QAAMZ,KAAK,GAAG;AACZF,IAAAA,IAAI,EAAE,MADM;AAEZC,IAAAA,MAAM,EAAE;AAFI,GAAd;AAIA,QAAMU,OAAO,GAAGb,aAAa,CAACS,OAAD,CAA7B;AACA,QAAMK,WAAW,GAAGb,WAAW,CAACG,KAAD,CAA/B;AAEAS,EAAAA,OAAO,CAACT,KAAD,CAAP,CAAeU,WAAf;AACAP,EAAAA,CAAC,CAACQ,IAAF;AACD,CAhBG,CAAJ;AAkBAhB,IAAI,CAAC,6EAAD,EAAgFQ,CAAC,IAAI;AACvF,QAAME,OAAO,GAAG;AACdC,IAAAA,OAAO,EAAE;AACPC,MAAAA,IAAI,EAAET,IAAI,IAAIK,CAAC,CAACS,IAAF;AADP;AADK,GAAhB;AAMA,QAAMZ,KAAK,GAAG;AACZF,IAAAA,IAAI,EAAE;AADM,GAAd;;AAIA,QAAMgB,uBAAuB,GAAGC,QAAQ,IAAIlB,WAAW,uBAAKG,KAAL;AAAY,KAACe,QAAD,GAAY;AAAxB,KAAvD;;AAEA,QAAMN,OAAO,GAAGb,aAAa,CAACS,OAAD,CAA7B;AACAI,EAAAA,OAAO,CAACT,KAAD,CAAP,CAAec,uBAAuB,CAAC,QAAD,CAAtC;AACAL,EAAAA,OAAO,CAACT,KAAD,CAAP,CAAec,uBAAuB,CAAC,SAAD,CAAtC;AACAL,EAAAA,OAAO,CAACT,KAAD,CAAP,CAAec,uBAAuB,CAAC,SAAD,CAAtC;AACAL,EAAAA,OAAO,CAACT,KAAD,CAAP,CAAec,uBAAuB,CAAC,UAAD,CAAtC;AACAX,EAAAA,CAAC,CAACQ,IAAF;AACD,CAnBG,CAAJ","sourcesContent":["import test from 'ava';\nimport {noop} from 'lodash/fp';\nimport pushToHistory from '../navigation';\n\nconst createEvent = ({href, button = 0, ...props}) => ({\n target: {\n href\n },\n button,\n preventDefault: noop,\n ...props\n});\n\ntest('should push to history navigation event', t => {\n t.plan(1);\n\n const options = {\n history: {\n push: href => t.is(href, '/foo')\n }\n };\n const props = {\n href: '/foo'\n };\n const onClick = pushToHistory(options);\n const customEvent = createEvent(props);\n\n onClick(props)(customEvent);\n});\n\ntest('should not do anything if history is not in the options', t => {\n const props = {\n href: '/foo'\n };\n const onClick = pushToHistory({});\n const customEvent = createEvent(props);\n\n onClick(props)(customEvent);\n t.pass();\n});\n\ntest('should not do anything if event does not contain a target href', t => {\n const options = {\n history: {\n push: href => t.fail()\n }\n };\n const onClick = pushToHistory(options);\n\n onClick({})({});\n t.pass();\n});\n\ntest('should not do anything if href contain domain name', t => {\n const props = {\n href: 'http://foo.bar/baz'\n };\n const options = {\n history: {\n push: href => t.fail()\n }\n };\n const onClick = pushToHistory(options);\n\n onClick(props)({});\n t.pass();\n});\n\ntest('should not do anything if event is prevented', t => {\n const options = {\n history: {\n push: href => t.fail()\n }\n };\n\n const props = {\n href: '/foo',\n defaultPrevented: true\n };\n const onClick = pushToHistory(options);\n const customEvent = createEvent(props);\n\n onClick(props)(customEvent);\n t.pass();\n});\n\ntest('should not do anything if event is mouse click but not left click', t => {\n const options = {\n history: {\n push: href => t.fail()\n }\n };\n\n const props = {\n href: '/foo',\n button: 1\n };\n const onClick = pushToHistory(options);\n const customEvent = createEvent(props);\n\n onClick(props)(customEvent);\n t.pass();\n});\n\ntest('should not do anything if event is mouse click used with keyboard modifiers', t => {\n const options = {\n history: {\n push: href => t.fail()\n }\n };\n\n const props = {\n href: '/foo'\n };\n\n const createEventWithModifier = modifier => createEvent({...props, [modifier]: true});\n\n const onClick = pushToHistory(options);\n onClick(props)(createEventWithModifier('altKey'));\n onClick(props)(createEventWithModifier('metaKey'));\n onClick(props)(createEventWithModifier('ctrlKey'));\n onClick(props)(createEventWithModifier('shiftKey'));\n t.pass();\n});\n"],"file":"navigation.js"}
@@ -19,9 +19,9 @@ var _getClassState = _interopRequireDefault(require("../../util/get-class-state"
19
19
 
20
20
  var _style = _interopRequireDefault(require("./style.css"));
21
21
 
22
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
22
+ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
23
23
 
24
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
24
+ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
25
 
26
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
27
 
@@ -13,7 +13,7 @@ const {
13
13
  props
14
14
  } = _filled.default;
15
15
  var _default = {
16
- props: _extends({}, props, {
16
+ props: _extends(_extends({}, props), {}, {
17
17
  error: true
18
18
  })
19
19
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/atom/autocomplete/test/fixtures/error.js"],"names":["props","Filled","error"],"mappings":";;;;;AAAA;;;;;;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUC,eAAhB;eAEe;AACbD,EAAAA,KAAK,eACAA,KADA;AAEHE,IAAAA,KAAK,EAAE;AAFJ;AADQ,C","sourcesContent":["import Filled from './filled';\n\nconst {props} = Filled;\n\nexport default {\n props: {\n ...props,\n error: true\n }\n};\n"],"file":"error.js"}
1
+ {"version":3,"sources":["../../../../../src/atom/autocomplete/test/fixtures/error.js"],"names":["props","Filled","error"],"mappings":";;;;;AAAA;;;;;;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUC,eAAhB;eAEe;AACbD,EAAAA,KAAK,wBACAA,KADA;AAEHE,IAAAA,KAAK,EAAE;AAFJ;AADQ,C","sourcesContent":["import Filled from './filled';\n\nconst {props} = Filled;\n\nexport default {\n props: {\n ...props,\n error: true\n }\n};\n"],"file":"error.js"}
@@ -13,7 +13,7 @@ const {
13
13
  props
14
14
  } = _default2.default;
15
15
  var _default = {
16
- props: _extends({}, props, {
16
+ props: _extends(_extends({}, props), {}, {
17
17
  title: 'Population',
18
18
  value: 'c',
19
19
  suggestions: [{
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/atom/autocomplete/test/fixtures/filled.js"],"names":["props","Default","title","value","suggestions","name","onChange","e","target","console","log","onFetch","onClear","onSuggestionSelected","data","onBlur","selectedSuggestion"],"mappings":";;;;;AAAA;;;;;;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUC,iBAAhB;eAEe;AACbD,EAAAA,KAAK,eACAA,KADA;AAEHE,IAAAA,KAAK,EAAE,YAFJ;AAGHC,IAAAA,KAAK,EAAE,GAHJ;AAIHC,IAAAA,WAAW,EAAE,CACX;AACEC,MAAAA,IAAI,EAAE,GADR;AAEEF,MAAAA,KAAK,EAAE;AAFT,KADW,EAKX;AACEE,MAAAA,IAAI,EAAE,IADR;AAEEF,MAAAA,KAAK,EAAE;AAFT,KALW,EASX;AACEE,MAAAA,IAAI,EAAE,KADR;AAEEF,MAAAA,KAAK,EAAE;AAFT,KATW,EAaX;AACEE,MAAAA,IAAI,EAAE,SADR;AAEEF,MAAAA,KAAK,EAAE;AAFT,KAbW,CAJV;AAsBHG,IAAAA,QAAQ,EAAEC,CAAC,IAAI;AACb,YAAMJ,KAAK,GAAGI,CAAC,CAACC,MAAF,CAASL,KAAvB;AACAM,MAAAA,OAAO,CAACC,GAAR,CAAa,YAAWP,KAAM,EAA9B,EAAiCI,CAAjC;AACD,KAzBE;AA0BHI,IAAAA,OAAO,EAAEJ,CAAC,IAAI;AACZ,YAAM;AAACJ,QAAAA;AAAD,UAAUI,CAAhB;AACAE,MAAAA,OAAO,CAACC,GAAR,CAAa,WAAUP,KAAM,EAA7B;AACD,KA7BE;AA8BHS,IAAAA,OAAO,EAAEL,CAAC,IAAI;AACZE,MAAAA,OAAO,CAACC,GAAR,CAAY,SAAZ,EAAuBH,CAAvB;AACD,KAhCE;AAiCHM,IAAAA,oBAAoB,EAAEC,IAAI,IAAI;AAC5BL,MAAAA,OAAO,CAACC,GAAR,CAAY,sBAAZ,EAAoCI,IAApC;AACD,KAnCE;AAoCHC,IAAAA,MAAM,EAAE,CAACR,CAAD,EAAIS,kBAAJ,KAA2B;AACjCP,MAAAA,OAAO,CAACC,GAAR,CAAY,mBAAZ,EAAiCM,kBAAjC;AACD;AAtCE;AADQ,C","sourcesContent":["import Default from './default';\n\nconst {props} = Default;\n\nexport default {\n props: {\n ...props,\n title: 'Population',\n value: 'c',\n suggestions: [\n {\n name: 'C',\n value: 1972\n },\n {\n name: 'C#',\n value: 2000\n },\n {\n name: 'C++',\n value: 1983\n },\n {\n name: 'Clojure',\n value: 2007\n }\n ],\n onChange: e => {\n const value = e.target.value;\n console.log(`onChange ${value}`, e);\n },\n onFetch: e => {\n const {value} = e;\n console.log(`onFetch ${value}`);\n },\n onClear: e => {\n console.log('onClear', e);\n },\n onSuggestionSelected: data => {\n console.log('onSuggestionSelected', data);\n },\n onBlur: (e, selectedSuggestion) => {\n console.log('onBlur > selected', selectedSuggestion);\n }\n }\n};\n"],"file":"filled.js"}
1
+ {"version":3,"sources":["../../../../../src/atom/autocomplete/test/fixtures/filled.js"],"names":["props","Default","title","value","suggestions","name","onChange","e","target","console","log","onFetch","onClear","onSuggestionSelected","data","onBlur","selectedSuggestion"],"mappings":";;;;;AAAA;;;;;;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUC,iBAAhB;eAEe;AACbD,EAAAA,KAAK,wBACAA,KADA;AAEHE,IAAAA,KAAK,EAAE,YAFJ;AAGHC,IAAAA,KAAK,EAAE,GAHJ;AAIHC,IAAAA,WAAW,EAAE,CACX;AACEC,MAAAA,IAAI,EAAE,GADR;AAEEF,MAAAA,KAAK,EAAE;AAFT,KADW,EAKX;AACEE,MAAAA,IAAI,EAAE,IADR;AAEEF,MAAAA,KAAK,EAAE;AAFT,KALW,EASX;AACEE,MAAAA,IAAI,EAAE,KADR;AAEEF,MAAAA,KAAK,EAAE;AAFT,KATW,EAaX;AACEE,MAAAA,IAAI,EAAE,SADR;AAEEF,MAAAA,KAAK,EAAE;AAFT,KAbW,CAJV;AAsBHG,IAAAA,QAAQ,EAAEC,CAAC,IAAI;AACb,YAAMJ,KAAK,GAAGI,CAAC,CAACC,MAAF,CAASL,KAAvB;AACAM,MAAAA,OAAO,CAACC,GAAR,CAAa,YAAWP,KAAM,EAA9B,EAAiCI,CAAjC;AACD,KAzBE;AA0BHI,IAAAA,OAAO,EAAEJ,CAAC,IAAI;AACZ,YAAM;AAACJ,QAAAA;AAAD,UAAUI,CAAhB;AACAE,MAAAA,OAAO,CAACC,GAAR,CAAa,WAAUP,KAAM,EAA7B;AACD,KA7BE;AA8BHS,IAAAA,OAAO,EAAEL,CAAC,IAAI;AACZE,MAAAA,OAAO,CAACC,GAAR,CAAY,SAAZ,EAAuBH,CAAvB;AACD,KAhCE;AAiCHM,IAAAA,oBAAoB,EAAEC,IAAI,IAAI;AAC5BL,MAAAA,OAAO,CAACC,GAAR,CAAY,sBAAZ,EAAoCI,IAApC;AACD,KAnCE;AAoCHC,IAAAA,MAAM,EAAE,CAACR,CAAD,EAAIS,kBAAJ,KAA2B;AACjCP,MAAAA,OAAO,CAACC,GAAR,CAAY,mBAAZ,EAAiCM,kBAAjC;AACD;AAtCE;AADQ,C","sourcesContent":["import Default from './default';\n\nconst {props} = Default;\n\nexport default {\n props: {\n ...props,\n title: 'Population',\n value: 'c',\n suggestions: [\n {\n name: 'C',\n value: 1972\n },\n {\n name: 'C#',\n value: 2000\n },\n {\n name: 'C++',\n value: 1983\n },\n {\n name: 'Clojure',\n value: 2007\n }\n ],\n onChange: e => {\n const value = e.target.value;\n console.log(`onChange ${value}`, e);\n },\n onFetch: e => {\n const {value} = e;\n console.log(`onFetch ${value}`);\n },\n onClear: e => {\n console.log('onClear', e);\n },\n onSuggestionSelected: data => {\n console.log('onSuggestionSelected', data);\n },\n onBlur: (e, selectedSuggestion) => {\n console.log('onBlur > selected', selectedSuggestion);\n }\n }\n};\n"],"file":"filled.js"}
@@ -13,7 +13,7 @@ const {
13
13
  props
14
14
  } = _filled.default;
15
15
  var _default = {
16
- props: _extends({}, props, {
16
+ props: _extends(_extends({}, props), {}, {
17
17
  modified: true
18
18
  })
19
19
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/atom/autocomplete/test/fixtures/modified.js"],"names":["props","Filled","modified"],"mappings":";;;;;AAAA;;;;;;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUC,eAAhB;eAEe;AACbD,EAAAA,KAAK,eACAA,KADA;AAEHE,IAAAA,QAAQ,EAAE;AAFP;AADQ,C","sourcesContent":["import Filled from './filled';\n\nconst {props} = Filled;\n\nexport default {\n props: {\n ...props,\n modified: true\n }\n};\n"],"file":"modified.js"}
1
+ {"version":3,"sources":["../../../../../src/atom/autocomplete/test/fixtures/modified.js"],"names":["props","Filled","modified"],"mappings":";;;;;AAAA;;;;;;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUC,eAAhB;eAEe;AACbD,EAAAA,KAAK,wBACAA,KADA;AAEHE,IAAAA,QAAQ,EAAE;AAFP;AADQ,C","sourcesContent":["import Filled from './filled';\n\nconst {props} = Filled;\n\nexport default {\n props: {\n ...props,\n modified: true\n }\n};\n"],"file":"modified.js"}
@@ -19,9 +19,9 @@ var _buttonIcons = require("../../util/button-icons");
19
19
 
20
20
  var _style = _interopRequireDefault(require("./style.css"));
21
21
 
22
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
22
+ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
23
23
 
24
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
24
+ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
25
 
26
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
27
 
@@ -19,9 +19,9 @@ var _link = _interopRequireDefault(require("../link"));
19
19
 
20
20
  var _style = _interopRequireDefault(require("./style.css"));
21
21
 
22
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
22
+ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
23
23
 
24
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
24
+ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
25
 
26
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
27
 
@@ -15,9 +15,9 @@ var _style = _interopRequireDefault(require("./style.css"));
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
17
 
18
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
+ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
19
19
 
20
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
20
+ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
21
 
22
22
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23
23