/*! * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Alfresco Example Content Application * * This file is part of the Alfresco Example Content Application. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided under the following open source license terms: * * The Alfresco Example Content Application is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The Alfresco Example Content Application is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * from Hyland Software. If not, see . */ import { OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms'; import { ActionDefinitionTransformed, RuleAction } from '../../model/rule-action.model'; import { CardViewItem, CardViewSelectItemOption, CardViewUpdateService } from '@alfresco/adf-core'; import { ActionParameterConstraint } from '../../model/action-parameter-constraint.model'; import { CategoryService, SecurityControlsService, TagService } from '@alfresco/adf-content-services'; import { MatDialog } from '@angular/material/dialog'; import { TranslateService } from '@ngx-translate/core'; import * as i0 from "@angular/core"; export declare class RuleActionUiComponent implements ControlValueAccessor, OnInit, OnChanges { private cardViewUpdateService; private dialog; private translate; private tagService; private categoryService; private securityControlsService; nodeId: string; actionDefinitions: ActionDefinitionTransformed[]; readOnly: boolean; private _parameterConstraints; get parameterConstraints(): ActionParameterConstraint[]; set parameterConstraints(value: ActionParameterConstraint[]); private readonly tagsRelatedPropertiesAndAspects; private readonly categoriesRelatedPropertiesAndAspects; private readonly paramsToFormatDisplayedValue; isFullWidth: boolean; form: FormGroup<{ actionDefinitionId: FormControl; }>; cardViewItems: CardViewItem[]; parameters: { [key: string]: unknown; }; get selectedActionDefinitionId(): string; get selectedActionDefinition(): ActionDefinitionTransformed; onChange: (action: RuleAction) => void; onTouch: () => void; private readonly destroyRef; constructor(cardViewUpdateService: CardViewUpdateService, dialog: MatDialog, translate: TranslateService, tagService: TagService, categoryService: CategoryService, securityControlsService: SecurityControlsService); writeValue(action: RuleAction): void; registerOnChange(fn: (action: RuleAction) => void): void; registerOnTouched(fn: any): void; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; setCardViewProperties(securityMarkOptions?: CardViewSelectItemOption[]): void; private openSelectorDialog; private openCatDialog; setDefaultParameters(): void; private parseConstraintsToSelectOptions; private clearEmptyParameters; loadSecurityMarkOptions(): void; private formatSecurityMarkConstraint; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }