documentation 4.7.0 (#7341)

* documentation 4.7.0

* fix
This commit is contained in:
Eugenio Romano
2021-11-01 15:13:46 +00:00
committed by GitHub
parent 93c63ba0c8
commit eb1183946d
16 changed files with 442 additions and 18 deletions

View File

@@ -6,16 +6,16 @@ Status: Active
# [APA Properties Viewer Widget](../../../lib/process-services-cloud/src/lib/form/components/widgets/properties-viewer/properties-viewer.widget.ts "Defined in properties-viewer.widget.ts")
It makes use of the [content metadata card](../../content-services/components/content-metadata-card.component.md "content-metadata-card") to display the properties of the selected file in an attach widget in a form.
It makes use of the [content metadata card](../../content-services/components/content-metadata-card.component.md "content-metadata-card") to display the properties of the selected file in an attach [widget](../../../lib/testing/src/lib/core/pages/form/widgets/widget.ts) in a form.
## Basic Usage
This a form widget so it receives the [`FormFieldModel`](../../core/models/form-field.model.md) form the form renderer with the following meanings:
This a form [widget](../../../lib/testing/src/lib/core/pages/form/widgets/widget.ts) so it receives the [`FormFieldModel`](../../core/models/form-field.model.md) form the form renderer with the following meanings:
| Accessor | Type | Description |
| -------- | ---- | ----------- |
|`field.value`| `string` | The nodeId of the node which properties are going to be displayed |
|`field.params.propertiesViewerOptions` | `object` | An object containing all the [properties of the content metadata card](../../content-services/components/content-metadata-card.component.md#properties "content-metadata-card properties") |
| `field.value` | `string` | The nodeId of the node which properties are going to be displayed |
| `field.params.propertiesViewerOptions` | `object` | An object containing all the [properties of the content metadata card](../../content-services/components/content-metadata-card.component.md#properties "content-metadata-card properties") |
## Class members
@@ -23,11 +23,11 @@ This a form widget so it receives the [`FormFieldModel`](../../core/models/form-
| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| field | `FormFieldModel` | | The field information |
| field | [`FormFieldModel`](../../core/models/form-field.model.md) | | The field information |
### Events
| Name | Type | Description |
| ---- | ---- | ----------- |
| nodeContentLoaded | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<Node>` | Emitted when the properties to be displayed are retrieved from the content service. |
| nodeContentLoaded | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<Node>` | Emitted when the properties to be displayed are retrieved from the [content service](../../core/services/content.service.md). |
| fieldChanged | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<string>` | Emitted when the field changes |