UNPKG

@alfresco/adf-core

Version:
47 lines (46 loc) 2.51 kB
/*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { EventEmitter, QueryList, TemplateRef } from '@angular/core'; import { MatTabChangeEvent } from '@angular/material/tabs'; import * as i0 from "@angular/core"; export declare class InfoDrawerTabComponent { /** The title of the tab (string or translation key). */ label: string; /** Icon to render for the tab. */ icon: string; content: TemplateRef<any>; static ɵfac: i0.ɵɵFactoryDeclaration<InfoDrawerTabComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<InfoDrawerTabComponent, "adf-info-drawer-tab", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, ["*"], true, never>; } export declare class InfoDrawerComponent { /** The title of the info drawer (string or translation key). */ title: string | null; icon: string | null; /** The selected index tab. */ selectedIndex: number; /** The visibility of the header. */ showHeader: boolean; /** Emitted when the currently active tab changes. */ currentTab: EventEmitter<number>; contentBlocks: QueryList<InfoDrawerTabComponent>; onKeyDown(event: KeyboardEvent): void; onKeyUp(event: KeyboardEvent): void; showTabLayout(): boolean; onTabChange(event: MatTabChangeEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration<InfoDrawerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<InfoDrawerComponent, "adf-info-drawer", never, { "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; }, { "currentTab": "currentTab"; }, ["contentBlocks"], ["[info-drawer-title]", "[info-drawer-buttons]", "[info-drawer-content]"], true, never>; }