@topconsultnpm/sdkui-react-beta 6.14.124 → 6.14.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.
|
@@ -3,7 +3,7 @@ import { useState, useEffect, useRef } from 'react';
|
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import { StyledEditor, StyledEditorContainer, StyledEditorIcon, StyledEditorLabel, editorColorManager } from './TMEditorStyled';
|
|
5
5
|
import { FontSize, TMColors } from '../../utils/theme';
|
|
6
|
-
import { genUniqueId, IconClearButton, IconHide, IconShow } from '../../helper';
|
|
6
|
+
import { genUniqueId, IconClearButton, IconHide, IconShow, SDKUI_Localizator } from '../../helper';
|
|
7
7
|
import ShowAlert from '../base/TMAlert';
|
|
8
8
|
import { TMExceptionBoxManager } from '../base/TMPopUp';
|
|
9
9
|
import TMLayoutContainer, { TMLayoutItem } from '../base/TMLayout';
|
|
@@ -58,9 +58,9 @@ const TMTextBox = ({ autoFocus, maxLength, labelColor, precision, fromModal = fa
|
|
|
58
58
|
setCurrentValue(maxValue.toString());
|
|
59
59
|
ShowAlert({
|
|
60
60
|
mode: 'warning',
|
|
61
|
-
message:
|
|
61
|
+
message: SDKUI_Localizator.Max_Value.replaceParams(maxValue.toString()),
|
|
62
62
|
duration: 3000,
|
|
63
|
-
title:
|
|
63
|
+
title: SDKUI_Localizator.Warning,
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
// Check minValue
|
|
@@ -68,9 +68,9 @@ const TMTextBox = ({ autoFocus, maxLength, labelColor, precision, fromModal = fa
|
|
|
68
68
|
setCurrentValue(minValue.toString());
|
|
69
69
|
ShowAlert({
|
|
70
70
|
mode: 'warning',
|
|
71
|
-
message:
|
|
71
|
+
message: SDKUI_Localizator.Min_Value.replaceParams(minValue.toString()),
|
|
72
72
|
duration: 3000,
|
|
73
|
-
title:
|
|
73
|
+
title: SDKUI_Localizator.Warning,
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -152,7 +152,7 @@ const TMTextBox = ({ autoFocus, maxLength, labelColor, precision, fromModal = fa
|
|
|
152
152
|
mode: 'warning',
|
|
153
153
|
message: `Max value is ${max}`,
|
|
154
154
|
duration: 3000,
|
|
155
|
-
title:
|
|
155
|
+
title: SDKUI_Localizator.Warning,
|
|
156
156
|
});
|
|
157
157
|
return;
|
|
158
158
|
}
|
|
@@ -162,7 +162,7 @@ const TMTextBox = ({ autoFocus, maxLength, labelColor, precision, fromModal = fa
|
|
|
162
162
|
mode: 'warning',
|
|
163
163
|
message: `Min value is ${minValue}`,
|
|
164
164
|
duration: 3000,
|
|
165
|
-
title:
|
|
165
|
+
title: SDKUI_Localizator.Warning,
|
|
166
166
|
});
|
|
167
167
|
return;
|
|
168
168
|
}
|
|
@@ -230,6 +230,7 @@ export declare class SDKUI_Localizator {
|
|
|
230
230
|
static get Login(): string;
|
|
231
231
|
static get LogDelete(): "Löschen der Logik" | "Logical delete" | "Cancelación lógica" | "Suppression logique" | "Lógica de cancelamento" | "Cancellazione logica";
|
|
232
232
|
static get MakeEditable(): "Bearbeitbar machen" | "Make editable" | "Hacer editable" | "Rendre modifiable" | "Faça editável" | "Rendi editabile";
|
|
233
|
+
static get Max_Value(): "Der Maximalwert ist {{0}}" | "The maximum value is {{0}}" | "El valor máximo es {{0}}" | "La valeur maximale est {{0}}" | "O valor máximo é {{0}}" | "Il valore massimo è {{0}}";
|
|
233
234
|
static get MaxDcmtsToBeReturned(): "Maximale Anzahl von Dokumenten" | "Max number of documents" | "Número máximo de documentos" | "Nombre maximum de documents" | "O número máximo de documentos" | "Numero massimo di documenti";
|
|
234
235
|
static get Maximize(): "Maximieren" | "Maximize" | "Maximizar" | "Maximiser" | "Massimizza";
|
|
235
236
|
static get MetadataFlag(): "Markieren von Methadaten" | "Flag metadata" | "Metadato de indicador" | "Mètadonnée de marque" | "Marcação de metadados" | "Metadato di contrassegno";
|
|
@@ -259,6 +260,7 @@ export declare class SDKUI_Localizator {
|
|
|
259
260
|
static get MetadataSystem(): "System-Methadaten" | "System metadata" | "Metadatos de sistema" | "Métadonnées de système" | "Metadados system" | "Metadati di sistema";
|
|
260
261
|
static get MetadataUsers(): "Benutzermetadaten" | "User metadata" | "Metadatos de usuario" | "Métadonnées de l'utilisateur" | "Metadados do usuário" | "Metadati utente";
|
|
261
262
|
static get Message(): "Nachricht" | "Message" | "Mensaje" | "Mensagem" | "Messaggio";
|
|
263
|
+
static get Min_Value(): "Der Minimalwert ist {{0}}" | "The minimum value is {{0}}" | "El valor mínimo es {{0}}" | "La valeur minimale est {{0}}" | "O valor mínimo é {{0}}" | "Il valore minimo è {{0}}";
|
|
262
264
|
static get Minimize(): "Minimieren" | "Minimize" | "Minimizar" | "Minimiser" | "Minimizza";
|
|
263
265
|
static get More(): "andere" | "more" | "otros" | "autres" | "outros" | "altri";
|
|
264
266
|
static get MoreInformation(): "Mehr Informationen" | "More information" | "Más información" | "Plus d'informations" | "Mais informações" | "Maggiori informazioni";
|
|
@@ -469,6 +471,7 @@ export declare class SDKUI_Localizator {
|
|
|
469
471
|
static get ViewWithCheckOption(): "Kontrolle über Archivierung und Bearbeitung" | "Check on archive and update" | "Control en almacenamiento y modificación" | "Contrôle de l'archivage et la modifie" | "Controle de arquivamento e edição" | "Controllo su archiviazione e modifica";
|
|
470
472
|
static get Visible(): "Sichtbar" | "Visible" | "Visibles" | "Visibiles" | "Visíveis" | "Visibili";
|
|
471
473
|
static get VisibleItems(): "sichtbare Elemente" | "Visible items" | "elementos visibles" | "éléments visibles" | "itens visíveis" | "Elementi visibili";
|
|
474
|
+
static get Warning(): "Warnung" | "Warning" | "advertencia" | "avertissement" | "aviso" | "Avviso";
|
|
472
475
|
static get WelcomeTo(): "Willkommen bei {{0}}" | "Welcome to {{0}}" | "Bienvenido a {{0}}" | "Bienvenue sur {{0}}" | "Bem-vindo à {{0}}" | "Benvenuto su {{0}}";
|
|
473
476
|
static get WorkflowApproval(): "Workflow-Genehmigung" | "Workflow approval" | "Aprobación de flujo de trabajo" | "Approbation de workflow" | "Aprovação de fluxo de trabalho" | "Approvazione workflow";
|
|
474
477
|
static get WorkGroup(): "Arbeitsgruppe" | "Work Group" | "Grupo de Trabajo" | "Groupe de travail" | "Grupo de Trabalho" | "Gruppo di lavoro";
|
|
@@ -2260,6 +2260,16 @@ export class SDKUI_Localizator {
|
|
|
2260
2260
|
default: return "Rendi editabile";
|
|
2261
2261
|
}
|
|
2262
2262
|
}
|
|
2263
|
+
static get Max_Value() {
|
|
2264
|
+
switch (this._cultureID) {
|
|
2265
|
+
case CultureIDs.De_DE: return "Der Maximalwert ist {{0}}";
|
|
2266
|
+
case CultureIDs.En_US: return "The maximum value is {{0}}";
|
|
2267
|
+
case CultureIDs.Es_ES: return "El valor máximo es {{0}}";
|
|
2268
|
+
case CultureIDs.Fr_FR: return "La valeur maximale est {{0}}";
|
|
2269
|
+
case CultureIDs.Pt_PT: return "O valor máximo é {{0}}";
|
|
2270
|
+
default: return "Il valore massimo è {{0}}";
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2263
2273
|
static get MaxDcmtsToBeReturned() {
|
|
2264
2274
|
switch (this._cultureID) {
|
|
2265
2275
|
case CultureIDs.De_DE: return "Maximale Anzahl von Dokumenten";
|
|
@@ -2541,6 +2551,16 @@ export class SDKUI_Localizator {
|
|
|
2541
2551
|
default: return "Messaggio";
|
|
2542
2552
|
}
|
|
2543
2553
|
}
|
|
2554
|
+
static get Min_Value() {
|
|
2555
|
+
switch (this._cultureID) {
|
|
2556
|
+
case CultureIDs.De_DE: return "Der Minimalwert ist {{0}}";
|
|
2557
|
+
case CultureIDs.En_US: return "The minimum value is {{0}}";
|
|
2558
|
+
case CultureIDs.Es_ES: return "El valor mínimo es {{0}}";
|
|
2559
|
+
case CultureIDs.Fr_FR: return "La valeur minimale est {{0}}";
|
|
2560
|
+
case CultureIDs.Pt_PT: return "O valor mínimo é {{0}}";
|
|
2561
|
+
default: return "Il valore minimo è {{0}}";
|
|
2562
|
+
}
|
|
2563
|
+
}
|
|
2544
2564
|
static get Minimize() {
|
|
2545
2565
|
switch (this._cultureID) {
|
|
2546
2566
|
case CultureIDs.De_DE: return "Minimieren";
|
|
@@ -4649,6 +4669,16 @@ export class SDKUI_Localizator {
|
|
|
4649
4669
|
default: return "Elementi visibili";
|
|
4650
4670
|
}
|
|
4651
4671
|
}
|
|
4672
|
+
static get Warning() {
|
|
4673
|
+
switch (this._cultureID) {
|
|
4674
|
+
case CultureIDs.De_DE: return "Warnung";
|
|
4675
|
+
case CultureIDs.En_US: return "Warning";
|
|
4676
|
+
case CultureIDs.Es_ES: return "advertencia";
|
|
4677
|
+
case CultureIDs.Fr_FR: return "avertissement";
|
|
4678
|
+
case CultureIDs.Pt_PT: return "aviso";
|
|
4679
|
+
default: return "Avviso";
|
|
4680
|
+
}
|
|
4681
|
+
}
|
|
4652
4682
|
static get WelcomeTo() {
|
|
4653
4683
|
switch (this._cultureID) {
|
|
4654
4684
|
case CultureIDs.De_DE: return "Willkommen bei {{0}}";
|