ngx-quill
Advanced tools
Comparing version 4.5.1 to 4.5.2-0
@@ -447,4 +447,2 @@ (function (global, factory) { | ||
/** @type {?} */ | ||
var emptyArray = []; | ||
/** @type {?} */ | ||
var defaultModules = { | ||
@@ -462,7 +460,7 @@ toolbar: [ | ||
[ | ||
{ color: emptyArray.slice() }, | ||
{ background: emptyArray.slice() } | ||
{ color: [] }, | ||
{ background: [] } | ||
], | ||
[{ font: emptyArray.slice() }], | ||
[{ align: emptyArray.slice() }], | ||
[{ font: [] }], | ||
[{ align: [] }], | ||
['clean'], | ||
@@ -469,0 +467,0 @@ ['link', 'image', 'video'] // link and image, video |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/common"),require("@angular/platform-browser"),require("@angular/core"),require("@angular/forms")):"function"==typeof define&&define.amd?define("ngx-quill",["exports","@angular/common","@angular/platform-browser","@angular/core","@angular/forms"],e):e(t["ngx-quill"]={},t.ng.common,t.ng.platformBrowser,t.ng.core,t.ng.forms)}(this,function(t,o,e,u,i){"use strict";var n=new u.InjectionToken("config"),l=null,r=function(){function t(t,e,i,n,r,o,s){var l=this;this.elementRef=t,this.domSanitizer=e,this.doc=i,this.platformId=n,this.renderer=r,this.zone=o,this.config=s,this.emptyArray=[],this.format="html",this.theme="snow",this.modules=null,this.readOnly=!1,this.placeholder="Insert text here ...",this.maxLength=null,this.minLength=null,this.required=!1,this.formats=null,this.customToolbarPosition="top",this.sanitize=!1,this.style=null,this.strict=!0,this.scrollingContainer=null,this.customOptions=[],this.onEditorCreated=new u.EventEmitter,this.onContentChanged=new u.EventEmitter,this.onSelectionChanged=new u.EventEmitter,this.disabled=!1,this.valueGetter=function(t,e){var i=e.children[0].innerHTML;"<p><br></p>"!==i&&"<div><br><div>"!==i||(i=null);var n=i;if("text"===l.format)n=t.getText();else if("object"===l.format)n=t.getContents();else if("json"===l.format)try{n=JSON.stringify(t.getContents())}catch(r){n=t.getText()}return n},this.valueSetter=function(t,e){if("html"===l.format)return l.sanitize&&(e=l.domSanitizer.sanitize(u.SecurityContext.HTML,e)),t.clipboard.convert(e);if("json"===l.format)try{return JSON.parse(e)}catch(i){return[{insert:e}]}return e},this.defaultModules=this.config&&this.config.modules||{},this.bounds=this.doc.body}return t.prototype.ngAfterViewInit=function(){var s=this;if(!o.isPlatformServer(this.platformId)){l||(l=require("quill")),"top"===this.customToolbarPosition?this.elementRef.nativeElement.insertAdjacentHTML("beforeend","<div quill-editor-element></div>"):this.elementRef.nativeElement.insertAdjacentHTML("afterbegin","<div quill-editor-element></div>"),this.editorElem=this.elementRef.nativeElement.querySelector("[quill-editor-element]");var t=this.elementRef.nativeElement.querySelector("[quill-editor-toolbar]"),e=this.modules||this.defaultModules,i=this.placeholder;if(null!==this.placeholder&&this.placeholder!==undefined&&(i=this.placeholder.trim()),t&&(e.toolbar=t),this.style&&Object.keys(this.style).forEach(function(t){s.renderer.setStyle(s.editorElem,t,s.style[t])}),this.customOptions.forEach(function(t){var e=l["import"](t["import"]);e.whitelist=t.whitelist,l.register(e,!0)}),this.quillEditor=new l(this.editorElem,{bounds:this.bounds?"self"===this.bounds?this.editorElem:this.bounds:this.doc.body,formats:this.formats,modules:e,placeholder:i,readOnly:this.readOnly,scrollingContainer:this.scrollingContainer,strict:this.strict,theme:this.theme||"snow"}),this.content){if("object"===this.format)this.quillEditor.setContents(this.content,"silent");else if("text"===this.format)this.quillEditor.setText(this.content,"silent");else if("json"===this.format)try{this.quillEditor.setContents(JSON.parse(this.content),"silent")}catch(r){this.quillEditor.setText(this.content,"silent")}else{this.sanitize&&(this.content=this.domSanitizer.sanitize(u.SecurityContext.HTML,this.content));var n=this.quillEditor.clipboard.convert(this.content);this.quillEditor.setContents(n,"silent")}this.quillEditor.history.clear()}this.setDisabledState(),this.onEditorCreated.emit(this.quillEditor),this.selectionChangeEvent=this.quillEditor.on("selection-change",function(t,e,i){s.zone.run(function(){s.onSelectionChanged.emit({editor:s.quillEditor,oldRange:e,range:t,source:i}),!t&&s.onModelTouched&&s.onModelTouched()})}),this.textChangeEvent=this.quillEditor.on("text-change",function(t,e,i){var n=s.quillEditor.getText(),r=s.quillEditor.getContents(),o=s.editorElem.children[0].innerHTML;"<p><br></p>"!==o&&"<div><br><div>"!==o||(o=null),s.zone.run(function(){"user"===i&&s.onModelChange&&s.onModelChange(s.valueGetter(s.quillEditor,s.editorElem)),s.onContentChanged.emit({content:r,delta:t,editor:s.quillEditor,html:o,oldDelta:e,source:i,text:n})})})}},t.prototype.ngOnDestroy=function(){this.selectionChangeEvent&&this.selectionChangeEvent.removeListener("selection-change"),this.textChangeEvent&&this.textChangeEvent.removeListener("text-change")},t.prototype.ngOnChanges=function(t){var e=this;if(this.quillEditor&&(t.readOnly&&this.quillEditor.enable(!t.readOnly.currentValue),t.placeholder&&(this.quillEditor.root.dataset.placeholder=t.placeholder.currentValue),t.style)){var i=t.style.currentValue,n=t.style.previousValue;n&&Object.keys(n).forEach(function(t){e.renderer.removeStyle(e.editorElem,t)}),i&&Object.keys(i).forEach(function(t){e.renderer.setStyle(e.editorElem,t,e.style[t])})}},t.prototype.writeValue=function(t){if(this.content=t,this.quillEditor){if(t)return void("text"===this.format?this.quillEditor.setText(t):this.quillEditor.setContents(this.valueSetter(this.quillEditor,this.content)));this.quillEditor.setText("")}},t.prototype.setDisabledState=function(t){void 0===t&&(t=this.disabled),this.disabled=t,this.quillEditor&&(t?(this.quillEditor.disable(),this.renderer.setAttribute(this.elementRef.nativeElement,"disabled","disabled")):(this.readOnly||this.quillEditor.enable(),this.renderer.removeAttribute(this.elementRef.nativeElement,"disabled")))},t.prototype.registerOnChange=function(t){this.onModelChange=t},t.prototype.registerOnTouched=function(t){this.onModelTouched=t},t.prototype.validate=function(){if(!this.quillEditor)return null;var t={},e=!0,i=this.quillEditor.getText().trim().length;return this.minLength&&i&&i<this.minLength&&(e=!(t.minLengthError={given:i,minLength:this.minLength})),this.maxLength&&i>this.maxLength&&(e=!(t.maxLengthError={given:i,maxLength:this.maxLength})),this.required&&!i&&(e=!(t.requiredError={empty:!0})),e?null:t},t.decorators=[{type:u.Component,args:[{encapsulation:u.ViewEncapsulation.None,providers:[{multi:!0,provide:i.NG_VALUE_ACCESSOR,useExisting:u.forwardRef(function(){return t})},{multi:!0,provide:i.NG_VALIDATORS,useExisting:u.forwardRef(function(){return t})}],selector:"quill-editor",template:'\n <ng-content select="[quill-editor-toolbar]"></ng-content>\n'}]}],t.ctorParameters=function(){return[{type:u.ElementRef},{type:e.DomSanitizer},{type:undefined,decorators:[{type:u.Inject,args:[o.DOCUMENT]}]},{type:Object,decorators:[{type:u.Inject,args:[u.PLATFORM_ID]}]},{type:u.Renderer2},{type:u.NgZone},{type:undefined,decorators:[{type:u.Inject,args:[n]}]}]},t.propDecorators={format:[{type:u.Input}],theme:[{type:u.Input}],modules:[{type:u.Input}],readOnly:[{type:u.Input}],placeholder:[{type:u.Input}],maxLength:[{type:u.Input}],minLength:[{type:u.Input}],required:[{type:u.Input}],formats:[{type:u.Input}],customToolbarPosition:[{type:u.Input}],sanitize:[{type:u.Input}],style:[{type:u.Input}],strict:[{type:u.Input}],scrollingContainer:[{type:u.Input}],bounds:[{type:u.Input}],customOptions:[{type:u.Input}],onEditorCreated:[{type:u.Output}],onContentChanged:[{type:u.Output}],onSelectionChanged:[{type:u.Output}],valueGetter:[{type:u.Input}],valueSetter:[{type:u.Input}]},t}(),s=[],a={toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:s.slice()},{background:s.slice()}],[{font:s.slice()}],[{align:s.slice()}],["clean"],["link","image","video"]]},d={modules:a},h=function(){function e(){}return e.forRoot=function(t){return{ngModule:e,providers:[{provide:n,useValue:t||{modules:a}}]}},e.decorators=[{type:u.NgModule,args:[{declarations:[r],exports:[r],imports:[],providers:[{provide:n,useValue:d}]}]}],e}();t.QuillModule=h,t.QuillEditorComponent=r,t.QUILL_CONFIG_TOKEN=n,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/common"),require("@angular/platform-browser"),require("@angular/core"),require("@angular/forms")):"function"==typeof define&&define.amd?define("ngx-quill",["exports","@angular/common","@angular/platform-browser","@angular/core","@angular/forms"],e):e(t["ngx-quill"]={},t.ng.common,t.ng.platformBrowser,t.ng.core,t.ng.forms)}(this,function(t,o,e,u,i){"use strict";var n=new u.InjectionToken("config"),l=null,r=function(){function t(t,e,i,n,r,o,s){var l=this;this.elementRef=t,this.domSanitizer=e,this.doc=i,this.platformId=n,this.renderer=r,this.zone=o,this.config=s,this.emptyArray=[],this.format="html",this.theme="snow",this.modules=null,this.readOnly=!1,this.placeholder="Insert text here ...",this.maxLength=null,this.minLength=null,this.required=!1,this.formats=null,this.customToolbarPosition="top",this.sanitize=!1,this.style=null,this.strict=!0,this.scrollingContainer=null,this.customOptions=[],this.onEditorCreated=new u.EventEmitter,this.onContentChanged=new u.EventEmitter,this.onSelectionChanged=new u.EventEmitter,this.disabled=!1,this.valueGetter=function(t,e){var i=e.children[0].innerHTML;"<p><br></p>"!==i&&"<div><br><div>"!==i||(i=null);var n=i;if("text"===l.format)n=t.getText();else if("object"===l.format)n=t.getContents();else if("json"===l.format)try{n=JSON.stringify(t.getContents())}catch(r){n=t.getText()}return n},this.valueSetter=function(t,e){if("html"===l.format)return l.sanitize&&(e=l.domSanitizer.sanitize(u.SecurityContext.HTML,e)),t.clipboard.convert(e);if("json"===l.format)try{return JSON.parse(e)}catch(i){return[{insert:e}]}return e},this.defaultModules=this.config&&this.config.modules||{},this.bounds=this.doc.body}return t.prototype.ngAfterViewInit=function(){var s=this;if(!o.isPlatformServer(this.platformId)){l||(l=require("quill")),"top"===this.customToolbarPosition?this.elementRef.nativeElement.insertAdjacentHTML("beforeend","<div quill-editor-element></div>"):this.elementRef.nativeElement.insertAdjacentHTML("afterbegin","<div quill-editor-element></div>"),this.editorElem=this.elementRef.nativeElement.querySelector("[quill-editor-element]");var t=this.elementRef.nativeElement.querySelector("[quill-editor-toolbar]"),e=this.modules||this.defaultModules,i=this.placeholder;if(null!==this.placeholder&&this.placeholder!==undefined&&(i=this.placeholder.trim()),t&&(e.toolbar=t),this.style&&Object.keys(this.style).forEach(function(t){s.renderer.setStyle(s.editorElem,t,s.style[t])}),this.customOptions.forEach(function(t){var e=l["import"](t["import"]);e.whitelist=t.whitelist,l.register(e,!0)}),this.quillEditor=new l(this.editorElem,{bounds:this.bounds?"self"===this.bounds?this.editorElem:this.bounds:this.doc.body,formats:this.formats,modules:e,placeholder:i,readOnly:this.readOnly,scrollingContainer:this.scrollingContainer,strict:this.strict,theme:this.theme||"snow"}),this.content){if("object"===this.format)this.quillEditor.setContents(this.content,"silent");else if("text"===this.format)this.quillEditor.setText(this.content,"silent");else if("json"===this.format)try{this.quillEditor.setContents(JSON.parse(this.content),"silent")}catch(r){this.quillEditor.setText(this.content,"silent")}else{this.sanitize&&(this.content=this.domSanitizer.sanitize(u.SecurityContext.HTML,this.content));var n=this.quillEditor.clipboard.convert(this.content);this.quillEditor.setContents(n,"silent")}this.quillEditor.history.clear()}this.setDisabledState(),this.onEditorCreated.emit(this.quillEditor),this.selectionChangeEvent=this.quillEditor.on("selection-change",function(t,e,i){s.zone.run(function(){s.onSelectionChanged.emit({editor:s.quillEditor,oldRange:e,range:t,source:i}),!t&&s.onModelTouched&&s.onModelTouched()})}),this.textChangeEvent=this.quillEditor.on("text-change",function(t,e,i){var n=s.quillEditor.getText(),r=s.quillEditor.getContents(),o=s.editorElem.children[0].innerHTML;"<p><br></p>"!==o&&"<div><br><div>"!==o||(o=null),s.zone.run(function(){"user"===i&&s.onModelChange&&s.onModelChange(s.valueGetter(s.quillEditor,s.editorElem)),s.onContentChanged.emit({content:r,delta:t,editor:s.quillEditor,html:o,oldDelta:e,source:i,text:n})})})}},t.prototype.ngOnDestroy=function(){this.selectionChangeEvent&&this.selectionChangeEvent.removeListener("selection-change"),this.textChangeEvent&&this.textChangeEvent.removeListener("text-change")},t.prototype.ngOnChanges=function(t){var e=this;if(this.quillEditor&&(t.readOnly&&this.quillEditor.enable(!t.readOnly.currentValue),t.placeholder&&(this.quillEditor.root.dataset.placeholder=t.placeholder.currentValue),t.style)){var i=t.style.currentValue,n=t.style.previousValue;n&&Object.keys(n).forEach(function(t){e.renderer.removeStyle(e.editorElem,t)}),i&&Object.keys(i).forEach(function(t){e.renderer.setStyle(e.editorElem,t,e.style[t])})}},t.prototype.writeValue=function(t){if(this.content=t,this.quillEditor){if(t)return void("text"===this.format?this.quillEditor.setText(t):this.quillEditor.setContents(this.valueSetter(this.quillEditor,this.content)));this.quillEditor.setText("")}},t.prototype.setDisabledState=function(t){void 0===t&&(t=this.disabled),this.disabled=t,this.quillEditor&&(t?(this.quillEditor.disable(),this.renderer.setAttribute(this.elementRef.nativeElement,"disabled","disabled")):(this.readOnly||this.quillEditor.enable(),this.renderer.removeAttribute(this.elementRef.nativeElement,"disabled")))},t.prototype.registerOnChange=function(t){this.onModelChange=t},t.prototype.registerOnTouched=function(t){this.onModelTouched=t},t.prototype.validate=function(){if(!this.quillEditor)return null;var t={},e=!0,i=this.quillEditor.getText().trim().length;return this.minLength&&i&&i<this.minLength&&(e=!(t.minLengthError={given:i,minLength:this.minLength})),this.maxLength&&i>this.maxLength&&(e=!(t.maxLengthError={given:i,maxLength:this.maxLength})),this.required&&!i&&(e=!(t.requiredError={empty:!0})),e?null:t},t.decorators=[{type:u.Component,args:[{encapsulation:u.ViewEncapsulation.None,providers:[{multi:!0,provide:i.NG_VALUE_ACCESSOR,useExisting:u.forwardRef(function(){return t})},{multi:!0,provide:i.NG_VALIDATORS,useExisting:u.forwardRef(function(){return t})}],selector:"quill-editor",template:'\n <ng-content select="[quill-editor-toolbar]"></ng-content>\n'}]}],t.ctorParameters=function(){return[{type:u.ElementRef},{type:e.DomSanitizer},{type:undefined,decorators:[{type:u.Inject,args:[o.DOCUMENT]}]},{type:Object,decorators:[{type:u.Inject,args:[u.PLATFORM_ID]}]},{type:u.Renderer2},{type:u.NgZone},{type:undefined,decorators:[{type:u.Inject,args:[n]}]}]},t.propDecorators={format:[{type:u.Input}],theme:[{type:u.Input}],modules:[{type:u.Input}],readOnly:[{type:u.Input}],placeholder:[{type:u.Input}],maxLength:[{type:u.Input}],minLength:[{type:u.Input}],required:[{type:u.Input}],formats:[{type:u.Input}],customToolbarPosition:[{type:u.Input}],sanitize:[{type:u.Input}],style:[{type:u.Input}],strict:[{type:u.Input}],scrollingContainer:[{type:u.Input}],bounds:[{type:u.Input}],customOptions:[{type:u.Input}],onEditorCreated:[{type:u.Output}],onContentChanged:[{type:u.Output}],onSelectionChanged:[{type:u.Output}],valueGetter:[{type:u.Input}],valueSetter:[{type:u.Input}]},t}(),s={toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},a={modules:s},d=function(){function e(){}return e.forRoot=function(t){return{ngModule:e,providers:[{provide:n,useValue:t||{modules:s}}]}},e.decorators=[{type:u.NgModule,args:[{declarations:[r],exports:[r],imports:[],providers:[{provide:n,useValue:a}]}]}],e}();t.QuillModule=d,t.QuillEditorComponent=r,t.QUILL_CONFIG_TOKEN=n,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ngx-quill.umd.min.js.map |
@@ -9,4 +9,2 @@ /** | ||
/** @type {?} */ | ||
const emptyArray = []; | ||
/** @type {?} */ | ||
const defaultModules = { | ||
@@ -24,7 +22,7 @@ toolbar: [ | ||
[ | ||
{ color: emptyArray.slice() }, | ||
{ background: emptyArray.slice() } | ||
{ color: [] }, | ||
{ background: [] } | ||
], | ||
[{ font: emptyArray.slice() }], | ||
[{ align: emptyArray.slice() }], | ||
[{ font: [] }], | ||
[{ align: [] }], | ||
['clean'], | ||
@@ -68,2 +66,2 @@ ['link', 'image', 'video'] // link and image, video | ||
export { ɵ0 }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVpbGwubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LXF1aWxsLyIsInNvdXJjZXMiOlsic3JjL3F1aWxsLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUF1QixRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUE7QUFFN0QsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMEJBQTBCLENBQUE7QUFDL0QsT0FBTyxFQUFFLGtCQUFrQixFQUFlLE1BQU0sMkJBQTJCLENBQUE7O01BRXJFLFVBQVUsR0FBVSxFQUFFOztNQUN0QixjQUFjLEdBQUc7SUFDckIsT0FBTyxFQUFFO1FBQ1AsQ0FBQyxNQUFNLEVBQUUsUUFBUSxFQUFFLFdBQVcsRUFBRSxRQUFRLENBQUM7UUFDekMsQ0FBQyxZQUFZLEVBQUUsWUFBWSxDQUFDO1FBRTVCLENBQUMsRUFBRSxNQUFNLEVBQUUsQ0FBQyxFQUFFLEVBQUUsRUFBRSxNQUFNLEVBQUUsQ0FBQyxFQUFFLENBQUM7UUFDOUIsQ0FBQyxFQUFFLElBQUksRUFBRSxTQUFTLEVBQUUsRUFBRSxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsQ0FBQztRQUN6QyxDQUFDLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBRSxFQUFFLEVBQUUsTUFBTSxFQUFFLE9BQU8sRUFBRSxDQUFDO1FBQ3hDLENBQUMsRUFBRSxNQUFN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F1aWxsTW9kdWxlIHtcbiAgc3RhdGljIGZvclJvb3QoY29uZmlnPzogUXVpbGxDb25maWcpOiBNb2R1bGVXaXRoUHJvdmlkZXJzIHtcbiAgICByZXR1cm4ge1xuICAgICAgbmdNb2R1bGU6IFF1aWxsTW9kdWxlLFxuICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBwcm92aWRlOiBRVUlMTF9DT05GSUdfVE9LRU4sXG4gICAgICAgICAgdXNlVmFsdWU6IGNvbmZpZyB8fCB7IG1vZHVsZXM6IGRlZmF1bHRNb2R1bGVzIH1cbiAgICAgICAgfVxuICAgICAgXVxuICAgIH1cbiAgfVxufVxuIl19 |
@@ -9,4 +9,2 @@ /** | ||
/** @type {?} */ | ||
var emptyArray = []; | ||
/** @type {?} */ | ||
var defaultModules = { | ||
@@ -24,7 +22,7 @@ toolbar: [ | ||
[ | ||
{ color: emptyArray.slice() }, | ||
{ background: emptyArray.slice() } | ||
{ color: [] }, | ||
{ background: [] } | ||
], | ||
[{ font: emptyArray.slice() }], | ||
[{ align: emptyArray.slice() }], | ||
[{ font: [] }], | ||
[{ align: [] }], | ||
['clean'], | ||
@@ -76,2 +74,2 @@ ['link', 'image', 'video'] // link and image, video | ||
export { ɵ0 }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVpbGwubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LXF1aWxsLyIsInNvdXJjZXMiOlsic3JjL3F1aWxsLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUF1QixRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUE7QUFFN0QsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMEJBQTBCLENBQUE7QUFDL0QsT0FBTyxFQUFFLGtCQUFrQixFQUFlLE1BQU0sMkJBQTJCLENBQUE7O0lBRXJFLFV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sgZm9udDogZW1wdHlBcnJheS5zbGljZSgpIH1dLFxuICAgIFt7IGFsaWduOiBlbXB0eUFycmF5LnNsaWNlKCkgfV0sXG5cbiAgICBbJ2NsZWFuJ10sIC8vIHJlbW92ZSBmb3JtYXR0aW5nIGJ1dHRvblxuXG4gICAgWydsaW5rJywgJ2ltYWdlJywgJ3ZpZGVvJ10gLy8gbGluayBhbmQgaW1hZ2UsIHZpZGVvXG4gIF1cbn1cblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgUXVpbGxFZGl0b3JDb21wb25lbnRcbiAgXSxcbiAgZXhwb3J0czogW1F1aWxsRWRpdG9yQ29tcG9uZW50XSxcbiAgaW1wb3J0czogW10sXG4gIHByb3ZpZGVyczogW1xuICAgIHtcbiAgICAgIHByb3ZpZGU6IFFVSUxMX0NPTkZJR19UT0tFTixcbiAgICAgIHVzZVZhbHVlOiB7IG1vZHVsZXM6IGRlZmF1bHRNb2R1bGVzIH1cbiAgICB9XG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgUXVpbGxNb2R1bGUge1xuICBzdGF0aWMgZm9yUm9vdChjb25maWc/OiBRdWlsbENvbmZpZyk6IE1vZHVsZVdpdGhQcm92aWRlcnMge1xuICAgIHJldHVybiB7XG4gICAgICBuZ01vZHVsZTogUXVpbGxNb2R1bGUsXG4gICAgICBwcm92aWRlcnM6IFtcbiAgICAgICAge1xuICAgICAgICAgIHByb3ZpZGU6IFFVSUxMX0NPTkZJR19UT0tFTixcbiAgICAgICAgICB1c2VWYWx1ZTogY29uZmlnIHx8IHsgbW9kdWxlczogZGVmYXVsdE1vZHVsZXMgfVxuICAgICAgICB9XG4gICAgICBdXG4gICAgfVxuICB9XG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVpbGwubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LXF1aWxsLyIsInNvdXJjZXMiOls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3JvdW5kOiBbXSB9XG4gICAgXSwgLy8gZHJvcGRvd24gd2l0aCBkZWZhdWx0cyBmcm9tIHRoZW1lXG4gICAgW3sgZm9udDogW10gfV0sXG4gICAgW3sgYWxpZ246IFtdIH1dLFxuXG4gICAgWydjbGVhbiddLCAvLyByZW1vdmUgZm9ybWF0dGluZyBidXR0b25cblxuICAgIFsnbGluaycsICdpbWFnZScsICd2aWRlbyddIC8vIGxpbmsgYW5kIGltYWdlLCB2aWRlb1xuICBdXG59XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIFF1aWxsRWRpdG9yQ29tcG9uZW50XG4gIF0sXG4gIGV4cG9ydHM6IFtRdWlsbEVkaXRvckNvbXBvbmVudF0sXG4gIGltcG9ydHM6IFtdLFxuICBwcm92aWRlcnM6IFtcbiAgICB7XG4gICAgICBwcm92aWRlOiBRVUlMTF9DT05GSUdfVE9LRU4sXG4gICAgICB1c2VWYWx1ZTogeyBtb2R1bGVzOiBkZWZhdWx0TW9kdWxlcyB9XG4gICAgfVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIFF1aWxsTW9kdWxlIHtcbiAgc3RhdGljIGZvclJvb3QoY29uZmlnPzogUXVpbGxDb25maWcpOiBNb2R1bGVXaXRoUHJvdmlkZXJzIHtcbiAgICByZXR1cm4ge1xuICAgICAgbmdNb2R1bGU6IFF1aWxsTW9kdWxlLFxuICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBwcm92aWRlOiBRVUlMTF9DT05GSUdfVE9LRU4sXG4gICAgICAgICAgdXNlVmFsdWU6IGNvbmZpZyB8fCB7IG1vZHVsZXM6IGRlZmF1bHRNb2R1bGVzIH1cbiAgICAgICAgfVxuICAgICAgXVxuICAgIH1cbiAgfVxufVxuIl19 |
@@ -420,4 +420,2 @@ import { isPlatformServer, DOCUMENT } from '@angular/common'; | ||
/** @type {?} */ | ||
const emptyArray = []; | ||
/** @type {?} */ | ||
const defaultModules = { | ||
@@ -435,7 +433,7 @@ toolbar: [ | ||
[ | ||
{ color: emptyArray.slice() }, | ||
{ background: emptyArray.slice() } | ||
{ color: [] }, | ||
{ background: [] } | ||
], | ||
[{ font: emptyArray.slice() }], | ||
[{ align: emptyArray.slice() }], | ||
[{ font: [] }], | ||
[{ align: [] }], | ||
['clean'], | ||
@@ -442,0 +440,0 @@ ['link', 'image', 'video'] // link and image, video |
@@ -442,4 +442,2 @@ import { isPlatformServer, DOCUMENT } from '@angular/common'; | ||
/** @type {?} */ | ||
var emptyArray = []; | ||
/** @type {?} */ | ||
var defaultModules = { | ||
@@ -457,7 +455,7 @@ toolbar: [ | ||
[ | ||
{ color: emptyArray.slice() }, | ||
{ background: emptyArray.slice() } | ||
{ color: [] }, | ||
{ background: [] } | ||
], | ||
[{ font: emptyArray.slice() }], | ||
[{ align: emptyArray.slice() }], | ||
[{ font: [] }], | ||
[{ align: [] }], | ||
['clean'], | ||
@@ -464,0 +462,0 @@ ['link', 'image', 'video'] // link and image, video |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"QuillModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":33,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"QuillEditorComponent"}],"exports":[{"__symbolic":"reference","name":"QuillEditorComponent"}],"imports":[],"providers":[{"provide":{"__symbolic":"reference","name":"QUILL_CONFIG_TOKEN"},"useValue":{"modules":{"toolbar":[["bold","italic","underline","strike"],["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":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[],"member":"slice"}}},{"background":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[],"member":"slice"}}}],[{"font":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[],"member":"slice"}}}],[{"align":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[],"member":"slice"}}}],["clean"],["link","image","video"]]}}}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["config"],"value":{"ngModule":{"__symbolic":"reference","name":"QuillModule"},"providers":[{"provide":{"__symbolic":"reference","name":"QUILL_CONFIG_TOKEN"},"useValue":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"reference","name":"config"},"right":{"modules":{"toolbar":[["bold","italic","underline","strike"],["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":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[],"member":"slice"}}},{"background":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[],"member":"slice"}}}],[{"font":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[],"member":"slice"}}}],[{"align":{"__symbolic":"call","expression":{"__symbolic":"select","expression":[],"member":"slice"}}}],["clean"],["link","image","video"]]}}}}]}}}},"CustomOption":{"__symbolic":"interface"},"QuillEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":45,"character":1},"arguments":[{"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":46,"character":17},"member":"None"},"providers":[{"multi":true,"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":50,"character":15},"useExisting":{"__symbolic":"reference","name":"QuillEditorComponent"}},{"multi":true,"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALIDATORS","line":55,"character":15},"useExisting":{"__symbolic":"reference","name":"QuillEditorComponent"}}],"selector":"quill-editor","template":"\n <ng-content select=\"[quill-editor-toolbar]\"></ng-content>\n"}]}],"members":{"format":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":78,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":79,"character":3}}]}],"modules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":81,"character":3}}]}],"readOnly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":3}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":83,"character":3}}]}],"maxLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":3}}]}],"minLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":3}}]}],"formats":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":87,"character":3}}]}],"customToolbarPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":88,"character":3}}]}],"sanitize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":89,"character":3}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}}]}],"strict":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":91,"character":3}}]}],"scrollingContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":92,"character":3}}]}],"bounds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":93,"character":3}}]}],"customOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":94,"character":3}}]}],"onEditorCreated":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":96,"character":3}}]}],"onContentChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":97,"character":3}}]}],"onSelectionChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":98,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":105,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":105,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":107,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":107,"character":12}]}],null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":110,"character":5},"arguments":[{"__symbolic":"reference","name":"QUILL_CONFIG_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":103,"character":24},{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":104,"character":26},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Object"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":108,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":109,"character":18},{"__symbolic":"reference","name":"QuillConfig"}]}],"valueGetter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":116,"character":3}}]}],"valueSetter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":139,"character":3}}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}},"QuillToolbarConfig":{"__symbolic":"interface"},"QuillModules":{"__symbolic":"interface"},"QuillConfig":{"__symbolic":"interface"},"QUILL_CONFIG_TOKEN":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":26,"character":38},"arguments":["config"]}},"origins":{"QuillModule":"./src/quill.module","CustomOption":"./src/quill-editor.component","QuillEditorComponent":"./src/quill-editor.component","QuillToolbarConfig":"./src/quill-editor.interfaces","QuillModules":"./src/quill-editor.interfaces","QuillConfig":"./src/quill-editor.interfaces","QUILL_CONFIG_TOKEN":"./src/quill-editor.interfaces"},"importAs":"ngx-quill"} | ||
{"__symbolic":"module","version":4,"metadata":{"QuillModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":32,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"QuillEditorComponent"}],"exports":[{"__symbolic":"reference","name":"QuillEditorComponent"}],"imports":[],"providers":[{"provide":{"__symbolic":"reference","name":"QUILL_CONFIG_TOKEN"},"useValue":{"modules":{"toolbar":[["bold","italic","underline","strike"],["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":[]},{"background":[]}],[{"font":[]}],[{"align":[]}],["clean"],["link","image","video"]]}}}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["config"],"value":{"ngModule":{"__symbolic":"reference","name":"QuillModule"},"providers":[{"provide":{"__symbolic":"reference","name":"QUILL_CONFIG_TOKEN"},"useValue":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"reference","name":"config"},"right":{"modules":{"toolbar":[["bold","italic","underline","strike"],["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":[]},{"background":[]}],[{"font":[]}],[{"align":[]}],["clean"],["link","image","video"]]}}}}]}}}},"CustomOption":{"__symbolic":"interface"},"QuillEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":45,"character":1},"arguments":[{"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":46,"character":17},"member":"None"},"providers":[{"multi":true,"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":50,"character":15},"useExisting":{"__symbolic":"reference","name":"QuillEditorComponent"}},{"multi":true,"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALIDATORS","line":55,"character":15},"useExisting":{"__symbolic":"reference","name":"QuillEditorComponent"}}],"selector":"quill-editor","template":"\n <ng-content select=\"[quill-editor-toolbar]\"></ng-content>\n"}]}],"members":{"format":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":78,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":79,"character":3}}]}],"modules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":81,"character":3}}]}],"readOnly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":3}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":83,"character":3}}]}],"maxLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":3}}]}],"minLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":3}}]}],"formats":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":87,"character":3}}]}],"customToolbarPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":88,"character":3}}]}],"sanitize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":89,"character":3}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}}]}],"strict":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":91,"character":3}}]}],"scrollingContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":92,"character":3}}]}],"bounds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":93,"character":3}}]}],"customOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":94,"character":3}}]}],"onEditorCreated":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":96,"character":3}}]}],"onContentChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":97,"character":3}}]}],"onSelectionChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":98,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":105,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":105,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":107,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":107,"character":12}]}],null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":110,"character":5},"arguments":[{"__symbolic":"reference","name":"QUILL_CONFIG_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":103,"character":24},{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":104,"character":26},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Object"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":108,"character":22},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":109,"character":18},{"__symbolic":"reference","name":"QuillConfig"}]}],"valueGetter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":116,"character":3}}]}],"valueSetter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":139,"character":3}}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}},"QuillToolbarConfig":{"__symbolic":"interface"},"QuillModules":{"__symbolic":"interface"},"QuillConfig":{"__symbolic":"interface"},"QUILL_CONFIG_TOKEN":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":26,"character":38},"arguments":["config"]}},"origins":{"QuillModule":"./src/quill.module","CustomOption":"./src/quill-editor.component","QuillEditorComponent":"./src/quill-editor.component","QuillToolbarConfig":"./src/quill-editor.interfaces","QuillModules":"./src/quill-editor.interfaces","QuillConfig":"./src/quill-editor.interfaces","QUILL_CONFIG_TOKEN":"./src/quill-editor.interfaces"},"importAs":"ngx-quill"} |
{ | ||
"name": "ngx-quill", | ||
"license": "MIT", | ||
"version": "4.5.1", | ||
"version": "4.5.2-0", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Bengt Weiße" |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
304510
2866
2