@firestitch/html-editor 15.0.0 → 17.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 (43) hide show
  1. package/app/modules/html-editor/components/html-editor/html-editor.component.d.ts +1 -1
  2. package/app/modules/html-renderer/components/html-renderer/html-renderer.component.d.ts +1 -1
  3. package/esm2022/app/modules/html-editor/classes/plugin.mjs +7 -0
  4. package/esm2022/app/modules/html-editor/components/html-editor/html-editor.component.mjs +518 -0
  5. package/{esm2020 → esm2022}/app/modules/html-editor/directives/html-editor-container.directive.mjs +4 -4
  6. package/{esm2020 → esm2022}/app/modules/html-editor/fs-html-editor.module.mjs +13 -13
  7. package/esm2022/app/modules/html-editor/plugins/checklist.plugin.mjs +40 -0
  8. package/esm2022/app/modules/html-editor/plugins/code.plugin.mjs +68 -0
  9. package/esm2022/app/modules/html-editor/plugins/mention.plugin.mjs +92 -0
  10. package/esm2022/app/modules/html-editor/plugins/realtime.plugin.mjs +17 -0
  11. package/esm2022/app/modules/html-editor/plugins/screen-record.plugin.mjs +94 -0
  12. package/esm2022/app/modules/html-editor/services/froala-loader.service.mjs +93 -0
  13. package/esm2022/app/modules/html-renderer/components/html-renderer/html-renderer.component.mjs +27 -0
  14. package/{esm2020 → esm2022}/app/modules/html-renderer/fs-html-renderer.module.mjs +5 -5
  15. package/{fesm2020 → fesm2022}/firestitch-html-editor.mjs +102 -78
  16. package/fesm2022/firestitch-html-editor.mjs.map +1 -0
  17. package/package.json +5 -11
  18. package/esm2020/app/modules/html-editor/classes/plugin.mjs +0 -5
  19. package/esm2020/app/modules/html-editor/components/html-editor/html-editor.component.mjs +0 -509
  20. package/esm2020/app/modules/html-editor/plugins/checklist.plugin.mjs +0 -39
  21. package/esm2020/app/modules/html-editor/plugins/code.plugin.mjs +0 -67
  22. package/esm2020/app/modules/html-editor/plugins/mention.plugin.mjs +0 -90
  23. package/esm2020/app/modules/html-editor/plugins/realtime.plugin.mjs +0 -16
  24. package/esm2020/app/modules/html-editor/plugins/screen-record.plugin.mjs +0 -92
  25. package/esm2020/app/modules/html-editor/services/froala-loader.service.mjs +0 -90
  26. package/esm2020/app/modules/html-renderer/components/html-renderer/html-renderer.component.mjs +0 -24
  27. package/fesm2015/firestitch-html-editor.mjs +0 -1043
  28. package/fesm2015/firestitch-html-editor.mjs.map +0 -1
  29. package/fesm2020/firestitch-html-editor.mjs.map +0 -1
  30. /package/{esm2020 → esm2022}/app/modules/html-editor/consts/paragraph-buttons.const.mjs +0 -0
  31. /package/{esm2020 → esm2022}/app/modules/html-editor/consts/rich-buttons.const.mjs +0 -0
  32. /package/{esm2020 → esm2022}/app/modules/html-editor/consts/text-buttons.const.mjs +0 -0
  33. /package/{esm2020 → esm2022}/app/modules/html-editor/directives/index.mjs +0 -0
  34. /package/{esm2020 → esm2022}/app/modules/html-editor/enums/default-plugin.enum.mjs +0 -0
  35. /package/{esm2020 → esm2022}/app/modules/html-editor/injects/config.inject.mjs +0 -0
  36. /package/{esm2020 → esm2022}/app/modules/html-editor/interfaces/html-editor-config.mjs +0 -0
  37. /package/{esm2020 → esm2022}/app/modules/html-editor/interfaces/index.mjs +0 -0
  38. /package/{esm2020 → esm2022}/app/modules/html-editor/interfaces/plugin-config.mjs +0 -0
  39. /package/{esm2020 → esm2022}/app/modules/html-editor/interfaces/toolbar-button.mjs +0 -0
  40. /package/{esm2020 → esm2022}/app/modules/html-editor/plugins/configs/mention-plugin.config.mjs +0 -0
  41. /package/{esm2020 → esm2022}/app/modules/html-editor/plugins/configs/screen-record-plugin.config.mjs +0 -0
  42. /package/{esm2020 → esm2022}/firestitch-html-editor.mjs +0 -0
  43. /package/{esm2020 → esm2022}/public_api.mjs +0 -0
@@ -56,5 +56,5 @@ export declare class FsHtmlEditorComponent implements OnInit, AfterViewInit, Con
56
56
  private _contentChanged;
57
57
  private _setupFroala;
58
58
  static ɵfac: i0.ɵɵFactoryDeclaration<FsHtmlEditorComponent, [{ optional: true; }, null, null]>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<FsHtmlEditorComponent, "fs-html-editor", never, { "config": "config"; "disabled": "disabled"; }, {}, ["htmlEditorContainer"], never, false, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsHtmlEditorComponent, "fs-html-editor", never, { "config": { "alias": "config"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["htmlEditorContainer"], never, false, never>;
60
60
  }
@@ -8,5 +8,5 @@ export declare class FsHtmlRendererComponent {
8
8
  trustedHtml: SafeHtml;
9
9
  constructor(sanitized: DomSanitizer, _cdRef: ChangeDetectorRef);
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<FsHtmlRendererComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<FsHtmlRendererComponent, "fs-html-renderer", never, { "setHtml": "html"; }, {}, never, never, false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<FsHtmlRendererComponent, "fs-html-renderer", never, { "setHtml": { "alias": "html"; "required": false; }; }, {}, never, never, false, never>;
12
12
  }
@@ -0,0 +1,7 @@
1
+ export class Plugin {
2
+ config;
3
+ editor;
4
+ initialize() { }
5
+ destroy() { }
6
+ }
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGx1Z2luLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2FwcC9tb2R1bGVzL2h0bWwtZWRpdG9yL2NsYXNzZXMvcGx1Z2luLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE1BQU0sT0FBTyxNQUFNO0lBRVYsTUFBTSxDQUFlO0lBQ3JCLE1BQU0sQ0FBTTtJQUVaLFVBQVUsS0FBSSxDQUFDO0lBQ2YsT0FBTyxLQUFJLENBQUM7Q0FFcEIiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBpbXBvcnQgeyBGcm9hbGFFZGl0b3IgfSBmcm9tICdmcm9hbGEtZWRpdG9yJztcbmltcG9ydCB7IFBsdWdpbkNvbmZpZyB9IGZyb20gJy4vLi4vaW50ZXJmYWNlcy9wbHVnaW4tY29uZmlnJztcblxuZXhwb3J0IGNsYXNzIFBsdWdpbiB7XG5cbiAgcHVibGljIGNvbmZpZzogUGx1Z2luQ29uZmlnO1xuICBwdWJsaWMgZWRpdG9yOiBhbnk7XG5cbiAgcHVibGljIGluaXRpYWxpemUoKSB7fVxuICBwdWJsaWMgZGVzdHJveSgpIHt9XG5cbn1cbiJdfQ==