@topconsultnpm/sdkui-react-beta 6.14.52 → 6.14.54
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/TMAreaManager.js +33 -4
- package/lib/components/editors/TMMetadataEditor.d.ts +0 -1
- package/lib/components/editors/TMMetadataEditor.js +4 -3
- package/lib/components/editors/TMMetadataValues.js +2 -1
- package/lib/components/features/documents/TMDcmtForm.js +63 -60
- package/lib/components/viewers/TMMidViewer.js +3 -2
- package/lib/components/viewers/TMTidViewer.js +2 -2
- package/lib/helper/TMIcons.d.ts +4 -0
- package/lib/helper/TMIcons.js +3 -0
- package/package.json +2 -2
|
@@ -7,12 +7,15 @@ import FileSystemError from "devextreme/file_management/error";
|
|
|
7
7
|
import Button from "devextreme/ui/button";
|
|
8
8
|
import { alert, confirm } from "devextreme/ui/dialog";
|
|
9
9
|
import { loadMessages } from 'devextreme/localization';
|
|
10
|
-
import { Globalization, IconAll, IconCloud, IconSelected, SDKUI_Localizator } from '../../helper';
|
|
10
|
+
import { Globalization, IconAll, IconCloud, IconFolder, IconFolderForCSS, IconSelected, SDKUI_Localizator, svgToString } from '../../helper';
|
|
11
11
|
import { TMExceptionBoxManager } from './TMPopUp';
|
|
12
12
|
import ShowAlert from './TMAlert';
|
|
13
13
|
import { TMLayoutWaitingContainer } from './TMWaitPanel';
|
|
14
14
|
import TMCounterContainer, { CounterItemKey } from './TMCounterContainer';
|
|
15
|
-
import {
|
|
15
|
+
import { IconPdf, IconTxt, IconXls, IconDocx, IconImage, IconZip, IconXml, IconMp4, IconEmail, IconPpt, IconSigned, IconExe, IconHtml, IconDwg, IconDicom, IconSlddrw } from '../../assets/thumbnails';
|
|
16
|
+
import { TMColors } from '../../utils/theme';
|
|
17
|
+
import styled from 'styled-components';
|
|
18
|
+
import { renderToStaticMarkup } from 'react-dom/server';
|
|
16
19
|
export class TMFileSystemItem {
|
|
17
20
|
constructor() {
|
|
18
21
|
this.name = "";
|
|
@@ -22,6 +25,32 @@ export class TMFileSystemItem {
|
|
|
22
25
|
}
|
|
23
26
|
}
|
|
24
27
|
let abortController = new AbortController();
|
|
28
|
+
const svgString = encodeURIComponent(renderToStaticMarkup(_jsx(IconFolderForCSS, { fill: "#9fc6e7" })));
|
|
29
|
+
const svgDataUrl = `data:image/svg+xml,${svgString}`;
|
|
30
|
+
const StyledFileManagerWrapper = styled.div `
|
|
31
|
+
.dx-filemanager .dx-treeview-item .dx-icon-folder {
|
|
32
|
+
display: none !important;
|
|
33
|
+
}
|
|
34
|
+
.dx-filemanager .dx-treeview-item .dx-treeview-item-content {
|
|
35
|
+
position: relative !important;
|
|
36
|
+
padding-left: 26px !important;
|
|
37
|
+
min-height: 22px !important;
|
|
38
|
+
}
|
|
39
|
+
.dx-filemanager .dx-treeview-item .dx-treeview-item-content::before {
|
|
40
|
+
content: '';
|
|
41
|
+
position: absolute;
|
|
42
|
+
left: 0;
|
|
43
|
+
top: 60%;
|
|
44
|
+
width: 20px;
|
|
45
|
+
height: 20px;
|
|
46
|
+
transform: translateY(-50%);
|
|
47
|
+
background-image: url("${svgDataUrl}");
|
|
48
|
+
background-size: contain;
|
|
49
|
+
background-repeat: no-repeat;
|
|
50
|
+
display: inline-block;
|
|
51
|
+
z-index: 1;
|
|
52
|
+
}
|
|
53
|
+
`;
|
|
25
54
|
const TMAreaManager = (props = { selectionMode: 'multiple', isPathChooser: false }) => {
|
|
26
55
|
// State to store the instance of CustomFileSystemProvider. It is initialized once and used for managing file system operations.
|
|
27
56
|
const [areaProvider, setAreaProvider] = useState();
|
|
@@ -603,7 +632,7 @@ const TMAreaManager = (props = { selectionMode: 'multiple', isPathChooser: false
|
|
|
603
632
|
};
|
|
604
633
|
const customizeIcon = useCallback((fileSystemItem) => {
|
|
605
634
|
if (fileSystemItem.isDirectory) {
|
|
606
|
-
return IconFolder;
|
|
635
|
+
return svgToString(_jsx(IconFolder, { fontSize: 20, color: TMColors.iconLight }));
|
|
607
636
|
}
|
|
608
637
|
else {
|
|
609
638
|
const fileExtension = fileSystemItem.getFileExtension();
|
|
@@ -694,7 +723,7 @@ const TMAreaManager = (props = { selectionMode: 'multiple', isPathChooser: false
|
|
|
694
723
|
alert(`"${e.name}" ${SDKUI_Localizator.FolderExist}`, SDKUI_Localizator.Attention);
|
|
695
724
|
}
|
|
696
725
|
};
|
|
697
|
-
return (_jsx(TMLayoutWaitingContainer, { direction: 'vertical', showWaitPanel: showWaitPanel, showWaitPanelPrimary: showPrimary, showWaitPanelSecondary: showSecondary, waitPanelTitle: waitPanelTitle, waitPanelTextPrimary: waitPanelTextPrimary, waitPanelValuePrimary: waitPanelValuePrimary, waitPanelMaxValuePrimary: waitPanelMaxValuePrimary, waitPanelTextSecondary: waitPanelTextSecondary, waitPanelValueSecondary: waitPanelValueSecondary, waitPanelMaxValueSecondary: waitPanelMaxValueSecondary, isCancelable: true, abortController: abortController, children: _jsxs(
|
|
726
|
+
return (_jsx(TMLayoutWaitingContainer, { direction: 'vertical', showWaitPanel: showWaitPanel, showWaitPanelPrimary: showPrimary, showWaitPanelSecondary: showSecondary, waitPanelTitle: waitPanelTitle, waitPanelTextPrimary: waitPanelTextPrimary, waitPanelValuePrimary: waitPanelValuePrimary, waitPanelMaxValuePrimary: waitPanelMaxValuePrimary, waitPanelTextSecondary: waitPanelTextSecondary, waitPanelValueSecondary: waitPanelValueSecondary, waitPanelMaxValueSecondary: waitPanelMaxValueSecondary, isCancelable: true, abortController: abortController, children: _jsxs(StyledFileManagerWrapper, { style: { width: "100%", height: "100%" }, children: [_jsxs(FileManager, { width: props.width, ref: fileManagerRef, height: `calc(${props.height} - 30px)`, onItemMoving: onItemCopying, onItemCopying: onItemCopying, onFileUploading: onFileUploading, fileSystemProvider: areaProvider, customizeThumbnail: customizeIcon, rootFolderName: SDK_Localizator.Areas, onSelectionChanged: onSelectionChanged, onDirectoryCreating: onDirectoryCreating, onFocusedItemChanged: onFocusedItemChanged, onSelectedFileOpened: onSelectedFileOpened, onContextMenuItemClick: onContextMenuItemClick,
|
|
698
727
|
/* onItemMoved={() => setCounter(counter => counter + 1)}
|
|
699
728
|
onItemCopied={() => setCounter(counter => counter + 1)}
|
|
700
729
|
onItemDeleted={() => setCounter(counter => counter - 1)}
|
|
@@ -37,13 +37,14 @@ const getDateDisplayType = (format) => {
|
|
|
37
37
|
default: return DateDisplayTypes.Date;
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
|
-
const TMMetadataEditor = ({ isSelected = false, customLabel, isReadOnly, isLexProt, layoutMode, queryOperator, isEditable, isModifiedWhen = false, tid, mid,
|
|
40
|
+
const TMMetadataEditor = ({ isSelected = false, customLabel, isReadOnly, isLexProt, layoutMode, queryOperator, isEditable, isModifiedWhen = false, tid, mid, value, queryParamsDynDataList, containerElement, autoFocus, validationItems = [], disabled = false, openChooserBySingleClick = true, onValueChanged, onValueChange, onCascadeRefreshDynDataLists, onCascadeUpdateMIDs }) => {
|
|
41
41
|
const [md, setMd] = useState();
|
|
42
42
|
useEffect(() => {
|
|
43
|
-
|
|
43
|
+
// Passiamo did = undefined, perché è già in cache
|
|
44
|
+
DcmtTypeListCacheService.GetWithNotGrantedAsync(tid, undefined).then((dtd) => {
|
|
44
45
|
setMd(dtd?.metadata?.find(o => o.id == mid));
|
|
45
46
|
});
|
|
46
|
-
}, [tid, mid
|
|
47
|
+
}, [tid, mid]);
|
|
47
48
|
const isReadOnlyInternal = () => {
|
|
48
49
|
if (!md)
|
|
49
50
|
return false;
|
|
@@ -67,7 +67,8 @@ const TMMetadataValues = ({ showCheckBoxes = ShowCheckBoxesMode.Never, checkPerm
|
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
useEffect(() => {
|
|
70
|
-
|
|
70
|
+
// Passiamo did = undefined, perché è già in cache
|
|
71
|
+
DcmtTypeListCacheService.GetWithNotGrantedAsync(TID, undefined).then((resultDTD) => {
|
|
71
72
|
setCurrentDTD(resultDTD);
|
|
72
73
|
});
|
|
73
74
|
}, [TID]);
|
|
@@ -70,27 +70,72 @@ const TMDcmtForm = ({ showHeader = true, onSaveRecents, layoutMode = LayoutModes
|
|
|
70
70
|
const { abortController, showWaitPanel, waitPanelTitle, showPrimary, waitPanelTextPrimary, waitPanelValuePrimary, waitPanelMaxValuePrimary, showSecondary, waitPanelTextSecondary, waitPanelValueSecondary, waitPanelMaxValueSecondary, downloadDcmtsAsync } = useDcmtOperations();
|
|
71
71
|
const deviceType = useDeviceType();
|
|
72
72
|
const getDcmts = () => { return [{ TID: currentDcmt?.tid, DID: currentDcmt?.did, FILEEXT: currentDcmt?.fileExt }]; };
|
|
73
|
-
const
|
|
73
|
+
const fetchData = async () => {
|
|
74
74
|
try {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
75
|
+
TMSpinner.show({ description: 'Loading Metadata...' });
|
|
76
|
+
let getMetadataResult = await SDK_Globals.tmSession?.NewSearchEngine().GetMetadataAsync(TID, DID, true);
|
|
77
|
+
let dtd = await DcmtTypeListCacheService.GetWithNotGrantedAsync(TID, DID, getMetadataResult);
|
|
78
|
+
setFromDTD(dtd);
|
|
79
|
+
if (layoutMode === LayoutModes.Update || (layoutMode === LayoutModes.Ark && DID)) {
|
|
80
|
+
await setMetadataListAsync(dtd?.metadata ?? [], getMetadataResult);
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
const renderedMetadata = dtd?.metadata?.filter((metadata) => handleArchiveVisibility(metadata)) ?? [];
|
|
84
|
+
const metadataList = searchResultToMetadataValues(dtd?.id, undefined, [], [], renderedMetadata, layoutMode);
|
|
85
|
+
setFormDataOrig(structuredClone(metadataList));
|
|
86
|
+
setFormData(structuredClone(metadataList));
|
|
87
|
+
}
|
|
88
|
+
layoutMode === LayoutModes.Ark && resetHandler();
|
|
89
89
|
}
|
|
90
90
|
catch (e) {
|
|
91
91
|
let err = e;
|
|
92
92
|
TMExceptionBoxManager.show({ exception: err });
|
|
93
93
|
}
|
|
94
|
+
finally {
|
|
95
|
+
TMSpinner.hide();
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
const setMetadataListAsync = async (mdList, getMetadataResult = undefined, archived = false, currentDID) => {
|
|
99
|
+
try {
|
|
100
|
+
let did = currentDID ?? DID;
|
|
101
|
+
if (!did)
|
|
102
|
+
return;
|
|
103
|
+
TMSpinner.show({ description: 'Loading Metadata...' });
|
|
104
|
+
let res = getMetadataResult ?? await SDK_Globals.tmSession?.NewSearchEngine().GetMetadataAsync(TID, did, true);
|
|
105
|
+
let dtd = res?.dtdResult;
|
|
106
|
+
let rows = dtd.rows ? dtd.rows[0] : [];
|
|
107
|
+
let mids = res?.selectMIDs;
|
|
108
|
+
let metadataList = searchResultToMetadataValues(TID, dtd, rows, mids, mdList, layoutMode);
|
|
109
|
+
if (archived) {
|
|
110
|
+
let tempMetadataList = [];
|
|
111
|
+
for (let md of metadataList) {
|
|
112
|
+
if (md.value === null) {
|
|
113
|
+
if (formDataOrig.find(metadata => metadata.mid === md.mid)?.value === '') {
|
|
114
|
+
tempMetadataList.push({ ...md, value: '' });
|
|
115
|
+
}
|
|
116
|
+
if (formDataOrig.find(metadata => metadata.mid === md.mid)?.value === undefined) {
|
|
117
|
+
tempMetadataList.push({ ...md, value: undefined });
|
|
118
|
+
}
|
|
119
|
+
if (formDataOrig.find(metadata => metadata.mid === md.mid)?.value === null) {
|
|
120
|
+
tempMetadataList.push(md);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
tempMetadataList.push(md);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
setFormData(tempMetadataList);
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
setFormDataOrig(structuredClone(metadataList));
|
|
131
|
+
setFormData(structuredClone(metadataList));
|
|
132
|
+
}
|
|
133
|
+
catch (e) {
|
|
134
|
+
TMExceptionBoxManager.show({ exception: e });
|
|
135
|
+
}
|
|
136
|
+
finally {
|
|
137
|
+
TMSpinner.hide();
|
|
138
|
+
}
|
|
94
139
|
};
|
|
95
140
|
useEffect(() => { setID(genUniqueId()); }, []);
|
|
96
141
|
//here
|
|
@@ -100,7 +145,7 @@ const TMDcmtForm = ({ showHeader = true, onSaveRecents, layoutMode = LayoutModes
|
|
|
100
145
|
setDcmtFile(fileFromConnector);
|
|
101
146
|
}, [fileFromConnector]);
|
|
102
147
|
useEffect(() => {
|
|
103
|
-
|
|
148
|
+
fetchData();
|
|
104
149
|
}, [TID, DID]);
|
|
105
150
|
useEffect(() => {
|
|
106
151
|
if (formData.length > 0) {
|
|
@@ -181,48 +226,6 @@ const TMDcmtForm = ({ showHeader = true, onSaveRecents, layoutMode = LayoutModes
|
|
|
181
226
|
}
|
|
182
227
|
return changes;
|
|
183
228
|
}
|
|
184
|
-
const setMetadataListAsync = async (mdList, archived = false, currentDID) => {
|
|
185
|
-
try {
|
|
186
|
-
let did = currentDID ?? DID;
|
|
187
|
-
if (!did)
|
|
188
|
-
return;
|
|
189
|
-
TMSpinner.show({ description: 'Loading Metadata...' });
|
|
190
|
-
let res = await SDK_Globals.tmSession?.NewSearchEngine().GetMetadataAsync(TID, did, true);
|
|
191
|
-
let dtd = res?.dtdResult;
|
|
192
|
-
let rows = dtd.rows ? dtd.rows[0] : [];
|
|
193
|
-
let mids = res?.selectMIDs;
|
|
194
|
-
let metadataList = searchResultToMetadataValues(TID, dtd, rows, mids, mdList, layoutMode);
|
|
195
|
-
if (archived) {
|
|
196
|
-
let tempMetadataList = [];
|
|
197
|
-
for (let md of metadataList) {
|
|
198
|
-
if (md.value === null) {
|
|
199
|
-
if (formDataOrig.find(metadata => metadata.mid === md.mid)?.value === '') {
|
|
200
|
-
tempMetadataList.push({ ...md, value: '' });
|
|
201
|
-
}
|
|
202
|
-
if (formDataOrig.find(metadata => metadata.mid === md.mid)?.value === undefined) {
|
|
203
|
-
tempMetadataList.push({ ...md, value: undefined });
|
|
204
|
-
}
|
|
205
|
-
if (formDataOrig.find(metadata => metadata.mid === md.mid)?.value === null) {
|
|
206
|
-
tempMetadataList.push(md);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
else {
|
|
210
|
-
tempMetadataList.push(md);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
setFormData(tempMetadataList);
|
|
214
|
-
return;
|
|
215
|
-
}
|
|
216
|
-
setFormDataOrig(structuredClone(metadataList));
|
|
217
|
-
setFormData(structuredClone(metadataList));
|
|
218
|
-
}
|
|
219
|
-
catch (e) {
|
|
220
|
-
TMExceptionBoxManager.show({ exception: e });
|
|
221
|
-
}
|
|
222
|
-
finally {
|
|
223
|
-
TMSpinner.hide();
|
|
224
|
-
}
|
|
225
|
-
};
|
|
226
229
|
const onUndoHandler = () => {
|
|
227
230
|
setFormData(structuredClone(formDataOrig));
|
|
228
231
|
};
|
|
@@ -265,7 +268,7 @@ const TMDcmtForm = ({ showHeader = true, onSaveRecents, layoutMode = LayoutModes
|
|
|
265
268
|
}
|
|
266
269
|
await ue.UpdateAsync();
|
|
267
270
|
await onSavedAsyncCallback?.(TID, DID);
|
|
268
|
-
await setMetadataListAsync(fromDTD?.metadata);
|
|
271
|
+
await setMetadataListAsync(fromDTD?.metadata ?? []);
|
|
269
272
|
ShowAlert({ mode: 'success', title: 'Form di documento', message: 'Le modifiche sono state salvate con successo', duration: 3000 });
|
|
270
273
|
}
|
|
271
274
|
catch (e) {
|
|
@@ -324,7 +327,7 @@ const TMDcmtForm = ({ showHeader = true, onSaveRecents, layoutMode = LayoutModes
|
|
|
324
327
|
firstBlock = true;
|
|
325
328
|
}
|
|
326
329
|
});
|
|
327
|
-
await setMetadataListAsync(fromDTD?.metadata ?? [], true, res);
|
|
330
|
+
await setMetadataListAsync(fromDTD?.metadata ?? [], undefined, true, res);
|
|
328
331
|
resetHandler();
|
|
329
332
|
let newMruTIDS = updateMruTids(SDKUI_Globals.userSettings.archivingSettings.mruTIDs, TID);
|
|
330
333
|
SDKUI_Globals.userSettings.archivingSettings.mruTIDs = newMruTIDS;
|
|
@@ -17,7 +17,8 @@ export const TMMidViewer = ({ isMetadataSelected = false, color, tmSession, tid_
|
|
|
17
17
|
setMd(undefined);
|
|
18
18
|
return;
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
//Passiamo did = undefined, perché è già in cache
|
|
21
|
+
DcmtTypeListCacheService.GetWithNotGrantedAsync(tid_mid.tid, undefined, undefined, tmSession).then((dtd) => {
|
|
21
22
|
setDcmtTypeName(getDisplayAlias(SDK_Globals.useLocalizedName ? dtd?.nameLoc : dtd?.name, tid_mid.aliasTID));
|
|
22
23
|
let md = dtd?.metadata?.find(o => o.id == tid_mid.mid);
|
|
23
24
|
setMd(md);
|
|
@@ -51,7 +52,7 @@ export const TMMetadataIcon = ({ tid, md, color, layoutMode = LayoutModes.Update
|
|
|
51
52
|
let iconColor = md.isRequired === 1 && !isNumeratorInArk ? TMColors.error : (color ?? TMColors.text_normal);
|
|
52
53
|
let icon = null;
|
|
53
54
|
if (md.objectClass === ObjectClasses.Permission)
|
|
54
|
-
icon = _jsx(IconLocked, { fontSize:
|
|
55
|
+
icon = _jsx(IconLocked, { fontSize: 16 });
|
|
55
56
|
else {
|
|
56
57
|
switch (md.dataDomain) {
|
|
57
58
|
case MetadataDataDomains.Computed:
|
|
@@ -242,7 +242,7 @@ export const TMDcmtTypeIcon = ({ dtd }) => {
|
|
|
242
242
|
return null;
|
|
243
243
|
let icon = null;
|
|
244
244
|
if (dtd.customData2 === "NOTGRANTED")
|
|
245
|
-
icon = _jsx(IconLocked, { fontSize:
|
|
245
|
+
icon = _jsx(IconLocked, { fontSize: 16 });
|
|
246
246
|
else if (dtd.imageID && dtd.imageID.length > 0)
|
|
247
247
|
icon = _jsx(TMImageLibrary, { imageID: dtd.imageID });
|
|
248
248
|
if (icon == null) {
|
|
@@ -271,7 +271,7 @@ const TMTidViewer = ({ tmSession, tid, did, showIcon = false, color, showId = fa
|
|
|
271
271
|
if (count <= 0)
|
|
272
272
|
TMSpinner.show({ description: `${SDKUI_Localizator.Loading} - ${SDK_Localizator.ListDcmtTypeOrView} ...` });
|
|
273
273
|
try {
|
|
274
|
-
const dtd = await DcmtTypeListCacheService.GetWithNotGrantedAsync(tid, did, tmSession);
|
|
274
|
+
const dtd = await DcmtTypeListCacheService.GetWithNotGrantedAsync(tid, did, undefined, tmSession);
|
|
275
275
|
setDtd(dtd);
|
|
276
276
|
}
|
|
277
277
|
finally {
|
package/lib/helper/TMIcons.d.ts
CHANGED
|
@@ -188,6 +188,10 @@ declare function IconLock(props: Readonly<React.SVGProps<SVGSVGElement>>): impor
|
|
|
188
188
|
declare function IconLockClosed(props?: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
189
189
|
declare function IconBxLock(props?: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
190
190
|
declare function IconFolder(props?: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
191
|
+
export declare function IconFolderForCSS({ fill, ...props }: {
|
|
192
|
+
[x: string]: any;
|
|
193
|
+
fill?: string | undefined;
|
|
194
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
191
195
|
declare function IconFolderOpen(props: Readonly<React.SVGProps<SVGSVGElement>>): import("react/jsx-runtime").JSX.Element;
|
|
192
196
|
declare function IconTag(props?: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
193
197
|
declare function IconFolderZip(props?: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
package/lib/helper/TMIcons.js
CHANGED
|
@@ -477,6 +477,9 @@ function IconFolder(props) {
|
|
|
477
477
|
// <svg fontSize={props?.fontSize ? props?.fontSize : FONTSIZE} viewBox="0 0 1024 1024" fill="currentColor" height="1em" width="1em" {...props} > <path d="M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32z" /> </svg>
|
|
478
478
|
_jsx("svg", { focusable: "false", viewBox: "0 0 24 24", height: "1em", width: "1em", ...props, fill: "currentColor", children: _jsxs("g", { children: [_jsx("path", { d: "M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z" }), _jsx("path", { d: "M0 0h24v24H0z", fill: "none" })] }) }));
|
|
479
479
|
}
|
|
480
|
+
export function IconFolderForCSS({ fill = "#9fc6e7", ...props }) {
|
|
481
|
+
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "20", height: "20", ...props, children: _jsxs("g", { children: [_jsx("path", { d: "M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z", fill: fill }), _jsx("path", { d: "M0 0h24v24H0z", fill: "none" })] }) }));
|
|
482
|
+
}
|
|
480
483
|
function IconFolderOpen(props) { return (_jsxs("svg", { fontSize: props.fontSize ? props.fontSize : FONTSIZE, viewBox: "0 0 1024 1024", fill: "currentColor", height: "1em", width: "1em", ...props, children: [" ", _jsx("path", { d: "M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zm-180 0H238c-13 0-24.8 7.9-29.7 20L136 643.2V256h188.5l119.6 114.4H748V444z" }), " "] })); }
|
|
481
484
|
function IconTag(props) { return (_jsxs("svg", { fontSize: props?.fontSize ? props.fontSize : FONTSIZE, viewBox: "0 0 448 512", fill: "currentColor", height: "1em", width: "1em", ...props, children: [" ", _jsx("path", { d: "M0 80v149.5c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0l133.5-133.5c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7H48C21.5 32 0 53.5 0 80zm112 96c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z" }), " "] })); }
|
|
482
485
|
function IconFolderZip(props) { return (_jsxs("svg", { fontSize: props?.fontSize ? props.fontSize : FONTSIZE, viewBox: "0 0 24 24", fill: "currentColor", height: "1em", width: "1em", ...props, children: [" ", _jsx("path", { d: "M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-2 6h-2v2h2v2h-2v2h-2v-2h2v-2h-2v-2h2v-2h-2V8h2v2h2v2z" }), " "] })); }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topconsultnpm/sdkui-react-beta",
|
|
3
|
-
"version": "6.14.
|
|
3
|
+
"version": "6.14.54",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"lib"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@topconsultnpm/sdk-ts-beta": "6.14.
|
|
45
|
+
"@topconsultnpm/sdk-ts-beta": "6.14.13",
|
|
46
46
|
"buffer": "^6.0.3",
|
|
47
47
|
"devextreme": "24.2.6",
|
|
48
48
|
"devextreme-react": "24.2.6",
|