@yuuvis/client-core 2.8.1 → 2.8.2
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.
|
@@ -1897,7 +1897,11 @@ class SystemService {
|
|
|
1897
1897
|
return res;
|
|
1898
1898
|
}
|
|
1899
1899
|
toFormElement(field) {
|
|
1900
|
-
|
|
1900
|
+
const res = { ...field, label: this.getLocalizedLabel(field.id), name: field.id, type: field.propertyType };
|
|
1901
|
+
// Tables come with 'columnDefinitions' from the schema. We need to rename this to 'elements' for our form renderer
|
|
1902
|
+
if (field.columnDefinitions)
|
|
1903
|
+
res.elements = field.columnDefinitions;
|
|
1904
|
+
return res;
|
|
1901
1905
|
}
|
|
1902
1906
|
updateAuthData(data) {
|
|
1903
1907
|
this.authData = { ...this.authData, ...data };
|
|
@@ -5574,7 +5578,7 @@ const CLIENT_APP_REQUIREMENTS = new InjectionToken('Application / Extension requ
|
|
|
5574
5578
|
factory: () => null
|
|
5575
5579
|
});
|
|
5576
5580
|
const provideRequirements = (requirements) => {
|
|
5577
|
-
return { provide: CLIENT_APP_REQUIREMENTS, useValue: requirements };
|
|
5581
|
+
return { provide: CLIENT_APP_REQUIREMENTS, useValue: requirements || {} };
|
|
5578
5582
|
};
|
|
5579
5583
|
|
|
5580
5584
|
/**
|