@coorpacademy/components 10.3.4-alpha.1 → 10.3.7

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 (922) hide show
  1. package/es/atom/autocomplete/test/fixtures.js +19 -0
  2. package/es/atom/autocomplete/test/fixtures.js.map +1 -0
  3. package/es/atom/avatar/test/fixtures.js +13 -0
  4. package/es/atom/avatar/test/fixtures.js.map +1 -0
  5. package/es/atom/button/test/fixtures.js +27 -0
  6. package/es/atom/button/test/fixtures.js.map +1 -0
  7. package/es/atom/button-link/test/fixtures.js +31 -0
  8. package/es/atom/button-link/test/fixtures.js.map +1 -0
  9. package/es/atom/button-link-icon-only/test/fixtures.js +21 -0
  10. package/es/atom/button-link-icon-only/test/fixtures.js.map +1 -0
  11. package/es/atom/button-menu/test/fixtures.js +15 -0
  12. package/es/atom/button-menu/test/fixtures.js.map +1 -0
  13. package/es/atom/catalog-section/test/fixtures.js +15 -0
  14. package/es/atom/catalog-section/test/fixtures.js.map +1 -0
  15. package/es/atom/centered-text/test/fixtures.js +13 -0
  16. package/es/atom/centered-text/test/fixtures.js.map +1 -0
  17. package/es/atom/checkbox/test/fixtures.js +19 -0
  18. package/es/atom/checkbox/test/fixtures.js.map +1 -0
  19. package/es/atom/chips/test/fixtures.js +17 -0
  20. package/es/atom/chips/test/fixtures.js.map +1 -0
  21. package/es/atom/clue/test/fixtures.js +17 -0
  22. package/es/atom/clue/test/fixtures.js.map +1 -0
  23. package/es/atom/content-badge/index.js +2 -2
  24. package/es/atom/content-badge/index.js.map +1 -1
  25. package/es/atom/content-badge/style.css +6 -0
  26. package/es/atom/content-badge/test/fixtures/course.js +7 -0
  27. package/es/atom/content-badge/test/fixtures/course.js.map +1 -0
  28. package/es/atom/content-badge/test/fixtures.js +27 -0
  29. package/es/atom/content-badge/test/fixtures.js.map +1 -0
  30. package/es/atom/cta/test/fixtures.js +37 -0
  31. package/es/atom/cta/test/fixtures.js.map +1 -0
  32. package/es/atom/difficulty-level/test/fixtures.js +19 -0
  33. package/es/atom/difficulty-level/test/fixtures.js.map +1 -0
  34. package/es/atom/drag-and-drop/test/fixtures.js +23 -0
  35. package/es/atom/drag-and-drop/test/fixtures.js.map +1 -0
  36. package/es/atom/empty-search-result/test/fixtures.js +13 -0
  37. package/es/atom/empty-search-result/test/fixtures.js.map +1 -0
  38. package/es/atom/image-upload/test/fixtures.js +29 -0
  39. package/es/atom/image-upload/test/fixtures.js.map +1 -0
  40. package/es/atom/input-checkbox/test/fixtures.js +25 -0
  41. package/es/atom/input-checkbox/test/fixtures.js.map +1 -0
  42. package/es/atom/input-color/test/fixtures.js +19 -0
  43. package/es/atom/input-color/test/fixtures.js.map +1 -0
  44. package/es/atom/input-doublestep/test/fixtures.js +21 -0
  45. package/es/atom/input-doublestep/test/fixtures.js.map +1 -0
  46. package/es/atom/input-html/test/fixtures.js +17 -0
  47. package/es/atom/input-html/test/fixtures.js.map +1 -0
  48. package/es/atom/input-readonly/test/fixtures.js +13 -0
  49. package/es/atom/input-readonly/test/fixtures.js.map +1 -0
  50. package/es/atom/input-search/test/fixtures.js +19 -0
  51. package/es/atom/input-search/test/fixtures.js.map +1 -0
  52. package/es/atom/input-switch/test/fixtures.js +23 -0
  53. package/es/atom/input-switch/test/fixtures.js.map +1 -0
  54. package/es/atom/input-text/test/fixtures.js +27 -0
  55. package/es/atom/input-text/test/fixtures.js.map +1 -0
  56. package/es/atom/input-textarea/index.js +2 -2
  57. package/es/atom/input-textarea/index.js.map +1 -1
  58. package/es/atom/input-textarea/test/fixtures.js +21 -0
  59. package/es/atom/input-textarea/test/fixtures.js.map +1 -0
  60. package/es/atom/input-textarea/test/on-change.js +2 -2
  61. package/es/atom/input-textarea/test/on-change.js.map +1 -1
  62. package/es/atom/label/test/fixtures.js +15 -0
  63. package/es/atom/label/test/fixtures.js.map +1 -0
  64. package/es/atom/life/test/fixtures.js +25 -0
  65. package/es/atom/life/test/fixtures.js.map +1 -0
  66. package/es/atom/link/index.js +5 -2
  67. package/es/atom/link/index.js.map +1 -1
  68. package/es/atom/link/test/fixtures.js +17 -0
  69. package/es/atom/link/test/fixtures.js.map +1 -0
  70. package/es/atom/loader/test/fixtures.js +13 -0
  71. package/es/atom/loader/test/fixtures.js.map +1 -0
  72. package/es/atom/notification/test/fixtures.js +17 -0
  73. package/es/atom/notification/test/fixtures.js.map +1 -0
  74. package/es/atom/picture/test/fixtures.js +19 -0
  75. package/es/atom/picture/test/fixtures.js.map +1 -0
  76. package/es/atom/picture-background/test/fixtures.js +19 -0
  77. package/es/atom/picture-background/test/fixtures.js.map +1 -0
  78. package/es/atom/promo-code/test/fixtures.js +17 -0
  79. package/es/atom/promo-code/test/fixtures.js.map +1 -0
  80. package/es/atom/provider/index.js +4 -0
  81. package/es/atom/provider/index.js.map +1 -1
  82. package/es/atom/provider/test/fixtures.js +13 -0
  83. package/es/atom/provider/test/fixtures.js.map +1 -0
  84. package/es/atom/radio-group/index.js +11 -2
  85. package/es/atom/radio-group/index.js.map +1 -1
  86. package/es/atom/radio-group/item.css +48 -1
  87. package/es/atom/radio-group/item.js +12 -3
  88. package/es/atom/radio-group/item.js.map +1 -1
  89. package/es/atom/radio-group/style.css +9 -1
  90. package/es/atom/radio-group/test/fixtures.js +17 -0
  91. package/es/atom/radio-group/test/fixtures.js.map +1 -0
  92. package/es/atom/range/test/fixtures.js +15 -0
  93. package/es/atom/range/test/fixtures.js.map +1 -0
  94. package/es/atom/resource-miniature/test/fixtures.js +21 -0
  95. package/es/atom/resource-miniature/test/fixtures.js.map +1 -0
  96. package/es/atom/select/test/fixtures.js +43 -0
  97. package/es/atom/select/test/fixtures.js.map +1 -0
  98. package/es/atom/slide/test/fixtures.js +21 -0
  99. package/es/atom/slide/test/fixtures.js.map +1 -0
  100. package/es/atom/social-link/index.js +5 -2
  101. package/es/atom/social-link/index.js.map +1 -1
  102. package/es/atom/social-link/test/fixtures/facebook-footer.js +2 -1
  103. package/es/atom/social-link/test/fixtures/facebook-footer.js.map +1 -1
  104. package/es/atom/social-link/test/fixtures.js +17 -0
  105. package/es/atom/social-link/test/fixtures.js.map +1 -0
  106. package/es/atom/spinner/test/fixtures.js +13 -0
  107. package/es/atom/spinner/test/fixtures.js.map +1 -0
  108. package/es/atom/tab/test/fixtures.js +13 -0
  109. package/es/atom/tab/test/fixtures.js.map +1 -0
  110. package/es/atom/tab-content/test/fixtures.js +15 -0
  111. package/es/atom/tab-content/test/fixtures.js.map +1 -0
  112. package/es/atom/tag/test/fixtures.js +21 -0
  113. package/es/atom/tag/test/fixtures.js.map +1 -0
  114. package/es/atom/title/test/fixtures.js +17 -0
  115. package/es/atom/title/test/fixtures.js.map +1 -0
  116. package/es/atom/video-upload/test/fixtures.js +21 -0
  117. package/es/atom/video-upload/test/fixtures.js.map +1 -0
  118. package/es/atom/wizard-steps/test/fixtures.js +17 -0
  119. package/es/atom/wizard-steps/test/fixtures.js.map +1 -0
  120. package/es/hoc/animation/test/fixtures.js +15 -0
  121. package/es/hoc/animation/test/fixtures.js.map +1 -0
  122. package/es/hoc/animation-scheduler/test/fixtures.js +15 -0
  123. package/es/hoc/animation-scheduler/test/fixtures.js.map +1 -0
  124. package/es/hoc/swapper/test/fixtures.js +13 -0
  125. package/es/hoc/swapper/test/fixtures.js.map +1 -0
  126. package/es/hoc/transition/test/fixtures.js +13 -0
  127. package/es/hoc/transition/test/fixtures.js.map +1 -0
  128. package/es/molecule/add-to-my-list/test/fixtures.js +15 -0
  129. package/es/molecule/add-to-my-list/test/fixtures.js.map +1 -0
  130. package/es/molecule/answer/test/fixtures.js +35 -0
  131. package/es/molecule/answer/test/fixtures.js.map +1 -0
  132. package/es/molecule/audio/test/fixtures.js +15 -0
  133. package/es/molecule/audio/test/fixtures.js.map +1 -0
  134. package/es/molecule/banner/test/fixtures.js +15 -0
  135. package/es/molecule/banner/test/fixtures.js.map +1 -0
  136. package/es/molecule/battle-request/test/fixtures.js +15 -0
  137. package/es/molecule/battle-request/test/fixtures.js.map +1 -0
  138. package/es/molecule/brand-card/test/fixtures.js +15 -0
  139. package/es/molecule/brand-card/test/fixtures.js.map +1 -0
  140. package/es/molecule/brand-card-create/test/fixtures.js +13 -0
  141. package/es/molecule/brand-card-create/test/fixtures.js.map +1 -0
  142. package/es/molecule/brand-create-form/test/fixtures.js +19 -0
  143. package/es/molecule/brand-create-form/test/fixtures.js.map +1 -0
  144. package/es/molecule/brand-download-box/test/fixtures.js +17 -0
  145. package/es/molecule/brand-download-box/test/fixtures.js.map +1 -0
  146. package/es/molecule/brand-form-group/test/fixtures/cm-default.js +29 -5
  147. package/es/molecule/brand-form-group/test/fixtures/cm-default.js.map +1 -1
  148. package/es/molecule/brand-form-group/test/fixtures.js +35 -0
  149. package/es/molecule/brand-form-group/test/fixtures.js.map +1 -0
  150. package/es/molecule/brand-tabs/test/fixtures.js +29 -0
  151. package/es/molecule/brand-tabs/test/fixtures.js.map +1 -0
  152. package/es/molecule/brand-upload-box/test/fixtures.js +17 -0
  153. package/es/molecule/brand-upload-box/test/fixtures.js.map +1 -0
  154. package/es/molecule/breadcrumbs/test/fixtures.js +13 -0
  155. package/es/molecule/breadcrumbs/test/fixtures.js.map +1 -0
  156. package/es/molecule/bullet-point-menu-button/test/fixtures.js +15 -0
  157. package/es/molecule/bullet-point-menu-button/test/fixtures.js.map +1 -0
  158. package/es/molecule/card/test/fixtures.js +43 -0
  159. package/es/molecule/card/test/fixtures.js.map +1 -0
  160. package/es/molecule/card-content/test/fixtures.js +27 -0
  161. package/es/molecule/card-content/test/fixtures.js.map +1 -0
  162. package/es/molecule/card-with-button/test/fixtures.js +17 -0
  163. package/es/molecule/card-with-button/test/fixtures.js.map +1 -0
  164. package/es/molecule/cm-popin/style.css +11 -1
  165. package/es/molecule/cm-popin/test/fixtures/default.js +9 -2
  166. package/es/molecule/cm-popin/test/fixtures/default.js.map +1 -1
  167. package/es/molecule/cm-popin/test/fixtures.js +17 -0
  168. package/es/molecule/cm-popin/test/fixtures.js.map +1 -0
  169. package/es/molecule/cookie-banner/test/fixtures.js +13 -0
  170. package/es/molecule/cookie-banner/test/fixtures.js.map +1 -0
  171. package/es/molecule/coorp-manager-roles/test/fixtures.js +13 -0
  172. package/es/molecule/coorp-manager-roles/test/fixtures.js.map +1 -0
  173. package/es/molecule/dashboard/battle-request-list/test/fixtures.js +15 -0
  174. package/es/molecule/dashboard/battle-request-list/test/fixtures.js.map +1 -0
  175. package/es/molecule/dashboard/cards-list/test/fixtures.js +23 -0
  176. package/es/molecule/dashboard/cards-list/test/fixtures.js.map +1 -0
  177. package/es/molecule/dashboard/news-list/test/fixtures.js +17 -0
  178. package/es/molecule/dashboard/news-list/test/fixtures.js.map +1 -0
  179. package/es/molecule/dashboard/start-battle/test/fixtures.js +15 -0
  180. package/es/molecule/dashboard/start-battle/test/fixtures.js.map +1 -0
  181. package/es/molecule/discipline-cta/test/fixtures.js +15 -0
  182. package/es/molecule/discipline-cta/test/fixtures.js.map +1 -0
  183. package/es/molecule/discipline-header/test/fixtures.js +27 -0
  184. package/es/molecule/discipline-header/test/fixtures.js.map +1 -0
  185. package/es/molecule/discipline-partners/test/fixtures.js +21 -0
  186. package/es/molecule/discipline-partners/test/fixtures.js.map +1 -0
  187. package/es/molecule/discipline-scope/test/fixtures.js +27 -0
  188. package/es/molecule/discipline-scope/test/fixtures.js.map +1 -0
  189. package/es/molecule/drag-and-drop/test/fixtures.js +25 -0
  190. package/es/molecule/drag-and-drop/test/fixtures.js.map +1 -0
  191. package/es/molecule/external-content-button/test/fixtures.js +19 -0
  192. package/es/molecule/external-content-button/test/fixtures.js.map +1 -0
  193. package/es/molecule/external-content-viewer/test/fixtures.js +27 -0
  194. package/es/molecule/external-content-viewer/test/fixtures.js.map +1 -0
  195. package/es/molecule/feedback/test/fixtures.js +27 -0
  196. package/es/molecule/feedback/test/fixtures.js.map +1 -0
  197. package/es/molecule/filters/test/fixtures.js +33 -0
  198. package/es/molecule/filters/test/fixtures.js.map +1 -0
  199. package/es/molecule/forum/forum-comment/test/fixtures.js +17 -0
  200. package/es/molecule/forum/forum-comment/test/fixtures.js.map +1 -0
  201. package/es/molecule/forum/forum-post/test/fixtures.js +31 -0
  202. package/es/molecule/forum/forum-post/test/fixtures.js.map +1 -0
  203. package/es/molecule/forum/forum-thread/test/fixtures.js +17 -0
  204. package/es/molecule/forum/forum-thread/test/fixtures.js.map +1 -0
  205. package/es/molecule/hero/test/fixtures.js +15 -0
  206. package/es/molecule/hero/test/fixtures.js.map +1 -0
  207. package/es/molecule/login-alert/test/fixtures.js +13 -0
  208. package/es/molecule/login-alert/test/fixtures.js.map +1 -0
  209. package/es/molecule/menu-list/test/fixtures.js +13 -0
  210. package/es/molecule/menu-list/test/fixtures.js.map +1 -0
  211. package/es/molecule/message-popin/test/fixtures.js +13 -0
  212. package/es/molecule/message-popin/test/fixtures.js.map +1 -0
  213. package/es/molecule/modal/test/fixtures.js +13 -0
  214. package/es/molecule/modal/test/fixtures.js.map +1 -0
  215. package/es/molecule/module-bubble/test/fixtures.js +17 -0
  216. package/es/molecule/module-bubble/test/fixtures.js.map +1 -0
  217. package/es/molecule/module-card/test/fixtures.js +17 -0
  218. package/es/molecule/module-card/test/fixtures.js.map +1 -0
  219. package/es/molecule/news/test/fixtures.js +23 -0
  220. package/es/molecule/news/test/fixtures.js.map +1 -0
  221. package/es/molecule/notification-banner/test/fixtures.js +17 -0
  222. package/es/molecule/notification-banner/test/fixtures.js.map +1 -0
  223. package/es/molecule/pagination/test/fixtures.js +15 -0
  224. package/es/molecule/pagination/test/fixtures.js.map +1 -0
  225. package/es/molecule/payment-form/test/fixtures.js +17 -0
  226. package/es/molecule/payment-form/test/fixtures.js.map +1 -0
  227. package/es/molecule/pdf/test/fixtures.js +13 -0
  228. package/es/molecule/pdf/test/fixtures.js.map +1 -0
  229. package/es/molecule/popin/test/fixtures.js +21 -0
  230. package/es/molecule/popin/test/fixtures.js.map +1 -0
  231. package/es/molecule/product-card/test/fixtures.js +13 -0
  232. package/es/molecule/product-card/test/fixtures.js.map +1 -0
  233. package/es/molecule/progress-bar/test/fixtures.js +15 -0
  234. package/es/molecule/progress-bar/test/fixtures.js.map +1 -0
  235. package/es/molecule/questions/drop-down/test/fixtures.js +15 -0
  236. package/es/molecule/questions/drop-down/test/fixtures.js.map +1 -0
  237. package/es/molecule/questions/free-text/test/fixtures.js +15 -0
  238. package/es/molecule/questions/free-text/test/fixtures.js.map +1 -0
  239. package/es/molecule/questions/qcm/test/fixtures.js +19 -0
  240. package/es/molecule/questions/qcm/test/fixtures.js.map +1 -0
  241. package/es/molecule/questions/qcm-drag/test/fixtures.js +15 -0
  242. package/es/molecule/questions/qcm-drag/test/fixtures.js.map +1 -0
  243. package/es/molecule/questions/qcm-graphic/test/fixtures.js +15 -0
  244. package/es/molecule/questions/qcm-graphic/test/fixtures.js.map +1 -0
  245. package/es/molecule/questions/question-range/test/fixtures.js +13 -0
  246. package/es/molecule/questions/question-range/test/fixtures.js.map +1 -0
  247. package/es/molecule/questions/template/test/fixtures.js +15 -0
  248. package/es/molecule/questions/template/test/fixtures.js.map +1 -0
  249. package/es/molecule/quick-access-card/test/fixtures.js +21 -0
  250. package/es/molecule/quick-access-card/test/fixtures.js.map +1 -0
  251. package/es/molecule/quick-access-cards-group/test/fixtures.js +21 -0
  252. package/es/molecule/quick-access-cards-group/test/fixtures.js.map +1 -0
  253. package/es/molecule/resource-player/test/fixtures.js +25 -0
  254. package/es/molecule/resource-player/test/fixtures.js.map +1 -0
  255. package/es/molecule/scope-content/test/fixtures.js +27 -0
  256. package/es/molecule/scope-content/test/fixtures.js.map +1 -0
  257. package/es/molecule/scope-tabs/test/fixtures.js +17 -0
  258. package/es/molecule/scope-tabs/test/fixtures.js.map +1 -0
  259. package/es/molecule/search/test/fixtures.js +15 -0
  260. package/es/molecule/search/test/fixtures.js.map +1 -0
  261. package/es/molecule/search-form/index.js +7 -3
  262. package/es/molecule/search-form/index.js.map +1 -1
  263. package/es/molecule/search-form/test/fixtures.js +13 -0
  264. package/es/molecule/search-form/test/fixtures.js.map +1 -0
  265. package/es/molecule/select-multiple/index.js +23 -19
  266. package/es/molecule/select-multiple/index.js.map +1 -1
  267. package/es/molecule/select-multiple/style.css +2 -1
  268. package/es/molecule/select-multiple/test/fixtures/checked-cockpit-theme.js +1 -2
  269. package/es/molecule/select-multiple/test/fixtures/checked-cockpit-theme.js.map +1 -1
  270. package/es/molecule/select-multiple/test/fixtures/setup-theme.js +7 -3
  271. package/es/molecule/select-multiple/test/fixtures/setup-theme.js.map +1 -1
  272. package/es/molecule/select-multiple/test/fixtures.js +23 -0
  273. package/es/molecule/select-multiple/test/fixtures.js.map +1 -0
  274. package/es/molecule/select-multiple/test/index.js +34 -25
  275. package/es/molecule/select-multiple/test/index.js.map +1 -1
  276. package/es/molecule/setup-cohort-item/test/fixtures.js +19 -0
  277. package/es/molecule/setup-cohort-item/test/fixtures.js.map +1 -0
  278. package/es/molecule/setup-section/test/fixtures.js +25 -0
  279. package/es/molecule/setup-section/test/fixtures.js.map +1 -0
  280. package/es/molecule/setup-sections/test/fixtures.js +19 -0
  281. package/es/molecule/setup-sections/test/fixtures.js.map +1 -0
  282. package/es/molecule/setup-slide/test/fixtures.js +23 -0
  283. package/es/molecule/setup-slide/test/fixtures.js.map +1 -0
  284. package/es/molecule/setup-slider/test/fixtures.js +15 -0
  285. package/es/molecule/setup-slider/test/fixtures.js.map +1 -0
  286. package/es/molecule/share/test/fixtures.js +13 -0
  287. package/es/molecule/share/test/fixtures.js.map +1 -0
  288. package/es/molecule/ssmenu-list/test/fixtures.js +19 -0
  289. package/es/molecule/ssmenu-list/test/fixtures.js.map +1 -0
  290. package/es/molecule/subscription-freemium/test/fixtures.js +13 -0
  291. package/es/molecule/subscription-freemium/test/fixtures.js.map +1 -0
  292. package/es/molecule/subscription-premium/test/fixtures.js +15 -0
  293. package/es/molecule/subscription-premium/test/fixtures.js.map +1 -0
  294. package/es/molecule/table/test/fixtures.js +19 -0
  295. package/es/molecule/table/test/fixtures.js.map +1 -0
  296. package/es/molecule/teams-popin/test/fixtures.js +29 -0
  297. package/es/molecule/teams-popin/test/fixtures.js.map +1 -0
  298. package/es/molecule/theme-image/test/fixtures.js +13 -0
  299. package/es/molecule/theme-image/test/fixtures.js.map +1 -0
  300. package/es/molecule/titled-checkbox/test/fixtures.js +17 -0
  301. package/es/molecule/titled-checkbox/test/fixtures.js.map +1 -0
  302. package/es/molecule/unsubscribe/test/fixtures.js +15 -0
  303. package/es/molecule/unsubscribe/test/fixtures.js.map +1 -0
  304. package/es/molecule/vertical-tabs/test/fixtures.js +15 -0
  305. package/es/molecule/vertical-tabs/test/fixtures.js.map +1 -0
  306. package/es/molecule/video-iframe/test/fixtures.js +25 -0
  307. package/es/molecule/video-iframe/test/fixtures.js.map +1 -0
  308. package/es/molecule/video-player/test/fixtures.js +29 -0
  309. package/es/molecule/video-player/test/fixtures.js.map +1 -0
  310. package/es/molecule/wizard-summary/index.js +1 -1
  311. package/es/molecule/wizard-summary/index.js.map +1 -1
  312. package/es/molecule/wizard-summary/test/fixtures/default.js +2 -2
  313. package/es/molecule/wizard-summary/test/fixtures/default.js.map +1 -1
  314. package/es/molecule/wizard-summary/test/fixtures.js +21 -0
  315. package/es/molecule/wizard-summary/test/fixtures.js.map +1 -0
  316. package/es/organism/accordion/container/test/fixtures.js +17 -0
  317. package/es/organism/accordion/container/test/fixtures.js.map +1 -0
  318. package/es/organism/accordion/coorp-manager/part/test/fixtures.js +17 -0
  319. package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -0
  320. package/es/organism/accordion/coorp-manager/test/fixtures.js +13 -0
  321. package/es/organism/accordion/coorp-manager/test/fixtures.js.map +1 -0
  322. package/es/organism/accordion/part/test/fixtures.js +15 -0
  323. package/es/organism/accordion/part/test/fixtures.js.map +1 -0
  324. package/es/organism/accordion/toggler/test/fixtures.js +17 -0
  325. package/es/organism/accordion/toggler/test/fixtures.js.map +1 -0
  326. package/es/organism/brand-analytics/test/fixtures.js +23 -0
  327. package/es/organism/brand-analytics/test/fixtures.js.map +1 -0
  328. package/es/organism/brand-dashboard/test/fixtures.js +15 -0
  329. package/es/organism/brand-dashboard/test/fixtures.js.map +1 -0
  330. package/es/organism/brand-form/test/fixtures.js +33 -0
  331. package/es/organism/brand-form/test/fixtures.js.map +1 -0
  332. package/es/organism/brand-table/test/fixtures.js +19 -0
  333. package/es/organism/brand-table/test/fixtures.js.map +1 -0
  334. package/es/organism/brand-upload/test/fixtures.js +15 -0
  335. package/es/organism/brand-upload/test/fixtures.js.map +1 -0
  336. package/es/organism/cards-grid/test/fixtures.js +19 -0
  337. package/es/organism/cards-grid/test/fixtures.js.map +1 -0
  338. package/es/organism/cart/test/fixtures.js +13 -0
  339. package/es/organism/cart/test/fixtures.js.map +1 -0
  340. package/es/organism/content-translation/index.js +22 -13
  341. package/es/organism/content-translation/index.js.map +1 -1
  342. package/es/organism/content-translation/test/fixtures/default.js +0 -5
  343. package/es/organism/content-translation/test/fixtures/default.js.map +1 -1
  344. package/es/organism/content-translation/test/fixtures/delete.js +1 -1
  345. package/es/organism/content-translation/test/fixtures/delete.js.map +1 -1
  346. package/es/organism/course-selection/test/fixtures.js +21 -0
  347. package/es/organism/course-selection/test/fixtures.js.map +1 -0
  348. package/es/organism/discussion/test/fixtures.js +19 -0
  349. package/es/organism/discussion/test/fixtures.js.map +1 -0
  350. package/es/organism/get-the-app/test/fixtures.js +13 -0
  351. package/es/organism/get-the-app/test/fixtures.js.map +1 -0
  352. package/es/organism/grid-list/test/fixtures.js +13 -0
  353. package/es/organism/grid-list/test/fixtures.js.map +1 -0
  354. package/es/organism/header/test/fixtures.js +13 -0
  355. package/es/organism/header/test/fixtures.js.map +1 -0
  356. package/es/organism/hero/test/fixtures.js +17 -0
  357. package/es/organism/hero/test/fixtures.js.map +1 -0
  358. package/es/organism/mooc/image-slider/test/fixtures.js +15 -0
  359. package/es/organism/mooc/image-slider/test/fixtures.js.map +1 -0
  360. package/es/organism/mooc-footer/index.js +35 -15
  361. package/es/organism/mooc-footer/index.js.map +1 -1
  362. package/es/organism/mooc-footer/test/fixtures/default.js +17 -7
  363. package/es/organism/mooc-footer/test/fixtures/default.js.map +1 -1
  364. package/es/organism/mooc-footer/test/fixtures.js +23 -0
  365. package/es/organism/mooc-footer/test/fixtures.js.map +1 -0
  366. package/es/organism/mooc-header/index.js +69 -24
  367. package/es/organism/mooc-header/index.js.map +1 -1
  368. package/es/organism/mooc-header/test/fixtures/default.js +12 -2
  369. package/es/organism/mooc-header/test/fixtures/default.js.map +1 -1
  370. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +11 -5
  371. package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  372. package/es/organism/mooc-header/test/fixtures.js +31 -0
  373. package/es/organism/mooc-header/test/fixtures.js.map +1 -0
  374. package/es/organism/playlist-translation/test/fixtures.js +15 -0
  375. package/es/organism/playlist-translation/test/fixtures.js.map +1 -0
  376. package/es/organism/popin/test/fixtures.js +13 -0
  377. package/es/organism/popin/test/fixtures.js.map +1 -0
  378. package/es/organism/resource-browser/test/fixtures.js +37 -0
  379. package/es/organism/resource-browser/test/fixtures.js.map +1 -0
  380. package/es/organism/search-and-chips-results/test/fixtures.js +21 -0
  381. package/es/organism/search-and-chips-results/test/fixtures.js.map +1 -0
  382. package/es/organism/settings/test/fixtures.js +19 -0
  383. package/es/organism/settings/test/fixtures.js.map +1 -0
  384. package/es/organism/setup-header/test/fixtures.js +15 -0
  385. package/es/organism/setup-header/test/fixtures.js.map +1 -0
  386. package/es/organism/sidebar/test/fixtures.js +23 -0
  387. package/es/organism/sidebar/test/fixtures.js.map +1 -0
  388. package/es/organism/slider/test/fixtures.js +15 -0
  389. package/es/organism/slider/test/fixtures.js.map +1 -0
  390. package/es/organism/user-preferences/test/fixtures.js +13 -0
  391. package/es/organism/user-preferences/test/fixtures.js.map +1 -0
  392. package/es/organism/wizard-contents/index.js +20 -6
  393. package/es/organism/wizard-contents/index.js.map +1 -1
  394. package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +2 -1
  395. package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
  396. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -0
  397. package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
  398. package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -0
  399. package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
  400. package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -0
  401. package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
  402. package/es/template/activity/test/fixtures.js +21 -0
  403. package/es/template/activity/test/fixtures.js.map +1 -0
  404. package/es/template/app-player/loading/test/fixtures.js +13 -0
  405. package/es/template/app-player/loading/test/fixtures.js.map +1 -0
  406. package/es/template/app-player/player/slides/footer/test/fixtures.js +29 -0
  407. package/es/template/app-player/player/slides/footer/test/fixtures.js.map +1 -0
  408. package/es/template/app-player/player/slides/header/test/fixtures.js +23 -0
  409. package/es/template/app-player/player/slides/header/test/fixtures.js.map +1 -0
  410. package/es/template/app-player/player/slides/test/fixtures.js +79 -0
  411. package/es/template/app-player/player/slides/test/fixtures.js.map +1 -0
  412. package/es/template/app-player/player/test/fixtures.js +55 -0
  413. package/es/template/app-player/player/test/fixtures.js.map +1 -0
  414. package/es/template/app-player/popin-correction/test/fixtures.js +47 -0
  415. package/es/template/app-player/popin-correction/test/fixtures.js.map +1 -0
  416. package/es/template/app-player/popin-end/test/fixtures.js +49 -0
  417. package/es/template/app-player/popin-end/test/fixtures.js.map +1 -0
  418. package/es/template/app-player/popin-header/test/fixtures.js +29 -0
  419. package/es/template/app-player/popin-header/test/fixtures.js.map +1 -0
  420. package/es/template/back-office/brand-create/test/fixtures.js +19 -0
  421. package/es/template/back-office/brand-create/test/fixtures.js.map +1 -0
  422. package/es/template/back-office/brand-list/index.js +7 -2
  423. package/es/template/back-office/brand-list/index.js.map +1 -1
  424. package/es/template/back-office/brand-list/style.css +13 -0
  425. package/es/template/back-office/brand-list/test/fixtures/default.js +15 -0
  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.js +17 -0
  428. package/es/template/back-office/brand-list/test/fixtures.js.map +1 -0
  429. package/es/template/back-office/brand-update/index.js +11 -1
  430. package/es/template/back-office/brand-update/index.js.map +1 -1
  431. package/es/template/back-office/brand-update/style.css +10 -0
  432. package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +71 -0
  433. package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -0
  434. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +24 -0
  435. package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -0
  436. package/es/template/back-office/brand-update/test/fixtures.js +67 -0
  437. package/es/template/back-office/brand-update/test/fixtures.js.map +1 -0
  438. package/es/template/back-office/dashboard-preview/test/fixtures.js +23 -0
  439. package/es/template/back-office/dashboard-preview/test/fixtures.js.map +1 -0
  440. package/es/template/battle-requests/test/fixtures.js +13 -0
  441. package/es/template/battle-requests/test/fixtures.js.map +1 -0
  442. package/es/template/cockpit/jw-uploader/test/fixtures.js +13 -0
  443. package/es/template/cockpit/jw-uploader/test/fixtures.js.map +1 -0
  444. package/es/template/common/authors/test/fixtures.js +15 -0
  445. package/es/template/common/authors/test/fixtures.js.map +1 -0
  446. package/es/template/common/coorp-header/test/fixtures.js +15 -0
  447. package/es/template/common/coorp-header/test/fixtures.js.map +1 -0
  448. package/es/template/common/dashboard/test/fixtures.js +17 -0
  449. package/es/template/common/dashboard/test/fixtures.js.map +1 -0
  450. package/es/template/common/discipline/test/fixtures.js +47 -0
  451. package/es/template/common/discipline/test/fixtures.js.map +1 -0
  452. package/es/template/common/search-page/test/fixtures.js +17 -0
  453. package/es/template/common/search-page/test/fixtures.js.map +1 -0
  454. package/es/template/external-course/test/fixtures.js +31 -0
  455. package/es/template/external-course/test/fixtures.js.map +1 -0
  456. package/es/template/teams-dashboard/test/fixtures.js +17 -0
  457. package/es/template/teams-dashboard/test/fixtures.js.map +1 -0
  458. package/es/util/button-icons.js +2 -1
  459. package/es/util/button-icons.js.map +1 -1
  460. package/es/variables/colors.css +1 -0
  461. package/lib/atom/autocomplete/test/fixtures.js +31 -0
  462. package/lib/atom/autocomplete/test/fixtures.js.map +1 -0
  463. package/lib/atom/avatar/test/fixtures.js +22 -0
  464. package/lib/atom/avatar/test/fixtures.js.map +1 -0
  465. package/lib/atom/button/test/fixtures.js +43 -0
  466. package/lib/atom/button/test/fixtures.js.map +1 -0
  467. package/lib/atom/button-link/test/fixtures.js +49 -0
  468. package/lib/atom/button-link/test/fixtures.js.map +1 -0
  469. package/lib/atom/button-link-icon-only/test/fixtures.js +34 -0
  470. package/lib/atom/button-link-icon-only/test/fixtures.js.map +1 -0
  471. package/lib/atom/button-menu/test/fixtures.js +25 -0
  472. package/lib/atom/button-menu/test/fixtures.js.map +1 -0
  473. package/lib/atom/catalog-section/test/fixtures.js +25 -0
  474. package/lib/atom/catalog-section/test/fixtures.js.map +1 -0
  475. package/lib/atom/centered-text/test/fixtures.js +22 -0
  476. package/lib/atom/centered-text/test/fixtures.js.map +1 -0
  477. package/lib/atom/checkbox/test/fixtures.js +31 -0
  478. package/lib/atom/checkbox/test/fixtures.js.map +1 -0
  479. package/lib/atom/chips/test/fixtures.js +28 -0
  480. package/lib/atom/chips/test/fixtures.js.map +1 -0
  481. package/lib/atom/clue/test/fixtures.js +28 -0
  482. package/lib/atom/clue/test/fixtures.js.map +1 -0
  483. package/lib/atom/content-badge/index.js +2 -2
  484. package/lib/atom/content-badge/index.js.map +1 -1
  485. package/lib/atom/content-badge/style.css +6 -0
  486. package/lib/atom/content-badge/test/fixtures/course.js +12 -0
  487. package/lib/atom/content-badge/test/fixtures/course.js.map +1 -0
  488. package/lib/atom/content-badge/test/fixtures.js +43 -0
  489. package/lib/atom/content-badge/test/fixtures.js.map +1 -0
  490. package/lib/atom/cta/test/fixtures.js +58 -0
  491. package/lib/atom/cta/test/fixtures.js.map +1 -0
  492. package/lib/atom/difficulty-level/test/fixtures.js +31 -0
  493. package/lib/atom/difficulty-level/test/fixtures.js.map +1 -0
  494. package/lib/atom/drag-and-drop/test/fixtures.js +37 -0
  495. package/lib/atom/drag-and-drop/test/fixtures.js.map +1 -0
  496. package/lib/atom/empty-search-result/test/fixtures.js +22 -0
  497. package/lib/atom/empty-search-result/test/fixtures.js.map +1 -0
  498. package/lib/atom/image-upload/test/fixtures.js +46 -0
  499. package/lib/atom/image-upload/test/fixtures.js.map +1 -0
  500. package/lib/atom/input-checkbox/test/fixtures.js +40 -0
  501. package/lib/atom/input-checkbox/test/fixtures.js.map +1 -0
  502. package/lib/atom/input-color/test/fixtures.js +31 -0
  503. package/lib/atom/input-color/test/fixtures.js.map +1 -0
  504. package/lib/atom/input-doublestep/test/fixtures.js +34 -0
  505. package/lib/atom/input-doublestep/test/fixtures.js.map +1 -0
  506. package/lib/atom/input-html/test/fixtures.js +28 -0
  507. package/lib/atom/input-html/test/fixtures.js.map +1 -0
  508. package/lib/atom/input-readonly/test/fixtures.js +22 -0
  509. package/lib/atom/input-readonly/test/fixtures.js.map +1 -0
  510. package/lib/atom/input-search/test/fixtures.js +31 -0
  511. package/lib/atom/input-search/test/fixtures.js.map +1 -0
  512. package/lib/atom/input-switch/test/fixtures.js +37 -0
  513. package/lib/atom/input-switch/test/fixtures.js.map +1 -0
  514. package/lib/atom/input-text/test/fixtures.js +43 -0
  515. package/lib/atom/input-text/test/fixtures.js.map +1 -0
  516. package/lib/atom/input-textarea/index.js +2 -2
  517. package/lib/atom/input-textarea/index.js.map +1 -1
  518. package/lib/atom/input-textarea/test/fixtures.js +34 -0
  519. package/lib/atom/input-textarea/test/fixtures.js.map +1 -0
  520. package/lib/atom/input-textarea/test/on-change.js +2 -2
  521. package/lib/atom/input-textarea/test/on-change.js.map +1 -1
  522. package/lib/atom/label/test/fixtures.js +25 -0
  523. package/lib/atom/label/test/fixtures.js.map +1 -0
  524. package/lib/atom/life/test/fixtures.js +40 -0
  525. package/lib/atom/life/test/fixtures.js.map +1 -0
  526. package/lib/atom/link/index.js +5 -2
  527. package/lib/atom/link/index.js.map +1 -1
  528. package/lib/atom/link/test/fixtures.js +28 -0
  529. package/lib/atom/link/test/fixtures.js.map +1 -0
  530. package/lib/atom/loader/test/fixtures.js +22 -0
  531. package/lib/atom/loader/test/fixtures.js.map +1 -0
  532. package/lib/atom/notification/test/fixtures.js +28 -0
  533. package/lib/atom/notification/test/fixtures.js.map +1 -0
  534. package/lib/atom/picture/test/fixtures.js +31 -0
  535. package/lib/atom/picture/test/fixtures.js.map +1 -0
  536. package/lib/atom/picture-background/test/fixtures.js +31 -0
  537. package/lib/atom/picture-background/test/fixtures.js.map +1 -0
  538. package/lib/atom/promo-code/test/fixtures.js +28 -0
  539. package/lib/atom/promo-code/test/fixtures.js.map +1 -0
  540. package/lib/atom/provider/index.js +4 -0
  541. package/lib/atom/provider/index.js.map +1 -1
  542. package/lib/atom/provider/test/fixtures.js +22 -0
  543. package/lib/atom/provider/test/fixtures.js.map +1 -0
  544. package/lib/atom/radio-group/index.js +11 -2
  545. package/lib/atom/radio-group/index.js.map +1 -1
  546. package/lib/atom/radio-group/item.css +48 -1
  547. package/lib/atom/radio-group/item.js +13 -3
  548. package/lib/atom/radio-group/item.js.map +1 -1
  549. package/lib/atom/radio-group/style.css +9 -1
  550. package/lib/atom/radio-group/test/fixtures.js +28 -0
  551. package/lib/atom/radio-group/test/fixtures.js.map +1 -0
  552. package/lib/atom/range/test/fixtures.js +25 -0
  553. package/lib/atom/range/test/fixtures.js.map +1 -0
  554. package/lib/atom/resource-miniature/test/fixtures.js +34 -0
  555. package/lib/atom/resource-miniature/test/fixtures.js.map +1 -0
  556. package/lib/atom/select/test/fixtures.js +67 -0
  557. package/lib/atom/select/test/fixtures.js.map +1 -0
  558. package/lib/atom/slide/test/fixtures.js +34 -0
  559. package/lib/atom/slide/test/fixtures.js.map +1 -0
  560. package/lib/atom/social-link/index.js +5 -2
  561. package/lib/atom/social-link/index.js.map +1 -1
  562. package/lib/atom/social-link/test/fixtures/facebook-footer.js +2 -1
  563. package/lib/atom/social-link/test/fixtures/facebook-footer.js.map +1 -1
  564. package/lib/atom/social-link/test/fixtures.js +28 -0
  565. package/lib/atom/social-link/test/fixtures.js.map +1 -0
  566. package/lib/atom/spinner/test/fixtures.js +22 -0
  567. package/lib/atom/spinner/test/fixtures.js.map +1 -0
  568. package/lib/atom/tab/test/fixtures.js +22 -0
  569. package/lib/atom/tab/test/fixtures.js.map +1 -0
  570. package/lib/atom/tab-content/test/fixtures.js +25 -0
  571. package/lib/atom/tab-content/test/fixtures.js.map +1 -0
  572. package/lib/atom/tag/test/fixtures.js +34 -0
  573. package/lib/atom/tag/test/fixtures.js.map +1 -0
  574. package/lib/atom/title/test/fixtures.js +28 -0
  575. package/lib/atom/title/test/fixtures.js.map +1 -0
  576. package/lib/atom/video-upload/test/fixtures.js +34 -0
  577. package/lib/atom/video-upload/test/fixtures.js.map +1 -0
  578. package/lib/atom/wizard-steps/test/fixtures.js +28 -0
  579. package/lib/atom/wizard-steps/test/fixtures.js.map +1 -0
  580. package/lib/hoc/animation/test/fixtures.js +25 -0
  581. package/lib/hoc/animation/test/fixtures.js.map +1 -0
  582. package/lib/hoc/animation-scheduler/test/fixtures.js +25 -0
  583. package/lib/hoc/animation-scheduler/test/fixtures.js.map +1 -0
  584. package/lib/hoc/swapper/test/fixtures.js +22 -0
  585. package/lib/hoc/swapper/test/fixtures.js.map +1 -0
  586. package/lib/hoc/transition/test/fixtures.js +22 -0
  587. package/lib/hoc/transition/test/fixtures.js.map +1 -0
  588. package/lib/molecule/add-to-my-list/test/fixtures.js +25 -0
  589. package/lib/molecule/add-to-my-list/test/fixtures.js.map +1 -0
  590. package/lib/molecule/answer/test/fixtures.js +55 -0
  591. package/lib/molecule/answer/test/fixtures.js.map +1 -0
  592. package/lib/molecule/audio/test/fixtures.js +25 -0
  593. package/lib/molecule/audio/test/fixtures.js.map +1 -0
  594. package/lib/molecule/banner/test/fixtures.js +25 -0
  595. package/lib/molecule/banner/test/fixtures.js.map +1 -0
  596. package/lib/molecule/battle-request/test/fixtures.js +25 -0
  597. package/lib/molecule/battle-request/test/fixtures.js.map +1 -0
  598. package/lib/molecule/brand-card/test/fixtures.js +25 -0
  599. package/lib/molecule/brand-card/test/fixtures.js.map +1 -0
  600. package/lib/molecule/brand-card-create/test/fixtures.js +22 -0
  601. package/lib/molecule/brand-card-create/test/fixtures.js.map +1 -0
  602. package/lib/molecule/brand-create-form/test/fixtures.js +31 -0
  603. package/lib/molecule/brand-create-form/test/fixtures.js.map +1 -0
  604. package/lib/molecule/brand-download-box/test/fixtures.js +28 -0
  605. package/lib/molecule/brand-download-box/test/fixtures.js.map +1 -0
  606. package/lib/molecule/brand-form-group/test/fixtures/cm-default.js +29 -5
  607. package/lib/molecule/brand-form-group/test/fixtures/cm-default.js.map +1 -1
  608. package/lib/molecule/brand-form-group/test/fixtures.js +55 -0
  609. package/lib/molecule/brand-form-group/test/fixtures.js.map +1 -0
  610. package/lib/molecule/brand-tabs/test/fixtures.js +46 -0
  611. package/lib/molecule/brand-tabs/test/fixtures.js.map +1 -0
  612. package/lib/molecule/brand-upload-box/test/fixtures.js +28 -0
  613. package/lib/molecule/brand-upload-box/test/fixtures.js.map +1 -0
  614. package/lib/molecule/breadcrumbs/test/fixtures.js +22 -0
  615. package/lib/molecule/breadcrumbs/test/fixtures.js.map +1 -0
  616. package/lib/molecule/bullet-point-menu-button/test/fixtures.js +25 -0
  617. package/lib/molecule/bullet-point-menu-button/test/fixtures.js.map +1 -0
  618. package/lib/molecule/card/test/fixtures.js +67 -0
  619. package/lib/molecule/card/test/fixtures.js.map +1 -0
  620. package/lib/molecule/card-content/test/fixtures.js +43 -0
  621. package/lib/molecule/card-content/test/fixtures.js.map +1 -0
  622. package/lib/molecule/card-with-button/test/fixtures.js +28 -0
  623. package/lib/molecule/card-with-button/test/fixtures.js.map +1 -0
  624. package/lib/molecule/cm-popin/style.css +11 -1
  625. package/lib/molecule/cm-popin/test/fixtures/default.js +9 -2
  626. package/lib/molecule/cm-popin/test/fixtures/default.js.map +1 -1
  627. package/lib/molecule/cm-popin/test/fixtures.js +28 -0
  628. package/lib/molecule/cm-popin/test/fixtures.js.map +1 -0
  629. package/lib/molecule/cookie-banner/test/fixtures.js +22 -0
  630. package/lib/molecule/cookie-banner/test/fixtures.js.map +1 -0
  631. package/lib/molecule/coorp-manager-roles/test/fixtures.js +22 -0
  632. package/lib/molecule/coorp-manager-roles/test/fixtures.js.map +1 -0
  633. package/lib/molecule/dashboard/battle-request-list/test/fixtures.js +25 -0
  634. package/lib/molecule/dashboard/battle-request-list/test/fixtures.js.map +1 -0
  635. package/lib/molecule/dashboard/cards-list/test/fixtures.js +37 -0
  636. package/lib/molecule/dashboard/cards-list/test/fixtures.js.map +1 -0
  637. package/lib/molecule/dashboard/news-list/test/fixtures.js +28 -0
  638. package/lib/molecule/dashboard/news-list/test/fixtures.js.map +1 -0
  639. package/lib/molecule/dashboard/start-battle/test/fixtures.js +25 -0
  640. package/lib/molecule/dashboard/start-battle/test/fixtures.js.map +1 -0
  641. package/lib/molecule/discipline-cta/test/fixtures.js +25 -0
  642. package/lib/molecule/discipline-cta/test/fixtures.js.map +1 -0
  643. package/lib/molecule/discipline-header/test/fixtures.js +43 -0
  644. package/lib/molecule/discipline-header/test/fixtures.js.map +1 -0
  645. package/lib/molecule/discipline-partners/test/fixtures.js +34 -0
  646. package/lib/molecule/discipline-partners/test/fixtures.js.map +1 -0
  647. package/lib/molecule/discipline-scope/test/fixtures.js +43 -0
  648. package/lib/molecule/discipline-scope/test/fixtures.js.map +1 -0
  649. package/lib/molecule/drag-and-drop/test/fixtures.js +40 -0
  650. package/lib/molecule/drag-and-drop/test/fixtures.js.map +1 -0
  651. package/lib/molecule/external-content-button/test/fixtures.js +31 -0
  652. package/lib/molecule/external-content-button/test/fixtures.js.map +1 -0
  653. package/lib/molecule/external-content-viewer/test/fixtures.js +43 -0
  654. package/lib/molecule/external-content-viewer/test/fixtures.js.map +1 -0
  655. package/lib/molecule/feedback/test/fixtures.js +43 -0
  656. package/lib/molecule/feedback/test/fixtures.js.map +1 -0
  657. package/lib/molecule/filters/test/fixtures.js +52 -0
  658. package/lib/molecule/filters/test/fixtures.js.map +1 -0
  659. package/lib/molecule/forum/forum-comment/test/fixtures.js +28 -0
  660. package/lib/molecule/forum/forum-comment/test/fixtures.js.map +1 -0
  661. package/lib/molecule/forum/forum-post/test/fixtures.js +49 -0
  662. package/lib/molecule/forum/forum-post/test/fixtures.js.map +1 -0
  663. package/lib/molecule/forum/forum-thread/test/fixtures.js +28 -0
  664. package/lib/molecule/forum/forum-thread/test/fixtures.js.map +1 -0
  665. package/lib/molecule/hero/test/fixtures.js +25 -0
  666. package/lib/molecule/hero/test/fixtures.js.map +1 -0
  667. package/lib/molecule/login-alert/test/fixtures.js +22 -0
  668. package/lib/molecule/login-alert/test/fixtures.js.map +1 -0
  669. package/lib/molecule/menu-list/test/fixtures.js +22 -0
  670. package/lib/molecule/menu-list/test/fixtures.js.map +1 -0
  671. package/lib/molecule/message-popin/test/fixtures.js +22 -0
  672. package/lib/molecule/message-popin/test/fixtures.js.map +1 -0
  673. package/lib/molecule/modal/test/fixtures.js +22 -0
  674. package/lib/molecule/modal/test/fixtures.js.map +1 -0
  675. package/lib/molecule/module-bubble/test/fixtures.js +28 -0
  676. package/lib/molecule/module-bubble/test/fixtures.js.map +1 -0
  677. package/lib/molecule/module-card/test/fixtures.js +28 -0
  678. package/lib/molecule/module-card/test/fixtures.js.map +1 -0
  679. package/lib/molecule/news/test/fixtures.js +37 -0
  680. package/lib/molecule/news/test/fixtures.js.map +1 -0
  681. package/lib/molecule/notification-banner/test/fixtures.js +28 -0
  682. package/lib/molecule/notification-banner/test/fixtures.js.map +1 -0
  683. package/lib/molecule/pagination/test/fixtures.js +25 -0
  684. package/lib/molecule/pagination/test/fixtures.js.map +1 -0
  685. package/lib/molecule/payment-form/test/fixtures.js +28 -0
  686. package/lib/molecule/payment-form/test/fixtures.js.map +1 -0
  687. package/lib/molecule/pdf/test/fixtures.js +22 -0
  688. package/lib/molecule/pdf/test/fixtures.js.map +1 -0
  689. package/lib/molecule/popin/test/fixtures.js +34 -0
  690. package/lib/molecule/popin/test/fixtures.js.map +1 -0
  691. package/lib/molecule/product-card/test/fixtures.js +22 -0
  692. package/lib/molecule/product-card/test/fixtures.js.map +1 -0
  693. package/lib/molecule/progress-bar/test/fixtures.js +25 -0
  694. package/lib/molecule/progress-bar/test/fixtures.js.map +1 -0
  695. package/lib/molecule/questions/drop-down/test/fixtures.js +25 -0
  696. package/lib/molecule/questions/drop-down/test/fixtures.js.map +1 -0
  697. package/lib/molecule/questions/free-text/test/fixtures.js +25 -0
  698. package/lib/molecule/questions/free-text/test/fixtures.js.map +1 -0
  699. package/lib/molecule/questions/qcm/test/fixtures.js +31 -0
  700. package/lib/molecule/questions/qcm/test/fixtures.js.map +1 -0
  701. package/lib/molecule/questions/qcm-drag/test/fixtures.js +25 -0
  702. package/lib/molecule/questions/qcm-drag/test/fixtures.js.map +1 -0
  703. package/lib/molecule/questions/qcm-graphic/test/fixtures.js +25 -0
  704. package/lib/molecule/questions/qcm-graphic/test/fixtures.js.map +1 -0
  705. package/lib/molecule/questions/question-range/test/fixtures.js +22 -0
  706. package/lib/molecule/questions/question-range/test/fixtures.js.map +1 -0
  707. package/lib/molecule/questions/template/test/fixtures.js +25 -0
  708. package/lib/molecule/questions/template/test/fixtures.js.map +1 -0
  709. package/lib/molecule/quick-access-card/test/fixtures.js +34 -0
  710. package/lib/molecule/quick-access-card/test/fixtures.js.map +1 -0
  711. package/lib/molecule/quick-access-cards-group/test/fixtures.js +34 -0
  712. package/lib/molecule/quick-access-cards-group/test/fixtures.js.map +1 -0
  713. package/lib/molecule/resource-player/test/fixtures.js +40 -0
  714. package/lib/molecule/resource-player/test/fixtures.js.map +1 -0
  715. package/lib/molecule/scope-content/test/fixtures.js +43 -0
  716. package/lib/molecule/scope-content/test/fixtures.js.map +1 -0
  717. package/lib/molecule/scope-tabs/test/fixtures.js +28 -0
  718. package/lib/molecule/scope-tabs/test/fixtures.js.map +1 -0
  719. package/lib/molecule/search/test/fixtures.js +25 -0
  720. package/lib/molecule/search/test/fixtures.js.map +1 -0
  721. package/lib/molecule/search-form/index.js +7 -3
  722. package/lib/molecule/search-form/index.js.map +1 -1
  723. package/lib/molecule/search-form/test/fixtures.js +22 -0
  724. package/lib/molecule/search-form/test/fixtures.js.map +1 -0
  725. package/lib/molecule/select-multiple/index.js +26 -20
  726. package/lib/molecule/select-multiple/index.js.map +1 -1
  727. package/lib/molecule/select-multiple/style.css +2 -1
  728. package/lib/molecule/select-multiple/test/fixtures/checked-cockpit-theme.js +1 -2
  729. package/lib/molecule/select-multiple/test/fixtures/checked-cockpit-theme.js.map +1 -1
  730. package/lib/molecule/select-multiple/test/fixtures/setup-theme.js +7 -3
  731. package/lib/molecule/select-multiple/test/fixtures/setup-theme.js.map +1 -1
  732. package/lib/molecule/select-multiple/test/fixtures.js +37 -0
  733. package/lib/molecule/select-multiple/test/fixtures.js.map +1 -0
  734. package/lib/molecule/select-multiple/test/index.js +38 -23
  735. package/lib/molecule/select-multiple/test/index.js.map +1 -1
  736. package/lib/molecule/setup-cohort-item/test/fixtures.js +31 -0
  737. package/lib/molecule/setup-cohort-item/test/fixtures.js.map +1 -0
  738. package/lib/molecule/setup-section/test/fixtures.js +40 -0
  739. package/lib/molecule/setup-section/test/fixtures.js.map +1 -0
  740. package/lib/molecule/setup-sections/test/fixtures.js +31 -0
  741. package/lib/molecule/setup-sections/test/fixtures.js.map +1 -0
  742. package/lib/molecule/setup-slide/test/fixtures.js +37 -0
  743. package/lib/molecule/setup-slide/test/fixtures.js.map +1 -0
  744. package/lib/molecule/setup-slider/test/fixtures.js +25 -0
  745. package/lib/molecule/setup-slider/test/fixtures.js.map +1 -0
  746. package/lib/molecule/share/test/fixtures.js +22 -0
  747. package/lib/molecule/share/test/fixtures.js.map +1 -0
  748. package/lib/molecule/ssmenu-list/test/fixtures.js +31 -0
  749. package/lib/molecule/ssmenu-list/test/fixtures.js.map +1 -0
  750. package/lib/molecule/subscription-freemium/test/fixtures.js +22 -0
  751. package/lib/molecule/subscription-freemium/test/fixtures.js.map +1 -0
  752. package/lib/molecule/subscription-premium/test/fixtures.js +25 -0
  753. package/lib/molecule/subscription-premium/test/fixtures.js.map +1 -0
  754. package/lib/molecule/table/test/fixtures.js +31 -0
  755. package/lib/molecule/table/test/fixtures.js.map +1 -0
  756. package/lib/molecule/teams-popin/test/fixtures.js +46 -0
  757. package/lib/molecule/teams-popin/test/fixtures.js.map +1 -0
  758. package/lib/molecule/theme-image/test/fixtures.js +22 -0
  759. package/lib/molecule/theme-image/test/fixtures.js.map +1 -0
  760. package/lib/molecule/titled-checkbox/test/fixtures.js +28 -0
  761. package/lib/molecule/titled-checkbox/test/fixtures.js.map +1 -0
  762. package/lib/molecule/unsubscribe/test/fixtures.js +25 -0
  763. package/lib/molecule/unsubscribe/test/fixtures.js.map +1 -0
  764. package/lib/molecule/vertical-tabs/test/fixtures.js +25 -0
  765. package/lib/molecule/vertical-tabs/test/fixtures.js.map +1 -0
  766. package/lib/molecule/video-iframe/test/fixtures.js +40 -0
  767. package/lib/molecule/video-iframe/test/fixtures.js.map +1 -0
  768. package/lib/molecule/video-player/test/fixtures.js +46 -0
  769. package/lib/molecule/video-player/test/fixtures.js.map +1 -0
  770. package/lib/molecule/wizard-summary/index.js +1 -1
  771. package/lib/molecule/wizard-summary/index.js.map +1 -1
  772. package/lib/molecule/wizard-summary/test/fixtures/default.js +2 -2
  773. package/lib/molecule/wizard-summary/test/fixtures/default.js.map +1 -1
  774. package/lib/molecule/wizard-summary/test/fixtures.js +34 -0
  775. package/lib/molecule/wizard-summary/test/fixtures.js.map +1 -0
  776. package/lib/organism/accordion/container/test/fixtures.js +28 -0
  777. package/lib/organism/accordion/container/test/fixtures.js.map +1 -0
  778. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +28 -0
  779. package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +1 -0
  780. package/lib/organism/accordion/coorp-manager/test/fixtures.js +22 -0
  781. package/lib/organism/accordion/coorp-manager/test/fixtures.js.map +1 -0
  782. package/lib/organism/accordion/part/test/fixtures.js +25 -0
  783. package/lib/organism/accordion/part/test/fixtures.js.map +1 -0
  784. package/lib/organism/accordion/toggler/test/fixtures.js +28 -0
  785. package/lib/organism/accordion/toggler/test/fixtures.js.map +1 -0
  786. package/lib/organism/brand-analytics/test/fixtures.js +37 -0
  787. package/lib/organism/brand-analytics/test/fixtures.js.map +1 -0
  788. package/lib/organism/brand-dashboard/test/fixtures.js +25 -0
  789. package/lib/organism/brand-dashboard/test/fixtures.js.map +1 -0
  790. package/lib/organism/brand-form/test/fixtures.js +52 -0
  791. package/lib/organism/brand-form/test/fixtures.js.map +1 -0
  792. package/lib/organism/brand-table/test/fixtures.js +31 -0
  793. package/lib/organism/brand-table/test/fixtures.js.map +1 -0
  794. package/lib/organism/brand-upload/test/fixtures.js +25 -0
  795. package/lib/organism/brand-upload/test/fixtures.js.map +1 -0
  796. package/lib/organism/cards-grid/test/fixtures.js +31 -0
  797. package/lib/organism/cards-grid/test/fixtures.js.map +1 -0
  798. package/lib/organism/cart/test/fixtures.js +22 -0
  799. package/lib/organism/cart/test/fixtures.js.map +1 -0
  800. package/lib/organism/content-translation/index.js +22 -13
  801. package/lib/organism/content-translation/index.js.map +1 -1
  802. package/lib/organism/content-translation/test/fixtures/default.js +0 -5
  803. package/lib/organism/content-translation/test/fixtures/default.js.map +1 -1
  804. package/lib/organism/content-translation/test/fixtures/delete.js +1 -1
  805. package/lib/organism/content-translation/test/fixtures/delete.js.map +1 -1
  806. package/lib/organism/course-selection/test/fixtures.js +34 -0
  807. package/lib/organism/course-selection/test/fixtures.js.map +1 -0
  808. package/lib/organism/discussion/test/fixtures.js +31 -0
  809. package/lib/organism/discussion/test/fixtures.js.map +1 -0
  810. package/lib/organism/get-the-app/test/fixtures.js +22 -0
  811. package/lib/organism/get-the-app/test/fixtures.js.map +1 -0
  812. package/lib/organism/grid-list/test/fixtures.js +22 -0
  813. package/lib/organism/grid-list/test/fixtures.js.map +1 -0
  814. package/lib/organism/header/test/fixtures.js +22 -0
  815. package/lib/organism/header/test/fixtures.js.map +1 -0
  816. package/lib/organism/hero/test/fixtures.js +28 -0
  817. package/lib/organism/hero/test/fixtures.js.map +1 -0
  818. package/lib/organism/mooc/image-slider/test/fixtures.js +25 -0
  819. package/lib/organism/mooc/image-slider/test/fixtures.js.map +1 -0
  820. package/lib/organism/mooc-footer/index.js +35 -15
  821. package/lib/organism/mooc-footer/index.js.map +1 -1
  822. package/lib/organism/mooc-footer/test/fixtures/default.js +17 -7
  823. package/lib/organism/mooc-footer/test/fixtures/default.js.map +1 -1
  824. package/lib/organism/mooc-footer/test/fixtures.js +37 -0
  825. package/lib/organism/mooc-footer/test/fixtures.js.map +1 -0
  826. package/lib/organism/mooc-header/index.js +68 -24
  827. package/lib/organism/mooc-header/index.js.map +1 -1
  828. package/lib/organism/mooc-header/test/fixtures/default.js +12 -2
  829. package/lib/organism/mooc-header/test/fixtures/default.js.map +1 -1
  830. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +11 -5
  831. package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
  832. package/lib/organism/mooc-header/test/fixtures.js +49 -0
  833. package/lib/organism/mooc-header/test/fixtures.js.map +1 -0
  834. package/lib/organism/playlist-translation/test/fixtures.js +25 -0
  835. package/lib/organism/playlist-translation/test/fixtures.js.map +1 -0
  836. package/lib/organism/popin/test/fixtures.js +22 -0
  837. package/lib/organism/popin/test/fixtures.js.map +1 -0
  838. package/lib/organism/resource-browser/test/fixtures.js +58 -0
  839. package/lib/organism/resource-browser/test/fixtures.js.map +1 -0
  840. package/lib/organism/search-and-chips-results/test/fixtures.js +34 -0
  841. package/lib/organism/search-and-chips-results/test/fixtures.js.map +1 -0
  842. package/lib/organism/settings/test/fixtures.js +31 -0
  843. package/lib/organism/settings/test/fixtures.js.map +1 -0
  844. package/lib/organism/setup-header/test/fixtures.js +25 -0
  845. package/lib/organism/setup-header/test/fixtures.js.map +1 -0
  846. package/lib/organism/sidebar/test/fixtures.js +37 -0
  847. package/lib/organism/sidebar/test/fixtures.js.map +1 -0
  848. package/lib/organism/slider/test/fixtures.js +25 -0
  849. package/lib/organism/slider/test/fixtures.js.map +1 -0
  850. package/lib/organism/user-preferences/test/fixtures.js +22 -0
  851. package/lib/organism/user-preferences/test/fixtures.js.map +1 -0
  852. package/lib/organism/wizard-contents/index.js +21 -6
  853. package/lib/organism/wizard-contents/index.js.map +1 -1
  854. package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +2 -1
  855. package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
  856. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -0
  857. package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
  858. package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -0
  859. package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
  860. package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -0
  861. package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
  862. package/lib/template/activity/test/fixtures.js +34 -0
  863. package/lib/template/activity/test/fixtures.js.map +1 -0
  864. package/lib/template/app-player/loading/test/fixtures.js +22 -0
  865. package/lib/template/app-player/loading/test/fixtures.js.map +1 -0
  866. package/lib/template/app-player/player/slides/footer/test/fixtures.js +46 -0
  867. package/lib/template/app-player/player/slides/footer/test/fixtures.js.map +1 -0
  868. package/lib/template/app-player/player/slides/header/test/fixtures.js +37 -0
  869. package/lib/template/app-player/player/slides/header/test/fixtures.js.map +1 -0
  870. package/lib/template/app-player/player/slides/test/fixtures.js +121 -0
  871. package/lib/template/app-player/player/slides/test/fixtures.js.map +1 -0
  872. package/lib/template/app-player/player/test/fixtures.js +85 -0
  873. package/lib/template/app-player/player/test/fixtures.js.map +1 -0
  874. package/lib/template/app-player/popin-correction/test/fixtures.js +73 -0
  875. package/lib/template/app-player/popin-correction/test/fixtures.js.map +1 -0
  876. package/lib/template/app-player/popin-end/test/fixtures.js +76 -0
  877. package/lib/template/app-player/popin-end/test/fixtures.js.map +1 -0
  878. package/lib/template/app-player/popin-header/test/fixtures.js +46 -0
  879. package/lib/template/app-player/popin-header/test/fixtures.js.map +1 -0
  880. package/lib/template/back-office/brand-create/test/fixtures.js +31 -0
  881. package/lib/template/back-office/brand-create/test/fixtures.js.map +1 -0
  882. package/lib/template/back-office/brand-list/index.js +8 -2
  883. package/lib/template/back-office/brand-list/index.js.map +1 -1
  884. package/lib/template/back-office/brand-list/style.css +13 -0
  885. package/lib/template/back-office/brand-list/test/fixtures/default.js +15 -0
  886. package/lib/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  887. package/lib/template/back-office/brand-list/test/fixtures.js +28 -0
  888. package/lib/template/back-office/brand-list/test/fixtures.js.map +1 -0
  889. package/lib/template/back-office/brand-update/index.js +12 -1
  890. package/lib/template/back-office/brand-update/index.js.map +1 -1
  891. package/lib/template/back-office/brand-update/style.css +10 -0
  892. package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +81 -0
  893. package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -0
  894. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +35 -0
  895. package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -0
  896. package/lib/template/back-office/brand-update/test/fixtures.js +103 -0
  897. package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -0
  898. package/lib/template/back-office/dashboard-preview/test/fixtures.js +37 -0
  899. package/lib/template/back-office/dashboard-preview/test/fixtures.js.map +1 -0
  900. package/lib/template/battle-requests/test/fixtures.js +22 -0
  901. package/lib/template/battle-requests/test/fixtures.js.map +1 -0
  902. package/lib/template/cockpit/jw-uploader/test/fixtures.js +22 -0
  903. package/lib/template/cockpit/jw-uploader/test/fixtures.js.map +1 -0
  904. package/lib/template/common/authors/test/fixtures.js +25 -0
  905. package/lib/template/common/authors/test/fixtures.js.map +1 -0
  906. package/lib/template/common/coorp-header/test/fixtures.js +25 -0
  907. package/lib/template/common/coorp-header/test/fixtures.js.map +1 -0
  908. package/lib/template/common/dashboard/test/fixtures.js +28 -0
  909. package/lib/template/common/dashboard/test/fixtures.js.map +1 -0
  910. package/lib/template/common/discipline/test/fixtures.js +73 -0
  911. package/lib/template/common/discipline/test/fixtures.js.map +1 -0
  912. package/lib/template/common/search-page/test/fixtures.js +28 -0
  913. package/lib/template/common/search-page/test/fixtures.js.map +1 -0
  914. package/lib/template/external-course/test/fixtures.js +49 -0
  915. package/lib/template/external-course/test/fixtures.js.map +1 -0
  916. package/lib/template/teams-dashboard/test/fixtures.js +28 -0
  917. package/lib/template/teams-dashboard/test/fixtures.js.map +1 -0
  918. package/lib/util/button-icons.js +1 -0
  919. package/lib/util/button-icons.js.map +1 -1
  920. package/lib/variables/colors.css +1 -0
  921. package/locales/hr/global.json +80 -0
  922. package/package.json +2 -2
@@ -30,6 +30,13 @@
30
30
  border-radius: 2px;
31
31
  }
32
32
 
33
+ .filterBar {
34
+ width: 400px;
35
+ margin: auto;
36
+ padding-bottom: 20px;
37
+ }
38
+
39
+
33
40
  @media desktop {
34
41
  .wrapper {
35
42
  width: 960px;
@@ -50,6 +57,12 @@
50
57
  margin: 0 30px;
51
58
  box-sizing: content-box;
52
59
  }
60
+
61
+ .filterBar {
62
+ width: auto;
63
+ margin: 0 30px;
64
+ box-sizing: content-box;
65
+ }
53
66
  }
54
67
 
55
68
  @media mobile {
@@ -16,6 +16,21 @@ export default {
16
16
  placeholder: 'Search brand',
17
17
  onChange: () => {}
18
18
  },
19
+ filter: {
20
+ list: [{
21
+ name: 'customer',
22
+ value: 'customer',
23
+ checked: false,
24
+ label: 'Customer platforms'
25
+ }, {
26
+ name: 'team',
27
+ value: 'team',
28
+ checked: true,
29
+ label: 'Team platforms'
30
+ }],
31
+ theme: 'coorpmanager',
32
+ onChange: value => console.log(value)
33
+ },
19
34
  create: {
20
35
  edit: 'Create a new platform',
21
36
  editHref: '#'
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/template/back-office/brand-list/test/fixtures/default.js"],"names":["BrandCard","Header","props","header","isHome","brands","search","value","placeholder","onChange","create","edit","editHref"],"mappings":";;AAAA,OAAOA,SAAP,MAAsB,0DAAtB;AACA,OAAOC,MAAP,MAAmB,4DAAnB;AAEA,MAAM;AAACC,EAAAA;AAAD,IAAUF,SAAhB;AAEA,eAAe;AACbE,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,wBAAMF,MAAM,CAACC,KAAb;AAAoBE,MAAAA,MAAM,EAAE;AAA5B,MADD;AAELC,IAAAA,MAAM,EAAE,CAACH,KAAD,EAAQA,KAAR,EAAeA,KAAf,EAAsBA,KAAtB,EAA6BA,KAA7B,CAFH;AAGLI,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,EADD;AAENC,MAAAA,WAAW,EAAE,cAFP;AAGNC,MAAAA,QAAQ,EAAE,MAAM,CAAE;AAHZ,KAHH;AAQLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,IAAI,EAAE,uBADA;AAENC,MAAAA,QAAQ,EAAE;AAFJ;AARH;AADM,CAAf","sourcesContent":["import BrandCard from '../../../../../molecule/brand-card/test/fixtures/default';\nimport Header from '../../../../../organism/setup-header/test/fixtures/default';\n\nconst {props} = BrandCard;\n\nexport default {\n props: {\n header: {...Header.props, isHome: true},\n brands: [props, props, props, props, props],\n search: {\n value: '',\n placeholder: 'Search brand',\n onChange: () => {}\n },\n create: {\n edit: 'Create a new platform',\n editHref: '#'\n }\n }\n};\n"],"file":"default.js"}
1
+ {"version":3,"sources":["../../../../../../src/template/back-office/brand-list/test/fixtures/default.js"],"names":["BrandCard","Header","props","header","isHome","brands","search","value","placeholder","onChange","filter","list","name","checked","label","theme","console","log","create","edit","editHref"],"mappings":";;AAAA,OAAOA,SAAP,MAAsB,0DAAtB;AACA,OAAOC,MAAP,MAAmB,4DAAnB;AAEA,MAAM;AAACC,EAAAA;AAAD,IAAUF,SAAhB;AAEA,eAAe;AACbE,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,wBAAMF,MAAM,CAACC,KAAb;AAAoBE,MAAAA,MAAM,EAAE;AAA5B,MADD;AAELC,IAAAA,MAAM,EAAE,CAACH,KAAD,EAAQA,KAAR,EAAeA,KAAf,EAAsBA,KAAtB,EAA6BA,KAA7B,CAFH;AAGLI,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,EADD;AAENC,MAAAA,WAAW,EAAE,cAFP;AAGNC,MAAAA,QAAQ,EAAE,MAAM,CAAE;AAHZ,KAHH;AAQLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,IAAI,EAAE,CACJ;AACEC,QAAAA,IAAI,EAAE,UADR;AAEEL,QAAAA,KAAK,EAAE,UAFT;AAGEM,QAAAA,OAAO,EAAE,KAHX;AAIEC,QAAAA,KAAK,EAAE;AAJT,OADI,EAOJ;AACEF,QAAAA,IAAI,EAAE,MADR;AAEEL,QAAAA,KAAK,EAAE,MAFT;AAGEM,QAAAA,OAAO,EAAE,IAHX;AAIEC,QAAAA,KAAK,EAAE;AAJT,OAPI,CADA;AAeNC,MAAAA,KAAK,EAAE,cAfD;AAgBNN,MAAAA,QAAQ,EAAEF,KAAK,IAAIS,OAAO,CAACC,GAAR,CAAYV,KAAZ;AAhBb,KARH;AA0BLW,IAAAA,MAAM,EAAE;AACNC,MAAAA,IAAI,EAAE,uBADA;AAENC,MAAAA,QAAQ,EAAE;AAFJ;AA1BH;AADM,CAAf","sourcesContent":["import BrandCard from '../../../../../molecule/brand-card/test/fixtures/default';\nimport Header from '../../../../../organism/setup-header/test/fixtures/default';\n\nconst {props} = BrandCard;\n\nexport default {\n props: {\n header: {...Header.props, isHome: true},\n brands: [props, props, props, props, props],\n search: {\n value: '',\n placeholder: 'Search brand',\n onChange: () => {}\n },\n filter: {\n list: [\n {\n name: 'customer',\n value: 'customer',\n checked: false,\n label: 'Customer platforms'\n },\n {\n name: 'team',\n value: 'team',\n checked: true,\n label: 'Team platforms'\n }\n ],\n theme: 'coorpmanager',\n onChange: value => console.log(value)\n },\n create: {\n edit: 'Create a new platform',\n editHref: '#'\n }\n }\n};\n"],"file":"default.js"}
@@ -0,0 +1,17 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../../test/helpers/render-component';
4
+ import TemplateBackOfficeBrandList from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ import fixtureLoading from './fixtures/loading';
7
+ import fixtureRh from './fixtures/rh';
8
+ test('TemplateBackOffice › TemplateBackOfficeBrandList > should have valid propTypes', t => {
9
+ t.pass();
10
+ forEach(TemplateBackOfficeBrandList.propTypes, (value, key) => {
11
+ t.not(value, undefined, `PropType for "TemplateBackOffice.TemplateBackOfficeBrandList.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
12
+ });
13
+ });
14
+ test('TemplateBackOffice › TemplateBackOfficeBrandList › Default › should be rendered', renderComponentMacro, TemplateBackOfficeBrandList, fixtureDefault);
15
+ test('TemplateBackOffice › TemplateBackOfficeBrandList › Loading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandList, fixtureLoading);
16
+ test('TemplateBackOffice › TemplateBackOfficeBrandList › Rh › should be rendered', renderComponentMacro, TemplateBackOfficeBrandList, fixtureRh);
17
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/template/back-office/brand-list/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateBackOfficeBrandList","fixtureDefault","fixtureLoading","fixtureRh","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,2BAAP,MAAwC,IAAxC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,SAAP,MAAsB,eAAtB;AAEAN,IAAI,CAAC,gFAAD,EAAmFO,CAAC,IAAI;AAC1FA,EAAAA,CAAC,CAACC,IAAF;AACAP,EAAAA,OAAO,CAACE,2BAA2B,CAACM,SAA7B,EAAwC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC7DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,0EAAyEF,GAAI,mEAAtG;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAX,IAAI,CAAC,iFAAD,EAAoFE,oBAApF,EAA0GC,2BAA1G,EAAuIC,cAAvI,CAAJ;AACAJ,IAAI,CAAC,iFAAD,EAAoFE,oBAApF,EAA0GC,2BAA1G,EAAuIE,cAAvI,CAAJ;AACAL,IAAI,CAAC,4EAAD,EAA+EE,oBAA/E,EAAqGC,2BAArG,EAAkIG,SAAlI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateBackOfficeBrandList from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureRh from './fixtures/rh';\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandList > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateBackOfficeBrandList.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateBackOffice.TemplateBackOfficeBrandList.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandList › Default › should be rendered', renderComponentMacro, TemplateBackOfficeBrandList, fixtureDefault);\ntest('TemplateBackOffice › TemplateBackOfficeBrandList › Loading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandList, fixtureLoading);\ntest('TemplateBackOffice › TemplateBackOfficeBrandList › Rh › should be rendered', renderComponentMacro, TemplateBackOfficeBrandList, fixtureRh);\n"],"file":"fixtures.js"}
@@ -21,6 +21,7 @@ import Banner from '../../../molecule/banner';
21
21
  import Header from '../../../organism/setup-header';
22
22
  import Loader from '../../../atom/loader';
23
23
  import Accordion from '../../../organism/accordion/coorp-manager';
24
+ import CmPopin from '../../../molecule/cm-popin';
24
25
  import style from './style.css';
25
26
 
26
27
  const getStyle = isSelected => isSelected ? style.selectedElement : style.unselectedElement;
@@ -96,6 +97,12 @@ const buildHeader = header => {
96
97
  }, /*#__PURE__*/React.createElement(Header, header));
97
98
  };
98
99
 
100
+ const buildPopin = popin => {
101
+ return popin ? /*#__PURE__*/React.createElement("div", {
102
+ className: style.popin
103
+ }, /*#__PURE__*/React.createElement(CmPopin, popin)) : null;
104
+ };
105
+
99
106
  const buildTabs = items => {
100
107
  const selectedTab = pipe(find(e => e.selected), get('tabs'), find(e => e.selected))(items);
101
108
  const showTabs = selectedTab && !isEmpty(selectedTab.subTabs);
@@ -153,6 +160,7 @@ const BrandUpdate = props => {
153
160
  items,
154
161
  content,
155
162
  details,
163
+ popin,
156
164
  onItemClick
157
165
  } = props;
158
166
  const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';
@@ -162,6 +170,7 @@ const BrandUpdate = props => {
162
170
  const tabsView = buildTabs(items);
163
171
  const contentView = buildContentView(content);
164
172
  const detailsView = buildDetailsView(details);
173
+ const popinView = buildPopin(popin);
165
174
  const contentStyle = classNames([style.content, !isEmpty(notifications) && style.contentWithNotifications]);
166
175
  return /*#__PURE__*/React.createElement("div", {
167
176
  className: style.container
@@ -173,7 +182,7 @@ const BrandUpdate = props => {
173
182
  className: style.headerSticky
174
183
  }, headerView), /*#__PURE__*/React.createElement("div", {
175
184
  className: contentStyle
176
- }, notificationsView, tabsView, contentView, detailsView)));
185
+ }, notificationsView, tabsView, contentView, detailsView)), popinView);
177
186
  };
178
187
 
179
188
  BrandUpdate.defaultProps = {
@@ -223,6 +232,7 @@ BrandUpdate.propTypes = process.env.NODE_ENV !== "production" ? {
223
232
  key: PropTypes.string,
224
233
  type: PropTypes.oneOf(['list-content'])
225
234
  }))]),
235
+ popin: PropTypes.shape(_extends({}, CmPopin.propTypes)),
226
236
  details: PropTypes.shape(_extends(_extends({}, BrandTable.propTypes), {}, {
227
237
  key: PropTypes.string,
228
238
  type: PropTypes.oneOf(['list'])
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/template/back-office/brand-update/index.js"],"names":["React","PropTypes","map","pipe","get","isEmpty","find","classNames","BrandTabs","IconLinkItem","LinkItem","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","Banner","Header","Loader","Accordion","style","getStyle","isSelected","selectedElement","unselectedElement","subTabsView","_subTabs","convert","cap","subTab","_index","title","type","selected","buildLeftNavigation","logo","items","onItemClick","formattedTabs","key","href","index","children","iconType","formattedTabsViews","tab","tabs","navigation","buildNotifications","notifications","notificationsList","notification","buildHeader","header","buildTabs","selectedTab","e","showTabs","subTabs","buildContentView","content","buildDetailsView","details","BrandUpdate","props","leftNavigation","notificationsView","headerView","tabsView","contentView","detailsView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","arrayOf","shape","string","isRequired","bool","oneOfType","oneOf","func"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,IAAP,MAAiB,gBAAjB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,OAAP,MAAoB,mBAApB;AACA,OAAOC,IAAP,MAA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R,KAX2B,EAgB3BtF,SAAS,CAACiF,KAAV,uBACKpE,cAAc,CAACkE,SADpB;AAEEvC,IAAAA,GAAG,EAAExC,SAAS,CAACkF,MAFjB;AAGEjD,IAAAA,IAAI,EAAEjC,SAAS,CAACsF,KAAV,CAAgB,CAAC,sBAAD,CAAhB;AAHR,KAhB2B,EAqB3BtF,SAAS,CAACiF,KAAV,uBACKnE,cAAc,CAACiE,SADpB;AAEEvC,IAAAA,GAAG,EAAExC,SAAS,CAACkF,MAFjB;AAGEjD,IAAAA,IAAI,EAAEjC,SAAS,CAACsF,KAAV,CAAgB,CAAC,MAAD,CAAhB;AAHR,KArB2B,EA0B3BtF,SAAS,CAACiF,KAAV,uBACKlE,cAAc,CAACgE,SADpB;AAEEvC,IAAAA,GAAG,EAAExC,SAAS,CAACkF,MAFjB;AAGEjD,IAAAA,IAAI,EAAEjC,SAAS,CAACsF,KAAV,CAAgB,CAAC,QAAD,CAAhB;AAHR,KA1B2B,EA+B3BtF,SAAS,CAACiF,KAAV,uBACKjE,SAAS,CAAC+D,SADf;AAEEvC,IAAAA,GAAG,EAAExC,SAAS,CAACkF,MAFjB;AAGEjD,IAAAA,IAAI,EAAEjC,SAAS,CAACsF,KAAV,CAAgB,CAAC,cAAD,CAAhB;AAHR,KA/B2B,CAApB,CAhCa;AAqEtBvB,EAAAA,OAAO,EAAE/D,SAAS,CAACiF,KAAV,uBACJtE,UAAU,CAACoE,SADP;AAEPvC,IAAAA,GAAG,EAAExC,SAAS,CAACkF,MAFR;AAGPjD,IAAAA,IAAI,EAAEjC,SAAS,CAACsF,KAAV,CAAgB,CAAC,MAAD,CAAhB;AAHC,KArEa;AA0EtBhD,EAAAA,WAAW,EAAEtC,SAAS,CAACuF;AA1ED,CAAxB;AA6EA,eAAevB,WAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport pipe from 'lodash/fp/pipe';\nimport get from 'lodash/fp/get';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\nimport classNames from 'classnames';\nimport BrandTabs from '../../../molecule/brand-tabs';\nimport {IconLinkItem, LinkItem} from '../../../organism/sidebar';\nimport BrandForm from '../../../organism/brand-form';\nimport BrandTable from '../../../organism/brand-table';\nimport BrandUpload from '../../../organism/brand-upload';\nimport BrandAnalytics from '../../../organism/brand-analytics';\nimport BrandDashboard from '../../../organism/brand-dashboard';\nimport WizardContents from '../../../organism/wizard-contents';\nimport ListItems from '../../../organism/list-items';\nimport Banner from '../../../molecule/banner';\nimport Header from '../../../organism/setup-header';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport style from './style.css';\n\nconst getStyle = isSelected => (isSelected ? style.selectedElement : style.unselectedElement);\n\nconst subTabsView = (_subTabs = []) =>\n map.convert({cap: false})((subTab, _index) => (\n <div key={subTab.title}>\n {subTab.type === 'iconLink' ? (\n <IconLinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n target={'_blank'}\n />\n ) : (\n <LinkItem {...subTab} styles={getStyle(subTab.selected)} uppercase={false} />\n )}\n </div>\n ))(_subTabs);\n\n// TODO: this fonction should be replaced by a molecule to avoid this file to be unreadable\nconst buildLeftNavigation = (logo, items, onItemClick) => {\n const formattedTabs = items.map(({key, title, href, selected, type = 'simpleTab'}, index) => ({\n title,\n selected,\n type,\n href,\n index,\n children: [],\n iconType: key || 'arrow'\n }));\n\n const formattedTabsViews = map(tab => (\n <div key={tab.title} className={style.subTabsView}>\n {subTabsView(tab.tabs)}\n </div>\n ))(items);\n\n return (\n <div className={style.navigation}>\n <div className={style.logo}>\n <a href=\"/\">\n <img src={logo} />\n </a>\n </div>\n <Accordion tabProps={formattedTabs} theme={'setup'} onClick={onItemClick}>\n {formattedTabsViews}\n </Accordion>\n </div>\n );\n};\n\nconst buildNotifications = notifications => {\n if (isEmpty(notifications)) {\n return null;\n }\n\n const notificationsList = notifications.map((notification, index) => {\n return (\n <div className={style.notification} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return <div className={style.notifications}>{notificationsList}</div>;\n};\n\nconst buildHeader = header => {\n return (\n <div className={style.header}>\n <Header {...header} />\n </div>\n );\n};\n\nconst buildTabs = items => {\n const selectedTab = pipe(\n find(e => e.selected),\n get('tabs'),\n find(e => e.selected)\n )(items);\n\n const showTabs = selectedTab && !isEmpty(selectedTab.subTabs);\n if (!showTabs) return null;\n return (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={selectedTab.subTabs} />\n </div>\n );\n};\n\nconst buildContentView = content => {\n if (!content) {\n return (\n <div>\n <Loader />\n </div>\n );\n }\n\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'list':\n return <BrandTable {...content} />;\n case 'upload':\n return <BrandUpload {...content} />;\n case 'analytics-dashboards':\n return <BrandAnalytics {...content} />;\n case 'list-content':\n return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n return <WizardContents {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst BrandUpdate = props => {\n const {notifications, header, items, content, details, onItemClick} = props;\n const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';\n\n const leftNavigation = buildLeftNavigation(logo, items, onItemClick);\n const notificationsView = buildNotifications(notifications);\n const headerView = buildHeader(header, notifications);\n const tabsView = buildTabs(items);\n const contentView = buildContentView(content);\n const detailsView = buildDetailsView(details);\n\n const contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications\n ]);\n\n return (\n <div className={style.container}>\n <div className={style.left}>{leftNavigation}</div>\n <div className={style.contentWrapper}>\n <div className={style.headerSticky}>{headerView}</div>\n <div className={contentStyle}>\n {notificationsView}\n {tabsView}\n {contentView}\n {detailsView}\n </div>\n </div>\n </div>\n );\n};\n\nBrandUpdate.defaultProps = {\n notifications: []\n};\n\nBrandUpdate.propTypes = {\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n ...Banner.propTypes\n })\n ),\n header: PropTypes.shape({...Header.propTypes}),\n items: PropTypes.arrayOf(\n PropTypes.shape({\n key: PropTypes.string,\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n tabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n subTabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string\n })\n )\n })\n )\n })\n ).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n PropTypes.shape({\n ...BrandUpload.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['upload'])\n }),\n PropTypes.shape({\n ...BrandAnalytics.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['analytics-dashboards'])\n }),\n PropTypes.shape({\n ...BrandDashboard.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['home'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['wizard'])\n }),\n PropTypes.shape({\n ...ListItems.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list-content'])\n })\n ]),\n details: PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n onItemClick: PropTypes.func\n};\n\nexport default BrandUpdate;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/template/back-office/brand-update/index.js"],"names":["React","PropTypes","map","pipe","get","isEmpty","find","classNames","BrandTabs","IconLinkItem","LinkItem","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","Banner","Header","Loader","Accordion","CmPopin","style","getStyle","isSelected","selectedElement","unselectedElement","subTabsView","_subTabs","convert","cap","subTab","_index","title","type","selected","buildLeftNavigation","logo","items","onItemClick","formattedTabs","key","href","index","children","iconType","formattedTabsViews","tab","tabs","navigation","buildNotifications","notifications","notificationsList","notification","buildHeader","header","buildPopin","popin","buildTabs","selectedTab","e","showTabs","subTabs","buildContentView","content","buildDetailsView","details","BrandUpdate","props","leftNavigation","notificationsView","headerView","tabsView","contentView","detailsView","popinView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","arrayOf","shape","string","isRequired","bool","oneOfType","oneOf","func"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,IAAP,MAAiB,gBAAjB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,OAAP,MAAoB,mBAApB;AACA,OAAOC,IAAP,MAAiB,gBAAjB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,SAAQC,YAAR,EAAsBC,QAAtB,QAAqC,2BAArC;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,UAAP,MAAuB,+BAAvB;AACA,OAAOC,WAAP,MAAwB,gCAAxB;AACA,OAAOC,cAAP,MAA2B,mCAA3B;AACA,OAAOC,cAAP,MAA2B,mCAA3B;AACA,OAAOC,cAAP,MAA2B,mCAA3B;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,MAAP,MAAmB,0BAAnB;AACA,OAAOC,MAAP,MAAmB,gCAAnB;AACA,OAAOC,MAAP,MAAmB,sBAAnB;AACA,OAAOC,SAAP,MAAsB,2CAAtB;AACA,OAAOC,OAAP,MAAoB,4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B2B,EAqB3B1F,SAAS,CAACqF,KAAV,uBACKvE,cAAc,CAACqE,SADpB;AAEE1C,IAAAA,GAAG,EAAEzC,SAAS,CAACsF,MAFjB;AAGEpD,IAAAA,IAAI,EAAElC,SAAS,CAAC0F,KAAV,CAAgB,CAAC,MAAD,CAAhB;AAHR,KArB2B,EA0B3B1F,SAAS,CAACqF,KAAV,uBACKtE,cAAc,CAACoE,SADpB;AAEE1C,IAAAA,GAAG,EAAEzC,SAAS,CAACsF,MAFjB;AAGEpD,IAAAA,IAAI,EAAElC,SAAS,CAAC0F,KAAV,CAAgB,CAAC,QAAD,CAAhB;AAHR,KA1B2B,EA+B3B1F,SAAS,CAACqF,KAAV,uBACKrE,SAAS,CAACmE,SADf;AAEE1C,IAAAA,GAAG,EAAEzC,SAAS,CAACsF,MAFjB;AAGEpD,IAAAA,IAAI,EAAElC,SAAS,CAAC0F,KAAV,CAAgB,CAAC,cAAD,CAAhB;AAHR,KA/B2B,CAApB,CAhCa;AAqEtBjC,EAAAA,KAAK,EAAEzD,SAAS,CAACqF,KAAV,cAAoBhE,OAAO,CAAC8D,SAA5B,EArEe;AAsEtBjB,EAAAA,OAAO,EAAElE,SAAS,CAACqF,KAAV,uBACJ1E,UAAU,CAACwE,SADP;AAEP1C,IAAAA,GAAG,EAAEzC,SAAS,CAACsF,MAFR;AAGPpD,IAAAA,IAAI,EAAElC,SAAS,CAAC0F,KAAV,CAAgB,CAAC,MAAD,CAAhB;AAHC,KAtEa;AA2EtBnD,EAAAA,WAAW,EAAEvC,SAAS,CAAC2F;AA3ED,CAAxB;AA8EA,eAAexB,WAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport map from 'lodash/fp/map';\nimport pipe from 'lodash/fp/pipe';\nimport get from 'lodash/fp/get';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport find from 'lodash/fp/find';\nimport classNames from 'classnames';\nimport BrandTabs from '../../../molecule/brand-tabs';\nimport {IconLinkItem, LinkItem} from '../../../organism/sidebar';\nimport BrandForm from '../../../organism/brand-form';\nimport BrandTable from '../../../organism/brand-table';\nimport BrandUpload from '../../../organism/brand-upload';\nimport BrandAnalytics from '../../../organism/brand-analytics';\nimport BrandDashboard from '../../../organism/brand-dashboard';\nimport WizardContents from '../../../organism/wizard-contents';\nimport ListItems from '../../../organism/list-items';\nimport Banner from '../../../molecule/banner';\nimport Header from '../../../organism/setup-header';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport style from './style.css';\n\nconst getStyle = isSelected => (isSelected ? style.selectedElement : style.unselectedElement);\n\nconst subTabsView = (_subTabs = []) =>\n map.convert({cap: false})((subTab, _index) => (\n <div key={subTab.title}>\n {subTab.type === 'iconLink' ? (\n <IconLinkItem\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n target={'_blank'}\n />\n ) : (\n <LinkItem {...subTab} styles={getStyle(subTab.selected)} uppercase={false} />\n )}\n </div>\n ))(_subTabs);\n\n// TODO: this fonction should be replaced by a molecule to avoid this file to be unreadable\nconst buildLeftNavigation = (logo, items, onItemClick) => {\n const formattedTabs = items.map(({key, title, href, selected, type = 'simpleTab'}, index) => ({\n title,\n selected,\n type,\n href,\n index,\n children: [],\n iconType: key || 'arrow'\n }));\n\n const formattedTabsViews = map(tab => (\n <div key={tab.title} className={style.subTabsView}>\n {subTabsView(tab.tabs)}\n </div>\n ))(items);\n\n return (\n <div className={style.navigation}>\n <div className={style.logo}>\n <a href=\"/\">\n <img src={logo} />\n </a>\n </div>\n <Accordion tabProps={formattedTabs} theme={'setup'} onClick={onItemClick}>\n {formattedTabsViews}\n </Accordion>\n </div>\n );\n};\n\nconst buildNotifications = notifications => {\n if (isEmpty(notifications)) {\n return null;\n }\n\n const notificationsList = notifications.map((notification, index) => {\n return (\n <div className={style.notification} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return <div className={style.notifications}>{notificationsList}</div>;\n};\n\nconst buildHeader = header => {\n return (\n <div className={style.header}>\n <Header {...header} />\n </div>\n );\n};\n\nconst buildPopin = popin => {\n return popin ? (\n <div className={style.popin}>\n <CmPopin {...popin} />\n </div>\n ) : null;\n};\n\nconst buildTabs = items => {\n const selectedTab = pipe(\n find(e => e.selected),\n get('tabs'),\n find(e => e.selected)\n )(items);\n\n const showTabs = selectedTab && !isEmpty(selectedTab.subTabs);\n if (!showTabs) return null;\n return (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={selectedTab.subTabs} />\n </div>\n );\n};\n\nconst buildContentView = content => {\n if (!content) {\n return (\n <div>\n <Loader />\n </div>\n );\n }\n\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'list':\n return <BrandTable {...content} />;\n case 'upload':\n return <BrandUpload {...content} />;\n case 'analytics-dashboards':\n return <BrandAnalytics {...content} />;\n case 'list-content':\n return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n return <WizardContents {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst BrandUpdate = props => {\n const {notifications, header, items, content, details, popin, onItemClick} = props;\n const logo = 'https://static.coorpacademy.com/logo/coorp-manager.svg';\n\n const leftNavigation = buildLeftNavigation(logo, items, onItemClick);\n const notificationsView = buildNotifications(notifications);\n const headerView = buildHeader(header, notifications);\n const tabsView = buildTabs(items);\n const contentView = buildContentView(content);\n const detailsView = buildDetailsView(details);\n const popinView = buildPopin(popin);\n\n const contentStyle = classNames([\n style.content,\n !isEmpty(notifications) && style.contentWithNotifications\n ]);\n\n return (\n <div className={style.container}>\n <div className={style.left}>{leftNavigation}</div>\n <div className={style.contentWrapper}>\n <div className={style.headerSticky}>{headerView}</div>\n <div className={contentStyle}>\n {notificationsView}\n {tabsView}\n {contentView}\n {detailsView}\n </div>\n </div>\n {popinView}\n </div>\n );\n};\n\nBrandUpdate.defaultProps = {\n notifications: []\n};\n\nBrandUpdate.propTypes = {\n notifications: PropTypes.arrayOf(\n PropTypes.shape({\n ...Banner.propTypes\n })\n ),\n header: PropTypes.shape({...Header.propTypes}),\n items: PropTypes.arrayOf(\n PropTypes.shape({\n key: PropTypes.string,\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n tabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string,\n subTabs: PropTypes.arrayOf(\n PropTypes.shape({\n title: PropTypes.string.isRequired,\n href: PropTypes.string.isRequired,\n selected: PropTypes.bool.isRequired,\n type: PropTypes.string\n })\n )\n })\n )\n })\n ).isRequired,\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n PropTypes.shape({\n ...BrandUpload.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['upload'])\n }),\n PropTypes.shape({\n ...BrandAnalytics.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['analytics-dashboards'])\n }),\n PropTypes.shape({\n ...BrandDashboard.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['home'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['wizard'])\n }),\n PropTypes.shape({\n ...ListItems.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list-content'])\n })\n ]),\n popin: PropTypes.shape({...CmPopin.propTypes}),\n details: PropTypes.shape({\n ...BrandTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['list'])\n }),\n onItemClick: PropTypes.func\n};\n\nexport default BrandUpdate;\n"],"file":"index.js"}
@@ -111,6 +111,16 @@
111
111
  margin: 32px 20px 54px 20px;
112
112
  }
113
113
 
114
+ .popin {
115
+ position: absolute;
116
+ top: 0;
117
+ left: 0;
118
+ right: 0;
119
+ bottom: 0;
120
+ z-index: 999;
121
+ pointer-events: fill;
122
+ }
123
+
114
124
  @media desktop, tablet {
115
125
  .container {
116
126
  scroll-behavior: unset;
@@ -0,0 +1,71 @@
1
+ import _cloneDeep from "lodash/fp/cloneDeep";
2
+ import _defaultsDeep from "lodash/fp/defaultsDeep";
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); }
5
+
6
+ import listItems from '../../../../../organism/list-items/test/fixtures/published';
7
+ import cmPopin from '../../../../../molecule/cm-popin/test/fixtures/default';
8
+ import Default from './default';
9
+
10
+ const props = _cloneDeep(Default.props);
11
+
12
+ const listItemsProps = listItems.props;
13
+ const popinProps = cmPopin.props;
14
+ props.items[0].selected = false;
15
+ props.items[2].selected = true;
16
+ props.items[2].tabs = [{
17
+ title: 'Look & feel',
18
+ href: '/brands/7steps/admin/look-and-feel',
19
+ name: 'brand_tab_admin_look_and_feel',
20
+ selected: false,
21
+ type: 'simpleTab'
22
+ }, {
23
+ title: 'Content',
24
+ href: '/brands/7steps/admin/content',
25
+ name: 'brand_tab_admin_user',
26
+ selected: false,
27
+ type: 'simpleTab'
28
+ }, {
29
+ title: 'Dashboard',
30
+ href: '/brands/7steps/admin/user/dashboard',
31
+ name: 'brand_tab_admin_user',
32
+ selected: false,
33
+ type: 'simpleTab'
34
+ }, {
35
+ title: 'Custom Playlists',
36
+ href: '/brands/7steps/admin/custom-playlist/published',
37
+ name: 'brand_tab_admin_custom_playlist',
38
+ selected: true,
39
+ type: 'simpleTab',
40
+ subTabs: [{
41
+ title: 'Published',
42
+ href: '/brands/7steps/admin/custom-playlist/published',
43
+ name: 'published',
44
+ permissions: ['published'],
45
+ selected: true,
46
+ type: 'simpleTab'
47
+ }, {
48
+ title: 'Drafts',
49
+ href: '/brands/7steps/admin/custom-playlist/drafts',
50
+ name: 'drafts',
51
+ permissions: ['drafts'],
52
+ selected: false,
53
+ type: 'simpleTab'
54
+ }, {
55
+ title: 'Archived',
56
+ href: '/brands/7steps/admin/custom-playlist/archived',
57
+ name: 'archived',
58
+ permissions: ['archived'],
59
+ selected: false,
60
+ type: 'simpleTab'
61
+ }]
62
+ }];
63
+ export default {
64
+ props: _defaultsDeep(props, {
65
+ content: _extends(_extends({}, listItemsProps), {}, {
66
+ type: 'list-content'
67
+ }),
68
+ popin: popinProps
69
+ })
70
+ };
71
+ //# sourceMappingURL=list-items-published-with-popin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../src/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js"],"names":["listItems","cmPopin","Default","props","listItemsProps","popinProps","items","selected","tabs","title","href","name","type","subTabs","permissions","content","popin"],"mappings":";;;;;AACA,OAAOA,SAAP,MAAsB,4DAAtB;AACA,OAAOC,OAAP,MAAoB,wDAApB;AACA,OAAOC,OAAP,MAAoB,WAApB;;AAEA,MAAMC,KAAK,GAAG,WAAUD,OAAO,CAACC,KAAlB,CAAd;;AACA,MAAMC,cAAc,GAAGJ,SAAS,CAACG,KAAjC;AACA,MAAME,UAAU,GAAGJ,OAAO,CAACE,KAA3B;AAEAA,KAAK,CAACG,KAAN,CAAY,CAAZ,EAAeC,QAAf,GAA0B,KAA1B;AACAJ,KAAK,CAACG,KAAN,CAAY,CAAZ,EAAeC,QAAf,GAA0B,IAA1B;AACAJ,KAAK,CAACG,KAAN,CAAY,CAAZ,EAAeE,IAAf,GAAsB,CACpB;AACEC,EAAAA,KAAK,EAAE,aADT;AAEEC,EAAAA,IAAI,EAAE,oCAFR;AAGEC,EAAAA,IAAI,EAAE,+BAHR;AAIEJ,EAAAA,QAAQ,EAAE,KAJZ;AAKEK,EAAAA,IAAI,EAAE;AALR,C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B;AAyDA,eAAe;AACbT,EAAAA,KAAK,EAAE,cAAaA,KAAb,EAAoB;AACzBY,IAAAA,OAAO,wBACFX,cADE;AAELQ,MAAAA,IAAI,EAAE;AAFD,MADkB;AAKzBI,IAAAA,KAAK,EAAEX;AALkB,GAApB;AADM,CAAf","sourcesContent":["import {defaultsDeep, cloneDeep} from 'lodash/fp';\nimport listItems from '../../../../../organism/list-items/test/fixtures/published';\nimport cmPopin from '../../../../../molecule/cm-popin/test/fixtures/default';\nimport Default from './default';\n\nconst props = cloneDeep(Default.props);\nconst listItemsProps = listItems.props;\nconst popinProps = cmPopin.props;\n\nprops.items[0].selected = false;\nprops.items[2].selected = true;\nprops.items[2].tabs = [\n {\n title: 'Look & feel',\n href: '/brands/7steps/admin/look-and-feel',\n name: 'brand_tab_admin_look_and_feel',\n selected: false,\n type: 'simpleTab'\n },\n {\n title: 'Content',\n href: '/brands/7steps/admin/content',\n name: 'brand_tab_admin_user',\n selected: false,\n type: 'simpleTab'\n },\n {\n title: 'Dashboard',\n href: '/brands/7steps/admin/user/dashboard',\n name: 'brand_tab_admin_user',\n selected: false,\n type: 'simpleTab'\n },\n {\n title: 'Custom Playlists',\n href: '/brands/7steps/admin/custom-playlist/published',\n name: 'brand_tab_admin_custom_playlist',\n selected: true,\n type: 'simpleTab',\n subTabs: [\n {\n title: 'Published',\n href: '/brands/7steps/admin/custom-playlist/published',\n name: 'published',\n permissions: ['published'],\n selected: true,\n type: 'simpleTab'\n },\n {\n title: 'Drafts',\n href: '/brands/7steps/admin/custom-playlist/drafts',\n name: 'drafts',\n permissions: ['drafts'],\n selected: false,\n type: 'simpleTab'\n },\n {\n title: 'Archived',\n href: '/brands/7steps/admin/custom-playlist/archived',\n name: 'archived',\n permissions: ['archived'],\n selected: false,\n type: 'simpleTab'\n }\n ]\n }\n];\n\nexport default {\n props: defaultsDeep(props, {\n content: {\n ...listItemsProps,\n type: 'list-content'\n },\n popin: popinProps\n })\n};\n"],"file":"list-items-published-with-popin.js"}
@@ -0,0 +1,24 @@
1
+ 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); }
2
+
3
+ import WizardForm from '../../../../../organism/wizard-contents/test/fixtures/playlist-populations-create';
4
+ import cmPopin from '../../../../../molecule/cm-popin/test/fixtures/default';
5
+ import headerAndMenu from './default';
6
+ const {
7
+ header,
8
+ items
9
+ } = headerAndMenu.props;
10
+ const form = WizardForm.props;
11
+ const popinProps = cmPopin.props;
12
+ export default {
13
+ props: {
14
+ header,
15
+ items,
16
+ notifications: [],
17
+ popin: popinProps,
18
+ content: _extends(_extends({}, form), {}, {
19
+ key: 'populations',
20
+ type: 'wizard'
21
+ })
22
+ }
23
+ };
24
+ //# sourceMappingURL=wizard-populations-playlist-with-popin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../src/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js"],"names":["WizardForm","cmPopin","headerAndMenu","header","items","props","form","popinProps","notifications","popin","content","key","type"],"mappings":";;AAAA,OAAOA,UAAP,MAAuB,mFAAvB;AACA,OAAOC,OAAP,MAAoB,wDAApB;AACA,OAAOC,aAAP,MAA0B,WAA1B;AAEA,MAAM;AAACC,EAAAA,MAAD;AAASC,EAAAA;AAAT,IAAkBF,aAAa,CAACG,KAAtC;AACA,MAAMC,IAAI,GAAGN,UAAU,CAACK,KAAxB;AACA,MAAME,UAAU,GAAGN,OAAO,CAACI,KAA3B;AAEA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLF,IAAAA,MADK;AAELC,IAAAA,KAFK;AAGLI,IAAAA,aAAa,EAAE,EAHV;AAILC,IAAAA,KAAK,EAAEF,UAJF;AAKLG,IAAAA,OAAO,wBACFJ,IADE;AAELK,MAAAA,GAAG,EAAE,aAFA;AAGLC,MAAAA,IAAI,EAAE;AAHD;AALF;AADM,CAAf","sourcesContent":["import WizardForm from '../../../../../organism/wizard-contents/test/fixtures/playlist-populations-create';\nimport cmPopin from '../../../../../molecule/cm-popin/test/fixtures/default';\nimport headerAndMenu from './default';\n\nconst {header, items} = headerAndMenu.props;\nconst form = WizardForm.props;\nconst popinProps = cmPopin.props;\n\nexport default {\n props: {\n header,\n items,\n notifications: [],\n popin: popinProps,\n content: {\n ...form,\n key: 'populations',\n type: 'wizard'\n }\n }\n};\n"],"file":"wizard-populations-playlist-with-popin.js"}
@@ -0,0 +1,67 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../../test/helpers/render-component';
4
+ import TemplateBackOfficeBrandUpdate from '..';
5
+ import fixtureAnalytics from './fixtures/analytics';
6
+ import fixtureAnimations from './fixtures/animations';
7
+ import fixtureCohortError from './fixtures/cohort-error';
8
+ import fixtureCohort from './fixtures/cohort';
9
+ import fixtureDashboard from './fixtures/dashboard';
10
+ import fixtureDashboardsAnalytics from './fixtures/dashboards-analytics';
11
+ import fixtureDefault from './fixtures/default';
12
+ import fixtureGeneralSettingsSuccess from './fixtures/general-settings-success';
13
+ import fixtureGeneralSettings from './fixtures/general-settings';
14
+ import fixtureLmsError from './fixtures/lms-error';
15
+ import fixtureLmsModified from './fixtures/lms-modified';
16
+ import fixtureLmsSuccess from './fixtures/lms-success';
17
+ import fixtureLms from './fixtures/lms';
18
+ import fixtureLoader from './fixtures/loader';
19
+ import fixtureLookandfeelError from './fixtures/lookandfeel-error';
20
+ import fixtureLookandfeelModified from './fixtures/lookandfeel-modified';
21
+ import fixtureLookandfeelPending from './fixtures/lookandfeel-pending';
22
+ import fixtureLookandfeelSuccess from './fixtures/lookandfeel-success';
23
+ import fixtureLookandfeel from './fixtures/lookandfeel';
24
+ import fixtureManageusersEdit from './fixtures/manageusers-edit';
25
+ import fixtureManageusersList from './fixtures/manageusers-list';
26
+ import fixtureManageusers from './fixtures/manageusers';
27
+ import fixtureQuickAccess from './fixtures/quick-access';
28
+ import fixtureSsoActivate from './fixtures/sso-activate';
29
+ import fixtureSso from './fixtures/sso';
30
+ import fixtureUploadusersLoading from './fixtures/uploadusers-loading';
31
+ import fixtureUploadusersSuccessful from './fixtures/uploadusers-successful';
32
+ import fixtureUploadusers from './fixtures/uploadusers';
33
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate > should have valid propTypes', t => {
34
+ t.pass();
35
+ forEach(TemplateBackOfficeBrandUpdate.propTypes, (value, key) => {
36
+ t.not(value, undefined, `PropType for "TemplateBackOffice.TemplateBackOfficeBrandUpdate.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
37
+ });
38
+ });
39
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Analytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnalytics);
40
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Animations › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnimations);
41
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › CohortError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohortError);
42
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Cohort › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohort);
43
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Dashboard › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboard);
44
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › DashboardsAnalytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboardsAnalytics);
45
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Default › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDefault);
46
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettingsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettingsSuccess);
47
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettings › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettings);
48
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsError);
49
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsModified);
50
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsSuccess);
51
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lms › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLms);
52
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Loader › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLoader);
53
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelError);
54
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelModified);
55
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelPending › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelPending);
56
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelSuccess);
57
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lookandfeel › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeel);
58
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersEdit › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersEdit);
59
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersList › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersList);
60
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Manageusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusers);
61
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › QuickAccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureQuickAccess);
62
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › SsoActivate › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSsoActivate);
63
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Sso › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSso);
64
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersLoading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersLoading);
65
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersSuccessful › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersSuccessful);
66
+ test('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Uploadusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusers);
67
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/template/back-office/brand-update/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateBackOfficeBrandUpdate","fixtureAnalytics","fixtureAnimations","fixtureCohortError","fixtureCohort","fixtureDashboard","fixtureDashboardsAnalytics","fixtureDefault","fixtureGeneralSettingsSuccess","fixtureGeneralSettings","fixtureLmsError","fixtureLmsModified","fixtureLmsSuccess","fixtureLms","fixtureLoader","fixtureLookandfeelError","fixtureLookandfeelModified","fixtureLookandfeelPending","fixtureLookandfeelSuccess","fixtureLookandfeel","fixtureManageusersEdit","fixtureManageusersList","fixtureManageusers","fixtureQuickAccess","fixtureSsoActivate","fixtureSso","fixtureUploadusersLoading","fixtureUploadusersSuccessful","fixtureUploadusers","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,6BAAP,MAA0C,IAA1C;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,iBAAP,MAA8B,uBAA9B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,0BAAP,MAAuC,iCAAvC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,6BAAP,MAA0C,qCAA1C;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,eAAP,MAA4B,sBAA5B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,iBAAP,MAA8B,wBAA9B;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,uBAAP,MAAoC,8BAApC;AACA,OAAOC,0BAAP,MAAuC,iCAAvC;AACA,OAAOC,yBAAP,MAAsC,gCAAtC;AACA,OAAOC,yBAAP,MAAsC,gCAAtC;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AACA,OAAOC,yBAAP,MAAsC,gCAAtC;AACA,OAAOC,4BAAP,MAAyC,mCAAzC;AACA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oBAAjG,EAAuHC,6BAAvH,EAAsJ0B,yBAAtJ,CAAJ;AACA7B,IAAI,CAAC,iGAAD,EAAoGE,oBAApG,EAA0HC,6BAA1H,EAAyJ2B,4BAAzJ,CAAJ;AACA9B,IAAI,CAAC,uFAAD,EAA0FE,oBAA1F,EAAgHC,6BAAhH,EAA+I4B,kBAA/I,CAAJ","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 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 fixtureManageusers from './fixtures/manageusers';\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';\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 › 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 › Manageusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusers);\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);\n"],"file":"fixtures.js"}
@@ -0,0 +1,23 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../../test/helpers/render-component';
4
+ import TemplateBackOfficeDashboardPreview from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ import fixtureError from './fixtures/error';
7
+ import fixtureLoading from './fixtures/loading';
8
+ import fixtureSelectedError from './fixtures/selected-error';
9
+ import fixtureSelectedLoading from './fixtures/selected-loading';
10
+ import fixtureSelected from './fixtures/selected';
11
+ test('TemplateBackOffice › TemplateBackOfficeDashboardPreview > should have valid propTypes', t => {
12
+ t.pass();
13
+ forEach(TemplateBackOfficeDashboardPreview.propTypes, (value, key) => {
14
+ t.not(value, undefined, `PropType for "TemplateBackOffice.TemplateBackOfficeDashboardPreview.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
15
+ });
16
+ });
17
+ test('TemplateBackOffice › TemplateBackOfficeDashboardPreview › Default › should be rendered', renderComponentMacro, TemplateBackOfficeDashboardPreview, fixtureDefault);
18
+ test('TemplateBackOffice › TemplateBackOfficeDashboardPreview › Error › should be rendered', renderComponentMacro, TemplateBackOfficeDashboardPreview, fixtureError);
19
+ test('TemplateBackOffice › TemplateBackOfficeDashboardPreview › Loading › should be rendered', renderComponentMacro, TemplateBackOfficeDashboardPreview, fixtureLoading);
20
+ test('TemplateBackOffice › TemplateBackOfficeDashboardPreview › SelectedError › should be rendered', renderComponentMacro, TemplateBackOfficeDashboardPreview, fixtureSelectedError);
21
+ test('TemplateBackOffice › TemplateBackOfficeDashboardPreview › SelectedLoading › should be rendered', renderComponentMacro, TemplateBackOfficeDashboardPreview, fixtureSelectedLoading);
22
+ test('TemplateBackOffice › TemplateBackOfficeDashboardPreview › Selected › should be rendered', renderComponentMacro, TemplateBackOfficeDashboardPreview, fixtureSelected);
23
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/template/back-office/dashboard-preview/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateBackOfficeDashboardPreview","fixtureDefault","fixtureError","fixtureLoading","fixtureSelectedError","fixtureSelectedLoading","fixtureSelected","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,kCAAP,MAA+C,IAA/C;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,oBAAP,MAAiC,2BAAjC;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AAEAT,IAAI,CAAC,uFAAD,EAA0FU,CAAC,IAAI;AACjGA,EAAAA,CAAC,CAACC,IAAF;AACAV,EAAAA,OAAO,CAACE,kCAAkC,CAACS,SAApC,EAA+C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACpEJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,iFAAgFF,GAAI,mEAA7G;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAd,IAAI,CAAC,wFAAD,EAA2FE,oBAA3F,EAAiHC,kCAAjH,EAAqJC,cAArJ,CAAJ;AACAJ,IAAI,CAAC,sFAAD,EAAyFE,oBAAzF,EAA+GC,kCAA/G,EAAmJE,YAAnJ,CAAJ;AACAL,IAAI,CAAC,wFAAD,EAA2FE,oBAA3F,EAAiHC,kCAAjH,EAAqJG,cAArJ,CAAJ;AACAN,IAAI,CAAC,8FAAD,EAAiGE,oBAAjG,EAAuHC,kCAAvH,EAA2JI,oBAA3J,CAAJ;AACAP,IAAI,CAAC,gGAAD,EAAmGE,oBAAnG,EAAyHC,kCAAzH,EAA6JK,sBAA7J,CAAJ;AACAR,IAAI,CAAC,yFAAD,EAA4FE,oBAA5F,EAAkHC,kCAAlH,EAAsJM,eAAtJ,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateBackOfficeDashboardPreview from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureError from './fixtures/error';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureSelectedError from './fixtures/selected-error';\nimport fixtureSelectedLoading from './fixtures/selected-loading';\nimport fixtureSelected from './fixtures/selected';\n\ntest('TemplateBackOffice › TemplateBackOfficeDashboardPreview > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateBackOfficeDashboardPreview.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateBackOffice.TemplateBackOfficeDashboardPreview.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateBackOffice › TemplateBackOfficeDashboardPreview › Default › should be rendered', renderComponentMacro, TemplateBackOfficeDashboardPreview, fixtureDefault);\ntest('TemplateBackOffice › TemplateBackOfficeDashboardPreview › Error › should be rendered', renderComponentMacro, TemplateBackOfficeDashboardPreview, fixtureError);\ntest('TemplateBackOffice › TemplateBackOfficeDashboardPreview › Loading › should be rendered', renderComponentMacro, TemplateBackOfficeDashboardPreview, fixtureLoading);\ntest('TemplateBackOffice › TemplateBackOfficeDashboardPreview › SelectedError › should be rendered', renderComponentMacro, TemplateBackOfficeDashboardPreview, fixtureSelectedError);\ntest('TemplateBackOffice › TemplateBackOfficeDashboardPreview › SelectedLoading › should be rendered', renderComponentMacro, TemplateBackOfficeDashboardPreview, fixtureSelectedLoading);\ntest('TemplateBackOffice › TemplateBackOfficeDashboardPreview › Selected › should be rendered', renderComponentMacro, TemplateBackOfficeDashboardPreview, fixtureSelected);\n"],"file":"fixtures.js"}
@@ -0,0 +1,13 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../test/helpers/render-component';
4
+ import TemplateBattleRequests from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ test('Template › TemplateBattleRequests > should have valid propTypes', t => {
7
+ t.pass();
8
+ forEach(TemplateBattleRequests.propTypes, (value, key) => {
9
+ t.not(value, undefined, `PropType for "Template.TemplateBattleRequests.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
10
+ });
11
+ });
12
+ test('Template › TemplateBattleRequests › Default › should be rendered', renderComponentMacro, TemplateBattleRequests, fixtureDefault);
13
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/template/battle-requests/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateBattleRequests","fixtureDefault","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAJ,IAAI,CAAC,iEAAD,EAAoEK,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAL,EAAAA,OAAO,CAACE,sBAAsB,CAACI,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAT,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHC,cAAnH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport TemplateBattleRequests from '..';\nimport fixtureDefault from './fixtures/default';\n\ntest('Template › TemplateBattleRequests > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateBattleRequests.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Template.TemplateBattleRequests.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Template › TemplateBattleRequests › Default › should be rendered', renderComponentMacro, TemplateBattleRequests, fixtureDefault);\n"],"file":"fixtures.js"}
@@ -0,0 +1,13 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../../test/helpers/render-component';
4
+ import TemplateCockpitJwUploader from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ test('TemplateCockpit › TemplateCockpitJwUploader > should have valid propTypes', t => {
7
+ t.pass();
8
+ forEach(TemplateCockpitJwUploader.propTypes, (value, key) => {
9
+ t.not(value, undefined, `PropType for "TemplateCockpit.TemplateCockpitJwUploader.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
10
+ });
11
+ });
12
+ test('TemplateCockpit › TemplateCockpitJwUploader › Default › should be rendered', renderComponentMacro, TemplateCockpitJwUploader, fixtureDefault);
13
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/template/cockpit/jw-uploader/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateCockpitJwUploader","fixtureDefault","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,yBAAP,MAAsC,IAAtC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAJ,IAAI,CAAC,2EAAD,EAA8EK,CAAC,IAAI;AACrFA,EAAAA,CAAC,CAACC,IAAF;AACAL,EAAAA,OAAO,CAACE,yBAAyB,CAACI,SAA3B,EAAsC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,qEAAoEF,GAAI,mEAAjG;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAT,IAAI,CAAC,4EAAD,EAA+EE,oBAA/E,EAAqGC,yBAArG,EAAgIC,cAAhI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateCockpitJwUploader from '..';\nimport fixtureDefault from './fixtures/default';\n\ntest('TemplateCockpit › TemplateCockpitJwUploader > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateCockpitJwUploader.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateCockpit.TemplateCockpitJwUploader.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateCockpit › TemplateCockpitJwUploader › Default › should be rendered', renderComponentMacro, TemplateCockpitJwUploader, fixtureDefault);\n"],"file":"fixtures.js"}
@@ -0,0 +1,15 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../../test/helpers/render-component';
4
+ import TemplateCommonAuthors from '..';
5
+ import fixtureDefault from './fixtures/default';
6
+ import fixtureNoSocials from './fixtures/no-socials';
7
+ test('TemplateCommon › TemplateCommonAuthors > should have valid propTypes', t => {
8
+ t.pass();
9
+ forEach(TemplateCommonAuthors.propTypes, (value, key) => {
10
+ t.not(value, undefined, `PropType for "TemplateCommon.TemplateCommonAuthors.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
+ });
12
+ });
13
+ test('TemplateCommon › TemplateCommonAuthors › Default › should be rendered', renderComponentMacro, TemplateCommonAuthors, fixtureDefault);
14
+ test('TemplateCommon › TemplateCommonAuthors › NoSocials › should be rendered', renderComponentMacro, TemplateCommonAuthors, fixtureNoSocials);
15
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/template/common/authors/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateCommonAuthors","fixtureDefault","fixtureNoSocials","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,qBAAP,MAAkC,IAAlC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AAEAL,IAAI,CAAC,sEAAD,EAAyEM,CAAC,IAAI;AAChFA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,qBAAqB,CAACK,SAAvB,EAAkC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACvDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,gEAA+DF,GAAI,mEAA5F;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,uEAAD,EAA0EE,oBAA1E,EAAgGC,qBAAhG,EAAuHC,cAAvH,CAAJ;AACAJ,IAAI,CAAC,yEAAD,EAA4EE,oBAA5E,EAAkGC,qBAAlG,EAAyHE,gBAAzH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateCommonAuthors from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureNoSocials from './fixtures/no-socials';\n\ntest('TemplateCommon › TemplateCommonAuthors > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateCommonAuthors.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateCommon.TemplateCommonAuthors.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateCommon › TemplateCommonAuthors › Default › should be rendered', renderComponentMacro, TemplateCommonAuthors, fixtureDefault);\ntest('TemplateCommon › TemplateCommonAuthors › NoSocials › should be rendered', renderComponentMacro, TemplateCommonAuthors, fixtureNoSocials);\n"],"file":"fixtures.js"}
@@ -0,0 +1,15 @@
1
+ import test from 'ava';
2
+ import forEach from 'lodash/forEach';
3
+ import renderComponentMacro from '../../../../test/helpers/render-component';
4
+ import TemplateCommonCoorpHeader from '..';
5
+ import fixtureProduction from './fixtures/production';
6
+ import fixtureStaging from './fixtures/staging';
7
+ test('TemplateCommon › TemplateCommonCoorpHeader > should have valid propTypes', t => {
8
+ t.pass();
9
+ forEach(TemplateCommonCoorpHeader.propTypes, (value, key) => {
10
+ t.not(value, undefined, `PropType for "TemplateCommon.TemplateCommonCoorpHeader.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
11
+ });
12
+ });
13
+ test('TemplateCommon › TemplateCommonCoorpHeader › Production › should be rendered', renderComponentMacro, TemplateCommonCoorpHeader, fixtureProduction);
14
+ test('TemplateCommon › TemplateCommonCoorpHeader › Staging › should be rendered', renderComponentMacro, TemplateCommonCoorpHeader, fixtureStaging);
15
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/template/common/coorp-header/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateCommonCoorpHeader","fixtureProduction","fixtureStaging","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,yBAAP,MAAsC,IAAtC;AACA,OAAOC,iBAAP,MAA8B,uBAA9B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AAEAL,IAAI,CAAC,0EAAD,EAA6EM,CAAC,IAAI;AACpFA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,yBAAyB,CAACK,SAA3B,EAAsC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC3DJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,oEAAmEF,GAAI,mEAAhG;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,8EAAD,EAAiFE,oBAAjF,EAAuGC,yBAAvG,EAAkIC,iBAAlI,CAAJ;AACAJ,IAAI,CAAC,2EAAD,EAA8EE,oBAA9E,EAAoGC,yBAApG,EAA+HE,cAA/H,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateCommonCoorpHeader from '..';\nimport fixtureProduction from './fixtures/production';\nimport fixtureStaging from './fixtures/staging';\n\ntest('TemplateCommon › TemplateCommonCoorpHeader > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateCommonCoorpHeader.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateCommon.TemplateCommonCoorpHeader.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateCommon › TemplateCommonCoorpHeader › Production › should be rendered', renderComponentMacro, TemplateCommonCoorpHeader, fixtureProduction);\ntest('TemplateCommon › TemplateCommonCoorpHeader › Staging › should be rendered', renderComponentMacro, TemplateCommonCoorpHeader, fixtureStaging);\n"],"file":"fixtures.js"}