import { InplaceContentTemplateContext, InplacePassThrough } from "primeng/types/inplace"; import * as i0 from "@angular/core"; import { TemplateRef } from "@angular/core"; import { BaseComponent } from "primeng/basecomponent"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { BaseStyle } from "primeng/base"; import * as i2 from "primeng/api"; export * from "primeng/types/inplace"; export declare class InplaceStyle extends BaseStyle { name: string; style: string; classes: { root: () => string[]; display: ({ instance }: { instance: any; }) => (string | { 'p-disabled': any; })[]; content: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content. * * [Live Demo](https://www.primeng.org/inplace) * * @module inplacestyle * */ export declare enum InplaceClasses { /** * Class name of the root element */ root = "p-inplace", /** * Class name of the display element */ display = "p-inplace-display", /** * Class name of the content element */ content = "p-inplace-content" } export declare class InplaceDisplay extends BaseComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class InplaceContent extends BaseComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content. * @group Components */ export declare class Inplace extends BaseComponent { componentName: string; $pcInplace: Inplace | undefined; bindDirectiveInstance: Bind; /** * Whether the content is displayed or not. * @group Props */ active: import("@angular/core").WritableSignal; /** * When present, it specifies that the element should be disabled. * @group Props */ disabled: import("@angular/core").InputSignalWithTransform; /** * Allows to prevent clicking. * @group Props */ preventClick: import("@angular/core").InputSignalWithTransform; /** * Callback to invoke when inplace is opened. * @param {Event} event - Browser event. * @group Emits */ onActivate: import("@angular/core").OutputEmitterRef; /** * Callback to invoke when inplace is closed. * @param {Event} event - Browser event. * @group Emits */ onDeactivate: import("@angular/core").OutputEmitterRef; /** * Custom display template. * @group Templates */ displayTemplate: import("@angular/core").Signal | undefined>; /** * Custom content template. * @group Templates */ contentTemplate: import("@angular/core").Signal | undefined>; _componentStyle: InplaceStyle; onAfterViewChecked(): void; onActivateClick(event: MouseEvent): void; onDeactivateClick(event: MouseEvent): void; /** * Activates the content. * @param {Event} event - Browser event. * @group Method */ activate(event?: Event): void; /** * Deactivates the content. * @param {Event} event - Browser event. * @group Method */ deactivate(event?: Event): void; onKeydown(event: KeyboardEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class InplaceModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }