@firestitch/html-editor 9.5.9 → 12.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 (77) hide show
  1. package/app/classes/plugin.d.ts +7 -7
  2. package/app/components/html-editor/html-editor.component.d.ts +57 -54
  3. package/app/components/html-renderer/html-renderer.component.d.ts +12 -9
  4. package/app/consts/paragraph-buttons.const.d.ts +1 -1
  5. package/app/consts/rich-buttons.const.d.ts +1 -1
  6. package/app/consts/text-buttons.const.d.ts +1 -1
  7. package/app/enums/default-plugin.enum.d.ts +14 -14
  8. package/app/fs-html-editor.module.d.ts +33 -25
  9. package/app/injects/config.inject.d.ts +3 -3
  10. package/app/interfaces/html-editor-config.d.ts +31 -31
  11. package/app/interfaces/plugin-button.d.ts +12 -12
  12. package/app/interfaces/plugin-config.d.ts +5 -5
  13. package/app/plugins/checklist.plugin.d.ts +7 -7
  14. package/app/plugins/code.plugin.d.ts +9 -9
  15. package/app/plugins/configs/mention-plugin.config.d.ts +13 -13
  16. package/app/plugins/configs/screen-record-plugin.config.d.ts +7 -7
  17. package/app/plugins/mention.plugin.d.ts +15 -15
  18. package/app/plugins/screen-record.plugin.d.ts +11 -11
  19. package/app/services/froala-loader.service.d.ts +20 -17
  20. package/app/utils/loader.d.ts +7 -7
  21. package/bundles/firestitch-html-editor.umd.js +1389 -1274
  22. package/bundles/firestitch-html-editor.umd.js.map +1 -1
  23. package/esm2015/app/classes/plugin.js +5 -5
  24. package/esm2015/app/components/html-editor/html-editor.component.js +453 -445
  25. package/esm2015/app/components/html-renderer/html-renderer.component.js +29 -34
  26. package/esm2015/app/consts/paragraph-buttons.const.js +9 -9
  27. package/esm2015/app/consts/rich-buttons.const.js +7 -7
  28. package/esm2015/app/consts/text-buttons.const.js +19 -19
  29. package/esm2015/app/enums/default-plugin.enum.js +2 -1
  30. package/esm2015/app/fs-html-editor.module.js +65 -57
  31. package/esm2015/app/injects/config.inject.js +4 -4
  32. package/esm2015/app/interfaces/html-editor-config.js +2 -1
  33. package/esm2015/app/interfaces/plugin-button.js +2 -1
  34. package/esm2015/app/interfaces/plugin-config.js +2 -1
  35. package/esm2015/app/plugins/checklist.plugin.js +35 -35
  36. package/esm2015/app/plugins/code.plugin.js +63 -63
  37. package/esm2015/app/plugins/configs/mention-plugin.config.js +2 -1
  38. package/esm2015/app/plugins/configs/screen-record-plugin.config.js +2 -1
  39. package/esm2015/app/plugins/mention.plugin.js +87 -87
  40. package/esm2015/app/plugins/screen-record.plugin.js +92 -92
  41. package/esm2015/app/services/froala-loader.service.js +80 -81
  42. package/esm2015/app/utils/loader.js +83 -83
  43. package/esm2015/firestitch-html-editor.js +5 -9
  44. package/esm2015/public_api.js +12 -12
  45. package/fesm2015/firestitch-html-editor.js +970 -956
  46. package/fesm2015/firestitch-html-editor.js.map +1 -1
  47. package/firestitch-html-editor.d.ts +5 -9
  48. package/package.json +4 -7
  49. package/public_api.d.ts +16 -16
  50. package/styles.scss +3 -2
  51. package/bundles/firestitch-html-editor.umd.min.js +0 -17
  52. package/bundles/firestitch-html-editor.umd.min.js.map +0 -1
  53. package/esm5/app/classes/plugin.js +0 -9
  54. package/esm5/app/components/html-editor/html-editor.component.js +0 -471
  55. package/esm5/app/components/html-renderer/html-renderer.component.js +0 -39
  56. package/esm5/app/consts/paragraph-buttons.const.js +0 -9
  57. package/esm5/app/consts/rich-buttons.const.js +0 -7
  58. package/esm5/app/consts/text-buttons.const.js +0 -19
  59. package/esm5/app/enums/default-plugin.enum.js +0 -1
  60. package/esm5/app/fs-html-editor.module.js +0 -62
  61. package/esm5/app/injects/config.inject.js +0 -4
  62. package/esm5/app/interfaces/html-editor-config.js +0 -1
  63. package/esm5/app/interfaces/plugin-button.js +0 -1
  64. package/esm5/app/interfaces/plugin-config.js +0 -1
  65. package/esm5/app/plugins/checklist.plugin.js +0 -41
  66. package/esm5/app/plugins/code.plugin.js +0 -70
  67. package/esm5/app/plugins/configs/mention-plugin.config.js +0 -1
  68. package/esm5/app/plugins/configs/screen-record-plugin.config.js +0 -1
  69. package/esm5/app/plugins/mention.plugin.js +0 -93
  70. package/esm5/app/plugins/screen-record.plugin.js +0 -106
  71. package/esm5/app/services/froala-loader.service.js +0 -96
  72. package/esm5/app/utils/loader.js +0 -83
  73. package/esm5/firestitch-html-editor.js +0 -9
  74. package/esm5/public_api.js +0 -12
  75. package/fesm5/firestitch-html-editor.js +0 -1074
  76. package/fesm5/firestitch-html-editor.js.map +0 -1
  77. package/firestitch-html-editor.metadata.json +0 -1
@@ -1,7 +1,7 @@
1
- import { PluginConfig } from './../interfaces/plugin-config';
2
- export declare class Plugin {
3
- config: PluginConfig;
4
- editor: any;
5
- initialize(): void;
6
- destroy(): void;
7
- }
1
+ import { PluginConfig } from './../interfaces/plugin-config';
2
+ export declare class Plugin {
3
+ config: PluginConfig;
4
+ editor: any;
5
+ initialize(): void;
6
+ destroy(): void;
7
+ }
@@ -1,54 +1,57 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
- import { Observable } from 'rxjs';
4
- import { FsHtmlEditorConfig } from '../../interfaces/html-editor-config';
5
- import { FsFroalaLoaderService } from '../../services/froala-loader.service';
6
- export declare class FsHtmlEditorComponent implements OnInit, AfterViewInit, ControlValueAccessor, Validator, OnDestroy {
7
- private _defaultConfig;
8
- private _cdRef;
9
- private _fr;
10
- classFocused: boolean;
11
- classDisabled: boolean;
12
- elRef: ElementRef;
13
- config: FsHtmlEditorConfig;
14
- initialized: boolean;
15
- private _editor;
16
- private _html;
17
- private _initialize$;
18
- private _froalaReady$;
19
- private _destroy$;
20
- constructor(_defaultConfig: any, _cdRef: ChangeDetectorRef, _fr: FsFroalaLoaderService);
21
- onChange: (data: any) => void;
22
- onTouched: () => void;
23
- readonly el: any;
24
- readonly html: string;
25
- readonly editor: any;
26
- readonly froalaLoaded$: Observable<boolean>;
27
- ngOnInit(): void;
28
- ngAfterViewInit(): void;
29
- hasContent(): boolean;
30
- initialize(options?: any): void;
31
- private _processImageUpload;
32
- private _getTextNode;
33
- uninitializedClick(event: UIEvent): void;
34
- updateSize(): void;
35
- validate(control: AbstractControl): ValidationErrors | null;
36
- focus(options?: {
37
- cursorPosition?: 'start' | 'end';
38
- }): void;
39
- clear(): void;
40
- disable(): void;
41
- setHtml(html: any): void;
42
- writeValue(html: string): void;
43
- registerOnChange(fn: (data: any) => void): void;
44
- registerOnTouched(fn: () => void): void;
45
- ngOnDestroy(): void;
46
- destroy(): void;
47
- private _createConfig;
48
- private _change;
49
- private _initPlugins;
50
- private _createOptions;
51
- private _listenLazyInit;
52
- private _contentChanged;
53
- private _setupFroala;
54
- }
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
3
+ import { Observable } from 'rxjs';
4
+ import { FsHtmlEditorConfig } from '../../interfaces/html-editor-config';
5
+ import { FsFroalaLoaderService } from '../../services/froala-loader.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class FsHtmlEditorComponent implements OnInit, AfterViewInit, ControlValueAccessor, Validator, OnDestroy {
8
+ private _defaultConfig;
9
+ private _cdRef;
10
+ private _fr;
11
+ classFocused: boolean;
12
+ classDisabled: boolean;
13
+ elRef: ElementRef;
14
+ config: FsHtmlEditorConfig;
15
+ initialized: boolean;
16
+ private _editor;
17
+ private _html;
18
+ private _initialize$;
19
+ private _froalaReady$;
20
+ private _destroy$;
21
+ constructor(_defaultConfig: any, _cdRef: ChangeDetectorRef, _fr: FsFroalaLoaderService);
22
+ onChange: (data: any) => void;
23
+ onTouched: () => void;
24
+ get el(): any;
25
+ get html(): string;
26
+ get editor(): any;
27
+ get froalaLoaded$(): Observable<boolean>;
28
+ ngOnInit(): void;
29
+ ngAfterViewInit(): void;
30
+ hasContent(): boolean;
31
+ initialize(options?: any): void;
32
+ private _processImageUpload;
33
+ private _getTextNode;
34
+ uninitializedClick(event: UIEvent): void;
35
+ updateSize(): void;
36
+ validate(control: AbstractControl): ValidationErrors | null;
37
+ focus(options?: {
38
+ cursorPosition?: 'start' | 'end';
39
+ }): void;
40
+ clear(): void;
41
+ disable(): void;
42
+ setHtml(html: any): void;
43
+ writeValue(html: string): void;
44
+ registerOnChange(fn: (data: any) => void): void;
45
+ registerOnTouched(fn: () => void): void;
46
+ ngOnDestroy(): void;
47
+ destroy(): void;
48
+ private _createConfig;
49
+ private _change;
50
+ private _initPlugins;
51
+ private _createOptions;
52
+ private _listenLazyInit;
53
+ private _contentChanged;
54
+ private _setupFroala;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsHtmlEditorComponent, [{ optional: true; }, null, null]>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsHtmlEditorComponent, "fs-html-editor", never, { "config": "config"; }, {}, never, never>;
57
+ }
@@ -1,9 +1,12 @@
1
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
2
- import { ChangeDetectorRef } from '@angular/core';
3
- export declare class FsHtmlRendererComponent {
4
- private sanitized;
5
- private _cdRef;
6
- setHtml: any;
7
- trustedHtml: SafeHtml;
8
- constructor(sanitized: DomSanitizer, _cdRef: ChangeDetectorRef);
9
- }
1
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
2
+ import { ChangeDetectorRef } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FsHtmlRendererComponent {
5
+ private sanitized;
6
+ private _cdRef;
7
+ set setHtml(html: any);
8
+ trustedHtml: SafeHtml;
9
+ constructor(sanitized: DomSanitizer, _cdRef: ChangeDetectorRef);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsHtmlRendererComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsHtmlRendererComponent, "fs-html-renderer", never, { "setHtml": "html"; }, {}, never, never>;
12
+ }
@@ -1 +1 @@
1
- export declare const ParagraphButtons: string[];
1
+ export declare const ParagraphButtons: string[];
@@ -1 +1 @@
1
- export declare const RichButtons: string[];
1
+ export declare const RichButtons: string[];
@@ -1 +1 @@
1
- export declare const TextButtons: string[];
1
+ export declare const TextButtons: string[];
@@ -1,14 +1,14 @@
1
- export declare const enum DefaultPlugin {
2
- Align = "align",
3
- Colors = "colors",
4
- Image = "image",
5
- Link = "link",
6
- Lists = "lists",
7
- ParagraphFormat = "paragraph_format",
8
- Table = "table",
9
- Url = "url",
10
- Video = "video",
11
- Quote = "quote",
12
- Draggable = "draggable",
13
- FontSize = "font_size"
14
- }
1
+ export declare const enum DefaultPlugin {
2
+ Align = "align",
3
+ Colors = "colors",
4
+ Image = "image",
5
+ Link = "link",
6
+ Lists = "lists",
7
+ ParagraphFormat = "paragraph_format",
8
+ Table = "table",
9
+ Url = "url",
10
+ Video = "video",
11
+ Quote = "quote",
12
+ Draggable = "draggable",
13
+ FontSize = "font_size"
14
+ }
@@ -1,25 +1,33 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { FsHtmlEditorConfig } from './interfaces/html-editor-config';
3
- import { DefaultPlugin } from './enums/default-plugin.enum';
4
- export declare class FsHtmlEditorModule {
5
- static forRoot(config?: FsHtmlEditorConfig): ModuleWithProviders<FsHtmlEditorModule>;
6
- }
7
- export declare function FsHtmlEditorConfigFactory(config: FsHtmlEditorConfig): {
8
- image?: import("./interfaces/html-editor-config").FsHtmlEditorUploadConfig;
9
- label?: string;
10
- hint?: string;
11
- change?: Function;
12
- initOnClick?: boolean;
13
- initClick?: (event?: UIEvent) => void;
14
- placeholder?: string;
15
- maxLength?: number;
16
- autofocus?: boolean;
17
- froalaConfig?: any;
18
- disabled?: boolean;
19
- activationKey?: any;
20
- tooltip?: string;
21
- plugins?: import("./classes/plugin").Plugin[];
22
- defaultPlugins: DefaultPlugin[];
23
- assetsJSPath?: string;
24
- assetsCSSPath?: string;
25
- };
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { FsHtmlEditorConfig } from './interfaces/html-editor-config';
3
+ import { DefaultPlugin } from './enums/default-plugin.enum';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "./components/html-editor/html-editor.component";
6
+ import * as i2 from "./components/html-renderer/html-renderer.component";
7
+ import * as i3 from "@angular/common";
8
+ import * as i4 from "@firestitch/skeleton";
9
+ export declare class FsHtmlEditorModule {
10
+ static forRoot(config?: FsHtmlEditorConfig): ModuleWithProviders<FsHtmlEditorModule>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsHtmlEditorModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FsHtmlEditorModule, [typeof i1.FsHtmlEditorComponent, typeof i2.FsHtmlRendererComponent], [typeof i3.CommonModule, typeof i4.FsSkeletonModule], [typeof i1.FsHtmlEditorComponent, typeof i2.FsHtmlRendererComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<FsHtmlEditorModule>;
14
+ }
15
+ export declare function FsHtmlEditorConfigFactory(config: FsHtmlEditorConfig): {
16
+ image?: import("./interfaces/html-editor-config").FsHtmlEditorUploadConfig;
17
+ label?: string;
18
+ hint?: string;
19
+ change?: Function;
20
+ initOnClick?: boolean;
21
+ initClick?: (event?: UIEvent) => void;
22
+ placeholder?: string;
23
+ maxLength?: number;
24
+ autofocus?: boolean;
25
+ froalaConfig?: any;
26
+ disabled?: boolean;
27
+ activationKey?: any;
28
+ tooltip?: string;
29
+ plugins?: import("./classes/plugin").Plugin[];
30
+ defaultPlugins: DefaultPlugin[];
31
+ assetsJSPath?: string;
32
+ assetsCSSPath?: string;
33
+ };
@@ -1,3 +1,3 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const FS_HTML_EDITOR_DEFAULT_CONFIG: InjectionToken<any[]>;
3
- export declare const FS_HTML_EDITOR_CONFIG: InjectionToken<any[]>;
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const FS_HTML_EDITOR_DEFAULT_CONFIG: InjectionToken<any[]>;
3
+ export declare const FS_HTML_EDITOR_CONFIG: InjectionToken<any[]>;
@@ -1,31 +1,31 @@
1
- import { Observable } from 'rxjs';
2
- import { Plugin } from '../classes/plugin';
3
- import { DefaultPlugin } from '../enums/default-plugin.enum';
4
- export interface FsHtmlEditorConfig {
5
- image?: FsHtmlEditorUploadConfig;
6
- label?: string;
7
- hint?: string;
8
- change?: Function;
9
- initOnClick?: boolean;
10
- initClick?: (event?: UIEvent) => void;
11
- placeholder?: string;
12
- maxLength?: number;
13
- autofocus?: boolean;
14
- froalaConfig?: any;
15
- disabled?: boolean;
16
- activationKey?: any;
17
- tooltip?: string;
18
- plugins?: Plugin[];
19
- defaultPlugins?: DefaultPlugin[];
20
- assetsJSPath?: string;
21
- assetsCSSPath?: string;
22
- }
23
- export interface FsHtmlEditorUploadConfig {
24
- width?: number | undefined;
25
- height?: number | undefined;
26
- quality?: number | undefined;
27
- format?: string | undefined;
28
- minWidth?: number;
29
- minHeight?: number;
30
- upload?: (file: Blob) => Observable<string>;
31
- }
1
+ import { Observable } from 'rxjs';
2
+ import { Plugin } from '../classes/plugin';
3
+ import { DefaultPlugin } from '../enums/default-plugin.enum';
4
+ export interface FsHtmlEditorConfig {
5
+ image?: FsHtmlEditorUploadConfig;
6
+ label?: string;
7
+ hint?: string;
8
+ change?: Function;
9
+ initOnClick?: boolean;
10
+ initClick?: (event?: UIEvent) => void;
11
+ placeholder?: string;
12
+ maxLength?: number;
13
+ autofocus?: boolean;
14
+ froalaConfig?: any;
15
+ disabled?: boolean;
16
+ activationKey?: any;
17
+ tooltip?: string;
18
+ plugins?: Plugin[];
19
+ defaultPlugins?: DefaultPlugin[];
20
+ assetsJSPath?: string;
21
+ assetsCSSPath?: string;
22
+ }
23
+ export interface FsHtmlEditorUploadConfig {
24
+ width?: number | undefined;
25
+ height?: number | undefined;
26
+ quality?: number | undefined;
27
+ format?: string | undefined;
28
+ minWidth?: number;
29
+ minHeight?: number;
30
+ upload?: (file: Blob) => Observable<string>;
31
+ }
@@ -1,12 +1,12 @@
1
- export interface PluginButton {
2
- name: string;
3
- title?: string;
4
- svgPath?: string;
5
- undo?: boolean;
6
- tooltip?: string;
7
- focus?: boolean;
8
- showOnMobile?: boolean;
9
- refreshAfterCallback?: boolean;
10
- click?: (editor: any) => void;
11
- refresh?: (editor: any, button: any) => void;
12
- }
1
+ export interface PluginButton {
2
+ name: string;
3
+ title?: string;
4
+ svgPath?: string;
5
+ undo?: boolean;
6
+ tooltip?: string;
7
+ focus?: boolean;
8
+ showOnMobile?: boolean;
9
+ refreshAfterCallback?: boolean;
10
+ click?: (editor: any) => void;
11
+ refresh?: (editor: any, button: any) => void;
12
+ }
@@ -1,5 +1,5 @@
1
- import { PluginButton } from './plugin-button';
2
- export interface PluginConfig {
3
- name?: string;
4
- buttons?: PluginButton[];
5
- }
1
+ import { PluginButton } from './plugin-button';
2
+ export interface PluginConfig {
3
+ name?: string;
4
+ buttons?: PluginButton[];
5
+ }
@@ -1,7 +1,7 @@
1
- import { Plugin } from '../classes/plugin';
2
- import { PluginConfig } from './../interfaces/plugin-config';
3
- export declare class ChecklistPlugin extends Plugin {
4
- config: PluginConfig;
5
- constructor(config?: PluginConfig);
6
- initialize(): void;
7
- }
1
+ import { Plugin } from '../classes/plugin';
2
+ import { PluginConfig } from './../interfaces/plugin-config';
3
+ export declare class ChecklistPlugin extends Plugin {
4
+ config: PluginConfig;
5
+ constructor(config?: PluginConfig);
6
+ initialize(): void;
7
+ }
@@ -1,9 +1,9 @@
1
- import { Plugin } from '../classes/plugin';
2
- import { PluginConfig } from './../interfaces/plugin-config';
3
- export declare class CodePlugin extends Plugin {
4
- config: PluginConfig;
5
- constructor(config?: PluginConfig);
6
- initialize(): void;
7
- destroy(): void;
8
- private _getCodeEl;
9
- }
1
+ import { Plugin } from '../classes/plugin';
2
+ import { PluginConfig } from './../interfaces/plugin-config';
3
+ export declare class CodePlugin extends Plugin {
4
+ config: PluginConfig;
5
+ constructor(config?: PluginConfig);
6
+ initialize(): void;
7
+ destroy(): void;
8
+ private _getCodeEl;
9
+ }
@@ -1,13 +1,13 @@
1
- import { PluginConfig } from './../../interfaces/plugin-config';
2
- import { Observable } from 'rxjs';
3
- export interface MentionPluginConfig extends PluginConfig {
4
- trigger?: string;
5
- menuItemTemplate?: (data: any) => string;
6
- selectedTemplate?: (data: any) => string;
7
- fetch: (keyord?: string) => Observable<any>;
8
- containerClass?: string;
9
- menuItemClass?: string;
10
- tooltip?: string;
11
- iconPath?: string;
12
- selected?: (item: any) => void;
13
- }
1
+ import { PluginConfig } from './../../interfaces/plugin-config';
2
+ import { Observable } from 'rxjs';
3
+ export interface MentionPluginConfig extends PluginConfig {
4
+ trigger?: string;
5
+ menuItemTemplate?: (data: any) => string;
6
+ selectedTemplate?: (data: any) => string;
7
+ fetch: (keyord?: string) => Observable<any>;
8
+ containerClass?: string;
9
+ menuItemClass?: string;
10
+ tooltip?: string;
11
+ iconPath?: string;
12
+ selected?: (item: any) => void;
13
+ }
@@ -1,7 +1,7 @@
1
- import { PluginConfig } from '../../interfaces/plugin-config';
2
- import { Observable } from 'rxjs';
3
- export interface ScreenRecordPluginConfig extends PluginConfig {
4
- name?: string;
5
- maxWidth?: string;
6
- upload?: (file: Blob) => Observable<string>;
7
- }
1
+ import { PluginConfig } from '../../interfaces/plugin-config';
2
+ import { Observable } from 'rxjs';
3
+ export interface ScreenRecordPluginConfig extends PluginConfig {
4
+ name?: string;
5
+ maxWidth?: string;
6
+ upload?: (file: Blob) => Observable<string>;
7
+ }
@@ -1,15 +1,15 @@
1
- import { MentionPluginConfig } from './configs/mention-plugin.config';
2
- import { Plugin } from '../classes/plugin';
3
- export declare class MentionPlugin extends Plugin {
4
- config: MentionPluginConfig;
5
- private static _currentGuid;
6
- private static _tributes;
7
- private _tribute;
8
- private _guid;
9
- constructor(config: MentionPluginConfig);
10
- initialize(): void;
11
- selected: (event: any) => void;
12
- destroy(): void;
13
- private _closeAll;
14
- private _loadValues;
15
- }
1
+ import { MentionPluginConfig } from './configs/mention-plugin.config';
2
+ import { Plugin } from '../classes/plugin';
3
+ export declare class MentionPlugin extends Plugin {
4
+ config: MentionPluginConfig;
5
+ private static _currentGuid;
6
+ private static _tributes;
7
+ private _tribute;
8
+ private _guid;
9
+ constructor(config: MentionPluginConfig);
10
+ initialize(): void;
11
+ selected: (event: any) => void;
12
+ destroy(): void;
13
+ private _closeAll;
14
+ private _loadValues;
15
+ }
@@ -1,11 +1,11 @@
1
- import { ScreenRecordPluginConfig } from './configs/screen-record-plugin.config';
2
- import { Plugin } from '../classes/plugin';
3
- export declare class ScreenRecordPlugin extends Plugin {
4
- config: ScreenRecordPluginConfig;
5
- private _activeEl;
6
- constructor(config?: ScreenRecordPluginConfig);
7
- initialize(): Promise<void>;
8
- private _createPopup;
9
- private _showPopup;
10
- private _getEl;
11
- }
1
+ import { ScreenRecordPluginConfig } from './configs/screen-record-plugin.config';
2
+ import { Plugin } from '../classes/plugin';
3
+ export declare class ScreenRecordPlugin extends Plugin {
4
+ config: ScreenRecordPluginConfig;
5
+ private _activeEl;
6
+ constructor(config?: ScreenRecordPluginConfig);
7
+ initialize(): Promise<void>;
8
+ private _createPopup;
9
+ private _showPopup;
10
+ private _getEl;
11
+ }
@@ -1,17 +1,20 @@
1
- import { Observable } from 'rxjs';
2
- import { FsHtmlEditorConfig } from '../interfaces/html-editor-config';
3
- export declare class FsFroalaLoaderService {
4
- private _defaultConfig;
5
- private _FroalaEditor;
6
- private _froalaLoaded;
7
- private _defaultPluginsLoaded;
8
- private _loaded$;
9
- constructor(_defaultConfig: FsHtmlEditorConfig);
10
- readonly loaded$: Observable<boolean>;
11
- readonly ready: boolean;
12
- readonly FroalaEditor: any;
13
- private _load;
14
- private _loadPlugins;
15
- private _froalaDone;
16
- private _defaultPluginsDone;
17
- }
1
+ import { Observable } from 'rxjs';
2
+ import { FsHtmlEditorConfig } from '../interfaces/html-editor-config';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FsFroalaLoaderService {
5
+ private _defaultConfig;
6
+ private _FroalaEditor;
7
+ private _froalaLoaded;
8
+ private _defaultPluginsLoaded;
9
+ private _loaded$;
10
+ constructor(_defaultConfig: FsHtmlEditorConfig);
11
+ get loaded$(): Observable<boolean>;
12
+ get ready(): boolean;
13
+ get FroalaEditor(): any;
14
+ private _load;
15
+ private _loadPlugins;
16
+ private _froalaDone;
17
+ private _defaultPluginsDone;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFroalaLoaderService, [{ optional: true; }]>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<FsFroalaLoaderService>;
20
+ }
@@ -1,7 +1,7 @@
1
- import { Observable } from 'rxjs';
2
- export declare const ResourceLoader: {
3
- setResourceBase: (path: string) => void;
4
- setStylesBase: (path: string) => void;
5
- loadResource: (resourceName: string) => Observable<unknown>;
6
- loadStyles: (resourceName: string) => Observable<unknown>;
7
- };
1
+ import { Observable } from 'rxjs';
2
+ export declare const ResourceLoader: {
3
+ setResourceBase: (path: string) => void;
4
+ setStylesBase: (path: string) => void;
5
+ loadResource: (resourceName: string) => Observable<unknown>;
6
+ loadStyles: (resourceName: string) => Observable<unknown>;
7
+ };