croco-html 0.2.6 → 0.2.8

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.
@@ -1,9 +1,9 @@
1
- import { AfterContentChecked, ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
1
+ import { AfterContentChecked, AfterViewInit, ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { MatSnackBar } from '@angular/material/snack-bar';
3
3
  import { ClipboardService } from 'ngx-clipboard';
4
4
  import { VisualEditorComponent } from '../visual-editor/visual-editor.component';
5
5
  import * as i0 from "@angular/core";
6
- export declare class MainEditorComponent implements OnInit, AfterContentChecked {
6
+ export declare class MainEditorComponent implements OnInit, AfterContentChecked, AfterViewInit {
7
7
  private _clipboardService;
8
8
  private _snackBar;
9
9
  private _cdref;
@@ -14,6 +14,7 @@ export declare class MainEditorComponent implements OnInit, AfterContentChecked
14
14
  html: string;
15
15
  onHtmlChanged: EventEmitter<string>;
16
16
  constructor(_clipboardService: ClipboardService, _snackBar: MatSnackBar, _cdref: ChangeDetectorRef);
17
+ ngAfterViewInit(): void;
17
18
  ngAfterContentChecked(): void;
18
19
  visualEditorRenderedHandler(): void;
19
20
  onHtmlChangedHandler(html: string): void;
@@ -0,0 +1,6 @@
1
+ import { TagItem } from '../../../models/models';
2
+ export declare class DefaultTags {
3
+ static tags: TagItem[];
4
+ static htmlRawTag: TagItem;
5
+ static getTags(useHtmlRaw: boolean): TagItem[];
6
+ }
@@ -3,11 +3,6 @@ import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnInit } from '@angular
3
3
  import { TagItem, HtmlBodyTag } from '../../../models/models';
4
4
  import { FilePostingStarted } from '../../upload-files-btn/upload-files-btn.component';
5
5
  import * as i0 from "@angular/core";
6
- export declare class DefaultTags {
7
- static tags: TagItem[];
8
- static htmlRawTag: TagItem;
9
- static getTags(useHtmlRaw: boolean): TagItem[];
10
- }
11
6
  export declare class VisualEditorComponent implements OnInit, AfterViewInit {
12
7
  private _cdref;
13
8
  isLoading: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "croco-html",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=15.0.0",
6
6
  "@angular/core": ">=15.0.0",