qpp-style 9.31.3 → 9.33.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.
Files changed (116) hide show
  1. package/components/SessionDialogUI.jsx +0 -20
  2. package/components/index.js +0 -4
  3. package/coverage/clover.xml +178 -154
  4. package/coverage/coverage-final.json +10 -9
  5. package/coverage/lcov-report/index.html +48 -48
  6. package/coverage/lcov-report/react/components/Accordion/index.html +1 -1
  7. package/coverage/lcov-report/react/components/Accordion/index.jsx.html +1 -1
  8. package/coverage/lcov-report/react/components/Button/index.html +1 -1
  9. package/coverage/lcov-report/react/components/Button/index.js.html +1 -1
  10. package/coverage/lcov-report/react/components/Dropdown/index.html +1 -1
  11. package/coverage/lcov-report/react/components/Dropdown/index.js.html +1 -1
  12. package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +1 -1
  13. package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +1 -1
  14. package/coverage/lcov-report/react/components/Error/error.js.html +1 -1
  15. package/coverage/lcov-report/react/components/Error/index.html +1 -1
  16. package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +1 -1
  17. package/coverage/lcov-report/react/components/Footer/SocialLinks.jsx.html +1 -1
  18. package/coverage/lcov-report/react/components/Footer/Subscribe.jsx.html +1 -1
  19. package/coverage/lcov-report/react/components/Footer/footer.js.html +1 -1
  20. package/coverage/lcov-report/react/components/Footer/index.html +1 -1
  21. package/coverage/lcov-report/react/components/GovBanner/index.html +1 -1
  22. package/coverage/lcov-report/react/components/GovBanner/index.js.html +1 -1
  23. package/coverage/lcov-report/react/components/Header/HeaderAccountMenu.jsx.html +1 -1
  24. package/coverage/lcov-report/react/components/Header/HeaderCancel.jsx.html +1 -1
  25. package/coverage/lcov-report/react/components/Header/HeaderContainer.jsx.html +1 -1
  26. package/coverage/lcov-report/react/components/Header/HeaderLogo.jsx.html +1 -1
  27. package/coverage/lcov-report/react/components/Header/HeaderMenuButton.js.html +1 -1
  28. package/coverage/lcov-report/react/components/Header/HeaderMenuItem.jsx.html +1 -1
  29. package/coverage/lcov-report/react/components/Header/HeaderMenuLink.js.html +1 -1
  30. package/coverage/lcov-report/react/components/Header/HeaderMenuSignOutButton.js.html +1 -1
  31. package/coverage/lcov-report/react/components/Header/HeaderMobileButton.js.html +1 -1
  32. package/coverage/lcov-report/react/components/Header/HeaderUI.jsx.html +1 -1
  33. package/coverage/lcov-report/react/components/Header/HelpIcon.jsx.html +1 -1
  34. package/coverage/lcov-report/react/components/Header/ImpersonatorBanner.jsx.html +1 -1
  35. package/coverage/lcov-report/react/components/Header/NavigationButtonIcon.jsx.html +1 -1
  36. package/coverage/lcov-report/react/components/Header/header.js.html +1 -1
  37. package/coverage/lcov-report/react/components/Header/hooks.js.html +1 -1
  38. package/coverage/lcov-report/react/components/Header/index.html +1 -1
  39. package/coverage/lcov-report/react/components/Header/utag-helpers.js.html +1 -1
  40. package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +1 -1
  41. package/coverage/lcov-report/react/components/Infotip/InfotipContent.jsx.html +1 -1
  42. package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +1 -1
  43. package/coverage/lcov-report/react/components/Infotip/index.html +1 -1
  44. package/coverage/lcov-report/react/components/Infotip/index.js.html +1 -1
  45. package/coverage/lcov-report/react/components/Modal/LegacyModal.jsx.html +1 -1
  46. package/coverage/lcov-report/react/components/Modal/Modal.jsx.html +7 -7
  47. package/coverage/lcov-report/react/components/Modal/index.html +1 -1
  48. package/coverage/lcov-report/react/components/Modal/index.jsx.html +3 -3
  49. package/coverage/lcov-report/react/components/NotificationBanner/CollapsedView.js.html +1 -1
  50. package/coverage/lcov-report/react/components/NotificationBanner/ExpandedView.js.html +1 -1
  51. package/coverage/lcov-report/react/components/NotificationBanner/index.html +1 -1
  52. package/coverage/lcov-report/react/components/NotificationBanner/index.js.html +1 -1
  53. package/coverage/lcov-report/react/components/SanitizedContent/index.html +1 -1
  54. package/coverage/lcov-report/react/components/SanitizedContent/index.jsx.html +1 -1
  55. package/coverage/lcov-report/react/components/SessionDialog/index.html +1 -1
  56. package/coverage/lcov-report/react/components/SessionDialog/sessionDialog.js.html +1 -1
  57. package/coverage/lcov-report/react/components/SessionDialogUI.jsx.html +30 -90
  58. package/coverage/lcov-report/react/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +1 -1
  59. package/coverage/lcov-report/react/components/SideNav/AnimationGroup/index.html +1 -1
  60. package/coverage/lcov-report/react/components/SideNav/Chart/ScoreChart.jsx.html +1 -1
  61. package/coverage/lcov-report/react/components/SideNav/Chart/index.html +1 -1
  62. package/coverage/lcov-report/react/components/SideNav/Chart/index.js.html +1 -1
  63. package/coverage/lcov-report/react/components/SideNav/Content/LevelOneContent.jsx.html +1 -1
  64. package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.html +1 -1
  65. package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.js.html +1 -1
  66. package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/utils.js.html +1 -1
  67. package/coverage/lcov-report/react/components/SideNav/Content/index.html +1 -1
  68. package/coverage/lcov-report/react/components/SideNav/Content/index.js.html +1 -1
  69. package/coverage/lcov-report/react/components/SideNav/Details/IndividualDetails.jsx.html +1 -1
  70. package/coverage/lcov-report/react/components/SideNav/Details/PracticeDetails.jsx.html +1 -1
  71. package/coverage/lcov-report/react/components/SideNav/Details/index.html +1 -1
  72. package/coverage/lcov-report/react/components/SideNav/Details/index.js.html +1 -1
  73. package/coverage/lcov-report/react/components/SideNav/Links/CmsSwitchLink.jsx.html +1 -1
  74. package/coverage/lcov-report/react/components/SideNav/Links/NavItemInline.jsx.html +1 -1
  75. package/coverage/lcov-report/react/components/SideNav/Links/NavLinkContainer.jsx.html +1 -1
  76. package/coverage/lcov-report/react/components/SideNav/Links/NavLinkDrawer.jsx.html +1 -1
  77. package/coverage/lcov-report/react/components/SideNav/Links/NavLinkInline.jsx.html +1 -1
  78. package/coverage/lcov-report/react/components/SideNav/Links/NavLinkToggle.jsx.html +1 -1
  79. package/coverage/lcov-report/react/components/SideNav/Links/index.html +1 -1
  80. package/coverage/lcov-report/react/components/SideNav/Links/index.js.html +1 -1
  81. package/coverage/lcov-report/react/components/SideNav/UI/SideNavUI.jsx.html +29 -14
  82. package/coverage/lcov-report/react/components/SideNav/UI/default-markup.js.html +1 -1
  83. package/coverage/lcov-report/react/components/SideNav/UI/index.html +15 -15
  84. package/coverage/lcov-report/react/components/SideNav/UI/index.js.html +1 -1
  85. package/coverage/lcov-report/react/components/SideNav/helpers.js.html +12 -33
  86. package/coverage/lcov-report/react/components/SideNav/index.html +19 -19
  87. package/coverage/lcov-report/react/components/SideNav/index.js.html +1 -1
  88. package/coverage/lcov-report/react/components/hooks/index.html +1 -1
  89. package/coverage/lcov-report/react/components/hooks/useGetConfig.js.html +1 -1
  90. package/coverage/lcov-report/react/components/index.html +21 -21
  91. package/coverage/lcov-report/react/index.html +1 -1
  92. package/coverage/lcov-report/react/index.js.html +1 -1
  93. package/coverage/lcov-report/react/lib/Chevron.jsx.html +1 -1
  94. package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +2 -2
  95. package/coverage/lcov-report/react/lib/index.html +1 -1
  96. package/coverage/lcov-report/react/session/index.html +46 -31
  97. package/coverage/lcov-report/react/session/index.js.html +1 -1
  98. package/coverage/lcov-report/react/session/isAuthV2.js.html +151 -0
  99. package/coverage/lcov-report/react/session/logout.js.html +8 -8
  100. package/coverage/lcov-report/react/session/refresh.js.html +69 -57
  101. package/coverage/lcov-report/react/session/ttl.js.html +43 -79
  102. package/coverage/lcov.info +354 -328
  103. package/dist/browser.js +1 -1
  104. package/dist/browser.js.map +1 -1
  105. package/dist/index.js +1 -1
  106. package/dist/index.js.map +1 -1
  107. package/dist/react/index.js +1 -1
  108. package/dist/react/index.js.map +1 -1
  109. package/package.json +1 -1
  110. package/session/isAuthV2.js +22 -0
  111. package/session/refresh.js +36 -32
  112. package/session/ttl.js +21 -33
  113. package/test/components/SessionDialogUI.test.js +19 -46
  114. package/test/session/session.test.js +5 -5
  115. package/components/CalloutBox/index.js +0 -109
  116. package/components/Card/index.js +0 -137
@@ -2,7 +2,6 @@ import React, { Component } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import cookie from 'cookie';
4
4
  import retry from 'retry';
5
- import jwtDecode from 'jwt-decode';
6
5
 
7
6
  import Modal from './Modal';
8
7
  import RefreshSession from '../session/refresh';
@@ -45,25 +44,6 @@ export default class SessionDialogUI extends Component {
45
44
  }
46
45
  }
47
46
 
48
- /**
49
- * Extracts the token exp value as a JavaScript date.
50
- * @param {Object} cookies - An object representation of the cookie store
51
- * @returns {(date|null)} The token expiration date, if found
52
- */
53
- getTokenExpiry(cookies) {
54
- let expiry = null;
55
-
56
- if (cookies.hasOwnProperty('qpp_auth_token') && cookies.qpp_auth_token) {
57
- // See https://tools.ietf.org/html/rfc7519
58
- // `exp` is a NumericDate representing "seconds since the epoch"
59
- // and it needs to be milliseconds to get a JavaScript date from it.
60
- const { exp } = jwtDecode(cookies.qpp_auth_token);
61
- expiry = new Date(exp * 1000);
62
- }
63
-
64
- return expiry;
65
- }
66
-
67
47
  checkExpiry(expiry) {
68
48
  if (expiry) {
69
49
  if (this.shouldShowDialog(expiry)) {
@@ -2,8 +2,6 @@ import Accordion from './Accordion';
2
2
  import Alert from './Alert';
3
3
  import Breadcrumb from './Breadcrumb';
4
4
  import Button, { TextButton } from './Button';
5
- import CalloutBox from './CalloutBox';
6
- import Card from './Card';
7
5
  import FlashNotification from './FlashNotification/FlashNotificationUI';
8
6
  import Footer from './Footer/FooterUI';
9
7
  import Header from './Header/HeaderUI';
@@ -106,8 +104,6 @@ export {
106
104
  Alert,
107
105
  Breadcrumb,
108
106
  Button,
109
- CalloutBox,
110
- Card,
111
107
  FlashNotification,
112
108
  Footer,
113
109
  Header,
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1689367516787" clover="3.2.0">
3
- <project timestamp="1689367516787" name="All files">
4
- <metrics statements="1155" coveredstatements="491" conditionals="644" coveredconditionals="108" methods="340" coveredmethods="78" elements="2139" coveredelements="677" complexity="0" loc="1155" ncloc="1155" packages="25" files="70" classes="70"/>
2
+ <coverage generated="1692311210610" clover="3.2.0">
3
+ <project timestamp="1692311210610" name="All files">
4
+ <metrics statements="1176" coveredstatements="481" conditionals="642" coveredconditionals="98" methods="339" coveredmethods="73" elements="2157" coveredelements="652" complexity="0" loc="1176" ncloc="1176" packages="25" files="71" classes="71"/>
5
5
  <package name="react">
6
6
  <metrics statements="6" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="0"/>
7
7
  <file name="index.js" path="/Users/rodrigomunoz/projects/qpp-style/react/index.js">
@@ -15,69 +15,64 @@
15
15
  </file>
16
16
  </package>
17
17
  <package name="react.components">
18
- <metrics statements="60" coveredstatements="47" conditionals="28" coveredconditionals="19" methods="16" coveredmethods="14"/>
18
+ <metrics statements="55" coveredstatements="44" conditionals="24" coveredconditionals="16" methods="15" coveredmethods="14"/>
19
19
  <file name="SessionDialogUI.jsx" path="/Users/rodrigomunoz/projects/qpp-style/react/components/SessionDialogUI.jsx">
20
- <metrics statements="60" coveredstatements="47" conditionals="28" coveredconditionals="19" methods="16" coveredmethods="14"/>
21
- <line num="12" count="3" type="stmt"/>
22
- <line num="20" count="19" type="stmt"/>
23
- <line num="22" count="19" type="stmt"/>
24
- <line num="23" count="19" type="stmt"/>
25
- <line num="24" count="19" type="stmt"/>
26
- <line num="25" count="19" type="stmt"/>
27
- <line num="26" count="19" type="stmt"/>
28
- <line num="27" count="19" type="stmt"/>
29
- <line num="28" count="19" type="stmt"/>
30
- <line num="29" count="19" type="stmt"/>
31
- <line num="30" count="19" type="stmt"/>
32
- <line num="31" count="19" type="stmt"/>
33
- <line num="33" count="19" type="cond" truecount="2" falsecount="0"/>
34
- <line num="34" count="8" type="stmt"/>
35
- <line num="39" count="11" type="stmt"/>
36
- <line num="44" count="11" type="stmt"/>
37
- <line num="54" count="2" type="stmt"/>
38
- <line num="56" count="2" type="cond" truecount="4" falsecount="0"/>
39
- <line num="60" count="1" type="stmt"/>
40
- <line num="61" count="1" type="stmt"/>
41
- <line num="64" count="2" type="stmt"/>
42
- <line num="68" count="0" type="cond" truecount="0" falsecount="2"/>
43
- <line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
44
- <line num="70" count="0" type="stmt"/>
45
- <line num="71" count="0" type="cond" truecount="0" falsecount="2"/>
46
- <line num="72" count="0" type="stmt"/>
47
- <line num="73" count="0" type="stmt"/>
48
- <line num="76" count="0" type="stmt"/>
49
- <line num="81" count="78" type="stmt"/>
50
- <line num="83" count="78" type="cond" truecount="4" falsecount="0"/>
51
- <line num="84" count="76" type="stmt"/>
52
- <line num="91" count="76" type="stmt"/>
53
- <line num="92" count="76" type="stmt"/>
54
- <line num="95" count="0" type="cond" truecount="0" falsecount="2"/>
55
- <line num="97" count="0" type="stmt"/>
56
- <line num="99" count="0" type="stmt"/>
57
- <line num="101" count="0" type="stmt"/>
58
- <line num="102" count="0" type="stmt"/>
59
- <line num="117" count="14" type="stmt"/>
60
- <line num="119" count="14" type="stmt"/>
61
- <line num="128" count="10" type="cond" truecount="2" falsecount="0"/>
62
- <line num="129" count="5" type="stmt"/>
63
- <line num="131" count="5" type="cond" truecount="2" falsecount="0"/>
64
- <line num="133" count="5" type="stmt"/>
65
- <line num="146" count="6" type="cond" truecount="2" falsecount="0"/>
66
- <line num="147" count="4" type="stmt"/>
67
- <line num="149" count="2" type="stmt"/>
68
- <line num="159" count="8" type="stmt"/>
20
+ <metrics statements="55" coveredstatements="44" conditionals="24" coveredconditionals="16" methods="15" coveredmethods="14"/>
21
+ <line num="11" count="3" type="stmt"/>
22
+ <line num="19" count="17" type="stmt"/>
23
+ <line num="21" count="17" type="stmt"/>
24
+ <line num="22" count="17" type="stmt"/>
25
+ <line num="23" count="17" type="stmt"/>
26
+ <line num="24" count="17" type="stmt"/>
27
+ <line num="25" count="17" type="stmt"/>
28
+ <line num="26" count="17" type="stmt"/>
29
+ <line num="27" count="17" type="stmt"/>
30
+ <line num="28" count="17" type="stmt"/>
31
+ <line num="29" count="17" type="stmt"/>
32
+ <line num="30" count="17" type="stmt"/>
33
+ <line num="32" count="17" type="cond" truecount="2" falsecount="0"/>
34
+ <line num="33" count="6" type="stmt"/>
35
+ <line num="38" count="11" type="stmt"/>
36
+ <line num="43" count="11" type="stmt"/>
37
+ <line num="48" count="76" type="cond" truecount="1" falsecount="1"/>
38
+ <line num="49" count="0" type="cond" truecount="0" falsecount="2"/>
39
+ <line num="50" count="0" type="stmt"/>
40
+ <line num="51" count="0" type="cond" truecount="0" falsecount="2"/>
41
+ <line num="52" count="0" type="stmt"/>
42
+ <line num="53" count="0" type="stmt"/>
43
+ <line num="56" count="76" type="stmt"/>
44
+ <line num="61" count="78" type="stmt"/>
45
+ <line num="63" count="78" type="cond" truecount="4" falsecount="0"/>
46
+ <line num="64" count="76" type="stmt"/>
47
+ <line num="71" count="76" type="stmt"/>
48
+ <line num="72" count="76" type="stmt"/>
49
+ <line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
50
+ <line num="77" count="0" type="stmt"/>
51
+ <line num="79" count="0" type="stmt"/>
52
+ <line num="81" count="0" type="stmt"/>
53
+ <line num="82" count="0" type="stmt"/>
54
+ <line num="97" count="14" type="stmt"/>
55
+ <line num="99" count="14" type="stmt"/>
56
+ <line num="108" count="10" type="cond" truecount="2" falsecount="0"/>
57
+ <line num="109" count="5" type="stmt"/>
58
+ <line num="111" count="5" type="cond" truecount="2" falsecount="0"/>
59
+ <line num="113" count="5" type="stmt"/>
60
+ <line num="126" count="6" type="cond" truecount="2" falsecount="0"/>
61
+ <line num="127" count="4" type="stmt"/>
62
+ <line num="129" count="2" type="stmt"/>
63
+ <line num="139" count="8" type="stmt"/>
64
+ <line num="146" count="1" type="stmt"/>
65
+ <line num="156" count="2" type="stmt"/>
69
66
  <line num="166" count="1" type="stmt"/>
70
- <line num="176" count="2" type="stmt"/>
71
- <line num="186" count="1" type="stmt"/>
72
- <line num="189" count="1" type="stmt"/>
73
- <line num="193" count="1" type="stmt"/>
74
- <line num="200" count="1" type="cond" truecount="1" falsecount="1"/>
75
- <line num="201" count="0" type="stmt"/>
76
- <line num="203" count="1" type="stmt"/>
77
- <line num="204" count="1" type="stmt"/>
78
- <line num="208" count="22" type="stmt"/>
79
- <line num="251" count="3" type="stmt"/>
80
- <line num="257" count="3" type="stmt"/>
67
+ <line num="169" count="1" type="stmt"/>
68
+ <line num="173" count="1" type="stmt"/>
69
+ <line num="180" count="1" type="cond" truecount="1" falsecount="1"/>
70
+ <line num="181" count="0" type="stmt"/>
71
+ <line num="183" count="1" type="stmt"/>
72
+ <line num="184" count="1" type="stmt"/>
73
+ <line num="188" count="20" type="stmt"/>
74
+ <line num="231" count="3" type="stmt"/>
75
+ <line num="237" count="3" type="stmt"/>
81
76
  </file>
82
77
  </package>
83
78
  <package name="react.components.Accordion">
@@ -527,12 +522,12 @@
527
522
  <file name="Modal.jsx" path="/Users/rodrigomunoz/projects/qpp-style/react/components/Modal/Modal.jsx">
528
523
  <metrics statements="14" coveredstatements="13" conditionals="19" coveredconditionals="12" methods="4" coveredmethods="3"/>
529
524
  <line num="7" count="3" type="stmt"/>
530
- <line num="17" count="44" type="stmt"/>
531
- <line num="18" count="44" type="stmt"/>
532
- <line num="19" count="44" type="stmt"/>
533
- <line num="21" count="44" type="stmt"/>
534
- <line num="22" count="38" type="stmt"/>
535
- <line num="25" count="44" type="stmt"/>
525
+ <line num="17" count="40" type="stmt"/>
526
+ <line num="18" count="40" type="stmt"/>
527
+ <line num="19" count="40" type="stmt"/>
528
+ <line num="21" count="40" type="stmt"/>
529
+ <line num="22" count="34" type="stmt"/>
530
+ <line num="25" count="40" type="stmt"/>
536
531
  <line num="35" count="1" type="cond" truecount="1" falsecount="1"/>
537
532
  <line num="39" count="0" type="stmt"/>
538
533
  <line num="41" count="1" type="stmt"/>
@@ -544,8 +539,8 @@
544
539
  <file name="index.jsx" path="/Users/rodrigomunoz/projects/qpp-style/react/components/Modal/index.jsx">
545
540
  <metrics statements="7" coveredstatements="6" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
546
541
  <line num="7" count="3" type="stmt"/>
547
- <line num="8" count="44" type="cond" truecount="1" falsecount="1"/>
548
- <line num="9" count="44" type="stmt"/>
542
+ <line num="8" count="40" type="cond" truecount="1" falsecount="1"/>
543
+ <line num="9" count="40" type="stmt"/>
549
544
  <line num="11" count="0" type="stmt"/>
550
545
  <line num="14" count="3" type="stmt"/>
551
546
  <line num="17" count="3" type="stmt"/>
@@ -658,9 +653,9 @@
658
653
  </file>
659
654
  </package>
660
655
  <package name="react.components.SideNav">
661
- <metrics statements="106" coveredstatements="45" conditionals="46" coveredconditionals="6" methods="24" coveredmethods="4"/>
656
+ <metrics statements="102" coveredstatements="42" conditionals="44" coveredconditionals="5" methods="23" coveredmethods="3"/>
662
657
  <file name="helpers.js" path="/Users/rodrigomunoz/projects/qpp-style/react/components/SideNav/helpers.js">
663
- <metrics statements="102" coveredstatements="44" conditionals="45" coveredconditionals="6" methods="23" coveredmethods="4"/>
658
+ <metrics statements="98" coveredstatements="41" conditionals="43" coveredconditionals="5" methods="22" coveredmethods="3"/>
664
659
  <line num="22" count="3" type="stmt"/>
665
660
  <line num="23" count="3" type="stmt"/>
666
661
  <line num="24" count="3" type="stmt"/>
@@ -748,8 +743,8 @@
748
743
  <line num="345" count="0" type="stmt"/>
749
744
  <line num="346" count="0" type="stmt"/>
750
745
  <line num="352" count="3" type="stmt"/>
751
- <line num="354" count="2" type="stmt"/>
752
- <line num="355" count="2" type="cond" truecount="1" falsecount="1"/>
746
+ <line num="354" count="1" type="stmt"/>
747
+ <line num="355" count="1" type="cond" truecount="1" falsecount="1"/>
753
748
  <line num="358" count="1" type="cond" truecount="1" falsecount="1"/>
754
749
  <line num="359" count="1" type="stmt"/>
755
750
  <line num="363" count="0" type="stmt"/>
@@ -758,11 +753,7 @@
758
753
  <line num="369" count="0" type="stmt"/>
759
754
  <line num="373" count="0" type="stmt"/>
760
755
  <line num="376" count="0" type="stmt"/>
761
- <line num="379" count="1" type="stmt"/>
762
- <line num="380" count="1" type="cond" truecount="1" falsecount="1"/>
763
- <line num="381" count="0" type="stmt"/>
764
- <line num="383" count="1" type="stmt"/>
765
- <line num="387" count="3" type="stmt"/>
756
+ <line num="380" count="3" type="stmt"/>
766
757
  </file>
767
758
  <file name="index.js" path="/Users/rodrigomunoz/projects/qpp-style/react/components/SideNav/index.js">
768
759
  <metrics statements="4" coveredstatements="1" conditionals="1" coveredconditionals="0" methods="1" coveredmethods="0"/>
@@ -1160,61 +1151,66 @@
1160
1151
  </file>
1161
1152
  </package>
1162
1153
  <package name="react.components.SideNav.UI">
1163
- <metrics statements="53" coveredstatements="24" conditionals="42" coveredconditionals="2" methods="14" coveredmethods="5"/>
1154
+ <metrics statements="58" coveredstatements="25" conditionals="42" coveredconditionals="2" methods="16" coveredmethods="5"/>
1164
1155
  <file name="SideNavUI.jsx" path="/Users/rodrigomunoz/projects/qpp-style/react/components/SideNav/UI/SideNavUI.jsx">
1165
- <metrics statements="52" coveredstatements="23" conditionals="42" coveredconditionals="2" methods="14" coveredmethods="5"/>
1156
+ <metrics statements="57" coveredstatements="24" conditionals="42" coveredconditionals="2" methods="16" coveredmethods="5"/>
1166
1157
  <line num="21" count="2" type="stmt"/>
1158
+ <line num="29" count="1" type="stmt"/>
1167
1159
  <line num="30" count="1" type="stmt"/>
1168
- <line num="33" count="1" type="stmt"/>
1169
- <line num="35" count="1" type="stmt"/>
1170
- <line num="37" count="1" type="stmt"/>
1171
- <line num="38" count="0" type="stmt"/>
1172
- <line num="39" count="0" type="stmt"/>
1173
- <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
1160
+ <line num="32" count="1" type="stmt"/>
1161
+ <line num="34" count="1" type="stmt"/>
1162
+ <line num="35" count="0" type="stmt"/>
1163
+ <line num="37" count="0" type="stmt"/>
1164
+ <line num="40" count="1" type="stmt"/>
1174
1165
  <line num="41" count="0" type="stmt"/>
1175
- <line num="45" count="1" type="stmt"/>
1176
- <line num="46" count="0" type="stmt"/>
1177
- <line num="47" count="0" type="stmt"/>
1178
- <line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
1179
- <line num="49" count="0" type="stmt"/>
1180
- <line num="53" count="1" type="stmt"/>
1181
- <line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
1182
- <line num="57" count="1" type="stmt"/>
1166
+ <line num="42" count="0" type="stmt"/>
1167
+ <line num="43" count="0" type="stmt"/>
1168
+ <line num="44" count="0" type="cond" truecount="0" falsecount="2"/>
1169
+ <line num="45" count="0" type="stmt"/>
1170
+ <line num="49" count="1" type="stmt"/>
1171
+ <line num="50" count="0" type="stmt"/>
1172
+ <line num="51" count="0" type="stmt"/>
1173
+ <line num="52" count="0" type="stmt"/>
1174
+ <line num="53" count="0" type="cond" truecount="0" falsecount="2"/>
1175
+ <line num="54" count="0" type="stmt"/>
1183
1176
  <line num="58" count="1" type="stmt"/>
1184
- <line num="59" count="1" type="stmt"/>
1185
- <line num="60" count="1" type="stmt"/>
1177
+ <line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
1178
+ <line num="62" count="1" type="stmt"/>
1179
+ <line num="63" count="1" type="stmt"/>
1186
1180
  <line num="64" count="1" type="stmt"/>
1187
1181
  <line num="65" count="1" type="stmt"/>
1188
- <line num="66" count="0" type="stmt"/>
1189
- <line num="68" count="0" type="cond" truecount="0" falsecount="2"/>
1190
- <line num="69" count="0" type="stmt"/>
1182
+ <line num="69" count="1" type="stmt"/>
1183
+ <line num="70" count="1" type="stmt"/>
1191
1184
  <line num="71" count="0" type="stmt"/>
1192
- <line num="74" count="0" type="cond" truecount="0" falsecount="2"/>
1193
- <line num="75" count="0" type="stmt"/>
1194
- <line num="78" count="1" type="stmt"/>
1195
- <line num="79" count="1" type="stmt"/>
1196
- <line num="80" count="1" type="stmt"/>
1185
+ <line num="73" count="0" type="cond" truecount="0" falsecount="2"/>
1186
+ <line num="74" count="0" type="stmt"/>
1187
+ <line num="76" count="0" type="stmt"/>
1188
+ <line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
1189
+ <line num="80" count="0" type="stmt"/>
1190
+ <line num="83" count="1" type="stmt"/>
1197
1191
  <line num="84" count="1" type="stmt"/>
1198
- <line num="85" count="0" type="stmt"/>
1199
- <line num="86" count="0" type="cond" truecount="0" falsecount="2"/>
1200
- <line num="87" count="0" type="cond" truecount="0" falsecount="2"/>
1201
- <line num="89" count="0" type="stmt"/>
1192
+ <line num="85" count="1" type="stmt"/>
1193
+ <line num="89" count="1" type="stmt"/>
1202
1194
  <line num="90" count="0" type="stmt"/>
1203
1195
  <line num="91" count="0" type="cond" truecount="0" falsecount="2"/>
1196
+ <line num="92" count="0" type="cond" truecount="0" falsecount="2"/>
1204
1197
  <line num="94" count="0" type="stmt"/>
1205
- <line num="95" count="0" type="cond" truecount="0" falsecount="2"/>
1206
- <line num="98" count="0" type="cond" truecount="0" falsecount="2"/>
1198
+ <line num="95" count="0" type="stmt"/>
1199
+ <line num="96" count="0" type="cond" truecount="0" falsecount="2"/>
1207
1200
  <line num="99" count="0" type="stmt"/>
1208
- <line num="101" count="0" type="stmt"/>
1209
- <line num="233" count="0" type="cond" truecount="0" falsecount="2"/>
1210
- <line num="234" count="0" type="stmt"/>
1211
- <line num="246" count="0" type="stmt"/>
1212
- <line num="251" count="1" type="stmt"/>
1213
- <line num="252" count="1" type="stmt"/>
1214
- <line num="255" count="1" type="cond" truecount="1" falsecount="1"/>
1215
- <line num="268" count="1" type="stmt"/>
1216
- <line num="287" count="2" type="stmt"/>
1217
- <line num="299" count="2" type="stmt"/>
1201
+ <line num="100" count="0" type="cond" truecount="0" falsecount="2"/>
1202
+ <line num="103" count="0" type="cond" truecount="0" falsecount="2"/>
1203
+ <line num="104" count="0" type="stmt"/>
1204
+ <line num="106" count="0" type="stmt"/>
1205
+ <line num="238" count="0" type="cond" truecount="0" falsecount="2"/>
1206
+ <line num="239" count="0" type="stmt"/>
1207
+ <line num="251" count="0" type="stmt"/>
1208
+ <line num="256" count="1" type="stmt"/>
1209
+ <line num="257" count="1" type="stmt"/>
1210
+ <line num="260" count="1" type="cond" truecount="1" falsecount="1"/>
1211
+ <line num="273" count="1" type="stmt"/>
1212
+ <line num="292" count="2" type="stmt"/>
1213
+ <line num="304" count="2" type="stmt"/>
1218
1214
  </file>
1219
1215
  <file name="default-markup.js" path="/Users/rodrigomunoz/projects/qpp-style/react/components/SideNav/UI/default-markup.js">
1220
1216
  <metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -1328,7 +1324,7 @@
1328
1324
  <line num="410" count="5" type="stmt"/>
1329
1325
  <line num="411" count="0" type="stmt"/>
1330
1326
  <line num="418" count="5" type="stmt"/>
1331
- <line num="419" count="11" type="stmt"/>
1327
+ <line num="419" count="9" type="stmt"/>
1332
1328
  <line num="430" count="5" type="stmt"/>
1333
1329
  <line num="431" count="0" type="stmt"/>
1334
1330
  <line num="436" count="5" type="stmt"/>
@@ -1379,10 +1375,27 @@
1379
1375
  </file>
1380
1376
  </package>
1381
1377
  <package name="react.session">
1382
- <metrics statements="49" coveredstatements="38" conditionals="25" coveredconditionals="11" methods="14" coveredmethods="10"/>
1378
+ <metrics statements="74" coveredstatements="33" conditionals="29" coveredconditionals="5" methods="13" coveredmethods="6"/>
1383
1379
  <file name="index.js" path="/Users/rodrigomunoz/projects/qpp-style/react/session/index.js">
1384
1380
  <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
1385
1381
  </file>
1382
+ <file name="isAuthV2.js" path="/Users/rodrigomunoz/projects/qpp-style/react/session/isAuthV2.js">
1383
+ <metrics statements="14" coveredstatements="6" conditionals="4" coveredconditionals="1" methods="2" coveredmethods="1"/>
1384
+ <line num="1" count="4" type="stmt"/>
1385
+ <line num="4" count="76" type="stmt"/>
1386
+ <line num="5" count="76" type="cond" truecount="1" falsecount="1"/>
1387
+ <line num="6" count="0" type="stmt"/>
1388
+ <line num="8" count="76" type="stmt"/>
1389
+ <line num="9" count="76" type="stmt"/>
1390
+ <line num="10" count="0" type="cond" truecount="0" falsecount="2"/>
1391
+ <line num="11" count="0" type="stmt"/>
1392
+ <line num="12" count="0" type="stmt"/>
1393
+ <line num="13" count="0" type="stmt"/>
1394
+ <line num="15" count="0" type="stmt"/>
1395
+ <line num="16" count="0" type="stmt"/>
1396
+ <line num="18" count="0" type="stmt"/>
1397
+ <line num="20" count="76" type="stmt"/>
1398
+ </file>
1386
1399
  <file name="logout.js" path="/Users/rodrigomunoz/projects/qpp-style/react/session/logout.js">
1387
1400
  <metrics statements="27" coveredstatements="17" conditionals="12" coveredconditionals="3" methods="7" coveredmethods="4"/>
1388
1401
  <line num="4" count="4" type="stmt"/>
@@ -1399,47 +1412,58 @@
1399
1412
  <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
1400
1413
  <line num="29" count="0" type="stmt"/>
1401
1414
  <line num="40" count="4" type="stmt"/>
1402
- <line num="42" count="5" type="stmt"/>
1403
- <line num="44" count="5" type="stmt"/>
1404
- <line num="45" count="5" type="stmt"/>
1405
- <line num="47" count="5" type="cond" truecount="1" falsecount="1"/>
1406
- <line num="48" count="5" type="stmt"/>
1415
+ <line num="42" count="3" type="stmt"/>
1416
+ <line num="44" count="3" type="stmt"/>
1417
+ <line num="45" count="3" type="stmt"/>
1418
+ <line num="47" count="3" type="cond" truecount="1" falsecount="1"/>
1419
+ <line num="48" count="3" type="stmt"/>
1407
1420
  <line num="50" count="1" type="stmt"/>
1408
1421
  <line num="51" count="1" type="stmt"/>
1409
- <line num="54" count="5" type="stmt"/>
1422
+ <line num="54" count="3" type="stmt"/>
1410
1423
  <line num="56" count="2" type="stmt"/>
1411
1424
  <line num="57" count="2" type="stmt"/>
1412
- <line num="60" count="5" type="stmt"/>
1425
+ <line num="60" count="3" type="stmt"/>
1413
1426
  <line num="70" count="0" type="stmt"/>
1414
1427
  <line num="73" count="0" type="stmt"/>
1415
1428
  </file>
1416
1429
  <file name="refresh.js" path="/Users/rodrigomunoz/projects/qpp-style/react/session/refresh.js">
1417
- <metrics statements="13" coveredstatements="12" conditionals="7" coveredconditionals="3" methods="4" coveredmethods="3"/>
1430
+ <metrics statements="20" coveredstatements="1" conditionals="9" coveredconditionals="0" methods="3" coveredmethods="0"/>
1418
1431
  <line num="13" count="4" type="cond" truecount="0" falsecount="1"/>
1419
- <line num="14" count="3" type="stmt"/>
1420
- <line num="16" count="3" type="cond" truecount="1" falsecount="1"/>
1421
- <line num="17" count="3" type="stmt"/>
1422
- <line num="27" count="3" type="stmt"/>
1423
- <line num="28" count="1" type="cond" truecount="1" falsecount="1"/>
1424
- <line num="29" count="1" type="stmt"/>
1425
- <line num="33" count="3" type="stmt"/>
1426
- <line num="34" count="2" type="cond" truecount="1" falsecount="1"/>
1427
- <line num="35" count="2" type="stmt"/>
1428
- <line num="38" count="2" type="stmt"/>
1429
- <line num="41" count="3" type="stmt"/>
1430
- <line num="44" count="0" type="stmt"/>
1432
+ <line num="14" count="0" type="stmt"/>
1433
+ <line num="15" count="0" type="stmt"/>
1434
+ <line num="16" count="0" type="cond" truecount="0" falsecount="2"/>
1435
+ <line num="17" count="0" type="stmt"/>
1436
+ <line num="18" count="0" type="stmt"/>
1437
+ <line num="23" count="0" type="stmt"/>
1438
+ <line num="28" count="0" type="stmt"/>
1439
+ <line num="29" count="0" type="cond" truecount="0" falsecount="2"/>
1440
+ <line num="30" count="0" type="stmt"/>
1441
+ <line num="34" count="0" type="stmt"/>
1442
+ <line num="35" count="0" type="cond" truecount="0" falsecount="2"/>
1443
+ <line num="36" count="0" type="stmt"/>
1444
+ <line num="39" count="0" type="stmt"/>
1445
+ <line num="42" count="0" type="stmt"/>
1446
+ <line num="43" count="0" type="stmt"/>
1447
+ <line num="44" count="0" type="cond" truecount="0" falsecount="2"/>
1448
+ <line num="45" count="0" type="stmt"/>
1449
+ <line num="47" count="0" type="stmt"/>
1450
+ <line num="49" count="0" type="stmt"/>
1431
1451
  </file>
1432
1452
  <file name="ttl.js" path="/Users/rodrigomunoz/projects/qpp-style/react/session/ttl.js">
1433
- <metrics statements="9" coveredstatements="9" conditionals="6" coveredconditionals="5" methods="3" coveredmethods="3"/>
1453
+ <metrics statements="13" coveredstatements="9" conditionals="4" coveredconditionals="1" methods="1" coveredmethods="1"/>
1434
1454
  <line num="3" count="4" type="stmt"/>
1435
- <line num="4" count="79" type="stmt"/>
1436
- <line num="14" count="3" type="stmt"/>
1437
- <line num="19" count="79" type="stmt"/>
1438
- <line num="22" count="2" type="cond" truecount="3" falsecount="1"/>
1439
- <line num="23" count="2" type="cond" truecount="2" falsecount="0"/>
1440
- <line num="24" count="1" type="stmt"/>
1441
- <line num="29" count="1" type="stmt"/>
1442
- <line num="33" count="2" type="stmt"/>
1455
+ <line num="4" count="76" type="stmt"/>
1456
+ <line num="5" count="76" type="stmt"/>
1457
+ <line num="6" count="76" type="cond" truecount="1" falsecount="1"/>
1458
+ <line num="7" count="76" type="stmt"/>
1459
+ <line num="12" count="76" type="stmt"/>
1460
+ <line num="13" count="76" type="stmt"/>
1461
+ <line num="14" count="76" type="stmt"/>
1462
+ <line num="15" count="0" type="cond" truecount="0" falsecount="2"/>
1463
+ <line num="16" count="0" type="stmt"/>
1464
+ <line num="17" count="0" type="stmt"/>
1465
+ <line num="19" count="0" type="stmt"/>
1466
+ <line num="21" count="76" type="stmt"/>
1443
1467
  </file>
1444
1468
  </package>
1445
1469
  </project>