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/esm2022/lib/components/file-id-select/file-id-select.component.mjs +4 -1
- package/esm2022/lib/extensions/ImageMethods.mjs +4 -1
- package/esm2022/lib/services/files-query.service.mjs +14 -4
- package/fesm2022/croco-html.mjs +18 -3
- package/fesm2022/croco-html.mjs.map +1 -1
- package/lib/index.d.ts +7 -7
- package/lib/services/files-query.service.d.ts +12 -1
- package/package.json +1 -1
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 {
|
|
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 {
|
|
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
|
|
19
|
-
export declare const XmlComponents: (typeof
|
|
20
|
-
export declare const CrocoPipes: (typeof
|
|
21
|
-
export declare const CrocoHtmlDeclarations: (typeof
|
|
22
|
-
export declare const MaterialModules: (typeof
|
|
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;
|