@phuong-tran-redoc/document-engine-angular 0.0.14 → 0.0.16

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.
@@ -2,28 +2,8 @@ import * as i1 from '@angular/common';
2
2
  import { CommonModule, DOCUMENT } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
4
  import { inject, ChangeDetectorRef, Input, ChangeDetectionStrategy, Component, HostBinding, Directive, Injectable, ElementRef, ViewEncapsulation, EventEmitter, Output, InjectionToken, HostListener, forwardRef, ContentChildren, ViewChild, ViewChildren, ViewContainerRef, DOCUMENT as DOCUMENT$1, EnvironmentInjector, NgZone, ApplicationRef, createComponent, Renderer2 } from '@angular/core';
5
- import { Extension, Editor } from '@tiptap/core';
6
- import Blockquote from '@tiptap/extension-blockquote';
7
- import Bold from '@tiptap/extension-bold';
8
- import Code from '@tiptap/extension-code';
9
- import CodeBlock from '@tiptap/extension-code-block';
10
- import { Document } from '@tiptap/extension-document';
11
- import { HardBreak } from '@tiptap/extension-hard-break';
12
- import { HorizontalRule } from '@tiptap/extension-horizontal-rule';
13
- import { Image } from '@tiptap/extension-image';
14
- import Italic from '@tiptap/extension-italic';
15
- import Link from '@tiptap/extension-link';
16
- import { ListKeymap, ListItem, BulletList } from '@tiptap/extension-list';
17
- import { Paragraph } from '@tiptap/extension-paragraph';
18
- import Strike from '@tiptap/extension-strike';
19
- import { Subscript } from '@tiptap/extension-subscript';
20
- import { Superscript } from '@tiptap/extension-superscript';
21
- import { Text } from '@tiptap/extension-text';
22
- import { TextAlign } from '@tiptap/extension-text-align';
23
- import { TextStyleKit } from '@tiptap/extension-text-style';
24
- import Underline from '@tiptap/extension-underline';
25
- import { Dropcursor, Gapcursor, TrailingNode, UndoRedo, CharacterCount, Placeholder } from '@tiptap/extensions';
26
- import { ResetOnEnter, EditableRegion, RestrictedEditing, CustomOrderedList, StyledTableKit, PageBreak, ResetFormat, Indent, ClearContent, TextCase, NotumHeading, DynamicField, Color, normalizeColor, getActiveMarkRange, getSelectedCells, getCombinedCellAttributeValue, TableDefaultAttributes, getCursorCellInfo, getClosestDomElement } from '@phuong-tran-redoc/document-engine-core';
5
+ import { Extension, Document, Paragraph, Text, Dropcursor, Gapcursor, HardBreak, HorizontalRule, TrailingNode, ResetOnEnter, EditableRegion, RestrictedEditing, ListKeymap, ListItem, BulletList, CustomOrderedList, Blockquote, Bold, Italic, Underline, Strike, Link, CodeBlock, Code, UndoRedo, TextStyleKit, StyledTableKit, CharacterCount, Subscript, Superscript, TextAlign, Image, Placeholder, PageBreak, ResetFormat, Indent, ClearContent, TextCase, NotumHeading, DynamicField, Color, normalizeColor, getActiveMarkRange, getSelectedCells, getCombinedCellAttributeValue, TableDefaultAttributes, getCursorCellInfo, BubbleMenuPlugin, getClosestDomElement } from '@phuong-tran-redoc/document-engine-core';
6
+ import { Editor } from '@tiptap/core';
27
7
  import { throttle } from 'lodash-es';
28
8
  import * as i2 from '@angular/forms';
29
9
  import { FormsModule, FormControl, ReactiveFormsModule, FormBuilder, Validators, NG_VALUE_ACCESSOR, NonNullableFormBuilder } from '@angular/forms';
@@ -31,7 +11,6 @@ import { DomSanitizer } from '@angular/platform-browser';
31
11
  import { Subject, debounceTime, distinctUntilChanged, takeUntil } from 'rxjs';
32
12
  import { autoUpdate, computePosition, offset, flip, shift } from '@floating-ui/dom';
33
13
  import { CellSelection } from '@tiptap/pm/tables';
34
- import { BubbleMenuPlugin } from '@tiptap/extension-bubble-menu';
35
14
  import { FloatingMenuPlugin } from '@tiptap/extension-floating-menu';
36
15
 
37
16
  const DocumentEngineKit = Extension.create({