import { InplacePassThrough, InplaceContentTemplateContext } from 'primeng/types/inplace'; export * 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'; 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 * */ 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" } declare class InplaceDisplay extends BaseComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } 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 */ declare class Inplace extends BaseComponent { componentName: string; $pcInplace: Inplace | undefined; bindDirectiveInstance: Bind; /** * Whether the content is displayed or not. * @group Props */ active: i0.WritableSignal; /** * When present, it specifies that the element should be disabled. * @group Props */ disabled: i0.InputSignalWithTransform; /** * Allows to prevent clicking. * @group Props */ preventClick: i0.InputSignalWithTransform; /** * Callback to invoke when inplace is opened. * @param {Event} event - Browser event. * @group Emits */ onActivate: i0.OutputEmitterRef; /** * Callback to invoke when inplace is closed. * @param {Event} event - Browser event. * @group Emits */ onDeactivate: i0.OutputEmitterRef; /** * Custom display template. * @group Templates */ displayTemplate: i0.Signal | undefined>; /** * Custom content template. * @group Templates */ contentTemplate: i0.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; } declare class InplaceModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { Inplace, InplaceClasses, InplaceContent, InplaceDisplay, InplaceModule, InplaceStyle };