croco-html 2.29.0 → 2.31.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 (35) hide show
  1. package/README.md +1 -1
  2. package/esm2022/lib/components/editor/custom-widget-editor/custom-widget-editor.component.mjs +41 -0
  3. package/esm2022/lib/components/editor/image-editor/image-editor.component.mjs +8 -4
  4. package/esm2022/lib/components/editor/index.mjs +2 -1
  5. package/esm2022/lib/components/editor/main-editor-block/main-editor-block.component.mjs +6 -4
  6. package/esm2022/lib/components/editor/visual-editor/DefaultTags.mjs +3 -1
  7. package/esm2022/lib/components/editor/visual-editor/visual-editor.component.mjs +7 -1
  8. package/esm2022/lib/components/xml-tags/file-image-tag-view/file-image-tag-view.component.mjs +7 -4
  9. package/esm2022/lib/components/xml-tags/index.mjs +2 -1
  10. package/esm2022/lib/components/xml-tags/xml-tag-custom-widget/xml-tag-custom-widget.component.mjs +25 -0
  11. package/esm2022/lib/components/xml-tags/xml-tag-view/xml-tag-view.component.mjs +5 -3
  12. package/esm2022/lib/croco-html.module.mjs +18 -16
  13. package/esm2022/lib/extensions/BodyTagsExtensions.mjs +19 -2
  14. package/esm2022/lib/extensions/CustomWidgetMethods.mjs +33 -0
  15. package/esm2022/lib/extensions/HtmlExtractionMethods.mjs +3 -1
  16. package/esm2022/lib/extensions/ImageMethods.mjs +35 -12
  17. package/esm2022/lib/extensions/Tags.mjs +3 -1
  18. package/esm2022/lib/extensions/index.mjs +2 -1
  19. package/esm2022/lib/index.mjs +5 -1
  20. package/fesm2022/croco-html.mjs +174 -28
  21. package/fesm2022/croco-html.mjs.map +1 -1
  22. package/lib/components/editor/custom-widget-editor/custom-widget-editor.component.d.ts +13 -0
  23. package/lib/components/editor/image-editor/image-editor.component.d.ts +1 -0
  24. package/lib/components/editor/index.d.ts +1 -0
  25. package/lib/components/xml-tags/file-image-tag-view/file-image-tag-view.component.d.ts +1 -0
  26. package/lib/components/xml-tags/index.d.ts +1 -0
  27. package/lib/components/xml-tags/xml-tag-custom-widget/xml-tag-custom-widget.component.d.ts +10 -0
  28. package/lib/croco-html.module.d.ts +16 -14
  29. package/lib/extensions/CustomWidgetMethods.d.ts +20 -0
  30. package/lib/extensions/HtmlExtractionMethods.d.ts +1 -1
  31. package/lib/extensions/ImageMethods.d.ts +12 -5
  32. package/lib/extensions/Tags.d.ts +1 -0
  33. package/lib/extensions/index.d.ts +1 -0
  34. package/lib/index.d.ts +6 -5
  35. package/package.json +1 -1
@@ -0,0 +1,13 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { HtmlBodyTag } from "../../../models/models";
3
+ import { CustomWidgetTagData } from "../../../extensions";
4
+ import * as i0 from "@angular/core";
5
+ export declare class CustomWidgetEditorComponent implements OnInit {
6
+ tag: HtmlBodyTag;
7
+ onTagUpdated: EventEmitter<HtmlBodyTag>;
8
+ tagData: CustomWidgetTagData;
9
+ ngOnInit(): void;
10
+ dataChanged(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomWidgetEditorComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<CustomWidgetEditorComponent, "croco-html-custom-widget-editor", never, { "tag": { "alias": "tag"; "required": false; }; }, { "onTagUpdated": "onTagUpdated"; }, never, never, true, never>;
13
+ }
@@ -11,6 +11,7 @@ export declare class ImageEditorComponent implements OnInit, OnDestroy {
11
11
  searchOrEdit: string;
12
12
  requests: IMediaRequest[];
13
13
  imageMaxHeight: number;
14
+ imageMaxWidth: number;
14
15
  isShowMediaRequest: boolean;
15
16
  private unsubscribe;
16
17
  tag: HtmlBodyTag;
@@ -5,3 +5,4 @@ export * from './main-editor/main-editor.component';
5
5
  export * from './main-editor-block/main-editor-block.component';
6
6
  export * from './text-editor/text-editor.component';
7
7
  export * from './visual-editor/visual-editor.component';
8
+ export * from './custom-widget-editor/custom-widget-editor.component';
@@ -12,6 +12,7 @@ export declare class FileImageTagViewComponent implements OnInit, OnDestroy {
12
12
  requests: IMediaRequest[];
13
13
  private unsubscribe;
14
14
  imageMaxHeight: number;
15
+ imageMaxWidth: number;
15
16
  constructor(screenWidthService: ScreenWidthService, _options: CrocoHtmlOptions);
16
17
  getMediaRequests(screenMediaRequest: string): IMediaRequest[];
17
18
  ngOnInit(): void;
@@ -8,3 +8,4 @@ export * from './xml-tag-text-view/xml-tag-text-view.component';
8
8
  export * from './xml-tag-view/xml-tag-view.component';
9
9
  export * from './html-raw-view/html-raw-view.component';
10
10
  export * from './file-image-tag-view/file-image-tag-view.component';
11
+ export * from './xml-tag-custom-widget/xml-tag-custom-widget.component';
@@ -0,0 +1,10 @@
1
+ import { CustomWidgetTagData } from "../../../extensions";
2
+ import * as i0 from "@angular/core";
3
+ export declare class XmlTagCustomWidgetComponent {
4
+ set tagData(value: CustomWidgetTagData);
5
+ get tagData(): CustomWidgetTagData;
6
+ _tagData: CustomWidgetTagData;
7
+ tooltipData: string;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<XmlTagCustomWidgetComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagCustomWidgetComponent, "croco-html-xml-tag-custom-widget", never, { "tagData": { "alias": "tagData"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
@@ -48,21 +48,23 @@ import * as i46 from "./components/xml-tags/xml-tag-header-inner-text-view/xml-t
48
48
  import * as i47 from "./components/xml-tags/xml-tag-external-video/xml-tag-external-video.component";
49
49
  import * as i48 from "./components/xml-tags/html-raw-view/html-raw-view.component";
50
50
  import * as i49 from "./components/xml-tags/file-image-tag-view/file-image-tag-view.component";
51
- import * as i50 from "./components/editor/main-editor/main-editor.component";
52
- import * as i51 from "./components/file-id-select/file-id-select.component";
53
- import * as i52 from "./components/editor/text-editor/text-editor.component";
54
- import * as i53 from "./components/editor/image-editor/image-editor.component";
55
- import * as i54 from "./components/editor/main-editor-block/main-editor-block.component";
56
- import * as i55 from "./components/editor/visual-editor/visual-editor.component";
57
- import * as i56 from "./components/add-files-btn/add-files-btn.component";
58
- import * as i57 from "./components/editor/html-raw-editor/html-raw-editor.component";
59
- import * as i58 from "./pipes/RichTextToHtmlPipe";
60
- import * as i59 from "./pipes/TagToSpanPipe";
61
- import * as i60 from "./pipes/to-preview.pipe";
62
- import * as i61 from "./pipes/ToHtmlBodyTagsPipe";
63
- import * as i62 from "./pipes/ToPreviewHtmlPipe";
51
+ import * as i50 from "./components/xml-tags/xml-tag-custom-widget/xml-tag-custom-widget.component";
52
+ import * as i51 from "./components/editor/main-editor/main-editor.component";
53
+ import * as i52 from "./components/file-id-select/file-id-select.component";
54
+ import * as i53 from "./components/editor/text-editor/text-editor.component";
55
+ import * as i54 from "./components/editor/image-editor/image-editor.component";
56
+ import * as i55 from "./components/editor/main-editor-block/main-editor-block.component";
57
+ import * as i56 from "./components/editor/visual-editor/visual-editor.component";
58
+ import * as i57 from "./components/add-files-btn/add-files-btn.component";
59
+ import * as i58 from "./components/editor/html-raw-editor/html-raw-editor.component";
60
+ import * as i59 from "./components/editor/custom-widget-editor/custom-widget-editor.component";
61
+ import * as i60 from "./pipes/RichTextToHtmlPipe";
62
+ import * as i61 from "./pipes/TagToSpanPipe";
63
+ import * as i62 from "./pipes/to-preview.pipe";
64
+ import * as i63 from "./pipes/ToHtmlBodyTagsPipe";
65
+ import * as i64 from "./pipes/ToPreviewHtmlPipe";
64
66
  export declare class CrocoHtmlModule {
65
67
  static ɵfac: i0.ɵɵFactoryDeclaration<CrocoHtmlModule, never>;
66
- static ɵmod: i0.ɵɵNgModuleDeclaration<CrocoHtmlModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.NgSelectModule, typeof i4.MatBadgeModule, typeof i5.MatTableModule, typeof i6.MatExpansionModule, typeof i7.MatFormFieldModule, typeof i8.MatSnackBarModule, typeof i9.MatProgressBarModule, typeof i10.MatProgressSpinnerModule, typeof i11.MatTabsModule, typeof i12.MatMenuModule, typeof i13.MatCardModule, typeof i14.MatSelectModule, typeof i15.MatTooltipModule, typeof i16.MatCheckboxModule, typeof i17.MatChipsModule, typeof i18.MatListModule, typeof i19.MatButtonModule, typeof i20.MatInputModule, typeof i21.MatDialogModule, typeof i22.MatPaginatorModule, typeof i23.MatDatepickerModule, typeof i24.MatGridListModule, typeof i25.MatSlideToggleModule, typeof i26.MatTreeModule, typeof i27.MatNativeDateModule, typeof i28.MatAutocompleteModule, typeof i29.MatSidenavModule, typeof i30.MatIconModule, typeof i31.DragDropModule, typeof i32.MatButtonToggleModule, typeof i33.ErrorBannerComponent, typeof i34.VkVideoPlayerComponent, typeof i35.YoutubeVideoPlayerComponent, typeof i36.DownloadFileButtonEditorComponent, typeof i37.XmlTagDownloadFileButtonComponent, typeof i38.UploadFilesBtnComponent, typeof i39.HtmlViewComponent, typeof i40.XmlTagTableViewComponent, typeof i41.XmlTagViewComponent, typeof i42.XmlTagRichTextViewComponent, typeof i43.XmlTagHtmlViewComponent, typeof i44.XmlTagTextViewComponent, typeof i45.XmlTagHeaderTextViewComponent, typeof i46.XmlTagHeaderInnerTextViewComponent, typeof i47.XmlTagExternalVideoComponent, typeof i48.HtmlRawViewComponent, typeof i49.FileImageTagViewComponent, typeof i39.HtmlViewComponent, typeof i50.MainEditorComponent, typeof i51.FileIdSelectComponent, typeof i52.TextEditorComponent, typeof i53.ImageEditorComponent, typeof i54.MainEditorBlockComponent, typeof i55.VisualEditorComponent, typeof i56.AddFilesBtnComponent, typeof i57.HtmlRawEditorComponent, typeof i58.RichTextToHtmlPipe, typeof i59.TagToSpanPipe, typeof i60.ToPreviewPipe, typeof i61.ToHtmlBodyTagsPipe, typeof i62.ToPreviewHtmlPipe], [typeof i38.UploadFilesBtnComponent, typeof i39.HtmlViewComponent, typeof i40.XmlTagTableViewComponent, typeof i41.XmlTagViewComponent, typeof i42.XmlTagRichTextViewComponent, typeof i43.XmlTagHtmlViewComponent, typeof i44.XmlTagTextViewComponent, typeof i45.XmlTagHeaderTextViewComponent, typeof i46.XmlTagHeaderInnerTextViewComponent, typeof i47.XmlTagExternalVideoComponent, typeof i48.HtmlRawViewComponent, typeof i49.FileImageTagViewComponent, typeof i39.HtmlViewComponent, typeof i50.MainEditorComponent, typeof i51.FileIdSelectComponent, typeof i52.TextEditorComponent, typeof i53.ImageEditorComponent, typeof i54.MainEditorBlockComponent, typeof i55.VisualEditorComponent, typeof i56.AddFilesBtnComponent, typeof i57.HtmlRawEditorComponent, typeof i58.RichTextToHtmlPipe, typeof i59.TagToSpanPipe, typeof i60.ToPreviewPipe, typeof i61.ToHtmlBodyTagsPipe, typeof i62.ToPreviewHtmlPipe]>;
68
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CrocoHtmlModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.NgSelectModule, typeof i4.MatBadgeModule, typeof i5.MatTableModule, typeof i6.MatExpansionModule, typeof i7.MatFormFieldModule, typeof i8.MatSnackBarModule, typeof i9.MatProgressBarModule, typeof i10.MatProgressSpinnerModule, typeof i11.MatTabsModule, typeof i12.MatMenuModule, typeof i13.MatCardModule, typeof i14.MatSelectModule, typeof i15.MatTooltipModule, typeof i16.MatCheckboxModule, typeof i17.MatChipsModule, typeof i18.MatListModule, typeof i19.MatButtonModule, typeof i20.MatInputModule, typeof i21.MatDialogModule, typeof i22.MatPaginatorModule, typeof i23.MatDatepickerModule, typeof i24.MatGridListModule, typeof i25.MatSlideToggleModule, typeof i26.MatTreeModule, typeof i27.MatNativeDateModule, typeof i28.MatAutocompleteModule, typeof i29.MatSidenavModule, typeof i30.MatIconModule, typeof i31.DragDropModule, typeof i32.MatButtonToggleModule, typeof i33.ErrorBannerComponent, typeof i34.VkVideoPlayerComponent, typeof i35.YoutubeVideoPlayerComponent, typeof i36.DownloadFileButtonEditorComponent, typeof i37.XmlTagDownloadFileButtonComponent, typeof i38.UploadFilesBtnComponent, typeof i39.HtmlViewComponent, typeof i40.XmlTagTableViewComponent, typeof i41.XmlTagViewComponent, typeof i42.XmlTagRichTextViewComponent, typeof i43.XmlTagHtmlViewComponent, typeof i44.XmlTagTextViewComponent, typeof i45.XmlTagHeaderTextViewComponent, typeof i46.XmlTagHeaderInnerTextViewComponent, typeof i47.XmlTagExternalVideoComponent, typeof i48.HtmlRawViewComponent, typeof i49.FileImageTagViewComponent, typeof i50.XmlTagCustomWidgetComponent, typeof i39.HtmlViewComponent, typeof i51.MainEditorComponent, typeof i52.FileIdSelectComponent, typeof i53.TextEditorComponent, typeof i54.ImageEditorComponent, typeof i55.MainEditorBlockComponent, typeof i56.VisualEditorComponent, typeof i57.AddFilesBtnComponent, typeof i58.HtmlRawEditorComponent, typeof i59.CustomWidgetEditorComponent, typeof i60.RichTextToHtmlPipe, typeof i61.TagToSpanPipe, typeof i62.ToPreviewPipe, typeof i63.ToHtmlBodyTagsPipe, typeof i64.ToPreviewHtmlPipe], [typeof i38.UploadFilesBtnComponent, typeof i39.HtmlViewComponent, typeof i40.XmlTagTableViewComponent, typeof i41.XmlTagViewComponent, typeof i42.XmlTagRichTextViewComponent, typeof i43.XmlTagHtmlViewComponent, typeof i44.XmlTagTextViewComponent, typeof i45.XmlTagHeaderTextViewComponent, typeof i46.XmlTagHeaderInnerTextViewComponent, typeof i47.XmlTagExternalVideoComponent, typeof i48.HtmlRawViewComponent, typeof i49.FileImageTagViewComponent, typeof i50.XmlTagCustomWidgetComponent, typeof i39.HtmlViewComponent, typeof i51.MainEditorComponent, typeof i52.FileIdSelectComponent, typeof i53.TextEditorComponent, typeof i54.ImageEditorComponent, typeof i55.MainEditorBlockComponent, typeof i56.VisualEditorComponent, typeof i57.AddFilesBtnComponent, typeof i58.HtmlRawEditorComponent, typeof i59.CustomWidgetEditorComponent, typeof i60.RichTextToHtmlPipe, typeof i61.TagToSpanPipe, typeof i62.ToPreviewPipe, typeof i63.ToHtmlBodyTagsPipe, typeof i64.ToPreviewHtmlPipe]>;
67
69
  static ɵinj: i0.ɵɵInjectorDeclaration<CrocoHtmlModule>;
68
70
  }
@@ -0,0 +1,20 @@
1
+ export declare class CustomWidgetTagDataConsts {
2
+ static TagName: string;
3
+ static TypeAttrName: string;
4
+ static DataIdAttrName: string;
5
+ static WidgetIdAttrName: string;
6
+ }
7
+ export interface CustomWidgetTag {
8
+ type: string;
9
+ data: CustomWidgetTagData;
10
+ }
11
+ export interface CustomWidgetTagData {
12
+ type: string;
13
+ dataId: string;
14
+ widgetId: string;
15
+ }
16
+ export declare class CustomWidgetMethods {
17
+ static ExtractCustomWidgetTagData(attributes: any): CustomWidgetTagData;
18
+ static ExtractCustomWidgetAttributes(customWidgetTagData: CustomWidgetTagData): any;
19
+ static ExtractCustomWidgetTag(elem: HTMLElement): CustomWidgetTag;
20
+ }
@@ -28,7 +28,7 @@ export declare class HtmlExtractionMethods {
28
28
  data: {
29
29
  innerHTML: string;
30
30
  };
31
- }) | ((elem: HTMLElement, options: CrocoHtmlOptions) => GenericTextTag) | ((elem: HTMLElement, options: CrocoHtmlOptions) => import("./VideoMethods").ExternalVideoTag) | ((elem: HTMLElement, options: CrocoHtmlOptions) => import("./DownloadButtonMethods").DownloadButtonTag) | ((elem: HTMLElement, options: CrocoHtmlOptions) => import("./ButtonMethods").ButtonTag);
31
+ }) | ((elem: HTMLElement, options: CrocoHtmlOptions) => GenericTextTag) | ((elem: HTMLElement, options: CrocoHtmlOptions) => import("./VideoMethods").ExternalVideoTag) | ((elem: HTMLElement, options: CrocoHtmlOptions) => import("./DownloadButtonMethods").DownloadButtonTag) | ((elem: HTMLElement, options: CrocoHtmlOptions) => import("./ButtonMethods").ButtonTag) | ((elem: HTMLElement, options: CrocoHtmlOptions) => import("./CustomWidgetMethods").CustomWidgetTag);
32
32
  TEXT: (elem: HTMLElement, options: CrocoHtmlOptions) => import("./TextSimpleMethods").SimpleTextTag;
33
33
  "FILE-IMAGE": (elem: HTMLElement, options: CrocoHtmlOptions) => import("./ImageMethods").FileImageTag;
34
34
  TABLE: (elem: HTMLElement, options: CrocoHtmlOptions) => {
@@ -3,10 +3,15 @@ export declare class FileImageTagDataConsts {
3
3
  static TagName: string;
4
4
  static FileIdAttrName: string;
5
5
  static ScreenMediaRequest: string;
6
- static DefaultValueForFileImage: string;
7
6
  static MaxScreenWidth: string;
8
7
  static MinScreenWidth: string;
9
8
  static MaxImageHeight: string;
9
+ static MaxImageWidth: string;
10
+ static DefaultValueForFileImage: string;
11
+ }
12
+ export interface ImageRestrictions {
13
+ maxWidth: number | undefined;
14
+ maxHeight: number | undefined;
10
15
  }
11
16
  export interface FileImageTag {
12
17
  type: string;
@@ -20,7 +25,8 @@ export interface FileImageTagData {
20
25
  export interface IMediaRequest {
21
26
  minScreenWidth: number;
22
27
  maxScreenWidth: number;
23
- maxImageHeight: number;
28
+ maxImageHeight?: number;
29
+ maxImageWidth?: number;
24
30
  }
25
31
  export declare class ImageMethods {
26
32
  static buildUrl(fileId: number, sizeType: string, options: CrocoHtmlOptions): string;
@@ -28,7 +34,8 @@ export declare class ImageMethods {
28
34
  static buildMediumUrl(fileId: number, options: CrocoHtmlOptions): string;
29
35
  static ExtractImage(elem: HTMLElement, options: CrocoHtmlOptions): FileImageTag;
30
36
  static mediaRequestStringToArrayParser: (data: string) => IMediaRequest[];
31
- static createMediaRequestValue(arr: string[], attribute: string): number;
32
- static mediaRequestsArrayToStringParser: (data: IMediaRequest[]) => string;
33
- static getMaxImageHeightByScreenSize(screenSize: number, requests: IMediaRequest[]): number | null;
37
+ static createMediaRequestValue(arr: string[], attribute: string): number | null;
38
+ static mediaRequestsArrayToStringParser(data: IMediaRequest[]): string;
39
+ static mediaRequestToString(data: IMediaRequest): string;
40
+ static getImageRestrictionsByScreenSize(screenSize: number, requests: IMediaRequest[]): ImageRestrictions;
34
41
  }
@@ -12,4 +12,5 @@ export declare class Tags {
12
12
  static readonly RichText = "rich-text";
13
13
  static readonly ExternalVideo: string;
14
14
  static readonly UnsupportedTag = "unsupported-tag";
15
+ static readonly CustomWidget: string;
15
16
  }
@@ -2,6 +2,7 @@ export * from './AngularMaterialTableMethods';
2
2
  export * from './BodyTagsExtensions';
3
3
  export * from './BootstrapTableMethods';
4
4
  export * from './ImageMethods';
5
+ export * from './CustomWidgetMethods';
5
6
  export * from './TableBuilder';
6
7
  export * from './TableMethods';
7
8
  export * from './TextMethods';
package/lib/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ImageEditorComponent } from "./components";
2
2
  import { MainEditorBlockComponent } from "./components";
3
3
  import { MainEditorComponent } from "./components";
4
4
  import { FileIdSelectComponent } from "./components";
5
- import { XmlTagHeaderInnerTextViewComponent } from "./components";
5
+ import { XmlTagHeaderTextViewComponent } from "./components";
6
6
  import { XmlTagHtmlViewComponent } from "./components";
7
7
  import { XmlTagRichTextViewComponent } from "./components";
8
8
  import { XmlTagTableViewComponent } from "./components";
@@ -15,8 +15,9 @@ import { MatFormFieldModule } from '@angular/material/form-field';
15
15
  import { RichTextToHtmlPipe, TagToSpanPipe, ToHtmlBodyTagsPipe, ToPreviewHtmlPipe, ToPreviewPipe } from "./pipes";
16
16
  import { FileImageTagViewComponent, UploadFilesBtnComponent } from "./components";
17
17
  import { HtmlRawViewComponent } from "./components";
18
- export declare const EditorComponents: (typeof AddFilesBtnComponent | typeof HtmlRawEditorComponent | typeof FileIdSelectComponent | typeof ImageEditorComponent | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof MainEditorComponent)[];
19
- export declare const XmlComponents: (typeof XmlTagExternalVideoComponent | typeof XmlTagHeaderInnerTextViewComponent | typeof XmlTagHtmlViewComponent | typeof XmlTagRichTextViewComponent | typeof XmlTagTableViewComponent | typeof FileImageTagViewComponent | typeof HtmlRawViewComponent | typeof XmlTagViewComponent)[];
20
- export declare const CrocoPipes: (typeof RichTextToHtmlPipe | typeof ToPreviewPipe | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
21
- export declare const CrocoHtmlDeclarations: (typeof UploadFilesBtnComponent | typeof AddFilesBtnComponent | typeof XmlTagExternalVideoComponent | typeof XmlTagHeaderInnerTextViewComponent | typeof XmlTagHtmlViewComponent | typeof RichTextToHtmlPipe | typeof XmlTagRichTextViewComponent | typeof XmlTagTableViewComponent | typeof FileImageTagViewComponent | typeof HtmlRawViewComponent | typeof XmlTagViewComponent | typeof HtmlRawEditorComponent | typeof FileIdSelectComponent | typeof ImageEditorComponent | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof ToPreviewPipe | typeof MainEditorComponent | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
18
+ import { XmlTagCustomWidgetComponent } from "./components";
19
+ export declare const EditorComponents: (typeof AddFilesBtnComponent | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof ImageEditorComponent | typeof HtmlRawEditorComponent | typeof FileIdSelectComponent | typeof MainEditorComponent)[];
20
+ export declare const XmlComponents: (typeof XmlTagCustomWidgetComponent | typeof XmlTagExternalVideoComponent | typeof HtmlRawViewComponent | typeof XmlTagHeaderTextViewComponent | typeof FileImageTagViewComponent | typeof XmlTagHtmlViewComponent | typeof XmlTagViewComponent | typeof XmlTagTableViewComponent | typeof XmlTagRichTextViewComponent)[];
21
+ export declare const CrocoPipes: (typeof ToPreviewHtmlPipe | typeof ToPreviewPipe | typeof RichTextToHtmlPipe | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe)[];
22
+ export declare const CrocoHtmlDeclarations: (typeof AddFilesBtnComponent | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof XmlTagCustomWidgetComponent | typeof ImageEditorComponent | typeof HtmlRawEditorComponent | typeof FileIdSelectComponent | typeof XmlTagExternalVideoComponent | typeof HtmlRawViewComponent | typeof XmlTagHeaderTextViewComponent | typeof FileImageTagViewComponent | typeof XmlTagHtmlViewComponent | typeof XmlTagViewComponent | typeof UploadFilesBtnComponent | typeof ToPreviewHtmlPipe | typeof ToPreviewPipe | typeof MainEditorComponent | typeof XmlTagTableViewComponent | typeof XmlTagRichTextViewComponent | typeof RichTextToHtmlPipe | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe)[];
22
23
  export declare const MaterialModules: (typeof MatFormFieldModule)[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "croco-html",
3
- "version": "2.29.0",
3
+ "version": "2.31.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.4",
6
6
  "@angular/core": "^17.3.4",