supernav-test 2.2.4 → 2.2.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/App.css +38 -0
- package/dist/App.test.js +9 -0
- package/dist/SupernavContainer.js +29 -0
- package/dist/{AuthWrapper.js → components/lsac-supernavbar/AuthWrapper.js} +0 -0
- package/dist/{LsacSidebar.js → components/lsac-supernavbar/LsacSidebar.js} +0 -0
- package/dist/components/lsac-supernavbar/Store.js +22 -0
- package/dist/components/lsac-supernavbar/actions/AuthActions.js +29 -0
- package/dist/components/lsac-supernavbar/actions/SidebarActions.js +95 -0
- package/dist/components/{Sidebar.js → lsac-supernavbar/components/Sidebar.js} +0 -0
- package/dist/components/{SidebarForm.js → lsac-supernavbar/components/SidebarForm.js} +0 -0
- package/dist/components/{SidebarMainLink.js → lsac-supernavbar/components/SidebarMainLink.js} +3 -2
- package/dist/components/{SidebarOption.js → lsac-supernavbar/components/SidebarOption.js} +0 -0
- package/dist/components/{SidebarSubMenu.js → lsac-supernavbar/components/SidebarSubMenu.js} +0 -0
- package/dist/components/{SidebarTab.jsx → lsac-supernavbar/components/SidebarTab.jsx} +0 -0
- package/dist/components/{Topnav.js → lsac-supernavbar/components/Topnav.js} +16 -8
- package/dist/components/{sidebar_submenus → lsac-supernavbar/components/sidebar_submenus}/CategorizedSubmenu.js +0 -0
- package/dist/components/{sidebar_submenus → lsac-supernavbar/components/sidebar_submenus}/Marketplace.js +0 -0
- package/dist/components/lsac-supernavbar/constants/SidebarConstants.js +17 -0
- package/dist/components/lsac-supernavbar/constants/UtilityConstants.js +32 -0
- package/dist/components/lsac-supernavbar/interfaces/Models.js +17 -0
- package/dist/components/lsac-supernavbar/interfaces/Redux.js +5 -0
- package/dist/components/lsac-supernavbar/reducers/AuthReducer.js +41 -0
- package/dist/components/lsac-supernavbar/reducers/RootReducer.js +19 -0
- package/dist/components/lsac-supernavbar/reducers/SidebarReducer.js +96 -0
- package/dist/components/lsac-supernavbar/resources/icomoon-library.json +7569 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/close-hamburger-icon.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/hamburger-icon.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/icon-user.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/saama_logo.png +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/saama_logo.svg +2 -2
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/caret_down.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/caret_left.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/caret_right.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/caret_up.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/glyph1_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/management_icon.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/marketplace_icon.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/my_apps.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/rbqm-triangle.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/rightIcon.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/space_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/triangle-exclamation.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E$A32_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E$A36_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E0$A1_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E0$E$B_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E0$F0_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E00$B_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E00$D_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E002_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E070_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E086_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E092_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E1$B$A_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E1$B$F_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E1$B5_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E1$C8_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E1$D$C_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E1$D$F_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E1$D5_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E1$D6_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E1$D9_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E1$F$E_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E1$F7_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E10$C_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E10$D_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E10$E_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E10$F_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E101_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E110_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E115_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E123_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E138_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E14$B_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E150_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E185_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E186_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E187_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E2$A7_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E2$A9_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E2$B7_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E2$C$F_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E2$D$C_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E2$D$D_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E2$F$F_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E20$B_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E201_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E204_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E23$A_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E250_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E279_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E28$E_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E29$C_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E3$A7_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E3$A8_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E3$B3_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E3$D3_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E3$D4_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E3$D7_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E301_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E35$A_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E35$E_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E36$E_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E362_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E37$A_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E370_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E4$E2_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E4$E4_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E4$E5_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E4$E7_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E418_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E42$E_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E42$F_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E43$A_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E43$B_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E430_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E431_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E445_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E465_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E475_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E481_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E60$A_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E60$B_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E60$C_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E60$D_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E60$E_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E60$F_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E600_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E601_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E602_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E603_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E604_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E605_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E606_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E607_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E608_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E609_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E61$A_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E61$B_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E61$C_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E61$F_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E610_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E611_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E612_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E613_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E614_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E615_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E616_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E617_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E618_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E619_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E620_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E621_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E622_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E623_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E624_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E625_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E626_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E90$A_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E90$B_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E90$C_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E90$D_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E90$E_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E90$F_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E900_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E901_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E902_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E903_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E904_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E905_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E907_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E908_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E909_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E91$A_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E91$C_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E91$E_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E91$F_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E910_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E911_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E912_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E913_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E914_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E915_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E917_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E918_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E919_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E920_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E921_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni$E93$D_comprehend.svg +0 -0
- package/dist/{static → components/lsac-supernavbar/static}/images/sidebar-icons/uni0001_comprehend.svg +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/LsacSidebar.css +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/font-face.scss +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/font-sizer.scss +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/fontIcons.css +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/fonts/ProximaNovaReg.eot +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/fonts/ProximaNovaReg.svg +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/fonts/ProximaNovaReg.ttf +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/fonts/ProximaNovaReg.woff +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/fonts/ProximaNovaReg.woff2 +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/fonts/comprehend.eot +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/fonts/comprehend.svg +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/fonts/comprehend.ttf +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/fonts/comprehend.woff +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/form.scss +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/sidebar-main-link.scss +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/sidebar.scss +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/study-filter.scss +0 -0
- package/dist/{stylesheets → components/lsac-supernavbar/stylesheets}/topnav.scss +0 -0
- package/dist/components/lsac-supernavbar/test/App.test.js +28 -0
- package/dist/{util → components/lsac-supernavbar/util}/SubmenuUtil.js +10 -2
- package/dist/components/lsac-supernavbar/util/Util.js +51 -0
- package/dist/index.css +13 -0
- package/dist/index.js +11 -18
- package/dist/logo.svg +1 -0
- package/dist/react-app-env.d.js +2 -0
- package/dist/reportWebVitals.js +34 -0
- package/dist/setupTests.js +3 -0
- package/package.json +4 -4
- package/src/{components/lsac-supernavbar/index.tsx → SupernavContainer.tsx} +2 -2
- package/src/components/lsac-supernavbar/components/SidebarMainLink.tsx +2 -2
- package/src/components/lsac-supernavbar/components/Topnav.tsx +8 -8
- package/src/components/lsac-supernavbar/resources/icomoon-library.json +7569 -1
- package/src/components/lsac-supernavbar/static/images/saama_logo.svg +2 -2
- package/src/components/lsac-supernavbar/util/SubmenuUtil.tsx +5 -5
- package/src/index.tsx +1 -1
- package/tsconfig.json +30 -30
- package/dist/Store.ts +0 -8
- package/dist/actions/AuthActions.ts +0 -21
- package/dist/actions/SidebarActions.ts +0 -81
- package/dist/constants/SidebarConstants.ts +0 -8
- package/dist/constants/UtilityConstants.ts +0 -17
- package/dist/interfaces/Models.ts +0 -71
- package/dist/interfaces/Redux.ts +0 -9
- package/dist/reducers/AuthReducer.ts +0 -24
- package/dist/reducers/RootReducer.ts +0 -12
- package/dist/reducers/SidebarReducer.ts +0 -73
- package/dist/resources/icomoon-library.json +0 -1
- package/dist/test/App.test.js +0 -20
- package/dist/util/Util.ts +0 -24
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import IcomoonReact from "icomoon-react";
|
3
3
|
import { Application, KeycloakAppInfo, SidebarCategory } from "../interfaces/Models";
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
import {ReactComponent as Rbqmtriangle} from '../static/images/sidebar-icons/rbqm-triangle.svg';
|
5
|
+
import {ReactComponent as CaretDown} from '../static/images/sidebar-icons/caret_down.svg';
|
6
|
+
import {ReactComponent as CaretUp} from '../static/images/sidebar-icons/caret_up.svg';
|
7
7
|
import iconSet from "../resources/icomoon-library.json";
|
8
8
|
const baseUrlForIcons = "https://static-content.lsac.cloud/app-icons/";
|
9
9
|
export default class SubmenuUtil {
|
@@ -137,10 +137,10 @@ export default class SubmenuUtil {
|
|
137
137
|
<div className="sub-option" onClick={subAppClick} key={Math.random()}>
|
138
138
|
<div className="sub-option-parent">
|
139
139
|
<span className="sub-option-icon-container">
|
140
|
-
|
140
|
+
<Rbqmtriangle />
|
141
141
|
</span>
|
142
142
|
<span className='label'>RBQM</span>
|
143
|
-
|
143
|
+
<span className="caret">{showSubApps ? <CaretUp /> : <CaretDown />}</span>
|
144
144
|
</div>
|
145
145
|
{showSubApps && subApps}
|
146
146
|
</div>
|
package/src/index.tsx
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import ReactDOM from 'react-dom';
|
3
3
|
import './index.css';
|
4
|
-
import LsacContainer from './
|
4
|
+
import LsacContainer from './SupernavContainer';
|
5
5
|
import reportWebVitals from './reportWebVitals';
|
6
6
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
7
7
|
|
package/tsconfig.json
CHANGED
@@ -1,30 +1,30 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"outDir": "./dist/",
|
4
|
-
"target": "es5",
|
5
|
-
"lib": [
|
6
|
-
"dom",
|
7
|
-
"dom.iterable",
|
8
|
-
"esnext"
|
9
|
-
],
|
10
|
-
"allowJs": true,
|
11
|
-
"skipLibCheck": true,
|
12
|
-
"esModuleInterop": true,
|
13
|
-
"allowSyntheticDefaultImports": true,
|
14
|
-
"strict": true,
|
15
|
-
"forceConsistentCasingInFileNames": true,
|
16
|
-
"noFallthroughCasesInSwitch": true,
|
17
|
-
"module": "esnext",
|
18
|
-
"moduleResolution": "node",
|
19
|
-
"resolveJsonModule": true,
|
20
|
-
"isolatedModules": true,
|
21
|
-
"jsx": "react",
|
22
|
-
"noEmit": true
|
23
|
-
},
|
24
|
-
"include": [
|
25
|
-
"./src/**/*"
|
26
|
-
],
|
27
|
-
"exclude": [
|
28
|
-
"node_modules"
|
29
|
-
]
|
30
|
-
}
|
1
|
+
{
|
2
|
+
"compilerOptions": {
|
3
|
+
"outDir": "./dist/",
|
4
|
+
"target": "es5",
|
5
|
+
"lib": [
|
6
|
+
"dom",
|
7
|
+
"dom.iterable",
|
8
|
+
"esnext"
|
9
|
+
],
|
10
|
+
"allowJs": true,
|
11
|
+
"skipLibCheck": true,
|
12
|
+
"esModuleInterop": true,
|
13
|
+
"allowSyntheticDefaultImports": true,
|
14
|
+
"strict": true,
|
15
|
+
"forceConsistentCasingInFileNames": true,
|
16
|
+
"noFallthroughCasesInSwitch": true,
|
17
|
+
"module": "esnext",
|
18
|
+
"moduleResolution": "node",
|
19
|
+
"resolveJsonModule": true,
|
20
|
+
"isolatedModules": true,
|
21
|
+
"jsx": "react-jsx",
|
22
|
+
"noEmit": true
|
23
|
+
},
|
24
|
+
"include": [
|
25
|
+
"./src/**/*"
|
26
|
+
],
|
27
|
+
"exclude": [
|
28
|
+
"node_modules"
|
29
|
+
]
|
30
|
+
}
|
package/dist/Store.ts
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
import {createStore, applyMiddleware, compose} 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 = createStore(RootReducer, /* preloadedState, */ composeEnhancers(applyMiddleware(thunk)));
|
8
|
-
export default store;
|
@@ -1,21 +0,0 @@
|
|
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
|
-
}
|
@@ -1,81 +0,0 @@
|
|
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
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
export enum SidebarDisplayModes {
|
2
|
-
ALL = 'all',
|
3
|
-
MINIMAL = 'minimal',
|
4
|
-
HIDDEN = 'hidden',
|
5
|
-
}
|
6
|
-
|
7
|
-
export enum TopnavDisplayModes {
|
8
|
-
ALL = 'all',
|
9
|
-
MINIMAL = 'minimal'
|
10
|
-
}
|
11
|
-
|
12
|
-
export enum RunModes {
|
13
|
-
DEVELOPMENT = 'development',
|
14
|
-
VALIDATION = 'validation',
|
15
|
-
PRODUCTION = 'production',
|
16
|
-
UI_DEV_MODE = 'ui_dev_mode',
|
17
|
-
}
|
@@ -1,71 +0,0 @@
|
|
1
|
-
export interface User {
|
2
|
-
Username: string;
|
3
|
-
HasApiAccess: boolean;
|
4
|
-
OrganizationRole: string;
|
5
|
-
LastName: string;
|
6
|
-
FirstName: string;
|
7
|
-
Id: string;
|
8
|
-
IsRegistered: boolean;
|
9
|
-
AgreementVersion: string;
|
10
|
-
Phone: string;
|
11
|
-
}
|
12
|
-
|
13
|
-
export enum SidebarCategory {
|
14
|
-
MY_APPS = 'my_apps',
|
15
|
-
COLLABORATION = 'collaboration',
|
16
|
-
ENGAGEMENT = 'engagement',
|
17
|
-
MANAGEMENT = 'management',
|
18
|
-
MY_HOME = 'my_home',
|
19
|
-
MARKETPLACE = 'marketplace'
|
20
|
-
}
|
21
|
-
|
22
|
-
export interface SidebarOption {
|
23
|
-
label: string;
|
24
|
-
onClick(): void;
|
25
|
-
icon?: any;
|
26
|
-
category?: SidebarCategory;
|
27
|
-
icomoonId?: string;
|
28
|
-
id?: string;
|
29
|
-
url?: string;
|
30
|
-
}
|
31
|
-
|
32
|
-
export interface ApplicationLinkInfo {
|
33
|
-
icon?: any;
|
34
|
-
label: string;
|
35
|
-
onClick?(): void;
|
36
|
-
url?: string;
|
37
|
-
icomoonId?: string;
|
38
|
-
}
|
39
|
-
|
40
|
-
export interface Application {
|
41
|
-
linkInfo: ApplicationLinkInfo;
|
42
|
-
appKey: string;
|
43
|
-
subApplications?: Array<ApplicationLinkInfo>;
|
44
|
-
category?: string;
|
45
|
-
rank?: string;
|
46
|
-
subRank?: number | null;
|
47
|
-
attributes?: any;
|
48
|
-
}
|
49
|
-
|
50
|
-
export interface KeycloakAppInfo {
|
51
|
-
id: string;
|
52
|
-
name: string;
|
53
|
-
description?: string;
|
54
|
-
url: string;
|
55
|
-
attributes: any
|
56
|
-
subRank?: number;
|
57
|
-
}
|
58
|
-
|
59
|
-
export interface UserInfo {
|
60
|
-
sub: string;
|
61
|
-
email_verified: boolean;
|
62
|
-
name: string;
|
63
|
-
accounts: Array<string>;
|
64
|
-
preferred_username: string;
|
65
|
-
"account-groups": Map<string, Array<any>>;
|
66
|
-
given_name: string;
|
67
|
-
"account-roles": Map<string, Array<string>>;
|
68
|
-
family_name: string;
|
69
|
-
email: string;
|
70
|
-
applications: Array<KeycloakAppInfo>;
|
71
|
-
}
|
package/dist/interfaces/Redux.ts
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
import { actionTypes } from "../actions/AuthActions";
|
2
|
-
import { Action } from "../interfaces/Redux";
|
3
|
-
import {UserInfo} from "../interfaces/Models";
|
4
|
-
|
5
|
-
interface AuthReducerState {
|
6
|
-
userInfo: UserInfo | null;
|
7
|
-
uiDevMode: boolean;
|
8
|
-
}
|
9
|
-
|
10
|
-
const initialState: AuthReducerState = {
|
11
|
-
userInfo: null,
|
12
|
-
uiDevMode: false,
|
13
|
-
};
|
14
|
-
|
15
|
-
export const AuthReducer = (state = initialState, action: Action): AuthReducerState => {
|
16
|
-
switch (action.type) {
|
17
|
-
case actionTypes.SET_USER_INFO:
|
18
|
-
return { ...state, userInfo: action.payload };
|
19
|
-
case actionTypes.SET_UI_DEV_MODE:
|
20
|
-
return { ...state, uiDevMode: action.payload };
|
21
|
-
default:
|
22
|
-
return state;
|
23
|
-
}
|
24
|
-
};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { combineReducers } from 'redux';
|
2
|
-
import { SidebarReducer } from "./SidebarReducer";
|
3
|
-
import {AuthReducer} from "./AuthReducer";
|
4
|
-
|
5
|
-
const rootReducer = combineReducers({
|
6
|
-
auth: AuthReducer,
|
7
|
-
sidebar: SidebarReducer,
|
8
|
-
});
|
9
|
-
|
10
|
-
export default rootReducer;
|
11
|
-
|
12
|
-
export type RootState = ReturnType<typeof rootReducer>;
|
@@ -1,73 +0,0 @@
|
|
1
|
-
import {actionTypes} from "../actions/SidebarActions";
|
2
|
-
import {Action} from "../interfaces/Redux";
|
3
|
-
import {Application, SidebarOption} from "../interfaces/Models";
|
4
|
-
import {SidebarMenuTypes} from "../constants/SidebarConstants";
|
5
|
-
|
6
|
-
interface SidebarState {
|
7
|
-
currentNav: null;
|
8
|
-
sidebarOptions: Array<SidebarOption>;
|
9
|
-
localApplications: Array<Application>
|
10
|
-
expandedApps: Map<string, boolean>;
|
11
|
-
showExpandedApps: boolean;
|
12
|
-
expanded: boolean;
|
13
|
-
isMinimal: boolean;
|
14
|
-
extraTopNavComponent: Element | null;
|
15
|
-
selectedSidebarOption: SidebarMenuTypes;
|
16
|
-
topnavToggleref: any;
|
17
|
-
}
|
18
|
-
|
19
|
-
const initialState: SidebarState = {
|
20
|
-
currentNav: null,
|
21
|
-
sidebarOptions: [],
|
22
|
-
localApplications: [],
|
23
|
-
expandedApps: new Map([]),
|
24
|
-
showExpandedApps: false,
|
25
|
-
expanded: false,
|
26
|
-
isMinimal: false,
|
27
|
-
extraTopNavComponent: null,
|
28
|
-
selectedSidebarOption: SidebarMenuTypes.MyApps,
|
29
|
-
topnavToggleref: null
|
30
|
-
};
|
31
|
-
|
32
|
-
export const SidebarReducer = (state = initialState, action: Action): SidebarState => {
|
33
|
-
function setExpandApp(appKey: string, isExpanded: boolean): SidebarState {
|
34
|
-
const updatedState = { ...state };
|
35
|
-
updatedState.expandedApps.set(appKey, isExpanded);
|
36
|
-
return { ...updatedState };
|
37
|
-
}
|
38
|
-
|
39
|
-
switch(action.type) {
|
40
|
-
case 'current-nav':
|
41
|
-
return { ...state, currentNav: action.payload };
|
42
|
-
|
43
|
-
case actionTypes.REGISTER_SIDEBAR_OPTIONS:
|
44
|
-
return { ...state, sidebarOptions: action.payload };
|
45
|
-
|
46
|
-
case actionTypes.REGISTER_EXTRA_TOP_NAV_COMPONENT:
|
47
|
-
return { ...state, extraTopNavComponent: action.payload };
|
48
|
-
|
49
|
-
case actionTypes.SET_LOCAL_APPLICATIONS:
|
50
|
-
return { ...state, localApplications: action.payload };
|
51
|
-
|
52
|
-
case actionTypes.SET_EXPAND_SIDEBAR:
|
53
|
-
return { ...state, expanded: action.payload };
|
54
|
-
|
55
|
-
case actionTypes.SET_MINIMAL_SIDEBAR:
|
56
|
-
return { ...state, isMinimal: action.payload };
|
57
|
-
|
58
|
-
case actionTypes.EXPAND_APP:
|
59
|
-
return setExpandApp(action.payload.appKey, action.payload.isExpanded);
|
60
|
-
|
61
|
-
case actionTypes.SET_SELECTED_SIDEBAR_OPTION:
|
62
|
-
return { ...state, selectedSidebarOption: action.payload };
|
63
|
-
|
64
|
-
case actionTypes.SET_TOPNAV_TOGGLE_REF:
|
65
|
-
return { ...state, topnavToggleref: action.payload};
|
66
|
-
|
67
|
-
case actionTypes.SET_SHOW_EXPANDED_APPS:
|
68
|
-
return { ...state, showExpandedApps: action.payload}
|
69
|
-
|
70
|
-
default:
|
71
|
-
return state;
|
72
|
-
}
|
73
|
-
};
|