@topconsultnpm/sdkui-react-beta 6.10.51 → 6.10.53

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.
@@ -7,12 +7,12 @@ import FileSystemError from "devextreme/file_management/error";
7
7
  import Button from "devextreme/ui/button";
8
8
  import { alert, confirm } from "devextreme/ui/dialog";
9
9
  import { loadMessages } from 'devextreme/localization';
10
- import { Globalization, IconAll, IconSelected, SDKUI_Localizator } from '../../helper';
10
+ import { Globalization, IconAll, IconCloud, IconFolder, IconSelected, SDKUI_Localizator } from '../../helper';
11
11
  import { TMExceptionBoxManager } from './TMPopUp';
12
12
  import ShowAlert from './TMAlert';
13
- import { IconFolder, IconPdf, IconTxt, IconXls, IconDocx, IconImage, IconZip, IconXml, IconMp4, IconEmail, IconPpt, IconSigned, IconExe, IconHtml, IconDwg, IconDicom, IconSlddrw } from '../../assets/thumbnails';
14
13
  import { TMLayoutWaitingContainer } from './TMWaitPanel';
15
- import TMCounterBar from './TMCounterBar';
14
+ import TMCounterContainer, { CounterItemKey } from './TMCounterContainer';
15
+ import { IconPdf, IconXls, IconTxt, IconXml, IconDwg, IconDicom, IconSlddrw, IconMp4, IconDocx, IconPpt, IconEmail, IconExe, IconHtml, IconSigned, IconImage, IconZip } from '../../assets/thumbnails';
16
16
  export class TMFileSystemItem {
17
17
  constructor() {
18
18
  this.name = "";
@@ -23,15 +23,32 @@ export class TMFileSystemItem {
23
23
  }
24
24
  let abortController = new AbortController();
25
25
  const TMAreaManager = (props = { selectionMode: 'multiple', isPathChooser: false }) => {
26
- const [counter, setCounter] = useState(0);
27
- const [areaFile, setAreaFile] = useState('');
28
- const [areaFolder, setAreaFolder] = useState('');
29
- const [currentRoute, setCurrentRoute] = useState('');
26
+ // State to store the instance of CustomFileSystemProvider. It is initialized once and used for managing file system operations.
27
+ const [areaProvider, setAreaProvider] = useState();
28
+ // LEFT PANEL = PARENT DIR | RIGHT PANEL = File Sytem Item
29
+ // State to maintain the selected parent dir (Support area - left panel)
30
30
  const [parentDir, setParentDir] = useState(null);
31
+ // State to maintain the selected parent path (Support area - left panel)
32
+ const [currentRoute, setCurrentRoute] = useState('');
33
+ // State to maintain the Area Descriptor Array (Support area - left panel)
31
34
  const [areas, setAreas] = useState([]);
35
+ // State to maintain the Area Descriptor Name Set (Support area - left panel)
36
+ const [areasRoots, setAreasRoots] = useState(new Set());
37
+ // State to store the file system items of the current directory's parent
38
+ const [parentDirectoryFileSystemItems, setParentDirectoryFileSystemItems] = useState([]);
39
+ // State to maintain the selected area file (File System Item - right panel)
40
+ const [areaFile, setAreaFile] = useState('');
41
+ // State to maintain the selected area folder (File System Item - right panel)
42
+ const [areaFolder, setAreaFolder] = useState('');
43
+ // State to maintain the focused/clicked file system item (File System Item - right panel)
44
+ const [focusedFileSystemItem, setFocusedFileSystemItem] = useState(undefined);
45
+ // State to maintain the number of selected items)
32
46
  const [selectedItemsCount, setSelectedItemsCount] = useState(0);
33
- const [areaProvider, setAreaProvider] = useState();
47
+ // State to maintain the counter values (total item into selected support area and selected items)
48
+ const [counterValues, setCounterValues] = useState(new Map());
49
+ // State to maintain the selection mode (File System Item - right panel)
34
50
  const [selectionMode, setSelectionMode] = useState('single');
51
+ /* State to manage the Wait Panel */
35
52
  const [showWaitPanel, setShowWaitPanel] = useState(false);
36
53
  const [waitPanelTitle, setWaitPanelTitle] = useState('');
37
54
  const [showPrimary, setShowPrimary] = useState(false);
@@ -42,29 +59,75 @@ const TMAreaManager = (props = { selectionMode: 'multiple', isPathChooser: false
42
59
  const [waitPanelTextSecondary, setWaitPanelTextSecondary] = useState('');
43
60
  const [waitPanelValueSecondary, setWaitPanelValueSecondary] = useState(0);
44
61
  const [waitPanelMaxValueSecondary, setWaitPanelMaxValueSecondary] = useState(0);
45
- const [areaRoots, setAreaRoots] = useState(new Set());
46
- const [focusedFileSystemItem, setFocusedFileSystemItem] = useState(undefined);
62
+ // Timer ID to store reference for any scheduled operation
47
63
  let timerId = null;
64
+ // Prefix for area folder names
48
65
  const AreaFolderNamePrefix = "AID_";
66
+ // Prefix for area paths, indicating a specific file system location
49
67
  const AreaPathPrefix = "tmarea:\\\\";
68
+ // Arrays to store resolve functions for existing and non-existing files
50
69
  let resolvesForExistingFiles = [];
51
70
  let resolvesForNonExistingFiles = [];
71
+ // Promise to store the directory content for a destination folder
52
72
  let destinationDirectoryContentPromise = null;
73
+ // Reference to the file manager component
53
74
  const fileManagerRef = useRef(null);
75
+ // Cache for uploaded file IDs, mapping file paths to their corresponding IDs
54
76
  let _cacheUploadFileId = new Map();
55
77
  useEffect(() => {
78
+ const defaultCounterItems = new Map([
79
+ [
80
+ String(SDKUI_Localizator.AllItems),
81
+ {
82
+ key: String(SDK_Localizator.Areas),
83
+ show: true,
84
+ caption: String(SDK_Localizator.Areas),
85
+ value: areasRoots.size,
86
+ icon: _jsx(IconCloud, {}),
87
+ order: 0
88
+ }
89
+ ],
90
+ [
91
+ String(SDKUI_Localizator.All),
92
+ {
93
+ key: String(SDKUI_Localizator.AllFilesAndFoldersInSupportArea),
94
+ show: true,
95
+ caption: String(SDKUI_Localizator.AllFilesAndFoldersInSupportArea),
96
+ value: focusedFileSystemItem?.name === '' ? 0 : parentDirectoryFileSystemItems.length,
97
+ icon: _jsx(IconAll, {}),
98
+ order: 0
99
+ }
100
+ ],
101
+ [
102
+ String(CounterItemKey.selectedItems),
103
+ {
104
+ key: String(CounterItemKey.selectedItems),
105
+ show: true,
106
+ caption: String(SDKUI_Localizator.SelectedItems),
107
+ value: selectedItemsCount,
108
+ icon: _jsx(IconSelected, {}),
109
+ order: 1
110
+ }
111
+ ]
112
+ ]);
113
+ setCounterValues(defaultCounterItems);
114
+ }, [areasRoots, focusedFileSystemItem, parentDirectoryFileSystemItems, selectedItemsCount]);
115
+ useEffect(() => {
116
+ // If areaProvider is already set, exit early to prevent reinitialization
56
117
  if (areaProvider)
57
118
  return;
119
+ // Initialize a new instance of CustomFileSystemProvider with necessary methods
58
120
  setAreaProvider(new CustomFileSystemProvider({
59
- copyItem,
60
- getItems,
61
- moveItem,
62
- renameItem,
63
- deleteItem,
64
- downloadItems,
65
- uploadFileChunk,
66
- createDirectory
121
+ copyItem, // Function to copy an item
122
+ getItems, // Function to retrieve items
123
+ moveItem, // Function to move an item
124
+ renameItem, // Function to rename an item
125
+ deleteItem, // Function to delete an item
126
+ downloadItems, // Function to download items
127
+ uploadFileChunk, // Function to upload file chunks
128
+ createDirectory // Function to create a directory
67
129
  }));
130
+ // Load localization messages for different languages
68
131
  loadMessages({
69
132
  "it": {
70
133
  "dxFileManager-dialogDeleteItemSingleItemConfirmation": "Sei sicuro di voler eliminare {0}?",
@@ -97,17 +160,13 @@ const TMAreaManager = (props = { selectionMode: 'multiple', isPathChooser: false
97
160
  "dxFileManager-dialogDirectoryChooserMoveButtonText": "Move"
98
161
  }
99
162
  });
100
- }, []);
101
- useEffect(() => {
102
- setAreaRoots(new Set(areas.map(area => area.name).filter(name => name !== undefined)));
103
- }, [areas]);
163
+ }, []); // Empty dependency array ensures this effect runs only once when the component mounts
104
164
  useEffect(() => {
105
165
  const btnNewDir = document.querySelector(".dx-filemanager-wrapper [aria-label='Nuova cartella']");
106
166
  const instanceBtnNewDir = Button.getInstance(btnNewDir);
107
167
  const btnSearchFile = document.querySelector(".dx-filemanager-wrapper [aria-label='Carica i files']");
108
168
  const instanceBtnSearchFile = Button.getInstance(btnSearchFile);
109
169
  if (currentRoute === '') {
110
- initCounter();
111
170
  instanceBtnNewDir?.option("disabled", true);
112
171
  instanceBtnSearchFile?.option("disabled", true);
113
172
  }
@@ -145,12 +204,6 @@ const TMAreaManager = (props = { selectionMode: 'multiple', isPathChooser: false
145
204
  setSelectionMode('multiple');
146
205
  fileManagerRef.current?.instance().refresh();
147
206
  }, [props.areaStatus]);
148
- const initCounter = async () => {
149
- const tms = props.tmSession ?? SDK_Globals.tmSession;
150
- const adlist = await tms?.NewAreaEngine().RetrieveAllAsync();
151
- if (adlist)
152
- setCounter(adlist.length);
153
- };
154
207
  const checkTargetDirectory = (operationType, e, data, resolve) => {
155
208
  const fileExists = !!data.find((x) => x.name === (operationType === 'copyOrMove' ? e.item.name : e.fileData.name));
156
209
  if (fileExists) {
@@ -384,38 +437,58 @@ const TMAreaManager = (props = { selectionMode: 'multiple', isPathChooser: false
384
437
  setShowWaitPanel(false);
385
438
  }
386
439
  };
440
+ // Asynchronous function to retrieve the items in a given directory (parentDirectory)
387
441
  const getItems = async (parentDirectory) => {
442
+ // Set the parent directory to the current state
388
443
  setParentDir(parentDirectory);
444
+ // Initialize an empty array to hold the file system items
389
445
  const fileSystem = [];
446
+ // Retrieve the current session or use the global session if not available
390
447
  const tms = props.tmSession ?? SDK_Globals.tmSession;
448
+ // Check if the parent directory is the root (empty name)
391
449
  if (parentDirectory.name === "") {
450
+ // Retrieve all area descriptors asynchronously
392
451
  const adlist = await tms?.NewAreaEngine().RetrieveAllAsync().catch((err) => TMExceptionBoxManager.show({ exception: err }));
393
- setAreas(adlist);
452
+ const areasRootsName = new Set();
453
+ // Iterate over each area descriptor and create corresponding file system items
394
454
  for (const ad of adlist) {
455
+ // Localize the name of the area
395
456
  ad.name = ad?.nameLoc;
457
+ if (ad.name)
458
+ areasRootsName.add(ad.name);
459
+ // Create a new file system item for each area descriptor
396
460
  const fsi = new TMFileSystemItem();
397
- fsi.name = ad.name ?? '';
398
- fsi.dataItem = ad;
399
- fsi.dateModified = ad.lastUpdateTime;
400
- fsi.isDirectory = true;
401
- fileSystem.push(fsi);
461
+ fsi.name = ad.name ?? ''; // Use the localized name or an empty string if undefined
462
+ fsi.dataItem = ad; // Store the area descriptor as data
463
+ fsi.dateModified = ad.lastUpdateTime; // Store the last update time
464
+ fsi.isDirectory = true; // Since this represents a directory, mark it as a directory
465
+ fileSystem.push(fsi); // Add the file system item to the list
402
466
  }
467
+ // Set the areas
468
+ setAreas(adlist);
469
+ setAreasRoots(areasRootsName);
470
+ setParentDirectoryFileSystemItems([]);
403
471
  }
404
472
  else {
473
+ // If the parent directory is not the root, retrieve files within the area
405
474
  const ad = parentDirectory.dataItem.dataItem;
406
- const aid = ad?.id;
407
- const path = parentDirectory.pathKeys.length === 1 ? "" : parentDirectory.path;
475
+ const aid = ad?.id; // Get the area ID
476
+ const path = parentDirectory.pathKeys.length === 1 ? "" : parentDirectory.path; // Determine the path
477
+ // Retrieve all files in the area, based on the path, asynchronously
408
478
  const files = await tms?.NewAreaEngine().RetrieveAllFilesAsync(aid, path.replace(ad.name + '/', '')).catch((err) => TMExceptionBoxManager.show({ exception: err }));
479
+ // Iterate over each file descriptor and create corresponding file system items
409
480
  files.forEach((file) => {
410
481
  const fsi = new TMFileSystemItem();
411
- fsi.name = file.name ?? '';
412
- fsi.dataItem = ad;
413
- fsi.dateModified = file.lastUpdateTime;
414
- fsi.isDirectory = file.isFld == 1;
415
- fsi.size = file.size;
416
- fileSystem.push(fsi);
482
+ fsi.name = file.name ?? ''; // Set the file name, defaulting to an empty string if undefined
483
+ fsi.dataItem = ad; // Store the area descriptor as data
484
+ fsi.dateModified = file.lastUpdateTime; // Store the file's last modified time
485
+ fsi.isDirectory = file.isFld == 1; // Mark as a directory if the 'isFld' field is 1 (directory)
486
+ fsi.size = file.size; // Store the file size
487
+ fileSystem.push(fsi); // Add the file system item to the list
417
488
  });
489
+ setParentDirectoryFileSystemItems(fileSystem);
418
490
  }
491
+ // Return the constructed list of file system items (directories or files)
419
492
  return fileSystem;
420
493
  };
421
494
  const renameItem = async (item, newName) => {
@@ -477,7 +550,7 @@ const TMAreaManager = (props = { selectionMode: 'multiple', isPathChooser: false
477
550
  let subFolder = e.directory.path.replace(ad.name + '/', '').replace(ad.name, '');
478
551
  setAreaFolder(getAreaPath(aid, subFolder));
479
552
  e.component.option("fileSystemProvider").getItems(e.directory).then((items) => {
480
- setCounter(items.length);
553
+ setParentDirectoryFileSystemItems(items);
481
554
  });
482
555
  };
483
556
  const onSelectionChanged = async (e) => {
@@ -594,7 +667,11 @@ const TMAreaManager = (props = { selectionMode: 'multiple', isPathChooser: false
594
667
  alert(`"${e.name}" ${SDKUI_Localizator.FolderExist}`, SDKUI_Localizator.Attention);
595
668
  }
596
669
  };
597
- const counters = [{ icon: _jsx(IconAll, {}), text: counter.toString(), tooltip: SDKUI_Localizator.AllItems }, { icon: _jsx(IconSelected, {}), text: selectedItemsCount.toString(), tooltip: SDKUI_Localizator.SelectedItems }];
598
- return (_jsxs(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: [_jsxs(FileManager, { width: props.width, ref: fileManagerRef, height: props.height, onItemMoving: onItemCopying, onItemCopying: onItemCopying, onFileUploading: onFileUploading, fileSystemProvider: areaProvider, customizeThumbnail: customizeIcon, rootFolderName: SDK_Localizator.Areas, onSelectionChanged: onSelectionChanged, onDirectoryCreating: onDirectoryCreating, onFocusedItemChanged: onFocusedItemChanged, onSelectedFileOpened: onSelectedFileOpened, onContextMenuItemClick: onContextMenuItemClick, onItemMoved: () => setCounter(counter => counter + 1), onItemCopied: () => setCounter(counter => counter + 1), onItemDeleted: () => setCounter(counter => counter - 1), onFileUploaded: () => setCounter(counter => counter + 1), onCurrentDirectoryChanged: onCurrentDirectoryChanged, selectionMode: props.selectionMode === 'single' ? 'single' : selectionMode, children: [_jsxs(Toolbar, { children: [_jsx(Item, { name: "showNavPane", visible: true }), _jsx(Item, { name: "create", visible: true }), _jsx(Item, { name: "upload", visible: true }), _jsx(Item, { name: "separator", location: 'after' }), _jsx(Item, { name: "switchView", visible: true }), _jsx(Item, { name: "refresh", visible: true })] }), _jsx(ContextMenu, { items: ["create", "upload", "rename", "move", "copy", "delete", "refresh", "download"] }), _jsx(Permissions, { copy: focusedFileSystemItem && focusedFileSystemItem.name !== "" && !areaRoots.has(focusedFileSystemItem.name), move: focusedFileSystemItem && focusedFileSystemItem.name !== "" && !areaRoots.has(focusedFileSystemItem.name), create: focusedFileSystemItem && focusedFileSystemItem.name !== "", upload: focusedFileSystemItem && focusedFileSystemItem.name !== "", rename: focusedFileSystemItem && focusedFileSystemItem.name !== "" && !areaRoots.has(focusedFileSystemItem.name), delete: focusedFileSystemItem && focusedFileSystemItem.name !== "" && !areaRoots.has(focusedFileSystemItem.name), download: true }), _jsx(ItemView, { children: _jsxs(Details, { children: [_jsx(Column, { dataField: "thumbnail", cssClass: 'file-thumbnail' }, "thumbnail"), _jsx(Column, { dataField: "name", caption: SDKUI_Localizator.Name }, "name"), _jsx(Column, { dataField: 'size', width: '120px', alignment: 'center', dataType: 'number', caption: SDKUI_Localizator.File_Size }, "size"), _jsx(Column, { dataField: 'dateModified', width: '160px', alignment: 'center', dataType: 'datetime', caption: SDKUI_Localizator.Date_Modified }, "dateModified")] }) }), _jsx(Notifications, { showPopup: false })] }), _jsx(TMCounterBar, { items: counters })] }));
670
+ 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: _jsxs("div", { style: { width: "100%", height: "100%" }, children: [_jsxs(FileManager, { width: props.width, ref: fileManagerRef, height: `calc(${props.height} - 30px)`, onItemMoving: onItemCopying, onItemCopying: onItemCopying, onFileUploading: onFileUploading, fileSystemProvider: areaProvider, customizeThumbnail: customizeIcon, rootFolderName: SDK_Localizator.Areas, onSelectionChanged: onSelectionChanged, onDirectoryCreating: onDirectoryCreating, onFocusedItemChanged: onFocusedItemChanged, onSelectedFileOpened: onSelectedFileOpened, onContextMenuItemClick: onContextMenuItemClick,
671
+ /* onItemMoved={() => setCounter(counter => counter + 1)}
672
+ onItemCopied={() => setCounter(counter => counter + 1)}
673
+ onItemDeleted={() => setCounter(counter => counter - 1)}
674
+ onFileUploaded={() => setCounter(counter => counter + 1)} */
675
+ onCurrentDirectoryChanged: onCurrentDirectoryChanged, selectionMode: props.selectionMode === 'single' ? 'single' : selectionMode, children: [_jsxs(Toolbar, { children: [_jsx(Item, { name: "showNavPane", visible: true }), _jsx(Item, { name: "create", visible: true }), _jsx(Item, { name: "upload", visible: true }), _jsx(Item, { name: "separator", location: 'after' }), _jsx(Item, { name: "switchView", visible: true }), _jsx(Item, { name: "refresh", visible: true })] }), _jsx(ContextMenu, { items: ["create", "upload", "rename", "move", "copy", "delete", "refresh", "download"] }), _jsx(Permissions, { copy: focusedFileSystemItem && focusedFileSystemItem.name !== "" && !areasRoots.has(focusedFileSystemItem.name), move: focusedFileSystemItem && focusedFileSystemItem.name !== "" && !areasRoots.has(focusedFileSystemItem.name), create: focusedFileSystemItem && focusedFileSystemItem.name !== "", upload: focusedFileSystemItem && focusedFileSystemItem.name !== "", rename: focusedFileSystemItem && focusedFileSystemItem.name !== "" && !areasRoots.has(focusedFileSystemItem.name), delete: focusedFileSystemItem && focusedFileSystemItem.name !== "" && !areasRoots.has(focusedFileSystemItem.name), download: true }), _jsx(ItemView, { children: _jsxs(Details, { children: [_jsx(Column, { dataField: "thumbnail", cssClass: 'file-thumbnail' }, "thumbnail"), _jsx(Column, { dataField: "name", caption: SDKUI_Localizator.Name }, "name"), _jsx(Column, { dataField: 'size', width: '120px', alignment: 'center', dataType: 'number', caption: SDKUI_Localizator.File_Size }, "size"), _jsx(Column, { dataField: 'dateModified', width: '160px', alignment: 'center', dataType: 'datetime', caption: SDKUI_Localizator.Date_Modified }, "dateModified")] }) }), _jsx(Notifications, { showPopup: false })] }), _jsx("div", { style: { width: "100%", height: "30px", overflowY: "hidden" }, children: _jsx(TMCounterContainer, { items: counterValues }) })] }) }));
599
676
  };
600
677
  export default TMAreaManager;
@@ -16,9 +16,10 @@ export declare class SDKUI_Localizator {
16
16
  static get AddDefinition(): "Definition hinzufügen" | "Add definition" | "Añadir definición" | "Ajoute la définition" | "Adicionar definição" | "Aggiungi definizione";
17
17
  static get AddOrSubstFile(): "Dateien hinzufügen/ersetzen" | "Add/substitute file" | "Añadir/sustituir archivo" | "Ajoute/Remplace le fichier" | "Adicionar / substituir arquivos" | "Aggiungi/sostituisci file";
18
18
  static get All(): "Alle" | "All" | "Todos" | "Tous" | "Tutti";
19
- static get Alphabetic(): "Alphabetisch" | "Alphabetic" | "Alfabético" | "Alphabétique" | "Alfabética" | "Alfabetico";
20
- static get Alls2(): "Alle" | "All" | "Todos" | "Tous" | "Tutte";
19
+ static get AllFilesAndFoldersInSupportArea(): "Alle Dateien und Ordner im Support-Bereich" | "All files and folders within the support area" | "Todos los archivos y carpetas dentro del área de soporte" | "Tous les fichiers et dossiers dans la zone de support" | "Todos os arquivos e pastas na área de apoio" | "Tutti i file e le cartelle all'interno dell'area di appoggio";
21
20
  static get AllItems(): "alle Artikel" | "All items" | "Todos los artículos" | "tous les articles" | "todos os artigos" | "tutti gli elementi";
21
+ static get Alls2(): "Alle" | "All" | "Todos" | "Tous" | "Tutte";
22
+ static get Alphabetic(): "Alphabetisch" | "Alphabetic" | "Alfabético" | "Alphabétique" | "Alfabética" | "Alfabetico";
22
23
  static get Applied(): string;
23
24
  static get Apply(): "Anwenden" | "Apply" | "Aplicar" | "Applique" | "Applica";
24
25
  static get ApplyAndClose(): "Anwenden und Schließen" | "Apply and close" | "Aplicar y cerrar" | "Applique et ferme" | "Aplicar e fechar" | "Applica e chiudi";
@@ -108,14 +108,24 @@ export class SDKUI_Localizator {
108
108
  default: return "Tutti";
109
109
  }
110
110
  }
111
- static get Alphabetic() {
111
+ static get AllFilesAndFoldersInSupportArea() {
112
112
  switch (this._cultureID) {
113
- case CultureIDs.De_DE: return "Alphabetisch";
114
- case CultureIDs.En_US: return "Alphabetic";
115
- case CultureIDs.Es_ES: return "Alfabético";
116
- case CultureIDs.Fr_FR: return "Alphabétique";
117
- case CultureIDs.Pt_PT: return "Alfabética";
118
- default: return "Alfabetico";
113
+ case CultureIDs.De_DE: return "Alle Dateien und Ordner im Support-Bereich";
114
+ case CultureIDs.En_US: return "All files and folders within the support area";
115
+ case CultureIDs.Es_ES: return "Todos los archivos y carpetas dentro del área de soporte";
116
+ case CultureIDs.Fr_FR: return "Tous les fichiers et dossiers dans la zone de support";
117
+ case CultureIDs.Pt_PT: return "Todos os arquivos e pastas na área de apoio";
118
+ default: return "Tutti i file e le cartelle all'interno dell'area di appoggio";
119
+ }
120
+ }
121
+ static get AllItems() {
122
+ switch (this._cultureID) {
123
+ case CultureIDs.De_DE: return "alle Artikel";
124
+ case CultureIDs.En_US: return "All items";
125
+ case CultureIDs.Es_ES: return "Todos los artículos";
126
+ case CultureIDs.Fr_FR: return "tous les articles";
127
+ case CultureIDs.Pt_PT: return "todos os artigos";
128
+ default: return "tutti gli elementi";
119
129
  }
120
130
  }
121
131
  static get Alls2() {
@@ -128,14 +138,14 @@ export class SDKUI_Localizator {
128
138
  default: return "Tutte";
129
139
  }
130
140
  }
131
- static get AllItems() {
141
+ static get Alphabetic() {
132
142
  switch (this._cultureID) {
133
- case CultureIDs.De_DE: return "alle Artikel";
134
- case CultureIDs.En_US: return "All items";
135
- case CultureIDs.Es_ES: return "Todos los artículos";
136
- case CultureIDs.Fr_FR: return "tous les articles";
137
- case CultureIDs.Pt_PT: return "todos os artigos";
138
- default: return "tutti gli elementi";
143
+ case CultureIDs.De_DE: return "Alphabetisch";
144
+ case CultureIDs.En_US: return "Alphabetic";
145
+ case CultureIDs.Es_ES: return "Alfabético";
146
+ case CultureIDs.Fr_FR: return "Alphabétique";
147
+ case CultureIDs.Pt_PT: return "Alfabética";
148
+ default: return "Alfabetico";
139
149
  }
140
150
  }
141
151
  static get Applied() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.10.51",
3
+ "version": "6.10.53",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",