@topconsultnpm/sdkui-react-beta 6.11.23 → 6.11.25
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.
|
@@ -54,7 +54,7 @@ const TMDateBox = (props) => {
|
|
|
54
54
|
return "datetime";
|
|
55
55
|
return props.dateDisplayType == DateDisplayTypes.Date ? "date" : "time";
|
|
56
56
|
};
|
|
57
|
-
return (_jsxs("div", { style: { display: 'flex', alignItems: 'center', width: '100%' }, children: [props.icon && (_jsx("span", { style: { marginRight: '8px', display: 'flex', alignItems: 'center' }, children: props.icon })), _jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: '5px', width: '100%' }, children: [_jsx(DateBox, { readOnly: props.readOnly, ref: dateBoxRef, showClearButton: props.showClearButton, dateSerializationFormat: props.useDateSerializationFormat ? 'yyyy-MM-ddTHH:mm:ss' : undefined, disabled: props.disabled, displayFormat: props.displayFormat ?? Globalization.getDateDisplayFormat(props.dateDisplayType), dropDownOptions: dropDownOptions, label: props.label, labelMode: 'static', type: getType(), useMaskBehavior: true, height: '28px', value: props.value, width: props.width, valueChangeEvent: 'keyup input change', onValueChange: (e) => { props.onValueChange?.(e); }, onInitialized: (e) => { props.onInitialized?.(e); }, onContentReady: (e) => { props.onContentReady?.(e); }, placeholder: props.placeholder, onKeyUp: (e) => {
|
|
57
|
+
return (_jsxs("div", { style: { display: 'flex', alignItems: 'center', width: '100%' }, children: [props.icon && (_jsx("span", { style: { marginRight: '8px', marginTop: '8px', display: 'flex', alignItems: 'center' }, children: props.icon })), _jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: '5px', width: '100%' }, children: [_jsx(DateBox, { readOnly: props.readOnly, ref: dateBoxRef, showClearButton: props.showClearButton, dateSerializationFormat: props.useDateSerializationFormat ? 'yyyy-MM-ddTHH:mm:ss' : undefined, disabled: props.disabled, displayFormat: props.displayFormat ?? Globalization.getDateDisplayFormat(props.dateDisplayType), dropDownOptions: dropDownOptions, label: props.label, labelMode: 'static', type: getType(), useMaskBehavior: true, height: '28px', value: props.value, width: props.width, valueChangeEvent: 'keyup input change', onValueChange: (e) => { props.onValueChange?.(e); }, onInitialized: (e) => { props.onInitialized?.(e); }, onContentReady: (e) => { props.onContentReady?.(e); }, placeholder: props.placeholder, onKeyUp: (e) => {
|
|
58
58
|
if (e.event?.code == "Space") {
|
|
59
59
|
const currentDate = new Date();
|
|
60
60
|
currentDate.setHours(0, 0, 0, 0);
|
|
@@ -146,7 +146,7 @@ const TMTextBox = ({ autoFocus, maxLength, labelColor, precision, scale, showCle
|
|
|
146
146
|
e.preventDefault();
|
|
147
147
|
}
|
|
148
148
|
}, "$isMobile": deviceType === DeviceType.MOBILE, "$disabled": disabled, "$vil": validationItems, "$isModified": isModifiedWhen, "$fontSize": fontSize, "$maxValue": maxValue, "$width": width, "$type": currentType, "$borderRadius": borderRadius }), initialType === 'password' && currentValue && _jsx(StyledShowPasswordIcon, { onClick: toggleShowPassword, "$disabled": disabled, "$vil": validationItems, "$isModified": isModifiedWhen, children: showPasswordIcon() }), initialType !== 'password' &&
|
|
149
|
-
_jsxs("div", { style: { display: 'flex', flexDirection: 'row', justifyContent: 'flex-start', alignItems: 'center', position: 'absolute', right: type === 'number' ? '25px' : '6px', top: label.length > 0 ? '
|
|
149
|
+
_jsxs("div", { style: { display: 'flex', flexDirection: 'row', justifyContent: 'flex-start', alignItems: 'center', position: 'absolute', right: type === 'number' ? '25px' : '6px', top: label.length > 0 ? '20px' : '7px', pointerEvents: disabled ? 'none' : 'auto', opacity: disabled ? 0.4 : 1 }, children: [showClearButton && currentValue &&
|
|
150
150
|
_jsx(StyledTextBoxEditorButton, { onClick: () => {
|
|
151
151
|
onValueChanged?.({ target: { value: undefined } });
|
|
152
152
|
onBlur?.(undefined);
|
|
@@ -35,6 +35,7 @@ export declare class SDKUI_Localizator {
|
|
|
35
35
|
static get AuthMode_OnBehalfOf(): string;
|
|
36
36
|
static get AuthMode_WindowsViaTopMedia(): "Windows-Authentifizierung über TopMedia" | "Windows authentication via TopMedia" | "Autenticación de Windows a través de TopMedia" | "Authentification Windows via TopMedia" | "Autenticação Windows via TopMedia" | "Autenticazione Windows tramite TopMedia";
|
|
37
37
|
static get Back(): "Zurück" | "Back" | "Atrás" | "Dos" | "Voltar" | "Indietro";
|
|
38
|
+
static get BatchUpdate(): "Mehrfachbearbeitung" | "Multiple modification" | "Modificación múltiple" | "Modifie multiple" | "Editar múltipla" | "Modifica multipla";
|
|
38
39
|
static get BlogCase(): "Anschlagbrett" | "Blog board" | "Tablón" | "Tableau d'affichage" | "Bakeca" | "Bacheca";
|
|
39
40
|
static get Blog_Read(): "Anzeigebrett lesen" | "Reading blog board" | "Lectura tablón" | "Lire le tableau d'affichage" | "Quadro de avisos leitura" | "Lettura bacheca";
|
|
40
41
|
static get Blog_Write(): "Anzeigebrett schreiben" | "Writing blog board" | "Escritura tablón" | "Ecrire dans le tableau d'affichage" | "Quadro de avisos escrita" | "Scrittura bacheca";
|
|
@@ -299,6 +299,16 @@ export class SDKUI_Localizator {
|
|
|
299
299
|
default: return "Indietro";
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
|
+
static get BatchUpdate() {
|
|
303
|
+
switch (this._cultureID) {
|
|
304
|
+
case CultureIDs.De_DE: return "Mehrfachbearbeitung";
|
|
305
|
+
case CultureIDs.En_US: return "Multiple modification";
|
|
306
|
+
case CultureIDs.Es_ES: return "Modificación múltiple";
|
|
307
|
+
case CultureIDs.Fr_FR: return "Modifie multiple";
|
|
308
|
+
case CultureIDs.Pt_PT: return "Editar múltipla";
|
|
309
|
+
default: return "Modifica multipla";
|
|
310
|
+
}
|
|
311
|
+
}
|
|
302
312
|
static get BlogCase() {
|
|
303
313
|
switch (this._cultureID) {
|
|
304
314
|
case CultureIDs.De_DE: return "Anschlagbrett";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topconsultnpm/sdkui-react-beta",
|
|
3
|
-
"version": "6.11.
|
|
3
|
+
"version": "6.11.25",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"lib"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@topconsultnpm/sdk-ts-beta": "^6.11.
|
|
44
|
+
"@topconsultnpm/sdk-ts-beta": "^6.11.3",
|
|
45
45
|
"buffer": "^6.0.3",
|
|
46
46
|
"devextreme": "24.2.3",
|
|
47
47
|
"devextreme-react": "24.2.3",
|