@yuuvis/client-core 3.8.3 → 3.9.0
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.
|
@@ -1496,7 +1496,7 @@ class SystemService {
|
|
|
1496
1496
|
? this.getBaseType()
|
|
1497
1497
|
: this.system.objectTypes.find((objectType) => objectType.id === objectTypeId);
|
|
1498
1498
|
if (objectType && withLabel) {
|
|
1499
|
-
objectType.label = this.
|
|
1499
|
+
objectType.label = this.#localization.getLocalizedLabel(objectType.id) || objectTypeId;
|
|
1500
1500
|
}
|
|
1501
1501
|
if (!objectType) {
|
|
1502
1502
|
// no 'real' object type found. Try to find a matching SOT and treat it like a real type
|
|
@@ -1861,7 +1861,7 @@ class SystemService {
|
|
|
1861
1861
|
getObjectTypeField(id) {
|
|
1862
1862
|
const field = this.system?.allFields[id];
|
|
1863
1863
|
return field
|
|
1864
|
-
? { ...field, _internalType: this.getInternalFormElementType(field.propertyType, field.classifications) }
|
|
1864
|
+
? { ...field, _internalType: this.getInternalFormElementType(field.propertyType, field.classifications, field.catalog) }
|
|
1865
1865
|
: undefined;
|
|
1866
1866
|
}
|
|
1867
1867
|
/**
|
|
@@ -2017,7 +2017,7 @@ class SystemService {
|
|
|
2017
2017
|
{
|
|
2018
2018
|
...propDef,
|
|
2019
2019
|
required: propertyRef.required ?? propDef.required,
|
|
2020
|
-
_internalType: this.getInternalFormElementType(propDef.propertyType, propDef.classifications)
|
|
2020
|
+
_internalType: this.getInternalFormElementType(propDef.propertyType, propDef.classifications, propDef.catalog)
|
|
2021
2021
|
}
|
|
2022
2022
|
];
|
|
2023
2023
|
});
|