@topconsultnpm/sdkui-react 6.19.0-dev1.30 → 6.19.0-dev1.31

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.
@@ -58,7 +58,7 @@ const TMArchive = ({ onDcmtTypeSelect = undefined, inputTID, inputFile = null, c
58
58
  passToSearch(currentTID, outputMids);
59
59
  } : undefined })
60
60
  :
61
- _jsx(TMPanel, { title: 'Archiviazione', allowMaximize: false, children: _jsxs(TMLayoutContainer, { gap: 30, alignItems: 'center', justifyContent: 'center', children: [_jsx(StyledToppyTextContainer, { children: _jsx(StyledToppyText, { children: SDKUI_Localizator.DcmtTypeSelect }) }), _jsx(StyledToppyImage, { src: Logo, alt: 'Toppy' })] }) }), [currentTID, deviceType, mruTIDs, inputFile, inputMids]);
61
+ _jsx(TMPanel, { title: 'Archiviazione', allowMaximize: false, children: _jsxs(TMLayoutContainer, { gap: 30, alignItems: 'center', justifyContent: 'center', children: [_jsx(StyledToppyTextContainer, { children: _jsx(StyledToppyText, { children: SDKUI_Localizator.DcmtTypeSelect }) }), _jsx(StyledToppyImage, { src: Logo, alt: 'Toppy' })] }) }), [currentTID, deviceType, mruTIDs, inputFile, inputMids, enableDragDropOverlay]);
62
62
  const allInitialPanelVisibility = {
63
63
  'tmTreeSelector': true,
64
64
  'tmRecentsManager': true,
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useEffect, useState } from "react";
3
3
  import Toppy from '../../../assets/Toppy-generico.png';
4
+ import { SDKUI_Localizator } from "../../../helper";
4
5
  const TMDragDropOverlay = (props) => {
5
6
  const { handleFile, refocusAfterFileInput } = props;
6
7
  const [dragOver, setDragOver] = useState(false);
@@ -91,6 +92,6 @@ const TMDragDropOverlay = (props) => {
91
92
  alignItems: 'center',
92
93
  gap: 20,
93
94
  textAlign: 'center',
94
- }, children: [_jsx("img", { src: Toppy, alt: "Toppy", style: { width: 80, height: 'auto' } }), _jsx("div", { style: { fontSize: '1.6rem' }, children: "Rilascia il tuo file qui" })] })] }));
95
+ }, children: [_jsx("img", { src: Toppy, alt: "Toppy", style: { width: 80, height: 'auto' } }), _jsx("div", { style: { fontSize: '1.6rem' }, children: SDKUI_Localizator.DropFileHere })] })] }));
95
96
  };
96
97
  export default TMDragDropOverlay;
@@ -172,6 +172,7 @@ export declare class SDKUI_Localizator {
172
172
  static get DownloadXMLAttachments(): string;
173
173
  static get Draft(): string;
174
174
  static get Drafts(): string;
175
+ static get DropFileHere(): "Ziehen Sie Ihre Datei hierher" | "Drop your file here" | "Suelta tu archivo aquí" | "Déposez votre fichier ici" | "Solte seu arquivo aqui";
175
176
  static get DropFileToShare(): string;
176
177
  static get Duplicate(): "Duplikat" | "Duplicate" | "Duplicar" | "Dupliquer" | "Duplicado" | "Duplica";
177
178
  static get Duplicate_ConfirmFor1(): "Möchten Sie '{{0}}' duplizieren?" | "Are you sure you want to duplicate '{{0}}'?" | "¿Estás seguro de que deseas duplicar '{{0}}'?" | "Êtes-vous sûr de vouloir dupliquer '{{0}}'?" | "Você tem certeza que deseja duplicar '{{0}}'?" | "Sei sicuro di voler duplicare '{{0}}'?";
@@ -1632,6 +1632,16 @@ export class SDKUI_Localizator {
1632
1632
  default: return "Bozze";
1633
1633
  }
1634
1634
  }
1635
+ static get DropFileHere() {
1636
+ switch (this._cultureID) {
1637
+ case CultureIDs.De_DE: return "Ziehen Sie Ihre Datei hierher";
1638
+ case CultureIDs.En_US: return "Drop your file here";
1639
+ case CultureIDs.Es_ES: return "Suelta tu archivo aquí";
1640
+ case CultureIDs.Fr_FR: return "Déposez votre fichier ici";
1641
+ case CultureIDs.Pt_PT: return "Solte seu arquivo aqui";
1642
+ default: return "Drop your file here";
1643
+ }
1644
+ }
1635
1645
  static get DropFileToShare() {
1636
1646
  switch (this._cultureID) {
1637
1647
  case CultureIDs.De_DE: return "Datei zum Teilen hier ablegen";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react",
3
- "version": "6.19.0-dev1.30",
3
+ "version": "6.19.0-dev1.31",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",