croco-html 2.2.0 → 2.3.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/editor/main-editor/main-editor.component.mjs +1 -1
- package/esm2022/lib/components/html-view/html-view.component.mjs +3 -11
- package/esm2022/lib/components/xml-tags/file-image-tag-view/file-image-tag-view.component.mjs +3 -16
- package/esm2022/lib/components/xml-tags/xml-tag-view/xml-tag-view.component.mjs +3 -11
- package/esm2022/lib/models/models.mjs +1 -1
- package/fesm2022/croco-html.mjs +7 -36
- package/fesm2022/croco-html.mjs.map +1 -1
- package/lib/components/html-view/html-view.component.d.ts +1 -3
- package/lib/components/xml-tags/file-image-tag-view/file-image-tag-view.component.d.ts +1 -3
- package/lib/components/xml-tags/xml-tag-view/xml-tag-view.component.d.ts +1 -3
- package/lib/index.d.ts +7 -7
- package/lib/models/models.d.ts +0 -4
- package/package.json +1 -1
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { ITagViewOptions } from '../../models/models';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class HtmlViewComponent {
|
|
4
3
|
html: string;
|
|
5
|
-
viewOptions: ITagViewOptions;
|
|
6
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlViewComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlViewComponent, "croco-html-view", never, { "html": { "alias": "html"; "required": false; };
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlViewComponent, "croco-html-view", never, { "html": { "alias": "html"; "required": false; }; }, {}, never, never, false, never>;
|
|
8
6
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { InterfaceBlock } from '../../../extensions/InterfaceBlock';
|
|
3
|
-
import { ITagViewOptions } from '../../../models/models';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class FileImageTagViewComponent implements OnInit {
|
|
6
5
|
item: InterfaceBlock;
|
|
7
|
-
viewOptions: ITagViewOptions;
|
|
8
6
|
imageSrc: string;
|
|
9
7
|
ngOnInit(): void;
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileImageTagViewComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileImageTagViewComponent, "croco-html-file-image-tag-view", never, { "item": { "alias": "item"; "required": false; };
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileImageTagViewComponent, "croco-html-file-image-tag-view", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
10
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { InterfaceBlock } from "../../../extensions/InterfaceBlock";
|
|
2
|
-
import { ITagViewOptions } from '../../../models/models';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class XmlTagViewComponent {
|
|
5
|
-
viewOptions: ITagViewOptions;
|
|
6
4
|
data: InterfaceBlock[];
|
|
7
5
|
constructor();
|
|
8
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<XmlTagViewComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagViewComponent, "croco-html-xml-tag-view", never, { "
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagViewComponent, "croco-html-xml-tag-view", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
8
|
}
|
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 { XmlTagHeaderTextViewComponent } from "./components/xml-tags/xml-tag-header-text-view/xml-tag-header-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 { MatBadgeModule } from '@angular/material/badge';
|
|
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 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)[];
|
package/lib/models/models.d.ts
CHANGED