ngx-quill
Advanced tools
Comparing version 2.1.2 to 2.2.0
@@ -118,12 +118,15 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
['blockquote', 'code-block'], | ||
[{ 'header': 1 }, { 'header': 2 }], | ||
[{ 'list': 'ordered' }, { 'list': 'bullet' }], | ||
[{ 'script': 'sub' }, { 'script': 'super' }], | ||
[{ 'indent': '-1' }, { 'indent': '+1' }], | ||
[{ 'direction': 'rtl' }], | ||
[{ 'size': ['small', false, 'large', 'huge'] }], | ||
[{ 'header': [1, 2, 3, 4, 5, 6, false] }], | ||
[{ 'color': this.emptyArray.slice() }, { 'background': this.emptyArray.slice() }], | ||
[{ 'font': this.emptyArray.slice() }], | ||
[{ 'align': this.emptyArray.slice() }], | ||
[{ header: 1 }, { header: 2 }], | ||
[{ list: 'ordered' }, { list: 'bullet' }], | ||
[{ script: 'sub' }, { script: 'super' }], | ||
[{ indent: '-1' }, { indent: '+1' }], | ||
[{ direction: 'rtl' }], | ||
[{ size: ['small', false, 'large', 'huge'] }], | ||
[{ header: [1, 2, 3, 4, 5, 6, false] }], | ||
[ | ||
{ color: this.emptyArray.slice() }, | ||
{ background: this.emptyArray.slice() } | ||
], | ||
[{ font: this.emptyArray.slice() }], | ||
[{ align: this.emptyArray.slice() }], | ||
['clean'], | ||
@@ -139,2 +142,12 @@ ['link', 'image', 'video'] // link and image, video | ||
this.onSelectionChanged = new core_1.EventEmitter(); | ||
this.valueGetter = function (quillEditor, editorElement) { | ||
var html = editorElement.children[0].innerHTML; | ||
if (html === '<p><br></p>' || html === '<div><br><div>') { | ||
html = null; | ||
} | ||
return html; | ||
}; | ||
this.valueSetter = function (quillEditor, value) { | ||
return quillEditor.clipboard.convert(value); | ||
}; | ||
this.onModelChange = function () { }; | ||
@@ -173,3 +186,3 @@ this.onModelTouched = function () { }; | ||
formats: this.formats, | ||
bounds: this.bounds || this.doc.body, | ||
bounds: this.bounds ? (this.bounds === 'self' ? this.editorElem : this.bounds) : this.doc.body, | ||
strict: this.strict, | ||
@@ -200,9 +213,9 @@ scrollingContainer: this.scrollingContainer | ||
this.quillEditor.on('text-change', function (delta, oldDelta, source) { | ||
var text = _this.quillEditor.getText(); | ||
var html = _this.editorElem.children[0].innerHTML; | ||
var text = _this.quillEditor.getText(); | ||
if (html === '<p><br></p>') { | ||
if (html === '<p><br></p>' || html === '<div><br><div>') { | ||
html = null; | ||
} | ||
_this.zone.run(function () { | ||
_this.onModelChange(html); | ||
_this.onModelChange(_this.valueGetter(_this.quillEditor, _this.editorElem)); | ||
_this.onContentChanged.emit({ | ||
@@ -227,3 +240,4 @@ editor: _this.quillEditor, | ||
if (changes['placeholder']) { | ||
this.quillEditor.root.dataset.placeholder = changes['placeholder'].currentValue; | ||
this.quillEditor.root.dataset.placeholder = | ||
changes['placeholder'].currentValue; | ||
} | ||
@@ -235,3 +249,3 @@ }; | ||
if (currentValue) { | ||
this.quillEditor.setContents(this.quillEditor.clipboard.convert(this.content)); | ||
this.quillEditor.setContents(this.valueSetter(this.quillEditor, this.content)); | ||
return; | ||
@@ -340,2 +354,10 @@ } | ||
], QuillEditorComponent.prototype, "onSelectionChanged", void 0); | ||
__decorate([ | ||
core_1.Input(), | ||
__metadata("design:type", Object) | ||
], QuillEditorComponent.prototype, "valueGetter", void 0); | ||
__decorate([ | ||
core_1.Input(), | ||
__metadata("design:type", Object) | ||
], QuillEditorComponent.prototype, "valueSetter", void 0); | ||
QuillEditorComponent = QuillEditorComponent_1 = __decorate([ | ||
@@ -345,11 +367,14 @@ core_1.Component({ | ||
template: "\n <ng-content select=\"[quill-editor-toolbar]\"></ng-content>\n", | ||
providers: [{ | ||
providers: [ | ||
{ | ||
provide: forms_1.NG_VALUE_ACCESSOR, | ||
useExisting: core_1.forwardRef(function () { return QuillEditorComponent_1; }), | ||
multi: true | ||
}, { | ||
}, | ||
{ | ||
provide: forms_1.NG_VALIDATORS, | ||
useExisting: core_1.forwardRef(function () { return QuillEditorComponent_1; }), | ||
multi: true | ||
}], | ||
} | ||
], | ||
encapsulation: core_1.ViewEncapsulation.None | ||
@@ -365,3 +390,3 @@ }), | ||
exports.QuillEditorComponent = QuillEditorComponent; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVpbGwtZWRpdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInF1aWxsLWVkaXRvci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7QUFBQSxzQ0FhdUI7QUFFdkIsd0NBS3dCO0FBQ3hCLHNDQUF1QztBQUN2Qyw4REFBcUQ7QUFFckQsc0NBQXdDO0FBQ3hDLElBQUksS0FBSyxHQUFRLGNBQWMsQ0FBQztBQXVCaEM7SUFtREUsOEJBQ1UsVUFBc0IsRUFDSixHQUFRLEVBQzFCLFFBQW1CLEVBQ25CLElBQVk7UUFIWixlQUFVLEdBQVYsVUFBVSxDQUFZO1FBQ0osUUFBRyxHQUFILEdBQUcsQ0FBSztRQUMxQixhQUFRLEdBQVIsUUFBUSxDQUFXO1FBQ25CLFNBQUksR0FBSixJQUFJLENBQVE7UUFuRHRCLGVBQVUsR0FBVSxFQUFFLENBQUM7UUFFdkIsbUJBQWMsR0FBRztZQUNmLE9BQU8sRUFBRTtnQkFDUCxDQUFDLE1BQU0sRUFBRSxRQUFRLEVBQUUsV0FBVyxFQUFFLFFBQVEsQ0FBQztnQkFDekMsQ0FBQyxZQUFZLEVBQUUsWUFBWSxDQUFDO2dCQUU1QixDQUFDLEVBQUUsUUFBUSxFQUFFLENBQUMsRUFBRSxFQUFFLEVBQUUsUUFBUSxFQUFFLENBQUMsRUFBRSxDQUFDO2dCQUNsQyxDQUFDLEVBQUUsTUFBTSxFQUFFLFNBQVMsRUFBQyxFQUFFLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxDQUFDO2dCQUM1QyxDQUFDLEVBQUUsUUFBUSxFQUF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UUsbUVBRVg7WUFDQyxTQUFTLEVBQUU7Z0JBQ1Q7b0JBQ0UsT0FBTyxFQUFFLHlCQUFpQjtvQkFDMUIsV0FBVyxFQUFFLGlCQUFVLENBQUMsY0FBTSxPQUFBLHNCQUFvQixFQUFwQixDQUFvQixDQUFDO29CQUNuRCxLQUFLLEVBQUUsSUFBSTtpQkFDWjtnQkFDRDtvQkFDRSxPQUFPLEVBQUUscUJBQWE7b0JBQ3RCLFdBQVcsRUFBRSxpQkFBVSxDQUFDLGNBQU0sT0FBQSxzQkFBb0IsRUFBcEIsQ0FBb0IsQ0FBQztvQkFDbkQsS0FBSyxFQUFFLElBQUk7aUJBQ1o7YUFDRjtZQUNELGFBQWEsRUFBRSx3QkFBaUIsQ0FBQyxJQUFJO1NBQ3RDLENBQUM7UUFxRUcsV0FBQSxhQUFNLENBQUMsMkJBQVEsQ0FBQyxDQUFBO3lDQURHLGlCQUFVLFVBRVosZ0JBQVM7WUFDYixhQUFNO09BdEVYLG9CQUFvQixDQTRQaEM7SUFBRCwyQkFBQzs7Q0FBQSxBQTVQRCxJQTRQQztBQTVQWSxvREFBb0IifQ== | ||
@@ -368,0 +393,0 @@ /***/ }), |
@@ -118,12 +118,15 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
['blockquote', 'code-block'], | ||
[{ 'header': 1 }, { 'header': 2 }], | ||
[{ 'list': 'ordered' }, { 'list': 'bullet' }], | ||
[{ 'script': 'sub' }, { 'script': 'super' }], | ||
[{ 'indent': '-1' }, { 'indent': '+1' }], | ||
[{ 'direction': 'rtl' }], | ||
[{ 'size': ['small', false, 'large', 'huge'] }], | ||
[{ 'header': [1, 2, 3, 4, 5, 6, false] }], | ||
[{ 'color': this.emptyArray.slice() }, { 'background': this.emptyArray.slice() }], | ||
[{ 'font': this.emptyArray.slice() }], | ||
[{ 'align': this.emptyArray.slice() }], | ||
[{ header: 1 }, { header: 2 }], | ||
[{ list: 'ordered' }, { list: 'bullet' }], | ||
[{ script: 'sub' }, { script: 'super' }], | ||
[{ indent: '-1' }, { indent: '+1' }], | ||
[{ direction: 'rtl' }], | ||
[{ size: ['small', false, 'large', 'huge'] }], | ||
[{ header: [1, 2, 3, 4, 5, 6, false] }], | ||
[ | ||
{ color: this.emptyArray.slice() }, | ||
{ background: this.emptyArray.slice() } | ||
], | ||
[{ font: this.emptyArray.slice() }], | ||
[{ align: this.emptyArray.slice() }], | ||
['clean'], | ||
@@ -139,2 +142,12 @@ ['link', 'image', 'video'] // link and image, video | ||
this.onSelectionChanged = new core_1.EventEmitter(); | ||
this.valueGetter = function (quillEditor, editorElement) { | ||
var html = editorElement.children[0].innerHTML; | ||
if (html === '<p><br></p>' || html === '<div><br><div>') { | ||
html = null; | ||
} | ||
return html; | ||
}; | ||
this.valueSetter = function (quillEditor, value) { | ||
return quillEditor.clipboard.convert(value); | ||
}; | ||
this.onModelChange = function () { }; | ||
@@ -173,3 +186,3 @@ this.onModelTouched = function () { }; | ||
formats: this.formats, | ||
bounds: this.bounds || this.doc.body, | ||
bounds: this.bounds ? (this.bounds === 'self' ? this.editorElem : this.bounds) : this.doc.body, | ||
strict: this.strict, | ||
@@ -200,9 +213,9 @@ scrollingContainer: this.scrollingContainer | ||
this.quillEditor.on('text-change', function (delta, oldDelta, source) { | ||
var text = _this.quillEditor.getText(); | ||
var html = _this.editorElem.children[0].innerHTML; | ||
var text = _this.quillEditor.getText(); | ||
if (html === '<p><br></p>') { | ||
if (html === '<p><br></p>' || html === '<div><br><div>') { | ||
html = null; | ||
} | ||
_this.zone.run(function () { | ||
_this.onModelChange(html); | ||
_this.onModelChange(_this.valueGetter(_this.quillEditor, _this.editorElem)); | ||
_this.onContentChanged.emit({ | ||
@@ -227,3 +240,4 @@ editor: _this.quillEditor, | ||
if (changes['placeholder']) { | ||
this.quillEditor.root.dataset.placeholder = changes['placeholder'].currentValue; | ||
this.quillEditor.root.dataset.placeholder = | ||
changes['placeholder'].currentValue; | ||
} | ||
@@ -235,3 +249,3 @@ }; | ||
if (currentValue) { | ||
this.quillEditor.setContents(this.quillEditor.clipboard.convert(this.content)); | ||
this.quillEditor.setContents(this.valueSetter(this.quillEditor, this.content)); | ||
return; | ||
@@ -340,2 +354,10 @@ } | ||
], QuillEditorComponent.prototype, "onSelectionChanged", void 0); | ||
__decorate([ | ||
core_1.Input(), | ||
__metadata("design:type", Object) | ||
], QuillEditorComponent.prototype, "valueGetter", void 0); | ||
__decorate([ | ||
core_1.Input(), | ||
__metadata("design:type", Object) | ||
], QuillEditorComponent.prototype, "valueSetter", void 0); | ||
QuillEditorComponent = QuillEditorComponent_1 = __decorate([ | ||
@@ -345,11 +367,14 @@ core_1.Component({ | ||
template: "\n <ng-content select=\"[quill-editor-toolbar]\"></ng-content>\n", | ||
providers: [{ | ||
providers: [ | ||
{ | ||
provide: forms_1.NG_VALUE_ACCESSOR, | ||
useExisting: core_1.forwardRef(function () { return QuillEditorComponent_1; }), | ||
multi: true | ||
}, { | ||
}, | ||
{ | ||
provide: forms_1.NG_VALIDATORS, | ||
useExisting: core_1.forwardRef(function () { return QuillEditorComponent_1; }), | ||
multi: true | ||
}], | ||
} | ||
], | ||
encapsulation: core_1.ViewEncapsulation.None | ||
@@ -365,3 +390,3 @@ }), | ||
exports.QuillEditorComponent = QuillEditorComponent; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVpbGwtZWRpdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInF1aWxsLWVkaXRvci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7QUFBQSxzQ0FhdUI7QUFFdkIsd0NBS3dCO0FBQ3hCLHNDQUF1QztBQUN2Qyw4REFBcUQ7QUFFckQsc0NBQXdDO0FBQ3hDLElBQUksS0FBSyxHQUFRLGNBQWMsQ0FBQztBQXVCaEM7SUFtREUsOEJBQ1UsVUFBc0IsRUF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sQ0FBQyxDQUFBO3lDQURHLGlCQUFVLFVBRVosZ0JBQVM7WUFDYixhQUFNO09BdEVYLG9CQUFvQixDQTRQaEM7SUFBRCwyQkFBQzs7Q0FBQSxBQTVQRCxJQTRQQztBQTVQWSxvREFBb0IifQ== | ||
@@ -368,0 +393,0 @@ /***/ }), |
{ | ||
"name": "ngx-quill", | ||
"license": "MIT", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Bengt Weiße" |
@@ -37,3 +37,3 @@ # ngx-quill [![Build Status](https://travis-ci.org/KillerCodeMonkey/ngx-quill.svg?branch=develop)](https://travis-ci.org/KillerCodeMonkey/ngx-quill) | ||
- use `<quill-editor></quill-editor>` in your templates to add a default quill editor | ||
- do not forget to include quill + theme css in your buildproess, module or index.html! | ||
- do not forget to include quill + theme css in your buildprocess, module or index.html! | ||
@@ -98,3 +98,3 @@ ### For SystemJS builds (Config) | ||
- placeholder - placeholder text, default is `Insert text here ...` | ||
- bounds - boundary of the editor, default `document.body` | ||
- bounds - boundary of the editor, default `document.body`, pass 'self' to attach the editor element | ||
- maxLength - add valdiation for maxlength - set model state to `invalid` and add `ng-invalid` class | ||
@@ -101,0 +101,0 @@ - minLength - add valdiation for minlength - set model state to `invalid` and add `ng-invalid` class, only set invalid if editor text not empty --> if you want to check if text is required --> use the required attribute |
@@ -18,23 +18,23 @@ import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnChanges, Renderer2, SimpleChanges } from '@angular/core'; | ||
toolbar: (string[] | { | ||
'header': number; | ||
header: number; | ||
}[] | { | ||
'list': string; | ||
list: string; | ||
}[] | { | ||
'script': string; | ||
script: string; | ||
}[] | { | ||
'indent': string; | ||
indent: string; | ||
}[] | { | ||
'direction': string; | ||
direction: string; | ||
}[] | { | ||
'size': (string | boolean)[]; | ||
size: (string | boolean)[]; | ||
}[] | { | ||
'header': (number | boolean)[]; | ||
header: (number | boolean)[]; | ||
}[] | ({ | ||
'color': any[]; | ||
color: any[]; | ||
} | { | ||
'background': any[]; | ||
background: any[]; | ||
})[] | { | ||
'font': any[]; | ||
font: any[]; | ||
}[] | { | ||
'align': any[]; | ||
align: any[]; | ||
}[])[]; | ||
@@ -60,2 +60,4 @@ }; | ||
onSelectionChanged: EventEmitter<any>; | ||
valueGetter: (quillEditor: any, editorElement: HTMLElement) => any; | ||
valueSetter: (quillEditor: any, value: any) => any; | ||
onModelChange: Function; | ||
@@ -62,0 +64,0 @@ onModelTouched: Function; |
@@ -19,18 +19,21 @@ import { Component, ElementRef, EventEmitter, forwardRef, Input, NgZone, Output, Renderer2, ViewEncapsulation } from '@angular/core'; | ||
['blockquote', 'code-block'], | ||
[{ 'header': 1 }, { 'header': 2 }], | ||
[{ header: 1 }, { header: 2 }], | ||
// custom button values | ||
[{ 'list': 'ordered' }, { 'list': 'bullet' }], | ||
[{ 'script': 'sub' }, { 'script': 'super' }], | ||
[{ list: 'ordered' }, { list: 'bullet' }], | ||
[{ script: 'sub' }, { script: 'super' }], | ||
// superscript/subscript | ||
[{ 'indent': '-1' }, { 'indent': '+1' }], | ||
[{ indent: '-1' }, { indent: '+1' }], | ||
// outdent/indent | ||
[{ 'direction': 'rtl' }], | ||
[{ direction: 'rtl' }], | ||
// text direction | ||
[{ 'size': ['small', false, 'large', 'huge'] }], | ||
[{ size: ['small', false, 'large', 'huge'] }], | ||
// custom dropdown | ||
[{ 'header': [1, 2, 3, 4, 5, 6, false] }], | ||
[{ 'color': this.emptyArray.slice() }, { 'background': this.emptyArray.slice() }], | ||
[{ header: [1, 2, 3, 4, 5, 6, false] }], | ||
[ | ||
{ color: this.emptyArray.slice() }, | ||
{ background: this.emptyArray.slice() } | ||
], | ||
// dropdown with defaults from theme | ||
[{ 'font': this.emptyArray.slice() }], | ||
[{ 'align': this.emptyArray.slice() }], | ||
[{ font: this.emptyArray.slice() }], | ||
[{ align: this.emptyArray.slice() }], | ||
['clean'], | ||
@@ -47,2 +50,12 @@ // remove formatting button | ||
this.onSelectionChanged = new EventEmitter(); | ||
this.valueGetter = function (quillEditor, editorElement) { | ||
var html = editorElement.children[0].innerHTML; | ||
if (html === '<p><br></p>' || html === '<div><br><div>') { | ||
html = null; | ||
} | ||
return html; | ||
}; | ||
this.valueSetter = function (quillEditor, value) { | ||
return quillEditor.clipboard.convert(value); | ||
}; | ||
this.onModelChange = function () { }; | ||
@@ -80,3 +93,3 @@ this.onModelTouched = function () { }; | ||
formats: this.formats, | ||
bounds: this.bounds || this.doc.body, | ||
bounds: this.bounds ? (this.bounds === 'self' ? this.editorElem : this.bounds) : this.doc.body, | ||
strict: this.strict, | ||
@@ -107,9 +120,9 @@ scrollingContainer: this.scrollingContainer | ||
this.quillEditor.on('text-change', function (delta, oldDelta, source) { | ||
var text = _this.quillEditor.getText(); | ||
var html = _this.editorElem.children[0].innerHTML; | ||
var text = _this.quillEditor.getText(); | ||
if (html === '<p><br></p>') { | ||
if (html === '<p><br></p>' || html === '<div><br><div>') { | ||
html = null; | ||
} | ||
_this.zone.run(function () { | ||
_this.onModelChange(html); | ||
_this.onModelChange(_this.valueGetter(_this.quillEditor, _this.editorElem)); | ||
_this.onContentChanged.emit({ | ||
@@ -134,3 +147,4 @@ editor: _this.quillEditor, | ||
if (changes['placeholder']) { | ||
this.quillEditor.root.dataset.placeholder = changes['placeholder'].currentValue; | ||
this.quillEditor.root.dataset.placeholder = | ||
changes['placeholder'].currentValue; | ||
} | ||
@@ -142,3 +156,3 @@ }; | ||
if (currentValue) { | ||
this.quillEditor.setContents(this.quillEditor.clipboard.convert(this.content)); | ||
this.quillEditor.setContents(this.valueSetter(this.quillEditor, this.content)); | ||
return; | ||
@@ -187,11 +201,14 @@ } | ||
template: "\n <ng-content select=\"[quill-editor-toolbar]\"></ng-content>\n", | ||
providers: [{ | ||
providers: [ | ||
{ | ||
provide: NG_VALUE_ACCESSOR, | ||
useExisting: forwardRef(function () { return QuillEditorComponent; }), | ||
multi: true | ||
}, { | ||
}, | ||
{ | ||
provide: NG_VALIDATORS, | ||
useExisting: forwardRef(function () { return QuillEditorComponent; }), | ||
multi: true | ||
}], | ||
} | ||
], | ||
encapsulation: ViewEncapsulation.None | ||
@@ -224,2 +241,4 @@ },] }, | ||
"onSelectionChanged": [{ type: Output },], | ||
"valueGetter": [{ type: Input },], | ||
"valueSetter": [{ type: Input },], | ||
}; | ||
@@ -226,0 +245,0 @@ return QuillEditorComponent; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"CustomOption":{"__symbolic":"interface"},"QuillEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":32,"character":1},"arguments":[{"selector":"quill-editor","template":"\n <ng-content select=\"[quill-editor-toolbar]\"></ng-content>\n","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":38,"character":13},"useExisting":{"__symbolic":"reference","name":"QuillEditorComponent"},"multi":true},{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALIDATORS","line":42,"character":13},"useExisting":{"__symbolic":"reference","name":"QuillEditorComponent"},"multi":true}],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":46,"character":17},"member":"None"}}]}],"members":{"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":78,"character":3}}]}],"modules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":79,"character":3}}]}],"readOnly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":80,"character":3}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":81,"character":3}}]}],"maxLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":3}}]}],"minLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":83,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":3}}]}],"formats":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":3}}]}],"strict":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":87,"character":3}}]}],"scrollingContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":88,"character":3}}]}],"bounds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":89,"character":3}}]}],"customOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}}]}],"onEditorCreated":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":92,"character":3}}]}],"onContentChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":93,"character":3}}]}],"onSelectionChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":94,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":101,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DOCUMENT","line":101,"character":12}]}],null,null],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":100,"character":24},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":102,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":103,"character":18}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"CustomOption":{"__symbolic":"interface"},"QuillEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":32,"character":1},"arguments":[{"selector":"quill-editor","template":"\n <ng-content select=\"[quill-editor-toolbar]\"></ng-content>\n","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":39,"character":15},"useExisting":{"__symbolic":"reference","name":"QuillEditorComponent"},"multi":true},{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALIDATORS","line":44,"character":15},"useExisting":{"__symbolic":"reference","name":"QuillEditorComponent"},"multi":true}],"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":49,"character":17},"member":"None"}}]}],"members":{"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":3}}]}],"modules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"readOnly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":3}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":87,"character":3}}]}],"maxLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":88,"character":3}}]}],"minLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":89,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}}]}],"formats":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":91,"character":3}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":92,"character":3}}]}],"strict":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":93,"character":3}}]}],"scrollingContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":94,"character":3}}]}],"bounds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":95,"character":3}}]}],"customOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":96,"character":3}}]}],"onEditorCreated":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":98,"character":3}}]}],"onContentChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":99,"character":3}}]}],"onSelectionChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":100,"character":3}}]}],"valueGetter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":101,"character":3}}]}],"valueSetter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":109,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":119,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DOCUMENT","line":119,"character":12}]}],null,null],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":118,"character":24},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":120,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":121,"character":18}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}}}}] |
@@ -16,4 +16,4 @@ /** | ||
export function View_QuillEditorComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, "quill-editor", [], null, null, null, View_QuillEditorComponent_0, RenderType_QuillEditorComponent)), i0.ɵprd(5120, null, i1.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i2.QuillEditorComponent]), i0.ɵprd(5120, null, i1.NG_VALIDATORS, function (p0_0) { return [p0_0]; }, [i2.QuillEditorComponent]), i0.ɵdid(3, 4767744, null, 0, i2.QuillEditorComponent, [i0.ElementRef, i3.DOCUMENT, i0.Renderer2, i0.NgZone], null, null)], null, null); } | ||
var QuillEditorComponentNgFactory = i0.ɵccf("quill-editor", i2.QuillEditorComponent, View_QuillEditorComponent_Host_0, { theme: "theme", modules: "modules", readOnly: "readOnly", placeholder: "placeholder", maxLength: "maxLength", minLength: "minLength", required: "required", formats: "formats", style: "style", strict: "strict", scrollingContainer: "scrollingContainer", bounds: "bounds", customOptions: "customOptions" }, { onEditorCreated: "onEditorCreated", onContentChanged: "onContentChanged", onSelectionChanged: "onSelectionChanged" }, ["[quill-editor-toolbar]"]); | ||
var QuillEditorComponentNgFactory = i0.ɵccf("quill-editor", i2.QuillEditorComponent, View_QuillEditorComponent_Host_0, { theme: "theme", modules: "modules", readOnly: "readOnly", placeholder: "placeholder", maxLength: "maxLength", minLength: "minLength", required: "required", formats: "formats", style: "style", strict: "strict", scrollingContainer: "scrollingContainer", bounds: "bounds", customOptions: "customOptions", valueGetter: "valueGetter", valueSetter: "valueSetter" }, { onEditorCreated: "onEditorCreated", onContentChanged: "onContentChanged", onSelectionChanged: "onSelectionChanged" }, ["[quill-editor-toolbar]"]); | ||
export { QuillEditorComponentNgFactory as QuillEditorComponentNgFactory }; | ||
//# sourceMappingURL=quill-editor.component.ngfactory.js.map |
@@ -1,1 +0,1 @@ | ||
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":1,"members":[]},"metadata":{"__symbolic":"class","members":{"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":78,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"modules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":79,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"readOnly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":80,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":81,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"maxLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":82,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"minLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":83,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":84,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"formats":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":85,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":86,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"strict":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":87,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"scrollingContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":88,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"bounds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":89,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"customOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":90,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"onEditorCreated":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":92,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"onContentChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":93,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"onSelectionChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":94,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":4,"members":[]},"line":101,"character":5,"fileName":"src/quill-editor.component.ts"},"arguments":[{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":101,"character":12,"fileName":"src/quill-editor.component.ts"}]}],null,null],"parameters":[{"__symbolic":"resolved","symbol":{"__symbol":6,"members":[]},"line":100,"character":24,"fileName":"src/quill-editor.component.ts"},null,{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":102,"character":22,"fileName":"src/quill-editor.component.ts"},{"__symbolic":"resolved","symbol":{"__symbol":8,"members":[]},"line":103,"character":18,"fileName":"src/quill-editor.component.ts"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":1,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":5,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":8,"members":[]}}}}],"lifecycleHooks":[3,6]},"isComponent":true,"selector":"quill-editor","exportAs":null,"inputs":{"theme":"theme","modules":"modules","readOnly":"readOnly","placeholder":"placeholder","maxLength":"maxLength","minLength":"minLength","required":"required","formats":"formats","style":"style","strict":"strict","scrollingContainer":"scrollingContainer","bounds":"bounds","customOptions":"customOptions"},"outputs":{"onEditorCreated":"onEditorCreated","onContentChanged":"onContentChanged","onSelectionChanged":"onSelectionChanged"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[{"token":{"identifier":{"reference":{"__symbol":9,"members":[]}}},"useClass":null,"useFactory":null,"useExisting":{"identifier":{"reference":{"__symbol":1,"members":[]}}},"multi":true},{"token":{"identifier":{"reference":{"__symbol":10,"members":[]}}},"useClass":null,"useFactory":null,"useExisting":{"identifier":{"reference":{"__symbol":1,"members":[]}}},"multi":true}],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["[quill-editor-toolbar]"],"encapsulation":2},"componentViewType":{"__symbol":11,"members":[]},"rendererType":{"__symbol":12,"members":[]},"componentFactory":{"__symbol":13,"members":[]}}}],"symbols":[{"__symbol":0,"name":"CustomOption","filePath":"./quill-editor.component"},{"__symbol":1,"name":"QuillEditorComponent","filePath":"./quill-editor.component"},{"__symbol":2,"name":"Input","filePath":"@angular/core/core"},{"__symbol":3,"name":"Output","filePath":"@angular/core/core"},{"__symbol":4,"name":"Inject","filePath":"@angular/core/core"},{"__symbol":5,"name":"DOCUMENT","filePath":"@angular/platform-browser/platform-browser"},{"__symbol":6,"name":"ElementRef","filePath":"@angular/core/core"},{"__symbol":7,"name":"Renderer2","filePath":"@angular/core/core"},{"__symbol":8,"name":"NgZone","filePath":"@angular/core/core"},{"__symbol":9,"name":"NG_VALUE_ACCESSOR","filePath":"@angular/forms/forms"},{"__symbol":10,"name":"NG_VALIDATORS","filePath":"@angular/forms/forms"},{"__symbol":11,"name":"View_QuillEditorComponent_0","filePath":"./quill-editor.component.ngfactory"},{"__symbol":12,"name":"RenderType_QuillEditorComponent","filePath":"./quill-editor.component.ngfactory"},{"__symbol":13,"name":"QuillEditorComponentNgFactory","filePath":"./quill-editor.component.ngfactory"}]} | ||
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":1,"members":[]},"metadata":{"__symbolic":"class","members":{"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":84,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"modules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":85,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"readOnly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":86,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":87,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"maxLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":88,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"minLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":89,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":90,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"formats":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":91,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":92,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"strict":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":93,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"scrollingContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":94,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"bounds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":95,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"customOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":96,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"onEditorCreated":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":98,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"onContentChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":99,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"onSelectionChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":100,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"valueGetter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":101,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"valueSetter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":109,"character":3,"fileName":"src/quill-editor.component.ts"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":4,"members":[]},"line":119,"character":5,"fileName":"src/quill-editor.component.ts"},"arguments":[{"__symbolic":"resolved","symbol":{"__symbol":5,"members":[]},"line":119,"character":12,"fileName":"src/quill-editor.component.ts"}]}],null,null],"parameters":[{"__symbolic":"resolved","symbol":{"__symbol":6,"members":[]},"line":118,"character":24,"fileName":"src/quill-editor.component.ts"},null,{"__symbolic":"resolved","symbol":{"__symbol":7,"members":[]},"line":120,"character":22,"fileName":"src/quill-editor.component.ts"},{"__symbolic":"resolved","symbol":{"__symbol":8,"members":[]},"line":121,"character":18,"fileName":"src/quill-editor.component.ts"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":1,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":5,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":8,"members":[]}}}}],"lifecycleHooks":[3,6]},"isComponent":true,"selector":"quill-editor","exportAs":null,"inputs":{"theme":"theme","modules":"modules","readOnly":"readOnly","placeholder":"placeholder","maxLength":"maxLength","minLength":"minLength","required":"required","formats":"formats","style":"style","strict":"strict","scrollingContainer":"scrollingContainer","bounds":"bounds","customOptions":"customOptions","valueGetter":"valueGetter","valueSetter":"valueSetter"},"outputs":{"onEditorCreated":"onEditorCreated","onContentChanged":"onContentChanged","onSelectionChanged":"onSelectionChanged"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[{"token":{"identifier":{"reference":{"__symbol":9,"members":[]}}},"useClass":null,"useFactory":null,"useExisting":{"identifier":{"reference":{"__symbol":1,"members":[]}}},"multi":true},{"token":{"identifier":{"reference":{"__symbol":10,"members":[]}}},"useClass":null,"useFactory":null,"useExisting":{"identifier":{"reference":{"__symbol":1,"members":[]}}},"multi":true}],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["[quill-editor-toolbar]"],"encapsulation":2},"componentViewType":{"__symbol":11,"members":[]},"rendererType":{"__symbol":12,"members":[]},"componentFactory":{"__symbol":13,"members":[]}}}],"symbols":[{"__symbol":0,"name":"CustomOption","filePath":"./quill-editor.component"},{"__symbol":1,"name":"QuillEditorComponent","filePath":"./quill-editor.component"},{"__symbol":2,"name":"Input","filePath":"@angular/core/core"},{"__symbol":3,"name":"Output","filePath":"@angular/core/core"},{"__symbol":4,"name":"Inject","filePath":"@angular/core/core"},{"__symbol":5,"name":"DOCUMENT","filePath":"@angular/platform-browser/platform-browser"},{"__symbol":6,"name":"ElementRef","filePath":"@angular/core/core"},{"__symbol":7,"name":"Renderer2","filePath":"@angular/core/core"},{"__symbol":8,"name":"NgZone","filePath":"@angular/core/core"},{"__symbol":9,"name":"NG_VALUE_ACCESSOR","filePath":"@angular/forms/forms"},{"__symbol":10,"name":"NG_VALIDATORS","filePath":"@angular/forms/forms"},{"__symbol":11,"name":"View_QuillEditorComponent_0","filePath":"./quill-editor.component.ngfactory"},{"__symbol":12,"name":"RenderType_QuillEditorComponent","filePath":"./quill-editor.component.ngfactory"},{"__symbol":13,"name":"QuillEditorComponentNgFactory","filePath":"./quill-editor.component.ngfactory"}]} |
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
105721
1330