supernav-test 2.2.17 → 2.2.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. package/dist/App.css +38 -0
  2. package/dist/App.test.js +8 -6
  3. package/dist/LsacContainer.js +25 -10
  4. package/dist/components/lsac-supernavbar/AuthWrapper.js +92 -44
  5. package/dist/components/lsac-supernavbar/LsacSidebar.js +40 -27
  6. package/dist/components/lsac-supernavbar/Store.js +20 -10
  7. package/dist/components/lsac-supernavbar/actions/AuthActions.js +23 -16
  8. package/dist/components/lsac-supernavbar/actions/SidebarActions.js +75 -61
  9. package/dist/components/lsac-supernavbar/components/Sidebar.js +308 -184
  10. package/dist/components/lsac-supernavbar/components/SidebarForm.js +18 -5
  11. package/dist/components/lsac-supernavbar/components/SidebarMainLink.js +118 -54
  12. package/dist/components/lsac-supernavbar/components/SidebarOption.js +19 -5
  13. package/dist/components/lsac-supernavbar/components/SidebarSubMenu.js +147 -61
  14. package/dist/components/lsac-supernavbar/components/SidebarTab.js +65 -46
  15. package/dist/components/lsac-supernavbar/components/Topnav.js +160 -63
  16. package/dist/components/lsac-supernavbar/components/sidebar_submenus/CategorizedSubmenu.js +100 -53
  17. package/dist/components/lsac-supernavbar/components/sidebar_submenus/Marketplace.js +16 -4
  18. package/dist/components/lsac-supernavbar/constants/SidebarConstants.js +13 -8
  19. package/dist/components/lsac-supernavbar/constants/UtilityConstants.js +24 -13
  20. package/dist/components/lsac-supernavbar/interfaces/Models.js +13 -8
  21. package/dist/components/lsac-supernavbar/interfaces/Redux.js +4 -1
  22. package/dist/components/lsac-supernavbar/reducers/AuthReducer.js +37 -15
  23. package/dist/components/lsac-supernavbar/reducers/RootReducer.js +17 -8
  24. package/dist/components/lsac-supernavbar/reducers/SidebarReducer.js +92 -45
  25. package/dist/components/lsac-supernavbar/resources/icomoon-library.json +1 -1
  26. package/dist/components/lsac-supernavbar/static/images/close-hamburger-icon.svg +6 -0
  27. package/dist/components/lsac-supernavbar/static/images/hamburger-icon.svg +7 -0
  28. package/dist/components/lsac-supernavbar/static/images/icon-user.svg +7 -0
  29. package/dist/components/lsac-supernavbar/static/images/saama_logo.png +0 -0
  30. package/dist/components/lsac-supernavbar/static/images/saama_logo.svg +26 -0
  31. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/caret_down.svg +6 -0
  32. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/caret_left.svg +6 -0
  33. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/caret_right.svg +6 -0
  34. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/caret_up.svg +6 -0
  35. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/glyph1_comprehend.svg +6 -0
  36. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/management_icon.svg +12 -0
  37. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/marketplace_icon.svg +9 -0
  38. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/my_apps.svg +8 -0
  39. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/rbqm-triangle.svg +31 -0
  40. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/rightIcon.svg +8 -0
  41. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/space_comprehend.svg +6 -0
  42. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/triangle-exclamation.svg +9 -0
  43. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E$A32_comprehend.svg +6 -0
  44. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E$A36_comprehend.svg +6 -0
  45. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$A1_comprehend.svg +6 -0
  46. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$E$B_comprehend.svg +6 -0
  47. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$F0_comprehend.svg +6 -0
  48. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E00$B_comprehend.svg +7 -0
  49. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E00$D_comprehend.svg +6 -0
  50. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E002_comprehend.svg +6 -0
  51. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E070_comprehend.svg +8 -0
  52. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E086_comprehend.svg +6 -0
  53. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E092_comprehend.svg +7 -0
  54. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B$A_comprehend.svg +8 -0
  55. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B$F_comprehend.svg +6 -0
  56. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B5_comprehend.svg +6 -0
  57. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$C8_comprehend.svg +6 -0
  58. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D$C_comprehend.svg +8 -0
  59. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D$F_comprehend.svg +8 -0
  60. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D5_comprehend.svg +7 -0
  61. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D6_comprehend.svg +7 -0
  62. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D9_comprehend.svg +7 -0
  63. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$F$E_comprehend.svg +7 -0
  64. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$F7_comprehend.svg +7 -0
  65. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$C_comprehend.svg +7 -0
  66. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$D_comprehend.svg +7 -0
  67. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$E_comprehend.svg +7 -0
  68. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$F_comprehend.svg +7 -0
  69. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E101_comprehend.svg +8 -0
  70. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E110_comprehend.svg +7 -0
  71. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E115_comprehend.svg +8 -0
  72. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E123_comprehend.svg +6 -0
  73. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E138_comprehend.svg +8 -0
  74. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E14$B_comprehend.svg +6 -0
  75. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E150_comprehend.svg +7 -0
  76. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E185_comprehend.svg +7 -0
  77. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E186_comprehend.svg +8 -0
  78. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E187_comprehend.svg +8 -0
  79. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$A7_comprehend.svg +8 -0
  80. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$A9_comprehend.svg +6 -0
  81. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$B7_comprehend.svg +7 -0
  82. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$C$F_comprehend.svg +8 -0
  83. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$D$C_comprehend.svg +7 -0
  84. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$D$D_comprehend.svg +8 -0
  85. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$F$F_comprehend.svg +6 -0
  86. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E20$B_comprehend.svg +10 -0
  87. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E201_comprehend.svg +6 -0
  88. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E204_comprehend.svg +7 -0
  89. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E23$A_comprehend.svg +9 -0
  90. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E250_comprehend.svg +7 -0
  91. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E279_comprehend.svg +9 -0
  92. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E28$E_comprehend.svg +6 -0
  93. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E29$C_comprehend.svg +6 -0
  94. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$A7_comprehend.svg +7 -0
  95. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$A8_comprehend.svg +7 -0
  96. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$B3_comprehend.svg +6 -0
  97. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D3_comprehend.svg +7 -0
  98. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D4_comprehend.svg +7 -0
  99. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D7_comprehend.svg +7 -0
  100. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E301_comprehend.svg +6 -0
  101. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E35$A_comprehend.svg +9 -0
  102. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E35$E_comprehend.svg +8 -0
  103. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E36$E_comprehend.svg +7 -0
  104. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E362_comprehend.svg +8 -0
  105. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E37$A_comprehend.svg +6 -0
  106. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E370_comprehend.svg +6 -0
  107. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E2_comprehend.svg +11 -0
  108. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E4_comprehend.svg +7 -0
  109. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E5_comprehend.svg +7 -0
  110. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E7_comprehend.svg +8 -0
  111. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E418_comprehend.svg +6 -0
  112. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E42$E_comprehend.svg +6 -0
  113. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E42$F_comprehend.svg +6 -0
  114. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E43$A_comprehend.svg +7 -0
  115. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E43$B_comprehend.svg +6 -0
  116. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E430_comprehend.svg +6 -0
  117. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E431_comprehend.svg +6 -0
  118. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E445_comprehend.svg +6 -0
  119. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E465_comprehend.svg +7 -0
  120. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E475_comprehend.svg +6 -0
  121. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E481_comprehend.svg +6 -0
  122. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$A_comprehend.svg +6 -0
  123. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$B_comprehend.svg +8 -0
  124. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$C_comprehend.svg +6 -0
  125. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$D_comprehend.svg +6 -0
  126. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$E_comprehend.svg +6 -0
  127. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$F_comprehend.svg +9 -0
  128. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E600_comprehend.svg +6 -0
  129. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E601_comprehend.svg +6 -0
  130. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E602_comprehend.svg +6 -0
  131. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E603_comprehend.svg +6 -0
  132. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E604_comprehend.svg +6 -0
  133. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E605_comprehend.svg +6 -0
  134. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E606_comprehend.svg +6 -0
  135. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E607_comprehend.svg +6 -0
  136. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E608_comprehend.svg +6 -0
  137. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E609_comprehend.svg +6 -0
  138. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$A_comprehend.svg +8 -0
  139. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$B_comprehend.svg +6 -0
  140. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$C_comprehend.svg +9 -0
  141. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$F_comprehend.svg +8 -0
  142. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E610_comprehend.svg +6 -0
  143. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E611_comprehend.svg +8 -0
  144. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E612_comprehend.svg +7 -0
  145. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E613_comprehend.svg +12 -0
  146. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E614_comprehend.svg +6 -0
  147. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E615_comprehend.svg +8 -0
  148. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E616_comprehend.svg +8 -0
  149. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E617_comprehend.svg +8 -0
  150. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E618_comprehend.svg +7 -0
  151. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E619_comprehend.svg +6 -0
  152. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E620_comprehend.svg +6 -0
  153. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E621_comprehend.svg +6 -0
  154. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E622_comprehend.svg +6 -0
  155. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E623_comprehend.svg +6 -0
  156. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E624_comprehend.svg +6 -0
  157. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E625_comprehend.svg +6 -0
  158. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E626_comprehend.svg +6 -0
  159. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$A_comprehend.svg +12 -0
  160. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$B_comprehend.svg +6 -0
  161. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$C_comprehend.svg +9 -0
  162. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$D_comprehend.svg +14 -0
  163. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$E_comprehend.svg +10 -0
  164. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$F_comprehend.svg +9 -0
  165. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E900_comprehend.svg +7 -0
  166. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E901_comprehend.svg +6 -0
  167. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E902_comprehend.svg +6 -0
  168. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E903_comprehend.svg +6 -0
  169. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E904_comprehend.svg +6 -0
  170. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E905_comprehend.svg +12 -0
  171. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E907_comprehend.svg +7 -0
  172. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E908_comprehend.svg +16 -0
  173. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E909_comprehend.svg +7 -0
  174. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$A_comprehend.svg +7 -0
  175. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$C_comprehend.svg +9 -0
  176. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$E_comprehend.svg +12 -0
  177. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$F_comprehend.svg +16 -0
  178. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E910_comprehend.svg +6 -0
  179. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E911_comprehend.svg +12 -0
  180. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E912_comprehend.svg +11 -0
  181. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E913_comprehend.svg +8 -0
  182. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E914_comprehend.svg +11 -0
  183. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E915_comprehend.svg +8 -0
  184. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E917_comprehend.svg +34 -0
  185. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E918_comprehend.svg +7 -0
  186. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E919_comprehend.svg +6 -0
  187. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E920_comprehend.svg +11 -0
  188. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E921_comprehend.svg +12 -0
  189. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E93$D_comprehend.svg +13 -0
  190. package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni0001_comprehend.svg +6 -0
  191. package/dist/components/lsac-supernavbar/stylesheets/LsacSidebar.css +73 -0
  192. package/dist/components/lsac-supernavbar/stylesheets/font-face.scss +12 -0
  193. package/dist/components/lsac-supernavbar/stylesheets/font-sizer.scss +4 -0
  194. package/dist/components/lsac-supernavbar/stylesheets/fontIcons.css +540 -0
  195. package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.eot +0 -0
  196. package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.svg +3521 -0
  197. package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.ttf +0 -0
  198. package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.woff +0 -0
  199. package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.woff2 +0 -0
  200. package/dist/components/lsac-supernavbar/stylesheets/fonts/comprehend.eot +0 -0
  201. package/dist/components/lsac-supernavbar/stylesheets/fonts/comprehend.svg +190 -0
  202. package/dist/components/lsac-supernavbar/stylesheets/fonts/comprehend.ttf +0 -0
  203. package/dist/components/lsac-supernavbar/stylesheets/fonts/comprehend.woff +0 -0
  204. package/dist/components/lsac-supernavbar/stylesheets/form.scss +16 -0
  205. package/dist/components/lsac-supernavbar/stylesheets/sidebar-main-link.scss +72 -0
  206. package/dist/components/lsac-supernavbar/stylesheets/sidebar.scss +222 -0
  207. package/dist/components/lsac-supernavbar/stylesheets/study-filter.scss +358 -0
  208. package/dist/components/lsac-supernavbar/stylesheets/topnav.scss +371 -0
  209. package/dist/components/lsac-supernavbar/test/App.test.js +25 -19
  210. package/dist/components/lsac-supernavbar/util/SubmenuUtil.js +200 -104
  211. package/dist/components/lsac-supernavbar/util/Util.js +49 -22
  212. package/dist/index.css +13 -0
  213. package/dist/index.js +17 -12
  214. package/dist/logo.svg +1 -0
  215. package/dist/react-app-env.d.js +2 -0
  216. package/dist/reportWebVitals.js +31 -30
  217. package/dist/setupTests.js +2 -6
  218. package/package.json +3 -2
  219. package/dist/caf68d0a64d31f733320266312e3a2ca.svg +0 -1
  220. package/dist/index.html +0 -1
package/dist/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
+ }
package/dist/App.test.js CHANGED
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const react_1 = require("@testing-library/react");
4
- test('renders learn react link', () => {
5
- const linkElement = react_1.screen.getByText(/learn react/i);
6
- expect(linkElement).toBeInTheDocument();
7
- });
2
+
3
+ var _react = require("@testing-library/react");
4
+
5
+ test('renders learn react link', function () {
6
+ var linkElement = _react.screen.getByText(/learn react/i);
7
+
8
+ expect(linkElement).toBeInTheDocument();
9
+ });
@@ -1,14 +1,29 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
7
10
  require("./App.css");
8
- const LsacSidebar_1 = __importDefault(require("./components/lsac-supernavbar/LsacSidebar"));
9
- const react_redux_1 = require("react-redux");
10
- const Store_1 = __importDefault(require("./components/lsac-supernavbar/Store"));
11
+
12
+ var _LsacSidebar = _interopRequireDefault(require("./components/lsac-supernavbar/LsacSidebar"));
13
+
14
+ var _reactRedux = require("react-redux");
15
+
16
+ var _Store = _interopRequireDefault(require("./components/lsac-supernavbar/Store"));
17
+
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
+
11
20
  function LsacContainer(props) {
12
- return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: "App" }, { children: (0, jsx_runtime_1.jsx)(react_redux_1.Provider, Object.assign({ store: Store_1.default }, { children: (0, jsx_runtime_1.jsx)(LsacSidebar_1.default, Object.assign({}, props), void 0) }), void 0) }), void 0));
21
+ return /*#__PURE__*/_react.default.createElement("div", {
22
+ className: "App"
23
+ }, /*#__PURE__*/_react.default.createElement(_reactRedux.Provider, {
24
+ store: _Store.default
25
+ }, /*#__PURE__*/_react.default.createElement(_LsacSidebar.default, props)));
13
26
  }
14
- exports.default = LsacContainer;
27
+
28
+ var _default = LsacContainer;
29
+ exports.default = _default;
@@ -1,47 +1,95 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const react_1 = require("react");
8
- const react_redux_1 = require("react-redux");
9
- const AuthActions_1 = require("./actions/AuthActions");
10
- const SidebarActions_1 = require("./actions/SidebarActions");
11
- const Topnav_1 = __importDefault(require("./components/Topnav"));
12
- const Sidebar_1 = __importDefault(require("./components/Sidebar"));
13
- const UtilityConstants_1 = require("./constants/UtilityConstants");
14
- const Util_1 = __importDefault(require("./util/Util"));
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var _react = _interopRequireWildcard(require("react"));
11
+
12
+ var _reactRedux = require("react-redux");
13
+
14
+ var _AuthActions = require("./actions/AuthActions");
15
+
16
+ var _SidebarActions = require("./actions/SidebarActions");
17
+
18
+ var _Topnav = _interopRequireDefault(require("./components/Topnav"));
19
+
20
+ var _Sidebar = _interopRequireDefault(require("./components/Sidebar"));
21
+
22
+ var _UtilityConstants = require("./constants/UtilityConstants");
23
+
24
+ var _Util = _interopRequireDefault(require("./util/Util"));
25
+
26
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
+
28
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
29
+
30
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
31
+
15
32
  function AuthWrapper(props) {
16
- const { currentNav, sidebarOptions, appContext, extraTopNavComponent, ignoreUniversalFontSizer, topNavHeight, applicationTitle, runMode, userInfo, accountName, accountSwitchUrl, logoutUrl, topnavDisplayMode, sidebarDisplayMode } = props;
17
- const uiDevMode = runMode === UtilityConstants_1.RunModes.UI_DEV_MODE;
18
- const dispatch = (0, react_redux_1.useDispatch)();
19
- (0, react_1.useEffect)(() => {
20
- dispatch((0, AuthActions_1.setUiDevMode)(uiDevMode));
21
- }, [uiDevMode]);
22
- // Once we have an initialized keycloak, then fetch the userInfo's information
23
- (0, react_1.useEffect)(() => {
24
- if (!uiDevMode && userInfo) {
25
- dispatch((0, AuthActions_1.setUserInfo)(userInfo));
26
- }
27
- }, [uiDevMode, userInfo]);
28
- (0, react_1.useEffect)(() => {
29
- if (uiDevMode) {
30
- dispatch((0, AuthActions_1.setUserInfo)({
31
- name: 'test-userInfo'
32
- }));
33
- }
34
- }, [uiDevMode]);
35
- // If the calling application has local application links, set those in the store so they can be consumed by the Sidebar
36
- (0, react_1.useEffect)(() => {
37
- if (sidebarOptions && sidebarOptions.length > 0) {
38
- const applications = Util_1.default.sidebarOptionsToApplication(sidebarOptions);
39
- dispatch((0, SidebarActions_1.SetLocalApps)(applications));
40
- }
41
- }, [sidebarOptions]);
42
- const isReady = uiDevMode || userInfo;
43
- return isReady
44
- ? ((0, jsx_runtime_1.jsxs)("div", Object.assign({ id: 'lsac-supernavbar-root' }, { children: [(0, jsx_runtime_1.jsx)(Topnav_1.default, { extraTopNavComponent: extraTopNavComponent, topNavHeight: topNavHeight, applicationTitle: applicationTitle, accountName: accountName, accountSwitchUrl: accountSwitchUrl, logoutUrl: logoutUrl, sidebarDisplayMode: sidebarDisplayMode, topnavDisplayMode: topnavDisplayMode }, void 0), (0, jsx_runtime_1.jsx)(Sidebar_1.default, { currentNav: currentNav, appContext: appContext, topNavHeight: topNavHeight, sidebarDisplayMode: sidebarDisplayMode, sidebarOptions: sidebarOptions }, void 0)] }), void 0))
45
- : null;
33
+ var currentNav = props.currentNav,
34
+ sidebarOptions = props.sidebarOptions,
35
+ appContext = props.appContext,
36
+ extraTopNavComponent = props.extraTopNavComponent,
37
+ ignoreUniversalFontSizer = props.ignoreUniversalFontSizer,
38
+ topNavHeight = props.topNavHeight,
39
+ applicationTitle = props.applicationTitle,
40
+ runMode = props.runMode,
41
+ userInfo = props.userInfo,
42
+ accountName = props.accountName,
43
+ accountSwitchUrl = props.accountSwitchUrl,
44
+ logoutUrl = props.logoutUrl,
45
+ topnavDisplayMode = props.topnavDisplayMode,
46
+ sidebarDisplayMode = props.sidebarDisplayMode;
47
+ var uiDevMode = runMode === _UtilityConstants.RunModes.UI_DEV_MODE;
48
+ var dispatch = (0, _reactRedux.useDispatch)();
49
+ (0, _react.useEffect)(function () {
50
+ dispatch((0, _AuthActions.setUiDevMode)(uiDevMode));
51
+ }, [uiDevMode]); // Once we have an initialized keycloak, then fetch the userInfo's information
52
+
53
+ (0, _react.useEffect)(function () {
54
+ if (!uiDevMode && userInfo) {
55
+ dispatch((0, _AuthActions.setUserInfo)(userInfo));
56
+ }
57
+ }, [uiDevMode, userInfo]);
58
+ (0, _react.useEffect)(function () {
59
+ if (uiDevMode) {
60
+ dispatch((0, _AuthActions.setUserInfo)({
61
+ name: 'test-userInfo'
62
+ }));
63
+ }
64
+ }, [uiDevMode]); // If the calling application has local application links, set those in the store so they can be consumed by the Sidebar
65
+
66
+ (0, _react.useEffect)(function () {
67
+ if (sidebarOptions && sidebarOptions.length > 0) {
68
+ var applications = _Util.default.sidebarOptionsToApplication(sidebarOptions);
69
+
70
+ dispatch((0, _SidebarActions.SetLocalApps)(applications));
71
+ }
72
+ }, [sidebarOptions]);
73
+ var isReady = uiDevMode || userInfo;
74
+ return isReady ? /*#__PURE__*/_react.default.createElement("div", {
75
+ id: "lsac-supernavbar-root"
76
+ }, /*#__PURE__*/_react.default.createElement(_Topnav.default, {
77
+ extraTopNavComponent: extraTopNavComponent,
78
+ topNavHeight: topNavHeight,
79
+ applicationTitle: applicationTitle,
80
+ accountName: accountName,
81
+ accountSwitchUrl: accountSwitchUrl,
82
+ logoutUrl: logoutUrl,
83
+ sidebarDisplayMode: sidebarDisplayMode,
84
+ topnavDisplayMode: topnavDisplayMode
85
+ }), /*#__PURE__*/_react.default.createElement(_Sidebar.default, {
86
+ currentNav: currentNav,
87
+ appContext: appContext,
88
+ topNavHeight: topNavHeight,
89
+ sidebarDisplayMode: sidebarDisplayMode,
90
+ sidebarOptions: sidebarOptions
91
+ })) : null;
46
92
  }
47
- exports.default = AuthWrapper;
93
+
94
+ var _default = AuthWrapper;
95
+ exports.default = _default;
@@ -1,35 +1,48 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const AuthWrapper_1 = __importDefault(require("./AuthWrapper"));
8
- const UtilityConstants_1 = require("./constants/UtilityConstants");
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _AuthWrapper = _interopRequireDefault(require("./AuthWrapper"));
11
+
12
+ var _UtilityConstants = require("./constants/UtilityConstants");
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
+
9
16
  require('./stylesheets/LsacSidebar.css');
17
+
10
18
  require('./stylesheets/fontIcons.css');
19
+
11
20
  require('./stylesheets/font-sizer.scss');
21
+
12
22
  function LsacSidebar(props) {
13
- const content = (0, jsx_runtime_1.jsx)(AuthWrapper_1.default, Object.assign({}, props), void 0);
14
- return (content);
23
+ var content = /*#__PURE__*/_react.default.createElement(_AuthWrapper.default, props);
24
+
25
+ return content;
15
26
  }
27
+
16
28
  LsacSidebar.defaultProps = {
17
- componentTitle: 'Lsac Supernavbar',
18
- apiKey: null,
19
- currentNav: '',
20
- appContext: '',
21
- sidebarOptions: [],
22
- extraTopNavComponent: null,
23
- ignoreUniversalFontSizer: false,
24
- topNavHeight: '3.5rem',
25
- applicationTitle: '',
26
- runMode: 'ui_dev_mode',
27
- hasKeycloakInstance: false,
28
- userInfo: null,
29
- accountName: '',
30
- accountSwitchUrl: '',
31
- logoutUrl: '',
32
- topnavDisplayMode: UtilityConstants_1.TopnavDisplayModes.ALL,
33
- sidebarDisplayMode: UtilityConstants_1.SidebarDisplayModes.MINIMAL
29
+ componentTitle: 'Lsac Supernavbar',
30
+ apiKey: null,
31
+ currentNav: '',
32
+ appContext: '',
33
+ sidebarOptions: [],
34
+ extraTopNavComponent: null,
35
+ ignoreUniversalFontSizer: false,
36
+ topNavHeight: '3.5rem',
37
+ applicationTitle: '',
38
+ runMode: 'ui_dev_mode',
39
+ hasKeycloakInstance: false,
40
+ userInfo: null,
41
+ accountName: '',
42
+ accountSwitchUrl: '',
43
+ logoutUrl: '',
44
+ topnavDisplayMode: _UtilityConstants.TopnavDisplayModes.ALL,
45
+ sidebarDisplayMode: _UtilityConstants.SidebarDisplayModes.MINIMAL
34
46
  };
35
- exports.default = LsacSidebar;
47
+ var _default = LsacSidebar;
48
+ exports.default = _default;
@@ -1,12 +1,22 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const redux_1 = require("redux");
7
- const redux_thunk_1 = __importDefault(require("redux-thunk"));
8
- const RootReducer_1 = __importDefault(require("./reducers/RootReducer"));
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _redux = require("redux");
9
+
10
+ var _reduxThunk = _interopRequireDefault(require("redux-thunk"));
11
+
12
+ var _RootReducer = _interopRequireDefault(require("./reducers/RootReducer"));
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
+
9
16
  // @ts-ignore
10
- const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || redux_1.compose;
11
- const store = (0, redux_1.createStore)(RootReducer_1.default, /* preloadedState, */ composeEnhancers((0, redux_1.applyMiddleware)(redux_thunk_1.default)));
12
- exports.default = store;
17
+ var composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || _redux.compose;
18
+ var store = (0, _redux.createStore)(_RootReducer.default,
19
+ /* preloadedState, */
20
+ composeEnhancers((0, _redux.applyMiddleware)(_reduxThunk.default)));
21
+ var _default = store;
22
+ exports.default = _default;
@@ -1,22 +1,29 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.setUiDevMode = exports.setUserInfo = exports.actionTypes = void 0;
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.setUserInfo = setUserInfo;
7
+ exports.setUiDevMode = setUiDevMode;
8
+ exports.actionTypes = void 0;
4
9
  var actionTypes;
10
+ exports.actionTypes = actionTypes;
11
+
5
12
  (function (actionTypes) {
6
- actionTypes["SET_UI_DEV_MODE"] = "SET_UI_DEV_MODE";
7
- actionTypes["SET_USER_INFO"] = "SET_USER_INFO";
8
- })(actionTypes = exports.actionTypes || (exports.actionTypes = {}));
13
+ actionTypes["SET_UI_DEV_MODE"] = "SET_UI_DEV_MODE";
14
+ actionTypes["SET_USER_INFO"] = "SET_USER_INFO";
15
+ })(actionTypes || (exports.actionTypes = actionTypes = {}));
16
+
9
17
  function setUserInfo(user) {
10
- return {
11
- type: actionTypes.SET_USER_INFO,
12
- payload: user,
13
- };
18
+ return {
19
+ type: actionTypes.SET_USER_INFO,
20
+ payload: user
21
+ };
14
22
  }
15
- exports.setUserInfo = setUserInfo;
23
+
16
24
  function setUiDevMode(uiDevMode) {
17
- return {
18
- type: actionTypes.SET_UI_DEV_MODE,
19
- payload: uiDevMode,
20
- };
21
- }
22
- exports.setUiDevMode = setUiDevMode;
25
+ return {
26
+ type: actionTypes.SET_UI_DEV_MODE,
27
+ payload: uiDevMode
28
+ };
29
+ }
@@ -1,81 +1,95 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SetShowExpandedApps = exports.ExpandApp = exports.SetSelectedSidebarOption = exports.SetLocalApps = exports.SetMinimalSidebar = exports.SetExpandSidebar = exports.SetTopnavToggleref = exports.registerExtraTopNavComponent = exports.registerSidebarOptions = exports.actionTypes = void 0;
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.registerSidebarOptions = registerSidebarOptions;
7
+ exports.registerExtraTopNavComponent = registerExtraTopNavComponent;
8
+ exports.SetTopnavToggleref = SetTopnavToggleref;
9
+ exports.SetExpandSidebar = SetExpandSidebar;
10
+ exports.SetMinimalSidebar = SetMinimalSidebar;
11
+ exports.SetLocalApps = SetLocalApps;
12
+ exports.SetSelectedSidebarOption = SetSelectedSidebarOption;
13
+ exports.ExpandApp = ExpandApp;
14
+ exports.SetShowExpandedApps = SetShowExpandedApps;
15
+ exports.actionTypes = void 0;
4
16
  var actionTypes;
17
+ exports.actionTypes = actionTypes;
18
+
5
19
  (function (actionTypes) {
6
- actionTypes["EXPAND_APP"] = "EXPAND_APP";
7
- actionTypes["REGISTER_EXTRA_TOP_NAV_COMPONENT"] = "REGISTER_EXTRA_TOP_NAV_COMPONENT";
8
- actionTypes["REGISTER_SIDEBAR_OPTIONS"] = "REGISTER_SIDEBAR_OPTIONS";
9
- actionTypes["SET_LOCAL_APPLICATIONS"] = "SET_LOCAL_APPLICATIONS";
10
- actionTypes["SET_EXPAND_SIDEBAR"] = "SET_EXPAND_SIDEBAR";
11
- actionTypes["SET_SELECTED_SIDEBAR_OPTION"] = "SET_SELECTED_SIDEBAR_OPTION";
12
- actionTypes["SET_TOPNAV_TOGGLE_REF"] = "SET_TOPNAV_TOGGLE_REF";
13
- actionTypes["SET_MINIMAL_SIDEBAR"] = "SET_MINIMAL_SIDEBAR";
14
- actionTypes["SET_SHOW_EXPANDED_APPS"] = "SET_SHOW_EXPANDED_APPS";
15
- })(actionTypes = exports.actionTypes || (exports.actionTypes = {}));
20
+ actionTypes["EXPAND_APP"] = "EXPAND_APP";
21
+ actionTypes["REGISTER_EXTRA_TOP_NAV_COMPONENT"] = "REGISTER_EXTRA_TOP_NAV_COMPONENT";
22
+ actionTypes["REGISTER_SIDEBAR_OPTIONS"] = "REGISTER_SIDEBAR_OPTIONS";
23
+ actionTypes["SET_LOCAL_APPLICATIONS"] = "SET_LOCAL_APPLICATIONS";
24
+ actionTypes["SET_EXPAND_SIDEBAR"] = "SET_EXPAND_SIDEBAR";
25
+ actionTypes["SET_SELECTED_SIDEBAR_OPTION"] = "SET_SELECTED_SIDEBAR_OPTION";
26
+ actionTypes["SET_TOPNAV_TOGGLE_REF"] = "SET_TOPNAV_TOGGLE_REF";
27
+ actionTypes["SET_MINIMAL_SIDEBAR"] = "SET_MINIMAL_SIDEBAR";
28
+ actionTypes["SET_SHOW_EXPANDED_APPS"] = "SET_SHOW_EXPANDED_APPS";
29
+ })(actionTypes || (exports.actionTypes = actionTypes = {}));
30
+
16
31
  function registerSidebarOptions(options) {
17
- return {
18
- type: actionTypes.REGISTER_SIDEBAR_OPTIONS,
19
- payload: options,
20
- };
32
+ return {
33
+ type: actionTypes.REGISTER_SIDEBAR_OPTIONS,
34
+ payload: options
35
+ };
21
36
  }
22
- exports.registerSidebarOptions = registerSidebarOptions;
37
+
23
38
  function registerExtraTopNavComponent(component) {
24
- return {
25
- type: actionTypes.REGISTER_EXTRA_TOP_NAV_COMPONENT,
26
- payload: component,
27
- };
39
+ return {
40
+ type: actionTypes.REGISTER_EXTRA_TOP_NAV_COMPONENT,
41
+ payload: component
42
+ };
28
43
  }
29
- exports.registerExtraTopNavComponent = registerExtraTopNavComponent;
44
+
30
45
  function SetTopnavToggleref(ref) {
31
- return {
32
- type: actionTypes.SET_TOPNAV_TOGGLE_REF,
33
- payload: ref
34
- };
46
+ return {
47
+ type: actionTypes.SET_TOPNAV_TOGGLE_REF,
48
+ payload: ref
49
+ };
35
50
  }
36
- exports.SetTopnavToggleref = SetTopnavToggleref;
51
+
37
52
  function SetExpandSidebar(isExpanded) {
38
- return {
39
- type: actionTypes.SET_EXPAND_SIDEBAR,
40
- payload: isExpanded,
41
- };
53
+ return {
54
+ type: actionTypes.SET_EXPAND_SIDEBAR,
55
+ payload: isExpanded
56
+ };
42
57
  }
43
- exports.SetExpandSidebar = SetExpandSidebar;
58
+
44
59
  function SetMinimalSidebar(isMinimal) {
45
- return {
46
- type: actionTypes.SET_MINIMAL_SIDEBAR,
47
- payload: isMinimal,
48
- };
60
+ return {
61
+ type: actionTypes.SET_MINIMAL_SIDEBAR,
62
+ payload: isMinimal
63
+ };
49
64
  }
50
- exports.SetMinimalSidebar = SetMinimalSidebar;
65
+
51
66
  function SetLocalApps(localApps) {
52
- return {
53
- type: actionTypes.SET_LOCAL_APPLICATIONS,
54
- payload: localApps,
55
- };
67
+ return {
68
+ type: actionTypes.SET_LOCAL_APPLICATIONS,
69
+ payload: localApps
70
+ };
56
71
  }
57
- exports.SetLocalApps = SetLocalApps;
72
+
58
73
  function SetSelectedSidebarOption(menuType) {
59
- return {
60
- type: actionTypes.SET_SELECTED_SIDEBAR_OPTION,
61
- payload: menuType,
62
- };
74
+ return {
75
+ type: actionTypes.SET_SELECTED_SIDEBAR_OPTION,
76
+ payload: menuType
77
+ };
63
78
  }
64
- exports.SetSelectedSidebarOption = SetSelectedSidebarOption;
79
+
65
80
  function ExpandApp(appKey, isExpanded) {
66
- return {
67
- type: actionTypes.EXPAND_APP,
68
- payload: {
69
- appKey,
70
- isExpanded
71
- },
72
- };
81
+ return {
82
+ type: actionTypes.EXPAND_APP,
83
+ payload: {
84
+ appKey: appKey,
85
+ isExpanded: isExpanded
86
+ }
87
+ };
73
88
  }
74
- exports.ExpandApp = ExpandApp;
89
+
75
90
  function SetShowExpandedApps(expanded) {
76
- return {
77
- type: actionTypes.SET_SHOW_EXPANDED_APPS,
78
- payload: expanded
79
- };
80
- }
81
- exports.SetShowExpandedApps = SetShowExpandedApps;
91
+ return {
92
+ type: actionTypes.SET_SHOW_EXPANDED_APPS,
93
+ payload: expanded
94
+ };
95
+ }