@coorpacademy/components 11.32.19 → 11.32.20-alpha.32

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 (241) hide show
  1. package/es/atom/button-link/index.d.ts +2 -0
  2. package/es/atom/button-link/index.d.ts.map +1 -1
  3. package/es/atom/button-link/index.js +22 -8
  4. package/es/atom/button-link/index.js.map +1 -1
  5. package/es/atom/button-link/types.d.ts +4 -0
  6. package/es/atom/button-link/types.d.ts.map +1 -1
  7. package/es/atom/button-link/types.js +2 -0
  8. package/es/atom/button-link/types.js.map +1 -1
  9. package/es/atom/circular-progress-bar/index.d.ts +15 -0
  10. package/es/atom/circular-progress-bar/index.d.ts.map +1 -0
  11. package/es/atom/circular-progress-bar/index.js +86 -0
  12. package/es/atom/circular-progress-bar/index.js.map +1 -0
  13. package/es/atom/circular-progress-bar/style.css +51 -0
  14. package/es/atom/circular-progress-bar/types.d.ts +18 -0
  15. package/es/atom/circular-progress-bar/types.d.ts.map +1 -0
  16. package/es/atom/circular-progress-bar/types.js +10 -0
  17. package/es/atom/circular-progress-bar/types.js.map +1 -0
  18. package/es/atom/tag/index.d.ts +10 -1
  19. package/es/atom/tag/index.d.ts.map +1 -1
  20. package/es/atom/tag/index.js +19 -11
  21. package/es/atom/tag/index.js.map +1 -1
  22. package/es/atom/tag/style.css +38 -19
  23. package/es/molecule/base-modal/index.d.ts.map +1 -1
  24. package/es/molecule/base-modal/index.js +6 -10
  25. package/es/molecule/base-modal/index.js.map +1 -1
  26. package/es/molecule/cm-popin/types.d.ts +8 -0
  27. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  28. package/es/molecule/draggable-list/index.d.ts +12 -0
  29. package/es/molecule/draggable-list/index.d.ts.map +1 -1
  30. package/es/molecule/draggable-list/index.js +4 -2
  31. package/es/molecule/draggable-list/index.js.map +1 -1
  32. package/es/molecule/expandible-actionable-table/index.d.ts +2 -0
  33. package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  34. package/es/molecule/expandible-actionable-table/types.d.ts +2 -0
  35. package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  36. package/es/molecule/learner-skill-card/index.d.ts.map +1 -1
  37. package/es/molecule/learner-skill-card/index.js +7 -10
  38. package/es/molecule/learner-skill-card/index.js.map +1 -1
  39. package/es/molecule/learning-priority-card/index.d.ts +40 -0
  40. package/es/molecule/learning-priority-card/index.d.ts.map +1 -0
  41. package/es/molecule/learning-priority-card/index.js +77 -0
  42. package/es/molecule/learning-priority-card/index.js.map +1 -0
  43. package/es/molecule/learning-priority-card/style.css +34 -0
  44. package/es/molecule/learning-priority-card/types.d.ts +18 -0
  45. package/es/molecule/learning-priority-card/types.d.ts.map +1 -0
  46. package/es/molecule/learning-priority-card/types.js +10 -0
  47. package/es/molecule/learning-priority-card/types.js.map +1 -0
  48. package/es/molecule/learning-priority-modal/index.d.ts +33 -0
  49. package/es/molecule/learning-priority-modal/index.d.ts.map +1 -0
  50. package/es/molecule/learning-priority-modal/index.js +231 -0
  51. package/es/molecule/learning-priority-modal/index.js.map +1 -0
  52. package/es/molecule/learning-priority-modal/style.css +68 -0
  53. package/es/molecule/learning-priority-setup-item/index.d.ts +18 -0
  54. package/es/molecule/learning-priority-setup-item/index.d.ts.map +1 -0
  55. package/es/molecule/learning-priority-setup-item/index.js +69 -0
  56. package/es/molecule/learning-priority-setup-item/index.js.map +1 -0
  57. package/es/molecule/learning-priority-setup-item/style.css +47 -0
  58. package/es/molecule/skill-card/index.d.ts.map +1 -1
  59. package/es/molecule/skill-card/index.js +5 -8
  60. package/es/molecule/skill-card/index.js.map +1 -1
  61. package/es/organism/brand-learning-priorities/index.d.ts +170 -0
  62. package/es/organism/brand-learning-priorities/index.d.ts.map +1 -0
  63. package/es/organism/brand-learning-priorities/index.js +99 -0
  64. package/es/organism/brand-learning-priorities/index.js.map +1 -0
  65. package/es/organism/brand-learning-priorities/style.css +35 -0
  66. package/es/organism/list-item/index.d.ts +34 -2
  67. package/es/organism/list-item/index.d.ts.map +1 -1
  68. package/es/organism/list-item/index.js +58 -14
  69. package/es/organism/list-item/index.js.map +1 -1
  70. package/es/organism/list-item/style.css +21 -1
  71. package/es/organism/list-items/index.d.ts +8 -0
  72. package/es/organism/setup-header/index.d.ts +8 -0
  73. package/es/organism/wizard-contents/index.d.ts +6 -0
  74. package/es/template/app-player/loading/index.d.ts +8 -0
  75. package/es/template/app-player/player/index.d.ts +16 -0
  76. package/es/template/app-player/player/slides/index.d.ts +8 -0
  77. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  78. package/es/template/app-player/popin-correction/index.d.ts +8 -0
  79. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  80. package/es/template/app-player/popin-end/index.d.ts +8 -0
  81. package/es/template/app-review/index.d.ts +8 -0
  82. package/es/template/app-review/index.d.ts.map +1 -1
  83. package/es/template/app-review/player/prop-types.d.ts +8 -0
  84. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  85. package/es/template/app-review/prop-types.d.ts +8 -0
  86. package/es/template/app-review/prop-types.d.ts.map +1 -1
  87. package/es/template/back-office/brand-create/index.d.ts +8 -0
  88. package/es/template/back-office/brand-create/index.d.ts.map +1 -1
  89. package/es/template/back-office/brand-list/index.d.ts +8 -0
  90. package/es/template/back-office/brand-list/index.d.ts.map +1 -1
  91. package/es/template/back-office/brand-update/index.d.ts +171 -0
  92. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  93. package/es/template/back-office/brand-update/index.js +7 -0
  94. package/es/template/back-office/brand-update/index.js.map +1 -1
  95. package/es/template/back-office/dashboard-preview/index.d.ts +8 -0
  96. package/es/template/back-office/layout/index.d.ts +8 -0
  97. package/es/template/back-office/layout/index.d.ts.map +1 -1
  98. package/es/template/common/dashboard/index.d.ts +16 -0
  99. package/es/template/common/search-page/index.d.ts +8 -0
  100. package/es/template/external-course/index.d.ts +8 -0
  101. package/es/template/my-learning/index.d.ts.map +1 -1
  102. package/es/template/my-learning/index.js +10 -18
  103. package/es/template/my-learning/index.js.map +1 -1
  104. package/es/template/skill-detail/index.d.ts.map +1 -1
  105. package/es/template/skill-detail/index.js +4 -8
  106. package/es/template/skill-detail/index.js.map +1 -1
  107. package/lib/atom/button-link/index.d.ts +2 -0
  108. package/lib/atom/button-link/index.d.ts.map +1 -1
  109. package/lib/atom/button-link/index.js +21 -7
  110. package/lib/atom/button-link/index.js.map +1 -1
  111. package/lib/atom/button-link/types.d.ts +4 -0
  112. package/lib/atom/button-link/types.d.ts.map +1 -1
  113. package/lib/atom/button-link/types.js +2 -0
  114. package/lib/atom/button-link/types.js.map +1 -1
  115. package/lib/atom/circular-progress-bar/index.d.ts +15 -0
  116. package/lib/atom/circular-progress-bar/index.d.ts.map +1 -0
  117. package/lib/atom/circular-progress-bar/index.js +101 -0
  118. package/lib/atom/circular-progress-bar/index.js.map +1 -0
  119. package/lib/atom/circular-progress-bar/style.css +51 -0
  120. package/lib/atom/circular-progress-bar/types.d.ts +18 -0
  121. package/lib/atom/circular-progress-bar/types.d.ts.map +1 -0
  122. package/lib/atom/circular-progress-bar/types.js +19 -0
  123. package/lib/atom/circular-progress-bar/types.js.map +1 -0
  124. package/lib/atom/tag/index.d.ts +10 -1
  125. package/lib/atom/tag/index.d.ts.map +1 -1
  126. package/lib/atom/tag/index.js +20 -11
  127. package/lib/atom/tag/index.js.map +1 -1
  128. package/lib/atom/tag/style.css +38 -19
  129. package/lib/molecule/base-modal/index.d.ts.map +1 -1
  130. package/lib/molecule/base-modal/index.js +5 -9
  131. package/lib/molecule/base-modal/index.js.map +1 -1
  132. package/lib/molecule/cm-popin/types.d.ts +8 -0
  133. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  134. package/lib/molecule/draggable-list/index.d.ts +12 -0
  135. package/lib/molecule/draggable-list/index.d.ts.map +1 -1
  136. package/lib/molecule/draggable-list/index.js +5 -2
  137. package/lib/molecule/draggable-list/index.js.map +1 -1
  138. package/lib/molecule/expandible-actionable-table/index.d.ts +2 -0
  139. package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  140. package/lib/molecule/expandible-actionable-table/types.d.ts +2 -0
  141. package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  142. package/lib/molecule/learner-skill-card/index.d.ts.map +1 -1
  143. package/lib/molecule/learner-skill-card/index.js +6 -9
  144. package/lib/molecule/learner-skill-card/index.js.map +1 -1
  145. package/lib/molecule/learning-priority-card/index.d.ts +40 -0
  146. package/lib/molecule/learning-priority-card/index.d.ts.map +1 -0
  147. package/lib/molecule/learning-priority-card/index.js +95 -0
  148. package/lib/molecule/learning-priority-card/index.js.map +1 -0
  149. package/lib/molecule/learning-priority-card/style.css +34 -0
  150. package/lib/molecule/learning-priority-card/types.d.ts +18 -0
  151. package/lib/molecule/learning-priority-card/types.d.ts.map +1 -0
  152. package/lib/molecule/learning-priority-card/types.js +19 -0
  153. package/lib/molecule/learning-priority-card/types.js.map +1 -0
  154. package/lib/molecule/learning-priority-modal/index.d.ts +33 -0
  155. package/lib/molecule/learning-priority-modal/index.d.ts.map +1 -0
  156. package/lib/molecule/learning-priority-modal/index.js +254 -0
  157. package/lib/molecule/learning-priority-modal/index.js.map +1 -0
  158. package/lib/molecule/learning-priority-modal/style.css +68 -0
  159. package/lib/molecule/learning-priority-setup-item/index.d.ts +18 -0
  160. package/lib/molecule/learning-priority-setup-item/index.d.ts.map +1 -0
  161. package/lib/molecule/learning-priority-setup-item/index.js +86 -0
  162. package/lib/molecule/learning-priority-setup-item/index.js.map +1 -0
  163. package/lib/molecule/learning-priority-setup-item/style.css +47 -0
  164. package/lib/molecule/skill-card/index.d.ts.map +1 -1
  165. package/lib/molecule/skill-card/index.js +4 -7
  166. package/lib/molecule/skill-card/index.js.map +1 -1
  167. package/lib/organism/brand-learning-priorities/index.d.ts +170 -0
  168. package/lib/organism/brand-learning-priorities/index.d.ts.map +1 -0
  169. package/lib/organism/brand-learning-priorities/index.js +117 -0
  170. package/lib/organism/brand-learning-priorities/index.js.map +1 -0
  171. package/lib/organism/brand-learning-priorities/style.css +35 -0
  172. package/lib/organism/list-item/index.d.ts +34 -2
  173. package/lib/organism/list-item/index.d.ts.map +1 -1
  174. package/lib/organism/list-item/index.js +62 -16
  175. package/lib/organism/list-item/index.js.map +1 -1
  176. package/lib/organism/list-item/style.css +21 -1
  177. package/lib/organism/list-items/index.d.ts +8 -0
  178. package/lib/organism/setup-header/index.d.ts +8 -0
  179. package/lib/organism/wizard-contents/index.d.ts +6 -0
  180. package/lib/template/app-player/loading/index.d.ts +8 -0
  181. package/lib/template/app-player/player/index.d.ts +16 -0
  182. package/lib/template/app-player/player/slides/index.d.ts +8 -0
  183. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  184. package/lib/template/app-player/popin-correction/index.d.ts +8 -0
  185. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  186. package/lib/template/app-player/popin-end/index.d.ts +8 -0
  187. package/lib/template/app-review/index.d.ts +8 -0
  188. package/lib/template/app-review/index.d.ts.map +1 -1
  189. package/lib/template/app-review/player/prop-types.d.ts +8 -0
  190. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  191. package/lib/template/app-review/prop-types.d.ts +8 -0
  192. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  193. package/lib/template/back-office/brand-create/index.d.ts +8 -0
  194. package/lib/template/back-office/brand-create/index.d.ts.map +1 -1
  195. package/lib/template/back-office/brand-list/index.d.ts +8 -0
  196. package/lib/template/back-office/brand-list/index.d.ts.map +1 -1
  197. package/lib/template/back-office/brand-update/index.d.ts +171 -0
  198. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  199. package/lib/template/back-office/brand-update/index.js +8 -0
  200. package/lib/template/back-office/brand-update/index.js.map +1 -1
  201. package/lib/template/back-office/dashboard-preview/index.d.ts +8 -0
  202. package/lib/template/back-office/layout/index.d.ts +8 -0
  203. package/lib/template/back-office/layout/index.d.ts.map +1 -1
  204. package/lib/template/common/dashboard/index.d.ts +16 -0
  205. package/lib/template/common/search-page/index.d.ts +8 -0
  206. package/lib/template/external-course/index.d.ts +8 -0
  207. package/lib/template/my-learning/index.d.ts.map +1 -1
  208. package/lib/template/my-learning/index.js +10 -18
  209. package/lib/template/my-learning/index.js.map +1 -1
  210. package/lib/template/skill-detail/index.d.ts.map +1 -1
  211. package/lib/template/skill-detail/index.js +4 -8
  212. package/lib/template/skill-detail/index.js.map +1 -1
  213. package/locales/bs/global.json +1 -0
  214. package/locales/cs/global.json +1 -0
  215. package/locales/de/global.json +1 -0
  216. package/locales/en/global.json +12 -0
  217. package/locales/es/global.json +1 -0
  218. package/locales/et/global.json +1 -0
  219. package/locales/fi/global.json +1 -0
  220. package/locales/fr/global.json +2 -1
  221. package/locales/hr/global.json +1 -0
  222. package/locales/hu/global.json +1 -0
  223. package/locales/hy/global.json +1 -0
  224. package/locales/it/global.json +1 -0
  225. package/locales/ja/global.json +1 -0
  226. package/locales/ko/global.json +1 -0
  227. package/locales/nl/global.json +1 -0
  228. package/locales/pl/global.json +1 -0
  229. package/locales/pt/global.json +1 -0
  230. package/locales/ro/global.json +1 -0
  231. package/locales/ru/global.json +1 -0
  232. package/locales/sk/global.json +1 -0
  233. package/locales/sl/global.json +1 -0
  234. package/locales/sv/global.json +1 -0
  235. package/locales/tl/global.json +1 -0
  236. package/locales/tr/global.json +1 -0
  237. package/locales/uk/global.json +1 -0
  238. package/locales/vi/global.json +1 -0
  239. package/locales/zh/global.json +1 -0
  240. package/locales/zh_TW/global.json +1 -0
  241. package/package.json +2 -2
@@ -36,6 +36,8 @@ declare namespace BrandUpdate {
36
36
  download: PropTypes.Requireable<boolean>;
37
37
  target: PropTypes.Requireable<string>;
38
38
  }>>;
39
+ hoverBackgroundColor: PropTypes.Requireable<string>;
40
+ hoverColor: PropTypes.Requireable<string>;
39
41
  disabled: PropTypes.Requireable<boolean>;
40
42
  className: PropTypes.Requireable<string>;
41
43
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -57,6 +59,8 @@ declare namespace BrandUpdate {
57
59
  download: PropTypes.Requireable<boolean>;
58
60
  target: PropTypes.Requireable<string>;
59
61
  }>>;
62
+ hoverBackgroundColor: PropTypes.Requireable<string>;
63
+ hoverColor: PropTypes.Requireable<string>;
60
64
  disabled: PropTypes.Requireable<boolean>;
61
65
  className: PropTypes.Requireable<string>;
62
66
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -78,6 +82,8 @@ declare namespace BrandUpdate {
78
82
  download: PropTypes.Requireable<boolean>;
79
83
  target: PropTypes.Requireable<string>;
80
84
  }>>;
85
+ hoverBackgroundColor: PropTypes.Requireable<string>;
86
+ hoverColor: PropTypes.Requireable<string>;
81
87
  disabled: PropTypes.Requireable<boolean>;
82
88
  className: PropTypes.Requireable<string>;
83
89
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -99,6 +105,8 @@ declare namespace BrandUpdate {
99
105
  download: PropTypes.Requireable<boolean>;
100
106
  target: PropTypes.Requireable<string>;
101
107
  }>>;
108
+ hoverBackgroundColor: PropTypes.Requireable<string>;
109
+ hoverColor: PropTypes.Requireable<string>;
102
110
  disabled: PropTypes.Requireable<boolean>;
103
111
  className: PropTypes.Requireable<string>;
104
112
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -326,6 +334,8 @@ declare namespace BrandUpdate {
326
334
  download: PropTypes.Requireable<boolean>;
327
335
  target: PropTypes.Requireable<string>;
328
336
  }>>;
337
+ hoverBackgroundColor: PropTypes.Requireable<string>;
338
+ hoverColor: PropTypes.Requireable<string>;
329
339
  disabled: PropTypes.Requireable<boolean>;
330
340
  className: PropTypes.Requireable<string>;
331
341
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -351,6 +361,8 @@ declare namespace BrandUpdate {
351
361
  content: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
352
362
  items: PropTypes.Requireable<(PropTypes.InferProps<{
353
363
  title: PropTypes.Validator<string>;
364
+ subtitle: PropTypes.Requireable<string>;
365
+ selected: PropTypes.Requireable<boolean>;
354
366
  dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
355
367
  label: PropTypes.Requireable<string>;
356
368
  type: PropTypes.Requireable<string>;
@@ -393,6 +405,8 @@ declare namespace BrandUpdate {
393
405
  label: PropTypes.Requireable<string>;
394
406
  type: PropTypes.Requireable<string>;
395
407
  }> | null | undefined)[]>;
408
+ disabled: PropTypes.Requireable<boolean>;
409
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
396
410
  isBulkStyle: PropTypes.Requireable<boolean>;
397
411
  isOverflowHidden: PropTypes.Requireable<boolean>;
398
412
  order: PropTypes.Requireable<number>;
@@ -458,6 +472,8 @@ declare namespace BrandUpdate {
458
472
  download: PropTypes.Requireable<boolean>;
459
473
  target: PropTypes.Requireable<string>;
460
474
  }>>;
475
+ hoverBackgroundColor: PropTypes.Requireable<string>;
476
+ hoverColor: PropTypes.Requireable<string>;
461
477
  disabled: PropTypes.Requireable<boolean>;
462
478
  className: PropTypes.Requireable<string>;
463
479
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -566,6 +582,8 @@ declare namespace BrandUpdate {
566
582
  download: PropTypes.Requireable<boolean>;
567
583
  target: PropTypes.Requireable<string>;
568
584
  }>>;
585
+ hoverBackgroundColor: PropTypes.Requireable<string>;
586
+ hoverColor: PropTypes.Requireable<string>;
569
587
  disabled: PropTypes.Requireable<boolean>;
570
588
  className: PropTypes.Requireable<string>;
571
589
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -626,6 +644,8 @@ declare namespace BrandUpdate {
626
644
  download: PropTypes.Requireable<boolean>;
627
645
  target: PropTypes.Requireable<string>;
628
646
  }>>;
647
+ hoverBackgroundColor: PropTypes.Requireable<string>;
648
+ hoverColor: PropTypes.Requireable<string>;
629
649
  disabled: PropTypes.Requireable<boolean>;
630
650
  className: PropTypes.Requireable<string>;
631
651
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -647,6 +667,8 @@ declare namespace BrandUpdate {
647
667
  download: PropTypes.Requireable<boolean>;
648
668
  target: PropTypes.Requireable<string>;
649
669
  }>>;
670
+ hoverBackgroundColor: PropTypes.Requireable<string>;
671
+ hoverColor: PropTypes.Requireable<string>;
650
672
  disabled: PropTypes.Requireable<boolean>;
651
673
  className: PropTypes.Requireable<string>;
652
674
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -711,6 +733,147 @@ declare namespace BrandUpdate {
711
733
  label: PropTypes.Requireable<string>;
712
734
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
713
735
  }>>;
736
+ }> | PropTypes.InferProps<{
737
+ key: PropTypes.Requireable<string>;
738
+ type: PropTypes.Requireable<string>;
739
+ content: PropTypes.Requireable<PropTypes.InferProps<{
740
+ items: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
741
+ title: PropTypes.Validator<string>;
742
+ onUp: PropTypes.Requireable<(...args: any[]) => any>;
743
+ onDown: PropTypes.Requireable<(...args: any[]) => any>;
744
+ display: PropTypes.Requireable<PropTypes.InferProps<{
745
+ title: PropTypes.Requireable<string>;
746
+ name: PropTypes.Requireable<string>;
747
+ id: PropTypes.Requireable<string>;
748
+ value: PropTypes.Requireable<boolean>;
749
+ disabled: PropTypes.Requireable<boolean>;
750
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
751
+ description: PropTypes.Requireable<string>;
752
+ 'aria-labelledby': PropTypes.Requireable<string>;
753
+ 'aria-label': PropTypes.Requireable<string>;
754
+ modified: PropTypes.Requireable<boolean>;
755
+ titlePosition: PropTypes.Requireable<string>;
756
+ theme: PropTypes.Requireable<string>;
757
+ details: PropTypes.Requireable<string>;
758
+ 'data-name': PropTypes.Requireable<string>;
759
+ requiredSelection: PropTypes.Requireable<boolean>;
760
+ }>>;
761
+ contentTypes: PropTypes.Requireable<PropTypes.InferProps<{
762
+ modified: PropTypes.Requireable<boolean>;
763
+ color: PropTypes.Requireable<string>;
764
+ theme: PropTypes.Requireable<string>;
765
+ className: PropTypes.Requireable<string>;
766
+ list: PropTypes.Requireable<(PropTypes.InferProps<{
767
+ color: PropTypes.Requireable<string>;
768
+ value: PropTypes.Validator<string>;
769
+ name: PropTypes.Requireable<string>;
770
+ theme: PropTypes.Requireable<string>;
771
+ checked: PropTypes.Requireable<boolean>;
772
+ label: PropTypes.Requireable<string>;
773
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
774
+ }> | null | undefined)[]>;
775
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
776
+ }>>;
777
+ }> | PropTypes.InferProps<{
778
+ 'aria-label': PropTypes.Requireable<PropTypes.InferProps<{
779
+ title: PropTypes.Requireable<string>;
780
+ author: PropTypes.Requireable<string>;
781
+ modules: PropTypes.Requireable<string>;
782
+ position: PropTypes.Requireable<string>;
783
+ }>>;
784
+ image: PropTypes.Requireable<string>;
785
+ badgeList: PropTypes.Requireable<(PropTypes.InferProps<{
786
+ category: PropTypes.Requireable<string>;
787
+ label: PropTypes.Requireable<string>;
788
+ }> | null | undefined)[]>;
789
+ title: PropTypes.Requireable<string>;
790
+ author: PropTypes.Requireable<string>;
791
+ position: PropTypes.Requireable<number>;
792
+ id: PropTypes.Requireable<string>;
793
+ }> | PropTypes.InferProps<{
794
+ title: PropTypes.Validator<string>;
795
+ subtitle: PropTypes.Requireable<string>;
796
+ selected: PropTypes.Requireable<boolean>;
797
+ dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
798
+ label: PropTypes.Requireable<string>;
799
+ type: PropTypes.Requireable<string>;
800
+ className: PropTypes.Requireable<string>;
801
+ }> | null | undefined)[]>;
802
+ buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
803
+ type: PropTypes.Requireable<string>;
804
+ label: PropTypes.Requireable<string>;
805
+ ariaLabel: PropTypes.Requireable<string>;
806
+ dataName: PropTypes.Requireable<string>;
807
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
808
+ position: PropTypes.Requireable<string>;
809
+ type: PropTypes.Requireable<string>;
810
+ }>>;
811
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
812
+ }>>;
813
+ secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
814
+ type: PropTypes.Requireable<string>;
815
+ label: PropTypes.Requireable<string>;
816
+ ariaLabel: PropTypes.Requireable<string>;
817
+ dataName: PropTypes.Requireable<string>;
818
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
819
+ position: PropTypes.Requireable<string>;
820
+ type: PropTypes.Requireable<string>;
821
+ }>>;
822
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
823
+ }>>;
824
+ bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
825
+ buttonAriaLabel: PropTypes.Requireable<string>;
826
+ menuAriaLabel: PropTypes.Requireable<string>;
827
+ buttons: PropTypes.Requireable<(PropTypes.InferProps<{
828
+ 'data-name': PropTypes.Requireable<string>;
829
+ label: PropTypes.Requireable<string>;
830
+ type: PropTypes.Requireable<string>;
831
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
832
+ }> | null | undefined)[]>;
833
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
834
+ }>>;
835
+ tags: PropTypes.Requireable<(PropTypes.InferProps<{
836
+ label: PropTypes.Requireable<string>;
837
+ type: PropTypes.Requireable<string>;
838
+ }> | null | undefined)[]>;
839
+ disabled: PropTypes.Requireable<boolean>;
840
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
841
+ isBulkStyle: PropTypes.Requireable<boolean>;
842
+ isOverflowHidden: PropTypes.Requireable<boolean>;
843
+ order: PropTypes.Requireable<number>;
844
+ 'aria-label': PropTypes.Requireable<string>;
845
+ contentType: PropTypes.Requireable<string>;
846
+ id: PropTypes.Requireable<string>;
847
+ }> | PropTypes.InferProps<{
848
+ 'aria-label': PropTypes.Requireable<string>;
849
+ id: PropTypes.Requireable<string>;
850
+ priorityRef: PropTypes.Requireable<string>;
851
+ title: PropTypes.Requireable<string>;
852
+ courses: PropTypes.Requireable<number>;
853
+ type: PropTypes.Requireable<string>;
854
+ onRemove: PropTypes.Requireable<(...args: any[]) => any>;
855
+ }> | null | undefined> | null | undefined)[]>;
856
+ onDrop: PropTypes.Requireable<(...args: any[]) => any>;
857
+ itemType: PropTypes.Requireable<string>;
858
+ }>>;
859
+ priorities: PropTypes.Requireable<(PropTypes.InferProps<{
860
+ ref: PropTypes.Requireable<string>;
861
+ title: PropTypes.Requireable<string>;
862
+ courses: PropTypes.Requireable<number>;
863
+ type: PropTypes.Requireable<string>;
864
+ }> | null | undefined)[]>;
865
+ filters: PropTypes.Requireable<PropTypes.InferProps<{
866
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
867
+ options: PropTypes.Requireable<(PropTypes.InferProps<{
868
+ count: PropTypes.Requireable<number>;
869
+ name: PropTypes.Validator<string>;
870
+ value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
871
+ selected: PropTypes.Requireable<boolean>;
872
+ validOption: PropTypes.Requireable<boolean>;
873
+ }> | null | undefined)[]>;
874
+ }>>;
875
+ isLoading: PropTypes.Requireable<boolean>;
876
+ onAdd: PropTypes.Requireable<(...args: any[]) => any>;
714
877
  }> | null | undefined>>;
715
878
  export const documentation: PropTypes.Requireable<PropTypes.InferProps<{
716
879
  content: PropTypes.Requireable<string>;
@@ -811,6 +974,8 @@ declare namespace BrandUpdate {
811
974
  download: PropTypes.Requireable<boolean>;
812
975
  target: PropTypes.Requireable<string>;
813
976
  }>>;
977
+ hoverBackgroundColor: PropTypes.Requireable<string>;
978
+ hoverColor: PropTypes.Requireable<string>;
814
979
  disabled: PropTypes.Requireable<boolean>;
815
980
  className: PropTypes.Requireable<string>;
816
981
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -836,6 +1001,8 @@ declare namespace BrandUpdate {
836
1001
  content: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
837
1002
  items: PropTypes.Requireable<(PropTypes.InferProps<{
838
1003
  title: PropTypes.Validator<string>;
1004
+ subtitle: PropTypes.Requireable<string>;
1005
+ selected: PropTypes.Requireable<boolean>;
839
1006
  dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
840
1007
  label: PropTypes.Requireable<string>;
841
1008
  type: PropTypes.Requireable<string>;
@@ -878,6 +1045,8 @@ declare namespace BrandUpdate {
878
1045
  label: PropTypes.Requireable<string>;
879
1046
  type: PropTypes.Requireable<string>;
880
1047
  }> | null | undefined)[]>;
1048
+ disabled: PropTypes.Requireable<boolean>;
1049
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
881
1050
  isBulkStyle: PropTypes.Requireable<boolean>;
882
1051
  isOverflowHidden: PropTypes.Requireable<boolean>;
883
1052
  order: PropTypes.Requireable<number>;
@@ -943,6 +1112,8 @@ declare namespace BrandUpdate {
943
1112
  download: PropTypes.Requireable<boolean>;
944
1113
  target: PropTypes.Requireable<string>;
945
1114
  }>>;
1115
+ hoverBackgroundColor: PropTypes.Requireable<string>;
1116
+ hoverColor: PropTypes.Requireable<string>;
946
1117
  disabled: PropTypes.Requireable<boolean>;
947
1118
  className: PropTypes.Requireable<string>;
948
1119
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-update/index.js"],"names":[],"mappings":";AAoMA,sDA6CC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-update/index.js"],"names":[],"mappings":";AAuMA,sDA6CC"}
@@ -17,6 +17,7 @@ import BrandAnalytics from '../../../organism/brand-analytics';
17
17
  import BrandDashboard from '../../../organism/brand-dashboard';
18
18
  import WizardContents from '../../../organism/wizard-contents';
19
19
  import ListItems from '../../../organism/list-items';
20
+ import BrandLearningPriorities from '../../../organism/brand-learning-priorities';
20
21
  import Banner from '../../../molecule/banner';
21
22
  import Header from '../../../organism/setup-header';
22
23
  import Loader from '../../../atom/loader';
@@ -189,6 +190,9 @@ const buildContentView = content => {
189
190
 
190
191
  case 'table-pending':
191
192
  return /*#__PURE__*/React.createElement(ExpandibleActionableTable, content);
193
+
194
+ case 'learning-priorities':
195
+ return /*#__PURE__*/React.createElement(BrandLearningPriorities, content);
192
196
  }
193
197
  };
194
198
 
@@ -288,6 +292,9 @@ BrandUpdate.propTypes = process.env.NODE_ENV !== "production" ? {
288
292
  content: PropTypes.shape(_extends({}, ExpandibleActionableTable.propTypes, WizardContents.propTypes.content.propTypes)),
289
293
  key: PropTypes.string,
290
294
  type: PropTypes.oneOf(['expandible-table'])
295
+ })), PropTypes.shape(_extends({}, BrandLearningPriorities.propTypes, {
296
+ key: PropTypes.string,
297
+ type: PropTypes.oneOf(['learning-priorities'])
291
298
  }))]),
292
299
  documentation: PropTypes.shape({
293
300
  content: PropTypes.string,
@@ -1 +1 @@
1
- {"version":3,"file":"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","ButtonLinkIconOnly","ExpandibleActionableTable","BulkInfos","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","temporary","permanentNotification","permanentNotifications","buildHeader","header","buildPopin","popin","buildDocumentation","documentation","show","onClose","content","open","documentationContent","__html","closeButton","buildTabs","selectedTab","e","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","arrayOf","shape","string","isRequired","bool","oneOfType","oneOf","func"],"sources":["../../../../src/template/back-office/brand-update/index.js"],"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 ButtonLinkIconOnly from '../../../atom/button-link-icon-only';\nimport ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';\nimport BulkInfos from '../../../molecule/bulk-infos';\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\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n setChildrenAsHtml={false}\n />\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={!notification.temporary ? style.permanentNotification : null} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return (\n <div className={!find({temporary: true}, notifications) ? style.permanentNotifications : null}>\n {notificationsList}\n </div>\n );\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 buildDocumentation = documentation => {\n if (!documentation) return null;\n const {show = false, onClose, content = ''} = documentation;\n return (\n <div className={classNames(style.documentation, show && style.open)}>\n <div\n className={style.documentationContent}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n {onClose ? (\n <ButtonLinkIconOnly\n className={style.closeButton}\n onClick={onClose}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n ) : null}\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 ? find(e => e.selected, selectedTab.subTabs) : undefined;\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 className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\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 case 'expandible-actionable-table':\n return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n case 'expandible-table':\n return <WizardContents {...content} />;\n case 'bulk-empty-dashboard':\n return <BulkInfos {...content} />;\n case 'table-pending':\n return <ExpandibleActionableTable {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst BrandUpdate = props => {\n const {\n notifications,\n header,\n items,\n content,\n details,\n popin,\n onItemClick,\n documentation,\n contentFixHeight\n } = 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 documentationView = buildDocumentation(documentation);\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 contentFixHeight && style.contentFixHeight\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 {documentationView}\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', 'expandible-actionable-table'])\n }),\n PropTypes.shape({\n ...BulkInfos.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['bulk-empty-dashboard'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['table-pending'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n content: PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n ...WizardContents.propTypes.content.propTypes\n }),\n key: PropTypes.string,\n type: PropTypes.oneOf(['expandible-table'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\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 contentFixHeight: PropTypes.bool\n};\n\nexport default BrandUpdate;\n"],"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,4BAApB;AACA,OAAOC,kBAAP,MAA+B,qCAA/B;AACA,OAAOC,yBAAP,MAAsC,+CAAtC;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,QAAQ,GAAGC,UAAU,IAAKA,UAAU,GAAGF,KAAK,CAACG,eAAT,GAA2BH,KAAK,CAACI,iBAA3E;;AAEA,MAAMC,WAAW,GAAG,CAACC,QAAQ,GAAG,EAAZ,KAClB9B,GAAG,CAAC+B,OAAJ,CAAY;EAACC,GAAG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,GApC2B,EAyC3B7G,SAAS,CAACwG,KAAV,cACKjF,yBAAyB,CAAC+E,SAD/B;IAEE1D,GAAG,EAAE5C,SAAS,CAACyG,MAFjB;IAGEpE,IAAI,EAAErC,SAAS,CAAC6G,KAAV,CAAgB,CAAC,eAAD,CAAhB;EAHR,GAzC2B,EA8C3B7G,SAAS,CAACwG,KAAV,cACKzF,cAAc,CAACuF,SADpB;IAEElC,OAAO,EAAEpE,SAAS,CAACwG,KAAV,cACJjF,yBAAyB,CAAC+E,SADtB,EAEJvF,cAAc,CAACuF,SAAf,CAAyBlC,OAAzB,CAAiCkC,SAF7B,EAFX;IAME1D,GAAG,EAAE5C,SAAS,CAACyG,MANjB;IAOEpE,IAAI,EAAErC,SAAS,CAAC6G,KAAV,CAAgB,CAAC,kBAAD,CAAhB;EAPR,GA9C2B,CAApB,CAhCa;EAwFtB5C,aAAa,EAAEjE,SAAS,CAACwG,KAAV,CAAgB;IAC7BpC,OAAO,EAAEpE,SAAS,CAACyG,MADU;IAE7BvC,IAAI,EAAElE,SAAS,CAAC2G,IAFa;IAG7BxC,OAAO,EAAEnE,SAAS,CAAC8G;EAHU,CAAhB,CAxFO;EA6FtB/C,KAAK,EAAE/D,SAAS,CAACwG,KAAV,cAAoBnF,OAAO,CAACiF,SAA5B,EA7Fe;EA8FtBnB,OAAO,EAAEnF,SAAS,CAACwG,KAAV,cACJ7F,UAAU,CAAC2F,SADP;IAEP1D,GAAG,EAAE5C,SAAS,CAACyG,MAFR;IAGPpE,IAAI,EAAErC,SAAS,CAAC6G,KAAV,CAAgB,CAAC,MAAD,CAAhB;EAHC,GA9Fa;EAmGtBnE,WAAW,EAAE1C,SAAS,CAAC8G,IAnGD;EAoGtBxB,gBAAgB,EAAEtF,SAAS,CAAC2G;AApGN,CAAxB;AAuGA,eAAevB,WAAf"}
1
+ {"version":3,"file":"index.js","names":["React","PropTypes","map","pipe","get","isEmpty","find","classNames","BrandTabs","IconLinkItem","LinkItem","BrandForm","BrandTable","BrandUpload","BrandAnalytics","BrandDashboard","WizardContents","ListItems","BrandLearningPriorities","Banner","Header","Loader","Accordion","CmPopin","ButtonLinkIconOnly","ExpandibleActionableTable","BulkInfos","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","temporary","permanentNotification","permanentNotifications","buildHeader","header","buildPopin","popin","buildDocumentation","documentation","show","onClose","content","open","documentationContent","__html","closeButton","buildTabs","selectedTab","e","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","arrayOf","shape","string","isRequired","bool","oneOfType","oneOf","func"],"sources":["../../../../src/template/back-office/brand-update/index.js"],"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 BrandLearningPriorities from '../../../organism/brand-learning-priorities';\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 ButtonLinkIconOnly from '../../../atom/button-link-icon-only';\nimport ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';\nimport BulkInfos from '../../../molecule/bulk-infos';\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\n {...subTab}\n styles={getStyle(subTab.selected)}\n uppercase={false}\n setChildrenAsHtml={false}\n />\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={!notification.temporary ? style.permanentNotification : null} key={index}>\n <Banner {...notification} />\n </div>\n );\n });\n return (\n <div className={!find({temporary: true}, notifications) ? style.permanentNotifications : null}>\n {notificationsList}\n </div>\n );\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 buildDocumentation = documentation => {\n if (!documentation) return null;\n const {show = false, onClose, content = ''} = documentation;\n return (\n <div className={classNames(style.documentation, show && style.open)}>\n <div\n className={style.documentationContent}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: content}}\n />\n {onClose ? (\n <ButtonLinkIconOnly\n className={style.closeButton}\n onClick={onClose}\n data-name={'close-icon'}\n aria-label={'close-icon'}\n size=\"small\"\n icon=\"close\"\n />\n ) : null}\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 ? find(e => e.selected, selectedTab.subTabs) : undefined;\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 className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"coorpmanager\" />\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 case 'expandible-actionable-table':\n return <ListItems {...content} />;\n case 'home':\n return <BrandDashboard {...content} />;\n case 'wizard':\n case 'expandible-table':\n return <WizardContents {...content} />;\n case 'bulk-empty-dashboard':\n return <BulkInfos {...content} />;\n case 'table-pending':\n return <ExpandibleActionableTable {...content} />;\n case 'learning-priorities':\n return <BrandLearningPriorities {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst BrandUpdate = props => {\n const {\n notifications,\n header,\n items,\n content,\n details,\n popin,\n onItemClick,\n documentation,\n contentFixHeight\n } = 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 documentationView = buildDocumentation(documentation);\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 contentFixHeight && style.contentFixHeight\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 {documentationView}\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', 'expandible-actionable-table'])\n }),\n PropTypes.shape({\n ...BulkInfos.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['bulk-empty-dashboard'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['table-pending'])\n }),\n PropTypes.shape({\n ...WizardContents.propTypes,\n content: PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n ...WizardContents.propTypes.content.propTypes\n }),\n key: PropTypes.string,\n type: PropTypes.oneOf(['expandible-table'])\n }),\n PropTypes.shape({\n ...BrandLearningPriorities.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['learning-priorities'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\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 contentFixHeight: PropTypes.bool\n};\n\nexport default BrandUpdate;\n"],"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,8BAA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B,CAAC+E,SADtB,EAEJxF,cAAc,CAACwF,SAAf,CAAyBlC,OAAzB,CAAiCkC,SAF7B,EAFX;IAME1D,GAAG,EAAE7C,SAAS,CAAC0G,MANjB;IAOEpE,IAAI,EAAEtC,SAAS,CAAC8G,KAAV,CAAgB,CAAC,kBAAD,CAAhB;EAPR,GA9C2B,EAuD3B9G,SAAS,CAACyG,KAAV,cACKxF,uBAAuB,CAACsF,SAD7B;IAEE1D,GAAG,EAAE7C,SAAS,CAAC0G,MAFjB;IAGEpE,IAAI,EAAEtC,SAAS,CAAC8G,KAAV,CAAgB,CAAC,qBAAD,CAAhB;EAHR,GAvD2B,CAApB,CAhCa;EA6FtB5C,aAAa,EAAElE,SAAS,CAACyG,KAAV,CAAgB;IAC7BpC,OAAO,EAAErE,SAAS,CAAC0G,MADU;IAE7BvC,IAAI,EAAEnE,SAAS,CAAC4G,IAFa;IAG7BxC,OAAO,EAAEpE,SAAS,CAAC+G;EAHU,CAAhB,CA7FO;EAkGtB/C,KAAK,EAAEhE,SAAS,CAACyG,KAAV,cAAoBnF,OAAO,CAACiF,SAA5B,EAlGe;EAmGtBnB,OAAO,EAAEpF,SAAS,CAACyG,KAAV,cACJ9F,UAAU,CAAC4F,SADP;IAEP1D,GAAG,EAAE7C,SAAS,CAAC0G,MAFR;IAGPpE,IAAI,EAAEtC,SAAS,CAAC8G,KAAV,CAAgB,CAAC,MAAD,CAAhB;EAHC,GAnGa;EAwGtBnE,WAAW,EAAE3C,SAAS,CAAC+G,IAxGD;EAyGtBxB,gBAAgB,EAAEvF,SAAS,CAAC4G;AAzGN,CAAxB;AA4GA,eAAevB,WAAf"}
@@ -20,6 +20,8 @@ declare const _default: {
20
20
  download: PropTypes.Requireable<boolean>;
21
21
  target: PropTypes.Requireable<string>;
22
22
  }>>;
23
+ hoverBackgroundColor: PropTypes.Requireable<string>;
24
+ hoverColor: PropTypes.Requireable<string>;
23
25
  disabled: PropTypes.Requireable<boolean>;
24
26
  className: PropTypes.Requireable<string>;
25
27
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -41,6 +43,8 @@ declare const _default: {
41
43
  download: PropTypes.Requireable<boolean>;
42
44
  target: PropTypes.Requireable<string>;
43
45
  }>>;
46
+ hoverBackgroundColor: PropTypes.Requireable<string>;
47
+ hoverColor: PropTypes.Requireable<string>;
44
48
  disabled: PropTypes.Requireable<boolean>;
45
49
  className: PropTypes.Requireable<string>;
46
50
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -62,6 +66,8 @@ declare const _default: {
62
66
  download: PropTypes.Requireable<boolean>;
63
67
  target: PropTypes.Requireable<string>;
64
68
  }>>;
69
+ hoverBackgroundColor: PropTypes.Requireable<string>;
70
+ hoverColor: PropTypes.Requireable<string>;
65
71
  disabled: PropTypes.Requireable<boolean>;
66
72
  className: PropTypes.Requireable<string>;
67
73
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -83,6 +89,8 @@ declare const _default: {
83
89
  download: PropTypes.Requireable<boolean>;
84
90
  target: PropTypes.Requireable<string>;
85
91
  }>>;
92
+ hoverBackgroundColor: PropTypes.Requireable<string>;
93
+ hoverColor: PropTypes.Requireable<string>;
86
94
  disabled: PropTypes.Requireable<boolean>;
87
95
  className: PropTypes.Requireable<string>;
88
96
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -21,6 +21,8 @@ declare function createLayout(Template: any): {
21
21
  download: PropTypes.Requireable<boolean>;
22
22
  target: PropTypes.Requireable<string>;
23
23
  }>>;
24
+ hoverBackgroundColor: PropTypes.Requireable<string>;
25
+ hoverColor: PropTypes.Requireable<string>;
24
26
  disabled: PropTypes.Requireable<boolean>;
25
27
  className: PropTypes.Requireable<string>;
26
28
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -42,6 +44,8 @@ declare function createLayout(Template: any): {
42
44
  download: PropTypes.Requireable<boolean>;
43
45
  target: PropTypes.Requireable<string>;
44
46
  }>>;
47
+ hoverBackgroundColor: PropTypes.Requireable<string>;
48
+ hoverColor: PropTypes.Requireable<string>;
45
49
  disabled: PropTypes.Requireable<boolean>;
46
50
  className: PropTypes.Requireable<string>;
47
51
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -63,6 +67,8 @@ declare function createLayout(Template: any): {
63
67
  download: PropTypes.Requireable<boolean>;
64
68
  target: PropTypes.Requireable<string>;
65
69
  }>>;
70
+ hoverBackgroundColor: PropTypes.Requireable<string>;
71
+ hoverColor: PropTypes.Requireable<string>;
66
72
  disabled: PropTypes.Requireable<boolean>;
67
73
  className: PropTypes.Requireable<string>;
68
74
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -84,6 +90,8 @@ declare function createLayout(Template: any): {
84
90
  download: PropTypes.Requireable<boolean>;
85
91
  target: PropTypes.Requireable<string>;
86
92
  }>>;
93
+ hoverBackgroundColor: PropTypes.Requireable<string>;
94
+ hoverColor: PropTypes.Requireable<string>;
87
95
  disabled: PropTypes.Requireable<boolean>;
88
96
  className: PropTypes.Requireable<string>;
89
97
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/layout/index.js"],"names":[],"mappings":";AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/layout/index.js"],"names":[],"mappings":";AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBC"}
@@ -99,6 +99,8 @@ declare namespace Dashboard {
99
99
  download: PropTypes.Requireable<boolean>;
100
100
  target: PropTypes.Requireable<string>;
101
101
  }>>;
102
+ hoverBackgroundColor: PropTypes.Requireable<string>;
103
+ hoverColor: PropTypes.Requireable<string>;
102
104
  disabled: PropTypes.Requireable<boolean>;
103
105
  className: PropTypes.Requireable<string>;
104
106
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -124,6 +126,8 @@ declare namespace Dashboard {
124
126
  content: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
125
127
  items: PropTypes.Requireable<(PropTypes.InferProps<{
126
128
  title: PropTypes.Validator<string>;
129
+ subtitle: PropTypes.Requireable<string>;
130
+ selected: PropTypes.Requireable<boolean>;
127
131
  dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
128
132
  label: PropTypes.Requireable<string>;
129
133
  type: PropTypes.Requireable<string>;
@@ -166,6 +170,8 @@ declare namespace Dashboard {
166
170
  label: PropTypes.Requireable<string>;
167
171
  type: PropTypes.Requireable<string>;
168
172
  }> | null | undefined)[]>;
173
+ disabled: PropTypes.Requireable<boolean>;
174
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
169
175
  isBulkStyle: PropTypes.Requireable<boolean>;
170
176
  isOverflowHidden: PropTypes.Requireable<boolean>;
171
177
  order: PropTypes.Requireable<number>;
@@ -231,6 +237,8 @@ declare namespace Dashboard {
231
237
  download: PropTypes.Requireable<boolean>;
232
238
  target: PropTypes.Requireable<string>;
233
239
  }>>;
240
+ hoverBackgroundColor: PropTypes.Requireable<string>;
241
+ hoverColor: PropTypes.Requireable<string>;
234
242
  disabled: PropTypes.Requireable<boolean>;
235
243
  className: PropTypes.Requireable<string>;
236
244
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -375,6 +383,8 @@ declare namespace Dashboard {
375
383
  download: PropTypes.Requireable<boolean>;
376
384
  target: PropTypes.Requireable<string>;
377
385
  }>>;
386
+ hoverBackgroundColor: PropTypes.Requireable<string>;
387
+ hoverColor: PropTypes.Requireable<string>;
378
388
  disabled: PropTypes.Requireable<boolean>;
379
389
  className: PropTypes.Requireable<string>;
380
390
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -400,6 +410,8 @@ declare namespace Dashboard {
400
410
  content: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
401
411
  items: PropTypes.Requireable<(PropTypes.InferProps<{
402
412
  title: PropTypes.Validator<string>;
413
+ subtitle: PropTypes.Requireable<string>;
414
+ selected: PropTypes.Requireable<boolean>;
403
415
  dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
404
416
  label: PropTypes.Requireable<string>;
405
417
  type: PropTypes.Requireable<string>;
@@ -442,6 +454,8 @@ declare namespace Dashboard {
442
454
  label: PropTypes.Requireable<string>;
443
455
  type: PropTypes.Requireable<string>;
444
456
  }> | null | undefined)[]>;
457
+ disabled: PropTypes.Requireable<boolean>;
458
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
445
459
  isBulkStyle: PropTypes.Requireable<boolean>;
446
460
  isOverflowHidden: PropTypes.Requireable<boolean>;
447
461
  order: PropTypes.Requireable<number>;
@@ -507,6 +521,8 @@ declare namespace Dashboard {
507
521
  download: PropTypes.Requireable<boolean>;
508
522
  target: PropTypes.Requireable<string>;
509
523
  }>>;
524
+ hoverBackgroundColor: PropTypes.Requireable<string>;
525
+ hoverColor: PropTypes.Requireable<string>;
510
526
  disabled: PropTypes.Requireable<boolean>;
511
527
  className: PropTypes.Requireable<string>;
512
528
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -277,6 +277,8 @@ declare namespace SearchPage {
277
277
  download: PropTypes.Requireable<boolean>;
278
278
  target: PropTypes.Requireable<string>;
279
279
  }>>;
280
+ hoverBackgroundColor: PropTypes.Requireable<string>;
281
+ hoverColor: PropTypes.Requireable<string>;
280
282
  disabled: PropTypes.Requireable<boolean>;
281
283
  className: PropTypes.Requireable<string>;
282
284
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
@@ -302,6 +304,8 @@ declare namespace SearchPage {
302
304
  content: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
303
305
  items: PropTypes.Requireable<(PropTypes.InferProps<{
304
306
  title: PropTypes.Validator<string>;
307
+ subtitle: PropTypes.Requireable<string>;
308
+ selected: PropTypes.Requireable<boolean>;
305
309
  dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
306
310
  label: PropTypes.Requireable<string>;
307
311
  type: PropTypes.Requireable<string>;
@@ -344,6 +348,8 @@ declare namespace SearchPage {
344
348
  label: PropTypes.Requireable<string>;
345
349
  type: PropTypes.Requireable<string>;
346
350
  }> | null | undefined)[]>;
351
+ disabled: PropTypes.Requireable<boolean>;
352
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
347
353
  isBulkStyle: PropTypes.Requireable<boolean>;
348
354
  isOverflowHidden: PropTypes.Requireable<boolean>;
349
355
  order: PropTypes.Requireable<number>;
@@ -409,6 +415,8 @@ declare namespace SearchPage {
409
415
  download: PropTypes.Requireable<boolean>;
410
416
  target: PropTypes.Requireable<string>;
411
417
  }>>;
418
+ hoverBackgroundColor: PropTypes.Requireable<string>;
419
+ hoverColor: PropTypes.Requireable<string>;
412
420
  disabled: PropTypes.Requireable<boolean>;
413
421
  className: PropTypes.Requireable<string>;
414
422
  customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;