@copart/ops-tool-kit 1.8.1-alpha.3 → 1.8.1-alpha.5

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.
@@ -33,7 +33,7 @@ var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
33
33
  var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
34
34
 
35
35
  const name$f = "@copart/ops-tool-kit";
36
- const version$5 = "1.8.1-alpha.3";
36
+ const version$5 = "1.8.1-alpha.5";
37
37
  const main$1 = "dist/ops-tool-kit.js";
38
38
  const style = "dist/ops-tool-kit.css";
39
39
  const files = [
@@ -22163,7 +22163,7 @@ FeedbackDialog.defaultProps = {
22163
22163
  }
22164
22164
  };
22165
22165
 
22166
- var css_248z$c = ".utilities_ops-app-frame_AppBarComponent_AppBar--root {\n background-color: var(--blue);\n background-color: var(--blue);\n height: 64px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n white-space: nowrap;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--leftItems {\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogo {\n display: flex;\n align-items: center;\n flex-direction: column;\n margin-left: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogoNew {\n display: flex;\n flex-direction: column;\n margin-left: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--moduleName {\n color: white;\n font-size: 11px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n font-size: 13px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col {\n display: flex;\n color: white;\n font-size: 13px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col svg {\n color: white;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\n width: 6rem;\n margin-top: 0rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--text {\n margin-top: 0.6rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--iconText {\n margin-top: 0.4rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchBar,\n.utilities_ops-app-frame_AppBarComponent_AppBar--placeholderDiv {\n margin-top: -0.2rem;\n margin-left: 2rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--appBarLeft > img.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\n display: inline;\n display: initial;\n}\n\n@font-face {\n font-family: 'Open Sans';\n font-style: italic;\n font-weight: 600;\n src: url(https://fonts.gstatic.com/s/opensans/v18/memnYaGs126MiZpBA-UFUKXGUdhmIqOjjg.woff2)\n format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--appTitle {\n color: #fff;\n font-family: 'Open Sans', sans-serif;\n font-weight: 600;\n font-style: italic;\n font-size: 14px;\n position: relative;\n left: 16px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--item {\n display: flex;\n color: white;\n font-size: 13px;\n cursor: pointer;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\n margin-left: 10px;\n margin-right: 7px;\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\n margin-left: 7px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault {\n color: white;\n cursor: default;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\n background-color: white;\n border-radius: 20px;\n margin: 5px;\n padding: 0px 10px;\n height: 25px;\n font-weight: bold;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--light {\n border: 1px solid #1d5ab9;\n justify-content: flex-start;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightDefault {\n color: black;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline,\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\n background-color: white;\n border-radius: 20px;\n display: flex;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\n color: green;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable i {\n color: green;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline {\n color: red;\n margin: 5px 0px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline svg {\n margin-right: 5px;\n margin-left: 5px;\n width: 24px;\n height: 24px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--SpinnerWrapper {\n margin-left: 5px;\n display: inline-flex;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i {\n font-size: 16px;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i {\n line-height: unset;\n font-size: 16px;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable {\n color: green;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\n margin-right: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\n color: red;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\n margin-left: 10px !important;\n margin-right: 5px !important;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\n margin-left: 10px !important;\n margin-right: 10px !important;\n display: flex;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\n margin-left: 7px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--feedback {\n margin: 0 !important;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems {\n width: 100%;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button {\n cursor: pointer;\n position: relative;\n top: 2px;\n margin-left: 10px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button i {\n color: #fff;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetContainer {\n position: absolute;\n display: flex;\n height: 100vh;\n width: 100vw;\n bottom: 0;\n z-index: 10000;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHide {\n background-color: rgba(0,0,0,.5);\n width: 100%;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--st0{fill:#0075E6;}\n.utilities_ops-app-frame_AppBarComponent_AppBar--st1{fill:#6A819C;}\n.utilities_ops-app-frame_AppBarComponent_AppBar--st2{fill:#FFFFFF;}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHideButton {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 2px;\n right: 402px;\n height: 38px;\n width: 38px;\n background-color: white;\n z-index: 11000;\n cursor: pointer;\n}\n\n@media only screen and (max-width: 1024px) {\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\n margin-right: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\n margin-left: 5px;\n margin-right: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\n margin-left: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\n margin-left: 3px !important;\n margin-right: 3px !important;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\n margin-left: 3px !important;\n margin-right: 3px !important;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\n margin-left: 2px;\n }\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--sideBarWrapper\n{\n position: absolute;\n z-index: 10000;\n height: 100vh;\n top: 64px;\n width: 100vw;\n background-color: rgba(0,0,0,.5);\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--innerNotificationDiv\n{\n width: 50vw;\n position: absolute;\n right: 0;\n height: 90vh;\n padding: 15px;\n background-color: white;\n overflow-y: auto;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationsHeader{\n font-size: 18px;\n font-weight: 600;\n padding-bottom: 10px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationsWrapper{\n display: flex;\n flex-direction: column;\n grid-gap: 10px;\n gap: 10px;\n justify-content: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationCount{\n background-color: #ef5350;\n color: white;\n font-size: 12px;\n width: 1.25rem;\n border-radius: 50%;\n text-align: center;\n position: absolute;\n top: 2px;\n left: 8px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items.utilities_ops-app-frame_AppBarComponent_AppBar--notificationIconWrapper {\n cursor: pointer;\n margin-left: 12px;\n position: relative;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--arrowTipContainer {\n width: 0px;\n height: 0px;\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n border-bottom: 13px solid white;\n position: absolute;\n bottom: -13px;\n right: 3px;\n}\n";
22166
+ var css_248z$c = ".utilities_ops-app-frame_AppBarComponent_AppBar--root {\n background-color: var(--blue);\n background-color: var(--blue);\n height: 64px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n white-space: nowrap;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--leftItems {\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogo {\n display: flex;\n align-items: center;\n flex-direction: column;\n margin-left: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogoNew {\n display: flex;\n flex-direction: column;\n margin-left: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--moduleName {\n color: white;\n font-size: 11px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n font-size: 13px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col {\n display: flex;\n color: white;\n font-size: 13px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col svg {\n color: white;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\n width: 6rem;\n margin-top: 0rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--text {\n margin-top: 0.6rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--iconText {\n margin-top: 0.4rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchBar,\n.utilities_ops-app-frame_AppBarComponent_AppBar--placeholderDiv {\n margin-top: -0.2rem;\n margin-left: 2rem;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--appBarLeft > img.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\n display: inline;\n display: initial;\n}\n\n@font-face {\n font-family: 'Open Sans';\n font-style: italic;\n font-weight: 600;\n src: url(https://fonts.gstatic.com/s/opensans/v18/memnYaGs126MiZpBA-UFUKXGUdhmIqOjjg.woff2)\n format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--appTitle {\n color: #fff;\n font-family: 'Open Sans', sans-serif;\n font-weight: 600;\n font-style: italic;\n font-size: 14px;\n position: relative;\n left: 16px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--item {\n display: flex;\n color: white;\n font-size: 13px;\n cursor: pointer;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\n margin-left: 10px;\n margin-right: 7px;\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\n margin-left: 7px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault {\n color: white;\n cursor: default;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\n background-color: white;\n border-radius: 20px;\n margin: 5px;\n padding: 0px 10px;\n height: 25px;\n font-weight: bold;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--light {\n border: 1px solid #1d5ab9;\n justify-content: flex-start;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightDefault {\n color: black;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline,\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\n background-color: white;\n border-radius: 20px;\n display: flex;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\n color: green;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable i {\n color: green;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline {\n color: red;\n margin: 5px 0px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline svg {\n margin-right: 5px;\n margin-left: 5px;\n width: 24px;\n height: 24px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--SpinnerWrapper {\n margin-left: 5px;\n display: inline-flex;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i {\n font-size: 16px;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i {\n line-height: unset;\n font-size: 16px;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable {\n color: green;\n}\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\n margin-right: 5px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\n color: red;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\n margin-left: 10px !important;\n margin-right: 5px !important;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\n margin-left: 10px !important;\n margin-right: 10px !important;\n display: flex;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\n margin-left: 7px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--feedback {\n margin: 0 !important;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems {\n width: 100%;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button {\n cursor: pointer;\n position: relative;\n top: 2px;\n margin-left: 10px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button i {\n color: #fff;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetContainer {\n position: absolute;\n display: flex;\n height: 100vh;\n width: 100vw;\n bottom: 0;\n z-index: 10000;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHide {\n background-color: rgba(0,0,0,.5);\n width: 100%;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--st0{fill:#0075E6;}\n.utilities_ops-app-frame_AppBarComponent_AppBar--st1{fill:#6A819C;}\n.utilities_ops-app-frame_AppBarComponent_AppBar--st2{fill:#FFFFFF;}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHideButton {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 2px;\n right: 402px;\n height: 38px;\n width: 38px;\n background-color: white;\n z-index: 11000;\n cursor: pointer;\n}\n\n@media only screen and (max-width: 1024px) {\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\n margin-right: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\n margin-left: 5px;\n margin-right: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\n margin-left: 2px;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\n margin-left: 3px !important;\n margin-right: 3px !important;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\n margin-left: 3px !important;\n margin-right: 3px !important;\n }\n\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\n margin-left: 2px;\n }\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--sideBarWrapper\n{\n position: absolute;\n z-index: 10000;\n height: 100vh;\n top: 64px;\n width: 100vw;\n background-color: rgba(0,0,0,.5);\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--innerNotificationDiv\n{\n width: 50vw;\n position: absolute;\n right: 0;\n height: calc(100vh - 64px);\n padding: 15px;\n background-color: white;\n overflow-y: auto;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationsHeader{\n font-size: 18px;\n font-weight: 600;\n padding-bottom: 10px;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationsWrapper{\n display: flex;\n flex-direction: column;\n grid-gap: 5px;\n gap: 5px;\n justify-content: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--notificationCount{\n background-color: #ef5350;\n color: white;\n font-size: 12px;\n width: 1rem;\n border-radius: 50%;\n position: absolute;\n top: 2px;\n left: 8px;\n height: 1rem;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items.utilities_ops-app-frame_AppBarComponent_AppBar--notificationIconWrapper {\n cursor: pointer;\n margin-left: 12px;\n position: relative;\n}\n\n.utilities_ops-app-frame_AppBarComponent_AppBar--arrowTipContainer {\n width: 0px;\n height: 0px;\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n border-bottom: 13px solid white;\n position: absolute;\n bottom: -13px;\n right: 3px;\n}\n";
22167
22167
  styleInject(css_248z$c);
22168
22168
 
22169
22169
  var LogOutMenu = function LogOutMenu(_ref) {
@@ -24775,7 +24775,7 @@ function (_React$Component) {
24775
24775
  return SettingsView;
24776
24776
  }(React__default["default"].Component);
24777
24777
 
24778
- var css_248z$6 = ".utilities_ops-announcements_Banner--appBarContentBox {\n word-break: break-all;\n white-space: pre-wrap;\n font-weight: 600;\n}\n\n.utilities_ops-announcements_Banner--notificationBarContent {\n padding: 0px 5px;\n font-size: 13px;\n display: flex;\n grid-gap: 8px;\n gap: 8px;\n width: 90%;\n}\n\n.utilities_ops-announcements_Banner--tabNotificationInfoBox {\n display: flex;\n color: #6c7a89;\n grid-gap: 10px;\n gap: 10px;\n width: 90%;\n}\n\n.utilities_ops-announcements_Banner--notificationBarContentBox {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n overflow: hidden;\n width: 90%;\n font-weight: 600;\n /* autoprefixer: off */\n -webkit-box-orient: vertical;\n /* autoprefixer: on */\n}\n\n.utilities_ops-announcements_Banner--tabNotificationBarContentBox {\n display: -webkit-box;\n -webkit-line-clamp: 3;\n overflow: hidden;\n width: 95%;\n font-weight: 600;\n /* autoprefixer: off */\n -webkit-box-orient: vertical;\n /* autoprefixer: on */\n}\n\n.utilities_ops-announcements_Banner--notificationInfoBox {\n display: flex;\n color: #6c7a89;\n grid-gap: 6px;\n gap: 6px;\n}\n\n.utilities_ops-announcements_Banner--navBtnContainer {\n display: flex;\n flex-direction: row;\n justify-content: center;\n grid-gap: 5px;\n gap: 5px;\n font-size: 13px;\n}\n\n.utilities_ops-announcements_Banner--notificationContainer {\n display: flex;\n flex-direction: row;\n padding: 10px 10px;\n grid-gap: 5px;\n gap: 5px;\n min-height: 40px;\n width: 100%;\n}\n\n.utilities_ops-announcements_Banner--notificationContainer.utilities_ops-announcements_Banner--tabNotificationBar {\n flex-direction: column;\n}\n\n.utilities_ops-announcements_Banner--arrowTipContainer {\n width: 0px;\n height: 0px;\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n border-bottom: 13px solid white;\n position: absolute;\n top: 51px;\n right: 50px;\n}\n\n.utilities_ops-announcements_Banner--appBarContentWrapper {\n padding: 0px 5px;\n font-size: 13px;\n flex: 1 1 0%;\n display: flex;\n flex-direction: column;\n grid-gap: 4px;\n gap: 4px;\n}";
24778
+ var css_248z$6 = ".utilities_ops-announcements_Banner--appBarContentBox {\n word-break: break-all;\n white-space: pre-wrap;\n font-weight: 600;\n}\n\n.utilities_ops-announcements_Banner--notificationBarContent {\n padding: 0px 5px;\n font-size: 13px;\n /* display: flex;\n gap: 8px; */\n width: 95%;\n}\n\n.utilities_ops-announcements_Banner--tabNotificationInfoBox {\n display: flex;\n color: #6c7a89;\n grid-gap: 8px;\n gap: 8px;\n width: 90%;\n font-size: 12px;\n}\n\n.utilities_ops-announcements_Banner--tabNotificationInfoBox b{\n color: #171717;\n}\n\n.utilities_ops-announcements_Banner--notificationBarContentBox {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n overflow: hidden;\n font-weight: 600;\n /* autoprefixer: off */\n -webkit-box-orient: vertical;\n /* autoprefixer: on */\n font-size: 12px;\n color: #201F1E;\n}\n\n.utilities_ops-announcements_Banner--tabNotificationBarContentBox {\n display: -webkit-box;\n -webkit-line-clamp: 3;\n overflow: hidden;\n width: 95%;\n font-weight: 600;\n /* autoprefixer: off */\n -webkit-box-orient: vertical;\n /* autoprefixer: on */\n font-size: 12px;\n}\n\n.utilities_ops-announcements_Banner--notificationInfoBox {\n display: flex;\n color: #6c7a89;\n grid-gap: 6px;\n gap: 6px;\n font-size: 12px;\n margin-bottom: 5px;\n}\n\n.utilities_ops-announcements_Banner--notificationInfoBox b{\n color: #171717;\n}\n\n.utilities_ops-announcements_Banner--notificationInfoBox i{\n font-size: 16px !important;\n}\n\n.utilities_ops-announcements_Banner--navBtnContainer {\n display: flex;\n flex-direction: row;\n justify-content: center;\n grid-gap: 5px;\n gap: 5px;\n font-size: 12px;\n}\n\n.utilities_ops-announcements_Banner--navBtnContainer .utilities_ops-announcements_Banner--notificationLeftBtn i{\n position: relative;\n right: -4px;\n}\n\n.utilities_ops-announcements_Banner--notificationContainer {\n display: flex;\n flex-direction: row;\n padding: 10px 10px;\n grid-gap: 5px;\n gap: 5px;\n min-height: 40px;\n width: 100%;\n}\n\n.utilities_ops-announcements_Banner--notificationContainer i{\n font-size: 20px;\n}\n\n.utilities_ops-announcements_Banner--navBtnContainer i{\n font-size: 16px;\n}\n\n.utilities_ops-announcements_Banner--notificationContainer.utilities_ops-announcements_Banner--tabNotificationBar {\n flex-direction: column;\n}\n\n.utilities_ops-announcements_Banner--arrowTipContainer {\n width: 0px;\n height: 0px;\n border-left: 8px solid transparent;\n border-right: 8px solid transparent;\n border-bottom: 13px solid white;\n position: absolute;\n top: 51px;\n right: 50px;\n}\n\n.utilities_ops-announcements_Banner--appBarContentWrapper {\n padding: 0px 5px;\n font-size: 12px;\n flex: 1 1 0%;\n display: flex;\n flex-direction: column;\n grid-gap: 4px;\n gap: 4px;\n}\n\n.utilities_ops-announcements_Banner--appBarContentWrapper b{\n color: #171717;\n}";
24779
24779
  styleInject(css_248z$6);
24780
24780
 
24781
24781
  var moment = createCommonjsModule(function (module, exports) {
@@ -35509,11 +35509,9 @@ function filterOutExpiredNotifications(notifications) {
35509
35509
  return filter$1(function (_ref) {
35510
35510
  var startsAt = _ref.startsAt,
35511
35511
  endsAt = _ref.endsAt,
35512
- absStartsAt = _ref.absStartsAt,
35513
- absEndsAt = _ref.absEndsAt,
35514
35512
  timeZoneType = _ref.timeZoneType;
35515
- var startTime = timeZoneType === "RPTZ" ? absStartsAt : moment.utc(startsAt).local().format("YYYY-MM-DD HH:mm:ss");
35516
- var endTime = timeZoneType === "RPTZ" ? absEndsAt : moment.utc(endsAt).local().format("YYYY-MM-DD HH:mm:ss");
35513
+ var startTime = timeZoneType === "Recipient TimeZone" || timeZoneType === "RPTZ" ? startsAt : moment.utc(startsAt).local().format("YYYY-MM-DD HH:mm:ss");
35514
+ var endTime = timeZoneType === "Recipient TimeZone" || timeZoneType === "RPTZ" ? endsAt : moment.utc(endsAt).local().format("YYYY-MM-DD HH:mm:ss");
35517
35515
  return isOutOfRange(startTime, endTime);
35518
35516
  })(notifications);
35519
35517
  }
@@ -35526,10 +35524,10 @@ function filterOutNotificationForOtherAppsFirebase(notifications) {
35526
35524
  }
35527
35525
 
35528
35526
  function filterOutNotificationForOtherApps(notifications) {
35529
- var currentApp = window.location.pathname === '/' ? 'home' : window.location.pathname.split('/')[1];
35527
+ var currentApp = window.location.pathname === '/' ? 'home' : window.location.pathname;
35530
35528
  var tilesConfig = storage$1.getLocalItem('opsportal-core:config').tiles || [];
35531
35529
  var tile = tilesConfig.find(function (item) {
35532
- return item.path === "/".concat(currentApp);
35530
+ return item.path === currentApp;
35533
35531
  }) || {};
35534
35532
  return notifications.filter(function (notification) {
35535
35533
  var targetApps = pathOr$1(null, ['targetAudience', 'targetApplications'])(notification);
@@ -35660,7 +35658,7 @@ function getDate(dateStr) {
35660
35658
 
35661
35659
  function sortNotifications(notifications) {
35662
35660
  try {
35663
- return sortWith$1([ascend$1(compose(getPriorityCode, prop$1('categoryDescription'))), descend$1(compose(getDate, prop$1('timeZoneType') === "SPTZ" ? moment.utc(prop$1('startsAt')).local().format("YYYY-MM-DD HH:mm:ss") : prop$1('absStartsAt')))], notifications);
35661
+ return sortWith$1([ascend$1(compose(getPriorityCode, prop$1('categoryDescription'))), descend$1(compose(getDate, prop$1('timeZoneType') === "SPTZ" || prop$1('timeZoneType') === "Specific TimeZone" ? moment.utc(prop$1('startsAt')).local().format("YYYY-MM-DD HH:mm:ss") : prop$1('startsAt')))], notifications);
35664
35662
  } catch (err) {
35665
35663
  console.error(err);
35666
35664
  return notifications;
@@ -35801,26 +35799,26 @@ var Actions$1 = function Actions(_ref) {
35801
35799
  className: "utilities_ops-announcements_Banner--navBtnContainer"
35802
35800
  }, React__default["default"].createElement("span", {
35803
35801
  onClick: onLeftButtonClick,
35804
- style: {
35805
- marginTop: '3px'
35806
- }
35802
+ className: "utilities_ops-announcements_Banner--notificationLeftBtn"
35807
35803
  }, React__default["default"].createElement(coreComponents.Icon, {
35808
35804
  name: "arrow_back_ios",
35809
35805
  variant: "material",
35810
35806
  style: {
35811
- fontSize: '13px',
35807
+ fontSize: '16px',
35812
35808
  cursor: 'pointer'
35813
35809
  }
35814
- })), count > 1 && React__default["default"].createElement("div", null, React__default["default"].createElement("span", null, "".concat(current, "/").concat(count))), React__default["default"].createElement("span", {
35815
- onClick: onRightButtonClick,
35810
+ })), count > 1 && React__default["default"].createElement("div", null, React__default["default"].createElement("span", {
35816
35811
  style: {
35817
- marginTop: '3px'
35812
+ position: 'relative',
35813
+ top: '1px'
35818
35814
  }
35815
+ }, "".concat(current, "/").concat(count))), React__default["default"].createElement("span", {
35816
+ onClick: onRightButtonClick
35819
35817
  }, React__default["default"].createElement(coreComponents.Icon, {
35820
35818
  name: "arrow_forward_ios",
35821
35819
  variant: "material",
35822
35820
  style: {
35823
- fontSize: '13px',
35821
+ fontSize: '16px',
35824
35822
  cursor: 'pointer'
35825
35823
  }
35826
35824
  }))));
@@ -35828,6 +35826,7 @@ var Actions$1 = function Actions(_ref) {
35828
35826
 
35829
35827
  var Banner = function Banner(_ref2) {
35830
35828
  var content = _ref2.content,
35829
+ sourceApplication = _ref2.sourceApplication,
35831
35830
  categoryDescription = _ref2.categoryDescription,
35832
35831
  count = _ref2.count,
35833
35832
  current = _ref2.current,
@@ -35836,9 +35835,9 @@ var Banner = function Banner(_ref2) {
35836
35835
  onRightButtonClick = _ref2.onRightButtonClick,
35837
35836
  dismissibleFlag = _ref2.dismissibleFlag,
35838
35837
  onDismiss = _ref2.onDismiss,
35839
- startsAt = _ref2.startsAt,
35840
- absStartsAt = _ref2.absStartsAt,
35841
- timeZoneType = _ref2.timeZoneType,
35838
+ startsAt = _ref2.startsAt;
35839
+ _ref2.absStartsAt;
35840
+ var timeZoneType = _ref2.timeZoneType,
35842
35841
  showSideBar = _ref2.showSideBar;
35843
35842
  var contentBarRef = React__default["default"].useRef(null);
35844
35843
 
@@ -35857,9 +35856,11 @@ var Banner = function Banner(_ref2) {
35857
35856
 
35858
35857
  React__default["default"].useEffect(function () {
35859
35858
  setExpanded(false);
35860
- contentBarRef.current && setIsContentOverFlow(contentBarRef.current.offsetHeight < contentBarRef.current.scrollHeight);
35859
+ setTimeout(function () {
35860
+ contentBarRef.current && setIsContentOverFlow(contentBarRef.current.offsetHeight < contentBarRef.current.scrollHeight);
35861
+ }, 30);
35861
35862
  }, [current]);
35862
- var startTime = timeZoneType === "RPTZ" ? absStartsAt : moment.utc(startsAt).local().format("YYYY-MM-DD HH:mm:ss");
35863
+ var startTime = timeZoneType === "Recipient TimeZone" || timeZoneType === "RPTZ" ? startsAt : moment.utc(startsAt).local().format("YYYY-MM-DD HH:mm:ss");
35863
35864
  var timeDiff = getTimeDiff(startTime);
35864
35865
 
35865
35866
  var topNotificationBar = function topNotificationBar() {
@@ -35883,7 +35884,7 @@ var Banner = function Banner(_ref2) {
35883
35884
  fontSize: '19px',
35884
35885
  color: alertInfoColorMapping[categoryDescription.toLowerCase()]
35885
35886
  }
35886
- })), React__default["default"].createElement("div", null, timeDiff, " -")), React__default["default"].createElement("div", {
35887
+ })), React__default["default"].createElement("div", null, sourceApplication && React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].createElement("b", null, sourceApplication), " -"), " ", timeDiff)), React__default["default"].createElement("div", {
35887
35888
  className: "utilities_ops-announcements_Banner--notificationBarContentBox",
35888
35889
  ref: contentBarRef,
35889
35890
  dangerouslySetInnerHTML: {
@@ -35901,11 +35902,8 @@ var Banner = function Banner(_ref2) {
35901
35902
  }
35902
35903
  }, React__default["default"].createElement(coreComponents.Icon, {
35903
35904
  name: expanded ? 'keyboard_double_arrow_up' : 'keyboard_double_arrow_down',
35904
- variant: "material",
35905
- style: {
35906
- fontSize: '15px'
35907
- }
35908
- })), dismissibleFlag && React__default["default"].createElement("div", {
35905
+ variant: "material"
35906
+ })), (dismissibleFlag === true || dismissibleFlag === "true") && React__default["default"].createElement("div", {
35909
35907
  style: {
35910
35908
  cursor: 'pointer',
35911
35909
  marginLeft: 'auto'
@@ -35913,10 +35911,7 @@ var Banner = function Banner(_ref2) {
35913
35911
  onClick: onDismiss
35914
35912
  }, React__default["default"].createElement(coreComponents.Icon, {
35915
35913
  name: "close",
35916
- variant: "material",
35917
- style: {
35918
- fontSize: '15px'
35919
- }
35914
+ variant: "material"
35920
35915
  })));
35921
35916
  };
35922
35917
 
@@ -35933,7 +35928,7 @@ var Banner = function Banner(_ref2) {
35933
35928
  }, React__default["default"].createElement(coreComponents.Icon, {
35934
35929
  name: alertToIconMapping[categoryDescription.toLowerCase()],
35935
35930
  style: {
35936
- fontSize: '18px',
35931
+ fontSize: '16px',
35937
35932
  color: alertInfoColorMapping[categoryDescription.toLowerCase()]
35938
35933
  }
35939
35934
  })), React__default["default"].createElement("div", {
@@ -35942,7 +35937,7 @@ var Banner = function Banner(_ref2) {
35942
35937
  style: {
35943
35938
  color: '#6c7a89'
35944
35939
  }
35945
- }, timeDiff, " -"), React__default["default"].createElement("div", {
35940
+ }, sourceApplication && React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].createElement("b", null, sourceApplication), " -"), " ", timeDiff), React__default["default"].createElement("div", {
35946
35941
  className: "utilities_ops-announcements_Banner--appBarContentBox",
35947
35942
  dangerouslySetInnerHTML: {
35948
35943
  __html: content
@@ -35972,17 +35967,18 @@ var Banner = function Banner(_ref2) {
35972
35967
  }, React__default["default"].createElement("div", {
35973
35968
  style: {
35974
35969
  display: 'flex',
35975
- gap: '5px'
35970
+ gap: '5px',
35971
+ minHeight: '27px'
35976
35972
  }
35977
35973
  }, React__default["default"].createElement("div", {
35978
35974
  className: "utilities_ops-announcements_Banner--tabNotificationInfoBox"
35979
35975
  }, React__default["default"].createElement("div", null, React__default["default"].createElement(coreComponents.Icon, {
35980
35976
  name: alertToIconMapping[categoryDescription.toLowerCase()],
35981
35977
  style: {
35982
- fontSize: '19px',
35978
+ fontSize: '16px',
35983
35979
  color: alertInfoColorMapping[categoryDescription.toLowerCase()]
35984
35980
  }
35985
- })), React__default["default"].createElement("div", null, timeDiff)), React__default["default"].createElement("div", null, showNavButtons && React__default["default"].createElement(Actions$1, {
35981
+ })), React__default["default"].createElement("div", null, sourceApplication && React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].createElement("b", null, sourceApplication), " -"), " ", timeDiff)), React__default["default"].createElement("div", null, showNavButtons && React__default["default"].createElement(Actions$1, {
35986
35982
  onLeftButtonClick: onLeftButtonClick,
35987
35983
  count: count,
35988
35984
  current: current,
@@ -36048,7 +36044,10 @@ var Notifications$1 = function Notifications(_ref) {
36048
36044
  i = _useState2[0],
36049
36045
  setI = _useState2[1];
36050
36046
 
36051
- var last = notifications.length - 1;
36047
+ var _useState3 = React.useState(notifications.length - 1),
36048
+ _useState4 = _slicedToArray(_useState3, 2),
36049
+ last = _useState4[0],
36050
+ setLast = _useState4[1];
36052
36051
 
36053
36052
  var onLeftButtonClick = function onLeftButtonClick() {
36054
36053
  return i === 0 ? setI(last) : setI(i - 1);
@@ -36058,6 +36057,13 @@ var Notifications$1 = function Notifications(_ref) {
36058
36057
  return i === last ? setI(0) : setI(i + 1);
36059
36058
  };
36060
36059
 
36060
+ React.useEffect(function () {
36061
+ if (notifications.length && notifications.length - 1 < i) {
36062
+ setI(notifications.length - 1);
36063
+ }
36064
+
36065
+ setLast(notifications.length - 1);
36066
+ }, [notifications]);
36061
36067
  var notification = notifications[i];
36062
36068
  return React__default["default"].createElement(React__default["default"].Fragment, null, !isNil$1(notification) && !showSideBar ? React__default["default"].createElement(Banner, _extends({
36063
36069
  current: i + 1,
@@ -36694,6 +36700,12 @@ var AppBar$1 = function AppBar(props) {
36694
36700
  return width > 760 ? '40vw' : width > 500 ? '70vw' : '80vw';
36695
36701
  };
36696
36702
 
36703
+ var closeSidebar = function closeSidebar(e) {
36704
+ if (e.target.className.includes("sideBarWrapper")) {
36705
+ setNotificationsVisible(false);
36706
+ }
36707
+ };
36708
+
36697
36709
  return React__default["default"].createElement("div", {
36698
36710
  "data-e2e": "cc-AppBar",
36699
36711
  className: "utilities_ops-app-frame_AppBarComponent_AppBar--root"
@@ -36799,7 +36811,8 @@ var AppBar$1 = function AppBar(props) {
36799
36811
  backgroundColor: 'white'
36800
36812
  }
36801
36813
  })), notificationsVisible && React__default["default"].createElement("div", {
36802
- className: "utilities_ops-app-frame_AppBarComponent_AppBar--sideBarWrapper"
36814
+ className: "utilities_ops-app-frame_AppBarComponent_AppBar--sideBarWrapper",
36815
+ onClick: closeSidebar
36803
36816
  }, React__default["default"].createElement("div", {
36804
36817
  className: "utilities_ops-app-frame_AppBarComponent_AppBar--innerNotificationDiv",
36805
36818
  style: {
@@ -42028,24 +42041,90 @@ var browser = {
42028
42041
  'version': version$3
42029
42042
  };
42030
42043
 
42044
+ var generateQuery = function generateQuery(yardNumber, email) {
42045
+ var startDateTs = moment(new Date()).add(1, 'days').local().format("YYYY-MM-DDTHH:mm:ss[Z]");
42046
+ var EndDateTs = moment(new Date()).local().format("YYYY-MM-DDTHH:mm:ss[Z]");
42047
+ var startDateTsUTC = moment.utc(new Date()).add(1, 'days').format("YYYY-MM-DDTHH:mm:ss[Z]");
42048
+ var EndDateTsUTC = moment.utc(new Date()).format("YYYY-MM-DDTHH:mm:ss[Z]");
42049
+ var countryCode = storage$1.getSessionItem('dashboard', 'selectedCountryA3code');
42050
+ return "fq=(facilities:".concat(yardNumber, " OR user_details:\"").concat(email, "\")&fq=((start_date_timezone:\"UTC\" AND end_date_timezone:\"UTC\" AND start_date_ts_utc:[* TO ").concat(startDateTsUTC, "] AND end_date_ts_utc:[").concat(EndDateTsUTC, " TO *]) OR (!start_date_timezone:\"UTC\" AND !end_date_timezone:\"UTC\" AND start_date_ts_utc:[* TO ").concat(startDateTs, "] AND end_date_ts_utc:[").concat(EndDateTs, " TO *]) OR (!start_date_timezone:\"UTC\" AND end_date_timezone:\"UTC\" AND start_date_ts_utc:[* TO ").concat(startDateTs, "] AND end_date_ts_utc:[").concat(EndDateTsUTC, " TO *]))&fq=(operating_country_a3_code:\"").concat(countryCode, "\")&fq=status:A&rows=10000&q=*:*");
42051
+ };
42052
+
42053
+ var generateTargets = function generateTargets(notification) {
42054
+ var targets = [];
42055
+ notification.destination_type.map(function (type) {
42056
+ switch (type) {
42057
+ case "yards":
42058
+ targets.push({
42059
+ type: "yards",
42060
+ yards: notification.facilities
42061
+ });
42062
+ break;
42063
+
42064
+ case "users":
42065
+ targets.push({
42066
+ type: "users",
42067
+ emails: notification.user_details
42068
+ });
42069
+ break;
42070
+
42071
+ case "groups":
42072
+ targets.push({
42073
+ type: "groups",
42074
+ groups: [{
42075
+ name: notification.group_details[0],
42076
+ users: notification.group_user_details
42077
+ }]
42078
+ });
42079
+ break;
42080
+
42081
+ default:
42082
+ return;
42083
+ }
42084
+ });
42085
+ return targets;
42086
+ }; //url encode the query string
42087
+
42088
+
42031
42089
  function fetchG2Notifications(updateNotifications, updateAllNotificationsList) {
42032
42090
  var coreAppConfig = storage$1.getLocalItem('opsportal-core:config');
42033
42091
  var endpoints = coreAppConfig.endpoints;
42092
+ var query = generateQuery(storage$1.activeYardNumber, storage$1.userEmail);
42034
42093
  var headers = {
42035
- country: pathOr$1('', ['selectedCountryA3code'], storage$1.getSessionItem('dashboard'))
42094
+ collection: "notifications",
42095
+ serviceName: "notification",
42096
+ Country: storage$1.getSessionItem('dashboard', 'selectedCountryA3code')
42036
42097
  };
42037
- fetcher.get(endpoints.getG2Notifications, {
42098
+ fetcher.get("".concat(endpoints.getG2NotificationsSolr, "?").concat(query), {
42038
42099
  headers: headers
42039
- }).then(function (resp) {
42040
- if (resp.status === 200) {
42041
- var notificationsList = pathOr$1([], ['data', 'response'], resp);
42042
- compose(updateNotifications, filterNotifications)(notificationsList);
42043
- updateAllNotificationsList(notificationsList);
42044
- } else {
42045
- console.log("Failed to Fetch Notifications");
42046
- }
42047
- }).catch(function (err) {
42048
- console.log(err);
42100
+ }).then(function (res) {
42101
+ var notificationsList = pathOr$1([], ['data', 'response', 'docs'], res);
42102
+ var modifiedNotifications = notificationsList.map(function (notification) {
42103
+ notification.startsAt = notification.start_date_ts_utc && notification.start_date_ts_utc.replace("T", " ").replace("Z", "");
42104
+ notification.endsAt = notification.end_date_ts_utc && notification.end_date_ts_utc.replace("T", " ").replace("Z", "");
42105
+ notification.categoryCode = notification.category_code;
42106
+ notification.categoryDescription = notification.category_description;
42107
+ notification.content = notification.notification_content;
42108
+ notification.countryCode = notification.operating_country_a3_code;
42109
+ notification.dismissibleFlag = notification.dismissal_flag;
42110
+ notification.feedUrl = notification.feed_url;
42111
+ notification.notificationId = notification.notification_id;
42112
+ notification.sourceApplication = notification.source_application;
42113
+ notification.sourcePlatform = notification.source_platform;
42114
+ notification.timeZoneType = notification.timezone_type;
42115
+ notification.targetAudience = {
42116
+ targetApplications: notification.applications ? [{
42117
+ platform: notification.source_platform,
42118
+ applications: notification.applications
42119
+ }] : null,
42120
+ targets: _toConsumableArray(generateTargets(notification))
42121
+ };
42122
+ return notification;
42123
+ });
42124
+ compose(updateNotifications, filterNotifications)(modifiedNotifications);
42125
+ updateAllNotificationsList(modifiedNotifications);
42126
+ }).catch(function (e) {
42127
+ console.log(e);
42049
42128
  });
42050
42129
  }
42051
42130
 
@@ -49898,7 +49977,8 @@ var AppBar = function AppBar(_ref) {
49898
49977
  setAppBarMounted = _ref.setAppBarMounted,
49899
49978
  onSettingsSaved = _ref.onSettingsSaved,
49900
49979
  showTitle = _ref.showTitle,
49901
- title = _ref.title;
49980
+ title = _ref.title,
49981
+ pathname = _ref.pathname;
49902
49982
  SETTINGS_ITEMS[0].name = storage$1.userName; // Escape hatch for forceUpdate function
49903
49983
 
49904
49984
  var _useReducer = React.useReducer(function (x) {
@@ -50080,7 +50160,7 @@ var AppBar = function AppBar(_ref) {
50080
50160
  setFirebaseinitialized(true);
50081
50161
  }
50082
50162
  }
50083
- }, [selectedYard]);
50163
+ }, [selectedYard, pathname]);
50084
50164
  React.useEffect(function () {
50085
50165
  var interval = setInterval(function () {
50086
50166
  if (listOfAllNotifications.length) {
@@ -50484,7 +50564,8 @@ var AppFrame = function AppFrame(props) {
50484
50564
  return location.reload();
50485
50565
  },
50486
50566
  showTitle: props.showTitle || true,
50487
- title: props.appTitle
50567
+ title: props.appTitle,
50568
+ pathname: props.location.pathname
50488
50569
  })), React__default["default"].createElement(Breadcrumbs, {
50489
50570
  history: props.history,
50490
50571
  pathname: window.location.pathname