@topconsultnpm/sdkui-react-beta 6.13.82 → 6.13.84

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.
@@ -129,7 +129,7 @@ const TMHtmlEditor = (props) => {
129
129
  return (_jsxs("div", { style: { height: hasValidationErrors ? `calc(${height} - 30px)` : "100%", width: width }, onContextMenu: handleContextMenu, children: [_jsx("div", { className: "custom-mentions-wrapper", style: { borderWidth: '1px', borderStyle: 'solid', borderColor: hasValidationErrors ? "red" : "#e0e0e0 #e0e0e0 #616161", width: "100%", height: "100%" }, children: _jsx(HtmlEditor, { ref: editorRef, placeholder: SDKUI_Localizator.TypeAMessage + "...", width: "100%", height: "100%", value: markup, onValueChange: onValueChangeCallback, mentions: mentionsConfig, style: { overflow: 'hidden', outline: "none", fontSize: '1rem' }, children: isEditorEnabled && (toolbarMode === 'compact' ?
130
130
  _jsxs(Toolbar, { multiline: false, children: [_jsx(Item, { name: "undo" }), _jsx(Item, { name: "redo" }), _jsx(Item, { name: "separator" }), _jsx(Item, { name: "bold" }), _jsx(Item, { name: "italic" }), _jsx(Item, { name: "strike" }), _jsx(Item, { name: "underline" }), _jsx(Item, { name: "separator" }), _jsx(Item, { name: "orderedList" }), _jsx(Item, { name: "bulletList" })] }) :
131
131
  _jsxs(Toolbar, { children: [_jsx(Item, { name: "undo" }), _jsx(Item, { name: "redo" }), _jsx(Item, { name: "separator" }), _jsx(Item, { name: "separator" }), _jsx(Item, { name: "bold" }), _jsx(Item, { name: "italic" }), _jsx(Item, { name: "strike" }), _jsx(Item, { name: "underline" }), _jsx(Item, { name: "separator" }), _jsx(Item, { name: "alignLeft" }), _jsx(Item, { name: "alignCenter" }), _jsx(Item, { name: "alignRight" }), _jsx(Item, { name: "alignJustify" }), _jsx(Item, { name: "separator" }), _jsx(Item, { name: "color" }), _jsx(Item, { name: "background" }), _jsx(Item, { name: "separator" }), _jsx(Item, { name: "link" }), _jsx(Item, { name: "image" }), _jsx(Item, { name: "separator" })] })) }) }), !isPasting && validationItems.length > 0 && (_jsx("div", { style: { width: "100%", height: "30px" }, children: _jsx(TMVilViewer, { vil: validationItems }) })), contextMenuPos &&
132
- ReactDOM.createPortal(_jsx("div", { style: {
132
+ ReactDOM.createPortal(_jsxs("div", { style: {
133
133
  position: 'fixed',
134
134
  top: contextMenuPos.y,
135
135
  left: contextMenuPos.x,
@@ -139,6 +139,6 @@ const TMHtmlEditor = (props) => {
139
139
  zIndex: 9999,
140
140
  padding: '5px 10px',
141
141
  cursor: 'pointer'
142
- }, onClick: handlePaste, children: "Paste" }), document.body)] }));
142
+ }, onClick: handlePaste, children: [_jsx("i", { className: 'dx-icon-paste' }), " ", SDKUI_Localizator.PasteFromClipboard] }), document.body)] }));
143
143
  };
144
144
  export default TMHtmlEditor;
@@ -289,6 +289,7 @@ export declare class SDKUI_Localizator {
289
289
  static get PasswordRule_Uppercase(): "Großbuchstaben (A–Z)." | "Uppercase character (A–Z)." | "Letra mayúscula (A–Z)." | "Caractère majuscule (A–Z)." | "Letra maiúscula (A–Z)." | "Lettere maiuscole (A–Z).";
290
290
  static get PasswordRule_Number(): "Zahlen (0–9)." | "Number (0–9)." | "Números (0–9)." | "Chiffre (0–9)." | "Numeri (0–9).";
291
291
  static get PasswordRule_Special(): "Mindestens ein Sonderzeichen." | "At least one special character." | "Al menos un carácter especial." | "Au moins un caractère spécial." | "Pelo menos um caractere especial." | "Almeno un carattere speciale.";
292
+ static get PasteFromClipboard(): string;
292
293
  static get Parameters(): "Parameter" | "Parameters" | "Parámetros" | "Paramètres" | "Parâmetros" | "Parametri";
293
294
  static get Perms(): "Berechtigungen" | "Permissions" | "Permisos" | "Autorisations" | "Permissão" | "Permessi";
294
295
  static get PhysDelete(): "Physische Stornierung" | "Physical delete" | "Cancelación física" | "Supression" | "Cancelamento física" | "Cancellazione fisica";
@@ -2841,6 +2841,16 @@ export class SDKUI_Localizator {
2841
2841
  default: return "Almeno un carattere speciale.";
2842
2842
  }
2843
2843
  }
2844
+ static get PasteFromClipboard() {
2845
+ switch (this._cultureID) {
2846
+ case CultureIDs.De_DE: return "Aus der Zwischenablage einfügen";
2847
+ case CultureIDs.En_US: return "Paste from clipboard";
2848
+ case CultureIDs.Es_ES: return "Pegar desde el portapapeles";
2849
+ case CultureIDs.Fr_FR: return "Coller depuis le presse-papiers";
2850
+ case CultureIDs.Pt_PT: return "Colar da área de transferência";
2851
+ default: return "Incolla dagli appunti";
2852
+ }
2853
+ }
2844
2854
  static get Parameters() {
2845
2855
  switch (this._cultureID) {
2846
2856
  case CultureIDs.De_DE: return "Parameter";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.13.82",
3
+ "version": "6.13.84",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",