croco-html 2.3.0 → 2.4.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.
package/lib/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ImageEditorComponent } from "./components/editor/image-editor/image-edi
2
2
  import { MainEditorBlockComponent } from "./components/editor/main-editor-block/main-editor-block.component";
3
3
  import { MainEditorComponent } from "./components/editor/main-editor/main-editor.component";
4
4
  import { FileIdSelectComponent } from "./components/file-id-select/file-id-select.component";
5
- import { XmlTagHeaderTextViewComponent } from "./components/xml-tags/xml-tag-header-text-view/xml-tag-header-text-view.component";
5
+ import { XmlTagHeaderInnerTextViewComponent } from "./components/xml-tags/xml-tag-header-inner-text-view/xml-tag-header-inner-text-view.component";
6
6
  import { XmlTagHtmlViewComponent } from "./components/xml-tags/xml-tag-html-view/xml-tag-html-view.component";
7
7
  import { XmlTagRichTextViewComponent } from "./components/xml-tags/xml-tag-rich-text-view/xml-tag-rich-text-view.component";
8
8
  import { XmlTagTableViewComponent } from "./components/xml-tags/xml-tag-table-view/xml-tag-table-view.component";
@@ -11,12 +11,12 @@ import { VisualEditorComponent } from './components/editor/visual-editor/visual-
11
11
  import { AddFilesBtnComponent } from './components/add-files-btn/add-files-btn.component';
12
12
  import { XmlTagExternalVideoComponent } from "./components/xml-tags/xml-tag-external-video/xml-tag-external-video.component";
13
13
  import { HtmlRawEditorComponent } from "./components/editor/html-raw-editor/html-raw-editor.component";
14
- import { MatBadgeModule } from '@angular/material/badge';
14
+ import { MatButtonModule } from '@angular/material/button';
15
15
  import { RichTextToHtmlPipe, TagToSpanPipe, ToHtmlBodyTagsPipe, ToPreviewHtmlPipe, ToPreviewPipe } from "./pipes";
16
16
  import { FileImageTagViewComponent, UploadFilesBtnComponent } from "./components";
17
17
  import { HtmlRawViewComponent } from "./components/xml-tags/html-raw-view/html-raw-view.component";
18
- export declare const EditorComponents: (typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof ImageEditorComponent | typeof HtmlRawEditorComponent | typeof AddFilesBtnComponent | typeof MainEditorComponent | typeof FileIdSelectComponent)[];
19
- export declare const XmlComponents: (typeof XmlTagViewComponent | typeof XmlTagTableViewComponent | typeof XmlTagRichTextViewComponent | typeof XmlTagHtmlViewComponent | typeof XmlTagHeaderTextViewComponent | typeof XmlTagExternalVideoComponent | typeof HtmlRawViewComponent | typeof FileImageTagViewComponent)[];
20
- export declare const CrocoPipes: (typeof ToHtmlBodyTagsPipe | typeof RichTextToHtmlPipe | typeof TagToSpanPipe | typeof ToPreviewPipe | typeof ToPreviewHtmlPipe)[];
21
- export declare const CrocoHtmlDeclarations: (typeof ToHtmlBodyTagsPipe | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof ImageEditorComponent | typeof HtmlRawEditorComponent | typeof AddFilesBtnComponent | typeof XmlTagViewComponent | typeof MainEditorComponent | typeof FileIdSelectComponent | typeof XmlTagTableViewComponent | typeof XmlTagRichTextViewComponent | typeof XmlTagHtmlViewComponent | typeof XmlTagHeaderTextViewComponent | typeof XmlTagExternalVideoComponent | typeof HtmlRawViewComponent | typeof FileImageTagViewComponent | typeof RichTextToHtmlPipe | typeof TagToSpanPipe | typeof ToPreviewPipe | typeof ToPreviewHtmlPipe | typeof UploadFilesBtnComponent)[];
22
- export declare const MaterialModules: (typeof MatBadgeModule)[];
18
+ export declare const EditorComponents: (typeof FileIdSelectComponent | typeof AddFilesBtnComponent | typeof HtmlRawEditorComponent | typeof ImageEditorComponent | typeof VisualEditorComponent | typeof MainEditorComponent | typeof MainEditorBlockComponent)[];
19
+ export declare const XmlComponents: (typeof XmlTagExternalVideoComponent | typeof XmlTagHeaderInnerTextViewComponent | typeof XmlTagHtmlViewComponent | typeof XmlTagRichTextViewComponent | typeof XmlTagTableViewComponent | typeof XmlTagViewComponent | typeof HtmlRawViewComponent | typeof FileImageTagViewComponent)[];
20
+ export declare const CrocoPipes: (typeof RichTextToHtmlPipe | typeof TagToSpanPipe | typeof ToPreviewPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
21
+ export declare const CrocoHtmlDeclarations: (typeof FileIdSelectComponent | typeof UploadFilesBtnComponent | typeof AddFilesBtnComponent | typeof HtmlRawEditorComponent | typeof ImageEditorComponent | typeof VisualEditorComponent | typeof MainEditorComponent | typeof MainEditorBlockComponent | typeof XmlTagExternalVideoComponent | typeof XmlTagHeaderInnerTextViewComponent | typeof XmlTagHtmlViewComponent | typeof XmlTagRichTextViewComponent | typeof XmlTagTableViewComponent | typeof XmlTagViewComponent | typeof HtmlRawViewComponent | typeof FileImageTagViewComponent | typeof RichTextToHtmlPipe | typeof TagToSpanPipe | typeof ToPreviewPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
22
+ export declare const MaterialModules: (typeof MatButtonModule)[];
@@ -18,11 +18,22 @@ export interface FileRelationModel {
18
18
  relationCustomData: string;
19
19
  }
20
20
  export interface SearchFiles {
21
- fileName: string;
22
21
  q: string;
22
+ fileName: string;
23
+ applicationId: string;
24
+ fileTypes: Array<FileType>;
23
25
  count: number | null;
24
26
  offSet: number;
25
27
  }
28
+ export declare enum FileType {
29
+ Undefined = "Undefined",
30
+ Unknown = "Unknown",
31
+ Image = "Image",
32
+ Audio = "Audio",
33
+ Video = "Video",
34
+ Document = "Document",
35
+ Archive = "Archive"
36
+ }
26
37
  export interface GetListSearchModel {
27
38
  count: number | null;
28
39
  offSet: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "croco-html",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.4",
6
6
  "@angular/core": "^17.3.4",