@topconsultnpm/sdkui-react 6.20.0-dev1.124 → 6.20.0-dev1.125
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.
|
@@ -187,55 +187,50 @@ const TMViewHistoryDcmt = (props) => {
|
|
|
187
187
|
const tooltipContent = (_jsxs("div", { style: { textAlign: 'left' }, children: [_jsxs("div", { children: [_jsx("span", { style: { fontWeight: 'bold' }, children: "ID:" }), " ", data.id ?? '-'] }), _jsxs("div", { children: [_jsx("span", { style: { fontWeight: 'bold' }, children: "DID:" }), " ", data.DID ?? '-'] }), _jsxs("div", { children: [_jsx("span", { style: { fontWeight: 'bold' }, children: "TID:" }), " ", data.TID ?? '-'] }), _jsx("hr", {}), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.Author, ":"] }), " ", data.UpdaterDisplayName ?? '-'] }), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.Version, ":"] }), " ", data.Version] }), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.Size, ":"] }), " ", formatBytes(Number(data.FileSize ?? 0))] }), _jsx("hr", {}), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.CreationTime, ":"] }), " ", Globalization.getDateTimeDisplayValue(data.CreationTime)] }), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.LastUpdateTime, ":"] }), " ", Globalization.getDateTimeDisplayValue(data.LastUpdateTime)] })] }));
|
|
188
188
|
return _jsx("div", { style: { display: 'flex', justifyContent: 'center', alignItems: 'center' }, children: _jsx(TMDcmtIcon, { tid: Number(data.TID), did: Number(data.DID), fileExtension: data.FileExt, downloadMode: 'openInNewWindow', tooltipContent: tooltipContent }) });
|
|
189
189
|
}, []);
|
|
190
|
-
const
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
onClick: loadData,
|
|
235
|
-
},
|
|
236
|
-
];
|
|
237
|
-
}
|
|
238
|
-
};
|
|
190
|
+
const customContextMenuItems = useMemo(() => {
|
|
191
|
+
return [
|
|
192
|
+
{
|
|
193
|
+
icon: _jsx("span", { className: "dx-icon-datafield" }),
|
|
194
|
+
name: SDKUI_Localizator.OpenForm,
|
|
195
|
+
disabled: focusedRowKey === undefined,
|
|
196
|
+
onClick: () => setShowDcmtForm(true),
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
icon: _jsx("span", { className: "dx-icon-download" }),
|
|
200
|
+
name: 'Download',
|
|
201
|
+
disabled: focusedRowKey === undefined,
|
|
202
|
+
onClick: () => downloadFilesCallback(),
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
icon: _jsx("span", { className: "dx-icon-trash" }),
|
|
206
|
+
name: SDKUI_Localizator.Delete,
|
|
207
|
+
disabled: focusedRowKey === undefined,
|
|
208
|
+
onClick: deleteFilesCallback,
|
|
209
|
+
beginGroup: true
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
icon: _jsx("span", { className: showSearch ? "dx-icon-eyeclose" : "dx-icon-eyeopen" }),
|
|
213
|
+
onClick: () => setShowSearch(prevShowSearch => !prevShowSearch),
|
|
214
|
+
name: showSearch ? SDKUI_Localizator.HideSearch : SDKUI_Localizator.ShowSearch,
|
|
215
|
+
visible: true,
|
|
216
|
+
disabled: false,
|
|
217
|
+
beginGroup: true
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
icon: _jsx("span", { className: showId ? "dx-icon-eyeclose" : "dx-icon-eyeopen" }),
|
|
221
|
+
onClick: () => setShowId(prevShowId => !prevShowId),
|
|
222
|
+
name: showId ? SDKUI_Localizator.ID_Hide : SDKUI_Localizator.ID_Show,
|
|
223
|
+
visible: true,
|
|
224
|
+
disabled: false,
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
icon: _jsx("span", { className: "dx-icon-refresh" }),
|
|
228
|
+
name: SDKUI_Localizator.Refresh,
|
|
229
|
+
disabled: false,
|
|
230
|
+
onClick: async () => await loadData(),
|
|
231
|
+
},
|
|
232
|
+
];
|
|
233
|
+
}, [focusedRowKey, showSearch, showId]);
|
|
239
234
|
// Handler for double-click cell event
|
|
240
235
|
const onCellDblClick = useCallback((e) => {
|
|
241
236
|
if (e.column.dataField === "FileExt")
|
|
@@ -279,7 +274,7 @@ const TMViewHistoryDcmt = (props) => {
|
|
|
279
274
|
{ dataField: "LastUpdateTimeDisplay", caption: SDKUI_Localizator.LastUpdateTime },
|
|
280
275
|
]);
|
|
281
276
|
}, [showId]);
|
|
282
|
-
return _jsx(TMModal, { title: `${SDKUI_Localizator.SearchResult} \u2014 ${SDKUI_Localizator.History + ": " + (fromDTD.nameLoc ?? SDKUI_Localizator.Document) + " (DID:" + inputDcmt.DID})`, width: calcResponsiveSizes(deviceType, '700px', '700px', '95%'), height: calcResponsiveSizes(deviceType, '80%', '80%', '95%'), onClose: onClose, children: _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(TMLayoutWaitingContainer, { direction: 'vertical', showWaitPanel: showLocalWaitPanel, showWaitPanelPrimary: showLocalPrimary, waitPanelTitle: waitLocalPanelTitle, waitPanelTextPrimary: waitLocalPanelTextPrimary, waitPanelValuePrimary: waitLocalPanelValuePrimary, waitPanelMaxValuePrimary: waitLocalPanelMaxValuePrimary, isCancelable: true, abortController: abortLocalController, children: [_jsx(TMDataGrid, { dataSource: dcmtHistory, dataColumns: dataColumns, focusedRowKey: focusedRowKey, selection: selection,
|
|
277
|
+
return _jsx(TMModal, { title: `${SDKUI_Localizator.SearchResult} \u2014 ${SDKUI_Localizator.History + ": " + (fromDTD.nameLoc ?? SDKUI_Localizator.Document) + " (DID:" + inputDcmt.DID})`, width: calcResponsiveSizes(deviceType, '700px', '700px', '95%'), height: calcResponsiveSizes(deviceType, '80%', '80%', '95%'), onClose: onClose, children: _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(TMLayoutWaitingContainer, { direction: 'vertical', showWaitPanel: showLocalWaitPanel, showWaitPanelPrimary: showLocalPrimary, waitPanelTitle: waitLocalPanelTitle, waitPanelTextPrimary: waitLocalPanelTextPrimary, waitPanelValuePrimary: waitLocalPanelValuePrimary, waitPanelMaxValuePrimary: waitLocalPanelMaxValuePrimary, isCancelable: true, abortController: abortLocalController, children: [_jsx(TMDataGrid, { dataSource: dcmtHistory, dataColumns: dataColumns, focusedRowKey: focusedRowKey, selection: selection, customContextMenuItems: customContextMenuItems, onFocusedRowChanged: onFocusedRowChanged, onCellDblClick: onCellDblClick, noDataText: SDKUI_Localizator.NoDataToDisplay, showSearchPanel: showSearch }), (showDcmtForm && selectedDcmt !== undefined) &&
|
|
283
278
|
_jsx(TMDcmtForm, { TID: Number(selectedDcmt.TID), DID: Number(selectedDcmt.DID), formMode: FormModes.ReadOnly, isModal: true, widthModal: "95%", heightModal: "95%", titleModal: fromDTD.name ?? SDKUI_Localizator.SearchResult, allowNavigation: dcmtHistory.length > 0, itemIndex: selectedIndex + 1, count: dcmtHistory.length, onClose: () => { setShowDcmtForm(false); }, canNext: canNavigateHandler('next'), canPrev: canNavigateHandler('prev'), onNext: () => onNavigateHandler('next'), onPrev: () => onNavigateHandler('prev'), allTasks: allTasks, getAllTasks: getAllTasks, deleteTaskByIdsCallback: deleteTaskByIdsCallback, addTaskCallback: addTaskCallback, editTaskCallback: editTaskCallback, handleNavigateToWGs: handleNavigateToWGs, handleNavigateToDossiers: handleNavigateToDossiers, moreInfoTasks: getMoreInfoTasksForDocument(allTasks ?? [], Number(selectedDcmt.TID), Number(selectedDcmt.DID)) })] }) }) });
|
|
284
279
|
};
|
|
285
280
|
export default TMViewHistoryDcmt;
|
|
@@ -83,8 +83,7 @@ export declare class SDKUI_Localizator {
|
|
|
83
83
|
static get Calendar(): "Kalender" | "Calendar" | "Calendario" | "Calendrier" | "Calendário";
|
|
84
84
|
static get CancelCheckOut(): string;
|
|
85
85
|
static get CassettoDoganaleExportMRN(): "MRN-Erholung für den Export" | "MRN recovery for export" | "Recuperación MRN para exportación" | "Récupération MRN pour l'export" | "Recuperação MRN para exportação" | "Recupero MRN per Export";
|
|
86
|
-
static get
|
|
87
|
-
static get CassettoDoganaleExportEUR1(): "EUR1-Erholung für den Export" | "EUR1 recovery for export" | "Recuperación EUR1 para exportación" | "Récupération EUR1 pour l'export" | "Recuperação EUR1 para exportação" | "Recupero EUR1 per Export";
|
|
86
|
+
static get CassettoDoganaleExportVUEur1(): "Wiederherstellung des Ausreisevisums" | "Exit Visa Recovery" | "Recuperación de Visa de Salida" | "Sortie Récupération Visa" | "Recuperação de Visto de Saída" | "Recupero Visto Uscire ed EUR1 per Export";
|
|
88
87
|
static get CassettoDoganaleImportMRN(): "MRN-Erholung für den Import" | "MRN recovery for import" | "Recuperación MRN para importación" | "Récupération MRN à l'import" | "Recuperação MRN para importação" | "Recupero MRN per Import";
|
|
89
88
|
static get CassettoDoganalePlus_UserName(): "STD-Benutzer des ADM-Portals" | "STD User of the ADM Portal" | "Usuario STD del Portal ADM" | "Utilisateur STD du portail ADM" | "Utilizador DST do Portal ADM" | "Utente STD del Portale ADM";
|
|
90
89
|
static get Cancel(): "Abbrechen" | "Cancel" | "Anular" | "Annuler" | "Cancelar" | "Annulla";
|
|
@@ -256,7 +255,7 @@ export declare class SDKUI_Localizator {
|
|
|
256
255
|
static get ExportMRNOuputFile(): "Dateipfad für den Export (MRN)" | "File Path for Export (MRN)" | "Ruta de archivo para exportación (MRN)" | "Chemin du fichier à exporter (MRN)" | "Caminho do arquivo para exportação (MRN)" | "Percorso del File per Export (MRN)";
|
|
257
256
|
static get ExportVU(): "Exportieren – Gesehener Ausgang" | "Export - Seen Exit" | "Exportar - Salida vista" | "Exporter - Vu Sortie" | "Exportar - Saída vista" | "Export - Visto Uscire";
|
|
258
257
|
static get ExportVUDayBack(): "Anzahl der Tage für die Exportdatenwiederherstellung (Gesehener Ausgang)" | "Number of days for export data recovery (Seen Exit)" | "Número de días para la recuperación de datos de exportación (Salida vista)" | "Nombre de jours pour la récupération des données d'exportation (Vu Sortie)" | "Número de dias para recuperação de dados de exportação (Saída vista)" | "Numero di giorni per il recupero dei dati di Export (Visto Uscire)";
|
|
259
|
-
static get
|
|
258
|
+
static get ExportVUEUR1OuputFile(): "Dateipfad für den Export (Gesehener Ausgang und EUR1)" | "File Path for Export (Seen Exit and EUR1)" | "Ruta de archivo para exportación (Salida vista y EUR1)" | "Chemin du fichier à exporter (Vu Sortie et EUR1)" | "Caminho do arquivo para exportação (Saída vista e EUR1)" | "Percorso del File per Export (Visto Uscire ed EUR1)";
|
|
260
259
|
static get Extension(): string;
|
|
261
260
|
static get Favorites(): "Favoriten" | "Favorites" | "Favoritos" | "Favoris" | "Preferiti";
|
|
262
261
|
static get FavoritesAndRecentDcmts(): "Zuletzt verwendete und bevorzugte Dokumente" | "Preferred and recent documents" | "Documentos preferidos y recientes" | "Documents préférés et récents" | "Documentos preferidos e recentes" | "Documenti preferiti e recenti";
|
|
@@ -355,7 +354,7 @@ export declare class SDKUI_Localizator {
|
|
|
355
354
|
static get Login(): string;
|
|
356
355
|
static get LogDelete(): "Löschen der Logik" | "Logical delete" | "Cancelación lógica" | "Suppression logique" | "Lógica de cancelamento" | "Cancellazione logica";
|
|
357
356
|
static get Logout(): "Abmelden" | "Logout" | "Cerrar sesión" | "Déconnexion" | "Sair" | "Esci";
|
|
358
|
-
static get
|
|
357
|
+
static get LogFolder(): "Protokollordner" | "Log folder" | "Carpeta de registro" | "Dossier de journal" | "Pasta de registro" | "Cartella di log";
|
|
359
358
|
static get Low(): "Niedrig" | "Low" | "Baja" | "Faible" | "Baixa" | "Bassa";
|
|
360
359
|
static get MakeEditable(): "Bearbeitbar machen" | "Make editable" | "Hacer editable" | "Rendre modifiable" | "Faça editável" | "Rendi editabile";
|
|
361
360
|
static get ManageFromTaskPanel(): string;
|
|
@@ -785,24 +785,14 @@ export class SDKUI_Localizator {
|
|
|
785
785
|
default: return "Recupero MRN per Export";
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
|
-
static get
|
|
788
|
+
static get CassettoDoganaleExportVUEur1() {
|
|
789
789
|
switch (this._cultureID) {
|
|
790
790
|
case CultureIDs.De_DE: return "Wiederherstellung des Ausreisevisums";
|
|
791
791
|
case CultureIDs.En_US: return "Exit Visa Recovery";
|
|
792
792
|
case CultureIDs.Es_ES: return "Recuperación de Visa de Salida";
|
|
793
793
|
case CultureIDs.Fr_FR: return "Sortie Récupération Visa";
|
|
794
794
|
case CultureIDs.Pt_PT: return "Recuperação de Visto de Saída";
|
|
795
|
-
default: return "Recupero Visto Uscire per Export";
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
static get CassettoDoganaleExportEUR1() {
|
|
799
|
-
switch (this._cultureID) {
|
|
800
|
-
case CultureIDs.De_DE: return "EUR1-Erholung für den Export";
|
|
801
|
-
case CultureIDs.En_US: return "EUR1 recovery for export";
|
|
802
|
-
case CultureIDs.Es_ES: return "Recuperación EUR1 para exportación";
|
|
803
|
-
case CultureIDs.Fr_FR: return "Récupération EUR1 pour l'export";
|
|
804
|
-
case CultureIDs.Pt_PT: return "Recuperação EUR1 para exportação";
|
|
805
|
-
default: return "Recupero EUR1 per Export";
|
|
795
|
+
default: return "Recupero Visto Uscire ed EUR1 per Export";
|
|
806
796
|
}
|
|
807
797
|
}
|
|
808
798
|
static get CassettoDoganaleImportMRN() {
|
|
@@ -2527,14 +2517,14 @@ export class SDKUI_Localizator {
|
|
|
2527
2517
|
default: return "Numero di giorni per il recupero dei dati di Export (Visto Uscire)";
|
|
2528
2518
|
}
|
|
2529
2519
|
}
|
|
2530
|
-
static get
|
|
2520
|
+
static get ExportVUEUR1OuputFile() {
|
|
2531
2521
|
switch (this._cultureID) {
|
|
2532
|
-
case CultureIDs.De_DE: return "Dateipfad für den Export (Gesehener Ausgang)";
|
|
2533
|
-
case CultureIDs.En_US: return "File Path for Export (Seen Exit)";
|
|
2534
|
-
case CultureIDs.Es_ES: return "Ruta de archivo para exportación (Salida vista)";
|
|
2535
|
-
case CultureIDs.Fr_FR: return "Chemin du fichier à exporter (Vu Sortie)";
|
|
2536
|
-
case CultureIDs.Pt_PT: return "Caminho do arquivo para exportação (Saída vista)";
|
|
2537
|
-
default: return "Percorso del File per Export (Visto Uscire)";
|
|
2522
|
+
case CultureIDs.De_DE: return "Dateipfad für den Export (Gesehener Ausgang und EUR1)";
|
|
2523
|
+
case CultureIDs.En_US: return "File Path for Export (Seen Exit and EUR1)";
|
|
2524
|
+
case CultureIDs.Es_ES: return "Ruta de archivo para exportación (Salida vista y EUR1)";
|
|
2525
|
+
case CultureIDs.Fr_FR: return "Chemin du fichier à exporter (Vu Sortie et EUR1)";
|
|
2526
|
+
case CultureIDs.Pt_PT: return "Caminho do arquivo para exportação (Saída vista e EUR1)";
|
|
2527
|
+
default: return "Percorso del File per Export (Visto Uscire ed EUR1)";
|
|
2538
2528
|
}
|
|
2539
2529
|
}
|
|
2540
2530
|
static get Extension() {
|
|
@@ -3516,14 +3506,14 @@ export class SDKUI_Localizator {
|
|
|
3516
3506
|
default: return "Esci";
|
|
3517
3507
|
}
|
|
3518
3508
|
}
|
|
3519
|
-
static get
|
|
3509
|
+
static get LogFolder() {
|
|
3520
3510
|
switch (this._cultureID) {
|
|
3521
|
-
case CultureIDs.De_DE: return "
|
|
3522
|
-
case CultureIDs.En_US: return "Log
|
|
3523
|
-
case CultureIDs.Es_ES: return "Carpeta de registro
|
|
3524
|
-
case CultureIDs.Fr_FR: return "Dossier de journal
|
|
3525
|
-
case CultureIDs.Pt_PT: return "Pasta de
|
|
3526
|
-
default: return "Cartella di log
|
|
3511
|
+
case CultureIDs.De_DE: return "Protokollordner";
|
|
3512
|
+
case CultureIDs.En_US: return "Log folder";
|
|
3513
|
+
case CultureIDs.Es_ES: return "Carpeta de registro";
|
|
3514
|
+
case CultureIDs.Fr_FR: return "Dossier de journal";
|
|
3515
|
+
case CultureIDs.Pt_PT: return "Pasta de registro";
|
|
3516
|
+
default: return "Cartella di log";
|
|
3527
3517
|
}
|
|
3528
3518
|
}
|
|
3529
3519
|
static get Low() {
|