@topconsultnpm/sdkui-react 6.21.0-t3 → 6.21.0-t4
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.
- package/lib/components/NewComponents/ContextMenu/TMContextMenu.js +23 -18
- package/lib/components/base/TMPopUp.js +3 -3
- package/lib/components/base/TMTreeView.d.ts +16 -13
- package/lib/components/base/TMTreeView.js +230 -64
- package/lib/components/choosers/TMDistinctValues.js +1 -1
- package/lib/components/editors/TMTextBox.d.ts +1 -0
- package/lib/components/editors/TMTextBox.js +2 -1
- package/lib/components/features/documents/TMDcmtForm.d.ts +2 -0
- package/lib/components/features/documents/TMDcmtForm.js +2 -1
- package/lib/components/features/documents/TMDcmtIcon.d.ts +3 -1
- package/lib/components/features/documents/TMDcmtIcon.js +5 -32
- package/lib/components/features/documents/TMFileUploader.js +1 -1
- package/lib/components/features/documents/TMMasterDetailDcmts.d.ts +2 -0
- package/lib/components/features/documents/TMMasterDetailDcmts.js +54 -14
- package/lib/components/features/documents/TMMergeToPdfForm.d.ts +2 -1
- package/lib/components/features/documents/TMMergeToPdfForm.js +91 -48
- package/lib/components/features/documents/TMRelationViewer.d.ts +12 -10
- package/lib/components/features/documents/TMRelationViewer.js +401 -96
- package/lib/components/features/documents/copyAndMergeDcmtsShared.d.ts +4 -3
- package/lib/components/features/documents/copyAndMergeDcmtsShared.js +47 -23
- package/lib/components/features/documents/mergePdfUtils.d.ts +52 -0
- package/lib/components/features/documents/mergePdfUtils.js +268 -0
- package/lib/components/features/search/TMSearch.d.ts +2 -0
- package/lib/components/features/search/TMSearch.js +2 -2
- package/lib/components/features/search/TMSearchResult.d.ts +2 -0
- package/lib/components/features/search/TMSearchResult.js +58 -9
- package/lib/components/viewers/TMTidViewer.js +14 -2
- package/lib/helper/Enum_Localizator.js +1 -0
- package/lib/helper/SDKUI_Globals.d.ts +1 -0
- package/lib/helper/SDKUI_Globals.js +1 -0
- package/lib/helper/SDKUI_Localizator.d.ts +34 -0
- package/lib/helper/SDKUI_Localizator.js +352 -12
- package/lib/helper/TMUtils.d.ts +33 -1
- package/lib/helper/TMUtils.js +104 -1
- package/lib/helper/certificateImportHelper.d.ts +43 -0
- package/lib/helper/certificateImportHelper.js +403 -0
- package/lib/helper/helpers.js +9 -0
- package/lib/helper/index.d.ts +1 -0
- package/lib/helper/index.js +1 -0
- package/lib/hooks/useDcmtOperations.d.ts +2 -1
- package/lib/hooks/useDcmtOperations.js +10 -2
- package/lib/hooks/useDocumentOperations.d.ts +2 -0
- package/lib/hooks/useDocumentOperations.js +28 -6
- package/lib/services/platform_services.d.ts +1 -1
- package/lib/ts/types.d.ts +2 -1
- package/lib/ts/types.js +1 -0
- package/package.json +3 -2
|
@@ -1080,6 +1080,16 @@ export class SDKUI_Localizator {
|
|
|
1080
1080
|
default: return "Chiudi attività";
|
|
1081
1081
|
}
|
|
1082
1082
|
}
|
|
1083
|
+
static get Collapse() {
|
|
1084
|
+
switch (this._cultureID) {
|
|
1085
|
+
case CultureIDs.De_DE: return "Reduzieren";
|
|
1086
|
+
case CultureIDs.En_US: return "Collapse";
|
|
1087
|
+
case CultureIDs.Es_ES: return "Contraer";
|
|
1088
|
+
case CultureIDs.Fr_FR: return "Réduire";
|
|
1089
|
+
case CultureIDs.Pt_PT: return "Recolher";
|
|
1090
|
+
default: return "Comprimi";
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1083
1093
|
static get CollapseAll() {
|
|
1084
1094
|
switch (this._cultureID) {
|
|
1085
1095
|
case CultureIDs.De_DE: return "Alle reduzieren";
|
|
@@ -1090,6 +1100,16 @@ export class SDKUI_Localizator {
|
|
|
1090
1100
|
default: return "Comprimi tutto";
|
|
1091
1101
|
}
|
|
1092
1102
|
}
|
|
1103
|
+
static get CollapseTree() {
|
|
1104
|
+
switch (this._cultureID) {
|
|
1105
|
+
case CultureIDs.De_DE: return "Gesamten Baum reduzieren";
|
|
1106
|
+
case CultureIDs.En_US: return "Collapse entire tree";
|
|
1107
|
+
case CultureIDs.Es_ES: return "Contraer todo el árbol";
|
|
1108
|
+
case CultureIDs.Fr_FR: return "Réduire tout l'arbre";
|
|
1109
|
+
case CultureIDs.Pt_PT: return "Recolher toda a árvore";
|
|
1110
|
+
default: return "Comprimi tutto l'albero";
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1093
1113
|
static get Columns_All_Hide() {
|
|
1094
1114
|
switch (this._cultureID) {
|
|
1095
1115
|
case CultureIDs.De_DE: return "Alle Spalten ausblenden";
|
|
@@ -1969,6 +1989,16 @@ export class SDKUI_Localizator {
|
|
|
1969
1989
|
default: return "Disabilitato";
|
|
1970
1990
|
}
|
|
1971
1991
|
}
|
|
1992
|
+
static get DisableMultipleSelection() {
|
|
1993
|
+
switch (this._cultureID) {
|
|
1994
|
+
case CultureIDs.De_DE: return "Mehrfachauswahl deaktivieren";
|
|
1995
|
+
case CultureIDs.En_US: return "Disable multiple selection";
|
|
1996
|
+
case CultureIDs.Es_ES: return "Deshabilitar selección múltiple";
|
|
1997
|
+
case CultureIDs.Fr_FR: return "Désactiver la sélection multiple";
|
|
1998
|
+
case CultureIDs.Pt_PT: return "Desativar seleção múltipla";
|
|
1999
|
+
default: return "Disabilita selezione multipla";
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
1972
2002
|
static get DisplayFormat() {
|
|
1973
2003
|
switch (this._cultureID) {
|
|
1974
2004
|
case CultureIDs.De_DE: return "Anzeigeformat";
|
|
@@ -1979,6 +2009,36 @@ export class SDKUI_Localizator {
|
|
|
1979
2009
|
default: return "Formato di visualizzazione";
|
|
1980
2010
|
}
|
|
1981
2011
|
}
|
|
2012
|
+
static get DisplayNameMethod() {
|
|
2013
|
+
switch (this._cultureID) {
|
|
2014
|
+
case CultureIDs.De_DE: return "Anzeigemethode";
|
|
2015
|
+
case CultureIDs.En_US: return "Display Method";
|
|
2016
|
+
case CultureIDs.Es_ES: return "Método de visualización";
|
|
2017
|
+
case CultureIDs.Fr_FR: return "Méthode d'affichage";
|
|
2018
|
+
case CultureIDs.Pt_PT: return "Método de exibição";
|
|
2019
|
+
default: return "Metodo di visualizzazione";
|
|
2020
|
+
}
|
|
2021
|
+
}
|
|
2022
|
+
static get DisplayNameMethod_Abstract() {
|
|
2023
|
+
switch (this._cultureID) {
|
|
2024
|
+
case CultureIDs.De_DE: return "Dokumentbeschreibung (SYS_Abstract)";
|
|
2025
|
+
case CultureIDs.En_US: return "Document description (SYS_Abstract)";
|
|
2026
|
+
case CultureIDs.Es_ES: return "Descripción del documento (SYS_Abstract)";
|
|
2027
|
+
case CultureIDs.Fr_FR: return "Description du document (SYS_Abstract)";
|
|
2028
|
+
case CultureIDs.Pt_PT: return "Descrição do documento (SYS_Abstract)";
|
|
2029
|
+
default: return "Descrizione documento (SYS_Abstract)";
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
static get DisplayNameMethod_Top5() {
|
|
2033
|
+
switch (this._cultureID) {
|
|
2034
|
+
case CultureIDs.De_DE: return "Erste 5 Metadaten";
|
|
2035
|
+
case CultureIDs.En_US: return "First 5 metadata";
|
|
2036
|
+
case CultureIDs.Es_ES: return "Primeros 5 metadatos";
|
|
2037
|
+
case CultureIDs.Fr_FR: return "5 premières métadonnées";
|
|
2038
|
+
case CultureIDs.Pt_PT: return "Primeiros 5 metadados";
|
|
2039
|
+
default: return "Primi 5 metadati";
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
1982
2042
|
static get DistinctValues() {
|
|
1983
2043
|
switch (this._cultureID) {
|
|
1984
2044
|
case CultureIDs.De_DE: return "Unterschiedliche Werte";
|
|
@@ -2059,6 +2119,46 @@ export class SDKUI_Localizator {
|
|
|
2059
2119
|
default: return "Documenti";
|
|
2060
2120
|
}
|
|
2061
2121
|
}
|
|
2122
|
+
static get DocumentsNotAvailableOrNoCorrelations() {
|
|
2123
|
+
switch (this._cultureID) {
|
|
2124
|
+
case CultureIDs.De_DE: return "Die angeforderten Dokumente sind nicht mehr verfügbar oder haben keine Korrelationen";
|
|
2125
|
+
case CultureIDs.En_US: return "The requested documents are no longer available or have no correlations";
|
|
2126
|
+
case CultureIDs.Es_ES: return "Los documentos solicitados ya no están disponibles o no tienen correlaciones";
|
|
2127
|
+
case CultureIDs.Fr_FR: return "Les documents demandés ne sont plus disponibles ou n'ont pas de corrélations";
|
|
2128
|
+
case CultureIDs.Pt_PT: return "Os documentos solicitados não estão mais disponíveis ou não têm correlações";
|
|
2129
|
+
default: return "I documenti richiesti non sono più disponibili o non hanno correlazioni";
|
|
2130
|
+
}
|
|
2131
|
+
}
|
|
2132
|
+
static get NoMasterDocumentsAvailable() {
|
|
2133
|
+
switch (this._cultureID) {
|
|
2134
|
+
case CultureIDs.De_DE: return "Keine Master-Dokumente für die ausgewählte Korrelation verfügbar";
|
|
2135
|
+
case CultureIDs.En_US: return "No master documents available for the selected correlation";
|
|
2136
|
+
case CultureIDs.Es_ES: return "Ningún documento maestro disponible para la correlación seleccionada";
|
|
2137
|
+
case CultureIDs.Fr_FR: return "Aucun document maître disponible pour la corrélation sélectionnée";
|
|
2138
|
+
case CultureIDs.Pt_PT: return "Nenhum documento mestre disponível para a correlação selecionada";
|
|
2139
|
+
default: return "Nessun documento master disponibile per la correlazione selezionata";
|
|
2140
|
+
}
|
|
2141
|
+
}
|
|
2142
|
+
static get NoRelatedDocumentsToDisplay() {
|
|
2143
|
+
switch (this._cultureID) {
|
|
2144
|
+
case CultureIDs.De_DE: return "Keine verknüpften Dokumente zum Anzeigen";
|
|
2145
|
+
case CultureIDs.En_US: return "No related documents to display";
|
|
2146
|
+
case CultureIDs.Es_ES: return "No hay documentos relacionados para mostrar";
|
|
2147
|
+
case CultureIDs.Fr_FR: return "Aucun document lié à afficher";
|
|
2148
|
+
case CultureIDs.Pt_PT: return "Nenhum documento relacionado para exibir";
|
|
2149
|
+
default: return "Nessun documento correlato da visualizzare";
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
static get NoRelationsAvailable() {
|
|
2153
|
+
switch (this._cultureID) {
|
|
2154
|
+
case CultureIDs.De_DE: return "Keine Beziehung verfügbar";
|
|
2155
|
+
case CultureIDs.En_US: return "No relations available";
|
|
2156
|
+
case CultureIDs.Es_ES: return "Ninguna relación disponible";
|
|
2157
|
+
case CultureIDs.Fr_FR: return "Aucune relation disponible";
|
|
2158
|
+
case CultureIDs.Pt_PT: return "Nenhuma relação disponível";
|
|
2159
|
+
default: return "Nessuna relazione disponibile";
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
2062
2162
|
static get DocumentOperations() {
|
|
2063
2163
|
switch (this._cultureID) {
|
|
2064
2164
|
case CultureIDs.De_DE: return "Dokumentenoperationen";
|
|
@@ -2431,6 +2531,16 @@ export class SDKUI_Localizator {
|
|
|
2431
2531
|
default: return "La data di scadenza è imminente (ovvero fissata per domani)";
|
|
2432
2532
|
}
|
|
2433
2533
|
}
|
|
2534
|
+
static get EnableMultipleSelection() {
|
|
2535
|
+
switch (this._cultureID) {
|
|
2536
|
+
case CultureIDs.De_DE: return "Mehrfachauswahl aktivieren";
|
|
2537
|
+
case CultureIDs.En_US: return "Enable multiple selection";
|
|
2538
|
+
case CultureIDs.Es_ES: return "Habilitar selección múltiple";
|
|
2539
|
+
case CultureIDs.Fr_FR: return "Activer la sélection multiple";
|
|
2540
|
+
case CultureIDs.Pt_PT: return "Ativar seleção múltipla";
|
|
2541
|
+
default: return "Abilita selezione multipla";
|
|
2542
|
+
}
|
|
2543
|
+
}
|
|
2434
2544
|
static get Endpoint() {
|
|
2435
2545
|
switch (this._cultureID) {
|
|
2436
2546
|
case CultureIDs.De_DE: return "Zugangspunkt";
|
|
@@ -2637,6 +2747,116 @@ export class SDKUI_Localizator {
|
|
|
2637
2747
|
default: return "Espandi tutto";
|
|
2638
2748
|
}
|
|
2639
2749
|
}
|
|
2750
|
+
static get ExpandLevels() {
|
|
2751
|
+
switch (this._cultureID) {
|
|
2752
|
+
case CultureIDs.De_DE: return "Erweitern ({{0}} Ebenen)";
|
|
2753
|
+
case CultureIDs.En_US: return "Expand ({{0}} levels)";
|
|
2754
|
+
case CultureIDs.Es_ES: return "Expandir ({{0}} niveles)";
|
|
2755
|
+
case CultureIDs.Fr_FR: return "Développer ({{0}} niveaux)";
|
|
2756
|
+
case CultureIDs.Pt_PT: return "Expandir ({{0}} níveis)";
|
|
2757
|
+
default: return "Espandi ({{0}} livelli)";
|
|
2758
|
+
}
|
|
2759
|
+
}
|
|
2760
|
+
static get ExpandAllLevels() {
|
|
2761
|
+
switch (this._cultureID) {
|
|
2762
|
+
case CultureIDs.De_DE: return "Erweitern (alle Ebenen)";
|
|
2763
|
+
case CultureIDs.En_US: return "Expand (all levels)";
|
|
2764
|
+
case CultureIDs.Es_ES: return "Expandir (todos los niveles)";
|
|
2765
|
+
case CultureIDs.Fr_FR: return "Développer (tous les niveaux)";
|
|
2766
|
+
case CultureIDs.Pt_PT: return "Expandir (todos os níveis)";
|
|
2767
|
+
default: return "Espandi (tutti i livelli)";
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2770
|
+
static get CtrlClickToReloadAll() {
|
|
2771
|
+
switch (this._cultureID) {
|
|
2772
|
+
case CultureIDs.De_DE: return "Strg+Klick = alles neu laden";
|
|
2773
|
+
case CultureIDs.En_US: return "Ctrl+click = reload all";
|
|
2774
|
+
case CultureIDs.Es_ES: return "Ctrl+clic = recargar todo";
|
|
2775
|
+
case CultureIDs.Fr_FR: return "Ctrl+clic = tout recharger";
|
|
2776
|
+
case CultureIDs.Pt_PT: return "Ctrl+clique = recarregar tudo";
|
|
2777
|
+
default: return "Ctrl+click = ricarica tutto";
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
static get ExpandComplete() {
|
|
2781
|
+
switch (this._cultureID) {
|
|
2782
|
+
case CultureIDs.De_DE: return "Erweiterung abgeschlossen";
|
|
2783
|
+
case CultureIDs.En_US: return "Expand complete";
|
|
2784
|
+
case CultureIDs.Es_ES: return "Expansión completada";
|
|
2785
|
+
case CultureIDs.Fr_FR: return "Expansion terminée";
|
|
2786
|
+
case CultureIDs.Pt_PT: return "Expansão concluída";
|
|
2787
|
+
default: return "Espansione completata";
|
|
2788
|
+
}
|
|
2789
|
+
}
|
|
2790
|
+
static get ExpandToLevel() {
|
|
2791
|
+
switch (this._cultureID) {
|
|
2792
|
+
case CultureIDs.De_DE: return "Erweitern bis Ebene {{0}}";
|
|
2793
|
+
case CultureIDs.En_US: return "Expand to level {{0}}";
|
|
2794
|
+
case CultureIDs.Es_ES: return "Expandir hasta el nivel {{0}}";
|
|
2795
|
+
case CultureIDs.Fr_FR: return "Développer jusqu'au niveau {{0}}";
|
|
2796
|
+
case CultureIDs.Pt_PT: return "Expandir até o nível {{0}}";
|
|
2797
|
+
default: return "Espandi fino al livello {{0}}";
|
|
2798
|
+
}
|
|
2799
|
+
}
|
|
2800
|
+
static get ExpansionLevel() {
|
|
2801
|
+
switch (this._cultureID) {
|
|
2802
|
+
case CultureIDs.De_DE: return "Erweiterungsebene";
|
|
2803
|
+
case CultureIDs.En_US: return "Expansion level";
|
|
2804
|
+
case CultureIDs.Es_ES: return "Nivel de expansión";
|
|
2805
|
+
case CultureIDs.Fr_FR: return "Niveau d'expansion";
|
|
2806
|
+
case CultureIDs.Pt_PT: return "Nível de expansão";
|
|
2807
|
+
default: return "Livello di espansione";
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2810
|
+
static get ExpansionLevelSettings() {
|
|
2811
|
+
switch (this._cultureID) {
|
|
2812
|
+
case CultureIDs.De_DE: return "Erweiterungsebene Einstellungen";
|
|
2813
|
+
case CultureIDs.En_US: return "Expansion level settings";
|
|
2814
|
+
case CultureIDs.Es_ES: return "Configuración del nivel de expansión";
|
|
2815
|
+
case CultureIDs.Fr_FR: return "Paramètres du niveau d'expansion";
|
|
2816
|
+
case CultureIDs.Pt_PT: return "Configurações do nível de expansão";
|
|
2817
|
+
default: return "Impostazioni livello espansione";
|
|
2818
|
+
}
|
|
2819
|
+
}
|
|
2820
|
+
static get ExpansionSettings() {
|
|
2821
|
+
switch (this._cultureID) {
|
|
2822
|
+
case CultureIDs.De_DE: return "Erweiterungseinstellungen";
|
|
2823
|
+
case CultureIDs.En_US: return "Expansion settings";
|
|
2824
|
+
case CultureIDs.Es_ES: return "Configuración de expansión";
|
|
2825
|
+
case CultureIDs.Fr_FR: return "Paramètres d'expansion";
|
|
2826
|
+
case CultureIDs.Pt_PT: return "Configurações de expansão";
|
|
2827
|
+
default: return "Impostazioni espansione";
|
|
2828
|
+
}
|
|
2829
|
+
}
|
|
2830
|
+
static get ExpansionInProgress() {
|
|
2831
|
+
switch (this._cultureID) {
|
|
2832
|
+
case CultureIDs.De_DE: return "Erweiterung läuft...";
|
|
2833
|
+
case CultureIDs.En_US: return "Expansion in progress...";
|
|
2834
|
+
case CultureIDs.Es_ES: return "Expansión en curso...";
|
|
2835
|
+
case CultureIDs.Fr_FR: return "Expansion en cours...";
|
|
2836
|
+
case CultureIDs.Pt_PT: return "Expansão em andamento...";
|
|
2837
|
+
default: return "Espansione in corso...";
|
|
2838
|
+
}
|
|
2839
|
+
}
|
|
2840
|
+
static get FullReloadInProgress() {
|
|
2841
|
+
switch (this._cultureID) {
|
|
2842
|
+
case CultureIDs.De_DE: return "Vollständiges Neuladen läuft...";
|
|
2843
|
+
case CultureIDs.En_US: return "Full reload in progress...";
|
|
2844
|
+
case CultureIDs.Es_ES: return "Recarga completa en curso...";
|
|
2845
|
+
case CultureIDs.Fr_FR: return "Rechargement complet en cours...";
|
|
2846
|
+
case CultureIDs.Pt_PT: return "Recarregamento completo em andamento...";
|
|
2847
|
+
default: return "Ricaricamento completo in corso...";
|
|
2848
|
+
}
|
|
2849
|
+
}
|
|
2850
|
+
static get ExpansionProgress() {
|
|
2851
|
+
switch (this._cultureID) {
|
|
2852
|
+
case CultureIDs.De_DE: return "Erweiterung {{0}} von {{1}}...";
|
|
2853
|
+
case CultureIDs.En_US: return "Expansion {{0}} of {{1}}...";
|
|
2854
|
+
case CultureIDs.Es_ES: return "Expansión {{0}} de {{1}}...";
|
|
2855
|
+
case CultureIDs.Fr_FR: return "Expansion {{0}} sur {{1}}...";
|
|
2856
|
+
case CultureIDs.Pt_PT: return "Expansão {{0}} de {{1}}...";
|
|
2857
|
+
default: return "Espansione {{0}} di {{1}}...";
|
|
2858
|
+
}
|
|
2859
|
+
}
|
|
2640
2860
|
static get Expected() {
|
|
2641
2861
|
switch (this._cultureID) {
|
|
2642
2862
|
case CultureIDs.De_DE: return "Erwartet";
|
|
@@ -2869,22 +3089,22 @@ export class SDKUI_Localizator {
|
|
|
2869
3089
|
}
|
|
2870
3090
|
static get FileNotPdfWillBeExcluded() {
|
|
2871
3091
|
switch (this._cultureID) {
|
|
2872
|
-
case CultureIDs.De_DE: return "Ein Dokument
|
|
2873
|
-
case CultureIDs.En_US: return "One document
|
|
2874
|
-
case CultureIDs.Es_ES: return "Un documento no
|
|
2875
|
-
case CultureIDs.Fr_FR: return "Un document n'
|
|
2876
|
-
case CultureIDs.Pt_PT: return "Um documento não
|
|
2877
|
-
default: return "Un documento non
|
|
3092
|
+
case CultureIDs.De_DE: return "Ein Dokument {{0}} hat kein unterstütztes Format und wird von der Zusammenführung ausgeschlossen.";
|
|
3093
|
+
case CultureIDs.En_US: return "One document {{0}} does not have a supported format and will be excluded from the merge.";
|
|
3094
|
+
case CultureIDs.Es_ES: return "Un documento {{0}} no tiene un formato compatible y será excluido de la fusión.";
|
|
3095
|
+
case CultureIDs.Fr_FR: return "Un document {{0}} n'a pas un format pris en charge et sera exclu de la fusion.";
|
|
3096
|
+
case CultureIDs.Pt_PT: return "Um documento {{0}} não possui um formato suportado e será excluído da fusão.";
|
|
3097
|
+
default: return "Un documento {{0}} non ha un formato supportato e verrà escluso dall'unione.";
|
|
2878
3098
|
}
|
|
2879
3099
|
}
|
|
2880
3100
|
static get FilesNotPdfWillBeExcluded() {
|
|
2881
3101
|
switch (this._cultureID) {
|
|
2882
|
-
case CultureIDs.De_DE: return "{{0}} Dokumente
|
|
2883
|
-
case CultureIDs.En_US: return "{{0}} documents
|
|
2884
|
-
case CultureIDs.Es_ES: return "{{0}} documentos no
|
|
2885
|
-
case CultureIDs.Fr_FR: return "{{0}} documents
|
|
2886
|
-
case CultureIDs.Pt_PT: return "{{0}} documentos não
|
|
2887
|
-
default: return "{{0}} documenti non
|
|
3102
|
+
case CultureIDs.De_DE: return "{{0}} Dokumente {{1}} haben kein unterstütztes Format und werden von der Zusammenführung ausgeschlossen.";
|
|
3103
|
+
case CultureIDs.En_US: return "{{0}} documents {{1}} do not have a supported format and will be excluded from the merge.";
|
|
3104
|
+
case CultureIDs.Es_ES: return "{{0}} documentos {{1}} no tienen un formato compatible y serán excluidos de la fusión.";
|
|
3105
|
+
case CultureIDs.Fr_FR: return "{{0}} documents {{1}} n'ont pas un format pris en charge et seront exclus de la fusion.";
|
|
3106
|
+
case CultureIDs.Pt_PT: return "{{0}} documentos {{1}} não possuem um formato suportado e serão excluídos da fusão.";
|
|
3107
|
+
default: return "{{0}} documenti {{1}} non hanno un formato supportato e verranno esclusi dall'unione.";
|
|
2888
3108
|
}
|
|
2889
3109
|
}
|
|
2890
3110
|
static get FileUpload() {
|
|
@@ -3738,6 +3958,16 @@ export class SDKUI_Localizator {
|
|
|
3738
3958
|
default: return "Nascondi tutti";
|
|
3739
3959
|
}
|
|
3740
3960
|
}
|
|
3961
|
+
static get HideDetailsWithZeroDocs() {
|
|
3962
|
+
switch (this._cultureID) {
|
|
3963
|
+
case CultureIDs.De_DE: return "Details mit 0 Dokumenten ausblenden";
|
|
3964
|
+
case CultureIDs.En_US: return "Hide details with 0 documents";
|
|
3965
|
+
case CultureIDs.Es_ES: return "Ocultar detalles con 0 documentos";
|
|
3966
|
+
case CultureIDs.Fr_FR: return "Masquer les détails avec 0 documents";
|
|
3967
|
+
case CultureIDs.Pt_PT: return "Ocultar detalhes com 0 documentos";
|
|
3968
|
+
default: return "Nascondi dettagli con 0 documenti";
|
|
3969
|
+
}
|
|
3970
|
+
}
|
|
3741
3971
|
static get HideFloatingBar() {
|
|
3742
3972
|
switch (this._cultureID) {
|
|
3743
3973
|
case CultureIDs.De_DE: return "Floating-Leiste ausblenden";
|
|
@@ -3868,6 +4098,16 @@ export class SDKUI_Localizator {
|
|
|
3868
4098
|
default: return "Importa";
|
|
3869
4099
|
}
|
|
3870
4100
|
}
|
|
4101
|
+
static get ImportCertificates() {
|
|
4102
|
+
switch (this._cultureID) {
|
|
4103
|
+
case CultureIDs.De_DE: return "Zertifikate importieren";
|
|
4104
|
+
case CultureIDs.En_US: return "Import certificates";
|
|
4105
|
+
case CultureIDs.Es_ES: return "Importar certificados";
|
|
4106
|
+
case CultureIDs.Fr_FR: return "Importer les certificats";
|
|
4107
|
+
case CultureIDs.Pt_PT: return "Importar certificados";
|
|
4108
|
+
default: return "Importa certificati";
|
|
4109
|
+
}
|
|
4110
|
+
}
|
|
3871
4111
|
static get ImportExport() {
|
|
3872
4112
|
switch (this._cultureID) {
|
|
3873
4113
|
case CultureIDs.De_DE: return "Importieren/Exportieren";
|
|
@@ -4118,6 +4358,16 @@ export class SDKUI_Localizator {
|
|
|
4118
4358
|
default: return "Visualizza la lista";
|
|
4119
4359
|
}
|
|
4120
4360
|
}
|
|
4361
|
+
static get Levels() {
|
|
4362
|
+
switch (this._cultureID) {
|
|
4363
|
+
case CultureIDs.De_DE: return "Ebenen";
|
|
4364
|
+
case CultureIDs.En_US: return "Levels";
|
|
4365
|
+
case CultureIDs.Es_ES: return "Niveles";
|
|
4366
|
+
case CultureIDs.Fr_FR: return "Niveaux";
|
|
4367
|
+
case CultureIDs.Pt_PT: return "Níveis";
|
|
4368
|
+
default: return "Livelli";
|
|
4369
|
+
}
|
|
4370
|
+
}
|
|
4121
4371
|
static get Loading() {
|
|
4122
4372
|
switch (this._cultureID) {
|
|
4123
4373
|
case CultureIDs.De_DE: return "Laden";
|
|
@@ -4128,6 +4378,26 @@ export class SDKUI_Localizator {
|
|
|
4128
4378
|
default: return "Caricamento";
|
|
4129
4379
|
}
|
|
4130
4380
|
}
|
|
4381
|
+
static get LoadingDetailDocuments() {
|
|
4382
|
+
switch (this._cultureID) {
|
|
4383
|
+
case CultureIDs.De_DE: return "Laden der Detaildokumente";
|
|
4384
|
+
case CultureIDs.En_US: return "Loading detail documents";
|
|
4385
|
+
case CultureIDs.Es_ES: return "Cargando documentos de detalle";
|
|
4386
|
+
case CultureIDs.Fr_FR: return "Chargement des documents de détail";
|
|
4387
|
+
case CultureIDs.Pt_PT: return "Carregando documentos de detalhe";
|
|
4388
|
+
default: return "Caricamento documenti dettaglio";
|
|
4389
|
+
}
|
|
4390
|
+
}
|
|
4391
|
+
static get LoadingMasterDocuments() {
|
|
4392
|
+
switch (this._cultureID) {
|
|
4393
|
+
case CultureIDs.De_DE: return "Laden der Masterdokumente";
|
|
4394
|
+
case CultureIDs.En_US: return "Loading master documents";
|
|
4395
|
+
case CultureIDs.Es_ES: return "Cargando documentos maestros";
|
|
4396
|
+
case CultureIDs.Fr_FR: return "Chargement des documents maîtres";
|
|
4397
|
+
case CultureIDs.Pt_PT: return "Carregando documentos mestres";
|
|
4398
|
+
default: return "Caricamento documenti master";
|
|
4399
|
+
}
|
|
4400
|
+
}
|
|
4131
4401
|
static get Localization() {
|
|
4132
4402
|
switch (this._cultureID) {
|
|
4133
4403
|
case CultureIDs.De_DE: return "Lokalisierung";
|
|
@@ -4168,6 +4438,56 @@ export class SDKUI_Localizator {
|
|
|
4168
4438
|
default: return "Accedi";
|
|
4169
4439
|
}
|
|
4170
4440
|
}
|
|
4441
|
+
static get LoginAuth_ImplicitPINWithOTP() {
|
|
4442
|
+
switch (this._cultureID) {
|
|
4443
|
+
case CultureIDs.De_DE: return "Implicit PIN mit OTP (4)";
|
|
4444
|
+
case CultureIDs.En_US: return "Implicit PIN with OTP (4)";
|
|
4445
|
+
case CultureIDs.Es_ES: return "PIN implícito con OTP (4)";
|
|
4446
|
+
case CultureIDs.Fr_FR: return "PIN implicite avec OTP (4)";
|
|
4447
|
+
case CultureIDs.Pt_PT: return "PIN implícito com OTP (4)";
|
|
4448
|
+
default: return "Implicit PIN con OTP (4)";
|
|
4449
|
+
}
|
|
4450
|
+
}
|
|
4451
|
+
static get LoginAuth_ImplicitPINWithoutOTP() {
|
|
4452
|
+
switch (this._cultureID) {
|
|
4453
|
+
case CultureIDs.De_DE: return "Implicit PIN ohne OTP (5)";
|
|
4454
|
+
case CultureIDs.En_US: return "Implicit PIN without OTP (5)";
|
|
4455
|
+
case CultureIDs.Es_ES: return "PIN implícito sin OTP (5)";
|
|
4456
|
+
case CultureIDs.Fr_FR: return "PIN implicite sans OTP (5)";
|
|
4457
|
+
case CultureIDs.Pt_PT: return "PIN implícito sem OTP (5)";
|
|
4458
|
+
default: return "Implicit PIN senza OTP (5)";
|
|
4459
|
+
}
|
|
4460
|
+
}
|
|
4461
|
+
static get LoginAuth_PINWithOTP() {
|
|
4462
|
+
switch (this._cultureID) {
|
|
4463
|
+
case CultureIDs.De_DE: return "PIN mit OTP (2)";
|
|
4464
|
+
case CultureIDs.En_US: return "PIN with OTP (2)";
|
|
4465
|
+
case CultureIDs.Es_ES: return "PIN con OTP (2)";
|
|
4466
|
+
case CultureIDs.Fr_FR: return "PIN avec OTP (2)";
|
|
4467
|
+
case CultureIDs.Pt_PT: return "PIN com OTP (2)";
|
|
4468
|
+
default: return "PIN con OTP (2)";
|
|
4469
|
+
}
|
|
4470
|
+
}
|
|
4471
|
+
static get LoginAuth_PINWithoutOTP() {
|
|
4472
|
+
switch (this._cultureID) {
|
|
4473
|
+
case CultureIDs.De_DE: return "PIN ohne OTP (0)";
|
|
4474
|
+
case CultureIDs.En_US: return "PIN without OTP (0)";
|
|
4475
|
+
case CultureIDs.Es_ES: return "PIN sin OTP (0)";
|
|
4476
|
+
case CultureIDs.Fr_FR: return "PIN sans OTP (0)";
|
|
4477
|
+
case CultureIDs.Pt_PT: return "PIN sem OTP (0)";
|
|
4478
|
+
default: return "PIN senza OTP (0)";
|
|
4479
|
+
}
|
|
4480
|
+
}
|
|
4481
|
+
static get LoginAuth_Unknown() {
|
|
4482
|
+
switch (this._cultureID) {
|
|
4483
|
+
case CultureIDs.De_DE: return "Unbekannt";
|
|
4484
|
+
case CultureIDs.En_US: return "Unknown";
|
|
4485
|
+
case CultureIDs.Es_ES: return "Desconocido";
|
|
4486
|
+
case CultureIDs.Fr_FR: return "Inconnu";
|
|
4487
|
+
case CultureIDs.Pt_PT: return "Desconhecido";
|
|
4488
|
+
default: return "Sconosciuto";
|
|
4489
|
+
}
|
|
4490
|
+
}
|
|
4171
4491
|
static get LogDelete() {
|
|
4172
4492
|
switch (this._cultureID) {
|
|
4173
4493
|
case CultureIDs.De_DE: return "Löschen der Logik";
|
|
@@ -6809,6 +7129,16 @@ export class SDKUI_Localizator {
|
|
|
6809
7129
|
default: return "Seleziona un'operazione tra";
|
|
6810
7130
|
}
|
|
6811
7131
|
}
|
|
7132
|
+
static get SelectDocumentToViewSearchResults() {
|
|
7133
|
+
switch (this._cultureID) {
|
|
7134
|
+
case CultureIDs.De_DE: return "Wählen Sie ein Dokument aus, um die Details anzuzeigen";
|
|
7135
|
+
case CultureIDs.En_US: return "Select a document to view details";
|
|
7136
|
+
case CultureIDs.Es_ES: return "Selecciona un documento para ver los detalles";
|
|
7137
|
+
case CultureIDs.Fr_FR: return "Sélectionnez un document pour afficher les détails";
|
|
7138
|
+
case CultureIDs.Pt_PT: return "Selecione um documento para visualizar os detalhes";
|
|
7139
|
+
default: return "Seleziona un documento per visualizzare i dettagli";
|
|
7140
|
+
}
|
|
7141
|
+
}
|
|
6812
7142
|
static get SelectArchiveToStart() {
|
|
6813
7143
|
switch (this._cultureID) {
|
|
6814
7144
|
case CultureIDs.De_DE: return "Klicken Sie auf Archivieren, um zu beginnen.";
|
|
@@ -7190,6 +7520,16 @@ export class SDKUI_Localizator {
|
|
|
7190
7520
|
default: return "Mostra dettagli";
|
|
7191
7521
|
}
|
|
7192
7522
|
}
|
|
7523
|
+
static get ShowDetailsWithZeroDocs() {
|
|
7524
|
+
switch (this._cultureID) {
|
|
7525
|
+
case CultureIDs.De_DE: return "Details mit 0 Dokumenten anzeigen";
|
|
7526
|
+
case CultureIDs.En_US: return "Show details with 0 documents";
|
|
7527
|
+
case CultureIDs.Es_ES: return "Mostrar detalles con 0 documentos";
|
|
7528
|
+
case CultureIDs.Fr_FR: return "Afficher les détails avec 0 documents";
|
|
7529
|
+
case CultureIDs.Pt_PT: return "Mostrar detalhes com 0 documentos";
|
|
7530
|
+
default: return "Consenti dettagli con 0 documenti";
|
|
7531
|
+
}
|
|
7532
|
+
}
|
|
7193
7533
|
static get ShowFilters() {
|
|
7194
7534
|
switch (this._cultureID) {
|
|
7195
7535
|
case CultureIDs.De_DE: return "Filter anzeigen";
|
package/lib/helper/TMUtils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FileItem } from '../components';
|
|
3
|
-
import { AppModules, DataColumnDescriptor, DcmtTypeDescriptor, PdGs, SearchResultDescriptor } from '@topconsultnpm/sdk-ts';
|
|
3
|
+
import { AppModules, DataColumnDescriptor, DcmtTypeDescriptor, MetadataDescriptor, PdGs, SearchResultDescriptor } from '@topconsultnpm/sdk-ts';
|
|
4
4
|
/**
|
|
5
5
|
* Estensioni di firma/marca temporale note che possono avvolgere altre estensioni.
|
|
6
6
|
* Es: file.pdf.p7m, file.xml.p7m, file.docx.p7m, file.xml.p7m.ts
|
|
@@ -77,4 +77,36 @@ type DcmtFormToolbarVisibility = {
|
|
|
77
77
|
};
|
|
78
78
|
export declare const getDcmtFormToolbarVisibility: (appModuleID: AppModules) => DcmtFormToolbarVisibility;
|
|
79
79
|
export declare const isConvertibleToPdfExt: (ext: string | undefined | null) => boolean;
|
|
80
|
+
/** Valore metadato con descrittore (da searchResultToDataSource) */
|
|
81
|
+
export interface DcmtMetadataValue {
|
|
82
|
+
md?: MetadataDescriptor;
|
|
83
|
+
value: any;
|
|
84
|
+
}
|
|
85
|
+
/** Documento con metadati indicizzati per nome */
|
|
86
|
+
export interface DcmtMetadataMap {
|
|
87
|
+
[key: string]: DcmtMetadataValue;
|
|
88
|
+
rowIndex?: any;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Restituisce le chiavi dei metadati da visualizzare come descrizione documento.
|
|
92
|
+
* Priorità: 1) SYS_Abstract 2) isSpecialSearchOutput=true 3) primi 5 metadati non di sistema
|
|
93
|
+
*/
|
|
94
|
+
export declare const buildDcmtDisplayName: (obj: DcmtMetadataMap | null | undefined) => Array<string>;
|
|
95
|
+
/** Metodo utilizzato per determinare i metadati da visualizzare come descrizione documento */
|
|
96
|
+
export declare enum DcmtDisplayNameMethod {
|
|
97
|
+
/** Nessun metadato disponibile */
|
|
98
|
+
None = "None",
|
|
99
|
+
/** Campo SYS_Abstract presente */
|
|
100
|
+
SysAbstract = "SysAbstract",
|
|
101
|
+
/** Metadati con isSpecialSearchOutput = true */
|
|
102
|
+
SpecialSearchOutput = "SpecialSearchOutput",
|
|
103
|
+
/** Primi 5 metadati non di sistema con permesso canView */
|
|
104
|
+
FirstViewableMetadata = "FirstViewableMetadata"
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Analizza un DcmtTypeDescriptor e restituisce la stringa descrittiva del metodo di visualizzazione.
|
|
108
|
+
* Priorità: 1) SYS_Abstract 2) isSpecialSearchOutput=true 3) primi 5 metadati non di sistema (default)
|
|
109
|
+
* Se i metadati non sono presenti nel dtd, li recupera dalla cache.
|
|
110
|
+
*/
|
|
111
|
+
export declare const getDTDDisplayNameInfo: (dtd: DcmtTypeDescriptor | undefined) => Promise<string>;
|
|
80
112
|
export {};
|
package/lib/helper/TMUtils.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import styled from "styled-components";
|
|
3
3
|
import { TMTooltip } from '../components';
|
|
4
4
|
import { IconCADossier, IconKey, IconMenuCAWorkingGroups } from './TMIcons';
|
|
5
|
-
import { AppModules, DataListCacheService, LicenseModuleStatus, MetadataDataDomains, PdGs, SDK_Globals } from '@topconsultnpm/sdk-ts';
|
|
5
|
+
import { AccessLevels, AppModules, DataListCacheService, DcmtTypeListCacheService, LicenseModuleStatus, MetadataDataDomains, PdGs, SDK_Globals, SystemMIDs } from '@topconsultnpm/sdk-ts';
|
|
6
6
|
import { SDKUI_Localizator } from './SDKUI_Localizator';
|
|
7
7
|
/**
|
|
8
8
|
* Estensioni di firma/marca temporale note che possono avvolgere altre estensioni.
|
|
@@ -430,3 +430,106 @@ export const isConvertibleToPdfExt = (ext) => {
|
|
|
430
430
|
'eml', 'msg'
|
|
431
431
|
].includes(normalized);
|
|
432
432
|
};
|
|
433
|
+
/**
|
|
434
|
+
* Restituisce le chiavi dei metadati da visualizzare come descrizione documento.
|
|
435
|
+
* Priorità: 1) SYS_Abstract 2) isSpecialSearchOutput=true 3) primi 5 metadati non di sistema
|
|
436
|
+
*/
|
|
437
|
+
export const buildDcmtDisplayName = (obj) => {
|
|
438
|
+
try {
|
|
439
|
+
if (!obj)
|
|
440
|
+
return [];
|
|
441
|
+
const sysAbstractKey = Object.keys(obj).find(k => k.toUpperCase() === 'SYS_ABSTRACT');
|
|
442
|
+
if (sysAbstractKey) {
|
|
443
|
+
if (obj[sysAbstractKey]?.value) {
|
|
444
|
+
return [sysAbstractKey];
|
|
445
|
+
}
|
|
446
|
+
// SYS_Abstract esiste ma è vuoto: usa DID se presente, altrimenti continua con la logica standard
|
|
447
|
+
const didKey = Object.keys(obj).find(k => k.toUpperCase() === 'DID');
|
|
448
|
+
if (didKey && obj[didKey]?.value) {
|
|
449
|
+
return [didKey];
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
const keys = Object.keys(obj);
|
|
453
|
+
const sysMIDs = Object.values(SystemMIDs).map(o => o.toUpperCase());
|
|
454
|
+
const viewableMetadataKeys = keys.filter(k => obj?.[k]?.value &&
|
|
455
|
+
obj?.[k]?.md?.perm?.canView === AccessLevels.Yes &&
|
|
456
|
+
!sysMIDs.includes(k.toUpperCase()) &&
|
|
457
|
+
k !== "rowIndex" &&
|
|
458
|
+
k !== "ISLEXPROT");
|
|
459
|
+
// Metadati con isSpecialSearchOutput = true
|
|
460
|
+
const specialOutputKeys = viewableMetadataKeys.filter(k => obj?.[k]?.md?.isSpecialSearchOutput === true);
|
|
461
|
+
if (specialOutputKeys.length > 0) {
|
|
462
|
+
return specialOutputKeys;
|
|
463
|
+
}
|
|
464
|
+
if (viewableMetadataKeys.length > 0) {
|
|
465
|
+
return viewableMetadataKeys.slice(0, 5);
|
|
466
|
+
}
|
|
467
|
+
// Fallback: se tutti i metadati personalizzati sono vuoti, usa DID
|
|
468
|
+
const didKey = Object.keys(obj).find(k => k.toUpperCase() === 'DID');
|
|
469
|
+
if (didKey && obj[didKey]?.value) {
|
|
470
|
+
return [didKey];
|
|
471
|
+
}
|
|
472
|
+
return [];
|
|
473
|
+
}
|
|
474
|
+
catch (error) {
|
|
475
|
+
console.error('buildDcmtDisplayName error:', error);
|
|
476
|
+
return [];
|
|
477
|
+
}
|
|
478
|
+
};
|
|
479
|
+
/** Metodo utilizzato per determinare i metadati da visualizzare come descrizione documento */
|
|
480
|
+
export var DcmtDisplayNameMethod;
|
|
481
|
+
(function (DcmtDisplayNameMethod) {
|
|
482
|
+
/** Nessun metadato disponibile */
|
|
483
|
+
DcmtDisplayNameMethod["None"] = "None";
|
|
484
|
+
/** Campo SYS_Abstract presente */
|
|
485
|
+
DcmtDisplayNameMethod["SysAbstract"] = "SysAbstract";
|
|
486
|
+
/** Metadati con isSpecialSearchOutput = true */
|
|
487
|
+
DcmtDisplayNameMethod["SpecialSearchOutput"] = "SpecialSearchOutput";
|
|
488
|
+
/** Primi 5 metadati non di sistema con permesso canView */
|
|
489
|
+
DcmtDisplayNameMethod["FirstViewableMetadata"] = "FirstViewableMetadata";
|
|
490
|
+
})(DcmtDisplayNameMethod || (DcmtDisplayNameMethod = {}));
|
|
491
|
+
/**
|
|
492
|
+
* Analizza un DcmtTypeDescriptor e restituisce la stringa descrittiva del metodo di visualizzazione.
|
|
493
|
+
* Priorità: 1) SYS_Abstract 2) isSpecialSearchOutput=true 3) primi 5 metadati non di sistema (default)
|
|
494
|
+
* Se i metadati non sono presenti nel dtd, li recupera dalla cache.
|
|
495
|
+
*/
|
|
496
|
+
export const getDTDDisplayNameInfo = async (dtd) => {
|
|
497
|
+
try {
|
|
498
|
+
if (!dtd) {
|
|
499
|
+
return SDKUI_Localizator.DisplayNameMethod_Top5;
|
|
500
|
+
}
|
|
501
|
+
// Recupera i metadati dalla cache se non presenti nel dtd
|
|
502
|
+
let metadata = dtd.metadata;
|
|
503
|
+
if (!metadata || metadata.length === 0) {
|
|
504
|
+
const cachedDtd = await DcmtTypeListCacheService.GetAsync(dtd.id);
|
|
505
|
+
metadata = cachedDtd?.metadata;
|
|
506
|
+
}
|
|
507
|
+
if (!metadata || metadata.length === 0) {
|
|
508
|
+
return SDKUI_Localizator.DisplayNameMethod_Top5;
|
|
509
|
+
}
|
|
510
|
+
const sysMIDs = Object.values(SystemMIDs).map(o => o.toUpperCase());
|
|
511
|
+
// 1) Cerca SYS_Abstract
|
|
512
|
+
const sysAbstract = metadata.find(md => md.name?.toUpperCase() === 'SYS_ABSTRACT');
|
|
513
|
+
if (sysAbstract) {
|
|
514
|
+
return SDKUI_Localizator.DisplayNameMethod_Abstract;
|
|
515
|
+
}
|
|
516
|
+
// Filtra metadati non di sistema con permesso canView
|
|
517
|
+
const viewableMetadata = metadata.filter(md => md.perm?.canView === AccessLevels.Yes &&
|
|
518
|
+
md.name &&
|
|
519
|
+
!sysMIDs.includes(md.name.toUpperCase()));
|
|
520
|
+
// 2) Cerca metadati con isSpecialSearchOutput = true
|
|
521
|
+
const specialOutputMetadata = viewableMetadata.filter(md => md.isSpecialSearchOutput === true);
|
|
522
|
+
if (specialOutputMetadata.length > 0) {
|
|
523
|
+
const metadataNames = specialOutputMetadata.map(md => md.nameLoc || md.name).filter(Boolean).join(', ');
|
|
524
|
+
const maxLength = 50;
|
|
525
|
+
const truncatedNames = metadataNames.length > maxLength ? metadataNames.substring(0, maxLength) + '...' : metadataNames;
|
|
526
|
+
return `${SDKUI_Localizator.Search_Special} (${truncatedNames})`;
|
|
527
|
+
}
|
|
528
|
+
// 3) Default: primi 5 metadati non di sistema
|
|
529
|
+
return SDKUI_Localizator.DisplayNameMethod_Top5;
|
|
530
|
+
}
|
|
531
|
+
catch (error) {
|
|
532
|
+
console.error('getDTDDisplayNameInfo error:', error);
|
|
533
|
+
return SDKUI_Localizator.DisplayNameMethod_Top5;
|
|
534
|
+
}
|
|
535
|
+
};
|