@topconsultnpm/sdkui-react-beta 6.15.119 → 6.15.121
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.
|
@@ -109,9 +109,9 @@ const TMDcmtPreview = ({ dcmtData, isResizingActive, isVisible, canNext, canPrev
|
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
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: _jsx(TMPanel, { padding: '0', title: titleHandler(), onClose: onClosePanel, allowMaximize: allowMaximize, onMaximize: onMaximizePanel, onHeaderDoubleClick: onMaximizePanel, toolbar: _jsxs("div", { style: { width: 'max-content', display: 'flex', alignItems: 'center', gap: '10px' }, children: [onPrev && _jsx(TMSaveFormButtonPrevious, { btnStyle: 'icon', isModified: false, formMode: FormModes.ReadOnly, canPrev: canPrev, onPrev: onPrev }), onNext && _jsx(TMSaveFormButtonNext, { btnStyle: 'icon', isModified: false, formMode: FormModes.ReadOnly, canNext: canNext, onNext: onNext }), _jsx(StyledHeaderIcon, { "$color": TMColors.primaryColor, children: _jsx(TMDropDownMenu, { backgroundColor: 'white', borderRadius: '3px', content: _jsx(TMButton, { btnStyle: 'icon', caption: 'Altro', icon: _jsx(IconMenuVertical, {}), showTooltip: false }), items: [
|
|
112
|
-
{ icon: _jsx(IconCloseCircle, {}), text:
|
|
113
|
-
{ icon: _jsx(IconClear, {}), text:
|
|
114
|
-
] }, "btn13") }), _jsx(StyledHeaderIcon, { onClick: reOpenDcmt, "$color": TMColors.primaryColor, children: _jsx(TMTooltip, { content:
|
|
112
|
+
{ icon: _jsx(IconCloseCircle, {}), text: SDKUI_Localizator.RemoveFromCache, onClick: () => { removeDcmtsFileCache(cacheKey); setIsFromCache(false); } },
|
|
113
|
+
{ icon: _jsx(IconClear, {}), text: SDKUI_Localizator.ClearCache, onClick: () => { clearDcmtsFileCache(); setIsFromCache(false); } },
|
|
114
|
+
] }, "btn13") }), _jsx(StyledHeaderIcon, { onClick: reOpenDcmt, "$color": TMColors.primaryColor, children: _jsx(TMTooltip, { content: SDKUI_Localizator.ReopenDocument, children: _jsx(IconRefresh, {}) }) })] }), children: error
|
|
115
115
|
? _jsx(TMNothingToShow, { icon: _jsx(IconCloseOutline, { fontSize: 92, color: TMColors.error }), text: error })
|
|
116
116
|
: renderedPreview(dcmtData?.tid, dcmtData?.did, dcmtData?.fileExt, dcmtData?.fileSize, dcmtData?.fileCount, extensionHandler(dcmtData?.fileExt), showPreview, isResizingActive, () => { loadDocumentWithCache(); setShowPreview(true); }, dcmtBlob) }) }));
|
|
117
117
|
};
|
|
@@ -69,6 +69,7 @@ export declare class SDKUI_Localizator {
|
|
|
69
69
|
static get ChooseGroup(): string;
|
|
70
70
|
static get ChronologyDelete(): "Physische Löschung der Chronologie" | "Physical deletion of chronology" | "Eliminación física de la cronología" | "Suppression physique de la chronologie" | "Exclusão física da cronologia" | "Cancellazione fisica della cronologia";
|
|
71
71
|
static get Clear(): "Bereinigen" | "Clear" | "Limpiar" | "Efface" | "Limpar" | "Pulisci";
|
|
72
|
+
static get ClearCache(): string;
|
|
72
73
|
static get ClearOTP(): "OTP löschen" | "Clear OTP" | "Borrar OTP" | "Effacer l'OTP" | "Limpar OTP" | "Cancella OTP";
|
|
73
74
|
static get Close(): "Ausgang" | "Close" | "Salida" | "Sortie" | "Saída" | "Chiudi";
|
|
74
75
|
static get Columns_All_Hide(): "Alle Spalten ausblenden" | "Hide all columns" | "Ocultar todas las columnas" | "Masquer toutes les colonnes" | "Ocultar todas as colunas" | "Nascondi tutte le colonne";
|
|
@@ -391,10 +392,12 @@ export declare class SDKUI_Localizator {
|
|
|
391
392
|
static get Relations(): "Korrelationen" | "Correlations" | "Correlaciones" | "Relations" | "Correlacionados" | "Correlazioni";
|
|
392
393
|
static get RelationManyToMany(): "Folge viele mit vielen" | "Relation many to many" | "Correlación muchos a muchos" | "Corrélation plusieurs à plusieurs" | "Muitos para muitos relação" | "Correlazione molti a molti";
|
|
393
394
|
static get RelationType(): "Art der Beziehung" | "Relation type" | "Tipo de relación" | "Type de relation" | "Tipo de relacionamento" | "Tipo di relazione";
|
|
395
|
+
static get RemoveFromCache(): string;
|
|
394
396
|
static get RemoveFromList(): string;
|
|
395
397
|
static get RemoveFromWorkgroup(): string;
|
|
396
398
|
static get RemoveNamedPreferredCredentials(): "Möchten Sie die Anmeldedaten '{{0}}' entfernen, die als bevorzugt festgelegt wurden?" | "Do you want to remove the '{{0}}' credentials set as preferred?" | "¿Quieres eliminar las credenciales '{{0}}' configuradas como preferidas?" | "Voulez-vous supprimer les identifiants '{{0}}' définis comme préférés ?" | "Deseja remover as credenciais '{{0}}' definidas como preferidas?" | "Vuoi rimuovere le credenziali '{{0}}' impostate come preferite?";
|
|
397
399
|
static get RememberCredentials(): "Anmeldedaten merken" | "Remember credentials" | "Recordar credenciales" | "Se souvenir des identifiants" | "Lembrar credenciais" | "Ricorda credenziali";
|
|
400
|
+
static get ReopenDocument(): string;
|
|
398
401
|
static get ReplaceDocument(): "Dokument ersetzen" | "Replace Document" | "Reemplazar Documento" | "Remplacer le Document" | "Substituir Documento" | "Sostituisci Documento";
|
|
399
402
|
static get Request(): string;
|
|
400
403
|
static get RequestTo(): string;
|
|
@@ -639,6 +639,16 @@ export class SDKUI_Localizator {
|
|
|
639
639
|
default: return "Pulisci";
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
|
+
static get ClearCache() {
|
|
643
|
+
switch (this._cultureID) {
|
|
644
|
+
case CultureIDs.De_DE: return "Cache leeren";
|
|
645
|
+
case CultureIDs.En_US: return "Clear cache";
|
|
646
|
+
case CultureIDs.Es_ES: return "Limpiar caché";
|
|
647
|
+
case CultureIDs.Fr_FR: return "Vider le cache";
|
|
648
|
+
case CultureIDs.Pt_PT: return "Limpar cache";
|
|
649
|
+
default: return "Cancella la cache";
|
|
650
|
+
}
|
|
651
|
+
}
|
|
642
652
|
static get ClearOTP() {
|
|
643
653
|
switch (this._cultureID) {
|
|
644
654
|
case CultureIDs.De_DE: return "OTP löschen";
|
|
@@ -3868,6 +3878,16 @@ export class SDKUI_Localizator {
|
|
|
3868
3878
|
default: return "Tipo di relazione";
|
|
3869
3879
|
}
|
|
3870
3880
|
}
|
|
3881
|
+
static get RemoveFromCache() {
|
|
3882
|
+
switch (this._cultureID) {
|
|
3883
|
+
case CultureIDs.De_DE: return "Element aus Cache entfernen";
|
|
3884
|
+
case CultureIDs.En_US: return "Remove item from cache";
|
|
3885
|
+
case CultureIDs.Es_ES: return "Eliminar elemento de la caché";
|
|
3886
|
+
case CultureIDs.Fr_FR: return "Supprimer l'élément du cache";
|
|
3887
|
+
case CultureIDs.Pt_PT: return "Remover item da cache";
|
|
3888
|
+
default: return "Rimuovi elemento dalla cache";
|
|
3889
|
+
}
|
|
3890
|
+
}
|
|
3871
3891
|
static get RemoveFromList() {
|
|
3872
3892
|
switch (this._cultureID) {
|
|
3873
3893
|
case CultureIDs.De_DE: return "Aus der Liste entfernen";
|
|
@@ -3914,6 +3934,16 @@ export class SDKUI_Localizator {
|
|
|
3914
3934
|
default: return "Ricorda credenziali";
|
|
3915
3935
|
}
|
|
3916
3936
|
}
|
|
3937
|
+
static get ReopenDocument() {
|
|
3938
|
+
switch (this._cultureID) {
|
|
3939
|
+
case CultureIDs.De_DE: return "Dokument erneut öffnen";
|
|
3940
|
+
case CultureIDs.En_US: return "Reopen Document";
|
|
3941
|
+
case CultureIDs.Es_ES: return "Reabrir documento";
|
|
3942
|
+
case CultureIDs.Fr_FR: return "Rouvrir le document";
|
|
3943
|
+
case CultureIDs.Pt_PT: return "Reabrir documento";
|
|
3944
|
+
default: return "Riapri documento";
|
|
3945
|
+
}
|
|
3946
|
+
}
|
|
3917
3947
|
static get ReplaceDocument() {
|
|
3918
3948
|
switch (this._cultureID) {
|
|
3919
3949
|
case CultureIDs.De_DE: return "Dokument ersetzen";
|