ngx-quill
Advanced tools
Comparing version 26.0.8 to 26.0.9
@@ -11,7 +11,7 @@ import { InjectionToken } from '@angular/core'; | ||
} | ||
export type QuillToolbarConfig = Array<Array<string | { | ||
export type QuillToolbarConfig = (string | { | ||
indent?: string; | ||
list?: string; | ||
direction?: string; | ||
header?: number | Array<boolean | number>; | ||
header?: number | (boolean | number)[]; | ||
color?: string[] | string; | ||
@@ -22,6 +22,4 @@ background?: string[] | string; | ||
font?: string[] | string; | ||
size?: Array<boolean | string>; | ||
} | { | ||
[index: string]: string | number | boolean | Array<boolean | string | number>; | ||
}>>; | ||
size?: (boolean | string)[]; | ||
} | Record<string, string | number | boolean | (boolean | string | number)[]>)[][]; | ||
export interface QuillModules { | ||
@@ -47,5 +45,3 @@ [key: string]: any; | ||
container?: string | string[] | QuillToolbarConfig; | ||
handlers?: { | ||
[key: string]: any; | ||
}; | ||
handlers?: Record<string, any>; | ||
} | boolean; | ||
@@ -52,0 +48,0 @@ } |
@@ -5,3 +5,3 @@ import type QuillType from 'quill'; | ||
import { ControlValueAccessor, Validator } from '@angular/forms'; | ||
import { QuillModules, CustomOption, CustomModule } from 'ngx-quill/config'; | ||
import { CustomModule, CustomOption, QuillModules } from 'ngx-quill/config'; | ||
import * as i0 from "@angular/core"; | ||
@@ -42,6 +42,6 @@ export interface Range { | ||
export declare abstract class QuillEditorBase implements AfterViewInit, ControlValueAccessor, OnChanges, OnInit, OnDestroy, Validator { | ||
readonly format: import("@angular/core").InputSignal<"object" | "json" | "html" | "text">; | ||
readonly format: import("@angular/core").InputSignal<"object" | "html" | "text" | "json">; | ||
readonly theme: import("@angular/core").InputSignal<string>; | ||
readonly modules: import("@angular/core").InputSignal<QuillModules>; | ||
readonly debug: import("@angular/core").InputSignal<false | "error" | "warn" | "log">; | ||
readonly debug: import("@angular/core").InputSignal<false | "warn" | "log" | "error">; | ||
readonly readOnly: import("@angular/core").InputSignal<boolean>; | ||
@@ -103,3 +103,3 @@ readonly placeholder: import("@angular/core").InputSignal<string>; | ||
textChangeHandler: (delta: DeltaType, oldDelta: DeltaType, source: string) => void; | ||
editorChangeHandler: (event: 'text-change' | 'selection-change', current: any | Range | null, old: any | Range | null, source: string) => void; | ||
editorChangeHandler: (event: "text-change" | "selection-change", current: any | Range | null, old: any | Range | null, source: string) => void; | ||
ngOnDestroy(): void; | ||
@@ -106,0 +106,0 @@ ngOnChanges(changes: SimpleChanges): void; |
@@ -14,6 +14,6 @@ import type QuillType from 'quill'; | ||
protected platformId: any; | ||
readonly format: import("@angular/core").InputSignal<"object" | "json" | "html" | "text">; | ||
readonly format: import("@angular/core").InputSignal<"object" | "html" | "text" | "json">; | ||
readonly theme: import("@angular/core").InputSignal<string>; | ||
readonly modules: import("@angular/core").InputSignal<QuillModules>; | ||
readonly debug: import("@angular/core").InputSignal<false | "error" | "warn" | "log">; | ||
readonly debug: import("@angular/core").InputSignal<false | "warn" | "log" | "error">; | ||
readonly formats: import("@angular/core").InputSignal<string[]>; | ||
@@ -20,0 +20,0 @@ readonly sanitize: import("@angular/core").InputSignal<boolean>; |
import { Injector } from '@angular/core'; | ||
import { Observable } from 'rxjs'; | ||
import { QuillConfig, CustomModule } from 'ngx-quill/config'; | ||
import { CustomModule, QuillConfig } from 'ngx-quill/config'; | ||
import * as i0 from "@angular/core"; | ||
@@ -5,0 +5,0 @@ export declare class QuillService { |
{ | ||
"name": "ngx-quill", | ||
"version": "26.0.8", | ||
"version": "26.0.9", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -36,3 +36,3 @@ # ngx-quill ![Build Status](https://github.com/KillerCodeMonkey/ngx-quill/workflows/CI/badge.svg) | ||
<td> | ||
v17 | ||
v17.1 | ||
</td> | ||
@@ -39,0 +39,0 @@ <td> |
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
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
340592
2426