@topconsultnpm/sdkui-react-beta 6.11.41 → 6.11.43

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.
@@ -35,7 +35,8 @@ const TMFileManager = (props) => {
35
35
  // State to store context menu items for file manager actions
36
36
  const [menuItems, setMenuItems] = useState({ folder: [], file: [] });
37
37
  // State to manage the anchor element for context menu positioning
38
- const [anchorEl, setAnchorEl] = useState(null);
38
+ const [treeViewAnchor, setTreeViewAnchor] = useState(null);
39
+ const [viewAnchor, setViewAnchor] = useState(null);
39
40
  useEffect(() => {
40
41
  setMenuItems(contextMenuItems ?? { folder: [], file: [] });
41
42
  }, [contextMenuItems]);
@@ -43,7 +44,7 @@ const TMFileManager = (props) => {
43
44
  if (event === undefined)
44
45
  return;
45
46
  event.preventDefault();
46
- setAnchorEl(event.currentTarget);
47
+ setTreeViewAnchor(event.currentTarget);
47
48
  const items = contextMenuItems ?? { folder: [], file: [] };
48
49
  setMenuItems(items);
49
50
  };
@@ -51,13 +52,17 @@ const TMFileManager = (props) => {
51
52
  if (event === undefined)
52
53
  return;
53
54
  event.preventDefault();
54
- setAnchorEl(event.currentTarget);
55
+ setViewAnchor(event.currentTarget);
55
56
  const items = contextMenuItems ?? { folder: [], file: [] };
56
57
  setMenuItems(items);
57
58
  };
58
59
  // Handle closing the context menu
59
- const closeContextMenu = useCallback(() => {
60
- setAnchorEl(null);
60
+ const closeTreeViewContextMenu = useCallback(() => {
61
+ setTreeViewAnchor(null);
62
+ }, []);
63
+ // Handle closing the context menu
64
+ const closeViewContextMenu = useCallback(() => {
65
+ setViewAnchor(null);
61
66
  }, []);
62
67
  // useEffect hook to transform the data whenever the treeFs prop changes
63
68
  useEffect(() => {
@@ -186,7 +191,7 @@ const TMFileManager = (props) => {
186
191
  display: "flex",
187
192
  flexGrow: 1,
188
193
  height: "calc(100% - 40px)"
189
- }, children: _jsxs(TMSplitterLayout, { direction: 'horizontal', showSeparator: true, separatorColor: 'transparent', separatorActiveColor: 'transparent', min: ['0', '0'], start: [isLeftPanelCollapsed ? '0%' : "50%", isLeftPanelCollapsed ? '100%' : "50%"], children: [_jsxs("div", { style: { height: "100%", width: "100%" }, onContextMenu: onTreeViewContextMenu, children: [_jsx(TreeView, { style: { marginTop: "10px" }, dataSource: treeViewData, displayExpr: "text", itemRender: renderTreeViewItem, onItemClick: handleTreeViewItemClick }), anchorEl && _jsx(ContextMenu, { dataSource: menuItems.folder, target: anchorEl, onHiding: closeContextMenu })] }), _jsxs("div", { style: { backgroundColor: "#fff", width: "100%", height: "100%" }, children: [_jsxs(Toolbar, { style: { backgroundColor: '#f4f4f4', height: "40px", paddingLeft: "5px", paddingRight: '5px' }, children: [_jsx(ToolbarItem, { location: "before", children: _jsx(TMButton, { caption: viewMode === 'details' ? SDKUI_Localizator.PreviewView : SDKUI_Localizator.DetailsView, btnStyle: 'toolbar', color: 'primaryOutline', icon: viewMode === 'details' ? _jsx(IconDashboard, {}) : _jsx(IconList, {}), onClick: toggleViewMode }) }), _jsx(ToolbarItem, { location: "before", children: _jsx(TMSearchBar, { marginLeft: '0px', maxWidth: '160px', searchValue: searchText, onSearchValueChanged: (e) => handleSearchChange(e) }) })] }), _jsxs("div", { onDrop: handleDrop, onDragOver: handleDragOver, onDragLeave: handleDragLeave, onContextMenu: onViewContextMenu, style: { width: "100%", height: "calc(100% - 40px)", border: isDragging ? '2px solid red' : '2px solid transparent' }, children: [viewMode === 'thumbnails' && _jsx(ThumbnailsView, { items: filteredFileItems, selectedFiles: selectedFiles, contextMenuItems: contextMenuItems?.file, handleSelectedFiles: handleSelectedFiles, handleFocusedFile: handleFocusedFile, onDoubleClickHandler: onDoubleClickHandler, thumbnailsViewItemComponent: thumbnailsViewItemComponent }), viewMode === 'details' && _jsx(DetailsView, { items: filteredFileItems, contextMenuItems: contextMenuItems?.file, selectedFiles: selectedFiles, focusedFile: focusedFile, handleSelectedFiles: handleSelectedFiles, handleFocusedFile: handleFocusedFile, onDoubleClickHandler: onDoubleClickHandler }), anchorEl && _jsx(ContextMenu, { dataSource: menuItems.file, target: anchorEl, onHiding: closeContextMenu })] })] })] }, "TMWGs-panels-treeView") })] });
194
+ }, children: _jsxs(TMSplitterLayout, { direction: 'horizontal', showSeparator: true, separatorColor: 'transparent', separatorActiveColor: 'transparent', min: ['0', '0'], start: [isLeftPanelCollapsed ? '0%' : "50%", isLeftPanelCollapsed ? '100%' : "50%"], children: [_jsxs("div", { style: { height: "100%", width: "100%" }, onContextMenu: onTreeViewContextMenu, children: [_jsx(TreeView, { style: { marginTop: "10px" }, dataSource: treeViewData, displayExpr: "text", itemRender: renderTreeViewItem, onItemClick: handleTreeViewItemClick }), treeViewAnchor && _jsx(ContextMenu, { dataSource: menuItems.folder, target: treeViewAnchor, onHiding: closeTreeViewContextMenu })] }), _jsxs("div", { style: { backgroundColor: "#fff", width: "100%", height: "100%" }, children: [_jsxs(Toolbar, { style: { backgroundColor: '#f4f4f4', height: "40px", paddingLeft: "5px", paddingRight: '5px' }, children: [_jsx(ToolbarItem, { location: "before", children: _jsx(TMButton, { caption: viewMode === 'details' ? SDKUI_Localizator.PreviewView : SDKUI_Localizator.DetailsView, btnStyle: 'toolbar', color: 'primaryOutline', icon: viewMode === 'details' ? _jsx(IconDashboard, {}) : _jsx(IconList, {}), onClick: toggleViewMode }) }), _jsx(ToolbarItem, { location: "before", children: _jsx(TMSearchBar, { marginLeft: '0px', maxWidth: '160px', searchValue: searchText, onSearchValueChanged: (e) => handleSearchChange(e) }) })] }), _jsxs("div", { onDrop: handleDrop, onDragOver: handleDragOver, onDragLeave: handleDragLeave, onContextMenu: onViewContextMenu, style: { width: "100%", height: "calc(100% - 40px)", border: isDragging ? '2px solid red' : '2px solid transparent' }, children: [viewMode === 'thumbnails' && _jsx(ThumbnailsView, { items: filteredFileItems, selectedFiles: selectedFiles, contextMenuItems: contextMenuItems?.file, handleSelectedFiles: handleSelectedFiles, handleFocusedFile: handleFocusedFile, onDoubleClickHandler: onDoubleClickHandler, thumbnailsViewItemComponent: thumbnailsViewItemComponent }), viewMode === 'details' && _jsx(DetailsView, { items: filteredFileItems, contextMenuItems: contextMenuItems?.file, selectedFiles: selectedFiles, focusedFile: focusedFile, handleSelectedFiles: handleSelectedFiles, handleFocusedFile: handleFocusedFile, onDoubleClickHandler: onDoubleClickHandler }), viewAnchor && _jsx(ContextMenu, { dataSource: menuItems.file, target: viewAnchor, onHiding: closeViewContextMenu })] })] })] }, "TMWGs-panels-treeView") })] });
190
195
  };
191
196
  export default TMFileManager;
192
197
  const DetailsView = (props) => {
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ import { MetadataDescriptor, MetadataDataTypes, DBBrands } from '@topconsultnpm/sdk-ts-beta';
3
+ import { ITMApplyFormProps } from '../../ts';
4
+ export declare enum FormulaTargets {
5
+ None = 0,
6
+ DefaultValue = 1,
7
+ ComputedMetadata = 2,
8
+ MetadataMapping = 3,
9
+ PDFCommandAddText = 4,
10
+ BatchUpdate = 5
11
+ }
12
+ export declare class FormulaDescriptor {
13
+ expression?: string;
14
+ formulaTarget?: FormulaTargets;
15
+ items: any[];
16
+ mid?: number;
17
+ metadataDataTypeDest?: MetadataDataTypes;
18
+ tid?: number;
19
+ }
20
+ export declare const TMFormulaEditor: React.FunctionComponent<ITMApplyFormProps<FormulaDescriptor>>;
21
+ export declare class FormulaHelper {
22
+ static TreeViewList(tid: number, systemMDs: MetadataDescriptor[], userMDs: MetadataDescriptor[], formulaTarget: FormulaTargets, dbBrand: DBBrands): any;
23
+ static jsonItems_LoadVariables(tid: number, formulaTarget: FormulaTargets, systemMDs: MetadataDescriptor[], userMDs: MetadataDescriptor[]): any;
24
+ static jsonItems_SystemMDs(tid: number, systemMDs: MetadataDescriptor[]): any;
25
+ static jsonItems_UserMDs(tid: number, userMDs: MetadataDescriptor[]): any;
26
+ static jsonItems_SystemVariables(formulaTarget: FormulaTargets): any;
27
+ static jsonItems_LoadInstructions(dbBrand: DBBrands): any;
28
+ static jsonItems_LoadFunctions(dbBrand: DBBrands, formulaTarget: FormulaTargets): any;
29
+ static jsonItems_LoadFunctions_Convert(dbBrand: DBBrands): any;
30
+ static jsonItems_LoadFunctions_String(dbBrand: DBBrands): any;
31
+ static jsonItems_LoadFunctions_Date(dbBrand: DBBrands, formulaTarget: FormulaTargets): any;
32
+ static jsonItems_LoadFunctions_Link(): any;
33
+ }
@@ -0,0 +1,678 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useRef, useState } from 'react';
3
+ import { ValidationItem, SDK_Globals, MetadataDataTypes, DBBrands, ResultTypes } from '@topconsultnpm/sdk-ts-beta';
4
+ import { TreeView } from 'devextreme-react';
5
+ import { calcIsModified, IconActivityLog, IconAtSign, IconDcmtTypeSys, IconDetailDcmts, IconMetadata, IconMetadata_Numeric, IconMetadata_Text, IconNotification, IconPencil, IconSettings, SDKUI_Localizator } from '../../helper';
6
+ import { TMColors, FontSize } from '../../utils/theme';
7
+ import { StyledDivHorizontal } from '../base/Styled';
8
+ import ShowAlert from '../base/TMAlert';
9
+ import TMButton from '../base/TMButton';
10
+ import TMLayoutContainer, { TMSplitterLayout, TMLayoutItem, TMCard } from '../base/TMLayout';
11
+ import { TMExceptionBoxManager } from '../base/TMPopUp';
12
+ import TMSpinner from '../base/TMSpinner';
13
+ import TMVilViewer from '../base/TMVilViewer';
14
+ import TMApplyForm from '../forms/TMApplyForm';
15
+ import { TMMetadataIcon } from '../viewers/TMMidViewer';
16
+ import { useApplyForm } from '../../hooks/useForm';
17
+ // import CodeEditor from '@uiw/react-textarea-code-editor';
18
+ // npm i @uiw/react-textarea-code-editor
19
+ export var FormulaTargets;
20
+ (function (FormulaTargets) {
21
+ FormulaTargets[FormulaTargets["None"] = 0] = "None";
22
+ FormulaTargets[FormulaTargets["DefaultValue"] = 1] = "DefaultValue";
23
+ FormulaTargets[FormulaTargets["ComputedMetadata"] = 2] = "ComputedMetadata";
24
+ FormulaTargets[FormulaTargets["MetadataMapping"] = 3] = "MetadataMapping";
25
+ FormulaTargets[FormulaTargets["PDFCommandAddText"] = 4] = "PDFCommandAddText";
26
+ FormulaTargets[FormulaTargets["BatchUpdate"] = 5] = "BatchUpdate";
27
+ })(FormulaTargets || (FormulaTargets = {}));
28
+ export class FormulaDescriptor {
29
+ constructor() {
30
+ this.items = [];
31
+ }
32
+ }
33
+ export const TMFormulaEditor = (props) => {
34
+ const [validationItems, setValidationItems] = useState([]);
35
+ // const { formData, setFormData, formDataOrig, validationItems, setValidationItems, exception, applyData } = useOrchApplyForm<FormulaDescriptor>({ type: Descriptors.Formula }, props.formMode, props.inputData, props.onApplied)
36
+ const { formData, setFormData, formDataOrig, exception, applyData } = useApplyForm(props.formMode, props.inputData, () => new FormulaDescriptor(), props.onApplied);
37
+ // const [code, setCode] = useState(`function add(a, b) {\n return a + b;\n}` );
38
+ const textAreaRef = useRef(null);
39
+ /// esegue la validazione lato-backend
40
+ function formulaValidator_BackEnd() {
41
+ (async () => {
42
+ TMSpinner.show();
43
+ setValidationItems([]);
44
+ try {
45
+ switch (props.inputData?.formulaTarget) {
46
+ case FormulaTargets.ComputedMetadata:
47
+ await SDK_Globals.tmSession?.NewDcmtTypeEngine().MetadataValidateComputedFormulaAsync(props.inputData.tid, props.inputData.mid, textAreaRef.current?.value, undefined);
48
+ break;
49
+ case FormulaTargets.BatchUpdate:
50
+ case FormulaTargets.DefaultValue:
51
+ case FormulaTargets.MetadataMapping:
52
+ await SDK_Globals.tmSession?.NewDcmtTypeEngine().MetadataValidateDefaultValueAsync(props.inputData.tid, props.inputData.mid, props.inputData.metadataDataTypeDest, textAreaRef.current?.value, undefined);
53
+ break;
54
+ //In questa modalità non esiste un metadato da associare alla formula
55
+ case FormulaTargets.PDFCommandAddText:
56
+ await SDK_Globals.tmSession?.NewDcmtTypeEngine().MetadataValidateDefaultValueAsync(props.inputData.tid, 0, MetadataDataTypes.Varchar, textAreaRef.current?.value, undefined);
57
+ break;
58
+ }
59
+ TMSpinner.hide();
60
+ ShowAlert({ message: SDKUI_Localizator.FormulaEditor_ValidateOK, mode: 'success', title: `${SDKUI_Localizator.EvaluateResult}`, duration: 3000 });
61
+ }
62
+ catch (e) {
63
+ TMExceptionBoxManager.show({ exception: e });
64
+ insertValidationItem();
65
+ }
66
+ finally {
67
+ TMSpinner.hide();
68
+ }
69
+ })();
70
+ }
71
+ const insertValidationItem = () => {
72
+ let vil = [];
73
+ vil.push(new ValidationItem(ResultTypes.ERROR, SDKUI_Localizator.Validate, "Formula non validata"));
74
+ setValidationItems(vil);
75
+ };
76
+ /// Inserisce {@parameter} in cursor position
77
+ const insertText = (textToInsert) => {
78
+ if (textAreaRef == null || textAreaRef.current == null)
79
+ return;
80
+ if (textToInsert == undefined)
81
+ return;
82
+ try {
83
+ let cursorposition = textAreaRef.current?.selectionStart;
84
+ let textbeforecursorposition = textAreaRef.current?.value.substring(0, cursorposition);
85
+ let textaftercursorposition = textAreaRef.current?.value.substring(cursorposition, textAreaRef.current?.value.length);
86
+ let newValue = textbeforecursorposition + textToInsert + textaftercursorposition;
87
+ textAreaRef.current.value = newValue;
88
+ setFormData({ ...formData, expression: newValue });
89
+ insertValidationItem();
90
+ textAreaRef.current.focus();
91
+ textAreaRef.current.selectionStart = textAreaRef.current.selectionEnd = cursorposition + textToInsert.length;
92
+ }
93
+ catch (e) {
94
+ TMExceptionBoxManager.show({ exception: e });
95
+ }
96
+ };
97
+ return (_jsx(TMApplyForm, { isModal: props.isModal, formMode: props.formMode, isModified: calcIsModified(formData, formDataOrig), exception: exception, validationItems: validationItems, title: SDKUI_Localizator.Formula, hasNavigation: false, height: '600px', width: '800px', onApply: () => applyData(), onClose: props.onClose, onUndo: () => { setFormData(formDataOrig); setValidationItems([]); }, customToolbarElements: _jsx(TMButton, { caption: SDKUI_Localizator.EvaluateResult, onClick: () => { formulaValidator_BackEnd(); }, btnStyle: 'toolbar', icon: _jsx(IconNotification, {}) }), children: _jsxs(TMSplitterLayout, { direction: 'vertical', showSeparator: true, separatorSize: 2, start: ['50%', '50%'], min: ['0px', '0px'], children: [_jsx(TMLayoutItem, { children: _jsx(TMCard, { children: _jsx(TreeView, { id: "treeview", items: props.inputData?.items, width: '100%',
98
+ // onItemClick={(e) => { if (!e.itemData!.hasItems) { /* myItem = e; */ insertText(e.itemData!.text); } }}
99
+ scrollDirection: 'vertical', itemRender: (item) => {
100
+ if (item.icon == undefined)
101
+ return (item.text);
102
+ if (!item.hasItems) {
103
+ if (item.tid == undefined)
104
+ return (_jsxs("div", { children: [item.icon, _jsx("span", { style: { verticalAlign: 'middle', color: TMColors.primary, marginLeft: '5px' }, children: _jsx(IconPencil, { onClick: () => { insertText(item.text); } }) })] }));
105
+ else
106
+ return (_jsxs(StyledDivHorizontal, { children: [item.icon, _jsx("span", { style: { verticalAlign: 'middle' }, children: item.text }), _jsx("span", { style: { verticalAlign: 'middle', color: TMColors.primary, marginLeft: '5px' }, children: _jsx(IconPencil, { onClick: () => { insertText(item.text); } }) })] }));
107
+ }
108
+ else {
109
+ if (item.tid == undefined)
110
+ return (_jsx("div", { children: item.icon }));
111
+ else
112
+ return (_jsxs("div", { children: [item.icon, _jsx("span", { style: { verticalAlign: 'middle' }, children: item.text })] }));
113
+ }
114
+ } }) }) }), _jsx(TMLayoutItem, { children: _jsxs(TMLayoutContainer, { direction: 'vertical', children: [_jsx(TMLayoutItem, { children: _jsx(TMCard, { scrollX: true, children: _jsx("textarea", { ref: textAreaRef, spellCheck: false, value: formData.expression, onChange: (e) => {
115
+ setFormData({ ...formData, expression: e.target.value });
116
+ if (e.target.value != formDataOrig.expression)
117
+ insertValidationItem();
118
+ else
119
+ setValidationItems([]);
120
+ }, style: { border: 'none', color: TMColors.text_normal, fontSize: FontSize.defaultFontSize, padding: '5px', width: '100%', height: 'calc(100% - 4px)' } }) }) }), _jsx(TMLayoutItem, { height: "max-content", children: _jsx(TMVilViewer, { vil: validationItems }) })] }) })] }) }));
121
+ };
122
+ const instructionsIcon = () => _jsx(IconActivityLog, {});
123
+ const functionIcon = () => _jsx(IconDetailDcmts, {});
124
+ const variableIcon = () => _jsx(IconAtSign, {});
125
+ const systemVariablesIcon = () => _jsx(IconSettings, {});
126
+ const metadataIcon = () => _jsx(IconMetadata, {});
127
+ const metadataNumberIcon = () => _jsx(IconMetadata_Numeric, {});
128
+ const metadataVarcharIcon = () => _jsx(IconMetadata_Text, {});
129
+ export class FormulaHelper {
130
+ static TreeViewList(tid, systemMDs, userMDs, formulaTarget, dbBrand) {
131
+ let list = [{
132
+ id: '1',
133
+ text: SDKUI_Localizator.FormulaEditor_Variables,
134
+ icon: variableIcon,
135
+ hasItems: true,
136
+ items: this.jsonItems_LoadVariables(tid, formulaTarget, systemMDs, userMDs),
137
+ }, {
138
+ id: '2',
139
+ text: SDKUI_Localizator.FormulaEditor_Instructions,
140
+ icon: instructionsIcon,
141
+ hasItems: true,
142
+ items: this.jsonItems_LoadInstructions(dbBrand),
143
+ }, {
144
+ id: '3',
145
+ text: SDKUI_Localizator.FormulaEditor_Functions,
146
+ icon: functionIcon,
147
+ hasItems: true,
148
+ items: this.jsonItems_LoadFunctions(dbBrand, formulaTarget),
149
+ }];
150
+ return list;
151
+ }
152
+ static jsonItems_LoadVariables(tid, formulaTarget, systemMDs, userMDs) {
153
+ let items = [{
154
+ id: '1_1',
155
+ text: SDKUI_Localizator.MetadataSystem,
156
+ icon: _jsx(IconDcmtTypeSys, {}),
157
+ hasItems: true,
158
+ items: this.jsonItems_SystemMDs(tid, systemMDs),
159
+ }];
160
+ if (formulaTarget != FormulaTargets.BatchUpdate) {
161
+ items.push({
162
+ id: '1_2',
163
+ text: SDKUI_Localizator.MetadataUsers,
164
+ icon: metadataIcon,
165
+ hasItems: true,
166
+ items: this.jsonItems_UserMDs(tid, userMDs),
167
+ });
168
+ }
169
+ if (formulaTarget == FormulaTargets.DefaultValue || formulaTarget == FormulaTargets.MetadataMapping || formulaTarget == FormulaTargets.PDFCommandAddText) {
170
+ items.push({
171
+ id: '1_3',
172
+ text: SDKUI_Localizator.VariablesSystem,
173
+ icon: systemVariablesIcon,
174
+ hasItems: true,
175
+ items: this.jsonItems_SystemVariables(formulaTarget),
176
+ });
177
+ }
178
+ return items;
179
+ }
180
+ static jsonItems_SystemMDs(tid, systemMDs) {
181
+ const items = systemMDs.map((md, index) => {
182
+ return {
183
+ id: '1_1_' + index,
184
+ text: "{@" + md.name + "}",
185
+ tid: tid,
186
+ md: md,
187
+ icon: _jsx(TMMetadataIcon, { tid: tid, md: md }),
188
+ expands: false,
189
+ hasItems: false
190
+ };
191
+ });
192
+ return items;
193
+ }
194
+ static jsonItems_UserMDs(tid, userMDs) {
195
+ const items = userMDs.map((md, index) => {
196
+ return {
197
+ id: '1_2_' + index,
198
+ text: "{@" + md.name + "}",
199
+ tid: tid,
200
+ md: md,
201
+ icon: _jsx(TMMetadataIcon, { tid: tid, md: md }),
202
+ expands: false,
203
+ hasItems: false
204
+ };
205
+ });
206
+ return items;
207
+ }
208
+ static jsonItems_SystemVariables(formulaTarget) {
209
+ let items = [{
210
+ id: '1_3_1',
211
+ text: '{@UserID}',
212
+ icon: metadataNumberIcon,
213
+ tid: -1,
214
+ expanded: false,
215
+ hasItems: false,
216
+ }, {
217
+ id: '1_3_2',
218
+ text: '{@UserName}',
219
+ icon: metadataVarcharIcon,
220
+ tid: -1,
221
+ expanded: false,
222
+ hasItems: false,
223
+ }];
224
+ if (formulaTarget == FormulaTargets.DefaultValue) {
225
+ items.push({
226
+ id: '1_3_3',
227
+ text: '{@GUID}',
228
+ icon: metadataVarcharIcon,
229
+ tid: -1,
230
+ expanded: false,
231
+ hasItems: false,
232
+ }, {
233
+ id: '1_3_4',
234
+ text: '{@ContentType}',
235
+ icon: metadataVarcharIcon,
236
+ tid: -1,
237
+ expanded: false,
238
+ hasItems: false,
239
+ }, {
240
+ id: '1_3_5',
241
+ text: '{@FileName}',
242
+ icon: metadataVarcharIcon,
243
+ tid: -1,
244
+ expanded: false,
245
+ hasItems: false,
246
+ }, {
247
+ id: '1_3_6',
248
+ text: '{@FileName_Original}',
249
+ icon: metadataVarcharIcon,
250
+ tid: -1,
251
+ expanded: false,
252
+ hasItems: false,
253
+ });
254
+ }
255
+ if (formulaTarget == FormulaTargets.MetadataMapping || formulaTarget == FormulaTargets.PDFCommandAddText) {
256
+ items.push({
257
+ id: '1_3_3',
258
+ text: '{@FileName}',
259
+ icon: metadataVarcharIcon,
260
+ tid: -1,
261
+ expanded: false,
262
+ hasItems: false,
263
+ }, {
264
+ id: '1_3_4',
265
+ text: '{@FileName_Original}',
266
+ icon: metadataVarcharIcon,
267
+ tid: -1,
268
+ expanded: false,
269
+ hasItems: false,
270
+ }, {
271
+ id: '1_3_5',
272
+ text: '{@ProcessRunID}',
273
+ icon: metadataNumberIcon,
274
+ tid: -1,
275
+ expanded: false,
276
+ hasItems: false,
277
+ });
278
+ }
279
+ return items;
280
+ }
281
+ static jsonItems_LoadInstructions(dbBrand) {
282
+ let items;
283
+ switch (dbBrand) {
284
+ case DBBrands.SQLServer:
285
+ items =
286
+ [{
287
+ id: '1_4_1',
288
+ text: 'CASE WHEN THEN ELSE END',
289
+ icon: instructionsIcon,
290
+ tid: -1,
291
+ expanded: false,
292
+ hasItems: false,
293
+ }, {
294
+ id: '1_4_2',
295
+ text: 'IS NULL',
296
+ icon: instructionsIcon,
297
+ tid: -1,
298
+ expanded: false,
299
+ hasItems: false,
300
+ }];
301
+ break;
302
+ case DBBrands.Oracle:
303
+ items =
304
+ [{
305
+ id: '1_4_1',
306
+ text: 'CASE WHEN THEN ELSE END',
307
+ icon: instructionsIcon,
308
+ tid: -1,
309
+ expanded: false,
310
+ hasItems: false,
311
+ }, {
312
+ id: '1_4_2',
313
+ text: 'IS NULL',
314
+ icon: instructionsIcon,
315
+ tid: -1,
316
+ expanded: false,
317
+ hasItems: false,
318
+ }, {
319
+ id: '1_4_3',
320
+ text: 'GREATEST',
321
+ icon: instructionsIcon,
322
+ tid: -1,
323
+ expanded: false,
324
+ hasItems: false,
325
+ }, {
326
+ id: '1_4_4',
327
+ text: 'LEAST',
328
+ icon: instructionsIcon,
329
+ tid: -1,
330
+ expanded: false,
331
+ hasItems: false,
332
+ }];
333
+ break;
334
+ }
335
+ return items;
336
+ }
337
+ static jsonItems_LoadFunctions(dbBrand, formulaTarget) {
338
+ let items = [{
339
+ id: '3_1',
340
+ text: SDKUI_Localizator.FormulaEditor_FunctionConvert,
341
+ icon: functionIcon,
342
+ hasItems: true,
343
+ items: this.jsonItems_LoadFunctions_Convert(dbBrand),
344
+ }, {
345
+ id: '3_2',
346
+ text: SDKUI_Localizator.FormulaEditor_FunctionString,
347
+ icon: functionIcon,
348
+ hasItems: true,
349
+ items: this.jsonItems_LoadFunctions_String(dbBrand),
350
+ }, {
351
+ id: '3_3',
352
+ text: SDKUI_Localizator.FormulaEditor_FunctionDate,
353
+ icon: functionIcon,
354
+ hasItems: true,
355
+ items: this.jsonItems_LoadFunctions_Date(dbBrand, formulaTarget),
356
+ }];
357
+ if (formulaTarget == FormulaTargets.DefaultValue || formulaTarget == FormulaTargets.BatchUpdate) {
358
+ items.push({
359
+ id: '3_4',
360
+ text: SDKUI_Localizator.FormulaEditor_FunctionLink,
361
+ icon: functionIcon,
362
+ hasItems: true,
363
+ items: this.jsonItems_LoadFunctions_Link(),
364
+ });
365
+ }
366
+ return items;
367
+ }
368
+ static jsonItems_LoadFunctions_Convert(dbBrand) {
369
+ let items;
370
+ switch (dbBrand) {
371
+ case DBBrands.SQLServer:
372
+ items =
373
+ [{
374
+ id: '3_1_1',
375
+ text: 'CONVERT',
376
+ icon: functionIcon,
377
+ expanded: false,
378
+ hasItems: false,
379
+ }, {
380
+ id: '3_1_2',
381
+ text: 'CONVERT(nvarchar)',
382
+ icon: functionIcon,
383
+ expanded: false,
384
+ hasItems: false,
385
+ }, {
386
+ id: '3_1_3',
387
+ text: 'CONVERT(int)',
388
+ icon: functionIcon,
389
+ expanded: false,
390
+ hasItems: false,
391
+ }, {
392
+ id: '3_1_4',
393
+ text: 'ISNULL',
394
+ icon: functionIcon,
395
+ expanded: false,
396
+ hasItems: false,
397
+ }];
398
+ break;
399
+ case DBBrands.Oracle:
400
+ items =
401
+ [{
402
+ id: '3_1_1',
403
+ text: 'CAST',
404
+ icon: functionIcon,
405
+ expanded: false,
406
+ hasItems: false,
407
+ }, {
408
+ id: '3_1_2',
409
+ text: 'CAST(NVARCHAR2)',
410
+ icon: functionIcon,
411
+ expanded: false,
412
+ hasItems: false,
413
+ }, {
414
+ id: '3_1_3',
415
+ text: 'CAST(NUMERIC)',
416
+ icon: functionIcon,
417
+ expanded: false,
418
+ hasItems: false,
419
+ }, {
420
+ id: '3_1_4',
421
+ text: 'NVL',
422
+ icon: functionIcon,
423
+ expanded: false,
424
+ hasItems: false,
425
+ }];
426
+ break;
427
+ }
428
+ return items;
429
+ }
430
+ static jsonItems_LoadFunctions_String(dbBrand) {
431
+ let items;
432
+ switch (dbBrand) {
433
+ case DBBrands.SQLServer:
434
+ items =
435
+ [{
436
+ id: '3_2_1',
437
+ text: 'LEN',
438
+ icon: functionIcon,
439
+ expanded: false,
440
+ hasItems: false,
441
+ }, {
442
+ id: '3_2_2',
443
+ text: 'LEFT',
444
+ icon: functionIcon,
445
+ expanded: false,
446
+ hasItems: false,
447
+ }, {
448
+ id: '3_2_3',
449
+ text: 'LOWER',
450
+ icon: functionIcon,
451
+ expanded: false,
452
+ hasItems: false,
453
+ }, {
454
+ id: '3_2_4',
455
+ text: 'LTRIM',
456
+ icon: functionIcon,
457
+ expanded: false,
458
+ hasItems: false,
459
+ }, {
460
+ id: '3_2_5',
461
+ text: 'REPLACE',
462
+ icon: functionIcon,
463
+ expanded: false,
464
+ hasItems: false,
465
+ }, {
466
+ id: '3_2_6',
467
+ text: 'REPLICATE',
468
+ icon: functionIcon,
469
+ expanded: false,
470
+ hasItems: false,
471
+ }, {
472
+ id: '3_2_7',
473
+ text: 'RIGHT',
474
+ icon: functionIcon,
475
+ expanded: false,
476
+ hasItems: false,
477
+ }, {
478
+ id: '3_2_8',
479
+ text: 'RTRIM',
480
+ icon: functionIcon,
481
+ expanded: false,
482
+ hasItems: false,
483
+ }, {
484
+ id: '3_2_9',
485
+ text: 'SPACE',
486
+ icon: functionIcon,
487
+ expanded: false,
488
+ hasItems: false,
489
+ }, {
490
+ id: '3_2_10',
491
+ text: 'STUFF',
492
+ icon: functionIcon,
493
+ expanded: false,
494
+ hasItems: false,
495
+ }, {
496
+ id: '3_2_11',
497
+ text: 'SUBSTRING',
498
+ icon: functionIcon,
499
+ expanded: false,
500
+ hasItems: false,
501
+ }, {
502
+ id: '3_2_12',
503
+ text: 'UPPER',
504
+ icon: functionIcon,
505
+ expanded: false,
506
+ hasItems: false,
507
+ }];
508
+ break;
509
+ case DBBrands.Oracle:
510
+ items =
511
+ [{
512
+ id: '3_2_1',
513
+ text: 'LENGTH',
514
+ icon: functionIcon,
515
+ expanded: false,
516
+ hasItems: false,
517
+ }, {
518
+ id: '3_2_2',
519
+ text: 'LOWER',
520
+ icon: functionIcon,
521
+ expanded: false,
522
+ hasItems: false,
523
+ }, {
524
+ id: '3_2_3',
525
+ text: 'TRIM',
526
+ icon: functionIcon,
527
+ expanded: false,
528
+ hasItems: false,
529
+ }, {
530
+ id: '3_2_4',
531
+ text: 'REPLACE',
532
+ icon: functionIcon,
533
+ expanded: false,
534
+ hasItems: false,
535
+ }, {
536
+ id: '3_2_5',
537
+ text: 'SUBSTR',
538
+ icon: functionIcon,
539
+ expanded: false,
540
+ hasItems: false,
541
+ }, {
542
+ id: '3_2_6',
543
+ text: 'UPPER',
544
+ icon: functionIcon,
545
+ expanded: false,
546
+ hasItems: false,
547
+ }];
548
+ break;
549
+ }
550
+ return items;
551
+ }
552
+ static jsonItems_LoadFunctions_Date(dbBrand, formulaTarget) {
553
+ let items;
554
+ switch (dbBrand) {
555
+ case DBBrands.SQLServer:
556
+ items =
557
+ [{
558
+ id: '3_3_1',
559
+ text: 'DATEDIFF ( year )',
560
+ icon: functionIcon,
561
+ expanded: false,
562
+ hasItems: false,
563
+ }, {
564
+ id: '3_3_2',
565
+ text: 'DATEDIFF ( day )',
566
+ icon: functionIcon,
567
+ expanded: false,
568
+ hasItems: false,
569
+ }, {
570
+ id: '3_3_3',
571
+ text: 'DATEADD',
572
+ icon: functionIcon,
573
+ expanded: false,
574
+ hasItems: false,
575
+ }];
576
+ if (formulaTarget == FormulaTargets.DefaultValue || formulaTarget == FormulaTargets.BatchUpdate) {
577
+ items.push({
578
+ id: '3_3_4',
579
+ text: 'GETDATE()',
580
+ icon: functionIcon,
581
+ expanded: false,
582
+ hasItems: false,
583
+ }, {
584
+ id: '3_3_5',
585
+ text: 'DAY(GETDATE())',
586
+ icon: functionIcon,
587
+ expanded: false,
588
+ hasItems: false,
589
+ }, {
590
+ id: '3_3_6',
591
+ text: 'MONTH(GETDATE())',
592
+ icon: functionIcon,
593
+ expanded: false,
594
+ hasItems: false,
595
+ }, {
596
+ id: '3_3_7',
597
+ text: 'YEAR(GETDATE())',
598
+ icon: functionIcon,
599
+ expanded: false,
600
+ hasItems: false,
601
+ });
602
+ }
603
+ break;
604
+ case DBBrands.Oracle:
605
+ items =
606
+ [{
607
+ id: '3_3_1',
608
+ text: 'TO_DATE',
609
+ icon: functionIcon,
610
+ expanded: false,
611
+ hasItems: false,
612
+ }, {
613
+ id: '3_3_2',
614
+ text: 'LAST_DAY',
615
+ icon: functionIcon,
616
+ expanded: false,
617
+ hasItems: false,
618
+ }, {
619
+ id: '3_3_3',
620
+ text: 'ADD_MONTHS',
621
+ icon: functionIcon,
622
+ expanded: false,
623
+ hasItems: false,
624
+ }];
625
+ if (formulaTarget == FormulaTargets.DefaultValue || formulaTarget == FormulaTargets.BatchUpdate) {
626
+ items.push({
627
+ id: '3_3_4',
628
+ text: 'SYSDATE',
629
+ icon: functionIcon,
630
+ expanded: false,
631
+ hasItems: false,
632
+ }, {
633
+ id: '3_3_5',
634
+ text: 'TO_CHAR(SYSDATE, "DD")',
635
+ icon: functionIcon,
636
+ expanded: false,
637
+ hasItems: false,
638
+ }, {
639
+ id: '3_3_6',
640
+ text: 'TO_CHAR(SYSDATE, "MM")',
641
+ icon: functionIcon,
642
+ expanded: false,
643
+ hasItems: false,
644
+ }, {
645
+ id: '3_3_7',
646
+ text: 'TO_CHAR(SYSDATE, "YYYY")',
647
+ icon: functionIcon,
648
+ expanded: false,
649
+ hasItems: false,
650
+ });
651
+ }
652
+ break;
653
+ }
654
+ return items;
655
+ }
656
+ static jsonItems_LoadFunctions_Link() {
657
+ let items = [{
658
+ id: '3_4_1',
659
+ text: `TM_GetViewLink (${SDKUI_Localizator.FormulaEditor_Function_TM_GetViewLink_WithLogin})`,
660
+ icon: functionIcon,
661
+ expanded: false,
662
+ hasItems: false,
663
+ }, {
664
+ id: '3_4_2',
665
+ text: `TM_GetViewLink (${SDKUI_Localizator.FormulaEditor_Function_TM_GetViewLink_WithoutLogin})`,
666
+ icon: functionIcon,
667
+ expanded: false,
668
+ hasItems: false,
669
+ }, {
670
+ id: '3_4_3',
671
+ text: `TM_GetViewLink (${SDKUI_Localizator.FormulaEditor_Function_TM_GetViewLink_WithDate})`,
672
+ icon: functionIcon,
673
+ expanded: false,
674
+ hasItems: false,
675
+ }];
676
+ return items;
677
+ }
678
+ }
@@ -104,6 +104,7 @@ export declare class SDKUI_Localizator {
104
104
  static get EnterValue(): "Geben Sie einen Wert ein" | "Enter a value" | "Introducir un valor" | "Entrez une valeur" | "Digite um valor" | "Inserire un valore";
105
105
  static get Error(): "Fehler" | "Error" | "Erreur" | "Erro" | "Errore";
106
106
  static get ErrorParsingFileContent(): "Fehler beim Parsen des Dateiinhalts. Stellen Sie sicher, dass die Datei im richtigen Format vorliegt." | "Error parsing the file content. Ensure the file is in the correct format." | "Error al analizar el contenido del archivo. Asegúrese de que el archivo esté en el formato correcto." | "Erreur lors de l'analyse du contenu du fichier. Assurez-vous que le fichier est dans le bon format." | "Erro ao analisar o conteúdo do arquivo. Certifique-se de que o arquivo está no formato correto." | "Errore durante l'analisi del contenuto del file. Assicurati che il file sia nel formato corretto.";
107
+ static get EvaluateResult(): "Bewerten Sie das Ergebnis" | "Evaluate result" | "Valorar el resultado" | "Évalue les résultats" | "Avalia os resultados" | "Valuta il risultato";
107
108
  static get Export(): "Exportieren" | "Export" | "Exportar" | "Exporter" | "Esporta";
108
109
  static get ExportMRN(): "Exportieren MRN" | "Export MRN" | "Exportar MRN" | "Exporter MRN";
109
110
  static get ExportMRNDayBack(): "Anzahl der Tage für die Exportdatenwiederherstellung (MRN)" | "Number of days for export data recovery (MRN)" | "Número de días para la recuperación de datos de exportación (MRN)" | "Nombre de jours pour la récupération des données d'exportation (MRN)" | "Número de dias para recuperação de dados de exportação (MRN)" | "Numero di giorni per il recupero dei dati di Export (MRN)";
@@ -126,6 +127,18 @@ export declare class SDKUI_Localizator {
126
127
  static get ForgetPassword(): "Passwort vergessen" | "Forgot password" | "Has olvidado tu contraseña" | "Mot de passe oublié" | "Esqueceu sua senha" | "Password dimenticata";
127
128
  static get Format(): "Format" | "Formato";
128
129
  static get Formats_None(): "Originale (XML)" | "Original (XML)";
130
+ static get Formula(): "Formel" | "Formula" | "Fórmula" | "Formule";
131
+ static get FormulaEditor_Function_TM_GetViewLink_WithDate(): "mit Verfallsdatum" | "with expiration date" | "con fecha de finalización" | "avec date d'expiration" | "com data de validade" | "con data di scadenza";
132
+ static get FormulaEditor_Function_TM_GetViewLink_WithLogin(): "mit gekapselten Zugangsdaten" | "with login" | "con credenciales encapsuladas" | "avec l'identification" | "encapsular credenciados" | "con credenziali incapsulate";
133
+ static get FormulaEditor_Function_TM_GetViewLink_WithoutLogin(): "ohne Zugangsdaten" | "without login" | "sin credenciales" | "sans l'identification" | "sem credenciais" | "senza credenziali";
134
+ static get FormulaEditor_FunctionConvert(): "Konvertierungsfunktionen" | "Convert functions" | "Funciones de conversión" | "Fonctions de conversion" | "Funções de conversão" | "Funzioni di conversione";
135
+ static get FormulaEditor_FunctionDate(): "Funktionen für Datumswerte" | "Datetime values functions" | "Funciones para los valores de datos" | "Fonctions pour les valeurs de date" | "Funções para os valores de" | "Funzioni per i valori data";
136
+ static get FormulaEditor_FunctionLink(): "Verknüpfungsfunktionen" | "Link functions" | "Funciones para los enlaces" | "Fonctions pour les link" | "Funções para ligações" | "Funzioni per i link";
137
+ static get FormulaEditor_Functions(): "Funktionen" | "Functions" | "Funciones" | "Fonctions" | "Funções" | "Funzioni";
138
+ static get FormulaEditor_FunctionString(): "Funktionen für Zeichenkettenwerte" | "String values functions" | "Funciones para los valores de cadena" | "Fonctions pour les valeurs de chaîne" | "Funções para valores de cadeia" | "Funzioni per i valori stringa";
139
+ static get FormulaEditor_Instructions(): "Anweisungen" | "Instructions" | "Instrucciones" | "Instruções" | "Istruzioni";
140
+ static get FormulaEditor_Variables(): "Variablen @" | "Variables @" | "Variáveis @" | "Variabili @";
141
+ static get FormulaEditor_ValidateOK(): "Erfolgreich validierte Formel" | "Formula successfully validated" | "Fórmula validada correctamente" | "La formule est valide" | "Fórmula utilizada com sucesso" | "Formula validata con successo";
129
142
  static get File_Downloading(): "Datei wird heruntergeladen" | "File is downloading..." | "El archivo se está descargando" | "Le fichier est en cours de téléchargement" | "O arquivo está sendo baixado" | "Il file è in fase di download";
130
143
  static get File_Size(): "Dateigröße" | "File size" | "Tamaño del archivo" | "Taille du fichier" | "Tamanho do arquivo" | "Dimensione del file";
131
144
  static get FromTime(): "wurde" | "from" | "par" | "dal";
@@ -152,6 +165,7 @@ export declare class SDKUI_Localizator {
152
165
  static get List_Hide(): "Liste ausblenden" | "Hide list" | "Ocultar lista" | "Masquer la liste" | "Nascondi la lista";
153
166
  static get List_Show(): "liste anzeigen" | "Show list" | "Ver lista" | "Afficher la liste" | "Visualizza la lista";
154
167
  static get Loading(): "Laden" | "Loading" | "Carga" | "Chargement" | "Caricamento";
168
+ static get Login(): string;
155
169
  static get LogDelete(): "Löschen der Logik" | "Logical delete" | "Cancelación lógica" | "Suppression logique" | "Lógica de cancelamento" | "Cancellazione logica";
156
170
  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";
157
171
  static get MetadataFlag(): "Markieren von Methadaten" | "Flag metadata" | "Metadato de indicador" | "Mètadonnée de marque" | "Marcação de metadados" | "Metadato di contrassegno";
@@ -178,6 +192,8 @@ export declare class SDKUI_Localizator {
178
192
  static get MetadataReferenceInsert(): "Metadaten-Referenz einfügen" | "Add metadata reference" | "Introducir referencia metadato" | "Entrez les métadonnée de référence" | "Insira metadados de referência" | "Inserisci riferimento metadato";
179
193
  static get MetadataRoot(): "Methadatenstamm" | "Root metadata" | "Metadato raíz" | "Métadonnée racine" | "Metadados raiz" | "Metadato radice";
180
194
  static get MetadataSelected(): "Ausgewählte Metadaten" | "Selected metadata" | "Metadatos seleccionados" | "Métadonnées sélectionnées" | "Metadados selecionados" | "Metadati selezionati";
195
+ static get MetadataSystem(): "System-Methadaten" | "System metadata" | "Metadatos de sistema" | "Métadonnées de système" | "Metadados system" | "Metadati di sistema";
196
+ static get MetadataUsers(): "Benutzermetadaten" | "User metadata" | "Metadatos de usuario" | "Métadonnées de l'utilisateur" | "Metadados do usuário" | "Metadati utente";
181
197
  static get Message(): "Nachricht" | "Message" | "Mensaje" | "Mensagem" | "Messaggio";
182
198
  static get More(): "andere" | "more" | "otros" | "autres" | "outros" | "altri";
183
199
  static get MoreInformation(): "Mehr Informationen" | "More information" | "Más información" | "Plus d'informations" | "Mais informações" | "Maggiori informazioni";
@@ -263,6 +279,7 @@ export declare class SDKUI_Localizator {
263
279
  static get RetrieveFile(): "Dateiwiederherstellung" | "Retrieve file" | "Recuperación archivos" | "Récupération fichier" | "Arquivos de recuperação" | "Recupero file";
264
280
  static get Rows(): "Linien" | "rows" | "líneas" | "lignes" | "linhas" | "righe";
265
281
  static get Save(): "Speichern" | "Save" | "Guardar" | "Enregistre" | "Salvar" | "Salva";
282
+ static get SaveAndLogin(): string;
266
283
  static get SaveQuestion(): "Ihre Änderungen speichern?" | "Save modifications?" | "¿Guardar modificaciones aportadas?" | "Enregistrez les modifications?" | "Salve as alterações?" | "Salvare le modifiche apportate?";
267
284
  static get SavedQueryNew(): "Neue Suche speichern" | "Save new search" | "Guardar nueva búsqueda" | "Enregistrer la nouvelle recherche" | "Guardar nova pesquisa" | "Salva nuova ricerca";
268
285
  static get SavedQueryUpdate(): "Suche bearbeiten" | "Modify query" | "Modificar búsqueda" | "Modifie la recherche" | "Mudar pesquisa" | "Modifica ricerca";
@@ -326,10 +343,12 @@ export declare class SDKUI_Localizator {
326
343
  static get UserLevelAdminSys(): "Systemadministrator" | "System administrator" | "Administrador de sistema" | "Administrateur de système" | "Administrador do sistema" | "Amministratore di sistema";
327
344
  static get UserLevelMember(): "Mitglied" | "Member" | "Miembro" | "Membre" | "Membro";
328
345
  static get Valid(): "Gültig" | "Valid" | "Válido" | "Valide" | "Valido";
346
+ static get Validate(): "Bestätigung" | "Validation" | "Validación" | "Validação" | "Validazione";
329
347
  static get Value(): "Wert" | "Value" | "Valor" | "Valeur" | "Valore";
330
348
  static get ValueAscending(): "Aufsteigend Wert" | "Value ascending" | "Value ascendente" | "Valeur croissant" | "Valor crescente" | "Valore crescente";
331
349
  static get ValueDescending(): "Absteigend Wert" | "Value descending" | "Value descendente" | "Valeur décroissant" | "Valor decrescente" | "Valore decrescente";
332
350
  static get ValueNotPresent(): "Wert NICHT vorhanden" | "Value NOT present" | "Valor NO presente" | "Valeur NON présente" | "Valor NÃO presente" | "Valore NON presente";
351
+ static get VariablesSystem(): "Systemvariablen" | "System variables" | "Variables del sistema" | "Variables de système" | "Variáveis do sistema" | "Variabili di sistema";
333
352
  static get Version(): string;
334
353
  static get View_Metadato(): "Anzeige (Methadaten)" | "Visualization (metadata)" | "Visualización (metadato)" | "Visualisation (métadonnée)" | "Display (metadados)" | "Visualizzazione (metadato)";
335
354
  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";
@@ -1001,6 +1001,16 @@ export class SDKUI_Localizator {
1001
1001
  default: return "Errore durante l'analisi del contenuto del file. Assicurati che il file sia nel formato corretto.";
1002
1002
  }
1003
1003
  }
1004
+ static get EvaluateResult() {
1005
+ switch (this._cultureID) {
1006
+ case CultureIDs.De_DE: return "Bewerten Sie das Ergebnis";
1007
+ case CultureIDs.En_US: return "Evaluate result";
1008
+ case CultureIDs.Es_ES: return "Valorar el resultado";
1009
+ case CultureIDs.Fr_FR: return "Évalue les résultats";
1010
+ case CultureIDs.Pt_PT: return "Avalia os resultados";
1011
+ default: return "Valuta il risultato";
1012
+ }
1013
+ }
1004
1014
  static get Export() {
1005
1015
  switch (this._cultureID) {
1006
1016
  case CultureIDs.De_DE: return "Exportieren";
@@ -1221,6 +1231,126 @@ export class SDKUI_Localizator {
1221
1231
  default: return "Originale (XML)";
1222
1232
  }
1223
1233
  }
1234
+ static get Formula() {
1235
+ switch (this._cultureID) {
1236
+ case CultureIDs.De_DE: return "Formel";
1237
+ case CultureIDs.En_US: return "Formula";
1238
+ case CultureIDs.Es_ES: return "Fórmula";
1239
+ case CultureIDs.Fr_FR: return "Formule";
1240
+ case CultureIDs.Pt_PT: return "Fórmula";
1241
+ default: return "Formula";
1242
+ }
1243
+ }
1244
+ static get FormulaEditor_Function_TM_GetViewLink_WithDate() {
1245
+ switch (this._cultureID) {
1246
+ case CultureIDs.De_DE: return "mit Verfallsdatum";
1247
+ case CultureIDs.En_US: return "with expiration date";
1248
+ case CultureIDs.Es_ES: return "con fecha de finalización";
1249
+ case CultureIDs.Fr_FR: return "avec date d'expiration";
1250
+ case CultureIDs.Pt_PT: return "com data de validade";
1251
+ default: return "con data di scadenza";
1252
+ }
1253
+ }
1254
+ static get FormulaEditor_Function_TM_GetViewLink_WithLogin() {
1255
+ switch (this._cultureID) {
1256
+ case CultureIDs.De_DE: return "mit gekapselten Zugangsdaten";
1257
+ case CultureIDs.En_US: return "with login";
1258
+ case CultureIDs.Es_ES: return "con credenciales encapsuladas";
1259
+ case CultureIDs.Fr_FR: return "avec l'identification";
1260
+ case CultureIDs.Pt_PT: return "encapsular credenciados";
1261
+ default: return "con credenziali incapsulate";
1262
+ }
1263
+ }
1264
+ static get FormulaEditor_Function_TM_GetViewLink_WithoutLogin() {
1265
+ switch (this._cultureID) {
1266
+ case CultureIDs.De_DE: return "ohne Zugangsdaten";
1267
+ case CultureIDs.En_US: return "without login";
1268
+ case CultureIDs.Es_ES: return "sin credenciales";
1269
+ case CultureIDs.Fr_FR: return "sans l'identification";
1270
+ case CultureIDs.Pt_PT: return "sem credenciais";
1271
+ default: return "senza credenziali";
1272
+ }
1273
+ }
1274
+ static get FormulaEditor_FunctionConvert() {
1275
+ switch (this._cultureID) {
1276
+ case CultureIDs.De_DE: return "Konvertierungsfunktionen";
1277
+ case CultureIDs.En_US: return "Convert functions";
1278
+ case CultureIDs.Es_ES: return "Funciones de conversión";
1279
+ case CultureIDs.Fr_FR: return "Fonctions de conversion";
1280
+ case CultureIDs.Pt_PT: return "Funções de conversão";
1281
+ default: return "Funzioni di conversione";
1282
+ }
1283
+ }
1284
+ static get FormulaEditor_FunctionDate() {
1285
+ switch (this._cultureID) {
1286
+ case CultureIDs.De_DE: return "Funktionen für Datumswerte";
1287
+ case CultureIDs.En_US: return "Datetime values functions";
1288
+ case CultureIDs.Es_ES: return "Funciones para los valores de datos";
1289
+ case CultureIDs.Fr_FR: return "Fonctions pour les valeurs de date";
1290
+ case CultureIDs.Pt_PT: return "Funções para os valores de";
1291
+ default: return "Funzioni per i valori data";
1292
+ }
1293
+ }
1294
+ static get FormulaEditor_FunctionLink() {
1295
+ switch (this._cultureID) {
1296
+ case CultureIDs.De_DE: return "Verknüpfungsfunktionen";
1297
+ case CultureIDs.En_US: return "Link functions";
1298
+ case CultureIDs.Es_ES: return "Funciones para los enlaces";
1299
+ case CultureIDs.Fr_FR: return "Fonctions pour les link";
1300
+ case CultureIDs.Pt_PT: return "Funções para ligações";
1301
+ default: return "Funzioni per i link";
1302
+ }
1303
+ }
1304
+ static get FormulaEditor_Functions() {
1305
+ switch (this._cultureID) {
1306
+ case CultureIDs.De_DE: return "Funktionen";
1307
+ case CultureIDs.En_US: return "Functions";
1308
+ case CultureIDs.Es_ES: return "Funciones";
1309
+ case CultureIDs.Fr_FR: return "Fonctions";
1310
+ case CultureIDs.Pt_PT: return "Funções";
1311
+ default: return "Funzioni";
1312
+ }
1313
+ }
1314
+ static get FormulaEditor_FunctionString() {
1315
+ switch (this._cultureID) {
1316
+ case CultureIDs.De_DE: return "Funktionen für Zeichenkettenwerte";
1317
+ case CultureIDs.En_US: return "String values functions";
1318
+ case CultureIDs.Es_ES: return "Funciones para los valores de cadena";
1319
+ case CultureIDs.Fr_FR: return "Fonctions pour les valeurs de chaîne";
1320
+ case CultureIDs.Pt_PT: return "Funções para valores de cadeia";
1321
+ default: return "Funzioni per i valori stringa";
1322
+ }
1323
+ }
1324
+ static get FormulaEditor_Instructions() {
1325
+ switch (this._cultureID) {
1326
+ case CultureIDs.De_DE: return "Anweisungen";
1327
+ case CultureIDs.En_US: return "Instructions";
1328
+ case CultureIDs.Es_ES: return "Instrucciones";
1329
+ case CultureIDs.Fr_FR: return "Instructions";
1330
+ case CultureIDs.Pt_PT: return "Instruções";
1331
+ default: return "Istruzioni";
1332
+ }
1333
+ }
1334
+ static get FormulaEditor_Variables() {
1335
+ switch (this._cultureID) {
1336
+ case CultureIDs.De_DE: return "Variablen @";
1337
+ case CultureIDs.En_US: return "Variables @";
1338
+ case CultureIDs.Es_ES: return "Variables @";
1339
+ case CultureIDs.Fr_FR: return "Variables @";
1340
+ case CultureIDs.Pt_PT: return "Variáveis @";
1341
+ default: return "Variabili @";
1342
+ }
1343
+ }
1344
+ static get FormulaEditor_ValidateOK() {
1345
+ switch (this._cultureID) {
1346
+ case CultureIDs.De_DE: return "Erfolgreich validierte Formel";
1347
+ case CultureIDs.En_US: return "Formula successfully validated";
1348
+ case CultureIDs.Es_ES: return "Fórmula validada correctamente";
1349
+ case CultureIDs.Fr_FR: return "La formule est valide";
1350
+ case CultureIDs.Pt_PT: return "Fórmula utilizada com sucesso";
1351
+ default: return "Formula validata con successo";
1352
+ }
1353
+ }
1224
1354
  static get File_Downloading() {
1225
1355
  switch (this._cultureID) {
1226
1356
  case CultureIDs.De_DE: return "Datei wird heruntergeladen";
@@ -1480,6 +1610,16 @@ export class SDKUI_Localizator {
1480
1610
  default: return "Caricamento";
1481
1611
  }
1482
1612
  }
1613
+ static get Login() {
1614
+ switch (this._cultureID) {
1615
+ case CultureIDs.De_DE: return "Anmeldung";
1616
+ case CultureIDs.En_US: return "Login";
1617
+ case CultureIDs.Es_ES: return "Iniciar sesión";
1618
+ case CultureIDs.Fr_FR: return "Connexion";
1619
+ case CultureIDs.Pt_PT: return "Entrar";
1620
+ default: return "Accedi";
1621
+ }
1622
+ }
1483
1623
  static get LogDelete() {
1484
1624
  switch (this._cultureID) {
1485
1625
  case CultureIDs.De_DE: return "Löschen der Logik";
@@ -1731,6 +1871,26 @@ export class SDKUI_Localizator {
1731
1871
  default: return "Metadati selezionati";
1732
1872
  }
1733
1873
  }
1874
+ static get MetadataSystem() {
1875
+ switch (this._cultureID) {
1876
+ case CultureIDs.De_DE: return "System-Methadaten";
1877
+ case CultureIDs.En_US: return "System metadata";
1878
+ case CultureIDs.Es_ES: return "Metadatos de sistema";
1879
+ case CultureIDs.Fr_FR: return "Métadonnées de système";
1880
+ case CultureIDs.Pt_PT: return "Metadados system";
1881
+ default: return "Metadati di sistema";
1882
+ }
1883
+ }
1884
+ static get MetadataUsers() {
1885
+ switch (this._cultureID) {
1886
+ case CultureIDs.De_DE: return "Benutzermetadaten";
1887
+ case CultureIDs.En_US: return "User metadata";
1888
+ case CultureIDs.Es_ES: return "Metadatos de usuario";
1889
+ case CultureIDs.Fr_FR: return "Métadonnées de l'utilisateur";
1890
+ case CultureIDs.Pt_PT: return "Metadados do usuário";
1891
+ default: return "Metadati utente";
1892
+ }
1893
+ }
1734
1894
  static get Message() {
1735
1895
  switch (this._cultureID) {
1736
1896
  case CultureIDs.De_DE: return "Nachricht";
@@ -2588,6 +2748,16 @@ export class SDKUI_Localizator {
2588
2748
  default: return "Salva";
2589
2749
  }
2590
2750
  }
2751
+ static get SaveAndLogin() {
2752
+ switch (this._cultureID) {
2753
+ case CultureIDs.De_DE: return "Speichern und anmelden";
2754
+ case CultureIDs.En_US: return "Save and login";
2755
+ case CultureIDs.Es_ES: return "Guardar e iniciar sesión";
2756
+ case CultureIDs.Fr_FR: return "Enregistrer et se connecter";
2757
+ case CultureIDs.Pt_PT: return "Salvar e entrar";
2758
+ default: return "Salva e accedi";
2759
+ }
2760
+ }
2591
2761
  static get SaveQuestion() {
2592
2762
  switch (this._cultureID) {
2593
2763
  case CultureIDs.De_DE: return "Ihre Änderungen speichern?";
@@ -3218,6 +3388,16 @@ export class SDKUI_Localizator {
3218
3388
  default: return "Valido";
3219
3389
  }
3220
3390
  }
3391
+ static get Validate() {
3392
+ switch (this._cultureID) {
3393
+ case CultureIDs.De_DE: return "Bestätigung";
3394
+ case CultureIDs.En_US: return "Validation";
3395
+ case CultureIDs.Es_ES: return "Validación";
3396
+ case CultureIDs.Fr_FR: return "Validation";
3397
+ case CultureIDs.Pt_PT: return "Validação";
3398
+ default: return "Validazione";
3399
+ }
3400
+ }
3221
3401
  static get Value() {
3222
3402
  switch (this._cultureID) {
3223
3403
  case CultureIDs.De_DE: return "Wert";
@@ -3258,6 +3438,16 @@ export class SDKUI_Localizator {
3258
3438
  default: return "Valore NON presente";
3259
3439
  }
3260
3440
  }
3441
+ static get VariablesSystem() {
3442
+ switch (this._cultureID) {
3443
+ case CultureIDs.De_DE: return "Systemvariablen";
3444
+ case CultureIDs.En_US: return "System variables";
3445
+ case CultureIDs.Es_ES: return "Variables del sistema";
3446
+ case CultureIDs.Fr_FR: return "Variables de système";
3447
+ case CultureIDs.Pt_PT: return "Variáveis do sistema";
3448
+ default: return "Variabili di sistema";
3449
+ }
3450
+ }
3261
3451
  static get Version() {
3262
3452
  switch (this._cultureID) {
3263
3453
  case CultureIDs.De_DE: return "Version";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.11.41",
3
+ "version": "6.11.43",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",