@yuuvis/client-framework 3.19.0 → 3.20.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.
- package/fesm2022/yuuvis-client-framework-datepicker.mjs +90 -34
- package/fesm2022/yuuvis-client-framework-datepicker.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-forms.mjs +14 -5
- package/fesm2022/yuuvis-client-framework-forms.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-details.mjs +2 -1
- package/fesm2022/yuuvis-client-framework-object-details.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-flavor.mjs +2 -1
- package/fesm2022/yuuvis-client-framework-object-flavor.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-form.mjs +3 -1
- package/fesm2022/yuuvis-client-framework-object-form.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-relationship.mjs +9 -3
- package/fesm2022/yuuvis-client-framework-object-relationship.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-summary.mjs +4 -1
- package/fesm2022/yuuvis-client-framework-object-summary.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-renderer.mjs +22 -11
- package/fesm2022/yuuvis-client-framework-renderer.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-smart-search.mjs +54 -14
- package/fesm2022/yuuvis-client-framework-smart-search.mjs.map +1 -1
- package/lib/assets/i18n/en.json +4 -4
- package/package.json +6 -6
- package/types/yuuvis-client-framework-datepicker.d.ts +16 -1
- package/types/yuuvis-client-framework-object-form.d.ts +6 -0
- package/types/yuuvis-client-framework-renderer.d.ts +17 -4
- package/types/yuuvis-client-framework-smart-search.d.ts +29 -6
|
@@ -373,15 +373,21 @@ class NodeSummaryComponent {
|
|
|
373
373
|
const metaKeys = Object.keys(object.data).filter((key) => {
|
|
374
374
|
return key.startsWith(`${propertyName}_`);
|
|
375
375
|
});
|
|
376
|
-
|
|
377
|
-
|
|
376
|
+
// Resolved on the object, not globally: the property may be contributed by one of the
|
|
377
|
+
// object's secondary object types, which can override its schema attributes (e.g. bind it
|
|
378
|
+
// to its own dynamic catalog).
|
|
379
|
+
const field = this.#system.getDmsObjectTypeField(object, propertyName);
|
|
380
|
+
if (!field)
|
|
378
381
|
return undefined;
|
|
379
382
|
return {
|
|
380
383
|
label: this.#localization.getLocalizedLabel(propertyName.replace('_title', '')) || propertyName,
|
|
381
384
|
rendererInput: {
|
|
382
385
|
propertyName,
|
|
383
386
|
value: object.data[propertyName],
|
|
384
|
-
|
|
387
|
+
// the type the property is actually contributed by, so the renderer resolves the
|
|
388
|
+
// field's schema overrides in the same context
|
|
389
|
+
objectTypeId: this.#system.getDmsObjectFieldTypeId(object, propertyName),
|
|
390
|
+
rendererType: field._internalType,
|
|
385
391
|
meta: metaKeys.reduce((metaObj, key) => {
|
|
386
392
|
metaObj[key] = object.data[key];
|
|
387
393
|
return metaObj;
|