supernav-test 1.0.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/1.bundle.js +1 -0
- package/dist/1.index.js +1 -0
- package/dist/1b563a0ccda49a55fc49b075dedde875.svg +1 -0
- package/dist/1d07fe638b9d5aa92008bb4bf2c9878f.svg +1 -0
- package/dist/7675a5022c1d1530fe6daf95a15af8da.svg +1 -0
- package/dist/7eb08103e0ed379fe6a36aee2acdaa2f.svg +1 -0
- package/dist/abb553c9eea3436512ba15868893ebee.svg +1 -0
- package/dist/bundle.js +67 -0
- package/dist/caf68d0a64d31f733320266312e3a2ca.svg +1 -0
- package/dist/dda5318bd76e92128ede8693c95c71fb.svg +1 -0
- package/dist/ec12ad146c69435ec1324a3bfd479164.svg +1 -0
- package/dist/index.html +1 -0
- package/dist/index.js +67 -0
- package/package.json +55 -46
- package/dist/App.css +0 -38
- package/dist/App.test.tsx +0 -9
- package/dist/LsacContainer.tsx +0 -17
- package/dist/components/lsac-supernavbar/AuthWrapper.tsx +0 -63
- package/dist/components/lsac-supernavbar/LsacSidebar.tsx +0 -60
- package/dist/components/lsac-supernavbar/Store.ts +0 -8
- package/dist/components/lsac-supernavbar/actions/AuthActions.ts +0 -21
- package/dist/components/lsac-supernavbar/actions/SidebarActions.ts +0 -81
- package/dist/components/lsac-supernavbar/components/Sidebar.tsx +0 -235
- package/dist/components/lsac-supernavbar/components/SidebarForm.tsx +0 -15
- package/dist/components/lsac-supernavbar/components/SidebarMainLink.tsx +0 -86
- package/dist/components/lsac-supernavbar/components/SidebarOption.tsx +0 -13
- package/dist/components/lsac-supernavbar/components/SidebarSubMenu.tsx +0 -82
- package/dist/components/lsac-supernavbar/components/SidebarTab.js +0 -66
- package/dist/components/lsac-supernavbar/components/Topnav.tsx +0 -140
- package/dist/components/lsac-supernavbar/components/sidebar_submenus/CategorizedSubmenu.tsx +0 -69
- package/dist/components/lsac-supernavbar/components/sidebar_submenus/Marketplace.tsx +0 -13
- package/dist/components/lsac-supernavbar/constants/SidebarConstants.ts +0 -8
- package/dist/components/lsac-supernavbar/constants/UtilityConstants.ts +0 -17
- package/dist/components/lsac-supernavbar/interfaces/Models.ts +0 -71
- package/dist/components/lsac-supernavbar/interfaces/Redux.ts +0 -9
- package/dist/components/lsac-supernavbar/reducers/AuthReducer.ts +0 -24
- package/dist/components/lsac-supernavbar/reducers/RootReducer.ts +0 -12
- package/dist/components/lsac-supernavbar/reducers/SidebarReducer.ts +0 -73
- 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.js +0 -17
- package/dist/components/lsac-supernavbar/util/SubmenuUtil.tsx +0 -153
- package/dist/components/lsac-supernavbar/util/Util.ts +0 -24
- package/dist/index.css +0 -13
- package/dist/index.tsx +0 -18
- package/dist/logo.svg +0 -1
- package/dist/react-app-env.d.ts +0 -1
- package/dist/reportWebVitals.ts +0 -15
- package/dist/setupTests.ts +0 -5
@@ -1,8 +0,0 @@
|
|
1
|
-
import {createStore, applyMiddleware, compose} from "redux";
|
2
|
-
import thunk from 'redux-thunk';
|
3
|
-
import RootReducer from "./reducers/RootReducer";
|
4
|
-
|
5
|
-
// @ts-ignore
|
6
|
-
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
|
7
|
-
const store = createStore(RootReducer, /* preloadedState, */ composeEnhancers(applyMiddleware(thunk)));
|
8
|
-
export default store;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import {Action, ThunkAction} from "../interfaces/Redux";
|
2
|
-
import {UserInfo} from "../interfaces/Models";
|
3
|
-
|
4
|
-
export enum actionTypes {
|
5
|
-
SET_UI_DEV_MODE = 'SET_UI_DEV_MODE',
|
6
|
-
SET_USER_INFO = 'SET_USER_INFO',
|
7
|
-
}
|
8
|
-
|
9
|
-
export function setUserInfo(user: UserInfo): Action {
|
10
|
-
return {
|
11
|
-
type: actionTypes.SET_USER_INFO,
|
12
|
-
payload: user,
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
export function setUiDevMode(uiDevMode: boolean): Action {
|
17
|
-
return {
|
18
|
-
type: actionTypes.SET_UI_DEV_MODE,
|
19
|
-
payload: uiDevMode,
|
20
|
-
}
|
21
|
-
}
|
@@ -1,81 +0,0 @@
|
|
1
|
-
import {Application, SidebarOption} from "../interfaces/Models";
|
2
|
-
import {Action, ThunkAction} from "../interfaces/Redux";
|
3
|
-
import { SidebarMenuTypes } from "../constants/SidebarConstants";
|
4
|
-
|
5
|
-
export enum actionTypes {
|
6
|
-
EXPAND_APP = 'EXPAND_APP',
|
7
|
-
REGISTER_EXTRA_TOP_NAV_COMPONENT = 'REGISTER_EXTRA_TOP_NAV_COMPONENT',
|
8
|
-
REGISTER_SIDEBAR_OPTIONS = 'REGISTER_SIDEBAR_OPTIONS',
|
9
|
-
SET_LOCAL_APPLICATIONS = 'SET_LOCAL_APPLICATIONS',
|
10
|
-
SET_EXPAND_SIDEBAR = 'SET_EXPAND_SIDEBAR',
|
11
|
-
SET_SELECTED_SIDEBAR_OPTION = 'SET_SELECTED_SIDEBAR_OPTION',
|
12
|
-
SET_TOPNAV_TOGGLE_REF = 'SET_TOPNAV_TOGGLE_REF',
|
13
|
-
SET_MINIMAL_SIDEBAR = 'SET_MINIMAL_SIDEBAR',
|
14
|
-
SET_SHOW_EXPANDED_APPS = 'SET_SHOW_EXPANDED_APPS'
|
15
|
-
}
|
16
|
-
|
17
|
-
export function registerSidebarOptions(options: SidebarOption): Action {
|
18
|
-
return {
|
19
|
-
type: actionTypes.REGISTER_SIDEBAR_OPTIONS,
|
20
|
-
payload: options,
|
21
|
-
};
|
22
|
-
}
|
23
|
-
|
24
|
-
export function registerExtraTopNavComponent(component: Element): Action {
|
25
|
-
return {
|
26
|
-
type: actionTypes.REGISTER_EXTRA_TOP_NAV_COMPONENT,
|
27
|
-
payload: component,
|
28
|
-
};
|
29
|
-
}
|
30
|
-
|
31
|
-
export function SetTopnavToggleref(ref: any): Action {
|
32
|
-
return {
|
33
|
-
type: actionTypes.SET_TOPNAV_TOGGLE_REF,
|
34
|
-
payload: ref
|
35
|
-
};
|
36
|
-
}
|
37
|
-
|
38
|
-
export function SetExpandSidebar(isExpanded: boolean): Action {
|
39
|
-
return {
|
40
|
-
type: actionTypes.SET_EXPAND_SIDEBAR,
|
41
|
-
payload: isExpanded,
|
42
|
-
};
|
43
|
-
}
|
44
|
-
|
45
|
-
export function SetMinimalSidebar(isMinimal: boolean): Action {
|
46
|
-
return {
|
47
|
-
type: actionTypes.SET_MINIMAL_SIDEBAR,
|
48
|
-
payload: isMinimal,
|
49
|
-
};
|
50
|
-
}
|
51
|
-
|
52
|
-
export function SetLocalApps(localApps: Array<Application>): Action {
|
53
|
-
return {
|
54
|
-
type: actionTypes.SET_LOCAL_APPLICATIONS,
|
55
|
-
payload: localApps,
|
56
|
-
}
|
57
|
-
}
|
58
|
-
|
59
|
-
export function SetSelectedSidebarOption(menuType: SidebarMenuTypes): Action {
|
60
|
-
return {
|
61
|
-
type: actionTypes.SET_SELECTED_SIDEBAR_OPTION,
|
62
|
-
payload: menuType,
|
63
|
-
}
|
64
|
-
}
|
65
|
-
|
66
|
-
export function ExpandApp(appKey: string, isExpanded: boolean): Action {
|
67
|
-
return {
|
68
|
-
type: actionTypes.EXPAND_APP,
|
69
|
-
payload: {
|
70
|
-
appKey,
|
71
|
-
isExpanded
|
72
|
-
},
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
export function SetShowExpandedApps(expanded: boolean): Action {
|
77
|
-
return {
|
78
|
-
type: actionTypes.SET_SHOW_EXPANDED_APPS,
|
79
|
-
payload: expanded
|
80
|
-
}
|
81
|
-
}
|
@@ -1,235 +0,0 @@
|
|
1
|
-
import React, { useEffect, useRef, useState } from 'react';
|
2
|
-
import { useDispatch, useSelector } from "react-redux";
|
3
|
-
import cx from 'classnames';
|
4
|
-
import SidebarForm from "./SidebarForm";
|
5
|
-
import { RootState } from "../reducers/RootReducer";
|
6
|
-
import { SetExpandSidebar, SetSelectedSidebarOption, SetMinimalSidebar, SetShowExpandedApps } from "../actions/SidebarActions";
|
7
|
-
import SidebarMainLink, { SidebarMainLinkProps } from "./SidebarMainLink";
|
8
|
-
import SidebarSubMenu from "./SidebarSubMenu";
|
9
|
-
import { SidebarMenuTypes } from "../constants/SidebarConstants";
|
10
|
-
import { SidebarDisplayModes } from "../constants/UtilityConstants";
|
11
|
-
import { KeycloakAppInfo, SidebarCategory, SidebarOption } from "../interfaces/Models";
|
12
|
-
// icon imports
|
13
|
-
import iconSet from "../resources/icomoon-library.json";
|
14
|
-
import IcomoonReact from "icomoon-react";
|
15
|
-
|
16
|
-
const styles = require('../stylesheets/sidebar.scss');
|
17
|
-
|
18
|
-
interface SidebarProps {
|
19
|
-
currentNav: string;
|
20
|
-
appContext?: string;
|
21
|
-
topNavHeight: string;
|
22
|
-
sidebarDisplayMode: SidebarDisplayModes;
|
23
|
-
sidebarOptions: Array<SidebarOption>;
|
24
|
-
}
|
25
|
-
|
26
|
-
// TODO - get proper icons
|
27
|
-
const SidebarMainLinks: Array<SidebarMainLinkProps> = [
|
28
|
-
{
|
29
|
-
id: SidebarMenuTypes.Home,
|
30
|
-
label: 'My Home',
|
31
|
-
icon: (<IcomoonReact
|
32
|
-
iconSet={iconSet}
|
33
|
-
icon="home"
|
34
|
-
/>),
|
35
|
-
onClick: () => console.log('My Home'),
|
36
|
-
subMenu: false,
|
37
|
-
},
|
38
|
-
{
|
39
|
-
id: SidebarMenuTypes.MyApps,
|
40
|
-
label: 'My Apps',
|
41
|
-
icon: (<IcomoonReact
|
42
|
-
iconSet={iconSet}
|
43
|
-
icon="my-apps"
|
44
|
-
/>),
|
45
|
-
onClick: () => console.log('My Apps'),
|
46
|
-
subMenu: false,
|
47
|
-
},
|
48
|
-
{
|
49
|
-
id: SidebarMenuTypes.Management,
|
50
|
-
label: 'Administration',
|
51
|
-
icon: (<IcomoonReact
|
52
|
-
iconSet={iconSet}
|
53
|
-
icon="marketplace-administration"
|
54
|
-
/>),
|
55
|
-
onClick: () => console.log('Management'),
|
56
|
-
subMenu: false,
|
57
|
-
},
|
58
|
-
{
|
59
|
-
id: SidebarMenuTypes.Marketplace,
|
60
|
-
label: 'Marketplace',
|
61
|
-
icon: (<IcomoonReact
|
62
|
-
iconSet={iconSet}
|
63
|
-
icon="marketplace"
|
64
|
-
/>),
|
65
|
-
onClick: () => console.log('Marketplace'),
|
66
|
-
subMenu: false,
|
67
|
-
},
|
68
|
-
{
|
69
|
-
id: SidebarMenuTypes.Collaboration,
|
70
|
-
label: 'Collaboration',
|
71
|
-
icon: (<IcomoonReact
|
72
|
-
iconSet={iconSet}
|
73
|
-
icon="collboration"
|
74
|
-
/>),
|
75
|
-
onClick: () => console.log('Collaboration'),
|
76
|
-
subMenu: false,
|
77
|
-
},
|
78
|
-
{
|
79
|
-
id: SidebarMenuTypes.Engagement,
|
80
|
-
label: 'Engagement',
|
81
|
-
icon: (<IcomoonReact
|
82
|
-
iconSet={iconSet}
|
83
|
-
icon="engagement"
|
84
|
-
/>),
|
85
|
-
onClick: () => console.log('Engagement'),
|
86
|
-
subMenu: false,
|
87
|
-
}
|
88
|
-
];
|
89
|
-
|
90
|
-
|
91
|
-
function Sidebar(props: SidebarProps) {
|
92
|
-
const { appContext, topNavHeight, sidebarDisplayMode, sidebarOptions } = props;
|
93
|
-
|
94
|
-
const reduxDispatch = useDispatch();
|
95
|
-
const expanded = useSelector((state: RootState) => sidebarDisplayMode === SidebarDisplayModes.ALL ? true : state.sidebar.expanded);
|
96
|
-
const isMinimal = useSelector((state: RootState) => state.sidebar.isMinimal);
|
97
|
-
const topNavToggleref = useSelector((state: RootState) => state.sidebar.topnavToggleref);
|
98
|
-
const selectedOption = mapContextToAppsId();
|
99
|
-
|
100
|
-
function mapContextToAppsId() {
|
101
|
-
let selectedSidebarOption = SidebarMenuTypes.MyApps;
|
102
|
-
if (appContext === 'management') {
|
103
|
-
selectedSidebarOption = SidebarMenuTypes.Management;
|
104
|
-
} else if (appContext === 'marketplace') {
|
105
|
-
selectedSidebarOption = SidebarMenuTypes.Marketplace;
|
106
|
-
} else if (appContext === 'collaboration') {
|
107
|
-
selectedSidebarOption = SidebarMenuTypes.Collaboration;
|
108
|
-
} else if (appContext === 'home') {
|
109
|
-
selectedSidebarOption = SidebarMenuTypes.Home;
|
110
|
-
}
|
111
|
-
return selectedSidebarOption;
|
112
|
-
}
|
113
|
-
// When component is loaded fetch the userInfo's available applications
|
114
|
-
useEffect(() => {
|
115
|
-
let selectedSidebarOption = mapContextToAppsId()
|
116
|
-
reduxDispatch(SetMinimalSidebar(sidebarDisplayMode === SidebarDisplayModes.MINIMAL));
|
117
|
-
reduxDispatch(SetSelectedSidebarOption(selectedSidebarOption))
|
118
|
-
}, [reduxDispatch, appContext]);
|
119
|
-
|
120
|
-
//when sidebar is loaded attach listener to detect clicks external to it
|
121
|
-
function useExternalClickListener(ref: any) {
|
122
|
-
useEffect(() => {
|
123
|
-
function handleClickOutside(event: any) {
|
124
|
-
let eventPath = event.composedPath();
|
125
|
-
if (ref.current && !(eventPath.includes(ref.current) || eventPath.includes(topNavToggleref.current)) && expanded === true) {
|
126
|
-
reduxDispatch(SetExpandSidebar(false));
|
127
|
-
}
|
128
|
-
}
|
129
|
-
|
130
|
-
// Bind the event listener
|
131
|
-
document.addEventListener("mousedown", handleClickOutside);
|
132
|
-
|
133
|
-
return () => {
|
134
|
-
// Unbind the event listener on clean up
|
135
|
-
document.removeEventListener("mousedown", handleClickOutside);
|
136
|
-
};
|
137
|
-
}, [ref, topNavToggleref, expanded]);
|
138
|
-
}
|
139
|
-
|
140
|
-
const [showForm, setShowForm] = useState(false);
|
141
|
-
const formDisplay = showForm ? <SidebarForm /> : '';
|
142
|
-
|
143
|
-
function CheckManagementAndMarketplaceAccess() {
|
144
|
-
const apps = useSelector((state: RootState) => state.auth.userInfo?.applications || new Array<KeycloakAppInfo>());
|
145
|
-
const appCategories = apps.filter((e) => e.attributes !== undefined)
|
146
|
-
.filter((e) => e.attributes['category'] !== undefined)
|
147
|
-
.filter((d) => Object.keys(d.attributes).length > 0)
|
148
|
-
.map(app => app.attributes['category'].toLowerCase());
|
149
|
-
const appCategoriesForSubApps = apps.filter(e => e.attributes !== undefined)
|
150
|
-
.filter(e => e.attributes['category'] !== undefined)
|
151
|
-
.map(app => app.attributes['category'].toLowerCase());
|
152
|
-
|
153
|
-
let appCategorySubAppsCount = appCategoriesForSubApps.reduce((object, element) => {
|
154
|
-
object[element] = ++object[element] || 1;
|
155
|
-
return object;
|
156
|
-
}, {});
|
157
|
-
|
158
|
-
if (appCategorySubAppsCount['my_apps'] >= 1) {
|
159
|
-
const index = SidebarMainLinks.findIndex((e) => e.id === 'my_apps')
|
160
|
-
SidebarMainLinks[index].subMenu = true
|
161
|
-
}
|
162
|
-
|
163
|
-
if (appCategorySubAppsCount['management'] >= 1) {
|
164
|
-
const index = SidebarMainLinks.findIndex((e) => e.id === 'management')
|
165
|
-
SidebarMainLinks[index].subMenu = true
|
166
|
-
}
|
167
|
-
|
168
|
-
const isCollaboration = sidebarOptions.filter(option => option.category === SidebarCategory.COLLABORATION)
|
169
|
-
if (appCategorySubAppsCount['engagement'] >= 1) {
|
170
|
-
const index = SidebarMainLinks.findIndex((e) => e.id === 'engagement')
|
171
|
-
SidebarMainLinks[index].subMenu = true
|
172
|
-
}
|
173
|
-
|
174
|
-
|
175
|
-
if (appCategorySubAppsCount['collaboration'] >= 1 || isCollaboration.length) {
|
176
|
-
const index = SidebarMainLinks.findIndex((e) => e.id === 'collaboration')
|
177
|
-
SidebarMainLinks[index].subMenu = true
|
178
|
-
}
|
179
|
-
|
180
|
-
const hasManagementAccess = appCategories.includes(SidebarCategory.MANAGEMENT);
|
181
|
-
const hasMarketplaceAccess = appCategories.includes(SidebarCategory.MARKETPLACE);
|
182
|
-
const hasHomeAccess = appCategories.includes(SidebarCategory.MY_HOME);
|
183
|
-
const hasMyAppAccess = appCategories.includes(SidebarCategory.MY_APPS);
|
184
|
-
const hasCollaborationAccess = appCategories.includes(SidebarCategory.COLLABORATION) || sidebarOptions.map(option => option.category).includes(SidebarCategory.COLLABORATION);
|
185
|
-
|
186
|
-
return SidebarMainLinks.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.Marketplace || hasMarketplaceAccess))
|
187
|
-
.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.Management || hasManagementAccess))
|
188
|
-
.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.Home || hasHomeAccess))
|
189
|
-
.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.MyApps || hasMyAppAccess))
|
190
|
-
.filter(mainLinkProps => (mainLinkProps.id.toLowerCase() !== SidebarMenuTypes.Collaboration || hasCollaborationAccess))
|
191
|
-
.map((mainLinkProps, index) => <SidebarMainLink appContext={appContext} {...mainLinkProps} key={`lsac-sidebar-main-link-${index}`} selectedOption={selectedOption} />);
|
192
|
-
}
|
193
|
-
const mainLinks = CheckManagementAndMarketplaceAccess();
|
194
|
-
|
195
|
-
const topNavHeightBuffer: React.CSSProperties = {
|
196
|
-
top: topNavHeight
|
197
|
-
};
|
198
|
-
|
199
|
-
const sidebarRef = useRef(null);
|
200
|
-
useExternalClickListener(sidebarRef);
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
const handleMouseLeave = () => {
|
205
|
-
if (!isMinimal) {
|
206
|
-
reduxDispatch(SetExpandSidebar(false));
|
207
|
-
reduxDispatch(SetMinimalSidebar(true));
|
208
|
-
}
|
209
|
-
reduxDispatch(SetSelectedSidebarOption(selectedOption));
|
210
|
-
reduxDispatch(SetShowExpandedApps(false));
|
211
|
-
};
|
212
|
-
|
213
|
-
return (
|
214
|
-
<div className={'lsac-sidebar-container'}>
|
215
|
-
<div className={cx('lsac-sidebar', { expanded, isMinimal })}
|
216
|
-
style={topNavHeightBuffer}
|
217
|
-
ref={sidebarRef}
|
218
|
-
|
219
|
-
onMouseLeave={handleMouseLeave}
|
220
|
-
>
|
221
|
-
<div className='icon-strip'>
|
222
|
-
{mainLinks}
|
223
|
-
</div>
|
224
|
-
<div className='submenu'>
|
225
|
-
<SidebarSubMenu />
|
226
|
-
</div>
|
227
|
-
</div>
|
228
|
-
{formDisplay}
|
229
|
-
</div>
|
230
|
-
)
|
231
|
-
}
|
232
|
-
|
233
|
-
const MemoizedSidebar = React.memo(Sidebar);
|
234
|
-
|
235
|
-
export default MemoizedSidebar;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
const styles = require('../stylesheets/form.scss');
|
2
|
-
|
3
|
-
interface SidebarFormProps {
|
4
|
-
|
5
|
-
}
|
6
|
-
function SidebarForm(props: SidebarFormProps) {
|
7
|
-
return (
|
8
|
-
<div className='sidebar-form'>
|
9
|
-
<div className='sidebar-header'>Form Launched From Sidebar Action</div>
|
10
|
-
<div className='sidebar-form-body'>Contents of the form</div>
|
11
|
-
</div>
|
12
|
-
);
|
13
|
-
}
|
14
|
-
|
15
|
-
export default SidebarForm;
|
@@ -1,86 +0,0 @@
|
|
1
|
-
import React, { useCallback } from 'react';
|
2
|
-
import cx from 'classnames';
|
3
|
-
import { useSelector, useDispatch } from "react-redux";
|
4
|
-
import { RootState } from "../reducers/RootReducer";
|
5
|
-
import { SetSelectedSidebarOption, SetExpandSidebar, SetMinimalSidebar } from "../actions/SidebarActions";
|
6
|
-
import { SidebarMenuTypes } from "../constants/SidebarConstants";
|
7
|
-
import { KeycloakAppInfo, SidebarCategory } from "../interfaces/Models";
|
8
|
-
import IconRight from '../static/images/sidebar-icons/rightIcon.svg';
|
9
|
-
|
10
|
-
const styles = require('../stylesheets/sidebar-main-link.scss');
|
11
|
-
|
12
|
-
|
13
|
-
export interface SidebarMainLinkProps {
|
14
|
-
appContext?: string;
|
15
|
-
id: SidebarMenuTypes;
|
16
|
-
icon?: any;
|
17
|
-
label: string;
|
18
|
-
onClick: () => void;
|
19
|
-
click?: () => void;
|
20
|
-
selectedOption?: any;
|
21
|
-
subMenu: boolean;
|
22
|
-
}
|
23
|
-
|
24
|
-
function SidebarMainLink(props: SidebarMainLinkProps) {
|
25
|
-
const { icon, label, id, click, selectedOption, subMenu } = props;
|
26
|
-
const dispatch = useDispatch();
|
27
|
-
|
28
|
-
const selectedSidebarOption = useSelector((state: RootState) => state.sidebar.selectedSidebarOption);
|
29
|
-
const selected = id === selectedSidebarOption;
|
30
|
-
const apps = useSelector((state: RootState) => state.auth.userInfo?.applications || new Array<KeycloakAppInfo>());
|
31
|
-
const active = id === selectedOption
|
32
|
-
const onClick = useCallback(() => {
|
33
|
-
if (id === 'marketplace') {
|
34
|
-
const marketplaceUrl = apps.filter((e) => e.attributes !== undefined && e.attributes !== null)
|
35
|
-
.filter((f) => Object.keys(f.attributes).length > 0)
|
36
|
-
.filter((e) => e.attributes['category'] !== undefined)
|
37
|
-
.filter(app => app.attributes['category'].toLowerCase() === SidebarCategory.MARKETPLACE)[0].url;
|
38
|
-
window.location.href = marketplaceUrl;
|
39
|
-
dispatch(SetExpandSidebar(false));
|
40
|
-
dispatch(SetMinimalSidebar(true));
|
41
|
-
} else if (id === 'home') {
|
42
|
-
const home_url = apps.filter((e) => e.attributes !== undefined)
|
43
|
-
.filter((f) => Object.keys(f.attributes).length > 0)
|
44
|
-
.filter((e) => e.attributes['category'] !== undefined)
|
45
|
-
.filter(app => app.attributes['category'].toLowerCase() === SidebarCategory.MY_HOME)[0].url;
|
46
|
-
window.location.href = home_url;
|
47
|
-
dispatch(SetExpandSidebar(false));
|
48
|
-
dispatch(SetMinimalSidebar(true));
|
49
|
-
}
|
50
|
-
}, [id, dispatch]);
|
51
|
-
|
52
|
-
const onHover = useCallback((id: any) => {
|
53
|
-
dispatch(SetSelectedSidebarOption(id));
|
54
|
-
if (id === 'marketplace' || id === 'home') {
|
55
|
-
dispatch(SetExpandSidebar(false));
|
56
|
-
dispatch(SetMinimalSidebar(true));
|
57
|
-
} else {
|
58
|
-
dispatch(SetExpandSidebar(true));
|
59
|
-
dispatch(SetMinimalSidebar(false));
|
60
|
-
}
|
61
|
-
}, [id, dispatch]);
|
62
|
-
|
63
|
-
const iconRight = (
|
64
|
-
<div className="icon-right" >
|
65
|
-
<div className="icon-right-arrow">
|
66
|
-
<IconRight />
|
67
|
-
</div>
|
68
|
-
</div>
|
69
|
-
);
|
70
|
-
|
71
|
-
if (subMenu) {
|
72
|
-
return (
|
73
|
-
<div className={cx('lsac-sidebar-main-link', { selected: selected }, { active: active })} onClick={onClick} onMouseOver={(e) => { onHover(id) }} title={label}>
|
74
|
-
{icon}
|
75
|
-
{iconRight}
|
76
|
-
</div>);
|
77
|
-
} else {
|
78
|
-
return (
|
79
|
-
<div className={cx('lsac-sidebar-main-link', { selected: selected }, { active: active })} onClick={onClick} onMouseOver={(e) => { onHover(id) }} title={label}>
|
80
|
-
{icon}
|
81
|
-
</div>
|
82
|
-
);
|
83
|
-
}
|
84
|
-
}
|
85
|
-
|
86
|
-
export default SidebarMainLink;
|