supernav-test 2.2.18 → 2.2.19
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +8 -7
- package/dist/App.css +0 -38
- package/dist/App.test.d.ts +0 -1
- package/dist/App.test.js +0 -9
- package/dist/LsacContainer.d.ts +0 -4
- package/dist/LsacContainer.js +0 -29
- package/dist/components/lsac-supernavbar/AuthWrapper.d.ts +0 -4
- package/dist/components/lsac-supernavbar/AuthWrapper.js +0 -95
- package/dist/components/lsac-supernavbar/LsacSidebar.d.ts +0 -44
- package/dist/components/lsac-supernavbar/LsacSidebar.js +0 -48
- package/dist/components/lsac-supernavbar/Store.d.ts +0 -3
- package/dist/components/lsac-supernavbar/Store.js +0 -22
- package/dist/components/lsac-supernavbar/actions/AuthActions.d.ts +0 -8
- package/dist/components/lsac-supernavbar/actions/AuthActions.js +0 -29
- package/dist/components/lsac-supernavbar/actions/SidebarActions.d.ts +0 -23
- package/dist/components/lsac-supernavbar/actions/SidebarActions.js +0 -95
- package/dist/components/lsac-supernavbar/components/Sidebar.d.ts +0 -13
- package/dist/components/lsac-supernavbar/components/Sidebar.js +0 -317
- package/dist/components/lsac-supernavbar/components/SidebarForm.d.ts +0 -5
- package/dist/components/lsac-supernavbar/components/SidebarForm.js +0 -21
- package/dist/components/lsac-supernavbar/components/SidebarMainLink.d.ts +0 -14
- package/dist/components/lsac-supernavbar/components/SidebarMainLink.js +0 -124
- package/dist/components/lsac-supernavbar/components/SidebarOption.d.ts +0 -4
- package/dist/components/lsac-supernavbar/components/SidebarOption.js +0 -22
- package/dist/components/lsac-supernavbar/components/SidebarSubMenu.d.ts +0 -5
- package/dist/components/lsac-supernavbar/components/SidebarSubMenu.js +0 -154
- package/dist/components/lsac-supernavbar/components/SidebarTab.d.ts +0 -1
- package/dist/components/lsac-supernavbar/components/SidebarTab.js +0 -69
- package/dist/components/lsac-supernavbar/components/Topnav.d.ts +0 -14
- package/dist/components/lsac-supernavbar/components/Topnav.js +0 -173
- package/dist/components/lsac-supernavbar/components/sidebar_submenus/CategorizedSubmenu.d.ts +0 -9
- package/dist/components/lsac-supernavbar/components/sidebar_submenus/CategorizedSubmenu.js +0 -104
- package/dist/components/lsac-supernavbar/components/sidebar_submenus/Marketplace.d.ts +0 -5
- package/dist/components/lsac-supernavbar/components/sidebar_submenus/Marketplace.js +0 -19
- package/dist/components/lsac-supernavbar/constants/SidebarConstants.d.ts +0 -8
- package/dist/components/lsac-supernavbar/constants/SidebarConstants.js +0 -17
- package/dist/components/lsac-supernavbar/constants/UtilityConstants.d.ts +0 -15
- package/dist/components/lsac-supernavbar/constants/UtilityConstants.js +0 -32
- package/dist/components/lsac-supernavbar/interfaces/Models.d.ts +0 -65
- package/dist/components/lsac-supernavbar/interfaces/Models.js +0 -17
- package/dist/components/lsac-supernavbar/interfaces/Redux.d.ts +0 -7
- package/dist/components/lsac-supernavbar/interfaces/Redux.js +0 -5
- package/dist/components/lsac-supernavbar/reducers/AuthReducer.d.ts +0 -7
- package/dist/components/lsac-supernavbar/reducers/AuthReducer.js +0 -41
- package/dist/components/lsac-supernavbar/reducers/RootReducer.d.ts +0 -5
- package/dist/components/lsac-supernavbar/reducers/RootReducer.js +0 -19
- package/dist/components/lsac-supernavbar/reducers/SidebarReducer.d.ts +0 -17
- package/dist/components/lsac-supernavbar/reducers/SidebarReducer.js +0 -96
- package/dist/components/lsac-supernavbar/resources/icomoon-library.json +0 -1
- 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/components/lsac-supernavbar/test/App.test.d.ts +0 -1
- package/dist/components/lsac-supernavbar/test/App.test.js +0 -28
- package/dist/components/lsac-supernavbar/util/SubmenuUtil.d.ts +0 -9
- package/dist/components/lsac-supernavbar/util/SubmenuUtil.js +0 -208
- package/dist/components/lsac-supernavbar/util/Util.d.ts +0 -4
- package/dist/components/lsac-supernavbar/util/Util.js +0 -51
- package/dist/index.css +0 -13
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -22
- package/dist/logo.svg +0 -1
- package/dist/react-app-env.d.js +0 -2
- package/dist/reportWebVitals.d.ts +0 -3
- package/dist/reportWebVitals.js +0 -34
- package/dist/setupTests.d.ts +0 -1
- package/dist/setupTests.js +0 -3
- package/src/App.css +0 -38
- package/src/App.test.tsx +0 -8
- package/src/LsacContainer.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 -13
- package/src/components/lsac-supernavbar/reducers/SidebarReducer.ts +0 -73
- package/src/components/lsac-supernavbar/resources/icomoon-library.json +0 -1
- 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/src/App.test.tsx
DELETED
package/src/LsacContainer.tsx
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import './App.css';
|
3
|
-
import LsacSidebar, { LsacSidebarProps } from './components/lsac-supernavbar/LsacSidebar';
|
4
|
-
import { Provider } from "react-redux";
|
5
|
-
import store from './components/lsac-supernavbar/Store';
|
6
|
-
|
7
|
-
function LsacContainer(props: any) {
|
8
|
-
return (
|
9
|
-
<div className="App">
|
10
|
-
<Provider store={store}>
|
11
|
-
<LsacSidebar {...props} />
|
12
|
-
</Provider>
|
13
|
-
</div>
|
14
|
-
);
|
15
|
-
}
|
16
|
-
|
17
|
-
export default LsacContainer;
|
@@ -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, Store} from "redux";
|
2
|
-
import thunk from 'redux-thunk';
|
3
|
-
import RootReducer from "./reducers/RootReducer";
|
4
|
-
|
5
|
-
// @ts-ignore
|
6
|
-
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
|
7
|
-
const store:Store<any> = createStore(RootReducer, /* preloadedState, */ composeEnhancers(applyMiddleware(thunk)));
|
8
|
-
export default store;
|
@@ -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:any) => e.attributes !== undefined)
|
146
|
-
.filter((e:any) => e.attributes['category'] !== undefined)
|
147
|
-
.filter((d:any) => Object.keys(d.attributes).length > 0)
|
148
|
-
.map((app:any) => app.attributes['category'].toLowerCase());
|
149
|
-
const appCategoriesForSubApps = apps.filter((e:any) => e.attributes !== undefined)
|
150
|
-
.filter((e:any) => e.attributes['category'] !== undefined)
|
151
|
-
.map((app:any) => app.attributes['category'].toLowerCase());
|
152
|
-
|
153
|
-
let appCategorySubAppsCount = appCategoriesForSubApps.reduce((object:any, element:any) => {
|
154
|
-
object[element] = ++object[element] || 1;
|
155
|
-
return object;
|
156
|
-
}, {});
|
157
|
-
|
158
|
-
if (appCategorySubAppsCount['my_apps'] >= 1) {
|
159
|
-
const index = SidebarMainLinks.findIndex((e:any) => e.id === 'my_apps')
|
160
|
-
SidebarMainLinks[index].subMenu = true
|
161
|
-
}
|
162
|
-
|
163
|
-
if (appCategorySubAppsCount['management'] >= 1) {
|
164
|
-
const index = SidebarMainLinks.findIndex((e:any) => e.id === 'management')
|
165
|
-
SidebarMainLinks[index].subMenu = true
|
166
|
-
}
|
167
|
-
|
168
|
-
const isCollaboration = sidebarOptions.filter(option => option.category === SidebarCategory.COLLABORATION)
|
169
|
-
if (appCategorySubAppsCount['engagement'] >= 1) {
|
170
|
-
const index = SidebarMainLinks.findIndex((e:any) => e.id === 'engagement')
|
171
|
-
SidebarMainLinks[index].subMenu = true
|
172
|
-
}
|
173
|
-
|
174
|
-
|
175
|
-
if (appCategorySubAppsCount['collaboration'] >= 1 || isCollaboration.length) {
|
176
|
-
const index = SidebarMainLinks.findIndex((e:any) => e.id === 'collaboration')
|
177
|
-
SidebarMainLinks[index].subMenu = true
|
178
|
-
}
|
179
|
-
|
180
|
-
const hasManagementAccess = appCategories.includes(SidebarCategory.MANAGEMENT);
|
181
|
-
const hasMarketplaceAccess = appCategories.includes(SidebarCategory.MARKETPLACE);
|
182
|
-
const hasHomeAccess = appCategories.includes(SidebarCategory.MY_HOME);
|
183
|
-
const hasMyAppAccess = appCategories.includes(SidebarCategory.MY_APPS);
|
184
|
-
const hasCollaborationAccess = appCategories.includes(SidebarCategory.COLLABORATION) || sidebarOptions.map(option => option.category).includes(SidebarCategory.COLLABORATION);
|
185
|
-
|
186
|
-
return SidebarMainLinks.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.Marketplace || hasMarketplaceAccess))
|
187
|
-
.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.Management || hasManagementAccess))
|
188
|
-
.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.Home || hasHomeAccess))
|
189
|
-
.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.MyApps || hasMyAppAccess))
|
190
|
-
.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.Collaboration || hasCollaborationAccess))
|
191
|
-
.map((mainLinkProps, index) => <SidebarMainLink appContext={appContext} {...mainLinkProps} key={`lsac-sidebar-main-link-${index}`} selectedOption={selectedOption} />);
|
192
|
-
}
|
193
|
-
const mainLinks = CheckManagementAndMarketplaceAccess();
|
194
|
-
|
195
|
-
const topNavHeightBuffer: React.CSSProperties = {
|
196
|
-
top: topNavHeight
|
197
|
-
};
|
198
|
-
|
199
|
-
const sidebarRef = useRef(null);
|
200
|
-
useExternalClickListener(sidebarRef);
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
const handleMouseLeave = () => {
|
205
|
-
if (!isMinimal) {
|
206
|
-
reduxDispatch(SetExpandSidebar(false));
|
207
|
-
reduxDispatch(SetMinimalSidebar(true));
|
208
|
-
}
|
209
|
-
reduxDispatch(SetSelectedSidebarOption(selectedOption));
|
210
|
-
reduxDispatch(SetShowExpandedApps(false));
|
211
|
-
};
|
212
|
-
|
213
|
-
return (
|
214
|
-
<div className={'lsac-sidebar-container'}>
|
215
|
-
<div className={cx('lsac-sidebar', { expanded, isMinimal })}
|
216
|
-
style={topNavHeightBuffer}
|
217
|
-
ref={sidebarRef}
|
218
|
-
|
219
|
-
onMouseLeave={handleMouseLeave}
|
220
|
-
>
|
221
|
-
<div className='icon-strip'>
|
222
|
-
{mainLinks}
|
223
|
-
</div>
|
224
|
-
<div className='submenu'>
|
225
|
-
<SidebarSubMenu />
|
226
|
-
</div>
|
227
|
-
</div>
|
228
|
-
{formDisplay}
|
229
|
-
</div>
|
230
|
-
)
|
231
|
-
}
|
232
|
-
|
233
|
-
const MemoizedSidebar = React.memo(Sidebar);
|
234
|
-
|
235
|
-
export default MemoizedSidebar;
|