@topconsultnpm/sdkui-react-beta 6.6.0 → 6.6.1

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.
@@ -0,0 +1,37 @@
1
+ import React from 'react';
2
+ import { DataListItemDescriptor, QueryDescriptor, DynamicDataListDescriptor, SearchResultDescriptor, MetadataDescriptor, LayoutModes } from '@topconsultnpm/sdk-ts-beta';
3
+ import { ITMChooserProps, ITMChooserFormProps } from '../../ts';
4
+ interface ITMDynDataListItemChooserProps extends ITMChooserProps {
5
+ /** TID della lista dati da gestire */
6
+ tid: number | undefined;
7
+ /** metadato della lista dati dinamica da gestire */
8
+ md: MetadataDescriptor | undefined;
9
+ /** Contesto di utilizzo */
10
+ layoutMode?: LayoutModes;
11
+ /** Contiene i values selezionati */
12
+ values?: string[];
13
+ /** Visualizza il bordo */
14
+ showBorder?: boolean;
15
+ /** Se presente, visualizza il bottone Pulisci ed esegue */
16
+ hasClear?: boolean;
17
+ /** Se presente, sono i parametri da passare alla query per recuperare il dataSource */
18
+ queryParamsDynDataList?: string[];
19
+ /** Indica quali liste dati dinamiche aggiornare in cascata */
20
+ onCascadeRefreshDynDataLists?: (dynDataListsToBeRefreshed: DynDataListsToBeRefreshed[]) => void;
21
+ }
22
+ export declare const IsParametricQuery: (qd: QueryDescriptor | undefined) => boolean;
23
+ export type DynDataListsToBeRefreshed = {
24
+ mid: number | undefined;
25
+ queryParams: string[];
26
+ midStarter: number | undefined;
27
+ };
28
+ declare const TMDynDataListItemChooser: React.FunctionComponent<ITMDynDataListItemChooserProps>;
29
+ export default TMDynDataListItemChooser;
30
+ interface ITMDynDataListItemChooserFormProps extends ITMChooserFormProps<DataListItemDescriptor> {
31
+ TID: number | undefined;
32
+ MID: number | undefined;
33
+ layoutMode?: LayoutModes;
34
+ dynDL?: DynamicDataListDescriptor;
35
+ searchResult?: SearchResultDescriptor;
36
+ }
37
+ export declare const TMDynDataListItemChooserForm: React.FunctionComponent<ITMDynDataListItemChooserFormProps>;
@@ -0,0 +1,128 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { useEffect, useState } from 'react';
3
+ import { DataColumnTypes, SDK_Localizator, DataListCacheService, SDK_Globals, LayoutModes } from '@topconsultnpm/sdk-ts-beta';
4
+ import { Column } from 'devextreme-react/cjs/data-grid';
5
+ import { IconDetails, IconSearch, getDataColumnName, Globalization, SDKUI_Localizator, searchResultDescriptorToSimpleArray } from '../../helper';
6
+ import { StyledDivHorizontal } from '../base/Styled';
7
+ import { TMExceptionBoxManager } from '../base/TMPopUp';
8
+ import TMSpinner from '../base/TMSpinner';
9
+ import TMSummary from '../editors/TMSummary';
10
+ import TMChooserForm from '../forms/TMChooserForm';
11
+ //TODO: Spostare in SDK QueryEngine
12
+ export const IsParametricQuery = (qd) => {
13
+ if (qd == undefined)
14
+ return false;
15
+ if (qd.where == undefined)
16
+ return false;
17
+ let qp = "{@QueryParam";
18
+ for (const wi of qd.where) {
19
+ if (wi.value1?.includes(qp))
20
+ return true;
21
+ if (wi.value2?.includes(qp))
22
+ return true;
23
+ }
24
+ return false;
25
+ };
26
+ const TMDynDataListItemChooser = ({ tid, md, layoutMode = LayoutModes.None, queryParamsDynDataList, backgroundColor, showBorder = true, elementStyle, allowMultipleSelection, values, isModifiedWhen, label, placeHolder, validationItems = [], onValueChanged, onCascadeRefreshDynDataLists, hasClear }) => {
27
+ const [showChooser, setShowChooser] = useState(false);
28
+ const [dynDl, setDynDl] = useState();
29
+ const [dataSource, setDataSource] = useState();
30
+ useEffect(() => {
31
+ let d = md?.dynDL_Cfgs?.[0];
32
+ if (md?.dynDL_IsMultiCfg == 1) {
33
+ switch (layoutMode) {
34
+ case LayoutModes.None:
35
+ case LayoutModes.Update:
36
+ d = md?.dynDL_Cfgs?.[1];
37
+ break;
38
+ default:
39
+ d = md?.dynDL_Cfgs?.[0];
40
+ break;
41
+ }
42
+ }
43
+ setDynDl(d);
44
+ // if (IsParametricQuery(d?.qd) && (queryParamsDynDataList?.length ?? 0) <= 0) return;
45
+ if (!IsParametricQuery(d?.qd) && !dataSource)
46
+ loadData().then((result) => { setDataSource(result); }).catch((err) => { TMExceptionBoxManager.show({ exception: err }); });
47
+ }, [md]);
48
+ useEffect(() => {
49
+ if (!IsParametricQuery(dynDl?.qd))
50
+ return;
51
+ if ((queryParamsDynDataList?.length ?? 0) <= 0) {
52
+ setDataSource(undefined);
53
+ return;
54
+ }
55
+ loadData().then((result) => {
56
+ setDataSource(result);
57
+ if (values && values.length > 0) {
58
+ let description = result?.dtdResult?.rows?.filter(o => o[dynDl?.selectItemForValue ?? 0] == values?.[0])?.[0]?.[dynDl?.selectItemForDescription ?? 0];
59
+ if (!description)
60
+ onValueChanged?.(undefined);
61
+ }
62
+ }).catch((err) => { TMExceptionBoxManager.show({ exception: err }); });
63
+ }, [queryParamsDynDataList]);
64
+ const loadData = async () => {
65
+ return await SDK_Globals.tmSession?.NewSearchEngine().GetDynDataListValuesAsync(tid, md?.id, layoutMode, queryParamsDynDataList ?? []);
66
+ };
67
+ const renderTemplate = () => {
68
+ return (_jsxs(StyledDivHorizontal, { style: { minWidth: '125px' }, children: [placeHolder && (!values || values.length <= 0) && _jsx("p", { children: placeHolder }), values && values.length > 0 && dynDl && dataSource && _jsxs(StyledDivHorizontal, { children: [_jsx(IconDetails, {}), _jsx("p", { style: { marginLeft: '5px' }, children: dataSource.dtdResult?.rows?.filter(o => o[dynDl.selectItemForValue ?? 0] == values?.[0])?.[0]?.[dynDl.selectItemForDescription ?? 0] })] }), values && values.length > 1 && _jsx("p", { style: { marginLeft: '10px' }, children: `(+${values.length - 1} ${values.length == 2 ? 'altro' : 'altri'})` })] }));
69
+ };
70
+ return (_jsxs(_Fragment, { children: [_jsx(TMSummary, { backgroundColor: backgroundColor, showBorder: showBorder, iconEditButton: _jsx(IconSearch, {}), onEditorClick: () => setShowChooser(true), elementStyle: elementStyle, isModifiedWhen: isModifiedWhen, label: label, template: renderTemplate(), onClearClick: hasClear ? () => { onValueChanged?.([]); } : undefined, validationItems: validationItems }), showChooser &&
71
+ _jsx(TMDynDataListItemChooserForm, { TID: tid, MID: md?.id, dynDL: dynDl, allowMultipleSelection: allowMultipleSelection, searchResult: dataSource, selectedIDs: values, onClose: () => setShowChooser(false), onChoose: (IDs) => {
72
+ onValueChanged?.(IDs);
73
+ if (!dynDl)
74
+ return;
75
+ if (!dynDl.onValueChanged_DynDataListsToBeRefreshed)
76
+ return;
77
+ let row = dataSource?.dtdResult?.rows?.filter(o => o[dynDl.selectItemForValue ?? 0] == IDs?.[0]);
78
+ if (!row)
79
+ return;
80
+ let toBeRefreshed = [];
81
+ for (const t of dynDl.onValueChanged_DynDataListsToBeRefreshed) {
82
+ let mid = t.item1;
83
+ let queryParams = [];
84
+ if ((t.item2 ?? 0) >= 0)
85
+ queryParams.push(row[0][t.item2 ?? 0]);
86
+ if ((t.item3 ?? 0) >= 0)
87
+ queryParams.push(row[0][t.item3 ?? 0]);
88
+ if ((t.item4 ?? 0) >= 0)
89
+ queryParams.push(row[0][t.item4 ?? 0]);
90
+ if ((t.item5 ?? 0) >= 0)
91
+ queryParams.push(row[0][t.item5 ?? 0]);
92
+ toBeRefreshed.push({ mid: mid, queryParams: queryParams, midStarter: md?.id });
93
+ }
94
+ onCascadeRefreshDynDataLists?.(toBeRefreshed);
95
+ } })] }));
96
+ };
97
+ export default TMDynDataListItemChooser;
98
+ export const TMDynDataListItemChooserForm = (props) => {
99
+ // const renderDataGridColumns = [
100
+ // <Column key={0} dataField={"value"} caption={SDKUI_Localizator.Value} />,
101
+ // <Column key={1} dataField={"name"} caption={SDKUI_Localizator.Description} />
102
+ // ]
103
+ const renderDataGridColumns = props.searchResult?.dtdResult?.columns?.map((col, index) => {
104
+ let keyField = getDataColumnName(props.searchResult?.fromTID, col);
105
+ const isVisible = col.extendedProperties?.["Visibility"] != "Hidden";
106
+ const dataType = () => {
107
+ switch (col.dataType) {
108
+ case DataColumnTypes.DateTime: return "datetime";
109
+ case DataColumnTypes.Bool: return "boolean";
110
+ case DataColumnTypes.Number: return "number";
111
+ default: return "string";
112
+ }
113
+ };
114
+ return (_jsx(Column, { dataField: keyField, caption: col.caption, visible: isVisible, dataType: dataType(), format: col.dataType === DataColumnTypes.DateTime ? Globalization.getDateDisplayFormat() : "" }, col.caption + index.toString()));
115
+ });
116
+ const keyValue = props.searchResult ? getDataColumnName(props.searchResult?.fromTID, props.searchResult?.dtdResult?.columns?.[props.dynDL?.selectItemForValue ?? 0]) : '';
117
+ const getItems = async (refreshCache) => {
118
+ if (!props.searchResult)
119
+ return [];
120
+ if (refreshCache)
121
+ DataListCacheService.RemoveAll();
122
+ TMSpinner.show({ description: `${SDKUI_Localizator.Loading} - ${SDK_Localizator.DataList} ...` });
123
+ let result = await SDK_Globals.tmSession?.NewSearchEngine().GetDynDataListValuesAsync(props.TID, props.MID, props.layoutMode, []);
124
+ TMSpinner.hide();
125
+ return result ? searchResultDescriptorToSimpleArray(result) ?? [] : [];
126
+ };
127
+ return (_jsx(TMChooserForm, { title: SDK_Localizator.DataLists, allowMultipleSelection: props.allowMultipleSelection, width: props.width, height: props.height, keyName: keyValue ?? '', showDefaultColumns: false, hasShowId: false, columns: renderDataGridColumns, selectedIDs: props.selectedIDs, cellRenderIcon: () => { return (_jsx(IconDetails, {})); }, dataSource: searchResultDescriptorToSimpleArray(props.searchResult) ?? [], getItems: getItems, onClose: props.onClose, onChoose: (IDs) => props.onChoose?.(IDs) }));
128
+ };
@@ -91,7 +91,7 @@ const TMTextBox = ({ autoFocus, maxLength, precision, scale, validationItems = [
91
91
  if (maxValue)
92
92
  return maxValue;
93
93
  // if (precision && (!scale || scale == 0)) return Number("9".repeat(precision ?? 0));
94
- console.log(Number("9".repeat((precision ?? 0) - (scale ?? 0)) + '.' + "9".repeat(scale ?? 0)));
94
+ // console.log(Number("9".repeat((precision ?? 0) - (scale ?? 0)) + '.' + "9".repeat(scale ?? 0)));
95
95
  if (precision || scale)
96
96
  return Number("9".repeat((precision ?? 0) - (scale ?? 0)) + '.' + "9".repeat(scale ?? 0));
97
97
  return Number(curValue);
@@ -24,6 +24,7 @@ export { default as TMRadioButton } from './editors/TMRadioButton';
24
24
  export { default as TMDateBox } from './editors/TMDateBox';
25
25
  export { editorColorManager } from './editors/TMEditorStyled';
26
26
  export * from './choosers/TMDataListItemChooser';
27
+ export * from './choosers/TMDynDataListItemChooser';
27
28
  export * from './choosers/TMDcmtTypeChooser';
28
29
  export * from './choosers/TMMetadataChooser';
29
30
  export * from './choosers/TMUserChooser';
@@ -28,6 +28,7 @@ export { default as TMDateBox } from './editors/TMDateBox';
28
28
  export { editorColorManager } from './editors/TMEditorStyled';
29
29
  // choosers
30
30
  export * from './choosers/TMDataListItemChooser';
31
+ export * from './choosers/TMDynDataListItemChooser';
31
32
  export * from './choosers/TMDcmtTypeChooser';
32
33
  export * from './choosers/TMMetadataChooser';
33
34
  export * from './choosers/TMUserChooser';
@@ -361,7 +361,7 @@ export const TMDcmtTypeIcon = ({ dtd }) => {
361
361
  export const TMDcmtTypeTooltip = ({ dtd, children }) => {
362
362
  const renderTooltipContent = (dtd) => {
363
363
  return (!dtd ? null
364
- : _jsxs(StyledTooltipContainer, { children: [_jsx(StyledTooltipItem, { children: `${SDK_Globals.useLocalizedName ? dtd.nameLoc : dtd.name} (${dtd.isView ? 'VID' : 'TID'}: ${dtd.id}, RootTID: ${dtd.rootTID ?? 0})` }), dtd.description && _jsx(StyledTooltipItem, { children: dtd.description }), _jsx(StyledTooltipSeparatorItem, {}), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.ArchiveConstraint}: ${LocalizeArchiveConstraints(dtd.archiveConstraint)}` }), dtd.isView && dtd.parametricFilterType != ParametricFilterTypes.None && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.ParametricFilter}: ${LocalizeParametricFilterTypes(dtd.parametricFilterType)}` }), dtd.isView && dtd.withCheckOption && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.ViewWithCheckOption}: ${SDKUI_Localizator.Yes}` }), dtd.isLexProt && dtd.isLexProt > 0 && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.LexProt}: ${SDKUI_Localizator.Yes}` }), dtd.isFreeSearchable && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Search_Free}: ${SDKUI_Localizator.Yes}` }), dtd.templateTID && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Template}: ${dtd.templateTID}` }), dtd.traceTID && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Tracing}: ${SDKUI_Localizator.Yes} - ${dtd.templateTID == TemplateTIDs.Trace_DcmtType ? SDKUI_Localizator.Destination : SDKUI_Localizator.Source} ${dtd.traceTID < 0 ? SDKUI_Localizator.Disabled : ''}` }), dtd.wfAppr && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.WfAppr}: ${SDKUI_Localizator.Yes}` }), dtd.hasBlog && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.BlogCase}: ${SDKUI_Localizator.Yes}` }), dtd.cico && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.CheckIn}: ${SDKUI_Localizator.Yes}` }), dtd.perm ?
364
+ : _jsxs(StyledTooltipContainer, { children: [_jsx(StyledTooltipItem, { children: `${SDK_Globals.useLocalizedName ? dtd.nameLoc : dtd.name} (${dtd.isView ? 'VID' : 'TID'}: ${dtd.id}, RootTID: ${dtd.rootTID ?? 0})` }), dtd.description && _jsx(StyledTooltipItem, { children: dtd.description }), _jsx(StyledTooltipSeparatorItem, {}), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.ArchiveConstraint}: ${LocalizeArchiveConstraints(dtd.archiveConstraint)}` }), dtd.isView && dtd.parametricFilterType != ParametricFilterTypes.None && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.ParametricFilter}: ${LocalizeParametricFilterTypes(dtd.parametricFilterType)}` }), dtd.isView && dtd.withCheckOption && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.ViewWithCheckOption}: ${SDKUI_Localizator.Yes}` }), dtd.isLexProt && dtd.isLexProt > 0 && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.LexProt}: ${SDKUI_Localizator.Yes}` }), dtd.isFreeSearchable && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Search_Free}: ${SDKUI_Localizator.Yes}` }), dtd.templateTID && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Template}: ${dtd.templateTID}` }), dtd.traceTID && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Tracing}: ${SDKUI_Localizator.Yes} - ${dtd.templateTID == TemplateTIDs.Trace_DcmtType ? SDKUI_Localizator.Destination : SDKUI_Localizator.Source} ${dtd.traceTID < 0 ? SDKUI_Localizator.Disabled : ''}` }), dtd.wfAppr && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.WorkflowApproval}: ${SDKUI_Localizator.Yes}` }), dtd.hasBlog && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.BlogCase}: ${SDKUI_Localizator.Yes}` }), dtd.cico && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.CheckIn}: ${SDKUI_Localizator.Yes}` }), dtd.perm ?
365
365
  _jsxs(_Fragment, { children: [_jsx(StyledTooltipItem, { "$color": 'primary', "$marginTop": '5px', children: SDKUI_Localizator.Perms }), _jsx(StyledTooltipSeparatorItem, {}), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Archive}: ${dtd.perm.canArchive}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.View_Metadato}: ${dtd.perm.canView}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Search}: ${dtd.perm.canSearch}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Update}: ${dtd.perm.canUpdate}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.RetrieveFile}: ${dtd.perm.canRetrieveFile}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.AddOrSubstFile}: ${dtd.perm.canSubstFile}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.LogDelete}: ${dtd.perm.canLogicalDelete}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.PhysDelete}: ${dtd.perm.canPhysicalDelete}` }), dtd.hasBlog && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Blog_Read}: ${dtd.perm.canReadBlog}` }), dtd.hasBlog && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Blog_Write}: ${dtd.perm.canWriteBlog}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.CheckIn}: ${dtd.perm.canCICO}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.ChronologyDelete}: ${dtd.perm.canDelChron}` })] })
366
366
  : dtd.ownershipLevel == OwnershipLevels.DirectOwner || dtd.ownershipLevel == OwnershipLevels.IndirectOwner ?
367
367
  _jsxs(_Fragment, { children: [_jsx(StyledTooltipItem, { "$color": 'primary', "$marginTop": '5px', children: SDKUI_Localizator.Perms }), _jsx(StyledTooltipSeparatorItem, {}), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Archive}: ${SDKUI_Localizator.Yes}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.View_Metadato}: ${SDKUI_Localizator.Yes}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Search}: ${SDKUI_Localizator.Yes}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Update}: ${SDKUI_Localizator.Yes}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.RetrieveFile}: ${SDKUI_Localizator.Yes}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.AddOrSubstFile}: ${SDKUI_Localizator.Yes}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.LogDelete}: ${SDKUI_Localizator.Yes}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.PhysDelete}: ${SDKUI_Localizator.Yes}` }), dtd.hasBlog && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Blog_Read}: ${SDKUI_Localizator.Yes}` }), dtd.hasBlog && _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.Blog_Write}: ${SDKUI_Localizator.Yes}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.CheckIn}: ${SDKUI_Localizator.Yes}` }), _jsx(StyledTooltipItem, { children: `${SDKUI_Localizator.ChronologyDelete}: ${SDKUI_Localizator.Yes}` })] })
@@ -75,6 +75,7 @@ export declare class SDKUI_Localizator {
75
75
  static get EmailIsNotValid(): "Dies ist keine gültige e-mail Adresse" | "This is not a valid email address" | "Esta no es una dirección de correo electrónico válida." | "Cette adresse email n'est pas valide" | "Este não é um endereço de e-mail válido" | "Questo non è un indirizzo e-mail valido";
76
76
  static get Endpoint(): "Zugangspunkt" | "Endpoint" | "Punto de acceso" | "Point d'entrée" | "Ponto de acesso" | "Punto di accesso";
77
77
  static get Error(): "Fehler" | "Error" | "Erreur" | "Erro" | "Errore";
78
+ static get Favorites(): "Favoriten" | "Favorites" | "Favoritos" | "Favoris" | "Preferiti";
78
79
  static get FEFormats_ASW_HTML(): "AssoSoftware Style Sheet (HTML)" | "Hoja de estilo AssoSoftware (HTML)" | "Feuille de style AssoSoftware (HTML)" | "Folha de estilo AssoSoftware (HTML)" | "Foglio di stile AssoSoftware (HTML)";
79
80
  static get FEFormats_ASW_PDF(): "AssoSoftware Style Sheet (PDF)" | "Hoja de estiloAssoSoftware (PDF)" | "Feuille de style AssoSoftware (PDF)" | "Folha de estilo AssoSoftware (PDF)" | "Foglio di stile AssoSoftware (PDF)";
80
81
  static get FEFormats_ASWEX_HTML(): "" | "Hoja de estilo extendido AssoSoftware (HTML)" | "Feuille de style étendu AssoSoftware (HTML)" | "Folha de estilo extendido AssoSoftware (HTML)" | "Foglio di stile esteso AssoSoftware (HTML)";
@@ -160,6 +161,7 @@ export declare class SDKUI_Localizator {
160
161
  static get Perms(): "Berechtigungen" | "Permissions" | "Permisos" | "Autorisations" | "Permissão" | "Permessi";
161
162
  static get PhysDelete(): "Physische Stornierung" | "Physical delete" | "Cancelación física" | "Supression" | "Cancelamento física" | "Cancellazione fisica";
162
163
  static get Previous(): "Vorherige" | "Previous" | "Anterior" | "Précédent" | "Precedente";
164
+ static get Recent(): "Kürzlich" | "Recent" | "Recientes" | "Récents" | "Recentes" | "Recenti";
163
165
  static get QueryClear(): "Query bereinigen" | "Clear query" | "Limpiar consulta" | "Efface query" | "Limpar query" | "Pulisci query";
164
166
  static get QueryCount(): "Zählanfragen" | "Query count" | "Contar consulta" | "Compte query" | "Count query" | "Conta query";
165
167
  static get QueryDefine(): "Abfrage definieren" | "Query define" | "Definir consulta" | "Défine query" | "Definir query" | "Definisci query";
@@ -208,7 +210,7 @@ export declare class SDKUI_Localizator {
208
210
  static get View_Metadato(): "Anzeige (Methadaten)" | "Visualization (metadata)" | "Visualización (metadato)" | "Visualisation (métadonnée)" | "Display (metadados)" | "Visualizzazione (metadato)";
209
211
  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";
210
212
  static get Visible(): "Sichtbar" | "Visible" | "Visibles" | "Visibiles" | "Visíveis" | "Visibili";
211
- static get WfAppr(): "Appr. Workflow" | "Workflow approve" | "Apr. workflow" | "Workflow d’approbation" | "Aprovação de workflow" | "Appr. workflow";
213
+ static get WorkflowApproval(): "Workflow-Genehmigung" | "Workflow approval" | "Aprobación de flujo de trabajo" | "Approbation de workflow" | "Aprovação de fluxo de trabalho" | "Approvazione workflow";
212
214
  static get Yes(): "Ja" | "Yes" | "Sí" | "Oui" | "Sim" | "Sì";
213
215
  static get Rows(): "Linien" | "rows" | "líneas" | "lignes" | "linhas" | "righe";
214
216
  static get Start(): "Zum Booten" | "Start" | "Arrancar" | "Pour démarrer" | "Para inicializar" | "Avviare";
@@ -699,6 +699,16 @@ export class SDKUI_Localizator {
699
699
  default: return "Errore";
700
700
  }
701
701
  }
702
+ static get Favorites() {
703
+ switch (this._cultureID) {
704
+ case CultureIDs.De_DE: return "Favoriten";
705
+ case CultureIDs.En_US: return "Favorites";
706
+ case CultureIDs.Es_ES: return "Favoritos";
707
+ case CultureIDs.Fr_FR: return "Favoris";
708
+ case CultureIDs.Pt_PT: return "Favoritos";
709
+ default: return "Preferiti";
710
+ }
711
+ }
702
712
  static get FEFormats_ASW_HTML() {
703
713
  switch (this._cultureID) {
704
714
  case CultureIDs.De_DE: return "AssoSoftware Style Sheet (HTML)";
@@ -1549,6 +1559,16 @@ export class SDKUI_Localizator {
1549
1559
  default: return "Precedente";
1550
1560
  }
1551
1561
  }
1562
+ static get Recent() {
1563
+ switch (this._cultureID) {
1564
+ case CultureIDs.De_DE: return "Kürzlich";
1565
+ case CultureIDs.En_US: return "Recent";
1566
+ case CultureIDs.Es_ES: return "Recientes";
1567
+ case CultureIDs.Fr_FR: return "Récents";
1568
+ case CultureIDs.Pt_PT: return "Recentes";
1569
+ default: return "Recenti";
1570
+ }
1571
+ }
1552
1572
  static get QueryClear() {
1553
1573
  switch (this._cultureID) {
1554
1574
  case CultureIDs.De_DE: return "Query bereinigen";
@@ -2029,14 +2049,14 @@ export class SDKUI_Localizator {
2029
2049
  default: return "Visibili";
2030
2050
  }
2031
2051
  }
2032
- static get WfAppr() {
2052
+ static get WorkflowApproval() {
2033
2053
  switch (this._cultureID) {
2034
- case CultureIDs.De_DE: return "Appr. Workflow";
2035
- case CultureIDs.En_US: return "Workflow approve";
2036
- case CultureIDs.Es_ES: return "Apr. workflow";
2037
- case CultureIDs.Fr_FR: return "Workflow d’approbation";
2038
- case CultureIDs.Pt_PT: return "Aprovação de workflow";
2039
- default: return "Appr. workflow";
2054
+ case CultureIDs.De_DE: return "Workflow-Genehmigung";
2055
+ case CultureIDs.En_US: return "Workflow approval";
2056
+ case CultureIDs.Es_ES: return "Aprobación de flujo de trabajo";
2057
+ case CultureIDs.Fr_FR: return "Approbation de workflow";
2058
+ case CultureIDs.Pt_PT: return "Aprovação de fluxo de trabalho";
2059
+ default: return "Approvazione workflow";
2040
2060
  }
2041
2061
  }
2042
2062
  static get Yes() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.6.0",
3
+ "version": "6.6.1",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -28,7 +28,7 @@
28
28
  "lib"
29
29
  ],
30
30
  "dependencies": {
31
- "@topconsultnpm/sdk-ts-beta": "^6.6.0",
31
+ "@topconsultnpm/sdk-ts-beta": "^6.6.1",
32
32
  "buffer": "^6.0.3",
33
33
  "devextreme": "24.1.6",
34
34
  "devextreme-react": "24.1.6",