@topconsultnpm/sdkui-react-beta 6.13.96 → 6.13.98
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.
|
@@ -645,8 +645,8 @@ const TMBlogs = (props) => {
|
|
|
645
645
|
position: 'absolute',
|
|
646
646
|
bottom: '20px',
|
|
647
647
|
right: '20px',
|
|
648
|
-
width: !isMobile ? '
|
|
649
|
-
height: !isMobile ? '
|
|
648
|
+
width: !isMobile ? '45px' : '40px',
|
|
649
|
+
height: !isMobile ? '45px' : '40px',
|
|
650
650
|
borderRadius: "50%",
|
|
651
651
|
backgroundColor: "#C2388B",
|
|
652
652
|
color: '#fff',
|
|
@@ -165,7 +165,7 @@ const TMHeader = ({ onMenusOpen, showSettingsMenu = true, showSearchBar = true,
|
|
|
165
165
|
;
|
|
166
166
|
}, [SDK_Globals.appModule]);
|
|
167
167
|
return (_jsxs(StyledHeaderContainer, { "$appName": SDK_Globals.appModule, children: [isAdministrativeLevel &&
|
|
168
|
-
_jsx(TMResizableMenu, { ref: appMenuRef, isVisible: showAppMenu, top: 58, left: 10, resizable: false, maxWidth: 215, minWidth: 215, maxHeight: 180, minHeight: 180, onClose: () => { }, children: _jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: '10px' }, children: [_jsx("h5", { style: { color: TMColors.primary }, children: "Accessi ad altre applicazioni " }), _jsx("hr", {}), _jsxs("div", { style: { display: 'flex', gap: '10px', alignItems: 'center', width: '100%' }, children: [_jsxs(AppMenuButton, { onClick: () => openAppsHandler(appModuleHandler.app_1, tmSession, appRoutes), "$bgColor": '#482234', children: [_jsx("img", { src: six, alt:
|
|
168
|
+
_jsx(TMResizableMenu, { ref: appMenuRef, isVisible: showAppMenu, top: 58, left: 10, resizable: false, maxWidth: 215, minWidth: 215, maxHeight: 180, minHeight: 180, onClose: () => { }, children: _jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: '10px' }, children: [_jsx("h5", { style: { color: TMColors.primary }, children: "Accessi ad altre applicazioni " }), _jsx("hr", {}), _jsxs("div", { style: { display: 'flex', gap: '10px', alignItems: 'center', width: '100%' }, children: [_jsxs(AppMenuButton, { onClick: () => openAppsHandler(appModuleHandler.app_1, tmSession, appRoutes), "$bgColor": '#482234', children: [_jsx("img", { src: six, alt: appModuleHandler.app_1, width: 30, height: 30 }), " ", appModuleHandler.app_1.toUpperCase()] }), _jsxs(AppMenuButton, { onClick: () => openAppsHandler(appModuleHandler.app_2, tmSession, appRoutes), "$bgColor": '#1d6f42', children: [_jsx("img", { src: six, alt: appModuleHandler.app_2, width: 30, height: 30 }), " ", appModuleHandler.app_2.toUpperCase()] })] })] }) }), _jsxs("div", { style: { display: 'flex', flexDirection: 'row', alignItems: 'center', justifyContent: 'flex-start', width: '100%', gap: isMobile ? 5 : 15 }, children: [_jsxs("div", { style: { height: '50px', display: 'flex', alignItems: 'center', gap: 20, justifyContent: 'center' }, children: [_jsx(StyledLogo, { ref: logoRef, style: { cursor: isAdministrativeLevel ? 'pointer' : 'default' }, onMouseEnter: () => {
|
|
169
169
|
if (openMenuTimer.current)
|
|
170
170
|
clearTimeout(openMenuTimer.current);
|
|
171
171
|
openMenuTimer.current = setTimeout(() => { setShowAppMenu(true); onMenusOpen?.(); }, 200);
|