@topconsultnpm/sdkui-react-beta 6.15.18 → 6.15.20
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 +8 -12
- package/lib/components/choosers/TMDiskChooser.js +1 -1
- package/lib/components/features/blog/TMBlogCommentForm.d.ts +1 -1
- package/lib/components/features/blog/TMBlogCommentForm.js +4 -4
- package/lib/components/features/search/TMSearchResult.js +5 -5
- package/lib/components/features/search/TMSearchResultFloatingActionButton.d.ts +1 -1
- package/lib/components/features/search/TMSearchResultFloatingActionButton.js +5 -1
- package/lib/components/features/search/TMSearchResultsMenuItems.d.ts +1 -1
- package/lib/components/features/search/TMSearchResultsMenuItems.js +19 -20
- package/lib/helper/SDKUI_Localizator.d.ts +7 -3
- package/lib/helper/SDKUI_Localizator.js +70 -30
- package/package.json +1 -1
|
@@ -206,20 +206,17 @@ const highlightText = (text, searchText, isSelected) => {
|
|
|
206
206
|
};
|
|
207
207
|
const DetailsView = (props) => {
|
|
208
208
|
const { userID, items, focusedFile, selectedFiles, searchText = '', handleFocusedFile, handleSelectedFiles, onDoubleClickHandler, fileContextMenuItems = [] } = props;
|
|
209
|
-
const
|
|
210
|
-
return _jsx("div", { children: highlightText(cellData.value, searchText, false) });
|
|
211
|
-
}, [searchText]);
|
|
212
|
-
const cellExtRender = (cellData) => {
|
|
213
|
-
const data = cellData.data;
|
|
214
|
-
return _jsx("div", { style: { display: 'flex', justifyContent: 'center', alignItems: 'center' }, children: getFileIcon(data.ext, data.version) });
|
|
215
|
-
};
|
|
216
|
-
const cellEditOrLockRender = (cellData) => {
|
|
209
|
+
const cellNameRender = useCallback((cellData) => {
|
|
217
210
|
const { checkoutDate, checkOutUserID, checkOutUserName, version, ext, creationTime, lastUpdateTime } = cellData.data;
|
|
218
211
|
const checkoutUsedId = checkOutUserID;
|
|
219
212
|
const editMode = checkoutDate && checkoutUsedId && userID && userID === checkoutUsedId;
|
|
220
213
|
const lockMode = checkoutDate && checkoutUsedId && userID && userID !== checkoutUsedId;
|
|
221
214
|
const editLockTooltipText = _jsxs(_Fragment, { children: [_jsxs("div", { style: { textAlign: "center" }, children: [editMode && (_jsxs(_Fragment, { children: [_jsx("i", { style: { fontSize: "18px", color: "#28a745", fontWeight: "bold" }, className: "dx-icon-edit" }), SDKUI_Localizator.CurrentUserExtract] })), lockMode && (_jsxs(_Fragment, { children: [_jsx("i", { style: { fontSize: "18px", color: "#28a745", fontWeight: "bold" }, className: "dx-icon-lock" }), SDKUI_Localizator.ExtractedFromOtherUser] }))] }), _jsx("hr", {}), _jsxs("div", { style: { textAlign: "left" }, children: [_jsxs("ul", { children: [_jsxs("li", { children: ["- ", _jsx("span", { style: { fontWeight: 'bold' }, children: SDKUI_Localizator.ExtractedBy }), ": ", checkOutUserName ?? '-', " (ID: ", checkOutUserID, ")"] }), _jsxs("li", { children: ["- ", _jsx("span", { style: { fontWeight: 'bold' }, children: SDKUI_Localizator.ExtractedOn }), ": ", Globalization.getDateTimeDisplayValue(checkoutDate?.toString())] })] }), _jsx("hr", {}), _jsx("ul", { children: _jsxs("li", { children: ["- ", _jsx("span", { style: { fontWeight: 'bold' }, children: SDKUI_Localizator.Version }), ": ", version ?? 1] }) }), _jsx("hr", {}), _jsxs("ul", { children: [_jsxs("li", { children: ["- ", _jsx("span", { style: { fontWeight: 'bold' }, children: SDKUI_Localizator.Type }), ": ", ext] }), _jsxs("li", { children: ["- ", _jsx("span", { style: { fontWeight: 'bold' }, children: SDKUI_Localizator.CreationTime }), ": ", Globalization.getDateTimeDisplayValue(creationTime?.toString())] }), _jsxs("li", { children: ["- ", _jsx("span", { style: { fontWeight: 'bold' }, children: SDKUI_Localizator.LastUpdateTime }), ": ", Globalization.getDateTimeDisplayValue(lastUpdateTime?.toString())] })] })] })] });
|
|
222
|
-
return _jsxs(
|
|
215
|
+
return _jsxs("div", { style: { display: "inline-flex", alignItems: "center", gap: "4px" }, children: [editMode && _jsx(TMTooltip, { content: editLockTooltipText, children: _jsx("i", { style: { fontSize: "18px", color: "#28a745", fontWeight: "bold" }, className: "dx-icon-edit" }) }), lockMode && _jsx(TMTooltip, { content: editLockTooltipText, children: _jsx("i", { style: { fontSize: "18px", color: "#28a745", fontWeight: "bold" }, className: "dx-icon-lock" }) }), highlightText(cellData.value, searchText, false)] });
|
|
216
|
+
}, [searchText]);
|
|
217
|
+
const cellExtRender = (cellData) => {
|
|
218
|
+
const data = cellData.data;
|
|
219
|
+
return _jsx("div", { style: { display: 'flex', justifyContent: 'center', alignItems: 'center' }, children: getFileIcon(data.ext, data.version) });
|
|
223
220
|
};
|
|
224
221
|
const cellDatetimeRender = useCallback((cellData) => {
|
|
225
222
|
const { value } = cellData;
|
|
@@ -229,9 +226,8 @@ const DetailsView = (props) => {
|
|
|
229
226
|
const dataColumns = useMemo(() => {
|
|
230
227
|
return [
|
|
231
228
|
{ dataField: "id", caption: "ID", dataType: 'string', visible: false },
|
|
232
|
-
{ dataField: "ext", caption:
|
|
233
|
-
{ dataField: "
|
|
234
|
-
{ dataField: "name", caption: SDKUI_Localizator.Name, cellRender: cellDefaultRender },
|
|
229
|
+
{ dataField: "ext", caption: "", cellRender: cellExtRender },
|
|
230
|
+
{ dataField: "name", caption: SDKUI_Localizator.Name, cellRender: cellNameRender },
|
|
235
231
|
{ dataField: "version", caption: SDKUI_Localizator.Version },
|
|
236
232
|
{ dataField: "size", caption: SDKUI_Localizator.Size, cellRender: (cellData) => formatBytes(cellData.data.size ?? 0) },
|
|
237
233
|
{ dataField: "updaterName", caption: SDKUI_Localizator.Author },
|
|
@@ -28,7 +28,7 @@ const cellRenderIcon = () => _jsx(IconDisk, { color: '#767676' });
|
|
|
28
28
|
export const TMDiskChooserForm = (props) => {
|
|
29
29
|
const getItems = async (refreshCache) => {
|
|
30
30
|
TMSpinner.show({ description: `${SDKUI_Localizator.Loading} - ${SDK_Localizator.Disks} ...` });
|
|
31
|
-
let items = await SDK_Globals.tmSession?.NewDiskEngine().RetrieveAllAdminAsync();
|
|
31
|
+
let items = await SDK_Globals.tmSession?.NewDiskEngine().RetrieveAllAdminAsync(true);
|
|
32
32
|
TMSpinner.hide();
|
|
33
33
|
return items ?? [];
|
|
34
34
|
};
|
|
@@ -8,7 +8,7 @@ interface TMBlogCommentFormProps {
|
|
|
8
8
|
refreshCallback: () => Promise<void>;
|
|
9
9
|
showAttachmentsSection?: boolean;
|
|
10
10
|
selectedAttachments?: Array<FileItem>;
|
|
11
|
-
selectedAttachmentDid?: number
|
|
11
|
+
selectedAttachmentDid?: Array<number>;
|
|
12
12
|
allFileItems?: FileItem;
|
|
13
13
|
allArchivedDocumentsFileItems?: Array<FileItem>;
|
|
14
14
|
updateShouldSelectLastBlog?: (value: boolean) => void;
|
|
@@ -64,10 +64,10 @@ const TMBlogCommentForm = (props) => {
|
|
|
64
64
|
setDataSource([...getNonDirectoryFiles(allFileItems?.items || [], []), ...allArchivedDocumentsFileItems,]);
|
|
65
65
|
}, [allFileItems, allArchivedDocumentsFileItems]);
|
|
66
66
|
useEffect(() => {
|
|
67
|
-
if (selectedAttachmentDid) {
|
|
68
|
-
const
|
|
69
|
-
if (
|
|
70
|
-
setCurrentDraftAttachments(
|
|
67
|
+
if (selectedAttachmentDid && selectedAttachmentDid.length) {
|
|
68
|
+
const selectedFiles = dataSource.filter(file => file.did !== undefined && selectedAttachmentDid.includes(file.did));
|
|
69
|
+
if (selectedFiles.length) {
|
|
70
|
+
setCurrentDraftAttachments(selectedFiles);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
}, [selectedAttachmentDid, dataSource]);
|
|
@@ -92,6 +92,7 @@ const TMSearchResult = ({ context = SearchResultContext.METADATA_SEARCH, isVisib
|
|
|
92
92
|
const { openConfirmAttachmentsDialog, ConfirmAttachmentsDialog } = useInputAttachmentsDialog();
|
|
93
93
|
const { abortController, showWaitPanel, waitPanelTitle, showPrimary, waitPanelTextPrimary, waitPanelValuePrimary, waitPanelMaxValuePrimary, showSecondary, waitPanelTextSecondary, waitPanelValueSecondary, waitPanelMaxValueSecondary, downloadDcmtsAsync, runOperationAsync } = useDcmtOperations();
|
|
94
94
|
const deviceType = useDeviceType();
|
|
95
|
+
const isMobile = deviceType === DeviceType.MOBILE;
|
|
95
96
|
let disable = getSelectedDcmtsOrFocused(selectedItems, focusedItem).length === 0;
|
|
96
97
|
let dcmtsReturned = (searchResults?.length > 1 ? selectedSearchResult?.dcmtsReturned : searchResults[0]?.dcmtsReturned ?? 0);
|
|
97
98
|
let dcmtsFound = (searchResults?.length > 1 ? selectedSearchResult?.dcmtsFound : searchResults[0]?.dcmtsFound ?? 0);
|
|
@@ -231,7 +232,7 @@ const TMSearchResult = ({ context = SearchResultContext.METADATA_SEARCH, isVisib
|
|
|
231
232
|
return;
|
|
232
233
|
if (e.target === 'content') {
|
|
233
234
|
e.items = e.items || [];
|
|
234
|
-
const menuItems = getCommandsMenuItems(fromDTD, selectedItems, focusedItem, context, showFloatingBar, workingGroupContext, setShowFloatingBar, openFormHandler, downloadDcmtsAsync, runOperationAsync, onRefreshSearchAsync, refreshSelectionDataRowsAsync, onRefreshAfterAddDcmtToFavs, confirmFormat, openConfirmAttachmentsDialog, openTaskFormHandler, openDetailDcmtsFormHandler, openMasterDcmtsFormHandler, openBatchUpdateFormHandler, openExportForm, openWGsCopyMoveForm, openCommentFormCallback, openAddDocumentForm);
|
|
235
|
+
const menuItems = getCommandsMenuItems(isMobile, fromDTD, selectedItems, focusedItem, context, showFloatingBar, workingGroupContext, setShowFloatingBar, openFormHandler, downloadDcmtsAsync, runOperationAsync, onRefreshSearchAsync, refreshSelectionDataRowsAsync, onRefreshAfterAddDcmtToFavs, confirmFormat, openConfirmAttachmentsDialog, openTaskFormHandler, openDetailDcmtsFormHandler, openMasterDcmtsFormHandler, openBatchUpdateFormHandler, openExportForm, openWGsCopyMoveForm, openCommentFormCallback, openAddDocumentForm);
|
|
235
236
|
e.items.push(...menuItems);
|
|
236
237
|
}
|
|
237
238
|
};
|
|
@@ -358,7 +359,7 @@ const TMSearchResult = ({ context = SearchResultContext.METADATA_SEARCH, isVisib
|
|
|
358
359
|
}
|
|
359
360
|
};
|
|
360
361
|
const searchResutlToolbar = _jsxs(_Fragment, { children: [(dcmtsReturned != dcmtsFound) && _jsx("p", { style: { backgroundColor: `white`, color: TMColors.primaryColor, textAlign: 'center', padding: '1px 4px', borderRadius: '3px', display: 'flex' }, children: `${dcmtsReturned}/${dcmtsFound} restituiti` }), context === SearchResultContext.FAVORITES_AND_RECENTS &&
|
|
361
|
-
_jsx("div", { style: { display: 'flex', alignItems: 'center', gap: '5px' }, children: _jsx(TMButton, { btnStyle: 'icon', icon: _jsx(IconDelete, { color: 'white' }), caption: "Rimuovi da " + (selectedSearchResult?.category === "Favorites" ? '"Preferiti"' : '"Recenti"'), disabled: getSelectedDcmtsOrFocused(selectedItems, focusedItem).length <= 0, onClick: removeDcmtFromFavsOrRecents }) }), _jsx(TMButton, { btnStyle: 'icon', icon: _jsx(IconRefresh, { color: 'white' }), caption: SDKUI_Localizator.Refresh, onClick: onRefreshSearchAsync }), _jsx(IconMenuVertical, { id: `commands-header-${id}`, color: 'white', cursor: 'pointer' }), _jsx(CommandsContextMenu, { target: `#commands-header-${id}`, menuItems: getCommandsMenuItems(fromDTD, selectedItems, focusedItem, context, showFloatingBar, workingGroupContext, setShowFloatingBar, openFormHandler, downloadDcmtsAsync, runOperationAsync, onRefreshSearchAsync, refreshSelectionDataRowsAsync, onRefreshAfterAddDcmtToFavs, confirmFormat, openConfirmAttachmentsDialog, openTaskFormHandler, openDetailDcmtsFormHandler, openMasterDcmtsFormHandler, openBatchUpdateFormHandler, openExportForm, openWGsCopyMoveForm, openCommentFormCallback, openAddDocumentForm) })] });
|
|
362
|
+
_jsx("div", { style: { display: 'flex', alignItems: 'center', gap: '5px' }, children: _jsx(TMButton, { btnStyle: 'icon', icon: _jsx(IconDelete, { color: 'white' }), caption: "Rimuovi da " + (selectedSearchResult?.category === "Favorites" ? '"Preferiti"' : '"Recenti"'), disabled: getSelectedDcmtsOrFocused(selectedItems, focusedItem).length <= 0, onClick: removeDcmtFromFavsOrRecents }) }), _jsx(TMButton, { btnStyle: 'icon', icon: _jsx(IconRefresh, { color: 'white' }), caption: SDKUI_Localizator.Refresh, onClick: onRefreshSearchAsync }), _jsx(IconMenuVertical, { id: `commands-header-${id}`, color: 'white', cursor: 'pointer' }), _jsx(CommandsContextMenu, { target: `#commands-header-${id}`, menuItems: getCommandsMenuItems(isMobile, fromDTD, selectedItems, focusedItem, context, showFloatingBar, workingGroupContext, setShowFloatingBar, openFormHandler, downloadDcmtsAsync, runOperationAsync, onRefreshSearchAsync, refreshSelectionDataRowsAsync, onRefreshAfterAddDcmtToFavs, confirmFormat, openConfirmAttachmentsDialog, openTaskFormHandler, openDetailDcmtsFormHandler, openMasterDcmtsFormHandler, openBatchUpdateFormHandler, openExportForm, openWGsCopyMoveForm, openCommentFormCallback, openAddDocumentForm) })] });
|
|
362
363
|
const middlePanelToolbar = _jsxs("div", { style: { width: 'max-content', display: 'flex', alignItems: 'center', gap: '10px' }, children: [_jsx(TMSaveFormButtonPrevious, { btnStyle: 'icon', isModified: false, iconColor: TMColors.default_background, formMode: FormModes.ReadOnly, canPrev: canNavigateHandler('prev'), onPrev: () => onNavigateHandler('prev') }), _jsx(TMSaveFormButtonNext, { btnStyle: 'icon', isModified: false, iconColor: TMColors.default_background, formMode: FormModes.ReadOnly, canNext: canNavigateHandler('next'), onNext: () => onNavigateHandler('next') })] });
|
|
363
364
|
const handleAddItem = (tid, did) => {
|
|
364
365
|
let newItem = { TID: tid ?? 0, DID: did ?? 0 };
|
|
@@ -367,16 +368,15 @@ const TMSearchResult = ({ context = SearchResultContext.METADATA_SEARCH, isVisib
|
|
|
367
368
|
const handleRemoveItem = (tid, did) => {
|
|
368
369
|
setSecondaryMasterDcmts((prevItems) => prevItems.filter(item => item.TID !== tid && item.DID !== did));
|
|
369
370
|
};
|
|
370
|
-
const isMobile = deviceType === DeviceType.MOBILE;
|
|
371
371
|
const showToppyForApprove = (isVisible && fromDTD?.templateTID === TemplateTIDs.WF_WIApprView && !isOpenDcmtForm && !isOpenDetails && !isOpenMaster);
|
|
372
372
|
const tmSearchResult = useMemo(() => (!searchResults || searchResults.length <= 0)
|
|
373
|
-
? _jsxs("div", { style: { display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'center', height: '100%', width: '100%' }, children: [_jsx(IconBoard, { fontSize: 96 }), _jsx("div", { style: { fontSize: "15px", marginTop: "10px" }, children: SDKUI_Localizator.NoDcmtFound })] })
|
|
373
|
+
? _jsxs("div", { style: { display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'center', height: '100%', width: '100%' }, children: [_jsx(IconBoard, { fontSize: 96 }), _jsx("div", { style: { fontSize: "15px", marginTop: "10px" }, children: SDKUI_Localizator.NoDcmtFound }), _jsx("div", { style: { marginTop: "10px" }, children: _jsx(TMButton, { fontSize: "15px", icon: _jsx("i", { className: 'dx-icon-share' }), caption: SDKUI_Localizator.Share, onClick: openAddDocumentForm }) })] })
|
|
374
374
|
:
|
|
375
375
|
_jsxs(_Fragment, { children: [_jsxs(TMLayoutItem, { height: '100%', children: [_jsxs(TMSplitterLayout, { direction: 'horizontal', overflow: 'visible', separatorSize: SDKUI_Globals.userSettings.themeSettings.gutters, separatorActiveColor: 'transparent', separatorColor: 'transparent', min: ['0', '0'], showSeparator: showSelector && deviceType !== DeviceType.MOBILE, start: showSelector ? deviceType !== DeviceType.MOBILE ? ['30%', '70%'] : splitterSize : ['0%', '100%'], children: [showSelector ?
|
|
376
376
|
_jsx(TMLayoutItem, { children: _jsx(TMSearchResultSelector, { searchResults: currentSearchResults, disableAccordionIfSingleCategory: disableAccordionIfSingleCategory, selectedTID: selectedSearchResultTID, onSelectionChanged: onSearchResultSelectionChanged }) })
|
|
377
377
|
:
|
|
378
378
|
_jsx(_Fragment, {}), _jsxs(TMLayoutItem, { children: [_jsx(TMSearchResultGrid, { inputFocusedItem: focusedItem, inputSelectedItems: selectedItems, searchResult: searchResults.length > 1 ? selectedSearchResult : searchResults[0], lastUpdateSearchTime: lastUpdateSearchTime, onDblClick: () => openFormHandler(LayoutModes.Update), onContextMenuPreparing: onContextMenuPreparing, onSelectionChanged: (items) => { setSelectedItems(items); }, onVisibleItemChanged: setVisibleItems, onFocusedItemChanged: setFocusedItem, onDownloadDcmtsAsync: async (inputDcmts, downloadType, downloadMode, _y, confirmAttachments) => await downloadDcmtsAsync(inputDcmts, downloadType, downloadMode, onFileOpened, confirmAttachments), showExportForm: showExportForm, onCloseExportForm: onCloseExportForm }), allowFloatingBar && showFloatingBar && deviceType !== DeviceType.MOBILE &&
|
|
379
|
-
_jsxs(TMFloatingToolbar, { backgroundColor: TMColors.primaryColor, initialLeft: '10px', initialTop: 'calc(100% - 75px)', children: [fromDTD?.perm?.canRetrieveFile === AccessLevels.Yes && _jsx(TMButton, { btnStyle: 'icon', caption: "Download file", disabled: fromDTD?.perm?.canRetrieveFile !== AccessLevels.Yes || !focusedItem?.DID, icon: _jsx(IconDownload, { color: 'white' }), onClick: () => { downloadDcmtsAsync(getSelectedDcmtsOrFocused(selectedItems, focusedItem), DownloadTypes.Dcmt, "download"); } }), allowRelations && _jsx(TMButton, { btnStyle: 'icon', disabled: !currentTIDHasDetailRelations || !focusedItem?.DID, icon: _jsx(IconDetailDcmts, { color: 'white' }), caption: SDKUI_Localizator.DcmtsDetail, onClick: () => setIsOpenDetails(true) }), allowRelations && _jsx(TMButton, { btnStyle: 'icon', disabled: !currentTIDHasMasterRelations || !focusedItem?.DID, icon: _jsx(IconDetailDcmts, { color: 'white', transform: 'scale(-1, 1)' }), caption: SDKUI_Localizator.DcmtsMaster, onClick: () => setIsOpenMaster(true) }), _jsx(IconMenuVertical, { id: `commands-floating-${id}`, color: 'white', cursor: 'pointer' }), _jsx(CommandsContextMenu, { target: `#commands-floating-${id}`, menuItems: getCommandsMenuItems(fromDTD, selectedItems, focusedItem, context, showFloatingBar, workingGroupContext, setShowFloatingBar, openFormHandler, downloadDcmtsAsync, runOperationAsync, onRefreshSearchAsync, refreshSelectionDataRowsAsync, onRefreshAfterAddDcmtToFavs, confirmFormat, openConfirmAttachmentsDialog, openTaskFormHandler, openDetailDcmtsFormHandler, openMasterDcmtsFormHandler, openBatchUpdateFormHandler, openExportForm, openWGsCopyMoveForm, openCommentFormCallback, openAddDocumentForm) })] })] })
|
|
379
|
+
_jsxs(TMFloatingToolbar, { backgroundColor: TMColors.primaryColor, initialLeft: '10px', initialTop: 'calc(100% - 75px)', children: [fromDTD?.perm?.canRetrieveFile === AccessLevels.Yes && _jsx(TMButton, { btnStyle: 'icon', caption: "Download file", disabled: fromDTD?.perm?.canRetrieveFile !== AccessLevels.Yes || !focusedItem?.DID, icon: _jsx(IconDownload, { color: 'white' }), onClick: () => { downloadDcmtsAsync(getSelectedDcmtsOrFocused(selectedItems, focusedItem), DownloadTypes.Dcmt, "download"); } }), allowRelations && _jsx(TMButton, { btnStyle: 'icon', disabled: !currentTIDHasDetailRelations || !focusedItem?.DID, icon: _jsx(IconDetailDcmts, { color: 'white' }), caption: SDKUI_Localizator.DcmtsDetail, onClick: () => setIsOpenDetails(true) }), allowRelations && _jsx(TMButton, { btnStyle: 'icon', disabled: !currentTIDHasMasterRelations || !focusedItem?.DID, icon: _jsx(IconDetailDcmts, { color: 'white', transform: 'scale(-1, 1)' }), caption: SDKUI_Localizator.DcmtsMaster, onClick: () => setIsOpenMaster(true) }), _jsx(IconMenuVertical, { id: `commands-floating-${id}`, color: 'white', cursor: 'pointer' }), _jsx(CommandsContextMenu, { target: `#commands-floating-${id}`, menuItems: getCommandsMenuItems(isMobile, fromDTD, selectedItems, focusedItem, context, showFloatingBar, workingGroupContext, setShowFloatingBar, openFormHandler, downloadDcmtsAsync, runOperationAsync, onRefreshSearchAsync, refreshSelectionDataRowsAsync, onRefreshAfterAddDcmtToFavs, confirmFormat, openConfirmAttachmentsDialog, openTaskFormHandler, openDetailDcmtsFormHandler, openMasterDcmtsFormHandler, openBatchUpdateFormHandler, openExportForm, openWGsCopyMoveForm, openCommentFormCallback, openAddDocumentForm) })] })] })] }), showApprovePopup && _jsx(WorkFlowApproveRejectPopUp, { deviceType: deviceType, onCompleted: onWFOperationCompleted, selectedItems: getSelectedDcmtsOrFocused(selectedItems, focusedItem), isReject: 0, onClose: () => setShowApprovePopup(false) }), showRejectPopup && _jsx(WorkFlowApproveRejectPopUp, { deviceType: deviceType, onCompleted: onWFOperationCompleted, selectedItems: getSelectedDcmtsOrFocused(selectedItems, focusedItem), isReject: 1, onClose: () => setShowRejectPopup(false) }), showReAssignPopup && _jsx(WorkFlowReAssignPopUp, { deviceType: deviceType, onCompleted: onWFOperationCompleted, selectedItems: getSelectedDcmtsOrFocused(selectedItems, focusedItem), onClose: () => setShowReAssignPopup(false) }), showMoreInfoPopup && _jsx(WorkFlowMoreInfoPopUp, { TID: focusedItem?.TID, DID: focusedItem?.DID, deviceType: deviceType, onCompleted: onWFOperationCompleted, onClose: () => setShowMoreInfoPopup(false) }), isOpenBatchUpdate && _jsx(TMBatchUpdateForm, { isModal: true, titleModal: `${SDKUI_Localizator.BatchUpdate} (${getSelectionDcmtInfo().length} documenti selezionati)`, inputDcmts: getSelectionDcmtInfo(), TID: focusedItem ? focusedItem?.TID : selectedItems[0]?.TID, DID: focusedItem ? focusedItem?.DID : selectedItems[0]?.DID, onBack: () => {
|
|
380
380
|
setIsOpenBatchUpdate(false);
|
|
381
381
|
}, onSavedCallbackAsync: async () => {
|
|
382
382
|
setIsOpenBatchUpdate(false);
|
|
@@ -6,7 +6,7 @@ export interface TMSearchResultFloatingActionConfig {
|
|
|
6
6
|
type?: 'single' | 'multi';
|
|
7
7
|
tooltip?: React.ReactNode;
|
|
8
8
|
iconElement?: React.ReactNode;
|
|
9
|
-
onClick?: (selectedDcmtsOrFocused: Array<DcmtInfo>) => void
|
|
9
|
+
onClick?: (selectedDcmtsOrFocused: Array<DcmtInfo>) => void | Promise<void>;
|
|
10
10
|
}
|
|
11
11
|
interface TMSearchResultFloatingActionButtonProps {
|
|
12
12
|
selectedDcmtsOrFocused: Array<DcmtInfo>;
|
|
@@ -41,6 +41,10 @@ export const TMSearchResultFloatingActionButton = (props) => {
|
|
|
41
41
|
e.currentTarget.style.transform = 'scale(1)';
|
|
42
42
|
e.currentTarget.style.boxShadow = '0 2px 6px rgba(0,0,0,0.2)';
|
|
43
43
|
}
|
|
44
|
-
}, onClick: () =>
|
|
44
|
+
}, onClick: async () => {
|
|
45
|
+
if (config.onClick) {
|
|
46
|
+
await config.onClick(selectedDcmtsOrFocused);
|
|
47
|
+
}
|
|
48
|
+
}, children: _jsx(TMTooltip, { content: tooltip, children: iconElement || _jsx("i", { className: "dx-icon-add", style: { fontSize: '25px' } }) }) });
|
|
45
49
|
};
|
|
46
50
|
export default TMSearchResultFloatingActionButton;
|
|
@@ -3,4 +3,4 @@ import { DcmtTypeDescriptor, FileDescriptor, FileFormats, LayoutModes, WorkingGr
|
|
|
3
3
|
import { TMDataGridContextMenuItem } from '../../base/TMDataGrid';
|
|
4
4
|
import { DcmtInfo, DcmtOperationTypes, DownloadModes, DownloadTypes, SearchResultContext } from '../../../ts';
|
|
5
5
|
export declare const getSelectedDcmtsOrFocused: (selectedItems: Array<any>, focusedItem: any, fileFormat?: FileFormats) => DcmtInfo[];
|
|
6
|
-
export declare const getCommandsMenuItems: (dtd: DcmtTypeDescriptor | undefined, selectedItems: Array<any>, focusedItem: any, context: SearchResultContext, showFloatingBar: boolean, workingGroupContext: WorkingGroupDescriptor | undefined, setShowFloatingBar: React.Dispatch<React.SetStateAction<boolean>>, openFormHandler: (layoutMode: LayoutModes) => void, downloadDcmtsAsync: (inputDcmts: DcmtInfo[] | undefined, downloadType: DownloadTypes, downloadMode: DownloadModes, onFileDownloaded?: (dcmtFile: File | undefined) => void, confirmAttachments?: (list: FileDescriptor[]) => Promise<string[] | undefined>) => Promise<void>, runOperationAsync: (inputDcmts: DcmtInfo[] | undefined, dcmtOperationType: DcmtOperationTypes, actionAfterOperationAsync?: () => Promise<void>) => Promise<void>, onRefreshSearchAsync: (() => Promise<void>) | undefined, onRefreshDataRowsAsync: (() => Promise<void>) | undefined, onRefreshAfterAddDcmtToFavs: (() => void) | undefined, confirmFormat: () => Promise<FileFormats>, confirmAttachments: (list: FileDescriptor[]) => Promise<string[] | undefined>, openTaskFormHandler: () => void, openDetailDcmtsFormHandler: (value: boolean) => void, openMasterDcmtsFormHandler: (value: boolean) => void, openBatchUpdateFormHandler: (value: boolean) => void, openExportForm: () => void, openWGsCopyMoveForm?: ((mode: "copyToWgDraft" | "copyToWgArchivedDoc", dcmtTypeDescriptor: DcmtTypeDescriptor, documents: Array<DcmtInfo>) => void), openCommentFormCallback?: ((documents: Array<DcmtInfo>) => void), openAddDocumentForm?: () => void) => Array<TMDataGridContextMenuItem>;
|
|
6
|
+
export declare const getCommandsMenuItems: (isMobile: boolean, dtd: DcmtTypeDescriptor | undefined, selectedItems: Array<any>, focusedItem: any, context: SearchResultContext, showFloatingBar: boolean, workingGroupContext: WorkingGroupDescriptor | undefined, setShowFloatingBar: React.Dispatch<React.SetStateAction<boolean>>, openFormHandler: (layoutMode: LayoutModes) => void, downloadDcmtsAsync: (inputDcmts: DcmtInfo[] | undefined, downloadType: DownloadTypes, downloadMode: DownloadModes, onFileDownloaded?: (dcmtFile: File | undefined) => void, confirmAttachments?: (list: FileDescriptor[]) => Promise<string[] | undefined>) => Promise<void>, runOperationAsync: (inputDcmts: DcmtInfo[] | undefined, dcmtOperationType: DcmtOperationTypes, actionAfterOperationAsync?: () => Promise<void>) => Promise<void>, onRefreshSearchAsync: (() => Promise<void>) | undefined, onRefreshDataRowsAsync: (() => Promise<void>) | undefined, onRefreshAfterAddDcmtToFavs: (() => void) | undefined, confirmFormat: () => Promise<FileFormats>, confirmAttachments: (list: FileDescriptor[]) => Promise<string[] | undefined>, openTaskFormHandler: () => void, openDetailDcmtsFormHandler: (value: boolean) => void, openMasterDcmtsFormHandler: (value: boolean) => void, openBatchUpdateFormHandler: (value: boolean) => void, openExportForm: () => void, openWGsCopyMoveForm?: ((mode: "copyToWgDraft" | "copyToWgArchivedDoc", dcmtTypeDescriptor: DcmtTypeDescriptor, documents: Array<DcmtInfo>) => void), openCommentFormCallback?: ((documents: Array<DcmtInfo>) => void), openAddDocumentForm?: () => void) => Array<TMDataGridContextMenuItem>;
|
|
@@ -24,12 +24,12 @@ export const getSelectedDcmtsOrFocused = (selectedItems, focusedItem, fileFormat
|
|
|
24
24
|
}
|
|
25
25
|
return [];
|
|
26
26
|
};
|
|
27
|
-
export const getCommandsMenuItems = (dtd, selectedItems, focusedItem, context, showFloatingBar, workingGroupContext, setShowFloatingBar, openFormHandler, downloadDcmtsAsync, runOperationAsync, onRefreshSearchAsync, onRefreshDataRowsAsync, onRefreshAfterAddDcmtToFavs, confirmFormat, confirmAttachments, openTaskFormHandler, openDetailDcmtsFormHandler, openMasterDcmtsFormHandler, openBatchUpdateFormHandler, openExportForm, openWGsCopyMoveForm, openCommentFormCallback, openAddDocumentForm) => {
|
|
27
|
+
export const getCommandsMenuItems = (isMobile, dtd, selectedItems, focusedItem, context, showFloatingBar, workingGroupContext, setShowFloatingBar, openFormHandler, downloadDcmtsAsync, runOperationAsync, onRefreshSearchAsync, onRefreshDataRowsAsync, onRefreshAfterAddDcmtToFavs, confirmFormat, confirmAttachments, openTaskFormHandler, openDetailDcmtsFormHandler, openMasterDcmtsFormHandler, openBatchUpdateFormHandler, openExportForm, openWGsCopyMoveForm, openCommentFormCallback, openAddDocumentForm) => {
|
|
28
28
|
// let ftExplanations = focusedItem?.FTExplanations;
|
|
29
29
|
return [
|
|
30
30
|
{
|
|
31
31
|
icon: svgToString(_jsx(IconFileDots, {})),
|
|
32
|
-
text: SDKUI_Localizator.DocumentOperations,
|
|
32
|
+
text: !isMobile ? SDKUI_Localizator.DocumentOperations : SDKUI_Localizator.Documents,
|
|
33
33
|
disabled: disabledForSingleRow(selectedItems, focusedItem) && disabledForMultiRow(selectedItems, focusedItem),
|
|
34
34
|
items: [
|
|
35
35
|
{
|
|
@@ -392,42 +392,50 @@ export const getCommandsMenuItems = (dtd, selectedItems, focusedItem, context, s
|
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
394
|
icon: svgToString(_jsx(IconUserGroupOutline, {})),
|
|
395
|
-
text: SDKUI_Localizator.WorkgroupOperations,
|
|
395
|
+
text: !isMobile ? SDKUI_Localizator.WorkgroupOperations : SDKUI_Localizator.WorkingGroups,
|
|
396
396
|
operationType: 'multiRow',
|
|
397
397
|
visible: openWGsCopyMoveForm !== undefined || workingGroupContext !== undefined,
|
|
398
398
|
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
399
399
|
beginGroup: true,
|
|
400
400
|
items: [
|
|
401
401
|
{
|
|
402
|
-
icon: "
|
|
403
|
-
text: SDKUI_Localizator.
|
|
402
|
+
icon: "share",
|
|
403
|
+
text: SDKUI_Localizator.Share,
|
|
404
404
|
visible: workingGroupContext !== undefined && openAddDocumentForm !== undefined,
|
|
405
405
|
disabled: workingGroupContext === undefined,
|
|
406
406
|
onClick: () => openAddDocumentForm && openAddDocumentForm(),
|
|
407
407
|
},
|
|
408
408
|
{
|
|
409
|
-
icon: '
|
|
410
|
-
text: SDKUI_Localizator.
|
|
409
|
+
icon: 'copy',
|
|
410
|
+
text: SDKUI_Localizator.CopyToDrafts,
|
|
411
411
|
operationType: 'multiRow',
|
|
412
412
|
visible: openWGsCopyMoveForm !== undefined,
|
|
413
413
|
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
414
414
|
onClick: () => { (dtd && openWGsCopyMoveForm) && openWGsCopyMoveForm('copyToWgDraft', dtd, getSelectedDcmtsOrFocused(selectedItems, focusedItem)); },
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
|
-
icon: '
|
|
418
|
-
text: SDKUI_Localizator.
|
|
417
|
+
icon: 'movetofolder',
|
|
418
|
+
text: !isMobile ? SDKUI_Localizator.CopyToArchivedDocuments : SDKUI_Localizator.CopyToArchived,
|
|
419
419
|
operationType: 'multiRow',
|
|
420
420
|
visible: openWGsCopyMoveForm !== undefined,
|
|
421
421
|
disabled: disabledForMultiRow(selectedItems, focusedItem),
|
|
422
422
|
onClick: () => { (dtd && openWGsCopyMoveForm) && openWGsCopyMoveForm('copyToWgArchivedDoc', dtd, getSelectedDcmtsOrFocused(selectedItems, focusedItem)); },
|
|
423
423
|
},
|
|
424
|
+
{
|
|
425
|
+
icon: "chat",
|
|
426
|
+
text: SDKUI_Localizator.Comment,
|
|
427
|
+
operationType: 'multiRow',
|
|
428
|
+
visible: workingGroupContext !== undefined && openCommentFormCallback !== undefined,
|
|
429
|
+
disabled: workingGroupContext === undefined || disabledForMultiRow(selectedItems, focusedItem),
|
|
430
|
+
onClick: () => openCommentFormCallback && openCommentFormCallback(getSelectedDcmtsOrFocused(selectedItems, focusedItem)),
|
|
431
|
+
beginGroup: true,
|
|
432
|
+
},
|
|
424
433
|
{
|
|
425
434
|
icon: svgToString(_jsx(IconDelete, {})),
|
|
426
435
|
text: SDKUI_Localizator.Remove,
|
|
427
436
|
operationType: 'multiRow',
|
|
428
|
-
beginGroup: true,
|
|
429
437
|
visible: workingGroupContext !== undefined,
|
|
430
|
-
disabled: workingGroupContext === undefined,
|
|
438
|
+
disabled: workingGroupContext === undefined || disabledForMultiRow(selectedItems, focusedItem),
|
|
431
439
|
onClick: async () => {
|
|
432
440
|
let dcmts = getSelectedDcmtsOrFocused(selectedItems, focusedItem);
|
|
433
441
|
if (workingGroupContext)
|
|
@@ -435,15 +443,6 @@ export const getCommandsMenuItems = (dtd, selectedItems, focusedItem, context, s
|
|
|
435
443
|
await runOperationAsync(dcmts, DcmtOperationTypes.RemoveFromWorkgroup, onRefreshSearchAsync);
|
|
436
444
|
}
|
|
437
445
|
},
|
|
438
|
-
{
|
|
439
|
-
icon: "chat",
|
|
440
|
-
text: SDKUI_Localizator.Comment,
|
|
441
|
-
operationType: 'singleRow',
|
|
442
|
-
visible: workingGroupContext !== undefined && openCommentFormCallback !== undefined,
|
|
443
|
-
disabled: workingGroupContext === undefined,
|
|
444
|
-
onClick: () => openCommentFormCallback && openCommentFormCallback(getSelectedDcmtsOrFocused(selectedItems, focusedItem)),
|
|
445
|
-
beginGroup: true
|
|
446
|
-
},
|
|
447
446
|
]
|
|
448
447
|
},
|
|
449
448
|
];
|
|
@@ -20,8 +20,6 @@ export declare class SDKUI_Localizator {
|
|
|
20
20
|
static get AddOrSubstFile(): "Dateien hinzufügen/ersetzen" | "Add/substitute file" | "Añadir/sustituir archivo" | "Ajoute/Remplace le fichier" | "Adicionar / substituir arquivos" | "Aggiungi/sostituisci file";
|
|
21
21
|
static get AddReplaceFile(): string;
|
|
22
22
|
static get AddTo(): string;
|
|
23
|
-
static get AddToArchivedDocuments(): string;
|
|
24
|
-
static get AddToDrafts(): string;
|
|
25
23
|
static get AddToHomePage(): "Zur Startseite hinzufügen" | "Add to Home Page" | "Añadir a la página inicial" | "Ajoute à Home Page" | "Adicionar a Home Page" | "Aggiungi alla Home Page";
|
|
26
24
|
static get Advanced(): "Erweitert" | "Advanced" | "Avanzado" | "Avancé" | "Avançado" | "Avanzate";
|
|
27
25
|
static get All(): "Alle" | "All" | "Todos" | "Tous" | "Tutti";
|
|
@@ -90,7 +88,10 @@ export declare class SDKUI_Localizator {
|
|
|
90
88
|
static get ContinueOperation(): "Fortfahren?" | "Continue ?" | "¿Continuar?" | "Continuer?" | "Continuar?" | "Continuare?";
|
|
91
89
|
static get CopiedSuccessfully(): "In die Zwischenablage kopieren" | "Copied in clipboard successfully" | "Copiado en el portapapeles con éxito" | "Copié dans le presse-papiers avec succès" | "CCopiado na área de transferência com sucesso" | "Copiato negli appunti con successo";
|
|
92
90
|
static get Copy(): string;
|
|
91
|
+
static get CopyToArchived(): string;
|
|
92
|
+
static get CopyToArchivedDocuments(): string;
|
|
93
93
|
static get CopyToClipboard(): "Erfolgreich in die Zwischenablage kopiert" | "Copy in clipboard" | "Copiar en portapapeles" | "Copier dans le presse-papier" | "Copiar na área de transferência" | "Copia negli appunti";
|
|
94
|
+
static get CopyToDrafts(): string;
|
|
94
95
|
static get Count(): "Zählen" | "Count" | "Contar" | "Compte" | "Contagem" | "Conta";
|
|
95
96
|
static get Create(): "Erstellen" | "Create" | "Crear" | "Créer" | "Criar" | "Crea";
|
|
96
97
|
static get CreateContextualTask(): string;
|
|
@@ -128,6 +129,8 @@ export declare class SDKUI_Localizator {
|
|
|
128
129
|
static get DistinctValues(): "Unterschiedliche Werte" | "Distinct values" | "Valores distintos" | "Valeurs distinctes" | "Valori distinti";
|
|
129
130
|
static get DocumentData(): string;
|
|
130
131
|
static get DocumentNotAvailable(): string;
|
|
132
|
+
static get Documents(): string;
|
|
133
|
+
static get DocumentOperations(): string;
|
|
131
134
|
static get Domain(): "Domäne" | "Domain" | "Dominio" | "Domaine";
|
|
132
135
|
static get DownloadFile(): string;
|
|
133
136
|
static get Download_in_Process(): "Download läuft" | "Download in progress" | "Descarga en curso" | "Téléchargement en cours" | "Download em progresso" | "Download in corso";
|
|
@@ -312,7 +315,6 @@ export declare class SDKUI_Localizator {
|
|
|
312
315
|
static get OpenForm(): string;
|
|
313
316
|
static get OpenInNewTab(): "In einem neuen Tab öffnen" | "Open in new tab" | "Abrir en una nueva pestaña" | "Ouvrir dans un nouvel onglet" | "Abrir em uma nova aba" | "Apri in un nuovo tab";
|
|
314
317
|
static get Operations(): "Operationen" | "Operations" | "Operaciones" | "Opérations" | "Operações" | "Operazioni";
|
|
315
|
-
static get DocumentOperations(): string;
|
|
316
318
|
static get OnBehalfOf(): "im Auftrag von" | "on behalf of" | "a nombre de" | "de la part de" | "em nome de" | "per conto di";
|
|
317
319
|
static get OneMore(): "andere" | "more" | "otro" | "autre" | "outro" | "altro";
|
|
318
320
|
static get OperationFilesInterrupted(): string;
|
|
@@ -432,6 +434,8 @@ export declare class SDKUI_Localizator {
|
|
|
432
434
|
static get SetAsFavorite(): "Als Favorit festlegen" | "Set as favorite" | "Establecer como favorito" | "Définir comme favori" | "Definir como favorito" | "Imposta come preferito";
|
|
433
435
|
static get SetNamedCredentialsAsPreferred(): "Möchten Sie die Anmeldedaten '{{0}}' als bevorzugt festlegen?" | "Do you want to set the '{{0}}' credentials as preferred?" | "¿Quieres configurar las credenciales '{{0}}' como preferidas?" | "Voulez-vous définir les identifiants '{{0}}' comme préférés ?" | "Deseja definir as credenciais '{{0}}' como preferidas?" | "Vuoi impostare le credenziali '{{0}}' come preferite?";
|
|
434
436
|
static get Settings(): "Einstellungen" | "Settings" | "Ajustes" | "Réglages" | "Definições" | "Impostazioni";
|
|
437
|
+
static get Share(): string;
|
|
438
|
+
static get ShareNew(): string;
|
|
435
439
|
static get SharingModes_Private(): "Privat" | "Private" | "Privada" | "Privé" | "Privado" | "Privata";
|
|
436
440
|
static get SharingModes_Public(): "Öffentlich" | "Public" | "Pública" | "Público" | "Pubblica";
|
|
437
441
|
static get SharingModes_Shared(): "Geteilt" | "Shared" | "Compartida" | "Partagé" | "Partilhada" | "Condivisa";
|
|
@@ -148,26 +148,6 @@ export class SDKUI_Localizator {
|
|
|
148
148
|
default: return "Aggiungi a";
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
static get AddToArchivedDocuments() {
|
|
152
|
-
switch (this._cultureID) {
|
|
153
|
-
case CultureIDs.De_DE: return "Zu archivierten Dokumenten hinzufügen";
|
|
154
|
-
case CultureIDs.En_US: return "Add to archived documents";
|
|
155
|
-
case CultureIDs.Es_ES: return "Agregar a documentos archivados";
|
|
156
|
-
case CultureIDs.Fr_FR: return "Ajouter aux documents archivés";
|
|
157
|
-
case CultureIDs.Pt_PT: return "Adicionar aos documentos arquivados";
|
|
158
|
-
default: return "Aggiungi ai documenti archiviati";
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
static get AddToDrafts() {
|
|
162
|
-
switch (this._cultureID) {
|
|
163
|
-
case CultureIDs.De_DE: return "Zu Entwürfen hinzufügen";
|
|
164
|
-
case CultureIDs.En_US: return "Add to drafts";
|
|
165
|
-
case CultureIDs.Es_ES: return "Agregar a borradores";
|
|
166
|
-
case CultureIDs.Fr_FR: return "Ajouter aux brouillons";
|
|
167
|
-
case CultureIDs.Pt_PT: return "Adicionar aos rascunhos";
|
|
168
|
-
default: return "Aggiungi alle bozze";
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
151
|
static get AddToHomePage() {
|
|
172
152
|
switch (this._cultureID) {
|
|
173
153
|
case CultureIDs.De_DE: return "Zur Startseite hinzufügen";
|
|
@@ -855,6 +835,26 @@ export class SDKUI_Localizator {
|
|
|
855
835
|
default: return "Copia";
|
|
856
836
|
}
|
|
857
837
|
}
|
|
838
|
+
static get CopyToArchived() {
|
|
839
|
+
switch (this._cultureID) {
|
|
840
|
+
case CultureIDs.De_DE: return "In Archivierte kopieren";
|
|
841
|
+
case CultureIDs.En_US: return "Copy to Archived";
|
|
842
|
+
case CultureIDs.Es_ES: return "Copiar en archivados";
|
|
843
|
+
case CultureIDs.Fr_FR: return "Copier dans les archivés";
|
|
844
|
+
case CultureIDs.Pt_PT: return "Copiar para arquivados";
|
|
845
|
+
default: return "Copia negli archiviati";
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
static get CopyToArchivedDocuments() {
|
|
849
|
+
switch (this._cultureID) {
|
|
850
|
+
case CultureIDs.De_DE: return "In archivierte Dokumente kopieren";
|
|
851
|
+
case CultureIDs.En_US: return "Copy to archived documents";
|
|
852
|
+
case CultureIDs.Es_ES: return "Copiar en documentos archivados";
|
|
853
|
+
case CultureIDs.Fr_FR: return "Copier dans les documents archivés";
|
|
854
|
+
case CultureIDs.Pt_PT: return "Copiar para documentos arquivados";
|
|
855
|
+
default: return "Copia nei documenti archiviati";
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
858
|
static get CopyToClipboard() {
|
|
859
859
|
switch (this._cultureID) {
|
|
860
860
|
case CultureIDs.De_DE: return "Erfolgreich in die Zwischenablage kopiert";
|
|
@@ -865,6 +865,16 @@ export class SDKUI_Localizator {
|
|
|
865
865
|
default: return "Copia negli appunti";
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
|
+
static get CopyToDrafts() {
|
|
869
|
+
switch (this._cultureID) {
|
|
870
|
+
case CultureIDs.De_DE: return "In Entwürfe kopieren";
|
|
871
|
+
case CultureIDs.En_US: return "Copy to drafts";
|
|
872
|
+
case CultureIDs.Es_ES: return "Copiar en borradores";
|
|
873
|
+
case CultureIDs.Fr_FR: return "Copier dans les brouillons";
|
|
874
|
+
case CultureIDs.Pt_PT: return "Copiar para rascunhos";
|
|
875
|
+
default: return "Copia nelle bozze";
|
|
876
|
+
}
|
|
877
|
+
}
|
|
868
878
|
static get Count() {
|
|
869
879
|
switch (this._cultureID) {
|
|
870
880
|
case CultureIDs.De_DE: return "Zählen";
|
|
@@ -1235,6 +1245,26 @@ export class SDKUI_Localizator {
|
|
|
1235
1245
|
default: return "Documento non disponibile";
|
|
1236
1246
|
}
|
|
1237
1247
|
}
|
|
1248
|
+
static get Documents() {
|
|
1249
|
+
switch (this._cultureID) {
|
|
1250
|
+
case CultureIDs.De_DE: return "Dokumente";
|
|
1251
|
+
case CultureIDs.En_US: return "Documents";
|
|
1252
|
+
case CultureIDs.Es_ES: return "Documentos";
|
|
1253
|
+
case CultureIDs.Fr_FR: return "Documents";
|
|
1254
|
+
case CultureIDs.Pt_PT: return "Documentos";
|
|
1255
|
+
default: return "Documenti";
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
static get DocumentOperations() {
|
|
1259
|
+
switch (this._cultureID) {
|
|
1260
|
+
case CultureIDs.De_DE: return "Dokumentenoperationen";
|
|
1261
|
+
case CultureIDs.En_US: return "Document Operations";
|
|
1262
|
+
case CultureIDs.Es_ES: return "Operaciones con documentos";
|
|
1263
|
+
case CultureIDs.Fr_FR: return "Opérations sur les documents";
|
|
1264
|
+
case CultureIDs.Pt_PT: return "Operações em documentos";
|
|
1265
|
+
default: return "Operazioni sui documenti";
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1238
1268
|
static get Domain() {
|
|
1239
1269
|
switch (this._cultureID) {
|
|
1240
1270
|
case CultureIDs.De_DE: return "Domäne";
|
|
@@ -3077,16 +3107,6 @@ export class SDKUI_Localizator {
|
|
|
3077
3107
|
default: return "Operazioni";
|
|
3078
3108
|
}
|
|
3079
3109
|
}
|
|
3080
|
-
static get DocumentOperations() {
|
|
3081
|
-
switch (this._cultureID) {
|
|
3082
|
-
case CultureIDs.De_DE: return "Dokumentenoperationen";
|
|
3083
|
-
case CultureIDs.En_US: return "Document Operations";
|
|
3084
|
-
case CultureIDs.Es_ES: return "Operaciones con documentos";
|
|
3085
|
-
case CultureIDs.Fr_FR: return "Opérations sur les documents";
|
|
3086
|
-
case CultureIDs.Pt_PT: return "Operações em documentos";
|
|
3087
|
-
default: return "Operazioni sui documenti";
|
|
3088
|
-
}
|
|
3089
|
-
}
|
|
3090
3110
|
static get OnBehalfOf() {
|
|
3091
3111
|
switch (this._cultureID) {
|
|
3092
3112
|
case CultureIDs.De_DE: return "im Auftrag von";
|
|
@@ -4285,6 +4305,26 @@ export class SDKUI_Localizator {
|
|
|
4285
4305
|
default: return "Impostazioni";
|
|
4286
4306
|
}
|
|
4287
4307
|
}
|
|
4308
|
+
static get Share() {
|
|
4309
|
+
switch (this._cultureID) {
|
|
4310
|
+
case CultureIDs.De_DE: return "Teilen";
|
|
4311
|
+
case CultureIDs.En_US: return "Share";
|
|
4312
|
+
case CultureIDs.Es_ES: return "Compartir";
|
|
4313
|
+
case CultureIDs.Fr_FR: return "Partager";
|
|
4314
|
+
case CultureIDs.Pt_PT: return "Compartilhar";
|
|
4315
|
+
default: return "Condividi";
|
|
4316
|
+
}
|
|
4317
|
+
}
|
|
4318
|
+
static get ShareNew() {
|
|
4319
|
+
switch (this._cultureID) {
|
|
4320
|
+
case CultureIDs.De_DE: return "Neu teilen";
|
|
4321
|
+
case CultureIDs.En_US: return "Share New";
|
|
4322
|
+
case CultureIDs.Es_ES: return "Compartir nuevo";
|
|
4323
|
+
case CultureIDs.Fr_FR: return "Partager nouveau";
|
|
4324
|
+
case CultureIDs.Pt_PT: return "Partilhar novo";
|
|
4325
|
+
default: return "Condividi nuova";
|
|
4326
|
+
}
|
|
4327
|
+
}
|
|
4288
4328
|
static get SharingModes_Private() {
|
|
4289
4329
|
switch (this._cultureID) {
|
|
4290
4330
|
case CultureIDs.De_DE: return "Privat";
|