@coorpacademy/components 11.35.2-forcedeploy2.15 → 11.35.3-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (294) hide show
  1. package/es/atom/button-link/index.js +1 -1
  2. package/es/atom/button-link/index.js.map +1 -1
  3. package/es/atom/button-link/style.css +2 -2
  4. package/es/atom/icon/index.d.ts +17 -35
  5. package/es/atom/icon/index.d.ts.map +1 -1
  6. package/es/atom/icon/index.js +15 -32
  7. package/es/atom/icon/index.js.map +1 -1
  8. package/es/atom/radio-with-title/index.d.ts +3 -13
  9. package/es/atom/radio-with-title/index.d.ts.map +1 -1
  10. package/es/atom/radio-with-title/types.d.ts +2 -13
  11. package/es/atom/radio-with-title/types.d.ts.map +1 -1
  12. package/es/atom/status-item/index.native.js +1 -1
  13. package/es/atom/status-item/index.native.js.map +1 -1
  14. package/es/atom/tag/index.d.ts +1 -12
  15. package/es/atom/tag/style.css +0 -1
  16. package/es/atom/title/index.d.ts +2 -13
  17. package/es/molecule/banner/style.css +0 -1
  18. package/es/molecule/base-modal/style.css +1 -0
  19. package/es/molecule/bulk-progress-bar/index.js +2 -2
  20. package/es/molecule/bulk-progress-bar/index.js.map +1 -1
  21. package/es/molecule/certification-card/index.js +1 -1
  22. package/es/molecule/certification-card/index.js.map +1 -1
  23. package/es/molecule/cm-popin/types.d.ts +7 -28
  24. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  25. package/es/molecule/cm-popin/types.js +1 -1
  26. package/es/molecule/cm-popin/types.js.map +1 -1
  27. package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  28. package/es/molecule/dashboard/cards-list/index.js +0 -2
  29. package/es/molecule/dashboard/cards-list/index.js.map +1 -1
  30. package/es/molecule/icon-preview/index.d.ts.map +1 -1
  31. package/es/molecule/icon-preview/index.js +2 -1
  32. package/es/molecule/icon-preview/index.js.map +1 -1
  33. package/es/molecule/icon-preview/style.css +4 -0
  34. package/es/molecule/learner-skill-card/index.js +8 -10
  35. package/es/molecule/learner-skill-card/index.js.map +1 -1
  36. package/es/molecule/learner-skill-card/style.css +0 -1
  37. package/es/molecule/learning-priority-modal/style.css +2 -3
  38. package/es/molecule/progress-wrapper/index.js +1 -1
  39. package/es/molecule/progress-wrapper/index.js.map +1 -1
  40. package/es/molecule/skills-chart-side-information-item/index.d.ts +1 -1
  41. package/es/molecule/skills-chart-side-information-panel/index.d.ts +1 -1
  42. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -13
  43. package/es/molecule/title-radio-wrapper/index.d.ts +3 -13
  44. package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  45. package/es/molecule/title-radio-wrapper/types.d.ts +2 -13
  46. package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  47. package/es/molecule/translation-modal/index.d.ts +1 -0
  48. package/es/molecule/translation-modal/index.d.ts.map +1 -1
  49. package/es/molecule/translation-modal/index.js +7 -24
  50. package/es/molecule/translation-modal/index.js.map +1 -1
  51. package/es/organism/cards-grid/index.d.ts +10 -48
  52. package/es/organism/cards-grid/index.d.ts.map +1 -1
  53. package/es/organism/cards-grid/index.js +2 -3
  54. package/es/organism/cards-grid/index.js.map +1 -1
  55. package/es/organism/content-skill-modal/index.d.ts +3 -13
  56. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  57. package/es/organism/content-skill-modal/types.d.ts +2 -12
  58. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  59. package/es/organism/header-with-actions/index.d.ts +22 -8
  60. package/es/organism/header-with-actions/index.d.ts.map +1 -1
  61. package/es/organism/header-with-actions/index.js +85 -7
  62. package/es/organism/header-with-actions/index.js.map +1 -1
  63. package/es/organism/header-with-actions/types.d.ts +44 -13
  64. package/es/organism/header-with-actions/types.d.ts.map +1 -1
  65. package/es/organism/header-with-actions/types.js +22 -6
  66. package/es/organism/header-with-actions/types.js.map +1 -1
  67. package/es/organism/list-item/index.js +5 -5
  68. package/es/organism/list-item/index.js.map +1 -1
  69. package/es/organism/list-item/style.css +17 -23
  70. package/es/organism/list-items/index.d.ts +2 -13
  71. package/es/organism/list-items/style.css +0 -1
  72. package/es/organism/rewards-form/index.d.ts +2 -13
  73. package/es/organism/select-opponents/index.d.ts +3 -13
  74. package/es/organism/select-opponents/index.d.ts.map +1 -1
  75. package/es/organism/select-opponents/types.d.ts +2 -13
  76. package/es/organism/select-opponents/types.d.ts.map +1 -1
  77. package/es/organism/sidebar/index.d.ts +2 -2
  78. package/es/organism/skill-edition/index.d.ts +52 -1261
  79. package/es/organism/skill-edition/index.d.ts.map +1 -1
  80. package/es/organism/skill-edition/index.js +224 -3
  81. package/es/organism/skill-edition/index.js.map +1 -1
  82. package/es/organism/skill-edition/types.d.ts +117 -1268
  83. package/es/organism/skill-edition/types.d.ts.map +1 -1
  84. package/es/organism/skill-edition/types.js +59 -7
  85. package/es/organism/skill-edition/types.js.map +1 -1
  86. package/es/organism/title-and-input/index.d.ts +5 -25
  87. package/es/organism/title-and-input/index.d.ts.map +1 -1
  88. package/es/organism/title-and-input/types.d.ts +4 -24
  89. package/es/organism/title-and-input/types.d.ts.map +1 -1
  90. package/es/organism/wizard-contents/index.d.ts +2 -13
  91. package/es/template/app-player/loading/index.d.ts +6 -27
  92. package/es/template/app-player/player/index.d.ts +12 -53
  93. package/es/template/app-player/player/slides/index.d.ts +6 -27
  94. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  95. package/es/template/app-player/popin-correction/index.d.ts +6 -26
  96. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  97. package/es/template/app-player/popin-end/index.d.ts +6 -27
  98. package/es/template/app-review/index.d.ts +7 -27
  99. package/es/template/app-review/index.d.ts.map +1 -1
  100. package/es/template/app-review/player/prop-types.d.ts +6 -27
  101. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  102. package/es/template/app-review/prop-types.d.ts +6 -27
  103. package/es/template/app-review/prop-types.d.ts.map +1 -1
  104. package/es/template/back-office/brand-update/index.d.ts +799 -1385
  105. package/es/template/back-office/brand-update/index.d.ts.map +1 -1
  106. package/es/template/back-office/brand-update/index.js +16 -2
  107. package/es/template/back-office/brand-update/index.js.map +1 -1
  108. package/es/template/back-office/brand-update/style.css +4 -1
  109. package/es/template/back-office/brand-update/utils.d.ts +39 -11
  110. package/es/template/back-office/brand-update/utils.js +19 -0
  111. package/es/template/back-office/brand-update/utils.js.map +1 -1
  112. package/es/template/common/dashboard/index.d.ts +12 -53
  113. package/es/template/common/search-page/index.d.ts +6 -27
  114. package/es/template/external-course/index.d.ts +6 -27
  115. package/es/template/skill-detail/all-courses.css +2 -3
  116. package/es/template/skill-detail/all-courses.d.ts +17 -52
  117. package/es/template/skill-detail/all-courses.d.ts.map +1 -1
  118. package/es/template/skill-detail/all-courses.js +11 -12
  119. package/es/template/skill-detail/all-courses.js.map +1 -1
  120. package/es/template/skill-detail/continue-learning.css +2 -7
  121. package/es/template/skill-detail/continue-learning.d.ts +12 -25
  122. package/es/template/skill-detail/continue-learning.d.ts.map +1 -1
  123. package/es/template/skill-detail/continue-learning.js.map +1 -1
  124. package/es/template/skill-detail/index.d.ts +71 -89
  125. package/es/template/skill-detail/index.d.ts.map +1 -1
  126. package/es/template/skill-detail/index.js +55 -95
  127. package/es/template/skill-detail/index.js.map +1 -1
  128. package/es/template/skill-detail/style.css +39 -97
  129. package/es/variables/colors.css +0 -2
  130. package/es/variables/colors.d.ts +2 -3
  131. package/es/variables/colors.d.ts.map +1 -1
  132. package/es/variables/colors.js +3 -4
  133. package/es/variables/colors.js.map +1 -1
  134. package/es/variables/theme.native.js +1 -1
  135. package/es/variables/theme.native.js.map +1 -1
  136. package/lib/atom/button-link/index.js +1 -1
  137. package/lib/atom/button-link/index.js.map +1 -1
  138. package/lib/atom/button-link/style.css +2 -2
  139. package/lib/atom/icon/index.d.ts +17 -35
  140. package/lib/atom/icon/index.d.ts.map +1 -1
  141. package/lib/atom/icon/index.js +18 -34
  142. package/lib/atom/icon/index.js.map +1 -1
  143. package/lib/atom/radio-with-title/index.d.ts +3 -13
  144. package/lib/atom/radio-with-title/index.d.ts.map +1 -1
  145. package/lib/atom/radio-with-title/types.d.ts +2 -13
  146. package/lib/atom/radio-with-title/types.d.ts.map +1 -1
  147. package/lib/atom/status-item/index.native.js +1 -1
  148. package/lib/atom/status-item/index.native.js.map +1 -1
  149. package/lib/atom/tag/index.d.ts +1 -12
  150. package/lib/atom/tag/style.css +0 -1
  151. package/lib/atom/title/index.d.ts +2 -13
  152. package/lib/molecule/banner/style.css +0 -1
  153. package/lib/molecule/base-modal/style.css +1 -0
  154. package/lib/molecule/bulk-progress-bar/index.js +2 -2
  155. package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
  156. package/lib/molecule/certification-card/index.js +1 -1
  157. package/lib/molecule/certification-card/index.js.map +1 -1
  158. package/lib/molecule/cm-popin/types.d.ts +7 -28
  159. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  160. package/lib/molecule/cm-popin/types.js +1 -1
  161. package/lib/molecule/cm-popin/types.js.map +1 -1
  162. package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  163. package/lib/molecule/dashboard/cards-list/index.js +0 -2
  164. package/lib/molecule/dashboard/cards-list/index.js.map +1 -1
  165. package/lib/molecule/icon-preview/index.d.ts.map +1 -1
  166. package/lib/molecule/icon-preview/index.js +2 -1
  167. package/lib/molecule/icon-preview/index.js.map +1 -1
  168. package/lib/molecule/icon-preview/style.css +4 -0
  169. package/lib/molecule/learner-skill-card/index.js +8 -10
  170. package/lib/molecule/learner-skill-card/index.js.map +1 -1
  171. package/lib/molecule/learner-skill-card/style.css +0 -1
  172. package/lib/molecule/learning-priority-modal/style.css +2 -3
  173. package/lib/molecule/progress-wrapper/index.js +1 -1
  174. package/lib/molecule/progress-wrapper/index.js.map +1 -1
  175. package/lib/molecule/skills-chart-side-information-item/index.d.ts +1 -1
  176. package/lib/molecule/skills-chart-side-information-panel/index.d.ts +1 -1
  177. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -13
  178. package/lib/molecule/title-radio-wrapper/index.d.ts +3 -13
  179. package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  180. package/lib/molecule/title-radio-wrapper/types.d.ts +2 -13
  181. package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  182. package/lib/molecule/translation-modal/index.d.ts +1 -0
  183. package/lib/molecule/translation-modal/index.d.ts.map +1 -1
  184. package/lib/molecule/translation-modal/index.js +6 -23
  185. package/lib/molecule/translation-modal/index.js.map +1 -1
  186. package/lib/organism/cards-grid/index.d.ts +10 -48
  187. package/lib/organism/cards-grid/index.d.ts.map +1 -1
  188. package/lib/organism/cards-grid/index.js +2 -3
  189. package/lib/organism/cards-grid/index.js.map +1 -1
  190. package/lib/organism/content-skill-modal/index.d.ts +3 -13
  191. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  192. package/lib/organism/content-skill-modal/types.d.ts +2 -12
  193. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  194. package/lib/organism/header-with-actions/index.d.ts +22 -8
  195. package/lib/organism/header-with-actions/index.d.ts.map +1 -1
  196. package/lib/organism/header-with-actions/index.js +85 -7
  197. package/lib/organism/header-with-actions/index.js.map +1 -1
  198. package/lib/organism/header-with-actions/types.d.ts +44 -13
  199. package/lib/organism/header-with-actions/types.d.ts.map +1 -1
  200. package/lib/organism/header-with-actions/types.js +22 -6
  201. package/lib/organism/header-with-actions/types.js.map +1 -1
  202. package/lib/organism/list-item/index.js +5 -5
  203. package/lib/organism/list-item/index.js.map +1 -1
  204. package/lib/organism/list-item/style.css +17 -23
  205. package/lib/organism/list-items/index.d.ts +2 -13
  206. package/lib/organism/list-items/style.css +0 -1
  207. package/lib/organism/rewards-form/index.d.ts +2 -13
  208. package/lib/organism/select-opponents/index.d.ts +3 -13
  209. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  210. package/lib/organism/select-opponents/types.d.ts +2 -13
  211. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  212. package/lib/organism/sidebar/index.d.ts +2 -2
  213. package/lib/organism/skill-edition/index.d.ts +52 -1261
  214. package/lib/organism/skill-edition/index.d.ts.map +1 -1
  215. package/lib/organism/skill-edition/index.js +224 -3
  216. package/lib/organism/skill-edition/index.js.map +1 -1
  217. package/lib/organism/skill-edition/types.d.ts +117 -1268
  218. package/lib/organism/skill-edition/types.d.ts.map +1 -1
  219. package/lib/organism/skill-edition/types.js +59 -7
  220. package/lib/organism/skill-edition/types.js.map +1 -1
  221. package/lib/organism/title-and-input/index.d.ts +5 -25
  222. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  223. package/lib/organism/title-and-input/types.d.ts +4 -24
  224. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  225. package/lib/organism/wizard-contents/index.d.ts +2 -13
  226. package/lib/template/app-player/loading/index.d.ts +6 -27
  227. package/lib/template/app-player/player/index.d.ts +12 -53
  228. package/lib/template/app-player/player/slides/index.d.ts +6 -27
  229. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  230. package/lib/template/app-player/popin-correction/index.d.ts +6 -26
  231. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  232. package/lib/template/app-player/popin-end/index.d.ts +6 -27
  233. package/lib/template/app-review/index.d.ts +7 -27
  234. package/lib/template/app-review/index.d.ts.map +1 -1
  235. package/lib/template/app-review/player/prop-types.d.ts +6 -27
  236. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  237. package/lib/template/app-review/prop-types.d.ts +6 -27
  238. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  239. package/lib/template/back-office/brand-update/index.d.ts +799 -1385
  240. package/lib/template/back-office/brand-update/index.d.ts.map +1 -1
  241. package/lib/template/back-office/brand-update/index.js +16 -2
  242. package/lib/template/back-office/brand-update/index.js.map +1 -1
  243. package/lib/template/back-office/brand-update/style.css +4 -1
  244. package/lib/template/back-office/brand-update/utils.d.ts +39 -11
  245. package/lib/template/back-office/brand-update/utils.js +19 -0
  246. package/lib/template/back-office/brand-update/utils.js.map +1 -1
  247. package/lib/template/common/dashboard/index.d.ts +12 -53
  248. package/lib/template/common/search-page/index.d.ts +6 -27
  249. package/lib/template/external-course/index.d.ts +6 -27
  250. package/lib/template/skill-detail/all-courses.css +2 -3
  251. package/lib/template/skill-detail/all-courses.d.ts +17 -52
  252. package/lib/template/skill-detail/all-courses.d.ts.map +1 -1
  253. package/lib/template/skill-detail/all-courses.js +11 -11
  254. package/lib/template/skill-detail/all-courses.js.map +1 -1
  255. package/lib/template/skill-detail/continue-learning.css +2 -7
  256. package/lib/template/skill-detail/continue-learning.d.ts +12 -25
  257. package/lib/template/skill-detail/continue-learning.d.ts.map +1 -1
  258. package/lib/template/skill-detail/continue-learning.js.map +1 -1
  259. package/lib/template/skill-detail/index.d.ts +71 -89
  260. package/lib/template/skill-detail/index.d.ts.map +1 -1
  261. package/lib/template/skill-detail/index.js +55 -95
  262. package/lib/template/skill-detail/index.js.map +1 -1
  263. package/lib/template/skill-detail/style.css +39 -97
  264. package/lib/variables/colors.css +0 -2
  265. package/lib/variables/colors.d.ts +2 -3
  266. package/lib/variables/colors.d.ts.map +1 -1
  267. package/lib/variables/colors.js +3 -4
  268. package/lib/variables/colors.js.map +1 -1
  269. package/lib/variables/theme.native.js +1 -1
  270. package/lib/variables/theme.native.js.map +1 -1
  271. package/locales/.mtslconfig.json +1 -0
  272. package/locales/bs/global.json +1 -0
  273. package/locales/de/global.json +1 -0
  274. package/locales/es/global.json +1 -0
  275. package/locales/et/global.json +1 -0
  276. package/locales/fi/global.json +1 -0
  277. package/locales/fr/global.json +1 -0
  278. package/locales/hu/global.json +1 -0
  279. package/locales/hy/global.json +1 -0
  280. package/locales/ja/global.json +1 -0
  281. package/locales/nl/global.json +1 -0
  282. package/locales/pl/global.json +1 -0
  283. package/locales/pt/global.json +1 -0
  284. package/locales/ro/global.json +1 -0
  285. package/locales/sk/global.json +1 -0
  286. package/locales/sl/global.json +1 -0
  287. package/locales/sv/global.json +1 -0
  288. package/locales/tl/global.json +1 -0
  289. package/locales/tr/global.json +1 -0
  290. package/locales/uk/global.json +1 -0
  291. package/locales/vi/global.json +1 -0
  292. package/locales/zh/global.json +1 -0
  293. package/locales/zh_TW/global.json +1 -0
  294. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-update/index.js"],"names":[],"mappings":";AA6OA,sDAgDC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/brand-update/index.js"],"names":[],"mappings":";AAqPA,sDAgDC"}
@@ -29,6 +29,8 @@ import BulkInfos from '../../../molecule/bulk-infos';
29
29
  import Title from '../../../atom/title';
30
30
  import SkillEdition from '../../../organism/skill-edition';
31
31
  import IconPickerModal from '../../../molecule/icon-picker-modal';
32
+ import TranslationModal from '../../../molecule/translation-modal';
33
+ import ContentSkillModal from '../../../organism/content-skill-modal';
32
34
  import style from './style.css';
33
35
  import { POPIN_THEMES } from './utils';
34
36
  const getStyle = isSelected => isSelected ? style.selectedElement : style.unselectedElement;
@@ -100,7 +102,9 @@ const buildNotifications = notifications => {
100
102
  const buildHeader = header => {
101
103
  return /*#__PURE__*/React.createElement("div", {
102
104
  className: style.header
103
- }, header.type === 'header-with-actions' ? /*#__PURE__*/React.createElement(HeaderWithActions, header) : /*#__PURE__*/React.createElement(Header, header));
105
+ }, header.type === 'header-with-actions' ? /*#__PURE__*/React.createElement(HeaderWithActions, header) : /*#__PURE__*/React.createElement("div", {
106
+ className: style.headerStickyDefault
107
+ }, /*#__PURE__*/React.createElement(Header, header)));
104
108
  };
105
109
  const buildDefaultPopin = popin => {
106
110
  const {
@@ -127,6 +131,10 @@ const buildPopin = popin => {
127
131
  switch (popin.type) {
128
132
  case 'icon-picker':
129
133
  return /*#__PURE__*/React.createElement(IconPickerModal, popin);
134
+ case 'translation':
135
+ return /*#__PURE__*/React.createElement(TranslationModal, popin);
136
+ case 'content':
137
+ return /*#__PURE__*/React.createElement(ContentSkillModal, popin);
130
138
  default:
131
139
  return buildDefaultPopin(popin);
132
140
  }
@@ -344,10 +352,16 @@ BrandUpdate.propTypes = process.env.NODE_ENV !== "production" ? {
344
352
  }),
345
353
  popin: PropTypes.oneOfType([PropTypes.shape({
346
354
  ...CmPopin.propTypes,
347
- theme: PropTypes.oneOf(['published', 'archived', 'deleted'])
355
+ theme: PropTypes.oneOf(['published', 'archived', 'deleted', 'draft'])
348
356
  }), PropTypes.shape({
349
357
  ...IconPickerModal.propTypes,
350
358
  type: PropTypes.oneOf(['icon-picker'])
359
+ }), PropTypes.shape({
360
+ ...TranslationModal.propTypes,
361
+ type: PropTypes.oneOf(['translation'])
362
+ }), PropTypes.shape({
363
+ ...ContentSkillModal.propTypes,
364
+ type: PropTypes.oneOf(['content'])
351
365
  })]),
352
366
  details: PropTypes.shape({
353
367
  ...BrandTable.propTypes,
@@ -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","BrandLearningPriorities","Banner","Header","HeaderWithActions","Loader","Accordion","CmPopin","ButtonLinkIcon","ExpandibleActionableTable","BulkInfos","Title","SkillEdition","IconPickerModal","style","POPIN_THEMES","getStyle","isSelected","selectedElement","unselectedElement","subTabsView","_subTabs","convert","cap","subTab","_index","createElement","key","title","type","_extends","styles","selected","uppercase","target","setChildrenAsHtml","buildLeftNavigation","logo","items","onItemClick","formattedTabs","href","index","children","iconType","formattedTabsViews","tab","className","tabs","navigation","src","tabProps","theme","onClick","buildNotifications","notifications","notificationsList","notification","temporary","permanentNotification","permanentNotifications","buildHeader","header","buildDefaultPopin","popin","icon","popinIcon","secondButton","popinSecondButton","themeIcon","actionButton","themeActionButton","buildPopin","buildDocumentation","documentation","show","onClose","content","open","documentationContent","dangerouslySetInnerHTML","__html","closeButton","size","buildTabs","selectedTab","e","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","buildTitle","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","titleView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","process","env","NODE_ENV","arrayOf","shape","oneOfType","oneOf","isRequired","string","bool","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 HeaderWithActions from '../../../organism/header-with-actions';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport ButtonLinkIcon from '../../../atom/button-link-icon';\nimport ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';\nimport BulkInfos from '../../../molecule/bulk-infos';\nimport Title from '../../../atom/title';\nimport SkillEdition from '../../../organism/skill-edition';\nimport IconPickerModal from '../../../molecule/icon-picker-modal';\nimport style from './style.css';\nimport {POPIN_THEMES} from './utils';\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.type === 'header-with-actions' ? (\n <HeaderWithActions {...header} />\n ) : (\n <Header {...header} />\n )}\n </div>\n );\n};\n\nconst buildDefaultPopin = popin => {\n const {theme, icon: popinIcon, secondButton: popinSecondButton} = popin;\n const {icon: themeIcon, actionButton: themeActionButton} = POPIN_THEMES[theme] ?? {};\n\n return (\n <div className={style.popin}>\n <CmPopin\n {...popin}\n icon={popinIcon || themeIcon}\n secondButton={{...popinSecondButton, ...themeActionButton}}\n />\n </div>\n );\n};\n\nconst buildPopin = popin => {\n if (isEmpty(popin)) return;\n\n switch (popin.type) {\n case 'icon-picker':\n return <IconPickerModal {...popin} />;\n default:\n return buildDefaultPopin(popin);\n }\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 <ButtonLinkIcon\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 case 'skill-edition':\n return <SkillEdition {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst buildTitle = title => {\n if (isEmpty(title)) return;\n return (\n <div className={style.title}>\n <Title {...title} />\n </div>\n );\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 title\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 const titleView = buildTitle(title);\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 {titleView}\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.oneOfType([\n PropTypes.shape({...Header.propTypes}),\n PropTypes.shape({\n ...HeaderWithActions.propTypes,\n type: PropTypes.oneOf(['header-with-actions']).isRequired\n })\n ]),\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 PropTypes.shape({\n ...SkillEdition.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['skill-edition'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\n }),\n popin: PropTypes.oneOfType([\n PropTypes.shape({\n ...CmPopin.propTypes,\n theme: PropTypes.oneOf(['published', 'archived', 'deleted'])\n }),\n PropTypes.shape({\n ...IconPickerModal.propTypes,\n type: PropTypes.oneOf(['icon-picker'])\n })\n ]),\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 title: PropTypes.shape(Title.propTypes)\n};\n\nexport default BrandUpdate;\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,GAAG,MAAM,eAAe;AAC/B,OAAOC,OAAO,MAAM,mBAAmB;AACvC,OAAOC,IAAI,MAAM,gBAAgB;AACjC,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,SAAS,MAAM,8BAA8B;AACpD,SAAQC,YAAY,EAAEC,QAAQ,QAAO,2BAA2B;AAChE,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,UAAU,MAAM,+BAA+B;AACtD,OAAOC,WAAW,MAAM,gCAAgC;AACxD,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,cAAc,MAAM,mCAAmC;AAC9D,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,uBAAuB,MAAM,6CAA6C;AACjF,OAAOC,MAAM,MAAM,0BAA0B;AAC7C,OAAOC,MAAM,MAAM,gCAAgC;AACnD,OAAOC,iBAAiB,MAAM,uCAAuC;AACrE,OAAOC,MAAM,MAAM,sBAAsB;AACzC,OAAOC,SAAS,MAAM,2CAA2C;AACjE,OAAOC,OAAO,MAAM,4BAA4B;AAChD,OAAOC,cAAc,MAAM,gCAAgC;AAC3D,OAAOC,yBAAyB,MAAM,+CAA+C;AACrF,OAAOC,SAAS,MAAM,8BAA8B;AACpD,OAAOC,KAAK,MAAM,qB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CAAC;IACd,GAAG5G,YAAY,CAACuG,SAAS;IACzBxF,GAAG,EAAE3C,SAAS,CAAC4I,MAAM;IACrB/F,IAAI,EAAE7C,SAAS,CAAC0I,KAAK,CAAC,CAAC,eAAe,CAAC;EACzC,CAAC,CAAC,CACH,CAAC;EACFhD,aAAa,EAAE1F,SAAS,CAACwI,KAAK,CAAC;IAC7B3C,OAAO,EAAE7F,SAAS,CAAC4I,MAAM;IACzBjD,IAAI,EAAE3F,SAAS,CAAC6I,IAAI;IACpBjD,OAAO,EAAE5F,SAAS,CAAC8I;EACrB,CAAC,CAAC;EACF9D,KAAK,EAAEhF,SAAS,CAACyI,SAAS,CAAC,CACzBzI,SAAS,CAACwI,KAAK,CAAC;IACd,GAAGjH,OAAO,CAAC4G,SAAS;IACpB/D,KAAK,EAAEpE,SAAS,CAAC0I,KAAK,CAAC,CAAC,WAAW,EAAE,UAAU,EAAE,SAAS,CAAC;EAC7D,CAAC,CAAC,EACF1I,SAAS,CAACwI,KAAK,CAAC;IACd,GAAG3G,eAAe,CAACsG,SAAS;IAC5BtF,IAAI,EAAE7C,SAAS,CAAC0I,KAAK,CAAC,CAAC,aAAa,CAAC;EACvC,CAAC,CAAC,CACH,CAAC;EACF5B,OAAO,EAAE9G,SAAS,CAACwI,KAAK,CAAC;IACvB,GAAG7H,UAAU,CAACwH,SAAS;IACvBxF,GAAG,EAAE3C,SAAS,CAAC4I,MAAM;IACrB/F,IAAI,EAAE7C,SAAS,CAAC0I,KAAK,CAAC,CAAC,MAAM,CAAC;EAChC,CAAC,CAAC;EACFnF,WAAW,EAAEvD,SAAS,CAAC8I,IAAI;EAC3B5B,gBAAgB,EAAElH,SAAS,CAAC6I,IAAI;EAChCjG,KAAK,EAAE5C,SAAS,CAACwI,KAAK,CAAC7G,KAAK,CAACwG,SAAS;AACxC,CAAC;AAED,eAAenB,WAAW","ignoreList":[]}
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","HeaderWithActions","Loader","Accordion","CmPopin","ButtonLinkIcon","ExpandibleActionableTable","BulkInfos","Title","SkillEdition","IconPickerModal","TranslationModal","ContentSkillModal","style","POPIN_THEMES","getStyle","isSelected","selectedElement","unselectedElement","subTabsView","_subTabs","convert","cap","subTab","_index","createElement","key","title","type","_extends","styles","selected","uppercase","target","setChildrenAsHtml","buildLeftNavigation","logo","items","onItemClick","formattedTabs","href","index","children","iconType","formattedTabsViews","tab","className","tabs","navigation","src","tabProps","theme","onClick","buildNotifications","notifications","notificationsList","notification","temporary","permanentNotification","permanentNotifications","buildHeader","header","headerStickyDefault","buildDefaultPopin","popin","icon","popinIcon","secondButton","popinSecondButton","themeIcon","actionButton","themeActionButton","buildPopin","buildDocumentation","documentation","show","onClose","content","open","documentationContent","dangerouslySetInnerHTML","__html","closeButton","size","buildTabs","selectedTab","e","showTabs","subTabs","undefined","buildContentView","loaderContainer","loader","buildDetailsView","details","buildTitle","BrandUpdate","props","contentFixHeight","leftNavigation","notificationsView","documentationView","headerView","tabsView","contentView","detailsView","popinView","titleView","contentStyle","contentWithNotifications","container","left","contentWrapper","headerSticky","defaultProps","propTypes","process","env","NODE_ENV","arrayOf","shape","oneOfType","oneOf","isRequired","string","bool","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 HeaderWithActions from '../../../organism/header-with-actions';\nimport Loader from '../../../atom/loader';\nimport Accordion from '../../../organism/accordion/coorp-manager';\nimport CmPopin from '../../../molecule/cm-popin';\nimport ButtonLinkIcon from '../../../atom/button-link-icon';\nimport ExpandibleActionableTable from '../../../molecule/expandible-actionable-table';\nimport BulkInfos from '../../../molecule/bulk-infos';\nimport Title from '../../../atom/title';\nimport SkillEdition from '../../../organism/skill-edition';\nimport IconPickerModal from '../../../molecule/icon-picker-modal';\nimport TranslationModal from '../../../molecule/translation-modal';\nimport ContentSkillModal from '../../../organism/content-skill-modal';\nimport style from './style.css';\nimport {POPIN_THEMES} from './utils';\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.type === 'header-with-actions' ? (\n <HeaderWithActions {...header} />\n ) : (\n <div className={style.headerStickyDefault}>\n <Header {...header} />\n </div>\n )}\n </div>\n );\n};\n\nconst buildDefaultPopin = popin => {\n const {theme, icon: popinIcon, secondButton: popinSecondButton} = popin;\n const {icon: themeIcon, actionButton: themeActionButton} = POPIN_THEMES[theme] ?? {};\n\n return (\n <div className={style.popin}>\n <CmPopin\n {...popin}\n icon={popinIcon || themeIcon}\n secondButton={{...popinSecondButton, ...themeActionButton}}\n />\n </div>\n );\n};\n\nconst buildPopin = popin => {\n if (isEmpty(popin)) return;\n\n switch (popin.type) {\n case 'icon-picker':\n return <IconPickerModal {...popin} />;\n case 'translation':\n return <TranslationModal {...popin} />;\n case 'content':\n return <ContentSkillModal {...popin} />;\n default:\n return buildDefaultPopin(popin);\n }\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 <ButtonLinkIcon\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 case 'skill-edition':\n return <SkillEdition {...content} />;\n }\n};\n\nconst buildDetailsView = details => {\n if (!details) return;\n return <BrandTable {...details} />;\n};\n\nconst buildTitle = title => {\n if (isEmpty(title)) return;\n return (\n <div className={style.title}>\n <Title {...title} />\n </div>\n );\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 title\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 const titleView = buildTitle(title);\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 {titleView}\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.oneOfType([\n PropTypes.shape({...Header.propTypes}),\n PropTypes.shape({\n ...HeaderWithActions.propTypes,\n type: PropTypes.oneOf(['header-with-actions']).isRequired\n })\n ]),\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 PropTypes.shape({\n ...SkillEdition.propTypes,\n key: PropTypes.string,\n type: PropTypes.oneOf(['skill-edition'])\n })\n ]),\n documentation: PropTypes.shape({\n content: PropTypes.string,\n show: PropTypes.bool,\n onClose: PropTypes.func\n }),\n popin: PropTypes.oneOfType([\n PropTypes.shape({\n ...CmPopin.propTypes,\n theme: PropTypes.oneOf(['published', 'archived', 'deleted', 'draft'])\n }),\n PropTypes.shape({\n ...IconPickerModal.propTypes,\n type: PropTypes.oneOf(['icon-picker'])\n }),\n PropTypes.shape({\n ...TranslationModal.propTypes,\n type: PropTypes.oneOf(['translation'])\n }),\n PropTypes.shape({\n ...ContentSkillModal.propTypes,\n type: PropTypes.oneOf(['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 contentFixHeight: PropTypes.bool,\n title: PropTypes.shape(Title.propTypes)\n};\n\nexport default BrandUpdate;\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SA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AS,CAAC+I,MAAM;IACrBhG,IAAI,EAAE/C,SAAS,CAAC6I,KAAK,CAAC,CAAC,MAAM,CAAC;EAChC,CAAC,CAAC;EACFpF,WAAW,EAAEzD,SAAS,CAACiJ,IAAI;EAC3B5B,gBAAgB,EAAErH,SAAS,CAACgJ,IAAI;EAChClG,KAAK,EAAE9C,SAAS,CAAC2I,KAAK,CAAChH,KAAK,CAAC2G,SAAS;AACxC,CAAC;AAED,eAAenB,WAAW","ignoreList":[]}
@@ -41,11 +41,14 @@
41
41
  }
42
42
 
43
43
  .headerSticky {
44
- overflow: hidden;
45
44
  background-color: white;
46
45
  position: fixed;
47
46
  width: calc(100% - 351px);
48
47
  z-index: 999;
48
+ }
49
+
50
+ .headerStickyDefault {
51
+ overflow: hidden;
49
52
  pointer-events: none;
50
53
  }
51
54
 
@@ -17,7 +17,7 @@ export namespace POPIN_THEMES {
17
17
  const position: string;
18
18
  namespace faIcon {
19
19
  const name: string;
20
- const color: "#FFFFFF";
20
+ const color: "#ffffff";
21
21
  const size: number;
22
22
  namespace customStyle {
23
23
  const padding: number;
@@ -29,6 +29,25 @@ export namespace POPIN_THEMES {
29
29
  export const type: string;
30
30
  }
31
31
  }
32
+ namespace draft {
33
+ import icon_4 = ICON_PROPS.draft;
34
+ export { icon_4 as icon };
35
+ export namespace actionButton_1 {
36
+ export namespace icon_5 {
37
+ const position_1: string;
38
+ export { position_1 as position };
39
+ export namespace faIcon_1 {
40
+ const name_1: string;
41
+ export { name_1 as name };
42
+ }
43
+ export { faIcon_1 as faIcon };
44
+ }
45
+ export { icon_5 as icon };
46
+ const type_1: string;
47
+ export { type_1 as type };
48
+ }
49
+ export { actionButton_1 as actionButton };
50
+ }
32
51
  }
33
52
  declare namespace ICON_PROPS {
34
53
  export namespace published_1 {
@@ -60,20 +79,29 @@ declare namespace ICON_PROPS {
60
79
  export { preset_2 as preset };
61
80
  }
62
81
  export { deleted_1 as deleted };
82
+ export namespace draft_1 {
83
+ const iconName_3: string;
84
+ export { iconName_3 as iconName };
85
+ const iconColor_3: "#A38300";
86
+ export { iconColor_3 as iconColor };
87
+ const backgroundColor_3: "#FFF9D1";
88
+ export { backgroundColor_3 as backgroundColor };
89
+ const preset_3: string;
90
+ export { preset_3 as preset };
91
+ }
92
+ export { draft_1 as draft };
63
93
  }
64
94
  declare namespace COMMUN_ACTION_BUTTON_PROPS {
65
- export namespace icon_4 {
66
- const position_1: string;
67
- export { position_1 as position };
68
- export namespace faIcon_1 {
69
- const name_1: string;
70
- export { name_1 as name };
95
+ export namespace icon_6 {
96
+ const position_2: string;
97
+ export { position_2 as position };
98
+ export namespace faIcon_2 {
99
+ const name_2: string;
100
+ export { name_2 as name };
71
101
  }
72
- export { faIcon_1 as faIcon };
102
+ export { faIcon_2 as faIcon };
73
103
  }
74
- export { icon_4 as icon };
75
- const type_1: string;
76
- export { type_1 as type };
104
+ export { icon_6 as icon };
77
105
  }
78
106
  export {};
79
107
  //# sourceMappingURL=utils.d.ts.map
@@ -32,6 +32,12 @@ const ICON_PROPS = {
32
32
  iconColor: COLORS.red_700,
33
33
  backgroundColor: COLORS.red_100,
34
34
  preset: 'xl'
35
+ },
36
+ draft: {
37
+ iconName: 'circle-exclamation',
38
+ iconColor: COLORS.yellow_700,
39
+ backgroundColor: COLORS.yellow_100,
40
+ preset: 'xl'
35
41
  }
36
42
  };
37
43
  export const POPIN_THEMES = {
@@ -55,6 +61,19 @@ export const POPIN_THEMES = {
55
61
  },
56
62
  type: 'dangerous'
57
63
  }
64
+ },
65
+ draft: {
66
+ icon: ICON_PROPS.draft,
67
+ actionButton: {
68
+ ...COMMUN_ACTION_BUTTON_PROPS,
69
+ icon: {
70
+ position: 'left',
71
+ faIcon: {
72
+ ...COMMUN_ACTION_BUTTON_PROPS.icon.faIcon,
73
+ name: 'floppy-disk'
74
+ }
75
+ }
76
+ }
58
77
  }
59
78
  };
60
79
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","names":["COLORS","COMMUN_ACTION_BUTTON_PROPS","icon","position","faIcon","name","color","white","size","customStyle","padding","alignItems","type","ICON_PROPS","published","iconName","iconColor","cm_grey_500","backgroundColor","gray","preset","archived","yellow_700","yellow_100","deleted","red_700","red_100","POPIN_THEMES","actionButton"],"sources":["../../../../src/template/back-office/brand-update/utils.js"],"sourcesContent":["import {COLORS} from '../../../variables/colors';\n\nconst COMMUN_ACTION_BUTTON_PROPS = {\n icon: {\n position: 'left',\n faIcon: {\n name: 'circle-check',\n color: COLORS.white,\n size: 14,\n customStyle: {\n padding: 0,\n alignItems: 'baseline'\n }\n }\n },\n type: 'primary'\n};\n\nconst ICON_PROPS = {\n published: {\n iconName: 'cloud-arrow-up',\n iconColor: COLORS.cm_grey_500,\n backgroundColor: COLORS.gray,\n preset: 'xl'\n },\n archived: {\n iconName: 'circle-exclamation',\n iconColor: COLORS.yellow_700,\n backgroundColor: COLORS.yellow_100,\n preset: 'xl'\n },\n deleted: {\n iconName: 'triangle-exclamation',\n iconColor: COLORS.red_700,\n backgroundColor: COLORS.red_100,\n preset: 'xl'\n }\n};\n\nexport const POPIN_THEMES = {\n published: {\n icon: ICON_PROPS.published,\n actionButton: COMMUN_ACTION_BUTTON_PROPS\n },\n archived: {\n icon: ICON_PROPS.archived,\n actionButton: COMMUN_ACTION_BUTTON_PROPS\n },\n deleted: {\n icon: ICON_PROPS.deleted,\n actionButton: {\n icon: {\n position: 'left',\n faIcon: {\n ...COMMUN_ACTION_BUTTON_PROPS.icon.faIcon,\n name: 'trash'\n }\n },\n type: 'dangerous'\n }\n }\n};\n"],"mappings":"AAAA,SAAQA,MAAM,QAAO,2BAA2B;AAEhD,MAAMC,0BAA0B,GAAG;EACjCC,IAAI,EAAE;IACJC,QAAQ,EAAE,MAAM;IAChBC,MAAM,EAAE;MACNC,IAAI,EAAE,cAAc;MACpBC,KAAK,EAAEN,MAAM,CAACO,KAAK;MACnBC,IAAI,EAAE,EAAE;MACRC,WAAW,EAAE;QACXC,OAAO,EAAE,CAAC;QACVC,UAAU,EAAE;MACd;IACF;EACF,CAAC;EACDC,IAAI,EAAE;AACR,CAAC;AAED,MAAMC,UAAU,GAAG;EACjBC,SAAS,EAAE;IACTC,QAAQ,EAAE,gBAAgB;IAC1BC,SAAS,EAAEhB,MAAM,CAACiB,WAAW;IAC7BC,eAAe,EAAElB,MAAM,CAACmB,IAAI;IAC5BC,MAAM,EAAE;EACV,CAAC;EACDC,QAAQ,EAAE;IACRN,QAAQ,EAAE,oBAAoB;IAC9BC,SAAS,EAAEhB,MAAM,CAACsB,UAAU;IAC5BJ,eAAe,EAAElB,MAAM,CAACuB,UAAU;IAClCH,MAAM,EAAE;EACV,CAAC;EACDI,OAAO,EAAE;IACPT,QAAQ,EAAE,sBAAsB;IAChCC,SAAS,EAAEhB,MAAM,CAACyB,OAAO;IACzBP,eAAe,EAAElB,MAAM,CAAC0B,OAAO;IAC/BN,MAAM,EAAE;EACV;AACF,CAAC;AAED,OAAO,MAAMO,YAAY,GAAG;EAC1Bb,SAAS,EAAE;IACTZ,IAAI,EAAEW,UAAU,CAACC,SAAS;IAC1Bc,YAAY,EAAE3B;EAChB,CAAC;EACDoB,QAAQ,EAAE;IACRnB,IAAI,EAAEW,UAAU,CAACQ,QAAQ;IACzBO,YAAY,EAAE3B;EAChB,CAAC;EACDuB,OAAO,EAAE;IACPtB,IAAI,EAAEW,UAAU,CAACW,OAAO;IACxBI,YAAY,EAAE;MACZ1B,IAAI,EAAE;QACJC,QAAQ,EAAE,MAAM;QAChBC,MAAM,EAAE;UACN,GAAGH,0BAA0B,CAACC,IAAI,CAACE,MAAM;UACzCC,IAAI,EAAE;QACR;MACF,CAAC;MACDO,IAAI,EAAE;IACR;EACF;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"utils.js","names":["COLORS","COMMUN_ACTION_BUTTON_PROPS","icon","position","faIcon","name","color","white","size","customStyle","padding","alignItems","type","ICON_PROPS","published","iconName","iconColor","cm_grey_500","backgroundColor","gray","preset","archived","yellow_700","yellow_100","deleted","red_700","red_100","draft","POPIN_THEMES","actionButton"],"sources":["../../../../src/template/back-office/brand-update/utils.js"],"sourcesContent":["import {COLORS} from '../../../variables/colors';\n\nconst COMMUN_ACTION_BUTTON_PROPS = {\n icon: {\n position: 'left',\n faIcon: {\n name: 'circle-check',\n color: COLORS.white,\n size: 14,\n customStyle: {\n padding: 0,\n alignItems: 'baseline'\n }\n }\n },\n type: 'primary'\n};\n\nconst ICON_PROPS = {\n published: {\n iconName: 'cloud-arrow-up',\n iconColor: COLORS.cm_grey_500,\n backgroundColor: COLORS.gray,\n preset: 'xl'\n },\n archived: {\n iconName: 'circle-exclamation',\n iconColor: COLORS.yellow_700,\n backgroundColor: COLORS.yellow_100,\n preset: 'xl'\n },\n deleted: {\n iconName: 'triangle-exclamation',\n iconColor: COLORS.red_700,\n backgroundColor: COLORS.red_100,\n preset: 'xl'\n },\n draft: {\n iconName: 'circle-exclamation',\n iconColor: COLORS.yellow_700,\n backgroundColor: COLORS.yellow_100,\n preset: 'xl'\n }\n};\n\nexport const POPIN_THEMES = {\n published: {\n icon: ICON_PROPS.published,\n actionButton: COMMUN_ACTION_BUTTON_PROPS\n },\n archived: {\n icon: ICON_PROPS.archived,\n actionButton: COMMUN_ACTION_BUTTON_PROPS\n },\n deleted: {\n icon: ICON_PROPS.deleted,\n actionButton: {\n icon: {\n position: 'left',\n faIcon: {\n ...COMMUN_ACTION_BUTTON_PROPS.icon.faIcon,\n name: 'trash'\n }\n },\n type: 'dangerous'\n }\n },\n draft: {\n icon: ICON_PROPS.draft,\n actionButton: {\n ...COMMUN_ACTION_BUTTON_PROPS,\n icon: {\n position: 'left',\n faIcon: {\n ...COMMUN_ACTION_BUTTON_PROPS.icon.faIcon,\n name: 'floppy-disk'\n }\n }\n }\n }\n};\n"],"mappings":"AAAA,SAAQA,MAAM,QAAO,2BAA2B;AAEhD,MAAMC,0BAA0B,GAAG;EACjCC,IAAI,EAAE;IACJC,QAAQ,EAAE,MAAM;IACh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ChBC,MAAM,EAAE;UACN,GAAGH,0BAA0B,CAACC,IAAI,CAACE,MAAM;UACzCC,IAAI,EAAE;QACR;MACF,CAAC;MACDO,IAAI,EAAE;IACR;EACF,CAAC;EACDe,KAAK,EAAE;IACLzB,IAAI,EAAEW,UAAU,CAACc,KAAK;IACtBE,YAAY,EAAE;MACZ,GAAG5B,0BAA0B;MAC7BC,IAAI,EAAE;QACJC,QAAQ,EAAE,MAAM;QAChBC,MAAM,EAAE;UACN,GAAGH,0BAA0B,CAACC,IAAI,CAACE,MAAM;UACzCC,IAAI,EAAE;QACR;MACF;IACF;EACF;AACF,CAAC","ignoreList":[]}
@@ -19,7 +19,7 @@ declare namespace Dashboard {
19
19
  'data-name': PropTypes.Requireable<string>;
20
20
  titleSize: PropTypes.Requireable<string>;
21
21
  subtitleSize: PropTypes.Requireable<string>;
22
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
22
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
23
23
  tag: PropTypes.Requireable<PropTypes.InferProps<{
24
24
  label: PropTypes.Requireable<string>;
25
25
  type: PropTypes.Requireable<string>;
@@ -27,17 +27,7 @@ declare namespace Dashboard {
27
27
  customStyle: PropTypes.Requireable<{
28
28
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
29
29
  }>;
30
- icon: PropTypes.Requireable<PropTypes.InferProps<{
31
- position: PropTypes.Requireable<string>;
32
- iconName?: React.Validator<string> | undefined;
33
- iconColor?: React.Validator<string | null | undefined> | undefined;
34
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
35
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
36
- borderRadius?: React.Validator<string | null | undefined> | undefined;
37
- preset?: React.Validator<string | null | undefined> | undefined;
38
- size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
39
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
40
- }>>;
30
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
41
31
  }>>;
42
32
  button: PropTypes.Requireable<PropTypes.InferProps<{
43
33
  type: PropTypes.Requireable<string>;
@@ -124,8 +114,8 @@ declare namespace Dashboard {
124
114
  borderRadius: PropTypes.Requireable<string>;
125
115
  preset: PropTypes.Requireable<string>;
126
116
  size: PropTypes.Requireable<PropTypes.InferProps<{
127
- faSize: PropTypes.Validator<number>;
128
- wrapperSize: PropTypes.Validator<number>;
117
+ faSize: PropTypes.Requireable<number>;
118
+ wrapperSize: PropTypes.Requireable<number>;
129
119
  }>>;
130
120
  customStyle: PropTypes.Requireable<{
131
121
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -563,7 +553,7 @@ declare namespace Dashboard {
563
553
  'data-name': PropTypes.Requireable<string>;
564
554
  titleSize: PropTypes.Requireable<string>;
565
555
  subtitleSize: PropTypes.Requireable<string>;
566
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
556
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
567
557
  tag: PropTypes.Requireable<PropTypes.InferProps<{
568
558
  label: PropTypes.Requireable<string>;
569
559
  type: PropTypes.Requireable<string>;
@@ -571,17 +561,7 @@ declare namespace Dashboard {
571
561
  customStyle: PropTypes.Requireable<{
572
562
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
573
563
  }>;
574
- icon: PropTypes.Requireable<PropTypes.InferProps<{
575
- position: PropTypes.Requireable<string>;
576
- iconName?: React.Validator<string> | undefined;
577
- iconColor?: React.Validator<string | null | undefined> | undefined;
578
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
579
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
580
- borderRadius?: React.Validator<string | null | undefined> | undefined;
581
- preset?: React.Validator<string | null | undefined> | undefined;
582
- size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
583
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
584
- }>>;
564
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
585
565
  }>>;
586
566
  button: PropTypes.Requireable<PropTypes.InferProps<{
587
567
  type: PropTypes.Requireable<string>;
@@ -796,7 +776,7 @@ declare namespace Dashboard {
796
776
  'data-name': PropTypes.Requireable<string>;
797
777
  titleSize: PropTypes.Requireable<string>;
798
778
  subtitleSize: PropTypes.Requireable<string>;
799
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
779
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
800
780
  tag: PropTypes.Requireable<PropTypes.InferProps<{
801
781
  label: PropTypes.Requireable<string>;
802
782
  type: PropTypes.Requireable<string>;
@@ -804,17 +784,7 @@ declare namespace Dashboard {
804
784
  customStyle: PropTypes.Requireable<{
805
785
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
806
786
  }>;
807
- icon: PropTypes.Requireable<PropTypes.InferProps<{
808
- position: PropTypes.Requireable<string>;
809
- iconName?: React.Validator<string> | undefined;
810
- iconColor?: React.Validator<string | null | undefined> | undefined;
811
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
812
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
813
- borderRadius?: React.Validator<string | null | undefined> | undefined;
814
- preset?: React.Validator<string | null | undefined> | undefined;
815
- size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
816
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
817
- }>>;
787
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
818
788
  }>>;
819
789
  button: PropTypes.Requireable<PropTypes.InferProps<{
820
790
  type: PropTypes.Requireable<string>;
@@ -901,8 +871,8 @@ declare namespace Dashboard {
901
871
  borderRadius: PropTypes.Requireable<string>;
902
872
  preset: PropTypes.Requireable<string>;
903
873
  size: PropTypes.Requireable<PropTypes.InferProps<{
904
- faSize: PropTypes.Validator<number>;
905
- wrapperSize: PropTypes.Validator<number>;
874
+ faSize: PropTypes.Requireable<number>;
875
+ wrapperSize: PropTypes.Requireable<number>;
906
876
  }>>;
907
877
  customStyle: PropTypes.Requireable<{
908
878
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -1340,7 +1310,7 @@ declare namespace Dashboard {
1340
1310
  'data-name': PropTypes.Requireable<string>;
1341
1311
  titleSize: PropTypes.Requireable<string>;
1342
1312
  subtitleSize: PropTypes.Requireable<string>;
1343
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
1313
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
1344
1314
  tag: PropTypes.Requireable<PropTypes.InferProps<{
1345
1315
  label: PropTypes.Requireable<string>;
1346
1316
  type: PropTypes.Requireable<string>;
@@ -1348,17 +1318,7 @@ declare namespace Dashboard {
1348
1318
  customStyle: PropTypes.Requireable<{
1349
1319
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
1350
1320
  }>;
1351
- icon: PropTypes.Requireable<PropTypes.InferProps<{
1352
- position: PropTypes.Requireable<string>;
1353
- iconName?: React.Validator<string> | undefined;
1354
- iconColor?: React.Validator<string | null | undefined> | undefined;
1355
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
1356
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
1357
- borderRadius?: React.Validator<string | null | undefined> | undefined;
1358
- preset?: React.Validator<string | null | undefined> | undefined;
1359
- size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
1360
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
1361
- }>>;
1321
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
1362
1322
  }>>;
1363
1323
  button: PropTypes.Requireable<PropTypes.InferProps<{
1364
1324
  type: PropTypes.Requireable<string>;
@@ -1561,5 +1521,4 @@ declare namespace Dashboard {
1561
1521
  };
1562
1522
  }
1563
1523
  import PropTypes from "prop-types";
1564
- import React from "react";
1565
1524
  //# sourceMappingURL=index.d.ts.map
@@ -200,7 +200,7 @@ declare namespace SearchPage {
200
200
  'data-name': PropTypes.Requireable<string>;
201
201
  titleSize: PropTypes.Requireable<string>;
202
202
  subtitleSize: PropTypes.Requireable<string>;
203
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
203
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
204
204
  tag: PropTypes.Requireable<PropTypes.InferProps<{
205
205
  label: PropTypes.Requireable<string>;
206
206
  type: PropTypes.Requireable<string>;
@@ -208,17 +208,7 @@ declare namespace SearchPage {
208
208
  customStyle: PropTypes.Requireable<{
209
209
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
210
210
  }>;
211
- icon: PropTypes.Requireable<PropTypes.InferProps<{
212
- position: PropTypes.Requireable<string>;
213
- iconName?: React.Validator<string> | undefined;
214
- iconColor?: React.Validator<string | null | undefined> | undefined;
215
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
216
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
217
- borderRadius?: React.Validator<string | null | undefined> | undefined;
218
- preset?: React.Validator<string | null | undefined> | undefined;
219
- size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
220
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
221
- }>>;
211
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
222
212
  }>>;
223
213
  button: PropTypes.Requireable<PropTypes.InferProps<{
224
214
  type: PropTypes.Requireable<string>;
@@ -305,8 +295,8 @@ declare namespace SearchPage {
305
295
  borderRadius: PropTypes.Requireable<string>;
306
296
  preset: PropTypes.Requireable<string>;
307
297
  size: PropTypes.Requireable<PropTypes.InferProps<{
308
- faSize: PropTypes.Validator<number>;
309
- wrapperSize: PropTypes.Validator<number>;
298
+ faSize: PropTypes.Requireable<number>;
299
+ wrapperSize: PropTypes.Requireable<number>;
310
300
  }>>;
311
301
  customStyle: PropTypes.Requireable<{
312
302
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -744,7 +734,7 @@ declare namespace SearchPage {
744
734
  'data-name': PropTypes.Requireable<string>;
745
735
  titleSize: PropTypes.Requireable<string>;
746
736
  subtitleSize: PropTypes.Requireable<string>;
747
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
737
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
748
738
  tag: PropTypes.Requireable<PropTypes.InferProps<{
749
739
  label: PropTypes.Requireable<string>;
750
740
  type: PropTypes.Requireable<string>;
@@ -752,17 +742,7 @@ declare namespace SearchPage {
752
742
  customStyle: PropTypes.Requireable<{
753
743
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
754
744
  }>;
755
- icon: PropTypes.Requireable<PropTypes.InferProps<{
756
- position: PropTypes.Requireable<string>;
757
- iconName?: React.Validator<string> | undefined;
758
- iconColor?: React.Validator<string | null | undefined> | undefined;
759
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
760
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
761
- borderRadius?: React.Validator<string | null | undefined> | undefined;
762
- preset?: React.Validator<string | null | undefined> | undefined;
763
- size?: React.Validator<import("../../../atom/icon").IconSize | null | undefined> | undefined;
764
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
765
- }>>;
745
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
766
746
  }>>;
767
747
  button: PropTypes.Requireable<PropTypes.InferProps<{
768
748
  type: PropTypes.Requireable<string>;
@@ -965,5 +945,4 @@ declare namespace SearchPage {
965
945
  }
966
946
  }
967
947
  import PropTypes from "prop-types";
968
- import React from "react";
969
948
  //# sourceMappingURL=index.d.ts.map
@@ -37,7 +37,7 @@ declare namespace ExternalCourse {
37
37
  'data-name': PropTypes.Requireable<string>;
38
38
  titleSize: PropTypes.Requireable<string>;
39
39
  subtitleSize: PropTypes.Requireable<string>;
40
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
40
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
41
41
  tag: PropTypes.Requireable<PropTypes.InferProps<{
42
42
  label: PropTypes.Requireable<string>;
43
43
  type: PropTypes.Requireable<string>;
@@ -45,17 +45,7 @@ declare namespace ExternalCourse {
45
45
  customStyle: PropTypes.Requireable<{
46
46
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
47
47
  }>;
48
- icon: PropTypes.Requireable<PropTypes.InferProps<{
49
- position: PropTypes.Requireable<string>;
50
- iconName?: React.Validator<string> | undefined;
51
- iconColor?: React.Validator<string | null | undefined> | undefined;
52
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
53
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
54
- borderRadius?: React.Validator<string | null | undefined> | undefined;
55
- preset?: React.Validator<string | null | undefined> | undefined;
56
- size?: React.Validator<import("../../atom/icon").IconSize | null | undefined> | undefined;
57
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
58
- }>>;
48
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
59
49
  }>>;
60
50
  button: PropTypes.Requireable<PropTypes.InferProps<{
61
51
  type: PropTypes.Requireable<string>;
@@ -142,8 +132,8 @@ declare namespace ExternalCourse {
142
132
  borderRadius: PropTypes.Requireable<string>;
143
133
  preset: PropTypes.Requireable<string>;
144
134
  size: PropTypes.Requireable<PropTypes.InferProps<{
145
- faSize: PropTypes.Validator<number>;
146
- wrapperSize: PropTypes.Validator<number>;
135
+ faSize: PropTypes.Requireable<number>;
136
+ wrapperSize: PropTypes.Requireable<number>;
147
137
  }>>;
148
138
  customStyle: PropTypes.Requireable<{
149
139
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
@@ -581,7 +571,7 @@ declare namespace ExternalCourse {
581
571
  'data-name': PropTypes.Requireable<string>;
582
572
  titleSize: PropTypes.Requireable<string>;
583
573
  subtitleSize: PropTypes.Requireable<string>;
584
- icon: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
574
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
585
575
  tag: PropTypes.Requireable<PropTypes.InferProps<{
586
576
  label: PropTypes.Requireable<string>;
587
577
  type: PropTypes.Requireable<string>;
@@ -589,17 +579,7 @@ declare namespace ExternalCourse {
589
579
  customStyle: PropTypes.Requireable<{
590
580
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
591
581
  }>;
592
- icon: PropTypes.Requireable<PropTypes.InferProps<{
593
- position: PropTypes.Requireable<string>;
594
- iconName?: React.Validator<string> | undefined;
595
- iconColor?: React.Validator<string | null | undefined> | undefined;
596
- backgroundColor?: React.Validator<string | null | undefined> | undefined;
597
- gradientBackground?: React.Validator<boolean | null | undefined> | undefined;
598
- borderRadius?: React.Validator<string | null | undefined> | undefined;
599
- preset?: React.Validator<string | null | undefined> | undefined;
600
- size?: React.Validator<import("../../atom/icon").IconSize | null | undefined> | undefined;
601
- customStyle?: React.Validator<React.CSSProperties | null | undefined> | undefined;
602
- }>>;
582
+ icon: PropTypes.Requireable<PropTypes.InferProps<any>>;
603
583
  }>>;
604
584
  button: PropTypes.Requireable<PropTypes.InferProps<{
605
585
  type: PropTypes.Requireable<string>;
@@ -825,5 +805,4 @@ declare namespace ExternalCourse {
825
805
  }
826
806
  }
827
807
  import PropTypes from "prop-types";
828
- import React from "react";
829
808
  //# sourceMappingURL=index.d.ts.map