croco-html 2.54.0 → 3.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.
@@ -17,6 +17,8 @@ export declare class ImageEditorComponent implements OnInit, OnDestroy {
17
17
  tag: HtmlBodyTag;
18
18
  onErrorHandler(): void;
19
19
  onTagUpdated: EventEmitter<HtmlBodyTag>;
20
+ get fileId(): unknown;
21
+ set fileId(value: unknown);
20
22
  constructor(_options: CrocoHtmlOptions, screenWidthService: ScreenWidthService);
21
23
  getSrc(): string;
22
24
  hasFileId(): boolean;
@@ -45,8 +45,7 @@ export declare class VisualEditorComponent implements OnInit, AfterViewInit {
45
45
  ngAfterViewInit(): void;
46
46
  ngAfterContentChecked(): void;
47
47
  addTag(): void;
48
- startAddingText(): void;
49
- finishAddingText(): void;
48
+ startAddingText(tag?: string): void;
50
49
  resetTextStyle(): void;
51
50
  addTextTags(): void;
52
51
  postFilesStartedEventHandler(model: FilePostingStarted): void;
package/lib/index.d.ts CHANGED
@@ -16,8 +16,8 @@ import { RichTextToHtmlPipe, TagToSpanPipe, ToHtmlBodyTagsPipe, ToPreviewHtmlPip
16
16
  import { FileImageTagViewComponent, UploadFilesBtnComponent } from "./components";
17
17
  import { HtmlRawViewComponent } from "./components";
18
18
  import { XmlTagCustomWidgetComponent } from "./components";
19
- export declare const EditorComponents: (typeof AddFilesBtnComponent | typeof HtmlRawEditorComponent | typeof FileIdSelectComponent | typeof ImageEditorComponent | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof MainEditorComponent)[];
19
+ export declare const EditorComponents: (typeof FileIdSelectComponent | typeof ImageEditorComponent | typeof HtmlRawEditorComponent | typeof MainEditorBlockComponent | typeof AddFilesBtnComponent | typeof VisualEditorComponent | typeof MainEditorComponent)[];
20
20
  export declare const XmlComponents: (typeof XmlTagExternalVideoComponent | typeof XmlTagHeaderInnerTextViewComponent | typeof XmlTagHtmlViewComponent | typeof XmlTagRichTextViewComponent | typeof XmlTagTableViewComponent | typeof FileImageTagViewComponent | typeof HtmlRawViewComponent | typeof XmlTagCustomWidgetComponent | typeof XmlTagViewComponent)[];
21
21
  export declare const CrocoPipes: (typeof RichTextToHtmlPipe | typeof ToPreviewPipe | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
22
- 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 XmlTagCustomWidgetComponent | typeof XmlTagViewComponent | typeof HtmlRawEditorComponent | typeof FileIdSelectComponent | typeof ImageEditorComponent | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof ToPreviewPipe | typeof MainEditorComponent | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
22
+ export declare const CrocoHtmlDeclarations: (typeof FileIdSelectComponent | typeof XmlTagExternalVideoComponent | typeof ImageEditorComponent | typeof HtmlRawEditorComponent | typeof MainEditorBlockComponent | typeof UploadFilesBtnComponent | typeof AddFilesBtnComponent | typeof XmlTagHeaderInnerTextViewComponent | typeof XmlTagHtmlViewComponent | typeof RichTextToHtmlPipe | typeof XmlTagRichTextViewComponent | typeof XmlTagTableViewComponent | typeof FileImageTagViewComponent | typeof HtmlRawViewComponent | typeof XmlTagCustomWidgetComponent | typeof XmlTagViewComponent | typeof VisualEditorComponent | typeof ToPreviewPipe | typeof MainEditorComponent | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
23
23
  export declare const MaterialModules: (typeof MatFormFieldModule)[];
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "croco-html",
3
- "version": "2.54.0",
3
+ "version": "3.0.0",
4
4
  "peerDependencies": {
5
- "@angular/common": "^17.3.4",
6
- "@angular/core": "^17.3.4",
7
- "@angular/cdk": "^17.3.4",
8
- "@angular/youtube-player": "^17.3.4",
9
- "@angular/material": ">=17.0.0",
5
+ "@angular/common": "^18.2.13",
6
+ "@angular/core": "^18.2.13",
7
+ "@angular/cdk": "^18.2.14",
8
+ "@angular/youtube-player": "^18.2.14",
9
+ "@angular/material": "^18.2.14",
10
10
  "ngx-clipboard": "^16.0.0",
11
- "@ng-select/ng-select": "^12.0.7"
11
+ "@ng-select/ng-select": "^13.9.1"
12
12
  },
13
13
  "dependencies": {
14
14
  "tslib": ">=2.2.0"