UNPKG

@linid-dm/directory-manager-client-core

Version:

Core package by providing a set of angular components for the Directory Manager app.

90 lines (89 loc) 5.47 kB
/** * Copyright (C) 2020-2024 Linagora * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your option) any * later version, provided you comply with the Additional Terms applicable for * LinID Directory Manager software by LINAGORA pursuant to Section 7 of the GNU * Affero General Public License, subsections (b), (c), and (e), pursuant to * which these Appropriate Legal Notices must notably (i) retain the display of * the "LinID™" trademark/logo at the top of the interface window, the display * of the “You are using the Open Source and free version of LinID™, powered by * Linagora © 2009–2013. Contribute to LinID R&D by subscribing to an Enterprise * offer!” infobox and in the e-mails sent with the Program, notice appended to * any type of outbound messages (e.g. e-mail and meeting requests) as well as * in the LinID Directory Manager user interface, (ii) retain all hypertext * links between LinID Directory Manager and https://linid.org/, as well as * between LINAGORA and LINAGORA.com, and (iii) refrain from infringing LINAGORA * intellectual property rights over its trademarks and commercial brands. Other * Additional Terms apply, see <http://www.linagora.com/licenses/> for more * details. * * This program 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 Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License and * its applicable Additional Terms for LinID Directory Manager along with this * program. If not, see <http://www.gnu.org/licenses/> for the GNU Affero * General Public License version 3 and <http://www.linagora.com/licenses/> for * the Additional Terms applicable to the LinID Directory Manager software. */ import { Location } from '@angular/common'; import { EventEmitter, OnDestroy, OnInit } from '@angular/core'; import { Title } from '@angular/platform-browser'; import { Router } from '@angular/router'; import { Store } from '@ngxs/store'; import { Observable } from 'rxjs'; import { EComponentName, EnvService, IAdvancedSearchChip, IBtnLabel, IConfig, IDataDetail, IEntryIds, IResourceType, ITabProps, InteractionsService, JsTable, ScreenSize } from '../../shared'; import * as i0 from "@angular/core"; export declare class DataDetailSimpleAttributesComponent implements OnInit, OnDestroy { private _interactionsService; private _store$; private _location; private _router; private _titleService; private _envService; private _dataDetail; private _onDestroy$; private _screenSize; private _simpleAttributesConfig; private _selectedResourceTypeId; displayName: string; simpleAttributes: IDataDetail[]; detailAttributesFxFlexProperty: { [id: string]: string; }; componentNameType: typeof EComponentName; nbSimpleAttributes: number; fieldMinWidth: string; screenSize$: Observable<ScreenSize>; advancedSearchChips$: Observable<IAdvancedSearchChip[]>; tab: ITabProps; configs: JsTable<IConfig>; resourcesTypes: JsTable<IResourceType>; selectedEntryIds: IEntryIds; selectedEntryParentIds: IEntryIds; editAction: IBtnLabel; editableAttributesFromBackend: string[]; isUpdatingDataDetail: boolean; areSimpleAttributesProcessed: boolean; set selectedResourceTypeId(selectedResourceTypeId: string); get selectedResourceTypeId(): string; set dataDetail(dataDetail: any); get dataDetail(): any; evtSimpleAttributesProcessed: EventEmitter<IDataDetail[]>; evtSuccess: EventEmitter<string>; constructor(_interactionsService: InteractionsService, _store$: Store, _location: Location, _router: Router, _titleService: Title, _envService: EnvService); ngOnInit(): void; ngOnDestroy(): void; getOnDetail(id: string): void; setFxFlex(attributeId: string, screenSize?: ScreenSize): void; private _setFieldMinWidth; setFxFlexPropertyForAllAttributes(): void; private _updateExternalId; static ɵfac: i0.ɵɵFactoryDeclaration<DataDetailSimpleAttributesComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DataDetailSimpleAttributesComponent, "dm-data-detail-simple-attributes", never, { "tab": { "alias": "tab"; "required": false; }; "configs": { "alias": "configs"; "required": false; }; "resourcesTypes": { "alias": "resourcesTypes"; "required": false; }; "selectedEntryIds": { "alias": "selectedEntryIds"; "required": false; }; "selectedEntryParentIds": { "alias": "selectedEntryParentIds"; "required": false; }; "editAction": { "alias": "editAction"; "required": false; }; "editableAttributesFromBackend": { "alias": "editableAttributesFromBackend"; "required": false; }; "isUpdatingDataDetail": { "alias": "isUpdatingDataDetail"; "required": false; }; "areSimpleAttributesProcessed": { "alias": "areSimpleAttributesProcessed"; "required": false; }; "selectedResourceTypeId": { "alias": "selectedResourceTypeId"; "required": false; }; "dataDetail": { "alias": "dataDetail"; "required": false; }; }, { "evtSimpleAttributesProcessed": "evtSimpleAttributesProcessed"; "evtSuccess": "evtSuccess"; }, never, never, false, never>; }