@cleavelandprice/ngx-lib 3.2.1 → 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 @@
1
+ {"version":3,"file":"cleavelandprice-ngx-lib-quill.mjs","sources":["../../../../projects/cleavelandprice/ngx-lib/quill/src/model/buttons.ts","../../../../projects/cleavelandprice/ngx-lib/quill/src/model/icons.ts","../../../../projects/cleavelandprice/ngx-lib/quill/src/model/tooltips.ts","../../../../projects/cleavelandprice/ngx-lib/quill/src/model/config.ts","../../../../projects/cleavelandprice/ngx-lib/quill/src/components/editor/editor.component.ts","../../../../projects/cleavelandprice/ngx-lib/quill/src/components/editor/editor.component.html","../../../../projects/cleavelandprice/ngx-lib/quill/src/quill.module.ts","../../../../projects/cleavelandprice/ngx-lib/quill/src/cleavelandprice-ngx-lib-quill.ts"],"sourcesContent":["export class Buttons {\r\n //#region Font Style\r\n bold = true;\r\n italic = true;\r\n strike = true;\r\n underline = true;\r\n //#endregion\r\n\r\n //#region Media\r\n link = true;\r\n image = true;\r\n video = true;\r\n //#endregion\r\n\r\n //#region Block Style\r\n blockquote = true;\r\n codeblock = true;\r\n //#endregion\r\n\r\n //#region Heading Style\r\n h1 = true;\r\n h2 = true;\r\n //#endregion\r\n\r\n //#region Color\r\n color = true;\r\n //#endregion\r\n\r\n //#region List Style\r\n bulleted = true;\r\n ordered = true;\r\n //#endregion\r\n\r\n //#region Script Style\r\n subScript = true;\r\n superScript = true;\r\n //#endregion\r\n\r\n //#region Indent Style\r\n increaseIndent = true;\r\n decreaseIndent = true;\r\n //#endregion\r\n\r\n //#region DropDowns\r\n align = true;\r\n font = true;\r\n fontSize = true;\r\n headingStyle = true;\r\n //#endregion\r\n\r\n //#region Single Buttons\r\n clean = true;\r\n formula = true;\r\n rtl = true;\r\n editorSize = true;\r\n //#endregion\r\n}","export class Icons {\r\n maximize = 'open_in_full';\r\n minimize = 'close_fullscreen';\r\n popout = 'open_in_full';\r\n popin = 'done';\r\n}","export class Tooltips {\r\n //#region Font Style\r\n bold = 'Bold';\r\n italic = 'Italic';\r\n strike = 'Strikethrough';\r\n underline = 'Underline';\r\n //#endregion\r\n\r\n //#region Media\r\n link = 'Link';\r\n image = 'Insert Image';\r\n video = 'Insert Video';\r\n //#endregion\r\n\r\n //#region Block Style\r\n blockquote = 'Blockquote';\r\n codeblock = 'Code Block';\r\n //#endregion\r\n\r\n //#region Heading Style\r\n h1 = 'Heading 1';\r\n h2 = 'Heading 2';\r\n //#endregion\r\n\r\n //#region Color\r\n color = 'Font / Background Color';\r\n //#endregion\r\n\r\n //#region List Style\r\n bulleted = 'Bulleted List';\r\n ordered = 'Ordered List';\r\n //#endregion\r\n\r\n //#region Script Style\r\n subScript = 'Subscript';\r\n superScript = 'Superscript';\r\n //#endregion\r\n\r\n //#region Indent Style\r\n increaseIndent = 'Increase Indent';\r\n decreaseIndent = 'Decrease Indent';\r\n //#endregion\r\n\r\n //#region DropDowns\r\n align = 'Align';\r\n font = 'Font';\r\n fontSize = 'Font Size';\r\n headingStyle = 'Heading';\r\n //#endregion\r\n\r\n //#region Single Buttons\r\n clean = 'Clean';\r\n formula = 'Formula';\r\n rtl = 'Right-To-Left';\r\n maximize = 'Maximize';\r\n minimize = 'Minimize';\r\n popout = 'Popout';\r\n popin = 'Done';\r\n //#endregion\r\n}","import { Buttons } from \"./buttons\";\r\nimport { Icons } from \"./icons\";\r\nimport { Tooltips } from \"./tooltips\";\r\n\r\nexport class Config {\r\n buttons = new Buttons();\r\n tooltips = new Tooltips();\r\n icons = new Icons();\r\n\r\n //#region These can be overriden via @Input()\r\n format: 'object' | 'html' | 'text' | 'json' = 'html';\r\n height = '50vh';\r\n width = '100%';\r\n fullscreenHeight = '85vh';\r\n fullscreenWidth = '100%';\r\n enableTooltips = true;\r\n fullscreen = false;\r\n fullscreenMode: 'expand' | 'popout' = 'popout';\r\n readonly = false;\r\n applyReadonlyStyle = true;\r\n showToolbar = true;\r\n showBorder = true;\r\n\r\n //#region Optional Quill modules\r\n imageResizeModule = true;\r\n imageDropModule = true;\r\n //mentionModule = true;\r\n syntaxModule = true;\r\n //#endregion\r\n\r\n //#endregion\r\n\r\n //#region Groups\r\n showBlockStyle = () => this.buttons.blockquote || this.buttons.codeblock;\r\n showFontStyle = () => this.buttons.bold || this.buttons.italic || this.buttons.strike || this.buttons.underline;\r\n showQuickHeadingStyle = () => this.buttons.h1 || this.buttons.h2;\r\n showIndentStyle = () => this.buttons.decreaseIndent || this.buttons.increaseIndent;\r\n showListStyle = () => this.buttons.bulleted || this.buttons.ordered;\r\n showMedia = () => this.buttons.link || this.buttons.image || this.buttons.video;\r\n showScriptStyle = () => this.buttons.subScript || this.buttons.superScript;\r\n //#endregion\r\n}","import { Component, EventEmitter, Inject, Input, OnInit, Output, ViewChild, Optional, forwardRef } from '@angular/core';\r\nimport {ControlValueAccessor, NG_VALUE_ACCESSOR} from \"@angular/forms\";\r\n//import { FormGroup } from '@angular/forms';\r\nimport { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\n//import { ActiveDirectoryService, User } from '@cleavelandprice/ngx-lib/active-directory';\r\n\r\nimport { ContentChange, Blur, Focus, EditorChangeContent, EditorChangeSelection, SelectionChange, QuillEditorComponent } from 'ngx-quill';\r\n\r\n//import 'quill-mention';\r\n\r\n//#region Moved to client responsibility\r\n//import Quill from 'quill';\r\n\r\n// This doesn't work when done from the library - it must be done from the client app\r\n//import ImageResize from 'quill-image-resize-module';\r\n//Quill.register('modules/imageResize', ImageResize);\r\n\r\n// Treating ImageDrop the same way as ImageResize, even though it doesn't have the same problem described above\r\n//import { ImageDrop } from 'quill-image-drop-module';\r\n\r\n//#endregion\r\n\r\nimport { Config } from '../../model/config';\r\nimport { DialogData } from '../../model/dialog-data';\r\n\r\n@Component({\r\n selector: 'cpquill-editor',\r\n templateUrl: './editor.component.html',\r\n styleUrls: ['./editor.component.css'],\r\n providers: [{\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: forwardRef(() => EditorComponent),\r\n multi: true\r\n }]\r\n})\r\nexport class EditorComponent implements OnInit, ControlValueAccessor {\r\n @ViewChild(QuillEditorComponent, { static: false }) editor: QuillEditorComponent | undefined;\r\n\r\n //#region ControlValueAccessor stuff\r\n // https://stackoverflow.com/questions/50618050/how-to-create-custom-input-component-with-ngmodel-working-in-angular-6\r\n value: any; // string\r\n onChange: (_: any) => void = (_: any) => {}; // Invoked when the model has been changed\r\n onTouched: () => void = () => {}; // Invoked when the model has been touched\r\n //#endregion\r\n \r\n @Input() config: Config = new Config();\r\n @Input() placeholder: string | undefined;\r\n //@Input() users: User[] | undefined;\r\n\r\n //#region These can be passed in as @Input(), or use values from config\r\n @Input() format: 'object' | 'html' | 'text' | 'json' = this.config.format;\r\n @Input() height = this.config.height;\r\n @Input() width = this.config.width;\r\n @Input() fullscreenHeight = this.config.fullscreenHeight;\r\n @Input() fullscreenWidth = this.config.fullscreenWidth;\r\n @Input() fullscreenMode: 'expand' | 'popout' = this.config.fullscreenMode;\r\n\r\n @Input() enableTooltips: boolean | undefined;\r\n @Input() fullscreen: boolean | undefined;\r\n @Input() readonly: boolean | undefined;\r\n @Input() applyReadonlyStyle: boolean | undefined;\r\n @Input() showToolbar: boolean | undefined;\r\n @Input() showBorder: boolean | undefined;\r\n\r\n //#region Optional Quill modules\r\n @Input() imageResizeModule: boolean | undefined;\r\n @Input() imageDropModule: boolean | undefined;\r\n //@Input() mentionModule: boolean | undefined;\r\n @Input() syntaxModule: boolean | undefined;\r\n //#endregion\r\n //#endregion\r\n\r\n @Output() fullscreenChanged = new EventEmitter<boolean>();\r\n\r\n //#region Passthrough events\r\n @Output() onBlur = new EventEmitter<Blur>();\r\n @Output() onContentChanged = new EventEmitter<ContentChange>();\r\n @Output() onEditorChanged = new EventEmitter<EditorChangeContent | EditorChangeSelection>();\r\n @Output() onEditorCreated = new EventEmitter();\r\n @Output() onFocus = new EventEmitter<Focus>();\r\n @Output() onSelectionChanged = new EventEmitter<SelectionChange>();\r\n //#endregion\r\n \r\n constructor(@Optional() @Inject(MAT_DIALOG_DATA) private data: DialogData,\r\n @Optional() private dialogRef: MatDialogRef<EditorComponent>,\r\n //private activeDirectoryService: ActiveDirectoryService,\r\n private dialog: MatDialog) { \r\n }\r\n\r\n ngOnInit(): void {\r\n this.initialize();\r\n \r\n /*if (!this.users) {\r\n this.activeDirectoryService.getUsers().subscribe(users =>\r\n this.users = users\r\n );\r\n }*/\r\n }\r\n\r\n initialize(): void {\r\n this.config = this.config ?? this.data?.config ?? new Config();\r\n\r\n this.value = this.value ?? this.data?.value;\r\n\r\n this.imageResizeModule = this.imageResizeModule !== undefined ?\r\n this.imageResizeModule :\r\n this.imageResizeModule ?? this.config.imageResizeModule;\r\n\r\n this.imageDropModule = this.imageDropModule !== undefined ?\r\n this.imageDropModule :\r\n this.imageDropModule ?? this.config.imageDropModule;\r\n\r\n /*this.mentionModule = this.mentionModule !== undefined ?\r\n this.mentionModule :\r\n this.mentionModule ?? this.config.mentionModule;*/\r\n\r\n this.syntaxModule = this.syntaxModule !== undefined ?\r\n this.syntaxModule :\r\n this.syntaxModule ?? this.config.syntaxModule;\r\n \r\n // Moved to client responsibility\r\n /*if (this.imageDropModule) {\r\n Quill.register('modules/imageDrop', ImageDrop);\r\n }*/\r\n\r\n this.placeholder = this.placeholder ?? this.data?.placeholder;\r\n //this.users = this.users ?? this.data?.users;\r\n\r\n this.format = this.format ?? this.data?.format ?? this.config.format;\r\n this.height = this.height ?? this.data?.height ?? this.config.height;\r\n this.width = this.width ?? this.data?.width ?? this.config.width;\r\n this.fullscreenHeight = this.fullscreenHeight ?? this.data?.maxHeight ?? this.config.fullscreenHeight;\r\n this.fullscreenWidth = this.fullscreenWidth ?? this.data?.maxWidth ?? this.config.fullscreenWidth;\r\n this.fullscreenMode = this.fullscreenMode ?? this.data?.fullscreenMode ?? this.config.fullscreenMode;\r\n\r\n this.enableTooltips = this.enableTooltips !== undefined ?\r\n this.enableTooltips :\r\n this.data?.enableTooltips ?? this.config.enableTooltips;\r\n\r\n this.fullscreen = this.fullscreen !== undefined ?\r\n this.fullscreen :\r\n this.data?.fullscreen ?? this.config.fullscreen;\r\n\r\n this.readonly = this.readonly !== undefined ?\r\n this.readonly :\r\n this.data?.readonly ?? this.config.readonly;\r\n\r\n this.applyReadonlyStyle = this.applyReadonlyStyle !== undefined ?\r\n this.applyReadonlyStyle :\r\n this.data?.applyReadonlyStyle ?? this.config.applyReadonlyStyle;\r\n\r\n this.showToolbar = this.showToolbar !== undefined ?\r\n this.showToolbar :\r\n this.data?.showToolbar ?? this.config.showToolbar;\r\n\r\n this.showBorder = this.showBorder !== undefined ?\r\n this.showBorder :\r\n this.data?.showBorder ?? this.config.showBorder;\r\n }\r\n\r\n toggleFullscreen(): void {\r\n if (this.fullscreenMode === 'expand') {\r\n this.fullscreen = !this.fullscreen;\r\n this.fullscreenChanged.emit(this.fullscreen);\r\n }\r\n else {\r\n if (this.fullscreen) {\r\n this.dialogRef.close(this.value);\r\n this.fullscreenChanged.emit(false);\r\n } else {\r\n const data: DialogData = {\r\n\r\n value: this.value,\r\n config: this.config,\r\n placeholder: this.placeholder,\r\n format: this.format,\r\n height: this.fullscreenHeight,\r\n width: '100%',\r\n maxHeight: this.fullscreenHeight,\r\n maxWidth: '100%',\r\n enableTooltips: this.enableTooltips!,\r\n fullscreen: true,\r\n fullscreenMode: this.fullscreenMode,\r\n readonly: this.readonly!,\r\n applyReadonlyStyle: this.applyReadonlyStyle!,\r\n showToolbar: this.showToolbar!,\r\n showBorder: this.showBorder!\r\n //users: this.users\r\n };\r\n\r\n this.dialog.open(EditorComponent, {\r\n disableClose: true,\r\n width: this.fullscreenWidth,\r\n height: this.fullscreenHeight,\r\n data\r\n })\r\n .afterClosed()\r\n .subscribe(value => {\r\n this.value = value;\r\n this.updateChanges();\r\n });\r\n\r\n this.fullscreenChanged.emit(true);\r\n }\r\n }\r\n }\r\n\r\n tooltip(val: string): string {\r\n return this.enableTooltips ? val : '';\r\n }\r\n\r\n get modules() {\r\n //if (!this.users) { return undefined; }\r\n\r\n const modules = { };\r\n\r\n if (!this.showToolbar) {\r\n modules['toolbar'] = [];\r\n }\r\n\r\n if (this.imageResizeModule) {\r\n modules['imageResize'] = {};\r\n }\r\n\r\n if (this.imageDropModule) {\r\n modules['imageDrop'] = true;\r\n }\r\n\r\n if (this.syntaxModule) {\r\n modules['syntax'] = true;\r\n }\r\n\r\n /*if (this.mentionModule) {\r\n modules['mention'] = {\r\n allowedChars: /^[A-Za-z\\sÅÄÖåäö]*$/,\r\n\r\n onSelect: (item: DOMStringMap, insertItem: any) => {\r\n const editor = this.editor!.quillEditor\r\n insertItem(item)\r\n // necessary because quill-mention triggers changes as 'api' instead of 'user'\r\n editor.insertText(editor.getLength() - 1, '', 'user')\r\n },\r\n\r\n source: (searchTerm: string, renderList: any) => {\r\n if (searchTerm.length === 0) {\r\n renderList(this.users?.map(u => ({ value: `${u.displayName} (${u.sAMAccountName.toLowerCase()})` })), searchTerm)\r\n } else {\r\n const matches: any[] = []\r\n\r\n this.users!.forEach((entry) => {\r\n if (\r\n entry.displayName.toLowerCase().indexOf(searchTerm.toLowerCase()) !== -1 ||\r\n entry.sAMAccountName.toLowerCase().indexOf(searchTerm.toLowerCase()) !== -1\r\n ) {\r\n matches.push({ value: `${entry.displayName} (${entry.sAMAccountName.toLowerCase()})` })\r\n }\r\n })\r\n\r\n renderList(matches, searchTerm)\r\n }\r\n }\r\n };\r\n }*/\r\n\r\n return modules;\r\n }\r\n\r\n //#region ControlValueAccessor methods\r\n // Method that is invoked on an update of a model.\r\n updateChanges() {\r\n this.onChange(this.value);\r\n }\r\n\r\n //#region ControlValueAccessor Overrides\r\n\r\n // Writes a new item to the element.\r\n writeValue(value: number): void {\r\n this.value = value;\r\n this.updateChanges();\r\n }\r\n\r\n // Registers a callback function that should be called when the control's value changes in the UI.\r\n registerOnChange(fn: any): void {\r\n this.onChange = fn;\r\n }\r\n\r\n // Registers a callback function that should be called when the control receives a blur event.\r\n registerOnTouched(fn: any): void {\r\n this.onTouched = fn;\r\n }\r\n\r\n //#endregion\r\n\r\n //#endregion\r\n}","<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>","import { ModuleWithProviders, NgModule, Optional, SkipSelf } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\n\r\nimport { QuillModule as NgxQuillModule } from 'ngx-quill';\r\n\r\nimport { EditorComponent } from './components/editor/editor.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n EditorComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n\r\n MatButtonModule,\r\n MatDialogModule,\r\n MatIconModule,\r\n MatTooltipModule,\r\n\r\n NgxQuillModule.forRoot()\r\n ],\r\n exports: [\r\n EditorComponent\r\n ]\r\n})\r\nexport class QuillModule {\r\n static forRoot(): ModuleWithProviders<QuillModule> {\r\n return {\r\n ngModule: QuillModule\r\n };\r\n }\r\n\r\n constructor(@Optional() @SkipSelf() parentModule: QuillModule) {\r\n if (parentModule) {\r\n throw new Error(\r\n 'QuillModule is already loaded. Import it in the AppModule only');\r\n }\r\n }\r\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["NgxQuillModule"],"mappings":";;;;;;;;;;;;;;;;MAAa,OAAO,CAAA;AAApB,IAAA,WAAA,GAAA;;QAEI,IAAI,CAAA,IAAA,GAAG,IAAI,CAAC;QACZ,IAAM,CAAA,MAAA,GAAG,IAAI,CAAC;QACd,IAAM,CAAA,MAAA,GAAG,IAAI,CAAC;QACd,IAAS,CAAA,SAAA,GAAG,IAAI,CAAC;;;QAIjB,IAAI,CAAA,IAAA,GAAG,IAAI,CAAC;QACZ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A,CAAA;kBApBvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,eAAe;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,WAAW;wBACX,mBAAmB;wBAEnB,eAAe;wBACf,eAAe;wBACf,aAAa;wBACb,gBAAgB;wBAEhBA,aAAc,CAAC,OAAO,EAAE;AACzB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,eAAe;AAChB,qBAAA;AACF,iBAAA,CAAA;;0BAQgB,QAAQ;;0BAAI,QAAQ;;;ACxCrC;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "comment": "NGX-LIB primary entry point package.json",
3
3
  "name": "@cleavelandprice/ngx-lib",
4
- "version": "3.2.1",
4
+ "version": "3.2.2",
5
5
  "description": "Angular 14+ library providing foundational functionality to Cleaveland-Price applications",
6
6
  "peerDependencies": {
7
7
  "@angular/common": "^14.2.1",
@@ -96,13 +96,21 @@
96
96
  "node": "./fesm2015/cleavelandprice-ngx-lib-dialog.mjs",
97
97
  "default": "./fesm2020/cleavelandprice-ngx-lib-dialog.mjs"
98
98
  },
99
- "./quill-editor": {
100
- "types": "./quill-editor/index.d.ts",
101
- "esm2020": "./esm2020/quill-editor/cleavelandprice-ngx-lib-quill-editor.mjs",
102
- "es2020": "./fesm2020/cleavelandprice-ngx-lib-quill-editor.mjs",
103
- "es2015": "./fesm2015/cleavelandprice-ngx-lib-quill-editor.mjs",
104
- "node": "./fesm2015/cleavelandprice-ngx-lib-quill-editor.mjs",
105
- "default": "./fesm2020/cleavelandprice-ngx-lib-quill-editor.mjs"
99
+ "./quill/mention": {
100
+ "types": "./quill/mention/index.d.ts",
101
+ "esm2020": "./esm2020/quill/mention/cleavelandprice-ngx-lib-quill-mention.mjs",
102
+ "es2020": "./fesm2020/cleavelandprice-ngx-lib-quill-mention.mjs",
103
+ "es2015": "./fesm2015/cleavelandprice-ngx-lib-quill-mention.mjs",
104
+ "node": "./fesm2015/cleavelandprice-ngx-lib-quill-mention.mjs",
105
+ "default": "./fesm2020/cleavelandprice-ngx-lib-quill-mention.mjs"
106
+ },
107
+ "./quill": {
108
+ "types": "./quill/index.d.ts",
109
+ "esm2020": "./esm2020/quill/cleavelandprice-ngx-lib-quill.mjs",
110
+ "es2020": "./fesm2020/cleavelandprice-ngx-lib-quill.mjs",
111
+ "es2015": "./fesm2015/cleavelandprice-ngx-lib-quill.mjs",
112
+ "node": "./fesm2015/cleavelandprice-ngx-lib-quill.mjs",
113
+ "default": "./fesm2020/cleavelandprice-ngx-lib-quill.mjs"
106
114
  },
107
115
  "./sharepoint": {
108
116
  "types": "./sharepoint/index.d.ts",
@@ -1,16 +1,13 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor } from "@angular/forms";
3
3
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
4
- import { ActiveDirectoryService, User } from '@cleavelandprice/ngx-lib/active-directory';
5
4
  import { ContentChange, Blur, Focus, EditorChangeContent, EditorChangeSelection, SelectionChange, QuillEditorComponent } from 'ngx-quill';
6
- import 'quill-mention';
7
5
  import { Config } from '../../model/config';
8
6
  import { DialogData } from '../../model/dialog-data';
9
7
  import * as i0 from "@angular/core";
10
8
  export declare class EditorComponent implements OnInit, ControlValueAccessor {
11
9
  private data;
12
10
  private dialogRef;
13
- private activeDirectoryService;
14
11
  private dialog;
15
12
  editor: QuillEditorComponent | undefined;
16
13
  value: any;
@@ -18,7 +15,6 @@ export declare class EditorComponent implements OnInit, ControlValueAccessor {
18
15
  onTouched: () => void;
19
16
  config: Config;
20
17
  placeholder: string | undefined;
21
- users: User[] | undefined;
22
18
  format: 'object' | 'html' | 'text' | 'json';
23
19
  height: string;
24
20
  width: string;
@@ -33,7 +29,6 @@ export declare class EditorComponent implements OnInit, ControlValueAccessor {
33
29
  showBorder: boolean | undefined;
34
30
  imageResizeModule: boolean | undefined;
35
31
  imageDropModule: boolean | undefined;
36
- mentionModule: boolean | undefined;
37
32
  syntaxModule: boolean | undefined;
38
33
  fullscreenChanged: EventEmitter<boolean>;
39
34
  onBlur: EventEmitter<Blur>;
@@ -42,16 +37,16 @@ export declare class EditorComponent implements OnInit, ControlValueAccessor {
42
37
  onEditorCreated: EventEmitter<any>;
43
38
  onFocus: EventEmitter<Focus>;
44
39
  onSelectionChanged: EventEmitter<SelectionChange>;
45
- constructor(data: DialogData, dialogRef: MatDialogRef<EditorComponent>, activeDirectoryService: ActiveDirectoryService, dialog: MatDialog);
40
+ constructor(data: DialogData, dialogRef: MatDialogRef<EditorComponent>, dialog: MatDialog);
46
41
  ngOnInit(): void;
47
42
  initialize(): void;
48
43
  toggleFullscreen(): void;
49
44
  tooltip(val: string): string;
50
- get modules(): {} | undefined;
45
+ get modules(): {};
51
46
  updateChanges(): void;
52
47
  writeValue(value: number): void;
53
48
  registerOnChange(fn: any): void;
54
49
  registerOnTouched(fn: any): void;
55
- static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, [{ optional: true; }, { optional: true; }, null, null]>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "cpquill-editor", never, { "config": "config"; "placeholder": "placeholder"; "users": "users"; "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"; "mentionModule": "mentionModule"; "syntaxModule": "syntaxModule"; }, { "fullscreenChanged": "fullscreenChanged"; "onBlur": "onBlur"; "onContentChanged": "onContentChanged"; "onEditorChanged": "onEditorChanged"; "onEditorCreated": "onEditorCreated"; "onFocus": "onFocus"; "onSelectionChanged": "onSelectionChanged"; }, never, never, false>;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, [{ optional: true; }, { optional: true; }, null]>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "cpquill-editor", never, { "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"; }, { "fullscreenChanged": "fullscreenChanged"; "onBlur": "onBlur"; "onContentChanged": "onContentChanged"; "onEditorChanged": "onEditorChanged"; "onEditorCreated": "onEditorCreated"; "onFocus": "onFocus"; "onSelectionChanged": "onSelectionChanged"; }, never, never, false>;
57
52
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
- /// <amd-module name="@cleavelandprice/ngx-lib/quill-editor" />
4
+ /// <amd-module name="@cleavelandprice/ngx-lib/quill" />
5
5
  export * from './public_api';
@@ -0,0 +1,20 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ControlValueAccessor } from "@angular/forms";
3
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
4
+ import { ActiveDirectoryService, User } from '@cleavelandprice/ngx-lib/active-directory';
5
+ import 'quill-mention';
6
+ import { EditorComponent as EditorComponentBase } from '@cleavelandprice/ngx-lib/quill';
7
+ import { DialogData } from '../../model/dialog-data';
8
+ import * as i0 from "@angular/core";
9
+ export declare class EditorComponent extends EditorComponentBase implements OnInit, ControlValueAccessor {
10
+ private dlgRef;
11
+ private dlg;
12
+ private activeDirectoryService;
13
+ users: User[] | undefined;
14
+ constructor(data: DialogData, dlgRef: MatDialogRef<EditorComponent>, dlg: MatDialog, activeDirectoryService: ActiveDirectoryService);
15
+ ngOnInit(): void;
16
+ toggleFullscreen(): void;
17
+ get modules(): {};
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorComponent, [{ optional: true; }, { optional: true; }, null, null]>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorComponent, "cpquill-editor-with-mention", never, { "users": "users"; }, {}, never, never, false>;
20
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@cleavelandprice/ngx-lib/quill/mention" />
5
+ export * from './public_api';
@@ -0,0 +1,5 @@
1
+ import { User } from '@cleavelandprice/ngx-lib/active-directory';
2
+ import { DialogData as DialogDataBase } from '@cleavelandprice/ngx-lib/quill';
3
+ export interface DialogData extends DialogDataBase {
4
+ users: User[] | undefined;
5
+ }
@@ -0,0 +1 @@
1
+ export * from './quill-mention.module';
@@ -0,0 +1,17 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./components/editor/editor.component";
4
+ import * as i2 from "@angular/common";
5
+ import * as i3 from "@angular/forms";
6
+ import * as i4 from "@angular/material/button";
7
+ import * as i5 from "@angular/material/dialog";
8
+ import * as i6 from "@angular/material/icon";
9
+ import * as i7 from "@angular/material/tooltip";
10
+ import * as i8 from "ngx-quill";
11
+ export declare class QuillMentionModule {
12
+ static forRoot(): ModuleWithProviders<QuillMentionModule>;
13
+ constructor(parentModule: QuillMentionModule);
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<QuillMentionModule, [{ optional: true; skipSelf: true; }]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QuillMentionModule, [typeof i1.EditorComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatButtonModule, typeof i5.MatDialogModule, typeof i6.MatIconModule, typeof i7.MatTooltipModule, typeof i8.QuillModule], never>;
16
+ static ɵinj: i0.ɵɵInjectorDeclaration<QuillMentionModule>;
17
+ }
File without changes
@@ -19,7 +19,6 @@ export declare class Config {
19
19
  showBorder: boolean;
20
20
  imageResizeModule: boolean;
21
21
  imageDropModule: boolean;
22
- mentionModule: boolean;
23
22
  syntaxModule: boolean;
24
23
  showBlockStyle: () => boolean;
25
24
  showFontStyle: () => boolean;
@@ -1,5 +1,4 @@
1
- import { User } from "@cleavelandprice/ngx-lib/active-directory";
2
- import { Config } from "./config";
1
+ import { Config } from './config';
3
2
  export interface DialogData {
4
3
  value: any;
5
4
  config: Config;
@@ -14,7 +13,6 @@ export interface DialogData {
14
13
  fullscreenMode: 'expand' | 'popout';
15
14
  readonly: boolean;
16
15
  applyReadonlyStyle: boolean;
17
- users: User[] | undefined;
18
16
  showToolbar: boolean;
19
17
  showBorder: boolean;
20
18
  }
File without changes
File without changes
@@ -1,6 +1,7 @@
1
1
  export * from './model/buttons';
2
+ export * from './model/dialog-data';
2
3
  export * from './model/icons';
3
4
  export * from './model/tooltips';
4
5
  export * from './model/config';
5
6
  export * from './components/editor/editor.component';
6
- export * from './quill-editor.module';
7
+ export * from './quill.module';
@@ -0,0 +1,17 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./components/editor/editor.component";
4
+ import * as i2 from "@angular/common";
5
+ import * as i3 from "@angular/forms";
6
+ import * as i4 from "@angular/material/button";
7
+ import * as i5 from "@angular/material/dialog";
8
+ import * as i6 from "@angular/material/icon";
9
+ import * as i7 from "@angular/material/tooltip";
10
+ import * as i8 from "ngx-quill";
11
+ export declare class QuillModule {
12
+ static forRoot(): ModuleWithProviders<QuillModule>;
13
+ constructor(parentModule: QuillModule);
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<QuillModule, [{ optional: true; skipSelf: true; }]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QuillModule, [typeof i1.EditorComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatButtonModule, typeof i5.MatDialogModule, typeof i6.MatIconModule, typeof i7.MatTooltipModule, typeof i8.QuillModule], [typeof i1.EditorComponent]>;
16
+ static ɵinj: i0.ɵɵInjectorDeclaration<QuillModule>;
17
+ }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public_api';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xlYXZlbGFuZHByaWNlLW5neC1saWItcXVpbGwtZWRpdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2xlYXZlbGFuZHByaWNlL25neC1saWIvcXVpbGwtZWRpdG9yL3NyYy9jbGVhdmVsYW5kcHJpY2Utbmd4LWxpYi1xdWlsbC1lZGl0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==