qpp-style 2.1.13 → 2.2.0-sm.0
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/.babelrc +10 -0
- package/.editorconfig +22 -0
- package/.eslintignore +5 -0
- package/.eslintrc.js +32 -0
- package/.husky/pre-commit +5 -0
- package/.prettierrc +1 -0
- package/README.md +50 -55
- package/components/Accordion/index.jsx +97 -0
- package/components/Alert/index.js +53 -0
- package/components/Breadcrumb/Breadcrumb.md +28 -0
- package/components/Breadcrumb/index.js +83 -0
- package/components/Button/index.js +90 -0
- package/components/Details/DetailsIcons.js +50 -0
- package/components/Details/index.js +53 -0
- package/components/Dropdown/index.js +85 -0
- package/components/DropdownButton/Menu.js +25 -0
- package/components/DropdownButton/MenuButton.js +41 -0
- package/components/DropdownButton/MenuItem.js +25 -0
- package/components/DropdownButton/MenuItemLink.js +27 -0
- package/components/Error/Collapsible.jsx +88 -0
- package/components/Error/ErrorUI.jsx +31 -0
- package/components/Error/error.js +26 -0
- package/components/FlashNotification/FlashNotificationUI.jsx +91 -0
- package/components/FlashNotification/index.js +30 -0
- package/components/Footer/FooterUI.jsx +210 -0
- package/components/Footer/SocialLinks.jsx +60 -0
- package/components/Footer/Subscribe.jsx +34 -0
- package/components/Footer/footer.js +20 -0
- package/components/GovBanner/index.js +117 -0
- package/components/Header/Header.md +111 -0
- package/components/Header/HeaderAccountMenu.jsx +94 -0
- package/components/Header/HeaderCancel.jsx +16 -0
- package/components/Header/HeaderContainer.jsx +76 -0
- package/components/Header/HeaderLogo.jsx +60 -0
- package/components/Header/HeaderMenuButton.js +50 -0
- package/components/Header/HeaderMenuItem.jsx +239 -0
- package/components/Header/HeaderMenuLink.js +56 -0
- package/components/Header/HeaderMenuSignOutButton.js +62 -0
- package/components/Header/HeaderMobileButton.js +37 -0
- package/components/Header/HeaderUI.jsx +168 -0
- package/components/Header/HelpIcon.jsx +32 -0
- package/components/Header/ImpersonatorBanner.jsx +81 -0
- package/components/Header/NavigationButtonIcon.jsx +27 -0
- package/components/Header/default-content.json +280 -0
- package/components/Header/header.js +40 -0
- package/components/Header/hooks.js +66 -0
- package/components/Header/utag-helpers.js +9 -0
- package/components/Infotip/Infotip.jsx +71 -0
- package/components/Infotip/InfotipContent.jsx +46 -0
- package/components/Infotip/InfotipIcon.jsx +41 -0
- package/components/Infotip/index.js +3 -0
- package/components/Link/index.js +61 -0
- package/components/Modal/LegacyModal.jsx +72 -0
- package/components/Modal/Modal.jsx +140 -0
- package/components/Modal/index.jsx +22 -0
- package/components/NotificationBanner/CollapsedView.js +39 -0
- package/components/NotificationBanner/ExpandedView.js +45 -0
- package/components/NotificationBanner/index.js +221 -0
- package/components/SanitizedContent/index.jsx +223 -0
- package/components/Search/index.js +98 -0
- package/components/Session/Session.jsx +89 -0
- package/components/Session/SessionDialogWrapped.jsx +12 -0
- package/components/Session/index.jsx +3 -0
- package/components/SideNav/AnimationGroup/AnimationGroup.jsx +27 -0
- package/components/SideNav/Content/LevelOneContent.jsx +49 -0
- package/components/SideNav/Content/SelectRole/index.js +78 -0
- package/components/SideNav/Content/SelectRole/utils.js +149 -0
- package/components/SideNav/Content/index.js +3 -0
- package/components/SideNav/Details/IndividualDetails.jsx +18 -0
- package/components/SideNav/Details/PracticeDetails.jsx +51 -0
- package/components/SideNav/Details/index.js +4 -0
- package/components/SideNav/Links/CmsSwitchLink.jsx +41 -0
- package/components/SideNav/Links/NavItemInline.jsx +54 -0
- package/components/SideNav/Links/NavLinkContainer.jsx +38 -0
- package/components/SideNav/Links/NavLinkDrawer.jsx +295 -0
- package/components/SideNav/Links/NavLinkInline.jsx +110 -0
- package/components/SideNav/Links/NavLinkToggle.jsx +34 -0
- package/components/SideNav/Links/index.js +13 -0
- package/components/SideNav/SideNav.md +50 -0
- package/components/SideNav/UI/SideNavUI.jsx +323 -0
- package/components/SideNav/UI/default-markup.js +4 -0
- package/components/SideNav/UI/index.js +3 -0
- package/components/SideNav/UI/utils.js +0 -0
- package/components/SideNav/helpers.js +399 -0
- package/components/SideNav/index.js +29 -0
- package/components/Tabs/TabPanel.js +5 -0
- package/components/Tabs/Tabs.js +73 -0
- package/components/TextInput/index.js +137 -0
- package/components/hooks/useGetConfig.js +75 -0
- package/components/index.js +122 -0
- package/coverage/clover.xml +1324 -0
- package/coverage/coverage-final.json +71 -0
- package/coverage/lcov-report/Tooltip.jsx.html +232 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/components/Accordion/index.html +116 -0
- package/coverage/lcov-report/components/Accordion/index.jsx.html +364 -0
- package/coverage/lcov-report/components/Button/index.html +116 -0
- package/coverage/lcov-report/components/Button/index.js.html +355 -0
- package/coverage/lcov-report/components/Error/Collapsible.jsx.html +349 -0
- package/coverage/lcov-report/components/Error/ErrorUI.jsx.html +178 -0
- package/coverage/lcov-report/components/Error/index.html +131 -0
- package/coverage/lcov-report/components/Footer/FooterUI.jsx.html +706 -0
- package/coverage/lcov-report/components/Footer/SocialLinks.jsx.html +265 -0
- package/coverage/lcov-report/components/Footer/Subscribe.jsx.html +187 -0
- package/coverage/lcov-report/components/Footer/index.html +146 -0
- package/coverage/lcov-report/components/GovBanner/index.html +116 -0
- package/coverage/lcov-report/components/GovBanner/index.js.html +436 -0
- package/coverage/lcov-report/components/Header/HeaderAccountMenu.jsx.html +367 -0
- package/coverage/lcov-report/components/Header/HeaderCancel.jsx.html +133 -0
- package/coverage/lcov-report/components/Header/HeaderContainer.jsx.html +307 -0
- package/coverage/lcov-report/components/Header/HeaderLogo.jsx.html +211 -0
- package/coverage/lcov-report/components/Header/HeaderMenuButton.js.html +235 -0
- package/coverage/lcov-report/components/Header/HeaderMenuItem.jsx.html +802 -0
- package/coverage/lcov-report/components/Header/HeaderMenuLink.js.html +253 -0
- package/coverage/lcov-report/components/Header/HeaderMenuSignOutButton.js.html +271 -0
- package/coverage/lcov-report/components/Header/HeaderMobileButton.js.html +196 -0
- package/coverage/lcov-report/components/Header/HeaderUI.jsx.html +586 -0
- package/coverage/lcov-report/components/Header/HelpIcon.jsx.html +181 -0
- package/coverage/lcov-report/components/Header/ImpersonatorBanner.jsx.html +328 -0
- package/coverage/lcov-report/components/Header/NavigationButtonIcon.jsx.html +166 -0
- package/coverage/lcov-report/components/Header/hooks.js.html +283 -0
- package/coverage/lcov-report/components/Header/index.html +326 -0
- package/coverage/lcov-report/components/Header/utag-helpers.js.html +112 -0
- package/coverage/lcov-report/components/Infotip/Infotip.jsx.html +310 -0
- package/coverage/lcov-report/components/Infotip/InfotipIcon.jsx.html +208 -0
- package/coverage/lcov-report/components/Infotip/index.html +146 -0
- package/coverage/lcov-report/components/Infotip/index.js.html +94 -0
- package/coverage/lcov-report/components/Modal/LegacyModal.jsx.html +301 -0
- package/coverage/lcov-report/components/Modal/Modal.jsx.html +505 -0
- package/coverage/lcov-report/components/Modal/index.html +146 -0
- package/coverage/lcov-report/components/Modal/index.jsx.html +151 -0
- package/coverage/lcov-report/components/NotificationBanner/CollapsedView.js.html +202 -0
- package/coverage/lcov-report/components/NotificationBanner/ExpandedView.js.html +220 -0
- package/coverage/lcov-report/components/NotificationBanner/index.html +146 -0
- package/coverage/lcov-report/components/NotificationBanner/index.js.html +748 -0
- package/coverage/lcov-report/components/SanitizedContent/index.html +116 -0
- package/coverage/lcov-report/components/SanitizedContent/index.jsx.html +685 -0
- package/coverage/lcov-report/components/SessionDialogUI.jsx.html +868 -0
- package/coverage/lcov-report/components/SideNav/Content/SelectRole/index.html +116 -0
- package/coverage/lcov-report/components/SideNav/Content/SelectRole/utils.js.html +505 -0
- package/coverage/lcov-report/components/SideNav/helpers.js.html +1138 -0
- package/coverage/lcov-report/components/SideNav/index.html +116 -0
- package/coverage/lcov-report/components/Tooltip/Tooltip.jsx.html +349 -0
- package/coverage/lcov-report/components/Tooltip/index.html +146 -0
- package/coverage/lcov-report/components/Tooltip/index.js.html +94 -0
- package/coverage/lcov-report/components/Tooltip/position.js.html +289 -0
- package/coverage/lcov-report/components/hooks/index.html +116 -0
- package/coverage/lcov-report/components/hooks/useGetConfig.js.html +310 -0
- package/coverage/lcov-report/components/index.html +116 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +476 -0
- package/coverage/lcov-report/index.js.html +94 -0
- package/coverage/lcov-report/lib/Chevron.jsx.html +181 -0
- package/coverage/lcov-report/lib/SvgComponents.jsx.html +2200 -0
- package/coverage/lcov-report/lib/index.html +131 -0
- package/coverage/lcov-report/position.js.html +289 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/react/components/Accordion/index.html +116 -0
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +376 -0
- package/coverage/lcov-report/react/components/Button/index.html +116 -0
- package/coverage/lcov-report/react/components/Button/index.js.html +355 -0
- package/coverage/lcov-report/react/components/Dropdown/index.html +116 -0
- package/coverage/lcov-report/react/components/Dropdown/index.js.html +340 -0
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +349 -0
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +178 -0
- package/coverage/lcov-report/react/components/Error/error.js.html +163 -0
- package/coverage/lcov-report/react/components/Error/index.html +146 -0
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +718 -0
- package/coverage/lcov-report/react/components/Footer/SocialLinks.jsx.html +265 -0
- package/coverage/lcov-report/react/components/Footer/Subscribe.jsx.html +187 -0
- package/coverage/lcov-report/react/components/Footer/footer.js.html +145 -0
- package/coverage/lcov-report/react/components/Footer/index.html +161 -0
- package/coverage/lcov-report/react/components/GovBanner/index.html +116 -0
- package/coverage/lcov-report/react/components/GovBanner/index.js.html +436 -0
- package/coverage/lcov-report/react/components/Header/HeaderAccountMenu.jsx.html +367 -0
- package/coverage/lcov-report/react/components/Header/HeaderCancel.jsx.html +133 -0
- package/coverage/lcov-report/react/components/Header/HeaderContainer.jsx.html +307 -0
- package/coverage/lcov-report/react/components/Header/HeaderLogo.jsx.html +211 -0
- package/coverage/lcov-report/react/components/Header/HeaderMenuButton.js.html +235 -0
- package/coverage/lcov-report/react/components/Header/HeaderMenuItem.jsx.html +802 -0
- package/coverage/lcov-report/react/components/Header/HeaderMenuLink.js.html +253 -0
- package/coverage/lcov-report/react/components/Header/HeaderMenuSignOutButton.js.html +271 -0
- package/coverage/lcov-report/react/components/Header/HeaderMobileButton.js.html +196 -0
- package/coverage/lcov-report/react/components/Header/HeaderUI.jsx.html +586 -0
- package/coverage/lcov-report/react/components/Header/HelpIcon.jsx.html +181 -0
- package/coverage/lcov-report/react/components/Header/ImpersonatorBanner.jsx.html +334 -0
- package/coverage/lcov-report/react/components/Header/NavigationButtonIcon.jsx.html +166 -0
- package/coverage/lcov-report/react/components/Header/header.js.html +205 -0
- package/coverage/lcov-report/react/components/Header/hooks.js.html +283 -0
- package/coverage/lcov-report/react/components/Header/index.html +341 -0
- package/coverage/lcov-report/react/components/Header/utag-helpers.js.html +112 -0
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +298 -0
- package/coverage/lcov-report/react/components/Infotip/InfotipContent.jsx.html +223 -0
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +208 -0
- package/coverage/lcov-report/react/components/Infotip/index.html +161 -0
- package/coverage/lcov-report/react/components/Infotip/index.js.html +94 -0
- package/coverage/lcov-report/react/components/Modal/LegacyModal.jsx.html +301 -0
- package/coverage/lcov-report/react/components/Modal/Modal.jsx.html +505 -0
- package/coverage/lcov-report/react/components/Modal/index.html +146 -0
- package/coverage/lcov-report/react/components/Modal/index.jsx.html +151 -0
- package/coverage/lcov-report/react/components/NotificationBanner/CollapsedView.js.html +202 -0
- package/coverage/lcov-report/react/components/NotificationBanner/ExpandedView.js.html +220 -0
- package/coverage/lcov-report/react/components/NotificationBanner/index.html +146 -0
- package/coverage/lcov-report/react/components/NotificationBanner/index.js.html +748 -0
- package/coverage/lcov-report/react/components/SanitizedContent/index.html +116 -0
- package/coverage/lcov-report/react/components/SanitizedContent/index.jsx.html +754 -0
- package/coverage/lcov-report/react/components/SessionDialog/index.html +116 -0
- package/coverage/lcov-report/react/components/SessionDialog/sessionDialog.js.html +163 -0
- package/coverage/lcov-report/react/components/SessionDialogUI.jsx.html +868 -0
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +166 -0
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/index.html +116 -0
- package/coverage/lcov-report/react/components/SideNav/Chart/ScoreChart.jsx.html +889 -0
- package/coverage/lcov-report/react/components/SideNav/Chart/index.html +131 -0
- package/coverage/lcov-report/react/components/SideNav/Chart/index.js.html +94 -0
- package/coverage/lcov-report/react/components/SideNav/Content/LevelOneContent.jsx.html +199 -0
- package/coverage/lcov-report/react/components/SideNav/Content/LevelTwoContent.jsx.html +733 -0
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.html +131 -0
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.js.html +214 -0
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/utils.js.html +139 -0
- package/coverage/lcov-report/react/components/SideNav/Content/index.html +131 -0
- package/coverage/lcov-report/react/components/SideNav/Content/index.js.html +94 -0
- package/coverage/lcov-report/react/components/SideNav/Details/IndividualDetails.jsx.html +139 -0
- package/coverage/lcov-report/react/components/SideNav/Details/PracticeDetails.jsx.html +220 -0
- package/coverage/lcov-report/react/components/SideNav/Details/index.html +146 -0
- package/coverage/lcov-report/react/components/SideNav/Details/index.js.html +97 -0
- package/coverage/lcov-report/react/components/SideNav/Links/CmsSwitchLink.jsx.html +208 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavItemInline.jsx.html +247 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkContainer.jsx.html +199 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkDrawer.jsx.html +970 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkInline.jsx.html +415 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkToggle.jsx.html +187 -0
- package/coverage/lcov-report/react/components/SideNav/Links/index.html +206 -0
- package/coverage/lcov-report/react/components/SideNav/Links/index.js.html +124 -0
- package/coverage/lcov-report/react/components/SideNav/UI/SideNavUI.jsx.html +1060 -0
- package/coverage/lcov-report/react/components/SideNav/UI/default-markup.js.html +97 -0
- package/coverage/lcov-report/react/components/SideNav/UI/index.html +146 -0
- package/coverage/lcov-report/react/components/SideNav/UI/index.js.html +94 -0
- package/coverage/lcov-report/react/components/SideNav/helpers.js.html +361 -0
- package/coverage/lcov-report/react/components/SideNav/index.html +131 -0
- package/coverage/lcov-report/react/components/SideNav/index.js.html +238 -0
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +232 -0
- package/coverage/lcov-report/react/components/Tooltip/index.html +146 -0
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +94 -0
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +289 -0
- package/coverage/lcov-report/react/components/hooks/index.html +116 -0
- package/coverage/lcov-report/react/components/hooks/useGetConfig.js.html +310 -0
- package/coverage/lcov-report/react/components/index.html +116 -0
- package/coverage/lcov-report/react/index.html +116 -0
- package/coverage/lcov-report/react/index.js.html +178 -0
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +181 -0
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +2200 -0
- package/coverage/lcov-report/react/lib/index.html +131 -0
- package/coverage/lcov-report/react/lib/svg-definitions.svg.html +460 -0
- package/coverage/lcov-report/react/session/index.html +161 -0
- package/coverage/lcov-report/react/session/index.js.html +100 -0
- package/coverage/lcov-report/react/session/logout.js.html +283 -0
- package/coverage/lcov-report/react/session/refresh.js.html +232 -0
- package/coverage/lcov-report/react/session/ttl.js.html +196 -0
- package/coverage/lcov-report/session/index.html +161 -0
- package/coverage/lcov-report/session/index.js.html +100 -0
- package/coverage/lcov-report/session/logout.js.html +307 -0
- package/coverage/lcov-report/session/refresh.js.html +232 -0
- package/coverage/lcov-report/session/ttl.js.html +196 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov.info +2883 -0
- package/dist/browser.js +3 -53
- package/dist/browser.js.LICENSE.txt +31 -0
- package/dist/browser.js.map +1 -0
- package/dist/index.js +3 -53
- package/dist/index.js.LICENSE.txt +31 -0
- package/dist/index.js.map +1 -0
- package/dist/react/index.js +3 -0
- package/dist/react/index.js.LICENSE.txt +54 -0
- package/dist/react/index.js.map +1 -0
- package/fonts/PublicSans-Black.ttf +0 -0
- package/fonts/PublicSans-BlackItalic.ttf +0 -0
- package/fonts/PublicSans-Bold.ttf +0 -0
- package/fonts/PublicSans-BoldItalic.ttf +0 -0
- package/fonts/PublicSans-ExtraBold.ttf +0 -0
- package/fonts/PublicSans-ExtraBoldItalic.ttf +0 -0
- package/fonts/PublicSans-ExtraLight.ttf +0 -0
- package/fonts/PublicSans-ExtraLightItalic.ttf +0 -0
- package/fonts/PublicSans-Italic.ttf +0 -0
- package/fonts/PublicSans-Light.ttf +0 -0
- package/fonts/PublicSans-LightItalic.ttf +0 -0
- package/fonts/PublicSans-Medium.ttf +0 -0
- package/fonts/PublicSans-MediumItalic.ttf +0 -0
- package/fonts/PublicSans-Regular.ttf +0 -0
- package/fonts/PublicSans-SemiBold.ttf +0 -0
- package/fonts/PublicSans-SemiBoldItalic.ttf +0 -0
- package/fonts/PublicSans-Thin.ttf +0 -0
- package/fonts/PublicSans-ThinItalic.ttf +0 -0
- package/images/favicon/manifest.json +3 -3
- package/images/hhs-logo-black.svg +10 -0
- package/images/icon-dot-gov.svg +1 -0
- package/images/icon-https.svg +1 -0
- package/images/icons/close-x.svg +6 -0
- package/images/icons/svg/arrow-down.svg +3 -0
- package/images/icons/svg/arrow-download.svg +1 -0
- package/images/icons/svg/arrow-right.svg +1 -0
- package/images/icons/svg/arrow-up.svg +3 -0
- package/images/icons/svg/block.svg +5 -0
- package/images/icons/svg/calendar.svg +1 -0
- package/images/icons/svg/check-circle.svg +5 -0
- package/images/icons/svg/checkmark.svg +7 -0
- package/images/icons/svg/chevron-down.svg +11 -0
- package/images/icons/svg/chevron-left.svg +12 -0
- package/images/icons/svg/chevron-right.svg +12 -0
- package/images/icons/svg/chevron-up.svg +12 -0
- package/images/icons/svg/clipboard.svg +1 -0
- package/images/icons/svg/close.svg +1 -0
- package/images/icons/svg/divide.svg +13 -0
- package/images/icons/svg/doctors-and-clinicians-preview.svg +10 -0
- package/images/icons/svg/download.svg +1 -0
- package/images/icons/svg/dropdown-arrow.svg +1 -0
- package/images/icons/svg/equals.svg +13 -0
- package/images/icons/svg/exclamation.svg +10 -0
- package/images/icons/svg/external.svg +1 -0
- package/images/icons/svg/file-download.svg +1 -0
- package/images/icons/svg/file-upload.svg +1 -0
- package/images/icons/svg/info.svg +17 -0
- package/images/icons/svg/manage-user-access.svg +8 -0
- package/images/icons/svg/multiply.svg +12 -0
- package/images/icons/svg/performance-feedback.svg +1 -0
- package/images/icons/svg/plus.svg +12 -0
- package/images/icons/svg/preview.svg +15 -0
- package/images/icons/svg/print.svg +1 -0
- package/images/icons/svg/registration.svg +8 -0
- package/images/icons/svg/reporting.svg +15 -0
- package/images/icons/svg/save-disk.svg +5 -0
- package/images/icons/svg/search.svg +1 -0
- package/images/icons/svg/subtract.svg +15 -0
- package/images/icons/svg/targeted-review.svg +15 -0
- package/images/icons/svg/tooltip-question.svg +1 -0
- package/images/icons/svg/trash.svg +1 -0
- package/images/icons/svg/upload.svg +1 -0
- package/images/us_flag_small.png +0 -0
- package/index.js +31 -0
- package/jest/mediaFileTransformer.js +9 -0
- package/jest.config.js +188 -0
- package/lib/Chevron.jsx +32 -0
- package/lib/SvgComponents.jsx +705 -0
- package/lib/svg-definitions.svg +125 -0
- package/package.json +70 -55
- package/{js/session → session}/index.js +1 -5
- package/session/isAuthV2.js +22 -0
- package/session/logout.js +77 -0
- package/session/refresh.js +52 -0
- package/session/ttl.js +25 -0
- package/storybook-static/229.630347465201d1822126.manager.bundle.js +1 -0
- package/storybook-static/295.aa3c5122636a27ad7c7b.manager.bundle.js +1 -0
- package/storybook-static/468.d976c69e47003b4dcfa3.manager.bundle.js +2 -0
- package/storybook-static/468.d976c69e47003b4dcfa3.manager.bundle.js.LICENSE.txt +94 -0
- package/storybook-static/51.fc4b02f2a75c894ae64e.manager.bundle.js +2 -0
- package/storybook-static/51.fc4b02f2a75c894ae64e.manager.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/551.45aead073703cc6fb12b.manager.bundle.js +1 -0
- package/storybook-static/807.1a7f4dcf15e4696572ca.manager.bundle.js +2 -0
- package/storybook-static/807.1a7f4dcf15e4696572ca.manager.bundle.js.LICENSE.txt +31 -0
- package/storybook-static/897.9b5fee8cc7074607c812.manager.bundle.js +2 -0
- package/storybook-static/897.9b5fee8cc7074607c812.manager.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/935.532759f0652585685af7.manager.bundle.js +1 -0
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/index.html +59 -0
- package/storybook-static/main.ad4edcd27d527a119d7a.manager.bundle.js +1 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/runtime~main.b165398bf7ef3e30d431.manager.bundle.js +1 -0
- package/styles/_global.scss +81 -59
- package/styles/_main.scss +11 -3
- package/styles/_paths.scss +1 -1
- package/styles/_qpp-style.scss +7 -4
- package/styles/components/_accordion.scss +273 -149
- package/styles/components/_alerts.scss +5 -7
- package/styles/components/_autocomplete.scss +47 -0
- package/styles/components/_breadcrumbs.scss +18 -17
- package/styles/components/_buttons.scss +536 -384
- package/styles/components/_error-page.scss +56 -0
- package/styles/components/_flash-notification.scss +98 -0
- package/styles/components/_fonts.scss +12 -13
- package/styles/components/_forms.scss +144 -70
- package/styles/components/_grid.scss +26 -20
- package/styles/components/_info-modal.scss +52 -27
- package/styles/components/_links.scss +4 -3
- package/styles/components/_modals.scss +10 -9
- package/styles/components/_notification-banner.scss +166 -0
- package/styles/components/_panels.scss +23 -21
- package/styles/components/_pie-chart.scss +3 -3
- package/styles/components/_score-chart.scss +135 -105
- package/styles/components/_spinner.scss +7 -0
- package/styles/components/_tables.scss +96 -72
- package/styles/components/_tabs.scss +69 -0
- package/styles/components/_text.scss +114 -48
- package/styles/components/_tooltip.scss +23 -0
- package/styles/components/_variables.scss +84 -58
- package/styles/components/_wells.scss +39 -29
- package/styles/qppds/README.md +0 -0
- package/styles/qppds/base/_backgrounds.scss +7 -0
- package/styles/qppds/base/_fonts.scss +50 -0
- package/styles/qppds/base/_icon.scss +31 -0
- package/styles/qppds/base/_layout.scss +5 -0
- package/styles/qppds/base/_typography.scss +97 -0
- package/styles/qppds/base/index.scss +8 -0
- package/styles/qppds/components/_alert.scss +101 -0
- package/styles/qppds/components/_breadcrumbs.scss +93 -0
- package/styles/qppds/components/_button.scss +306 -0
- package/styles/qppds/components/_card.scss +176 -0
- package/styles/qppds/components/_checkbox.scss +201 -0
- package/styles/qppds/components/_circular-loader.scss +47 -0
- package/styles/qppds/components/_details.scss +91 -0
- package/styles/qppds/components/_dropdown-menu.scss +126 -0
- package/styles/qppds/components/_dropdown.scss +56 -0
- package/styles/qppds/components/_footer.scss +606 -0
- package/styles/qppds/components/_gov-banner.scss +342 -0
- package/styles/qppds/components/_header.scss +913 -0
- package/styles/qppds/components/_link.scss +54 -0
- package/styles/qppds/components/_modal.scss +153 -0
- package/styles/qppds/components/_page-header.scss +105 -0
- package/styles/qppds/components/_pagination.scss +230 -0
- package/styles/qppds/components/_process-list.scss +106 -0
- package/styles/qppds/components/_radio-button.scss +185 -0
- package/styles/qppds/components/_search.scss +163 -0
- package/styles/qppds/components/_sidebar.scss +10 -0
- package/styles/qppds/components/_step-indicator.scss +193 -0
- package/styles/qppds/components/_table.scss +159 -0
- package/styles/qppds/components/_tabs.scss +199 -0
- package/styles/qppds/components/_text-input.scss +60 -0
- package/styles/qppds/components/index.scss +25 -0
- package/styles/qppds/components/sidebar/_animations.scss +38 -0
- package/styles/{components → qppds/components}/sidebar/_cms.scss +19 -6
- package/styles/{components → qppds/components}/sidebar/_details.scss +28 -21
- package/styles/qppds/components/sidebar/_links.scss +462 -0
- package/styles/qppds/components/sidebar/_select-role-dropdown.scss +21 -0
- package/styles/qppds/components/sidebar/_sidebar-animation.scss +117 -0
- package/styles/qppds/components/sidebar/_sidebar-tooltip.scss +33 -0
- package/styles/qppds/components/sidebar/_sidebar.scss +145 -0
- package/styles/qppds/components/sidebar/project-specific/_wi.scss +42 -0
- package/styles/qppds/index.scss +4 -0
- package/styles/qppds/settings/_functions.scss +6 -0
- package/styles/qppds/settings/_index.scss +3 -0
- package/styles/qppds/settings/mixins/_borders.scss +6 -0
- package/styles/qppds/settings/mixins/_focus.scss +30 -0
- package/styles/qppds/settings/mixins/_icons.scss +43 -0
- package/styles/qppds/settings/mixins/_index.scss +8 -0
- package/styles/qppds/settings/mixins/_layout.scss +74 -0
- package/styles/qppds/settings/mixins/_lists.scss +12 -0
- package/styles/qppds/settings/mixins/_table.scss +92 -0
- package/styles/qppds/settings/mixins/_type.scss +90 -0
- package/styles/qppds/settings/mixins/_visually-hidden.scss +30 -0
- package/styles/qppds/settings/variables/_color.scss +86 -0
- package/styles/qppds/settings/variables/_index.scss +4 -0
- package/styles/qppds/settings/variables/_layout.scss +69 -0
- package/styles/qppds/settings/variables/_type.scss +135 -0
- package/styles/qppds/settings/variables/_z-index.scss +8 -0
- package/styles/qppds/utilities/_background-color.scss +134 -0
- package/styles/qppds/utilities/_color.scss +40 -0
- package/styles/qppds/utilities/_display-visibility.scss +84 -0
- package/styles/qppds/utilities/_flexbox.scss +240 -0
- package/styles/qppds/utilities/_font-family.scss +10 -0
- package/styles/qppds/utilities/_font-size.scss +8 -0
- package/styles/qppds/utilities/_font-weight.scss +10 -0
- package/styles/qppds/utilities/_gap.scss +38 -0
- package/styles/qppds/utilities/_height.scss +81 -0
- package/styles/qppds/utilities/_list-style.scss +17 -0
- package/styles/qppds/utilities/_margin.scss +136 -0
- package/styles/qppds/utilities/_padding.scss +76 -0
- package/styles/qppds/utilities/_position.scss +24 -0
- package/styles/qppds/utilities/_text-align.scss +40 -0
- package/styles/qppds/utilities/_text-transform.scss +7 -0
- package/styles/qppds/utilities/_truncate.scss +8 -0
- package/styles/qppds/utilities/_vertical-align.scss +72 -0
- package/styles/qppds/utilities/_width.scss +82 -0
- package/styles/qppds/utilities/index.scss +17 -0
- package/styles/qppds.scss +2 -0
- package/styles/third-party/_legacy-bootstrap.scss +19 -0
- package/styles/third-party/legacy-bootstrap/_buttons.scss +126 -0
- package/styles/third-party/legacy-bootstrap/_dropdowns.scss +211 -0
- package/styles/third-party/legacy-bootstrap/_forms.scss +510 -0
- package/styles/third-party/legacy-bootstrap/_grid.scss +73 -0
- package/styles/third-party/legacy-bootstrap/_mixins.scss +27 -0
- package/styles/third-party/legacy-bootstrap/_navbar.scss +644 -0
- package/styles/third-party/legacy-bootstrap/_navs.scss +193 -0
- package/styles/third-party/legacy-bootstrap/_normalize.scss +385 -0
- package/styles/third-party/legacy-bootstrap/_scaffolding.scss +116 -0
- package/styles/third-party/legacy-bootstrap/_variables.scss +858 -0
- package/styles/third-party/legacy-bootstrap/mixins/_buttons.scss +70 -0
- package/styles/third-party/legacy-bootstrap/mixins/_clearfix.scss +22 -0
- package/styles/third-party/legacy-bootstrap/mixins/_forms.scss +108 -0
- package/styles/third-party/legacy-bootstrap/mixins/_grid-framework.scss +86 -0
- package/styles/third-party/legacy-bootstrap/mixins/_grid.scss +112 -0
- package/styles/third-party/legacy-bootstrap/mixins/_labels.scss +12 -0
- package/styles/third-party/legacy-bootstrap/mixins/_nav-divider.scss +10 -0
- package/styles/third-party/legacy-bootstrap/mixins/_nav-vertical-align.scss +9 -0
- package/styles/third-party/legacy-bootstrap/mixins/_opacity.scss +7 -0
- package/styles/third-party/legacy-bootstrap/mixins/_panels.scss +30 -0
- package/styles/third-party/legacy-bootstrap/mixins/_reset-filter.scss +7 -0
- package/styles/third-party/legacy-bootstrap/mixins/_reset-text.scss +18 -0
- package/styles/third-party/legacy-bootstrap/mixins/_resize.scss +6 -0
- package/styles/third-party/legacy-bootstrap/mixins/_responsive-visibility.scss +25 -0
- package/styles/third-party/legacy-bootstrap/mixins/_size.scss +10 -0
- package/styles/third-party/legacy-bootstrap/mixins/_tab-focus.scss +9 -0
- package/styles/third-party/legacy-bootstrap/mixins/_table-row.scss +28 -0
- package/styles/third-party/legacy-bootstrap/mixins/_text-emphasis.scss +12 -0
- package/styles/third-party/legacy-bootstrap/mixins/_text-overflow.scss +8 -0
- package/styles/third-party/legacy-bootstrap/mixins/_vendor-prefixes.scss +182 -0
- package/styles/utility/_mixins.scss +12 -11
- package/styles/utility/_utilities.scss +12 -1
- package/svgo.config.js +14 -0
- package/test/components/Accordion.test.js +12 -0
- package/test/components/ErrorUI.test.js +33 -0
- package/test/components/FooterUI.test.js +60 -0
- package/test/components/HeaderUI.test.js +35 -0
- package/test/components/Infotip.test.js +79 -0
- package/test/components/SideNavUI.test.js +23 -0
- package/test/index.test.js +8 -0
- package/test/session/session.test.js +221 -0
- package/test-setup.js +1 -0
- package/webpack.config.js +137 -0
- package/webpack.config.react.js +75 -0
- package/Dockerfile +0 -27
- package/Jenkinsfile +0 -22
- package/_config.dev.yml +0 -17
- package/_layouts/base.html +0 -42
- package/css/main.scss +0 -5
- package/dist/default.css +0 -2
- package/dist/default.css.map +0 -1
- package/dist/fonts/FontAwesome.otf +0 -0
- package/dist/fonts/Rubik-Bold.ttf +0 -0
- package/dist/fonts/Rubik-Light.ttf +0 -0
- package/dist/fonts/Rubik-Medium.ttf +0 -0
- package/dist/fonts/Rubik-Regular.ttf +0 -0
- package/dist/fonts/fontawesome-webfont.eot +0 -0
- package/dist/fonts/fontawesome-webfont.ttf +0 -0
- package/dist/fonts/fontawesome-webfont.woff +0 -0
- package/dist/fonts/fontawesome-webfont.woff2 +0 -0
- package/dist/report.html +0 -25
- package/js/components/Error/Collapsible.jsx +0 -35
- package/js/components/Error/ErrorUI.jsx +0 -24
- package/js/components/Error/error.js +0 -11
- package/js/components/Footer/FooterUI.jsx +0 -39
- package/js/components/Footer/footer.js +0 -17
- package/js/components/Header/HeaderAbout.jsx +0 -27
- package/js/components/Header/HeaderAccountMenu.jsx +0 -147
- package/js/components/Header/HeaderApms.jsx +0 -25
- package/js/components/Header/HeaderMips.jsx +0 -43
- package/js/components/Header/HeaderUI.jsx +0 -87
- package/js/components/Header/header.js +0 -16
- package/js/components/InfoModal/index.jsx +0 -64
- package/js/components/SessionDialogUI.jsx +0 -199
- package/js/components/SideNav/Chart/ScoreChart.jsx +0 -246
- package/js/components/SideNav/Chart/__tests__/ScoreChart.test.js +0 -28
- package/js/components/SideNav/Chart/__tests__/__snapshots__/ScoreChart.test.js.snap +0 -57
- package/js/components/SideNav/Chart/index.js +0 -1
- package/js/components/SideNav/Content/CmsContent.jsx +0 -85
- package/js/components/SideNav/Content/FeedbackContent.jsx +0 -76
- package/js/components/SideNav/Content/LevelOneContent.jsx +0 -64
- package/js/components/SideNav/Content/LevelThreeContent.jsx +0 -99
- package/js/components/SideNav/Content/LevelTwoContent.jsx +0 -89
- package/js/components/SideNav/Content/index.js +0 -5
- package/js/components/SideNav/Details/IndividualDetails.jsx +0 -35
- package/js/components/SideNav/Details/PracticeDetails.jsx +0 -33
- package/js/components/SideNav/Details/index.js +0 -2
- package/js/components/SideNav/Links/CmsReportLink.jsx +0 -117
- package/js/components/SideNav/Links/NavLinkBack.jsx +0 -8
- package/js/components/SideNav/Links/NavLinkContainer.jsx +0 -33
- package/js/components/SideNav/Links/NavLinkDrawer.jsx +0 -86
- package/js/components/SideNav/Links/NavLinkInline.jsx +0 -22
- package/js/components/SideNav/Links/NavLinkSlideOut.jsx +0 -47
- package/js/components/SideNav/Links/NavLinkToggle.jsx +0 -25
- package/js/components/SideNav/Links/index.js +0 -7
- package/js/components/SideNav/UI/SideNavUI.jsx +0 -115
- package/js/components/SideNav/UI/index.js +0 -1
- package/js/components/SideNav/index.js +0 -25
- package/js/components/index.js +0 -11
- package/js/index.js +0 -28
- package/js/session/logout.js +0 -43
- package/js/session/refresh.js +0 -47
- package/js/session/ttl.js +0 -32
- package/sidebar-demo.html +0 -48
- package/styles/components/_footer.scss +0 -157
- package/styles/components/_header.scss +0 -393
- package/styles/components/_sidebar.scss +0 -6
- package/styles/components/_tool-tips.scss +0 -6
- package/styles/components/sidebar/_animations.scss +0 -16
- package/styles/components/sidebar/_links.scss +0 -284
- package/styles/components/sidebar/_sidebar.scss +0 -108
- package/styles/guide/_layout.scss +0 -120
- package/styles/guide/sidebar-demo.css +0 -121
- package/yarn.lock +0 -5694
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import cookie from 'cookie';
|
|
3
|
-
import jwtDecode from 'jwt-decode';
|
|
4
|
-
import { NavLinkContainer, NavLinkInline } from '../Links';
|
|
5
|
-
|
|
6
|
-
const LevelOneContent = ({
|
|
7
|
-
isExpanded,
|
|
8
|
-
showManageAccountLink,
|
|
9
|
-
config: {
|
|
10
|
-
levelTwoActive = true
|
|
11
|
-
} = {}
|
|
12
|
-
}) => {
|
|
13
|
-
let name = '';
|
|
14
|
-
let cookies = cookie.parse(document.cookie);
|
|
15
|
-
if (cookies.hasOwnProperty('qpp_auth_token')) {
|
|
16
|
-
const { data } = jwtDecode(cookies.qpp_auth_token);
|
|
17
|
-
name = `${data.firstName} ${data.lastName}`;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const linkClass = isExpanded ? "link-inline" : "link-collapsed";
|
|
21
|
-
const listOfLinks = [
|
|
22
|
-
<NavLinkInline
|
|
23
|
-
icon="dashboard"
|
|
24
|
-
className={linkClass}
|
|
25
|
-
url="/user/dashboard"
|
|
26
|
-
label="Account Dashboard"
|
|
27
|
-
showLabel={isExpanded} />
|
|
28
|
-
];
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
if (levelTwoActive) {
|
|
32
|
-
listOfLinks.push(
|
|
33
|
-
<NavLinkInline icon="account-settings"
|
|
34
|
-
className={linkClass}
|
|
35
|
-
url="/user/settings"
|
|
36
|
-
label="Account Settings"
|
|
37
|
-
showLabel={isExpanded} />,
|
|
38
|
-
);
|
|
39
|
-
if (showManageAccountLink) {
|
|
40
|
-
listOfLinks.push(
|
|
41
|
-
<NavLinkInline icon="manage-users"
|
|
42
|
-
className={linkClass}
|
|
43
|
-
url="/user/manage-access"
|
|
44
|
-
label="Manage User Access"
|
|
45
|
-
showLabel={isExpanded} />,
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
listOfLinks.push(
|
|
49
|
-
<NavLinkInline icon="help-support"
|
|
50
|
-
className={linkClass}
|
|
51
|
-
url="/about/help-and-support"
|
|
52
|
-
label="Help and Support"
|
|
53
|
-
showLabel={isExpanded} />
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
return (
|
|
57
|
-
<div className="sidebar-content">
|
|
58
|
-
{isExpanded && <h1 className="label">{name}</h1>}
|
|
59
|
-
<NavLinkContainer listOfLinks={listOfLinks} />
|
|
60
|
-
</div>
|
|
61
|
-
);
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
export default LevelOneContent;
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { NavLinkContainer, NavLinkBack, NavLinkDrawer } from '../Links';
|
|
3
|
-
import { PracticeDetails, IndividualDetails } from '../Details';
|
|
4
|
-
import { ScoreChart } from '../Chart';
|
|
5
|
-
|
|
6
|
-
const LevelThreeContent = ({
|
|
7
|
-
isExpanded,
|
|
8
|
-
chartData,
|
|
9
|
-
config: {
|
|
10
|
-
chartActive = true,
|
|
11
|
-
openDrawersByDefault,
|
|
12
|
-
updateTime,
|
|
13
|
-
practiceId,
|
|
14
|
-
practiceName,
|
|
15
|
-
practiceTin,
|
|
16
|
-
individualName,
|
|
17
|
-
individualNpi,
|
|
18
|
-
submissionId,
|
|
19
|
-
listOfPractices,
|
|
20
|
-
listOfOrganizations
|
|
21
|
-
} = {}
|
|
22
|
-
}) => {
|
|
23
|
-
const linkClass = isExpanded ? "link-inline" : "link-collapsed";
|
|
24
|
-
|
|
25
|
-
return (
|
|
26
|
-
<div className="sidebar-content alt-style">
|
|
27
|
-
{isExpanded &&
|
|
28
|
-
<div>
|
|
29
|
-
{practiceName && practiceTin &&
|
|
30
|
-
<div className="alt-style-header">
|
|
31
|
-
<NavLinkBack
|
|
32
|
-
icon="chevron-left"
|
|
33
|
-
url={`/user/dashboard/practice/${practiceId}/individual`}
|
|
34
|
-
label="Connected Clinicians"
|
|
35
|
-
showLabel={isExpanded} />
|
|
36
|
-
<hr />
|
|
37
|
-
<PracticeDetails
|
|
38
|
-
isLevelThree
|
|
39
|
-
practiceName={practiceName}
|
|
40
|
-
practiceTin={practiceTin}
|
|
41
|
-
listOfPractices={listOfPractices}
|
|
42
|
-
listOfOrganizations={listOfOrganizations}
|
|
43
|
-
/>
|
|
44
|
-
</div>
|
|
45
|
-
}
|
|
46
|
-
{individualName && individualNpi &&
|
|
47
|
-
<div>
|
|
48
|
-
<IndividualDetails
|
|
49
|
-
individualName={individualName}
|
|
50
|
-
individualNpi={individualNpi}
|
|
51
|
-
listOfPractices={listOfPractices}
|
|
52
|
-
listOfOrganizations={listOfOrganizations}
|
|
53
|
-
/>
|
|
54
|
-
<hr />
|
|
55
|
-
</div>
|
|
56
|
-
}
|
|
57
|
-
</div>
|
|
58
|
-
}
|
|
59
|
-
<NavLinkContainer
|
|
60
|
-
listOfLinks={[
|
|
61
|
-
<NavLinkDrawer
|
|
62
|
-
isAlwaysOpen
|
|
63
|
-
isExpanded={isExpanded}
|
|
64
|
-
openByDefault={openDrawersByDefault}
|
|
65
|
-
leftIcon="individual-reporting"
|
|
66
|
-
className={`${linkClass} freeze`}
|
|
67
|
-
label="Individual Reporting"
|
|
68
|
-
listOfLinks={[
|
|
69
|
-
{ url: `/user/submissions/${submissionId}/quality`, label: "Quality Measures" },
|
|
70
|
-
{ url: `/user/submissions/${submissionId}/aci`, label: "Advancing Care Information" },
|
|
71
|
-
{ url: `/user/submissions/${submissionId}/ia`, label: "Improvement Activities" }
|
|
72
|
-
]}
|
|
73
|
-
/>
|
|
74
|
-
]}
|
|
75
|
-
/>
|
|
76
|
-
{isExpanded && chartActive &&
|
|
77
|
-
<div>
|
|
78
|
-
<hr />
|
|
79
|
-
<div className="chart-title">
|
|
80
|
-
<p className="title">Final Individual Score</p>
|
|
81
|
-
<p className="disclaimer">
|
|
82
|
-
<svg className="left-icon" aria-hidden="true">
|
|
83
|
-
<use xlinkHref="#score-increase" />
|
|
84
|
-
</svg>
|
|
85
|
-
Score may increase
|
|
86
|
-
<svg className="right-icon" aria-hidden="true">
|
|
87
|
-
<use xlinkHref="#tooltip" />
|
|
88
|
-
</svg>
|
|
89
|
-
</p>
|
|
90
|
-
{updateTime && <p className="timestamp">Last update at {updateTime}</p>}
|
|
91
|
-
</div>
|
|
92
|
-
<ScoreChart chartData={chartData} />
|
|
93
|
-
</div>
|
|
94
|
-
}
|
|
95
|
-
</div>
|
|
96
|
-
);
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
export default LevelThreeContent;
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { NavLinkContainer, NavLinkBack, NavLinkInline, NavLinkDrawer } from '../Links';
|
|
3
|
-
import { PracticeDetails } from '../Details';
|
|
4
|
-
import { ScoreChart } from '../Chart';
|
|
5
|
-
|
|
6
|
-
const LevelTwoContent = ({
|
|
7
|
-
isExpanded,
|
|
8
|
-
chartData,
|
|
9
|
-
config: {
|
|
10
|
-
chartActive = true,
|
|
11
|
-
openDrawersByDefault,
|
|
12
|
-
updateTime,
|
|
13
|
-
practiceId,
|
|
14
|
-
practiceName,
|
|
15
|
-
practiceTin,
|
|
16
|
-
submissionId,
|
|
17
|
-
listOfPractices,
|
|
18
|
-
listOfOrganizations
|
|
19
|
-
} = {}
|
|
20
|
-
}) => {
|
|
21
|
-
const linkClass = isExpanded ? "link-inline" : "link-collapsed";
|
|
22
|
-
|
|
23
|
-
return (
|
|
24
|
-
<div className="sidebar-content">
|
|
25
|
-
{isExpanded &&
|
|
26
|
-
<div>
|
|
27
|
-
<NavLinkBack
|
|
28
|
-
icon="chevron-left"
|
|
29
|
-
url="/user/dashboard"
|
|
30
|
-
label="Account Dashboard"
|
|
31
|
-
showLabel={true} />
|
|
32
|
-
<hr />
|
|
33
|
-
<PracticeDetails
|
|
34
|
-
practiceName={practiceName}
|
|
35
|
-
practiceTin={practiceTin}
|
|
36
|
-
listOfPractices={listOfPractices}
|
|
37
|
-
listOfOrganizations={listOfOrganizations}
|
|
38
|
-
/>
|
|
39
|
-
<hr />
|
|
40
|
-
</div>
|
|
41
|
-
}
|
|
42
|
-
<NavLinkContainer
|
|
43
|
-
listOfLinks={[
|
|
44
|
-
<NavLinkInline
|
|
45
|
-
icon="clinicians"
|
|
46
|
-
className={linkClass}
|
|
47
|
-
url={`/user/dashboard/practice/${practiceId}/individual`}
|
|
48
|
-
label="Connected Clinicians"
|
|
49
|
-
showLabel={isExpanded} />,
|
|
50
|
-
<NavLinkDrawer
|
|
51
|
-
isExpanded={isExpanded}
|
|
52
|
-
openByDefault={openDrawersByDefault}
|
|
53
|
-
rightIcon="chevron-down"
|
|
54
|
-
leftIcon="group-reporting"
|
|
55
|
-
className={linkClass}
|
|
56
|
-
label="Group Reporting"
|
|
57
|
-
listOfLinks={[
|
|
58
|
-
{ url: `/user/dashboard/practice/${practiceId}/group`, label: "Group Dashboard" },
|
|
59
|
-
{ url: `/user/submissions/${submissionId}/quality`, label: "Quality Measures" },
|
|
60
|
-
{ url: `/user/submissions/${submissionId}/aci`, label: "Advancing Care Information" },
|
|
61
|
-
{ url: `/user/submissions/${submissionId}/ia`, label: "Improvement Activities" }
|
|
62
|
-
]}
|
|
63
|
-
/>
|
|
64
|
-
]}
|
|
65
|
-
/>
|
|
66
|
-
{isExpanded && chartActive &&
|
|
67
|
-
<div>
|
|
68
|
-
<hr />
|
|
69
|
-
<div className="chart-title">
|
|
70
|
-
<p className="title">Final Group Score</p>
|
|
71
|
-
<p className="disclaimer">
|
|
72
|
-
<svg className="left-icon" aria-hidden="true">
|
|
73
|
-
<use xlinkHref="#score-increase" />
|
|
74
|
-
</svg>
|
|
75
|
-
Score may increase
|
|
76
|
-
<svg className="right-icon" aria-hidden="true">
|
|
77
|
-
<use xlinkHref="#tooltip" />
|
|
78
|
-
</svg>
|
|
79
|
-
</p>
|
|
80
|
-
{updateTime && <p className="timestamp">Last update at {updateTime}</p>}
|
|
81
|
-
</div>
|
|
82
|
-
<ScoreChart chartData={chartData} />
|
|
83
|
-
</div>
|
|
84
|
-
}
|
|
85
|
-
</div>
|
|
86
|
-
);
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
export default LevelTwoContent;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default as LevelOneContent } from './LevelOneContent';
|
|
2
|
-
export { default as LevelTwoContent } from './LevelTwoContent';
|
|
3
|
-
export { default as LevelThreeContent } from './LevelThreeContent';
|
|
4
|
-
export { default as CmsContent } from './CmsContent';
|
|
5
|
-
export { default as FeedbackContent } from './FeedbackContent.jsx';
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { NavLinkSlideOut } from '../Links';
|
|
3
|
-
|
|
4
|
-
const IndividualDetails = ({
|
|
5
|
-
individualName,
|
|
6
|
-
individualNpi,
|
|
7
|
-
listOfPractices,
|
|
8
|
-
listOfOrganizations
|
|
9
|
-
}) => {
|
|
10
|
-
return (
|
|
11
|
-
<div>
|
|
12
|
-
<div className="individual-container">
|
|
13
|
-
<h3 className="individual-name">{individualName}</h3>
|
|
14
|
-
<p className="individual-npi">NPI# {individualNpi}</p>
|
|
15
|
-
{listOfPractices && listOfOrganizations &&
|
|
16
|
-
<div>
|
|
17
|
-
<a href="#" className="individual-link">Clinician details and practices</a>
|
|
18
|
-
<p className="switch-clinician">
|
|
19
|
-
<NavLinkSlideOut
|
|
20
|
-
rightIcon="switch-practice"
|
|
21
|
-
leftIcon="chevron-right"
|
|
22
|
-
url="#"
|
|
23
|
-
label="Switch Clinician"
|
|
24
|
-
listOfPractices={listOfPractices}
|
|
25
|
-
listOfOrganizations={listOfOrganizations}
|
|
26
|
-
/>
|
|
27
|
-
</p>
|
|
28
|
-
</div>
|
|
29
|
-
}
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
)
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export default IndividualDetails;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { NavLinkSlideOut } from '../Links';
|
|
3
|
-
|
|
4
|
-
const PracticeDetails = ({
|
|
5
|
-
isLevelThree,
|
|
6
|
-
practiceName,
|
|
7
|
-
practiceTin,
|
|
8
|
-
listOfPractices,
|
|
9
|
-
listOfOrganizations
|
|
10
|
-
}) => {
|
|
11
|
-
return (
|
|
12
|
-
<div>
|
|
13
|
-
<div className="practice-container">
|
|
14
|
-
<h2 className="practice-name">{practiceName || 'No name on record'}</h2>
|
|
15
|
-
<p className="practice-tin">TIN# {practiceTin}</p>
|
|
16
|
-
{!isLevelThree && listOfPractices && listOfOrganizations &&
|
|
17
|
-
<p className="switch-practice">
|
|
18
|
-
<NavLinkSlideOut
|
|
19
|
-
rightIcon="switch-practice"
|
|
20
|
-
leftIcon="chevron-right"
|
|
21
|
-
url="#"
|
|
22
|
-
label="Switch Practice"
|
|
23
|
-
listOfPractices={listOfPractices}
|
|
24
|
-
listOfOrganizations={listOfOrganizations}
|
|
25
|
-
/>
|
|
26
|
-
</p>
|
|
27
|
-
}
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
)
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export default PracticeDetails;
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
|
|
3
|
-
export default class CmsReportLink extends Component {
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super(props);
|
|
6
|
-
this._toggleDrawer = this.toggleDrawer.bind(this);
|
|
7
|
-
this._toggleActive = this.toggleActive.bind(this);
|
|
8
|
-
this.state = {
|
|
9
|
-
isOpen: false,
|
|
10
|
-
activeLink: null
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
componentWillMount() {
|
|
15
|
-
const { isAlwaysOpen } = this.props;
|
|
16
|
-
if (isAlwaysOpen) {
|
|
17
|
-
this.setState((state) => ({isOpen: isAlwaysOpen}));
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
toggleDrawer() {
|
|
22
|
-
const { isAlwaysOpen } = this.props;
|
|
23
|
-
if (!isAlwaysOpen) {
|
|
24
|
-
this.setState((state) => ({isOpen: !state.isOpen}));
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
toggleActive(idx) {
|
|
29
|
-
this.setState((state) => ({activeLink: idx}));
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
endsWithY(value) {
|
|
33
|
-
return value.substr(-1).toLowerCase() === 'y';
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
pluralize(value, count, uppercase) {
|
|
37
|
-
const exceptions = ['Day', 'day'];
|
|
38
|
-
let newValue = value;
|
|
39
|
-
|
|
40
|
-
if (value == null) {
|
|
41
|
-
newValue = '';
|
|
42
|
-
} else if (count === 0 && this.endsWithY(value) && !exceptions.includes(value)) {
|
|
43
|
-
newValue = `${value.slice(0, -1)}ies`;
|
|
44
|
-
} else if (count > 1 && this.endsWithY(value) && !exceptions.includes(value)) {
|
|
45
|
-
newValue = `${value.slice(0, -1)}ies`;
|
|
46
|
-
} else if (count > 1 || count === 0) {
|
|
47
|
-
newValue = `${value}s`;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
if (uppercase) {
|
|
51
|
-
return `${newValue.toUpperCase()}`;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
return newValue;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
render() {
|
|
58
|
-
const {
|
|
59
|
-
isExpanded,
|
|
60
|
-
isAlwaysOpen,
|
|
61
|
-
isActive,
|
|
62
|
-
url,
|
|
63
|
-
className,
|
|
64
|
-
rightIcon,
|
|
65
|
-
leftIcon,
|
|
66
|
-
label,
|
|
67
|
-
disabled,
|
|
68
|
-
days,
|
|
69
|
-
measures,
|
|
70
|
-
isTrialPeriod,
|
|
71
|
-
trialPeriodEnd,
|
|
72
|
-
} = this.props;
|
|
73
|
-
const { isOpen } = this.state;
|
|
74
|
-
|
|
75
|
-
return (
|
|
76
|
-
<div className="link-drawer">
|
|
77
|
-
<button
|
|
78
|
-
className={!isAlwaysOpen ? `${className} ${isActive ? 'active' : ''}` : className}
|
|
79
|
-
{...!isAlwaysOpen ? { 'aria-pressed': isOpen } : {}}
|
|
80
|
-
{...disabled || isAlwaysOpen ? { 'disabled': disabled } : {}}
|
|
81
|
-
onClick={this._toggleDrawer}
|
|
82
|
-
aria-label={label}
|
|
83
|
-
>
|
|
84
|
-
<div className={isExpanded ? "link-body" : "left-body collapsed"}>
|
|
85
|
-
<svg className="left-icon" aria-hidden="true" focusable="false">
|
|
86
|
-
<use xlinkHref={`#${leftIcon}`} />
|
|
87
|
-
</svg>
|
|
88
|
-
{isExpanded && <span>{label}</span>}
|
|
89
|
-
</div>
|
|
90
|
-
{(isExpanded && !isAlwaysOpen) &&
|
|
91
|
-
<svg className={`${isOpen && !disabled ? 'right-icon rotated' : 'right-icon'}`}
|
|
92
|
-
aria-hidden="true"
|
|
93
|
-
focusable="false"
|
|
94
|
-
>
|
|
95
|
-
<use xlinkHref={`#${rightIcon}`}/>
|
|
96
|
-
</svg>
|
|
97
|
-
}
|
|
98
|
-
</button>
|
|
99
|
-
{isExpanded &&
|
|
100
|
-
<div className={`${isOpen && !disabled ? 'drawer open' : 'drawer'}`} aria-hidden={!isOpen}>
|
|
101
|
-
<div className="cms-content">
|
|
102
|
-
{isTrialPeriod ? (
|
|
103
|
-
<p className="trial-period completed">You can test your data through <span>{trialPeriodEnd}</span></p>
|
|
104
|
-
) : (
|
|
105
|
-
<div>
|
|
106
|
-
<p className="due-date">Due in <span>{days}</span> {this.pluralize('day', days)}</p>
|
|
107
|
-
<p className="completed"><span>{measures}</span> {this.pluralize('measure', measures)} complete</p>
|
|
108
|
-
</div>
|
|
109
|
-
)}
|
|
110
|
-
<a className="button" href={url} data-track-category='SidebarNav' data-track-action={`GoTo${(isTrialPeriod ? 'Test Data' : 'Report Data').split(' ').join('')}`} data-track-label={isTrialPeriod ? 'Test Data' : 'Report Data'}>{isTrialPeriod ? 'Test Data' : 'Report Data'}</a>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
}
|
|
114
|
-
</div>
|
|
115
|
-
)
|
|
116
|
-
}
|
|
117
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import NavLinkInline from './NavLinkInline';
|
|
3
|
-
|
|
4
|
-
const NavLinkBack = ({icon, url, label, showLabel}) => {
|
|
5
|
-
return (<NavLinkInline icon={icon} className="link-back" url={url} label={label} showLabel={showLabel} />)
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export default NavLinkBack;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React, { Component, cloneElement } from 'react';
|
|
2
|
-
|
|
3
|
-
export default class NavLinkContainer extends Component {
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super(props);
|
|
6
|
-
this._toggleActive = this.toggleActive.bind(this);
|
|
7
|
-
this.state = {
|
|
8
|
-
activeLink: null
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
toggleActive(idx) {
|
|
13
|
-
this.setState((state) => ({activeLink: idx}));
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
render() {
|
|
17
|
-
const { activeLink } = this.state;
|
|
18
|
-
const { listOfLinks } = this.props;
|
|
19
|
-
|
|
20
|
-
return (
|
|
21
|
-
<nav>
|
|
22
|
-
<ul>
|
|
23
|
-
{listOfLinks && listOfLinks.map((link, idx) =>
|
|
24
|
-
<li role="none"
|
|
25
|
-
onClick={() => this._toggleActive(idx)}>
|
|
26
|
-
{cloneElement(link, { isActive: activeLink === idx })}
|
|
27
|
-
</li>
|
|
28
|
-
)}
|
|
29
|
-
</ul>
|
|
30
|
-
</nav>
|
|
31
|
-
)
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
|
|
3
|
-
export default class NavLinkDrawer extends Component {
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super(props);
|
|
6
|
-
this._toggleDrawer = this.toggleDrawer.bind(this);
|
|
7
|
-
this._isLinkActive = this.isLinkActive.bind(this);
|
|
8
|
-
this.state = {
|
|
9
|
-
isOpen: !!props.openByDefault
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
componentWillMount() {
|
|
14
|
-
const { isAlwaysOpen } = this.props;
|
|
15
|
-
if (isAlwaysOpen) {
|
|
16
|
-
this.setState((state) => ({isOpen: isAlwaysOpen}));
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
toggleDrawer() {
|
|
21
|
-
const { isAlwaysOpen } = this.props;
|
|
22
|
-
if (!isAlwaysOpen) {
|
|
23
|
-
this.setState((state) => ({isOpen: !state.isOpen}));
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
isLinkActive(link, func) {
|
|
28
|
-
if (typeof func === 'function') {
|
|
29
|
-
return func(link);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
return window.location.href.includes(link.url);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
render() {
|
|
36
|
-
const { isExpanded, isAlwaysOpen, className, rightIcon, leftIcon, label, disabled, isActive, listOfLinks, linkActiveFunc } = this.props;
|
|
37
|
-
const { isOpen } = this.state;
|
|
38
|
-
|
|
39
|
-
// Classes for the link drawer button
|
|
40
|
-
const currentPage = listOfLinks.some((link) => this._isLinkActive(link, linkActiveFunc));
|
|
41
|
-
const expandedClass = currentPage ? 'expanded' : '';
|
|
42
|
-
|
|
43
|
-
return (
|
|
44
|
-
<div className="link-drawer">
|
|
45
|
-
<button
|
|
46
|
-
className={`${className} ${expandedClass}`}
|
|
47
|
-
{...!isAlwaysOpen ? { 'aria-pressed': isOpen } : {}}
|
|
48
|
-
{...disabled || isAlwaysOpen ? { 'disabled': disabled } : {}}
|
|
49
|
-
onClick={this._toggleDrawer}
|
|
50
|
-
aria-label={label}
|
|
51
|
-
>
|
|
52
|
-
<div className={isExpanded ? "link-body" : "left-body collapsed"}>
|
|
53
|
-
<svg className="left-icon" aria-hidden="true" focusable="false">
|
|
54
|
-
<use xlinkHref={`#${leftIcon}`} />
|
|
55
|
-
</svg>
|
|
56
|
-
{isExpanded && <span>{label}</span>}
|
|
57
|
-
</div>
|
|
58
|
-
{(isExpanded && !isAlwaysOpen) &&
|
|
59
|
-
<svg className={`${isOpen && !disabled ? 'right-icon rotated' : 'right-icon'}`}
|
|
60
|
-
aria-hidden="true"
|
|
61
|
-
focusable="false"
|
|
62
|
-
>
|
|
63
|
-
<use xlinkHref={`#${rightIcon}`}/>
|
|
64
|
-
</svg>
|
|
65
|
-
}
|
|
66
|
-
</button>
|
|
67
|
-
{isExpanded &&
|
|
68
|
-
<div className={`${currentPage ? 'currentPage' : ''} ${isOpen && !disabled ? 'drawer open' : 'drawer'}`}>
|
|
69
|
-
<ul aria-hidden={!isOpen} role="none">
|
|
70
|
-
{listOfLinks && listOfLinks.map(link =>
|
|
71
|
-
<li className={this._isLinkActive(link, linkActiveFunc) ? 'active-link' : ''} role="none">
|
|
72
|
-
<a href={link.url}
|
|
73
|
-
tabIndex={isOpen ? '0' : '-1'}
|
|
74
|
-
data-track-category='SidebarNav'
|
|
75
|
-
data-track-action={`GoTo${link.label ? link.label.split(' ').join('') : ''}`}
|
|
76
|
-
data-track-label={link.label}>{link.label}</a>
|
|
77
|
-
</li>
|
|
78
|
-
)}
|
|
79
|
-
</ul>
|
|
80
|
-
</div>
|
|
81
|
-
}
|
|
82
|
-
</div>
|
|
83
|
-
)
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
const NavLinkInline = ({url, className, icon, label, isActive, showLabel}) => {
|
|
4
|
-
const urlRegExp = new RegExp(`${url}$`);
|
|
5
|
-
const currentPage = window.location.href.match(urlRegExp);
|
|
6
|
-
return (
|
|
7
|
-
<a href={url}
|
|
8
|
-
className={`${className} ${currentPage || isActive ? 'active' : ''}`}
|
|
9
|
-
data-track-category='SidebarNav'
|
|
10
|
-
data-track-action={`GoTo${label ? label.split(' ').join('') : ''}`}
|
|
11
|
-
data-track-label={label}
|
|
12
|
-
aria-label={label}
|
|
13
|
-
>
|
|
14
|
-
<svg className="left-icon" aria-hidden="true" focusable="false">
|
|
15
|
-
<use xlinkHref={`#${icon}`} />
|
|
16
|
-
</svg>
|
|
17
|
-
{showLabel && <span tabIndex="-1">{label}</span>}
|
|
18
|
-
</a>
|
|
19
|
-
)
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export default NavLinkInline;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
|
|
3
|
-
export default class NavLinkSlideOut extends Component {
|
|
4
|
-
constructor(props) {
|
|
5
|
-
super(props);
|
|
6
|
-
this.state = {
|
|
7
|
-
isOpen: false
|
|
8
|
-
};
|
|
9
|
-
this._toggleMenu = this.toggleMenu.bind(this);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
toggleMenu(evt) {
|
|
13
|
-
evt.preventDefault();
|
|
14
|
-
this.setState(state => ({ isOpen: !state.isOpen }));
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
render() {
|
|
18
|
-
const { url, rightIcon, leftIcon, label, listOfPractices, listOfOrganizations } = this.props;
|
|
19
|
-
const { isOpen } = this.state;
|
|
20
|
-
|
|
21
|
-
return (
|
|
22
|
-
<div className="link-slide-out">
|
|
23
|
-
<a href={url} className="switcher" onClick={evt => this._toggleMenu(evt)} aria-label={label}>
|
|
24
|
-
<div className="link-body">
|
|
25
|
-
<svg className="left-icon" aria-hidden="true" focusable="false">
|
|
26
|
-
<use xlinkHref={`#${rightIcon}`} />
|
|
27
|
-
</svg>
|
|
28
|
-
<span>{label}</span>
|
|
29
|
-
</div>
|
|
30
|
-
<svg className={isOpen ? "right-icon rotated" : "right-icon"} aria-hidden="true" focusable="false">
|
|
31
|
-
<use xlinkHref={`#${leftIcon}`} />
|
|
32
|
-
</svg>
|
|
33
|
-
</a>
|
|
34
|
-
<div className={isOpen ? "switcher-content open" : "switcher-content"} aria-hidden={!isOpen}>
|
|
35
|
-
<h2 className="practices-title">Practices</h2>
|
|
36
|
-
<ul>
|
|
37
|
-
{listOfPractices && listOfPractices.map(practice => <li>{practice}</li>)}
|
|
38
|
-
</ul>
|
|
39
|
-
<h2 className="practices-title">Accountable Care Organizations</h2>
|
|
40
|
-
<ul>
|
|
41
|
-
{listOfOrganizations && listOfOrganizations.map(organization => <li>{organization}</li>)}
|
|
42
|
-
</ul>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
)
|
|
46
|
-
}
|
|
47
|
-
}
|