@topconsultnpm/sdkui-react-beta 6.13.74 → 6.13.76
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/components/base/TMFileManager.js +1 -0
- package/lib/components/features/documents/TMDcmtBlog.d.ts +1 -0
- package/lib/components/features/documents/TMDcmtBlog.js +31 -16
- package/lib/components/features/documents/TMDcmtForm.js +6 -24
- package/lib/components/features/documents/TMDcmtPreview.d.ts +1 -0
- package/lib/components/features/documents/TMDcmtPreview.js +25 -12
- package/lib/components/features/search/TMSearchResult.js +2 -2
- package/lib/components/grids/TMBlogsUtils.js +2 -2
- package/lib/components/layout/panelManager/TMPanelWrapper.d.ts +1 -1
- package/lib/components/layout/panelManager/TMPanelWrapper.js +31 -8
- package/lib/helper/TMIcons.d.ts +11 -1
- package/lib/helper/TMIcons.js +31 -1
- package/package.json +1 -1
|
@@ -7,27 +7,42 @@ import TMSpinner from '../../base/TMSpinner';
|
|
|
7
7
|
import TMBlogs from '../../grids/TMBlogs';
|
|
8
8
|
import { TMNothingToShow } from './TMDcmtPreview';
|
|
9
9
|
import { IconBoard } from '../../../helper';
|
|
10
|
-
const TMDcmtBlog = ({ tid, did }) => {
|
|
10
|
+
const TMDcmtBlog = ({ tid, did, isVisible }) => {
|
|
11
11
|
const [blogsDatasource, setBlogsDatasource] = useState([]);
|
|
12
|
+
const [hasLoadedDataOnce, setHasLoadedDataOnce] = useState(false); //traccia se *qualsiasi* dato è stato caricato per la prima volta
|
|
13
|
+
const [lastLoadedDid, setLastLoadedDid] = useState(undefined); // `lastLoadedDid` tiene traccia dell'ultimo `did` per cui abbiamo caricato i dati
|
|
12
14
|
useEffect(() => {
|
|
13
|
-
if (!tid || !did)
|
|
15
|
+
if (!tid || !did) {
|
|
16
|
+
setBlogsDatasource([]);
|
|
17
|
+
setLastLoadedDid(undefined); // Reset per consentire un nuovo caricamento quando tid/did diventano validi
|
|
14
18
|
return;
|
|
15
|
-
loadDataAsync(tid, did);
|
|
16
|
-
}, [did]);
|
|
17
|
-
const loadDataAsync = async (tid, did) => {
|
|
18
|
-
try {
|
|
19
|
-
TMSpinner.show({ description: 'Caricamento - Bacheca...' });
|
|
20
|
-
let res = await SDK_Globals.tmSession?.NewSearchEngine().BlogRetrieveAsync(tid, did);
|
|
21
|
-
setBlogsDatasource(res ?? []);
|
|
22
19
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
// Condizione per eseguire il fetch:
|
|
21
|
+
// 1. Il pannello è visibile
|
|
22
|
+
// 2. E (non abbiamo ancora caricato dati O il `did` è cambiato rispetto all'ultima volta)
|
|
23
|
+
const shouldFetch = isVisible && (!hasLoadedDataOnce || did !== lastLoadedDid);
|
|
24
|
+
// Esegui la chiamata API solo se il pannello è visibile E i dati non sono già stati caricati
|
|
25
|
+
// O, se vuoi ricaricare ogni volta che diventa visibile (ma è meno efficiente per "pesante")
|
|
26
|
+
if (shouldFetch) {
|
|
27
|
+
const fetchDataAsync = async (tid, did) => {
|
|
28
|
+
try {
|
|
29
|
+
TMSpinner.show({ description: 'Caricamento - Bacheca...' });
|
|
30
|
+
let res = await SDK_Globals.tmSession?.NewSearchEngine().BlogRetrieveAsync(tid, did);
|
|
31
|
+
setBlogsDatasource(res ?? []);
|
|
32
|
+
setHasLoadedDataOnce(true); // Marca che abbiamo caricato dati almeno una volta
|
|
33
|
+
setLastLoadedDid(did); // Memorizza il `did` per cui abbiamo caricato
|
|
34
|
+
}
|
|
35
|
+
catch (e) {
|
|
36
|
+
let err = e;
|
|
37
|
+
TMExceptionBoxManager.show({ exception: err });
|
|
38
|
+
}
|
|
39
|
+
finally {
|
|
40
|
+
TMSpinner.hide();
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
fetchDataAsync(tid, did);
|
|
26
44
|
}
|
|
27
|
-
|
|
28
|
-
TMSpinner.hide();
|
|
29
|
-
}
|
|
30
|
-
};
|
|
45
|
+
}, [tid, did, isVisible, hasLoadedDataOnce, lastLoadedDid]);
|
|
31
46
|
return (_jsx(StyledContainer, { children: _jsx(StyledSectionContainer, { style: { position: 'relative' }, children: _jsx(StyledBoardContainer, { children: !did ? _jsx(TMNothingToShow, { text: 'Nessun documento selezionato.', secondText: 'Bacheca non disponibile.', icon: _jsx(IconBoard, { fontSize: 96 }) }) :
|
|
32
47
|
_jsx(TMBlogs, { id: "dcmt-blog", allData: blogsDatasource, showExtendedAttachments: false }) }) }) }));
|
|
33
48
|
};
|
|
@@ -446,10 +446,10 @@ const TMDcmtForm = ({ showHeader = true, onSaveRecents, layoutMode = LayoutModes
|
|
|
446
446
|
'tmDcmtPreview': true,
|
|
447
447
|
};
|
|
448
448
|
const initialPanelDimensions = {
|
|
449
|
-
'tmDcmtForm': { width: '
|
|
450
|
-
'tmBlog': { width: '
|
|
451
|
-
'tmSysMetadata': { width: '
|
|
452
|
-
'tmDcmtPreview': { width: '
|
|
449
|
+
'tmDcmtForm': { width: '20%', height: '100%' },
|
|
450
|
+
'tmBlog': { width: '30%', height: '100%' },
|
|
451
|
+
'tmSysMetadata': { width: '20%', height: '100%' },
|
|
452
|
+
'tmDcmtPreview': { width: '30%', height: '100%' },
|
|
453
453
|
};
|
|
454
454
|
const initialPanels = useMemo(() => [
|
|
455
455
|
{
|
|
@@ -493,24 +493,6 @@ const TMDcmtForm = ({ showHeader = true, onSaveRecents, layoutMode = LayoutModes
|
|
|
493
493
|
toolbarOptions: { icon: _jsx(IconShow, { fontSize: 24 }), disabled: isPreviewDisabled, visible: true, orderNumber: 4, isActive: allInitialPanelVisibility['tmDcmtPreview'] }
|
|
494
494
|
}
|
|
495
495
|
], [tmDcmtForm, tmBlog, tmSysMetadata, tmDcmtPreview, isPreviewDisabled, isBoardDisabled, isSysMetadataDisabled, isClosable]);
|
|
496
|
-
// {showDcmtFormSidebar && <TMCommandsPanel
|
|
497
|
-
// isMobile={deviceType === DeviceType.MOBILE}
|
|
498
|
-
// items={[
|
|
499
|
-
// ...(layoutMode === LayoutModes.Ark ? [
|
|
500
|
-
// { icon: <IconRoundFileUpload />, selected: isOpenPreview, disabled: isPreviewDisabled, onClick: () => { if (!isPreviewDisabled) setIsOpenPreview(!isOpenPreview); } }
|
|
501
|
-
// ] : []),
|
|
502
|
-
// ...(layoutMode !== LayoutModes.Ark ? [
|
|
503
|
-
// ...(deviceType === DeviceType.MOBILE ? [{ icon: <IconArrowLeft />, onClick: isClosable ? undefined : handleClose }] : []),
|
|
504
|
-
// { icon: <IconPreview />, selected: isOpenDcmtForm, onClick: () => { setIsOpenDcmtForm(!isOpenDcmtForm); } },
|
|
505
|
-
// { icon: <IconShow />, selected: isOpenPreview, disabled: isPreviewDisabled, onClick: () => { if (!isPreviewDisabled) setIsOpenPreview(!isOpenPreview); } },
|
|
506
|
-
// { icon: <IconBoard />, selected: isOpenBoard, disabled: isBoardDisabled, onClick: () => { if (!isBoardDisabled) { closeMiddlePanel(); setIsOpenBoard(!isOpenBoard); } } },
|
|
507
|
-
// { icon: <IconDcmtTypeSys />, selected: isOpenSysMetadata, disabled: isSysMetadataDisabled, onClick: () => { if (!isSysMetadataDisabled) { closeMiddlePanel(); setIsOpenSysMetadata(!isOpenSysMetadata); } } },
|
|
508
|
-
// ] : []),
|
|
509
|
-
// ...(allowRelations && currentTIDHasMasterRelations ? [{ icon: <IconDetailDcmts />, selected: isOpenMaster, disabled: isMasterDisabled, onClick: () => { if (!isMasterDisabled) setIsOpenMaster(!isOpenMaster); } }] : []),
|
|
510
|
-
// ...(allowRelations && currentTIDHasDetailRelations ? [{ icon: <IconDetailDcmts transform='scale(-1, 1)' />, selected: isOpenDetails, disabled: isDetailsDisabled, onClick: () => { if (!isDetailsDisabled) setIsOpenDetails(!isOpenDetails); } }] : []),
|
|
511
|
-
// ...customRightSidebarItems
|
|
512
|
-
// ]}
|
|
513
|
-
// />}
|
|
514
496
|
const renderDcmtForm = () => {
|
|
515
497
|
return (_jsxs("div", { style: {
|
|
516
498
|
display: 'flex',
|
|
@@ -603,9 +585,9 @@ const ToppyImage = styled.img `
|
|
|
603
585
|
export const ToppyHelpCenter = ({ content, onClick, deviceType, top = -200 }) => {
|
|
604
586
|
return (_jsxs(ToppyContainer, { children: [_jsx(ToppyImage, { "$isMobile": deviceType === DeviceType.MOBILE, onClick: onClick, src: toppy, alt: "Toppy" }), _jsx("div", { style: { top: deviceType === DeviceType.MOBILE ? -180 : top, right: deviceType === DeviceType.MOBILE ? 20 : 1, transform: 'rotate(20deg)', position: 'absolute', width: 'max-content', height: 'max-content' }, children: content })] }));
|
|
605
587
|
};
|
|
606
|
-
const TMDcmtPreviewWrapper = ({ currentDcmt, layoutMode, fromDTD, dcmtFile, deviceType, onFileUpload }) => {
|
|
588
|
+
const TMDcmtPreviewWrapper = ({ currentDcmt, layoutMode, fromDTD, dcmtFile, deviceType, isVisible, onFileUpload }) => {
|
|
607
589
|
const { setPanelVisibilityById, toggleMaximize, isResizingActive } = useTMPanelManagerContext();
|
|
608
590
|
return (layoutMode === LayoutModes.Update ?
|
|
609
|
-
_jsx(TMDcmtPreview, { onClosePanel: () => setPanelVisibilityById('tmDcmtPreview', false), onMaximizePanel: () => toggleMaximize('tmDcmtPreview'), dcmtData: currentDcmt, isResizingActive: isResizingActive }) :
|
|
591
|
+
_jsx(TMDcmtPreview, { isVisible: isVisible, onClosePanel: () => setPanelVisibilityById('tmDcmtPreview', false), onMaximizePanel: () => toggleMaximize('tmDcmtPreview'), dcmtData: currentDcmt, isResizingActive: isResizingActive }) :
|
|
610
592
|
_jsx(TMFileUploader, { onFileUpload: onFileUpload, onClose: () => setPanelVisibilityById('tmDcmtPreview', false), isRequired: fromDTD?.archiveConstraint === ArchiveConstraints.ContentCompulsory && dcmtFile === null, defaultBlob: dcmtFile, deviceType: deviceType, isResizingActive: isResizingActive }));
|
|
611
593
|
};
|
|
@@ -15,7 +15,7 @@ import { TMSaveFormButtonPrevious, TMSaveFormButtonNext } from '../../forms/TMSa
|
|
|
15
15
|
import { StyledAnimatedComponentOpacity } from '../../base/Styled';
|
|
16
16
|
import TMPanel from '../../base/TMPanel';
|
|
17
17
|
import { DeviceType, useDeviceType } from '../../base/TMDeviceProvider';
|
|
18
|
-
const TMDcmtPreview = ({ dcmtData, isResizingActive,
|
|
18
|
+
const TMDcmtPreview = ({ dcmtData, isResizingActive, isVisible, canNext, canPrev, onClosePanel, onNext, onPrev, onMaximizePanel }) => {
|
|
19
19
|
const [dcmtBlob, setDcmtBlob] = useState(undefined);
|
|
20
20
|
const [showPreview, setShowPreview] = useState(false);
|
|
21
21
|
const [isFromCache, setIsFromCache] = useState(false);
|
|
@@ -24,24 +24,37 @@ const TMDcmtPreview = ({ dcmtData, isResizingActive, onClosePanel, canNext, canP
|
|
|
24
24
|
const cacheKey = dcmtData ? `${dcmtData.tid}-${dcmtData.did}` : '00';
|
|
25
25
|
const deviceType = useDeviceType();
|
|
26
26
|
const isMobile = deviceType === DeviceType.MOBILE;
|
|
27
|
+
const [hasLoadedDataOnce, setHasLoadedDataOnce] = useState(false);
|
|
28
|
+
const [lastLoadedDid, setLastLoadedDid] = useState(undefined);
|
|
27
29
|
useEffect(() => {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
loadDocumentWithCache();
|
|
34
|
-
setShowPreview(true);
|
|
30
|
+
if (!dcmtData) {
|
|
31
|
+
setLastLoadedDid(undefined); // Reset
|
|
32
|
+
setDcmtBlob(undefined);
|
|
33
|
+
setError('');
|
|
34
|
+
setShowPreview(false);
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
37
|
-
|
|
37
|
+
const currentCacheKey = `${dcmtData.tid}-${dcmtData.did}`;
|
|
38
|
+
const shouldFetch = isVisible && (!hasLoadedDataOnce || currentCacheKey !== lastLoadedDid);
|
|
39
|
+
if (isDcmtFileInCache(currentCacheKey)) {
|
|
38
40
|
loadDocumentWithCache();
|
|
39
41
|
setShowPreview(true);
|
|
42
|
+
return;
|
|
40
43
|
}
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
if (shouldFetch) {
|
|
45
|
+
setDcmtBlob(undefined);
|
|
46
|
+
setError('');
|
|
47
|
+
if ((extensionHandler(dcmtData.fileExt) !== FileExtensionHandler.NONE) && ((dcmtData.fileSize ?? 0) <= (SDKUI_Globals.userSettings.searchSettings.previewThreshold * 1024))) {
|
|
48
|
+
loadDocumentWithCache();
|
|
49
|
+
setShowPreview(true);
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
setShowPreview(false);
|
|
53
|
+
}
|
|
54
|
+
setHasLoadedDataOnce(true);
|
|
55
|
+
setLastLoadedDid(currentCacheKey);
|
|
43
56
|
}
|
|
44
|
-
}, [dcmtData]);
|
|
57
|
+
}, [dcmtData?.did, isVisible, hasLoadedDataOnce, lastLoadedDid]);
|
|
45
58
|
const loadDocumentWithCache = async () => {
|
|
46
59
|
const rfo = new RetrieveFileOptions();
|
|
47
60
|
rfo.retrieveReason = DcmtOpers.None;
|
|
@@ -696,7 +696,7 @@ const TMSearchResultSelector = ({ searchResults = [], onSelectionChanged }) => {
|
|
|
696
696
|
return (_jsx("div", { style: { height: '100%', width: '100%', overflow: 'auto' }, children: sortedCategories.map((category) => (_jsxs("div", { children: [_jsxs(StyledGroupTemplate, { onClick: () => toggleCategory(category), children: [activeCategories.includes(category) ? _jsx(IconChevronDown, {}) : _jsx(IconChevronDown, { transform: 'scale(-1, 1)' }), renderGroupTemplate(category)] }, category), activeCategories.includes(category) && (_jsx("div", { style: { padding: '5px' }, children: groupedResults[category].map((result, index) => (_jsx(StyledItemTemplate, { "$isSelected": selectedResult === result, onClick: () => handleSelect(result), children: renderItemTemplate(result) }, index))) }))] }, category))) }));
|
|
697
697
|
};
|
|
698
698
|
//#endregion TMSearchResultSelector
|
|
699
|
-
const TMDcmtPreviewWrapper = ({ currentDcmt }) => {
|
|
699
|
+
const TMDcmtPreviewWrapper = ({ currentDcmt, isVisible }) => {
|
|
700
700
|
const { setPanelVisibilityById, toggleMaximize, isResizingActive } = useTMPanelManagerContext();
|
|
701
|
-
return (_jsx(TMDcmtPreview, { onClosePanel: () => setPanelVisibilityById('tmDcmtPreview', false), onMaximizePanel: () => toggleMaximize('tmDcmtPreview'), dcmtData: currentDcmt, isResizingActive: isResizingActive }));
|
|
701
|
+
return (_jsx(TMDcmtPreview, { onClosePanel: () => setPanelVisibilityById('tmDcmtPreview', false), onMaximizePanel: () => toggleMaximize('tmDcmtPreview'), dcmtData: currentDcmt, isResizingActive: isResizingActive, isVisible: isVisible }));
|
|
702
702
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import styled from "styled-components";
|
|
3
3
|
import { SDK_Globals } from "@topconsultnpm/sdk-ts-beta";
|
|
4
|
-
import { formatBytes, getFileIcon, IconAttachment,
|
|
4
|
+
import { formatBytes, getFileIcon, IconAttachment, IconCADossier, IconMenuCAWorkingGroups, SDKUI_Localizator } from "../../helper";
|
|
5
5
|
import TMTooltip from "../base/TMTooltip";
|
|
6
6
|
import { DownloadTypes } from '../../ts';
|
|
7
7
|
import { TMColors } from '../../utils/theme';
|
|
@@ -236,7 +236,7 @@ export const OwnerInitialsBadge = (blogPost) => {
|
|
|
236
236
|
}, children: _jsx("span", { style: { fontSize: "12px" }, children: extractInitialsFromName(blogPost.ownerName ?? '-') }) }) });
|
|
237
237
|
};
|
|
238
238
|
export const IconAndHeaderElement = (blogPost, iconColor, isSelected, headerClickCallback, searchText) => {
|
|
239
|
-
return _jsxs("span", { style: { marginLeft: "5px", cursor: blogPost.classID === 'WG' ? "pointer" : "default", display: "inline-flex", alignItems: "center" }, onClick: headerClickCallback, children: [_jsx(TMTooltip, { content: blogPost.classID === 'DS' ? SDKUI_Localizator.Practice : SDKUI_Localizator.WorkGroup, children: blogPost.classID === "DS" ? (_jsx(
|
|
239
|
+
return _jsxs("span", { style: { marginLeft: "5px", cursor: blogPost.classID === 'WG' ? "pointer" : "default", display: "inline-flex", alignItems: "center" }, onClick: headerClickCallback, children: [_jsx(TMTooltip, { content: blogPost.classID === 'DS' ? SDKUI_Localizator.Practice : SDKUI_Localizator.WorkGroup, children: blogPost.classID === "DS" ? (_jsx(IconCADossier, { color: iconColor, fontSize: 28 })) : (_jsx(IconMenuCAWorkingGroups, { color: iconColor, fontSize: 28 })) }), _jsx("span", { style: {
|
|
240
240
|
marginLeft: "5px",
|
|
241
241
|
// textDecoration: (blogPost as HomeBlogPost).classID === "WG" ? "underline" : "none",
|
|
242
242
|
cursor: blogPost.classID === "WG" ? "pointer" : "default",
|
|
@@ -4,5 +4,5 @@ interface TMPanelWrapperProps {
|
|
|
4
4
|
panel: TMPanelDefinition;
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
}
|
|
7
|
-
declare const TMPanelWrapper: (props: TMPanelWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const TMPanelWrapper: (props: TMPanelWrapperProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
export default TMPanelWrapper;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo } from 'react';
|
|
1
|
+
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import React, { useMemo, useState, useEffect } from 'react';
|
|
3
3
|
import { useTMPanelManagerContext } from './TMPanelManagerContext';
|
|
4
|
-
import {
|
|
4
|
+
import { useDeviceType, DeviceType } from '../../base/TMDeviceProvider';
|
|
5
5
|
import TMPanel from '../../base/TMPanel';
|
|
6
6
|
const TMPanelWrapper = (props) => {
|
|
7
7
|
const { panel, children } = props;
|
|
@@ -16,15 +16,23 @@ const TMPanelWrapper = (props) => {
|
|
|
16
16
|
// Extract panel dimensions based on panel id
|
|
17
17
|
const width = panelDimensions[panel.id].width;
|
|
18
18
|
const height = panelDimensions[panel.id].height;
|
|
19
|
-
// Determine visibility:
|
|
19
|
+
// Determine visibility:
|
|
20
20
|
// - If any panels are maximized, only show those maximized panels
|
|
21
21
|
// - Otherwise, rely on the normal panel visibility state
|
|
22
|
-
const
|
|
22
|
+
const isCurrentlyVisible = maximizedPanels.length > 0 ? maximizedPanels.includes(panel.id) : panelVisibility[panel.id];
|
|
23
|
+
// NUOVO STATO: Traccia se il pannello è mai stato reso visibile
|
|
24
|
+
const [hasBeenRenderedOnce, setHasBeenRenderedOnce] = useState(isCurrentlyVisible);
|
|
25
|
+
// NUOVO useEffect: Aggiorna hasBeenRenderedOnce quando il pannello diventa visibile per la prima volta
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
if (isCurrentlyVisible && !hasBeenRenderedOnce) {
|
|
28
|
+
setHasBeenRenderedOnce(true);
|
|
29
|
+
}
|
|
30
|
+
}, [isCurrentlyVisible, hasBeenRenderedOnce]);
|
|
23
31
|
const panelStyles = {
|
|
24
32
|
margin: '0',
|
|
25
|
-
// overflow: 'hidden',
|
|
26
33
|
boxSizing: 'border-box',
|
|
27
|
-
|
|
34
|
+
// Applica 'flex' o 'none' solo se è già stato reso visibile almeno una volta
|
|
35
|
+
display: isCurrentlyVisible ? 'flex' : 'none',
|
|
28
36
|
flexDirection: 'column',
|
|
29
37
|
minWidth: '50px',
|
|
30
38
|
minHeight: '50px',
|
|
@@ -32,7 +40,22 @@ const TMPanelWrapper = (props) => {
|
|
|
32
40
|
height: height,
|
|
33
41
|
pointerEvents: 'auto',
|
|
34
42
|
};
|
|
43
|
+
// Rende il pannello solo se è attualmente visibile O se è già stato reso visibile una volta.
|
|
44
|
+
// Se non è mai stato reso visibile E non è attualmente visibile, non renderizza nulla (o un placeholder vuoto).
|
|
45
|
+
if (!isCurrentlyVisible && !hasBeenRenderedOnce) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
// Clona il child e passa una prop 'isVisible'
|
|
49
|
+
const childrenWithProps = React.Children.map(children, child => {
|
|
50
|
+
if (React.isValidElement(child)) {
|
|
51
|
+
return React.cloneElement(child, { isVisible: isCurrentlyVisible });
|
|
52
|
+
}
|
|
53
|
+
return child;
|
|
54
|
+
});
|
|
35
55
|
return (_jsx("div", { "data-panel-id": panel.id, style: panelStyles, children: panel.contentOptions?.panelContainer ?
|
|
36
|
-
|
|
56
|
+
_jsxs(TMPanel, { ...panel.contentOptions.panelContainer, allowMaximize: !isMobile, onHeaderDoubleClick: isMaximizable ? () => toggleMaximize(panel.id) : undefined, onMaximize: isMaximizable ? () => toggleMaximize(panel.id) : undefined, onClose: isClosable ? () => togglePanelVisibility(panel.id) : undefined, children: [childrenWithProps, " "] })
|
|
57
|
+
:
|
|
58
|
+
childrenWithProps // Usa i children clonati
|
|
59
|
+
}));
|
|
37
60
|
};
|
|
38
61
|
export default TMPanelWrapper;
|
package/lib/helper/TMIcons.d.ts
CHANGED
|
@@ -230,5 +230,15 @@ declare function IconRoundFileUpload(props: React.SVGProps<SVGSVGElement>): impo
|
|
|
230
230
|
declare function IconRotate(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
231
231
|
declare function IconPrintOutline(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
232
232
|
export declare function IconAppAdvancedSettings(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
233
|
+
declare function IconMenuCAWorkingGroups(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
234
|
+
declare function IconCADossier(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
235
|
+
declare function IconMenuCACaseflow(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
236
|
+
export declare function IconMenuCAArchive(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
237
|
+
declare function IconMenuDashboard(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
238
|
+
declare function IconMenuCAAreas(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
239
|
+
declare function IconMenuTask(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
240
|
+
declare function IconMenuSearch(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
241
|
+
declare function IconMenuFullTextSearch(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
242
|
+
declare function IconMenuFavourite(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
233
243
|
declare const IconRecentlyViewed: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
234
|
-
export { Icon123, IconABC, IconAccessPoint, IconAddressBook, IconSignCert, IconServerService, IconActivity, IconActivityLog, IconAdd, IconAddCircleOutline, IconAll, IconApply, IconApplyAndClose, IconArchive, IconArchiveDoc, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowUp, IconAtSign, IconAttachment, IconAutoConfig, IconBackward, IconBasket, IconBoard, IconBoxArchiveIn, IconBxInfo, IconBxLock, IconCalendar, IconCloseCircle, IconCloseOutline, IconCloud, IconCircleInfo, IconClear, IconColumns, IconCommand, IconCopy, IconCount, IconCrown, IconDashboard, IconDcmtType, IconDcmtTypeOnlyMetadata, IconDcmtTypeSys, IconDelete, IconDetails, IconDown, IconDownload, IconDotsVerticalCircleOutline, IconDuplicate, IconEdit, IconEqual, IconEqualNot, IconEraser, IconExpandRight, IconExport, IconFastBackward, IconFoldeAdd, IconFolderSearch, IconFolderZip, IconFastForward, IconFastSearch, IconFileDots, IconFilter, IconForceStop, IconForward, IconFreeze, IconFreeSearch, IconGreaterThan, IconGreaterThanOrEqual, IconHistory, IconImport, IconTag, IconInfo, IconInsertAbove, IconInsertBelow, IconHeart, IconHide, IconLanguage, IconLeft, IconLessThan, IconLessThanOrEqual, IconLock, IconLockClosed, IconLogin, IconLink, IconLogout, IconMail, IconMapping, IconMic, IconMenuHorizontal, IconMenuKebab, IconMenuVertical, IconMetadata, IconMetadata_Computed, IconMetadata_DataList, IconMetadata_Date, IconMetadata_DynamicDataList, IconMetadata_Numerator, IconMetadata_Numeric, IconMetadata_Special, IconMetadata_Text, IconMetadata_User, IconMonitor, IconOpenInNew, IconNotification, IconPassword, IconPencil, IconPlatform, IconPlay, IconPreview, IconPrinter, IconPrintOutline, IconProcess, IconProgressAbortRequested, IconProgressCompleted, IconProgressNotCompleted, IconProgressReady, IconProgressRunning, IconProgressStarted, IconRefresh, IconReset, IconRecentlyViewed, IconRight, IconSave, IconSearch, IconSelected, IconSettings, IconShow, IconSort, IconStop, IconStopwatch, IconSuccess, IconAlarmPlus, IconHourglass, IconNone, IconNotStarted, IconProgress, IconSuccessCirlce, IconSuitcase, IconSupport, IconUndo, IconUnFreeze, IconUp, IconUpdate, IconUpload, IconUser, IconUserProfile, IconVisible, IconWarning, IconWeb, IconWifi, IconWindowMaximize, IconWindowMinimize, IconWorkflow, IconWorkspace, IconUserGroup, IconUserLevelMember, IconUserLevelAdministrator, IconUserLevelSystemAdministrator, IconUserLevelAutonomousAdministrator, IconDraggabledots, IconRelation, IconEasy, IconSum, IconDisk, IconDataList, IconPalette, IconFormatPageSplit, IconPaste, IconFileSearch, IconStar, IconStarRemove, IconSearchCheck, IconLightningFill, IconArrowUnsorted, IconArrowSortedUp, IconArrowSortedDown, IconConvertFilePdf, IconExportTo, IconSharedDcmt, IconShare, IconBatchUpdate, IconCheckFile, IconStatistics, IconSubstFile, IconAdvanced, IconSync, IconSavedQuery, IconSignature, IconRecursiveOps, IconCheckIn, IconTree, IconGrid, IconList, IconFolder, IconFolderOpen, IconFactory, IconTest, IconCheck, IconUncheck, IconSortAsc, IconSortDesc, IconRoundFileUpload, IconSortAscLetters, IconSortDescLetters, IconRotate, IconSortAscNumbers, IconSortDescNumbers, IconSortAscClock, IconSortDescClock, IconLayerGroup, IconBell, IconBellCheck, IconBellOutline, IconBellCheckOutline, IconEnvelopeOpenText, IconChangeUser, IconUserCheck, IconRelationManyToMany, IconRelationOneToMany, IconUserExpired, IconKey, IconZoomInLinear, IconZoomOutLinear };
|
|
244
|
+
export { Icon123, IconABC, IconAccessPoint, IconAddressBook, IconSignCert, IconServerService, IconActivity, IconActivityLog, IconAdd, IconAddCircleOutline, IconAll, IconApply, IconApplyAndClose, IconArchive, IconArchiveDoc, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowUp, IconAtSign, IconAttachment, IconAutoConfig, IconBackward, IconBasket, IconBoard, IconBoxArchiveIn, IconBxInfo, IconBxLock, IconCalendar, IconCloseCircle, IconCloseOutline, IconCloud, IconCircleInfo, IconClear, IconColumns, IconCommand, IconCopy, IconCount, IconCrown, IconDashboard, IconDcmtType, IconDcmtTypeOnlyMetadata, IconDcmtTypeSys, IconDelete, IconDetails, IconDown, IconDownload, IconDotsVerticalCircleOutline, IconDuplicate, IconEdit, IconEqual, IconEqualNot, IconEraser, IconExpandRight, IconExport, IconFastBackward, IconFoldeAdd, IconFolderSearch, IconFolderZip, IconFastForward, IconFastSearch, IconFileDots, IconFilter, IconForceStop, IconForward, IconFreeze, IconFreeSearch, IconGreaterThan, IconGreaterThanOrEqual, IconHistory, IconImport, IconTag, IconInfo, IconInsertAbove, IconInsertBelow, IconHeart, IconHide, IconLanguage, IconLeft, IconLessThan, IconLessThanOrEqual, IconLock, IconLockClosed, IconLogin, IconLink, IconLogout, IconMail, IconMapping, IconMic, IconMenuHorizontal, IconMenuKebab, IconMenuVertical, IconMetadata, IconMetadata_Computed, IconMetadata_DataList, IconMetadata_Date, IconMetadata_DynamicDataList, IconMetadata_Numerator, IconMetadata_Numeric, IconMetadata_Special, IconMetadata_Text, IconMetadata_User, IconMonitor, IconOpenInNew, IconNotification, IconPassword, IconPencil, IconPlatform, IconPlay, IconPreview, IconPrinter, IconPrintOutline, IconProcess, IconProgressAbortRequested, IconProgressCompleted, IconProgressNotCompleted, IconProgressReady, IconProgressRunning, IconProgressStarted, IconRefresh, IconReset, IconRecentlyViewed, IconRight, IconSave, IconSearch, IconSelected, IconSettings, IconShow, IconSort, IconStop, IconStopwatch, IconSuccess, IconAlarmPlus, IconHourglass, IconNone, IconNotStarted, IconProgress, IconSuccessCirlce, IconSuitcase, IconSupport, IconUndo, IconUnFreeze, IconUp, IconUpdate, IconUpload, IconUser, IconUserProfile, IconVisible, IconWarning, IconWeb, IconWifi, IconWindowMaximize, IconWindowMinimize, IconWorkflow, IconWorkspace, IconUserGroup, IconUserLevelMember, IconUserLevelAdministrator, IconUserLevelSystemAdministrator, IconUserLevelAutonomousAdministrator, IconDraggabledots, IconRelation, IconEasy, IconSum, IconDisk, IconDataList, IconPalette, IconFormatPageSplit, IconPaste, IconFileSearch, IconStar, IconStarRemove, IconSearchCheck, IconLightningFill, IconArrowUnsorted, IconArrowSortedUp, IconArrowSortedDown, IconConvertFilePdf, IconExportTo, IconSharedDcmt, IconShare, IconBatchUpdate, IconCheckFile, IconStatistics, IconSubstFile, IconAdvanced, IconSync, IconSavedQuery, IconSignature, IconRecursiveOps, IconCheckIn, IconTree, IconGrid, IconList, IconFolder, IconFolderOpen, IconFactory, IconTest, IconCheck, IconUncheck, IconSortAsc, IconSortDesc, IconRoundFileUpload, IconSortAscLetters, IconSortDescLetters, IconRotate, IconSortAscNumbers, IconSortDescNumbers, IconSortAscClock, IconSortDescClock, IconLayerGroup, IconBell, IconBellCheck, IconBellOutline, IconBellCheckOutline, IconEnvelopeOpenText, IconChangeUser, IconUserCheck, IconRelationManyToMany, IconRelationOneToMany, IconUserExpired, IconKey, IconZoomInLinear, IconZoomOutLinear, IconMenuCAWorkingGroups, IconCADossier, IconMenuCACaseflow, IconMenuDashboard, IconMenuCAAreas, IconMenuTask, IconMenuSearch, IconMenuFullTextSearch, IconMenuFavourite };
|
package/lib/helper/TMIcons.js
CHANGED
|
@@ -553,5 +553,35 @@ function IconPrintOutline(props) {
|
|
|
553
553
|
export function IconAppAdvancedSettings(props) {
|
|
554
554
|
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fontSize: props?.fontSize ?? FONTSIZE, viewBox: "0 0 32 32", width: "1em", height: "1em", ...props, children: [_jsx("path", { fill: "currentColor", d: "M2.909 26.182h1.939v4.848H2.909z", className: "ouiIcon__fillSecondary" }), _jsx("path", { fill: "currentColor", d: "M4.848 16.62V0H2.91v16.62a3.879 3.879 0 1 0 1.94 0m-.97 5.683a1.94 1.94 0 1 1 0-3.879a1.94 1.94 0 0 1 0 3.879" }), _jsx("path", { fill: "currentColor", d: "M14.545 16.485h1.939V31.03h-1.939z", className: "ouiIcon__fillSecondary" }), _jsx("path", { fill: "currentColor", d: "M16.485 6.924V0h-1.94v6.924a3.879 3.879 0 1 0 1.94 0m-.97 5.682a1.94 1.94 0 1 1 0-3.879a1.94 1.94 0 0 1 0 3.88" }), _jsx("path", { fill: "currentColor", d: "M26.182 26.182h1.939v4.848h-1.939z", className: "ouiIcon__fillSecondary" }), _jsx("path", { fill: "currentColor", d: "M28.121 16.62V0h-1.94v16.62a3.879 3.879 0 1 0 1.94 0m-.97 5.683a1.94 1.94 0 1 1 0-3.879a1.94 1.94 0 0 1 0 3.879" })] }));
|
|
555
555
|
}
|
|
556
|
+
function IconMenuCAWorkingGroups(props) {
|
|
557
|
+
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 50 50", width: "1em", height: "1em", fill: "none", ...props, children: _jsxs("g", { children: [_jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m24.77,33.07c-1.75,0-3.17-1.42-3.17-3.17,0-1.75,1.42-3.17,3.17-3.17s3.17,1.42,3.17,3.17c0,1.75-1.42,3.17-3.17,3.17m0-5.73c-1.41,0-2.56,1.15-2.56,2.56s1.15,2.56,2.56,2.56,2.56-1.15,2.56-2.56h0c0-1.41-1.15-2.56-2.56-2.56" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m30.5,38.81c-.17,0-.31-.14-.31-.31,0-3-2.43-5.43-5.43-5.43s-5.43,2.43-5.43,5.43c0,.17-.14.31-.31.31s-.31-.14-.31-.31c0-3.34,2.7-6.04,6.04-6.04s6.04,2.7,6.04,6.04c0,.17-.14.31-.31.31" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m17.3,30c-1.31,0-2.38-1.06-2.38-2.38s1.06-2.38,2.38-2.38,2.38,1.06,2.38,2.38h0c0,1.31-1.06,2.37-2.38,2.38m0-4.14c-.97,0-1.76.79-1.76,1.76s.79,1.76,1.76,1.76,1.76-.79,1.76-1.76h0c0-.97-.79-1.76-1.76-1.76" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m21.44,34.13c-.17,0-.31-.14-.31-.31,0-2.12-1.71-3.83-3.83-3.83s-3.83,1.71-3.83,3.83c0,.17-.14.31-.31.31s-.31-.14-.31-.31c0-2.45,1.99-4.44,4.44-4.44s4.44,1.99,4.44,4.44c0,.17-.14.31-.31.31" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m32.18,30c-1.31,0-2.38-1.06-2.38-2.38s1.06-2.38,2.38-2.38,2.38,1.06,2.38,2.38h0c0,1.31-1.06,2.37-2.38,2.38m0-4.14c-.97,0-1.76.79-1.76,1.76,0,.97.79,1.76,1.76,1.76s1.76-.79,1.76-1.76h0c0-.97-.79-1.76-1.76-1.76" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m36.31,34.13c-.17,0-.31-.14-.31-.31,0-2.12-1.71-3.83-3.83-3.83s-3.83,1.71-3.83,3.83c0,.17-.14.31-.31.31-.17,0-.31-.14-.31-.31h0c0-2.45,1.99-4.44,4.44-4.44s4.44,1.99,4.44,4.44c0,.17-.14.31-.31.31" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m24.77,40c-8.16,0-14.77-6.61-14.77-14.77s6.61-14.77,14.77-14.77c.33,0,.67.01,1,.03.17.01.3.16.28.33s-.16.3-.33.28h0c-.32-.02-.64-.03-.96-.03-7.82,0-14.16,6.34-14.16,14.16,0,7.82,6.34,14.16,14.16,14.16,7.82,0,14.16-6.34,14.16-14.16,0-.32-.01-.64-.03-.96-.01-.17.12-.32.29-.33s.32.12.33.29c.02.33.03.67.03,1,0,8.16-6.61,14.77-14.77,14.77h0" })] }) }));
|
|
558
|
+
}
|
|
559
|
+
function IconCADossier(props) {
|
|
560
|
+
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 50 50", width: "1em", height: "1em", fill: "none", ...props, children: _jsxs("g", { children: [_jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m37.51,36.63H12.48c-1.45,0-2.63-1.18-2.63-2.63v-10.17c0-.17.14-.31.31-.31h9.43c.17,0,.31.14.31.31,0,2.81,2.28,5.08,5.09,5.08.04,0,.07,0,.11,0,2.83.08,5.19-2.14,5.27-4.97,0-.04,0-.07,0-.11,0-.17.14-.31.31-.31h9.14c.17,0,.31.14.31.31v10.17c0,1.45-1.18,2.63-2.63,2.63m-27.04-12.49v9.86c0,1.1.9,2,2,2h25.03c1.1,0,2-.9,2-2v-9.86h-8.52c-.08,1.42-.69,2.76-1.73,3.74-1.12,1.07-2.62,1.66-4.17,1.65-3.07.06-5.65-2.32-5.82-5.39h-8.81Z" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m40.14,24.61h-.63v-.71l-4.03-8.74c-.33-.71-1.04-1.16-1.82-1.16h-17.33c-.78,0-1.49.46-1.82,1.16l-4.03,8.74v.29h-.63v-.42l4.09-8.87c.43-.93,1.37-1.52,2.39-1.52h17.33c1.03,0,1.96.6,2.39,1.53l4.09,8.86v.84Z" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m35.46,23.83h-.63v-3.59H15.16v3.59h-.63v-3.9c0-.17.14-.31.31-.31h20.3c.17,0,.31.14.31.31v3.9Z" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m33.9,19.93h-.63v-2.81h-16.54v2.81h-.63v-3.12c0-.17.14-.31.31-.31h17.17c.17,0,.31.14.31.31h0s0,3.12,0,3.12Z" })] }) }));
|
|
561
|
+
}
|
|
562
|
+
function IconMenuCACaseflow(props) {
|
|
563
|
+
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 50 50", width: "1em", height: "1em", fill: "none", ...props, children: _jsx("g", { children: _jsx("g", { style: { clipPath: 'url(#clippath)' }, children: _jsxs("g", { children: [_jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m37.77,37.16H12.23c-1.49,0-2.7-1.21-2.7-2.7V15.54c0-1.49,1.21-2.7,2.7-2.7h5.92c.6,0,1.19.2,1.66.58l4.73,3.71c.36.28.81.44,1.27.44,2.85,0,12.12,0,12.22,0,.18,0,.32.14,.32.32,0,.18-.14.32-.32.32h0c-.09,0-9.36-.01-12.22,0-.61,0-1.19-.2-1.67-.58l-4.73-3.71c-.36-.28-.81-.44-1.27-.44h-5.92c-1.14,0-2.06.92-2.06,2.05v18.92c0,1.14.92,2.06,2.05,2.06h25.55c1.14,0,2.06-.92,2.06-2.06,0,0,0,0,0,0v-17.63c0-1.05-.85-1.91-1.91-1.91h-12.92c-.18,0-.32-.14-.32-.32,0-.18.14-.32.32-.32h12.92c1.41,0,2.55,1.14,2.55,2.55v17.64c0,1.49-1.21,2.7-2.7,2.7" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m22.08,27.7c-1.09,0-1.97-.88-1.97-1.97s.88-1.97,1.97-1.97,1.97.88,1.97,1.97h0c0,1.09-.88,1.97-1.97,1.97m0-3.31c-.74,0-1.33.6-1.33,1.33s.6,1.33,1.33,1.33,1.33-.6,1.33-1.33h0c0-.74-.6-1.33-1.33-1.33" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m16.39,32.09c-1.09,0-1.97-.88-1.98-1.97s.88-1.97,1.97-1.98c1.09,0,1.97.88,1.98,1.97h0c0,1.09-.88,1.97-1.97,1.98m0-3.31c-.74,0-1.33.6-1.33,1.33s.6,1.33,1.33,1.33,1.33-.6,1.33-1.33c0-.74-.6-1.33-1.33-1.33" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m27.77,32.09c-1.09,0-1.97-.88-1.97-1.97,0-1.09.88-1.97,1.97-1.97s1.97.88,1.97,1.97c0,1.09-.88,1.97-1.97,1.97m0-3.31c-.74,0-1.33.6-1.33,1.33s.6,1.33,1.33,1.33c.74,0,1.33-.6,1.33-1.33,0-.74-.6-1.33-1.33-1.33" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m33.62,26.6c-1.09,0-1.97-.88-1.97-1.97s.88-1.97,1.97-1.97,1.97.88,1.97,1.97h0c0,1.09-.88,1.97-1.97,1.97m0-3.31c-.74,0-1.33.6-1.33,1.33,0,.74.6,1.33,1.33,1.33s1.33-.6,1.33-1.33c0-.74-.6-1.33-1.33-1.33" }), _jsx("rect", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".2px", style: { strokeMiterlimit: 4 }, x: "17.28", y: "27.59", width: "3.88", height: ".64", transform: "translate(-13.02 17.48) rotate(-37.52)" }), _jsx("rect", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", style: { strokeMiterlimit: 4 }, x: "24.62", y: "25.96", width: ".64", height: "3.88", transform: "translate(-12.38 30.67) rotate(-52.45)" }), _jsx("rect", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", style: { strokeMiterlimit: 4 }, x: "28.52", y: "27.24", width: "4.78", height: ".64", transform: "translate(-10.48 26.12) rotate(-39.73)" })] }) }) }) }));
|
|
564
|
+
}
|
|
565
|
+
export function IconMenuCAArchive(props) {
|
|
566
|
+
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 50 50", width: "1em", height: "1em", fill: "none", ...props, children: _jsxs("g", { children: [_jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m34.99,37.52H15.01c-.72,0-1.3-.58-1.3-1.3V13.78c0-.72.58-1.3,1.3-1.3h19.99c.72,0,1.3.58,1.3,1.3v22.44c0,.72-.58,1.3-1.3,1.3M15.01,13c-.43,0-.78.35-.78.78v22.44c0,.43.35.78.78.78h19.99c.43,0,.78-.35.78-.78V13.78c0-.43-.35-.78-.78-.78H15.01Z" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m31.13,19.13h-2.45c-.14,0-.27-.1-.28-.24,0-.14.1-.27.24-.28.01,0,.02,0,.03,0h2.45c.14,0,.25.13.24.28,0,.13-.11.24-.24.24" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m31.13,31.39h-2.45c-.14,0-.27-.1-.28-.24,0-.14.1-.27.24-.28.01,0,.02,0,.03,0h2.45c.14,0,.25.13.24.28,0,.13-.11.24-.24.24" }), _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m36.03,25.26H13.97c-.14,0-.27-.1-.28-.24,0-.14.1-.27.24-.28.01,0,.02,0,.03,0h22.07c.14,0,.27.1.28.24,0,.14-.1.27-.24.28-.01,0-.02,0-.03,0" })] }) }));
|
|
567
|
+
}
|
|
568
|
+
function IconMenuDashboard(props) {
|
|
569
|
+
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 25 24", width: "1em", height: "1em", ...props, children: _jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1px", d: "M10.5 13.026a.98.98 0 0 1-.975.98h-7.8a.98.98 0 0 1-.975-.98V2.236a.98.98 0 0 1 .976-.98l7.8.013a.98.98 0 0 1 .974.98zm12.746-5.982a.97.97 0 0 1-.975.962h-7.8a.97.97 0 0 1-.975-.962V2.23a.97.97 0 0 1 .973-.962l7.8-.013a.97.97 0 0 1 .977.962zM10.5 22.79a.97.97 0 0 1-.977.966l-7.8-.013a.97.97 0 0 1-.973-.964v-4.81a.97.97 0 0 1 .975-.963h7.8a.97.97 0 0 1 .975.964zm3.972.966a.98.98 0 0 1-.976-.981V11.987a.977.977 0 0 1 .975-.981h7.8a.976.976 0 0 1 .975.98v10.776a.98.98 0 0 1-.974.98z" }) }));
|
|
570
|
+
}
|
|
571
|
+
function IconMenuCAAreas(props) {
|
|
572
|
+
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 50 50", width: "1em", height: "1em", ...props, children: _jsx("g", { children: _jsx("path", { fill: "currentColor", stroke: "currentColor", strokeWidth: ".5px", d: "m32.63,35.82h-16.6c-3.51-.02-6.33-2.89-6.31-6.4.02-3.36,2.65-6.11,6-6.3.24-5.17,4.62-9.17,9.79-8.93,3.73.17,7.01,2.54,8.33,6.03,4.27.77,7.11,4.86,6.34,9.14-.66,3.67-3.82,6.37-7.55,6.46h0m-7.56-21.01c-4.78,0-8.67,3.84-8.73,8.62,0,.17-.14.31-.32.31-3.16.04-5.68,2.64-5.64,5.79.04,3.1,2.54,5.6,5.64,5.64h16.6c3.99-.09,7.15-3.4,7.06-7.4-.08-3.5-2.66-6.44-6.12-6.97-.12-.02-.21-.1-.25-.21-1.24-3.48-4.54-5.8-8.23-5.8" }) }) }));
|
|
573
|
+
}
|
|
574
|
+
function IconMenuTask(props) {
|
|
575
|
+
return (_jsxs("svg", { fontSize: props.fontSize ? props.fontSize : 18, fill: "none", viewBox: "0 0 24 24", height: "1em", width: "1em", ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75px", d: "M5 3 H19 A2 2 0 0 1 21 5 V19 A2 2 0 0 1 19 21 H5 A2 2 0 0 1 3 19 V5 A2 2 0 0 1 5 3 z" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: ".75px", d: "M17 12h-2l-2 5-2-10-2 5H7" })] }));
|
|
576
|
+
}
|
|
577
|
+
function IconMenuSearch(props) {
|
|
578
|
+
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 48 48", width: "1em", height: "1em", ...props, children: _jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5px", d: "M19.607 5.5c7.772 0 14.045 6.304 14.045 14.107a14.026 14.026 0 0 1-14.045 14.045C11.804 33.652 5.5 27.38 5.5 19.607A14.09 14.09 0 0 1 19.607 5.5m9.923 24.03L42.5 42.5" }) }));
|
|
579
|
+
}
|
|
580
|
+
function IconMenuFullTextSearch(props) {
|
|
581
|
+
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 48 48", width: "1em", height: "1em", ...props, children: [_jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5px", d: "M6.075 17.927A16.765 16.765 0 1 1 26.608 38.46m-10.073-.44a16.77 16.77 0 0 1-10.46-11.415" }), _jsx("circle", { cx: "22.269", cy: "22.382", r: "1.734", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5px" }), _jsx("circle", { cx: "29.785", cy: "22.382", r: "1.734", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5px" }), _jsx("circle", { cx: "14.754", cy: "22.382", r: "1.734", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5px" }), _jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5px", d: "m33.972 34.273l7.953 8.227" })] }));
|
|
582
|
+
}
|
|
583
|
+
function IconMenuFavourite(props) {
|
|
584
|
+
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 48 48", width: "1em", height: "1em", ...props, children: [_jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5px", d: "M4.5 11.5a3 3 0 0 1 3-3h8.718a4 4 0 0 1 2.325.745l4.914 3.51a4 4 0 0 0 2.325.745H40.5a3 3 0 0 1 3 3v20a3 3 0 0 1-3 3h-33a3 3 0 0 1-3-3z" }), _jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5px", d: "m24 19.507l1.652 5.086H31l-4.326 3.143l1.652 5.086L24 29.678l-4.326 3.144l1.652-5.086L17 24.593h5.348z" })] }));
|
|
585
|
+
}
|
|
556
586
|
const IconRecentlyViewed = (props) => { return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: "1em", height: "1em", ...props, children: [" ", _jsx("path", { fill: "currentColor", d: "M20.59 22L15 16.41V7h2v8.58l5 5.01z" }), " ", _jsx("path", { fill: "currentColor", d: "M16 2A13.94 13.94 0 0 0 6 6.23V2H4v8h8V8H7.08A12 12 0 1 1 4 16H2A14 14 0 1 0 16 2" }), " "] })); };
|
|
557
|
-
export { Icon123, IconABC, IconAccessPoint, IconAddressBook, IconSignCert, IconServerService, IconActivity, IconActivityLog, IconAdd, IconAddCircleOutline, IconAll, IconApply, IconApplyAndClose, IconArchive, IconArchiveDoc, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowUp, IconAtSign, IconAttachment, IconAutoConfig, IconBackward, IconBasket, IconBoard, IconBoxArchiveIn, IconBxInfo, IconBxLock, IconCalendar, IconCloseCircle, IconCloseOutline, IconCloud, IconCircleInfo, IconClear, IconColumns, IconCommand, IconCopy, IconCount, IconCrown, IconDashboard, IconDcmtType, IconDcmtTypeOnlyMetadata, IconDcmtTypeSys, IconDelete, IconDetails, IconDown, IconDownload, IconDotsVerticalCircleOutline, IconDuplicate, IconEdit, IconEqual, IconEqualNot, IconEraser, IconExpandRight, IconExport, IconFastBackward, IconFoldeAdd, IconFolderSearch, IconFolderZip, IconFastForward, IconFastSearch, IconFileDots, IconFilter, IconForceStop, IconForward, IconFreeze, IconFreeSearch, IconGreaterThan, IconGreaterThanOrEqual, IconHistory, IconImport, IconTag, IconInfo, IconInsertAbove, IconInsertBelow, IconHeart, IconHide, IconLanguage, IconLeft, IconLessThan, IconLessThanOrEqual, IconLock, IconLockClosed, IconLogin, IconLink, IconLogout, IconMail, IconMapping, IconMic, IconMenuHorizontal, IconMenuKebab, IconMenuVertical, IconMetadata, IconMetadata_Computed, IconMetadata_DataList, IconMetadata_Date, IconMetadata_DynamicDataList, IconMetadata_Numerator, IconMetadata_Numeric, IconMetadata_Special, IconMetadata_Text, IconMetadata_User, IconMonitor, IconOpenInNew, IconNotification, IconPassword, IconPencil, IconPlatform, IconPlay, IconPreview, IconPrinter, IconPrintOutline, IconProcess, IconProgressAbortRequested, IconProgressCompleted, IconProgressNotCompleted, IconProgressReady, IconProgressRunning, IconProgressStarted, IconRefresh, IconReset, IconRecentlyViewed, IconRight, IconSave, IconSearch, IconSelected, IconSettings, IconShow, IconSort, IconStop, IconStopwatch, IconSuccess, IconAlarmPlus, IconHourglass, IconNone, IconNotStarted, IconProgress, IconSuccessCirlce, IconSuitcase, IconSupport, IconUndo, IconUnFreeze, IconUp, IconUpdate, IconUpload, IconUser, IconUserProfile, IconVisible, IconWarning, IconWeb, IconWifi, IconWindowMaximize, IconWindowMinimize, IconWorkflow, IconWorkspace, IconUserGroup, IconUserLevelMember, IconUserLevelAdministrator, IconUserLevelSystemAdministrator, IconUserLevelAutonomousAdministrator, IconDraggabledots, IconRelation, IconEasy, IconSum, IconDisk, IconDataList, IconPalette, IconFormatPageSplit, IconPaste, IconFileSearch, IconStar, IconStarRemove, IconSearchCheck, IconLightningFill, IconArrowUnsorted, IconArrowSortedUp, IconArrowSortedDown, IconConvertFilePdf, IconExportTo, IconSharedDcmt, IconShare, IconBatchUpdate, IconCheckFile, IconStatistics, IconSubstFile, IconAdvanced, IconSync, IconSavedQuery, IconSignature, IconRecursiveOps, IconCheckIn, IconTree, IconGrid, IconList, IconFolder, IconFolderOpen, IconFactory, IconTest, IconCheck, IconUncheck, IconSortAsc, IconSortDesc, IconRoundFileUpload, IconSortAscLetters, IconSortDescLetters, IconRotate, IconSortAscNumbers, IconSortDescNumbers, IconSortAscClock, IconSortDescClock, IconLayerGroup, IconBell, IconBellCheck, IconBellOutline, IconBellCheckOutline, IconEnvelopeOpenText, IconChangeUser, IconUserCheck, IconRelationManyToMany, IconRelationOneToMany, IconUserExpired, IconKey, IconZoomInLinear, IconZoomOutLinear };
|
|
587
|
+
export { Icon123, IconABC, IconAccessPoint, IconAddressBook, IconSignCert, IconServerService, IconActivity, IconActivityLog, IconAdd, IconAddCircleOutline, IconAll, IconApply, IconApplyAndClose, IconArchive, IconArchiveDoc, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowUp, IconAtSign, IconAttachment, IconAutoConfig, IconBackward, IconBasket, IconBoard, IconBoxArchiveIn, IconBxInfo, IconBxLock, IconCalendar, IconCloseCircle, IconCloseOutline, IconCloud, IconCircleInfo, IconClear, IconColumns, IconCommand, IconCopy, IconCount, IconCrown, IconDashboard, IconDcmtType, IconDcmtTypeOnlyMetadata, IconDcmtTypeSys, IconDelete, IconDetails, IconDown, IconDownload, IconDotsVerticalCircleOutline, IconDuplicate, IconEdit, IconEqual, IconEqualNot, IconEraser, IconExpandRight, IconExport, IconFastBackward, IconFoldeAdd, IconFolderSearch, IconFolderZip, IconFastForward, IconFastSearch, IconFileDots, IconFilter, IconForceStop, IconForward, IconFreeze, IconFreeSearch, IconGreaterThan, IconGreaterThanOrEqual, IconHistory, IconImport, IconTag, IconInfo, IconInsertAbove, IconInsertBelow, IconHeart, IconHide, IconLanguage, IconLeft, IconLessThan, IconLessThanOrEqual, IconLock, IconLockClosed, IconLogin, IconLink, IconLogout, IconMail, IconMapping, IconMic, IconMenuHorizontal, IconMenuKebab, IconMenuVertical, IconMetadata, IconMetadata_Computed, IconMetadata_DataList, IconMetadata_Date, IconMetadata_DynamicDataList, IconMetadata_Numerator, IconMetadata_Numeric, IconMetadata_Special, IconMetadata_Text, IconMetadata_User, IconMonitor, IconOpenInNew, IconNotification, IconPassword, IconPencil, IconPlatform, IconPlay, IconPreview, IconPrinter, IconPrintOutline, IconProcess, IconProgressAbortRequested, IconProgressCompleted, IconProgressNotCompleted, IconProgressReady, IconProgressRunning, IconProgressStarted, IconRefresh, IconReset, IconRecentlyViewed, IconRight, IconSave, IconSearch, IconSelected, IconSettings, IconShow, IconSort, IconStop, IconStopwatch, IconSuccess, IconAlarmPlus, IconHourglass, IconNone, IconNotStarted, IconProgress, IconSuccessCirlce, IconSuitcase, IconSupport, IconUndo, IconUnFreeze, IconUp, IconUpdate, IconUpload, IconUser, IconUserProfile, IconVisible, IconWarning, IconWeb, IconWifi, IconWindowMaximize, IconWindowMinimize, IconWorkflow, IconWorkspace, IconUserGroup, IconUserLevelMember, IconUserLevelAdministrator, IconUserLevelSystemAdministrator, IconUserLevelAutonomousAdministrator, IconDraggabledots, IconRelation, IconEasy, IconSum, IconDisk, IconDataList, IconPalette, IconFormatPageSplit, IconPaste, IconFileSearch, IconStar, IconStarRemove, IconSearchCheck, IconLightningFill, IconArrowUnsorted, IconArrowSortedUp, IconArrowSortedDown, IconConvertFilePdf, IconExportTo, IconSharedDcmt, IconShare, IconBatchUpdate, IconCheckFile, IconStatistics, IconSubstFile, IconAdvanced, IconSync, IconSavedQuery, IconSignature, IconRecursiveOps, IconCheckIn, IconTree, IconGrid, IconList, IconFolder, IconFolderOpen, IconFactory, IconTest, IconCheck, IconUncheck, IconSortAsc, IconSortDesc, IconRoundFileUpload, IconSortAscLetters, IconSortDescLetters, IconRotate, IconSortAscNumbers, IconSortDescNumbers, IconSortAscClock, IconSortDescClock, IconLayerGroup, IconBell, IconBellCheck, IconBellOutline, IconBellCheckOutline, IconEnvelopeOpenText, IconChangeUser, IconUserCheck, IconRelationManyToMany, IconRelationOneToMany, IconUserExpired, IconKey, IconZoomInLinear, IconZoomOutLinear, IconMenuCAWorkingGroups, IconCADossier, IconMenuCACaseflow, IconMenuDashboard, IconMenuCAAreas, IconMenuTask, IconMenuSearch, IconMenuFullTextSearch, IconMenuFavourite };
|