supernav-test 2.2.14 → 2.2.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (467) hide show
  1. package/dist/App.css +38 -0
  2. package/dist/App.test.d.ts +1 -0
  3. package/dist/App.test.js +9 -0
  4. package/dist/LsacContainer.d.ts +4 -0
  5. package/dist/LsacContainer.js +29 -0
  6. package/dist/components/lsac-supernavbar/AuthWrapper.d.ts +4 -0
  7. package/dist/components/lsac-supernavbar/AuthWrapper.js +95 -0
  8. package/dist/components/lsac-supernavbar/LsacSidebar.d.ts +44 -0
  9. package/dist/components/lsac-supernavbar/LsacSidebar.js +48 -0
  10. package/dist/components/lsac-supernavbar/Store.d.ts +3 -0
  11. package/dist/components/lsac-supernavbar/Store.js +22 -0
  12. package/dist/components/lsac-supernavbar/actions/AuthActions.d.ts +8 -0
  13. package/dist/components/lsac-supernavbar/actions/AuthActions.js +29 -0
  14. package/dist/components/lsac-supernavbar/actions/SidebarActions.d.ts +23 -0
  15. package/dist/components/lsac-supernavbar/actions/SidebarActions.js +95 -0
  16. package/dist/components/lsac-supernavbar/components/Sidebar.d.ts +13 -0
  17. package/dist/components/lsac-supernavbar/components/Sidebar.js +317 -0
  18. package/dist/components/lsac-supernavbar/components/SidebarForm.d.ts +5 -0
  19. package/dist/components/lsac-supernavbar/components/SidebarForm.js +21 -0
  20. package/dist/components/lsac-supernavbar/components/SidebarMainLink.d.ts +14 -0
  21. package/dist/components/lsac-supernavbar/components/SidebarMainLink.js +124 -0
  22. package/dist/components/lsac-supernavbar/components/SidebarOption.d.ts +4 -0
  23. package/dist/components/lsac-supernavbar/components/SidebarOption.js +22 -0
  24. package/dist/components/lsac-supernavbar/components/SidebarSubMenu.d.ts +5 -0
  25. package/dist/components/lsac-supernavbar/components/SidebarSubMenu.js +154 -0
  26. package/dist/components/lsac-supernavbar/components/SidebarTab.d.ts +1 -0
  27. package/dist/components/lsac-supernavbar/components/SidebarTab.js +69 -0
  28. package/dist/components/lsac-supernavbar/components/Topnav.d.ts +14 -0
  29. package/dist/components/lsac-supernavbar/components/Topnav.js +173 -0
  30. package/dist/components/lsac-supernavbar/components/sidebar_submenus/CategorizedSubmenu.d.ts +9 -0
  31. package/dist/components/lsac-supernavbar/components/sidebar_submenus/CategorizedSubmenu.js +104 -0
  32. package/dist/components/lsac-supernavbar/components/sidebar_submenus/Marketplace.d.ts +5 -0
  33. package/dist/components/lsac-supernavbar/components/sidebar_submenus/Marketplace.js +19 -0
  34. package/dist/components/lsac-supernavbar/constants/SidebarConstants.d.ts +8 -0
  35. package/dist/components/lsac-supernavbar/constants/SidebarConstants.js +17 -0
  36. package/dist/components/lsac-supernavbar/constants/UtilityConstants.d.ts +15 -0
  37. package/dist/components/lsac-supernavbar/constants/UtilityConstants.js +32 -0
  38. package/dist/components/lsac-supernavbar/interfaces/Models.d.ts +65 -0
  39. package/dist/components/lsac-supernavbar/interfaces/Models.js +17 -0
  40. package/dist/components/lsac-supernavbar/interfaces/Redux.d.ts +7 -0
  41. package/dist/components/lsac-supernavbar/interfaces/Redux.js +5 -0
  42. package/dist/components/lsac-supernavbar/reducers/AuthReducer.d.ts +7 -0
  43. package/dist/components/lsac-supernavbar/reducers/AuthReducer.js +41 -0
  44. package/dist/components/lsac-supernavbar/reducers/RootReducer.d.ts +5 -0
  45. package/dist/components/lsac-supernavbar/reducers/RootReducer.js +19 -0
  46. package/dist/components/lsac-supernavbar/reducers/SidebarReducer.d.ts +17 -0
  47. package/dist/components/lsac-supernavbar/reducers/SidebarReducer.js +96 -0
  48. package/dist/components/lsac-supernavbar/resources/icomoon-library.json +1 -0
  49. package/dist/components/lsac-supernavbar/static/images/close-hamburger-icon.svg +6 -0
  50. package/dist/components/lsac-supernavbar/static/images/hamburger-icon.svg +7 -0
  51. package/dist/components/lsac-supernavbar/static/images/icon-user.svg +7 -0
  52. package/dist/components/lsac-supernavbar/static/images/saama_logo.png +0 -0
  53. package/dist/components/lsac-supernavbar/static/images/saama_logo.svg +26 -0
  54. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/caret_down.svg +6 -0
  55. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/caret_left.svg +6 -0
  56. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/caret_right.svg +6 -0
  57. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/caret_up.svg +6 -0
  58. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/glyph1_comprehend.svg +6 -0
  59. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/management_icon.svg +12 -0
  60. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/marketplace_icon.svg +9 -0
  61. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/my_apps.svg +8 -0
  62. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/rbqm-triangle.svg +31 -0
  63. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/rightIcon.svg +8 -0
  64. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/space_comprehend.svg +6 -0
  65. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/triangle-exclamation.svg +9 -0
  66. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E$A32_comprehend.svg +6 -0
  67. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E$A36_comprehend.svg +6 -0
  68. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$A1_comprehend.svg +6 -0
  69. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$E$B_comprehend.svg +6 -0
  70. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$F0_comprehend.svg +6 -0
  71. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E00$B_comprehend.svg +7 -0
  72. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E00$D_comprehend.svg +6 -0
  73. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E002_comprehend.svg +6 -0
  74. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E070_comprehend.svg +8 -0
  75. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E086_comprehend.svg +6 -0
  76. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E092_comprehend.svg +7 -0
  77. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B$A_comprehend.svg +8 -0
  78. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B$F_comprehend.svg +6 -0
  79. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B5_comprehend.svg +6 -0
  80. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$C8_comprehend.svg +6 -0
  81. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D$C_comprehend.svg +8 -0
  82. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D$F_comprehend.svg +8 -0
  83. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D5_comprehend.svg +7 -0
  84. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D6_comprehend.svg +7 -0
  85. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D9_comprehend.svg +7 -0
  86. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$F$E_comprehend.svg +7 -0
  87. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$F7_comprehend.svg +7 -0
  88. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$C_comprehend.svg +7 -0
  89. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$D_comprehend.svg +7 -0
  90. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$E_comprehend.svg +7 -0
  91. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$F_comprehend.svg +7 -0
  92. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E101_comprehend.svg +8 -0
  93. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E110_comprehend.svg +7 -0
  94. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E115_comprehend.svg +8 -0
  95. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E123_comprehend.svg +6 -0
  96. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E138_comprehend.svg +8 -0
  97. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E14$B_comprehend.svg +6 -0
  98. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E150_comprehend.svg +7 -0
  99. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E185_comprehend.svg +7 -0
  100. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E186_comprehend.svg +8 -0
  101. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E187_comprehend.svg +8 -0
  102. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$A7_comprehend.svg +8 -0
  103. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$A9_comprehend.svg +6 -0
  104. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$B7_comprehend.svg +7 -0
  105. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$C$F_comprehend.svg +8 -0
  106. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$D$C_comprehend.svg +7 -0
  107. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$D$D_comprehend.svg +8 -0
  108. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$F$F_comprehend.svg +6 -0
  109. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E20$B_comprehend.svg +10 -0
  110. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E201_comprehend.svg +6 -0
  111. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E204_comprehend.svg +7 -0
  112. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E23$A_comprehend.svg +9 -0
  113. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E250_comprehend.svg +7 -0
  114. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E279_comprehend.svg +9 -0
  115. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E28$E_comprehend.svg +6 -0
  116. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E29$C_comprehend.svg +6 -0
  117. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$A7_comprehend.svg +7 -0
  118. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$A8_comprehend.svg +7 -0
  119. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$B3_comprehend.svg +6 -0
  120. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D3_comprehend.svg +7 -0
  121. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D4_comprehend.svg +7 -0
  122. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D7_comprehend.svg +7 -0
  123. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E301_comprehend.svg +6 -0
  124. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E35$A_comprehend.svg +9 -0
  125. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E35$E_comprehend.svg +8 -0
  126. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E36$E_comprehend.svg +7 -0
  127. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E362_comprehend.svg +8 -0
  128. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E37$A_comprehend.svg +6 -0
  129. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E370_comprehend.svg +6 -0
  130. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E2_comprehend.svg +11 -0
  131. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E4_comprehend.svg +7 -0
  132. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E5_comprehend.svg +7 -0
  133. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E7_comprehend.svg +8 -0
  134. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E418_comprehend.svg +6 -0
  135. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E42$E_comprehend.svg +6 -0
  136. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E42$F_comprehend.svg +6 -0
  137. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E43$A_comprehend.svg +7 -0
  138. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E43$B_comprehend.svg +6 -0
  139. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E430_comprehend.svg +6 -0
  140. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E431_comprehend.svg +6 -0
  141. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E445_comprehend.svg +6 -0
  142. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E465_comprehend.svg +7 -0
  143. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E475_comprehend.svg +6 -0
  144. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E481_comprehend.svg +6 -0
  145. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$A_comprehend.svg +6 -0
  146. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$B_comprehend.svg +8 -0
  147. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$C_comprehend.svg +6 -0
  148. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$D_comprehend.svg +6 -0
  149. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$E_comprehend.svg +6 -0
  150. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$F_comprehend.svg +9 -0
  151. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E600_comprehend.svg +6 -0
  152. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E601_comprehend.svg +6 -0
  153. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E602_comprehend.svg +6 -0
  154. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E603_comprehend.svg +6 -0
  155. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E604_comprehend.svg +6 -0
  156. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E605_comprehend.svg +6 -0
  157. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E606_comprehend.svg +6 -0
  158. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E607_comprehend.svg +6 -0
  159. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E608_comprehend.svg +6 -0
  160. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E609_comprehend.svg +6 -0
  161. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$A_comprehend.svg +8 -0
  162. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$B_comprehend.svg +6 -0
  163. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$C_comprehend.svg +9 -0
  164. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$F_comprehend.svg +8 -0
  165. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E610_comprehend.svg +6 -0
  166. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E611_comprehend.svg +8 -0
  167. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E612_comprehend.svg +7 -0
  168. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E613_comprehend.svg +12 -0
  169. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E614_comprehend.svg +6 -0
  170. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E615_comprehend.svg +8 -0
  171. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E616_comprehend.svg +8 -0
  172. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E617_comprehend.svg +8 -0
  173. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E618_comprehend.svg +7 -0
  174. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E619_comprehend.svg +6 -0
  175. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E620_comprehend.svg +6 -0
  176. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E621_comprehend.svg +6 -0
  177. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E622_comprehend.svg +6 -0
  178. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E623_comprehend.svg +6 -0
  179. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E624_comprehend.svg +6 -0
  180. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E625_comprehend.svg +6 -0
  181. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E626_comprehend.svg +6 -0
  182. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$A_comprehend.svg +12 -0
  183. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$B_comprehend.svg +6 -0
  184. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$C_comprehend.svg +9 -0
  185. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$D_comprehend.svg +14 -0
  186. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$E_comprehend.svg +10 -0
  187. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$F_comprehend.svg +9 -0
  188. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E900_comprehend.svg +7 -0
  189. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E901_comprehend.svg +6 -0
  190. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E902_comprehend.svg +6 -0
  191. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E903_comprehend.svg +6 -0
  192. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E904_comprehend.svg +6 -0
  193. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E905_comprehend.svg +12 -0
  194. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E907_comprehend.svg +7 -0
  195. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E908_comprehend.svg +16 -0
  196. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E909_comprehend.svg +7 -0
  197. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$A_comprehend.svg +7 -0
  198. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$C_comprehend.svg +9 -0
  199. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$E_comprehend.svg +12 -0
  200. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$F_comprehend.svg +16 -0
  201. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E910_comprehend.svg +6 -0
  202. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E911_comprehend.svg +12 -0
  203. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E912_comprehend.svg +11 -0
  204. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E913_comprehend.svg +8 -0
  205. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E914_comprehend.svg +11 -0
  206. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E915_comprehend.svg +8 -0
  207. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E917_comprehend.svg +34 -0
  208. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E918_comprehend.svg +7 -0
  209. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E919_comprehend.svg +6 -0
  210. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E920_comprehend.svg +11 -0
  211. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E921_comprehend.svg +12 -0
  212. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E93$D_comprehend.svg +13 -0
  213. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni0001_comprehend.svg +6 -0
  214. package/dist/components/lsac-supernavbar/stylesheets/LsacSidebar.css +73 -0
  215. package/dist/components/lsac-supernavbar/stylesheets/font-face.scss +12 -0
  216. package/dist/components/lsac-supernavbar/stylesheets/font-sizer.scss +4 -0
  217. package/dist/components/lsac-supernavbar/stylesheets/fontIcons.css +540 -0
  218. package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.eot +0 -0
  219. package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.svg +3521 -0
  220. package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.ttf +0 -0
  221. package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.woff +0 -0
  222. package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.woff2 +0 -0
  223. package/dist/components/lsac-supernavbar/stylesheets/fonts/comprehend.eot +0 -0
  224. package/dist/components/lsac-supernavbar/stylesheets/fonts/comprehend.svg +190 -0
  225. package/dist/components/lsac-supernavbar/stylesheets/fonts/comprehend.ttf +0 -0
  226. package/dist/components/lsac-supernavbar/stylesheets/fonts/comprehend.woff +0 -0
  227. package/dist/components/lsac-supernavbar/stylesheets/form.scss +16 -0
  228. package/dist/components/lsac-supernavbar/stylesheets/sidebar-main-link.scss +72 -0
  229. package/dist/components/lsac-supernavbar/stylesheets/sidebar.scss +222 -0
  230. package/dist/components/lsac-supernavbar/stylesheets/study-filter.scss +358 -0
  231. package/dist/components/lsac-supernavbar/stylesheets/topnav.scss +371 -0
  232. package/dist/components/lsac-supernavbar/test/App.test.d.ts +1 -0
  233. package/dist/components/lsac-supernavbar/test/App.test.js +28 -0
  234. package/dist/components/lsac-supernavbar/util/SubmenuUtil.d.ts +9 -0
  235. package/dist/components/lsac-supernavbar/util/SubmenuUtil.js +208 -0
  236. package/dist/components/lsac-supernavbar/util/Util.d.ts +4 -0
  237. package/dist/components/lsac-supernavbar/util/Util.js +51 -0
  238. package/dist/index.css +13 -0
  239. package/dist/index.d.ts +2 -0
  240. package/dist/index.js +22 -67
  241. package/dist/logo.svg +1 -0
  242. package/dist/react-app-env.d.js +2 -0
  243. package/dist/reportWebVitals.d.ts +3 -0
  244. package/dist/reportWebVitals.js +34 -0
  245. package/dist/setupTests.d.ts +1 -0
  246. package/dist/setupTests.js +3 -0
  247. package/package.json +11 -4
  248. package/src/App.css +38 -0
  249. package/src/App.test.tsx +8 -0
  250. package/src/LsacContainer.tsx +17 -0
  251. package/src/components/lsac-supernavbar/AuthWrapper.tsx +63 -0
  252. package/src/components/lsac-supernavbar/LsacSidebar.tsx +60 -0
  253. package/src/components/lsac-supernavbar/Store.ts +8 -0
  254. package/src/components/lsac-supernavbar/actions/AuthActions.ts +21 -0
  255. package/src/components/lsac-supernavbar/actions/SidebarActions.ts +81 -0
  256. package/src/components/lsac-supernavbar/components/Sidebar.tsx +235 -0
  257. package/src/components/lsac-supernavbar/components/SidebarForm.tsx +15 -0
  258. package/src/components/lsac-supernavbar/components/SidebarMainLink.tsx +86 -0
  259. package/src/components/lsac-supernavbar/components/SidebarOption.tsx +13 -0
  260. package/src/components/lsac-supernavbar/components/SidebarSubMenu.tsx +82 -0
  261. package/src/components/lsac-supernavbar/components/SidebarTab.jsx +56 -0
  262. package/src/components/lsac-supernavbar/components/Topnav.tsx +140 -0
  263. package/src/components/lsac-supernavbar/components/sidebar_submenus/CategorizedSubmenu.tsx +69 -0
  264. package/src/components/lsac-supernavbar/components/sidebar_submenus/Marketplace.tsx +13 -0
  265. package/src/components/lsac-supernavbar/constants/SidebarConstants.ts +8 -0
  266. package/src/components/lsac-supernavbar/constants/UtilityConstants.ts +17 -0
  267. package/src/components/lsac-supernavbar/interfaces/Models.ts +71 -0
  268. package/src/components/lsac-supernavbar/interfaces/Redux.ts +9 -0
  269. package/src/components/lsac-supernavbar/reducers/AuthReducer.ts +24 -0
  270. package/src/components/lsac-supernavbar/reducers/RootReducer.ts +13 -0
  271. package/src/components/lsac-supernavbar/reducers/SidebarReducer.ts +73 -0
  272. package/src/components/lsac-supernavbar/resources/icomoon-library.json +1 -0
  273. package/src/components/lsac-supernavbar/static/images/close-hamburger-icon.svg +6 -0
  274. package/src/components/lsac-supernavbar/static/images/hamburger-icon.svg +7 -0
  275. package/src/components/lsac-supernavbar/static/images/icon-user.svg +7 -0
  276. package/src/components/lsac-supernavbar/static/images/saama_logo.png +0 -0
  277. package/src/components/lsac-supernavbar/static/images/saama_logo.svg +26 -0
  278. package/src/components/lsac-supernavbar/static/images/sidebar-icons/caret_down.svg +6 -0
  279. package/src/components/lsac-supernavbar/static/images/sidebar-icons/caret_left.svg +6 -0
  280. package/src/components/lsac-supernavbar/static/images/sidebar-icons/caret_right.svg +6 -0
  281. package/src/components/lsac-supernavbar/static/images/sidebar-icons/caret_up.svg +6 -0
  282. package/src/components/lsac-supernavbar/static/images/sidebar-icons/glyph1_comprehend.svg +6 -0
  283. package/src/components/lsac-supernavbar/static/images/sidebar-icons/management_icon.svg +12 -0
  284. package/src/components/lsac-supernavbar/static/images/sidebar-icons/marketplace_icon.svg +9 -0
  285. package/src/components/lsac-supernavbar/static/images/sidebar-icons/my_apps.svg +8 -0
  286. package/src/components/lsac-supernavbar/static/images/sidebar-icons/rbqm-triangle.svg +31 -0
  287. package/src/components/lsac-supernavbar/static/images/sidebar-icons/rightIcon.svg +8 -0
  288. package/src/components/lsac-supernavbar/static/images/sidebar-icons/space_comprehend.svg +6 -0
  289. package/src/components/lsac-supernavbar/static/images/sidebar-icons/triangle-exclamation.svg +9 -0
  290. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E$A32_comprehend.svg +6 -0
  291. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E$A36_comprehend.svg +6 -0
  292. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$A1_comprehend.svg +6 -0
  293. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$E$B_comprehend.svg +6 -0
  294. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$F0_comprehend.svg +6 -0
  295. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E00$B_comprehend.svg +7 -0
  296. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E00$D_comprehend.svg +6 -0
  297. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E002_comprehend.svg +6 -0
  298. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E070_comprehend.svg +8 -0
  299. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E086_comprehend.svg +6 -0
  300. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E092_comprehend.svg +7 -0
  301. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B$A_comprehend.svg +8 -0
  302. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B$F_comprehend.svg +6 -0
  303. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B5_comprehend.svg +6 -0
  304. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$C8_comprehend.svg +6 -0
  305. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D$C_comprehend.svg +8 -0
  306. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D$F_comprehend.svg +8 -0
  307. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D5_comprehend.svg +7 -0
  308. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D6_comprehend.svg +7 -0
  309. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D9_comprehend.svg +7 -0
  310. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$F$E_comprehend.svg +7 -0
  311. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$F7_comprehend.svg +7 -0
  312. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$C_comprehend.svg +7 -0
  313. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$D_comprehend.svg +7 -0
  314. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$E_comprehend.svg +7 -0
  315. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$F_comprehend.svg +7 -0
  316. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E101_comprehend.svg +8 -0
  317. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E110_comprehend.svg +7 -0
  318. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E115_comprehend.svg +8 -0
  319. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E123_comprehend.svg +6 -0
  320. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E138_comprehend.svg +8 -0
  321. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E14$B_comprehend.svg +6 -0
  322. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E150_comprehend.svg +7 -0
  323. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E185_comprehend.svg +7 -0
  324. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E186_comprehend.svg +8 -0
  325. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E187_comprehend.svg +8 -0
  326. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$A7_comprehend.svg +8 -0
  327. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$A9_comprehend.svg +6 -0
  328. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$B7_comprehend.svg +7 -0
  329. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$C$F_comprehend.svg +8 -0
  330. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$D$C_comprehend.svg +7 -0
  331. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$D$D_comprehend.svg +8 -0
  332. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$F$F_comprehend.svg +6 -0
  333. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E20$B_comprehend.svg +10 -0
  334. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E201_comprehend.svg +6 -0
  335. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E204_comprehend.svg +7 -0
  336. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E23$A_comprehend.svg +9 -0
  337. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E250_comprehend.svg +7 -0
  338. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E279_comprehend.svg +9 -0
  339. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E28$E_comprehend.svg +6 -0
  340. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E29$C_comprehend.svg +6 -0
  341. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$A7_comprehend.svg +7 -0
  342. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$A8_comprehend.svg +7 -0
  343. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$B3_comprehend.svg +6 -0
  344. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D3_comprehend.svg +7 -0
  345. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D4_comprehend.svg +7 -0
  346. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D7_comprehend.svg +7 -0
  347. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E301_comprehend.svg +6 -0
  348. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E35$A_comprehend.svg +9 -0
  349. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E35$E_comprehend.svg +8 -0
  350. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E36$E_comprehend.svg +7 -0
  351. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E362_comprehend.svg +8 -0
  352. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E37$A_comprehend.svg +6 -0
  353. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E370_comprehend.svg +6 -0
  354. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E2_comprehend.svg +11 -0
  355. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E4_comprehend.svg +7 -0
  356. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E5_comprehend.svg +7 -0
  357. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E7_comprehend.svg +8 -0
  358. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E418_comprehend.svg +6 -0
  359. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E42$E_comprehend.svg +6 -0
  360. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E42$F_comprehend.svg +6 -0
  361. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E43$A_comprehend.svg +7 -0
  362. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E43$B_comprehend.svg +6 -0
  363. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E430_comprehend.svg +6 -0
  364. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E431_comprehend.svg +6 -0
  365. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E445_comprehend.svg +6 -0
  366. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E465_comprehend.svg +7 -0
  367. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E475_comprehend.svg +6 -0
  368. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E481_comprehend.svg +6 -0
  369. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$A_comprehend.svg +6 -0
  370. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$B_comprehend.svg +8 -0
  371. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$C_comprehend.svg +6 -0
  372. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$D_comprehend.svg +6 -0
  373. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$E_comprehend.svg +6 -0
  374. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$F_comprehend.svg +9 -0
  375. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E600_comprehend.svg +6 -0
  376. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E601_comprehend.svg +6 -0
  377. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E602_comprehend.svg +6 -0
  378. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E603_comprehend.svg +6 -0
  379. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E604_comprehend.svg +6 -0
  380. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E605_comprehend.svg +6 -0
  381. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E606_comprehend.svg +6 -0
  382. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E607_comprehend.svg +6 -0
  383. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E608_comprehend.svg +6 -0
  384. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E609_comprehend.svg +6 -0
  385. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$A_comprehend.svg +8 -0
  386. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$B_comprehend.svg +6 -0
  387. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$C_comprehend.svg +9 -0
  388. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$F_comprehend.svg +8 -0
  389. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E610_comprehend.svg +6 -0
  390. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E611_comprehend.svg +8 -0
  391. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E612_comprehend.svg +7 -0
  392. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E613_comprehend.svg +12 -0
  393. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E614_comprehend.svg +6 -0
  394. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E615_comprehend.svg +8 -0
  395. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E616_comprehend.svg +8 -0
  396. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E617_comprehend.svg +8 -0
  397. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E618_comprehend.svg +7 -0
  398. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E619_comprehend.svg +6 -0
  399. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E620_comprehend.svg +6 -0
  400. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E621_comprehend.svg +6 -0
  401. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E622_comprehend.svg +6 -0
  402. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E623_comprehend.svg +6 -0
  403. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E624_comprehend.svg +6 -0
  404. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E625_comprehend.svg +6 -0
  405. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E626_comprehend.svg +6 -0
  406. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$A_comprehend.svg +12 -0
  407. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$B_comprehend.svg +6 -0
  408. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$C_comprehend.svg +9 -0
  409. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$D_comprehend.svg +14 -0
  410. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$E_comprehend.svg +10 -0
  411. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$F_comprehend.svg +9 -0
  412. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E900_comprehend.svg +7 -0
  413. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E901_comprehend.svg +6 -0
  414. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E902_comprehend.svg +6 -0
  415. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E903_comprehend.svg +6 -0
  416. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E904_comprehend.svg +6 -0
  417. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E905_comprehend.svg +12 -0
  418. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E907_comprehend.svg +7 -0
  419. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E908_comprehend.svg +16 -0
  420. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E909_comprehend.svg +7 -0
  421. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$A_comprehend.svg +7 -0
  422. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$C_comprehend.svg +9 -0
  423. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$E_comprehend.svg +12 -0
  424. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$F_comprehend.svg +16 -0
  425. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E910_comprehend.svg +6 -0
  426. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E911_comprehend.svg +12 -0
  427. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E912_comprehend.svg +11 -0
  428. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E913_comprehend.svg +8 -0
  429. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E914_comprehend.svg +11 -0
  430. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E915_comprehend.svg +8 -0
  431. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E917_comprehend.svg +34 -0
  432. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E918_comprehend.svg +7 -0
  433. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E919_comprehend.svg +6 -0
  434. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E920_comprehend.svg +11 -0
  435. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E921_comprehend.svg +12 -0
  436. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E93$D_comprehend.svg +13 -0
  437. package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni0001_comprehend.svg +6 -0
  438. package/src/components/lsac-supernavbar/stylesheets/LsacSidebar.css +73 -0
  439. package/src/components/lsac-supernavbar/stylesheets/font-face.scss +12 -0
  440. package/src/components/lsac-supernavbar/stylesheets/font-sizer.scss +4 -0
  441. package/src/components/lsac-supernavbar/stylesheets/fontIcons.css +540 -0
  442. package/src/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.eot +0 -0
  443. package/src/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.svg +3521 -0
  444. package/src/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.ttf +0 -0
  445. package/src/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.woff +0 -0
  446. package/src/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.woff2 +0 -0
  447. package/src/components/lsac-supernavbar/stylesheets/fonts/comprehend.eot +0 -0
  448. package/src/components/lsac-supernavbar/stylesheets/fonts/comprehend.svg +190 -0
  449. package/src/components/lsac-supernavbar/stylesheets/fonts/comprehend.ttf +0 -0
  450. package/src/components/lsac-supernavbar/stylesheets/fonts/comprehend.woff +0 -0
  451. package/src/components/lsac-supernavbar/stylesheets/form.scss +16 -0
  452. package/src/components/lsac-supernavbar/stylesheets/sidebar-main-link.scss +72 -0
  453. package/src/components/lsac-supernavbar/stylesheets/sidebar.scss +222 -0
  454. package/src/components/lsac-supernavbar/stylesheets/study-filter.scss +358 -0
  455. package/src/components/lsac-supernavbar/stylesheets/topnav.scss +371 -0
  456. package/src/components/lsac-supernavbar/test/App.test.js +20 -0
  457. package/src/components/lsac-supernavbar/util/SubmenuUtil.tsx +153 -0
  458. package/src/components/lsac-supernavbar/util/Util.ts +24 -0
  459. package/src/index.css +13 -0
  460. package/src/index.tsx +18 -0
  461. package/src/logo.svg +1 -0
  462. package/src/react-app-env.d.ts +1 -0
  463. package/src/reportWebVitals.ts +15 -0
  464. package/src/setupTests.ts +5 -0
  465. package/dist/1.index.js +0 -1
  466. package/dist/caf68d0a64d31f733320266312e3a2ca.svg +0 -1
  467. package/dist/index.html +0 -1
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+
3
+ require("@testing-library/jest-dom");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supernav-test",
3
- "version": "2.2.14",
3
+ "version": "2.2.18",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "@testing-library/jest-dom": "5.14.1",
@@ -34,10 +34,13 @@
34
34
  "@types/classnames": "2.2.11",
35
35
  "@types/react": "17.0.21",
36
36
  "@types/react-dom": "17.0.9",
37
- "@types/react-redux": "7.1.11",
37
+ "@types/react-redux": "^7.1.11",
38
38
  "@types/react-router": "5.1.8",
39
+ "@types/redux": "^3.6.0",
40
+ "@types/redux-thunk": "^2.1.0",
39
41
  "@webpack-cli/serve": "^1.5.2",
40
42
  "babel-loader": "8.1.0",
43
+ "copyfiles": "^2.4.1",
41
44
  "css-loader": "5.0.0",
42
45
  "customize-cra": "1.0.0",
43
46
  "eslint-plugin-node": "11.0.0",
@@ -61,9 +64,11 @@
61
64
  "webpack": "4.44.2",
62
65
  "webpack-cli": "3.3.12"
63
66
  },
64
- "main": "dist/index.js",
67
+ "main": "dist/LsacContainer.js",
68
+ "types": "dist/LsacContainer.d.ts",
65
69
  "files": [
66
70
  "dist",
71
+ "src",
67
72
  "README.md"
68
73
  ],
69
74
  "scripts": {
@@ -73,7 +78,9 @@
73
78
  "eject": "react-scripts eject",
74
79
  "clean": "rm dist/index.js",
75
80
  "build-dev": "webpack --mode development",
76
- "build-prod": "webpack --mode production"
81
+ "build-prod": "webpack --mode production",
82
+ "tsc-build": "copyfiles -u 1 src/**/*.html src/**/*.css && npx tsc",
83
+ "publish:npm": "set NODE_ENV=production && rm -rf dist && mkdir dist && npx babel --extensions .tsx,.jsx,.ts,.js src --out-dir dist --copy-files"
77
84
  },
78
85
  "eslintConfig": {
79
86
  "extends": [
package/src/App.css ADDED
@@ -0,0 +1,38 @@
1
+ .App {
2
+ text-align: center;
3
+ }
4
+
5
+ .App-logo {
6
+ height: 40vmin;
7
+ pointer-events: none;
8
+ }
9
+
10
+ @media (prefers-reduced-motion: no-preference) {
11
+ .App-logo {
12
+ animation: App-logo-spin infinite 20s linear;
13
+ }
14
+ }
15
+
16
+ .App-header {
17
+ background-color: #282c34;
18
+ min-height: 100vh;
19
+ display: flex;
20
+ flex-direction: column;
21
+ align-items: center;
22
+ justify-content: center;
23
+ font-size: calc(10px + 2vmin);
24
+ color: white;
25
+ }
26
+
27
+ .App-link {
28
+ color: #61dafb;
29
+ }
30
+
31
+ @keyframes App-logo-spin {
32
+ from {
33
+ transform: rotate(0deg);
34
+ }
35
+ to {
36
+ transform: rotate(360deg);
37
+ }
38
+ }
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { render, screen } from '@testing-library/react';
3
+
4
+ test('renders learn react link', () => {
5
+
6
+ const linkElement = screen.getByText(/learn react/i);
7
+ expect(linkElement).toBeInTheDocument();
8
+ });
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import './App.css';
3
+ import LsacSidebar, { LsacSidebarProps } from './components/lsac-supernavbar/LsacSidebar';
4
+ import { Provider } from "react-redux";
5
+ import store from './components/lsac-supernavbar/Store';
6
+
7
+ function LsacContainer(props: any) {
8
+ return (
9
+ <div className="App">
10
+ <Provider store={store}>
11
+ <LsacSidebar {...props} />
12
+ </Provider>
13
+ </div>
14
+ );
15
+ }
16
+
17
+ export default LsacContainer;
@@ -0,0 +1,63 @@
1
+ import React, { useEffect } from 'react';
2
+ import { useDispatch } from "react-redux";
3
+ import { setUiDevMode, setUserInfo } from "./actions/AuthActions";
4
+ import { SetLocalApps } from './actions/SidebarActions';
5
+ import TopNav from './components/Topnav';
6
+ import Sidebar from "./components/Sidebar";
7
+ import { LsacSidebarProps } from "./LsacSidebar";
8
+ import { RunModes } from "./constants/UtilityConstants";
9
+ import { UserInfo } from "./interfaces/Models";
10
+ import Util from "./util/Util";
11
+
12
+ function AuthWrapper(props: LsacSidebarProps) {
13
+ const { currentNav, sidebarOptions, appContext, extraTopNavComponent, ignoreUniversalFontSizer, topNavHeight, applicationTitle, runMode, userInfo, accountName, accountSwitchUrl, logoutUrl, topnavDisplayMode, sidebarDisplayMode } = props;
14
+ const uiDevMode = runMode === RunModes.UI_DEV_MODE;
15
+ const dispatch = useDispatch();
16
+
17
+ useEffect(() => {
18
+ dispatch(setUiDevMode(uiDevMode));
19
+ }, [uiDevMode]);
20
+
21
+ // Once we have an initialized keycloak, then fetch the userInfo's information
22
+ useEffect(() => {
23
+ if (!uiDevMode && userInfo) {
24
+ dispatch(setUserInfo(userInfo));
25
+ }
26
+ }, [uiDevMode, userInfo]);
27
+
28
+ useEffect(() => {
29
+ if (uiDevMode) {
30
+ dispatch(setUserInfo({
31
+ name: 'test-userInfo'
32
+ } as UserInfo));
33
+ }
34
+ }, [uiDevMode]);
35
+
36
+ // If the calling application has local application links, set those in the store so they can be consumed by the Sidebar
37
+ useEffect(() => {
38
+ if (sidebarOptions && sidebarOptions.length > 0) {
39
+ const applications = Util.sidebarOptionsToApplication(sidebarOptions);
40
+ dispatch(SetLocalApps(applications));
41
+ }
42
+ }, [sidebarOptions]);
43
+
44
+ const isReady = uiDevMode || userInfo;
45
+
46
+ return isReady
47
+ ? (
48
+ <div id='lsac-supernavbar-root'>
49
+ <TopNav extraTopNavComponent={extraTopNavComponent} topNavHeight={topNavHeight} applicationTitle={applicationTitle}
50
+ accountName={accountName} accountSwitchUrl={accountSwitchUrl} logoutUrl={logoutUrl} sidebarDisplayMode={sidebarDisplayMode}
51
+ topnavDisplayMode={topnavDisplayMode} />
52
+ <Sidebar currentNav={currentNav}
53
+ appContext={appContext}
54
+ topNavHeight={topNavHeight}
55
+ sidebarDisplayMode={sidebarDisplayMode}
56
+ sidebarOptions={sidebarOptions}
57
+ />
58
+ </div>
59
+ )
60
+ : null;
61
+ }
62
+
63
+ export default AuthWrapper;
@@ -0,0 +1,60 @@
1
+ import React, { useEffect, useState } from 'react';
2
+ import { useDispatch } from "react-redux";
3
+
4
+ import AuthWrapper from "./AuthWrapper";
5
+ import { SidebarOption, UserInfo } from "./interfaces/Models";
6
+ import { RunModes, SidebarDisplayModes, TopnavDisplayModes } from "./constants/UtilityConstants";
7
+
8
+ require('./stylesheets/LsacSidebar.css');
9
+ require('./stylesheets/fontIcons.css');
10
+ require('./stylesheets/font-sizer.scss');
11
+
12
+ export interface LsacSidebarProps {
13
+ currentNav: string;
14
+ sidebarOptions: Array<SidebarOption>;
15
+ applicationTitle: string;
16
+ appContext?: string;
17
+ componentTitle: String;
18
+ extraTopNavComponent: any;
19
+ ignoreUniversalFontSizer: boolean;
20
+ topNavHeight: string;
21
+ runMode: RunModes;
22
+ hasKeycloakInstance: boolean;
23
+ userInfo?: UserInfo;
24
+ accountName: string;
25
+ accountSwitchUrl: string;
26
+ logoutUrl: string;
27
+ sidebarDisplayMode: SidebarDisplayModes;
28
+ topnavDisplayMode: TopnavDisplayModes;
29
+ }
30
+
31
+ function LsacSidebar(props: LsacSidebarProps) {
32
+
33
+ const content = <AuthWrapper {...props} />;
34
+
35
+ return (
36
+ content
37
+ )
38
+ }
39
+
40
+ LsacSidebar.defaultProps = {
41
+ componentTitle: 'Lsac Supernavbar',
42
+ apiKey: null,
43
+ currentNav: '',
44
+ appContext: '',
45
+ sidebarOptions: [],
46
+ extraTopNavComponent: null,
47
+ ignoreUniversalFontSizer: false,
48
+ topNavHeight: '3.5rem',
49
+ applicationTitle: '',
50
+ runMode: 'ui_dev_mode',
51
+ hasKeycloakInstance: false,
52
+ userInfo: null,
53
+ accountName: '',
54
+ accountSwitchUrl: '',
55
+ logoutUrl: '',
56
+ topnavDisplayMode: TopnavDisplayModes.ALL,
57
+ sidebarDisplayMode: SidebarDisplayModes.MINIMAL
58
+ };
59
+
60
+ export default LsacSidebar;
@@ -0,0 +1,8 @@
1
+ import {createStore, applyMiddleware, compose, Store} from "redux";
2
+ import thunk from 'redux-thunk';
3
+ import RootReducer from "./reducers/RootReducer";
4
+
5
+ // @ts-ignore
6
+ const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
7
+ const store:Store<any> = createStore(RootReducer, /* preloadedState, */ composeEnhancers(applyMiddleware(thunk)));
8
+ export default store;
@@ -0,0 +1,21 @@
1
+ import {Action, ThunkAction} from "../interfaces/Redux";
2
+ import {UserInfo} from "../interfaces/Models";
3
+
4
+ export enum actionTypes {
5
+ SET_UI_DEV_MODE = 'SET_UI_DEV_MODE',
6
+ SET_USER_INFO = 'SET_USER_INFO',
7
+ }
8
+
9
+ export function setUserInfo(user: UserInfo): Action {
10
+ return {
11
+ type: actionTypes.SET_USER_INFO,
12
+ payload: user,
13
+ }
14
+ }
15
+
16
+ export function setUiDevMode(uiDevMode: boolean): Action {
17
+ return {
18
+ type: actionTypes.SET_UI_DEV_MODE,
19
+ payload: uiDevMode,
20
+ }
21
+ }
@@ -0,0 +1,81 @@
1
+ import {Application, SidebarOption} from "../interfaces/Models";
2
+ import {Action, ThunkAction} from "../interfaces/Redux";
3
+ import { SidebarMenuTypes } from "../constants/SidebarConstants";
4
+
5
+ export enum actionTypes {
6
+ EXPAND_APP = 'EXPAND_APP',
7
+ REGISTER_EXTRA_TOP_NAV_COMPONENT = 'REGISTER_EXTRA_TOP_NAV_COMPONENT',
8
+ REGISTER_SIDEBAR_OPTIONS = 'REGISTER_SIDEBAR_OPTIONS',
9
+ SET_LOCAL_APPLICATIONS = 'SET_LOCAL_APPLICATIONS',
10
+ SET_EXPAND_SIDEBAR = 'SET_EXPAND_SIDEBAR',
11
+ SET_SELECTED_SIDEBAR_OPTION = 'SET_SELECTED_SIDEBAR_OPTION',
12
+ SET_TOPNAV_TOGGLE_REF = 'SET_TOPNAV_TOGGLE_REF',
13
+ SET_MINIMAL_SIDEBAR = 'SET_MINIMAL_SIDEBAR',
14
+ SET_SHOW_EXPANDED_APPS = 'SET_SHOW_EXPANDED_APPS'
15
+ }
16
+
17
+ export function registerSidebarOptions(options: SidebarOption): Action {
18
+ return {
19
+ type: actionTypes.REGISTER_SIDEBAR_OPTIONS,
20
+ payload: options,
21
+ };
22
+ }
23
+
24
+ export function registerExtraTopNavComponent(component: Element): Action {
25
+ return {
26
+ type: actionTypes.REGISTER_EXTRA_TOP_NAV_COMPONENT,
27
+ payload: component,
28
+ };
29
+ }
30
+
31
+ export function SetTopnavToggleref(ref: any): Action {
32
+ return {
33
+ type: actionTypes.SET_TOPNAV_TOGGLE_REF,
34
+ payload: ref
35
+ };
36
+ }
37
+
38
+ export function SetExpandSidebar(isExpanded: boolean): Action {
39
+ return {
40
+ type: actionTypes.SET_EXPAND_SIDEBAR,
41
+ payload: isExpanded,
42
+ };
43
+ }
44
+
45
+ export function SetMinimalSidebar(isMinimal: boolean): Action {
46
+ return {
47
+ type: actionTypes.SET_MINIMAL_SIDEBAR,
48
+ payload: isMinimal,
49
+ };
50
+ }
51
+
52
+ export function SetLocalApps(localApps: Array<Application>): Action {
53
+ return {
54
+ type: actionTypes.SET_LOCAL_APPLICATIONS,
55
+ payload: localApps,
56
+ }
57
+ }
58
+
59
+ export function SetSelectedSidebarOption(menuType: SidebarMenuTypes): Action {
60
+ return {
61
+ type: actionTypes.SET_SELECTED_SIDEBAR_OPTION,
62
+ payload: menuType,
63
+ }
64
+ }
65
+
66
+ export function ExpandApp(appKey: string, isExpanded: boolean): Action {
67
+ return {
68
+ type: actionTypes.EXPAND_APP,
69
+ payload: {
70
+ appKey,
71
+ isExpanded
72
+ },
73
+ }
74
+ }
75
+
76
+ export function SetShowExpandedApps(expanded: boolean): Action {
77
+ return {
78
+ type: actionTypes.SET_SHOW_EXPANDED_APPS,
79
+ payload: expanded
80
+ }
81
+ }
@@ -0,0 +1,235 @@
1
+ import React, { useEffect, useRef, useState } from 'react';
2
+ import { useDispatch, useSelector } from "react-redux";
3
+ import cx from 'classnames';
4
+ import SidebarForm from "./SidebarForm";
5
+ import { RootState } from "../reducers/RootReducer";
6
+ import { SetExpandSidebar, SetSelectedSidebarOption, SetMinimalSidebar, SetShowExpandedApps } from "../actions/SidebarActions";
7
+ import SidebarMainLink, { SidebarMainLinkProps } from "./SidebarMainLink";
8
+ import SidebarSubMenu from "./SidebarSubMenu";
9
+ import { SidebarMenuTypes } from "../constants/SidebarConstants";
10
+ import { SidebarDisplayModes } from "../constants/UtilityConstants";
11
+ import { KeycloakAppInfo, SidebarCategory, SidebarOption } from "../interfaces/Models";
12
+ // icon imports
13
+ import iconSet from "../resources/icomoon-library.json";
14
+ import IcomoonReact from "icomoon-react";
15
+
16
+ const styles = require('../stylesheets/sidebar.scss');
17
+
18
+ interface SidebarProps {
19
+ currentNav: string;
20
+ appContext?: string;
21
+ topNavHeight: string;
22
+ sidebarDisplayMode: SidebarDisplayModes;
23
+ sidebarOptions: Array<SidebarOption>;
24
+ }
25
+
26
+ // TODO - get proper icons
27
+ const SidebarMainLinks: Array<SidebarMainLinkProps> = [
28
+ {
29
+ id: SidebarMenuTypes.Home,
30
+ label: 'My Home',
31
+ icon: (<IcomoonReact
32
+ iconSet={iconSet}
33
+ icon="home"
34
+ />),
35
+ onClick: () => console.log('My Home'),
36
+ subMenu: false,
37
+ },
38
+ {
39
+ id: SidebarMenuTypes.MyApps,
40
+ label: 'My Apps',
41
+ icon: (<IcomoonReact
42
+ iconSet={iconSet}
43
+ icon="my-apps"
44
+ />),
45
+ onClick: () => console.log('My Apps'),
46
+ subMenu: false,
47
+ },
48
+ {
49
+ id: SidebarMenuTypes.Management,
50
+ label: 'Administration',
51
+ icon: (<IcomoonReact
52
+ iconSet={iconSet}
53
+ icon="marketplace-administration"
54
+ />),
55
+ onClick: () => console.log('Management'),
56
+ subMenu: false,
57
+ },
58
+ {
59
+ id: SidebarMenuTypes.Marketplace,
60
+ label: 'Marketplace',
61
+ icon: (<IcomoonReact
62
+ iconSet={iconSet}
63
+ icon="marketplace"
64
+ />),
65
+ onClick: () => console.log('Marketplace'),
66
+ subMenu: false,
67
+ },
68
+ {
69
+ id: SidebarMenuTypes.Collaboration,
70
+ label: 'Collaboration',
71
+ icon: (<IcomoonReact
72
+ iconSet={iconSet}
73
+ icon="collboration"
74
+ />),
75
+ onClick: () => console.log('Collaboration'),
76
+ subMenu: false,
77
+ },
78
+ {
79
+ id: SidebarMenuTypes.Engagement,
80
+ label: 'Engagement',
81
+ icon: (<IcomoonReact
82
+ iconSet={iconSet}
83
+ icon="engagement"
84
+ />),
85
+ onClick: () => console.log('Engagement'),
86
+ subMenu: false,
87
+ }
88
+ ];
89
+
90
+
91
+ function Sidebar(props: SidebarProps) {
92
+ const { appContext, topNavHeight, sidebarDisplayMode, sidebarOptions } = props;
93
+
94
+ const reduxDispatch = useDispatch();
95
+ const expanded = useSelector((state: RootState) => sidebarDisplayMode === SidebarDisplayModes.ALL ? true : state.sidebar.expanded);
96
+ const isMinimal = useSelector((state: RootState) => state.sidebar.isMinimal);
97
+ const topNavToggleref = useSelector((state: RootState) => state.sidebar.topnavToggleref);
98
+ const selectedOption = mapContextToAppsId();
99
+
100
+ function mapContextToAppsId() {
101
+ let selectedSidebarOption = SidebarMenuTypes.MyApps;
102
+ if (appContext === 'management') {
103
+ selectedSidebarOption = SidebarMenuTypes.Management;
104
+ } else if (appContext === 'marketplace') {
105
+ selectedSidebarOption = SidebarMenuTypes.Marketplace;
106
+ } else if (appContext === 'collaboration') {
107
+ selectedSidebarOption = SidebarMenuTypes.Collaboration;
108
+ } else if (appContext === 'home') {
109
+ selectedSidebarOption = SidebarMenuTypes.Home;
110
+ }
111
+ return selectedSidebarOption;
112
+ }
113
+ // When component is loaded fetch the userInfo's available applications
114
+ useEffect(() => {
115
+ let selectedSidebarOption = mapContextToAppsId()
116
+ reduxDispatch(SetMinimalSidebar(sidebarDisplayMode === SidebarDisplayModes.MINIMAL));
117
+ reduxDispatch(SetSelectedSidebarOption(selectedSidebarOption))
118
+ }, [reduxDispatch, appContext]);
119
+
120
+ //when sidebar is loaded attach listener to detect clicks external to it
121
+ function useExternalClickListener(ref: any) {
122
+ useEffect(() => {
123
+ function handleClickOutside(event: any) {
124
+ let eventPath = event.composedPath();
125
+ if (ref.current && !(eventPath.includes(ref.current) || eventPath.includes(topNavToggleref.current)) && expanded === true) {
126
+ reduxDispatch(SetExpandSidebar(false));
127
+ }
128
+ }
129
+
130
+ // Bind the event listener
131
+ document.addEventListener("mousedown", handleClickOutside);
132
+
133
+ return () => {
134
+ // Unbind the event listener on clean up
135
+ document.removeEventListener("mousedown", handleClickOutside);
136
+ };
137
+ }, [ref, topNavToggleref, expanded]);
138
+ }
139
+
140
+ const [showForm, setShowForm] = useState(false);
141
+ const formDisplay = showForm ? <SidebarForm /> : '';
142
+
143
+ function CheckManagementAndMarketplaceAccess() {
144
+ const apps = useSelector((state: RootState) => state.auth.userInfo?.applications || new Array<KeycloakAppInfo>());
145
+ const appCategories = apps.filter((e:any) => e.attributes !== undefined)
146
+ .filter((e:any) => e.attributes['category'] !== undefined)
147
+ .filter((d:any) => Object.keys(d.attributes).length > 0)
148
+ .map((app:any) => app.attributes['category'].toLowerCase());
149
+ const appCategoriesForSubApps = apps.filter((e:any) => e.attributes !== undefined)
150
+ .filter((e:any) => e.attributes['category'] !== undefined)
151
+ .map((app:any) => app.attributes['category'].toLowerCase());
152
+
153
+ let appCategorySubAppsCount = appCategoriesForSubApps.reduce((object:any, element:any) => {
154
+ object[element] = ++object[element] || 1;
155
+ return object;
156
+ }, {});
157
+
158
+ if (appCategorySubAppsCount['my_apps'] >= 1) {
159
+ const index = SidebarMainLinks.findIndex((e:any) => e.id === 'my_apps')
160
+ SidebarMainLinks[index].subMenu = true
161
+ }
162
+
163
+ if (appCategorySubAppsCount['management'] >= 1) {
164
+ const index = SidebarMainLinks.findIndex((e:any) => e.id === 'management')
165
+ SidebarMainLinks[index].subMenu = true
166
+ }
167
+
168
+ const isCollaboration = sidebarOptions.filter(option => option.category === SidebarCategory.COLLABORATION)
169
+ if (appCategorySubAppsCount['engagement'] >= 1) {
170
+ const index = SidebarMainLinks.findIndex((e:any) => e.id === 'engagement')
171
+ SidebarMainLinks[index].subMenu = true
172
+ }
173
+
174
+
175
+ if (appCategorySubAppsCount['collaboration'] >= 1 || isCollaboration.length) {
176
+ const index = SidebarMainLinks.findIndex((e:any) => e.id === 'collaboration')
177
+ SidebarMainLinks[index].subMenu = true
178
+ }
179
+
180
+ const hasManagementAccess = appCategories.includes(SidebarCategory.MANAGEMENT);
181
+ const hasMarketplaceAccess = appCategories.includes(SidebarCategory.MARKETPLACE);
182
+ const hasHomeAccess = appCategories.includes(SidebarCategory.MY_HOME);
183
+ const hasMyAppAccess = appCategories.includes(SidebarCategory.MY_APPS);
184
+ const hasCollaborationAccess = appCategories.includes(SidebarCategory.COLLABORATION) || sidebarOptions.map(option => option.category).includes(SidebarCategory.COLLABORATION);
185
+
186
+ return SidebarMainLinks.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.Marketplace || hasMarketplaceAccess))
187
+ .filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.Management || hasManagementAccess))
188
+ .filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.Home || hasHomeAccess))
189
+ .filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.MyApps || hasMyAppAccess))
190
+ .filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.Collaboration || hasCollaborationAccess))
191
+ .map((mainLinkProps, index) => <SidebarMainLink appContext={appContext} {...mainLinkProps} key={`lsac-sidebar-main-link-${index}`} selectedOption={selectedOption} />);
192
+ }
193
+ const mainLinks = CheckManagementAndMarketplaceAccess();
194
+
195
+ const topNavHeightBuffer: React.CSSProperties = {
196
+ top: topNavHeight
197
+ };
198
+
199
+ const sidebarRef = useRef(null);
200
+ useExternalClickListener(sidebarRef);
201
+
202
+
203
+
204
+ const handleMouseLeave = () => {
205
+ if (!isMinimal) {
206
+ reduxDispatch(SetExpandSidebar(false));
207
+ reduxDispatch(SetMinimalSidebar(true));
208
+ }
209
+ reduxDispatch(SetSelectedSidebarOption(selectedOption));
210
+ reduxDispatch(SetShowExpandedApps(false));
211
+ };
212
+
213
+ return (
214
+ <div className={'lsac-sidebar-container'}>
215
+ <div className={cx('lsac-sidebar', { expanded, isMinimal })}
216
+ style={topNavHeightBuffer}
217
+ ref={sidebarRef}
218
+
219
+ onMouseLeave={handleMouseLeave}
220
+ >
221
+ <div className='icon-strip'>
222
+ {mainLinks}
223
+ </div>
224
+ <div className='submenu'>
225
+ <SidebarSubMenu />
226
+ </div>
227
+ </div>
228
+ {formDisplay}
229
+ </div>
230
+ )
231
+ }
232
+
233
+ const MemoizedSidebar = React.memo(Sidebar);
234
+
235
+ export default MemoizedSidebar;