1 | import { ElementRef, AfterViewInit, EventEmitter, QueryList, AfterContentInit, TemplateRef } from '@angular/core';
|
---|
2 | import { ControlValueAccessor } from '@angular/forms';
|
---|
3 | import * as i0 from "@angular/core";
|
---|
4 | import * as i1 from "@angular/common";
|
---|
5 | import * as i2 from "primeng/api";
|
---|
6 | export declare const EDITOR_VALUE_ACCESSOR: any;
|
---|
7 | export declare class Editor implements AfterViewInit, AfterContentInit, ControlValueAccessor {
|
---|
8 | el: ElementRef;
|
---|
9 | onTextChange: EventEmitter<any>;
|
---|
10 | onSelectionChange: EventEmitter<any>;
|
---|
11 | toolbar: any;
|
---|
12 | style: any;
|
---|
13 | styleClass: string;
|
---|
14 | placeholder: string;
|
---|
15 | formats: string[];
|
---|
16 | modules: any;
|
---|
17 | bounds: any;
|
---|
18 | scrollingContainer: any;
|
---|
19 | debug: string;
|
---|
20 | onInit: EventEmitter<any>;
|
---|
21 | templates: QueryList<any>;
|
---|
22 | value: string;
|
---|
23 | _readonly: boolean;
|
---|
24 | onModelChange: Function;
|
---|
25 | onModelTouched: Function;
|
---|
26 | quill: any;
|
---|
27 | headerTemplate: TemplateRef<any>;
|
---|
28 | constructor(el: ElementRef);
|
---|
29 | ngAfterViewInit(): void;
|
---|
30 | ngAfterContentInit(): void;
|
---|
31 | writeValue(value: any): void;
|
---|
32 | registerOnChange(fn: Function): void;
|
---|
33 | registerOnTouched(fn: Function): void;
|
---|
34 | getQuill(): any;
|
---|
35 | get readonly(): boolean;
|
---|
36 | set readonly(val: boolean);
|
---|
37 | static ɵfac: i0.ɵɵFactoryDeclaration<Editor, never>;
|
---|
38 | static ɵcmp: i0.ɵɵComponentDeclaration<Editor, "p-editor", never, { "style": "style"; "styleClass": "styleClass"; "placeholder": "placeholder"; "formats": "formats"; "modules": "modules"; "bounds": "bounds"; "scrollingContainer": "scrollingContainer"; "debug": "debug"; "readonly": "readonly"; }, { "onTextChange": "onTextChange"; "onSelectionChange": "onSelectionChange"; "onInit": "onInit"; }, ["toolbar", "templates"], ["p-header"]>;
|
---|
39 | }
|
---|
40 | export declare class EditorModule {
|
---|
41 | static ɵfac: i0.ɵɵFactoryDeclaration<EditorModule, never>;
|
---|
42 | static ɵmod: i0.ɵɵNgModuleDeclaration<EditorModule, [typeof Editor], [typeof i1.CommonModule], [typeof Editor, typeof i2.SharedModule]>;
|
---|
43 | static ɵinj: i0.ɵɵInjectorDeclaration<EditorModule>;
|
---|
44 | }
|
---|