ngx-quill
Advanced tools
Comparing version 26.0.9 to 26.0.10
import { InjectionToken } from '@angular/core'; | ||
import type { QuillOptions } from 'quill'; | ||
import type { Observable } from 'rxjs'; | ||
export interface CustomOption { | ||
@@ -47,2 +48,3 @@ import: string; | ||
export type QuillFormat = 'object' | 'json' | 'html' | 'text'; | ||
export type QuillBeforeRender = (() => Promise<any>) | (() => Observable<any>); | ||
export interface QuillConfig { | ||
@@ -64,4 +66,4 @@ bounds?: HTMLElement | string; | ||
sanitize?: boolean; | ||
beforeRender?: () => Promise<any>; | ||
beforeRender?: QuillBeforeRender; | ||
} | ||
export declare const QUILL_CONFIG_TOKEN: InjectionToken<QuillConfig>; |
@@ -5,3 +5,3 @@ import type QuillType from 'quill'; | ||
import { ControlValueAccessor, Validator } from '@angular/forms'; | ||
import { CustomModule, CustomOption, QuillModules } from 'ngx-quill/config'; | ||
import { CustomModule, CustomOption, QuillBeforeRender, QuillModules } from 'ngx-quill/config'; | ||
import * as i0 from "@angular/core"; | ||
@@ -45,3 +45,3 @@ export interface Range { | ||
readonly modules: import("@angular/core").InputSignal<QuillModules>; | ||
readonly debug: import("@angular/core").InputSignal<false | "warn" | "log" | "error">; | ||
readonly debug: import("@angular/core").InputSignal<false | "error" | "warn" | "log">; | ||
readonly readOnly: import("@angular/core").InputSignal<boolean>; | ||
@@ -55,3 +55,3 @@ readonly placeholder: import("@angular/core").InputSignal<string>; | ||
readonly sanitize: import("@angular/core").InputSignal<boolean>; | ||
readonly beforeRender: import("@angular/core").InputSignal<() => Promise<any> | undefined>; | ||
readonly beforeRender: import("@angular/core").InputSignal<QuillBeforeRender>; | ||
readonly styles: import("@angular/core").InputSignal<any>; | ||
@@ -58,0 +58,0 @@ readonly registry: import("@angular/core").InputSignal<import("parchment").Registry>; |
import type QuillType from 'quill'; | ||
import { AfterViewInit, ElementRef, OnChanges, Renderer2, SimpleChanges, NgZone, OnDestroy, EventEmitter } from '@angular/core'; | ||
import { CustomOption, CustomModule, QuillModules } from 'ngx-quill/config'; | ||
import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core'; | ||
import { DomSanitizer } from '@angular/platform-browser'; | ||
import { CustomModule, CustomOption, QuillBeforeRender, QuillModules } from 'ngx-quill/config'; | ||
import { QuillService } from './quill.service'; | ||
import { DomSanitizer } from '@angular/platform-browser'; | ||
import * as i0 from "@angular/core"; | ||
@@ -17,6 +17,6 @@ export declare class QuillViewComponent implements AfterViewInit, OnChanges, OnDestroy { | ||
readonly modules: import("@angular/core").InputSignal<QuillModules>; | ||
readonly debug: import("@angular/core").InputSignal<false | "warn" | "log" | "error">; | ||
readonly debug: import("@angular/core").InputSignal<false | "error" | "warn" | "log">; | ||
readonly formats: import("@angular/core").InputSignal<string[]>; | ||
readonly sanitize: import("@angular/core").InputSignal<boolean>; | ||
readonly beforeRender: import("@angular/core").InputSignal<() => Promise<any> | undefined>; | ||
readonly beforeRender: import("@angular/core").InputSignal<QuillBeforeRender>; | ||
readonly strict: import("@angular/core").InputSignal<boolean>; | ||
@@ -23,0 +23,0 @@ readonly content: import("@angular/core").InputSignal<any>; |
@@ -1,2 +0,1 @@ | ||
import { Injector } from '@angular/core'; | ||
import { Observable } from 'rxjs'; | ||
@@ -6,17 +5,14 @@ import { CustomModule, QuillConfig } from 'ngx-quill/config'; | ||
export declare class QuillService { | ||
config: QuillConfig; | ||
readonly config: QuillConfig; | ||
private document; | ||
private Quill; | ||
private document; | ||
private quill$; | ||
constructor(injector: Injector, config: QuillConfig); | ||
private registeredModules; | ||
getQuill(): Observable<any>; | ||
/** | ||
* Marked as internal so it won't be available for `ngx-quill` consumers, this is only | ||
* internal method to be used within the library. | ||
* | ||
* @internal | ||
*/ | ||
registerCustomModules(Quill: any, customModules: CustomModule[] | undefined, suppressGlobalRegisterWarning?: boolean): Promise<any>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<QuillService, [null, { optional: true; }]>; | ||
/** @internal */ | ||
beforeRender(Quill: any, customModules: CustomModule[] | undefined, beforeRender?: import("ngx-quill/config").QuillBeforeRender): Observable<any>; | ||
/** @internal */ | ||
private registerCustomModules; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<QuillService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<QuillService>; | ||
} |
{ | ||
"name": "ngx-quill", | ||
"version": "26.0.9", | ||
"version": "26.0.10", | ||
"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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
342691
2422