ngx-quill
Advanced tools
Comparing version
import type QuillType from 'quill'; | ||
import type DeltaType from 'quill-delta'; | ||
import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; | ||
import { AfterViewInit, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; | ||
import { ControlValueAccessor, Validator } from '@angular/forms'; | ||
@@ -40,3 +40,3 @@ import { CustomModule, CustomOption, QuillBeforeRender, QuillModules } from 'ngx-quill/config'; | ||
}; | ||
export declare abstract class QuillEditorBase implements AfterViewInit, ControlValueAccessor, OnChanges, OnInit, OnDestroy, Validator { | ||
export declare abstract class QuillEditorBase implements AfterViewInit, ControlValueAccessor, OnChanges, OnInit, Validator { | ||
readonly format: import("@angular/core").InputSignal<"object" | "json" | "html" | "text">; | ||
@@ -84,6 +84,5 @@ readonly theme: import("@angular/core").InputSignal<string>; | ||
onValidatorChanged: () => void; | ||
private subscription; | ||
private eventsSubscription; | ||
private quillSubscription; | ||
private elementRef; | ||
private document; | ||
private cd; | ||
@@ -96,2 +95,3 @@ private domSanitizer; | ||
private destroyRef; | ||
constructor(); | ||
static normalizeClassNames(classes: string): string[]; | ||
@@ -105,3 +105,2 @@ valueGetter: import("@angular/core").InputSignal<(quillEditor: QuillType) => string | any>; | ||
editorChangeHandler: (event: "text-change" | "selection-change", current: any | Range | null, old: any | Range | null, source: string) => void; | ||
ngOnDestroy(): void; | ||
ngOnChanges(changes: SimpleChanges): void; | ||
@@ -108,0 +107,0 @@ addClasses(classList: string): void; |
@@ -1,8 +0,5 @@ | ||
import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; | ||
import { QuillService } from './quill.service'; | ||
import { SafeHtml } from '@angular/platform-browser'; | ||
import { OnChanges, SimpleChanges } from '@angular/core'; | ||
import * as i0 from "@angular/core"; | ||
export declare class QuillViewHTMLComponent implements OnChanges { | ||
private sanitizer; | ||
protected service: QuillService; | ||
readonly content: import("@angular/core").InputSignal<string>; | ||
@@ -13,3 +10,4 @@ readonly theme: import("@angular/core").InputSignal<string>; | ||
readonly themeClass: import("@angular/core").WritableSignal<string>; | ||
constructor(sanitizer: DomSanitizer, service: QuillService); | ||
private sanitizer; | ||
private service; | ||
ngOnChanges(changes: SimpleChanges): void; | ||
@@ -16,0 +14,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<QuillViewHTMLComponent, never>; |
import type QuillType from 'quill'; | ||
import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core'; | ||
import { DomSanitizer } from '@angular/platform-browser'; | ||
import { AfterViewInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; | ||
import { CustomModule, CustomOption, QuillBeforeRender, QuillModules } from 'ngx-quill/config'; | ||
import { QuillService } from './quill.service'; | ||
import * as i0 from "@angular/core"; | ||
export declare class QuillViewComponent implements AfterViewInit, OnChanges, OnDestroy { | ||
elementRef: ElementRef; | ||
protected renderer: Renderer2; | ||
protected zone: NgZone; | ||
protected service: QuillService; | ||
protected domSanitizer: DomSanitizer; | ||
protected platformId: any; | ||
export declare class QuillViewComponent implements AfterViewInit, OnChanges { | ||
readonly format: import("@angular/core").InputSignal<"object" | "json" | "html" | "text">; | ||
@@ -28,11 +20,14 @@ readonly theme: import("@angular/core").InputSignal<string>; | ||
editorElem: HTMLElement; | ||
private quillSubscription; | ||
private elementRef; | ||
private renderer; | ||
private ngZone; | ||
private service; | ||
private sanitizer; | ||
private platformId; | ||
private destroyRef; | ||
constructor(elementRef: ElementRef, renderer: Renderer2, zone: NgZone, service: QuillService, domSanitizer: DomSanitizer, platformId: any); | ||
valueSetter: (quillEditor: QuillType, value: any) => any; | ||
ngOnChanges(changes: SimpleChanges): void; | ||
ngAfterViewInit(): void; | ||
ngOnDestroy(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<QuillViewComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<QuillViewComponent, "quill-view", never, { "format": { "alias": "format"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "modules": { "alias": "modules"; "required": false; "isSignal": true; }; "debug": { "alias": "debug"; "required": false; "isSignal": true; }; "formats": { "alias": "formats"; "required": false; "isSignal": true; }; "sanitize": { "alias": "sanitize"; "required": false; "isSignal": true; }; "beforeRender": { "alias": "beforeRender"; "required": false; "isSignal": true; }; "strict": { "alias": "strict"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "customModules": { "alias": "customModules"; "required": false; "isSignal": true; }; "customOptions": { "alias": "customOptions"; "required": false; "isSignal": true; }; }, { "onEditorCreated": "onEditorCreated"; }, never, never, true, never>; | ||
} |
@@ -6,3 +6,2 @@ import { Observable } from 'rxjs'; | ||
readonly config: QuillConfig; | ||
private document; | ||
private Quill; | ||
@@ -9,0 +8,0 @@ private quill$; |
{ | ||
"name": "ngx-quill", | ||
"version": "27.0.2", | ||
"version": "27.1.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
24
14.29%175568
-0.74%1371
-0.58%