@coorpacademy/components 10.4.1 → 10.4.3

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 (1046) 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/style.css +4 -3
  54. package/es/atom/input-switch/test/fixtures/cm-right-disabled.js +6 -5
  55. package/es/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -1
  56. package/es/atom/input-switch/test/fixtures/disabled.js +1 -1
  57. package/es/atom/input-switch/test/fixtures/disabled.js.map +1 -1
  58. package/es/atom/input-switch/test/fixtures.js +10 -0
  59. package/es/atom/input-switch/test/fixtures.js.map +1 -1
  60. package/es/atom/link/index.js +3 -2
  61. package/es/atom/link/index.js.map +1 -1
  62. package/es/atom/loader/test/fixtures.js +0 -2
  63. package/es/atom/loader/test/fixtures.js.map +1 -1
  64. package/es/atom/promo-code/index.js.map +1 -1
  65. package/es/atom/provider/index.js.map +1 -1
  66. package/es/atom/provider/test/index.js +1 -1
  67. package/es/atom/provider/test/index.js.map +1 -1
  68. package/es/atom/range/index.js +1 -1
  69. package/es/atom/range/index.js.map +1 -1
  70. package/es/atom/range/test/fixtures/multi.js +1 -1
  71. package/es/atom/range/test/fixtures/multi.js.map +1 -1
  72. package/es/atom/range/test/index.js +9 -9
  73. package/es/atom/range/test/index.js.map +1 -1
  74. package/es/atom/video-upload/index.js +1 -1
  75. package/es/atom/video-upload/index.js.map +1 -1
  76. package/es/atom/video-upload/test/fixtures/loading.js +1 -1
  77. package/es/atom/video-upload/test/fixtures/loading.js.map +1 -1
  78. package/es/atom/video-upload/test/fixtures/modified.js +1 -1
  79. package/es/atom/video-upload/test/fixtures/modified.js.map +1 -1
  80. package/es/hoc/animation-scheduler/index.js +3 -3
  81. package/es/hoc/animation-scheduler/index.js.map +1 -1
  82. package/es/hoc/swapper/index.js +4 -2
  83. package/es/hoc/swapper/index.js.map +1 -1
  84. package/es/hoc/transition/index.js +1 -1
  85. package/es/hoc/transition/index.js.map +1 -1
  86. package/es/molecule/add-to-my-list/index.js +1 -1
  87. package/es/molecule/add-to-my-list/index.js.map +1 -1
  88. package/es/molecule/answer/index.js +3 -2
  89. package/es/molecule/answer/index.js.map +1 -1
  90. package/es/molecule/answer/test/fixtures/audio.js +1 -1
  91. package/es/molecule/answer/test/fixtures/audio.js.map +1 -1
  92. package/es/molecule/answer/test/fixtures/default.js +1 -1
  93. package/es/molecule/answer/test/fixtures/default.js.map +1 -1
  94. package/es/molecule/answer/test/fixtures/drop-down.js +1 -1
  95. package/es/molecule/answer/test/fixtures/drop-down.js.map +1 -1
  96. package/es/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
  97. package/es/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
  98. package/es/molecule/answer/test/fixtures/qcm-drag.js +1 -1
  99. package/es/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
  100. package/es/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
  101. package/es/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
  102. package/es/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
  103. package/es/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
  104. package/es/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
  105. package/es/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
  106. package/es/molecule/answer/test/fixtures/qcm-short.js +1 -1
  107. package/es/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
  108. package/es/molecule/answer/test/fixtures/qcm.js +1 -1
  109. package/es/molecule/answer/test/fixtures/qcm.js.map +1 -1
  110. package/es/molecule/answer/test/fixtures/range.js +1 -1
  111. package/es/molecule/answer/test/fixtures/range.js.map +1 -1
  112. package/es/molecule/answer/test/fixtures/template.js +1 -1
  113. package/es/molecule/answer/test/fixtures/template.js.map +1 -1
  114. package/es/molecule/brand-form-group/index.js +18 -18
  115. package/es/molecule/brand-form-group/index.js.map +1 -1
  116. package/es/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
  117. package/es/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
  118. package/es/molecule/brand-form-group/test/fixtures/animations.js +2 -2
  119. package/es/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
  120. package/es/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
  121. package/es/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
  122. package/es/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
  123. package/es/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
  124. package/es/molecule/brand-form-group/test/fixtures/images.js +3 -3
  125. package/es/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
  126. package/es/molecule/brand-form-group/test/fixtures/slider.js +1 -1
  127. package/es/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
  128. package/es/molecule/card/index.js +1 -1
  129. package/es/molecule/card/index.js.map +1 -1
  130. package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
  131. package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  132. package/es/molecule/card/test/fixtures/adaptiv.js +1 -1
  133. package/es/molecule/card/test/fixtures/adaptiv.js.map +1 -1
  134. package/es/molecule/card/test/fixtures/disabled.js +1 -1
  135. package/es/molecule/card/test/fixtures/disabled.js.map +1 -1
  136. package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
  137. package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  138. package/es/molecule/card-content/test/fixtures/adaptiv.js +1 -1
  139. package/es/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
  140. package/es/molecule/card-content/test/fixtures/disabled.js +1 -1
  141. package/es/molecule/card-content/test/fixtures/disabled.js.map +1 -1
  142. package/es/molecule/card-with-button/index.js.map +1 -1
  143. package/es/molecule/coorp-manager-roles/index.js +1 -1
  144. package/es/molecule/coorp-manager-roles/index.js.map +1 -1
  145. package/es/molecule/dashboard/battle-request-list/index.js +1 -1
  146. package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
  147. package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
  148. package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
  149. package/es/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
  150. package/es/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
  151. package/es/molecule/dashboard/cards-list/test/index.js +1 -1
  152. package/es/molecule/dashboard/cards-list/test/index.js.map +1 -1
  153. package/es/molecule/dashboard/news-list/index.js +1 -1
  154. package/es/molecule/dashboard/news-list/index.js.map +1 -1
  155. package/es/molecule/dashboard/start-battle/index.js +1 -1
  156. package/es/molecule/dashboard/start-battle/index.js.map +1 -1
  157. package/es/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
  158. package/es/molecule/drag-and-drop/index.js +1 -1
  159. package/es/molecule/drag-and-drop/index.js.map +1 -1
  160. package/es/molecule/drag-and-drop/test/fixtures/error.js +1 -1
  161. package/es/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
  162. package/es/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
  163. package/es/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
  164. package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
  165. package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
  166. package/es/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
  167. package/es/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
  168. package/es/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
  169. package/es/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
  170. package/es/molecule/drag-and-drop/test/fixtures/success.js +1 -1
  171. package/es/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
  172. package/es/molecule/drag-and-drop/test/on-click.js +2 -2
  173. package/es/molecule/drag-and-drop/test/on-click.js.map +1 -1
  174. package/es/molecule/drag-and-drop/upload-report.js +1 -1
  175. package/es/molecule/drag-and-drop/upload-report.js.map +1 -1
  176. package/es/molecule/feedback/index.js +1 -1
  177. package/es/molecule/feedback/index.js.map +1 -1
  178. package/es/molecule/filters/test/fixtures/default.js +4 -4
  179. package/es/molecule/filters/test/fixtures/default.js.map +1 -1
  180. package/es/molecule/filters/test/fixtures/filters-list.js +6 -6
  181. package/es/molecule/filters/test/fixtures/filters-list.js.map +1 -1
  182. package/es/molecule/filters/test/fixtures/one.js +2 -2
  183. package/es/molecule/filters/test/fixtures/one.js.map +1 -1
  184. package/es/molecule/filters/test/fixtures/only-radio-group.js +1 -1
  185. package/es/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
  186. package/es/molecule/filters/test/fixtures/only-timer.js +1 -1
  187. package/es/molecule/filters/test/fixtures/only-timer.js.map +1 -1
  188. package/es/molecule/filters/test/fixtures/three.js +3 -3
  189. package/es/molecule/filters/test/fixtures/three.js.map +1 -1
  190. package/es/molecule/filters/test/fixtures/two.js +3 -3
  191. package/es/molecule/filters/test/fixtures/two.js.map +1 -1
  192. package/es/molecule/filters/test/fixtures/zero.js +1 -1
  193. package/es/molecule/filters/test/fixtures/zero.js.map +1 -1
  194. package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
  195. package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
  196. package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
  197. package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
  198. package/es/molecule/hero/test/fixtures/arabic.js +1 -1
  199. package/es/molecule/hero/test/fixtures/arabic.js.map +1 -1
  200. package/es/molecule/hero/test/fixtures/hero.js +1 -1
  201. package/es/molecule/hero/test/fixtures/hero.js.map +1 -1
  202. package/es/molecule/news/test/fixtures/long-description.js +1 -1
  203. package/es/molecule/news/test/fixtures/long-description.js.map +1 -1
  204. package/es/molecule/news/test/fixtures/long-title.js +1 -1
  205. package/es/molecule/news/test/fixtures/long-title.js.map +1 -1
  206. package/es/molecule/news/test/fixtures/small-desciption.js +1 -1
  207. package/es/molecule/news/test/fixtures/small-desciption.js.map +1 -1
  208. package/es/molecule/news/test/fixtures/small-title.js +1 -1
  209. package/es/molecule/news/test/fixtures/small-title.js.map +1 -1
  210. package/es/molecule/popin/index.js +1 -1
  211. package/es/molecule/popin/index.js.map +1 -1
  212. package/es/molecule/progress-bar/index.js +1 -1
  213. package/es/molecule/progress-bar/index.js.map +1 -1
  214. package/es/molecule/questions/drop-down/index.js +1 -1
  215. package/es/molecule/questions/drop-down/index.js.map +1 -1
  216. package/es/molecule/questions/question-range/index.js +3 -2
  217. package/es/molecule/questions/question-range/index.js.map +1 -1
  218. package/es/molecule/questions/template/index.js +2 -2
  219. package/es/molecule/questions/template/index.js.map +1 -1
  220. package/es/molecule/questions/template/test/index.js +1 -1
  221. package/es/molecule/questions/template/test/index.js.map +1 -1
  222. package/es/molecule/quick-access-card/index.js.map +1 -1
  223. package/es/molecule/resource-player/index.js +2 -1
  224. package/es/molecule/resource-player/index.js.map +1 -1
  225. package/es/molecule/search/test/fixtures.js +15 -0
  226. package/es/molecule/search/test/fixtures.js.map +1 -0
  227. package/es/molecule/select-multiple/index.js +3 -3
  228. package/es/molecule/select-multiple/index.js.map +1 -1
  229. package/es/molecule/select-multiple/style.css +1 -1
  230. package/es/molecule/select-multiple/test/index.js +2 -2
  231. package/es/molecule/select-multiple/test/index.js.map +1 -1
  232. package/es/molecule/setup-section/index.js +1 -1
  233. package/es/molecule/setup-section/index.js.map +1 -1
  234. package/es/molecule/setup-section/test/fixtures/first.js +1 -1
  235. package/es/molecule/setup-section/test/fixtures/first.js.map +1 -1
  236. package/es/molecule/setup-slide/index.js +8 -8
  237. package/es/molecule/setup-slide/index.js.map +1 -1
  238. package/es/molecule/share/index.js +1 -1
  239. package/es/molecule/share/index.js.map +1 -1
  240. package/es/molecule/vertical-tabs/test/fixtures.js +0 -2
  241. package/es/molecule/vertical-tabs/test/fixtures.js.map +1 -1
  242. package/es/molecule/video-iframe/index.js +1 -1
  243. package/es/molecule/video-iframe/index.js.map +1 -1
  244. package/es/molecule/video-player/index.js +3 -1
  245. package/es/molecule/video-player/index.js.map +1 -1
  246. package/es/molecule/video-player/jwplayer.js +2 -2
  247. package/es/molecule/video-player/jwplayer.js.map +1 -1
  248. package/es/molecule/video-player/test/fixtures/youtube.js +1 -1
  249. package/es/molecule/video-player/test/fixtures/youtube.js.map +1 -1
  250. package/es/molecule/video-player/vimeo.js +1 -1
  251. package/es/molecule/video-player/vimeo.js.map +1 -1
  252. package/es/molecule/wizard-summary/style.css +0 -1
  253. package/es/organism/accordion/coorp-manager/index.js +1 -1
  254. package/es/organism/accordion/coorp-manager/index.js.map +1 -1
  255. package/es/organism/accordion/toggler/index.js +1 -1
  256. package/es/organism/accordion/toggler/index.js.map +1 -1
  257. package/es/organism/accordion/toggler/test/render.js +2 -2
  258. package/es/organism/accordion/toggler/test/render.js.map +1 -1
  259. package/es/organism/brand-form/test/fixtures/sso.js +3 -3
  260. package/es/organism/brand-form/test/fixtures/sso.js.map +1 -1
  261. package/es/organism/content-translation/index.js +2 -2
  262. package/es/organism/content-translation/index.js.map +1 -1
  263. package/es/organism/content-translation/style.css +2 -2
  264. package/es/organism/content-translation/test/fixtures/default.js +2 -2
  265. package/es/organism/content-translation/test/fixtures/default.js.map +1 -1
  266. package/es/organism/course-selection/index.js +9 -2
  267. package/es/organism/course-selection/index.js.map +1 -1
  268. package/es/organism/course-selection/style.css +2 -1
  269. package/es/organism/course-selection/test/fixtures/default.js +10 -10
  270. package/es/organism/course-selection/test/fixtures/default.js.map +1 -1
  271. package/es/organism/course-selection/test/fixtures/filtered.js +3 -3
  272. package/es/organism/course-selection/test/fixtures/filtered.js.map +1 -1
  273. package/es/organism/course-selection/test/fixtures/sorted-selected.js +6 -6
  274. package/es/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
  275. package/es/organism/course-selection/test/fixtures/switch-activated.js +1 -1
  276. package/es/organism/course-selection/test/fixtures/switch-activated.js.map +1 -1
  277. package/es/organism/course-selection/test/fixtures/unsorted-selected.js +6 -6
  278. package/es/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
  279. package/es/organism/course-selection/test/fixtures.js +2 -0
  280. package/es/organism/course-selection/test/fixtures.js.map +1 -1
  281. package/es/organism/discussion/test/fixtures/default.js +1 -1
  282. package/es/organism/discussion/test/fixtures/default.js.map +1 -1
  283. package/es/organism/discussion/test/fixtures/loading-more.js +1 -1
  284. package/es/organism/discussion/test/fixtures/loading-more.js.map +1 -1
  285. package/es/organism/discussion/test/fixtures/new-discussion.js +1 -1
  286. package/es/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
  287. package/es/organism/get-the-app/index.js +2 -2
  288. package/es/organism/get-the-app/index.js.map +1 -1
  289. package/es/organism/list-items/test/fixtures/archived.js +1 -1
  290. package/es/organism/list-items/test/fixtures/archived.js.map +1 -1
  291. package/es/organism/list-items/test/fixtures/draft.js +1 -1
  292. package/es/organism/list-items/test/fixtures/draft.js.map +1 -1
  293. package/es/organism/list-items/test/fixtures/published.js +1 -1
  294. package/es/organism/list-items/test/fixtures/published.js.map +1 -1
  295. package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
  296. package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
  297. package/es/organism/mooc-header/test/fixtures/default.js +1 -1
  298. package/es/organism/mooc-header/test/fixtures/default.js.map +1 -1
  299. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  300. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  301. package/es/organism/playlist-translation/test/fixtures.js +15 -0
  302. package/es/organism/playlist-translation/test/fixtures.js.map +1 -0
  303. package/es/organism/popin/test/fixtures/default.js.map +1 -1
  304. package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
  305. package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
  306. package/es/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
  307. package/es/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
  308. package/es/organism/resource-browser/test/fixtures/kontiki.js +1 -1
  309. package/es/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
  310. package/es/organism/resource-browser/test/fixtures/mp4.js +1 -1
  311. package/es/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
  312. package/es/organism/settings/index.js +3 -2
  313. package/es/organism/settings/index.js.map +1 -1
  314. package/es/organism/sidebar/index.js +11 -10
  315. package/es/organism/sidebar/index.js.map +1 -1
  316. package/es/organism/user-preferences/index.js +3 -2
  317. package/es/organism/user-preferences/index.js.map +1 -1
  318. package/es/organism/wizard-contents/index.js +5 -5
  319. package/es/organism/wizard-contents/index.js.map +1 -1
  320. package/es/organism/wizard-contents/style.css +10 -10
  321. package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +1 -1
  322. package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
  323. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -1
  324. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
  325. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +1 -1
  326. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
  327. package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -1
  328. package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
  329. package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -1
  330. package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
  331. package/es/template/activity/index.js +1 -1
  332. package/es/template/activity/index.js.map +1 -1
  333. package/es/template/activity/test/progression-item-test.js +1 -1
  334. package/es/template/activity/test/progression-item-test.js.map +1 -1
  335. package/es/template/app-player/player/slides/footer/index.js +1 -1
  336. package/es/template/app-player/player/slides/footer/index.js.map +1 -1
  337. package/es/template/app-player/player/slides/index.js +14 -11
  338. package/es/template/app-player/player/slides/index.js.map +1 -1
  339. package/es/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
  340. package/es/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
  341. package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
  342. package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
  343. package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
  344. package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
  345. package/es/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
  346. package/es/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
  347. package/es/template/app-player/player/slides/test/fixtures/clue.js +2 -2
  348. package/es/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
  349. package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
  350. package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
  351. package/es/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
  352. package/es/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
  353. package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
  354. package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
  355. package/es/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
  356. package/es/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
  357. package/es/template/app-player/player/slides/test/fixtures/context.js +2 -2
  358. package/es/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
  359. package/es/template/app-player/player/slides/test/fixtures/default.js +2 -2
  360. package/es/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
  361. package/es/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
  362. package/es/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
  363. package/es/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
  364. package/es/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
  365. package/es/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
  366. package/es/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
  367. package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
  368. package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
  369. package/es/template/app-player/player/slides/test/fixtures/media.js +2 -2
  370. package/es/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
  371. package/es/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
  372. package/es/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
  373. package/es/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
  374. package/es/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
  375. package/es/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
  376. package/es/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
  377. package/es/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
  378. package/es/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
  379. package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
  380. package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
  381. package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
  382. package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
  383. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
  384. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
  385. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
  386. package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
  387. package/es/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
  388. package/es/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
  389. package/es/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
  390. package/es/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
  391. package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
  392. package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
  393. package/es/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
  394. package/es/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
  395. package/es/template/app-player/player/slides/test/fixtures/range.js +1 -1
  396. package/es/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
  397. package/es/template/app-player/player/slides/test/fixtures/template.js +1 -1
  398. package/es/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
  399. package/es/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
  400. package/es/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
  401. package/es/template/app-player/player/test/fixtures/background.js +1 -1
  402. package/es/template/app-player/player/test/fixtures/background.js.map +1 -1
  403. package/es/template/app-player/popin-correction/index.js +3 -2
  404. package/es/template/app-player/popin-correction/index.js.map +1 -1
  405. package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
  406. package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
  407. package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
  408. package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
  409. package/es/template/app-player/popin-end/summary.js +14 -9
  410. package/es/template/app-player/popin-end/summary.js.map +1 -1
  411. package/es/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
  412. package/es/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
  413. package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
  414. package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
  415. package/es/template/app-player/popin-end/test/fixtures/without-recommendation.js +13 -0
  416. package/es/template/app-player/popin-end/test/fixtures/without-recommendation.js.map +1 -0
  417. package/es/template/app-player/popin-header/index.js +4 -3
  418. package/es/template/app-player/popin-header/index.js.map +1 -1
  419. package/es/template/back-office/brand-create/test/fixtures/default.js +1 -1
  420. package/es/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
  421. package/es/template/back-office/brand-create/test/fixtures/loading.js +1 -1
  422. package/es/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
  423. package/es/template/back-office/brand-create/test/fixtures/modified.js +1 -1
  424. package/es/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
  425. package/es/template/back-office/brand-list/test/fixtures/default.js +1 -1
  426. package/es/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  427. package/es/template/back-office/brand-list/test/fixtures/rh.js +1 -1
  428. package/es/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  429. package/es/template/back-office/brand-update/index.js +12 -10
  430. package/es/template/back-office/brand-update/index.js.map +1 -1
  431. package/es/template/back-office/brand-update/style.css +4 -0
  432. package/es/template/back-office/brand-update/test/fixtures/list-items-archived.js +1 -1
  433. package/es/template/back-office/brand-update/test/fixtures/list-items-archived.js.map +1 -1
  434. package/es/template/back-office/brand-update/test/fixtures/list-items-draft.js +1 -1
  435. package/es/template/back-office/brand-update/test/fixtures/list-items-draft.js.map +1 -1
  436. package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +1 -1
  437. package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -1
  438. package/es/template/back-office/brand-update/test/fixtures/list-items-published.js +1 -1
  439. package/es/template/back-office/brand-update/test/fixtures/list-items-published.js.map +1 -1
  440. package/es/template/back-office/brand-update/test/fixtures/loader.js +6 -2
  441. package/es/template/back-office/brand-update/test/fixtures/loader.js.map +1 -1
  442. package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js +237 -2
  443. package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
  444. package/es/template/back-office/brand-update/test/fixtures/manageusers-list.js +1 -1
  445. package/es/template/back-office/brand-update/test/fixtures/manageusers-list.js.map +1 -1
  446. package/es/template/back-office/brand-update/test/fixtures/quick-access.js +1 -1
  447. package/es/template/back-office/brand-update/test/fixtures/quick-access.js.map +1 -1
  448. package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
  449. package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
  450. package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
  451. package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
  452. package/es/template/back-office/brand-update/test/fixtures/uploadusers.js +2 -2
  453. package/es/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
  454. package/es/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js +1 -1
  455. package/es/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js.map +1 -1
  456. package/es/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js +1 -1
  457. package/es/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js.map +1 -1
  458. package/es/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js +1 -1
  459. package/es/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js.map +1 -1
  460. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +1 -1
  461. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -1
  462. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js +1 -1
  463. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js.map +1 -1
  464. package/es/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js +1 -1
  465. package/es/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js.map +1 -1
  466. package/es/template/cockpit/jw-uploader/index.js +1 -1
  467. package/es/template/cockpit/jw-uploader/index.js.map +1 -1
  468. package/es/template/common/dashboard/index.js +1 -1
  469. package/es/template/common/dashboard/index.js.map +1 -1
  470. package/es/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
  471. package/es/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
  472. package/es/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
  473. package/es/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
  474. package/es/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
  475. package/es/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
  476. package/es/template/common/discipline/test/fixtures/arabic.js +1 -1
  477. package/es/template/common/discipline/test/fixtures/arabic.js.map +1 -1
  478. package/es/template/common/discipline/test/fixtures/default.js +2 -2
  479. package/es/template/common/discipline/test/fixtures/default.js.map +1 -1
  480. package/es/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
  481. package/es/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
  482. package/es/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
  483. package/es/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
  484. package/es/template/common/discipline/test/fixtures/external-course.js +2 -2
  485. package/es/template/common/discipline/test/fixtures/external-course.js.map +1 -1
  486. package/es/template/common/discipline/test/fixtures/share.js +1 -1
  487. package/es/template/common/discipline/test/fixtures/share.js.map +1 -1
  488. package/es/template/teams-dashboard/test/fixtures/default.js +1 -1
  489. package/es/template/teams-dashboard/test/fixtures/default.js.map +1 -1
  490. package/es/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
  491. package/es/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
  492. package/es/template/teams-dashboard/test/fixtures/mobile.js +1 -1
  493. package/es/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
  494. package/es/util/shallow-compare.js.map +1 -1
  495. package/es/util/test/navigation.js +4 -3
  496. package/es/util/test/navigation.js.map +1 -1
  497. package/lib/atom/autocomplete/index.js +2 -2
  498. package/lib/atom/autocomplete/test/fixtures/error.js +1 -1
  499. package/lib/atom/autocomplete/test/fixtures/error.js.map +1 -1
  500. package/lib/atom/autocomplete/test/fixtures/filled.js +1 -1
  501. package/lib/atom/autocomplete/test/fixtures/filled.js.map +1 -1
  502. package/lib/atom/autocomplete/test/fixtures/modified.js +1 -1
  503. package/lib/atom/autocomplete/test/fixtures/modified.js.map +1 -1
  504. package/lib/atom/button-link/index.js +2 -2
  505. package/lib/atom/button-link-icon-only/index.js +2 -2
  506. package/lib/atom/button-menu/index.js +2 -2
  507. package/lib/atom/button-menu/test/fixtures/default.js +1 -1
  508. package/lib/atom/button-menu/test/fixtures/multiple-buttons.js +1 -1
  509. package/lib/atom/chips/index.js +2 -2
  510. package/lib/atom/clue/index.js.map +1 -1
  511. package/lib/atom/cta/test/fixtures/certification.js +1 -1
  512. package/lib/atom/cta/test/fixtures/certification.js.map +1 -1
  513. package/lib/atom/cta/test/fixtures/disabled.js +1 -1
  514. package/lib/atom/cta/test/fixtures/disabled.js.map +1 -1
  515. package/lib/atom/cta/test/fixtures/light-small.js +1 -1
  516. package/lib/atom/cta/test/fixtures/light-small.js.map +1 -1
  517. package/lib/atom/cta/test/fixtures/light.js +1 -1
  518. package/lib/atom/cta/test/fixtures/light.js.map +1 -1
  519. package/lib/atom/cta/test/fixtures/logout.js +1 -1
  520. package/lib/atom/cta/test/fixtures/logout.js.map +1 -1
  521. package/lib/atom/cta/test/fixtures/primary-small.js +1 -1
  522. package/lib/atom/cta/test/fixtures/primary-small.js.map +1 -1
  523. package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
  524. package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
  525. package/lib/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
  526. package/lib/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
  527. package/lib/atom/cta/test/fixtures/rectangular.js +1 -1
  528. package/lib/atom/cta/test/fixtures/rectangular.js.map +1 -1
  529. package/lib/atom/cta/test/fixtures/secondary-small.js +1 -1
  530. package/lib/atom/cta/test/fixtures/secondary-small.js.map +1 -1
  531. package/lib/atom/cta/test/fixtures/secondary.js +1 -1
  532. package/lib/atom/cta/test/fixtures/secondary.js.map +1 -1
  533. package/lib/atom/drag-and-drop/index.js +1 -1
  534. package/lib/atom/drag-and-drop/index.js.map +1 -1
  535. package/lib/atom/drag-and-drop/test/fixtures/loading.js +1 -1
  536. package/lib/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
  537. package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
  538. package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
  539. package/lib/atom/image-upload/index.js +3 -3
  540. package/lib/atom/image-upload/index.js.map +1 -1
  541. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
  542. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
  543. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
  544. package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
  545. package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
  546. package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
  547. package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
  548. package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
  549. package/lib/atom/image-upload/test/fixtures/email.js +1 -1
  550. package/lib/atom/image-upload/test/fixtures/email.js.map +1 -1
  551. package/lib/atom/image-upload/test/fixtures/mobile.js +1 -1
  552. package/lib/atom/image-upload/test/fixtures/mobile.js.map +1 -1
  553. package/lib/atom/image-upload/test/fixtures/modified.js +1 -1
  554. package/lib/atom/image-upload/test/fixtures/modified.js.map +1 -1
  555. package/lib/atom/input-checkbox/index.js +2 -2
  556. package/lib/atom/input-color/index.js +2 -2
  557. package/lib/atom/input-doublestep/index.js +2 -2
  558. package/lib/atom/input-html/index.js.map +1 -1
  559. package/lib/atom/input-search/index.js +2 -2
  560. package/lib/atom/input-switch/index.js +2 -2
  561. package/lib/atom/input-switch/style.css +4 -3
  562. package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js +6 -9
  563. package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -1
  564. package/lib/atom/input-switch/test/fixtures/disabled.js +1 -1
  565. package/lib/atom/input-switch/test/fixtures/disabled.js.map +1 -1
  566. package/lib/atom/input-switch/test/fixtures.js +15 -0
  567. package/lib/atom/input-switch/test/fixtures.js.map +1 -1
  568. package/lib/atom/input-text/index.js +2 -2
  569. package/lib/atom/input-textarea/index.js +2 -2
  570. package/lib/atom/link/index.js +4 -2
  571. package/lib/atom/link/index.js.map +1 -1
  572. package/lib/atom/loader/test/fixtures.js +0 -3
  573. package/lib/atom/loader/test/fixtures.js.map +1 -1
  574. package/lib/atom/promo-code/index.js.map +1 -1
  575. package/lib/atom/provider/index.js.map +1 -1
  576. package/lib/atom/provider/test/index.js +1 -1
  577. package/lib/atom/provider/test/index.js.map +1 -1
  578. package/lib/atom/range/index.js +1 -1
  579. package/lib/atom/range/index.js.map +1 -1
  580. package/lib/atom/range/test/fixtures/multi.js +1 -1
  581. package/lib/atom/range/test/fixtures/multi.js.map +1 -1
  582. package/lib/atom/range/test/index.js +9 -9
  583. package/lib/atom/range/test/index.js.map +1 -1
  584. package/lib/atom/select/index.js +2 -2
  585. package/lib/atom/tab/index.js +2 -2
  586. package/lib/atom/video-upload/index.js +1 -1
  587. package/lib/atom/video-upload/index.js.map +1 -1
  588. package/lib/atom/video-upload/test/fixtures/loading.js +1 -1
  589. package/lib/atom/video-upload/test/fixtures/loading.js.map +1 -1
  590. package/lib/atom/video-upload/test/fixtures/modified.js +1 -1
  591. package/lib/atom/video-upload/test/fixtures/modified.js.map +1 -1
  592. package/lib/hoc/animation/index.js +1 -1
  593. package/lib/hoc/animation/test/on-mount.js +2 -2
  594. package/lib/hoc/animation-scheduler/index.js +4 -4
  595. package/lib/hoc/animation-scheduler/index.js.map +1 -1
  596. package/lib/hoc/animation-scheduler/test/fixtures/parallel.js +3 -3
  597. package/lib/hoc/animation-scheduler/test/fixtures/series.js +2 -2
  598. package/lib/hoc/animation-scheduler/test/on-mount.js +2 -2
  599. package/lib/hoc/swapper/index.js +5 -3
  600. package/lib/hoc/swapper/index.js.map +1 -1
  601. package/lib/hoc/swapper/test/on-mount.js +2 -2
  602. package/lib/hoc/transition/index.js +3 -3
  603. package/lib/hoc/transition/index.js.map +1 -1
  604. package/lib/molecule/add-to-my-list/index.js +4 -4
  605. package/lib/molecule/add-to-my-list/index.js.map +1 -1
  606. package/lib/molecule/answer/index.js +5 -3
  607. package/lib/molecule/answer/index.js.map +1 -1
  608. package/lib/molecule/answer/test/fixtures/audio.js +1 -1
  609. package/lib/molecule/answer/test/fixtures/audio.js.map +1 -1
  610. package/lib/molecule/answer/test/fixtures/default.js +1 -1
  611. package/lib/molecule/answer/test/fixtures/default.js.map +1 -1
  612. package/lib/molecule/answer/test/fixtures/drop-down.js +1 -1
  613. package/lib/molecule/answer/test/fixtures/drop-down.js.map +1 -1
  614. package/lib/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
  615. package/lib/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
  616. package/lib/molecule/answer/test/fixtures/qcm-drag.js +1 -1
  617. package/lib/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
  618. package/lib/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
  619. package/lib/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
  620. package/lib/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
  621. package/lib/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
  622. package/lib/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
  623. package/lib/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
  624. package/lib/molecule/answer/test/fixtures/qcm-short.js +1 -1
  625. package/lib/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
  626. package/lib/molecule/answer/test/fixtures/qcm.js +1 -1
  627. package/lib/molecule/answer/test/fixtures/qcm.js.map +1 -1
  628. package/lib/molecule/answer/test/fixtures/range.js +1 -1
  629. package/lib/molecule/answer/test/fixtures/range.js.map +1 -1
  630. package/lib/molecule/answer/test/fixtures/template.js +1 -1
  631. package/lib/molecule/answer/test/fixtures/template.js.map +1 -1
  632. package/lib/molecule/brand-create-form/index.js +2 -2
  633. package/lib/molecule/brand-form-group/index.js +18 -18
  634. package/lib/molecule/brand-form-group/index.js.map +1 -1
  635. package/lib/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
  636. package/lib/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
  637. package/lib/molecule/brand-form-group/test/fixtures/animations.js +2 -2
  638. package/lib/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
  639. package/lib/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
  640. package/lib/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
  641. package/lib/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
  642. package/lib/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
  643. package/lib/molecule/brand-form-group/test/fixtures/images.js +3 -3
  644. package/lib/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
  645. package/lib/molecule/brand-form-group/test/fixtures/slider.js +1 -1
  646. package/lib/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
  647. package/lib/molecule/bullet-point-menu-button/index.js +2 -2
  648. package/lib/molecule/card/index.js +3 -3
  649. package/lib/molecule/card/index.js.map +1 -1
  650. package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
  651. package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  652. package/lib/molecule/card/test/fixtures/adaptiv.js +1 -1
  653. package/lib/molecule/card/test/fixtures/adaptiv.js.map +1 -1
  654. package/lib/molecule/card/test/fixtures/disabled.js +1 -1
  655. package/lib/molecule/card/test/fixtures/disabled.js.map +1 -1
  656. package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
  657. package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
  658. package/lib/molecule/card-content/test/fixtures/adaptiv.js +1 -1
  659. package/lib/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
  660. package/lib/molecule/card-content/test/fixtures/disabled.js +1 -1
  661. package/lib/molecule/card-content/test/fixtures/disabled.js.map +1 -1
  662. package/lib/molecule/card-with-button/index.js.map +1 -1
  663. package/lib/molecule/coorp-manager-roles/index.js +1 -1
  664. package/lib/molecule/coorp-manager-roles/index.js.map +1 -1
  665. package/lib/molecule/dashboard/battle-request-list/index.js +1 -1
  666. package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
  667. package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
  668. package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
  669. package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
  670. package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
  671. package/lib/molecule/dashboard/cards-list/test/index.js +1 -1
  672. package/lib/molecule/dashboard/cards-list/test/index.js.map +1 -1
  673. package/lib/molecule/dashboard/news-list/index.js +1 -1
  674. package/lib/molecule/dashboard/news-list/index.js.map +1 -1
  675. package/lib/molecule/dashboard/start-battle/index.js +1 -1
  676. package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
  677. package/lib/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
  678. package/lib/molecule/drag-and-drop/index.js +3 -3
  679. package/lib/molecule/drag-and-drop/index.js.map +1 -1
  680. package/lib/molecule/drag-and-drop/test/fixtures/error.js +1 -1
  681. package/lib/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
  682. package/lib/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
  683. package/lib/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
  684. package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
  685. package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
  686. package/lib/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
  687. package/lib/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
  688. package/lib/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
  689. package/lib/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
  690. package/lib/molecule/drag-and-drop/test/fixtures/success.js +1 -1
  691. package/lib/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
  692. package/lib/molecule/drag-and-drop/test/on-click.js +2 -2
  693. package/lib/molecule/drag-and-drop/test/on-click.js.map +1 -1
  694. package/lib/molecule/drag-and-drop/upload-report.js +3 -3
  695. package/lib/molecule/drag-and-drop/upload-report.js.map +1 -1
  696. package/lib/molecule/feedback/index.js +3 -3
  697. package/lib/molecule/feedback/index.js.map +1 -1
  698. package/lib/molecule/filters/test/fixtures/default.js +4 -4
  699. package/lib/molecule/filters/test/fixtures/default.js.map +1 -1
  700. package/lib/molecule/filters/test/fixtures/filters-list.js +6 -6
  701. package/lib/molecule/filters/test/fixtures/filters-list.js.map +1 -1
  702. package/lib/molecule/filters/test/fixtures/one.js +2 -2
  703. package/lib/molecule/filters/test/fixtures/one.js.map +1 -1
  704. package/lib/molecule/filters/test/fixtures/only-radio-group.js +1 -1
  705. package/lib/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
  706. package/lib/molecule/filters/test/fixtures/only-timer.js +1 -1
  707. package/lib/molecule/filters/test/fixtures/only-timer.js.map +1 -1
  708. package/lib/molecule/filters/test/fixtures/three.js +3 -3
  709. package/lib/molecule/filters/test/fixtures/three.js.map +1 -1
  710. package/lib/molecule/filters/test/fixtures/two.js +3 -3
  711. package/lib/molecule/filters/test/fixtures/two.js.map +1 -1
  712. package/lib/molecule/filters/test/fixtures/zero.js +1 -1
  713. package/lib/molecule/filters/test/fixtures/zero.js.map +1 -1
  714. package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
  715. package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
  716. package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
  717. package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
  718. package/lib/molecule/hero/index.js +2 -2
  719. package/lib/molecule/hero/test/fixtures/arabic.js +1 -1
  720. package/lib/molecule/hero/test/fixtures/arabic.js.map +1 -1
  721. package/lib/molecule/hero/test/fixtures/hero.js +1 -1
  722. package/lib/molecule/hero/test/fixtures/hero.js.map +1 -1
  723. package/lib/molecule/news/test/fixtures/long-description.js +1 -1
  724. package/lib/molecule/news/test/fixtures/long-description.js.map +1 -1
  725. package/lib/molecule/news/test/fixtures/long-title.js +1 -1
  726. package/lib/molecule/news/test/fixtures/long-title.js.map +1 -1
  727. package/lib/molecule/news/test/fixtures/small-desciption.js +1 -1
  728. package/lib/molecule/news/test/fixtures/small-desciption.js.map +1 -1
  729. package/lib/molecule/news/test/fixtures/small-title.js +1 -1
  730. package/lib/molecule/news/test/fixtures/small-title.js.map +1 -1
  731. package/lib/molecule/popin/index.js +3 -3
  732. package/lib/molecule/popin/index.js.map +1 -1
  733. package/lib/molecule/progress-bar/index.js +1 -1
  734. package/lib/molecule/progress-bar/index.js.map +1 -1
  735. package/lib/molecule/questions/drop-down/index.js +3 -3
  736. package/lib/molecule/questions/drop-down/index.js.map +1 -1
  737. package/lib/molecule/questions/free-text/index.js +2 -2
  738. package/lib/molecule/questions/question-range/index.js +4 -2
  739. package/lib/molecule/questions/question-range/index.js.map +1 -1
  740. package/lib/molecule/questions/template/index.js +2 -2
  741. package/lib/molecule/questions/template/index.js.map +1 -1
  742. package/lib/molecule/questions/template/test/index.js +1 -1
  743. package/lib/molecule/questions/template/test/index.js.map +1 -1
  744. package/lib/molecule/quick-access-card/index.js.map +1 -1
  745. package/lib/molecule/resource-player/index.js +4 -2
  746. package/lib/molecule/resource-player/index.js.map +1 -1
  747. package/lib/molecule/scope-tabs/index.js +2 -2
  748. package/lib/molecule/search/test/fixtures.js +25 -0
  749. package/lib/molecule/search/test/fixtures.js.map +1 -0
  750. package/lib/molecule/search-form/index.js +2 -2
  751. package/lib/molecule/select-multiple/index.js +6 -6
  752. package/lib/molecule/select-multiple/index.js.map +1 -1
  753. package/lib/molecule/select-multiple/style.css +1 -1
  754. package/lib/molecule/select-multiple/test/index.js +4 -4
  755. package/lib/molecule/select-multiple/test/index.js.map +1 -1
  756. package/lib/molecule/setup-section/index.js +1 -1
  757. package/lib/molecule/setup-section/index.js.map +1 -1
  758. package/lib/molecule/setup-section/test/fixtures/first.js +1 -1
  759. package/lib/molecule/setup-section/test/fixtures/first.js.map +1 -1
  760. package/lib/molecule/setup-sections/index.js +2 -2
  761. package/lib/molecule/setup-slide/index.js +8 -8
  762. package/lib/molecule/setup-slide/index.js.map +1 -1
  763. package/lib/molecule/share/index.js +4 -4
  764. package/lib/molecule/share/index.js.map +1 -1
  765. package/lib/molecule/titled-checkbox/index.js +2 -2
  766. package/lib/molecule/vertical-tabs/test/fixtures/default.js +1 -1
  767. package/lib/molecule/vertical-tabs/test/fixtures.js +0 -3
  768. package/lib/molecule/vertical-tabs/test/fixtures.js.map +1 -1
  769. package/lib/molecule/video-iframe/index.js +1 -1
  770. package/lib/molecule/video-iframe/index.js.map +1 -1
  771. package/lib/molecule/video-player/index.js +3 -1
  772. package/lib/molecule/video-player/index.js.map +1 -1
  773. package/lib/molecule/video-player/jwplayer.js +2 -2
  774. package/lib/molecule/video-player/jwplayer.js.map +1 -1
  775. package/lib/molecule/video-player/test/fixtures/youtube.js +1 -1
  776. package/lib/molecule/video-player/test/fixtures/youtube.js.map +1 -1
  777. package/lib/molecule/video-player/vimeo.js +1 -1
  778. package/lib/molecule/video-player/vimeo.js.map +1 -1
  779. package/lib/molecule/wizard-summary/index.js +2 -2
  780. package/lib/molecule/wizard-summary/style.css +0 -1
  781. package/lib/organism/accordion/container/index.js +2 -2
  782. package/lib/organism/accordion/coorp-manager/index.js +3 -3
  783. package/lib/organism/accordion/coorp-manager/index.js.map +1 -1
  784. package/lib/organism/accordion/toggler/index.js +1 -1
  785. package/lib/organism/accordion/toggler/index.js.map +1 -1
  786. package/lib/organism/accordion/toggler/test/render.js +2 -2
  787. package/lib/organism/accordion/toggler/test/render.js.map +1 -1
  788. package/lib/organism/brand-form/index.js +2 -2
  789. package/lib/organism/brand-form/test/fixtures/sso.js +3 -3
  790. package/lib/organism/brand-form/test/fixtures/sso.js.map +1 -1
  791. package/lib/organism/content-translation/index.js +2 -2
  792. package/lib/organism/content-translation/index.js.map +1 -1
  793. package/lib/organism/content-translation/style.css +2 -2
  794. package/lib/organism/content-translation/test/fixtures/default.js +2 -2
  795. package/lib/organism/content-translation/test/fixtures/default.js.map +1 -1
  796. package/lib/organism/course-selection/index.js +9 -2
  797. package/lib/organism/course-selection/index.js.map +1 -1
  798. package/lib/organism/course-selection/style.css +2 -1
  799. package/lib/organism/course-selection/test/fixtures/default.js +10 -10
  800. package/lib/organism/course-selection/test/fixtures/default.js.map +1 -1
  801. package/lib/organism/course-selection/test/fixtures/filtered.js +3 -3
  802. package/lib/organism/course-selection/test/fixtures/filtered.js.map +1 -1
  803. package/lib/organism/course-selection/test/fixtures/sorted-selected.js +6 -6
  804. package/lib/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
  805. package/lib/organism/course-selection/test/fixtures/switch-activated.js +1 -1
  806. package/lib/organism/course-selection/test/fixtures/switch-activated.js.map +1 -1
  807. package/lib/organism/course-selection/test/fixtures/unsorted-selected.js +6 -6
  808. package/lib/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
  809. package/lib/organism/course-selection/test/fixtures.js +3 -0
  810. package/lib/organism/course-selection/test/fixtures.js.map +1 -1
  811. package/lib/organism/discussion/test/fixtures/default.js +1 -1
  812. package/lib/organism/discussion/test/fixtures/default.js.map +1 -1
  813. package/lib/organism/discussion/test/fixtures/loading-more.js +1 -1
  814. package/lib/organism/discussion/test/fixtures/loading-more.js.map +1 -1
  815. package/lib/organism/discussion/test/fixtures/new-discussion.js +1 -1
  816. package/lib/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
  817. package/lib/organism/get-the-app/index.js +2 -2
  818. package/lib/organism/get-the-app/index.js.map +1 -1
  819. package/lib/organism/list-items/test/fixtures/archived.js +1 -1
  820. package/lib/organism/list-items/test/fixtures/archived.js.map +1 -1
  821. package/lib/organism/list-items/test/fixtures/draft.js +1 -1
  822. package/lib/organism/list-items/test/fixtures/draft.js.map +1 -1
  823. package/lib/organism/list-items/test/fixtures/published.js +1 -1
  824. package/lib/organism/list-items/test/fixtures/published.js.map +1 -1
  825. package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
  826. package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
  827. package/lib/organism/mooc-header/test/fixtures/default.js +1 -1
  828. package/lib/organism/mooc-header/test/fixtures/default.js.map +1 -1
  829. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
  830. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  831. package/lib/organism/playlist-translation/test/fixtures.js +25 -0
  832. package/lib/organism/playlist-translation/test/fixtures.js.map +1 -0
  833. package/lib/organism/popin/test/fixtures/default.js.map +1 -1
  834. package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
  835. package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
  836. package/lib/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
  837. package/lib/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
  838. package/lib/organism/resource-browser/test/fixtures/kontiki.js +1 -1
  839. package/lib/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
  840. package/lib/organism/resource-browser/test/fixtures/mp4.js +1 -1
  841. package/lib/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
  842. package/lib/organism/settings/index.js +4 -2
  843. package/lib/organism/settings/index.js.map +1 -1
  844. package/lib/organism/sidebar/index.js +15 -13
  845. package/lib/organism/sidebar/index.js.map +1 -1
  846. package/lib/organism/user-preferences/index.js +4 -2
  847. package/lib/organism/user-preferences/index.js.map +1 -1
  848. package/lib/organism/wizard-contents/index.js +5 -5
  849. package/lib/organism/wizard-contents/index.js.map +1 -1
  850. package/lib/organism/wizard-contents/style.css +10 -10
  851. package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +1 -1
  852. package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
  853. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -1
  854. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
  855. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +1 -1
  856. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
  857. package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -1
  858. package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
  859. package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -1
  860. package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
  861. package/lib/template/activity/index.js +1 -1
  862. package/lib/template/activity/index.js.map +1 -1
  863. package/lib/template/activity/progression-item.js +2 -2
  864. package/lib/template/activity/test/progression-item-test.js +1 -1
  865. package/lib/template/activity/test/progression-item-test.js.map +1 -1
  866. package/lib/template/app-player/player/slides/footer/index.js +1 -1
  867. package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
  868. package/lib/template/app-player/player/slides/index.js +15 -11
  869. package/lib/template/app-player/player/slides/index.js.map +1 -1
  870. package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
  871. package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
  872. package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
  873. package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
  874. package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
  875. package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
  876. package/lib/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
  877. package/lib/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
  878. package/lib/template/app-player/player/slides/test/fixtures/clue.js +2 -2
  879. package/lib/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
  880. package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
  881. package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
  882. package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
  883. package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
  884. package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
  885. package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
  886. package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
  887. package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
  888. package/lib/template/app-player/player/slides/test/fixtures/context.js +2 -2
  889. package/lib/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
  890. package/lib/template/app-player/player/slides/test/fixtures/default.js +2 -2
  891. package/lib/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
  892. package/lib/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
  893. package/lib/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
  894. package/lib/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
  895. package/lib/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
  896. package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
  897. package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
  898. package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
  899. package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
  900. package/lib/template/app-player/player/slides/test/fixtures/media.js +2 -2
  901. package/lib/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
  902. package/lib/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
  903. package/lib/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
  904. package/lib/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
  905. package/lib/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
  906. package/lib/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
  907. package/lib/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
  908. package/lib/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
  909. package/lib/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
  910. package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
  911. package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
  912. package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
  913. package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
  914. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
  915. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
  916. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
  917. package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
  918. package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
  919. package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
  920. package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
  921. package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
  922. package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
  923. package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
  924. package/lib/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
  925. package/lib/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
  926. package/lib/template/app-player/player/slides/test/fixtures/range.js +1 -1
  927. package/lib/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
  928. package/lib/template/app-player/player/slides/test/fixtures/template.js +1 -1
  929. package/lib/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
  930. package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
  931. package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
  932. package/lib/template/app-player/player/test/fixtures/background.js +1 -1
  933. package/lib/template/app-player/player/test/fixtures/background.js.map +1 -1
  934. package/lib/template/app-player/popin-correction/index.js +6 -4
  935. package/lib/template/app-player/popin-correction/index.js.map +1 -1
  936. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
  937. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
  938. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
  939. package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
  940. package/lib/template/app-player/popin-end/summary.js +16 -9
  941. package/lib/template/app-player/popin-end/summary.js.map +1 -1
  942. package/lib/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
  943. package/lib/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
  944. package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
  945. package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
  946. package/lib/template/app-player/popin-end/test/fixtures/without-recommendation.js +24 -0
  947. package/lib/template/app-player/popin-end/test/fixtures/without-recommendation.js.map +1 -0
  948. package/lib/template/app-player/popin-header/index.js +7 -5
  949. package/lib/template/app-player/popin-header/index.js.map +1 -1
  950. package/lib/template/back-office/brand-create/test/fixtures/default.js +1 -1
  951. package/lib/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
  952. package/lib/template/back-office/brand-create/test/fixtures/loading.js +1 -1
  953. package/lib/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
  954. package/lib/template/back-office/brand-create/test/fixtures/modified.js +1 -1
  955. package/lib/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
  956. package/lib/template/back-office/brand-list/test/fixtures/default.js +1 -1
  957. package/lib/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  958. package/lib/template/back-office/brand-list/test/fixtures/rh.js +1 -1
  959. package/lib/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  960. package/lib/template/back-office/brand-update/index.js +12 -10
  961. package/lib/template/back-office/brand-update/index.js.map +1 -1
  962. package/lib/template/back-office/brand-update/style.css +4 -0
  963. package/lib/template/back-office/brand-update/test/fixtures/analytics.js +2 -2
  964. package/lib/template/back-office/brand-update/test/fixtures/animations.js +2 -2
  965. package/lib/template/back-office/brand-update/test/fixtures/cohort-error.js +2 -2
  966. package/lib/template/back-office/brand-update/test/fixtures/cohort.js +2 -2
  967. package/lib/template/back-office/brand-update/test/fixtures/dashboard.js +2 -2
  968. package/lib/template/back-office/brand-update/test/fixtures/dashboards-analytics.js +2 -2
  969. package/lib/template/back-office/brand-update/test/fixtures/default.js +1 -1
  970. package/lib/template/back-office/brand-update/test/fixtures/list-items-archived.js +1 -1
  971. package/lib/template/back-office/brand-update/test/fixtures/list-items-archived.js.map +1 -1
  972. package/lib/template/back-office/brand-update/test/fixtures/list-items-draft.js +1 -1
  973. package/lib/template/back-office/brand-update/test/fixtures/list-items-draft.js.map +1 -1
  974. package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +1 -1
  975. package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -1
  976. package/lib/template/back-office/brand-update/test/fixtures/list-items-published.js +1 -1
  977. package/lib/template/back-office/brand-update/test/fixtures/list-items-published.js.map +1 -1
  978. package/lib/template/back-office/brand-update/test/fixtures/lms-error.js +2 -2
  979. package/lib/template/back-office/brand-update/test/fixtures/lms-modified.js +2 -2
  980. package/lib/template/back-office/brand-update/test/fixtures/lms-success.js +2 -2
  981. package/lib/template/back-office/brand-update/test/fixtures/lms.js +2 -2
  982. package/lib/template/back-office/brand-update/test/fixtures/loader.js +7 -3
  983. package/lib/template/back-office/brand-update/test/fixtures/loader.js.map +1 -1
  984. package/lib/template/back-office/brand-update/test/fixtures/lookandfeel.js +2 -2
  985. package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js +237 -2
  986. package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
  987. package/lib/template/back-office/brand-update/test/fixtures/manageusers-list.js +2 -2
  988. package/lib/template/back-office/brand-update/test/fixtures/manageusers-list.js.map +1 -1
  989. package/lib/template/back-office/brand-update/test/fixtures/quick-access.js +1 -1
  990. package/lib/template/back-office/brand-update/test/fixtures/quick-access.js.map +1 -1
  991. package/lib/template/back-office/brand-update/test/fixtures/sso.js +2 -2
  992. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
  993. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
  994. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
  995. package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
  996. package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js +3 -3
  997. package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
  998. package/lib/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js +1 -1
  999. package/lib/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js.map +1 -1
  1000. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js +1 -1
  1001. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js.map +1 -1
  1002. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js +1 -1
  1003. package/lib/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js.map +1 -1
  1004. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +1 -1
  1005. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -1
  1006. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js +1 -1
  1007. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js.map +1 -1
  1008. package/lib/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js +1 -1
  1009. package/lib/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js.map +1 -1
  1010. package/lib/template/cockpit/jw-uploader/index.js +1 -1
  1011. package/lib/template/cockpit/jw-uploader/index.js.map +1 -1
  1012. package/lib/template/common/dashboard/index.js +1 -1
  1013. package/lib/template/common/dashboard/index.js.map +1 -1
  1014. package/lib/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
  1015. package/lib/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
  1016. package/lib/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
  1017. package/lib/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
  1018. package/lib/template/common/discipline/index.js +2 -2
  1019. package/lib/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
  1020. package/lib/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
  1021. package/lib/template/common/discipline/test/fixtures/arabic.js +1 -1
  1022. package/lib/template/common/discipline/test/fixtures/arabic.js.map +1 -1
  1023. package/lib/template/common/discipline/test/fixtures/default.js +2 -2
  1024. package/lib/template/common/discipline/test/fixtures/default.js.map +1 -1
  1025. package/lib/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
  1026. package/lib/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
  1027. package/lib/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
  1028. package/lib/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
  1029. package/lib/template/common/discipline/test/fixtures/external-course.js +2 -2
  1030. package/lib/template/common/discipline/test/fixtures/external-course.js.map +1 -1
  1031. package/lib/template/common/discipline/test/fixtures/share.js +1 -1
  1032. package/lib/template/common/discipline/test/fixtures/share.js.map +1 -1
  1033. package/lib/template/teams-dashboard/index.js +2 -2
  1034. package/lib/template/teams-dashboard/test/fixtures/default.js +2 -2
  1035. package/lib/template/teams-dashboard/test/fixtures/default.js.map +1 -1
  1036. package/lib/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
  1037. package/lib/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
  1038. package/lib/template/teams-dashboard/test/fixtures/mobile.js +1 -1
  1039. package/lib/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
  1040. package/lib/test/helpers/render-component.js +1 -1
  1041. package/lib/util/external-content.js +1 -1
  1042. package/lib/util/proptypes.js +1 -1
  1043. package/lib/util/shallow-compare.js.map +1 -1
  1044. package/lib/util/test/navigation.js +5 -3
  1045. package/lib/util/test/navigation.js.map +1 -1
  1046. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/filters/test/fixtures/only-timer.js"],"names":["rangeslider","Default","timer","props","filters","type","fieldName","title","subtitle","openFilters"],"mappings":";;;;AACA,OAAOA,WAAP,MAAwB,4CAAxB;AACA,OAAOC,OAAP,MAAoB,QAApB;AAEA,MAAMC,KAAK,GAAGF,WAAW,CAACG,KAA1B;AAEA,eAAe,cAAaF,OAAb,EAAsB;AACnCE,EAAAA,KAAK,EAAE;AACLC,IAAAA,OAAO,EAAE,uBAEFF,KAFE;AAGLG,MAAAA,IAAI,EAAE,OAHD;AAILC,MAAAA,SAAS,EAAE,MAJN;AAKLC,MAAAA,KAAK,EAAE,OALF;AAMLC,MAAAA,QAAQ,EAAE;AANL,OADJ;AAULC,IAAAA,WAAW,EAAE;AAVR;AAD4B,CAAtB,CAAf","sourcesContent":["import {defaultsDeep} from 'lodash/fp';\nimport rangeslider from '../../../../atom/range/test/fixtures/multi';\nimport Default from './zero';\n\nconst timer = rangeslider.props;\n\nexport default defaultsDeep(Default, {\n props: {\n filters: [\n {\n ...timer,\n type: 'range',\n fieldName: 'Time',\n title: 'Time:',\n subtitle: '2 mins - 3 hours +'\n }\n ],\n openFilters: true\n }\n});\n"],"file":"only-timer.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/filters/test/fixtures/only-timer.js"],"names":["rangeslider","Default","timer","props","filters","type","fieldName","title","subtitle","openFilters"],"mappings":";;;;AACA,OAAOA,WAAP,MAAwB,4CAAxB;AACA,OAAOC,OAAP,MAAoB,QAApB;AAEA,MAAMC,KAAK,GAAGF,WAAW,CAACG,KAA1B;AAEA,eAAe,cAAaF,OAAb,EAAsB;AACnCE,EAAAA,KAAK,EAAE;AACLC,IAAAA,OAAO,EAAE,cAEFF,KAFE;AAGLG,MAAAA,IAAI,EAAE,OAHD;AAILC,MAAAA,SAAS,EAAE,MAJN;AAKLC,MAAAA,KAAK,EAAE,OALF;AAMLC,MAAAA,QAAQ,EAAE;AANL,OADJ;AAULC,IAAAA,WAAW,EAAE;AAVR;AAD4B,CAAtB,CAAf","sourcesContent":["import {defaultsDeep} from 'lodash/fp';\nimport rangeslider from '../../../../atom/range/test/fixtures/multi';\nimport Default from './zero';\n\nconst timer = rangeslider.props;\n\nexport default defaultsDeep(Default, {\n props: {\n filters: [\n {\n ...timer,\n type: 'range',\n fieldName: 'Time',\n title: 'Time:',\n subtitle: '2 mins - 3 hours +'\n }\n ],\n openFilters: true\n }\n});\n"],"file":"only-timer.js"}
@@ -8,7 +8,7 @@ export default {
8
8
  filterCTALabel: 'Filter',
9
9
  sortTabLabel: 'Sort by',
10
10
  sortCTALabel: 'Sort',
11
- filters: [_extends(_extends({}, selectFilter), {}, {
11
+ filters: [_extends({}, selectFilter, {
12
12
  type: 'select',
13
13
  fieldName: 'Thematic',
14
14
  title: 'Thematic:',
@@ -26,7 +26,7 @@ export default {
26
26
  selected: false
27
27
  }],
28
28
  onChange: value => console.log(value)
29
- }), _extends(_extends({}, selectFilter), {}, {
29
+ }), _extends({}, selectFilter, {
30
30
  type: 'select',
31
31
  fieldName: 'Authors',
32
32
  title: 'Authors:',
@@ -44,7 +44,7 @@ export default {
44
44
  selected: false
45
45
  }],
46
46
  onChange: value => console.log(value)
47
- }), _extends(_extends({}, selectFilter), {}, {
47
+ }), _extends({}, selectFilter, {
48
48
  type: 'select',
49
49
  fieldName: 'Courses',
50
50
  title: 'Learning Paths:',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/filters/test/fixtures/three.js"],"names":["dropdownsFilter","selectFilter","props","filterTabLabel","filterCTALabel","sortTabLabel","sortCTALabel","filters","type","fieldName","title","options","name","value","selected","onCh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,IAAI,EAAE,UADR;AAEEC,QAAAA,KAAK,EAAE,UAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OAbO,CA9BJ;AAiDLC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AAjDd,8BAoDFZ,YApDE;AAqDLO,MAAAA,IAAI,EAAE,QArDD;AAsDLC,MAAAA,SAAS,EAAE,SAtDN;AAuDLC,MAAAA,KAAK,EAAE,iBAvDF;AAwDLC,MAAAA,OAAO,EAAE,CACP;AACEC,QAAAA,IAAI,EAAE,gBADR;AAEEC,QAAAA,KAAK,EAAE,KAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OADO,EAMP;AACEF,QAAAA,IAAI,EAAE,4BADR;AAEEC,QAAAA,KAAK,EAAE,aAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OANO,EAWP;AACEF,QAAAA,IAAI,EAAE,YADR;AAEEC,QAAAA,KAAK,EAAE,YAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OAXO,EAgBP;AACEF,QAAAA,IAAI,EAAE,yBADR;AAEEC,QAAAA,KAAK,EAAE,aAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OAhBO,CAxDJ;AA8ELC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AA9Ed;AALJ;AADM,CAAf","sourcesContent":["import dropdownsFilter from '../../../../atom/select/test/fixtures/filter';\n\nconst selectFilter = dropdownsFilter.props;\n\nexport default {\n props: {\n filterTabLabel: 'Filter',\n filterCTALabel: 'Filter',\n sortTabLabel: 'Sort by',\n sortCTALabel: 'Sort',\n filters: [\n {\n ...selectFilter,\n type: 'select',\n fieldName: 'Thematic',\n title: 'Thematic:',\n options: [\n {\n name: 'digital',\n value: 'digital',\n selected: false\n },\n {\n name: 'Esprit du temps',\n value: 'Esprit du temps',\n selected: true\n },\n {\n name: 'La troisième révolution industrielle',\n value: 'La 3e révolution industrielle',\n selected: false\n }\n ],\n onChange: value => console.log(value)\n },\n {\n ...selectFilter,\n type: 'select',\n fieldName: 'Authors',\n title: 'Authors:',\n options: [\n {\n name: 'Coorpacademy',\n value: 'Coorpacademy',\n selected: false\n },\n {\n name:\n 'World Health Organization - Mental Health Policy' +\n 'and Service Development, Michelle Funk and Nathalie Drew',\n value: 'WHO',\n selected: true\n },\n {\n name: 'Elephant',\n value: 'Elephant',\n selected: false\n }\n ],\n onChange: value => console.log(value)\n },\n {\n ...selectFilter,\n type: 'select',\n fieldName: 'Courses',\n title: 'Learning Paths:',\n options: [\n {\n name: 'All categories',\n value: 'ALL',\n selected: false\n },\n {\n name: 'Innovations & Technologies',\n value: 'Innovations',\n selected: true\n },\n {\n name: 'Management',\n value: 'Management',\n selected: false\n },\n {\n name: 'Sustainable development',\n value: 'Sustainable',\n selected: false\n }\n ],\n onChange: value => console.log(value)\n }\n ]\n }\n};\n"],"file":"three.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/filters/test/fixtures/three.js"],"names":["dropdownsFilter","selectFilter","props","filterTabLabel","filterCTALabel","sortTabLabel","sortCTALabel","filters","type","fieldName","title","options","name","value","selected","onChange","console","log"],"mappings":";;AAAA,OAAOA,eAAP,MAA4B,8CAA5B;AAEA,MAAMC,YAAY,GAAGD,eAAe,CAACE,KAArC;AAEA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,cAAc,EAAE,QADX;AAELC,IAAAA,cAAc,EAAE,QAFX;AAGLC,IAAAA,YAAY,EAAE,SAHT;AAILC,IAAAA,YAAY,EAAE,MAJT;AAKLC,IAAAA,OAAO,EAAE,cAEFN,YAFE;AAGLO,MAAAA,IAAI,EAAE,QAHD;AAILC,MAAAA,SAAS,EAAE,UAJN;AAKLC,MAAAA,KAAK,EAAE,WALF;AAMLC,MAAAA,OAAO,EAAE,CACP;AACEC,QAAAA,IAAI,EAAE,SADR;AAEEC,QAAAA,KAAK,EAAE,SAFT;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AAA,KAAK,EAAE,aAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OANO,EAWP;AACEF,QAAAA,IAAI,EAAE,YADR;AAEEC,QAAAA,KAAK,EAAE,YAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OAXO,EAgBP;AACEF,QAAAA,IAAI,EAAE,yBADR;AAEEC,QAAAA,KAAK,EAAE,aAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OAhBO,CAxDJ;AA8ELC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AA9Ed;AALJ;AADM,CAAf","sourcesContent":["import dropdownsFilter from '../../../../atom/select/test/fixtures/filter';\n\nconst selectFilter = dropdownsFilter.props;\n\nexport default {\n props: {\n filterTabLabel: 'Filter',\n filterCTALabel: 'Filter',\n sortTabLabel: 'Sort by',\n sortCTALabel: 'Sort',\n filters: [\n {\n ...selectFilter,\n type: 'select',\n fieldName: 'Thematic',\n title: 'Thematic:',\n options: [\n {\n name: 'digital',\n value: 'digital',\n selected: false\n },\n {\n name: 'Esprit du temps',\n value: 'Esprit du temps',\n selected: true\n },\n {\n name: 'La troisième révolution industrielle',\n value: 'La 3e révolution industrielle',\n selected: false\n }\n ],\n onChange: value => console.log(value)\n },\n {\n ...selectFilter,\n type: 'select',\n fieldName: 'Authors',\n title: 'Authors:',\n options: [\n {\n name: 'Coorpacademy',\n value: 'Coorpacademy',\n selected: false\n },\n {\n name:\n 'World Health Organization - Mental Health Policy' +\n 'and Service Development, Michelle Funk and Nathalie Drew',\n value: 'WHO',\n selected: true\n },\n {\n name: 'Elephant',\n value: 'Elephant',\n selected: false\n }\n ],\n onChange: value => console.log(value)\n },\n {\n ...selectFilter,\n type: 'select',\n fieldName: 'Courses',\n title: 'Learning Paths:',\n options: [\n {\n name: 'All categories',\n value: 'ALL',\n selected: false\n },\n {\n name: 'Innovations & Technologies',\n value: 'Innovations',\n selected: true\n },\n {\n name: 'Management',\n value: 'Management',\n selected: false\n },\n {\n name: 'Sustainable development',\n value: 'Sustainable',\n selected: false\n }\n ],\n onChange: value => console.log(value)\n }\n ]\n }\n};\n"],"file":"three.js"}
@@ -10,7 +10,7 @@ export default {
10
10
  filterCTALabel: 'Filter',
11
11
  sortTabLabel: 'Sort by',
12
12
  sortCTALabel: 'Sort',
13
- filters: [_extends(_extends({}, selectFilter), {}, {
13
+ filters: [_extends({}, selectFilter, {
14
14
  type: 'select',
15
15
  fieldName: 'Thematic',
16
16
  title: 'Thematic:',
@@ -28,7 +28,7 @@ export default {
28
28
  selected: false
29
29
  }],
30
30
  onChange: value => console.log(value)
31
- }), _extends(_extends({}, selectFilter), {}, {
31
+ }), _extends({}, selectFilter, {
32
32
  type: 'select',
33
33
  fieldName: 'Authors',
34
34
  title: 'Authors:',
@@ -47,7 +47,7 @@ export default {
47
47
  }],
48
48
  onChange: value => console.log(value)
49
49
  })],
50
- sorting: _extends(_extends({}, selectSort), {}, {
50
+ sorting: _extends({}, selectSort, {
51
51
  title: 'Sort by',
52
52
  options: [{
53
53
  name: 'Position',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/filters/test/fixtures/two.js"],"names":["dropdownsFilter","dropdownsSort","selectFilter","props","selectSort","filterTabLabel","filterCTALabel","sortTabLabel","sortCTALabel","filters","type","fieldName","title","options","name","value","selected","onChange","console","log","sorting"],"mappings":";;AAAA,OAAOA,eAAP,MAA4B,8CAA5B;AACA,OAAOC,aAAP,MAA0B,4CAA1B;AAEA,MAAMC,YAAY,GAAGF,eAAe,CAACG,KAArC;AACA,MAAMC,UAAU,GAAGH,aAAa,CAACE,KAAjC;AAEA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLE,IAAAA,cAAc,EAAE,QADX;AAELC,IAAAA,cAAc,EAAE,QAFX;AAGLC,IAAAA,YAAY,EAAE,SAHT;AAILC,IAAAA,YAAY,EAAE,MAJT;AAKLC,IAAAA,OAAO,EAAE,uBAEFP,YAFE;AAGLQ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I,EAAE,UADR;AAEEC,QAAAA,KAAK,EAAE,UAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OADO,EAMP;AACEF,QAAAA,IAAI,EAAE,cADR;AAEEC,QAAAA,KAAK,EAAE,cAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OANO,EAWP;AACEF,QAAAA,IAAI,EAAE,QADR;AAEEC,QAAAA,KAAK,EAAE,QAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OAXO,CAHJ;AAoBLC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AApBd;AAzDF;AADM,CAAf","sourcesContent":["import dropdownsFilter from '../../../../atom/select/test/fixtures/filter';\nimport dropdownsSort from '../../../../atom/select/test/fixtures/sort';\n\nconst selectFilter = dropdownsFilter.props;\nconst selectSort = dropdownsSort.props;\n\nexport default {\n props: {\n filterTabLabel: 'Filter',\n filterCTALabel: 'Filter',\n sortTabLabel: 'Sort by',\n sortCTALabel: 'Sort',\n filters: [\n {\n ...selectFilter,\n type: 'select',\n fieldName: 'Thematic',\n title: 'Thematic:',\n options: [\n {\n name: 'digital',\n value: 'digital',\n selected: false\n },\n {\n name: 'Esprit du temps',\n value: 'Esprit du temps',\n selected: true\n },\n {\n name: 'La troisième révolution industrielle',\n value: 'La 3e révolution industrielle',\n selected: false\n }\n ],\n onChange: value => console.log(value)\n },\n {\n ...selectFilter,\n type: 'select',\n fieldName: 'Authors',\n title: 'Authors:',\n options: [\n {\n name: 'Coorpacademy',\n value: 'Coorpacademy',\n selected: false\n },\n {\n name:\n 'World Health Organization - Mental Health Policy' +\n 'and Service Development, Michelle Funk and Nathalie Drew',\n value: 'WHO',\n selected: true\n },\n {\n name: 'Elephant',\n value: 'Elephant',\n selected: false\n }\n ],\n onChange: value => console.log(value)\n }\n ],\n sorting: {\n ...selectSort,\n title: 'Sort by',\n options: [\n {\n name: 'Position',\n value: 'Position',\n selected: true\n },\n {\n name: 'Most popular',\n value: 'Most popular',\n selected: false\n },\n {\n name: 'Newest',\n value: 'Newest',\n selected: false\n }\n ],\n onChange: value => console.log(value)\n }\n }\n};\n"],"file":"two.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/filters/test/fixtures/two.js"],"names":["dropdownsFilter","dropdownsSort","selectFilter","props","selectSort","filterTabLabel","filterCTALabel","sortTabLabel","sortCTALabel","filters","type","fieldName","title","options","name","value","selected","onChange","console","log","sorting"],"mappings":";;AAAA,OAAOA,eAAP,MAA4B,8CAA5B;AACA,OAAOC,aAAP,MAA0B,4CAA1B;AAEA,MAAMC,YAAY,GAAGF,eAAe,CAACG,KAArC;AACA,MAAMC,UAAU,GAAGH,aAAa,CAACE,KAAjC;AAEA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLE,IAAAA,cAAc,EAAE,QADX;AAELC,IAAAA,cAAc,EAAE,QAFX;AAGLC,IAAAA,YAAY,EAAE,SAHT;AAILC,IAAAA,YAAY,EAAE,MAJT;AAKLC,IAAAA,OAAO,EAAE,cAEFP,YAFE;AAGLQ,MAAAA,IAAI,EAAE,QAHD;AAILC,MAAAA,SAAS,EAAE,UAJN;AAKLC,MAAAA,KAAK,EAAE,WALF;AAMLC,MAAAA,OAAO,EAAE,CACP;AACEC,QAAAA,IAAI,EAAE,SADR;AAEEC,QAAAA,KAAK,EAAE,SAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OADO,EAMP;AACEF,QAAAA,IAAI,EAAE,iBADR;AAEEC,QAAAA,KAAK,EAAE,iBAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OANO,EAWP;AACEF,QAAAA,IAAI,EAAE,sCADR;AAEEC,QAAAA,KAAK,EAAE,+BAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OAXO,CANJ;AAuBLC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AAvBd,qBA0BFb,YA1BE;AA2BLQ,MAAAA,IAAI,EAAE,QA3BD;AA4BLC,MAAAA,SAAS,EAAE,SA5BN;AA6BLC,MAAAA,KAAK,EAAE,UA7BF;AA8BLC,MAAAA,OAAO,EAAE,CACP;AACEC,QAAAA,IAAI,EAAE,cADR;AAEEC,QAAAA,KAAK,EAAE,cAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OADO,EAMP;AACEF,QAAAA,IAAI,EACF,qDACA,0DAHJ;AAIEC,QAAAA,KAAK,EAAE,KAJT;AAKEC,QAAAA,QAAQ,EAAE;AALZ,OANO,EAaP;AACEF,QAAAA,IAAI,EAAE,UADR;AAEEC,QAAAA,KAAK,EAAE,UAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OAbO,CA9BJ;AAiDLC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AAjDd,OALJ;AAyDLK,IAAAA,OAAO,eACFhB,UADE;AAELQ,MAAAA,KAAK,EAAE,SAFF;AAGLC,MAAAA,OAAO,EAAE,CACP;AACEC,QAAAA,IAAI,EAAE,UADR;AAEEC,QAAAA,KAAK,EAAE,UAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OADO,EAMP;AACEF,QAAAA,IAAI,EAAE,cADR;AAEEC,QAAAA,KAAK,EAAE,cAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OANO,EAWP;AACEF,QAAAA,IAAI,EAAE,QADR;AAEEC,QAAAA,KAAK,EAAE,QAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OAXO,CAHJ;AAoBLC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AApBd;AAzDF;AADM,CAAf","sourcesContent":["import dropdownsFilter from '../../../../atom/select/test/fixtures/filter';\nimport dropdownsSort from '../../../../atom/select/test/fixtures/sort';\n\nconst selectFilter = dropdownsFilter.props;\nconst selectSort = dropdownsSort.props;\n\nexport default {\n props: {\n filterTabLabel: 'Filter',\n filterCTALabel: 'Filter',\n sortTabLabel: 'Sort by',\n sortCTALabel: 'Sort',\n filters: [\n {\n ...selectFilter,\n type: 'select',\n fieldName: 'Thematic',\n title: 'Thematic:',\n options: [\n {\n name: 'digital',\n value: 'digital',\n selected: false\n },\n {\n name: 'Esprit du temps',\n value: 'Esprit du temps',\n selected: true\n },\n {\n name: 'La troisième révolution industrielle',\n value: 'La 3e révolution industrielle',\n selected: false\n }\n ],\n onChange: value => console.log(value)\n },\n {\n ...selectFilter,\n type: 'select',\n fieldName: 'Authors',\n title: 'Authors:',\n options: [\n {\n name: 'Coorpacademy',\n value: 'Coorpacademy',\n selected: false\n },\n {\n name:\n 'World Health Organization - Mental Health Policy' +\n 'and Service Development, Michelle Funk and Nathalie Drew',\n value: 'WHO',\n selected: true\n },\n {\n name: 'Elephant',\n value: 'Elephant',\n selected: false\n }\n ],\n onChange: value => console.log(value)\n }\n ],\n sorting: {\n ...selectSort,\n title: 'Sort by',\n options: [\n {\n name: 'Position',\n value: 'Position',\n selected: true\n },\n {\n name: 'Most popular',\n value: 'Most popular',\n selected: false\n },\n {\n name: 'Newest',\n value: 'Newest',\n selected: false\n }\n ],\n onChange: value => console.log(value)\n }\n }\n};\n"],"file":"two.js"}
@@ -8,7 +8,7 @@ export default {
8
8
  filterCTALabel: 'Filter',
9
9
  sortTabLabel: 'Sort by',
10
10
  sortCTALabel: 'Sort',
11
- sorting: _extends(_extends({}, selectSort), {}, {
11
+ sorting: _extends({}, selectSort, {
12
12
  title: 'Sort by',
13
13
  options: [{
14
14
  name: 'Position',
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/filters/test/fixtures/zero.js"],"names":["dropdownsSort","selectSort","props","filterTabLabel","filterCTALabel","sortTabLabel","sortCTALabel","sorting","title","options","name","value","selected","onChange","console","log"],"mappings":";;AAAA,OAAOA,aAAP,MAA0B,4CAA1B;AAEA,MAAMC,UAAU,GAAGD,aAAa,CAACE,KAAjC;AAEA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,cAAc,EAAE,QADX;AAELC,IAAAA,cAAc,EAAE,QAFX;AAGLC,IAAAA,YAAY,EAAE,SAHT;AAILC,IAAAA,YAAY,EAAE,MAJT;AAKLC,IAAAA,OAAO,wBACFN,UADE;AAELO,MAAAA,KAAK,EAAE,SAFF;AAGLC,MAAAA,OAAO,EAAE,CACP;AACEC,QAAAA,IAAI,EAAE,UADR;AAEEC,QAAAA,KAAK,EAAE,UAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OADO,EAMP;AACEF,QAAAA,IAAI,EAAE,cADR;AAEEC,QAAAA,KAAK,EAAE,cAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OANO,EAWP;AACEF,QAAAA,IAAI,EAAE,QADR;AAEEC,QAAAA,KAAK,EAAE,QAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OAXO,CAHJ;AAoBLC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AApBd;AALF;AADM,CAAf","sourcesContent":["import dropdownsSort from '../../../../atom/select/test/fixtures/sort';\n\nconst selectSort = dropdownsSort.props;\n\nexport default {\n props: {\n filterTabLabel: 'Filter',\n filterCTALabel: 'Filter',\n sortTabLabel: 'Sort by',\n sortCTALabel: 'Sort',\n sorting: {\n ...selectSort,\n title: 'Sort by',\n options: [\n {\n name: 'Position',\n value: 'Position',\n selected: true\n },\n {\n name: 'Most popular',\n value: 'Most popular',\n selected: false\n },\n {\n name: 'Newest',\n value: 'Newest',\n selected: false\n }\n ],\n onChange: value => console.log(value)\n }\n }\n};\n"],"file":"zero.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/filters/test/fixtures/zero.js"],"names":["dropdownsSort","selectSort","props","filterTabLabel","filterCTALabel","sortTabLabel","sortCTALabel","sorting","title","options","name","value","selected","onChange","console","log"],"mappings":";;AAAA,OAAOA,aAAP,MAA0B,4CAA1B;AAEA,MAAMC,UAAU,GAAGD,aAAa,CAACE,KAAjC;AAEA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,cAAc,EAAE,QADX;AAELC,IAAAA,cAAc,EAAE,QAFX;AAGLC,IAAAA,YAAY,EAAE,SAHT;AAILC,IAAAA,YAAY,EAAE,MAJT;AAKLC,IAAAA,OAAO,eACFN,UADE;AAELO,MAAAA,KAAK,EAAE,SAFF;AAGLC,MAAAA,OAAO,EAAE,CACP;AACEC,QAAAA,IAAI,EAAE,UADR;AAEEC,QAAAA,KAAK,EAAE,UAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OADO,EAMP;AACEF,QAAAA,IAAI,EAAE,cADR;AAEEC,QAAAA,KAAK,EAAE,cAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OANO,EAWP;AACEF,QAAAA,IAAI,EAAE,QADR;AAEEC,QAAAA,KAAK,EAAE,QAFT;AAGEC,QAAAA,QAAQ,EAAE;AAHZ,OAXO,CAHJ;AAoBLC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AApBd;AALF;AADM,CAAf","sourcesContent":["import dropdownsSort from '../../../../atom/select/test/fixtures/sort';\n\nconst selectSort = dropdownsSort.props;\n\nexport default {\n props: {\n filterTabLabel: 'Filter',\n filterCTALabel: 'Filter',\n sortTabLabel: 'Sort by',\n sortCTALabel: 'Sort',\n sorting: {\n ...selectSort,\n title: 'Sort by',\n options: [\n {\n name: 'Position',\n value: 'Position',\n selected: true\n },\n {\n name: 'Most popular',\n value: 'Most popular',\n selected: false\n },\n {\n name: 'Newest',\n value: 'Newest',\n selected: false\n }\n ],\n onChange: value => console.log(value)\n }\n }\n};\n"],"file":"zero.js"}
@@ -4,18 +4,18 @@ import Post from '../../../forum-post/test/fixtures/editable';
4
4
  const post = Post.props;
5
5
  const answer = Post.props;
6
6
 
7
- const answer1 = _extends(_extends({}, answer), {}, {
8
- answers: [_extends(_extends({}, answer), {}, {
7
+ const answer1 = _extends({}, answer, {
8
+ answers: [_extends({}, answer, {
9
9
  showEditBox: true
10
10
  }), answer]
11
11
  });
12
12
 
13
- const answer2 = _extends(_extends({}, answer), {}, {
13
+ const answer2 = _extends({}, answer, {
14
14
  answers: [answer1, answer1]
15
15
  });
16
16
 
17
17
  export default {
18
- props: _extends(_extends({}, post), {}, {
18
+ props: _extends({}, post, {
19
19
  answers: [answer, answer, answer, answer, answer1, answer2, answer1]
20
20
  })
21
21
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/molecule/forum/forum-thread/test/fixtures/deep-answers.js"],"names":["Post","post","props","answer","answer1","answers","showEditBox","answer2"],"mappings":";;AAAA,OAAOA,IAAP,MAAiB,4CAAjB;AAEA,MAAMC,IAAI,GAAGD,IAAI,CAACE,KAAlB;AACA,MAAMC,MAAM,GAAGH,IAAI,CAACE,KAApB;;AAEA,MAAME,OAAO,yBACRD,MADQ;AAEXE,EAAAA,OAAO,EAAE,uBAAKF,MAAL;AAAaG,IAAAA,WAAW,EAAE;AAA1B,MAAiCH,MAAjC;AAFE,EAAb;;AAKA,MAAMI,OAAO,yBACRJ,MADQ;AAEXE,EAAAA,OAAO,EAAE,CAACD,OAAD,EAAUA,OAAV;AAFE,EAAb;;AAKA,eAAe;AACbF,EAAAA,KAAK,wBACAD,IADA;AAEHI,IAAAA,OAAO,EAAE,CAACF,MAAD,EAASA,MAAT,EAAiBA,MAAjB,EAAyBA,MAAzB,EAAiCC,OAAjC,EAA0CG,OAA1C,EAAmDH,OAAnD;AAFN;AADQ,CAAf","sourcesContent":["import Post from '../../../forum-post/test/fixtures/editable';\n\nconst post = Post.props;\nconst answer = Post.props;\n\nconst answer1 = {\n ...answer,\n answers: [{...answer, showEditBox: true}, answer]\n};\n\nconst answer2 = {\n ...answer,\n answers: [answer1, answer1]\n};\n\nexport default {\n props: {\n ...post,\n answers: [answer, answer, answer, answer, answer1, answer2, answer1]\n }\n};\n"],"file":"deep-answers.js"}
1
+ {"version":3,"sources":["../../../../../../src/molecule/forum/forum-thread/test/fixtures/deep-answers.js"],"names":["Post","post","props","answer","answer1","answers","showEditBox","answer2"],"mappings":";;AAAA,OAAOA,IAAP,MAAiB,4CAAjB;AAEA,MAAMC,IAAI,GAAGD,IAAI,CAACE,KAAlB;AACA,MAAMC,MAAM,GAAGH,IAAI,CAACE,KAApB;;AAEA,MAAME,OAAO,gBACRD,MADQ;AAEXE,EAAAA,OAAO,EAAE,cAAKF,MAAL;AAAaG,IAAAA,WAAW,EAAE;AAA1B,MAAiCH,MAAjC;AAFE,EAAb;;AAKA,MAAMI,OAAO,gBACRJ,MADQ;AAEXE,EAAAA,OAAO,EAAE,CAACD,OAAD,EAAUA,OAAV;AAFE,EAAb;;AAKA,eAAe;AACbF,EAAAA,KAAK,eACAD,IADA;AAEHI,IAAAA,OAAO,EAAE,CAACF,MAAD,EAASA,MAAT,EAAiBA,MAAjB,EAAyBA,MAAzB,EAAiCC,OAAjC,EAA0CG,OAA1C,EAAmDH,OAAnD;AAFN;AADQ,CAAf","sourcesContent":["import Post from '../../../forum-post/test/fixtures/editable';\n\nconst post = Post.props;\nconst answer = Post.props;\n\nconst answer1 = {\n ...answer,\n answers: [{...answer, showEditBox: true}, answer]\n};\n\nconst answer2 = {\n ...answer,\n answers: [answer1, answer1]\n};\n\nexport default {\n props: {\n ...post,\n answers: [answer, answer, answer, answer, answer1, answer2, answer1]\n }\n};\n"],"file":"deep-answers.js"}
@@ -4,7 +4,7 @@ import Post from '../../../forum-post/test/fixtures/editable';
4
4
  const post = Post.props;
5
5
  const answer = Post.props;
6
6
  export default {
7
- props: _extends(_extends({}, post), {}, {
7
+ props: _extends({}, post, {
8
8
  answers: [answer, answer]
9
9
  })
10
10
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/molecule/forum/forum-thread/test/fixtures/with-answers.js"],"names":["Post","post","props","answer","answers"],"mappings":";;AAAA,OAAOA,IAAP,MAAiB,4CAAjB;AAEA,MAAMC,IAAI,GAAGD,IAAI,CAACE,KAAlB;AACA,MAAMC,MAAM,GAAGH,IAAI,CAACE,KAApB;AAEA,eAAe;AACbA,EAAAA,KAAK,wBACAD,IADA;AAEHG,IAAAA,OAAO,EAAE,CAACD,MAAD,EAASA,MAAT;AAFN;AADQ,CAAf","sourcesContent":["import Post from '../../../forum-post/test/fixtures/editable';\n\nconst post = Post.props;\nconst answer = Post.props;\n\nexport default {\n props: {\n ...post,\n answers: [answer, answer]\n }\n};\n"],"file":"with-answers.js"}
1
+ {"version":3,"sources":["../../../../../../src/molecule/forum/forum-thread/test/fixtures/with-answers.js"],"names":["Post","post","props","answer","answers"],"mappings":";;AAAA,OAAOA,IAAP,MAAiB,4CAAjB;AAEA,MAAMC,IAAI,GAAGD,IAAI,CAACE,KAAlB;AACA,MAAMC,MAAM,GAAGH,IAAI,CAACE,KAApB;AAEA,eAAe;AACbA,EAAAA,KAAK,eACAD,IADA;AAEHG,IAAAA,OAAO,EAAE,CAACD,MAAD,EAASA,MAAT;AAFN;AADQ,CAAf","sourcesContent":["import Post from '../../../forum-post/test/fixtures/editable';\n\nconst post = Post.props;\nconst answer = Post.props;\n\nexport default {\n props: {\n ...post,\n answers: [answer, answer]\n }\n};\n"],"file":"with-answers.js"}
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
2
2
 
3
3
  import cardContent from '../../../card-content/test/fixtures/arabic-hero';
4
4
  export default {
5
- props: _extends(_extends({}, cardContent.props), {}, {
5
+ props: _extends({}, cardContent.props, {
6
6
  image: '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'
7
7
  })
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/hero/test/fixtures/arabic.js"],"names":["cardContent","props","image"],"mappings":";;AAAA,OAAOA,WAAP,MAAwB,iDAAxB;AAEA,eAAe;AACbC,EAAAA,KAAK,wBACAD,WAAW,CAACC,KADZ;AAEHC,IAAAA,KAAK,EACH;AAHC;AADQ,CAAf","sourcesContent":["import cardContent from '../../../card-content/test/fixtures/arabic-hero';\n\nexport default {\n props: {\n ...cardContent.props,\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 }\n};\n"],"file":"arabic.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/hero/test/fixtures/arabic.js"],"names":["cardContent","props","image"],"mappings":";;AAAA,OAAOA,WAAP,MAAwB,iDAAxB;AAEA,eAAe;AACbC,EAAAA,KAAK,eACAD,WAAW,CAACC,KADZ;AAEHC,IAAAA,KAAK,EACH;AAHC;AADQ,CAAf","sourcesContent":["import cardContent from '../../../card-content/test/fixtures/arabic-hero';\n\nexport default {\n props: {\n ...cardContent.props,\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 }\n};\n"],"file":"arabic.js"}
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
2
2
 
3
3
  import cardContent from '../../../card-content/test/fixtures/hero';
4
4
  export default {
5
- props: _extends(_extends({}, cardContent.props), {}, {
5
+ props: _extends({}, cardContent.props, {
6
6
  image: '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'
7
7
  })
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/hero/test/fixtures/hero.js"],"names":["cardContent","props","image"],"mappings":";;AAAA,OAAOA,WAAP,MAAwB,0CAAxB;AAEA,eAAe;AACbC,EAAAA,KAAK,wBACAD,WAAW,CAACC,KADZ;AAEHC,IAAAA,KAAK,EACH;AAHC;AADQ,CAAf","sourcesContent":["import cardContent from '../../../card-content/test/fixtures/hero';\n\nexport default {\n props: {\n ...cardContent.props,\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 }\n};\n"],"file":"hero.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/hero/test/fixtures/hero.js"],"names":["cardContent","props","image"],"mappings":";;AAAA,OAAOA,WAAP,MAAwB,0CAAxB;AAEA,eAAe;AACbC,EAAAA,KAAK,eACAD,WAAW,CAACC,KADZ;AAEHC,IAAAA,KAAK,EACH;AAHC;AADQ,CAAf","sourcesContent":["import cardContent from '../../../card-content/test/fixtures/hero';\n\nexport default {\n props: {\n ...cardContent.props,\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 }\n};\n"],"file":"hero.js"}
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
2
2
 
3
3
  import defaultFixture from './default';
4
4
  export default {
5
- props: _extends(_extends({}, defaultFixture.props), {}, {
5
+ props: _extends({}, defaultFixture.props, {
6
6
  description: 'Vestibulum id <b>ligula</b> porta felis <i>euismod semper</i>. Maecenas faucibu' + 's mollis interdum. Donec ullamcorper nulla non metus auctor fringilla. Donec ullamcorper n' + 'ulla non metus auctor fringilla. Donec ullamcorper nulla non metus auctor fringilla. Vesti' + 'bulum id <b>ligula</b> porta felis <i>euismod semper</i>. Maecenas faucibus mollis interdu' + 'm. Donec ullamcorper nulla non metus auctor fringilla. Donec ullamcorper nulla non metus a' + 'uctor fringilla. Donec ullamcorper nulla non metus auctor fringilla.'
7
7
  })
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/news/test/fixtures/long-description.js"],"names":["defaultFixture","props","description"],"mappings":";;AAAA,OAAOA,cAAP,MAA2B,WAA3B;AAEA,eAAe;AACbC,EAAAA,KAAK,wBACAD,cAAc,CAACC,KADf;AAEHC,IAAAA,WAAW,EACT,oFACA,4FADA,GAEA,4FAFA,GAGA,4FAHA,GAIA,4FAJA,GAKA;AARC;AADQ,CAAf","sourcesContent":["import defaultFixture from './default';\n\nexport default {\n props: {\n ...defaultFixture.props,\n description:\n 'Vestibulum id <b>ligula</b> porta felis <i>euismod semper</i>. Maecenas faucibu' +\n 's mollis interdum. Donec ullamcorper nulla non metus auctor fringilla. Donec ullamcorper n' +\n 'ulla non metus auctor fringilla. Donec ullamcorper nulla non metus auctor fringilla. Vesti' +\n 'bulum id <b>ligula</b> porta felis <i>euismod semper</i>. Maecenas faucibus mollis interdu' +\n 'm. Donec ullamcorper nulla non metus auctor fringilla. Donec ullamcorper nulla non metus a' +\n 'uctor fringilla. Donec ullamcorper nulla non metus auctor fringilla.'\n }\n};\n"],"file":"long-description.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/news/test/fixtures/long-description.js"],"names":["defaultFixture","props","description"],"mappings":";;AAAA,OAAOA,cAAP,MAA2B,WAA3B;AAEA,eAAe;AACbC,EAAAA,KAAK,eACAD,cAAc,CAACC,KADf;AAEHC,IAAAA,WAAW,EACT,oFACA,4FADA,GAEA,4FAFA,GAGA,4FAHA,GAIA,4FAJA,GAKA;AARC;AADQ,CAAf","sourcesContent":["import defaultFixture from './default';\n\nexport default {\n props: {\n ...defaultFixture.props,\n description:\n 'Vestibulum id <b>ligula</b> porta felis <i>euismod semper</i>. Maecenas faucibu' +\n 's mollis interdum. Donec ullamcorper nulla non metus auctor fringilla. Donec ullamcorper n' +\n 'ulla non metus auctor fringilla. Donec ullamcorper nulla non metus auctor fringilla. Vesti' +\n 'bulum id <b>ligula</b> porta felis <i>euismod semper</i>. Maecenas faucibus mollis interdu' +\n 'm. Donec ullamcorper nulla non metus auctor fringilla. Donec ullamcorper nulla non metus a' +\n 'uctor fringilla. Donec ullamcorper nulla non metus auctor fringilla.'\n }\n};\n"],"file":"long-description.js"}
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
2
2
 
3
3
  import defaultFixture from './default';
4
4
  export default {
5
- props: _extends(_extends({}, defaultFixture.props), {}, {
5
+ props: _extends({}, defaultFixture.props, {
6
6
  title: 'A World Of Infinite Opportunities, A World Of Infinite Opportunities, A World Of Infi' + 'nite Opportunities Donec ullamcorper nulla non metus auctor fringilla. A World Of Infinite' + ' Opportunities, A World Of Infinite Opportunities, A World Of Infinite Opportunities Donec' + ' ullamcorper nulla non metus auctor fringilla.'
7
7
  })
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/news/test/fixtures/long-title.js"],"names":["defaultFixture","props","title"],"mappings":";;AAAA,OAAOA,cAAP,MAA2B,WAA3B;AAEA,eAAe;AACbC,EAAAA,KAAK,wBACAD,cAAc,CAACC,KADf;AAEHC,IAAAA,KAAK,EACH,0FACA,4FADA,GAEA,4FAFA,GAGA;AANC;AADQ,CAAf","sourcesContent":["import defaultFixture from './default';\n\nexport default {\n props: {\n ...defaultFixture.props,\n title:\n 'A World Of Infinite Opportunities, A World Of Infinite Opportunities, A World Of Infi' +\n 'nite Opportunities Donec ullamcorper nulla non metus auctor fringilla. A World Of Infinite' +\n ' Opportunities, A World Of Infinite Opportunities, A World Of Infinite Opportunities Donec' +\n ' ullamcorper nulla non metus auctor fringilla.'\n }\n};\n"],"file":"long-title.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/news/test/fixtures/long-title.js"],"names":["defaultFixture","props","title"],"mappings":";;AAAA,OAAOA,cAAP,MAA2B,WAA3B;AAEA,eAAe;AACbC,EAAAA,KAAK,eACAD,cAAc,CAACC,KADf;AAEHC,IAAAA,KAAK,EACH,0FACA,4FADA,GAEA,4FAFA,GAGA;AANC;AADQ,CAAf","sourcesContent":["import defaultFixture from './default';\n\nexport default {\n props: {\n ...defaultFixture.props,\n title:\n 'A World Of Infinite Opportunities, A World Of Infinite Opportunities, A World Of Infi' +\n 'nite Opportunities Donec ullamcorper nulla non metus auctor fringilla. A World Of Infinite' +\n ' Opportunities, A World Of Infinite Opportunities, A World Of Infinite Opportunities Donec' +\n ' ullamcorper nulla non metus auctor fringilla.'\n }\n};\n"],"file":"long-title.js"}
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
2
2
 
3
3
  import defaultFixture from './default';
4
4
  export default {
5
- props: _extends(_extends({}, defaultFixture.props), {}, {
5
+ props: _extends({}, defaultFixture.props, {
6
6
  description: 'Vestibulum id'
7
7
  })
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/news/test/fixtures/small-desciption.js"],"names":["defaultFixture","props","description"],"mappings":";;AAAA,OAAOA,cAAP,MAA2B,WAA3B;AAEA,eAAe;AACbC,EAAAA,KAAK,wBACAD,cAAc,CAACC,KADf;AAEHC,IAAAA,WAAW,EAAE;AAFV;AADQ,CAAf","sourcesContent":["import defaultFixture from './default';\n\nexport default {\n props: {\n ...defaultFixture.props,\n description: 'Vestibulum id'\n }\n};\n"],"file":"small-desciption.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/news/test/fixtures/small-desciption.js"],"names":["defaultFixture","props","description"],"mappings":";;AAAA,OAAOA,cAAP,MAA2B,WAA3B;AAEA,eAAe;AACbC,EAAAA,KAAK,eACAD,cAAc,CAACC,KADf;AAEHC,IAAAA,WAAW,EAAE;AAFV;AADQ,CAAf","sourcesContent":["import defaultFixture from './default';\n\nexport default {\n props: {\n ...defaultFixture.props,\n description: 'Vestibulum id'\n }\n};\n"],"file":"small-desciption.js"}
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
2
2
 
3
3
  import defaultFixture from './default';
4
4
  export default {
5
- props: _extends(_extends({}, defaultFixture.props), {}, {
5
+ props: _extends({}, defaultFixture.props, {
6
6
  title: 'A World'
7
7
  })
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/news/test/fixtures/small-title.js"],"names":["defaultFixture","props","title"],"mappings":";;AAAA,OAAOA,cAAP,MAA2B,WAA3B;AAEA,eAAe;AACbC,EAAAA,KAAK,wBACAD,cAAc,CAACC,KADf;AAEHC,IAAAA,KAAK,EAAE;AAFJ;AADQ,CAAf","sourcesContent":["import defaultFixture from './default';\n\nexport default {\n props: {\n ...defaultFixture.props,\n title: 'A World'\n }\n};\n"],"file":"small-title.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/news/test/fixtures/small-title.js"],"names":["defaultFixture","props","title"],"mappings":";;AAAA,OAAOA,cAAP,MAA2B,WAA3B;AAEA,eAAe;AACbC,EAAAA,KAAK,eACAD,cAAc,CAACC,KADf;AAEHC,IAAAA,KAAK,EAAE;AAFJ;AADQ,CAAf","sourcesContent":["import defaultFixture from './default';\n\nexport default {\n props: {\n ...defaultFixture.props,\n title: 'A World'\n }\n};\n"],"file":"small-title.js"}
@@ -43,7 +43,7 @@ const Popin = (props, context) => {
43
43
  email: ''
44
44
  });
45
45
  const handleChange = useMemo(() => event => {
46
- setValue(_extends(_extends({}, value), {}, {
46
+ setValue(_extends({}, value, {
47
47
  [event.target.name]: event.target.value
48
48
  }));
49
49
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/molecule/popin/index.js"],"names":["React","useState","useMemo","PropTypes","NovaCompositionCoorpacademyLocales","LocalesIcon","NovaSolidStatusClose","Close","NovaLineContentEditionBin","Bin","NovaLineContentEditionHide","Hide","Cta","Loader","style","Popin","props","context","skin","primaryColor","header","content","firstButtonLabel","onFirstButtonClick","secondeButtonLabel","onSecondeButtonClick","onClose","type","isLoading","backgroundImageUrl","logo","hiddenStateManagment","deleteContent","videoTranslate","LogoComponent","backgroundImageStyle","backgroundImage","value","setValue","object","message","email","handleChange","event","target","name","isAssistancePopin","handleClickOnSecondButton","background","loader","popin","popinHeader","headerCloseIcon","icon","color","__html","width","inputText","inputTextArea","lastInputText","buttonContainer","button","backgroundColor","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KE,IAAA,KAAK,EAAE;AACLC,MAAAA,eAAe,EAAE,OADZ;AAELR,MAAAA,KAAK,EAAE;AAFF;AALT,IADe,GAWb,IAZN,EAaG9B,kBAAkB,gBACjB,oBAAC,GAAD;AACE,IAAA,WAAW,EAAEA,kBADf;AAEE,IAAA,OAAO,EAAEuB,yBAFX;AAGE,IAAA,IAAI,EAAG,qBAAoBpB,IAAK,EAHlC;AAIE,IAAA,SAAS,EAAEb,KAAK,CAAC+C,MAJnB;AAKE,IAAA,KAAK,EAAE;AAACC,MAAAA,eAAe,EAAE3C;AAAlB,KALT;AAME,IAAA,QAAQ,EAAE2B,iBAAiB,IAAI,CAACT,KAAK,CAACG;AANxC,IADiB,GASf,IAtBN,CAjDF,CANJ,CADF;AAoFD,CA7HD;;AA+HAzB,KAAK,CAACgD,SAAN,2CAAkB;AAChB3C,EAAAA,MAAM,EAAEjB,SAAS,CAAC6D,MADF;AAEhB3C,EAAAA,OAAO,EAAElB,SAAS,CAAC6D,MAFH;AAGhB1C,EAAAA,gBAAgB,EAAEnB,SAAS,CAAC6D,MAHZ;AAIhBzC,EAAAA,kBAAkB,EAAEpB,SAAS,CAAC8D,IAJd;AAKhBzC,EAAAA,kBAAkB,EAAErB,SAAS,CAAC6D,MALd;AAMhBvC,EAAAA,oBAAoB,EAAEtB,SAAS,CAAC8D,IANhB;AAOhBvC,EAAAA,OAAO,EAAEvB,SAAS,CAAC8D,IAPH;AAQhBtC,EAAAA,IAAI,EAAExB,SAAS,CAAC+D,KAAV,CAAgB,CAAC,gBAAD,EAAmB,sBAAnB,EAA2C,eAA3C,EAA4D,YAA5D,CAAhB,CARU;AAShBtC,EAAAA,SAAS,EAAEzB,SAAS,CAACgE,IATL;AAUhBtC,EAAAA,kBAAkB,EAAE1B,SAAS,CAAC6D;AAVd,CAAlB;AAaA,eAAejD,KAAf","sourcesContent":["import React, {useState, useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr} from 'lodash/fp';\n\nimport {\n NovaCompositionCoorpacademyLocales as LocalesIcon,\n NovaSolidStatusClose as Close,\n NovaLineContentEditionBin as Bin,\n NovaLineContentEditionHide as Hide\n} from '@coorpacademy/nova-icons';\nimport Cta from '../../atom/button';\nimport Loader from '../../atom/loader';\nimport style from './style.css';\n\nconst Popin = (props, context) => {\n const {skin} = context;\n const primaryColor = getOr('#00B0FF', 'common.primary', skin);\n const {\n header,\n content,\n firstButtonLabel,\n onFirstButtonClick,\n secondeButtonLabel,\n onSecondeButtonClick,\n onClose,\n type,\n isLoading = false,\n backgroundImageUrl\n } = props;\n\n const logo = {\n hiddenStateManagment: Hide,\n deleteContent: Bin,\n videoTranslate: LocalesIcon\n };\n\n const LogoComponent = logo[type];\n const backgroundImageStyle = backgroundImageUrl\n ? {\n backgroundImage: `url(${backgroundImageUrl})`\n }\n : {};\n\n const [value, setValue] = useState({object: '', message: '', email: ''});\n\n const handleChange = useMemo(() => event => {\n setValue({...value, [event.target.name]: event.target.value});\n });\n\n const isAssistancePopin = type === 'assistance';\n\n const handleClickOnSecondButton = useMemo(() => {\n return type === 'assistance' ? onSecondeButtonClick(value) : onSecondeButtonClick;\n }, [value]);\n\n return (\n <div className={style.background} style={backgroundImageStyle}>\n {isLoading ? (\n <div className={style.loader}>\n <Loader data-name=\"cockpit-popin-loader\" />\n </div>\n ) : (\n <div className={style.popin}>\n <header className={style.popinHeader}>\n <Close onClick={onClose} className={style.headerCloseIcon} />\n </header>\n {LogoComponent ? (\n <LogoComponent className={style.icon} style={{color: primaryColor}} />\n ) : null}\n <div className={style.header} data-name={`cockpit-popin-header-${type}`}>\n {header}\n </div>\n <p\n className={style.content}\n data-name={`cockpit-popin-content-${type}`}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n\n {isAssistancePopin ? (\n <div style={{width: '70%'}}>\n <input\n data-name=\"contact-object\"\n className={style.inputText}\n name=\"object\"\n type=\"text\"\n placeholder=\"Object\"\n value={value.object}\n onChange={handleChange}\n />\n <textarea\n className={(style.inputText, style.inputTextArea)}\n data-name=\"contact-message\"\n name=\"message\"\n type=\"text\"\n placeholder=\"Message\"\n value={value.message}\n onChange={handleChange}\n />\n <input\n className={style.lastInputText}\n data-name=\"contact-email\"\n name=\"email\"\n type=\"text\"\n placeholder=\"Email\"\n value={value.email}\n onChange={handleChange}\n />\n </div>\n ) : null}\n\n <div className={style.buttonContainer}>\n {firstButtonLabel ? (\n <Cta\n submitValue={firstButtonLabel}\n onClick={onFirstButtonClick}\n name={`cockpit-popin-cta-${type}`}\n className={style.button}\n style={{\n backgroundColor: 'white',\n color: 'gray'\n }}\n />\n ) : null}\n {secondeButtonLabel ? (\n <Cta\n submitValue={secondeButtonLabel}\n onClick={handleClickOnSecondButton}\n name={`cockpit-popin-cta-${type}`}\n className={style.button}\n style={{backgroundColor: primaryColor}}\n disabled={isAssistancePopin && !value.message}\n />\n ) : null}\n </div>\n </div>\n )}\n </div>\n );\n};\n\nPopin.propTypes = {\n header: PropTypes.string,\n content: PropTypes.string,\n firstButtonLabel: PropTypes.string,\n onFirstButtonClick: PropTypes.func,\n secondeButtonLabel: PropTypes.string,\n onSecondeButtonClick: PropTypes.func,\n onClose: PropTypes.func,\n type: PropTypes.oneOf(['videoTranslate', 'hiddenStateManagment', 'deleteContent', 'assistance']),\n isLoading: PropTypes.bool,\n backgroundImageUrl: PropTypes.string\n};\n\nexport default Popin;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/molecule/popin/index.js"],"names":["React","useState","useMemo","PropTypes","NovaCompositionCoorpacademyLocales","LocalesIcon","NovaSolidStatusClose","Close","NovaLineContentEditionBin","Bin","NovaLineContentEditionHide","Hide","Cta","Loader","style","Popin","props","context","skin","primaryColor","header","content","firstButtonLabel","onFirstButtonClick","secondeButtonLabel","onSecondeButtonClick","onClose","type","isLoading","backgroundImageUrl","logo","hiddenStateManagment","deleteContent","videoTranslate","LogoComponent","backgroundImageStyle","backgroundImage","value","setValue","object","message","email","handleChange","event","target","name","isAssistancePopin","handleClickOnSecondButton","background","loader","popin","popinHeader","headerCloseIcon","icon","color","__html","width","inputText","inputTextArea","lastInputText","buttonContainer","button","backgroundColor","propTypes","string","func","oneOf","bool"],"mappings":";;;;AAAA,OAAOA,KAAP,IAAeC,QAAf,EAAyBC,OAAzB,QAAuC,OAAvC;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAGA,SACEC,kCAAkC,IAAIC,WADxC,EAEEC,oBAAoB,IAAIC,KAF1B,EAGEC,yBAAyB,IAAIC,GAH/B,EAIEC,0BAA0B,IAAIC,IAJhC,QAKO,0BALP;AAMA,OAAOC,GAAP,MAAgB,mBAAhB;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,KAAK,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;AAChC,QAAM;AAACC,IAAAA;AAAD,MAASD,OAAf;;AACA,QAAME,YAAY,GAAG,OAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;;AACA,QAAM;AACJE,IAAAA,MADI;AAEJC,IAAAA,OAFI;AAGJC,IAAAA,gBAHI;AAIJC,IAAAA,kBAJI;AAKJC,IAAAA,kBALI;AAMJC,IAAAA,oBANI;AAOJC,IAAAA,OAPI;AAQJC,IAAAA,IARI;AASJC,IAAAA,SAAS,GAAG,KATR;AAUJC,IAAAA;AAVI,MAWFb,KAXJ;AAaA,QAAMc,IAAI,GAAG;AACXC,IAAAA,oBAAoB,EAAEpB,IADX;AAEXqB,IAAAA,aAAa,EAAEvB,GAFJ;AAGXwB,IAAAA,cAAc,EAAE5B;AAHL,GAAb;AAMA,QAAM6B,aAAa,GAAGJ,IAAI,CAACH,IAAD,CAA1B;AACA,QAAMQ,oBAAoB,GAAGN,kBAAkB,GAC3C;AACEO,IAAAA,eAAe,EAAG,OAAMP,kBAAmB;AAD7C,GAD2C,GAI3C,EAJJ;AAMA,QAAM,CAACQ,KAAD,EAAQC,QAAR,IAAoB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ejD,KAAf","sourcesContent":["import React, {useState, useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr} from 'lodash/fp';\n\nimport {\n NovaCompositionCoorpacademyLocales as LocalesIcon,\n NovaSolidStatusClose as Close,\n NovaLineContentEditionBin as Bin,\n NovaLineContentEditionHide as Hide\n} from '@coorpacademy/nova-icons';\nimport Cta from '../../atom/button';\nimport Loader from '../../atom/loader';\nimport style from './style.css';\n\nconst Popin = (props, context) => {\n const {skin} = context;\n const primaryColor = getOr('#00B0FF', 'common.primary', skin);\n const {\n header,\n content,\n firstButtonLabel,\n onFirstButtonClick,\n secondeButtonLabel,\n onSecondeButtonClick,\n onClose,\n type,\n isLoading = false,\n backgroundImageUrl\n } = props;\n\n const logo = {\n hiddenStateManagment: Hide,\n deleteContent: Bin,\n videoTranslate: LocalesIcon\n };\n\n const LogoComponent = logo[type];\n const backgroundImageStyle = backgroundImageUrl\n ? {\n backgroundImage: `url(${backgroundImageUrl})`\n }\n : {};\n\n const [value, setValue] = useState({object: '', message: '', email: ''});\n\n const handleChange = useMemo(() => event => {\n setValue({...value, [event.target.name]: event.target.value});\n });\n\n const isAssistancePopin = type === 'assistance';\n\n const handleClickOnSecondButton = useMemo(() => {\n return type === 'assistance' ? onSecondeButtonClick(value) : onSecondeButtonClick;\n }, [value]);\n\n return (\n <div className={style.background} style={backgroundImageStyle}>\n {isLoading ? (\n <div className={style.loader}>\n <Loader data-name=\"cockpit-popin-loader\" />\n </div>\n ) : (\n <div className={style.popin}>\n <header className={style.popinHeader}>\n <Close onClick={onClose} className={style.headerCloseIcon} />\n </header>\n {LogoComponent ? (\n <LogoComponent className={style.icon} style={{color: primaryColor}} />\n ) : null}\n <div className={style.header} data-name={`cockpit-popin-header-${type}`}>\n {header}\n </div>\n <p\n className={style.content}\n data-name={`cockpit-popin-content-${type}`}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n\n {isAssistancePopin ? (\n <div style={{width: '70%'}}>\n <input\n data-name=\"contact-object\"\n className={style.inputText}\n name=\"object\"\n type=\"text\"\n placeholder=\"Object\"\n value={value.object}\n onChange={handleChange}\n />\n <textarea\n className={(style.inputText, style.inputTextArea)}\n data-name=\"contact-message\"\n name=\"message\"\n type=\"text\"\n placeholder=\"Message\"\n value={value.message}\n onChange={handleChange}\n />\n <input\n className={style.lastInputText}\n data-name=\"contact-email\"\n name=\"email\"\n type=\"text\"\n placeholder=\"Email\"\n value={value.email}\n onChange={handleChange}\n />\n </div>\n ) : null}\n\n <div className={style.buttonContainer}>\n {firstButtonLabel ? (\n <Cta\n submitValue={firstButtonLabel}\n onClick={onFirstButtonClick}\n name={`cockpit-popin-cta-${type}`}\n className={style.button}\n style={{\n backgroundColor: 'white',\n color: 'gray'\n }}\n />\n ) : null}\n {secondeButtonLabel ? (\n <Cta\n submitValue={secondeButtonLabel}\n onClick={handleClickOnSecondButton}\n name={`cockpit-popin-cta-${type}`}\n className={style.button}\n style={{backgroundColor: primaryColor}}\n disabled={isAssistancePopin && !value.message}\n />\n ) : null}\n </div>\n </div>\n )}\n </div>\n );\n};\n\nPopin.propTypes = {\n header: PropTypes.string,\n content: PropTypes.string,\n firstButtonLabel: PropTypes.string,\n onFirstButtonClick: PropTypes.func,\n secondeButtonLabel: PropTypes.string,\n onSecondeButtonClick: PropTypes.func,\n onClose: PropTypes.func,\n type: PropTypes.oneOf(['videoTranslate', 'hiddenStateManagment', 'deleteContent', 'assistance']),\n isLoading: PropTypes.bool,\n backgroundImageUrl: PropTypes.string\n};\n\nexport default Popin;\n"],"file":"index.js"}
@@ -29,7 +29,7 @@ const ProgressBar = props => {
29
29
  className: classnames(style.background, className)
30
30
  }, /*#__PURE__*/React.createElement("div", {
31
31
  className: style.progress,
32
- style: _extends(_extends({}, propsStyle), {}, {
32
+ style: _extends({}, propsStyle, {
33
33
  width: `${ratio * 100}%`
34
34
  })
35
35
  }), /*#__PURE__*/React.createElement("p", {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/molecule/progress-bar/index.js"],"names":["React","PropTypes","classnames","style","ProgressBar","props","className","value","max","desc","steps","propsStyle","ratio","percentage","Math","floor","text","stepList","index","step","background","progress","width","texts","description","propTypes","string","number","isRequired","objectOf","oneOfType"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AAEA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,WAAW,GAAGC,KAAK,IAAI;AAC3B,QAAM;AAACC,IAAAA,SAAD;AAAYC,IAAAA,KAAZ;AAAmBC,IAAAA,GAAnB;AAAwBC,IAAAA,IAAI,GAAG,EAA/B;AAAmCC,IAAAA,KAAK,GAAG,CAA3C;AAA8CP,IAAAA,KAAK,EAAEQ;AAArD,MAAmEN,KAAzE;AAEA,QAAMO,KAAK,GAAGL,KAAK,GAAGC,GAAtB;AACA,QAAMK,UAAU,GAAGC,IAAI,CAACC,KAAL,CAAWH,KAAK,GAAG,GAAnB,CAAnB;AACA,QAAMI,IAAI,GAAI,GAAEH,UAAW,GAA3B;;AACA,QAAMI,QAAQ,GAAG,OAAMC,KAAK,iBAAI;AAAK,IAAA,SAAS,EAAEf,KAAK,CAACgB,IAAtB;AAA4B,IAAA,GAAG,EAAED;AAAjC,IAAf,EAA2DR,KAA3D,CAAjB;;AACA,sBACE;AAAK,IAAA,SAAS,EAAER,UAAU,CAACC,KAAK,CAACiB,UAAP,EAAmBd,SAAnB;AAA1B,kBACE;AACE,IAAA,SAAS,EAAEH,KAAK,CAACkB,QADnB;AAEE,IAAA,KAAK,wBACAV,UADA;AAEHW,MAAAA,KAAK,EAAG,GAAEV,KAAK,GAAG,GAAI;AAFnB;AAFP,IADF,eAQE;AAAG,IAAA,SAAS,EAAET,KAAK,CAACoB;AAApB,kBACE;AAAM,IAAA,SAAS,EAAEpB,KAAK,CAACqB;AAAvB,KAAsC,GAAEjB,KAAM,IAAGC,GAAI,IAAGC,IAAK,EAA7D,CADF,eAEE;AAAM,IAAA,SAAS,EAAEN,KAAK,CAACU;AAAvB,KAAoCG,IAApC,CAFF,CARF,eAYE;AAAK,IAAA,SAAS,EAAEb,KAAK,CAACO;AAAtB,KAA8BO,QAA9B,CAZF,CADF;AAgBD,CAvBD;;AAyBAb,WAAW,CAACqB,SAAZ,2CAAwB;AACtBnB,EAAAA,SAAS,EAAEL,SAAS,CAACyB,MADC;AAEtBnB,EAAAA,KAAK,EAAEN,SAAS,CAAC0B,MAAV,CAAiBC,UAFF;AAGtBpB,EAAAA,GAAG,EAAEP,SAAS,CAAC0B,MAAV,CAAiBC,UAHA;AAItBnB,EAAAA,IAAI,EAAER,SAAS,CAACyB,MAJM;AAKtBhB,EAAAA,KAAK,EAAET,SAAS,CAAC0B,MALK;AAMtBxB,EAAAA,KAAK,EAAEF,SAAS,CAAC4B,QAAV,CAAmB5B,SAAS,CAAC6B,SAAV,CAAoB,CAAC7B,SAAS,CAACyB,MAAX,EAAmBzB,SAAS,CAAC0B,MAA7B,CAApB,CAAnB;AANe,CAAxB;AASA,eAAevB,WAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {times} from 'lodash/fp';\nimport style from './style.css';\n\nconst ProgressBar = props => {\n const {className, value, max, desc = '', steps = 0, style: propsStyle} = props;\n\n const ratio = value / max;\n const percentage = Math.floor(ratio * 100);\n const text = `${percentage}%`;\n const stepList = times(index => <div className={style.step} key={index} />, steps);\n return (\n <div className={classnames(style.background, className)}>\n <div\n className={style.progress}\n style={{\n ...propsStyle,\n width: `${ratio * 100}%`\n }}\n />\n <p className={style.texts}>\n <span className={style.description}>{`${value}/${max} ${desc}`}</span>\n <span className={style.percentage}>{text}</span>\n </p>\n <div className={style.steps}>{stepList}</div>\n </div>\n );\n};\n\nProgressBar.propTypes = {\n className: PropTypes.string,\n value: PropTypes.number.isRequired,\n max: PropTypes.number.isRequired,\n desc: PropTypes.string,\n steps: PropTypes.number,\n style: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number]))\n};\n\nexport default ProgressBar;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/molecule/progress-bar/index.js"],"names":["React","PropTypes","classnames","style","ProgressBar","props","className","value","max","desc","steps","propsStyle","ratio","percentage","Math","floor","text","stepList","index","step","background","progress","width","texts","description","propTypes","string","number","isRequired","objectOf","oneOfType"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AAEA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,WAAW,GAAGC,KAAK,IAAI;AAC3B,QAAM;AAACC,IAAAA,SAAD;AAAYC,IAAAA,KAAZ;AAAmBC,IAAAA,GAAnB;AAAwBC,IAAAA,IAAI,GAAG,EAA/B;AAAmCC,IAAAA,KAAK,GAAG,CAA3C;AAA8CP,IAAAA,KAAK,EAAEQ;AAArD,MAAmEN,KAAzE;AAEA,QAAMO,KAAK,GAAGL,KAAK,GAAGC,GAAtB;AACA,QAAMK,UAAU,GAAGC,IAAI,CAACC,KAAL,CAAWH,KAAK,GAAG,GAAnB,CAAnB;AACA,QAAMI,IAAI,GAAI,GAAEH,UAAW,GAA3B;;AACA,QAAMI,QAAQ,GAAG,OAAMC,KAAK,iBAAI;AAAK,IAAA,SAAS,EAAEf,KAAK,CAACgB,IAAtB;AAA4B,IAAA,GAAG,EAAED;AAAjC,IAAf,EAA2DR,KAA3D,CAAjB;;AACA,sBACE;AAAK,IAAA,SAAS,EAAER,UAAU,CAACC,KAAK,CAACiB,UAAP,EAAmBd,SAAnB;AAA1B,kBACE;AACE,IAAA,SAAS,EAAEH,KAAK,CAACkB,QADnB;AAEE,IAAA,KAAK,eACAV,UADA;AAEHW,MAAAA,KAAK,EAAG,GAAEV,KAAK,GAAG,GAAI;AAFnB;AAFP,IADF,eAQE;AAAG,IAAA,SAAS,EAAET,KAAK,CAACoB;AAApB,kBACE;AAAM,IAAA,SAAS,EAAEpB,KAAK,CAACqB;AAAvB,KAAsC,GAAEjB,KAAM,IAAGC,GAAI,IAAGC,IAAK,EAA7D,CADF,eAEE;AAAM,IAAA,SAAS,EAAEN,KAAK,CAACU;AAAvB,KAAoCG,IAApC,CAFF,CARF,eAYE;AAAK,IAAA,SAAS,EAAEb,KAAK,CAACO;AAAtB,KAA8BO,QAA9B,CAZF,CADF;AAgBD,CAvBD;;AAyBAb,WAAW,CAACqB,SAAZ,2CAAwB;AACtBnB,EAAAA,SAAS,EAAEL,SAAS,CAACyB,MADC;AAEtBnB,EAAAA,KAAK,EAAEN,SAAS,CAAC0B,MAAV,CAAiBC,UAFF;AAGtBpB,EAAAA,GAAG,EAAEP,SAAS,CAAC0B,MAAV,CAAiBC,UAHA;AAItBnB,EAAAA,IAAI,EAAER,SAAS,CAACyB,MAJM;AAKtBhB,EAAAA,KAAK,EAAET,SAAS,CAAC0B,MALK;AAMtBxB,EAAAA,KAAK,EAAEF,SAAS,CAAC4B,QAAV,CAAmB5B,SAAS,CAAC6B,SAAV,CAAoB,CAAC7B,SAAS,CAACyB,MAAX,EAAmBzB,SAAS,CAAC0B,MAA7B,CAApB,CAAnB;AANe,CAAxB;AASA,eAAevB,WAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {times} from 'lodash/fp';\nimport style from './style.css';\n\nconst ProgressBar = props => {\n const {className, value, max, desc = '', steps = 0, style: propsStyle} = props;\n\n const ratio = value / max;\n const percentage = Math.floor(ratio * 100);\n const text = `${percentage}%`;\n const stepList = times(index => <div className={style.step} key={index} />, steps);\n return (\n <div className={classnames(style.background, className)}>\n <div\n className={style.progress}\n style={{\n ...propsStyle,\n width: `${ratio * 100}%`\n }}\n />\n <p className={style.texts}>\n <span className={style.description}>{`${value}/${max} ${desc}`}</span>\n <span className={style.percentage}>{text}</span>\n </p>\n <div className={style.steps}>{stepList}</div>\n </div>\n );\n};\n\nProgressBar.propTypes = {\n className: PropTypes.string,\n value: PropTypes.number.isRequired,\n max: PropTypes.number.isRequired,\n desc: PropTypes.string,\n steps: PropTypes.number,\n style: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number]))\n};\n\nexport default ProgressBar;\n"],"file":"index.js"}
@@ -29,7 +29,7 @@ const DropDown = props => {
29
29
 
30
30
  DropDown.propTypes = process.env.NODE_ENV !== "production" ? {
31
31
  onChange: Select.propTypes.onChange,
32
- options: PropTypes.arrayOf(PropTypes.shape(_extends(_extends({}, SelectOptionPropTypes), {}, {
32
+ options: PropTypes.arrayOf(PropTypes.shape(_extends({}, SelectOptionPropTypes, {
33
33
  validOption: PropTypes.bool
34
34
  }))),
35
35
  theme: Select.propTypes.theme
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/questions/drop-down/index.js"],"names":["React","PropTypes","Select","SelectOptionPropTypes","style","DropDown","props","options","onChange","theme","propsTheme","currentSelection","defaultTheme","validOption","wrapper","propTypes","arrayOf","shape","bool"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,MAAP,IAAgBC,qBAAhB,QAA4C,sBAA5C;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,QAAQ,GAAGC,KAAK,IAAI;AACxB,QAAM;AAACC,IAAAA,OAAD;AAAUC,IAAAA,QAAV;AAAoBC,IAAAA,KAAK,EAAEC;AAA3B,MAAyCJ,KAA/C;;AAEA,QAAMK,gBAAgB,GAAG,MAAK,UAAL,EAAiBJ,OAAjB,CAAzB;;AACA,QAAMK,YAAY,GAChB,CAACD,gBAAD,IAAqBA,gBAAgB,CAACE,WAAjB,KAAiC,KAAtD,GAA8D,SAA9D,GAA0E,UAD5E;AAGA,QAAMJ,KAAK,GAAGC,UAAU,IAAIE,YAA5B;AAEA,sBACE;AAAK,IAAA,SAAS,EAAER,KAAK,CAACU;AAAtB,kBACE,oBAAC,MAAD;AAAQ,IAAA,KAAK,EAAEL,KAAf;AAAsB,IAAA,OAAO,EAAEF,OAA/B;AAAwC,IAAA,QAAQ,EAAEC;AAAlD,IADF,CADF;AAKD,CAdD;;AAgBAH,QAAQ,CAACU,SAAT,2CAAqB;AACnBP,EAAAA,QAAQ,EAAEN,MAAM,CAACa,SAAP,CAAiBP,QADR;AAEnBD,EAAAA,OAAO,EAAEN,SAAS,CAACe,OAAV,CACPf,SAAS,CAACgB,KAAV,uBAAoBd,qBAApB;AAA2CU,IAAAA,WAAW,EAAEZ,SAAS,CAACiB;AAAlE,KADO,CAFU;AAKnBT,EAAAA,KAAK,EAAEP,MAAM,CAACa,SAAP,CAAiBN;AALL,CAArB;AAQA,eAAeJ,QAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {find} from 'lodash/fp';\nimport Select, {SelectOptionPropTypes} from '../../../atom/select';\nimport style from './style.css';\n\nconst DropDown = props => {\n const {options, onChange, theme: propsTheme} = props;\n\n const currentSelection = find('selected', options);\n const defaultTheme =\n !currentSelection || currentSelection.validOption === false ? 'invalid' : 'question';\n\n const theme = propsTheme || defaultTheme;\n\n return (\n <div className={style.wrapper}>\n <Select theme={theme} options={options} onChange={onChange} />\n </div>\n );\n};\n\nDropDown.propTypes = {\n onChange: Select.propTypes.onChange,\n options: PropTypes.arrayOf(\n PropTypes.shape({...SelectOptionPropTypes, validOption: PropTypes.bool})\n ),\n theme: Select.propTypes.theme\n};\n\nexport default DropDown;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/questions/drop-down/index.js"],"names":["React","PropTypes","Select","SelectOptionPropTypes","style","DropDown","props","options","onChange","theme","propsTheme","currentSelection","defaultTheme","validOption","wrapper","propTypes","arrayOf","shape","bool"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,MAAP,IAAgBC,qBAAhB,QAA4C,sBAA5C;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,QAAQ,GAAGC,KAAK,IAAI;AACxB,QAAM;AAACC,IAAAA,OAAD;AAAUC,IAAAA,QAAV;AAAoBC,IAAAA,KAAK,EAAEC;AAA3B,MAAyCJ,KAA/C;;AAEA,QAAMK,gBAAgB,GAAG,MAAK,UAAL,EAAiBJ,OAAjB,CAAzB;;AACA,QAAMK,YAAY,GAChB,CAACD,gBAAD,IAAqBA,gBAAgB,CAACE,WAAjB,KAAiC,KAAtD,GAA8D,SAA9D,GAA0E,UAD5E;AAGA,QAAMJ,KAAK,GAAGC,UAAU,IAAIE,YAA5B;AAEA,sBACE;AAAK,IAAA,SAAS,EAAER,KAAK,CAACU;AAAtB,kBACE,oBAAC,MAAD;AAAQ,IAAA,KAAK,EAAEL,KAAf;AAAsB,IAAA,OAAO,EAAEF,OAA/B;AAAwC,IAAA,QAAQ,EAAEC;AAAlD,IADF,CADF;AAKD,CAdD;;AAgBAH,QAAQ,CAACU,SAAT,2CAAqB;AACnBP,EAAAA,QAAQ,EAAEN,MAAM,CAACa,SAAP,CAAiBP,QADR;AAEnBD,EAAAA,OAAO,EAAEN,SAAS,CAACe,OAAV,CACPf,SAAS,CAACgB,KAAV,cAAoBd,qBAApB;AAA2CU,IAAAA,WAAW,EAAEZ,SAAS,CAACiB;AAAlE,KADO,CAFU;AAKnBT,EAAAA,KAAK,EAAEP,MAAM,CAACa,SAAP,CAAiBN;AALL,CAArB;AAQA,eAAeJ,QAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {find} from 'lodash/fp';\nimport Select, {SelectOptionPropTypes} from '../../../atom/select';\nimport style from './style.css';\n\nconst DropDown = props => {\n const {options, onChange, theme: propsTheme} = props;\n\n const currentSelection = find('selected', options);\n const defaultTheme =\n !currentSelection || currentSelection.validOption === false ? 'invalid' : 'question';\n\n const theme = propsTheme || defaultTheme;\n\n return (\n <div className={style.wrapper}>\n <Select theme={theme} options={options} onChange={onChange} />\n </div>\n );\n};\n\nDropDown.propTypes = {\n onChange: Select.propTypes.onChange,\n options: PropTypes.arrayOf(\n PropTypes.shape({...SelectOptionPropTypes, validOption: PropTypes.bool})\n ),\n theme: Select.propTypes.theme\n};\n\nexport default DropDown;\n"],"file":"index.js"}
@@ -1,4 +1,5 @@
1
1
  import _getOr from "lodash/fp/getOr";
2
+ const _excluded = ["title", "minLabel", "maxLabel"];
2
3
 
3
4
  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); }
4
5
 
@@ -18,7 +19,7 @@ const QuestionRange = (props, context) => {
18
19
  minLabel,
19
20
  maxLabel
20
21
  } = props,
21
- rangeProps = _objectWithoutPropertiesLoose(props, ["title", "minLabel", "maxLabel"]);
22
+ rangeProps = _objectWithoutPropertiesLoose(props, _excluded);
22
23
 
23
24
  const {
24
25
  skin
@@ -58,7 +59,7 @@ const QuestionRange = (props, context) => {
58
59
  QuestionRange.contextTypes = {
59
60
  skin: Provider.childContextTypes.skin
60
61
  };
61
- QuestionRange.propTypes = process.env.NODE_ENV !== "production" ? _extends(_extends({}, Range.propTypes), {}, {
62
+ QuestionRange.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, Range.propTypes, {
62
63
  title: PropTypes.string,
63
64
  minLabel: PropTypes.string,
64
65
  maxLabel: PropTypes.string
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/questions/question-range/index.js"],"names":["React","PropTypes","classnames","Provider","Range","innerHTML","style","QuestionRange","props","context","title","minLabel","maxLabel","rangeProps","skin","defaultColor","titleStyle","color","wrapper","__html","labelWrapper","label","contextTypes","childContextTypes","propTypes","string"],"mappings":";;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UA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,GAA6B;AAC3BR,EAAAA,IAAI,EAAEX,QAAQ,CAACoB,iBAAT,CAA2BT;AADN,CAA7B;AAIAP,aAAa,CAACiB,SAAd,iEACKpB,KAAK,CAACoB,SADX;AAEEd,EAAAA,KAAK,EAAET,SAAS,CAACwB,MAFnB;AAGEd,EAAAA,QAAQ,EAAEV,SAAS,CAACwB,MAHtB;AAIEb,EAAAA,QAAQ,EAAEX,SAAS,CAACwB;AAJtB;AAOA,eAAelB,aAAf","sourcesContent":["import React from 'react';\nimport {getOr} from 'lodash/fp';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport Provider from '../../../atom/provider';\nimport Range from '../../../atom/range';\nimport {innerHTML} from '../../../atom/label/style.css';\nimport style from './style.css';\n\nconst QuestionRange = (props, context) => {\n const {title, minLabel, maxLabel, ...rangeProps} = props;\n\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n\n const titleStyle = {\n color: defaultColor\n };\n\n return (\n <div className={style.wrapper}>\n <span\n style={titleStyle}\n className={classnames(style.title, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <Range {...rangeProps} />\n <div className={style.labelWrapper}>\n <span\n className={classnames(style.label, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: minLabel}}\n />\n <span\n className={classnames(style.label, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: maxLabel}}\n />\n </div>\n </div>\n );\n};\n\nQuestionRange.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nQuestionRange.propTypes = {\n ...Range.propTypes,\n title: PropTypes.string,\n minLabel: PropTypes.string,\n maxLabel: PropTypes.string\n};\n\nexport default QuestionRange;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/questions/question-range/index.js"],"names":["React","PropTypes","classnames","Provider","Range","innerHTML","style","QuestionRange","props","context","title","minLabel","maxLabel","rangeProps","skin","defaultColor","titleStyle","color","wrapper","__html","labelWrapper","label","contextTypes","childContextTypes","propTypes","string"],"mappings":";;;;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,QAAP,MAAqB,wBAArB;AACA,OAAOC,KAAP,MAAkB,qBAAlB;AACA,SAAQC,SAAR,QAAwB,+BAAxB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,aAAa,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;AACxC,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA,QAAR;AAAkBC,IAAAA;AAAlB,MAA6CJ,KAAnD;AAAA,QAAqCK,UAArC,iCAAmDL,KAAnD;;AAEA,QAAM;AAACM,IAAAA;AAAD,MAASL,OAAf;;AACA,QAAMM,YAAY,GAAG,OAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;;AAEA,QAAME,UAAU,GAAG;AACjBC,IAAAA,KAAK,EAAEF;AADU,GAAnB;AAIA,sBACE;AAAK,IAAA,SAAS,EAAET,KAAK,CAACY;AAAtB,kBACE;AACE,IAAA,KAAK,EAAEF,UADT;AAEE,IAAA,SAAS,EAAEd,UAAU,CAACI,KAAK,CAACI,KAAP,EAAcL,SAAd,CAFvB,CAGE;AAHF;AAIE,IAAA,uBAAuB,EAAE;AAACc,MAAAA,MAAM,EAAET;AAAT;AAJ3B,IADF,eAOE,oBAAC,KAAD,EAAWG,UAAX,CAPF,eAQE;AAAK,IAAA,SAAS,EAAEP,KAAK,CAACc;AAAtB,kBACE;AACE,IAAA,SAAS,EAAElB,UAAU,CAACI,KAAK,CAACe,KAAP,EAAchB,SAAd,CADvB,CAEE;AAFF;AAGE,IAAA,uBAAuB,EAAE;AAACc,MAAAA,MAAM,EAAER;AAAT;AAH3B,IADF,eAME;AACE,IAAA,SAAS,EAAET,UAAU,CAACI,KAAK,CAACe,KAAP,EAAchB,SAAd,CADvB,CAEE;AAFF;AAGE,IAAA,uBAAuB,EAAE;AAACc,MAAAA,MAAM,EAAEP;AAAT;AAH3B,IANF,CARF,CADF;AAuBD,CAjCD;;AAmCAL,aAAa,CAACe,YAAd,GAA6B;AAC3BR,EAAAA,IAAI,EAAEX,QAAQ,CAACoB,iBAAT,CAA2BT;AADN,CAA7B;AAIAP,aAAa,CAACiB,SAAd,wDACKpB,KAAK,CAACoB,SADX;AAEEd,EAAAA,KAAK,EAAET,SAAS,CAACwB,MAFnB;AAGEd,EAAAA,QAAQ,EAAEV,SAAS,CAACwB,MAHtB;AAIEb,EAAAA,QAAQ,EAAEX,SAAS,CAACwB;AAJtB;AAOA,eAAelB,aAAf","sourcesContent":["import React from 'react';\nimport {getOr} from 'lodash/fp';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport Provider from '../../../atom/provider';\nimport Range from '../../../atom/range';\nimport {innerHTML} from '../../../atom/label/style.css';\nimport style from './style.css';\n\nconst QuestionRange = (props, context) => {\n const {title, minLabel, maxLabel, ...rangeProps} = props;\n\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n\n const titleStyle = {\n color: defaultColor\n };\n\n return (\n <div className={style.wrapper}>\n <span\n style={titleStyle}\n className={classnames(style.title, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <Range {...rangeProps} />\n <div className={style.labelWrapper}>\n <span\n className={classnames(style.label, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: minLabel}}\n />\n <span\n className={classnames(style.label, innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: maxLabel}}\n />\n </div>\n </div>\n );\n};\n\nQuestionRange.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nQuestionRange.propTypes = {\n ...Range.propTypes,\n title: PropTypes.string,\n minLabel: PropTypes.string,\n maxLabel: PropTypes.string\n};\n\nexport default QuestionRange;\n"],"file":"index.js"}
@@ -55,11 +55,11 @@ const Template = ({
55
55
  }, templateCompose);
56
56
  };
57
57
 
58
- const TextPropTypes = process.env.NODE_ENV !== "production" ? _extends(_extends({}, DropDown.propTypes), {}, {
58
+ const TextPropTypes = process.env.NODE_ENV !== "production" ? _extends({}, DropDown.propTypes, {
59
59
  type: PropTypes.string,
60
60
  name: PropTypes.string
61
61
  }) : {};
62
- const DropDownPropTypes = process.env.NODE_ENV !== "production" ? _extends(_extends({}, DropDown.propTypes), {}, {
62
+ const DropDownPropTypes = process.env.NODE_ENV !== "production" ? _extends({}, DropDown.propTypes, {
63
63
  type: PropTypes.string,
64
64
  name: PropTypes.string
65
65
  }) : {};
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/molecule/questions/template/index.js"],"names":["React","PropTypes","parseTemplateString","DropDown","FreeText","style","Template","template","answers","totalTemplate","templateCompose","convert","cap","part","key","type","__html","value","field","name","fieldView","text","answerType","wrapper","TextPropTypes","propTypes","string","DropDownPropTypes","arrayOf","oneOfType","shape"],"mappings":";;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,mBAAP,MAAgC,qCAAhC;AACA,OAAOC,QAAP,MAAqB,cAArB;AACA,OAAOC,QAAP,MAAqB,cAArB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,QAAQ,GAAG,CAAC;AAACC,EAAAA,QAAD;AAAWC,EAAAA;AAAX,CAAD,KAAyB;AACxC,QAAMC,aAAa,GAAGP,mBAAmB,CAACK,QAAD,CAAzC;;AACA,QAAMG,eAAe,GAAG,KAAIC,OAAJ,CAAY;AAACC,IAAAA,GAAG,EAAE;AAAN,GAAZ,EAA0B,CAACC,IAAD,EAAOC,GAAP,KAAe;AAC/D,UAAMC,IAAI,GAAGF,IAAI,CAACE,IAAlB;;AACA,QAAIA,IAAI,KAAK,QAAb,EAAuB;AACrB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CACP3B,SAAS,CAAC4B,SAAV,CAAoB,CAAC5B,SAAS,CAAC6B,KAAV,CAAgBH,iBAAhB,CAAD,EAAqC1B,SAAS,CAAC6B,KAAV,CAAgBN,aAAhB,CAArC,CAApB,CADO;AAFU,CAArB;AAOA,eAAelB,QAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map, find} from 'lodash/fp';\nimport parseTemplateString from '../../../util/parse-template-string';\nimport DropDown from '../drop-down';\nimport FreeText from '../free-text';\nimport style from './style.css';\n\nconst Template = ({template, answers}) => {\n const totalTemplate = parseTemplateString(template);\n const templateCompose = map.convert({cap: false})((part, key) => {\n const type = part.type;\n if (type === 'string') {\n return (\n <span\n key={key}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: part.value}}\n />\n );\n }\n if (type === 'answerField') {\n const field = find({name: part.value}, answers);\n if (!field) return null;\n const fieldView =\n field.type === 'text' ? (\n <FreeText {...field} className={style.text} />\n ) : (\n <DropDown {...field} theme=\"template\" />\n );\n\n return (\n <div className={style.answerType} key={part.value}>\n {fieldView}\n </div>\n );\n }\n }, totalTemplate);\n\n return (\n <div data-name=\"template-wrapper\" className={style.wrapper}>\n {templateCompose}\n </div>\n );\n};\n\nconst TextPropTypes = {\n ...DropDown.propTypes,\n type: PropTypes.string,\n name: PropTypes.string\n};\n\nconst DropDownPropTypes = {\n ...DropDown.propTypes,\n type: PropTypes.string,\n name: PropTypes.string\n};\n\nTemplate.propTypes = {\n template: PropTypes.string,\n answers: PropTypes.arrayOf(\n PropTypes.oneOfType([PropTypes.shape(DropDownPropTypes), PropTypes.shape(TextPropTypes)])\n )\n};\n\nexport default Template;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/molecule/questions/template/index.js"],"names":["React","PropTypes","parseTemplateString","DropDown","FreeText","style","Template","template","answers","totalTemplate","templateCompose","convert","cap","part","key","type","__html","value","field","name","fieldView","text","answerType","wrapper","TextPropTypes","propTypes","string","DropDownPropTypes","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F;AAKD;AACF,GA3BuB,EA2BrBX,aA3BqB,CAAxB;;AA6BA,sBACE;AAAK,iBAAU,kBAAf;AAAkC,IAAA,SAAS,EAAEJ,KAAK,CAACkB;AAAnD,KACGb,eADH,CADF;AAKD,CApCD;;AAsCA,MAAMc,aAAN,wDACKrB,QAAQ,CAACsB,SADd;AAEEV,EAAAA,IAAI,EAAEd,SAAS,CAACyB,MAFlB;AAGEP,EAAAA,IAAI,EAAElB,SAAS,CAACyB;AAHlB;AAMA,MAAMC,iBAAN,wDACKxB,QAAQ,CAACsB,SADd;AAEEV,EAAAA,IAAI,EAAEd,SAAS,CAACyB,MAFlB;AAGEP,EAAAA,IAAI,EAAElB,SAAS,CAACyB;AAHlB;AAMApB,QAAQ,CAACmB,SAAT,2CAAqB;AACnBlB,EAAAA,QAAQ,EAAEN,SAAS,CAACyB,MADD;AAEnBlB,EAAAA,OAAO,EAAEP,SAAS,CAAC2B,OAAV,CACP3B,SAAS,CAAC4B,SAAV,CAAoB,CAAC5B,SAAS,CAAC6B,KAAV,CAAgBH,iBAAhB,CAAD,EAAqC1B,SAAS,CAAC6B,KAAV,CAAgBN,aAAhB,CAArC,CAApB,CADO;AAFU,CAArB;AAOA,eAAelB,QAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map, find} from 'lodash/fp';\nimport parseTemplateString from '../../../util/parse-template-string';\nimport DropDown from '../drop-down';\nimport FreeText from '../free-text';\nimport style from './style.css';\n\nconst Template = ({template, answers}) => {\n const totalTemplate = parseTemplateString(template);\n const templateCompose = map.convert({cap: false})((part, key) => {\n const type = part.type;\n if (type === 'string') {\n return (\n <span\n key={key}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: part.value}}\n />\n );\n }\n if (type === 'answerField') {\n const field = find({name: part.value}, answers);\n if (!field) return null;\n const fieldView =\n field.type === 'text' ? (\n <FreeText {...field} className={style.text} />\n ) : (\n <DropDown {...field} theme=\"template\" />\n );\n\n return (\n <div className={style.answerType} key={part.value}>\n {fieldView}\n </div>\n );\n }\n }, totalTemplate);\n\n return (\n <div data-name=\"template-wrapper\" className={style.wrapper}>\n {templateCompose}\n </div>\n );\n};\n\nconst TextPropTypes = {\n ...DropDown.propTypes,\n type: PropTypes.string,\n name: PropTypes.string\n};\n\nconst DropDownPropTypes = {\n ...DropDown.propTypes,\n type: PropTypes.string,\n name: PropTypes.string\n};\n\nTemplate.propTypes = {\n template: PropTypes.string,\n answers: PropTypes.arrayOf(\n PropTypes.oneOfType([PropTypes.shape(DropDownPropTypes), PropTypes.shape(TextPropTypes)])\n )\n};\n\nexport default Template;\n"],"file":"index.js"}
@@ -13,7 +13,7 @@ configure({
13
13
  });
14
14
  test('should instanciate Range without props', t => {
15
15
  const expected = shallow( /*#__PURE__*/React.createElement(Template, fixture.props));
16
- const actual = shallow( /*#__PURE__*/React.createElement(Template, _extends(_extends({}, fixture.props), {}, {
16
+ const actual = shallow( /*#__PURE__*/React.createElement(Template, _extends({}, fixture.props, {
17
17
  template: `${fixture.props.template}{{wrongInput}}`
18
18
  })));
19
19
  t.deepEqual(actual.html(), expected.html());
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/molecule/questions/template/test/index.js"],"names":["browserEnv","test","React","configure","shallow","Adapter","Template","fixture","adapter","t","expected","props","actual","template","deepEqual","html"],"mappings":";;AAAA,OAAOA,UAAP,MAAuB,aAAvB;AACA,OAAOC,IAAP,MAAiB,KAAjB;AACA,OAAOC,KAAP,MAAkB,OAAlB;AACA,SAAQC,SAAR,EAAmBC,OAAnB,QAAiC,QAAjC;AACA,OAAOC,OAAP,MAAoB,yBAApB;AACA,OAAOC,QAAP,MAAqB,IAArB;AACA,OAAOC,OAAP,MAAoB,oBAApB;AAEAP,UAAU;AACVG,SAAS,CAAC;AAACK,EAAAA,OAAO,EAAE,IAAIH,OAAJ;AAAV,CAAD,CAAT;AAEAJ,IAAI,CAAC,wCAAD,EAA2CQ,CAAC,IAAI;AAClD,QAAMC,QAAQ,GAAGN,OAAO,eAAC,oBAAC,QAAD,EAAcG,OAAO,CAACI,KAAtB,CAAD,CAAxB;AACA,QAAMC,MAAM,GAAGR,OAAO,eACpB,oBAAC,QAAD,wBAAkBG,OAAO,CAACI,KAA1B;AAAiCE,IAAAA,QAAQ,EAAG,GAAEN,OAAO,CAACI,KAAR,CAAcE,QAAS;AAArE,KADoB,CAAtB;AAGAJ,EAAAA,CAAC,CAACK,SAAF,CAAYF,MAAM,CAACG,IAAP,EAAZ,EAA2BL,QAAQ,CAACK,IAAT,EAA3B;AACD,CANG,CAAJ","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {configure, shallow} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport Template from '..';\nimport fixture from './fixtures/default';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\ntest('should instanciate Range without props', t => {\n const expected = shallow(<Template {...fixture.props} />);\n const actual = shallow(\n <Template {...{...fixture.props, template: `${fixture.props.template}{{wrongInput}}`}} />\n );\n t.deepEqual(actual.html(), expected.html());\n});\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../../src/molecule/questions/template/test/index.js"],"names":["browserEnv","test","React","configure","shallow","Adapter","Template","fixture","adapter","t","expected","props","actual","template","deepEqual","html"],"mappings":";;AAAA,OAAOA,UAAP,MAAuB,aAAvB;AACA,OAAOC,IAAP,MAAiB,KAAjB;AACA,OAAOC,KAAP,MAAkB,OAAlB;AACA,SAAQC,SAAR,EAAmBC,OAAnB,QAAiC,QAAjC;AACA,OAAOC,OAAP,MAAoB,yBAApB;AACA,OAAOC,QAAP,MAAqB,IAArB;AACA,OAAOC,OAAP,MAAoB,oBAApB;AAEAP,UAAU;AACVG,SAAS,CAAC;AAACK,EAAAA,OAAO,EAAE,IAAIH,OAAJ;AAAV,CAAD,CAAT;AAEAJ,IAAI,CAAC,wCAAD,EAA2CQ,CAAC,IAAI;AAClD,QAAMC,QAAQ,GAAGN,OAAO,eAAC,oBAAC,QAAD,EAAcG,OAAO,CAACI,KAAtB,CAAD,CAAxB;AACA,QAAMC,MAAM,GAAGR,OAAO,eACpB,oBAAC,QAAD,eAAkBG,OAAO,CAACI,KAA1B;AAAiCE,IAAAA,QAAQ,EAAG,GAAEN,OAAO,CAACI,KAAR,CAAcE,QAAS;AAArE,KADoB,CAAtB;AAGAJ,EAAAA,CAAC,CAACK,SAAF,CAAYF,MAAM,CAACG,IAAP,EAAZ,EAA2BL,QAAQ,CAACK,IAAT,EAA3B;AACD,CANG,CAAJ","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {configure, shallow} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport Template from '..';\nimport fixture from './fixtures/default';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\ntest('should instanciate Range without props', t => {\n const expected = shallow(<Template {...fixture.props} />);\n const actual = shallow(\n <Template {...{...fixture.props, template: `${fixture.props.template}{{wrongInput}}`}} />\n );\n t.deepEqual(actual.html(), expected.html());\n});\n"],"file":"index.js"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/molecule/quick-access-card/index.js"],"names":["React","PropTypes","NovaSolidContentContentBookAdd","CockpitIcon","NovaSolidUsersActionsUser","ManageUserIcon","NovaSolidFilesBasicFileUpload2","UploadUserIcon","NovaSolidEmailAtSign","ManageEmailIcon","NovaSolidDesignPaintBrush2","LookAndFeelIcon","NovaSolidContentContentViewList","DashboardIcon","NovaSolidContentEditionFlash","MassiveBattleIcon","NovaSolidApplicationsWindowApplication5","CmsIcon","NovaSolidBusinessBusinessGraphLine2","AnalyticsIcon","NovaCompositionNavigationArrowRight","ActionIcon","NovaCompositionCoorpacademyOpenInNewTab","NewTabIcon","Link","style","getIcon","feature","getBackgroudRadialColors","iconColor","degrees","QuickAccessCard","props","context","title","description","href","openInNewTab","Icon","newTabOnClick","newTabIcon","quickAccess","link","background","content","iconFeatureWrapper","backgroundColor","iconFeature","icon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,eAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n NovaSolidContentContentBookAdd as CockpitIcon,\n NovaSolidUsersActionsUser as ManageUserIcon,\n NovaSolidFilesBasicFileUpload2 as UploadUserIcon,\n NovaSolidEmailAtSign as ManageEmailIcon,\n NovaSolidDesignPaintBrush2 as LookAndFeelIcon,\n NovaSolidContentContentViewList as DashboardIcon,\n NovaSolidContentEditionFlash as MassiveBattleIcon,\n NovaSolidApplicationsWindowApplication5 as CmsIcon,\n NovaSolidBusinessBusinessGraphLine2 as AnalyticsIcon,\n NovaCompositionNavigationArrowRight as ActionIcon,\n NovaCompositionCoorpacademyOpenInNewTab as NewTabIcon\n} from '@coorpacademy/nova-icons';\nimport Link from '../../atom/link';\nimport style from './style.css';\n\nconst getIcon = feature => {\n switch (feature) {\n case 'manage_users':\n return ManageUserIcon;\n case 'upload_users':\n return UploadUserIcon;\n case 'manage_email':\n return ManageEmailIcon;\n case 'massive_battle':\n return MassiveBattleIcon;\n case 'cms':\n return CmsIcon;\n case 'look_and_feel':\n return LookAndFeelIcon;\n case 'dashboard':\n return DashboardIcon;\n case 'cockpit':\n return CockpitIcon;\n case 'analytics':\n return AnalyticsIcon;\n default:\n return CockpitIcon;\n }\n};\n\nconst getBackgroudRadialColors = feature => {\n switch (feature) {\n case 'manage_users':\n case 'upload_users':\n return {\n iconColor: '#2EC1D6',\n degrees: '187'\n };\n case 'look_and_feel':\n case 'dashboard':\n return {\n iconColor: '#18BB98',\n degrees: '167'\n };\n case 'cockpit':\n return {\n iconColor: '#FF7043',\n degrees: '14'\n };\n case 'manage_email':\n case 'massive_battle':\n case 'cms':\n return {\n iconColor: '#7340FF',\n degrees: '256'\n };\n case 'analytics':\n return {\n iconColor: '#FF4040',\n degrees: '0'\n };\n default:\n return null;\n }\n};\n\nconst QuickAccessCard = (props, context) => {\n const {title, description, feature, href, openInNewTab = false} = props;\n const {iconColor, degrees} = getBackgroudRadialColors(feature);\n const Icon = getIcon(feature);\n const newTabOnClick = openInNewTab ? <NewTabIcon className={style.newTabIcon} /> : null;\n\n return (\n <div data-name=\"quick-access-card\" data-type={feature} className={style.quickAccess}>\n <Link href={href} target={openInNewTab ? '_blank' : '_self'} className={style.link}>\n <div\n style={{\n background: `radial-gradient(62.12% 56.45% at 0% 77.29%, \n hsl(${degrees}deg 68% 40% / 20%) 0%, \n hsl(${degrees}deg 68% 40% / 0%) 100%), \n radial-gradient(113.85% 103.46% at 93.27% 7.88%,\n hsl(${degrees}deg 67% 51% / 15%) 0%, \n hsl(${degrees}deg 67% 51% / 0%) 100%),\n radial-gradient(49.66% 49.63% at 78.65% 86.26%, \n hsl(${degrees}deg 87% 91%) 0%, \n hsl(${degrees}deg 87% 91% / 0%) 100%), \n #FAFAFA`\n }}\n className={style.content}\n >\n <div\n className={style.iconFeatureWrapper}\n style={{\n backgroundColor: iconColor\n }}\n >\n <Icon className={style.iconFeature} />\n </div>\n <div className={style.title}>\n {title}\n {newTabOnClick}\n </div>\n <div className={style.description}>{description}</div>\n <div\n className={style.iconGotoWrapper}\n style={{\n backgroundColor: iconColor\n }}\n >\n <div\n className={style.hover}\n style={{\n color: iconColor\n }}\n >\n <ActionIcon className={style.iconGoto} />\n </div>\n </div>\n </div>\n </Link>\n </div>\n );\n};\n\nQuickAccessCard.propTypes = {\n title: PropTypes.string,\n description: PropTypes.string,\n href: PropTypes.string,\n openInNewTab: PropTypes.bool,\n feature: PropTypes.oneOf([\n 'analytics',\n 'cms',\n 'cockpit',\n 'massive_battle',\n 'manage_email',\n 'dashboard',\n 'look_and_feel',\n 'manage_users',\n 'upload_users'\n ])\n};\n\nexport default QuickAccessCard;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/molecule/quick-access-card/index.js"],"names":["React","PropTypes","NovaSolidContentContentBookAdd","CockpitIcon","NovaSolidUsersActionsUser","ManageUserIcon","NovaSolidFilesBasicFileUpload2","UploadUserIcon","NovaSolidEmailAtSign","ManageEmailIcon","NovaSolidDesignPaintBrush2","LookAndFeelIcon","NovaSolidContentContentViewList","DashboardIcon","NovaSolidContentEditionFlash","MassiveBattleIcon","NovaSolidApplicationsWindowApplication5","CmsIcon","NovaSolidBusinessBusinessGraphLine2","AnalyticsIcon","NovaCompositionNavigationArrowRight","ActionIcon","NovaCompositionCoorpacademyOpenInNewTab","NewTabIcon","Link","style","getIcon","feature","getBackgroudRadialColors","iconColor","degrees","QuickAccessCard","props","context","title","description","href","openInNewTab","Icon","newTabOnClick","newTabIcon","quickAccess","link","background","content","iconFeatureWrapper","backgroundColor","iconFeature","iconGotoWrapper","hover","color","iconGoto","propTypes","string","bool","oneOf"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,SACEC,8BAA8B,IAAIC,WADpC,EAEEC,yBAAyB,IAAIC,cAF/B,EAGEC,8BAA8B,IAAIC,cAHpC,EAIEC,oBAAoB,IAAIC,eAJ1B,EAKEC,0BAA0B,IAAIC,eALhC,EAMEC,+BAA+B,IAAIC,aANrC,EAOEC,4BAA4B,IAAIC,iBAPlC,EAQEC,uCAAuC,IAAIC,OAR7C,EASEC,mCAAmC,IAAIC,aATzC,EAUEC,mCAAmC,IAAIC,UAVzC,EAWEC,uCAAuC,IAAIC,UAX7C,QAYO,0BAZP;AAaA,OAAOC,IAAP,MAAiB,iBAAjB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,OAAO,GAAGC,OAAO,IAAI;AACzB,UAAQA,OAAR;AACE,SAAK,cAAL;AACE,aAAOtB,cAAP;;AACF,SAAK,cAAL;AACE,aAAOE,cAAP;;AACF,SAAK,cAAL;AACE,aAAOE,eAAP;;AACF,SAAK,gBAAL;AACE,aAAOM,iBAAP;;AACF,SAAK,KAAL;AACE,aAAOE,OAAP;;AACF,SAAK,eAAL;AACE,aAAON,eAAP;;AACF,SAAK,WAAL;AACE,aAAOE,aAAP;;AACF,SAAK,SAAL;AACE,aAAOV,WAAP;;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hB,2CAA4B;AAC1BlB,EAAAA,KAAK,EAAEjC,SAAS,CAACoD,MADS;AAE1BlB,EAAAA,WAAW,EAAElC,SAAS,CAACoD,MAFG;AAG1BjB,EAAAA,IAAI,EAAEnC,SAAS,CAACoD,MAHU;AAI1BhB,EAAAA,YAAY,EAAEpC,SAAS,CAACqD,IAJE;AAK1B3B,EAAAA,OAAO,EAAE1B,SAAS,CAACsD,KAAV,CAAgB,CACvB,WADuB,EAEvB,KAFuB,EAGvB,SAHuB,EAIvB,gBAJuB,EAKvB,cALuB,EAMvB,WANuB,EAOvB,eAPuB,EAQvB,cARuB,EASvB,cATuB,CAAhB;AALiB,CAA5B;AAkBA,eAAexB,eAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n NovaSolidContentContentBookAdd as CockpitIcon,\n NovaSolidUsersActionsUser as ManageUserIcon,\n NovaSolidFilesBasicFileUpload2 as UploadUserIcon,\n NovaSolidEmailAtSign as ManageEmailIcon,\n NovaSolidDesignPaintBrush2 as LookAndFeelIcon,\n NovaSolidContentContentViewList as DashboardIcon,\n NovaSolidContentEditionFlash as MassiveBattleIcon,\n NovaSolidApplicationsWindowApplication5 as CmsIcon,\n NovaSolidBusinessBusinessGraphLine2 as AnalyticsIcon,\n NovaCompositionNavigationArrowRight as ActionIcon,\n NovaCompositionCoorpacademyOpenInNewTab as NewTabIcon\n} from '@coorpacademy/nova-icons';\nimport Link from '../../atom/link';\nimport style from './style.css';\n\nconst getIcon = feature => {\n switch (feature) {\n case 'manage_users':\n return ManageUserIcon;\n case 'upload_users':\n return UploadUserIcon;\n case 'manage_email':\n return ManageEmailIcon;\n case 'massive_battle':\n return MassiveBattleIcon;\n case 'cms':\n return CmsIcon;\n case 'look_and_feel':\n return LookAndFeelIcon;\n case 'dashboard':\n return DashboardIcon;\n case 'cockpit':\n return CockpitIcon;\n case 'analytics':\n return AnalyticsIcon;\n default:\n return CockpitIcon;\n }\n};\n\nconst getBackgroudRadialColors = feature => {\n switch (feature) {\n case 'manage_users':\n case 'upload_users':\n return {\n iconColor: '#2EC1D6',\n degrees: '187'\n };\n case 'look_and_feel':\n case 'dashboard':\n return {\n iconColor: '#18BB98',\n degrees: '167'\n };\n case 'cockpit':\n return {\n iconColor: '#FF7043',\n degrees: '14'\n };\n case 'manage_email':\n case 'massive_battle':\n case 'cms':\n return {\n iconColor: '#7340FF',\n degrees: '256'\n };\n case 'analytics':\n return {\n iconColor: '#FF4040',\n degrees: '0'\n };\n default:\n return null;\n }\n};\n\nconst QuickAccessCard = (props, context) => {\n const {title, description, feature, href, openInNewTab = false} = props;\n const {iconColor, degrees} = getBackgroudRadialColors(feature);\n const Icon = getIcon(feature);\n const newTabOnClick = openInNewTab ? <NewTabIcon className={style.newTabIcon} /> : null;\n\n return (\n <div data-name=\"quick-access-card\" data-type={feature} className={style.quickAccess}>\n <Link href={href} target={openInNewTab ? '_blank' : '_self'} className={style.link}>\n <div\n style={{\n background: `radial-gradient(62.12% 56.45% at 0% 77.29%, \n hsl(${degrees}deg 68% 40% / 20%) 0%, \n hsl(${degrees}deg 68% 40% / 0%) 100%), \n radial-gradient(113.85% 103.46% at 93.27% 7.88%,\n hsl(${degrees}deg 67% 51% / 15%) 0%, \n hsl(${degrees}deg 67% 51% / 0%) 100%),\n radial-gradient(49.66% 49.63% at 78.65% 86.26%, \n hsl(${degrees}deg 87% 91%) 0%, \n hsl(${degrees}deg 87% 91% / 0%) 100%), \n #FAFAFA`\n }}\n className={style.content}\n >\n <div\n className={style.iconFeatureWrapper}\n style={{\n backgroundColor: iconColor\n }}\n >\n <Icon className={style.iconFeature} />\n </div>\n <div className={style.title}>\n {title}\n {newTabOnClick}\n </div>\n <div className={style.description}>{description}</div>\n <div\n className={style.iconGotoWrapper}\n style={{\n backgroundColor: iconColor\n }}\n >\n <div\n className={style.hover}\n style={{\n color: iconColor\n }}\n >\n <ActionIcon className={style.iconGoto} />\n </div>\n </div>\n </div>\n </Link>\n </div>\n );\n};\n\nQuickAccessCard.propTypes = {\n title: PropTypes.string,\n description: PropTypes.string,\n href: PropTypes.string,\n openInNewTab: PropTypes.bool,\n feature: PropTypes.oneOf([\n 'analytics',\n 'cms',\n 'cockpit',\n 'massive_battle',\n 'manage_email',\n 'dashboard',\n 'look_and_feel',\n 'manage_users',\n 'upload_users'\n ])\n};\n\nexport default QuickAccessCard;\n"],"file":"index.js"}