@bigbinary/neeto-molecules 1.2.5-beta → 1.2.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.
package/dist/Sidebar.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import React, { useState, forwardRef, useEffect } from 'react';
2
2
  import classnames from 'classnames';
3
- import { capitalize, truncate, isPresent, findBy, notEquals, isNotPresent } from '@bigbinary/neeto-cist';
4
3
  import { globalProps as globalProps$1 } from '@bigbinary/neeto-commons-frontend/initializers';
5
4
  import { useFetchNeetoApps, useLocalStorage } from '@bigbinary/neeto-commons-frontend/react-utils';
6
5
  import { Typography, Input, Tooltip, Spinner, Avatar, Button } from '@bigbinary/neetoui';
7
- import { toLower, curry, is, includes, __, all, equals, mergeDeepLeft, omit, inc, not } from 'ramda';
6
+ import { toLower, all, mergeDeepLeft, curry, is, includes, __, not } from 'ramda';
8
7
  import { useTranslation } from 'react-i18next';
9
- import { Link, NavLink, useLocation } from 'react-router-dom';
10
- import { t as t$1 } from 'i18next';
11
- import { ChatEmpty, Book, Gift, Keyboard, NeetoIcon, Search, AppSwitcher as AppSwitcher$1, User, Settings, LeftArrow, Help, Down, Left } from '@bigbinary/neeto-icons';
8
+ import { Link, useLocation, NavLink } from 'react-router-dom';
9
+ import { NeetoIcon, Search, AppSwitcher as AppSwitcher$1, ChatEmpty, Book, Gift, Keyboard, User, Settings, LeftArrow, Help, Down } from '@bigbinary/neeto-icons';
10
+ import { capitalize, truncate, isPresent, findBy, isNotPresent } from '@bigbinary/neeto-cist';
12
11
  import * as AppIcons from '@bigbinary/neeto-icons/app-icons';
12
+ import { t as t$1 } from 'i18next';
13
13
  import { resetAuthTokens } from '@bigbinary/neeto-commons-frontend/utils';
14
14
  import KeyboardShortcuts from '@bigbinary/neeto-molecules/KeyboardShortcuts';
15
15
  import * as ProductTypefaceLogos from '@bigbinary/neeto-icons/typeface-logos';
@@ -83,42 +83,6 @@ var Chevron = function Chevron(_ref) {
83
83
  }));
84
84
  };
85
85
 
86
- var MY_PROFILE_URL = "/auth/profile/edit";
87
- var MY_ORGANIZATION_URL = "/auth/organization/edit";
88
- var CHANGELOG_WIDGET_TRIGGER_ID = "neetochangelog-trigger";
89
- var DEFAULT_HELP_LINK_PROPS = {
90
- liveChatProps: {
91
- label: t$1("neetoMolecules.sidebar.helpLinks.liveChat"),
92
- icon: ChatEmpty,
93
- "data-cy": "help-link-live-chat-button",
94
- onClick: function onClick() {
95
- var _window$NeetoChat, _window$NeetoChat$con, _window$NeetoChat2, _window$NeetoChat2$co;
96
- (_window$NeetoChat = window.NeetoChat) === null || _window$NeetoChat === void 0 ? void 0 : (_window$NeetoChat$con = _window$NeetoChat.contextualHelp) === null || _window$NeetoChat$con === void 0 ? void 0 : _window$NeetoChat$con.maximizeWidget();
97
- (_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0 ? void 0 : (_window$NeetoChat2$co = _window$NeetoChat2.contextualHelp) === null || _window$NeetoChat2$co === void 0 ? void 0 : _window$NeetoChat2$co.openWidget();
98
- }
99
- },
100
- helpCenterProps: {
101
- label: t$1("neetoMolecules.sidebar.helpLinks.helpArticles"),
102
- icon: Book,
103
- "data-cy": "help-link-help-center-button",
104
- href: "https://help.".concat(toLower(globalProps.appName), ".com/"),
105
- target: "_blank"
106
- },
107
- changelogProps: {
108
- id: CHANGELOG_WIDGET_TRIGGER_ID,
109
- label: t$1("neetoMolecules.sidebar.helpLinks.whatsNew"),
110
- icon: Gift,
111
- "data-cy": "help-link-changelog-button"
112
- },
113
- keyboardShortcutProps: {
114
- label: t$1("neetoMolecules.sidebar.helpLinks.keyboardShortcuts"),
115
- icon: Keyboard,
116
- "data-cy": "help-link-keyboard-shortcut-button"
117
- }
118
- };
119
- var NAVLINK_KEYS_TO_OMIT = ["Component", "component"];
120
- var SETTINGS = "Settings";
121
-
122
86
  var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
123
87
 
124
88
  var css$1 = ".neeto-molecules-app-switcher__wrapper{align-items:flex-start;background-color:rgb(var(--neeto-ui-white));display:flex;flex-direction:column;justify-content:flex-start;max-width:100%;overflow-y:auto;padding:40px;position:relative;transition:all .3s;width:100%}@media only screen and (max-width:992px){.neeto-molecules-app-switcher__wrapper{padding:32px}}@media screen and (max-width:768px){.neeto-molecules-app-switcher__wrapper{padding:16px}}.neeto-molecules-app-switcher__grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(288px,1fr))}@media only screen and (max-width:992px){.neeto-molecules-app-switcher__grid{grid-template-columns:repeat(auto-fill,minmax(248px,1fr))}}@media only screen and (max-width:640px){.neeto-molecules-app-switcher__grid{grid-template-columns:repeat(auto-fill,minmax(100%,1fr))}}.neeto-molecules-app-switcher__header{align-items:center;display:flex;gap:32px;justify-content:space-between;margin-bottom:32px;position:relative;width:100%}@media only screen and (max-width:768px){.neeto-molecules-app-switcher__header{align-items:flex-start;flex-direction:column-reverse;gap:24px}}@media only screen and (max-width:640px){.neeto-molecules-app-switcher__header h1{font-size:24px}}.neeto-molecules-app-switcher__close-btn{position:absolute;right:12px;top:12px}.neeto-molecules-app-switcher__search-wrapper{flex-grow:1}@media only screen and (min-width:992px){.neeto-molecules-app-switcher__search-wrapper{flex-grow:0;width:296px}}.neeto-molecules-app-switcher__body{display:flex;flex-direction:column;font-size:var(--neeto-ui-text-sm);gap:12px;margin-bottom:24px;width:100%}.neeto-molecules-app-switcher-link{align-items:center;background-color:rgb(var(--neeto-ui-gray-100));border-color:rgb(var(--neeto-ui-gray-100));border-radius:var(--neeto-ui-rounded-lg);border-style:solid;border-width:2px;cursor:pointer;display:flex;gap:12px;max-width:100%;padding:12px 16px;text-decoration:none;transition:background-color .3s ease-in-out;width:100%}.neeto-molecules-app-switcher-link:focus,.neeto-molecules-app-switcher-link:focus-visible{outline:none}.neeto-molecules-app-switcher-link:focus-visible{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-molecules-app-switcher-link:not(.neeto-molecules-app-switcher-link--active):hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-molecules-app-switcher-link--active{background:rgb(var(--neeto-ui-primary-100));border-color:rgb(var(--neeto-ui-primary-600))}.neeto-molecules-app-switcher-link__icon-holder{align-items:center;border-radius:var(--neeto-ui-rounded-lg);display:flex;flex-shrink:0;height:42px;justify-content:center;width:42px}.neeto-molecules-app-switcher-link__content{flex-grow:1}.neeto-molecules-app-switcher-link__content span{display:block}";
@@ -233,7 +197,7 @@ var AppSwitcher = function AppSwitcher() {
233
197
  }, /*#__PURE__*/React.createElement(Body, null));
234
198
  };
235
199
 
236
- var css = ":root{--neeto-molecules-sidebar-width:240px;--neeto-molecules-sidebar-wrapper-z-index:99997;--neeto-molecules-sidebar-z-index:99998;--neeto-chat-primary:136,134,255;--neeto-wireframe-primary:106,103,232;--neeto-site-primary:129,118,255;--neeto-desk-primary:253,148,55;--neeto-planner-primary:82,169,198;--neeto-replay-primary:32,199,189;--neeto-course-primary:140,214,114;--neeto-ci-primary:255,133,184;--neeto-invoice-primary:70,160,211;--neeto-quiz-primary:254,99,99;--neeto-runner-primary:75,71,255;--neeto-form-primary:254,128,114;--neeto-crm-primary:96,154,240;--neeto-changelog-primary:255,135,135;--neeto-deploy-primary:20,209,164;--neeto-kb-primary:101,205,161;--neeto-cal-primary:238,77,95;--neeto-invisible-primary:121,157,250;--neeto-testify-primary:255,158,69;--neeto-monitor-primary:70,181,197;--neeto-git-primary:255,78,110}@media screen and (min-width:1024px){:root{--neeto-molecules-sidebar-width:240px}}.neeto-molecules-sidebar__wrapper{display:flex;max-width:240px;max-width:var(--neeto-molecules-sidebar-width);position:relative;transition:all .15s;width:240px;width:var(--neeto-molecules-sidebar-width)}@media screen and (max-width:768px){.neeto-molecules-sidebar__wrapper{height:100%;left:0;max-width:100%;position:fixed;top:0;transition:none;width:100%;z-index:99997;z-index:var(--neeto-molecules-sidebar-wrapper-z-index)}.neeto-molecules-sidebar__wrapper .neeto-molecules-sidebar{left:0;max-width:240px;max-width:var(--neeto-molecules-sidebar-width);position:fixed;top:0;transition:none;width:240px;width:var(--neeto-molecules-sidebar-width)}}.neeto-molecules-sidebar__wrapper--collapsed{max-width:0;width:0}.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar__toggler{right:-36px;transform:scale(-1)}@media screen and (max-width:768px){.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar__toggler{left:8px;right:auto}.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar{left:-240px;left:calc(var(--neeto-molecules-sidebar-width)*-1)}}.neeto-molecules-sidebar{background-color:rgb(var(--neeto-ui-gray-100));border-right:1px solid rgb(var(--neeto-ui-gray-100));height:100vh;padding:24px 0;width:100%;z-index:99998;z-index:var(--neeto-molecules-sidebar-z-index)}.neeto-molecules-sidebar__no-shrinkable{max-width:240px;max-width:var(--neeto-molecules-sidebar-width);width:240px;width:var(--neeto-molecules-sidebar-width)}.neeto-molecules-sidebar::-webkit-scrollbar{height:0;width:0}.neeto-molecules-sidebar::-webkit-scrollbar-thumb{background:rgb(var(--neeto-ui-gray-300));border-radius:50px}.neeto-molecules-sidebar::-webkit-scrollbar-track{background:\"transparent\"}.neeto-molecules-sidebar__toggler{position:absolute;right:8px;top:8px;z-index:99998;z-index:var(--neeto-molecules-sidebar-z-index)}@media screen and (max-width:768px){.neeto-molecules-sidebar__toggler{left:202px;left:calc(var(--neeto-molecules-sidebar-width) - 38px);right:auto;transition:none}}.neeto-molecules-sidebar__header{margin:14px 0 28px;padding:0 24px}.neeto-molecules-sidebar__logo svg{height:20px;max-width:100%;width:auto}.neeto-molecules-sidebar__links{margin-bottom:40px}.neeto-molecules-sidebar__link{color:rgb(var(--neeto-ui-gray-800));gap:10px;padding:12px 24px;position:relative;text-decoration:none!important;transition:var(--neeto-ui-transition);width:100%}.neeto-molecules-sidebar__link-icon{flex-shrink:0;transition:var(--neeto-ui-transition)}.neeto-molecules-sidebar__link-icon svg path{vector-effect:non-scaling-stroke}.neeto-molecules-sidebar__link-icon--rotate{transform:scale(-1)}.neeto-molecules-sidebar__link-icon--caret{opacity:0;transition:opacity .3s ease-in-out}.neeto-molecules-sidebar__link-label,.neeto-molecules-sidebar__link-sub-label{flex-grow:1;text-align:left}.neeto-molecules-sidebar__link:hover{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-black))}.neeto-molecules-sidebar__link:focus,.neeto-molecules-sidebar__link:focus-visible,.neeto-molecules-sidebar__link[aria-expanded=true]{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-black));outline:none}.neeto-molecules-sidebar__link.active{background-color:rgb(var(--neeto-ui-white));color:rgb(var(--neeto-ui-black))}.neeto-molecules-sidebar__link.active .neeto-molecules-sidebar__link-label{font-weight:var(--neeto-ui-font-medium)}.neeto-molecules-sidebar__link.active .neeto-molecules-sidebar__link-icon--caret,.neeto-molecules-sidebar__link:focus .neeto-molecules-sidebar__link-icon--caret,.neeto-molecules-sidebar__link:focus-visible .neeto-molecules-sidebar__link-icon--caret,.neeto-molecules-sidebar__link:hover .neeto-molecules-sidebar__link-icon--caret,.neeto-molecules-sidebar__link[aria-expanded=true] .neeto-molecules-sidebar__link-icon--caret{opacity:1}.neeto-molecules-sidebar__link--button:focus{background-color:transparent}.neeto-molecules-sidebar__link--button:focus-visible{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-gray-800))}.neeto-molecules-sidebar__link--change-log{outline:none!important}.neeto-molecules-sidebar__sublink-wrapper{background-color:rgb(var(--neeto-ui-white));padding:4px 0}.neeto-molecules-sidebar__sublink{background-color:rgb(var(--neeto-ui-white));color:rgb(var(--neeto-ui-gray-700));cursor:pointer;gap:8px;padding:8px 24px 8px 58px;text-decoration:none;transition:all .3s}.neeto-molecules-sidebar__sublink:not(:last-child){margin-bottom:4px}.neeto-molecules-sidebar__sublink .neeto-molecules-sidebar__link-sub-count{opacity:.75}.neeto-molecules-sidebar__sublink:hover{color:rgb(var(--neeto-ui-gray-800));text-decoration:none}.neeto-molecules-sidebar__sublink:hover .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__sublink:focus,.neeto-molecules-sidebar__sublink:focus-visible{color:rgb(var(--neeto-ui-gray-800));outline:none;text-decoration:none}.neeto-molecules-sidebar__sublink:focus .neeto-molecules-sidebar__link-sub-count,.neeto-molecules-sidebar__sublink:focus-visible .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__sublink.active,.neeto-molecules-sidebar__sublink:active{color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-medium);text-decoration:none}.neeto-molecules-sidebar__sublink.active .neeto-molecules-sidebar__link-sub-count,.neeto-molecules-sidebar__sublink:active .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__footer{margin-top:auto}.sidebar-featured-tooltip__content{border-radius:8px!important;box-shadow:var(--neeto-ui-shadow-sm)!important}.sidebar-featured-tooltip__content .tippy-content{padding:0}.sidebar-featured-tooltip{padding:12px;width:150px}.sidebar-featured-tooltip__icon-wrap{background-color:rgb(var(--neeto-ui-gray-100));border-radius:8px;height:40px;margin-bottom:8px;margin-left:auto;margin-right:auto;width:40px}.sidebar-featured-tooltip__title{margin-bottom:4px}.neeto-molecules-app-switcher-popup-wrapper,.neeto-molecules-help-popup-wrapper,.neeto-molecules-profile-popup-wrapper{border:1px solid rgb(var(--neeto-ui-gray-400));border-radius:var(--neeto-ui-rounded)!important;box-shadow:0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.2)!important;min-width:240px}.neeto-molecules-app-switcher-popup-wrapper .tippy-content,.neeto-molecules-help-popup-wrapper .tippy-content,.neeto-molecules-profile-popup-wrapper .tippy-content{padding:0}.neeto-molecules-app-switcher-popup-wrapper .tippy-svg-arrow,.neeto-molecules-help-popup-wrapper .tippy-svg-arrow,.neeto-molecules-profile-popup-wrapper .tippy-svg-arrow{display:none!important}.neeto-molecules-profile-popup__top-section{border-top-left-radius:var(--neeto-ui-rounded);border-top-right-radius:var(--neeto-ui-rounded)}.neeto-molecules-profile-sublist{border-top:1px solid rgb(var(--neeto-ui-gray-400))}.neeto-molecules-help-sublist,.neeto-molecules-profile-sublist{list-style:none;margin:0;padding:4px 0}.neeto-molecules-help-sublist__item,.neeto-molecules-profile-sublist__item{width:100%}.neeto-molecules-help-sublist__item-btn,.neeto-molecules-profile-sublist__item-btn{border-radius:0;justify-content:flex-end!important;min-height:40px;text-align:left}.neeto-molecules-help-sublist__item-btn.active,.neeto-molecules-profile-sublist__item-btn.active{background-color:rgb(var(--neeto-ui-gray-800));color:rgb(var(--neeto-ui-white))}.neeto-molecules-help-sublist__item-btn-icon svg path,.neeto-molecules-profile-sublist__item-btn-icon svg path{vector-effect:non-scaling-stroke}.neeto-molecules-help-sublist__item-btn span,.neeto-molecules-profile-sublist__item-btn span{align-items:center;display:flex;gap:8px}.neeto-molecules-sidebar__link-icon{position:relative}.neeto-molecules-sidebar__notif-count{position:absolute;right:-6px;top:-6px;z-index:1}.neeto-molecules-help-sublist__item-btn-count,.neeto-molecules-sidebar__notif-count{align-items:center;background-color:rgb(var(--neeto-ui-primary-500));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-white));display:inline-flex;flex-shrink:0;font-size:var(--neeto-ui-text-xxs);height:16px;justify-content:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:16px}.neeto-molecules-app-switcher-popup-wrapper{height:calc(100vh - 16px);margin-bottom:8px;min-width:calc(100vw - 176px);overflow-y:auto}@media screen and (max-width:768px){.neeto-molecules-app-switcher-popup-wrapper{width:calc(100vw - 185px)!important}}.neeto-molecules-sidebar__backdrop{background-color:rgba(var(--neeto-ui-black),.4);height:100%;left:0;position:absolute;top:0;width:100%}@media screen and (min-width:769px){.neeto-molecules-sidebar__backdrop{display:none;visibility:hidden}}.neeto-molecules-sidebar.neeto-molecules-sidebar--focus-mode{padding-top:0}.neeto-molecules-sidebar.neeto-molecules-sidebar--focus-mode .neeto-molecules-sidebar__header{padding-top:24px}.neeto-molecules-sidebar.neeto-molecules-sidebar--focus-mode .neeto-molecules-sidebar__links{margin-bottom:0}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__sublink-wrapper{margin:0!important;padding:0!important}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__link{--neeto-ui-text-body2:16px;gap:4px;padding:12px 4px;position:sticky;top:0;z-index:1}.neeto-molecules-sidebar__links--focus-mode>.neeto-molecules-sidebar__sublink-wrapper>.neeto-molecules-sidebar__sublink{--neeto-ui-text-body2:15px;border-top:1px solid rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-medium);margin-bottom:0!important;padding-bottom:8px!important;padding-top:8px!important}.neeto-molecules-sidebar__links--focus-mode>.neeto-molecules-sidebar__sublink-wrapper>.neeto-molecules-sidebar__sublink-wrapper>.neeto-molecules-sidebar__sublink-wrapper .neeto-molecules-sidebar__sublink{--neeto-ui-text-body2:13px;padding-left:40px!important}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__sublink{margin-bottom:4px;padding:4px 4px 4px 30px!important;position:relative}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__sublink:hover{background-color:rgb(var(--neeto-ui-gray-100))}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__sublink.active{background-color:rgb(var(--neeto-ui-primary-100))!important}.neeto-molecules-sidebar__links--focus-mode .neeto-molecules-sidebar__sublink.active:before{background-color:rgb(var(--neeto-ui-primary-500));border-radius:var(--neeto-ui-rounded);content:\"\";height:100%;left:-1px;position:absolute;top:0;width:3px}";
200
+ var css = ":root{--neeto-molecules-sidebar-width:240px;--neeto-molecules-sidebar-wrapper-z-index:99997;--neeto-molecules-sidebar-z-index:99998;--neeto-chat-primary:136,134,255;--neeto-wireframe-primary:106,103,232;--neeto-site-primary:129,118,255;--neeto-desk-primary:253,148,55;--neeto-planner-primary:82,169,198;--neeto-replay-primary:32,199,189;--neeto-course-primary:140,214,114;--neeto-ci-primary:255,133,184;--neeto-invoice-primary:70,160,211;--neeto-quiz-primary:254,99,99;--neeto-runner-primary:75,71,255;--neeto-form-primary:254,128,114;--neeto-crm-primary:96,154,240;--neeto-changelog-primary:255,135,135;--neeto-deploy-primary:20,209,164;--neeto-kb-primary:101,205,161;--neeto-cal-primary:238,77,95;--neeto-invisible-primary:121,157,250;--neeto-testify-primary:255,158,69;--neeto-monitor-primary:70,181,197;--neeto-git-primary:255,78,110}@media screen and (min-width:1024px){:root{--neeto-molecules-sidebar-width:240px}}.neeto-molecules-sidebar__wrapper{display:flex;max-width:240px;max-width:var(--neeto-molecules-sidebar-width);position:relative;transition:all .15s;width:240px;width:var(--neeto-molecules-sidebar-width)}@media screen and (max-width:768px){.neeto-molecules-sidebar__wrapper{height:100%;left:0;max-width:100%;position:fixed;top:0;transition:none;width:100%;z-index:99997;z-index:var(--neeto-molecules-sidebar-wrapper-z-index)}.neeto-molecules-sidebar__wrapper .neeto-molecules-sidebar{left:0;max-width:240px;max-width:var(--neeto-molecules-sidebar-width);position:fixed;top:0;transition:none;width:240px;width:var(--neeto-molecules-sidebar-width)}}.neeto-molecules-sidebar__wrapper--collapsed{max-width:0;width:0}.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar__toggler{right:-36px;transform:scale(-1)}@media screen and (max-width:768px){.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar__toggler{left:8px;right:auto}.neeto-molecules-sidebar__wrapper--collapsed .neeto-molecules-sidebar{left:-240px;left:calc(var(--neeto-molecules-sidebar-width)*-1)}}.neeto-molecules-sidebar{background-color:rgb(var(--neeto-ui-gray-100));border-right:1px solid rgb(var(--neeto-ui-gray-100));height:100vh;padding:24px 0;width:100%;z-index:99998;z-index:var(--neeto-molecules-sidebar-z-index)}.neeto-molecules-sidebar__no-shrinkable{max-width:240px;max-width:var(--neeto-molecules-sidebar-width);width:240px;width:var(--neeto-molecules-sidebar-width)}.neeto-molecules-sidebar::-webkit-scrollbar{height:0;width:0}.neeto-molecules-sidebar::-webkit-scrollbar-thumb{background:rgb(var(--neeto-ui-gray-300));border-radius:50px}.neeto-molecules-sidebar::-webkit-scrollbar-track{background:\"transparent\"}.neeto-molecules-sidebar__toggler{position:absolute;right:8px;top:8px;z-index:99998;z-index:var(--neeto-molecules-sidebar-z-index)}@media screen and (max-width:768px){.neeto-molecules-sidebar__toggler{left:202px;left:calc(var(--neeto-molecules-sidebar-width) - 38px);right:auto;transition:none}}.neeto-molecules-sidebar__header{margin:14px 0 28px;padding:0 24px}.neeto-molecules-sidebar__logo svg{height:20px;max-width:100%;width:auto}.neeto-molecules-sidebar__links{margin-bottom:40px}.neeto-molecules-sidebar__link{color:rgb(var(--neeto-ui-gray-800));gap:10px;padding:12px 24px;position:relative;text-decoration:none!important;transition:var(--neeto-ui-transition);width:100%}.neeto-molecules-sidebar__link-icon{flex-shrink:0;transition:var(--neeto-ui-transition)}.neeto-molecules-sidebar__link-icon svg path{vector-effect:non-scaling-stroke}.neeto-molecules-sidebar__link-icon--rotate{transform:scale(-1)}.neeto-molecules-sidebar__link-icon--caret{opacity:0;transition:opacity .3s ease-in-out}.neeto-molecules-sidebar__link-label,.neeto-molecules-sidebar__link-sub-label{flex-grow:1;text-align:left}.neeto-molecules-sidebar__link:hover{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-black))}.neeto-molecules-sidebar__link:focus,.neeto-molecules-sidebar__link:focus-visible,.neeto-molecules-sidebar__link[aria-expanded=true]{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-black));outline:none}.neeto-molecules-sidebar__link.active{background-color:rgb(var(--neeto-ui-white));color:rgb(var(--neeto-ui-black))}.neeto-molecules-sidebar__link.active .neeto-molecules-sidebar__link-label{font-weight:var(--neeto-ui-font-medium)}.neeto-molecules-sidebar__link.active .neeto-molecules-sidebar__link-icon--caret,.neeto-molecules-sidebar__link:focus .neeto-molecules-sidebar__link-icon--caret,.neeto-molecules-sidebar__link:focus-visible .neeto-molecules-sidebar__link-icon--caret,.neeto-molecules-sidebar__link:hover .neeto-molecules-sidebar__link-icon--caret,.neeto-molecules-sidebar__link[aria-expanded=true] .neeto-molecules-sidebar__link-icon--caret{opacity:1}.neeto-molecules-sidebar__link--button:focus{background-color:transparent}.neeto-molecules-sidebar__link--button:focus-visible{background-color:rgb(var(--neeto-ui-gray-200));color:rgb(var(--neeto-ui-gray-800))}.neeto-molecules-sidebar__link--change-log{outline:none!important}.neeto-molecules-sidebar__sublink-wrapper{background-color:rgb(var(--neeto-ui-white));padding:4px 0}.neeto-molecules-sidebar__sublink{background-color:rgb(var(--neeto-ui-white));color:rgb(var(--neeto-ui-gray-700));cursor:pointer;gap:8px;padding:8px 24px 8px 58px;text-decoration:none;transition:all .3s}.neeto-molecules-sidebar__sublink:not(:last-child){margin-bottom:4px}.neeto-molecules-sidebar__sublink .neeto-molecules-sidebar__link-sub-count{opacity:.75}.neeto-molecules-sidebar__sublink:hover{color:rgb(var(--neeto-ui-gray-800));text-decoration:none}.neeto-molecules-sidebar__sublink:hover .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__sublink:focus,.neeto-molecules-sidebar__sublink:focus-visible{color:rgb(var(--neeto-ui-gray-800));outline:none;text-decoration:none}.neeto-molecules-sidebar__sublink:focus .neeto-molecules-sidebar__link-sub-count,.neeto-molecules-sidebar__sublink:focus-visible .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__sublink.active,.neeto-molecules-sidebar__sublink:active{color:rgb(var(--neeto-ui-black));font-weight:var(--neeto-ui-font-medium);text-decoration:none}.neeto-molecules-sidebar__sublink.active .neeto-molecules-sidebar__link-sub-count,.neeto-molecules-sidebar__sublink:active .neeto-molecules-sidebar__link-sub-count{opacity:1}.neeto-molecules-sidebar__footer{margin-top:auto}.sidebar-featured-tooltip__content{border-radius:8px!important;box-shadow:var(--neeto-ui-shadow-sm)!important}.sidebar-featured-tooltip__content .tippy-content{padding:0}.sidebar-featured-tooltip{padding:12px;width:150px}.sidebar-featured-tooltip__icon-wrap{background-color:rgb(var(--neeto-ui-gray-100));border-radius:8px;height:40px;margin-bottom:8px;margin-left:auto;margin-right:auto;width:40px}.sidebar-featured-tooltip__title{margin-bottom:4px}.neeto-molecules-app-switcher-popup-wrapper,.neeto-molecules-help-popup-wrapper,.neeto-molecules-profile-popup-wrapper{border:1px solid rgb(var(--neeto-ui-gray-400));border-radius:var(--neeto-ui-rounded)!important;box-shadow:0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.2)!important;min-width:240px}.neeto-molecules-app-switcher-popup-wrapper .tippy-content,.neeto-molecules-help-popup-wrapper .tippy-content,.neeto-molecules-profile-popup-wrapper .tippy-content{padding:0}.neeto-molecules-app-switcher-popup-wrapper .tippy-svg-arrow,.neeto-molecules-help-popup-wrapper .tippy-svg-arrow,.neeto-molecules-profile-popup-wrapper .tippy-svg-arrow{display:none!important}.neeto-molecules-profile-popup__top-section{border-top-left-radius:var(--neeto-ui-rounded);border-top-right-radius:var(--neeto-ui-rounded)}.neeto-molecules-profile-sublist{border-top:1px solid rgb(var(--neeto-ui-gray-400))}.neeto-molecules-help-sublist,.neeto-molecules-profile-sublist{list-style:none;margin:0;padding:4px 0}.neeto-molecules-help-sublist__item,.neeto-molecules-profile-sublist__item{width:100%}.neeto-molecules-help-sublist__item-btn,.neeto-molecules-profile-sublist__item-btn{border-radius:0;justify-content:flex-end!important;min-height:40px;text-align:left}.neeto-molecules-help-sublist__item-btn.active,.neeto-molecules-profile-sublist__item-btn.active{background-color:rgb(var(--neeto-ui-gray-800));color:rgb(var(--neeto-ui-white))}.neeto-molecules-help-sublist__item-btn-icon svg path,.neeto-molecules-profile-sublist__item-btn-icon svg path{vector-effect:non-scaling-stroke}.neeto-molecules-help-sublist__item-btn span,.neeto-molecules-profile-sublist__item-btn span{align-items:center;display:flex;gap:8px}.neeto-molecules-sidebar__link-icon{position:relative}.neeto-molecules-sidebar__notif-count{position:absolute;right:-6px;top:-6px;z-index:1}.neeto-molecules-help-sublist__item-btn-count,.neeto-molecules-sidebar__notif-count{align-items:center;background-color:rgb(var(--neeto-ui-primary-500));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-white));display:inline-flex;flex-shrink:0;font-size:var(--neeto-ui-text-xxs);height:16px;justify-content:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:16px}.neeto-molecules-app-switcher-popup-wrapper{height:calc(100vh - 16px);margin-bottom:8px;min-width:calc(100vw - 176px);overflow-y:auto}@media screen and (max-width:768px){.neeto-molecules-app-switcher-popup-wrapper{width:calc(100vw - 185px)!important}}.neeto-molecules-sidebar__backdrop{background-color:rgba(var(--neeto-ui-black),.4);height:100%;left:0;position:absolute;top:0;width:100%}@media screen and (min-width:769px){.neeto-molecules-sidebar__backdrop{display:none;visibility:hidden}}";
237
201
  n(css,{});
238
202
 
239
203
  var AppSwitcherButton = function AppSwitcherButton() {
@@ -284,10 +248,41 @@ var AppSwitcherButton = function AppSwitcherButton() {
284
248
  }, t("neetoMolecules.sidebar.productSwitcher"))));
285
249
  };
286
250
 
287
- var isSubRouteActive = function isSubRouteActive(_ref) {
288
- var subRoute = _ref.subRoute,
289
- location = _ref.location,
290
- isSettingsItems = _ref.isSettingsItems;
251
+ var MY_PROFILE_URL = "/auth/profile/edit";
252
+ var MY_ORGANIZATION_URL = "/auth/organization/edit";
253
+ var CHANGELOG_WIDGET_TRIGGER_ID = "neetochangelog-trigger";
254
+ var DEFAULT_HELP_LINK_PROPS = {
255
+ liveChatProps: {
256
+ label: t$1("neetoMolecules.sidebar.helpLinks.liveChat"),
257
+ icon: ChatEmpty,
258
+ "data-cy": "help-link-live-chat-button",
259
+ onClick: function onClick() {
260
+ var _window$NeetoChat, _window$NeetoChat$con, _window$NeetoChat2, _window$NeetoChat2$co;
261
+ (_window$NeetoChat = window.NeetoChat) === null || _window$NeetoChat === void 0 ? void 0 : (_window$NeetoChat$con = _window$NeetoChat.contextualHelp) === null || _window$NeetoChat$con === void 0 ? void 0 : _window$NeetoChat$con.maximizeWidget();
262
+ (_window$NeetoChat2 = window.NeetoChat) === null || _window$NeetoChat2 === void 0 ? void 0 : (_window$NeetoChat2$co = _window$NeetoChat2.contextualHelp) === null || _window$NeetoChat2$co === void 0 ? void 0 : _window$NeetoChat2$co.openWidget();
263
+ }
264
+ },
265
+ helpCenterProps: {
266
+ label: t$1("neetoMolecules.sidebar.helpLinks.helpArticles"),
267
+ icon: Book,
268
+ "data-cy": "help-link-help-center-button",
269
+ href: "https://help.".concat(toLower(globalProps.appName), ".com/"),
270
+ target: "_blank"
271
+ },
272
+ changelogProps: {
273
+ id: CHANGELOG_WIDGET_TRIGGER_ID,
274
+ label: t$1("neetoMolecules.sidebar.helpLinks.whatsNew"),
275
+ icon: Gift,
276
+ "data-cy": "help-link-changelog-button"
277
+ },
278
+ keyboardShortcutProps: {
279
+ label: t$1("neetoMolecules.sidebar.helpLinks.keyboardShortcuts"),
280
+ icon: Keyboard,
281
+ "data-cy": "help-link-keyboard-shortcut-button"
282
+ }
283
+ };
284
+
285
+ var isSubRouteActive = function isSubRouteActive(subRoute, location) {
291
286
  var currentBrowserUrl = new URL(location.pathname + location.search, window.location.origin);
292
287
  var targetUrl = new URL(subRoute, window.location.origin);
293
288
  if (!currentBrowserUrl.pathname.startsWith(targetUrl.pathname)) {
@@ -295,28 +290,15 @@ var isSubRouteActive = function isSubRouteActive(_ref) {
295
290
  }
296
291
  var targetSearchParams = targetUrl.searchParams;
297
292
  var targetSearchKeys = Array.from(targetSearchParams.keys());
298
- var targetUrlWithSearch = targetUrl.pathname + targetUrl.search;
299
- var currentUrlWithSearch = currentBrowserUrl.pathname + currentBrowserUrl.search;
300
- var isLinkActive = all(function (key) {
293
+ return all(function (key) {
301
294
  return currentBrowserUrl.searchParams.get(key) === targetSearchParams.get(key);
302
295
  }, targetSearchKeys);
303
- if (isSettingsItems) {
304
- return isLinkActive && equals(currentUrlWithSearch, targetUrlWithSearch);
305
- }
306
- return isLinkActive;
307
296
  };
308
297
  var getSidebarStateLocalStorageKey = function getSidebarStateLocalStorageKey() {
309
298
  var _globalProps$user, _globalProps$user2;
310
299
  var user = ((_globalProps$user = globalProps.user) === null || _globalProps$user === void 0 ? void 0 : _globalProps$user.email) || ((_globalProps$user2 = globalProps.user) === null || _globalProps$user2 === void 0 ? void 0 : _globalProps$user2.phoneNumber);
311
300
  return "sidebarState-".concat(user);
312
301
  };
313
- var filterByPermissions = curry(function (_ref2) {
314
- var permissions = _ref2.permissions;
315
- if (permissions) {
316
- return is(Array, permissions) ? permissions.some(includes(__, globalProps.permissions)) : globalProps.permissions.includes(permissions);
317
- }
318
- return true;
319
- });
320
302
 
321
303
  var getProfileInfo = function getProfileInfo(isOwner, profileInfoOverrides) {
322
304
  var _globalProps$user, _globalProps$user2, _globalProps$user3, _globalProps$user4, _globalProps$user5;
@@ -475,9 +457,9 @@ function _objectWithoutProperties(source, excluded) {
475
457
  return target;
476
458
  }
477
459
 
478
- var _excluded$4 = ["onClick", "label", "icon"];
479
- function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
480
- function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
460
+ var _excluded$2 = ["onClick", "label", "icon"];
461
+ function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
462
+ function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
481
463
  var LinkSection = function LinkSection(_ref) {
482
464
  var links = _ref.links;
483
465
  return /*#__PURE__*/React.createElement("ul", {
@@ -487,7 +469,7 @@ var LinkSection = function LinkSection(_ref) {
487
469
  label = _ref2.label,
488
470
  _ref2$icon = _ref2.icon,
489
471
  icon = _ref2$icon === void 0 ? null : _ref2$icon,
490
- otherProps = _objectWithoutProperties(_ref2, _excluded$4);
472
+ otherProps = _objectWithoutProperties(_ref2, _excluded$2);
491
473
  return /*#__PURE__*/React.createElement("li", {
492
474
  className: "neeto-molecules-profile-sublist__item",
493
475
  key: idx
@@ -497,7 +479,7 @@ var LinkSection = function LinkSection(_ref) {
497
479
  iconPosition: "left",
498
480
  iconSize: 18,
499
481
  style: "text"
500
- }, _objectSpread$3({
482
+ }, _objectSpread$2({
501
483
  icon: icon,
502
484
  label: label,
503
485
  onClick: onClick
@@ -600,9 +582,9 @@ var HelpSection = function HelpSection(_ref, ref) {
600
582
  };
601
583
  var HelpSection$1 = /*#__PURE__*/forwardRef(HelpSection);
602
584
 
603
- var _excluded$3 = ["label"];
604
- function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
605
- function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
585
+ var _excluded$1 = ["label"];
586
+ function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
587
+ function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
606
588
  var HelpSectionMenu = function HelpSectionMenu(_ref) {
607
589
  var helpLinkOverrides = _ref.helpLinkOverrides,
608
590
  changesCount = _ref.changesCount;
@@ -610,7 +592,7 @@ var HelpSectionMenu = function HelpSectionMenu(_ref) {
610
592
  _KeyboardShortcuts$us2 = _slicedToArray(_KeyboardShortcuts$us, 2),
611
593
  setIsOpen = _KeyboardShortcuts$us2[1];
612
594
  var helpLinks = Object.keys(DEFAULT_HELP_LINK_PROPS).map(function (key) {
613
- return _objectSpread$2(_objectSpread$2(_objectSpread$2(_objectSpread$2({}, DEFAULT_HELP_LINK_PROPS[key]), helpLinkOverrides[key]), key === "keyboardShortcutProps" && {
595
+ return _objectSpread$1(_objectSpread$1(_objectSpread$1(_objectSpread$1({}, DEFAULT_HELP_LINK_PROPS[key]), helpLinkOverrides[key]), key === "keyboardShortcutProps" && {
614
596
  onClick: function onClick() {
615
597
  return setIsOpen(true);
616
598
  }
@@ -625,7 +607,7 @@ var HelpSectionMenu = function HelpSectionMenu(_ref) {
625
607
  className: "neeto-molecules-help-sublist"
626
608
  }, helpLinks.map(function (_ref3, idx) {
627
609
  var label = _ref3.label,
628
- buttonProps = _objectWithoutProperties(_ref3, _excluded$3);
610
+ buttonProps = _objectWithoutProperties(_ref3, _excluded$1);
629
611
  return /*#__PURE__*/React.createElement("li", {
630
612
  className: "neeto-molecules-help-sublist__item",
631
613
  key: idx
@@ -717,74 +699,26 @@ var Header = function Header(_ref) {
717
699
  };
718
700
  var Header$1 = /*#__PURE__*/React.memo(Header);
719
701
 
720
- var _excluded$2 = ["label", "to", "count", "dataCy", "items"];
721
- var Items = function Items(_ref) {
722
- var items = _ref.items,
723
- _ref$level = _ref.level,
724
- level = _ref$level === void 0 ? 0 : _ref$level,
725
- _ref$isSettingsItems = _ref.isSettingsItems,
726
- isSettingsItems = _ref$isSettingsItems === void 0 ? false : _ref$isSettingsItems;
727
- return /*#__PURE__*/React.createElement("div", {
728
- className: "neeto-molecules-sidebar__sublink-wrapper ml-".concat(level * 2),
729
- "data-cy": "sidebar-sub-link-wrapper"
730
- }, items.filter(filterByPermissions).map(function (_ref2, index) {
731
- var label = _ref2.label,
732
- to = _ref2.to,
733
- count = _ref2.count,
734
- dataCy = _ref2.dataCy,
735
- subItems = _ref2.items,
736
- otherProps = _objectWithoutProperties(_ref2, _excluded$2);
737
- return /*#__PURE__*/React.createElement(React.Fragment, {
738
- key: index
739
- }, /*#__PURE__*/React.createElement(NavLink, _extends({
740
- to: to,
741
- activeClassName: "active",
742
- className: "neeto-ui-flex neeto-ui-items-center neeto-ui-select-none neeto-molecules-sidebar__sublink",
743
- "data-cy": "".concat(dataCy, "-sub-link"),
744
- key: index,
745
- isActive: function isActive() {
746
- return isSubRouteActive({
747
- subRoute: to,
748
- location: location,
749
- isSettingsItems: isSettingsItems
750
- });
751
- }
752
- }, omit(NAVLINK_KEYS_TO_OMIT, otherProps)), /*#__PURE__*/React.createElement(Typography, {
753
- className: "neeto-molecules-sidebar__link-sub-label neeto-ui-flex-grow",
754
- component: "span",
755
- "data-cy": "".concat(dataCy, "-sub-link-label"),
756
- style: "body2"
757
- }, label), /*#__PURE__*/React.createElement(Typography, {
758
- className: "neeto-molecules-sidebar__link-sub-count neeto-ui-flex-shrink-0",
759
- component: "span",
760
- "data-cy": "".concat(dataCy, "-sub-link-count"),
761
- style: "body2"
762
- }, count > 999 ? "999+" : count)), isPresent(subItems) && /*#__PURE__*/React.createElement(Items, {
763
- isSettingsItems: isSettingsItems,
764
- items: subItems,
765
- level: inc(level)
766
- }));
767
- }));
768
- };
769
-
770
- var _excluded$1 = ["label", "to", "icon", "items"];
771
- function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
772
- function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
702
+ var _excluded = ["label", "to", "icon", "items"],
703
+ _excluded2 = ["label", "to", "count", "data-cy"];
704
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
705
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
773
706
  var Links = function Links(_ref) {
774
- var navLinks = _ref.navLinks,
775
- setSelectedNavLink = _ref.setSelectedNavLink;
707
+ var navLinks = _ref.navLinks;
708
+ var location = useLocation();
776
709
  var _useState = useState(true),
777
710
  _useState2 = _slicedToArray(_useState, 2),
778
711
  isActiveLinkExpanded = _useState2[0],
779
712
  setIsActiveLinkExpanded = _useState2[1];
780
- var location = useLocation();
781
- var handleNavLinkClick = function handleNavLinkClick(_ref2) {
782
- var event = _ref2.event,
783
- isActive = _ref2.isActive,
784
- items = _ref2.items,
785
- navLink = _ref2.navLink;
713
+ var filterByPermissions = curry(function (_ref2) {
714
+ var permissions = _ref2.permissions;
715
+ if (permissions) {
716
+ return is(Array, permissions) ? permissions.some(includes(__, globalProps$1.permissions)) : globalProps$1.permissions.includes(permissions);
717
+ }
718
+ return true;
719
+ });
720
+ var handleNavLinkClick = function handleNavLinkClick(event, isActive, items) {
786
721
  if (isNotPresent(items)) return;
787
- equals(navLink.label, SETTINGS) && setSelectedNavLink(navLink);
788
722
  if (isActive()) {
789
723
  setIsActiveLinkExpanded(not);
790
724
  event.preventDefault();
@@ -794,12 +728,12 @@ var Links = function Links(_ref) {
794
728
  };
795
729
  return /*#__PURE__*/React.createElement("div", {
796
730
  className: "neeto-molecules-sidebar__links neeto-molecules-sidebar__no-shrinkable"
797
- }, navLinks.filter(filterByPermissions).map(function (navLink, index) {
798
- var label = navLink.label,
799
- to = navLink.to,
800
- icon = navLink.icon,
801
- items = navLink.items,
802
- otherProps = _objectWithoutProperties(navLink, _excluded$1);
731
+ }, navLinks.filter(filterByPermissions).map(function (_ref3, mainIndex) {
732
+ var label = _ref3.label,
733
+ to = _ref3.to,
734
+ icon = _ref3.icon,
735
+ items = _ref3.items,
736
+ otherProps = _objectWithoutProperties(_ref3, _excluded);
803
737
  var IconSVG = icon;
804
738
  var url = new URL(to, window.location.href);
805
739
  var isActive = function isActive() {
@@ -807,19 +741,14 @@ var Links = function Links(_ref) {
807
741
  };
808
742
  var isMenuExpanded = isActive() && isActiveLinkExpanded;
809
743
  return /*#__PURE__*/React.createElement(React.Fragment, {
810
- key: index
744
+ key: mainIndex
811
745
  }, /*#__PURE__*/React.createElement(NavLink, _extends({
812
746
  activeClassName: "active",
813
747
  className: "neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-ui-select-none neeto-molecules-sidebar__link",
814
748
  onClick: function onClick(event) {
815
- return handleNavLinkClick({
816
- event: event,
817
- isActive: isActive,
818
- items: items,
819
- navLink: navLink
820
- });
749
+ return handleNavLinkClick(event, isActive, items);
821
750
  }
822
- }, _objectSpread$1({
751
+ }, _objectSpread({
823
752
  isActive: isActive,
824
753
  to: to
825
754
  }, otherProps)), icon && /*#__PURE__*/React.createElement("span", {
@@ -830,62 +759,42 @@ var Links = function Links(_ref) {
830
759
  component: "span",
831
760
  style: "body2",
832
761
  weight: "normal"
833
- }, label), items && notEquals(label, SETTINGS) && /*#__PURE__*/React.createElement("span", {
762
+ }, label), items && /*#__PURE__*/React.createElement("span", {
834
763
  className: classnames("neeto-molecules-sidebar__link-icon neeto-molecules-sidebar__link-icon--caret", {
835
764
  "neeto-molecules-sidebar__link-icon--rotate": isMenuExpanded
836
765
  })
837
766
  }, /*#__PURE__*/React.createElement(Down, {
838
767
  size: 16
839
- }))), items && notEquals(label, SETTINGS) && isMenuExpanded && /*#__PURE__*/React.createElement(Items, {
840
- items: items
841
- }));
842
- }));
843
- };
844
-
845
- var _excluded = ["label", "to", "items"];
846
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
847
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
848
- var SelectedLink = function SelectedLink(_ref) {
849
- var navLink = _ref.navLink,
850
- setSelectedNavLink = _ref.setSelectedNavLink;
851
- var location = useLocation();
852
- var _useTranslation = useTranslation(),
853
- t = _useTranslation.t;
854
- var label = navLink.label,
855
- to = navLink.to,
856
- items = navLink.items,
857
- otherProps = _objectWithoutProperties(navLink, _excluded);
858
- var url = new URL(to, window.location.href);
859
- var isActive = function isActive() {
860
- return is(Function, otherProps.isActive) ? otherProps.isActive() : location.pathname.startsWith(url.pathname);
861
- };
862
- var handleGoBack = function handleGoBack(event) {
863
- event.preventDefault();
864
- setSelectedNavLink({});
865
- };
866
- return /*#__PURE__*/React.createElement("div", {
867
- className: "neeto-molecules-sidebar__links neeto-molecules-sidebar__links--focus-mode neeto-molecules-sidebar__no-shrinkable"
868
- }, /*#__PURE__*/React.createElement(NavLink, _extends({
869
- activeClassName: "active",
870
- className: "neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-ui-select-none neeto-molecules-sidebar__link"
871
- }, _objectSpread({
872
- isActive: isActive,
873
- to: to
874
- }, otherProps)), /*#__PURE__*/React.createElement(Tooltip, {
875
- content: t("neetoMolecules.sidebar.goBack"),
876
- position: "top"
877
- }, /*#__PURE__*/React.createElement("span", {
878
- className: "neeto-molecules-sidebar__link-icon",
879
- "data-testid": "".concat(label, "-go-back-button"),
880
- onClick: handleGoBack
881
- }, /*#__PURE__*/React.createElement(Left, null))), /*#__PURE__*/React.createElement(Typography, {
882
- className: "neeto-molecules-sidebar__link-label",
883
- component: "span",
884
- style: "body2",
885
- weight: "normal"
886
- }, label)), items && /*#__PURE__*/React.createElement(Items, {
887
- items: items,
888
- isSettingsItems: true
768
+ }))), items && isMenuExpanded && /*#__PURE__*/React.createElement("div", {
769
+ className: "neeto-molecules-sidebar__sublink-wrapper",
770
+ "data-cy": "sidebar-sub-link-wrapper"
771
+ }, items.filter(filterByPermissions).map(function (_ref4, subIndex) {
772
+ var subLabel = _ref4.label,
773
+ subRoute = _ref4.to,
774
+ count = _ref4.count,
775
+ dataCy = _ref4["data-cy"],
776
+ otherProps = _objectWithoutProperties(_ref4, _excluded2);
777
+ return /*#__PURE__*/React.createElement(NavLink, _extends({
778
+ activeClassName: "active",
779
+ className: "neeto-molecules-sidebar__sublink neeto-ui-flex neeto-ui-items-center neeto-ui-select-none",
780
+ "data-cy": "".concat(dataCy, "-sub-link"),
781
+ isActive: function isActive() {
782
+ return isSubRouteActive(subRoute, location);
783
+ },
784
+ key: subIndex,
785
+ to: subRoute
786
+ }, otherProps), /*#__PURE__*/React.createElement(Typography, {
787
+ className: "neeto-molecules-sidebar__link-sub-label neeto-ui-flex-grow",
788
+ component: "span",
789
+ "data-cy": "".concat(dataCy, "-sub-link-label"),
790
+ style: "body2"
791
+ }, subLabel), /*#__PURE__*/React.createElement(Typography, {
792
+ className: "neeto-molecules-sidebar__link-sub-count neeto-ui-flex-shrink-0",
793
+ component: "span",
794
+ "data-cy": "".concat(dataCy, "-sub-link-count"),
795
+ style: "body2"
796
+ }, count > 999 ? "999+" : count));
797
+ })));
889
798
  }));
890
799
  };
891
800
 
@@ -904,14 +813,10 @@ var Sidebar = function Sidebar(_ref) {
904
813
  _useState2 = _slicedToArray(_useState, 2),
905
814
  isAppSwitcherOpen = _useState2[0],
906
815
  setIsAppSwitcherOpen = _useState2[1];
907
- var _useState3 = useState({}),
816
+ var _useState3 = useState(false),
908
817
  _useState4 = _slicedToArray(_useState3, 2),
909
- selectedNavLink = _useState4[0],
910
- setSelectedNavLink = _useState4[1];
911
- var _useState5 = useState(false),
912
- _useState6 = _slicedToArray(_useState5, 2),
913
- isSidebarPaneOpen = _useState6[0],
914
- setIsSidebarPaneOpen = _useState6[1];
818
+ isSidebarPaneOpen = _useState4[0],
819
+ setIsSidebarPaneOpen = _useState4[1];
915
820
  var _useLocalStorage = useLocalStorage(getSidebarStateLocalStorageKey(), false),
916
821
  _useLocalStorage2 = _slicedToArray(_useLocalStorage, 2),
917
822
  isSidebarCollapsed = _useLocalStorage2[0],
@@ -939,17 +844,6 @@ var Sidebar = function Sidebar(_ref) {
939
844
  };
940
845
  }, []);
941
846
  var productName = globalProps$1.appName.substr(5).toLowerCase();
942
- useEffect(function () {
943
- var currentLink = navLinks.find(function (_ref2) {
944
- var to = _ref2.to,
945
- isActive = _ref2.isActive;
946
- var url = new URL(to, window.location.href);
947
- return is(Function, isActive) ? isActive() : location.pathname.startsWith(url.pathname);
948
- });
949
- if (isPresent(currentLink) && equals(currentLink.label, SETTINGS)) {
950
- setSelectedNavLink(currentLink);
951
- }
952
- }, []);
953
847
  return /*#__PURE__*/React.createElement("div", {
954
848
  "data-testid": "sidebar-container",
955
849
  className: classnames("neeto-molecules-sidebar__wrapper", {
@@ -961,20 +855,14 @@ var Sidebar = function Sidebar(_ref) {
961
855
  setIsSidebarPaneOpen(false);
962
856
  }
963
857
  }), /*#__PURE__*/React.createElement("div", {
858
+ className: "neeto-molecules-sidebar neeto-ui-flex neeto-ui-flex-col neeto-ui-flex-shrink-0 neeto-ui-overflow-y-auto neeto-ui-overflow-x-hidden",
964
859
  "data-cy": "sidebar-wrapper",
965
- "data-testid": "sidebar",
966
- className: classnames("neeto-molecules-sidebar neeto-ui-flex neeto-ui-flex-col neeto-ui-flex-shrink-0 neeto-ui-overflow-y-auto neeto-ui-overflow-x-hidden", {
967
- "neeto-molecules-sidebar--focus-mode": isPresent(selectedNavLink)
968
- })
860
+ "data-testid": "sidebar"
969
861
  }, /*#__PURE__*/React.createElement(Header$1, {
970
862
  customLogo: customLogo
971
- }), isPresent(selectedNavLink) ? /*#__PURE__*/React.createElement(SelectedLink, {
972
- setSelectedNavLink: setSelectedNavLink,
973
- navLink: selectedNavLink
974
- }) : /*#__PURE__*/React.createElement(Links, {
975
- navLinks: navLinks,
976
- setSelectedNavLink: setSelectedNavLink
977
- }), isNotPresent(selectedNavLink) && /*#__PURE__*/React.createElement(Footer, {
863
+ }), /*#__PURE__*/React.createElement(Links, {
864
+ navLinks: navLinks
865
+ }), /*#__PURE__*/React.createElement(Footer, {
978
866
  extraTopLinks: extraTopLinks,
979
867
  helpLinkOverrides: helpLinkOverrides,
980
868
  profileInfoOverrides: profileInfoOverrides,
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.js","sources":["../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","../node_modules/@babel/runtime/helpers/esm/slicedToArray.js","../src/components/Sidebar/Chevron.jsx","../src/components/Sidebar/constants.js","../node_modules/rollup-plugin-styles/dist/runtime/inject-css.js","../node_modules/@babel/runtime/helpers/esm/extends.js","../src/components/Sidebar/AppSwitcher/AppLink.jsx","../src/components/Sidebar/AppSwitcher/Body.jsx","../src/components/Sidebar/AppSwitcher/index.jsx","../src/components/Sidebar/Footer/AppSwitcherButton.jsx","../src/components/Sidebar/utils.js","../src/components/Sidebar/Footer/utils.js","../src/components/Sidebar/ProfileSection/index.jsx","../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","../src/components/Sidebar/ProfileSection/LinkSection.jsx","../src/components/Sidebar/ProfileSection/ProfileMenu.jsx","../src/components/Sidebar/Footer/ProfileButton.jsx","../src/components/Sidebar/HelpSection/index.jsx","../src/components/Sidebar/HelpSection/HelpSectionMenu.jsx","../src/components/Sidebar/Footer/index.jsx","../src/components/Sidebar/Header.jsx","../src/components/Sidebar/Items.jsx","../src/components/Sidebar/Links.jsx","../src/components/Sidebar/SelectedLink.jsx","../src/components/Sidebar/index.jsx"],"sourcesContent":["export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","import React from \"react\";\n\nconst Chevron = ({ style }) => (\n <svg height=\"16\" viewBox=\"0 0 16 16\" width=\"16\" {...{ style }}>\n <path\n d=\"M7.07031 13.8887C7.2207 14.0391 7.40527 14.1211 7.62402 14.1211C8.06836 14.1211 8.41699 13.7725 8.41699 13.3281C8.41699 13.1094 8.32812 12.9043 8.17773 12.7539L3.37207 8.05762L8.17773 3.375C8.32812 3.21777 8.41699 3.0127 8.41699 2.80078C8.41699 2.35645 8.06836 2.00781 7.62402 2.00781C7.40527 2.00781 7.2207 2.08984 7.07031 2.24023L1.73828 7.44922C1.56055 7.62012 1.46484 7.8252 1.46484 8.06445C1.46484 8.29688 1.55371 8.49512 1.73828 8.67969L7.07031 13.8887ZM13.1748 13.8887C13.3252 14.0391 13.5098 14.1211 13.7354 14.1211C14.1797 14.1211 14.5283 13.7725 14.5283 13.3281C14.5283 13.1094 14.4395 12.9043 14.2891 12.7539L9.4834 8.05762L14.2891 3.375C14.4395 3.21777 14.5283 3.0127 14.5283 2.80078C14.5283 2.35645 14.1797 2.00781 13.7354 2.00781C13.5098 2.00781 13.3252 2.08984 13.1748 2.24023L7.84961 7.44922C7.66504 7.62012 7.57617 7.8252 7.56934 8.06445C7.56934 8.29688 7.66504 8.49512 7.84961 8.67969L13.1748 13.8887Z\"\n fill=\"currentColor\"\n />\n </svg>\n);\n\nexport default Chevron;\n","import { t } from \"i18next\";\nimport { Book, Keyboard, Gift, ChatEmpty } from \"neetoicons\";\nimport { toLower } from \"ramda\";\n\nexport const MY_PROFILE_URL = \"/auth/profile/edit\";\nexport const MY_ORGANIZATION_URL = \"/auth/organization/edit\";\nexport const CHANGELOG_WIDGET_TRIGGER_ID = \"neetochangelog-trigger\";\nexport const PRODUCT_LOGO_WIDTH = 40;\nexport const PRODUCT_LOGO_HEIGHT = 40;\n\nexport const DEFAULT_HELP_LINK_PROPS = {\n liveChatProps: {\n label: t(\"neetoMolecules.sidebar.helpLinks.liveChat\"),\n icon: ChatEmpty,\n \"data-cy\": \"help-link-live-chat-button\",\n onClick: () => {\n window.NeetoChat?.contextualHelp?.maximizeWidget();\n window.NeetoChat?.contextualHelp?.openWidget();\n },\n },\n helpCenterProps: {\n label: t(\"neetoMolecules.sidebar.helpLinks.helpArticles\"),\n icon: Book,\n \"data-cy\": \"help-link-help-center-button\",\n href: `https://help.${toLower(globalProps.appName)}.com/`,\n target: \"_blank\",\n },\n changelogProps: {\n id: CHANGELOG_WIDGET_TRIGGER_ID,\n label: t(\"neetoMolecules.sidebar.helpLinks.whatsNew\"),\n icon: Gift,\n \"data-cy\": \"help-link-changelog-button\",\n },\n keyboardShortcutProps: {\n label: t(\"neetoMolecules.sidebar.helpLinks.keyboardShortcuts\"),\n icon: Keyboard,\n \"data-cy\": \"help-link-keyboard-shortcut-button\",\n },\n};\n\nexport const QUERY_CACHE_KEY = \"queryCache\";\nexport const NEETO_APPS_QUERY_KEY = \"neeto-apps-list\";\nexport const NAVLINK_KEYS_TO_OMIT = [\"Component\", \"component\"];\nexport const SETTINGS = \"Settings\";\n","var e=[],t=[];function n(n,r){if(n&&\"undefined\"!=typeof document){var a,s=!0===r.prepend?\"prepend\":\"append\",d=!0===r.singleTag,i=\"string\"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName(\"head\")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c()}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n))}function c(){var e=document.createElement(\"style\");if(e.setAttribute(\"type\",\"text/css\"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a=\"prepend\"===s?\"afterbegin\":\"beforeend\";return i.insertAdjacentElement(a,e),e}}export{n as default};\n","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import React from \"react\";\n\nimport classnames from \"classnames\";\nimport { capitalize } from \"neetocist\";\nimport { NeetoIcon } from \"neetoicons\";\nimport * as AppIcons from \"neetoicons/app-icons\";\nimport { Typography } from \"neetoui\";\n\nimport \"./appswitcher.scss\";\n\nconst AppLink = ({ name, description, url }) => {\n const appName = `Neeto${name.charAt(0)}${name.slice(1).toLowerCase()}`;\n const AppIcon = AppIcons[appName];\n\n return (\n <a\n data-cy={`${name}-app-link`}\n data-test-id={`neetoapp-link-${name}`}\n href={url}\n rel=\"noreferrer\"\n target=\"_blank\"\n className={classnames(\"neeto-molecules-app-switcher-link\", {\n \"neeto-molecules-app-switcher-link--active\":\n capitalize(globalProps.appName) === appName,\n })}\n >\n <div\n className={classnames(\n \"neeto-molecules-app-switcher-link__icon-holder\",\n { \"neeto-ui-bg-primary-500\": !AppIcon }\n )}\n >\n {AppIcon ? (\n <AppIcon size={42} />\n ) : (\n <NeetoIcon color=\"white\" size={42} />\n )}\n </div>\n <div className=\"neeto-molecules-app-switcher-link__content\">\n <Typography\n component=\"span\"\n lineHeight=\"relaxed\"\n style=\"h4\"\n weight=\"medium\"\n >\n {name}\n </Typography>\n <Typography component=\"span\" style=\"body3\" weight=\"normal\">\n {description}\n </Typography>\n </div>\n </a>\n );\n};\n\nexport default React.memo(AppLink);\n","import React, { useState } from \"react\";\n\nimport { useFetchNeetoApps } from \"neetocommons/react-utils\";\nimport { Search } from \"neetoicons\";\nimport { Input, Typography } from \"neetoui\";\nimport { useTranslation } from \"react-i18next\";\n\nimport AppLink from \"./AppLink\";\nimport \"./appswitcher.scss\";\n\nconst Body = () => {\n const { t } = useTranslation();\n const [searchTerm, setSearchTerm] = useState(\"\");\n const { data } = useFetchNeetoApps();\n\n const substring = searchTerm.replace(/ /g, \"\").toLowerCase();\n const filteredApps = data?.neetoApps.filter(({ name }) =>\n name.toLowerCase().includes(substring)\n );\n\n const handleSearch = e => setSearchTerm(e.target.value);\n\n return (\n <>\n <div\n className=\"neeto-molecules-app-switcher__header\"\n data-cy=\"app-switcher-body-wrapper\"\n >\n <Typography style=\"h1\">\n {t(\"neetoMolecules.appSwitcher.chooseNeetoProduct\")}\n </Typography>\n <div className=\"neeto-molecules-app-switcher__search-wrapper\">\n <Input\n autoFocus\n data-cy=\"app-switcher-search-input\"\n placeholder={t(\"neetoMolecules.appSwitcher.searchProducts\")}\n prefix={<Search />}\n type=\"search\"\n value={searchTerm}\n onChange={handleSearch}\n />\n </div>\n </div>\n <div className=\"neeto-molecules-app-switcher__body\">\n {filteredApps?.length > 0 ? (\n <div className=\"neeto-molecules-app-switcher__grid\">\n {filteredApps.map(app => (\n <AppLink key={app.name} {...app} />\n ))}\n </div>\n ) : (\n <Typography className=\"neeto-ui-text-center\" style=\"body1\">\n {t(\"neetoMolecules.appSwitcher.noApps\")}\n </Typography>\n )}\n </div>\n </>\n );\n};\n\nexport default Body;\n","import React from \"react\";\n\nimport \"./appswitcher.scss\";\nimport Body from \"./Body\";\n\nconst AppSwitcher = () => (\n <div\n className=\"neeto-molecules-app-switcher__wrapper\"\n data-cy=\"switcher-wrapper\"\n data-testid=\"switcher-wrapper\"\n key=\"switcher-wrapper\"\n >\n <Body />\n </div>\n);\n\nexport default AppSwitcher;\n","import React, { useState } from \"react\";\n\nimport { useFetchNeetoApps } from \"neetocommons/react-utils\";\nimport { AppSwitcher as NeetoUIAppSwitcherIcon } from \"neetoicons\";\nimport { Typography, Spinner, Tooltip } from \"neetoui\";\nimport { useTranslation } from \"react-i18next\";\n\nimport AppSwitcher from \"../AppSwitcher\";\nimport \"../sidebar.scss\";\n\nconst AppSwitcherButton = () => {\n const { t } = useTranslation();\n const [hasHovered, setHasHovered] = useState(false);\n\n const { data, refetch: refetchNeetoApps, isStale } = useFetchNeetoApps();\n\n return (\n <Tooltip\n interactive\n appendTo={() => document.body}\n className=\"neeto-molecules-app-switcher-popup-wrapper\"\n content={<AppSwitcher />}\n delay={[300, null]}\n disabled={!data}\n hideOnClick={false}\n offset={[0, -70]}\n position=\"right\"\n strategy=\"fixed\"\n theme=\"light\"\n >\n <button\n className=\"neeto-molecules-sidebar__link neeto-molecules-sidebar__link--app-switcher neeto-molecules-sidebar__link--button neeto-ui-flex neeto-ui-w-full neeto-ui-select-none neeto-ui-items-center neeto-ui-justify-start neeto-ui-shadow-none\"\n data-cy=\"app-switcher-button\"\n data-testid=\"app-switcher-button\"\n onMouseEnter={() => {\n if (hasHovered || !isStale) return;\n refetchNeetoApps();\n setHasHovered(true);\n }}\n >\n <span className=\"neeto-molecules-sidebar__link-icon neeto-ui-flex neeto-ui-items-center neeto-ui-justify-center h-6 w-6\">\n {!data && hasHovered ? (\n <span data-testid=\"app-switcher-button-loader\">\n <Spinner />\n </span>\n ) : (\n <NeetoUIAppSwitcherIcon size={24} />\n )}\n </span>\n <Typography\n className=\"neeto-molecules-sidebar__link-label\"\n component=\"span\"\n style=\"body2\"\n weight=\"normal\"\n >\n {t(\"neetoMolecules.sidebar.productSwitcher\")}\n </Typography>\n </button>\n </Tooltip>\n );\n};\n\nexport default AppSwitcherButton;\n","import { __, all, curry, equals, includes, is, repeat } from \"ramda\";\n\nexport const isSubRouteActive = ({ subRoute, location, isSettingsItems }) => {\n const currentBrowserUrl = new URL(\n location.pathname + location.search,\n window.location.origin\n );\n const targetUrl = new URL(subRoute, window.location.origin);\n\n if (!currentBrowserUrl.pathname.startsWith(targetUrl.pathname)) {\n return false;\n }\n\n const targetSearchParams = targetUrl.searchParams;\n const targetSearchKeys = Array.from(targetSearchParams.keys());\n const targetUrlWithSearch = targetUrl.pathname + targetUrl.search;\n const currentUrlWithSearch =\n currentBrowserUrl.pathname + currentBrowserUrl.search;\n\n const isLinkActive = all(\n key =>\n currentBrowserUrl.searchParams.get(key) === targetSearchParams.get(key),\n targetSearchKeys\n );\n\n if (isSettingsItems) {\n return isLinkActive && equals(currentUrlWithSearch, targetUrlWithSearch);\n }\n\n return isLinkActive;\n};\n\nexport const getSidebarStateLocalStorageKey = () => {\n const user = globalProps.user?.email || globalProps.user?.phoneNumber;\n\n return `sidebarState-${user}`;\n};\n\nexport const filterByPermissions = curry(({ permissions }) => {\n if (permissions) {\n return is(Array, permissions)\n ? permissions.some(includes(__, globalProps.permissions))\n : globalProps.permissions.includes(permissions);\n }\n\n return true;\n});\n\nexport const getInitialExpandedState = items => repeat(true, items.length);\n","import { t } from \"i18next\";\nimport { resetAuthTokens } from \"neetocommons/utils\";\nimport { User, Settings, LeftArrow } from \"neetoicons\";\nimport { mergeDeepLeft } from \"ramda\";\n\nimport { MY_PROFILE_URL, MY_ORGANIZATION_URL } from \"../constants\";\nimport { getSidebarStateLocalStorageKey } from \"../utils\";\n\nexport const getProfileInfo = (isOwner, profileInfoOverrides) =>\n mergeDeepLeft(profileInfoOverrides, {\n name: `${globalProps.user?.firstName} ${globalProps.user?.lastName}`,\n imageUrl: globalProps.user?.profileImageUrl,\n email: globalProps.user?.email || globalProps.user?.phoneNumber,\n topLinks: [\n {\n label: t(\"neetoMolecules.sidebar.myProfile\"),\n icon: User,\n onClick: () => window.open(MY_PROFILE_URL, \"_blank\"),\n \"data-cy\": \"my-profile-button\",\n },\n isOwner && {\n label: t(\"neetoMolecules.sidebar.myOrganization\"),\n icon: Settings,\n onClick: () => window.open(MY_ORGANIZATION_URL, \"_blank\"),\n \"data-cy\": \"profile-organization-settings-button\",\n },\n ].filter(Boolean),\n bottomLinks: [\n {\n icon: LeftArrow,\n label: t(\"neetoMolecules.sidebar.logout\"),\n onClick: () => {\n resetAuthTokens();\n localStorage.removeItem(getSidebarStateLocalStorageKey());\n window.location.href = \"/logout\";\n },\n \"data-cy\": \"profile-logout-button\",\n },\n ],\n });\n","import React, { forwardRef, useState } from \"react\";\n\nimport { truncate } from \"neetocist\";\nimport { useFetchNeetoApps } from \"neetocommons/react-utils\";\nimport { Avatar, Typography, Spinner } from \"neetoui\";\n\nimport \"../sidebar.scss\";\n\nconst ProfileSection = ({ profileInfo }, ref) => {\n const [hasHovered, setHasHovered] = useState(false);\n\n const { data, refetch: refetchNeetoApps, isStale } = useFetchNeetoApps();\n\n return (\n <button\n className=\"neeto-molecules-sidebar__link neeto-molecules-sidebar__link--button neeto-ui-shadow-none neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-ui-select-none\"\n data-cy=\"profile-section\"\n data-testid=\"profile-section\"\n {...{ ref }}\n onMouseEnter={() => {\n if (!hasHovered && isStale) {\n refetchNeetoApps();\n setHasHovered(true);\n }\n }}\n >\n {!data && hasHovered ? (\n <span data-testid=\"profile-avatar-loader\">\n <Spinner />\n </span>\n ) : (\n <>\n <Avatar\n className=\"neeto-ui-flex-shrink-0 neeto-molecules-sidebar__profile-avatar\"\n data-testid=\"profile-avatar\"\n size=\"small\"\n user={profileInfo}\n />\n <Typography\n className=\"neeto-molecules-sidebar__link-label\"\n component=\"span\"\n style=\"body2\"\n weight=\"normal\"\n >\n {truncate(profileInfo.name, 18)}\n </Typography>\n </>\n )}\n </button>\n );\n};\n\nexport default forwardRef(ProfileSection);\n","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","import React from \"react\";\n\nimport { Button } from \"neetoui\";\n\nimport \"../sidebar.scss\";\n\nconst LinkSection = ({ links }) => (\n <ul className=\"neeto-molecules-profile-sublist\">\n {links.map(({ onClick, label, icon = null, ...otherProps }, idx) => (\n <li className=\"neeto-molecules-profile-sublist__item\" key={idx}>\n <Button\n fullWidth\n className=\"neeto-molecules-profile-sublist__item-btn\"\n iconPosition=\"left\"\n iconSize={18}\n style=\"text\"\n {...{ icon, label, onClick, ...otherProps }}\n />\n </li>\n ))}\n </ul>\n);\n\nexport default LinkSection;\n","import React from \"react\";\n\nimport classnames from \"classnames\";\nimport { truncate } from \"neetocist\";\nimport { Avatar, Typography } from \"neetoui\";\n\nimport LinkSection from \"./LinkSection\";\n\nimport \"../sidebar.scss\";\n\nconst ProfileMenu = ({ profileInfo, extraTopLinks }) => {\n const { name, email, topLinks, bottomLinks, customContent } = profileInfo;\n\n return (\n <div\n className=\"neeto-ui-flex neeto-ui-flex-col neeto-molecules-profile-popup\"\n data-cy=\"profile-popup\"\n data-testid=\"profile-popup\"\n >\n <div\n className={classnames(\n \"neeto-ui-relative neeto-ui-flex neeto-ui-items-center neeto-ui-p-3 neeto-ui-bg-primary-100 neeto-molecules-profile-popup__top-section\"\n )}\n >\n <div className=\"top-0 left-0\">\n <Avatar size=\"large\" user={profileInfo} />\n </div>\n <div className=\"neeto-ui-flex neeto-ui-flex-col neeto-ui-flex-grow neeto-ui-min-w-0 neeto-ui-pl-3\">\n <Typography\n className=\"neeto-ui-m-0\"\n component=\"h2\"\n lineHeight=\"tight\"\n style=\"h5\"\n title={name}\n weight=\"semibold\"\n >\n {truncate(name, 18)}\n </Typography>\n {email && (\n <Typography\n className=\"neeto-ui-w-full neeto-ui-truncate neeto-ui-text-gray-700\"\n lineHeight=\"tight\"\n style=\"body3\"\n >\n {email}\n </Typography>\n )}\n </div>\n </div>\n <div className=\"neeto-molecules-sidebar__profile-wrapper-custom-content\">\n {customContent}\n </div>\n {topLinks && <LinkSection links={[...extraTopLinks, ...topLinks]} />}\n {bottomLinks && <LinkSection links={bottomLinks} />}\n </div>\n );\n};\n\nexport default ProfileMenu;\n","import React from \"react\";\n\nimport { useFetchNeetoApps } from \"neetocommons/react-utils\";\nimport { Tooltip } from \"neetoui\";\n\nimport { getProfileInfo } from \"./utils\";\n\nimport ProfileSection from \"../ProfileSection\";\nimport ProfileMenu from \"../ProfileSection/ProfileMenu\";\n\nconst ProfileButton = ({ extraTopLinks, profileInfoOverrides }) => {\n const { data } = useFetchNeetoApps();\n const profileInfo = getProfileInfo(data?.isOwner, profileInfoOverrides);\n\n return (\n <Tooltip\n interactive\n appendTo={() => document.body}\n className=\"neeto-molecules-profile-popup-wrapper\"\n content={<ProfileMenu {...{ extraTopLinks, profileInfo }} />}\n disabled={!data}\n hideOnClick={false}\n interactiveDebounce={20}\n offset={[0, -70]}\n position=\"right\"\n strategy=\"fixed\"\n theme=\"light\"\n >\n <ProfileSection {...{ profileInfo }} />\n </Tooltip>\n );\n};\n\nexport default ProfileButton;\n","import React, { forwardRef } from \"react\";\n\nimport { isPresent } from \"neetocist\";\nimport { Help } from \"neetoicons\";\nimport { Typography } from \"neetoui\";\nimport { useTranslation } from \"react-i18next\";\n\nimport \"../sidebar.scss\";\n\n// Rule can be enabled once the ticket - https://github.com/bigbinary/neeto-commons-frontend/issues/905 is closed.\n// eslint-disable-next-line @bigbinary/neeto/no-dumb-components-with-use-translation\nconst HelpSection = ({ changesCount }, ref) => {\n const { t } = useTranslation();\n\n return (\n <button\n className=\"neeto-molecules-sidebar__link neeto-molecules-sidebar__link--button neeto-ui-shadow-none neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-ui-select-none\"\n data-cy=\"help-button\"\n {...{ ref }}\n >\n <span className=\"neeto-molecules-sidebar__link-icon neeto-ui-flex neeto-ui-items-center neeto-ui-justify-center\">\n <Help size={24} />\n {isPresent(changesCount) && (\n <span\n className=\"neeto-molecules-sidebar__notif-count\"\n data-testid=\"help-icon-changes-count\"\n >\n {changesCount}\n </span>\n )}\n </span>\n <Typography\n className=\"neeto-molecules-sidebar__link-label\"\n component=\"span\"\n style=\"body2\"\n weight=\"normal\"\n >\n {t(\"neetoMolecules.sidebar.helpLinks.helpCenter\")}\n </Typography>\n </button>\n );\n};\n\nexport default forwardRef(HelpSection);\n","import React from \"react\";\n\nimport { isPresent } from \"neetocist\";\nimport KeyboardShortcuts from \"neetomolecules/KeyboardShortcuts\";\nimport { Button } from \"neetoui\";\n\nimport { DEFAULT_HELP_LINK_PROPS } from \"../constants\";\nimport \"../sidebar.scss\";\n\nconst HelpSectionMenu = ({ helpLinkOverrides, changesCount }) => {\n const [, setIsOpen] = KeyboardShortcuts.usePaneState();\n\n const helpLinks = Object.keys(DEFAULT_HELP_LINK_PROPS)\n .map(key => ({\n ...DEFAULT_HELP_LINK_PROPS[key],\n ...helpLinkOverrides[key],\n ...(key === \"keyboardShortcutProps\" && {\n onClick: () => setIsOpen(true),\n }),\n ...(key === \"changelogProps\" && changesCount && { changesCount }),\n }))\n .filter(({ hide }) => !hide);\n\n return (\n <ul className=\"neeto-molecules-help-sublist\">\n {helpLinks.map(({ label, ...buttonProps }, idx) => (\n <li className=\"neeto-molecules-help-sublist__item\" key={idx}>\n <Button\n fullWidth\n className=\"neeto-molecules-help-sublist__item-btn\"\n iconPosition=\"left\"\n iconSize={18}\n style=\"text\"\n {...buttonProps}\n >\n {label}\n {isPresent(buttonProps.changesCount) && (\n <span\n className=\"neeto-molecules-help-sublist__item-btn-count\"\n data-testid=\"help-section-menu-changes-count\"\n >\n {buttonProps.changesCount}\n </span>\n )}\n </Button>\n </li>\n ))}\n </ul>\n );\n};\n\nexport default HelpSectionMenu;\n","import React, { useEffect, useState } from \"react\";\n\nimport { Tooltip } from \"neetoui\";\n\nimport AppSwitcherButton from \"./AppSwitcherButton\";\nimport ProfileButton from \"./ProfileButton\";\n\nimport HelpSection from \"../HelpSection\";\nimport HelpSectionMenu from \"../HelpSection/HelpSectionMenu\";\nimport \"../sidebar.scss\";\n\nconst Footer = ({\n extraTopLinks,\n helpLinkOverrides,\n profileInfoOverrides,\n showAppSwitcher = false,\n}) => {\n const [changesCount, setChangesCount] = useState(null);\n\n useEffect(() => {\n const Nv = {\n onReceiveData: data => {\n if (!data.unreadCount) return;\n setChangesCount(data.unreadCount);\n },\n onShow: () => {\n setChangesCount(null);\n },\n };\n\n window.Nv = window.Nv ? Object.assign(window.Nv, Nv) : Nv;\n }, []);\n\n return (\n <div className=\"neeto-molecules-sidebar__footer neeto-molecules-sidebar__no-shrinkable\">\n <Tooltip\n interactive\n appendTo={() => document.body}\n className=\"neeto-molecules-help-popup-wrapper\"\n content={<HelpSectionMenu {...{ changesCount, helpLinkOverrides }} />}\n hideOnClick={false}\n interactiveDebounce={20}\n offset={[0, -70]}\n position=\"right\"\n theme=\"light\"\n >\n <HelpSection {...{ changesCount }} />\n </Tooltip>\n {showAppSwitcher && <AppSwitcherButton />}\n <ProfileButton {...{ extraTopLinks, profileInfoOverrides }} />\n </div>\n );\n};\n\nexport default Footer;\n","import React from \"react\";\n\nimport { capitalize, findBy } from \"neetocist\";\nimport { useFetchNeetoApps } from \"neetocommons/react-utils\";\nimport { Neeto } from \"neetoicons/typeface-logos\";\nimport * as ProductTypefaceLogos from \"neetoicons/typeface-logos\";\nimport { Link } from \"react-router-dom\";\n\nconst Header = ({ customLogo }) => {\n const productName = globalProps.appName.substr(5);\n const logoName = `Neeto${capitalize(productName.toLowerCase())}`;\n const ProductTypefaceLogo = ProductTypefaceLogos[logoName] ?? Neeto;\n const LogoComponent = customLogo ?? ProductTypefaceLogo;\n\n const { data } = useFetchNeetoApps();\n\n let homePath = \"/\";\n if (data?.neetoApps) {\n const thisApp = findBy({ name: productName }, data.neetoApps);\n if (thisApp?.url) {\n homePath = new URL(thisApp?.url).pathname;\n }\n }\n\n return (\n <div\n className=\"neeto-molecules-sidebar__header neeto-molecules-sidebar__no-shrinkable\"\n data-cy=\"sidebar-info\"\n >\n <Link\n className=\"neeto-molecules-sidebar__logo neeto-ui-w-full\"\n to={homePath}\n >\n <LogoComponent />\n </Link>\n </div>\n );\n};\n\nexport default React.memo(Header);\n","import React from \"react\";\n\nimport { isPresent } from \"neetocist\";\nimport { Typography } from \"neetoui\";\nimport { inc, omit } from \"ramda\";\nimport { NavLink } from \"react-router-dom\";\n\nimport { NAVLINK_KEYS_TO_OMIT } from \"./constants\";\nimport { filterByPermissions, isSubRouteActive } from \"./utils\";\n\nconst Items = ({ items, level = 0, isSettingsItems = false }) => (\n <div\n className={`neeto-molecules-sidebar__sublink-wrapper ml-${level * 2}`}\n data-cy=\"sidebar-sub-link-wrapper\"\n >\n {items\n .filter(filterByPermissions)\n .map(\n (\n { label, to, count, dataCy, items: subItems, ...otherProps },\n index\n ) => (\n <React.Fragment key={index}>\n <NavLink\n {...{ to }}\n activeClassName=\"active\"\n className=\"neeto-ui-flex neeto-ui-items-center neeto-ui-select-none neeto-molecules-sidebar__sublink\"\n data-cy={`${dataCy}-sub-link`}\n key={index}\n isActive={() =>\n isSubRouteActive({ subRoute: to, location, isSettingsItems })\n }\n {...omit(NAVLINK_KEYS_TO_OMIT, otherProps)}\n >\n <Typography\n className=\"neeto-molecules-sidebar__link-sub-label neeto-ui-flex-grow\"\n component=\"span\"\n data-cy={`${dataCy}-sub-link-label`}\n style=\"body2\"\n >\n {label}\n </Typography>\n <Typography\n className=\"neeto-molecules-sidebar__link-sub-count neeto-ui-flex-shrink-0\"\n component=\"span\"\n data-cy={`${dataCy}-sub-link-count`}\n style=\"body2\"\n >\n {count > 999 ? \"999+\" : count}\n </Typography>\n </NavLink>\n {isPresent(subItems) && (\n <Items\n {...{ isSettingsItems }}\n items={subItems}\n level={inc(level)}\n />\n )}\n </React.Fragment>\n )\n )}\n </div>\n);\n\nexport default Items;\n","import React, { useState } from \"react\";\n\nimport classnames from \"classnames\";\nimport { isNotPresent, notEquals } from \"neetocist\";\nimport { Down } from \"neetoicons\";\nimport { Typography } from \"neetoui\";\nimport { equals, is, not } from \"ramda\";\nimport { NavLink, useLocation } from \"react-router-dom\";\n\nimport { SETTINGS } from \"./constants\";\nimport Items from \"./Items\";\nimport { filterByPermissions } from \"./utils\";\n\nconst Links = ({ navLinks, setSelectedNavLink }) => {\n const [isActiveLinkExpanded, setIsActiveLinkExpanded] = useState(true);\n\n const location = useLocation();\n\n const handleNavLinkClick = ({ event, isActive, items, navLink }) => {\n if (isNotPresent(items)) return;\n\n equals(navLink.label, SETTINGS) && setSelectedNavLink(navLink);\n\n if (isActive()) {\n setIsActiveLinkExpanded(not);\n event.preventDefault();\n\n return;\n }\n\n setIsActiveLinkExpanded(true);\n };\n\n return (\n <div className=\"neeto-molecules-sidebar__links neeto-molecules-sidebar__no-shrinkable\">\n {navLinks.filter(filterByPermissions).map((navLink, index) => {\n const { label, to, icon, items, ...otherProps } = navLink;\n const IconSVG = icon;\n const url = new URL(to, window.location.href);\n const isActive = () =>\n is(Function, otherProps.isActive)\n ? otherProps.isActive()\n : location.pathname.startsWith(url.pathname);\n\n const isMenuExpanded = isActive() && isActiveLinkExpanded;\n\n return (\n <React.Fragment key={index}>\n <NavLink\n activeClassName=\"active\"\n className=\"neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-ui-select-none neeto-molecules-sidebar__link\"\n onClick={event =>\n handleNavLinkClick({ event, isActive, items, navLink })\n }\n {...{ isActive, to, ...otherProps }}\n >\n {icon && (\n <span\n className=\"neeto-molecules-sidebar__link-icon\"\n data-testid={label}\n >\n <IconSVG />\n </span>\n )}\n <Typography\n className=\"neeto-molecules-sidebar__link-label\"\n component=\"span\"\n style=\"body2\"\n weight=\"normal\"\n >\n {label}\n </Typography>\n {items && notEquals(label, SETTINGS) && (\n <span\n className={classnames(\n \"neeto-molecules-sidebar__link-icon neeto-molecules-sidebar__link-icon--caret\",\n {\n \"neeto-molecules-sidebar__link-icon--rotate\":\n isMenuExpanded,\n }\n )}\n >\n <Down size={16} />\n </span>\n )}\n </NavLink>\n {items && notEquals(label, SETTINGS) && isMenuExpanded && (\n <Items {...{ items }} />\n )}\n </React.Fragment>\n );\n })}\n </div>\n );\n};\n\nexport default Links;\n","import React from \"react\";\n\nimport { Left } from \"neetoicons\";\nimport { Tooltip, Typography } from \"neetoui\";\nimport { is } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\nimport { NavLink, useLocation } from \"react-router-dom\";\n\nimport Items from \"./Items\";\n\nconst SelectedLink = ({ navLink, setSelectedNavLink }) => {\n const location = useLocation();\n\n const { t } = useTranslation();\n\n const { label, to, items, ...otherProps } = navLink;\n\n const url = new URL(to, window.location.href);\n const isActive = () =>\n is(Function, otherProps.isActive)\n ? otherProps.isActive()\n : location.pathname.startsWith(url.pathname);\n\n const handleGoBack = event => {\n event.preventDefault();\n setSelectedNavLink({});\n };\n\n return (\n <div className=\"neeto-molecules-sidebar__links neeto-molecules-sidebar__links--focus-mode neeto-molecules-sidebar__no-shrinkable\">\n <NavLink\n activeClassName=\"active\"\n className=\"neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-ui-select-none neeto-molecules-sidebar__link\"\n {...{ isActive, to, ...otherProps }}\n >\n <Tooltip content={t(\"neetoMolecules.sidebar.goBack\")} position=\"top\">\n <span\n className=\"neeto-molecules-sidebar__link-icon\"\n data-testid={`${label}-go-back-button`}\n onClick={handleGoBack}\n >\n <Left />\n </span>\n </Tooltip>\n <Typography\n className=\"neeto-molecules-sidebar__link-label\"\n component=\"span\"\n style=\"body2\"\n weight=\"normal\"\n >\n {label}\n </Typography>\n </NavLink>\n {items && <Items {...{ items }} isSettingsItems />}\n </div>\n );\n};\n\nexport default SelectedLink;\n","import React, { useEffect, useState } from \"react\";\n\nimport classnames from \"classnames\";\nimport { isPresent, isNotPresent } from \"neetocist\";\nimport { globalProps } from \"neetocommons/initializers\";\nimport { useLocalStorage } from \"neetocommons/react-utils\";\nimport { Button } from \"neetoui\";\nimport PropTypes from \"prop-types\";\nimport { equals, is, not } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\nimport { useLocation } from \"react-router-dom\";\n\nimport Chevron from \"./Chevron\";\nimport { SETTINGS } from \"./constants\";\nimport Footer from \"./Footer\";\nimport Header from \"./Header\";\nimport Links from \"./Links\";\nimport SelectedLink from \"./SelectedLink\";\nimport \"./sidebar.scss\";\nimport { getSidebarStateLocalStorageKey } from \"./utils\";\n\nconst Sidebar = ({\n navLinks,\n customLogo,\n profileInfoOverrides = {},\n helpLinkOverrides = {},\n extraTopLinks = [],\n showAppSwitcher = true,\n}) => {\n const [isAppSwitcherOpen, setIsAppSwitcherOpen] = useState(false);\n const [selectedNavLink, setSelectedNavLink] = useState({});\n const [isSidebarPaneOpen, setIsSidebarPaneOpen] = useState(false);\n\n const [isSidebarCollapsed, setIsSidebarCollapsed] = useLocalStorage(\n getSidebarStateLocalStorageKey(),\n false\n );\n\n const location = useLocation();\n const { t } = useTranslation();\n\n const isLargerScreen = () => window.innerWidth > 768;\n const isSidebarClosed = isLargerScreen()\n ? isSidebarCollapsed\n : not(isSidebarPaneOpen);\n\n useEffect(() => {\n isAppSwitcherOpen && setIsAppSwitcherOpen(false);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [location]);\n\n useEffect(() => {\n const handleResize = () => {\n if (isLargerScreen()) return;\n setIsSidebarPaneOpen(false);\n setIsSidebarCollapsed(true);\n };\n window.addEventListener(\"resize\", handleResize);\n\n return () => window.removeEventListener(\"resize\", handleResize);\n }, []);\n\n const productName = globalProps.appName.substr(5).toLowerCase();\n\n useEffect(() => {\n const currentLink = navLinks.find(({ to, isActive }) => {\n const url = new URL(to, window.location.href);\n\n return is(Function, isActive)\n ? isActive()\n : location.pathname.startsWith(url.pathname);\n });\n\n if (isPresent(currentLink) && equals(currentLink.label, SETTINGS)) {\n setSelectedNavLink(currentLink);\n }\n }, []);\n\n return (\n <div\n data-testid=\"sidebar-container\"\n className={classnames(\"neeto-molecules-sidebar__wrapper\", {\n \"neeto-molecules-sidebar__wrapper--collapsed\": isLargerScreen()\n ? isSidebarCollapsed\n : not(isSidebarPaneOpen),\n })}\n >\n <div\n className=\"neeto-molecules-sidebar__backdrop\"\n onClick={() => {\n setIsSidebarPaneOpen(false);\n }}\n />\n <div\n data-cy=\"sidebar-wrapper\"\n data-testid=\"sidebar\"\n className={classnames(\n \"neeto-molecules-sidebar neeto-ui-flex neeto-ui-flex-col neeto-ui-flex-shrink-0 neeto-ui-overflow-y-auto neeto-ui-overflow-x-hidden\",\n {\n \"neeto-molecules-sidebar--focus-mode\": isPresent(selectedNavLink),\n }\n )}\n >\n <Header {...{ customLogo }} />\n {isPresent(selectedNavLink) ? (\n <SelectedLink {...{ setSelectedNavLink }} navLink={selectedNavLink} />\n ) : (\n <Links {...{ navLinks, setSelectedNavLink }} />\n )}\n {isNotPresent(selectedNavLink) && (\n <Footer\n {...{\n extraTopLinks,\n helpLinkOverrides,\n profileInfoOverrides,\n showAppSwitcher,\n }}\n />\n )}\n </div>\n <Button\n className=\"neeto-molecules-sidebar__toggler\"\n data-cy=\"neeto-molecules-sidebar-toggler\"\n data-testid=\"sidebar-toggleButton\"\n style={isLargerScreen() ? \"text\" : \"secondary\"}\n icon={() => (\n <Chevron\n style={{ color: `rgb(var(--neeto-${productName}-primary))` }}\n />\n )}\n tooltipProps={{\n content: isSidebarClosed\n ? t(\"neetoMolecules.sidebar.showMenu\")\n : t(\"neetoMolecules.sidebar.hideMenu\"),\n position: \"bottom\",\n }}\n onClick={() => {\n setIsSidebarCollapsed(!isSidebarCollapsed);\n setIsSidebarPaneOpen(not);\n }}\n />\n </div>\n );\n};\n\nSidebar.propTypes = {\n /**\n * To specify the navlinks to be shown in sidebar.\n */\n navLinks: PropTypes.arrayOf(\n PropTypes.shape({\n icon: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),\n label: PropTypes.string,\n to: PropTypes.string,\n isActive: PropTypes.func,\n })\n ),\n /**\n * To specify the profile info to be rendered in the Sidebar\n */\n profileInfoOverrides: PropTypes.shape({\n name: PropTypes.string,\n email: PropTypes.string,\n imageUrl: PropTypes.string,\n customContent: PropTypes.element,\n topLinks: PropTypes.arrayOf(\n PropTypes.shape({\n onClick: PropTypes.func,\n label: PropTypes.string,\n icon: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),\n })\n ),\n bottomLinks: PropTypes.arrayOf(\n PropTypes.shape({\n onClick: PropTypes.func,\n label: PropTypes.string,\n icon: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),\n })\n ),\n }),\n /**\n * To override the values in the help links popover.\n */\n helpLinkOverrides: PropTypes.object,\n /**\n * To add extra items in the user profile popover.\n */\n extraTopLinks: PropTypes.arrayOf(\n PropTypes.shape({\n icon: PropTypes.elementType,\n label: PropTypes.string,\n onClick: PropTypes.func,\n })\n ),\n /**\n * To display the appswitcher above the user profile section.\n */\n showAppSwitcher: PropTypes.bool,\n /**\n * To override the logo displayed on the sidebar.\n */\n customLogo: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),\n};\n\nexport default Sidebar;\n"],"names":["arrayLikeToArray","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","Chevron","_ref","style","React","createElement","height","viewBox","width","d","fill","MY_PROFILE_URL","MY_ORGANIZATION_URL","CHANGELOG_WIDGET_TRIGGER_ID","DEFAULT_HELP_LINK_PROPS","liveChatProps","label","t","icon","ChatEmpty","onClick","_window$NeetoChat","_window$NeetoChat$con","_window$NeetoChat2","_window$NeetoChat2$co","window","NeetoChat","contextualHelp","maximizeWidget","openWidget","helpCenterProps","Book","href","concat","toLower","globalProps","appName","target","changelogProps","id","Gift","keyboardShortcutProps","Keyboard","NAVLINK_KEYS_TO_OMIT","SETTINGS","AppLink","name","description","url","charAt","slice","toLowerCase","AppIcon","AppIcons","rel","className","classnames","capitalize","size","NeetoIcon","color","Typography","component","lineHeight","weight","memo","Body","_useTranslation","useTranslation","_useState","useState","_useState2","_slicedToArray","searchTerm","setSearchTerm","_useFetchNeetoApps","useFetchNeetoApps","data","substring","replace","filteredApps","neetoApps","filter","includes","handleSearch","e","value","Fragment","Input","autoFocus","placeholder","prefix","Search","type","onChange","length","map","app","_extends","key","AppSwitcher","AppSwitcherButton","hasHovered","setHasHovered","refetchNeetoApps","refetch","isStale","Tooltip","interactive","appendTo","document","body","content","delay","disabled","hideOnClick","offset","position","strategy","theme","onMouseEnter","Spinner","NeetoUIAppSwitcherIcon","isSubRouteActive","subRoute","location","isSettingsItems","currentBrowserUrl","URL","pathname","search","origin","targetUrl","startsWith","targetSearchParams","searchParams","targetSearchKeys","Array","from","keys","targetUrlWithSearch","currentUrlWithSearch","isLinkActive","all","get","equals","getSidebarStateLocalStorageKey","_globalProps$user","_globalProps$user2","user","email","phoneNumber","filterByPermissions","curry","_ref2","permissions","is","some","__","getProfileInfo","isOwner","profileInfoOverrides","_globalProps$user3","_globalProps$user4","_globalProps$user5","mergeDeepLeft","firstName","lastName","imageUrl","profileImageUrl","topLinks","User","open","Settings","Boolean","bottomLinks","LeftArrow","resetAuthTokens","localStorage","removeItem","ProfileSection","ref","profileInfo","Avatar","truncate","forwardRef","arrayWithoutHoles","iterableToArray","nonIterableSpread","toPrimitive","toPropertyKey","objectWithoutPropertiesLoose","LinkSection","links","idx","_ref2$icon","otherProps","_objectWithoutProperties","_excluded","Button","fullWidth","iconPosition","iconSize","_objectSpread","ProfileMenu","extraTopLinks","customContent","title","_toConsumableArray","ProfileButton","interactiveDebounce","HelpSection","changesCount","Help","isPresent","HelpSectionMenu","helpLinkOverrides","_KeyboardShortcuts$us","KeyboardShortcuts","usePaneState","_KeyboardShortcuts$us2","setIsOpen","helpLinks","Object","hide","_ref3","buttonProps","Footer","_ref$showAppSwitcher","showAppSwitcher","setChangesCount","useEffect","Nv","onReceiveData","unreadCount","onShow","assign","Header","_ProductTypefaceLogos","customLogo","productName","substr","logoName","ProductTypefaceLogo","ProductTypefaceLogos","Neeto","LogoComponent","homePath","thisApp","findBy","Link","to","Items","items","_ref$level","level","_ref$isSettingsItems","index","count","dataCy","subItems","NavLink","activeClassName","isActive","omit","inc","Links","navLinks","setSelectedNavLink","isActiveLinkExpanded","setIsActiveLinkExpanded","useLocation","handleNavLinkClick","event","navLink","isNotPresent","not","preventDefault","IconSVG","Function","isMenuExpanded","notEquals","Down","SelectedLink","handleGoBack","Left","Sidebar","_ref$profileInfoOverr","_ref$helpLinkOverride","_ref$extraTopLinks","isAppSwitcherOpen","setIsAppSwitcherOpen","_useState3","_useState4","selectedNavLink","_useState5","_useState6","isSidebarPaneOpen","setIsSidebarPaneOpen","_useLocalStorage","useLocalStorage","_useLocalStorage2","isSidebarCollapsed","setIsSidebarCollapsed","isLargerSc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KAAK,EAAE;UAAEyD,KAAK,EAAA,kBAAA,CAAA3B,MAAA,CAAqB+M,WAAW,EAAA,YAAA,CAAA;AAAa,SAAA;AAAE,OAC9D,CAAC,CAAA;KACF;AACFwE,IAAAA,YAAY,EAAE;MACZxM,OAAO,EAAEkM,eAAe,GACpBjS,CAAC,CAAC,iCAAiC,CAAC,GACpCA,CAAC,CAAC,iCAAiC,CAAC;AACxCoG,MAAAA,QAAQ,EAAE,QAAA;KACV;IACFjG,OAAO,EAAE,SAAAA,OAAAA,GAAM;MACb2R,qBAAqB,CAAC,CAACD,kBAAkB,CAAC,CAAA;MAC1CJ,oBAAoB,CAACtB,GAAG,CAAC,CAAA;AAC3B,KAAA;AAAE,GACH,CACE,CAAC,CAAA;AAEV;;;;"}
1
+ {"version":3,"file":"Sidebar.js","sources":["../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","../node_modules/@babel/runtime/helpers/esm/slicedToArray.js","../src/components/Sidebar/Chevron.jsx","../node_modules/rollup-plugin-styles/dist/runtime/inject-css.js","../node_modules/@babel/runtime/helpers/esm/extends.js","../src/components/Sidebar/AppSwitcher/AppLink.jsx","../src/components/Sidebar/AppSwitcher/Body.jsx","../src/components/Sidebar/AppSwitcher/index.jsx","../src/components/Sidebar/Footer/AppSwitcherButton.jsx","../src/components/Sidebar/constants.js","../src/components/Sidebar/utils.js","../src/components/Sidebar/Footer/utils.js","../src/components/Sidebar/ProfileSection/index.jsx","../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","../src/components/Sidebar/ProfileSection/LinkSection.jsx","../src/components/Sidebar/ProfileSection/ProfileMenu.jsx","../src/components/Sidebar/Footer/ProfileButton.jsx","../src/components/Sidebar/HelpSection/index.jsx","../src/components/Sidebar/HelpSection/HelpSectionMenu.jsx","../src/components/Sidebar/Footer/index.jsx","../src/components/Sidebar/Header.jsx","../src/components/Sidebar/Links.jsx","../src/components/Sidebar/index.jsx"],"sourcesContent":["export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","import React from \"react\";\n\nconst Chevron = ({ style }) => (\n <svg height=\"16\" viewBox=\"0 0 16 16\" width=\"16\" {...{ style }}>\n <path\n d=\"M7.07031 13.8887C7.2207 14.0391 7.40527 14.1211 7.62402 14.1211C8.06836 14.1211 8.41699 13.7725 8.41699 13.3281C8.41699 13.1094 8.32812 12.9043 8.17773 12.7539L3.37207 8.05762L8.17773 3.375C8.32812 3.21777 8.41699 3.0127 8.41699 2.80078C8.41699 2.35645 8.06836 2.00781 7.62402 2.00781C7.40527 2.00781 7.2207 2.08984 7.07031 2.24023L1.73828 7.44922C1.56055 7.62012 1.46484 7.8252 1.46484 8.06445C1.46484 8.29688 1.55371 8.49512 1.73828 8.67969L7.07031 13.8887ZM13.1748 13.8887C13.3252 14.0391 13.5098 14.1211 13.7354 14.1211C14.1797 14.1211 14.5283 13.7725 14.5283 13.3281C14.5283 13.1094 14.4395 12.9043 14.2891 12.7539L9.4834 8.05762L14.2891 3.375C14.4395 3.21777 14.5283 3.0127 14.5283 2.80078C14.5283 2.35645 14.1797 2.00781 13.7354 2.00781C13.5098 2.00781 13.3252 2.08984 13.1748 2.24023L7.84961 7.44922C7.66504 7.62012 7.57617 7.8252 7.56934 8.06445C7.56934 8.29688 7.66504 8.49512 7.84961 8.67969L13.1748 13.8887Z\"\n fill=\"currentColor\"\n />\n </svg>\n);\n\nexport default Chevron;\n","var e=[],t=[];function n(n,r){if(n&&\"undefined\"!=typeof document){var a,s=!0===r.prepend?\"prepend\":\"append\",d=!0===r.singleTag,i=\"string\"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName(\"head\")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c()}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n))}function c(){var e=document.createElement(\"style\");if(e.setAttribute(\"type\",\"text/css\"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a=\"prepend\"===s?\"afterbegin\":\"beforeend\";return i.insertAdjacentElement(a,e),e}}export{n as default};\n","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import React from \"react\";\n\nimport classnames from \"classnames\";\nimport { capitalize } from \"neetocist\";\nimport { NeetoIcon } from \"neetoicons\";\nimport * as AppIcons from \"neetoicons/app-icons\";\nimport { Typography } from \"neetoui\";\n\nimport \"./appswitcher.scss\";\n\nconst AppLink = ({ name, description, url }) => {\n const appName = `Neeto${name.charAt(0)}${name.slice(1).toLowerCase()}`;\n const AppIcon = AppIcons[appName];\n\n return (\n <a\n data-cy={`${name}-app-link`}\n data-test-id={`neetoapp-link-${name}`}\n href={url}\n rel=\"noreferrer\"\n target=\"_blank\"\n className={classnames(\"neeto-molecules-app-switcher-link\", {\n \"neeto-molecules-app-switcher-link--active\":\n capitalize(globalProps.appName) === appName,\n })}\n >\n <div\n className={classnames(\n \"neeto-molecules-app-switcher-link__icon-holder\",\n { \"neeto-ui-bg-primary-500\": !AppIcon }\n )}\n >\n {AppIcon ? (\n <AppIcon size={42} />\n ) : (\n <NeetoIcon color=\"white\" size={42} />\n )}\n </div>\n <div className=\"neeto-molecules-app-switcher-link__content\">\n <Typography\n component=\"span\"\n lineHeight=\"relaxed\"\n style=\"h4\"\n weight=\"medium\"\n >\n {name}\n </Typography>\n <Typography component=\"span\" style=\"body3\" weight=\"normal\">\n {description}\n </Typography>\n </div>\n </a>\n );\n};\n\nexport default React.memo(AppLink);\n","import React, { useState } from \"react\";\n\nimport { useFetchNeetoApps } from \"neetocommons/react-utils\";\nimport { Search } from \"neetoicons\";\nimport { Input, Typography } from \"neetoui\";\nimport { useTranslation } from \"react-i18next\";\n\nimport AppLink from \"./AppLink\";\nimport \"./appswitcher.scss\";\n\nconst Body = () => {\n const { t } = useTranslation();\n const [searchTerm, setSearchTerm] = useState(\"\");\n const { data } = useFetchNeetoApps();\n\n const substring = searchTerm.replace(/ /g, \"\").toLowerCase();\n const filteredApps = data?.neetoApps.filter(({ name }) =>\n name.toLowerCase().includes(substring)\n );\n\n const handleSearch = e => setSearchTerm(e.target.value);\n\n return (\n <>\n <div\n className=\"neeto-molecules-app-switcher__header\"\n data-cy=\"app-switcher-body-wrapper\"\n >\n <Typography style=\"h1\">\n {t(\"neetoMolecules.appSwitcher.chooseNeetoProduct\")}\n </Typography>\n <div className=\"neeto-molecules-app-switcher__search-wrapper\">\n <Input\n autoFocus\n data-cy=\"app-switcher-search-input\"\n placeholder={t(\"neetoMolecules.appSwitcher.searchProducts\")}\n prefix={<Search />}\n type=\"search\"\n value={searchTerm}\n onChange={handleSearch}\n />\n </div>\n </div>\n <div className=\"neeto-molecules-app-switcher__body\">\n {filteredApps?.length > 0 ? (\n <div className=\"neeto-molecules-app-switcher__grid\">\n {filteredApps.map(app => (\n <AppLink key={app.name} {...app} />\n ))}\n </div>\n ) : (\n <Typography className=\"neeto-ui-text-center\" style=\"body1\">\n {t(\"neetoMolecules.appSwitcher.noApps\")}\n </Typography>\n )}\n </div>\n </>\n );\n};\n\nexport default Body;\n","import React from \"react\";\n\nimport \"./appswitcher.scss\";\nimport Body from \"./Body\";\n\nconst AppSwitcher = () => (\n <div\n className=\"neeto-molecules-app-switcher__wrapper\"\n data-cy=\"switcher-wrapper\"\n data-testid=\"switcher-wrapper\"\n key=\"switcher-wrapper\"\n >\n <Body />\n </div>\n);\n\nexport default AppSwitcher;\n","import React, { useState } from \"react\";\n\nimport { useFetchNeetoApps } from \"neetocommons/react-utils\";\nimport { AppSwitcher as NeetoUIAppSwitcherIcon } from \"neetoicons\";\nimport { Typography, Spinner, Tooltip } from \"neetoui\";\nimport { useTranslation } from \"react-i18next\";\n\nimport AppSwitcher from \"../AppSwitcher\";\nimport \"../sidebar.scss\";\n\nconst AppSwitcherButton = () => {\n const { t } = useTranslation();\n const [hasHovered, setHasHovered] = useState(false);\n\n const { data, refetch: refetchNeetoApps, isStale } = useFetchNeetoApps();\n\n return (\n <Tooltip\n interactive\n appendTo={() => document.body}\n className=\"neeto-molecules-app-switcher-popup-wrapper\"\n content={<AppSwitcher />}\n delay={[300, null]}\n disabled={!data}\n hideOnClick={false}\n offset={[0, -70]}\n position=\"right\"\n strategy=\"fixed\"\n theme=\"light\"\n >\n <button\n className=\"neeto-molecules-sidebar__link neeto-molecules-sidebar__link--app-switcher neeto-molecules-sidebar__link--button neeto-ui-flex neeto-ui-w-full neeto-ui-select-none neeto-ui-items-center neeto-ui-justify-start neeto-ui-shadow-none\"\n data-cy=\"app-switcher-button\"\n data-testid=\"app-switcher-button\"\n onMouseEnter={() => {\n if (hasHovered || !isStale) return;\n refetchNeetoApps();\n setHasHovered(true);\n }}\n >\n <span className=\"neeto-molecules-sidebar__link-icon neeto-ui-flex neeto-ui-items-center neeto-ui-justify-center h-6 w-6\">\n {!data && hasHovered ? (\n <span data-testid=\"app-switcher-button-loader\">\n <Spinner />\n </span>\n ) : (\n <NeetoUIAppSwitcherIcon size={24} />\n )}\n </span>\n <Typography\n className=\"neeto-molecules-sidebar__link-label\"\n component=\"span\"\n style=\"body2\"\n weight=\"normal\"\n >\n {t(\"neetoMolecules.sidebar.productSwitcher\")}\n </Typography>\n </button>\n </Tooltip>\n );\n};\n\nexport default AppSwitcherButton;\n","import { t } from \"i18next\";\nimport { Book, Keyboard, Gift, ChatEmpty } from \"neetoicons\";\nimport { toLower } from \"ramda\";\n\nexport const MY_PROFILE_URL = \"/auth/profile/edit\";\nexport const MY_ORGANIZATION_URL = \"/auth/organization/edit\";\nexport const CHANGELOG_WIDGET_TRIGGER_ID = \"neetochangelog-trigger\";\nexport const PRODUCT_LOGO_WIDTH = 40;\nexport const PRODUCT_LOGO_HEIGHT = 40;\n\nexport const DEFAULT_HELP_LINK_PROPS = {\n liveChatProps: {\n label: t(\"neetoMolecules.sidebar.helpLinks.liveChat\"),\n icon: ChatEmpty,\n \"data-cy\": \"help-link-live-chat-button\",\n onClick: () => {\n window.NeetoChat?.contextualHelp?.maximizeWidget();\n window.NeetoChat?.contextualHelp?.openWidget();\n },\n },\n helpCenterProps: {\n label: t(\"neetoMolecules.sidebar.helpLinks.helpArticles\"),\n icon: Book,\n \"data-cy\": \"help-link-help-center-button\",\n href: `https://help.${toLower(globalProps.appName)}.com/`,\n target: \"_blank\",\n },\n changelogProps: {\n id: CHANGELOG_WIDGET_TRIGGER_ID,\n label: t(\"neetoMolecules.sidebar.helpLinks.whatsNew\"),\n icon: Gift,\n \"data-cy\": \"help-link-changelog-button\",\n },\n keyboardShortcutProps: {\n label: t(\"neetoMolecules.sidebar.helpLinks.keyboardShortcuts\"),\n icon: Keyboard,\n \"data-cy\": \"help-link-keyboard-shortcut-button\",\n },\n};\n\nexport const QUERY_CACHE_KEY = \"queryCache\";\nexport const NEETO_APPS_QUERY_KEY = \"neeto-apps-list\";\n","import { all } from \"ramda\";\n\nexport const isSubRouteActive = (subRoute, location) => {\n const currentBrowserUrl = new URL(\n location.pathname + location.search,\n window.location.origin\n );\n const targetUrl = new URL(subRoute, window.location.origin);\n\n if (!currentBrowserUrl.pathname.startsWith(targetUrl.pathname)) {\n return false;\n }\n\n const targetSearchParams = targetUrl.searchParams;\n const targetSearchKeys = Array.from(targetSearchParams.keys());\n\n return all(\n key =>\n currentBrowserUrl.searchParams.get(key) === targetSearchParams.get(key),\n targetSearchKeys\n );\n};\n\nexport const getSidebarStateLocalStorageKey = () => {\n const user = globalProps.user?.email || globalProps.user?.phoneNumber;\n\n return `sidebarState-${user}`;\n};\n","import { t } from \"i18next\";\nimport { resetAuthTokens } from \"neetocommons/utils\";\nimport { User, Settings, LeftArrow } from \"neetoicons\";\nimport { mergeDeepLeft } from \"ramda\";\n\nimport { MY_PROFILE_URL, MY_ORGANIZATION_URL } from \"../constants\";\nimport { getSidebarStateLocalStorageKey } from \"../utils\";\n\nexport const getProfileInfo = (isOwner, profileInfoOverrides) =>\n mergeDeepLeft(profileInfoOverrides, {\n name: `${globalProps.user?.firstName} ${globalProps.user?.lastName}`,\n imageUrl: globalProps.user?.profileImageUrl,\n email: globalProps.user?.email || globalProps.user?.phoneNumber,\n topLinks: [\n {\n label: t(\"neetoMolecules.sidebar.myProfile\"),\n icon: User,\n onClick: () => window.open(MY_PROFILE_URL, \"_blank\"),\n \"data-cy\": \"my-profile-button\",\n },\n isOwner && {\n label: t(\"neetoMolecules.sidebar.myOrganization\"),\n icon: Settings,\n onClick: () => window.open(MY_ORGANIZATION_URL, \"_blank\"),\n \"data-cy\": \"profile-organization-settings-button\",\n },\n ].filter(Boolean),\n bottomLinks: [\n {\n icon: LeftArrow,\n label: t(\"neetoMolecules.sidebar.logout\"),\n onClick: () => {\n resetAuthTokens();\n localStorage.removeItem(getSidebarStateLocalStorageKey());\n window.location.href = \"/logout\";\n },\n \"data-cy\": \"profile-logout-button\",\n },\n ],\n });\n","import React, { forwardRef, useState } from \"react\";\n\nimport { truncate } from \"neetocist\";\nimport { useFetchNeetoApps } from \"neetocommons/react-utils\";\nimport { Avatar, Typography, Spinner } from \"neetoui\";\n\nimport \"../sidebar.scss\";\n\nconst ProfileSection = ({ profileInfo }, ref) => {\n const [hasHovered, setHasHovered] = useState(false);\n\n const { data, refetch: refetchNeetoApps, isStale } = useFetchNeetoApps();\n\n return (\n <button\n className=\"neeto-molecules-sidebar__link neeto-molecules-sidebar__link--button neeto-ui-shadow-none neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-ui-select-none\"\n data-cy=\"profile-section\"\n data-testid=\"profile-section\"\n {...{ ref }}\n onMouseEnter={() => {\n if (!hasHovered && isStale) {\n refetchNeetoApps();\n setHasHovered(true);\n }\n }}\n >\n {!data && hasHovered ? (\n <span data-testid=\"profile-avatar-loader\">\n <Spinner />\n </span>\n ) : (\n <>\n <Avatar\n className=\"neeto-ui-flex-shrink-0 neeto-molecules-sidebar__profile-avatar\"\n data-testid=\"profile-avatar\"\n size=\"small\"\n user={profileInfo}\n />\n <Typography\n className=\"neeto-molecules-sidebar__link-label\"\n component=\"span\"\n style=\"body2\"\n weight=\"normal\"\n >\n {truncate(profileInfo.name, 18)}\n </Typography>\n </>\n )}\n </button>\n );\n};\n\nexport default forwardRef(ProfileSection);\n","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}","import React from \"react\";\n\nimport { Button } from \"neetoui\";\n\nimport \"../sidebar.scss\";\n\nconst LinkSection = ({ links }) => (\n <ul className=\"neeto-molecules-profile-sublist\">\n {links.map(({ onClick, label, icon = null, ...otherProps }, idx) => (\n <li className=\"neeto-molecules-profile-sublist__item\" key={idx}>\n <Button\n fullWidth\n className=\"neeto-molecules-profile-sublist__item-btn\"\n iconPosition=\"left\"\n iconSize={18}\n style=\"text\"\n {...{ icon, label, onClick, ...otherProps }}\n />\n </li>\n ))}\n </ul>\n);\n\nexport default LinkSection;\n","import React from \"react\";\n\nimport classnames from \"classnames\";\nimport { truncate } from \"neetocist\";\nimport { Avatar, Typography } from \"neetoui\";\n\nimport LinkSection from \"./LinkSection\";\n\nimport \"../sidebar.scss\";\n\nconst ProfileMenu = ({ profileInfo, extraTopLinks }) => {\n const { name, email, topLinks, bottomLinks, customContent } = profileInfo;\n\n return (\n <div\n className=\"neeto-ui-flex neeto-ui-flex-col neeto-molecules-profile-popup\"\n data-cy=\"profile-popup\"\n data-testid=\"profile-popup\"\n >\n <div\n className={classnames(\n \"neeto-ui-relative neeto-ui-flex neeto-ui-items-center neeto-ui-p-3 neeto-ui-bg-primary-100 neeto-molecules-profile-popup__top-section\"\n )}\n >\n <div className=\"top-0 left-0\">\n <Avatar size=\"large\" user={profileInfo} />\n </div>\n <div className=\"neeto-ui-flex neeto-ui-flex-col neeto-ui-flex-grow neeto-ui-min-w-0 neeto-ui-pl-3\">\n <Typography\n className=\"neeto-ui-m-0\"\n component=\"h2\"\n lineHeight=\"tight\"\n style=\"h5\"\n title={name}\n weight=\"semibold\"\n >\n {truncate(name, 18)}\n </Typography>\n {email && (\n <Typography\n className=\"neeto-ui-w-full neeto-ui-truncate neeto-ui-text-gray-700\"\n lineHeight=\"tight\"\n style=\"body3\"\n >\n {email}\n </Typography>\n )}\n </div>\n </div>\n <div className=\"neeto-molecules-sidebar__profile-wrapper-custom-content\">\n {customContent}\n </div>\n {topLinks && <LinkSection links={[...extraTopLinks, ...topLinks]} />}\n {bottomLinks && <LinkSection links={bottomLinks} />}\n </div>\n );\n};\n\nexport default ProfileMenu;\n","import React from \"react\";\n\nimport { useFetchNeetoApps } from \"neetocommons/react-utils\";\nimport { Tooltip } from \"neetoui\";\n\nimport { getProfileInfo } from \"./utils\";\n\nimport ProfileSection from \"../ProfileSection\";\nimport ProfileMenu from \"../ProfileSection/ProfileMenu\";\n\nconst ProfileButton = ({ extraTopLinks, profileInfoOverrides }) => {\n const { data } = useFetchNeetoApps();\n const profileInfo = getProfileInfo(data?.isOwner, profileInfoOverrides);\n\n return (\n <Tooltip\n interactive\n appendTo={() => document.body}\n className=\"neeto-molecules-profile-popup-wrapper\"\n content={<ProfileMenu {...{ extraTopLinks, profileInfo }} />}\n disabled={!data}\n hideOnClick={false}\n interactiveDebounce={20}\n offset={[0, -70]}\n position=\"right\"\n strategy=\"fixed\"\n theme=\"light\"\n >\n <ProfileSection {...{ profileInfo }} />\n </Tooltip>\n );\n};\n\nexport default ProfileButton;\n","import React, { forwardRef } from \"react\";\n\nimport { isPresent } from \"neetocist\";\nimport { Help } from \"neetoicons\";\nimport { Typography } from \"neetoui\";\nimport { useTranslation } from \"react-i18next\";\n\nimport \"../sidebar.scss\";\n\n// Rule can be enabled once the ticket - https://github.com/bigbinary/neeto-commons-frontend/issues/905 is closed.\n// eslint-disable-next-line @bigbinary/neeto/no-dumb-components-with-use-translation\nconst HelpSection = ({ changesCount }, ref) => {\n const { t } = useTranslation();\n\n return (\n <button\n className=\"neeto-molecules-sidebar__link neeto-molecules-sidebar__link--button neeto-ui-shadow-none neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-ui-select-none\"\n data-cy=\"help-button\"\n {...{ ref }}\n >\n <span className=\"neeto-molecules-sidebar__link-icon neeto-ui-flex neeto-ui-items-center neeto-ui-justify-center\">\n <Help size={24} />\n {isPresent(changesCount) && (\n <span\n className=\"neeto-molecules-sidebar__notif-count\"\n data-testid=\"help-icon-changes-count\"\n >\n {changesCount}\n </span>\n )}\n </span>\n <Typography\n className=\"neeto-molecules-sidebar__link-label\"\n component=\"span\"\n style=\"body2\"\n weight=\"normal\"\n >\n {t(\"neetoMolecules.sidebar.helpLinks.helpCenter\")}\n </Typography>\n </button>\n );\n};\n\nexport default forwardRef(HelpSection);\n","import React from \"react\";\n\nimport { isPresent } from \"neetocist\";\nimport KeyboardShortcuts from \"neetomolecules/KeyboardShortcuts\";\nimport { Button } from \"neetoui\";\n\nimport { DEFAULT_HELP_LINK_PROPS } from \"../constants\";\nimport \"../sidebar.scss\";\n\nconst HelpSectionMenu = ({ helpLinkOverrides, changesCount }) => {\n const [, setIsOpen] = KeyboardShortcuts.usePaneState();\n\n const helpLinks = Object.keys(DEFAULT_HELP_LINK_PROPS)\n .map(key => ({\n ...DEFAULT_HELP_LINK_PROPS[key],\n ...helpLinkOverrides[key],\n ...(key === \"keyboardShortcutProps\" && {\n onClick: () => setIsOpen(true),\n }),\n ...(key === \"changelogProps\" && changesCount && { changesCount }),\n }))\n .filter(({ hide }) => !hide);\n\n return (\n <ul className=\"neeto-molecules-help-sublist\">\n {helpLinks.map(({ label, ...buttonProps }, idx) => (\n <li className=\"neeto-molecules-help-sublist__item\" key={idx}>\n <Button\n fullWidth\n className=\"neeto-molecules-help-sublist__item-btn\"\n iconPosition=\"left\"\n iconSize={18}\n style=\"text\"\n {...buttonProps}\n >\n {label}\n {isPresent(buttonProps.changesCount) && (\n <span\n className=\"neeto-molecules-help-sublist__item-btn-count\"\n data-testid=\"help-section-menu-changes-count\"\n >\n {buttonProps.changesCount}\n </span>\n )}\n </Button>\n </li>\n ))}\n </ul>\n );\n};\n\nexport default HelpSectionMenu;\n","import React, { useEffect, useState } from \"react\";\n\nimport { Tooltip } from \"neetoui\";\n\nimport AppSwitcherButton from \"./AppSwitcherButton\";\nimport ProfileButton from \"./ProfileButton\";\n\nimport HelpSection from \"../HelpSection\";\nimport HelpSectionMenu from \"../HelpSection/HelpSectionMenu\";\nimport \"../sidebar.scss\";\n\nconst Footer = ({\n extraTopLinks,\n helpLinkOverrides,\n profileInfoOverrides,\n showAppSwitcher = false,\n}) => {\n const [changesCount, setChangesCount] = useState(null);\n\n useEffect(() => {\n const Nv = {\n onReceiveData: data => {\n if (!data.unreadCount) return;\n setChangesCount(data.unreadCount);\n },\n onShow: () => {\n setChangesCount(null);\n },\n };\n\n window.Nv = window.Nv ? Object.assign(window.Nv, Nv) : Nv;\n }, []);\n\n return (\n <div className=\"neeto-molecules-sidebar__footer neeto-molecules-sidebar__no-shrinkable\">\n <Tooltip\n interactive\n appendTo={() => document.body}\n className=\"neeto-molecules-help-popup-wrapper\"\n content={<HelpSectionMenu {...{ changesCount, helpLinkOverrides }} />}\n hideOnClick={false}\n interactiveDebounce={20}\n offset={[0, -70]}\n position=\"right\"\n theme=\"light\"\n >\n <HelpSection {...{ changesCount }} />\n </Tooltip>\n {showAppSwitcher && <AppSwitcherButton />}\n <ProfileButton {...{ extraTopLinks, profileInfoOverrides }} />\n </div>\n );\n};\n\nexport default Footer;\n","import React from \"react\";\n\nimport { capitalize, findBy } from \"neetocist\";\nimport { useFetchNeetoApps } from \"neetocommons/react-utils\";\nimport { Neeto } from \"neetoicons/typeface-logos\";\nimport * as ProductTypefaceLogos from \"neetoicons/typeface-logos\";\nimport { Link } from \"react-router-dom\";\n\nconst Header = ({ customLogo }) => {\n const productName = globalProps.appName.substr(5);\n const logoName = `Neeto${capitalize(productName.toLowerCase())}`;\n const ProductTypefaceLogo = ProductTypefaceLogos[logoName] ?? Neeto;\n const LogoComponent = customLogo ?? ProductTypefaceLogo;\n\n const { data } = useFetchNeetoApps();\n\n let homePath = \"/\";\n if (data?.neetoApps) {\n const thisApp = findBy({ name: productName }, data.neetoApps);\n if (thisApp?.url) {\n homePath = new URL(thisApp?.url).pathname;\n }\n }\n\n return (\n <div\n className=\"neeto-molecules-sidebar__header neeto-molecules-sidebar__no-shrinkable\"\n data-cy=\"sidebar-info\"\n >\n <Link\n className=\"neeto-molecules-sidebar__logo neeto-ui-w-full\"\n to={homePath}\n >\n <LogoComponent />\n </Link>\n </div>\n );\n};\n\nexport default React.memo(Header);\n","import React, { useState } from \"react\";\n\nimport classnames from \"classnames\";\nimport { isNotPresent } from \"neetocist\";\nimport { globalProps } from \"neetocommons/initializers\";\nimport { Down } from \"neetoicons\";\nimport { Typography } from \"neetoui\";\nimport { __, curry, includes, is, not } from \"ramda\";\nimport { NavLink, useLocation } from \"react-router-dom\";\n\nimport { isSubRouteActive } from \"./utils\";\n\nconst Links = ({ navLinks }) => {\n const location = useLocation();\n const [isActiveLinkExpanded, setIsActiveLinkExpanded] = useState(true);\n\n const filterByPermissions = curry(({ permissions }) => {\n if (permissions) {\n return is(Array, permissions)\n ? permissions.some(includes(__, globalProps.permissions))\n : globalProps.permissions.includes(permissions);\n }\n\n return true;\n });\n\n const handleNavLinkClick = (event, isActive, items) => {\n if (isNotPresent(items)) return;\n\n if (isActive()) {\n setIsActiveLinkExpanded(not);\n event.preventDefault();\n\n return;\n }\n\n setIsActiveLinkExpanded(true);\n };\n\n return (\n <div className=\"neeto-molecules-sidebar__links neeto-molecules-sidebar__no-shrinkable\">\n {navLinks\n .filter(filterByPermissions)\n .map(({ label, to, icon, items, ...otherProps }, mainIndex) => {\n const IconSVG = icon;\n const url = new URL(to, window.location.href);\n const isActive = () =>\n is(Function, otherProps.isActive)\n ? otherProps.isActive()\n : location.pathname.startsWith(url.pathname);\n\n const isMenuExpanded = isActive() && isActiveLinkExpanded;\n\n return (\n <React.Fragment key={mainIndex}>\n <NavLink\n activeClassName=\"active\"\n className=\"neeto-ui-flex neeto-ui-items-center neeto-ui-no-underline neeto-ui-select-none neeto-molecules-sidebar__link\"\n onClick={event => handleNavLinkClick(event, isActive, items)}\n {...{ isActive, to, ...otherProps }}\n >\n {icon && (\n <span\n className=\"neeto-molecules-sidebar__link-icon\"\n data-testid={label}\n >\n <IconSVG />\n </span>\n )}\n <Typography\n className=\"neeto-molecules-sidebar__link-label\"\n component=\"span\"\n style=\"body2\"\n weight=\"normal\"\n >\n {label}\n </Typography>\n {items && (\n <span\n className={classnames(\n \"neeto-molecules-sidebar__link-icon neeto-molecules-sidebar__link-icon--caret\",\n {\n \"neeto-molecules-sidebar__link-icon--rotate\":\n isMenuExpanded,\n }\n )}\n >\n <Down size={16} />\n </span>\n )}\n </NavLink>\n {items && isMenuExpanded && (\n <div\n className=\"neeto-molecules-sidebar__sublink-wrapper\"\n data-cy=\"sidebar-sub-link-wrapper\"\n >\n {items\n .filter(filterByPermissions)\n .map(\n (\n {\n label: subLabel,\n to: subRoute,\n count,\n \"data-cy\": dataCy,\n ...otherProps\n },\n subIndex\n ) => (\n <NavLink\n activeClassName=\"active\"\n className=\"neeto-molecules-sidebar__sublink neeto-ui-flex neeto-ui-items-center neeto-ui-select-none\"\n data-cy={`${dataCy}-sub-link`}\n isActive={() => isSubRouteActive(subRoute, location)}\n key={subIndex}\n to={subRoute}\n {...otherProps}\n >\n <Typography\n className=\"neeto-molecules-sidebar__link-sub-label neeto-ui-flex-grow\"\n component=\"span\"\n data-cy={`${dataCy}-sub-link-label`}\n style=\"body2\"\n >\n {subLabel}\n </Typography>\n <Typography\n className=\"neeto-molecules-sidebar__link-sub-count neeto-ui-flex-shrink-0\"\n component=\"span\"\n data-cy={`${dataCy}-sub-link-count`}\n style=\"body2\"\n >\n {count > 999 ? \"999+\" : count}\n </Typography>\n </NavLink>\n )\n )}\n </div>\n )}\n </React.Fragment>\n );\n })}\n </div>\n );\n};\n\nexport default Links;\n","import React, { useEffect, useState } from \"react\";\n\nimport classnames from \"classnames\";\nimport { globalProps } from \"neetocommons/initializers\";\nimport { useLocalStorage } from \"neetocommons/react-utils\";\nimport { Button } from \"neetoui\";\nimport PropTypes from \"prop-types\";\nimport { not } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\nimport { useLocation } from \"react-router-dom\";\n\nimport Chevron from \"./Chevron\";\nimport Footer from \"./Footer\";\nimport Header from \"./Header\";\nimport Links from \"./Links\";\nimport \"./sidebar.scss\";\nimport { getSidebarStateLocalStorageKey } from \"./utils\";\n\nconst Sidebar = ({\n navLinks,\n customLogo,\n profileInfoOverrides = {},\n helpLinkOverrides = {},\n extraTopLinks = [],\n showAppSwitcher = true,\n}) => {\n const [isAppSwitcherOpen, setIsAppSwitcherOpen] = useState(false);\n const [isSidebarPaneOpen, setIsSidebarPaneOpen] = useState(false);\n\n const [isSidebarCollapsed, setIsSidebarCollapsed] = useLocalStorage(\n getSidebarStateLocalStorageKey(),\n false\n );\n\n const location = useLocation();\n const { t } = useTranslation();\n\n const isLargerScreen = () => window.innerWidth > 768;\n const isSidebarClosed = isLargerScreen()\n ? isSidebarCollapsed\n : not(isSidebarPaneOpen);\n\n useEffect(() => {\n isAppSwitcherOpen && setIsAppSwitcherOpen(false);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [location]);\n\n useEffect(() => {\n const handleResize = () => {\n if (isLargerScreen()) return;\n setIsSidebarPaneOpen(false);\n setIsSidebarCollapsed(true);\n };\n window.addEventListener(\"resize\", handleResize);\n\n return () => window.removeEventListener(\"resize\", handleResize);\n }, []);\n\n const productName = globalProps.appName.substr(5).toLowerCase();\n\n return (\n <div\n data-testid=\"sidebar-container\"\n className={classnames(\"neeto-molecules-sidebar__wrapper\", {\n \"neeto-molecules-sidebar__wrapper--collapsed\": isLargerScreen()\n ? isSidebarCollapsed\n : not(isSidebarPaneOpen),\n })}\n >\n <div\n className=\"neeto-molecules-sidebar__backdrop\"\n onClick={() => {\n setIsSidebarPaneOpen(false);\n }}\n />\n <div\n className=\"neeto-molecules-sidebar neeto-ui-flex neeto-ui-flex-col neeto-ui-flex-shrink-0 neeto-ui-overflow-y-auto neeto-ui-overflow-x-hidden\"\n data-cy=\"sidebar-wrapper\"\n data-testid=\"sidebar\"\n >\n <Header {...{ customLogo }} />\n <Links {...{ navLinks }} />\n <Footer\n {...{\n extraTopLinks,\n helpLinkOverrides,\n profileInfoOverrides,\n showAppSwitcher,\n }}\n />\n </div>\n <Button\n className=\"neeto-molecules-sidebar__toggler\"\n data-cy=\"neeto-molecules-sidebar-toggler\"\n data-testid=\"sidebar-toggleButton\"\n style={isLargerScreen() ? \"text\" : \"secondary\"}\n icon={() => (\n <Chevron\n style={{ color: `rgb(var(--neeto-${productName}-primary))` }}\n />\n )}\n tooltipProps={{\n content: isSidebarClosed\n ? t(\"neetoMolecules.sidebar.showMenu\")\n : t(\"neetoMolecules.sidebar.hideMenu\"),\n position: \"bottom\",\n }}\n onClick={() => {\n setIsSidebarCollapsed(!isSidebarCollapsed);\n setIsSidebarPaneOpen(not);\n }}\n />\n </div>\n );\n};\n\nSidebar.propTypes = {\n /**\n * To specify the navlinks to be shown in sidebar.\n */\n navLinks: PropTypes.arrayOf(\n PropTypes.shape({\n icon: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),\n label: PropTypes.string,\n to: PropTypes.string,\n isActive: PropTypes.func,\n })\n ),\n /**\n * To specify the profile info to be rendered in the Sidebar\n */\n profileInfoOverrides: PropTypes.shape({\n name: PropTypes.string,\n email: PropTypes.string,\n imageUrl: PropTypes.string,\n customContent: PropTypes.element,\n topLinks: PropTypes.arrayOf(\n PropTypes.shape({\n onClick: PropTypes.func,\n label: PropTypes.string,\n icon: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),\n })\n ),\n bottomLinks: PropTypes.arrayOf(\n PropTypes.shape({\n onClick: PropTypes.func,\n label: PropTypes.string,\n icon: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),\n })\n ),\n }),\n /**\n * To override the values in the help links popover.\n */\n helpLinkOverrides: PropTypes.object,\n /**\n * To add extra items in the user profile popover.\n */\n extraTopLinks: PropTypes.arrayOf(\n PropTypes.shape({\n icon: PropTypes.elementType,\n label: PropTypes.string,\n onClick: PropTypes.func,\n })\n ),\n /**\n * To display the appswitcher above the user profile section.\n */\n showAppSwitcher: PropTypes.bool,\n /**\n * To override the logo displayed on the sidebar.\n */\n customLogo: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),\n};\n\nexport default Sidebar;\n"],"names":["arrayLikeToArray","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","Chevron","_ref","style","React","createElement","height","viewBox","width","d","fill","AppLink","name","description","url","appName","concat","charAt","slice","toLowerCase","AppIcon","AppIcons","href","rel","target","className","classnames","capitalize","globalProps","size","NeetoIcon","color","Typography","component","lineHeight","weight","memo","Body","_useTranslation","useTranslation","t","_useState","useState","_useState2","_slicedToArray","searchTerm","setSearchTerm","_useFetchNeetoApps","useFetchNeetoApps","data","substring","replace","filteredApps","neetoApps","filter","includes","handleSearch","e","value","Fragment","Input","autoFocus","placeholder","prefix","Search","type","onChange","length","map","app","_extends","key","AppSwitcher","AppSwitcherButton","hasHovered","setHasHovered","refetchNeetoApps","refetch","isStale","Tooltip","interactive","appendTo","document","body","content","delay","disabled","hideOnClick","offset","position","strategy","theme","onMouseEnter","Spinner","NeetoUIAppSwitcherIcon","MY_PROFILE_URL","MY_ORGANIZATION_URL","CHANGELOG_WIDGET_TRIGGER_ID","DEFAULT_HELP_LINK_PROPS","liveChatProps","label","icon","ChatEmpty","onClick","_window$NeetoChat","_window$NeetoChat$con","_window$NeetoChat2","_window$NeetoChat2$co","window","NeetoChat","contextualHelp","maximizeWidget","openWidget","helpCenterProps","Book","toLower","changelogProps","id","Gift","keyboardShortcutProps","Keyboard","isSubRouteActive","subRoute","location","currentBrowserUrl","URL","pathname","search","origin","targetUrl","startsWith","targetSearchParams","searchParams","targetSearchKeys","Array","from","keys","all","get","getSidebarStateLocalStorageKey","_globalProps$user","_globalProps$user2","user","email","phoneNumber","getProfileInfo","isOwner","profileInfoOverrides","_globalProps$user3","_globalProps$user4","_globalProps$user5","mergeDeepLeft","firstName","lastName","imageUrl","profileImageUrl","topLinks","User","open","Settings","Boolean","bottomLinks","LeftArrow","resetAuthTokens","localStorage","removeItem","ProfileSection","ref","profileInfo","Avatar","truncate","forwardRef","arrayWithoutHoles","iterableToArray","nonIterableSpread","toPrimitive","toPropertyKey","objectWithoutPropertiesLoose","LinkSection","links","_ref2","idx","_ref2$icon","otherProps","_objectWithoutProperties","_excluded","Button","fullWidth","iconPosition","iconSize","_objectSpread","ProfileMenu","extraTopLinks","customContent","title","_toConsumableArray","ProfileButton","interactiveDebounce","HelpSection","changesCount","Help","isPresent","HelpSectionMenu","helpLinkOverrides","_KeyboardShortcuts$us","KeyboardShortcuts","usePaneState","_KeyboardShortcuts$us2","setIsOpen","helpLinks","Object","hide","_ref3","buttonProps","Footer","_ref$showAppSwitcher","showAppSwitcher","setChangesCount","useEffect","Nv","onReceiveData","unreadCount","onShow","assign","Header","_ProductTypefaceLogos","customLogo","productName","substr","logoName","ProductTypefaceLogo","ProductTypefaceLogos","Neeto","LogoComponent","homePath","thisApp","findBy","Link","to","Links","navLinks","useLocation","isActiveLinkExpanded","setIsActiveLinkExpanded","filterByPermissions","curry","permissions","is","some","__","handleNavLinkClick","event","isActive","items","isNotPresent","not","preventDefault","mainIndex","IconSVG","Function","isMenuExpanded","NavLink","activeClassName","Down","_ref4","subIndex","subLabel","count","dataCy","_excluded2","Sidebar","_ref$profileInfoOverr","_ref$helpLinkOverride","_ref$extraTopLinks","isAppSwitcherOpen","setIsAppSwitcherOpen","_useState3","_useState4","isSidebarPaneOpen","setIsSidebarPaneOpen","_useLocalStorage","useLocalStorage","_useLocalStorage2","isSidebarCollapsed","setIsSidebarCollapsed","isLargerScreen","innerWidth","isSidebarClosed","handleResize","addEventListener","removeEventListener","tooltipProps"],"mappings":";;;;;;;;;;;;;;;;;AAAe,SAAS,eAAe,CAAC,GAAG,EAAE;AAC7C,EAAE,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,OAAO,GAAG,CAAC;AACrC;;ACFe,SAAS,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE;AACpD,EAAE,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,IAAI,GAAG,WA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AAAA,MAAA,oBACJjG,KAAA,CAAAC,aAAA,CAACJ,OAAO,EAAA;AACNE,QAAAA,KAAK,EAAE;UAAE4B,KAAK,EAAA,kBAAA,CAAAf,MAAA,CAAqBmN,WAAW,EAAA,YAAA,CAAA;AAAa,SAAA;AAAE,OAC9D,CAAC,CAAA;KACF;AACFgE,IAAAA,YAAY,EAAE;MACZ/M,OAAO,EAAE2M,eAAe,GACpBvP,CAAC,CAAC,iCAAiC,CAAC,GACpCA,CAAC,CAAC,iCAAiC,CAAC;AACxCiD,MAAAA,QAAQ,EAAE,QAAA;KACV;IACFc,OAAO,EAAE,SAAAA,OAAAA,GAAM;MACbqL,qBAAqB,CAAC,CAACD,kBAAkB,CAAC,CAAA;MAC1CJ,oBAAoB,CAACxB,GAAG,CAAC,CAAA;AAC3B,KAAA;AAAE,GACH,CACE,CAAC,CAAA;AAEV;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-molecules",
3
- "version": "1.2.5-beta",
3
+ "version": "1.2.5",
4
4
  "description": "A package of reusable molecular components for neeto products.",
5
5
  "repository": "git@github.com:bigbinary/neeto-molecules.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",
@@ -81,8 +81,7 @@
81
81
  "helpArticles": "Help articles"
82
82
  },
83
83
  "showMenu": "Expand sidebar",
84
- "hideMenu": "Collapse sidebar",
85
- "goBack": "Go back"
84
+ "hideMenu": "Collapse sidebar"
86
85
  },
87
86
  "appSwitcher": {
88
87
  "noApps": "No apps found",