@skyux/text-editor 7.0.0-beta.9 → 7.0.0

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 (33) hide show
  1. package/documentation.json +601 -282
  2. package/esm2020/lib/modules/rich-text-display/rich-text-display.component.mjs +25 -17
  3. package/esm2020/lib/modules/rich-text-display/rich-text-display.module.mjs +5 -5
  4. package/esm2020/lib/modules/shared/sky-text-editor-resources.module.mjs +5 -5
  5. package/esm2020/lib/modules/text-editor/menubar/text-editor-menubar.component.mjs +93 -87
  6. package/esm2020/lib/modules/text-editor/services/text-editor-adapter.service.mjs +263 -316
  7. package/esm2020/lib/modules/text-editor/services/text-editor-selection.service.mjs +16 -22
  8. package/esm2020/lib/modules/text-editor/services/text-editor.service.mjs +31 -31
  9. package/esm2020/lib/modules/text-editor/services/text-sanitization.service.mjs +11 -6
  10. package/esm2020/lib/modules/text-editor/text-editor.component.mjs +226 -173
  11. package/esm2020/lib/modules/text-editor/text-editor.module.mjs +5 -5
  12. package/esm2020/lib/modules/text-editor/toolbar/text-editor-toolbar.component.mjs +87 -62
  13. package/esm2020/lib/modules/text-editor/types/editor-command.mjs +1 -1
  14. package/esm2020/lib/modules/text-editor/types/editor-setting.mjs +1 -1
  15. package/esm2020/lib/modules/text-editor/url-modal/text-editor-url-modal-context.mjs +1 -1
  16. package/esm2020/lib/modules/text-editor/url-modal/text-editor-url-modal.component.mjs +36 -35
  17. package/fesm2015/skyux-text-editor.mjs +786 -735
  18. package/fesm2015/skyux-text-editor.mjs.map +1 -1
  19. package/fesm2020/skyux-text-editor.mjs +788 -744
  20. package/fesm2020/skyux-text-editor.mjs.map +1 -1
  21. package/lib/modules/rich-text-display/rich-text-display.component.d.ts +2 -4
  22. package/lib/modules/text-editor/menubar/text-editor-menubar.component.d.ts +6 -13
  23. package/lib/modules/text-editor/services/text-editor-adapter.service.d.ts +17 -34
  24. package/lib/modules/text-editor/services/text-editor-selection.service.d.ts +3 -3
  25. package/lib/modules/text-editor/services/text-editor.service.d.ts +8 -12
  26. package/lib/modules/text-editor/services/text-sanitization.service.d.ts +1 -1
  27. package/lib/modules/text-editor/text-editor.component.d.ts +23 -33
  28. package/lib/modules/text-editor/toolbar/text-editor-toolbar.component.d.ts +7 -13
  29. package/lib/modules/text-editor/types/editor-command.d.ts +1 -1
  30. package/lib/modules/text-editor/types/editor-setting.d.ts +4 -4
  31. package/lib/modules/text-editor/url-modal/text-editor-url-modal-context.d.ts +1 -1
  32. package/lib/modules/text-editor/url-modal/text-editor-url-modal.component.d.ts +2 -7
  33. package/package.json +18 -17
@@ -2,14 +2,12 @@ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
2
2
  import { SkyTextSanitizationService } from '../text-editor/services/text-sanitization.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SkyRichTextDisplayComponent {
5
- private sanitizer;
6
- private sanitizationService;
5
+ #private;
7
6
  /**
8
7
  * Specifies the rich text to display.
9
8
  */
10
- set richText(value: string);
9
+ set richText(value: string | undefined);
11
10
  sanitizedText: SafeHtml;
12
- private _richText;
13
11
  constructor(sanitizer: DomSanitizer, sanitizationService: SkyTextSanitizationService);
14
12
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyRichTextDisplayComponent, never>;
15
13
  static ɵcmp: i0.ɵɵComponentDeclaration<SkyRichTextDisplayComponent, "sky-rich-text-display", never, { "richText": "richText"; }, {}, never, never, false>;
@@ -10,39 +10,32 @@ import * as i0 from "@angular/core";
10
10
  * @internal
11
11
  */
12
12
  export declare class SkyTextEditorMenubarComponent implements OnDestroy, OnInit {
13
- private adapterService;
14
- private changeDetector;
15
- private resources;
16
- editorFocusStream: Subject<unknown>;
17
- editorId: string;
13
+ #private;
14
+ editorFocusStream: Subject<void>;
18
15
  menus: SkyTextEditorMenuType[];
19
16
  mergeFields: SkyTextEditorMergeField[];
20
17
  set disabled(value: boolean);
21
18
  get disabled(): boolean;
22
- private _disabled;
23
19
  editDropdownStream: Subject<SkyDropdownMessage>;
24
20
  editItems: {
25
21
  function?: () => void;
26
22
  isDivider?: boolean;
27
23
  label?: string;
28
24
  keyShortcut?: string;
29
- }[];
25
+ }[] | undefined;
30
26
  formatDropdownStream: Subject<SkyDropdownMessage>;
31
27
  formatItems: {
32
28
  function?: () => void;
33
29
  isDivider?: boolean;
34
30
  label?: string;
35
31
  keyShortcut?: string;
36
- }[];
32
+ }[] | undefined;
37
33
  mergeFieldDropdownStream: Subject<SkyDropdownMessage>;
38
- private ngUnsubscribe;
39
34
  constructor(adapterService: SkyTextEditorAdapterService, changeDetector: ChangeDetectorRef, resources: SkyLibResourcesService);
40
35
  ngOnInit(): void;
41
36
  ngOnDestroy(): void;
42
- execCommand(command: string, value?: any): void;
37
+ execCommand(command: string, value?: string): void;
43
38
  insertMergeField(field: SkyTextEditorMergeField): void;
44
- private closeDropdowns;
45
- private clearFormat;
46
39
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextEditorMenubarComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyTextEditorMenubarComponent, "sky-text-editor-menubar", never, { "editorFocusStream": "editorFocusStream"; "editorId": "editorId"; "menus": "menus"; "mergeFields": "mergeFields"; "disabled": "disabled"; }, {}, never, never, false>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyTextEditorMenubarComponent, "sky-text-editor-menubar", never, { "editorFocusStream": "editorFocusStream"; "menus": "menus"; "mergeFields": "mergeFields"; "disabled": "disabled"; }, {}, never, never, false>;
48
41
  }
@@ -10,53 +10,36 @@ import * as i0 from "@angular/core";
10
10
  * @internal
11
11
  */
12
12
  export declare class SkyTextEditorAdapterService {
13
- private selectionService;
14
- private textEditorService;
15
- private windowService;
16
- private get editors();
13
+ #private;
17
14
  constructor(selectionService: SkyTextEditorSelectionService, textEditorService: SkyTextEditorService, windowService: SkyAppWindowRef);
18
15
  /**
19
16
  * Creates a text editor inside the supplied iframe element.
20
17
  */
21
- addEditor(id: string, iframeElement: HTMLIFrameElement, styleState: SkyTextEditorStyleState, placeholder?: string): void;
22
- disableEditor(id: string, focusableChildren: HTMLElement[], textEditorNativeElement: any): void;
23
- enableEditor(id: string, focusableChildren: HTMLElement[], textEditorNativeElement: any): void;
18
+ initEditor(id: string, iframeElement: HTMLIFrameElement, styleState: SkyTextEditorStyleState, placeholder?: string): void;
19
+ disableEditor(focusableChildren: HTMLElement[], textEditorNativeElement: HTMLElement): void;
20
+ enableEditor(focusableChildren: HTMLElement[], textEditorNativeElement: HTMLElement): void;
24
21
  /**
25
22
  * Executes a command on the text editor with the corresponding id.
26
23
  */
27
- execCommand(id: string, editorCommand: EditorCommand): void;
28
- getCurrentSelection(id: string): Selection;
24
+ execCommand(editorCommand: EditorCommand): void;
25
+ getCurrentSelection(): Selection | null;
29
26
  /**
30
27
  * Returns a data URI using the provided text string.
31
28
  * Used to display a merge field inside a string of text.
32
29
  */
33
30
  getMergeFieldDataURI(text: string): string;
34
- getStyleState(id: string): Partial<SkyTextEditorStyleState>;
35
- getEditorInnerHtml(id: string): string;
36
- setEditorInnerHtml(id: string, value: string): void;
37
- focusEditor(id: string): void;
38
- getLink(editorId: string): UrlModalResult;
39
- getSelectedAnchorTag(editorId: string): HTMLAnchorElement;
40
- saveSelection(id: string): Range;
41
- selectElement(id: string, element: HTMLElement): void;
42
- setPlaceholder(id: string, placeholder?: string): void;
43
- setFontSize(id: string, fontSize: number): void;
31
+ getStyleState(): Partial<SkyTextEditorStyleState>;
32
+ getEditorInnerHtml(): string;
33
+ setEditorInnerHtml(value: string): void;
34
+ focusEditor(): void;
35
+ getLink(): UrlModalResult | undefined;
36
+ getSelectedAnchorTag(): HTMLAnchorElement | null | undefined;
37
+ saveSelection(): Range | undefined;
38
+ selectElement(element: HTMLElement): void;
39
+ setPlaceholder(placeholder?: string): void;
40
+ setFontSize(fontSize: number): void;
44
41
  removeObservers(setting: EditorSetting): void;
45
- private getContentWindowEl;
46
- private getChildSelectedAnchorTags;
47
- private getIframeDocumentEl;
48
- private getFontSize;
49
- private createObservers;
50
- private getPasteOverride;
51
- private getCurrentSelectionParentElement;
52
- private getColor;
53
- private hasLink;
54
- private getParent;
55
- private editorSelected;
56
- private insertHtmlInIE11;
57
- private cleanUpBlankStyleTags;
58
- private replaceHtmlCodes;
59
- private setEditorDisabled;
42
+ editorSelected(): boolean;
60
43
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextEditorAdapterService, never>;
61
44
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyTextEditorAdapterService>;
62
45
  }
@@ -4,9 +4,9 @@ import * as i0 from "@angular/core";
4
4
  */
5
5
  export declare class SkyTextEditorSelectionService {
6
6
  isElementSelected(documentEl: Document, element: HTMLElement): boolean;
7
- getCurrentSelection(documentEl: Document): Selection;
8
- getCurrentSelectionParentElement(documentEl: Document): Element;
9
- getCurrentSelectionRange(documentEl: Document, windowEl: Window): Range;
7
+ getCurrentSelection(documentEl: Document): Selection | null;
8
+ getCurrentSelectionParentElement(documentEl: Document): Element | null | undefined;
9
+ getCurrentSelectionRange(documentEl: Document, windowEl: Window): Range | undefined;
10
10
  selectElement(documentEl: Document, windowEl: Window, element: HTMLElement): void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextEditorSelectionService, never>;
12
12
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyTextEditorSelectionService>;
@@ -5,36 +5,32 @@ import * as i0 from "@angular/core";
5
5
  * @internal
6
6
  */
7
7
  export declare class SkyTextEditorService {
8
+ #private;
8
9
  /**
9
10
  * A dictionary representing all active text editors and their settings.
10
11
  */
11
- editors: {
12
- [key: string]: EditorSetting;
13
- };
12
+ set editor(value: EditorSetting);
13
+ get editor(): EditorSetting;
14
14
  /**
15
15
  * Returns the blur observable from the editor with the corresponding id.
16
16
  */
17
- blurListener(id: string): Observable<unknown>;
17
+ blurListener(): Observable<unknown>;
18
18
  /**
19
19
  * Returns the click observable from the editor with the corresponding id.
20
20
  */
21
- clickListener(id: string): Observable<unknown>;
21
+ clickListener(): Observable<unknown>;
22
22
  /**
23
23
  * Returns the command change observable from the editor with the corresponding id.
24
24
  */
25
- commandChangeListener(id: string): Observable<unknown>;
25
+ commandChangeListener(): Observable<unknown>;
26
26
  /**
27
27
  * Returns the input change observable from the editor with the corresponding id.
28
28
  */
29
- inputListener(id: string): Observable<unknown>;
30
- /**
31
- * Removes editor from the `editors` index by id.
32
- */
33
- removeEditor(id: string): void;
29
+ inputListener(): Observable<unknown>;
34
30
  /**
35
31
  * Returns the selection change observable from the editor with the corresponding id.
36
32
  */
37
- selectionChangeListener(id: string): Observable<unknown>;
33
+ selectionChangeListener(): Observable<unknown>;
38
34
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextEditorService, never>;
39
35
  static ɵprov: i0.ɵɵInjectableDeclaration<SkyTextEditorService>;
40
36
  }
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
6
6
  * @internal
7
7
  */
8
8
  export declare class SkyTextSanitizationService {
9
- private allowedAttributes;
9
+ #private;
10
10
  /**
11
11
  * Returns a sanitized string, allowing target attribute for new tab links.
12
12
  */
@@ -1,6 +1,6 @@
1
- import { AfterViewInit, ChangeDetectorRef, NgZone, OnDestroy } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
- import { SkyCoreAdapterService } from '@skyux/core';
3
+ import { SkyCoreAdapterService, SkyIdService } from '@skyux/core';
4
4
  import { Subject } from 'rxjs';
5
5
  import { SkyTextEditorAdapterService } from './services/text-editor-adapter.service';
6
6
  import { SkyTextEditorService } from './services/text-editor.service';
@@ -15,77 +15,70 @@ import * as i0 from "@angular/core";
15
15
  * The text editor component lets users format and manipulate text.
16
16
  */
17
17
  export declare class SkyTextEditorComponent implements AfterViewInit, OnDestroy {
18
- private changeDetector;
19
- private coreAdapterService;
20
- private adapterService;
21
- private editorService;
22
- private sanitizationService;
23
- private ngControl;
24
- private zone;
18
+ #private;
25
19
  /**
26
20
  * Indicates whether to put focus on the editor after it renders.
27
21
  */
28
- autofocus: boolean;
22
+ autofocus: boolean | undefined;
29
23
  /**
30
24
  * Indicates whether to disable the text editor.
31
25
  * @default false
32
26
  */
33
- set disabled(value: boolean);
27
+ set disabled(value: boolean | undefined);
34
28
  get disabled(): boolean;
35
- editorFocusStream: Subject<void>;
36
29
  /**
37
30
  * Specifies the fonts to include in the font picker.
38
31
  * @default [{name: 'Blackbaud Sans', value: '"Blackbaud Sans", Arial, sans-serif'}, {name: 'Arial', value: 'Arial'}, {name: 'Arial Black', value: '"Arial Black"'}, {name: 'Courier New', value: '"Courier New"'}, {name: 'Georgia', value: 'Georgia, serif'}, {name: 'Tahoma', value: 'Tahoma, Geneva, sans-serif'}, {name: 'Times New Roman', value: '"Times New Roman"'}, {name: 'Trebuchet MS', value: '"Trebuchet MS", sans-serif'}, {name: 'Verdana', value: 'Verdana, Geneva, sans-serif'}]
39
32
  */
40
- fontList: SkyTextEditorFont[];
33
+ set fontList(value: SkyTextEditorFont[] | undefined);
34
+ get fontList(): SkyTextEditorFont[];
41
35
  /**
42
36
  * Specifies the font sizes to include in the font size picker.
43
37
  * @default [6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 20, 22, 24, 26, 28, 36, 48]
44
38
  */
45
- fontSizeList: number[];
39
+ set fontSizeList(value: number[] | undefined);
40
+ get fontSizeList(): number[];
46
41
  /**
47
42
  * Specifies a unique ID attribute for the text editor.
48
43
  * By default, the component generates a random ID.
49
44
  */
50
- id: string;
45
+ set id(value: string | undefined);
46
+ get id(): string;
51
47
  /**
52
48
  * Specifies the initial styles for all content, including background color, font size, and link state.
53
49
  */
54
- set initialStyleState(state: SkyTextEditorStyleState);
50
+ set initialStyleState(state: SkyTextEditorStyleState | undefined);
55
51
  get initialStyleState(): SkyTextEditorStyleState;
56
52
  /**
57
53
  * Specifies the menus to include in the menu bar.
58
54
  * @default [ 'edit', 'format' ]
59
55
  */
60
- menus: SkyTextEditorMenuType[];
56
+ set menus(value: SkyTextEditorMenuType[] | undefined);
57
+ get menus(): SkyTextEditorMenuType[];
61
58
  /**
62
59
  * Specifies the merge fields to include in the merge field menu.
63
60
  */
64
- mergeFields: SkyTextEditorMergeField[];
61
+ set mergeFields(value: SkyTextEditorMergeField[] | undefined);
62
+ get mergeFields(): SkyTextEditorMergeField[];
65
63
  /**
66
64
  * Specifies placeholder text to display when the text entry area is empty.
67
65
  */
68
- set placeholder(value: string);
66
+ set placeholder(value: string | undefined);
69
67
  get placeholder(): string;
70
68
  /**
71
69
  * Specifies the actions to include in the toolbar and determines their order.
72
70
  * @default [ 'font-family', 'font-size', 'font-style', 'color', 'list', 'link ]
73
71
  */
74
- toolbarActions: SkyTextEditorToolbarActionType[];
72
+ set toolbarActions(value: SkyTextEditorToolbarActionType[] | undefined);
73
+ get toolbarActions(): SkyTextEditorToolbarActionType[];
74
+ iframeRef: ElementRef | undefined;
75
75
  /**
76
76
  * The internal value of the control.
77
77
  */
78
- set value(value: string);
78
+ set value(value: string | undefined);
79
79
  get value(): string;
80
- private focusInitialized;
81
- private iframeRef;
82
- private initialized;
83
- private ngUnsubscribe;
84
- private _disabled;
85
- private _initialStyleState;
86
- private _placeholder;
87
- private _value;
88
- constructor(changeDetector: ChangeDetectorRef, coreAdapterService: SkyCoreAdapterService, adapterService: SkyTextEditorAdapterService, editorService: SkyTextEditorService, sanitizationService: SkyTextSanitizationService, ngControl: NgControl, zone: NgZone);
80
+ editorFocusStream: Subject<void>;
81
+ constructor(changeDetector: ChangeDetectorRef, coreAdapterService: SkyCoreAdapterService, adapterService: SkyTextEditorAdapterService, editorService: SkyTextEditorService, sanitizationService: SkyTextSanitizationService, ngControl: NgControl, zone: NgZone, idSvc: SkyIdService);
89
82
  ngAfterViewInit(): void;
90
83
  ngOnDestroy(): void;
91
84
  onIframeLoad(): void;
@@ -105,9 +98,6 @@ export declare class SkyTextEditorComponent implements AfterViewInit, OnDestroy
105
98
  * Implemented as part of ControlValueAccessor.
106
99
  */
107
100
  setDisabledState(isDisabled: boolean): void;
108
- private updateStyle;
109
- private initIframe;
110
- private ViewToModelUpdate;
111
101
  private _onTouched;
112
102
  private _onChange;
113
103
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextEditorComponent, never>;
@@ -12,35 +12,29 @@ import * as i0 from "@angular/core";
12
12
  * @internal
13
13
  */
14
14
  export declare class SkyTextEditorToolbarComponent implements OnInit {
15
- private adapterService;
16
- private changeDetector;
17
- private modalService;
18
- editorFocusStream: Subject<unknown>;
19
- editorId: string;
15
+ #private;
16
+ set editorFocusStream(value: Subject<void>);
17
+ get editorFocusStream(): Subject<void>;
20
18
  fontList: SkyTextEditorFont[];
21
19
  fontSizeList: number[];
22
20
  toolbarActions: SkyTextEditorToolbarActionType[];
23
- get styleState(): SkyTextEditorStyleState;
24
21
  set styleState(value: SkyTextEditorStyleState);
22
+ get styleState(): SkyTextEditorStyleState;
25
23
  set disabled(value: boolean);
26
24
  get disabled(): boolean;
27
25
  backColorpickerStream: Subject<SkyColorpickerMessage>;
28
26
  colorpickerStream: Subject<SkyColorpickerMessage>;
29
27
  fontPickerStream: Subject<SkyDropdownMessage>;
30
28
  fontSizeStream: Subject<SkyDropdownMessage>;
31
- styleStateFontName: string;
32
- private _disabled;
33
- private _styleState;
29
+ styleStateFontName: string | undefined;
34
30
  constructor(adapterService: SkyTextEditorAdapterService, changeDetector: ChangeDetectorRef, modalService: SkyModalService);
35
31
  ngOnInit(): void;
36
- execCommand(command: string, value?: any): void;
32
+ execCommand(command: string, value?: string): void;
37
33
  toggleFontStyle(currentState: boolean, newState: boolean, command: string): void;
38
34
  link(): void;
39
35
  unlink(): void;
40
36
  changeFontSize(size: number): void;
41
37
  onColorpickerColorChanged(color: SkyColorpickerOutput, isBackground?: boolean): void;
42
- private closeDropdowns;
43
- private getFontName;
44
38
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextEditorToolbarComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyTextEditorToolbarComponent, "sky-text-editor-toolbar", never, { "editorFocusStream": "editorFocusStream"; "editorId": "editorId"; "fontList": "fontList"; "fontSizeList": "fontSizeList"; "toolbarActions": "toolbarActions"; "styleState": "styleState"; "disabled": "disabled"; }, {}, never, never, false>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyTextEditorToolbarComponent, "sky-text-editor-toolbar", never, { "editorFocusStream": "editorFocusStream"; "fontList": "fontList"; "fontSizeList": "fontSizeList"; "toolbarActions": "toolbarActions"; "styleState": "styleState"; "disabled": "disabled"; }, {}, never, never, false>;
46
40
  }
@@ -3,5 +3,5 @@
3
3
  */
4
4
  export interface EditorCommand {
5
5
  command: string;
6
- value?: any;
6
+ value?: string;
7
7
  }
@@ -4,14 +4,14 @@ import { Subject } from 'rxjs';
4
4
  */
5
5
  export interface EditorSetting {
6
6
  blurListener: () => void;
7
- blurObservable: Subject<unknown>;
7
+ blurObservable: Subject<void>;
8
8
  clickListener: () => void;
9
- clickObservable: Subject<unknown>;
9
+ clickObservable: Subject<void>;
10
10
  commandChangeObservable: Subject<void>;
11
11
  iframeElementRef: HTMLIFrameElement;
12
12
  inputListener: () => void;
13
- inputObservable: Subject<unknown>;
13
+ inputObservable: Subject<void>;
14
14
  pasteListener: (e: ClipboardEvent) => void;
15
- selectionChangeObservable: Subject<unknown>;
15
+ selectionChangeObservable: Subject<void>;
16
16
  selectionListener: () => void;
17
17
  }
@@ -3,5 +3,5 @@ import { UrlModalResult } from './text-editor-url-modal-result';
3
3
  * @internal
4
4
  */
5
5
  export declare class SkyUrlModalContext {
6
- urlResult: UrlModalResult;
6
+ urlResult: UrlModalResult | undefined;
7
7
  }
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
6
6
  * @internal
7
7
  */
8
8
  export declare class SkyTextEditorUrlModalComponent {
9
- private readonly modalInstance;
9
+ #private;
10
10
  set activeTab(value: number);
11
11
  get activeTab(): number;
12
12
  set emailAddress(value: string);
@@ -15,17 +15,12 @@ export declare class SkyTextEditorUrlModalComponent {
15
15
  get url(): string;
16
16
  emailAddressValid: boolean;
17
17
  subject: string;
18
- target: number;
18
+ target: number | string;
19
19
  valid: boolean;
20
- _activeTab: number;
21
- private _emailAddress;
22
- private _url;
23
20
  constructor(modalInstance: SkyModalInstance, modalContext: SkyUrlModalContext);
24
21
  activeTabChanged(value: SkyTabIndex): void;
25
22
  save(): void;
26
23
  cancel(): void;
27
- private getEmailUrl;
28
- private isValid;
29
24
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextEditorUrlModalComponent, never>;
30
25
  static ɵcmp: i0.ɵɵComponentDeclaration<SkyTextEditorUrlModalComponent, "sky-text-editor-url-modal", never, {}, {}, never, never, false>;
31
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/text-editor",
3
- "version": "7.0.0-beta.9",
3
+ "version": "7.0.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -32,24 +32,25 @@
32
32
  }
33
33
  },
34
34
  "peerDependencies": {
35
- "@angular/common": "^14.2.0",
36
- "@angular/core": "^14.2.0",
37
- "@angular/forms": "^14.2.0",
38
- "@angular/platform-browser": "^14.2.0",
39
- "@skyux/colorpicker": "7.0.0-beta.9",
40
- "@skyux/core": "7.0.0-beta.9",
41
- "@skyux/forms": "7.0.0-beta.9",
42
- "@skyux/i18n": "7.0.0-beta.9",
43
- "@skyux/indicators": "7.0.0-beta.9",
44
- "@skyux/layout": "7.0.0-beta.9",
45
- "@skyux/modals": "7.0.0-beta.9",
46
- "@skyux/popovers": "7.0.0-beta.9",
47
- "@skyux/tabs": "7.0.0-beta.9",
48
- "@skyux/theme": "7.0.0-beta.9",
49
- "@skyux/validation": "7.0.0-beta.9"
35
+ "@angular/common": "^14.2.11",
36
+ "@angular/core": "^14.2.11",
37
+ "@angular/forms": "^14.2.11",
38
+ "@angular/platform-browser": "^14.2.11",
39
+ "@skyux/colorpicker": "7.0.0",
40
+ "@skyux/core": "7.0.0",
41
+ "@skyux/forms": "7.0.0",
42
+ "@skyux/i18n": "7.0.0",
43
+ "@skyux/indicators": "7.0.0",
44
+ "@skyux/layout": "7.0.0",
45
+ "@skyux/modals": "7.0.0",
46
+ "@skyux/popovers": "7.0.0",
47
+ "@skyux/tabs": "7.0.0",
48
+ "@skyux/theme": "7.0.0",
49
+ "@skyux/validation": "7.0.0"
50
50
  },
51
51
  "dependencies": {
52
- "dompurify": "2.3.6",
52
+ "dompurify": "2.4.1",
53
+ "he": "1.2.0",
53
54
  "tslib": "^2.3.1"
54
55
  },
55
56
  "module": "fesm2015/skyux-text-editor.mjs",