UNPKG

@alfresco/adf-content-services

Version:
26 lines (25 loc) 1.16 kB
import { CardViewItem } from '@alfresco/adf-core'; import { CardViewGroup, OrganisedPropertyGroup } from '../interfaces/content-metadata.interfaces'; import { Definition, Property as PropertyBase } from '@alfresco/js-api'; import * as i0 from "@angular/core"; export declare const RECOGNISED_ECM_TYPES: string[]; export declare class PropertyGroupTranslatorService { private userPreferenceService; private appConfig; private logService; valueSeparator: string; private readonly injector; constructor(); translateToCardViewGroups(propertyGroups: OrganisedPropertyGroup[], propertyValues: any, definition: Definition): CardViewGroup[]; translateProperty(property: PropertyBase, startValue?: any, allowEditing?: boolean): CardViewItem; private translateArray; private translate; private transform; private isListOfValues; private getPropertyConstraints; private checkECMTypeValidity; private isEmpty; private getDecimalNumberPipe; static ɵfac: i0.ɵɵFactoryDeclaration<PropertyGroupTranslatorService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<PropertyGroupTranslatorService>; }