ngx-quill
Advanced tools
Comparing version 8.1.3 to 8.1.4
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/platform-browser'), require('@angular/forms')) : | ||
typeof define === 'function' && define.amd ? define('ngx-quill', ['exports', '@angular/common', '@angular/core', '@angular/platform-browser', '@angular/forms'], factory) : | ||
(global = global || self, factory(global['ngx-quill'] = {}, global.ng.common, global.ng.core, global.ng.platformBrowser, global.ng.forms)); | ||
}(this, (function (exports, common, core, platformBrowser, forms) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('quill'), require('@angular/platform-browser'), require('@angular/forms')) : | ||
typeof define === 'function' && define.amd ? define('ngx-quill', ['exports', '@angular/common', '@angular/core', 'quill', '@angular/platform-browser', '@angular/forms'], factory) : | ||
(global = global || self, factory(global['ngx-quill'] = {}, global.ng.common, global.ng.core, global.quill, global.ng.platformBrowser, global.ng.forms)); | ||
}(this, (function (exports, common, core, quill, platformBrowser, forms) { 'use strict'; | ||
quill = quill && Object.prototype.hasOwnProperty.call(quill, 'default') ? quill['default'] : quill; | ||
/*! ***************************************************************************** | ||
@@ -437,3 +439,3 @@ Copyright (c) Microsoft Corporation. All rights reserved. | ||
this.zone.runOutsideAngular(function () { | ||
Quill = require('quill'); | ||
Quill = quill; | ||
}); | ||
@@ -888,3 +890,3 @@ } | ||
this.zone.runOutsideAngular(function () { | ||
Quill$1 = require('quill'); | ||
Quill$1 = quill; | ||
}); | ||
@@ -891,0 +893,0 @@ } |
@@ -1,16 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/common"),require("@angular/core"),require("@angular/platform-browser"),require("@angular/forms")):"function"==typeof define&&define.amd?define("ngx-quill",["exports","@angular/common","@angular/core","@angular/platform-browser","@angular/forms"],e):e((t=t||self)["ngx-quill"]={},t.ng.common,t.ng.core,t.ng.platformBrowser,t.ng.forms)}(this,(function(t,e,i,n,o){"use strict"; | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */function r(t,e,i,n){var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s}function s(t,e){return function(i,n){e(i,n,t)}}function l(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,o,r=i.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=r.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(o)throw o.error}}return s}var 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:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},u=new i.InjectionToken("config"),d=function(t,e){return t||e||"html"},c=null,h=function(){function t(t,e,n,o,r,s,l){var a=this;this.elementRef=t,this.domSanitizer=e,this.doc=n,this.platformId=o,this.renderer=r,this.zone=s,this.config=l,this.required=!1,this.customToolbarPosition="top",this.sanitize=!1,this.styles=null,this.strict=!0,this.customOptions=[],this.preserveWhitespace=!1,this.trimOnValidation=!1,this.onEditorCreated=new i.EventEmitter,this.onEditorChanged=new i.EventEmitter,this.onContentChanged=new i.EventEmitter,this.onSelectionChanged=new i.EventEmitter,this.onFocus=new i.EventEmitter,this.onBlur=new i.EventEmitter,this.disabled=!1,this.valueGetter=function(t,e){var i=e.querySelector(".ql-editor").innerHTML;"<p><br></p>"!==i&&"<div><br></div>"!==i||(i=null);var n=i,o=d(a.format,a.config.format);if("text"===o)n=t.getText();else if("object"===o)n=t.getContents();else if("json"===o)try{n=JSON.stringify(t.getContents())}catch(e){n=t.getText()}return n},this.valueSetter=function(t,e){var n=d(a.format,a.config.format);if("html"===n)return a.sanitize&&(e=a.domSanitizer.sanitize(i.SecurityContext.HTML,e)),t.clipboard.convert(e);if("json"===n)try{return JSON.parse(e)}catch(t){return[{insert:e}]}return e},this.selectionChangeHandler=function(t,e,i){var n=!t&&a.onModelTouched;(a.onBlur.observers.length||a.onFocus.observers.length||a.onSelectionChanged.observers.length||n)&&a.zone.run((function(){null===t?a.onBlur.emit({editor:a.quillEditor,source:i}):null===e&&a.onFocus.emit({editor:a.quillEditor,source:i}),a.onSelectionChanged.emit({editor:a.quillEditor,oldRange:e,range:t,source:i}),n&&a.onModelTouched()}))},this.textChangeHandler=function(t,e,i){var n=a.quillEditor.getText(),o=a.quillEditor.getContents(),r=a.editorElem.querySelector(".ql-editor").innerHTML;"<p><br></p>"!==r&&"<div><br></div>"!==r||(r=null);var s=a.trackChanges||a.config.trackChanges,l=(i===c.sources.USER||s&&"all"===s)&&a.onModelChange;(a.onContentChanged.observers.length||l)&&a.zone.run((function(){l&&a.onModelChange(a.valueGetter(a.quillEditor,a.editorElem)),a.onContentChanged.emit({content:o,delta:t,editor:a.quillEditor,html:r,oldDelta:e,source:i,text:n})}))},this.editorChangeHandler=function(t,e,i,n){if(a.onEditorChanged.observers.length)if("text-change"===t){var o=a.quillEditor.getText(),r=a.quillEditor.getContents(),s=a.editorElem.querySelector(".ql-editor").innerHTML;"<p><br></p>"!==s&&"<div><br></div>"!==s||(s=null),a.zone.run((function(){a.onEditorChanged.emit({content:r,delta:e,editor:a.quillEditor,event:t,html:s,oldDelta:i,source:n,text:o})}))}else a.onEditorChanged.emit({editor:a.quillEditor,event:t,oldRange:i,range:e,source:n})}}var h;return h=t,t.normalizeClassNames=function(t){return t.trim().split(" ").reduce((function(t,e){var i=e.trim();return i&&t.push(i),t}),[])},t.prototype.onModelChange=function(t){},t.prototype.onModelTouched=function(){},t.prototype.onValidatorChanged=function(){},t.prototype.ngAfterViewInit=function(){var t=this;if(!e.isPlatformServer(this.platformId)){c||this.zone.runOutsideAngular((function(){c=require("quill")})),this.elementRef.nativeElement.insertAdjacentHTML("top"===this.customToolbarPosition?"beforeend":"afterbegin",this.preserveWhitespace?"<pre quill-editor-element></pre>":"<div quill-editor-element></div>"),this.editorElem=this.elementRef.nativeElement.querySelector("[quill-editor-element]");var n=this.elementRef.nativeElement.querySelector("[quill-editor-toolbar]"),o=Object.assign({},this.modules||this.config.modules||a);n?o.toolbar=n:void 0===o.toolbar&&(o.toolbar=a.toolbar);var r=void 0!==this.placeholder?this.placeholder:this.config.placeholder;void 0===r&&(r="Insert text here ..."),this.styles&&Object.keys(this.styles).forEach((function(e){t.renderer.setStyle(t.editorElem,e,t.styles[e])})),this.classes&&this.addClasses(this.classes),this.customOptions.forEach((function(t){var e=c.import(t.import);e.whitelist=t.whitelist,c.register(e,!0)}));var s=this.bounds&&"self"===this.bounds?this.editorElem:this.bounds;s||(s=this.config.bounds?this.config.bounds:this.doc.body);var u=this.debug;!u&&!1!==u&&this.config.debug&&(u=this.config.debug);var h=this.readOnly;h||!1===this.readOnly||(h=void 0!==this.config.readOnly&&this.config.readOnly);var p=this.scrollingContainer;p||null===this.scrollingContainer||(p=null===this.config.scrollingContainer||this.config.scrollingContainer?this.config.scrollingContainer:null);var f=this.formats;if(f||void 0!==f||(f=this.config.formats?function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}(this.config.formats):null===this.config.formats?null:void 0),this.zone.runOutsideAngular((function(){t.quillEditor=new c(t.editorElem,{bounds:s,debug:u,formats:f,modules:o,placeholder:r,readOnly:h,scrollingContainer:p,strict:t.strict,theme:t.theme||(t.config.theme?t.config.theme:"snow")})})),this.content){var m=d(this.format,this.config.format);if("object"===m)this.quillEditor.setContents(this.content,"silent");else if("text"===m)this.quillEditor.setText(this.content,"silent");else if("json"===m)try{this.quillEditor.setContents(JSON.parse(this.content),"silent")}catch(t){this.quillEditor.setText(this.content,"silent")}else{this.sanitize&&(this.content=this.domSanitizer.sanitize(i.SecurityContext.HTML,this.content));var g=this.quillEditor.clipboard.convert(this.content);this.quillEditor.setContents(g,"silent")}this.quillEditor.history.clear()}this.setDisabledState(),this.quillEditor.on("editor-change",this.editorChangeHandler),this.quillEditor.on("selection-change",this.selectionChangeHandler),this.quillEditor.on("text-change",this.textChangeHandler),setTimeout((function(){t.onValidatorChanged(),t.onEditorCreated.emit(t.quillEditor)}))}},t.prototype.ngOnDestroy=function(){this.quillEditor&&(this.quillEditor.off("selection-change",this.selectionChangeHandler),this.quillEditor.off("text-change",this.textChangeHandler),this.quillEditor.off("editor-change",this.editorChangeHandler))},t.prototype.ngOnChanges=function(t){var e=this;if(this.quillEditor){if(t.readOnly&&this.quillEditor.enable(!t.readOnly.currentValue),t.placeholder&&(this.quillEditor.root.dataset.placeholder=t.placeholder.currentValue),t.styles){var i=t.styles.currentValue,n=t.styles.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.styles[t])}))}if(t.classes){var o=t.classes.currentValue,r=t.classes.previousValue;r&&this.removeClasses(r),o&&this.addClasses(o)}}},t.prototype.addClasses=function(t){var e=this;h.normalizeClassNames(t).forEach((function(t){e.renderer.addClass(e.editorElem,t)}))},t.prototype.removeClasses=function(t){var e=this;h.normalizeClassNames(t).forEach((function(t){e.renderer.removeClass(e.editorElem,t)}))},t.prototype.writeValue=function(t){this.content=t;var e=d(this.format,this.config.format);if(this.quillEditor){if(t)return void("text"===e?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.registerOnValidatorChange=function(t){this.onValidatorChanged=t},t.prototype.validate=function(){if(!this.quillEditor)return null;var t={},e=!0,i=this.quillEditor.getText(),n=this.trimOnValidation?i.trim().length:1===i.length&&0===i.trim().length?0:i.length-1;return this.minLength&&n&&n<this.minLength&&(t.minLengthError={given:n,minLength:this.minLength},e=!1),this.maxLength&&n>this.maxLength&&(t.maxLengthError={given:n,maxLength:this.maxLength},e=!1),this.required&&!n&&(t.requiredError={empty:!0},e=!1),e?null:t},t.ctorParameters=function(){return[{type:i.ElementRef,decorators:[{type:i.Inject,args:[i.ElementRef]}]},{type:n.DomSanitizer,decorators:[{type:i.Inject,args:[n.DomSanitizer]}]},{type:void 0,decorators:[{type:i.Inject,args:[e.DOCUMENT]}]},{type:void 0,decorators:[{type:i.Inject,args:[i.PLATFORM_ID]}]},{type:i.Renderer2,decorators:[{type:i.Inject,args:[i.Renderer2]}]},{type:i.NgZone,decorators:[{type:i.Inject,args:[i.NgZone]}]},{type:void 0,decorators:[{type:i.Inject,args:[u]}]}]},r([i.Input()],t.prototype,"format",void 0),r([i.Input()],t.prototype,"theme",void 0),r([i.Input()],t.prototype,"modules",void 0),r([i.Input()],t.prototype,"debug",void 0),r([i.Input()],t.prototype,"readOnly",void 0),r([i.Input()],t.prototype,"placeholder",void 0),r([i.Input()],t.prototype,"maxLength",void 0),r([i.Input()],t.prototype,"minLength",void 0),r([i.Input()],t.prototype,"required",void 0),r([i.Input()],t.prototype,"formats",void 0),r([i.Input()],t.prototype,"customToolbarPosition",void 0),r([i.Input()],t.prototype,"sanitize",void 0),r([i.Input()],t.prototype,"styles",void 0),r([i.Input()],t.prototype,"strict",void 0),r([i.Input()],t.prototype,"scrollingContainer",void 0),r([i.Input()],t.prototype,"bounds",void 0),r([i.Input()],t.prototype,"customOptions",void 0),r([i.Input()],t.prototype,"trackChanges",void 0),r([i.Input()],t.prototype,"preserveWhitespace",void 0),r([i.Input()],t.prototype,"classes",void 0),r([i.Input()],t.prototype,"trimOnValidation",void 0),r([i.Output()],t.prototype,"onEditorCreated",void 0),r([i.Output()],t.prototype,"onEditorChanged",void 0),r([i.Output()],t.prototype,"onContentChanged",void 0),r([i.Output()],t.prototype,"onSelectionChanged",void 0),r([i.Output()],t.prototype,"onFocus",void 0),r([i.Output()],t.prototype,"onBlur",void 0),r([i.Input()],t.prototype,"valueGetter",void 0),r([i.Input()],t.prototype,"valueSetter",void 0),t=h=r([i.Component({encapsulation:i.ViewEncapsulation.None,providers:[{multi:!0,provide:o.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return h}))},{multi:!0,provide:o.NG_VALIDATORS,useExisting:i.forwardRef((function(){return h}))}],selector:"quill-editor",template:'\n <ng-content select="[quill-editor-toolbar]"></ng-content>\n'}),s(0,i.Inject(i.ElementRef)),s(1,i.Inject(n.DomSanitizer)),s(2,i.Inject(e.DOCUMENT)),s(3,i.Inject(i.PLATFORM_ID)),s(4,i.Inject(i.Renderer2)),s(5,i.Inject(i.NgZone)),s(6,i.Inject(u))],t)}(),p=function(){function t(t,e){this.sanitizer=t,this.config=e,this.innerHTML="",this.themeClass="ql-snow",this.content=""}return t.prototype.ngOnChanges=function(t){if(t.theme){var e=t.theme.currentValue||(this.config.theme?this.config.theme:"snow");this.themeClass="ql-"+e+" ngx-quill-view-html"}else if(!this.theme){e=this.config.theme?this.config.theme:"snow";this.themeClass="ql-"+e+" ngx-quill-view-html"}t.content&&(this.innerHTML=this.sanitizer.bypassSecurityTrustHtml(t.content.currentValue))},t.ctorParameters=function(){return[{type:n.DomSanitizer,decorators:[{type:i.Inject,args:[n.DomSanitizer]}]},{type:void 0,decorators:[{type:i.Inject,args:[u]}]}]},r([i.Input()],t.prototype,"content",void 0),r([i.Input()],t.prototype,"theme",void 0),t=r([i.Component({encapsulation:i.ViewEncapsulation.None,selector:"quill-view-html",template:'\n <div class="ql-container" [ngClass]="themeClass">\n <div class="ql-editor" [innerHTML]="innerHTML">\n </div>\n </div>\n',styles:["\n.ql-container.ngx-quill-view-html {\n border: 0;\n}\n"]}),s(0,i.Inject(n.DomSanitizer)),s(1,i.Inject(u))],t)}(),f=null,m=function(){function t(t,e,i,n,o){var r=this;this.platformId=t,this.config=e,this.renderer=i,this.elementRef=n,this.zone=o,this.strict=!0,this.customOptions=[],this.preserveWhitespace=!1,this.valueSetter=function(t,e){var i=d(r.format,r.config.format),n=e;if("html"===i||"text"===i)n=t.clipboard.convert(e);else if("json"===i)try{n=JSON.parse(e)}catch(t){n=[{insert:e}]}t.setContents(n)}}return t.prototype.ngOnChanges=function(t){this.quillEditor&&t.content&&this.valueSetter(this.quillEditor,t.content.currentValue)},t.prototype.ngAfterViewInit=function(){var t=this;if(!e.isPlatformServer(this.platformId)){f||this.zone.runOutsideAngular((function(){f=require("quill")}));var i=Object.assign({},this.modules||this.config.modules||a);i.toolbar=!1,this.customOptions.forEach((function(t){var e=f.import(t.import);e.whitelist=t.whitelist,f.register(e,!0)}));var n=this.debug;!n&&!1!==n&&this.config.debug&&(n=this.config.debug);var o=this.formats;o||void 0!==o||(o=this.config.formats?Object.assign({},this.config.formats):null===this.config.formats?null:void 0);var r=this.theme||(this.config.theme?this.config.theme:"snow");this.elementRef.nativeElement.insertAdjacentHTML("afterbegin",this.preserveWhitespace?"<pre quill-view-element></pre>":"<div quill-view-element></div>"),this.editorElem=this.elementRef.nativeElement.querySelector("[quill-view-element]"),this.zone.runOutsideAngular((function(){t.quillEditor=new f(t.editorElem,{debug:n,formats:o,modules:i,readOnly:!0,strict:t.strict,theme:r})})),this.renderer.addClass(this.editorElem,"ngx-quill-view"),this.content&&this.valueSetter(this.quillEditor,this.content)}},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[i.PLATFORM_ID]}]},{type:void 0,decorators:[{type:i.Inject,args:[u]}]},{type:i.Renderer2,decorators:[{type:i.Inject,args:[i.Renderer2]}]},{type:i.ElementRef,decorators:[{type:i.Inject,args:[i.ElementRef]}]},{type:i.NgZone,decorators:[{type:i.Inject,args:[i.NgZone]}]}]},r([i.Input()],t.prototype,"format",void 0),r([i.Input()],t.prototype,"theme",void 0),r([i.Input()],t.prototype,"modules",void 0),r([i.Input()],t.prototype,"debug",void 0),r([i.Input()],t.prototype,"formats",void 0),r([i.Input()],t.prototype,"strict",void 0),r([i.Input()],t.prototype,"content",void 0),r([i.Input()],t.prototype,"customOptions",void 0),r([i.Input()],t.prototype,"preserveWhitespace",void 0),t=r([i.Component({encapsulation:i.ViewEncapsulation.None,selector:"quill-view",template:"\n",styles:["\n.ql-container.ngx-quill-view {\n border: 0;\n}\n"]}),s(0,i.Inject(i.PLATFORM_ID)),s(1,i.Inject(u)),s(2,i.Inject(i.Renderer2)),s(3,i.Inject(i.ElementRef)),s(4,i.Inject(i.NgZone))],t)}(),g=function(){function t(){}var n;return n=t,t.forRoot=function(t){return{ngModule:n,providers:[{provide:u,useValue:t||{modules:a}}]}},t=n=r([i.NgModule({declarations:[h,m,p],exports:[h,m,p],imports:[e.CommonModule],providers:[]})],t)}();t.QUILL_CONFIG_TOKEN=u,t.QuillEditorComponent=h,t.QuillModule=g,t.QuillViewComponent=m,t.QuillViewHTMLComponent=p,t.defaultModules=a,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/common"),require("@angular/core"),require("quill"),require("@angular/platform-browser"),require("@angular/forms")):"function"==typeof define&&define.amd?define("ngx-quill",["exports","@angular/common","@angular/core","quill","@angular/platform-browser","@angular/forms"],e):e((t=t||self)["ngx-quill"]={},t.ng.common,t.ng.core,t.quill,t.ng.platformBrowser,t.ng.forms)}(this,(function(t,e,i,n,o,r){"use strict";n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;function s(t,e,i,n){var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s}function l(t,e){return function(i,n){e(i,n,t)}}function a(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,o,r=i.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=r.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(o)throw o.error}}return s}var u={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"]]},d=new i.InjectionToken("config"),c=function(t,e){return t||e||"html"},h=null,p=function(){function t(t,e,n,o,r,s,l){var a=this;this.elementRef=t,this.domSanitizer=e,this.doc=n,this.platformId=o,this.renderer=r,this.zone=s,this.config=l,this.required=!1,this.customToolbarPosition="top",this.sanitize=!1,this.styles=null,this.strict=!0,this.customOptions=[],this.preserveWhitespace=!1,this.trimOnValidation=!1,this.onEditorCreated=new i.EventEmitter,this.onEditorChanged=new i.EventEmitter,this.onContentChanged=new i.EventEmitter,this.onSelectionChanged=new i.EventEmitter,this.onFocus=new i.EventEmitter,this.onBlur=new i.EventEmitter,this.disabled=!1,this.valueGetter=function(t,e){var i=e.querySelector(".ql-editor").innerHTML;"<p><br></p>"!==i&&"<div><br></div>"!==i||(i=null);var n=i,o=c(a.format,a.config.format);if("text"===o)n=t.getText();else if("object"===o)n=t.getContents();else if("json"===o)try{n=JSON.stringify(t.getContents())}catch(e){n=t.getText()}return n},this.valueSetter=function(t,e){var n=c(a.format,a.config.format);if("html"===n)return a.sanitize&&(e=a.domSanitizer.sanitize(i.SecurityContext.HTML,e)),t.clipboard.convert(e);if("json"===n)try{return JSON.parse(e)}catch(t){return[{insert:e}]}return e},this.selectionChangeHandler=function(t,e,i){var n=!t&&a.onModelTouched;(a.onBlur.observers.length||a.onFocus.observers.length||a.onSelectionChanged.observers.length||n)&&a.zone.run((function(){null===t?a.onBlur.emit({editor:a.quillEditor,source:i}):null===e&&a.onFocus.emit({editor:a.quillEditor,source:i}),a.onSelectionChanged.emit({editor:a.quillEditor,oldRange:e,range:t,source:i}),n&&a.onModelTouched()}))},this.textChangeHandler=function(t,e,i){var n=a.quillEditor.getText(),o=a.quillEditor.getContents(),r=a.editorElem.querySelector(".ql-editor").innerHTML;"<p><br></p>"!==r&&"<div><br></div>"!==r||(r=null);var s=a.trackChanges||a.config.trackChanges,l=(i===h.sources.USER||s&&"all"===s)&&a.onModelChange;(a.onContentChanged.observers.length||l)&&a.zone.run((function(){l&&a.onModelChange(a.valueGetter(a.quillEditor,a.editorElem)),a.onContentChanged.emit({content:o,delta:t,editor:a.quillEditor,html:r,oldDelta:e,source:i,text:n})}))},this.editorChangeHandler=function(t,e,i,n){if(a.onEditorChanged.observers.length)if("text-change"===t){var o=a.quillEditor.getText(),r=a.quillEditor.getContents(),s=a.editorElem.querySelector(".ql-editor").innerHTML;"<p><br></p>"!==s&&"<div><br></div>"!==s||(s=null),a.zone.run((function(){a.onEditorChanged.emit({content:r,delta:e,editor:a.quillEditor,event:t,html:s,oldDelta:i,source:n,text:o})}))}else a.onEditorChanged.emit({editor:a.quillEditor,event:t,oldRange:i,range:e,source:n})}}var p;return p=t,t.normalizeClassNames=function(t){return t.trim().split(" ").reduce((function(t,e){var i=e.trim();return i&&t.push(i),t}),[])},t.prototype.onModelChange=function(t){},t.prototype.onModelTouched=function(){},t.prototype.onValidatorChanged=function(){},t.prototype.ngAfterViewInit=function(){var t=this;if(!e.isPlatformServer(this.platformId)){h||this.zone.runOutsideAngular((function(){h=n})),this.elementRef.nativeElement.insertAdjacentHTML("top"===this.customToolbarPosition?"beforeend":"afterbegin",this.preserveWhitespace?"<pre quill-editor-element></pre>":"<div quill-editor-element></div>"),this.editorElem=this.elementRef.nativeElement.querySelector("[quill-editor-element]");var o=this.elementRef.nativeElement.querySelector("[quill-editor-toolbar]"),r=Object.assign({},this.modules||this.config.modules||u);o?r.toolbar=o:void 0===r.toolbar&&(r.toolbar=u.toolbar);var s=void 0!==this.placeholder?this.placeholder:this.config.placeholder;void 0===s&&(s="Insert text here ..."),this.styles&&Object.keys(this.styles).forEach((function(e){t.renderer.setStyle(t.editorElem,e,t.styles[e])})),this.classes&&this.addClasses(this.classes),this.customOptions.forEach((function(t){var e=h.import(t.import);e.whitelist=t.whitelist,h.register(e,!0)}));var l=this.bounds&&"self"===this.bounds?this.editorElem:this.bounds;l||(l=this.config.bounds?this.config.bounds:this.doc.body);var d=this.debug;!d&&!1!==d&&this.config.debug&&(d=this.config.debug);var p=this.readOnly;p||!1===this.readOnly||(p=void 0!==this.config.readOnly&&this.config.readOnly);var f=this.scrollingContainer;f||null===this.scrollingContainer||(f=null===this.config.scrollingContainer||this.config.scrollingContainer?this.config.scrollingContainer:null);var m=this.formats;if(m||void 0!==m||(m=this.config.formats?function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t}(this.config.formats):null===this.config.formats?null:void 0),this.zone.runOutsideAngular((function(){t.quillEditor=new h(t.editorElem,{bounds:l,debug:d,formats:m,modules:r,placeholder:s,readOnly:p,scrollingContainer:f,strict:t.strict,theme:t.theme||(t.config.theme?t.config.theme:"snow")})})),this.content){var g=c(this.format,this.config.format);if("object"===g)this.quillEditor.setContents(this.content,"silent");else if("text"===g)this.quillEditor.setText(this.content,"silent");else if("json"===g)try{this.quillEditor.setContents(JSON.parse(this.content),"silent")}catch(t){this.quillEditor.setText(this.content,"silent")}else{this.sanitize&&(this.content=this.domSanitizer.sanitize(i.SecurityContext.HTML,this.content));var v=this.quillEditor.clipboard.convert(this.content);this.quillEditor.setContents(v,"silent")}this.quillEditor.history.clear()}this.setDisabledState(),this.quillEditor.on("editor-change",this.editorChangeHandler),this.quillEditor.on("selection-change",this.selectionChangeHandler),this.quillEditor.on("text-change",this.textChangeHandler),setTimeout((function(){t.onValidatorChanged(),t.onEditorCreated.emit(t.quillEditor)}))}},t.prototype.ngOnDestroy=function(){this.quillEditor&&(this.quillEditor.off("selection-change",this.selectionChangeHandler),this.quillEditor.off("text-change",this.textChangeHandler),this.quillEditor.off("editor-change",this.editorChangeHandler))},t.prototype.ngOnChanges=function(t){var e=this;if(this.quillEditor){if(t.readOnly&&this.quillEditor.enable(!t.readOnly.currentValue),t.placeholder&&(this.quillEditor.root.dataset.placeholder=t.placeholder.currentValue),t.styles){var i=t.styles.currentValue,n=t.styles.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.styles[t])}))}if(t.classes){var o=t.classes.currentValue,r=t.classes.previousValue;r&&this.removeClasses(r),o&&this.addClasses(o)}}},t.prototype.addClasses=function(t){var e=this;p.normalizeClassNames(t).forEach((function(t){e.renderer.addClass(e.editorElem,t)}))},t.prototype.removeClasses=function(t){var e=this;p.normalizeClassNames(t).forEach((function(t){e.renderer.removeClass(e.editorElem,t)}))},t.prototype.writeValue=function(t){this.content=t;var e=c(this.format,this.config.format);if(this.quillEditor){if(t)return void("text"===e?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.registerOnValidatorChange=function(t){this.onValidatorChanged=t},t.prototype.validate=function(){if(!this.quillEditor)return null;var t={},e=!0,i=this.quillEditor.getText(),n=this.trimOnValidation?i.trim().length:1===i.length&&0===i.trim().length?0:i.length-1;return this.minLength&&n&&n<this.minLength&&(t.minLengthError={given:n,minLength:this.minLength},e=!1),this.maxLength&&n>this.maxLength&&(t.maxLengthError={given:n,maxLength:this.maxLength},e=!1),this.required&&!n&&(t.requiredError={empty:!0},e=!1),e?null:t},t.ctorParameters=function(){return[{type:i.ElementRef,decorators:[{type:i.Inject,args:[i.ElementRef]}]},{type:o.DomSanitizer,decorators:[{type:i.Inject,args:[o.DomSanitizer]}]},{type:void 0,decorators:[{type:i.Inject,args:[e.DOCUMENT]}]},{type:void 0,decorators:[{type:i.Inject,args:[i.PLATFORM_ID]}]},{type:i.Renderer2,decorators:[{type:i.Inject,args:[i.Renderer2]}]},{type:i.NgZone,decorators:[{type:i.Inject,args:[i.NgZone]}]},{type:void 0,decorators:[{type:i.Inject,args:[d]}]}]},s([i.Input()],t.prototype,"format",void 0),s([i.Input()],t.prototype,"theme",void 0),s([i.Input()],t.prototype,"modules",void 0),s([i.Input()],t.prototype,"debug",void 0),s([i.Input()],t.prototype,"readOnly",void 0),s([i.Input()],t.prototype,"placeholder",void 0),s([i.Input()],t.prototype,"maxLength",void 0),s([i.Input()],t.prototype,"minLength",void 0),s([i.Input()],t.prototype,"required",void 0),s([i.Input()],t.prototype,"formats",void 0),s([i.Input()],t.prototype,"customToolbarPosition",void 0),s([i.Input()],t.prototype,"sanitize",void 0),s([i.Input()],t.prototype,"styles",void 0),s([i.Input()],t.prototype,"strict",void 0),s([i.Input()],t.prototype,"scrollingContainer",void 0),s([i.Input()],t.prototype,"bounds",void 0),s([i.Input()],t.prototype,"customOptions",void 0),s([i.Input()],t.prototype,"trackChanges",void 0),s([i.Input()],t.prototype,"preserveWhitespace",void 0),s([i.Input()],t.prototype,"classes",void 0),s([i.Input()],t.prototype,"trimOnValidation",void 0),s([i.Output()],t.prototype,"onEditorCreated",void 0),s([i.Output()],t.prototype,"onEditorChanged",void 0),s([i.Output()],t.prototype,"onContentChanged",void 0),s([i.Output()],t.prototype,"onSelectionChanged",void 0),s([i.Output()],t.prototype,"onFocus",void 0),s([i.Output()],t.prototype,"onBlur",void 0),s([i.Input()],t.prototype,"valueGetter",void 0),s([i.Input()],t.prototype,"valueSetter",void 0),t=p=s([i.Component({encapsulation:i.ViewEncapsulation.None,providers:[{multi:!0,provide:r.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return p}))},{multi:!0,provide:r.NG_VALIDATORS,useExisting:i.forwardRef((function(){return p}))}],selector:"quill-editor",template:'\n <ng-content select="[quill-editor-toolbar]"></ng-content>\n'}),l(0,i.Inject(i.ElementRef)),l(1,i.Inject(o.DomSanitizer)),l(2,i.Inject(e.DOCUMENT)),l(3,i.Inject(i.PLATFORM_ID)),l(4,i.Inject(i.Renderer2)),l(5,i.Inject(i.NgZone)),l(6,i.Inject(d))],t)}(),f=function(){function t(t,e){this.sanitizer=t,this.config=e,this.innerHTML="",this.themeClass="ql-snow",this.content=""}return t.prototype.ngOnChanges=function(t){if(t.theme){var e=t.theme.currentValue||(this.config.theme?this.config.theme:"snow");this.themeClass="ql-"+e+" ngx-quill-view-html"}else if(!this.theme){e=this.config.theme?this.config.theme:"snow";this.themeClass="ql-"+e+" ngx-quill-view-html"}t.content&&(this.innerHTML=this.sanitizer.bypassSecurityTrustHtml(t.content.currentValue))},t.ctorParameters=function(){return[{type:o.DomSanitizer,decorators:[{type:i.Inject,args:[o.DomSanitizer]}]},{type:void 0,decorators:[{type:i.Inject,args:[d]}]}]},s([i.Input()],t.prototype,"content",void 0),s([i.Input()],t.prototype,"theme",void 0),t=s([i.Component({encapsulation:i.ViewEncapsulation.None,selector:"quill-view-html",template:'\n <div class="ql-container" [ngClass]="themeClass">\n <div class="ql-editor" [innerHTML]="innerHTML">\n </div>\n </div>\n',styles:["\n.ql-container.ngx-quill-view-html {\n border: 0;\n}\n"]}),l(0,i.Inject(o.DomSanitizer)),l(1,i.Inject(d))],t)}(),m=null,g=function(){function t(t,e,i,n,o){var r=this;this.platformId=t,this.config=e,this.renderer=i,this.elementRef=n,this.zone=o,this.strict=!0,this.customOptions=[],this.preserveWhitespace=!1,this.valueSetter=function(t,e){var i=c(r.format,r.config.format),n=e;if("html"===i||"text"===i)n=t.clipboard.convert(e);else if("json"===i)try{n=JSON.parse(e)}catch(t){n=[{insert:e}]}t.setContents(n)}}return t.prototype.ngOnChanges=function(t){this.quillEditor&&t.content&&this.valueSetter(this.quillEditor,t.content.currentValue)},t.prototype.ngAfterViewInit=function(){var t=this;if(!e.isPlatformServer(this.platformId)){m||this.zone.runOutsideAngular((function(){m=n}));var i=Object.assign({},this.modules||this.config.modules||u);i.toolbar=!1,this.customOptions.forEach((function(t){var e=m.import(t.import);e.whitelist=t.whitelist,m.register(e,!0)}));var o=this.debug;!o&&!1!==o&&this.config.debug&&(o=this.config.debug);var r=this.formats;r||void 0!==r||(r=this.config.formats?Object.assign({},this.config.formats):null===this.config.formats?null:void 0);var s=this.theme||(this.config.theme?this.config.theme:"snow");this.elementRef.nativeElement.insertAdjacentHTML("afterbegin",this.preserveWhitespace?"<pre quill-view-element></pre>":"<div quill-view-element></div>"),this.editorElem=this.elementRef.nativeElement.querySelector("[quill-view-element]"),this.zone.runOutsideAngular((function(){t.quillEditor=new m(t.editorElem,{debug:o,formats:r,modules:i,readOnly:!0,strict:t.strict,theme:s})})),this.renderer.addClass(this.editorElem,"ngx-quill-view"),this.content&&this.valueSetter(this.quillEditor,this.content)}},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[i.PLATFORM_ID]}]},{type:void 0,decorators:[{type:i.Inject,args:[d]}]},{type:i.Renderer2,decorators:[{type:i.Inject,args:[i.Renderer2]}]},{type:i.ElementRef,decorators:[{type:i.Inject,args:[i.ElementRef]}]},{type:i.NgZone,decorators:[{type:i.Inject,args:[i.NgZone]}]}]},s([i.Input()],t.prototype,"format",void 0),s([i.Input()],t.prototype,"theme",void 0),s([i.Input()],t.prototype,"modules",void 0),s([i.Input()],t.prototype,"debug",void 0),s([i.Input()],t.prototype,"formats",void 0),s([i.Input()],t.prototype,"strict",void 0),s([i.Input()],t.prototype,"content",void 0),s([i.Input()],t.prototype,"customOptions",void 0),s([i.Input()],t.prototype,"preserveWhitespace",void 0),t=s([i.Component({encapsulation:i.ViewEncapsulation.None,selector:"quill-view",template:"\n",styles:["\n.ql-container.ngx-quill-view {\n border: 0;\n}\n"]}),l(0,i.Inject(i.PLATFORM_ID)),l(1,i.Inject(d)),l(2,i.Inject(i.Renderer2)),l(3,i.Inject(i.ElementRef)),l(4,i.Inject(i.NgZone))],t)}(),v=function(){function t(){}var n;return n=t,t.forRoot=function(t){return{ngModule:n,providers:[{provide:d,useValue:t||{modules:u}}]}},t=n=s([i.NgModule({declarations:[p,g,f],exports:[p,g,f],imports:[e.CommonModule],providers:[]})],t)}();t.QUILL_CONFIG_TOKEN=d,t.QuillEditorComponent=p,t.QuillModule=v,t.QuillViewComponent=g,t.QuillViewHTMLComponent=f,t.defaultModules=u,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=ngx-quill.umd.min.js.map |
@@ -139,2 +139,2 @@ import { __decorate, __param } from "tslib"; | ||
export { QuillViewComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVpbGwtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtcXVpbGwvIiwic291cmNlcyI6WyJzcmMvcXVpbGwtdmlldy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGlCQUFpQixDQUFBO0FBRWxELE9BQU8sRUFBRSxrQkFBa0IsRUFBNkIsTUFBTSwyQkFBMkIsQ0FBQTtBQUV6RixPQUFPLEVBQ0wsYUFBYSxFQUNiLFNBQVMsRUFDVCxVQUFVLEVBQ1YsTUFBTSxFQUNOLEtBQUssRUFDTCxTQUFTLEVBQ1QsV0FBVyxFQUNYLFNBQVMsRUFDVCxhQUFhLEVBQ2IsaUJBQWlCLEVBQ2pCLE1BQU0sRUFDUCxNQUFNLGVBQWUsQ0FBQTtBQUV0QixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sa0JBQWtCLENBQUE7QUFFakQsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLFdBQVcsQ0FBQTtBQUtuQyxJQUFJLEtBQUssR0FBUSxJQUFJLENBQUE7QUFhckIsSUFBYSxrQkFBa0IsR0FBL0IsTUFBYSxrQkFBa0I7SUFjN0IsWUFDK0IsVUFBZSxFQUNSLE1BQW1CLEVBQzVCLFFBQW1CLEVBQ2xCLFVBQXNCLEVBQzFCLElBQVk7UUFKUCxlQUFVLEdBQVYsVUFBVSxDQUFLO1FBQ1IsV0FBTSxHQUFOLE1BQU0sQ0FBYTtRQUM1QixhQUFRLEdBQVIsUUFBUSxDQUFXO1FBQ2xCLGVBQVUsR0FBVixVQUFVLENB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WNlID8gJzxwcmUgcXVpbGwtdmlldy1lbGVtZW50PjwvcHJlPicgOiAnPGRpdiBxdWlsbC12aWV3LWVsZW1lbnQ+PC9kaXY+J1xuICAgIClcblxuICAgIHRoaXMuZWRpdG9yRWxlbSA9IHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LnF1ZXJ5U2VsZWN0b3IoXG4gICAgICAnW3F1aWxsLXZpZXctZWxlbWVudF0nXG4gICAgKVxuXG4gICAgdGhpcy56b25lLnJ1bk91dHNpZGVBbmd1bGFyKCgpID0+IHtcbiAgICAgIHRoaXMucXVpbGxFZGl0b3IgPSBuZXcgUXVpbGwodGhpcy5lZGl0b3JFbGVtLCB7XG4gICAgICAgIGRlYnVnLFxuICAgICAgICBmb3JtYXRzLFxuICAgICAgICBtb2R1bGVzLFxuICAgICAgICByZWFkT25seTogdHJ1ZSxcbiAgICAgICAgc3RyaWN0OiB0aGlzLnN0cmljdCxcbiAgICAgICAgdGhlbWVcbiAgICAgIH0pXG4gICAgfSlcblxuICAgIHRoaXMucmVuZGVyZXIuYWRkQ2xhc3ModGhpcy5lZGl0b3JFbGVtLCAnbmd4LXF1aWxsLXZpZXcnKVxuXG4gICAgaWYgKHRoaXMuY29udGVudCkge1xuICAgICAgdGhpcy52YWx1ZVNldHRlcih0aGlzLnF1aWxsRWRpdG9yLCB0aGlzLmNvbnRlbnQpXG4gICAgfVxuICB9XG59XG4iXX0= |
@@ -137,2 +137,2 @@ import { __decorate, __param } from "tslib"; | ||
export { QuillViewComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVpbGwtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtcXVpbGwvIiwic291cmNlcyI6WyJzcmMvcXVpbGwtdmlldy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBR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RpdG9yID0gbmV3IFF1aWxsKHRoaXMuZWRpdG9yRWxlbSwge1xuICAgICAgICBkZWJ1ZyxcbiAgICAgICAgZm9ybWF0cyxcbiAgICAgICAgbW9kdWxlcyxcbiAgICAgICAgcmVhZE9ubHk6IHRydWUsXG4gICAgICAgIHN0cmljdDogdGhpcy5zdHJpY3QsXG4gICAgICAgIHRoZW1lXG4gICAgICB9KVxuICAgIH0pXG5cbiAgICB0aGlzLnJlbmRlcmVyLmFkZENsYXNzKHRoaXMuZWRpdG9yRWxlbSwgJ25neC1xdWlsbC12aWV3JylcblxuICAgIGlmICh0aGlzLmNvbnRlbnQpIHtcbiAgICAgIHRoaXMudmFsdWVTZXR0ZXIodGhpcy5xdWlsbEVkaXRvciwgdGhpcy5jb250ZW50KVxuICAgIH1cbiAgfVxufVxuIl19 |
import { __decorate, __param } from 'tslib'; | ||
import { isPlatformServer, DOCUMENT, CommonModule } from '@angular/common'; | ||
import { InjectionToken, EventEmitter, SecurityContext, ElementRef, Inject, PLATFORM_ID, Renderer2, NgZone, Input, Output, Component, ViewEncapsulation, forwardRef, NgModule } from '@angular/core'; | ||
import quill from 'quill'; | ||
import { DomSanitizer } from '@angular/platform-browser'; | ||
@@ -221,3 +222,3 @@ import { NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms'; | ||
this.zone.runOutsideAngular(() => { | ||
Quill = require('quill'); | ||
Quill = quill; | ||
}); | ||
@@ -674,3 +675,3 @@ } | ||
this.zone.runOutsideAngular(() => { | ||
Quill$1 = require('quill'); | ||
Quill$1 = quill; | ||
}); | ||
@@ -677,0 +678,0 @@ } |
import { __spread, __decorate, __param } from 'tslib'; | ||
import { isPlatformServer, DOCUMENT, CommonModule } from '@angular/common'; | ||
import { InjectionToken, EventEmitter, SecurityContext, ElementRef, Inject, PLATFORM_ID, Renderer2, NgZone, Input, Output, Component, ViewEncapsulation, forwardRef, NgModule } from '@angular/core'; | ||
import quill from 'quill'; | ||
import { DomSanitizer } from '@angular/platform-browser'; | ||
@@ -223,3 +224,3 @@ import { NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms'; | ||
this.zone.runOutsideAngular(function () { | ||
Quill = require('quill'); | ||
Quill = quill; | ||
}); | ||
@@ -674,3 +675,3 @@ } | ||
this.zone.runOutsideAngular(function () { | ||
Quill$1 = require('quill'); | ||
Quill$1 = quill; | ||
}); | ||
@@ -677,0 +678,0 @@ } |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"QuillModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"QuillEditorComponent"},{"__symbolic":"reference","name":"QuillViewComponent"},{"__symbolic":"reference","name":"QuillViewHTMLComponent"}],"exports":[{"__symbolic":"reference","name":"QuillEditorComponent"},{"__symbolic":"reference","name":"QuillViewComponent"},{"__symbolic":"reference","name":"QuillViewHTMLComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":16,"character":12}],"providers":[]}]}],"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":{"__symbolic":"reference","name":"defaultModules"}}}}]}}}},"defaultModules":{"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"},"Range":{"__symbolic":"interface"},"ContentChange":{"__symbolic":"interface"},"SelectionChange":{"__symbolic":"interface"},"Blur":{"__symbolic":"interface"},"Focus":{"__symbolic":"interface"},"EditorChangeContent":{"__symbolic":"interface"},"EditorChangeSelection":{"__symbolic":"interface"},"QuillEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":74,"character":1},"arguments":[{"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":75,"character":17},"member":"None"},"providers":[{"multi":true,"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":79,"character":15},"useExisting":{"__symbolic":"reference","name":"QuillEditorComponent"}},{"multi":true,"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALIDATORS","line":85,"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":113,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":114,"character":3}}]}],"modules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":3}}]}],"debug":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":116,"character":3}}]}],"readOnly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":117,"character":3}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":118,"character":3}}]}],"maxLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":119,"character":3}}]}],"minLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":120,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":121,"character":3}}]}],"formats":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":122,"character":3}}]}],"customToolbarPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":123,"character":3}}]}],"sanitize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":124,"character":3}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":125,"character":3}}]}],"strict":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":126,"character":3}}]}],"scrollingContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":127,"character":3}}]}],"bounds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":128,"character":3}}]}],"customOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":129,"character":3}}]}],"trackChanges":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":130,"character":3}}]}],"preserveWhitespace":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":131,"character":3}}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":132,"character":3}}]}],"trimOnValidation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":133,"character":3}}]}],"onEditorCreated":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":135,"character":3}}]}],"onEditorChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":136,"character":3}}]}],"onContentChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":137,"character":3}}]}],"onSelectionChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":138,"character":3}}]}],"onFocus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":139,"character":3}}]}],"onBlur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":140,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":145,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":145,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":146,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":146,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":147,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":147,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":148,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":148,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":149,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":149,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":150,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":150,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":151,"character":5},"arguments":[{"__symbolic":"reference","name":"QUILL_CONFIG_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":145,"character":44},{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":146,"character":48},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":149,"character":41},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":150,"character":34},{"__symbolic":"reference","name":"QuillConfig"}]}],"onModelChange":[{"__symbolic":"method"}],"onModelTouched":[{"__symbolic":"method"}],"onValidatorChanged":[{"__symbolic":"method"}],"valueGetter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":158,"character":3}}]}],"valueSetter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":182,"character":3}}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"addClasses":[{"__symbolic":"method"}],"removeClasses":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"registerOnValidatorChange":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}},"QuillViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":27,"character":1},"arguments":[{"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":28,"character":17},"member":"None"},"selector":"quill-view","styles":["\n.ql-container.ngx-quill-view {\n border: 0;\n}\n"],"template":"\n"}]}],"members":{"format":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"modules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"debug":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"formats":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"strict":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"customOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"preserveWhitespace":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":53,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":53,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":54,"character":5},"arguments":[{"__symbolic":"reference","name":"QUILL_CONFIG_TOKEN"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":55,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":55,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":56,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":56,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":57,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":57,"character":12}]}]],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"QuillConfig"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":55,"character":41},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":56,"character":44},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":57,"character":34}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}]}},"QuillViewHTMLComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":13,"character":1},"arguments":[{"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":14,"character":17},"member":"None"},"selector":"quill-view-html","styles":["\n.ql-container.ngx-quill-view-html {\n border: 0;\n}\n"],"template":"\n <div class=\"ql-container\" [ngClass]=\"themeClass\">\n <div class=\"ql-editor\" [innerHTML]=\"innerHTML\">\n </div>\n </div>\n"}]}],"members":{"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":36,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":36,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":37,"character":5},"arguments":[{"__symbolic":"reference","name":"QUILL_CONFIG_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":36,"character":45},{"__symbolic":"reference","name":"QuillConfig"}]}],"ngOnChanges":[{"__symbolic":"method"}]}},"QuillToolbarConfig":{"__symbolic":"interface"},"QuillModules":{"__symbolic":"interface"},"QuillFormat":{"__symbolic":"interface"},"QuillConfig":{"__symbolic":"interface"},"QUILL_CONFIG_TOKEN":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":55,"character":38},"arguments":["config"]}},"origins":{"QuillModule":"./src/quill.module","defaultModules":"./src/quill-defaults","CustomOption":"./src/quill-editor.component","Range":"./src/quill-editor.component","ContentChange":"./src/quill-editor.component","SelectionChange":"./src/quill-editor.component","Blur":"./src/quill-editor.component","Focus":"./src/quill-editor.component","EditorChangeContent":"./src/quill-editor.component","EditorChangeSelection":"./src/quill-editor.component","QuillEditorComponent":"./src/quill-editor.component","QuillViewComponent":"./src/quill-view.component","QuillViewHTMLComponent":"./src/quill-view-html.component","QuillToolbarConfig":"./src/quill-editor.interfaces","QuillModules":"./src/quill-editor.interfaces","QuillFormat":"./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":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"QuillEditorComponent"},{"__symbolic":"reference","name":"QuillViewComponent"},{"__symbolic":"reference","name":"QuillViewHTMLComponent"}],"exports":[{"__symbolic":"reference","name":"QuillEditorComponent"},{"__symbolic":"reference","name":"QuillViewComponent"},{"__symbolic":"reference","name":"QuillViewHTMLComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":16,"character":12}],"providers":[]}]}],"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":{"__symbolic":"reference","name":"defaultModules"}}}}]}}}},"defaultModules":{"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"},"Range":{"__symbolic":"interface"},"ContentChange":{"__symbolic":"interface"},"SelectionChange":{"__symbolic":"interface"},"Blur":{"__symbolic":"interface"},"Focus":{"__symbolic":"interface"},"EditorChangeContent":{"__symbolic":"interface"},"EditorChangeSelection":{"__symbolic":"interface"},"QuillEditorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":75,"character":1},"arguments":[{"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":76,"character":17},"member":"None"},"providers":[{"multi":true,"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":80,"character":15},"useExisting":{"__symbolic":"reference","name":"QuillEditorComponent"}},{"multi":true,"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALIDATORS","line":86,"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":114,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":3}}]}],"modules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":116,"character":3}}]}],"debug":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":117,"character":3}}]}],"readOnly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":118,"character":3}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":119,"character":3}}]}],"maxLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":120,"character":3}}]}],"minLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":121,"character":3}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":122,"character":3}}]}],"formats":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":123,"character":3}}]}],"customToolbarPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":124,"character":3}}]}],"sanitize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":125,"character":3}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":126,"character":3}}]}],"strict":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":127,"character":3}}]}],"scrollingContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":128,"character":3}}]}],"bounds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":129,"character":3}}]}],"customOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":130,"character":3}}]}],"trackChanges":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":131,"character":3}}]}],"preserveWhitespace":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":132,"character":3}}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":133,"character":3}}]}],"trimOnValidation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":134,"character":3}}]}],"onEditorCreated":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":136,"character":3}}]}],"onEditorChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":137,"character":3}}]}],"onContentChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":138,"character":3}}]}],"onSelectionChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":139,"character":3}}]}],"onFocus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":140,"character":3}}]}],"onBlur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":141,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":146,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":146,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":147,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":147,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":148,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":148,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":149,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":149,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":150,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":150,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":151,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":151,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":152,"character":5},"arguments":[{"__symbolic":"reference","name":"QUILL_CONFIG_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":146,"character":44},{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":147,"character":48},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":150,"character":41},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":151,"character":34},{"__symbolic":"reference","name":"QuillConfig"}]}],"onModelChange":[{"__symbolic":"method"}],"onModelTouched":[{"__symbolic":"method"}],"onValidatorChanged":[{"__symbolic":"method"}],"valueGetter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":159,"character":3}}]}],"valueSetter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":183,"character":3}}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"addClasses":[{"__symbolic":"method"}],"removeClasses":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"registerOnValidatorChange":[{"__symbolic":"method"}],"validate":[{"__symbolic":"method"}]}},"QuillViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":28,"character":1},"arguments":[{"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":29,"character":17},"member":"None"},"selector":"quill-view","styles":["\n.ql-container.ngx-quill-view {\n border: 0;\n}\n"],"template":"\n"}]}],"members":{"format":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"modules":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"debug":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"formats":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"strict":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"customOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":3}}]}],"preserveWhitespace":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":54,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":54,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":55,"character":5},"arguments":[{"__symbolic":"reference","name":"QUILL_CONFIG_TOKEN"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":56,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":56,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":57,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":57,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":58,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":58,"character":12}]}]],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"QuillConfig"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":56,"character":41},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":57,"character":44},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":58,"character":34}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}]}},"QuillViewHTMLComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":13,"character":1},"arguments":[{"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":14,"character":17},"member":"None"},"selector":"quill-view-html","styles":["\n.ql-container.ngx-quill-view-html {\n border: 0;\n}\n"],"template":"\n <div class=\"ql-container\" [ngClass]=\"themeClass\">\n <div class=\"ql-editor\" [innerHTML]=\"innerHTML\">\n </div>\n </div>\n"}]}],"members":{"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":36,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":36,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":37,"character":5},"arguments":[{"__symbolic":"reference","name":"QUILL_CONFIG_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":36,"character":45},{"__symbolic":"reference","name":"QuillConfig"}]}],"ngOnChanges":[{"__symbolic":"method"}]}},"QuillToolbarConfig":{"__symbolic":"interface"},"QuillModules":{"__symbolic":"interface"},"QuillFormat":{"__symbolic":"interface"},"QuillConfig":{"__symbolic":"interface"},"QUILL_CONFIG_TOKEN":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":55,"character":38},"arguments":["config"]}},"origins":{"QuillModule":"./src/quill.module","defaultModules":"./src/quill-defaults","CustomOption":"./src/quill-editor.component","Range":"./src/quill-editor.component","ContentChange":"./src/quill-editor.component","SelectionChange":"./src/quill-editor.component","Blur":"./src/quill-editor.component","Focus":"./src/quill-editor.component","EditorChangeContent":"./src/quill-editor.component","EditorChangeSelection":"./src/quill-editor.component","QuillEditorComponent":"./src/quill-editor.component","QuillViewComponent":"./src/quill-view.component","QuillViewHTMLComponent":"./src/quill-view-html.component","QuillToolbarConfig":"./src/quill-editor.interfaces","QuillModules":"./src/quill-editor.interfaces","QuillFormat":"./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": "8.1.3", | ||
"version": "8.1.4", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Bengt Weiße" |
@@ -1,3 +0,2 @@ | ||
# ngx-quill [![Build Status](https://travis-ci.org/KillerCodeMonkey/ngx-quill.svg?branch=develop)](https://travis-ci.org/KillerCodeMonkey/ngx-quill) | ||
# ngx-quill ![Build Status](https://github.com/KillerCodeMonkey/ngx-quill/workflows/CI/badge.svg) | ||
<img src="https://cloud.githubusercontent.com/assets/2264672/20601381/a51753d4-b258-11e6-92c2-1d79efa5bede.png" width="200px"> | ||
@@ -4,0 +3,0 @@ |
@@ -5,2 +5,4 @@ import { DomSanitizer } from '@angular/platform-browser'; | ||
import { ControlValueAccessor, Validator } from '@angular/forms'; | ||
import { Quill, QuillDelta } from './quill'; | ||
declare let Quill: any; | ||
export interface CustomOption { | ||
@@ -16,6 +18,6 @@ import: string; | ||
content: any; | ||
delta: any; | ||
editor: any; | ||
delta: QuillDelta; | ||
editor: Quill; | ||
html: string | null; | ||
oldDelta: any; | ||
oldDelta: QuillDelta; | ||
source: string; | ||
@@ -25,3 +27,3 @@ text: string; | ||
export interface SelectionChange { | ||
editor: any; | ||
editor: Quill; | ||
oldRange: Range | null; | ||
@@ -32,7 +34,7 @@ range: Range | null; | ||
export interface Blur { | ||
editor: any; | ||
editor: Quill; | ||
source: string; | ||
} | ||
export interface Focus { | ||
editor: any; | ||
editor: Quill; | ||
source: string; | ||
@@ -55,3 +57,3 @@ } | ||
static normalizeClassNames(classes: string): string[]; | ||
quillEditor: any; | ||
quillEditor: Quill; | ||
editorElem: HTMLElement | undefined; | ||
@@ -91,7 +93,7 @@ content: any; | ||
onValidatorChanged(): void; | ||
valueGetter: (quillEditor: any, editorElement: HTMLElement) => any; | ||
valueSetter: (quillEditor: any, value: any) => any; | ||
valueGetter: (quillEditor: Quill, editorElement: HTMLElement) => any; | ||
valueSetter: (quillEditor: Quill, value: any) => any; | ||
ngAfterViewInit(): void; | ||
selectionChangeHandler: (range: Range, oldRange: Range, source: string) => void; | ||
textChangeHandler: (delta: any, oldDelta: any, source: string) => void; | ||
textChangeHandler: (delta: import("quill-delta"), oldDelta: import("quill-delta"), source: string) => void; | ||
editorChangeHandler: (event: "text-change" | "selection-change", current: any, old: any, source: string) => void; | ||
@@ -121,1 +123,2 @@ ngOnDestroy(): void; | ||
} | ||
export {}; |
import { QuillConfig, QuillModules } from './quill-editor.interfaces'; | ||
import { AfterViewInit, ElementRef, OnChanges, Renderer2, SimpleChanges, NgZone } from '@angular/core'; | ||
import { CustomOption } from './quill-editor.component'; | ||
import { Quill } from './quill'; | ||
declare let Quill: any; | ||
export declare class QuillViewComponent implements AfterViewInit, OnChanges { | ||
@@ -10,3 +12,3 @@ private platformId; | ||
private zone; | ||
quillEditor: any; | ||
quillEditor: Quill; | ||
editorElem: HTMLElement | undefined; | ||
@@ -23,5 +25,6 @@ format?: 'object' | 'html' | 'text' | 'json'; | ||
constructor(platformId: any, config: QuillConfig, renderer: Renderer2, elementRef: ElementRef, zone: NgZone); | ||
valueSetter: (quillEditor: any, value: any) => any; | ||
valueSetter: (quillEditor: Quill, value: any) => any; | ||
ngOnChanges(changes: SimpleChanges): void; | ||
ngAfterViewInit(): void; | ||
} | ||
export {}; |
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 too big to display
Sorry, the diff of this file is too big to display
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
607405
39
4651
448