@cleavelandprice/ngx-lib 3.2.0 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/esm2020/quill/cleavelandprice-ngx-lib-quill.mjs +5 -0
  2. package/esm2020/quill/components/editor/editor.component.mjs +296 -0
  3. package/esm2020/quill/mention/cleavelandprice-ngx-lib-quill-mention.mjs +5 -0
  4. package/esm2020/quill/mention/components/editor/editor.component.mjs +152 -0
  5. package/esm2020/quill/mention/model/dialog-data.mjs +2 -0
  6. package/esm2020/quill/mention/public_api.mjs +2 -0
  7. package/esm2020/quill/mention/quill-mention.module.mjs +63 -0
  8. package/esm2020/quill/model/buttons.mjs +51 -0
  9. package/esm2020/quill/model/config.mjs +40 -0
  10. package/esm2020/quill/model/dialog-data.mjs +2 -0
  11. package/esm2020/quill/model/icons.mjs +9 -0
  12. package/esm2020/quill/model/tooltips.mjs +54 -0
  13. package/esm2020/quill/public_api.mjs +8 -0
  14. package/esm2020/quill/quill.module.mjs +65 -0
  15. package/fesm2015/cleavelandprice-ngx-lib-quill-mention.mjs +212 -0
  16. package/fesm2015/cleavelandprice-ngx-lib-quill-mention.mjs.map +1 -0
  17. package/fesm2015/cleavelandprice-ngx-lib-quill.mjs +505 -0
  18. package/fesm2015/cleavelandprice-ngx-lib-quill.mjs.map +1 -0
  19. package/fesm2020/cleavelandprice-ngx-lib-quill-mention.mjs +207 -0
  20. package/fesm2020/cleavelandprice-ngx-lib-quill-mention.mjs.map +1 -0
  21. package/fesm2020/cleavelandprice-ngx-lib-quill.mjs +500 -0
  22. package/fesm2020/cleavelandprice-ngx-lib-quill.mjs.map +1 -0
  23. package/package.json +16 -8
  24. package/{quill-editor → quill}/components/editor/editor.component.d.ts +4 -9
  25. package/{quill-editor → quill}/index.d.ts +1 -1
  26. package/quill/mention/components/editor/editor.component.d.ts +20 -0
  27. package/quill/mention/index.d.ts +5 -0
  28. package/quill/mention/model/dialog-data.d.ts +5 -0
  29. package/quill/mention/public_api.d.ts +1 -0
  30. package/quill/mention/quill-mention.module.d.ts +17 -0
  31. package/{quill-editor → quill}/model/buttons.d.ts +0 -0
  32. package/{quill-editor → quill}/model/config.d.ts +0 -1
  33. package/{quill-editor → quill}/model/dialog-data.d.ts +1 -3
  34. package/{quill-editor → quill}/model/icons.d.ts +0 -0
  35. package/{quill-editor → quill}/model/tooltips.d.ts +0 -0
  36. package/{quill-editor → quill}/public_api.d.ts +2 -1
  37. package/quill/quill.module.d.ts +17 -0
  38. package/esm2020/quill-editor/cleavelandprice-ngx-lib-quill-editor.mjs +0 -5
  39. package/esm2020/quill-editor/components/editor/editor.component.mjs +0 -289
  40. package/esm2020/quill-editor/model/buttons.mjs +0 -51
  41. package/esm2020/quill-editor/model/config.mjs +0 -40
  42. package/esm2020/quill-editor/model/dialog-data.mjs +0 -2
  43. package/esm2020/quill-editor/model/icons.mjs +0 -9
  44. package/esm2020/quill-editor/model/tooltips.mjs +0 -54
  45. package/esm2020/quill-editor/public_api.mjs +0 -7
  46. package/esm2020/quill-editor/quill-editor.module.mjs +0 -65
  47. package/fesm2015/cleavelandprice-ngx-lib-quill-editor.mjs +0 -506
  48. package/fesm2015/cleavelandprice-ngx-lib-quill-editor.mjs.map +0 -1
  49. package/fesm2020/cleavelandprice-ngx-lib-quill-editor.mjs +0 -500
  50. package/fesm2020/cleavelandprice-ngx-lib-quill-editor.mjs.map +0 -1
  51. package/quill-editor/quill-editor.module.d.ts +0 -17
@@ -0,0 +1,505 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, forwardRef, Component, Optional, Inject, ViewChild, Input, Output, NgModule, SkipSelf } from '@angular/core';
3
+ import * as i3 from '@angular/forms';
4
+ import { NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
5
+ import * as i1 from '@angular/material/dialog';
6
+ import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
7
+ import * as i6 from 'ngx-quill';
8
+ import { QuillEditorComponent, QuillModule as QuillModule$1 } from 'ngx-quill';
9
+ import * as i2 from '@angular/common';
10
+ import { CommonModule } from '@angular/common';
11
+ import * as i4 from '@angular/material/icon';
12
+ import { MatIconModule } from '@angular/material/icon';
13
+ import * as i5 from '@angular/material/tooltip';
14
+ import { MatTooltipModule } from '@angular/material/tooltip';
15
+ import { MatButtonModule } from '@angular/material/button';
16
+
17
+ class Buttons {
18
+ constructor() {
19
+ //#region Font Style
20
+ this.bold = true;
21
+ this.italic = true;
22
+ this.strike = true;
23
+ this.underline = true;
24
+ //#endregion
25
+ //#region Media
26
+ this.link = true;
27
+ this.image = true;
28
+ this.video = true;
29
+ //#endregion
30
+ //#region Block Style
31
+ this.blockquote = true;
32
+ this.codeblock = true;
33
+ //#endregion
34
+ //#region Heading Style
35
+ this.h1 = true;
36
+ this.h2 = true;
37
+ //#endregion
38
+ //#region Color
39
+ this.color = true;
40
+ //#endregion
41
+ //#region List Style
42
+ this.bulleted = true;
43
+ this.ordered = true;
44
+ //#endregion
45
+ //#region Script Style
46
+ this.subScript = true;
47
+ this.superScript = true;
48
+ //#endregion
49
+ //#region Indent Style
50
+ this.increaseIndent = true;
51
+ this.decreaseIndent = true;
52
+ //#endregion
53
+ //#region DropDowns
54
+ this.align = true;
55
+ this.font = true;
56
+ this.fontSize = true;
57
+ this.headingStyle = true;
58
+ //#endregion
59
+ //#region Single Buttons
60
+ this.clean = true;
61
+ this.formula = true;
62
+ this.rtl = true;
63
+ this.editorSize = true;
64
+ //#endregion
65
+ }
66
+ }
67
+
68
+ class Icons {
69
+ constructor() {
70
+ this.maximize = 'open_in_full';
71
+ this.minimize = 'close_fullscreen';
72
+ this.popout = 'open_in_full';
73
+ this.popin = 'done';
74
+ }
75
+ }
76
+
77
+ class Tooltips {
78
+ constructor() {
79
+ //#region Font Style
80
+ this.bold = 'Bold';
81
+ this.italic = 'Italic';
82
+ this.strike = 'Strikethrough';
83
+ this.underline = 'Underline';
84
+ //#endregion
85
+ //#region Media
86
+ this.link = 'Link';
87
+ this.image = 'Insert Image';
88
+ this.video = 'Insert Video';
89
+ //#endregion
90
+ //#region Block Style
91
+ this.blockquote = 'Blockquote';
92
+ this.codeblock = 'Code Block';
93
+ //#endregion
94
+ //#region Heading Style
95
+ this.h1 = 'Heading 1';
96
+ this.h2 = 'Heading 2';
97
+ //#endregion
98
+ //#region Color
99
+ this.color = 'Font / Background Color';
100
+ //#endregion
101
+ //#region List Style
102
+ this.bulleted = 'Bulleted List';
103
+ this.ordered = 'Ordered List';
104
+ //#endregion
105
+ //#region Script Style
106
+ this.subScript = 'Subscript';
107
+ this.superScript = 'Superscript';
108
+ //#endregion
109
+ //#region Indent Style
110
+ this.increaseIndent = 'Increase Indent';
111
+ this.decreaseIndent = 'Decrease Indent';
112
+ //#endregion
113
+ //#region DropDowns
114
+ this.align = 'Align';
115
+ this.font = 'Font';
116
+ this.fontSize = 'Font Size';
117
+ this.headingStyle = 'Heading';
118
+ //#endregion
119
+ //#region Single Buttons
120
+ this.clean = 'Clean';
121
+ this.formula = 'Formula';
122
+ this.rtl = 'Right-To-Left';
123
+ this.maximize = 'Maximize';
124
+ this.minimize = 'Minimize';
125
+ this.popout = 'Popout';
126
+ this.popin = 'Done';
127
+ //#endregion
128
+ }
129
+ }
130
+
131
+ class Config {
132
+ constructor() {
133
+ this.buttons = new Buttons();
134
+ this.tooltips = new Tooltips();
135
+ this.icons = new Icons();
136
+ //#region These can be overriden via @Input()
137
+ this.format = 'html';
138
+ this.height = '50vh';
139
+ this.width = '100%';
140
+ this.fullscreenHeight = '85vh';
141
+ this.fullscreenWidth = '100%';
142
+ this.enableTooltips = true;
143
+ this.fullscreen = false;
144
+ this.fullscreenMode = 'popout';
145
+ this.readonly = false;
146
+ this.applyReadonlyStyle = true;
147
+ this.showToolbar = true;
148
+ this.showBorder = true;
149
+ //#region Optional Quill modules
150
+ this.imageResizeModule = true;
151
+ this.imageDropModule = true;
152
+ //mentionModule = true;
153
+ this.syntaxModule = true;
154
+ //#endregion
155
+ //#endregion
156
+ //#region Groups
157
+ this.showBlockStyle = () => this.buttons.blockquote || this.buttons.codeblock;
158
+ this.showFontStyle = () => this.buttons.bold || this.buttons.italic || this.buttons.strike || this.buttons.underline;
159
+ this.showQuickHeadingStyle = () => this.buttons.h1 || this.buttons.h2;
160
+ this.showIndentStyle = () => this.buttons.decreaseIndent || this.buttons.increaseIndent;
161
+ this.showListStyle = () => this.buttons.bulleted || this.buttons.ordered;
162
+ this.showMedia = () => this.buttons.link || this.buttons.image || this.buttons.video;
163
+ this.showScriptStyle = () => this.buttons.subScript || this.buttons.superScript;
164
+ //#endregion
165
+ }
166
+ }
167
+
168
+ class EditorComponent {
169
+ //#endregion
170
+ constructor(data, dialogRef,
171
+ //private activeDirectoryService: ActiveDirectoryService,
172
+ dialog) {
173
+ this.data = data;
174
+ this.dialogRef = dialogRef;
175
+ this.dialog = dialog;
176
+ this.onChange = (_) => { }; // Invoked when the model has been changed
177
+ this.onTouched = () => { }; // Invoked when the model has been touched
178
+ //#endregion
179
+ this.config = new Config();
180
+ //@Input() users: User[] | undefined;
181
+ //#region These can be passed in as @Input(), or use values from config
182
+ this.format = this.config.format;
183
+ this.height = this.config.height;
184
+ this.width = this.config.width;
185
+ this.fullscreenHeight = this.config.fullscreenHeight;
186
+ this.fullscreenWidth = this.config.fullscreenWidth;
187
+ this.fullscreenMode = this.config.fullscreenMode;
188
+ //#endregion
189
+ //#endregion
190
+ this.fullscreenChanged = new EventEmitter();
191
+ //#region Passthrough events
192
+ this.onBlur = new EventEmitter();
193
+ this.onContentChanged = new EventEmitter();
194
+ this.onEditorChanged = new EventEmitter();
195
+ this.onEditorCreated = new EventEmitter();
196
+ this.onFocus = new EventEmitter();
197
+ this.onSelectionChanged = new EventEmitter();
198
+ }
199
+ ngOnInit() {
200
+ this.initialize();
201
+ /*if (!this.users) {
202
+ this.activeDirectoryService.getUsers().subscribe(users =>
203
+ this.users = users
204
+ );
205
+ }*/
206
+ }
207
+ initialize() {
208
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15;
209
+ this.config = (_c = (_a = this.config) !== null && _a !== void 0 ? _a : (_b = this.data) === null || _b === void 0 ? void 0 : _b.config) !== null && _c !== void 0 ? _c : new Config();
210
+ this.value = (_d = this.value) !== null && _d !== void 0 ? _d : (_e = this.data) === null || _e === void 0 ? void 0 : _e.value;
211
+ this.imageResizeModule = this.imageResizeModule !== undefined ?
212
+ this.imageResizeModule :
213
+ (_f = this.imageResizeModule) !== null && _f !== void 0 ? _f : this.config.imageResizeModule;
214
+ this.imageDropModule = this.imageDropModule !== undefined ?
215
+ this.imageDropModule :
216
+ (_g = this.imageDropModule) !== null && _g !== void 0 ? _g : this.config.imageDropModule;
217
+ /*this.mentionModule = this.mentionModule !== undefined ?
218
+ this.mentionModule :
219
+ this.mentionModule ?? this.config.mentionModule;*/
220
+ this.syntaxModule = this.syntaxModule !== undefined ?
221
+ this.syntaxModule :
222
+ (_h = this.syntaxModule) !== null && _h !== void 0 ? _h : this.config.syntaxModule;
223
+ // Moved to client responsibility
224
+ /*if (this.imageDropModule) {
225
+ Quill.register('modules/imageDrop', ImageDrop);
226
+ }*/
227
+ this.placeholder = (_j = this.placeholder) !== null && _j !== void 0 ? _j : (_k = this.data) === null || _k === void 0 ? void 0 : _k.placeholder;
228
+ //this.users = this.users ?? this.data?.users;
229
+ this.format = (_o = (_l = this.format) !== null && _l !== void 0 ? _l : (_m = this.data) === null || _m === void 0 ? void 0 : _m.format) !== null && _o !== void 0 ? _o : this.config.format;
230
+ this.height = (_r = (_p = this.height) !== null && _p !== void 0 ? _p : (_q = this.data) === null || _q === void 0 ? void 0 : _q.height) !== null && _r !== void 0 ? _r : this.config.height;
231
+ this.width = (_u = (_s = this.width) !== null && _s !== void 0 ? _s : (_t = this.data) === null || _t === void 0 ? void 0 : _t.width) !== null && _u !== void 0 ? _u : this.config.width;
232
+ this.fullscreenHeight = (_x = (_v = this.fullscreenHeight) !== null && _v !== void 0 ? _v : (_w = this.data) === null || _w === void 0 ? void 0 : _w.maxHeight) !== null && _x !== void 0 ? _x : this.config.fullscreenHeight;
233
+ this.fullscreenWidth = (_0 = (_y = this.fullscreenWidth) !== null && _y !== void 0 ? _y : (_z = this.data) === null || _z === void 0 ? void 0 : _z.maxWidth) !== null && _0 !== void 0 ? _0 : this.config.fullscreenWidth;
234
+ this.fullscreenMode = (_3 = (_1 = this.fullscreenMode) !== null && _1 !== void 0 ? _1 : (_2 = this.data) === null || _2 === void 0 ? void 0 : _2.fullscreenMode) !== null && _3 !== void 0 ? _3 : this.config.fullscreenMode;
235
+ this.enableTooltips = this.enableTooltips !== undefined ?
236
+ this.enableTooltips :
237
+ (_5 = (_4 = this.data) === null || _4 === void 0 ? void 0 : _4.enableTooltips) !== null && _5 !== void 0 ? _5 : this.config.enableTooltips;
238
+ this.fullscreen = this.fullscreen !== undefined ?
239
+ this.fullscreen :
240
+ (_7 = (_6 = this.data) === null || _6 === void 0 ? void 0 : _6.fullscreen) !== null && _7 !== void 0 ? _7 : this.config.fullscreen;
241
+ this.readonly = this.readonly !== undefined ?
242
+ this.readonly :
243
+ (_9 = (_8 = this.data) === null || _8 === void 0 ? void 0 : _8.readonly) !== null && _9 !== void 0 ? _9 : this.config.readonly;
244
+ this.applyReadonlyStyle = this.applyReadonlyStyle !== undefined ?
245
+ this.applyReadonlyStyle :
246
+ (_11 = (_10 = this.data) === null || _10 === void 0 ? void 0 : _10.applyReadonlyStyle) !== null && _11 !== void 0 ? _11 : this.config.applyReadonlyStyle;
247
+ this.showToolbar = this.showToolbar !== undefined ?
248
+ this.showToolbar :
249
+ (_13 = (_12 = this.data) === null || _12 === void 0 ? void 0 : _12.showToolbar) !== null && _13 !== void 0 ? _13 : this.config.showToolbar;
250
+ this.showBorder = this.showBorder !== undefined ?
251
+ this.showBorder :
252
+ (_15 = (_14 = this.data) === null || _14 === void 0 ? void 0 : _14.showBorder) !== null && _15 !== void 0 ? _15 : this.config.showBorder;
253
+ }
254
+ toggleFullscreen() {
255
+ if (this.fullscreenMode === 'expand') {
256
+ this.fullscreen = !this.fullscreen;
257
+ this.fullscreenChanged.emit(this.fullscreen);
258
+ }
259
+ else {
260
+ if (this.fullscreen) {
261
+ this.dialogRef.close(this.value);
262
+ this.fullscreenChanged.emit(false);
263
+ }
264
+ else {
265
+ const data = {
266
+ value: this.value,
267
+ config: this.config,
268
+ placeholder: this.placeholder,
269
+ format: this.format,
270
+ height: this.fullscreenHeight,
271
+ width: '100%',
272
+ maxHeight: this.fullscreenHeight,
273
+ maxWidth: '100%',
274
+ enableTooltips: this.enableTooltips,
275
+ fullscreen: true,
276
+ fullscreenMode: this.fullscreenMode,
277
+ readonly: this.readonly,
278
+ applyReadonlyStyle: this.applyReadonlyStyle,
279
+ showToolbar: this.showToolbar,
280
+ showBorder: this.showBorder
281
+ //users: this.users
282
+ };
283
+ this.dialog.open(EditorComponent, {
284
+ disableClose: true,
285
+ width: this.fullscreenWidth,
286
+ height: this.fullscreenHeight,
287
+ data
288
+ })
289
+ .afterClosed()
290
+ .subscribe(value => {
291
+ this.value = value;
292
+ this.updateChanges();
293
+ });
294
+ this.fullscreenChanged.emit(true);
295
+ }
296
+ }
297
+ }
298
+ tooltip(val) {
299
+ return this.enableTooltips ? val : '';
300
+ }
301
+ get modules() {
302
+ //if (!this.users) { return undefined; }
303
+ const modules = {};
304
+ if (!this.showToolbar) {
305
+ modules['toolbar'] = [];
306
+ }
307
+ if (this.imageResizeModule) {
308
+ modules['imageResize'] = {};
309
+ }
310
+ if (this.imageDropModule) {
311
+ modules['imageDrop'] = true;
312
+ }
313
+ if (this.syntaxModule) {
314
+ modules['syntax'] = true;
315
+ }
316
+ /*if (this.mentionModule) {
317
+ modules['mention'] = {
318
+ allowedChars: /^[A-Za-z\sÅÄÖåäö]*$/,
319
+
320
+ onSelect: (item: DOMStringMap, insertItem: any) => {
321
+ const editor = this.editor!.quillEditor
322
+ insertItem(item)
323
+ // necessary because quill-mention triggers changes as 'api' instead of 'user'
324
+ editor.insertText(editor.getLength() - 1, '', 'user')
325
+ },
326
+
327
+ source: (searchTerm: string, renderList: any) => {
328
+ if (searchTerm.length === 0) {
329
+ renderList(this.users?.map(u => ({ value: `${u.displayName} (${u.sAMAccountName.toLowerCase()})` })), searchTerm)
330
+ } else {
331
+ const matches: any[] = []
332
+
333
+ this.users!.forEach((entry) => {
334
+ if (
335
+ entry.displayName.toLowerCase().indexOf(searchTerm.toLowerCase()) !== -1 ||
336
+ entry.sAMAccountName.toLowerCase().indexOf(searchTerm.toLowerCase()) !== -1
337
+ ) {
338
+ matches.push({ value: `${entry.displayName} (${entry.sAMAccountName.toLowerCase()})` })
339
+ }
340
+ })
341
+
342
+ renderList(matches, searchTerm)
343
+ }
344
+ }
345
+ };
346
+ }*/
347
+ return modules;
348
+ }
349
+ //#region ControlValueAccessor methods
350
+ // Method that is invoked on an update of a model.
351
+ updateChanges() {
352
+ this.onChange(this.value);
353
+ }
354
+ //#region ControlValueAccessor Overrides
355
+ // Writes a new item to the element.
356
+ writeValue(value) {
357
+ this.value = value;
358
+ this.updateChanges();
359
+ }
360
+ // Registers a callback function that should be called when the control's value changes in the UI.
361
+ registerOnChange(fn) {
362
+ this.onChange = fn;
363
+ }
364
+ // Registers a callback function that should be called when the control receives a blur event.
365
+ registerOnTouched(fn) {
366
+ this.onTouched = fn;
367
+ }
368
+ }
369
+ EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: EditorComponent, deps: [{ token: MAT_DIALOG_DATA, optional: true }, { token: i1.MatDialogRef, optional: true }, { token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
370
+ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: EditorComponent, selector: "cpquill-editor", inputs: { config: "config", placeholder: "placeholder", format: "format", height: "height", width: "width", fullscreenHeight: "fullscreenHeight", fullscreenWidth: "fullscreenWidth", fullscreenMode: "fullscreenMode", enableTooltips: "enableTooltips", fullscreen: "fullscreen", readonly: "readonly", applyReadonlyStyle: "applyReadonlyStyle", showToolbar: "showToolbar", showBorder: "showBorder", imageResizeModule: "imageResizeModule", imageDropModule: "imageDropModule", syntaxModule: "syntaxModule" }, outputs: { fullscreenChanged: "fullscreenChanged", onBlur: "onBlur", onContentChanged: "onContentChanged", onEditorChanged: "onEditorChanged", onEditorCreated: "onEditorCreated", onFocus: "onFocus", onSelectionChanged: "onSelectionChanged" }, providers: [{
371
+ provide: NG_VALUE_ACCESSOR,
372
+ useExisting: forwardRef(() => EditorComponent),
373
+ multi: true
374
+ }], viewQueries: [{ propertyName: "editor", first: true, predicate: QuillEditorComponent, descendants: true }], ngImport: i0, template: "<ng-container>\r\n <form>\r\n <quill-editor name=\"editor\"\r\n [(ngModel)]=\"value\"\r\n (ngModelChange)=\"updateChanges()\"\r\n\r\n [placeholder]=\"placeholder\"\r\n [format]=\"format\"\r\n [style.height]=\"fullscreen ? fullscreenHeight : height\"\r\n [style.width]=\"fullscreen ? fullscreenWidth : width\"\r\n [readOnly]=\"readonly\"\r\n [class.readonly]=\"readonly && applyReadonlyStyle\"\r\n [class.no-toolbar]=\"!showToolbar\"\r\n [class.no-border]=\"!showBorder\"\r\n [modules]=\"modules\"\r\n \r\n (onBlur)=\"onBlur.emit($event)\"\r\n (onContentChanged)=\"onContentChanged.emit($event)\"\r\n (onEditorChanged)=\"onEditorChanged.emit($event)\"\r\n (onEditorCreated)=\"onEditorCreated.emit()\"\r\n (onFocus)=\"onFocus.emit($event)\"\r\n (onSelectionChanged)=\"onSelectionChanged.emit($event)\">\r\n \r\n <div quill-editor-toolbar *ngIf=\"showToolbar\">\r\n <ng-container [ngTemplateOutlet]=\"toolbar\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"editorSize\"></ng-container>\r\n </div>\r\n </quill-editor>\r\n </form>\r\n</ng-container>\r\n\r\n<ng-template #toolbar>\r\n <div>\r\n <ng-container [ngTemplateOutlet]=\"fontStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"blockStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"headingStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"listStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"scriptStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"indentStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"rtl\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"fontSize\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"heading\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"color\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"font\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"align\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"clean\"></ng-container>\r\n <nt-container [ngTemplateOutlet]=\"formula\"></nt-container>\r\n <ng-container [ngTemplateOutlet]=\"media\"></ng-container>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #fontStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config.showFontStyle\">\r\n <button class=\"ql-bold\" *ngIf=\"config.buttons.bold\" [matTooltip]=\"tooltip(config.tooltips.bold)\"></button>\r\n <button class=\"ql-italic\" *ngIf=\"config.buttons.italic\" [matTooltip]=\"tooltip(config.tooltips.italic)\"></button>\r\n <button class=\"ql-underline\" *ngIf=\"config.buttons.underline\" [matTooltip]=\"tooltip(config.tooltips.underline)\"></button>\r\n <button class=\"ql-strike\" *ngIf=\"config.buttons.strike\" [matTooltip]=\"tooltip(config.tooltips.strike)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #blockStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config.showBlockStyle\">\r\n <button class=\"ql-blockquote\" *ngIf=\"config.buttons.blockquote\" [matTooltip]=\"tooltip(config.tooltips.blockquote)\"></button>\r\n <button class=\"ql-code-block\" *ngIf=\"config.buttons.codeblock\" [matTooltip]=\"tooltip(config.tooltips.codeblock)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #headingStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config.showQuickHeadingStyle\">\r\n <button class=\"ql-header\" value=\"1\" *ngIf=\"config.buttons.h1\" [matTooltip]=\"tooltip(config.tooltips.h1)\"></button>\r\n <button class=\"ql-header\" value=\"2\" *ngIf=\"config.buttons.h2\" [matTooltip]=\"tooltip(config.tooltips.h2)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #listStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config.showListStyle\">\r\n <button class=\"ql-list\" value=\"ordered\" *ngIf=\"config.buttons.ordered\" [matTooltip]=\"tooltip(config.tooltips.ordered)\"></button>\r\n <button class=\"ql-list\" value=\"bullet\" *ngIf=\"config.buttons.bulleted\" [matTooltip]=\"tooltip(config.tooltips.bulleted)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #scriptStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config.showScriptStyle\">\r\n <button class=\"ql-script\" value=\"sub\" *ngIf=\"config.buttons.subScript\" [matTooltip]=\"tooltip(config.tooltips.subScript)\"></button>\r\n <button class=\"ql-script\" value=\"super\" *ngIf=\"config.buttons.superScript\" [matTooltip]=\"tooltip(config.tooltips.superScript)\"></button>\r\n </span>\r\n</ng-template>\r\n \r\n<ng-template #indentStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config.showIndentStyle\">\r\n <button class=\"ql-indent\" value=\"-1\" *ngIf=\"config.buttons.decreaseIndent\" [matTooltip]=\"tooltip(config.tooltips.decreaseIndent)\"></button>\r\n <button class=\"ql-indent\" value=\"+1\" *ngIf=\"config.buttons.increaseIndent\" [matTooltip]=\"tooltip(config.tooltips.increaseIndent)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #rtl>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.rtl\">\r\n <button class=\"ql-direction\" value=\"rtl\" [matTooltip]=\"tooltip(config.tooltips.rtl)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #fontSize>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.fontSize\" [matTooltip]=\"tooltip(config.tooltips.fontSize)\">\r\n <select class=\"ql-size\">\r\n <option value=\"small\"></option>\r\n <option selected></option>\r\n <option value=\"large\"></option>\r\n <option value=\"huge\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #heading>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.headingStyle\" [matTooltip]=\"tooltip(config.tooltips.headingStyle)\">\r\n <select class=\"ql-header\">\r\n <option value=\"1\"></option>\r\n <option value=\"2\"></option>\r\n <option value=\"3\"></option>\r\n <option value=\"4\"></option>\r\n <option value=\"5\"></option>\r\n <option value=\"6\"></option>\r\n <option selected=\"selected\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #color>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.color\" [matTooltip]=\"tooltip(config.tooltips.color)\">\r\n <select class=\"ql-color\"></select>\r\n <select class=\"ql-background\"></select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #font>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.font\" [matTooltip]=\"tooltip(config.tooltips.font)\">\r\n <select class=\"ql-font\">\r\n <option selected></option>\r\n <option value=\"serif\"></option>\r\n <option value=\"monospace\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #align>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.align\" [matTooltip]=\"tooltip(config.tooltips.align)\">\r\n <select class=\"ql-align\">\r\n <option selected></option>\r\n <option value=\"center\"></option>\r\n <option value=\"right\"></option>\r\n <option value=\"justify\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #clean>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.clean\" [matTooltip]=\"tooltip(config.tooltips.clean)\">\r\n <button class=\"ql-clean\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #media>\r\n <span class=\"ql-formats\" *ngIf=\"config.showMedia\">\r\n <button class=\"ql-link\" *ngIf=\"config.buttons.link\" [matTooltip]=\"tooltip(config.tooltips.link)\"></button>\r\n <button class=\"ql-image\" *ngIf=\"config.buttons.image\" [matTooltip]=\"tooltip(config.tooltips.image)\"></button>\r\n <button class=\"ql-video\" *ngIf=\"config.buttons.video\" [matTooltip]=\"tooltip(config.tooltips.video)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #editorSize>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.editorSize\">\r\n <button id=\"fullscreen\"\r\n [matTooltip]=\"tooltip(fullscreen ?\r\n (fullscreenMode === 'expand' ? config.tooltips.minimize : config.tooltips.popin) :\r\n (fullscreenMode === 'expand' ? config.tooltips.maximize : config.tooltips.popout))\">\r\n\r\n <mat-icon (click)=\"toggleFullscreen()\">\r\n {{ fullscreen ?\r\n (fullscreenMode === 'expand' ? config.icons.minimize : config.icons.popin) :\r\n (fullscreenMode === 'expand' ? config.icons.maximize : config.icons.popout)\r\n }}\r\n </mat-icon>\r\n </button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #formula>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.formula\" [matTooltip]=\"tooltip(config.tooltips.formula)\">\r\n <button class=\"ql-formula\"></button>\r\n </span>\r\n</ng-template>", styles: [".ql-toolbar{display:grid;grid-template-columns:1fr auto}mat-icon{color:#ff4500}quill-editor.readonly .ql-toolbar{opacity:.5}::ng-deep quill-editor.no-toolbar .ql-toolbar{height:0;padding:0;visibility:hidden}::ng-deep quill-editor.no-border .ql-container{border:none}::ng-deep quill-editor.readonly .ql-container{background-color:#f5f5f5!important}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i6.QuillEditorComponent, selector: "quill-editor" }] });
375
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: EditorComponent, decorators: [{
376
+ type: Component,
377
+ args: [{ selector: 'cpquill-editor', providers: [{
378
+ provide: NG_VALUE_ACCESSOR,
379
+ useExisting: forwardRef(() => EditorComponent),
380
+ multi: true
381
+ }], template: "<ng-container>\r\n <form>\r\n <quill-editor name=\"editor\"\r\n [(ngModel)]=\"value\"\r\n (ngModelChange)=\"updateChanges()\"\r\n\r\n [placeholder]=\"placeholder\"\r\n [format]=\"format\"\r\n [style.height]=\"fullscreen ? fullscreenHeight : height\"\r\n [style.width]=\"fullscreen ? fullscreenWidth : width\"\r\n [readOnly]=\"readonly\"\r\n [class.readonly]=\"readonly && applyReadonlyStyle\"\r\n [class.no-toolbar]=\"!showToolbar\"\r\n [class.no-border]=\"!showBorder\"\r\n [modules]=\"modules\"\r\n \r\n (onBlur)=\"onBlur.emit($event)\"\r\n (onContentChanged)=\"onContentChanged.emit($event)\"\r\n (onEditorChanged)=\"onEditorChanged.emit($event)\"\r\n (onEditorCreated)=\"onEditorCreated.emit()\"\r\n (onFocus)=\"onFocus.emit($event)\"\r\n (onSelectionChanged)=\"onSelectionChanged.emit($event)\">\r\n \r\n <div quill-editor-toolbar *ngIf=\"showToolbar\">\r\n <ng-container [ngTemplateOutlet]=\"toolbar\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"editorSize\"></ng-container>\r\n </div>\r\n </quill-editor>\r\n </form>\r\n</ng-container>\r\n\r\n<ng-template #toolbar>\r\n <div>\r\n <ng-container [ngTemplateOutlet]=\"fontStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"blockStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"headingStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"listStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"scriptStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"indentStyle\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"rtl\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"fontSize\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"heading\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"color\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"font\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"align\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"clean\"></ng-container>\r\n <nt-container [ngTemplateOutlet]=\"formula\"></nt-container>\r\n <ng-container [ngTemplateOutlet]=\"media\"></ng-container>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #fontStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config.showFontStyle\">\r\n <button class=\"ql-bold\" *ngIf=\"config.buttons.bold\" [matTooltip]=\"tooltip(config.tooltips.bold)\"></button>\r\n <button class=\"ql-italic\" *ngIf=\"config.buttons.italic\" [matTooltip]=\"tooltip(config.tooltips.italic)\"></button>\r\n <button class=\"ql-underline\" *ngIf=\"config.buttons.underline\" [matTooltip]=\"tooltip(config.tooltips.underline)\"></button>\r\n <button class=\"ql-strike\" *ngIf=\"config.buttons.strike\" [matTooltip]=\"tooltip(config.tooltips.strike)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #blockStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config.showBlockStyle\">\r\n <button class=\"ql-blockquote\" *ngIf=\"config.buttons.blockquote\" [matTooltip]=\"tooltip(config.tooltips.blockquote)\"></button>\r\n <button class=\"ql-code-block\" *ngIf=\"config.buttons.codeblock\" [matTooltip]=\"tooltip(config.tooltips.codeblock)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #headingStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config.showQuickHeadingStyle\">\r\n <button class=\"ql-header\" value=\"1\" *ngIf=\"config.buttons.h1\" [matTooltip]=\"tooltip(config.tooltips.h1)\"></button>\r\n <button class=\"ql-header\" value=\"2\" *ngIf=\"config.buttons.h2\" [matTooltip]=\"tooltip(config.tooltips.h2)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #listStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config.showListStyle\">\r\n <button class=\"ql-list\" value=\"ordered\" *ngIf=\"config.buttons.ordered\" [matTooltip]=\"tooltip(config.tooltips.ordered)\"></button>\r\n <button class=\"ql-list\" value=\"bullet\" *ngIf=\"config.buttons.bulleted\" [matTooltip]=\"tooltip(config.tooltips.bulleted)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #scriptStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config.showScriptStyle\">\r\n <button class=\"ql-script\" value=\"sub\" *ngIf=\"config.buttons.subScript\" [matTooltip]=\"tooltip(config.tooltips.subScript)\"></button>\r\n <button class=\"ql-script\" value=\"super\" *ngIf=\"config.buttons.superScript\" [matTooltip]=\"tooltip(config.tooltips.superScript)\"></button>\r\n </span>\r\n</ng-template>\r\n \r\n<ng-template #indentStyle>\r\n <span class=\"ql-formats\" *ngIf=\"config.showIndentStyle\">\r\n <button class=\"ql-indent\" value=\"-1\" *ngIf=\"config.buttons.decreaseIndent\" [matTooltip]=\"tooltip(config.tooltips.decreaseIndent)\"></button>\r\n <button class=\"ql-indent\" value=\"+1\" *ngIf=\"config.buttons.increaseIndent\" [matTooltip]=\"tooltip(config.tooltips.increaseIndent)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #rtl>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.rtl\">\r\n <button class=\"ql-direction\" value=\"rtl\" [matTooltip]=\"tooltip(config.tooltips.rtl)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #fontSize>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.fontSize\" [matTooltip]=\"tooltip(config.tooltips.fontSize)\">\r\n <select class=\"ql-size\">\r\n <option value=\"small\"></option>\r\n <option selected></option>\r\n <option value=\"large\"></option>\r\n <option value=\"huge\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #heading>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.headingStyle\" [matTooltip]=\"tooltip(config.tooltips.headingStyle)\">\r\n <select class=\"ql-header\">\r\n <option value=\"1\"></option>\r\n <option value=\"2\"></option>\r\n <option value=\"3\"></option>\r\n <option value=\"4\"></option>\r\n <option value=\"5\"></option>\r\n <option value=\"6\"></option>\r\n <option selected=\"selected\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #color>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.color\" [matTooltip]=\"tooltip(config.tooltips.color)\">\r\n <select class=\"ql-color\"></select>\r\n <select class=\"ql-background\"></select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #font>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.font\" [matTooltip]=\"tooltip(config.tooltips.font)\">\r\n <select class=\"ql-font\">\r\n <option selected></option>\r\n <option value=\"serif\"></option>\r\n <option value=\"monospace\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #align>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.align\" [matTooltip]=\"tooltip(config.tooltips.align)\">\r\n <select class=\"ql-align\">\r\n <option selected></option>\r\n <option value=\"center\"></option>\r\n <option value=\"right\"></option>\r\n <option value=\"justify\"></option>\r\n </select>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #clean>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.clean\" [matTooltip]=\"tooltip(config.tooltips.clean)\">\r\n <button class=\"ql-clean\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #media>\r\n <span class=\"ql-formats\" *ngIf=\"config.showMedia\">\r\n <button class=\"ql-link\" *ngIf=\"config.buttons.link\" [matTooltip]=\"tooltip(config.tooltips.link)\"></button>\r\n <button class=\"ql-image\" *ngIf=\"config.buttons.image\" [matTooltip]=\"tooltip(config.tooltips.image)\"></button>\r\n <button class=\"ql-video\" *ngIf=\"config.buttons.video\" [matTooltip]=\"tooltip(config.tooltips.video)\"></button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #editorSize>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.editorSize\">\r\n <button id=\"fullscreen\"\r\n [matTooltip]=\"tooltip(fullscreen ?\r\n (fullscreenMode === 'expand' ? config.tooltips.minimize : config.tooltips.popin) :\r\n (fullscreenMode === 'expand' ? config.tooltips.maximize : config.tooltips.popout))\">\r\n\r\n <mat-icon (click)=\"toggleFullscreen()\">\r\n {{ fullscreen ?\r\n (fullscreenMode === 'expand' ? config.icons.minimize : config.icons.popin) :\r\n (fullscreenMode === 'expand' ? config.icons.maximize : config.icons.popout)\r\n }}\r\n </mat-icon>\r\n </button>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #formula>\r\n <span class=\"ql-formats\" *ngIf=\"config.buttons.formula\" [matTooltip]=\"tooltip(config.tooltips.formula)\">\r\n <button class=\"ql-formula\"></button>\r\n </span>\r\n</ng-template>", styles: [".ql-toolbar{display:grid;grid-template-columns:1fr auto}mat-icon{color:#ff4500}quill-editor.readonly .ql-toolbar{opacity:.5}::ng-deep quill-editor.no-toolbar .ql-toolbar{height:0;padding:0;visibility:hidden}::ng-deep quill-editor.no-border .ql-container{border:none}::ng-deep quill-editor.readonly .ql-container{background-color:#f5f5f5!important}\n"] }]
382
+ }], ctorParameters: function () {
383
+ return [{ type: undefined, decorators: [{
384
+ type: Optional
385
+ }, {
386
+ type: Inject,
387
+ args: [MAT_DIALOG_DATA]
388
+ }] }, { type: i1.MatDialogRef, decorators: [{
389
+ type: Optional
390
+ }] }, { type: i1.MatDialog }];
391
+ }, propDecorators: { editor: [{
392
+ type: ViewChild,
393
+ args: [QuillEditorComponent, { static: false }]
394
+ }], config: [{
395
+ type: Input
396
+ }], placeholder: [{
397
+ type: Input
398
+ }], format: [{
399
+ type: Input
400
+ }], height: [{
401
+ type: Input
402
+ }], width: [{
403
+ type: Input
404
+ }], fullscreenHeight: [{
405
+ type: Input
406
+ }], fullscreenWidth: [{
407
+ type: Input
408
+ }], fullscreenMode: [{
409
+ type: Input
410
+ }], enableTooltips: [{
411
+ type: Input
412
+ }], fullscreen: [{
413
+ type: Input
414
+ }], readonly: [{
415
+ type: Input
416
+ }], applyReadonlyStyle: [{
417
+ type: Input
418
+ }], showToolbar: [{
419
+ type: Input
420
+ }], showBorder: [{
421
+ type: Input
422
+ }], imageResizeModule: [{
423
+ type: Input
424
+ }], imageDropModule: [{
425
+ type: Input
426
+ }], syntaxModule: [{
427
+ type: Input
428
+ }], fullscreenChanged: [{
429
+ type: Output
430
+ }], onBlur: [{
431
+ type: Output
432
+ }], onContentChanged: [{
433
+ type: Output
434
+ }], onEditorChanged: [{
435
+ type: Output
436
+ }], onEditorCreated: [{
437
+ type: Output
438
+ }], onFocus: [{
439
+ type: Output
440
+ }], onSelectionChanged: [{
441
+ type: Output
442
+ }] } });
443
+
444
+ class QuillModule {
445
+ constructor(parentModule) {
446
+ if (parentModule) {
447
+ throw new Error('QuillModule is already loaded. Import it in the AppModule only');
448
+ }
449
+ }
450
+ static forRoot() {
451
+ return {
452
+ ngModule: QuillModule
453
+ };
454
+ }
455
+ }
456
+ QuillModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: QuillModule, deps: [{ token: QuillModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule });
457
+ QuillModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: QuillModule, declarations: [EditorComponent], imports: [CommonModule,
458
+ FormsModule,
459
+ ReactiveFormsModule,
460
+ MatButtonModule,
461
+ MatDialogModule,
462
+ MatIconModule,
463
+ MatTooltipModule, i6.QuillModule], exports: [EditorComponent] });
464
+ QuillModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: QuillModule, imports: [CommonModule,
465
+ FormsModule,
466
+ ReactiveFormsModule,
467
+ MatButtonModule,
468
+ MatDialogModule,
469
+ MatIconModule,
470
+ MatTooltipModule,
471
+ QuillModule$1.forRoot()] });
472
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: QuillModule, decorators: [{
473
+ type: NgModule,
474
+ args: [{
475
+ declarations: [
476
+ EditorComponent
477
+ ],
478
+ imports: [
479
+ CommonModule,
480
+ FormsModule,
481
+ ReactiveFormsModule,
482
+ MatButtonModule,
483
+ MatDialogModule,
484
+ MatIconModule,
485
+ MatTooltipModule,
486
+ QuillModule$1.forRoot()
487
+ ],
488
+ exports: [
489
+ EditorComponent
490
+ ]
491
+ }]
492
+ }], ctorParameters: function () {
493
+ return [{ type: QuillModule, decorators: [{
494
+ type: Optional
495
+ }, {
496
+ type: SkipSelf
497
+ }] }];
498
+ } });
499
+
500
+ /**
501
+ * Generated bundle index. Do not edit.
502
+ */
503
+
504
+ export { Buttons, Config, EditorComponent, Icons, QuillModule, Tooltips };
505
+ //# sourceMappingURL=cleavelandprice-ngx-lib-quill.mjs.map