UNPKG

primeng

Version:

PrimeNG is a premium UI library for Angular featuring a rich set of 90+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBlock,

24 lines (22 loc) 1.05 kB
/** * Inject a fixed-positioned banner into the bottom-right of the page when the * PrimeNG license cannot be verified. * * The banner content is rendered inside a closed-mode shadow root so page-level * CSS cannot reach into it. `all:initial` on the host element blocks inherited * styles. The host carries no semantically obvious id, slowing down trivial * hide-by-selector attempts. * * Idempotent — guarded by the host id, so multiple call sites (the providePrimeNG * initializer resolving, BaseComponent detecting a failed verify) cannot produce * more than one banner per page. * * SSR-safe — short-circuits when `document` is undefined. * * Note: client-side license enforcement is anti-honest-user signaling, not * anti-piracy. The cryptographic signature (Ed25519) is what actually prevents * forging valid tokens. This banner just makes the licensing problem visible * to a legitimate customer whose key needs attention. */ declare function showInvalidLicenseBanner(): void; export { showInvalidLicenseBanner };