mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[MNT-22606] Support preset config as input in content-metadata component (#7311)
This commit is contained in:
committed by
GitHub
parent
6861e5320e
commit
9f08d4a3e6
@@ -18,6 +18,7 @@
|
||||
import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges, ViewEncapsulation } from '@angular/core';
|
||||
import { NodesApiService } from '@alfresco/adf-core';
|
||||
import { Node } from '@alfresco/js-api';
|
||||
import { PresetConfig } from '@alfresco/adf-content-services';
|
||||
|
||||
/* tslint:disable:component-selector */
|
||||
|
||||
@@ -52,9 +53,9 @@ export class PropertiesViewerWrapperComponent implements OnInit, OnChanges {
|
||||
@Input()
|
||||
multi;
|
||||
|
||||
/** Name of the metadata preset, which defines aspects and their properties */
|
||||
/** Name or configuration of the metadata preset, which defines aspects and their properties */
|
||||
@Input()
|
||||
preset: string;
|
||||
preset: string | PresetConfig;
|
||||
|
||||
/** Toggles whether the metadata properties should be shown */
|
||||
@Input()
|
||||
|
@@ -28,6 +28,7 @@ export * from './components/widgets/date/date-cloud.widget';
|
||||
export * from './components/widgets/dropdown/dropdown-cloud.widget';
|
||||
export * from './components/widgets/group/group-cloud.widget';
|
||||
export * from './components/widgets/people/people-cloud.widget';
|
||||
export * from './components/widgets/properties-viewer/properties-viewer.widget';
|
||||
|
||||
export * from './services/content-cloud-node-selector.service';
|
||||
export * from './services/form-cloud.service';
|
||||
|
Reference in New Issue
Block a user