supernav-test 2.2.11 → 2.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SidebarDisplayModes } from "../constants/UtilityConstants";
|
|
3
|
+
import { SidebarOption } from "../interfaces/Models";
|
|
4
|
+
interface SidebarProps {
|
|
5
|
+
currentNav: string;
|
|
6
|
+
appContext?: string;
|
|
7
|
+
topNavHeight: string;
|
|
8
|
+
sidebarDisplayMode: SidebarDisplayModes;
|
|
9
|
+
sidebarOptions: Array<SidebarOption>;
|
|
10
|
+
}
|
|
11
|
+
declare function Sidebar(props: SidebarProps): JSX.Element;
|
|
12
|
+
declare const MemoizedSidebar: React.MemoExoticComponent<typeof Sidebar>;
|
|
13
|
+
export default MemoizedSidebar;
|
|
@@ -1,317 +1,193 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
7
13
|
});
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
37
|
-
|
|
38
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
39
|
-
|
|
40
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
41
|
-
|
|
42
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
43
|
-
|
|
44
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
45
|
-
|
|
46
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
47
|
-
|
|
48
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
49
|
-
|
|
50
|
-
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
51
|
-
|
|
52
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
53
|
-
|
|
54
|
-
var styles = require('../stylesheets/sidebar.scss');
|
|
55
|
-
|
|
14
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
+
if (mod && mod.__esModule) return mod;
|
|
16
|
+
var result = {};
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
22
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
const react_1 = require("react");
|
|
26
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
27
|
+
const react_2 = __importStar(require("react"));
|
|
28
|
+
const react_redux_1 = require("react-redux");
|
|
29
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
30
|
+
const SidebarForm_1 = __importDefault(require("./SidebarForm"));
|
|
31
|
+
const SidebarActions_1 = require("../actions/SidebarActions");
|
|
32
|
+
const SidebarMainLink_1 = __importDefault(require("./SidebarMainLink"));
|
|
33
|
+
const SidebarSubMenu_1 = __importDefault(require("./SidebarSubMenu"));
|
|
34
|
+
const SidebarConstants_1 = require("../constants/SidebarConstants");
|
|
35
|
+
const UtilityConstants_1 = require("../constants/UtilityConstants");
|
|
36
|
+
const Models_1 = require("../interfaces/Models");
|
|
37
|
+
// icon imports
|
|
38
|
+
const icomoon_library_json_1 = __importDefault(require("../resources/icomoon-library.json"));
|
|
39
|
+
const icomoon_react_1 = __importDefault(require("icomoon-react"));
|
|
40
|
+
const styles = require('../stylesheets/sidebar.scss');
|
|
56
41
|
// TODO - get proper icons
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
},
|
|
100
|
-
subMenu: false
|
|
101
|
-
}, {
|
|
102
|
-
id: _SidebarConstants.SidebarMenuTypes.Collaboration,
|
|
103
|
-
label: 'Collaboration',
|
|
104
|
-
icon: /*#__PURE__*/_react.default.createElement(_icomoonReact.default, {
|
|
105
|
-
iconSet: _icomoonLibrary.default,
|
|
106
|
-
icon: "collboration"
|
|
107
|
-
}),
|
|
108
|
-
onClick: function onClick() {
|
|
109
|
-
return console.log('Collaboration');
|
|
110
|
-
},
|
|
111
|
-
subMenu: false
|
|
112
|
-
}, {
|
|
113
|
-
id: _SidebarConstants.SidebarMenuTypes.Engagement,
|
|
114
|
-
label: 'Engagement',
|
|
115
|
-
icon: /*#__PURE__*/_react.default.createElement(_icomoonReact.default, {
|
|
116
|
-
iconSet: _icomoonLibrary.default,
|
|
117
|
-
icon: "engagement"
|
|
118
|
-
}),
|
|
119
|
-
onClick: function onClick() {
|
|
120
|
-
return console.log('Engagement');
|
|
121
|
-
},
|
|
122
|
-
subMenu: false
|
|
123
|
-
}];
|
|
124
|
-
|
|
125
|
-
function Sidebar(props) {
|
|
126
|
-
var appContext = props.appContext,
|
|
127
|
-
topNavHeight = props.topNavHeight,
|
|
128
|
-
sidebarDisplayMode = props.sidebarDisplayMode,
|
|
129
|
-
sidebarOptions = props.sidebarOptions;
|
|
130
|
-
var reduxDispatch = (0, _reactRedux.useDispatch)();
|
|
131
|
-
var expanded = (0, _reactRedux.useSelector)(function (state) {
|
|
132
|
-
return sidebarDisplayMode === _UtilityConstants.SidebarDisplayModes.ALL ? true : state.sidebar.expanded;
|
|
133
|
-
});
|
|
134
|
-
var isMinimal = (0, _reactRedux.useSelector)(function (state) {
|
|
135
|
-
return state.sidebar.isMinimal;
|
|
136
|
-
});
|
|
137
|
-
var topNavToggleref = (0, _reactRedux.useSelector)(function (state) {
|
|
138
|
-
return state.sidebar.topnavToggleref;
|
|
139
|
-
});
|
|
140
|
-
var selectedOption = mapContextToAppsId();
|
|
141
|
-
|
|
142
|
-
function mapContextToAppsId() {
|
|
143
|
-
var selectedSidebarOption = _SidebarConstants.SidebarMenuTypes.MyApps;
|
|
144
|
-
|
|
145
|
-
if (appContext === 'management') {
|
|
146
|
-
selectedSidebarOption = _SidebarConstants.SidebarMenuTypes.Management;
|
|
147
|
-
} else if (appContext === 'marketplace') {
|
|
148
|
-
selectedSidebarOption = _SidebarConstants.SidebarMenuTypes.Marketplace;
|
|
149
|
-
} else if (appContext === 'collaboration') {
|
|
150
|
-
selectedSidebarOption = _SidebarConstants.SidebarMenuTypes.Collaboration;
|
|
151
|
-
} else if (appContext === 'home') {
|
|
152
|
-
selectedSidebarOption = _SidebarConstants.SidebarMenuTypes.Home;
|
|
42
|
+
const SidebarMainLinks = [
|
|
43
|
+
{
|
|
44
|
+
id: SidebarConstants_1.SidebarMenuTypes.Home,
|
|
45
|
+
label: 'My Home',
|
|
46
|
+
icon: ((0, jsx_runtime_1.jsx)(icomoon_react_1.default, { iconSet: icomoon_library_json_1.default, icon: "home" }, void 0)),
|
|
47
|
+
onClick: () => console.log('My Home'),
|
|
48
|
+
subMenu: false,
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
id: SidebarConstants_1.SidebarMenuTypes.MyApps,
|
|
52
|
+
label: 'My Apps',
|
|
53
|
+
icon: ((0, jsx_runtime_1.jsx)(icomoon_react_1.default, { iconSet: icomoon_library_json_1.default, icon: "my-apps" }, void 0)),
|
|
54
|
+
onClick: () => console.log('My Apps'),
|
|
55
|
+
subMenu: false,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: SidebarConstants_1.SidebarMenuTypes.Management,
|
|
59
|
+
label: 'Administration',
|
|
60
|
+
icon: ((0, jsx_runtime_1.jsx)(icomoon_react_1.default, { iconSet: icomoon_library_json_1.default, icon: "marketplace-administration" }, void 0)),
|
|
61
|
+
onClick: () => console.log('Management'),
|
|
62
|
+
subMenu: false,
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: SidebarConstants_1.SidebarMenuTypes.Marketplace,
|
|
66
|
+
label: 'Marketplace',
|
|
67
|
+
icon: ((0, jsx_runtime_1.jsx)(icomoon_react_1.default, { iconSet: icomoon_library_json_1.default, icon: "marketplace" }, void 0)),
|
|
68
|
+
onClick: () => console.log('Marketplace'),
|
|
69
|
+
subMenu: false,
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
id: SidebarConstants_1.SidebarMenuTypes.Collaboration,
|
|
73
|
+
label: 'Collaboration',
|
|
74
|
+
icon: ((0, jsx_runtime_1.jsx)(icomoon_react_1.default, { iconSet: icomoon_library_json_1.default, icon: "collboration" }, void 0)),
|
|
75
|
+
onClick: () => console.log('Collaboration'),
|
|
76
|
+
subMenu: false,
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: SidebarConstants_1.SidebarMenuTypes.Engagement,
|
|
80
|
+
label: 'Engagement',
|
|
81
|
+
icon: ((0, jsx_runtime_1.jsx)(icomoon_react_1.default, { iconSet: icomoon_library_json_1.default, icon: "engagement" }, void 0)),
|
|
82
|
+
onClick: () => console.log('Engagement'),
|
|
83
|
+
subMenu: false,
|
|
153
84
|
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
(0, _react.useEffect)(function () {
|
|
167
|
-
function handleClickOutside(event) {
|
|
168
|
-
var eventPath = event.composedPath();
|
|
169
|
-
|
|
170
|
-
if (ref.current && !(eventPath.includes(ref.current) || eventPath.includes(topNavToggleref.current)) && expanded === true) {
|
|
171
|
-
reduxDispatch((0, _SidebarActions.SetExpandSidebar)(false));
|
|
85
|
+
];
|
|
86
|
+
function Sidebar(props) {
|
|
87
|
+
const { appContext, topNavHeight, sidebarDisplayMode, sidebarOptions } = props;
|
|
88
|
+
const reduxDispatch = (0, react_redux_1.useDispatch)();
|
|
89
|
+
const expanded = (0, react_redux_1.useSelector)((state) => sidebarDisplayMode === UtilityConstants_1.SidebarDisplayModes.ALL ? true : state.sidebar.expanded);
|
|
90
|
+
const isMinimal = (0, react_redux_1.useSelector)((state) => state.sidebar.isMinimal);
|
|
91
|
+
const topNavToggleref = (0, react_redux_1.useSelector)((state) => state.sidebar.topnavToggleref);
|
|
92
|
+
const selectedOption = mapContextToAppsId();
|
|
93
|
+
function mapContextToAppsId() {
|
|
94
|
+
let selectedSidebarOption = SidebarConstants_1.SidebarMenuTypes.MyApps;
|
|
95
|
+
if (appContext === 'management') {
|
|
96
|
+
selectedSidebarOption = SidebarConstants_1.SidebarMenuTypes.Management;
|
|
172
97
|
}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
var _useState = (0, _react.useState)(false),
|
|
185
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
186
|
-
showForm = _useState2[0],
|
|
187
|
-
setShowForm = _useState2[1];
|
|
188
|
-
|
|
189
|
-
var formDisplay = showForm ? /*#__PURE__*/_react.default.createElement(_SidebarForm.default, null) : '';
|
|
190
|
-
|
|
191
|
-
function CheckManagementAndMarketplaceAccess() {
|
|
192
|
-
var apps = (0, _reactRedux.useSelector)(function (state) {
|
|
193
|
-
var _state$auth$userInfo;
|
|
194
|
-
|
|
195
|
-
return ((_state$auth$userInfo = state.auth.userInfo) === null || _state$auth$userInfo === void 0 ? void 0 : _state$auth$userInfo.applications) || new Array();
|
|
196
|
-
});
|
|
197
|
-
var appCategories = apps.filter(function (e) {
|
|
198
|
-
return e.attributes !== undefined;
|
|
199
|
-
}).filter(function (e) {
|
|
200
|
-
return e.attributes['category'] !== undefined;
|
|
201
|
-
}).filter(function (d) {
|
|
202
|
-
return Object.keys(d.attributes).length > 0;
|
|
203
|
-
}).map(function (app) {
|
|
204
|
-
return app.attributes['category'].toLowerCase();
|
|
205
|
-
});
|
|
206
|
-
var appCategoriesForSubApps = apps.filter(function (e) {
|
|
207
|
-
return e.attributes !== undefined;
|
|
208
|
-
}).filter(function (e) {
|
|
209
|
-
return e.attributes['category'] !== undefined;
|
|
210
|
-
}).map(function (app) {
|
|
211
|
-
return app.attributes['category'].toLowerCase();
|
|
212
|
-
});
|
|
213
|
-
var appCategorySubAppsCount = appCategoriesForSubApps.reduce(function (object, element) {
|
|
214
|
-
object[element] = ++object[element] || 1;
|
|
215
|
-
return object;
|
|
216
|
-
}, {});
|
|
217
|
-
|
|
218
|
-
if (appCategorySubAppsCount['my_apps'] >= 1) {
|
|
219
|
-
var index = SidebarMainLinks.findIndex(function (e) {
|
|
220
|
-
return e.id === 'my_apps';
|
|
221
|
-
});
|
|
222
|
-
SidebarMainLinks[index].subMenu = true;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
if (appCategorySubAppsCount['management'] >= 1) {
|
|
226
|
-
var _index = SidebarMainLinks.findIndex(function (e) {
|
|
227
|
-
return e.id === 'management';
|
|
228
|
-
});
|
|
229
|
-
|
|
230
|
-
SidebarMainLinks[_index].subMenu = true;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
var isCollaboration = sidebarOptions.filter(function (option) {
|
|
234
|
-
return option.category === _Models.SidebarCategory.COLLABORATION;
|
|
235
|
-
});
|
|
236
|
-
|
|
237
|
-
if (appCategorySubAppsCount['engagement'] >= 1) {
|
|
238
|
-
var _index2 = SidebarMainLinks.findIndex(function (e) {
|
|
239
|
-
return e.id === 'engagement';
|
|
240
|
-
});
|
|
241
|
-
|
|
242
|
-
SidebarMainLinks[_index2].subMenu = true;
|
|
98
|
+
else if (appContext === 'marketplace') {
|
|
99
|
+
selectedSidebarOption = SidebarConstants_1.SidebarMenuTypes.Marketplace;
|
|
100
|
+
}
|
|
101
|
+
else if (appContext === 'collaboration') {
|
|
102
|
+
selectedSidebarOption = SidebarConstants_1.SidebarMenuTypes.Collaboration;
|
|
103
|
+
}
|
|
104
|
+
else if (appContext === 'home') {
|
|
105
|
+
selectedSidebarOption = SidebarConstants_1.SidebarMenuTypes.Home;
|
|
106
|
+
}
|
|
107
|
+
return selectedSidebarOption;
|
|
243
108
|
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
109
|
+
// When component is loaded fetch the userInfo's available applications
|
|
110
|
+
(0, react_2.useEffect)(() => {
|
|
111
|
+
let selectedSidebarOption = mapContextToAppsId();
|
|
112
|
+
reduxDispatch((0, SidebarActions_1.SetMinimalSidebar)(sidebarDisplayMode === UtilityConstants_1.SidebarDisplayModes.MINIMAL));
|
|
113
|
+
reduxDispatch((0, SidebarActions_1.SetSelectedSidebarOption)(selectedSidebarOption));
|
|
114
|
+
}, [reduxDispatch, appContext]);
|
|
115
|
+
//when sidebar is loaded attach listener to detect clicks external to it
|
|
116
|
+
function useExternalClickListener(ref) {
|
|
117
|
+
(0, react_2.useEffect)(() => {
|
|
118
|
+
function handleClickOutside(event) {
|
|
119
|
+
let eventPath = event.composedPath();
|
|
120
|
+
if (ref.current && !(eventPath.includes(ref.current) || eventPath.includes(topNavToggleref.current)) && expanded === true) {
|
|
121
|
+
reduxDispatch((0, SidebarActions_1.SetExpandSidebar)(false));
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
// Bind the event listener
|
|
125
|
+
document.addEventListener("mousedown", handleClickOutside);
|
|
126
|
+
return () => {
|
|
127
|
+
// Unbind the event listener on clean up
|
|
128
|
+
document.removeEventListener("mousedown", handleClickOutside);
|
|
129
|
+
};
|
|
130
|
+
}, [ref, topNavToggleref, expanded]);
|
|
251
131
|
}
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
132
|
+
const [showForm, setShowForm] = (0, react_2.useState)(false);
|
|
133
|
+
const formDisplay = showForm ? (0, jsx_runtime_1.jsx)(SidebarForm_1.default, {}, void 0) : '';
|
|
134
|
+
function CheckManagementAndMarketplaceAccess() {
|
|
135
|
+
const apps = (0, react_redux_1.useSelector)((state) => { var _a; return ((_a = state.auth.userInfo) === null || _a === void 0 ? void 0 : _a.applications) || new Array(); });
|
|
136
|
+
const appCategories = apps.filter((e) => e.attributes !== undefined)
|
|
137
|
+
.filter((e) => e.attributes['category'] !== undefined)
|
|
138
|
+
.filter((d) => Object.keys(d.attributes).length > 0)
|
|
139
|
+
.map((app) => app.attributes['category'].toLowerCase());
|
|
140
|
+
const appCategoriesForSubApps = apps.filter((e) => e.attributes !== undefined)
|
|
141
|
+
.filter((e) => e.attributes['category'] !== undefined)
|
|
142
|
+
.map((app) => app.attributes['category'].toLowerCase());
|
|
143
|
+
let appCategorySubAppsCount = appCategoriesForSubApps.reduce((object, element) => {
|
|
144
|
+
object[element] = ++object[element] || 1;
|
|
145
|
+
return object;
|
|
146
|
+
}, {});
|
|
147
|
+
if (appCategorySubAppsCount['my_apps'] >= 1) {
|
|
148
|
+
const index = SidebarMainLinks.findIndex((e) => e.id === 'my_apps');
|
|
149
|
+
SidebarMainLinks[index].subMenu = true;
|
|
150
|
+
}
|
|
151
|
+
if (appCategorySubAppsCount['management'] >= 1) {
|
|
152
|
+
const index = SidebarMainLinks.findIndex((e) => e.id === 'management');
|
|
153
|
+
SidebarMainLinks[index].subMenu = true;
|
|
154
|
+
}
|
|
155
|
+
const isCollaboration = sidebarOptions.filter(option => option.category === Models_1.SidebarCategory.COLLABORATION);
|
|
156
|
+
if (appCategorySubAppsCount['engagement'] >= 1) {
|
|
157
|
+
const index = SidebarMainLinks.findIndex((e) => e.id === 'engagement');
|
|
158
|
+
SidebarMainLinks[index].subMenu = true;
|
|
159
|
+
}
|
|
160
|
+
if (appCategorySubAppsCount['collaboration'] >= 1 || isCollaboration.length) {
|
|
161
|
+
const index = SidebarMainLinks.findIndex((e) => e.id === 'collaboration');
|
|
162
|
+
SidebarMainLinks[index].subMenu = true;
|
|
163
|
+
}
|
|
164
|
+
const hasManagementAccess = appCategories.includes(Models_1.SidebarCategory.MANAGEMENT);
|
|
165
|
+
const hasMarketplaceAccess = appCategories.includes(Models_1.SidebarCategory.MARKETPLACE);
|
|
166
|
+
const hasHomeAccess = appCategories.includes(Models_1.SidebarCategory.MY_HOME);
|
|
167
|
+
const hasMyAppAccess = appCategories.includes(Models_1.SidebarCategory.MY_APPS);
|
|
168
|
+
const hasCollaborationAccess = appCategories.includes(Models_1.SidebarCategory.COLLABORATION) || sidebarOptions.map(option => option.category).includes(Models_1.SidebarCategory.COLLABORATION);
|
|
169
|
+
return SidebarMainLinks.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarConstants_1.SidebarMenuTypes.Marketplace || hasMarketplaceAccess))
|
|
170
|
+
.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarConstants_1.SidebarMenuTypes.Management || hasManagementAccess))
|
|
171
|
+
.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarConstants_1.SidebarMenuTypes.Home || hasHomeAccess))
|
|
172
|
+
.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarConstants_1.SidebarMenuTypes.MyApps || hasMyAppAccess))
|
|
173
|
+
.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarConstants_1.SidebarMenuTypes.Collaboration || hasCollaborationAccess))
|
|
174
|
+
.map((mainLinkProps, index) => (0, react_1.createElement)(SidebarMainLink_1.default, Object.assign({ appContext: appContext }, mainLinkProps, { key: `lsac-sidebar-main-link-${index}`, selectedOption: selectedOption })));
|
|
291
175
|
}
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
onMouseLeave: handleMouseLeave
|
|
307
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
308
|
-
className: "icon-strip"
|
|
309
|
-
}, mainLinks), /*#__PURE__*/_react.default.createElement("div", {
|
|
310
|
-
className: "submenu"
|
|
311
|
-
}, /*#__PURE__*/_react.default.createElement(_SidebarSubMenu.default, null))), formDisplay);
|
|
176
|
+
const mainLinks = CheckManagementAndMarketplaceAccess();
|
|
177
|
+
const topNavHeightBuffer = {
|
|
178
|
+
top: topNavHeight
|
|
179
|
+
};
|
|
180
|
+
const sidebarRef = (0, react_2.useRef)(null);
|
|
181
|
+
useExternalClickListener(sidebarRef);
|
|
182
|
+
const handleMouseLeave = () => {
|
|
183
|
+
if (!isMinimal) {
|
|
184
|
+
reduxDispatch((0, SidebarActions_1.SetExpandSidebar)(false));
|
|
185
|
+
reduxDispatch((0, SidebarActions_1.SetMinimalSidebar)(true));
|
|
186
|
+
}
|
|
187
|
+
reduxDispatch((0, SidebarActions_1.SetSelectedSidebarOption)(selectedOption));
|
|
188
|
+
reduxDispatch((0, SidebarActions_1.SetShowExpandedApps)(false));
|
|
189
|
+
};
|
|
190
|
+
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'lsac-sidebar-container' }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: (0, classnames_1.default)('lsac-sidebar', { expanded, isMinimal }), style: topNavHeightBuffer, ref: sidebarRef, onMouseLeave: handleMouseLeave }, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'icon-strip' }, { children: mainLinks }), void 0), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'submenu' }, { children: (0, jsx_runtime_1.jsx)(SidebarSubMenu_1.default, {}, void 0) }), void 0)] }), void 0), formDisplay] }), void 0));
|
|
312
191
|
}
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
var _default = MemoizedSidebar;
|
|
317
|
-
exports.default = _default;
|
|
192
|
+
const MemoizedSidebar = react_2.default.memo(Sidebar);
|
|
193
|
+
exports.default = MemoizedSidebar;
|