import { OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser'; import { CssSizeInput } from '../coercion'; import { InternalMatomoConfiguration } from '../configuration'; import * as i0 from "@angular/core"; /** * Basic opt-out form, based on an iframe auto-generated by Matomo. * * WARNING: By default, this component assumes the tracker url set in MatomoConfiguration is * safe to be used as an iframe `src`. You have to make sure that this url is safe before using this * component! */ export declare class MatomoOptOutFormComponent implements OnInit, OnChanges { private readonly sanitizer; private readonly config; private readonly _defaultServerUrl?; private _border; private _width; private _height; private _iframeSrc; private _serverUrlOverride?; /** * Set a custom locale for the opt-out form *
* Default is the current app locale available in LOCALE_ID token */ locale: string; /** Font color (note that Matomo currently only supports hexadecimal without leading hash notation) */ color: string; /** Background color (note that Matomo currently only supports hexadecimal without leading hash notation) */ backgroundColor: string; fontSize: string; fontFamily: string; constructor(sanitizer: DomSanitizer, config: InternalMatomoConfiguration, locale?: string); get serverUrl(): SafeResourceUrl | undefined; /** * Set a custom Matomo server url to be used for iframe generation *
* By default, tracker url is retrieved from MatomoConfiguration. *
* WARNING: This component assumes the url you provide is safe to be used as an iframe * `src`. You have to make sure that this url is safe before using this component! */ set serverUrl(value: SafeResourceUrl | undefined); get iframeSrc(): SafeResourceUrl | undefined; get height(): string; set height(value: string); get width(): string; set width(value: string); get border(): string; set border(value: string); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private updateUrl; static ngAcceptInputType_border: CssSizeInput; static ngAcceptInputType_width: CssSizeInput; static ngAcceptInputType_height: CssSizeInput; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }