qpp-style 9.8.2 → 9.8.6
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/components/SideNav/UI/default-content.json +1 -2
- package/components/SideNav/helpers.js +2 -2
- package/coverage/clover.xml +639 -635
- package/coverage/coverage-final.json +66 -65
- package/coverage/lcov-report/Header/HeaderUI.jsx.html +1418 -0
- package/coverage/lcov-report/Header/index.html +111 -0
- package/coverage/lcov-report/HeaderUI.jsx.html +578 -0
- package/coverage/lcov-report/SideNav/UI/index.html +111 -0
- package/coverage/lcov-report/SideNav/UI/index.js.html +89 -0
- package/coverage/lcov-report/components/Accordion/index.html +111 -0
- package/coverage/lcov-report/components/Accordion/index.jsx.html +359 -0
- package/coverage/lcov-report/components/Error/Collapsible.jsx.html +344 -0
- package/coverage/lcov-report/components/Error/ErrorUI.jsx.html +173 -0
- package/coverage/lcov-report/components/Error/index.html +126 -0
- package/coverage/lcov-report/components/Footer/FooterUI.jsx.html +845 -0
- package/coverage/lcov-report/components/Footer/LegacyFooterUI.jsx.html +662 -0
- package/coverage/lcov-report/components/Footer/SocialLinks.jsx.html +260 -0
- package/coverage/lcov-report/components/Footer/Subscribe.jsx.html +182 -0
- package/coverage/lcov-report/components/Footer/index.html +156 -0
- package/coverage/lcov-report/components/InfoModal/index.html +111 -0
- package/coverage/lcov-report/components/InfoModal/index.jsx.html +392 -0
- package/coverage/lcov-report/components/Infotip/Infotip.jsx.html +305 -0
- package/coverage/lcov-report/components/Infotip/InfotipIcon.jsx.html +203 -0
- package/coverage/lcov-report/components/Infotip/index.html +141 -0
- package/coverage/lcov-report/components/Infotip/index.js.html +89 -0
- package/coverage/lcov-report/components/SanitizedContent/index.html +111 -0
- package/coverage/lcov-report/components/SanitizedContent/index.jsx.html +680 -0
- package/coverage/lcov-report/components/SessionDialogUI.jsx.html +863 -0
- package/coverage/lcov-report/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +140 -0
- package/coverage/lcov-report/components/SideNav/AnimationGroup/index.html +111 -0
- package/coverage/lcov-report/components/SideNav/Chart/ScoreChart.jsx.html +884 -0
- package/coverage/lcov-report/components/SideNav/Chart/index.html +126 -0
- package/coverage/lcov-report/components/SideNav/Chart/index.js.html +89 -0
- package/coverage/lcov-report/components/SideNav/Content/LevelOneContent.jsx.html +1007 -0
- package/coverage/lcov-report/components/SideNav/Content/LevelTwoContent.jsx.html +722 -0
- package/coverage/lcov-report/components/SideNav/Content/index.html +141 -0
- package/coverage/lcov-report/components/SideNav/Content/index.js.html +92 -0
- package/coverage/lcov-report/components/SideNav/Details/IndividualDetails.jsx.html +134 -0
- package/coverage/lcov-report/components/SideNav/Details/PracticeDetails.jsx.html +203 -0
- package/coverage/lcov-report/components/SideNav/Details/index.html +141 -0
- package/coverage/lcov-report/components/SideNav/Details/index.js.html +92 -0
- package/coverage/lcov-report/components/SideNav/Links/CmsSwitchLink.jsx.html +203 -0
- package/coverage/lcov-report/components/SideNav/Links/NavItemInline.jsx.html +242 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkContainer.jsx.html +209 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkDrawer.jsx.html +659 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkInline.jsx.html +401 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkToggle.jsx.html +182 -0
- package/coverage/lcov-report/components/SideNav/Links/index.html +201 -0
- package/coverage/lcov-report/components/SideNav/Links/index.js.html +119 -0
- package/coverage/lcov-report/components/SideNav/UI/SideNavUI.jsx.html +1103 -0
- package/coverage/lcov-report/components/SideNav/UI/index.html +126 -0
- package/coverage/lcov-report/components/SideNav/UI/index.js.html +89 -0
- package/coverage/lcov-report/components/SideNav/helpers.js.html +221 -0
- package/coverage/lcov-report/components/SideNav/index.html +111 -0
- package/coverage/lcov-report/components/Tooltip/Tooltip.jsx.html +344 -0
- package/coverage/lcov-report/components/Tooltip/index.html +141 -0
- package/coverage/lcov-report/components/Tooltip/index.js.html +89 -0
- package/coverage/lcov-report/components/Tooltip/position.js.html +284 -0
- package/coverage/lcov-report/components/index.html +111 -0
- package/coverage/lcov-report/index.html +158 -143
- package/coverage/lcov-report/lib/Chevron.jsx.html +161 -0
- package/coverage/lcov-report/lib/SvgComponents.jsx.html +1697 -0
- package/coverage/lcov-report/lib/index.html +141 -0
- package/coverage/lcov-report/lib/svg-definitions.svg.html +455 -0
- package/coverage/lcov-report/react/components/Accordion/index.html +19 -19
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +18 -18
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +15 -15
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +4 -4
- package/coverage/lcov-report/react/components/Error/error.js.html +1 -1
- package/coverage/lcov-report/react/components/Error/index.html +1 -1
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +139 -13
- package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/SocialLinks.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/Subscribe.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/footer.js.html +1 -1
- package/coverage/lcov-report/react/components/Footer/index.html +18 -18
- package/coverage/lcov-report/react/components/Header/HeaderAccountMenu.jsx.html +112 -34
- package/coverage/lcov-report/react/components/Header/HeaderCancel.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderContainer.jsx.html +13 -19
- package/coverage/lcov-report/react/components/Header/HeaderLogo.jsx.html +6 -6
- package/coverage/lcov-report/react/components/Header/HeaderMenuButton.js.html +6 -6
- package/coverage/lcov-report/react/components/Header/HeaderMenuItem.jsx.html +146 -26
- package/coverage/lcov-report/react/components/Header/HeaderMenuLink.js.html +8 -2
- package/coverage/lcov-report/react/components/Header/HeaderMenuSignOutButton.js.html +21 -6
- package/coverage/lcov-report/react/components/Header/HeaderMobileButton.js.html +5 -2
- package/coverage/lcov-report/react/components/Header/HeaderUI.jsx.html +41 -155
- package/coverage/lcov-report/react/components/Header/HelpIcon.jsx.html +13 -7
- package/coverage/lcov-report/react/components/Header/NavigationButtonIcon.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/header.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/hooks.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/index.html +34 -34
- package/coverage/lcov-report/react/components/Header/utag-helpers.js.html +3 -6
- package/coverage/lcov-report/react/components/InfoModal/index.html +1 -1
- package/coverage/lcov-report/react/components/InfoModal/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/index.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Modal/LegacyModal.jsx.html +3 -3
- package/coverage/lcov-report/react/components/Modal/Modal.jsx.html +83 -47
- package/coverage/lcov-report/react/components/Modal/index.html +32 -32
- package/coverage/lcov-report/react/components/Modal/index.jsx.html +29 -29
- package/coverage/lcov-report/react/components/NotificationBanner/NotificationBannerUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/index.html +20 -20
- package/coverage/lcov-report/react/components/NotificationBanner/index.js.html +875 -0
- package/coverage/lcov-report/react/components/SanitizedContent/index.html +1 -1
- package/coverage/lcov-report/react/components/SanitizedContent/index.jsx.html +5 -5
- package/coverage/lcov-report/react/components/SessionDialog/index.html +111 -0
- package/coverage/lcov-report/react/components/SessionDialog/sessionDialog.js.html +158 -0
- package/coverage/lcov-report/react/components/SessionDialogUI.jsx.html +69 -45
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +10 -4
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Chart/ScoreChart.jsx.html +44 -44
- package/coverage/lcov-report/react/components/SideNav/Chart/index.html +19 -19
- package/coverage/lcov-report/react/components/SideNav/Chart/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/LevelOneContent.jsx.html +140 -557
- package/coverage/lcov-report/react/components/SideNav/Content/LevelTwoContent.jsx.html +19 -13
- package/coverage/lcov-report/react/components/SideNav/Content/index.html +21 -21
- package/coverage/lcov-report/react/components/SideNav/Content/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/IndividualDetails.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/PracticeDetails.jsx.html +19 -7
- package/coverage/lcov-report/react/components/SideNav/Details/index.html +13 -13
- package/coverage/lcov-report/react/components/SideNav/Details/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/CmsSwitchLink.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavItemInline.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkContainer.jsx.html +47 -62
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkDrawer.jsx.html +56 -20
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkInline.jsx.html +41 -41
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkToggle.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/index.html +36 -36
- package/coverage/lcov-report/react/components/SideNav/Links/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/UI/SideNavUI.jsx.html +127 -178
- package/coverage/lcov-report/react/components/SideNav/UI/index.html +17 -17
- package/coverage/lcov-report/react/components/SideNav/UI/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/helpers.js.html +14 -8
- package/coverage/lcov-report/react/components/SideNav/index.html +11 -11
- package/coverage/lcov-report/react/components/SideNav/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +12 -12
- package/coverage/lcov-report/react/components/Tooltip/index.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +15 -15
- package/coverage/lcov-report/react/components/hooks/index.html +111 -0
- package/coverage/lcov-report/react/components/hooks/useGetConfig.js.html +302 -0
- package/coverage/lcov-report/react/components/index.html +1 -1
- package/coverage/lcov-report/react/index.html +13 -13
- package/coverage/lcov-report/react/index.js.html +22 -7
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +25 -10
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +64 -28
- package/coverage/lcov-report/react/lib/index.html +15 -15
- package/coverage/lcov-report/react/lib/svg-definitions.svg.html +1 -1
- package/coverage/lcov-report/react/session/index.html +1 -1
- package/coverage/lcov-report/react/session/index.js.html +1 -1
- package/coverage/lcov-report/react/session/logout.js.html +1 -1
- package/coverage/lcov-report/react/session/refresh.js.html +1 -1
- package/coverage/lcov-report/react/session/ttl.js.html +1 -1
- package/coverage/lcov-report/session/index.html +126 -0
- package/coverage/lcov-report/session/index.js.html +95 -0
- package/coverage/lcov-report/session/logout.js.html +203 -0
- package/coverage/lcov-report/session/refresh.js.html +227 -0
- package/coverage/lcov-report/session/ttl.js.html +191 -0
- package/coverage/lcov.info +1218 -1190
- package/dist/browser.js +1 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/images/icons/svg/arrow-down.svg +1 -1
- package/images/icons/svg/arrow-download.svg +1 -1
- package/images/icons/svg/arrow-right.svg +1 -1
- package/images/icons/svg/calendar.svg +1 -1
- package/images/icons/svg/download.svg +1 -1
- package/images/icons/svg/external.svg +1 -1
- package/images/icons/svg/file-upload.svg +1 -1
- package/images/icons/svg/tooltip-question.svg +1 -1
- package/images/icons/svg/trash.svg +1 -1
- package/images/icons/svg/upload.svg +1 -1
- package/package.json +15 -15
- package/storybook-static/0.284246fa7dd756530022.manager.bundle.js +1 -0
- package/storybook-static/0.e444ffe0.iframe.bundle.js +1 -0
- package/storybook-static/4.38e07a72.iframe.bundle.js +3 -0
- package/storybook-static/4.38e07a72.iframe.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/4.38e07a72.iframe.bundle.js.map +1 -0
- package/storybook-static/4.5a2288a7314de45771fd.manager.bundle.js +2 -0
- package/storybook-static/4.5a2288a7314de45771fd.manager.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/5.96d29e90.iframe.bundle.js +1 -0
- package/storybook-static/5.f669e5db79f970f4eeda.manager.bundle.js +2 -0
- package/storybook-static/5.f669e5db79f970f4eeda.manager.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/6.fbe12c4b.iframe.bundle.js +3 -0
- package/storybook-static/6.fbe12c4b.iframe.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/6.fbe12c4b.iframe.bundle.js.map +1 -0
- package/storybook-static/6.fc183cb0948fa18c4851.manager.bundle.js +1 -0
- package/storybook-static/7.6262147d7bfe4804e70d.manager.bundle.js +1 -0
- package/storybook-static/7.9e6103c8.iframe.bundle.js +1 -0
- package/storybook-static/8.88a822e73e773dbd9da6.manager.bundle.js +1 -0
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/fonts/FontAwesome.otf +0 -0
- package/storybook-static/fonts/OFL.txt +92 -0
- package/storybook-static/fonts/Rubik-Black.ttf +0 -0
- package/storybook-static/fonts/Rubik-BlackItalic.ttf +0 -0
- package/storybook-static/fonts/Rubik-Bold.ttf +0 -0
- package/storybook-static/fonts/Rubik-BoldItalic.ttf +0 -0
- package/storybook-static/fonts/Rubik-Italic.ttf +0 -0
- package/storybook-static/fonts/Rubik-Light.ttf +0 -0
- package/storybook-static/fonts/Rubik-LightItalic.ttf +0 -0
- package/storybook-static/fonts/Rubik-Medium.ttf +0 -0
- package/storybook-static/fonts/Rubik-MediumItalic.ttf +0 -0
- package/storybook-static/fonts/Rubik-Regular.ttf +0 -0
- package/storybook-static/fonts/fontawesome-webfont.eot +0 -0
- package/storybook-static/fonts/fontawesome-webfont.svg +2671 -0
- package/storybook-static/fonts/fontawesome-webfont.ttf +0 -0
- package/storybook-static/fonts/fontawesome-webfont.woff +0 -0
- package/storybook-static/fonts/fontawesome-webfont.woff2 +0 -0
- package/storybook-static/iframe.html +138 -0
- package/storybook-static/images/favicon/android-chrome-192x192.png +0 -0
- package/storybook-static/images/favicon/android-chrome-256x256.png +0 -0
- package/storybook-static/images/favicon/apple-touch-icon.png +0 -0
- package/storybook-static/images/favicon/browserconfig.xml +9 -0
- package/storybook-static/images/favicon/favicon-16x16.png +0 -0
- package/storybook-static/images/favicon/favicon-32x32.png +0 -0
- package/storybook-static/images/favicon/favicon.ico +0 -0
- package/storybook-static/images/favicon/manifest.json +18 -0
- package/storybook-static/images/favicon/mstile-150x150.png +0 -0
- package/storybook-static/images/favicon/safari-pinned-tab.svg +32 -0
- package/storybook-static/images/hhs-logo-black.svg +10 -0
- package/storybook-static/images/hhs-logo-white.svg +10 -0
- package/storybook-static/images/icons/close-x.svg +6 -0
- package/storybook-static/images/icons/help-headset.svg +21 -0
- package/storybook-static/images/icons/svg/arrow-down.svg +3 -0
- package/storybook-static/images/icons/svg/arrow-download.svg +5 -0
- package/storybook-static/images/icons/svg/arrow-right.svg +5 -0
- package/storybook-static/images/icons/svg/close.svg +3 -0
- package/storybook-static/images/icons/svg/download.svg +1 -0
- package/storybook-static/images/icons/svg/external.svg +4 -0
- package/storybook-static/images/icons/svg/file-upload.svg +1 -0
- package/storybook-static/images/icons/svg/print.svg +4 -0
- package/storybook-static/images/icons/svg/trash.svg +5 -0
- package/storybook-static/images/icons/svg/upload.svg +3 -0
- package/storybook-static/images/qpp_logo_reversed.png +0 -0
- package/storybook-static/images/qpp_logo_rgb_color.png +0 -0
- package/storybook-static/index.html +55 -0
- package/storybook-static/main.18ac9bfd601c66f4bee6.manager.bundle.js +1 -0
- package/storybook-static/main.9d42b744.iframe.bundle.js +1 -0
- package/storybook-static/runtime~main.d17fbed7a9ad1d2c431e.manager.bundle.js +1 -0
- package/storybook-static/runtime~main.ed6e2009.iframe.bundle.js +1 -0
- package/storybook-static/static/media/Bitter-Bold.091bd4b7.woff +0 -0
- package/storybook-static/static/media/Bitter-Bold.24bf01e4.woff2 +0 -0
- package/storybook-static/static/media/Bitter-Bold.46bc29e4.ttf +0 -0
- package/storybook-static/static/media/Bitter-Bold.790f4f2f.eot +0 -0
- package/storybook-static/static/media/Bitter-Italic.1fa5390c.eot +0 -0
- package/storybook-static/static/media/Bitter-Italic.25e5675f.woff +0 -0
- package/storybook-static/static/media/Bitter-Italic.2eb18f5a.ttf +0 -0
- package/storybook-static/static/media/Bitter-Italic.34644574.woff2 +0 -0
- package/storybook-static/static/media/Bitter-Regular.4b22b6e8.woff +0 -0
- package/storybook-static/static/media/Bitter-Regular.559e7075.eot +0 -0
- package/storybook-static/static/media/Bitter-Regular.8db0301b.ttf +0 -0
- package/storybook-static/static/media/Bitter-Regular.f4e2f1f1.woff2 +0 -0
- package/storybook-static/static/media/FontAwesome.91f80bba.otf +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.202d819d.eot +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.92e570c6.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.da71e99a.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.e75949bb.woff +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.72daa33a.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.74ead3a8.woff +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.ae19388f.eot +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.ec7a2746.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.63a5fa7d.woff +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.66451be4.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.7882d20f.eot +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.ca4dd835.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.17ded75f.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.2a5adf6c.woff +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.6059fecb.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.c9808185.eot +0 -0
- package/storybook-static/static/media/Rubik-Bold.31bbd4d2.ttf +0 -0
- package/storybook-static/static/media/Rubik-Light.c90e2014.ttf +0 -0
- package/storybook-static/static/media/Rubik-Medium.5daa89aa.ttf +0 -0
- package/storybook-static/static/media/Rubik-Regular.cdf97d58.ttf +0 -0
- package/storybook-static/static/media/fontawesome-webfont.1e59d233.ttf +0 -0
- package/storybook-static/static/media/fontawesome-webfont.20fd1704.woff2 +0 -0
- package/storybook-static/static/media/fontawesome-webfont.8b43027f.eot +0 -0
- package/storybook-static/static/media/fontawesome-webfont.f691f37e.woff +0 -0
- package/storybook-static/vendors~main.3604044d8484c1c4d1f7.manager.bundle.js +2 -0
- package/storybook-static/vendors~main.3604044d8484c1c4d1f7.manager.bundle.js.LICENSE.txt +88 -0
- package/storybook-static/vendors~main.7f923d15.iframe.bundle.js +3 -0
- package/storybook-static/vendors~main.7f923d15.iframe.bundle.js.LICENSE.txt +152 -0
- package/storybook-static/vendors~main.7f923d15.iframe.bundle.js.map +1 -0
- package/styles/qppds/components/_modal.scss +22 -0
- package/styles/qppds/utilities/_display-visability.scss +8 -0
- package/styles/qppds/utilities/_height.scss +38 -0
- package/styles/qppds/utilities/_width.scss +35 -0
- package/styles/qppds/utilities/index.scss +1 -0
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/56</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -271,7 +271,9 @@
|
|
|
271
271
|
<a name='L212'></a><a href='#L212'>212</a>
|
|
272
272
|
<a name='L213'></a><a href='#L213'>213</a>
|
|
273
273
|
<a name='L214'></a><a href='#L214'>214</a>
|
|
274
|
-
<a name='L215'></a><a href='#L215'>215</a
|
|
274
|
+
<a name='L215'></a><a href='#L215'>215</a>
|
|
275
|
+
<a name='L216'></a><a href='#L216'>216</a>
|
|
276
|
+
<a name='L217'></a><a href='#L217'>217</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
275
277
|
<span class="cline-any cline-neutral"> </span>
|
|
276
278
|
<span class="cline-any cline-neutral"> </span>
|
|
277
279
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -322,6 +324,7 @@
|
|
|
322
324
|
<span class="cline-any cline-neutral"> </span>
|
|
323
325
|
<span class="cline-any cline-neutral"> </span>
|
|
324
326
|
<span class="cline-any cline-neutral"> </span>
|
|
327
|
+
<span class="cline-any cline-neutral"> </span>
|
|
325
328
|
<span class="cline-any cline-no"> </span>
|
|
326
329
|
<span class="cline-any cline-no"> </span>
|
|
327
330
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -477,6 +480,7 @@
|
|
|
477
480
|
<span class="cline-any cline-neutral"> </span>
|
|
478
481
|
<span class="cline-any cline-neutral"> </span>
|
|
479
482
|
<span class="cline-any cline-neutral"> </span>
|
|
483
|
+
<span class="cline-any cline-neutral"> </span>
|
|
480
484
|
<span class="cline-any cline-yes">2x</span>
|
|
481
485
|
<span class="cline-any cline-neutral"> </span>
|
|
482
486
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -534,6 +538,7 @@ const LevelTwoContent = <span class="fstat-no" title="function not covered" >({<
|
|
|
534
538
|
isApmPaymentDetailsPage,
|
|
535
539
|
useTooltips,
|
|
536
540
|
cpcPlusId,
|
|
541
|
+
pcfId,
|
|
537
542
|
} = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
|
|
538
543
|
}) => {
|
|
539
544
|
const linkClass = <span class="cstat-no" title="statement not covered" >isExpanded ? 'link-inline' : 'link-collapsed';</span>
|
|
@@ -643,23 +648,24 @@ const LevelTwoContent = <span class="fstat-no" title="function not covered" >({<
|
|
|
643
648
|
<div className="sidebar-content">
|
|
644
649
|
<AnimationGroup display={isExpanded}>
|
|
645
650
|
<NavLinkInline
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
651
|
+
icon={<AccountHomeIcon />}
|
|
652
|
+
url={submissionsUrl}
|
|
653
|
+
label="Account Home"
|
|
654
|
+
showLabel={isExpanded}
|
|
655
|
+
className="account-home-link"
|
|
656
|
+
linkCallback={linkCallback}
|
|
657
|
+
useTooltips={useTooltips}
|
|
658
|
+
/>
|
|
659
|
+
<hr />
|
|
655
660
|
</AnimationGroup>
|
|
656
|
-
<AnimationGroup display={isExpanded} className={
|
|
661
|
+
<AnimationGroup display={isExpanded} className={'details'}>
|
|
657
662
|
<PracticeDetails
|
|
658
663
|
practiceName={practiceName}
|
|
659
664
|
{...(!practiceTin ? {} : { practiceTin })}
|
|
660
665
|
{...(!apmEntityId ? {} : { apmEntityId })}
|
|
661
666
|
{...(!vgId ? {} : { vgId })}
|
|
662
667
|
{...(!cpcPlusId ? {} : { cpcPlusId })}
|
|
668
|
+
{...(!pcfId ? {} : { pcfId })}
|
|
663
669
|
/>
|
|
664
670
|
<hr />
|
|
665
671
|
</AnimationGroup>
|
|
@@ -706,7 +712,7 @@ export default LevelTwoContent;
|
|
|
706
712
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
707
713
|
Code coverage generated by
|
|
708
714
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
709
|
-
at
|
|
715
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
710
716
|
</div>
|
|
711
717
|
</div>
|
|
712
718
|
<script src="../../../../prettify.js"></script>
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">43.75% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>21/48</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">3.75% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>3/80</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">20% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>1/
|
|
42
|
+
<span class='fraction'>1/5</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">43.75% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>21/48</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
56
|
</p>
|
|
57
57
|
</div>
|
|
58
|
-
<div class='status-line
|
|
58
|
+
<div class='status-line low'></div>
|
|
59
59
|
<div class="pad1">
|
|
60
60
|
<table class="coverage-summary">
|
|
61
61
|
<thead>
|
|
@@ -74,17 +74,17 @@
|
|
|
74
74
|
</thead>
|
|
75
75
|
<tbody><tr>
|
|
76
76
|
<td class="file medium" data-value="LevelOneContent.jsx"><a href="LevelOneContent.jsx.html">LevelOneContent.jsx</a></td>
|
|
77
|
-
<td data-value="
|
|
78
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
77
|
+
<td data-value="58.06" class="pic medium">
|
|
78
|
+
<div class="chart"><div class="cover-fill" style="width: 58%"></div><div class="cover-empty" style="width: 42%"></div></div>
|
|
79
79
|
</td>
|
|
80
|
-
<td data-value="
|
|
81
|
-
<td data-value="
|
|
82
|
-
<td data-value="
|
|
83
|
-
<td data-value="
|
|
84
|
-
<td data-value="
|
|
85
|
-
<td data-value="
|
|
86
|
-
<td data-value="
|
|
87
|
-
<td data-value="
|
|
80
|
+
<td data-value="58.06" class="pct medium">58.06%</td>
|
|
81
|
+
<td data-value="31" class="abs medium">18/31</td>
|
|
82
|
+
<td data-value="12.5" class="pct low">12.5%</td>
|
|
83
|
+
<td data-value="24" class="abs low">3/24</td>
|
|
84
|
+
<td data-value="25" class="pct low">25%</td>
|
|
85
|
+
<td data-value="4" class="abs low">1/4</td>
|
|
86
|
+
<td data-value="58.06" class="pct medium">58.06%</td>
|
|
87
|
+
<td data-value="31" class="abs medium">18/31</td>
|
|
88
88
|
</tr>
|
|
89
89
|
|
|
90
90
|
<tr>
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
<td data-value="17.65" class="pct low">17.65%</td>
|
|
96
96
|
<td data-value="17" class="abs low">3/17</td>
|
|
97
97
|
<td data-value="0" class="pct low">0%</td>
|
|
98
|
-
<td data-value="
|
|
98
|
+
<td data-value="56" class="abs low">0/56</td>
|
|
99
99
|
<td data-value="0" class="pct low">0%</td>
|
|
100
100
|
<td data-value="1" class="abs low">0/1</td>
|
|
101
101
|
<td data-value="17.65" class="pct low">17.65%</td>
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
126
126
|
Code coverage generated by
|
|
127
127
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
128
|
-
at
|
|
128
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
129
129
|
</div>
|
|
130
130
|
</div>
|
|
131
131
|
<script src="../../../../prettify.js"></script>
|
|
@@ -76,7 +76,7 @@ export { LevelOneContent, LevelTwoContent };
|
|
|
76
76
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
77
77
|
Code coverage generated by
|
|
78
78
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
79
|
-
at
|
|
79
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
80
80
|
</div>
|
|
81
81
|
</div>
|
|
82
82
|
<script src="../../../../prettify.js"></script>
|
|
@@ -118,7 +118,7 @@ export default IndividualDetails;
|
|
|
118
118
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
119
119
|
Code coverage generated by
|
|
120
120
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
121
|
-
at
|
|
121
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
122
122
|
</div>
|
|
123
123
|
</div>
|
|
124
124
|
<script src="../../../../prettify.js"></script>
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">14.29% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>2/
|
|
28
|
+
<span class='fraction'>2/14</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/12</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">14.29% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>2/
|
|
49
|
+
<span class='fraction'>2/14</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -98,7 +98,11 @@
|
|
|
98
98
|
<a name='L39'></a><a href='#L39'>39</a>
|
|
99
99
|
<a name='L40'></a><a href='#L40'>40</a>
|
|
100
100
|
<a name='L41'></a><a href='#L41'>41</a>
|
|
101
|
-
<a name='L42'></a><a href='#L42'>42</a
|
|
101
|
+
<a name='L42'></a><a href='#L42'>42</a>
|
|
102
|
+
<a name='L43'></a><a href='#L43'>43</a>
|
|
103
|
+
<a name='L44'></a><a href='#L44'>44</a>
|
|
104
|
+
<a name='L45'></a><a href='#L45'>45</a>
|
|
105
|
+
<a name='L46'></a><a href='#L46'>46</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
102
106
|
<span class="cline-any cline-neutral"> </span>
|
|
103
107
|
<span class="cline-any cline-neutral"> </span>
|
|
104
108
|
<span class="cline-any cline-yes">2x</span>
|
|
@@ -109,6 +113,9 @@
|
|
|
109
113
|
<span class="cline-any cline-neutral"> </span>
|
|
110
114
|
<span class="cline-any cline-neutral"> </span>
|
|
111
115
|
<span class="cline-any cline-neutral"> </span>
|
|
116
|
+
<span class="cline-any cline-neutral"> </span>
|
|
117
|
+
<span class="cline-any cline-no"> </span>
|
|
118
|
+
<span class="cline-any cline-no"> </span>
|
|
112
119
|
<span class="cline-any cline-no"> </span>
|
|
113
120
|
<span class="cline-any cline-no"> </span>
|
|
114
121
|
<span class="cline-any cline-no"> </span>
|
|
@@ -139,6 +146,7 @@
|
|
|
139
146
|
<span class="cline-any cline-neutral"> </span>
|
|
140
147
|
<span class="cline-any cline-neutral"> </span>
|
|
141
148
|
<span class="cline-any cline-neutral"> </span>
|
|
149
|
+
<span class="cline-any cline-neutral"> </span>
|
|
142
150
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from 'react';
|
|
143
151
|
import PropTypes from 'prop-types';
|
|
144
152
|
|
|
@@ -148,10 +156,13 @@ const PracticeDetails = <span class="fstat-no" title="function not covered" >({<
|
|
|
148
156
|
apmEntityId,
|
|
149
157
|
vgId,
|
|
150
158
|
cpcPlusId,
|
|
159
|
+
pcfId
|
|
151
160
|
}) => {
|
|
152
161
|
function <span class="fstat-no" title="function not covered" >renderId(</span>) {
|
|
153
162
|
<span class="cstat-no" title="statement not covered" > if (cpcPlusId) {</span>
|
|
154
163
|
<span class="cstat-no" title="statement not covered" > return <p className="practice-tin">CPC+ ID: {cpcPlusId}</p>;</span>
|
|
164
|
+
} else <span class="cstat-no" title="statement not covered" >if (pcfId) {</span>
|
|
165
|
+
<span class="cstat-no" title="statement not covered" > return <p className="practice-tin">PCF ID: {pcfId}</p>;</span>
|
|
155
166
|
} else <span class="cstat-no" title="statement not covered" >if (apmEntityId) {</span>
|
|
156
167
|
<span class="cstat-no" title="statement not covered" > return <p className="practice-tin">APM Entity ID: {apmEntityId}</p>;</span>
|
|
157
168
|
} else <span class="cstat-no" title="statement not covered" >if (vgId) {</span>
|
|
@@ -177,6 +188,7 @@ PracticeDetails.propTypes = {
|
|
|
177
188
|
apmEntityId: PropTypes.string,
|
|
178
189
|
vgId: PropTypes.string,
|
|
179
190
|
cpcPlusId: PropTypes.string,
|
|
191
|
+
pcfId: PropTypes.string,
|
|
180
192
|
};
|
|
181
193
|
|
|
182
194
|
export default PracticeDetails;
|
|
@@ -187,7 +199,7 @@ export default PracticeDetails;
|
|
|
187
199
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
188
200
|
Code coverage generated by
|
|
189
201
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
190
|
-
at
|
|
202
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
191
203
|
</div>
|
|
192
204
|
</div>
|
|
193
205
|
<script src="../../../../prettify.js"></script>
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">23.53% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>4/
|
|
28
|
+
<span class='fraction'>4/17</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/12</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">23.53% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>4/
|
|
49
|
+
<span class='fraction'>4/17</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -89,17 +89,17 @@
|
|
|
89
89
|
|
|
90
90
|
<tr>
|
|
91
91
|
<td class="file low" data-value="PracticeDetails.jsx"><a href="PracticeDetails.jsx.html">PracticeDetails.jsx</a></td>
|
|
92
|
-
<td data-value="
|
|
93
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
92
|
+
<td data-value="14.29" class="pic low">
|
|
93
|
+
<div class="chart"><div class="cover-fill" style="width: 14%"></div><div class="cover-empty" style="width: 86%"></div></div>
|
|
94
94
|
</td>
|
|
95
|
-
<td data-value="
|
|
96
|
-
<td data-value="
|
|
95
|
+
<td data-value="14.29" class="pct low">14.29%</td>
|
|
96
|
+
<td data-value="14" class="abs low">2/14</td>
|
|
97
97
|
<td data-value="0" class="pct low">0%</td>
|
|
98
|
-
<td data-value="
|
|
98
|
+
<td data-value="12" class="abs low">0/12</td>
|
|
99
99
|
<td data-value="0" class="pct low">0%</td>
|
|
100
100
|
<td data-value="2" class="abs low">0/2</td>
|
|
101
|
-
<td data-value="
|
|
102
|
-
<td data-value="
|
|
101
|
+
<td data-value="14.29" class="pct low">14.29%</td>
|
|
102
|
+
<td data-value="14" class="abs low">2/14</td>
|
|
103
103
|
</tr>
|
|
104
104
|
|
|
105
105
|
<tr>
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
126
126
|
Code coverage generated by
|
|
127
127
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
128
|
-
at
|
|
128
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
129
129
|
</div>
|
|
130
130
|
</div>
|
|
131
131
|
<script src="../../../../prettify.js"></script>
|
|
@@ -76,7 +76,7 @@ export { IndividualDetails, PracticeDetails };
|
|
|
76
76
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
77
77
|
Code coverage generated by
|
|
78
78
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
79
|
-
at
|
|
79
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
80
80
|
</div>
|
|
81
81
|
</div>
|
|
82
82
|
<script src="../../../../prettify.js"></script>
|
|
@@ -187,7 +187,7 @@ export default CmsSwitchLink;
|
|
|
187
187
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
188
188
|
Code coverage generated by
|
|
189
189
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
190
|
-
at
|
|
190
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
191
191
|
</div>
|
|
192
192
|
</div>
|
|
193
193
|
<script src="../../../../prettify.js"></script>
|
|
@@ -226,7 +226,7 @@ export default NavItemInline;
|
|
|
226
226
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
227
227
|
Code coverage generated by
|
|
228
228
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
229
|
-
at
|
|
229
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
230
230
|
</div>
|
|
231
231
|
</div>
|
|
232
232
|
<script src="../../../../prettify.js"></script>
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">54.55% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>6/11</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">16.67% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>1/6</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">25% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>1/4</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">60% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>6/10</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -95,40 +95,26 @@
|
|
|
95
95
|
<a name='L36'></a><a href='#L36'>36</a>
|
|
96
96
|
<a name='L37'></a><a href='#L37'>37</a>
|
|
97
97
|
<a name='L38'></a><a href='#L38'>38</a>
|
|
98
|
-
<a name='L39'></a><a href='#L39'>39</a>
|
|
99
|
-
<a name='L40'></a><a href='#L40'>40</a>
|
|
100
|
-
<a name='L41'></a><a href='#L41'>41</a>
|
|
101
|
-
<a name='L42'></a><a href='#L42'>42</a>
|
|
102
|
-
<a name='L43'></a><a href='#L43'>43</a>
|
|
103
|
-
<a name='L44'></a><a href='#L44'>44</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
98
|
+
<a name='L39'></a><a href='#L39'>39</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
104
99
|
<span class="cline-any cline-neutral"> </span>
|
|
105
100
|
<span class="cline-any cline-neutral"> </span>
|
|
106
|
-
<span class="cline-any cline-
|
|
107
|
-
<span class="cline-any cline-neutral"> </span>
|
|
108
|
-
<span class="cline-any cline-yes">1x</span>
|
|
109
|
-
<span class="cline-any cline-yes">1x</span>
|
|
101
|
+
<span class="cline-any cline-yes">2x</span>
|
|
110
102
|
<span class="cline-any cline-yes">1x</span>
|
|
111
103
|
<span class="cline-any cline-neutral"> </span>
|
|
112
|
-
<span class="cline-any cline-
|
|
113
|
-
<span class="cline-any cline-neutral"> </span>
|
|
114
|
-
<span class="cline-any cline-neutral"> </span>
|
|
115
|
-
<span class="cline-any cline-neutral"> </span>
|
|
104
|
+
<span class="cline-any cline-yes">1x</span>
|
|
116
105
|
<span class="cline-any cline-no"> </span>
|
|
117
106
|
<span class="cline-any cline-no"> </span>
|
|
118
107
|
<span class="cline-any cline-neutral"> </span>
|
|
119
108
|
<span class="cline-any cline-neutral"> </span>
|
|
120
|
-
<span class="cline-any cline-neutral"> </span>
|
|
121
|
-
<span class="cline-any cline-yes">1x</span>
|
|
122
109
|
<span class="cline-any cline-yes">1x</span>
|
|
123
110
|
<span class="cline-any cline-neutral"> </span>
|
|
124
|
-
<span class="cline-any cline-yes">1x</span>
|
|
125
111
|
<span class="cline-any cline-neutral"> </span>
|
|
126
112
|
<span class="cline-any cline-neutral"> </span>
|
|
113
|
+
<span class="cline-any cline-no"> </span>
|
|
127
114
|
<span class="cline-any cline-neutral"> </span>
|
|
115
|
+
<span class="cline-any cline-no"> </span>
|
|
128
116
|
<span class="cline-any cline-neutral"> </span>
|
|
129
|
-
<span class="cline-any cline-yes">6x</span>
|
|
130
117
|
<span class="cline-any cline-neutral"> </span>
|
|
131
|
-
<span class="cline-any cline-no"> </span>
|
|
132
118
|
<span class="cline-any cline-neutral"> </span>
|
|
133
119
|
<span class="cline-any cline-neutral"> </span>
|
|
134
120
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -136,6 +122,8 @@
|
|
|
136
122
|
<span class="cline-any cline-neutral"> </span>
|
|
137
123
|
<span class="cline-any cline-neutral"> </span>
|
|
138
124
|
<span class="cline-any cline-neutral"> </span>
|
|
125
|
+
<span class="cline-any cline-yes">2x</span>
|
|
126
|
+
<span class="cline-any cline-neutral"> </span>
|
|
139
127
|
<span class="cline-any cline-neutral"> </span>
|
|
140
128
|
<span class="cline-any cline-neutral"> </span>
|
|
141
129
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -143,49 +131,46 @@
|
|
|
143
131
|
<span class="cline-any cline-neutral"> </span>
|
|
144
132
|
<span class="cline-any cline-neutral"> </span>
|
|
145
133
|
<span class="cline-any cline-neutral"> </span>
|
|
146
|
-
<span class="cline-any cline-neutral"> </span
|
|
134
|
+
<span class="cline-any cline-neutral"> </span>
|
|
135
|
+
<span class="cline-any cline-neutral"> </span>
|
|
136
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React, { useState } from 'react';
|
|
147
137
|
import PropTypes from 'prop-types';
|
|
148
138
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
super(props);
|
|
152
|
-
this._toggleActive = this.toggleActive.bind(this);
|
|
153
|
-
this.state = {
|
|
154
|
-
activeLink: null,
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
<span class="fstat-no" title="function not covered" > to</span>ggleActive(idx, disabled) {
|
|
159
|
-
<span class="cstat-no" title="statement not covered" > if (disabled || this.props.linkActiveFunc) <span class="cstat-no" title="statement not covered" >return;</span></span>
|
|
160
|
-
<span class="cstat-no" title="statement not covered" > this.setState(<span class="fstat-no" title="function not covered" >(s</span>tate) => (<span class="cstat-no" title="statement not covered" >{ activeLink: idx })</span>);</span>
|
|
161
|
-
}
|
|
139
|
+
const NavLinkContainer = ({ listOfLinks, linkActiveFunc }) => {
|
|
140
|
+
const [activeLink, setActiveLink] = useState(null);
|
|
162
141
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
142
|
+
const toggleActive = <span class="fstat-no" title="function not covered" >(i</span>dx, disabled) => {
|
|
143
|
+
<span class="cstat-no" title="statement not covered" > if (disabled || linkActiveFunc) <span class="cstat-no" title="statement not covered" >return;</span></span>
|
|
144
|
+
<span class="cstat-no" title="statement not covered" > setActiveLink(idx);</span>
|
|
145
|
+
};
|
|
166
146
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}
|
|
183
|
-
}
|
|
147
|
+
return (
|
|
148
|
+
<nav>
|
|
149
|
+
<ul>
|
|
150
|
+
{(listOfLinks || <span class="branch-1 cbranch-no" title="branch not covered" >[])</span>.map(<span class="fstat-no" title="function not covered" >(l</span>ink, idx) => (
|
|
151
|
+
<span class="cstat-no" title="statement not covered" > <li</span>
|
|
152
|
+
key={idx.toString()}
|
|
153
|
+
onClick={<span class="fstat-no" title="function not covered" >()</span> => <span class="cstat-no" title="statement not covered" >toggleActive(idx, link.props.disabled)}</span>
|
|
154
|
+
>
|
|
155
|
+
{React.cloneElement(link, { isActive: activeLink === idx })}
|
|
156
|
+
</li>
|
|
157
|
+
))}
|
|
158
|
+
</ul>
|
|
159
|
+
</nav>
|
|
160
|
+
);
|
|
161
|
+
};
|
|
184
162
|
|
|
185
163
|
NavLinkContainer.propTypes = {
|
|
186
164
|
listOfLinks: PropTypes.array,
|
|
187
165
|
linkActiveFunc: PropTypes.func,
|
|
188
166
|
};
|
|
167
|
+
|
|
168
|
+
NavLinkContainer.defaultProps = {
|
|
169
|
+
listOfLinks: null,
|
|
170
|
+
linkActiveFunc: null,
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
export default NavLinkContainer;
|
|
189
174
|
</pre></td></tr></table></pre>
|
|
190
175
|
|
|
191
176
|
<div class='push'></div><!-- for sticky footer -->
|
|
@@ -193,7 +178,7 @@ NavLinkContainer.propTypes = {
|
|
|
193
178
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
194
179
|
Code coverage generated by
|
|
195
180
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
196
|
-
at
|
|
181
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
197
182
|
</div>
|
|
198
183
|
</div>
|
|
199
184
|
<script src="../../../../prettify.js"></script>
|