@topconsultnpm/sdkui-react-beta 6.13.27 → 6.13.29
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/lib/assets/icomoon.svg +96 -96
- package/lib/assets/italy.svg +16 -16
- package/lib/assets/topmedia-six.svg +65 -65
- package/lib/assets/topmeida-six-bianco.svg +65 -65
- package/lib/components/features/documents/TMDcmtForm.js +6 -6
- package/lib/components/features/documents/TMMasterDetailDcmts.js +6 -6
- package/lib/components/features/search/TMSearch.js +4 -4
- package/lib/components/features/search/TMSearchResult.js +5 -5
- package/lib/components/layout/ResizableGrid.d.ts +8 -0
- package/lib/components/layout/ResizableGrid.js +58 -0
- package/lib/components/settings/SettingsAppearance.d.ts +5 -1
- package/lib/components/settings/SettingsAppearance.js +14 -4
- package/lib/components/sidebar/TMCommandsPanel.js +9 -7
- package/lib/helper/helpers.d.ts +13 -0
- package/lib/helper/helpers.js +14 -0
- package/package.json +1 -1
@@ -491,24 +491,24 @@ const TMDcmtForm = ({ showHeader = true, onSaveRecents, layoutMode = LayoutModes
|
|
491
491
|
setFormData((prevItems) => prevItems.map((item) => item.tid == e.tid && item.mid === e.mid ? { ...item, value: e.newValue } : item));
|
492
492
|
} }), (isModal && onClose) && _jsx("div", { id: "TMDcmtFormShowConfirmForClose-" + id })] }) }), showDcmtFormSidebar && _jsx(TMCommandsPanel, { isMobile: deviceType === DeviceType.MOBILE, items: [
|
493
493
|
...(layoutMode === LayoutModes.Ark ? [
|
494
|
-
{ icon: _jsx(IconRoundFileUpload, {
|
494
|
+
{ icon: _jsx(IconRoundFileUpload, {}), selected: isOpenPreview, disabled: isPreviewDisabled, onClick: () => { if (!isPreviewDisabled)
|
495
495
|
setIsOpenPreview(!isOpenPreview); } }
|
496
496
|
] : []),
|
497
497
|
...(layoutMode !== LayoutModes.Ark ? [
|
498
|
-
{ icon: _jsx(IconShow, {
|
498
|
+
{ icon: _jsx(IconShow, {}), selected: isOpenPreview, disabled: isPreviewDisabled, onClick: () => { if (!isPreviewDisabled)
|
499
499
|
setIsOpenPreview(!isOpenPreview); } },
|
500
|
-
{ icon: _jsx(IconBoard, {
|
500
|
+
{ icon: _jsx(IconBoard, {}), selected: isOpenBoard, disabled: isBoardDisabled, onClick: () => { if (!isBoardDisabled) {
|
501
501
|
closeMiddlePanel();
|
502
502
|
setIsOpenBoard(!isOpenBoard);
|
503
503
|
} } },
|
504
|
-
{ icon: _jsx(IconDcmtTypeSys, {
|
504
|
+
{ icon: _jsx(IconDcmtTypeSys, {}), selected: isOpenSysMetadata, disabled: isSysMetadataDisabled, onClick: () => { if (!isSysMetadataDisabled) {
|
505
505
|
closeMiddlePanel();
|
506
506
|
setIsOpenSysMetadata(!isOpenSysMetadata);
|
507
507
|
} } },
|
508
508
|
] : []),
|
509
|
-
...(currentTIDHasMasterRelations ? [{ icon: _jsx(IconDetailDcmts, {
|
509
|
+
...(currentTIDHasMasterRelations ? [{ icon: _jsx(IconDetailDcmts, {}), selected: isOpenMaster, disabled: isMasterDisabled, onClick: () => { if (!isMasterDisabled)
|
510
510
|
setIsOpenMaster(!isOpenMaster); } }] : []),
|
511
|
-
...(currentTIDHasDetailRelations ? [{ icon: _jsx(IconDetailDcmts, {
|
511
|
+
...(currentTIDHasDetailRelations ? [{ icon: _jsx(IconDetailDcmts, { transform: 'scale(-1, 1)' }), selected: isOpenDetails, disabled: isDetailsDisabled, onClick: () => { if (!isDetailsDisabled)
|
512
512
|
setIsOpenDetails(!isOpenDetails); } }] : []),
|
513
513
|
...customRightSidebarItems
|
514
514
|
] }), isOpenDetails &&
|
@@ -395,12 +395,12 @@ const TMMasterDetailDcmts = ({ deviceType, inputDcmts, isForMaster, showCurrentD
|
|
395
395
|
_jsx(TMTreeView, { dataSource: data, allowMultipleSelection: allowMultipleSelection, calculateItemsForNode: calculateItemsForNode, itemRender: renderItem, focusedItem: focusedItem, selectedItems: selectedItems, onFocusedItemChanged: handleFocusedItemChanged, onSelectionChanged: handleSelectedItemsChanged, onDataChanged: (items) => setData(updateHiddenProperty(items)) }) }), _jsx(TMLayoutItem, { children: focusedItem?.isDcmt ?
|
396
396
|
_jsx(TMDcmtForm, { TID: focusedItem?.tid, DID: focusedItem.did, isClosable: deviceType !== DeviceType.MOBILE, allowNavigation: false, allowRelations: deviceType !== DeviceType.MOBILE, showDcmtFormSidebar: deviceType === DeviceType.MOBILE, showPreview: showPreview, showBoard: showBoard, showSysMetadata: showSysMetadata, showDcmtForm: showDcmtForm, onClose: () => { setShowDcmtForm(false); }, onClosePreview: () => { setShowPreview(false); } }) :
|
397
397
|
_jsx(TMSearchResult, { context: SearchResultContext.METADATA_SEARCH, searchResults: focusedItem?.searchResult ?? [], showSearchResultSidebar: false, onClose: () => { setShowDcmtForm(false); }, onClosePreview: () => { setShowPreview(false); }, onTaskCreateRequest: onTaskCreateRequest }) })] }, "TMDetails-panel") }) }), _jsx(TMCommandsPanel, { isMobile: isMobile, items: [
|
398
|
-
{ icon: _jsx(IconShow, {
|
399
|
-
{ icon: _jsx(IconPreview, {
|
400
|
-
{ icon: _jsx(IconBoard, {
|
401
|
-
{ icon: _jsx(IconDcmtTypeSys, {
|
402
|
-
{ icon: _jsx(IconCheckFile, {
|
403
|
-
{ icon: _jsx(IconDetailDcmts, {
|
398
|
+
{ icon: _jsx(IconShow, {}), selected: showPreview, onClick: () => { setShowPreview(!showPreview); } },
|
399
|
+
{ icon: _jsx(IconPreview, {}), selected: showDcmtForm, onClick: () => { setShowDcmtForm(!showDcmtForm); } },
|
400
|
+
{ icon: _jsx(IconBoard, {}), selected: showBoard, onClick: () => { setShowSysMetadata(false); setShowBoard(!showBoard); } },
|
401
|
+
{ icon: _jsx(IconDcmtTypeSys, {}), selected: showSysMetadata, onClick: () => { setShowBoard(false); setShowSysMetadata(!showSysMetadata); } },
|
402
|
+
{ icon: _jsx(IconCheckFile, {}), selected: showZeroDcmts, onClick: () => { setShowZeroDcmts(!showZeroDcmts); } },
|
403
|
+
{ icon: _jsx(IconDetailDcmts, { transform: 'scale(-1, 1)' }), disabled: !focusedItem?.isDcmt, onClick: () => { appendMasterDcmts?.(focusedItem?.tid, focusedItem?.did); } }
|
404
404
|
] })] }));
|
405
405
|
};
|
406
406
|
export default TMMasterDetailDcmts;
|
@@ -170,22 +170,22 @@ const TMSearch = ({ inputTID, inputSqdID, isExpertMode = SDKUI_Globals.userSetti
|
|
170
170
|
// selectedId={currentSQD?.id}
|
171
171
|
onItemClick: (sqd) => onSQDItemClick(sqd, setSQDAsync), onDeleted: (sqd) => onSQDDeleted(sqd, sqd.id == currentSQD?.id ? undefined : currentSQD, setSQDAsync) }) })] }) }) })] })] }) }), _jsx(TMCommandsPanel, { isMobile: isMobile, items: [
|
172
172
|
{
|
173
|
-
icon: _jsx(IconTree, {
|
173
|
+
icon: _jsx(IconTree, {}),
|
174
174
|
selected: showTreesPanel,
|
175
175
|
onClick: () => setShowTreesPanel(!showTreesPanel),
|
176
176
|
},
|
177
177
|
{
|
178
|
-
icon: _jsx(IconProgressReady, {
|
178
|
+
icon: _jsx(IconProgressReady, {}),
|
179
179
|
selected: showRecentsPanel,
|
180
180
|
onClick: () => setShowRecentsPanel(!showRecentsPanel),
|
181
181
|
},
|
182
182
|
{
|
183
|
-
icon: _jsx(IconSavedQuery, {
|
183
|
+
icon: _jsx(IconSavedQuery, {}),
|
184
184
|
selected: showSavedQueryPanel,
|
185
185
|
onClick: () => setShowSavedQueryPanel(!showSavedQueryPanel),
|
186
186
|
},
|
187
187
|
...(searchResult.length > 0 ? [{
|
188
|
-
icon: _jsx(IconSearch, {
|
188
|
+
icon: _jsx(IconSearch, {}),
|
189
189
|
disabled: searchResult.length <= 0,
|
190
190
|
onClick: () => {
|
191
191
|
if (searchResult.length > 0) {
|
@@ -468,19 +468,19 @@ const TMSearchResult = ({ context = SearchResultContext.METADATA_SEARCH, isVisib
|
|
468
468
|
? _jsx(TMLayoutItem, { children: _jsx(TMDcmtPreview, { onClose: () => { setIsOpenPreview(false); onClosePreview?.(); }, dcmtData: currentDcmt, canNext: canNavigateHandler('next'), canPrev: canNavigateHandler('prev'), onNext: () => onNavigateHandler('next'), onPrev: () => onNavigateHandler('prev') }) })
|
469
469
|
: _jsx(_Fragment, {})] }) })
|
470
470
|
: _jsx(_Fragment, {})] }) }) }), showSearchResultSidebar && _jsx(TMCommandsPanel, { isMobile: deviceType === DeviceType.MOBILE, items: [
|
471
|
-
{ icon: _jsx(IconShow, {
|
471
|
+
{ icon: _jsx(IconShow, {}), selected: isOpenPreview, disabled: isPreviewDisabled, onClick: () => { if (!isPreviewDisabled)
|
472
472
|
setIsOpenPreview(!isOpenPreview); } },
|
473
|
-
{ icon: _jsx(IconBoard, {
|
473
|
+
{ icon: _jsx(IconBoard, {}), selected: isOpenBoard, disabled: isBoardDisabled, onClick: () => { if (!isBoardDisabled) {
|
474
474
|
closeMiddlePanel();
|
475
475
|
setIsOpenBoard(!isOpenBoard);
|
476
476
|
} } },
|
477
|
-
{ icon: _jsx(IconDcmtTypeSys, {
|
477
|
+
{ icon: _jsx(IconDcmtTypeSys, {}), selected: isOpenSysMetadata, disabled: isSysMetadataDisabled, onClick: () => { if (!isSysMetadataDisabled) {
|
478
478
|
closeMiddlePanel();
|
479
479
|
setIsOpenSysMetadata(!isOpenSysMetadata);
|
480
480
|
} } },
|
481
|
-
...(currentTIDHasMasterRelations ? [{ icon: _jsx(IconDetailDcmts, {
|
481
|
+
...(currentTIDHasMasterRelations ? [{ icon: _jsx(IconDetailDcmts, {}), selected: isOpenMaster, disabled: isMasterDisabled, onClick: () => { if (!isMasterDisabled)
|
482
482
|
setIsOpenMaster(!isOpenMaster); } }] : []),
|
483
|
-
...(currentTIDHasDetailRelations ? [{ icon: _jsx(IconDetailDcmts, {
|
483
|
+
...(currentTIDHasDetailRelations ? [{ icon: _jsx(IconDetailDcmts, { transform: 'scale(-1, 1)' }), selected: isOpenDetails, disabled: isDetailsDisabled, onClick: () => { if (!isDetailsDisabled)
|
484
484
|
setIsOpenDetails(!isOpenDetails); } }] : []),
|
485
485
|
] }), isOpenDetails &&
|
486
486
|
_jsx(StyledModalContainer, { style: { backgroundColor: 'white' }, children: _jsx(TMMasterDetailDcmts, { deviceType: deviceType, isForMaster: false, inputDcmts: getSelectionDcmtInfo(), allowNavigation: focusedItem && selectedItems.length <= 0, canNext: canNavigateHandler('next'), canPrev: canNavigateHandler('prev'), onNext: () => onNavigateHandler('next'), onPrev: () => onNavigateHandler('prev'), onBack: () => setIsOpenDetails(false) }) }), isOpenMaster &&
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
// ResizableGrid.tsx
|
3
|
+
import React, { useRef, useState } from 'react';
|
4
|
+
import { SDKUI_Globals } from '../../helper';
|
5
|
+
const ResizableGrid = ({ panels, minPercents, initialPercents, }) => {
|
6
|
+
const panelCount = panels.length;
|
7
|
+
const defaultMinPercents = minPercents ?? Array(panelCount).fill(0.1);
|
8
|
+
const [percents, setPercents] = useState(initialPercents ??
|
9
|
+
Array(panelCount).fill(1 / panelCount));
|
10
|
+
const containerRef = useRef(null);
|
11
|
+
const handleMouseDown = (idx, e) => {
|
12
|
+
e.preventDefault();
|
13
|
+
const startX = e.clientX;
|
14
|
+
const startPercents = [...percents];
|
15
|
+
const onMouseMove = (moveEvent) => {
|
16
|
+
if (!containerRef.current)
|
17
|
+
return;
|
18
|
+
const deltaPx = moveEvent.clientX - startX;
|
19
|
+
const containerWidth = containerRef.current.offsetWidth;
|
20
|
+
if (containerWidth === 0)
|
21
|
+
return;
|
22
|
+
const deltaPercent = deltaPx / containerWidth;
|
23
|
+
let newPercents = [...startPercents];
|
24
|
+
// Adjust the dragged panel and the next one
|
25
|
+
newPercents[idx] = Math.max(defaultMinPercents[idx], startPercents[idx] + deltaPercent);
|
26
|
+
newPercents[idx + 1] = Math.max(defaultMinPercents[idx + 1], startPercents[idx + 1] - deltaPercent);
|
27
|
+
// Normalize if overflows
|
28
|
+
const total = newPercents.reduce((a, b) => a + b, 0);
|
29
|
+
newPercents = newPercents.map(p => p / total);
|
30
|
+
setPercents(newPercents);
|
31
|
+
};
|
32
|
+
const onMouseUp = () => {
|
33
|
+
window.removeEventListener('mousemove', onMouseMove);
|
34
|
+
window.removeEventListener('mouseup', onMouseUp);
|
35
|
+
};
|
36
|
+
window.addEventListener('mousemove', onMouseMove);
|
37
|
+
window.addEventListener('mouseup', onMouseUp);
|
38
|
+
};
|
39
|
+
// Build gridTemplateColumns string
|
40
|
+
const gridTemplateColumns = percents
|
41
|
+
.map((p, i) => `${(p * 100).toFixed(2)}%${i < panelCount - 1 ? ` ${SDKUI_Globals.userSettings.themeSettings.gutters}px` : ''}`)
|
42
|
+
.join(' ');
|
43
|
+
return (_jsx("div", { ref: containerRef, style: {
|
44
|
+
display: 'grid',
|
45
|
+
gridTemplateColumns,
|
46
|
+
width: 'calc(100% - 20px)',
|
47
|
+
height: '100%',
|
48
|
+
position: 'relative',
|
49
|
+
overflow: 'hidden',
|
50
|
+
}, children: panels.map((panel, idx) => (_jsxs(React.Fragment, { children: [panel, idx < panelCount - 1 && (_jsx("div", { style: {
|
51
|
+
cursor: 'col-resize',
|
52
|
+
background: 'transparent',
|
53
|
+
width: `${SDKUI_Globals.userSettings.themeSettings.gutters}px`,
|
54
|
+
zIndex: 1,
|
55
|
+
height: '100%',
|
56
|
+
}, onMouseDown: e => handleMouseDown(idx, e) }))] }, idx))) }));
|
57
|
+
};
|
58
|
+
export default ResizableGrid;
|
@@ -1,7 +1,11 @@
|
|
1
|
-
declare const SettingsAppearance: ({ landingPagesOptions }: {
|
1
|
+
declare const SettingsAppearance: ({ landingPagesOptions, permissions }: {
|
2
2
|
landingPagesOptions?: {
|
3
3
|
display: string;
|
4
4
|
value: string;
|
5
5
|
}[];
|
6
|
+
permissions?: {
|
7
|
+
canArchive: boolean;
|
8
|
+
canSearch: boolean;
|
9
|
+
};
|
6
10
|
}) => import("react/jsx-runtime").JSX.Element;
|
7
11
|
export default SettingsAppearance;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import { useState } from 'react';
|
2
|
+
import { useMemo, useState } from 'react';
|
3
3
|
import TMLayoutContainer from '../base/TMLayout';
|
4
4
|
import TMDropDown from '../editors/TMDropDown';
|
5
5
|
import TMCheckBox from '../editors/TMCheckBox';
|
6
6
|
import TMButton from '../base/TMButton';
|
7
|
-
import { SDKUI_Globals, SDKUI_Localizator, ThemeSettings } from '../../helper';
|
7
|
+
import { LandingPages, SDKUI_Globals, SDKUI_Localizator, ThemeSettings } from '../../helper';
|
8
8
|
const fontSizes = [
|
9
9
|
{ value: "10px", display: "10px" },
|
10
10
|
{ value: "11px", display: "11px" },
|
@@ -18,10 +18,20 @@ const fontSizes = [
|
|
18
18
|
{ value: "19px", display: "19px" },
|
19
19
|
{ value: "20px", display: "20px" }
|
20
20
|
];
|
21
|
-
const SettingsAppearance = ({ landingPagesOptions }) => {
|
21
|
+
const SettingsAppearance = ({ landingPagesOptions, permissions = { canArchive: true, canSearch: true } }) => {
|
22
22
|
const [, setForceUpdate] = useState(0); // Dummy state to force re-renders
|
23
23
|
const triggerUIUpdate = () => setForceUpdate((prev) => prev + 1); // Increment dummy state to re-render
|
24
|
-
|
24
|
+
const filteredLandingPageOptopns = useMemo(() => {
|
25
|
+
let options = landingPagesOptions ?? [];
|
26
|
+
if (!permissions?.canArchive) {
|
27
|
+
options = options.filter(option => option.value !== LandingPages.ARCHIVE);
|
28
|
+
}
|
29
|
+
if (!permissions?.canSearch) {
|
30
|
+
options = options.filter(option => option.value !== LandingPages.SEARCH);
|
31
|
+
}
|
32
|
+
return options;
|
33
|
+
}, [permissions?.canArchive, permissions?.canSearch]);
|
34
|
+
return (_jsxs(TMLayoutContainer, { children: [landingPagesOptions && _jsx("p", { style: { fontSize: '1.h1rem', fontWeight: 'bold', marginBottom: '5px' }, children: 'Pagina iniziale' }), landingPagesOptions && _jsx(TMDropDown, { dataSource: filteredLandingPageOptopns, value: SDKUI_Globals.userSettings.landingPage, width: '230px', onValueChanged: (e) => {
|
25
35
|
SDKUI_Globals.userSettings.landingPage = e.target.value;
|
26
36
|
triggerUIUpdate();
|
27
37
|
} }), _jsx("p", { style: { fontSize: '1.h1rem', fontWeight: 'bold', marginTop: '10px' }, children: 'Font' }), _jsx(TMDropDown, { label: SDKUI_Localizator.Size, dataSource: fontSizes, width: '230px', value: SDKUI_Globals.userSettings.themeSettings.fontSize, onValueChanged: (e) => {
|
@@ -3,9 +3,10 @@ import styled from 'styled-components';
|
|
3
3
|
export const StyledCommandsPanel = styled.div `
|
4
4
|
display: flex;
|
5
5
|
flex-direction: ${({ $isMobile }) => ($isMobile ? 'row' : 'column')};
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
align-items: center;
|
7
|
+
width: ${({ $isMobile }) => ($isMobile ? '100%' : '50px')};
|
8
|
+
height: ${({ $isMobile }) => ($isMobile ? '50px' : 'max-content')};
|
9
|
+
background: transparent linear-gradient(90deg, #CCE0F4 0%, #7EC1E7 14%, #39A6DB 28%, #1E9CD7 35%, #0075BE 78%, #005B97 99%) 0% 0% no-repeat padding-box;
|
9
10
|
border-radius: ${({ $isMobile }) => ($isMobile ? '10px 10px 0 0' : '10px 0px 0px 10px')};
|
10
11
|
padding: 10px;
|
11
12
|
gap: 10px;
|
@@ -13,13 +14,14 @@ export const StyledCommandsPanel = styled.div `
|
|
13
14
|
const TMCommandsPanel = ({ isMobile, items }) => (_jsx(StyledCommandsPanel, { "$isMobile": isMobile, children: items.map((iconProps, idx) => (_jsx("span", { style: {
|
14
15
|
background: iconProps.selected ? 'white' : 'transparent',
|
15
16
|
borderRadius: '6px',
|
16
|
-
color: iconProps.selected ? '#
|
17
|
+
color: iconProps.selected ? '#005B97' : 'white',
|
17
18
|
opacity: iconProps.disabled ? 0.4 : 1,
|
18
19
|
cursor: iconProps.disabled ? 'not-allowed' : 'pointer',
|
19
20
|
display: 'flex',
|
20
21
|
alignItems: 'center',
|
21
22
|
justifyContent: 'center',
|
22
|
-
height: '
|
23
|
-
width: '
|
24
|
-
|
23
|
+
height: '32px',
|
24
|
+
width: '32px',
|
25
|
+
margin: '0 auto',
|
26
|
+
}, onClick: iconProps.disabled ? undefined : iconProps.onClick, children: _jsx("span", { style: { fontSize: 24 }, children: iconProps.icon }) }, idx))) }));
|
25
27
|
export default TMCommandsPanel;
|
package/lib/helper/helpers.d.ts
CHANGED
@@ -39,6 +39,19 @@ export declare function stringIsNullOrEmpty(value: string | undefined): boolean;
|
|
39
39
|
export declare function isPositiveNumber(val: unknown): val is number;
|
40
40
|
export declare function sleep(ms: number): Promise<void>;
|
41
41
|
export declare const dialogConfirmOperation: (title: string, msg: string, operationAsync: () => Promise<void>) => void;
|
42
|
+
export declare enum LandingPages {
|
43
|
+
HOME_PAGE = "homepage",
|
44
|
+
SEARCH = "search",
|
45
|
+
ARCHIVE = "archive",
|
46
|
+
WORKING_GROUPS = "workingGroups",
|
47
|
+
APPR_WORKFLOW = "approvazioneWorkflow",
|
48
|
+
DOSSIERS = "pratiche",
|
49
|
+
PREFERITI = "preferiti",
|
50
|
+
RECENTI = "recenti",
|
51
|
+
AREA_MANAGER = "areaDiAppoggio",
|
52
|
+
NOTIFICATIONS = "notifications",
|
53
|
+
ACTIVITIES = "activities"
|
54
|
+
}
|
42
55
|
export declare function getExceptionMessage(ex: any): string;
|
43
56
|
export declare function getContrastColor(inputColor: string): {
|
44
57
|
bgColor: string;
|
package/lib/helper/helpers.js
CHANGED
@@ -658,6 +658,20 @@ export const dialogConfirmOperation = (title, msg, operationAsync) => {
|
|
658
658
|
}
|
659
659
|
});
|
660
660
|
};
|
661
|
+
export var LandingPages;
|
662
|
+
(function (LandingPages) {
|
663
|
+
LandingPages["HOME_PAGE"] = "homepage";
|
664
|
+
LandingPages["SEARCH"] = "search";
|
665
|
+
LandingPages["ARCHIVE"] = "archive";
|
666
|
+
LandingPages["WORKING_GROUPS"] = "workingGroups";
|
667
|
+
LandingPages["APPR_WORKFLOW"] = "approvazioneWorkflow";
|
668
|
+
LandingPages["DOSSIERS"] = "pratiche";
|
669
|
+
LandingPages["PREFERITI"] = "preferiti";
|
670
|
+
LandingPages["RECENTI"] = "recenti";
|
671
|
+
LandingPages["AREA_MANAGER"] = "areaDiAppoggio";
|
672
|
+
LandingPages["NOTIFICATIONS"] = "notifications";
|
673
|
+
LandingPages["ACTIVITIES"] = "activities";
|
674
|
+
})(LandingPages || (LandingPages = {}));
|
661
675
|
// #endregion
|
662
676
|
// #region Exception
|
663
677
|
export function getExceptionMessage(ex) {
|