@coorpacademy/components 10.7.0 → 10.9.0

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 (421) hide show
  1. package/es/atom/autocomplete/test/fixtures.js +0 -0
  2. package/es/atom/avatar/test/fixtures.js +0 -0
  3. package/es/atom/button/test/fixtures.js +0 -0
  4. package/es/atom/button-link/index.js +10 -3
  5. package/es/atom/button-link/index.js.map +1 -1
  6. package/es/atom/card-image-preview/test/fixtures.js +15 -0
  7. package/es/atom/card-image-preview/test/fixtures.js.map +1 -0
  8. package/es/atom/catalog-section/test/fixtures.js +0 -0
  9. package/es/atom/centered-text/test/fixtures.js +0 -0
  10. package/es/atom/checkbox/test/fixtures.js +0 -0
  11. package/es/atom/clue/test/fixtures.js +0 -0
  12. package/es/atom/cta/test/fixtures.js +0 -0
  13. package/es/atom/difficulty-level/test/fixtures.js +0 -0
  14. package/es/atom/drag-and-drop/test/fixtures.js +0 -0
  15. package/es/atom/image-upload/test/fixtures.js +0 -0
  16. package/es/atom/input-checkbox/test/fixtures.js +0 -0
  17. package/es/atom/input-color/test/fixtures.js +0 -0
  18. package/es/atom/input-doublestep/test/fixtures.js +0 -0
  19. package/es/atom/input-html/test/fixtures.js +0 -0
  20. package/es/atom/input-readonly/test/fixtures.js +0 -0
  21. package/es/atom/input-switch/test/fixtures.js +0 -0
  22. package/es/atom/input-text/test/fixtures.js +0 -0
  23. package/es/atom/input-textarea/test/fixtures.js +0 -0
  24. package/es/atom/label/test/fixtures.js +0 -0
  25. package/es/atom/life/test/fixtures.js +0 -0
  26. package/es/atom/link/test/fixtures.js +0 -0
  27. package/es/atom/loader/test/fixtures.js +0 -0
  28. package/es/atom/notification/test/fixtures.js +0 -0
  29. package/es/atom/picture/test/fixtures.js +0 -0
  30. package/es/atom/picture-background/test/fixtures.js +0 -0
  31. package/es/atom/promo-code/test/fixtures.js +0 -0
  32. package/es/atom/provider/test/fixtures.js +0 -0
  33. package/es/atom/radio-group/test/fixtures.js +0 -0
  34. package/es/atom/range/test/fixtures.js +0 -0
  35. package/es/atom/resource-miniature/test/fixtures.js +0 -0
  36. package/es/atom/select/test/fixtures.js +4 -0
  37. package/es/atom/select/test/fixtures.js.map +1 -1
  38. package/es/atom/slide/test/fixtures.js +0 -0
  39. package/es/atom/social-link/test/fixtures.js +0 -0
  40. package/es/atom/spinner/test/fixtures.js +0 -0
  41. package/es/atom/tab/test/fixtures.js +0 -0
  42. package/es/atom/tab-content/test/fixtures.js +0 -0
  43. package/es/atom/tag/index.js +1 -1
  44. package/es/atom/tag/index.js.map +1 -1
  45. package/es/atom/title/test/fixtures.js +0 -0
  46. package/es/atom/video-upload/test/fixtures.js +0 -0
  47. package/es/hoc/animation/test/fixtures.js +0 -0
  48. package/es/hoc/animation-scheduler/test/fixtures.js +0 -0
  49. package/es/hoc/swapper/test/fixtures.js +0 -0
  50. package/es/hoc/transition/test/fixtures.js +0 -0
  51. package/es/molecule/add-to-my-list/test/fixtures.js +0 -0
  52. package/es/molecule/answer/test/fixtures.js +0 -0
  53. package/es/molecule/audio/test/fixtures.js +0 -0
  54. package/es/molecule/battle-request/test/fixtures.js +0 -0
  55. package/es/molecule/brand-card/test/fixtures.js +0 -0
  56. package/es/molecule/brand-card-create/test/fixtures.js +0 -0
  57. package/es/molecule/brand-create-form/test/fixtures.js +0 -0
  58. package/es/molecule/brand-download-box/test/fixtures.js +0 -0
  59. package/es/molecule/brand-form-group/test/fixtures.js +0 -0
  60. package/es/molecule/brand-tabs/test/fixtures.js +0 -0
  61. package/es/molecule/brand-upload-box/test/fixtures.js +0 -0
  62. package/es/molecule/breadcrumbs/test/fixtures.js +0 -0
  63. package/es/molecule/card/test/fixtures.js +0 -0
  64. package/es/molecule/card-content/test/fixtures.js +0 -0
  65. package/es/molecule/card-with-button/test/fixtures.js +0 -0
  66. package/es/molecule/cockpit-popin/test/fixtures.js +0 -0
  67. package/es/molecule/cookie-banner/test/fixtures.js +0 -0
  68. package/es/molecule/course-section/test/fixtures.js +15 -0
  69. package/es/molecule/course-section/test/fixtures.js.map +1 -0
  70. package/es/molecule/course-sections/test/fixtures.js +15 -0
  71. package/es/molecule/course-sections/test/fixtures.js.map +1 -0
  72. package/es/molecule/dashboard/battle-request-list/test/fixtures.js +0 -0
  73. package/es/molecule/dashboard/cards-list/test/fixtures.js +0 -0
  74. package/es/molecule/dashboard/news-list/test/fixtures.js +0 -0
  75. package/es/molecule/dashboard/review-banner/index.js +79 -0
  76. package/es/molecule/dashboard/review-banner/index.js.map +1 -0
  77. package/es/molecule/dashboard/review-banner/style.css +186 -0
  78. package/es/molecule/dashboard/review-banner/test/fixtures/default.js +11 -0
  79. package/es/molecule/dashboard/review-banner/test/fixtures/default.js.map +1 -0
  80. package/es/molecule/dashboard/review-banner/test/fixtures.js +13 -0
  81. package/es/molecule/dashboard/review-banner/test/fixtures.js.map +1 -0
  82. package/es/molecule/dashboard/start-battle/test/fixtures.js +0 -0
  83. package/es/molecule/discipline-cta/test/fixtures.js +0 -0
  84. package/es/molecule/discipline-header/test/fixtures.js +0 -0
  85. package/es/molecule/discipline-partners/test/fixtures.js +0 -0
  86. package/es/molecule/discipline-scope/test/fixtures.js +0 -0
  87. package/es/molecule/drag-and-drop/test/fixtures.js +0 -0
  88. package/es/molecule/draggable/test/fixtures.js +13 -0
  89. package/es/molecule/draggable/test/fixtures.js.map +1 -0
  90. package/es/molecule/draggable-list/test/fixtures.js +15 -0
  91. package/es/molecule/draggable-list/test/fixtures.js.map +1 -0
  92. package/es/molecule/external-content-button/test/fixtures.js +0 -0
  93. package/es/molecule/external-content-viewer/test/fixtures.js +0 -0
  94. package/es/molecule/feedback/test/fixtures.js +0 -0
  95. package/es/molecule/filters/test/fixtures.js +0 -0
  96. package/es/molecule/forum/forum-comment/test/fixtures.js +0 -0
  97. package/es/molecule/forum/forum-post/test/fixtures.js +0 -0
  98. package/es/molecule/forum/forum-thread/test/fixtures.js +0 -0
  99. package/es/molecule/hero/test/fixtures.js +0 -0
  100. package/es/molecule/login-alert/test/fixtures.js +0 -0
  101. package/es/molecule/menu-list/test/fixtures.js +0 -0
  102. package/es/molecule/message-popin/test/fixtures.js +0 -0
  103. package/es/molecule/modal/test/fixtures.js +0 -0
  104. package/es/molecule/module-bubble/test/fixtures.js +0 -0
  105. package/es/molecule/module-card/test/fixtures.js +0 -0
  106. package/es/molecule/news/test/fixtures.js +0 -0
  107. package/es/molecule/notification-banner/test/fixtures.js +0 -0
  108. package/es/molecule/pagination/test/fixtures.js +0 -0
  109. package/es/molecule/payment-form/test/fixtures.js +0 -0
  110. package/es/molecule/pdf/test/fixtures.js +0 -0
  111. package/es/molecule/product-card/test/fixtures.js +0 -0
  112. package/es/molecule/progress-bar/test/fixtures.js +0 -0
  113. package/es/molecule/questions/drop-down/test/fixtures.js +0 -0
  114. package/es/molecule/questions/free-text/test/fixtures.js +4 -2
  115. package/es/molecule/questions/free-text/test/fixtures.js.map +1 -1
  116. package/es/molecule/questions/qcm/test/fixtures.js +0 -0
  117. package/es/molecule/questions/qcm-drag/test/fixtures.js +0 -0
  118. package/es/molecule/questions/qcm-graphic/test/fixtures.js +0 -0
  119. package/es/molecule/questions/question-range/test/fixtures.js +0 -0
  120. package/es/molecule/questions/template/test/fixtures.js +0 -0
  121. package/es/molecule/resource-player/test/fixtures.js +0 -0
  122. package/es/molecule/review-correction-popin/index.js +103 -0
  123. package/es/molecule/review-correction-popin/index.js.map +1 -0
  124. package/es/molecule/review-correction-popin/style.css +315 -0
  125. package/es/molecule/review-correction-popin/test/fixtures/right.js +17 -0
  126. package/es/molecule/review-correction-popin/test/fixtures/right.js.map +1 -0
  127. package/es/molecule/review-correction-popin/test/fixtures/wrong.js +19 -0
  128. package/es/molecule/review-correction-popin/test/fixtures/wrong.js.map +1 -0
  129. package/es/molecule/review-correction-popin/test/fixtures.js +15 -0
  130. package/es/molecule/review-correction-popin/test/fixtures.js.map +1 -0
  131. package/es/molecule/scope-content/test/fixtures.js +0 -0
  132. package/es/molecule/scope-tabs/test/fixtures.js +0 -0
  133. package/es/molecule/search/test/fixtures.js +0 -0
  134. package/es/molecule/search-form/test/fixtures.js +0 -0
  135. package/es/molecule/select-multiple/test/fixtures.js +0 -0
  136. package/es/molecule/setup-cohort-item/test/fixtures.js +0 -0
  137. package/es/molecule/setup-section/test/fixtures.js +0 -0
  138. package/es/molecule/setup-sections/test/fixtures.js +0 -0
  139. package/es/molecule/setup-slide/test/fixtures.js +0 -0
  140. package/es/molecule/setup-slider/test/fixtures.js +0 -0
  141. package/es/molecule/share/test/fixtures.js +0 -0
  142. package/es/molecule/ssmenu-list/test/fixtures.js +0 -0
  143. package/es/molecule/subscription-freemium/test/fixtures.js +0 -0
  144. package/es/molecule/subscription-premium/test/fixtures.js +0 -0
  145. package/es/molecule/table/test/fixtures.js +0 -0
  146. package/es/molecule/teams-popin/test/fixtures.js +0 -0
  147. package/es/molecule/theme-image/test/fixtures.js +0 -0
  148. package/es/molecule/titled-checkbox/test/fixtures.js +0 -0
  149. package/es/molecule/unsubscribe/test/fixtures.js +0 -0
  150. package/es/molecule/video-iframe/test/fixtures.js +0 -0
  151. package/es/molecule/video-player/test/fixtures.js +0 -0
  152. package/es/molecule/wizard-summary/test/fixtures.js +2 -0
  153. package/es/molecule/wizard-summary/test/fixtures.js.map +1 -1
  154. package/es/organism/accordion/container/test/fixtures.js +0 -0
  155. package/es/organism/accordion/part/test/fixtures.js +0 -0
  156. package/es/organism/accordion/toggler/test/fixtures.js +0 -0
  157. package/es/organism/brand-dashboard/test/fixtures.js +0 -0
  158. package/es/organism/brand-form/test/fixtures.js +0 -0
  159. package/es/organism/brand-table/test/fixtures.js +0 -0
  160. package/es/organism/brand-upload/test/fixtures.js +0 -0
  161. package/es/organism/cards-grid/test/fixtures.js +0 -0
  162. package/es/organism/cart/test/fixtures.js +0 -0
  163. package/es/organism/discussion/test/fixtures.js +0 -0
  164. package/es/organism/get-the-app/test/fixtures.js +0 -0
  165. package/es/organism/grid-list/test/fixtures.js +0 -0
  166. package/es/organism/header/test/fixtures.js +0 -0
  167. package/es/organism/hero/test/fixtures.js +0 -0
  168. package/es/organism/list-items/index.js +2 -2
  169. package/es/organism/list-items/index.js.map +1 -1
  170. package/es/organism/mooc/image-slider/test/fixtures.js +0 -0
  171. package/es/organism/mooc-footer/test/fixtures.js +0 -0
  172. package/es/organism/mooc-header/test/fixtures.js +0 -0
  173. package/es/organism/playlist-translation/test/fixtures.js +15 -0
  174. package/es/organism/playlist-translation/test/fixtures.js.map +1 -0
  175. package/es/organism/popin/test/fixtures.js +0 -0
  176. package/es/organism/resource-browser/test/fixtures.js +0 -0
  177. package/es/organism/settings/test/fixtures.js +0 -0
  178. package/es/organism/setup-header/test/fixtures.js +0 -0
  179. package/es/organism/sidebar/test/fixtures.js +0 -0
  180. package/es/organism/slider/test/fixtures.js +0 -0
  181. package/es/organism/user-preferences/test/fixtures.js +0 -0
  182. package/es/organism/wizard-contents/index.js +2 -2
  183. package/es/organism/wizard-contents/index.js.map +1 -1
  184. package/es/organism/wizard-contents/test/fixtures.js +2 -0
  185. package/es/organism/wizard-contents/test/fixtures.js.map +1 -1
  186. package/es/template/activity/test/fixtures.js +0 -0
  187. package/es/template/app-player/loading/test/fixtures.js +0 -0
  188. package/es/template/app-player/player/slides/footer/test/fixtures.js +0 -0
  189. package/es/template/app-player/player/slides/header/test/fixtures.js +0 -0
  190. package/es/template/app-player/player/slides/test/fixtures.js +0 -0
  191. package/es/template/app-player/player/test/fixtures.js +0 -0
  192. package/es/template/app-player/popin-correction/test/fixtures.js +0 -0
  193. package/es/template/app-player/popin-end/test/fixtures.js +0 -0
  194. package/es/template/app-player/popin-header/test/fixtures.js +0 -0
  195. package/es/template/back-office/brand-create/test/fixtures.js +0 -0
  196. package/es/template/back-office/brand-list/test/fixtures.js +0 -0
  197. package/es/template/back-office/brand-update/test/fixtures.js +2 -0
  198. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
  199. package/es/template/back-office/dashboard-preview/test/fixtures.js +0 -0
  200. package/es/template/battle-requests/test/fixtures.js +0 -0
  201. package/es/template/cockpit/jw-uploader/test/fixtures.js +0 -0
  202. package/es/template/common/authors/test/fixtures.js +0 -0
  203. package/es/template/common/coorp-header/test/fixtures.js +0 -0
  204. package/es/template/common/dashboard/test/fixtures.js +0 -0
  205. package/es/template/common/discipline/test/fixtures.js +0 -0
  206. package/es/template/common/search-page/test/fixtures.js +0 -0
  207. package/es/template/external-course/test/fixtures.js +0 -0
  208. package/es/template/teams-dashboard/test/fixtures.js +0 -0
  209. package/es/util/button-icons.js +2 -1
  210. package/es/util/button-icons.js.map +1 -1
  211. package/lib/atom/autocomplete/test/fixtures.js +0 -0
  212. package/lib/atom/avatar/test/fixtures.js +0 -0
  213. package/lib/atom/button/test/fixtures.js +0 -0
  214. package/lib/atom/button-link/index.js +11 -3
  215. package/lib/atom/button-link/index.js.map +1 -1
  216. package/lib/atom/card-image-preview/test/fixtures.js +25 -0
  217. package/lib/atom/card-image-preview/test/fixtures.js.map +1 -0
  218. package/lib/atom/catalog-section/test/fixtures.js +0 -0
  219. package/lib/atom/centered-text/test/fixtures.js +0 -0
  220. package/lib/atom/checkbox/test/fixtures.js +0 -0
  221. package/lib/atom/clue/test/fixtures.js +0 -0
  222. package/lib/atom/cta/test/fixtures.js +0 -0
  223. package/lib/atom/difficulty-level/test/fixtures.js +0 -0
  224. package/lib/atom/drag-and-drop/test/fixtures.js +0 -0
  225. package/lib/atom/image-upload/test/fixtures.js +0 -0
  226. package/lib/atom/input-checkbox/test/fixtures.js +0 -0
  227. package/lib/atom/input-color/test/fixtures.js +0 -0
  228. package/lib/atom/input-doublestep/test/fixtures.js +0 -0
  229. package/lib/atom/input-html/test/fixtures.js +0 -0
  230. package/lib/atom/input-readonly/test/fixtures.js +0 -0
  231. package/lib/atom/input-switch/test/fixtures.js +0 -0
  232. package/lib/atom/input-text/test/fixtures.js +0 -0
  233. package/lib/atom/input-textarea/test/fixtures.js +0 -0
  234. package/lib/atom/label/test/fixtures.js +0 -0
  235. package/lib/atom/life/test/fixtures.js +0 -0
  236. package/lib/atom/link/test/fixtures.js +0 -0
  237. package/lib/atom/loader/test/fixtures.js +0 -0
  238. package/lib/atom/notification/test/fixtures.js +0 -0
  239. package/lib/atom/picture/test/fixtures.js +0 -0
  240. package/lib/atom/picture-background/test/fixtures.js +0 -0
  241. package/lib/atom/promo-code/test/fixtures.js +0 -0
  242. package/lib/atom/provider/test/fixtures.js +0 -0
  243. package/lib/atom/radio-group/test/fixtures.js +0 -0
  244. package/lib/atom/range/test/fixtures.js +0 -0
  245. package/lib/atom/resource-miniature/test/fixtures.js +0 -0
  246. package/lib/atom/select/test/fixtures.js +6 -0
  247. package/lib/atom/select/test/fixtures.js.map +1 -1
  248. package/lib/atom/slide/test/fixtures.js +0 -0
  249. package/lib/atom/social-link/test/fixtures.js +0 -0
  250. package/lib/atom/spinner/test/fixtures.js +0 -0
  251. package/lib/atom/tab/test/fixtures.js +0 -0
  252. package/lib/atom/tab-content/test/fixtures.js +0 -0
  253. package/lib/atom/tag/index.js +1 -1
  254. package/lib/atom/tag/index.js.map +1 -1
  255. package/lib/atom/title/test/fixtures.js +0 -0
  256. package/lib/atom/video-upload/test/fixtures.js +0 -0
  257. package/lib/hoc/animation/test/fixtures.js +0 -0
  258. package/lib/hoc/animation-scheduler/test/fixtures.js +0 -0
  259. package/lib/hoc/swapper/test/fixtures.js +0 -0
  260. package/lib/hoc/transition/test/fixtures.js +0 -0
  261. package/lib/molecule/add-to-my-list/test/fixtures.js +0 -0
  262. package/lib/molecule/answer/test/fixtures.js +0 -0
  263. package/lib/molecule/audio/test/fixtures.js +0 -0
  264. package/lib/molecule/battle-request/test/fixtures.js +0 -0
  265. package/lib/molecule/brand-card/test/fixtures.js +0 -0
  266. package/lib/molecule/brand-card-create/test/fixtures.js +0 -0
  267. package/lib/molecule/brand-create-form/test/fixtures.js +0 -0
  268. package/lib/molecule/brand-download-box/test/fixtures.js +0 -0
  269. package/lib/molecule/brand-form-group/test/fixtures.js +0 -0
  270. package/lib/molecule/brand-tabs/test/fixtures.js +0 -0
  271. package/lib/molecule/brand-upload-box/test/fixtures.js +0 -0
  272. package/lib/molecule/breadcrumbs/test/fixtures.js +0 -0
  273. package/lib/molecule/card/test/fixtures.js +0 -0
  274. package/lib/molecule/card-content/test/fixtures.js +0 -0
  275. package/lib/molecule/card-with-button/test/fixtures.js +0 -0
  276. package/lib/molecule/cockpit-popin/test/fixtures.js +0 -0
  277. package/lib/molecule/cookie-banner/test/fixtures.js +0 -0
  278. package/lib/molecule/course-section/test/fixtures.js +25 -0
  279. package/lib/molecule/course-section/test/fixtures.js.map +1 -0
  280. package/lib/molecule/course-sections/test/fixtures.js +25 -0
  281. package/lib/molecule/course-sections/test/fixtures.js.map +1 -0
  282. package/lib/molecule/dashboard/battle-request-list/test/fixtures.js +0 -0
  283. package/lib/molecule/dashboard/cards-list/test/fixtures.js +0 -0
  284. package/lib/molecule/dashboard/news-list/test/fixtures.js +0 -0
  285. package/lib/molecule/dashboard/review-banner/index.js +94 -0
  286. package/lib/molecule/dashboard/review-banner/index.js.map +1 -0
  287. package/lib/molecule/dashboard/review-banner/style.css +186 -0
  288. package/lib/molecule/dashboard/review-banner/test/fixtures/default.js +16 -0
  289. package/lib/molecule/dashboard/review-banner/test/fixtures/default.js.map +1 -0
  290. package/lib/molecule/dashboard/review-banner/test/fixtures.js +22 -0
  291. package/lib/molecule/dashboard/review-banner/test/fixtures.js.map +1 -0
  292. package/lib/molecule/dashboard/start-battle/test/fixtures.js +0 -0
  293. package/lib/molecule/discipline-cta/test/fixtures.js +0 -0
  294. package/lib/molecule/discipline-header/test/fixtures.js +0 -0
  295. package/lib/molecule/discipline-partners/test/fixtures.js +0 -0
  296. package/lib/molecule/discipline-scope/test/fixtures.js +0 -0
  297. package/lib/molecule/drag-and-drop/test/fixtures.js +0 -0
  298. package/lib/molecule/draggable/test/fixtures.js +22 -0
  299. package/lib/molecule/draggable/test/fixtures.js.map +1 -0
  300. package/lib/molecule/draggable-list/test/fixtures.js +25 -0
  301. package/lib/molecule/draggable-list/test/fixtures.js.map +1 -0
  302. package/lib/molecule/external-content-button/test/fixtures.js +0 -0
  303. package/lib/molecule/external-content-viewer/test/fixtures.js +0 -0
  304. package/lib/molecule/feedback/test/fixtures.js +0 -0
  305. package/lib/molecule/filters/test/fixtures.js +0 -0
  306. package/lib/molecule/forum/forum-comment/test/fixtures.js +0 -0
  307. package/lib/molecule/forum/forum-post/test/fixtures.js +0 -0
  308. package/lib/molecule/forum/forum-thread/test/fixtures.js +0 -0
  309. package/lib/molecule/hero/test/fixtures.js +0 -0
  310. package/lib/molecule/login-alert/test/fixtures.js +0 -0
  311. package/lib/molecule/menu-list/test/fixtures.js +0 -0
  312. package/lib/molecule/message-popin/test/fixtures.js +0 -0
  313. package/lib/molecule/modal/test/fixtures.js +0 -0
  314. package/lib/molecule/module-bubble/test/fixtures.js +0 -0
  315. package/lib/molecule/module-card/test/fixtures.js +0 -0
  316. package/lib/molecule/news/test/fixtures.js +0 -0
  317. package/lib/molecule/notification-banner/test/fixtures.js +0 -0
  318. package/lib/molecule/pagination/test/fixtures.js +0 -0
  319. package/lib/molecule/payment-form/test/fixtures.js +0 -0
  320. package/lib/molecule/pdf/test/fixtures.js +0 -0
  321. package/lib/molecule/product-card/test/fixtures.js +0 -0
  322. package/lib/molecule/progress-bar/test/fixtures.js +0 -0
  323. package/lib/molecule/questions/drop-down/test/fixtures.js +0 -0
  324. package/lib/molecule/questions/free-text/test/fixtures.js +5 -2
  325. package/lib/molecule/questions/free-text/test/fixtures.js.map +1 -1
  326. package/lib/molecule/questions/qcm/test/fixtures.js +0 -0
  327. package/lib/molecule/questions/qcm-drag/test/fixtures.js +0 -0
  328. package/lib/molecule/questions/qcm-graphic/test/fixtures.js +0 -0
  329. package/lib/molecule/questions/question-range/test/fixtures.js +0 -0
  330. package/lib/molecule/questions/template/test/fixtures.js +0 -0
  331. package/lib/molecule/resource-player/test/fixtures.js +0 -0
  332. package/lib/molecule/review-correction-popin/index.js +116 -0
  333. package/lib/molecule/review-correction-popin/index.js.map +1 -0
  334. package/lib/molecule/review-correction-popin/style.css +315 -0
  335. package/lib/molecule/review-correction-popin/test/fixtures/right.js +22 -0
  336. package/lib/molecule/review-correction-popin/test/fixtures/right.js.map +1 -0
  337. package/lib/molecule/review-correction-popin/test/fixtures/wrong.js +24 -0
  338. package/lib/molecule/review-correction-popin/test/fixtures/wrong.js.map +1 -0
  339. package/lib/molecule/review-correction-popin/test/fixtures.js +25 -0
  340. package/lib/molecule/review-correction-popin/test/fixtures.js.map +1 -0
  341. package/lib/molecule/scope-content/test/fixtures.js +0 -0
  342. package/lib/molecule/scope-tabs/test/fixtures.js +0 -0
  343. package/lib/molecule/search/test/fixtures.js +0 -0
  344. package/lib/molecule/search-form/test/fixtures.js +0 -0
  345. package/lib/molecule/select-multiple/test/fixtures.js +0 -0
  346. package/lib/molecule/setup-cohort-item/test/fixtures.js +0 -0
  347. package/lib/molecule/setup-section/test/fixtures.js +0 -0
  348. package/lib/molecule/setup-sections/test/fixtures.js +0 -0
  349. package/lib/molecule/setup-slide/test/fixtures.js +0 -0
  350. package/lib/molecule/setup-slider/test/fixtures.js +0 -0
  351. package/lib/molecule/share/test/fixtures.js +0 -0
  352. package/lib/molecule/ssmenu-list/test/fixtures.js +0 -0
  353. package/lib/molecule/subscription-freemium/test/fixtures.js +0 -0
  354. package/lib/molecule/subscription-premium/test/fixtures.js +0 -0
  355. package/lib/molecule/table/test/fixtures.js +0 -0
  356. package/lib/molecule/teams-popin/test/fixtures.js +0 -0
  357. package/lib/molecule/theme-image/test/fixtures.js +0 -0
  358. package/lib/molecule/titled-checkbox/test/fixtures.js +0 -0
  359. package/lib/molecule/unsubscribe/test/fixtures.js +0 -0
  360. package/lib/molecule/video-iframe/test/fixtures.js +0 -0
  361. package/lib/molecule/video-player/test/fixtures.js +0 -0
  362. package/lib/molecule/wizard-summary/test/fixtures.js +3 -0
  363. package/lib/molecule/wizard-summary/test/fixtures.js.map +1 -1
  364. package/lib/organism/accordion/container/test/fixtures.js +0 -0
  365. package/lib/organism/accordion/part/test/fixtures.js +0 -0
  366. package/lib/organism/accordion/toggler/test/fixtures.js +0 -0
  367. package/lib/organism/brand-dashboard/test/fixtures.js +0 -0
  368. package/lib/organism/brand-form/test/fixtures.js +0 -0
  369. package/lib/organism/brand-table/test/fixtures.js +0 -0
  370. package/lib/organism/brand-upload/test/fixtures.js +0 -0
  371. package/lib/organism/cards-grid/test/fixtures.js +0 -0
  372. package/lib/organism/cart/test/fixtures.js +0 -0
  373. package/lib/organism/discussion/test/fixtures.js +0 -0
  374. package/lib/organism/get-the-app/test/fixtures.js +0 -0
  375. package/lib/organism/grid-list/test/fixtures.js +0 -0
  376. package/lib/organism/header/test/fixtures.js +0 -0
  377. package/lib/organism/hero/test/fixtures.js +0 -0
  378. package/lib/organism/list-items/index.js +2 -2
  379. package/lib/organism/list-items/index.js.map +1 -1
  380. package/lib/organism/mooc/image-slider/test/fixtures.js +0 -0
  381. package/lib/organism/mooc-footer/test/fixtures.js +0 -0
  382. package/lib/organism/mooc-header/test/fixtures.js +0 -0
  383. package/lib/organism/playlist-translation/test/fixtures.js +25 -0
  384. package/lib/organism/playlist-translation/test/fixtures.js.map +1 -0
  385. package/lib/organism/popin/test/fixtures.js +0 -0
  386. package/lib/organism/resource-browser/test/fixtures.js +0 -0
  387. package/lib/organism/settings/test/fixtures.js +0 -0
  388. package/lib/organism/setup-header/test/fixtures.js +0 -0
  389. package/lib/organism/sidebar/test/fixtures.js +0 -0
  390. package/lib/organism/slider/test/fixtures.js +0 -0
  391. package/lib/organism/user-preferences/test/fixtures.js +0 -0
  392. package/lib/organism/wizard-contents/index.js +2 -2
  393. package/lib/organism/wizard-contents/index.js.map +1 -1
  394. package/lib/organism/wizard-contents/test/fixtures.js +3 -0
  395. package/lib/organism/wizard-contents/test/fixtures.js.map +1 -1
  396. package/lib/template/activity/test/fixtures.js +0 -0
  397. package/lib/template/app-player/loading/test/fixtures.js +0 -0
  398. package/lib/template/app-player/player/slides/footer/test/fixtures.js +0 -0
  399. package/lib/template/app-player/player/slides/header/test/fixtures.js +0 -0
  400. package/lib/template/app-player/player/slides/test/fixtures.js +0 -0
  401. package/lib/template/app-player/player/test/fixtures.js +0 -0
  402. package/lib/template/app-player/popin-correction/test/fixtures.js +0 -0
  403. package/lib/template/app-player/popin-end/test/fixtures.js +0 -0
  404. package/lib/template/app-player/popin-header/test/fixtures.js +0 -0
  405. package/lib/template/back-office/brand-create/test/fixtures.js +0 -0
  406. package/lib/template/back-office/brand-list/test/fixtures.js +0 -0
  407. package/lib/template/back-office/brand-update/test/fixtures.js +3 -0
  408. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
  409. package/lib/template/back-office/dashboard-preview/test/fixtures.js +0 -0
  410. package/lib/template/battle-requests/test/fixtures.js +0 -0
  411. package/lib/template/cockpit/jw-uploader/test/fixtures.js +0 -0
  412. package/lib/template/common/authors/test/fixtures.js +0 -0
  413. package/lib/template/common/coorp-header/test/fixtures.js +0 -0
  414. package/lib/template/common/dashboard/test/fixtures.js +0 -0
  415. package/lib/template/common/discipline/test/fixtures.js +0 -0
  416. package/lib/template/common/search-page/test/fixtures.js +0 -0
  417. package/lib/template/external-course/test/fixtures.js +0 -0
  418. package/lib/template/teams-dashboard/test/fixtures.js +0 -0
  419. package/lib/util/button-icons.js +1 -0
  420. package/lib/util/button-icons.js.map +1 -1
  421. package/package.json +2 -2
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -26,7 +26,7 @@ const ListItems = ({
26
26
  const itemsView = items.map((item, index) => /*#__PURE__*/_react.default.createElement("li", {
27
27
  key: item.id,
28
28
  className: _style.default.item,
29
- "data-name": `custom-playlist-${index}`
29
+ "data-name": `content-${index}`
30
30
  }, /*#__PURE__*/_react.default.createElement(_listItem.default, item)));
31
31
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
32
32
  className: _style.default.header
@@ -41,7 +41,7 @@ const ListItems = ({
41
41
  }, /*#__PURE__*/_react.default.createElement(_buttonLink.default, buttonLink))), /*#__PURE__*/_react.default.createElement("ul", {
42
42
  className: _style.default.list,
43
43
  "aria-label": ariaLabel,
44
- "data-name": 'custom-playlist-list'
44
+ "data-name": 'content-list'
45
45
  }, itemsView));
46
46
  };
47
47
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/organism/list-items/index.js"],"names":["ListItems","title","buttonLink","items","ariaLabel","itemsView","map","item","index","id","style","header","buttonCreate","list","propTypes","PropTypes","string","shape","ButtonLink","arrayOf","ListItem"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,SAAS,GAAG,CAAC;AAACC,EAAAA,KAAD;AAAQC,EAAAA,UAAR;AAAoBC,EAAAA,KAApB;AAA2B,gBAAcC;AAAzC,CAAD,KAAyD;AACzE,QAAMC,SAAS,GAAGF,KAAK,CAACG,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,kBAC1B;AAAI,IAAA,GAAG,EAAED,IAAI,CAACE,EAAd;AAAkB,IAAA,SAAS,EAAEC,eAAMH,IAAnC;AAAyC,iBAAY,mBAAkBC,KAAM;AAA7E,kBACE,6BAAC,iBAAD,EAAcD,IAAd,CADF,CADgB,CAAlB;AAMA,sBACE,uDACE;AAAK,IAAA,SAAS,EAAEG,eAAMC;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAED,eAAMT;AAAtB,kBACE,6BAAC,cAAD;AAAO,IAAA,KAAK,EAAEA,KAAd;AAAqB,IAAA,IAAI,EAAE,YAA3B;AAAyC,iBAAW;AAApD,IADF,CADF,eAIE;AAAK,IAAA,SAAS,EAAES,eAAME;AAAtB,kBACE,6BAAC,mBAAD,EAAgBV,UAAhB,CADF,CAJF,CADF,eASE;AAAI,IAAA,SAAS,EAAEQ,eAAMG,IAArB;AAA2B,kBAAYT,SAAvC;AAAkD,iBAAW;AAA7D,KACGC,SADH,CATF,CADF;AAeD,CAtBD;;AAwBAL,SAAS,CAACc,SAAV,2CAAsB;AACpB,gBAAcC,mBAAUC,MADJ;AAEpBd,EAAAA,UAAU,EAAEa,mBAAUE,KAAV,CAAgBC,oBAAWJ,SAA3B,CAFQ;AAGpBX,EAAAA,KAAK,EAAEY,mBAAUI,OAAV,CAAkBJ,mBAAUE,KAAV,CAAgBG,kBAASN,SAAzB,CAAlB,CAHa;AAIpBb,EAAAA,KAAK,EAAEc,mBAAUC;AAJG,CAAtB;eAOehB,S","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport ListItem from '../list-item';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\n\nconst ListItems = ({title, buttonLink, items, 'aria-label': ariaLabel}) => {\n const itemsView = items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`custom-playlist-${index}`}>\n <ListItem {...item} />\n </li>\n ));\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.buttonCreate}>\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n <ul className={style.list} aria-label={ariaLabel} data-name={'custom-playlist-list'}>\n {itemsView}\n </ul>\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n title: PropTypes.string\n};\n\nexport default ListItems;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/organism/list-items/index.js"],"names":["ListItems","title","buttonLink","items","ariaLabel","itemsView","map","item","index","id","style","header","buttonCreate","list","propTypes","PropTypes","string","shape","ButtonLink","arrayOf","ListItem"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,SAAS,GAAG,CAAC;AAACC,EAAAA,KAAD;AAAQC,EAAAA,UAAR;AAAoBC,EAAAA,KAApB;AAA2B,gBAAcC;AAAzC,CAAD,KAAyD;AACzE,QAAMC,SAAS,GAAGF,KAAK,CAACG,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,kBAC1B;AAAI,IAAA,GAAG,EAAED,IAAI,CAACE,EAAd;AAAkB,IAAA,SAAS,EAAEC,eAAMH,IAAnC;AAAyC,iBAAY,WAAUC,KAAM;AAArE,kBACE,6BAAC,iBAAD,EAAcD,IAAd,CADF,CADgB,CAAlB;AAMA,sBACE,uDACE;AAAK,IAAA,SAAS,EAAEG,eAAMC;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAED,eAAMT;AAAtB,kBACE,6BAAC,cAAD;AAAO,IAAA,KAAK,EAAEA,KAAd;AAAqB,IAAA,IAAI,EAAE,YAA3B;AAAyC,iBAAW;AAApD,IADF,CADF,eAIE;AAAK,IAAA,SAAS,EAAES,eAAME;AAAtB,kBACE,6BAAC,mBAAD,EAAgBV,UAAhB,CADF,CAJF,CADF,eASE;AAAI,IAAA,SAAS,EAAEQ,eAAMG,IAArB;AAA2B,kBAAYT,SAAvC;AAAkD,iBAAW;AAA7D,KACGC,SADH,CATF,CADF;AAeD,CAtBD;;AAwBAL,SAAS,CAACc,SAAV,2CAAsB;AACpB,gBAAcC,mBAAUC,MADJ;AAEpBd,EAAAA,UAAU,EAAEa,mBAAUE,KAAV,CAAgBC,oBAAWJ,SAA3B,CAFQ;AAGpBX,EAAAA,KAAK,EAAEY,mBAAUI,OAAV,CAAkBJ,mBAAUE,KAAV,CAAgBG,kBAASN,SAAzB,CAAlB,CAHa;AAIpBb,EAAAA,KAAK,EAAEc,mBAAUC;AAJG,CAAtB;eAOehB,S","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport ListItem from '../list-item';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\n\nconst ListItems = ({title, buttonLink, items, 'aria-label': ariaLabel}) => {\n const itemsView = items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`content-${index}`}>\n <ListItem {...item} />\n </li>\n ));\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.buttonCreate}>\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n <ul className={style.list} aria-label={ariaLabel} data-name={'content-list'}>\n {itemsView}\n </ul>\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n title: PropTypes.string\n};\n\nexport default ListItems;\n"],"file":"index.js"}
File without changes
File without changes
File without changes
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ var _ava = _interopRequireDefault(require("ava"));
4
+
5
+ var _forEach = _interopRequireDefault(require("lodash/forEach"));
6
+
7
+ var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
8
+
9
+ var _ = _interopRequireDefault(require(".."));
10
+
11
+ var _default = _interopRequireDefault(require("./fixtures/default"));
12
+
13
+ var _delete = _interopRequireDefault(require("./fixtures/delete"));
14
+
15
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
+
17
+ (0, _ava.default)('Organism › OrganismPlaylistTranslation > should have valid propTypes', t => {
18
+ t.pass();
19
+ (0, _forEach.default)(_.default.propTypes, (value, key) => {
20
+ t.not(value, undefined, `PropType for "Organism.OrganismPlaylistTranslation.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
21
+ });
22
+ });
23
+ (0, _ava.default)('Organism › OrganismPlaylistTranslation › Default › should be rendered', _renderComponent.default, _.default, _default.default);
24
+ (0, _ava.default)('Organism › OrganismPlaylistTranslation › Delete › should be rendered', _renderComponent.default, _.default, _delete.default);
25
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/organism/playlist-translation/test/fixtures.js"],"names":["t","pass","OrganismPlaylistTranslation","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureDelete"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,sEAAL,EAA6EA,CAAC,IAAI;AAChFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA4BC,SAApC,EAA+C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC7DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gEAA+DF,GAAI,mEAA5F;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,uEAAL,EAA8EG,wBAA9E,EAAoGN,SAApG,EAAiIO,gBAAjI;AACA,kBAAK,sEAAL,EAA6ED,wBAA7E,EAAmGN,SAAnG,EAAgIQ,eAAhI","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismPlaylistTranslation from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDelete from './fixtures/delete';\n\ntest('Organism › OrganismPlaylistTranslation > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismPlaylistTranslation.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismPlaylistTranslation.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismPlaylistTranslation › Default › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDefault);\ntest('Organism › OrganismPlaylistTranslation › Delete › should be rendered', renderComponentMacro, OrganismPlaylistTranslation, fixtureDelete);\n"],"file":"fixtures.js"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -49,7 +49,7 @@ const buildHeader = (wizardHeader, steps) => {
49
49
  className: _style.default.header
50
50
  }, /*#__PURE__*/_react.default.createElement(_buttonLinkIconOnly.default, buttonCloseIcon), /*#__PURE__*/_react.default.createElement("div", {
51
51
  className: _style.default.headerTitle,
52
- "data-name": 'custom-playlist-title'
52
+ "data-name": 'content-title'
53
53
  }, title)), /*#__PURE__*/_react.default.createElement(_wizardSteps.default, {
54
54
  steps: steps
55
55
  }));
@@ -139,7 +139,7 @@ const WizardContents = props => {
139
139
  const footerActionView = buildActionZone(previousStep, nextStep, 'footer');
140
140
  return /*#__PURE__*/_react.default.createElement("div", {
141
141
  className: _style.default.container,
142
- "data-name": "custom-playlist-summary"
142
+ "data-name": "content-summary"
143
143
  }, /*#__PURE__*/_react.default.createElement("div", {
144
144
  className: _style.default.leftSection
145
145
  }, headerView, /*#__PURE__*/_react.default.createElement("div", {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/organism/wizard-contents/index.js"],"names":["buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","style","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","nextButton","actionZone","button","WizardContents","props","isLoading","summary","headerView","formView","rightActionView","footerActionView","container","leftSection","form","rightSection","stickySection","summaryZone","footer","summaryFooter","actionFooter","propTypes","PropTypes","bool","shape","string","func","isRequired","WizardSteps","WizardSummary","oneOfType","BrandForm","oneOf","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,WAAW,GAAG,CAACC,YAAD,EAAeC,KAAf,KAAyB;AAC3C,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA;AAAR,MAAmBH,YAAzB;AAEA,QAAMI,eAAe,GAAG;AACtBC,IAAAA,IAAI,EAAE,OADgB;AAEtB,iBAAa,cAFS;AAGtB,kBAAc,cAHQ;AAItBC,IAAAA,IAAI,EAAE,OAJgB;AAKtBH,IAAAA;AALsB,GAAxB;AAQA,sBACE,uDACE;AAAK,IAAA,SAAS,EAAEI,eAAMC;A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ypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'custom-playlist-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n\n return (\n <div className={style.container} data-name=\"custom-playlist-summary\">\n <div className={style.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n <div className={style.footer} data-name=\"summary-footer-section\">\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n <div className={style.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/organism/wizard-contents/index.js"],"names":["buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","style","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","nextButton","actionZone","button","WizardContents","props","isLoading","summary","headerView","formView","rightActionView","footerActionView","container","leftSection","form","rightSection","stickySection","summaryZone","footer","summaryFooter","actionFooter","propTypes","PropTypes","bool","shape","string","func","isRequired","WizardSteps","WizardSummary","oneOfType","BrandForm","oneOf","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,WAAW,GAAG,CAACC,YAAD,EAAeC,KAAf,KAAyB;AAC3C,QAAM;AAACC,IAAAA,KAAD;AAAQC,IAAAA;AAAR,MAAmBH,YAAzB;AAEA,QAAMI,eAAe,GAAG;AACtBC,IAAAA,IAAI,EAAE,OADgB;AAEtB,iBAAa,cAFS;AAGtB,kBAAc,cAHQ;AAItBC,IAAAA,IAAI,EAAE,OAJgB;AAKtBH,IAAAA;AALsB,GAAxB;AAQA,sBACE,uDACE;AAAK,IAAA,SAAS,EAAEI,eAAMC;AAAtB,kBACE,6BAAC,2BAAD,EAAwBJ,eAAxB,CADF,eAEE;AAAK,IAAA,SAAS,EAAEG,eAAME,WAAtB;AAAmC,iBAAW;AAA9C,KACGP,KADH,CAFF,CADF,eAOE,6BAAC,oBAAD;AAAa,IAAA,KAAK,EAAED;AAApB,IAPF,CADF;AAWD,CAtBD;;AAwBA,MAAMS,SAAS,GAAGC,OAAO,IAAI;AAC3B,QAAM;AAACC,IAAAA;AAAD,MAASD,OAAf;;AACA,UAAQC,IAAR;AACE,SAAK,MAAL;AAC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B;AAFR,KAL2B,EAS3BV,mBAAUE,KAAV,uBACKU,+BAA8Bb,SADnC;AAEEpC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,aAAD,CAAhB;AAFR,KAT2B,EAa3BV,mBAAUE,KAAV,uBACKW,yBAAgBd,SADrB;AAEEpC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,SAAD,CAAhB;AAFR,KAb2B,EAiB3BV,mBAAUE,KAAV,uBACKY,wBAAef,SADpB;AAEEpC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,kBAAD,CAAhB;AAFR,KAjB2B,CAApB,CAVgB;AAgCzBnC,EAAAA,YAAY,EAAEyB,mBAAUE,KAAV,CAAgB;AAC5B9B,IAAAA,KAAK,EAAE4B,mBAAUG,MADW;AAE5BjD,IAAAA,OAAO,EAAE8C,mBAAUI;AAFS,GAAhB,CAhCW;AAoCzB5B,EAAAA,QAAQ,EAAEwB,mBAAUE,KAAV,CAAgB;AACxBvC,IAAAA,IAAI,EAAEqC,mBAAUU,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;AAExBtC,IAAAA,KAAK,EAAE4B,mBAAUG,MAFO;AAGxBjD,IAAAA,OAAO,EAAE8C,mBAAUI;AAHK,GAAhB;AApCe,CAA3B;eA2CetB,c","sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'content-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n\n return (\n <div className={style.container} data-name=\"content-summary\">\n <div className={style.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n <div className={style.footer} data-name=\"summary-footer-section\">\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n <div className={style.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"file":"index.js"}
@@ -14,6 +14,8 @@ var _playlistGeneralSettingsCreate = _interopRequireDefault(require("./fixtures/
14
14
 
15
15
  var _playlistGeneralSettingsEdit = _interopRequireDefault(require("./fixtures/playlist-general-settings-edit"));
16
16
 
17
+ var _playlistOrganizeCourses = _interopRequireDefault(require("./fixtures/playlist-organize-courses"));
18
+
17
19
  var _playlistPopulationsCreate = _interopRequireDefault(require("./fixtures/playlist-populations-create"));
18
20
 
19
21
  var _playlistTranslateEdit = _interopRequireDefault(require("./fixtures/playlist-translate-edit"));
@@ -29,6 +31,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
29
31
  (0, _ava.default)('Organism › OrganismWizardContents › PlaylistAddCoursesCreate › should be rendered', _renderComponent.default, _.default, _playlistAddCoursesCreate.default);
30
32
  (0, _ava.default)('Organism › OrganismWizardContents › PlaylistGeneralSettingsCreate › should be rendered', _renderComponent.default, _.default, _playlistGeneralSettingsCreate.default);
31
33
  (0, _ava.default)('Organism › OrganismWizardContents › PlaylistGeneralSettingsEdit › should be rendered', _renderComponent.default, _.default, _playlistGeneralSettingsEdit.default);
34
+ (0, _ava.default)('Organism › OrganismWizardContents › PlaylistOrganizeCourses › should be rendered', _renderComponent.default, _.default, _playlistOrganizeCourses.default);
32
35
  (0, _ava.default)('Organism › OrganismWizardContents › PlaylistPopulationsCreate › should be rendered', _renderComponent.default, _.default, _playlistPopulationsCreate.default);
33
36
  (0, _ava.default)('Organism › OrganismWizardContents › PlaylistTranslateEdit › should be rendered', _renderComponent.default, _.default, _playlistTranslateEdit.default);
34
37
  //# sourceMappingURL=fixtures.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/organism/wizard-contents/test/fixtures.js"],"names":["t","pass","OrganismWizardContents","propTypes","value","key","not","undefined","renderComponentMacro","fixturePlaylistAddCoursesCreate","fixturePlaylistGeneralSettingsCreate","fixturePlaylistGeneralSettingsEdit","fixturePlaylistPopulationsCreate","fixturePlaylistTranslateEdit"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,iEAAL,EAAwEA,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAuBC,SAA/B,EAA0C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,mFAAL,EAA0FG,wBAA1F,EAAgHN,SAAhH,EAAwIO,iCAAxI;AACA,kBAAK,wFAAL,EAA+FD,wBAA/F,EAAqHN,SAArH,EAA6IQ,sCAA7I;AACA,kBAAK,sFAAL,EAA6FF,wBAA7F,EAAmHN,SAAnH,EAA2IS,oCAA3I;AACA,kBAAK,oFAAL,EAA2FH,wBAA3F,EAAiHN,SAAjH,EAAyIU,kCAAzI;AACA,kBAAK,gFAAL,EAAuFJ,wBAAvF,EAA6GN,SAA7G,EAAqIW,8BAArI","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismWizardContents from '..';\nimport fixturePlaylistAddCoursesCreate from './fixtures/playlist-add-courses-create';\nimport fixturePlaylistGeneralSettingsCreate from './fixtures/playlist-general-settings-create';\nimport fixturePlaylistGeneralSettingsEdit from './fixtures/playlist-general-settings-edit';\nimport fixturePlaylistPopulationsCreate from './fixtures/playlist-populations-create';\nimport fixturePlaylistTranslateEdit from './fixtures/playlist-translate-edit';\n\ntest('Organism › OrganismWizardContents > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismWizardContents.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismWizardContents.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismWizardContents › PlaylistAddCoursesCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistAddCoursesCreate);\ntest('Organism › OrganismWizardContents › PlaylistGeneralSettingsCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistGeneralSettingsCreate);\ntest('Organism › OrganismWizardContents › PlaylistGeneralSettingsEdit › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistGeneralSettingsEdit);\ntest('Organism › OrganismWizardContents › PlaylistPopulationsCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistPopulationsCreate);\ntest('Organism › OrganismWizardContents › PlaylistTranslateEdit › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistTranslateEdit);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../src/organism/wizard-contents/test/fixtures.js"],"names":["t","pass","OrganismWizardContents","propTypes","value","key","not","undefined","renderComponentMacro","fixturePlaylistAddCoursesCreate","fixturePlaylistGeneralSettingsCreate","fixturePlaylistGeneralSettingsEdit","fixturePlaylistOrganizeCourses","fixturePlaylistPopulationsCreate","fixturePlaylistTranslateEdit"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,iEAAL,EAAwEA,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAuBC,SAA/B,EAA0C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,mFAAL,EAA0FG,wBAA1F,EAAgHN,SAAhH,EAAwIO,iCAAxI;AACA,kBAAK,wFAAL,EAA+FD,wBAA/F,EAAqHN,SAArH,EAA6IQ,sCAA7I;AACA,kBAAK,sFAAL,EAA6FF,wBAA7F,EAAmHN,SAAnH,EAA2IS,oCAA3I;AACA,kBAAK,kFAAL,EAAyFH,wBAAzF,EAA+GN,SAA/G,EAAuIU,gCAAvI;AACA,kBAAK,oFAAL,EAA2FJ,wBAA3F,EAAiHN,SAAjH,EAAyIW,kCAAzI;AACA,kBAAK,gFAAL,EAAuFL,wBAAvF,EAA6GN,SAA7G,EAAqIY,8BAArI","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismWizardContents from '..';\nimport fixturePlaylistAddCoursesCreate from './fixtures/playlist-add-courses-create';\nimport fixturePlaylistGeneralSettingsCreate from './fixtures/playlist-general-settings-create';\nimport fixturePlaylistGeneralSettingsEdit from './fixtures/playlist-general-settings-edit';\nimport fixturePlaylistOrganizeCourses from './fixtures/playlist-organize-courses';\nimport fixturePlaylistPopulationsCreate from './fixtures/playlist-populations-create';\nimport fixturePlaylistTranslateEdit from './fixtures/playlist-translate-edit';\n\ntest('Organism › OrganismWizardContents > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismWizardContents.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismWizardContents.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismWizardContents › PlaylistAddCoursesCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistAddCoursesCreate);\ntest('Organism › OrganismWizardContents › PlaylistGeneralSettingsCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistGeneralSettingsCreate);\ntest('Organism › OrganismWizardContents › PlaylistGeneralSettingsEdit › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistGeneralSettingsEdit);\ntest('Organism › OrganismWizardContents › PlaylistOrganizeCourses › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistOrganizeCourses);\ntest('Organism › OrganismWizardContents › PlaylistPopulationsCreate › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistPopulationsCreate);\ntest('Organism › OrganismWizardContents › PlaylistTranslateEdit › should be rendered', renderComponentMacro, OrganismWizardContents, fixturePlaylistTranslateEdit);\n"],"file":"fixtures.js"}
File without changes
File without changes
File without changes
@@ -76,6 +76,8 @@ var _wizardFormCreatePlaylist = _interopRequireDefault(require("./fixtures/wizar
76
76
 
77
77
  var _wizardFormEditPlaylist = _interopRequireDefault(require("./fixtures/wizard-form-edit-playlist"));
78
78
 
79
+ var _wizardOrganizeCoursesPlaylist = _interopRequireDefault(require("./fixtures/wizard-organize-courses-playlist"));
80
+
79
81
  var _wizardPopulationsPlaylistWithPopin = _interopRequireDefault(require("./fixtures/wizard-populations-playlist-with-popin"));
80
82
 
81
83
  var _wizardPopulationsPlaylist = _interopRequireDefault(require("./fixtures/wizard-populations-playlist"));
@@ -124,6 +126,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
124
126
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardAddCoursesPlaylist › should be rendered', _renderComponent.default, _.default, _wizardAddCoursesPlaylist.default);
125
127
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormCreatePlaylist › should be rendered', _renderComponent.default, _.default, _wizardFormCreatePlaylist.default);
126
128
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormEditPlaylist › should be rendered', _renderComponent.default, _.default, _wizardFormEditPlaylist.default);
129
+ (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardOrganizeCoursesPlaylist › should be rendered', _renderComponent.default, _.default, _wizardOrganizeCoursesPlaylist.default);
127
130
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylistWithPopin › should be rendered', _renderComponent.default, _.default, _wizardPopulationsPlaylistWithPopin.default);
128
131
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylist › should be rendered', _renderComponent.default, _.default, _wizardPopulationsPlaylist.default);
129
132
  (0, _ava.default)('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardTranslatePlaylist › should be rendered', _renderComponent.default, _.default, _wizardTranslatePlaylist.default);
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/template/back-office/brand-update/test/fixtures.js"],"names":["t","pass","TemplateBackOfficeBrandUpdate","propTypes","value","key","not","undefined","renderComponentMacro","fixtureAnalytics","fixtureAnimations","fixtureCohortError","fixtureCohort","fixtureDashboard","fixtureDashboardsAnalytics","fixtureDefault","fixtureGeneralSettingsSuccess","fixtureGeneralSettings","fixtureListItemsArchived","fixtureListItemsDraft","fixtureListItemsPublishedWithPopin","fixtureListItemsPublished","fixtureLmsError","fixtureLmsModified","fixtureLmsSuccess","fixtureLms","fixtureLoader","fixtureLookandfeelError","fixtureLookandfeelModified","fixtureLookandfeelPending","fixtureLookandfeelSuccess","fixtureLookandfeel","fixtureManageusersEdit","fixtureManageusersList","fixtureQuickAccess","fixtureSsoActivate","fixtureSso","fixtureUploadusersLoading","fixtureUploadusersSuccessful","fixtureUploadusers","fixtureWizardAddCoursesPlaylist","fixtureWizardFormCreatePlaylist","fixtureWizardFormEditPlaylist","fixtureWizardPopulationsPlaylistWithPopin","fixtureWizardPopulationsPlaylist","fixtureWizardTranslatePlaylist"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,kFAAL,EAAyFA,CAAC,IAAI;AAC5FA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA8BC,SAAtC,EAAiD,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,4EAA2EF,GAAI,mEAAxG;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,qFAAL,EAA4FG,wBAA5F,EAAkHN,SAAlH,EAAiJO,kBAAjJ;AACA,kBAAK,sFAAL,EAA6FD,wBAA7F,EAAmHN,SAAnH,EAAkJQ,mBAAlJ;AACA,kBAAK,uFAAL,EAA8FF,wBAA9F,EAAoHN,SAApH,EAAmJS,oBAAnJ;AACA,kBAAK,kFAAL,EAAyFH,wBAAzF,EAA+GN,SAA/G,EAA8IU,eAA9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G,EAA2HN,SAA3H,EAA0J4B,2BAA1J;AACA,kBAAK,uFAAL,EAA8FtB,wBAA9F,EAAoHN,SAApH,EAAmJ6B,oBAAnJ;AACA,kBAAK,2FAAL,EAAkGvB,wBAAlG,EAAwHN,SAAxH,EAAuJ8B,wBAAvJ;AACA,kBAAK,2FAAL,EAAkGxB,wBAAlG,EAAwHN,SAAxH,EAAuJ+B,wBAAvJ;AACA,kBAAK,uFAAL,EAA8FzB,wBAA9F,EAAoHN,SAApH,EAAmJgC,oBAAnJ;AACA,kBAAK,uFAAL,EAA8F1B,wBAA9F,EAAoHN,SAApH,EAAmJiC,oBAAnJ;AACA,kBAAK,+EAAL,EAAsF3B,wBAAtF,EAA4GN,SAA5G,EAA2IkC,YAA3I;AACA,kBAAK,8FAAL,EAAqG5B,wBAArG,EAA2HN,SAA3H,EAA0JmC,2BAA1J;AACA,kBAAK,iGAAL,EAAwG7B,wBAAxG,EAA8HN,SAA9H,EAA6JoC,8BAA7J;AACA,kBAAK,uFAAL,EAA8F9B,wBAA9F,EAAoHN,SAApH,EAAmJqC,oBAAnJ;AACA,kBAAK,oGAAL,EAA2G/B,wBAA3G,EAAiIN,SAAjI,EAAgKsC,iCAAhK;AACA,kBAAK,oGAAL,EAA2GhC,wBAA3G,EAAiIN,SAAjI,EAAgKuC,iCAAhK;AACA,kBAAK,kGAAL,EAAyGjC,wBAAzG,EAA+HN,SAA/H,EAA8JwC,+BAA9J;AACA,kBAAK,8GAAL,EAAqHlC,wBAArH,EAA2IN,SAA3I,EAA0KyC,2CAA1K;AACA,kBAAK,qGAAL,EAA4GnC,wBAA5G,EAAkIN,SAAlI,EAAiK0C,kCAAjK;AACA,kBAAK,mGAAL,EAA0GpC,wBAA1G,EAAgIN,SAAhI,EAA+J2C,gCAA/J","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateBackOfficeBrandUpdate from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCohortError from './fixtures/cohort-error';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDashboardsAnalytics from './fixtures/dashboards-analytics';\nimport fixtureDefault from './fixtures/default';\nimport fixtureGeneralSettingsSuccess from './fixtures/general-settings-success';\nimport fixtureGeneralSettings from './fixtures/general-settings';\nimport fixtureListItemsArchived from './fixtures/list-items-archived';\nimport fixtureListItemsDraft from './fixtures/list-items-draft';\nimport fixtureListItemsPublishedWithPopin from './fixtures/list-items-published-with-popin';\nimport fixtureListItemsPublished from './fixtures/list-items-published';\nimport fixtureLmsError from './fixtures/lms-error';\nimport fixtureLmsModified from './fixtures/lms-modified';\nimport fixtureLmsSuccess from './fixtures/lms-success';\nimport fixtureLms from './fixtures/lms';\nimport fixtureLoader from './fixtures/loader';\nimport fixtureLookandfeelError from './fixtures/lookandfeel-error';\nimport fixtureLookandfeelModified from './fixtures/lookandfeel-modified';\nimport fixtureLookandfeelPending from './fixtures/lookandfeel-pending';\nimport fixtureLookandfeelSuccess from './fixtures/lookandfeel-success';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureManageusersEdit from './fixtures/manageusers-edit';\nimport fixtureManageusersList from './fixtures/manageusers-list';\nimport fixtureQuickAccess from './fixtures/quick-access';\nimport fixtureSsoActivate from './fixtures/sso-activate';\nimport fixtureSso from './fixtures/sso';\nimport fixtureUploadusersLoading from './fixtures/uploadusers-loading';\nimport fixtureUploadusersSuccessful from './fixtures/uploadusers-successful';\nimport fixtureUploadusers from './fixtures/uploadusers';\nimport fixtureWizardAddCoursesPlaylist from './fixtures/wizard-add-courses-playlist';\nimport fixtureWizardFormCreatePlaylist from './fixtures/wizard-form-create-playlist';\nimport fixtureWizardFormEditPlaylist from './fixtures/wizard-form-edit-playlist';\nimport fixtureWizardPopulationsPlaylistWithPopin from './fixtures/wizard-populations-playlist-with-popin';\nimport fixtureWizardPopulationsPlaylist from './fixtures/wizard-populations-playlist';\nimport fixtureWizardTranslatePlaylist from './fixtures/wizard-translate-playlist';\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateBackOfficeBrandUpdate.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateBackOffice.TemplateBackOfficeBrandUpdate.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Analytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Animations › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnimations);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › CohortError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohortError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Cohort › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohort);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Dashboard › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboard);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › DashboardsAnalytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboardsAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Default › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDefault);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettingsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettingsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettings › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettings);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsArchived › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsArchived);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsDraft › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsDraft);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsPublishedWithPopin › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsPublishedWithPopin);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsPublished › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsPublished);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lms › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLms);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Loader › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLoader);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelPending › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelPending);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lookandfeel › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeel);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersEdit › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersEdit);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersList › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersList);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › QuickAccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureQuickAccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › SsoActivate › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSsoActivate);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Sso › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSso);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersLoading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersLoading);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersSuccessful › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersSuccessful);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Uploadusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusers);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardAddCoursesPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardAddCoursesPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormCreatePlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardFormCreatePlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormEditPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardFormEditPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylistWithPopin › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardPopulationsPlaylistWithPopin);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardPopulationsPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardTranslatePlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardTranslatePlaylist);\n"],"file":"fixtures.js"}
1
+ {"version":3,"sources":["../../../../../src/template/back-office/brand-update/test/fixtures.js"],"names":["t","pass","TemplateBackOfficeBrandUpdate","propTypes","value","key","not","undefined","renderComponentMacro","fixtureAnalytics","fixtureAnimations","fixtureCohortError","fixtureCohort","fixtureDashboard","fixtureDashboardsAnalytics","fixtureDefault","fixtureGeneralSettingsSuccess","fixtureGeneralSettings","fixtureListItemsArchived","fixtureListItemsDraft","fixtureListItemsPublishedWithPopin","fixtureListItemsPublished","fixtureLmsError","fixtureLmsModified","fixtureLmsSuccess","fixtureLms","fixtureLoader","fixtureLookandfeelError","fixtureLookandfeelModified","fixtureLookandfeelPending","fixtureLookandfeelSuccess","fixtureLookandfeel","fixtureManageusersEdit","fixtureManageusersList","fixtureQuickAccess","fixtureSsoActivate","fixtureSso","fixtureUploadusersLoading","fixtureUploadusersSuccessful","fixtureUploadusers","fixtureWizardAddCoursesPlaylist","fixtureWizardFormCreatePlaylist","fixtureWizardFormEditPlaylist","fixtureWizardOrganizeCoursesPlaylist","fixtureWizardPopulationsPlaylistWithPopin","fixtureWizardPopulationsPlaylist","fixtureWizardTranslatePlaylist"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AAC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,8FAAL,EAAqG5B,wBAArG,EAA2HN,SAA3H,EAA0JmC,2BAA1J;AACA,kBAAK,iGAAL,EAAwG7B,wBAAxG,EAA8HN,SAA9H,EAA6JoC,8BAA7J;AACA,kBAAK,uFAAL,EAA8F9B,wBAA9F,EAAoHN,SAApH,EAAmJqC,oBAAnJ;AACA,kBAAK,oGAAL,EAA2G/B,wBAA3G,EAAiIN,SAAjI,EAAgKsC,iCAAhK;AACA,kBAAK,oGAAL,EAA2GhC,wBAA3G,EAAiIN,SAAjI,EAAgKuC,iCAAhK;AACA,kBAAK,kGAAL,EAAyGjC,wBAAzG,EAA+HN,SAA/H,EAA8JwC,+BAA9J;AACA,kBAAK,yGAAL,EAAgHlC,wBAAhH,EAAsIN,SAAtI,EAAqKyC,sCAArK;AACA,kBAAK,8GAAL,EAAqHnC,wBAArH,EAA2IN,SAA3I,EAA0K0C,2CAA1K;AACA,kBAAK,qGAAL,EAA4GpC,wBAA5G,EAAkIN,SAAlI,EAAiK2C,kCAAjK;AACA,kBAAK,mGAAL,EAA0GrC,wBAA1G,EAAgIN,SAAhI,EAA+J4C,gCAA/J","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateBackOfficeBrandUpdate from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCohortError from './fixtures/cohort-error';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDashboardsAnalytics from './fixtures/dashboards-analytics';\nimport fixtureDefault from './fixtures/default';\nimport fixtureGeneralSettingsSuccess from './fixtures/general-settings-success';\nimport fixtureGeneralSettings from './fixtures/general-settings';\nimport fixtureListItemsArchived from './fixtures/list-items-archived';\nimport fixtureListItemsDraft from './fixtures/list-items-draft';\nimport fixtureListItemsPublishedWithPopin from './fixtures/list-items-published-with-popin';\nimport fixtureListItemsPublished from './fixtures/list-items-published';\nimport fixtureLmsError from './fixtures/lms-error';\nimport fixtureLmsModified from './fixtures/lms-modified';\nimport fixtureLmsSuccess from './fixtures/lms-success';\nimport fixtureLms from './fixtures/lms';\nimport fixtureLoader from './fixtures/loader';\nimport fixtureLookandfeelError from './fixtures/lookandfeel-error';\nimport fixtureLookandfeelModified from './fixtures/lookandfeel-modified';\nimport fixtureLookandfeelPending from './fixtures/lookandfeel-pending';\nimport fixtureLookandfeelSuccess from './fixtures/lookandfeel-success';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureManageusersEdit from './fixtures/manageusers-edit';\nimport fixtureManageusersList from './fixtures/manageusers-list';\nimport fixtureQuickAccess from './fixtures/quick-access';\nimport fixtureSsoActivate from './fixtures/sso-activate';\nimport fixtureSso from './fixtures/sso';\nimport fixtureUploadusersLoading from './fixtures/uploadusers-loading';\nimport fixtureUploadusersSuccessful from './fixtures/uploadusers-successful';\nimport fixtureUploadusers from './fixtures/uploadusers';\nimport fixtureWizardAddCoursesPlaylist from './fixtures/wizard-add-courses-playlist';\nimport fixtureWizardFormCreatePlaylist from './fixtures/wizard-form-create-playlist';\nimport fixtureWizardFormEditPlaylist from './fixtures/wizard-form-edit-playlist';\nimport fixtureWizardOrganizeCoursesPlaylist from './fixtures/wizard-organize-courses-playlist';\nimport fixtureWizardPopulationsPlaylistWithPopin from './fixtures/wizard-populations-playlist-with-popin';\nimport fixtureWizardPopulationsPlaylist from './fixtures/wizard-populations-playlist';\nimport fixtureWizardTranslatePlaylist from './fixtures/wizard-translate-playlist';\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateBackOfficeBrandUpdate.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateBackOffice.TemplateBackOfficeBrandUpdate.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Analytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Animations › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnimations);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › CohortError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohortError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Cohort › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohort);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Dashboard › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboard);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › DashboardsAnalytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboardsAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Default › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDefault);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettingsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettingsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettings › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettings);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsArchived › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsArchived);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsDraft › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsDraft);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsPublishedWithPopin › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsPublishedWithPopin);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ListItemsPublished › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureListItemsPublished);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lms › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLms);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Loader › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLoader);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelPending › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelPending);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lookandfeel › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeel);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersEdit › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersEdit);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersList › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersList);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › QuickAccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureQuickAccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › SsoActivate › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSsoActivate);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Sso › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSso);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersLoading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersLoading);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersSuccessful › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersSuccessful);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Uploadusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusers);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardAddCoursesPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardAddCoursesPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormCreatePlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardFormCreatePlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardFormEditPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardFormEditPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardOrganizeCoursesPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardOrganizeCoursesPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylistWithPopin › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardPopulationsPlaylistWithPopin);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardPopulationsPlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardPopulationsPlaylist);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › WizardTranslatePlaylist › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureWizardTranslatePlaylist);\n"],"file":"fixtures.js"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -14,6 +14,7 @@ const ICONS = {
14
14
  'chevron-right': _novaIcons.NovaCompositionNavigationArrowRight,
15
15
  close: _novaIcons.NovaSolidStatusClose,
16
16
  edit: _novaIcons.NovaSolidContentEditionPencilWrite,
17
+ key: _novaIcons.NovaLineLoginKey1,
17
18
  list: _novaIcons.NovaSolidContentContentViewModule1,
18
19
  logout: _novaIcons.NovaSolidLoginLogout1,
19
20
  publish: _novaIcons.NovaSolidApplicationsWindowUpload3,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/util/button-icons.js"],"names":["ICONS","add","AddIcon","analytics","AnalyticsIcon","bin","BinIcon","BulletPointIcon","ChevronLeftIcon","ChevronRightIcon","close","CloseIcon","edit","EditIcon","list","ListIcon","logout","LogoutIcon","publish","PublishIcon","save","SaveIcon","see","EyeIcon"],"mappings":";;;;;AAAA;;AAgBO,MAAMA,KAAK,GAAG;AACnBC,EAAAA,GAAG,EAAEC,uCADc;AAEnBC,EAAAA,SAAS,EAAEC,+CAFQ;AAGnBC,EAAAA,GAAG,EAAEC,qCAHc;AAInB,kBAAgBC,iDAJG;AAKnB,kBAAgBC,6CALG;AAMnB,mBAAiBC,8CANE;AAOnBC,EAAAA,KAAK,EAAEC,+BAPY;AAQnBC,EAAAA,IAAI,EAAEC,6CARa;AASnBC,EAAAA,IAAI,EAAEC,6CATa;AAUnBC,EAAAA,MAAM,EAAEC,gCAVW;AAWnBC,EAAAA,OAAO,EAAEC,6CAXU;AAYnBC,EAAAA,IAAI,EAAEC,mCAZa;AAanBC,EAAAA,GAAG,EAAEC;AAbc,CAAd","sourcesContent":["import {\n NovaSolidRemoveAddAddCircle1 as AddIcon,\n NovaCompositionCoorpacademyAnalytics as AnalyticsIcon,\n NovaSolidContentEditionBin as BinIcon,\n NovaCompositionCoorpacademyBulletPoint as BulletPointIcon,\n NovaCompositionNavigationArrowLeft as ChevronLeftIcon,\n NovaCompositionNavigationArrowRight as ChevronRightIcon,\n NovaSolidStatusClose as CloseIcon,\n NovaSolidContentEditionPencilWrite as EditIcon,\n NovaCompositionCoorpacademyEye as EyeIcon,\n NovaSolidContentContentViewModule1 as ListIcon,\n NovaSolidLoginLogout1 as LogoutIcon,\n NovaSolidApplicationsWindowUpload3 as PublishIcon,\n NovaSolidComputersSdCard as SaveIcon\n} from '@coorpacademy/nova-icons';\n\nexport const ICONS = {\n add: AddIcon,\n analytics: AnalyticsIcon,\n bin: BinIcon,\n 'bullet-point': BulletPointIcon,\n 'chevron-left': ChevronLeftIcon,\n 'chevron-right': ChevronRightIcon,\n close: CloseIcon,\n edit: EditIcon,\n list: ListIcon,\n logout: LogoutIcon,\n publish: PublishIcon,\n save: SaveIcon,\n see: EyeIcon\n};\n"],"file":"button-icons.js"}
1
+ {"version":3,"sources":["../../src/util/button-icons.js"],"names":["ICONS","add","AddIcon","analytics","AnalyticsIcon","bin","BinIcon","BulletPointIcon","ChevronLeftIcon","ChevronRightIcon","close","CloseIcon","edit","EditIcon","key","KlfIcon","list","ListIcon","logout","LogoutIcon","publish","PublishIcon","save","SaveIcon","see","EyeIcon"],"mappings":";;;;;AAAA;;AAiBO,MAAMA,KAAK,GAAG;AACnBC,EAAAA,GAAG,EAAEC,uCADc;AAEnBC,EAAAA,SAAS,EAAEC,+CAFQ;AAGnBC,EAAAA,GAAG,EAAEC,qCAHc;AAInB,kBAAgBC,iDAJG;AAKnB,kBAAgBC,6CALG;AAMnB,mBAAiBC,8CANE;AAOnBC,EAAAA,KAAK,EAAEC,+BAPY;AAQnBC,EAAAA,IAAI,EAAEC,6CARa;AASnBC,EAAAA,GAAG,EAAEC,4BATc;AAUnBC,EAAAA,IAAI,EAAEC,6CAVa;AAWnBC,EAAAA,MAAM,EAAEC,gCAXW;AAYnBC,EAAAA,OAAO,EAAEC,6CAZU;AAanBC,EAAAA,IAAI,EAAEC,mCAba;AAcnBC,EAAAA,GAAG,EAAEC;AAdc,CAAd","sourcesContent":["import {\n NovaSolidRemoveAddAddCircle1 as AddIcon,\n NovaCompositionCoorpacademyAnalytics as AnalyticsIcon,\n NovaSolidContentEditionBin as BinIcon,\n NovaCompositionCoorpacademyBulletPoint as BulletPointIcon,\n NovaCompositionNavigationArrowLeft as ChevronLeftIcon,\n NovaCompositionNavigationArrowRight as ChevronRightIcon,\n NovaSolidStatusClose as CloseIcon,\n NovaSolidContentEditionPencilWrite as EditIcon,\n NovaCompositionCoorpacademyEye as EyeIcon,\n NovaSolidContentContentViewModule1 as ListIcon,\n NovaSolidLoginLogout1 as LogoutIcon,\n NovaSolidApplicationsWindowUpload3 as PublishIcon,\n NovaSolidComputersSdCard as SaveIcon,\n NovaLineLoginKey1 as KlfIcon\n} from '@coorpacademy/nova-icons';\n\nexport const ICONS = {\n add: AddIcon,\n analytics: AnalyticsIcon,\n bin: BinIcon,\n 'bullet-point': BulletPointIcon,\n 'chevron-left': ChevronLeftIcon,\n 'chevron-right': ChevronRightIcon,\n close: CloseIcon,\n edit: EditIcon,\n key: KlfIcon,\n list: ListIcon,\n logout: LogoutIcon,\n publish: PublishIcon,\n save: SaveIcon,\n see: EyeIcon\n};\n"],"file":"button-icons.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/components",
3
- "version": "10.7.0",
3
+ "version": "10.9.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -119,5 +119,5 @@
119
119
  "webpack-hot-middleware": "^2.25.0"
120
120
  },
121
121
  "author": "CoorpAcademy",
122
- "gitHead": "c18cb13a221793e3968d59ff267462ffb50e0f01"
122
+ "gitHead": "ec3f54e338aa0f67e7bdc49c45e29afc9871f98a"
123
123
  }