import * as _angular_platform_browser from '@angular/platform-browser'; import * as _angular_core from '@angular/core'; import { OnInit } from '@angular/core'; import * as _siemens_element_translate_ng_translate from '@siemens/element-translate-ng/translate'; import { CopyrightDetails } from '@siemens/element-ng/copyright-notice'; import { Link } from '@siemens/element-ng/link'; /** * Copyright (c) Siemens 2016 - 2026 * SPDX-License-Identifier: MIT */ /** */ interface LicenseInfo { /** * Title of the License Info. */ title: string; /** * License to be shown as plain text in `
` element.
*/
text?: string;
/**
* URL to license file to be shown in iFrame.
*/
iframe?: string;
/**
* URL to license REST end point. License texts are lazy loaded separately for
* each component. Requires a service to provide license data.
*/
api?: string;
/**
* In API View, custom license file icon.
*/
icon?: string;
}
interface ApiInfo {
/**
* Name of License category.
*/
name: string;
/**
* API href.
*/
href: string;
/**
* State if dropdown is open.
*/
isOpen?: boolean;
/**
* License files path.
*/
files?: ApiInfo[];
/**
* Content of license file.
*/
content?: string;
}
declare class SiAboutComponent implements OnInit {
private http;
private sanitizer;
/**
* Alt text for the application logo. Supports `{{appName}}` placeholder for interpolation.
*
* @defaultValue
* ```
* t(() => $localize`:@@SI_ABOUT.LOGO_ALT:{{appName}} logo`)
* ```
*/
readonly logoAlt: _angular_core.InputSignal<_siemens_element_translate_ng_translate.TranslatableString>;
/**
* Title shown above the about information.
*/
readonly aboutTitle: _angular_core.InputSignal;
/**
* Define mode to display the licenses. See {@link LicenseInfo}
*/
readonly licenseInfo: _angular_core.InputSignal;
/**
* Path to the application logo. Use for image
*/
readonly icon: _angular_core.InputSignal;
/**
* Name of element icon. Use as alternative to image
*/
readonly iconName: _angular_core.InputSignal;
/**
* Title of this application.
*/
readonly appName: _angular_core.InputSignal;
/**
* Sub titles of the application. Shown as a list below the application name. (Optional)
*/
readonly subheading: _angular_core.InputSignal;
/**
* Link to `Acceptable Use Policy`.
*/
readonly acceptableUsePolicyLink: _angular_core.InputSignal;
/**
* Link to `Corporate Information`.
*/
readonly imprintLink: _angular_core.InputSignal;
/**
* Link to `Privacy Notice`.
*/
readonly privacyLink: _angular_core.InputSignal;
/**
* Link to `Cookie Notice`.
*/
readonly cookieNoticeLink: _angular_core.InputSignal;
/**
* Link to `Terms of Use`.
*/
readonly termsLink: _angular_core.InputSignal;
/**
* Additional links listed in the about section.
*
* @defaultValue []
*/
readonly links: _angular_core.InputSignal;
/**
* Copyright information to be displayed. Alternatively, you can use the {@link SI_COPYRIGHT_DETAILS} global inject.
*/
readonly copyrightDetails: _angular_core.InputSignal;
protected readonly sanitizedUrl: _angular_core.Signal<_angular_platform_browser.SafeResourceUrl | undefined>;
protected readonly licenseApi: _angular_core.WritableSignal;
protected readonly icons: Record<"elementDocument", string>;
ngOnInit(): void;
protected toggleLoadLicenseApi(apiInfo: ApiInfo): void;
protected toggleLoadLicenseContent(apiInfo: ApiInfo): void;
static ɵfac: _angular_core.ɵɵFactoryDeclaration;
static ɵcmp: _angular_core.ɵɵComponentDeclaration;
}
declare class SiAboutModule {
static ɵfac: _angular_core.ɵɵFactoryDeclaration;
static ɵmod: _angular_core.ɵɵNgModuleDeclaration;
static ɵinj: _angular_core.ɵɵInjectorDeclaration;
}
export { SiAboutComponent, SiAboutModule };
export type { ApiInfo, LicenseInfo };