supernav-test 2.2.11 → 2.2.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/App.test.d.ts +1 -0
- package/dist/App.test.js +6 -8
- package/dist/LsacContainer.d.ts +4 -0
- package/dist/LsacContainer.js +14 -0
- package/dist/caf68d0a64d31f733320266312e3a2ca.svg +1 -0
- package/dist/components/lsac-supernavbar/AuthWrapper.d.ts +4 -0
- package/dist/components/lsac-supernavbar/AuthWrapper.js +44 -92
- package/dist/components/lsac-supernavbar/LsacSidebar.d.ts +44 -0
- package/dist/components/lsac-supernavbar/LsacSidebar.js +27 -40
- package/dist/components/lsac-supernavbar/Store.d.ts +3 -0
- package/dist/components/lsac-supernavbar/Store.js +10 -20
- package/dist/components/lsac-supernavbar/actions/AuthActions.d.ts +8 -0
- package/dist/components/lsac-supernavbar/actions/AuthActions.js +16 -23
- package/dist/components/lsac-supernavbar/actions/SidebarActions.d.ts +23 -0
- package/dist/components/lsac-supernavbar/actions/SidebarActions.js +61 -75
- package/dist/components/lsac-supernavbar/components/Sidebar.d.ts +13 -0
- package/dist/components/lsac-supernavbar/components/Sidebar.js +184 -308
- package/dist/components/lsac-supernavbar/components/SidebarForm.d.ts +5 -0
- package/dist/components/lsac-supernavbar/components/SidebarForm.js +5 -18
- package/dist/components/lsac-supernavbar/components/SidebarMainLink.d.ts +14 -0
- package/dist/components/lsac-supernavbar/components/SidebarMainLink.js +54 -118
- package/dist/components/lsac-supernavbar/components/SidebarOption.d.ts +4 -0
- package/dist/components/lsac-supernavbar/components/SidebarOption.js +5 -19
- package/dist/components/lsac-supernavbar/components/SidebarSubMenu.d.ts +5 -0
- package/dist/components/lsac-supernavbar/components/SidebarSubMenu.js +61 -147
- package/dist/components/lsac-supernavbar/components/SidebarTab.d.ts +1 -0
- package/dist/components/lsac-supernavbar/components/SidebarTab.js +50 -0
- package/dist/components/lsac-supernavbar/components/Topnav.d.ts +14 -0
- package/dist/components/lsac-supernavbar/components/Topnav.js +63 -160
- package/dist/components/lsac-supernavbar/components/sidebar_submenus/CategorizedSubmenu.d.ts +9 -0
- package/dist/components/lsac-supernavbar/components/sidebar_submenus/CategorizedSubmenu.js +53 -100
- package/dist/components/lsac-supernavbar/components/sidebar_submenus/Marketplace.d.ts +5 -0
- package/dist/components/lsac-supernavbar/components/sidebar_submenus/Marketplace.js +4 -16
- package/dist/components/lsac-supernavbar/constants/SidebarConstants.d.ts +8 -0
- package/dist/components/lsac-supernavbar/constants/SidebarConstants.js +8 -13
- package/dist/components/lsac-supernavbar/constants/UtilityConstants.d.ts +15 -0
- package/dist/components/lsac-supernavbar/constants/UtilityConstants.js +13 -24
- package/dist/components/lsac-supernavbar/interfaces/Models.d.ts +65 -0
- package/dist/components/lsac-supernavbar/interfaces/Models.js +8 -13
- package/dist/components/lsac-supernavbar/interfaces/Redux.d.ts +7 -0
- package/dist/components/lsac-supernavbar/interfaces/Redux.js +1 -4
- package/dist/components/lsac-supernavbar/reducers/AuthReducer.d.ts +7 -0
- package/dist/components/lsac-supernavbar/reducers/AuthReducer.js +15 -37
- package/dist/components/lsac-supernavbar/reducers/RootReducer.d.ts +5 -0
- package/dist/components/lsac-supernavbar/reducers/RootReducer.js +8 -17
- package/dist/components/lsac-supernavbar/reducers/SidebarReducer.d.ts +17 -0
- package/dist/components/lsac-supernavbar/reducers/SidebarReducer.js +45 -92
- package/dist/components/lsac-supernavbar/resources/icomoon-library.json +1 -7569
- package/dist/components/lsac-supernavbar/test/App.test.d.ts +1 -0
- package/dist/components/lsac-supernavbar/test/App.test.js +19 -25
- package/dist/components/lsac-supernavbar/util/SubmenuUtil.d.ts +9 -0
- package/dist/components/lsac-supernavbar/util/SubmenuUtil.js +104 -200
- package/dist/components/lsac-supernavbar/util/Util.d.ts +4 -0
- package/dist/components/lsac-supernavbar/util/Util.js +22 -49
- package/dist/index.d.ts +2 -0
- package/dist/index.html +1 -0
- package/dist/index.js +12 -17
- package/dist/reportWebVitals.d.ts +3 -0
- package/dist/reportWebVitals.js +30 -31
- package/dist/setupTests.d.ts +1 -0
- package/dist/setupTests.js +6 -2
- package/package.json +26 -8
- package/.babelrc +0 -22
- package/dist/App.css +0 -38
- package/dist/SupernavContainer.js +0 -29
- package/dist/components/lsac-supernavbar/components/SidebarTab.jsx +0 -56
- package/dist/components/lsac-supernavbar/static/images/close-hamburger-icon.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/hamburger-icon.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/icon-user.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/saama_logo.png +0 -0
- package/dist/components/lsac-supernavbar/static/images/saama_logo.svg +0 -26
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/caret_down.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/caret_left.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/caret_right.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/caret_up.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/glyph1_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/management_icon.svg +0 -12
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/marketplace_icon.svg +0 -9
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/my_apps.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/rbqm-triangle.svg +0 -31
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/rightIcon.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/space_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/triangle-exclamation.svg +0 -9
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E$A32_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E$A36_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$A1_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$E$B_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$F0_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E00$B_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E00$D_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E002_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E070_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E086_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E092_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B$A_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B$F_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B5_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$C8_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D$C_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D$F_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D5_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D6_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D9_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$F$E_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$F7_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$C_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$D_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$E_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$F_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E101_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E110_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E115_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E123_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E138_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E14$B_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E150_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E185_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E186_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E187_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$A7_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$A9_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$B7_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$C$F_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$D$C_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$D$D_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$F$F_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E20$B_comprehend.svg +0 -10
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E201_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E204_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E23$A_comprehend.svg +0 -9
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E250_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E279_comprehend.svg +0 -9
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E28$E_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E29$C_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$A7_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$A8_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$B3_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D3_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D4_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D7_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E301_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E35$A_comprehend.svg +0 -9
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E35$E_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E36$E_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E362_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E37$A_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E370_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E2_comprehend.svg +0 -11
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E4_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E5_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E7_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E418_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E42$E_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E42$F_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E43$A_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E43$B_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E430_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E431_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E445_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E465_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E475_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E481_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$A_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$B_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$C_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$D_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$E_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$F_comprehend.svg +0 -9
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E600_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E601_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E602_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E603_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E604_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E605_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E606_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E607_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E608_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E609_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$A_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$B_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$C_comprehend.svg +0 -9
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$F_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E610_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E611_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E612_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E613_comprehend.svg +0 -12
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E614_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E615_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E616_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E617_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E618_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E619_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E620_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E621_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E622_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E623_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E624_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E625_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E626_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$A_comprehend.svg +0 -12
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$B_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$C_comprehend.svg +0 -9
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$D_comprehend.svg +0 -14
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$E_comprehend.svg +0 -10
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$F_comprehend.svg +0 -9
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E900_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E901_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E902_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E903_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E904_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E905_comprehend.svg +0 -12
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E907_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E908_comprehend.svg +0 -16
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E909_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$A_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$C_comprehend.svg +0 -9
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$E_comprehend.svg +0 -12
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$F_comprehend.svg +0 -16
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E910_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E911_comprehend.svg +0 -12
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E912_comprehend.svg +0 -11
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E913_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E914_comprehend.svg +0 -11
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E915_comprehend.svg +0 -8
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E917_comprehend.svg +0 -34
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E918_comprehend.svg +0 -7
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E919_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E920_comprehend.svg +0 -11
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E921_comprehend.svg +0 -12
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni$E93$D_comprehend.svg +0 -13
- package/dist/components/lsac-supernavbar/static/images/sidebar-icons/uni0001_comprehend.svg +0 -6
- package/dist/components/lsac-supernavbar/stylesheets/LsacSidebar.css +0 -73
- package/dist/components/lsac-supernavbar/stylesheets/font-face.scss +0 -12
- package/dist/components/lsac-supernavbar/stylesheets/font-sizer.scss +0 -4
- package/dist/components/lsac-supernavbar/stylesheets/fontIcons.css +0 -540
- package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.eot +0 -0
- package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.svg +0 -3521
- package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.ttf +0 -0
- package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.woff +0 -0
- package/dist/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.woff2 +0 -0
- package/dist/components/lsac-supernavbar/stylesheets/fonts/comprehend.eot +0 -0
- package/dist/components/lsac-supernavbar/stylesheets/fonts/comprehend.svg +0 -190
- package/dist/components/lsac-supernavbar/stylesheets/fonts/comprehend.ttf +0 -0
- package/dist/components/lsac-supernavbar/stylesheets/fonts/comprehend.woff +0 -0
- package/dist/components/lsac-supernavbar/stylesheets/form.scss +0 -16
- package/dist/components/lsac-supernavbar/stylesheets/sidebar-main-link.scss +0 -72
- package/dist/components/lsac-supernavbar/stylesheets/sidebar.scss +0 -222
- package/dist/components/lsac-supernavbar/stylesheets/study-filter.scss +0 -358
- package/dist/components/lsac-supernavbar/stylesheets/topnav.scss +0 -371
- package/dist/index.css +0 -13
- package/dist/logo.svg +0 -1
- package/dist/react-app-env.d.js +0 -2
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -43
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +0 -25
- package/public/robots.txt +0 -3
- package/src/App.css +0 -38
- package/src/App.test.tsx +0 -8
- package/src/SupernavContainer.tsx +0 -17
- package/src/components/lsac-supernavbar/AuthWrapper.tsx +0 -63
- package/src/components/lsac-supernavbar/LsacSidebar.tsx +0 -60
- package/src/components/lsac-supernavbar/Store.ts +0 -8
- package/src/components/lsac-supernavbar/actions/AuthActions.ts +0 -21
- package/src/components/lsac-supernavbar/actions/SidebarActions.ts +0 -81
- package/src/components/lsac-supernavbar/components/Sidebar.tsx +0 -235
- package/src/components/lsac-supernavbar/components/SidebarForm.tsx +0 -15
- package/src/components/lsac-supernavbar/components/SidebarMainLink.tsx +0 -86
- package/src/components/lsac-supernavbar/components/SidebarOption.tsx +0 -13
- package/src/components/lsac-supernavbar/components/SidebarSubMenu.tsx +0 -82
- package/src/components/lsac-supernavbar/components/SidebarTab.jsx +0 -56
- package/src/components/lsac-supernavbar/components/Topnav.tsx +0 -140
- package/src/components/lsac-supernavbar/components/sidebar_submenus/CategorizedSubmenu.tsx +0 -69
- package/src/components/lsac-supernavbar/components/sidebar_submenus/Marketplace.tsx +0 -13
- package/src/components/lsac-supernavbar/constants/SidebarConstants.ts +0 -8
- package/src/components/lsac-supernavbar/constants/UtilityConstants.ts +0 -17
- package/src/components/lsac-supernavbar/interfaces/Models.ts +0 -71
- package/src/components/lsac-supernavbar/interfaces/Redux.ts +0 -9
- package/src/components/lsac-supernavbar/reducers/AuthReducer.ts +0 -24
- package/src/components/lsac-supernavbar/reducers/RootReducer.ts +0 -12
- package/src/components/lsac-supernavbar/reducers/SidebarReducer.ts +0 -73
- package/src/components/lsac-supernavbar/resources/icomoon-library.json +0 -7569
- package/src/components/lsac-supernavbar/static/images/close-hamburger-icon.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/hamburger-icon.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/icon-user.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/saama_logo.png +0 -0
- package/src/components/lsac-supernavbar/static/images/saama_logo.svg +0 -26
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/caret_down.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/caret_left.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/caret_right.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/caret_up.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/glyph1_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/management_icon.svg +0 -12
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/marketplace_icon.svg +0 -9
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/my_apps.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/rbqm-triangle.svg +0 -31
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/rightIcon.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/space_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/triangle-exclamation.svg +0 -9
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E$A32_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E$A36_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$A1_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$E$B_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E0$F0_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E00$B_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E00$D_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E002_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E070_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E086_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E092_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B$A_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B$F_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$B5_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$C8_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D$C_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D$F_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D5_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D6_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$D9_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$F$E_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E1$F7_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$C_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$D_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$E_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E10$F_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E101_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E110_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E115_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E123_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E138_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E14$B_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E150_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E185_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E186_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E187_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$A7_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$A9_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$B7_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$C$F_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$D$C_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$D$D_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E2$F$F_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E20$B_comprehend.svg +0 -10
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E201_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E204_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E23$A_comprehend.svg +0 -9
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E250_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E279_comprehend.svg +0 -9
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E28$E_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E29$C_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$A7_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$A8_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$B3_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D3_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D4_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E3$D7_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E301_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E35$A_comprehend.svg +0 -9
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E35$E_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E36$E_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E362_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E37$A_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E370_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E2_comprehend.svg +0 -11
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E4_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E5_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E4$E7_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E418_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E42$E_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E42$F_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E43$A_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E43$B_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E430_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E431_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E445_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E465_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E475_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E481_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$A_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$B_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$C_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$D_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$E_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E60$F_comprehend.svg +0 -9
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E600_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E601_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E602_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E603_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E604_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E605_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E606_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E607_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E608_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E609_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$A_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$B_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$C_comprehend.svg +0 -9
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E61$F_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E610_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E611_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E612_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E613_comprehend.svg +0 -12
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E614_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E615_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E616_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E617_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E618_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E619_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E620_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E621_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E622_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E623_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E624_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E625_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E626_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$A_comprehend.svg +0 -12
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$B_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$C_comprehend.svg +0 -9
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$D_comprehend.svg +0 -14
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$E_comprehend.svg +0 -10
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E90$F_comprehend.svg +0 -9
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E900_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E901_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E902_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E903_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E904_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E905_comprehend.svg +0 -12
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E907_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E908_comprehend.svg +0 -16
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E909_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$A_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$C_comprehend.svg +0 -9
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$E_comprehend.svg +0 -12
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E91$F_comprehend.svg +0 -16
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E910_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E911_comprehend.svg +0 -12
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E912_comprehend.svg +0 -11
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E913_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E914_comprehend.svg +0 -11
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E915_comprehend.svg +0 -8
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E917_comprehend.svg +0 -34
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E918_comprehend.svg +0 -7
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E919_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E920_comprehend.svg +0 -11
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E921_comprehend.svg +0 -12
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni$E93$D_comprehend.svg +0 -13
- package/src/components/lsac-supernavbar/static/images/sidebar-icons/uni0001_comprehend.svg +0 -6
- package/src/components/lsac-supernavbar/stylesheets/LsacSidebar.css +0 -73
- package/src/components/lsac-supernavbar/stylesheets/font-face.scss +0 -12
- package/src/components/lsac-supernavbar/stylesheets/font-sizer.scss +0 -4
- package/src/components/lsac-supernavbar/stylesheets/fontIcons.css +0 -540
- package/src/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.eot +0 -0
- package/src/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.svg +0 -3521
- package/src/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.ttf +0 -0
- package/src/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.woff +0 -0
- package/src/components/lsac-supernavbar/stylesheets/fonts/ProximaNovaReg.woff2 +0 -0
- package/src/components/lsac-supernavbar/stylesheets/fonts/comprehend.eot +0 -0
- package/src/components/lsac-supernavbar/stylesheets/fonts/comprehend.svg +0 -190
- package/src/components/lsac-supernavbar/stylesheets/fonts/comprehend.ttf +0 -0
- package/src/components/lsac-supernavbar/stylesheets/fonts/comprehend.woff +0 -0
- package/src/components/lsac-supernavbar/stylesheets/form.scss +0 -16
- package/src/components/lsac-supernavbar/stylesheets/sidebar-main-link.scss +0 -72
- package/src/components/lsac-supernavbar/stylesheets/sidebar.scss +0 -222
- package/src/components/lsac-supernavbar/stylesheets/study-filter.scss +0 -358
- package/src/components/lsac-supernavbar/stylesheets/topnav.scss +0 -371
- package/src/components/lsac-supernavbar/test/App.test.js +0 -20
- package/src/components/lsac-supernavbar/util/SubmenuUtil.tsx +0 -153
- package/src/components/lsac-supernavbar/util/Util.ts +0 -24
- package/src/index.css +0 -13
- package/src/index.tsx +0 -18
- package/src/logo.svg +0 -1
- package/src/react-app-env.d.ts +0 -1
- package/src/reportWebVitals.ts +0 -15
- package/src/setupTests.ts +0 -5
- package/tsconfig.json +0 -30
package/dist/index.css
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
body {
|
2
|
-
margin: 0;
|
3
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
4
|
-
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
5
|
-
sans-serif;
|
6
|
-
-webkit-font-smoothing: antialiased;
|
7
|
-
-moz-osx-font-smoothing: grayscale;
|
8
|
-
}
|
9
|
-
|
10
|
-
code {
|
11
|
-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
12
|
-
monospace;
|
13
|
-
}
|
package/dist/logo.svg
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 841.9 595.3"><g fill="#61DAFB"><path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z"/><circle cx="420.9" cy="296.5" r="45.7"/><path d="M520.5 78.1z"/></g></svg>
|
package/dist/react-app-env.d.js
DELETED
package/public/favicon.ico
DELETED
Binary file
|
package/public/index.html
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8" />
|
5
|
-
<link rel="icon" href="/public/favicon.ico" />
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
7
|
-
<meta name="theme-color" content="#000000" />
|
8
|
-
<meta
|
9
|
-
name="description"
|
10
|
-
content="Web site created using create-react-app"
|
11
|
-
/>
|
12
|
-
<link rel="apple-touch-icon" href="/public/logo192.png" />
|
13
|
-
<!--
|
14
|
-
manifest.json provides metadata used when your web app is installed on a
|
15
|
-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
16
|
-
-->
|
17
|
-
<link rel="manifest" href="/public/manifest.json" />
|
18
|
-
<!--
|
19
|
-
Notice the use of %PUBLIC_URL% in the tags above.
|
20
|
-
It will be replaced with the URL of the `public` folder during the build.
|
21
|
-
Only files inside the `public` folder can be referenced from the HTML.
|
22
|
-
|
23
|
-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
24
|
-
work correctly both with client-side routing and a non-root public URL.
|
25
|
-
Learn how to configure a non-root public URL by running `npm run build`.
|
26
|
-
-->
|
27
|
-
<title>Lsac Supernavbar</title>
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<noscript>You need to enable JavaScript to run this app.</noscript>
|
31
|
-
<div id="root"></div>
|
32
|
-
<!--
|
33
|
-
This HTML file is a template.
|
34
|
-
If you open it directly in the browser, you will see an empty page.
|
35
|
-
|
36
|
-
You can add webfonts, meta tags, or analytics to this file.
|
37
|
-
The build step will place the bundled scripts into the <body> tag.
|
38
|
-
|
39
|
-
To begin the development, run `npm start` or `yarn start`.
|
40
|
-
To create a production bundle, use `npm run build` or `yarn build`.
|
41
|
-
-->
|
42
|
-
</body>
|
43
|
-
</html>
|
package/public/logo192.png
DELETED
Binary file
|
package/public/logo512.png
DELETED
Binary file
|
package/public/manifest.json
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"short_name": "React App",
|
3
|
-
"name": "Create React App Sample",
|
4
|
-
"icons": [
|
5
|
-
{
|
6
|
-
"src": "favicon.ico",
|
7
|
-
"sizes": "64x64 32x32 24x24 16x16",
|
8
|
-
"type": "image/x-icon"
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"src": "logo192.png",
|
12
|
-
"type": "image/png",
|
13
|
-
"sizes": "192x192"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"src": "logo512.png",
|
17
|
-
"type": "image/png",
|
18
|
-
"sizes": "512x512"
|
19
|
-
}
|
20
|
-
],
|
21
|
-
"start_url": ".",
|
22
|
-
"display": "standalone",
|
23
|
-
"theme_color": "#000000",
|
24
|
-
"background_color": "#ffffff"
|
25
|
-
}
|
package/public/robots.txt
DELETED
package/src/App.css
DELETED
@@ -1,38 +0,0 @@
|
|
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/src/App.test.tsx
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './App.css';
|
3
|
-
import LsacSidebar 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;
|
@@ -1,63 +0,0 @@
|
|
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;
|
@@ -1,60 +0,0 @@
|
|
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;
|
@@ -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,235 +0,0 @@
|
|
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) => e.attributes !== undefined)
|
146
|
-
.filter((e) => e.attributes['category'] !== undefined)
|
147
|
-
.filter((d) => Object.keys(d.attributes).length > 0)
|
148
|
-
.map(app => app.attributes['category'].toLowerCase());
|
149
|
-
const appCategoriesForSubApps = apps.filter(e => e.attributes !== undefined)
|
150
|
-
.filter(e => e.attributes['category'] !== undefined)
|
151
|
-
.map(app => app.attributes['category'].toLowerCase());
|
152
|
-
|
153
|
-
let appCategorySubAppsCount = appCategoriesForSubApps.reduce((object, element) => {
|
154
|
-
object[element] = ++object[element] || 1;
|
155
|
-
return object;
|
156
|
-
}, {});
|
157
|
-
|
158
|
-
if (appCategorySubAppsCount['my_apps'] >= 1) {
|
159
|
-
const index = SidebarMainLinks.findIndex((e) => e.id === 'my_apps')
|
160
|
-
SidebarMainLinks[index].subMenu = true
|
161
|
-
}
|
162
|
-
|
163
|
-
if (appCategorySubAppsCount['management'] >= 1) {
|
164
|
-
const index = SidebarMainLinks.findIndex((e) => 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) => e.id === 'engagement')
|
171
|
-
SidebarMainLinks[index].subMenu = true
|
172
|
-
}
|
173
|
-
|
174
|
-
|
175
|
-
if (appCategorySubAppsCount['collaboration'] >= 1 || isCollaboration.length) {
|
176
|
-
const index = SidebarMainLinks.findIndex((e) => 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;
|