croco-html 3.3.1 → 3.3.3
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/add-files-btn/add-files-btn.component.mjs +1 -3
- package/esm2022/lib/components/editor/external-video-editor/youtube-video-player/youtube-video-player.component.mjs +1 -1
- package/esm2022/lib/components/editor/main-editor-block/main-editor-block.component.mjs +1 -5
- package/esm2022/lib/components/file-id-select/file-id-select.component.mjs +3 -3
- package/esm2022/lib/components/upload-files-btn/upload-files-btn.component.mjs +1 -1
- package/esm2022/lib/components/xml-tags/file-image-tag-view/file-image-tag-view.component.mjs +2 -2
- package/esm2022/lib/components/xml-tags/html-raw-view/html-raw-view.component.mjs +1 -1
- package/esm2022/lib/components/xml-tags/xml-tag-custom-button/xml-tag-button.component.mjs +1 -3
- package/esm2022/lib/components/xml-tags/xml-tag-custom-widget/xml-tag-custom-widget.component.mjs +1 -1
- package/esm2022/lib/components/xml-tags/xml-tag-download-file-button/xml-tag-download-file-button.component.mjs +1 -5
- package/esm2022/lib/components/xml-tags/xml-tag-html-view/xml-tag-html-view.component.mjs +2 -2
- package/esm2022/lib/components/xml-tags/xml-tag-rich-text-view/xml-tag-rich-text-view.component.mjs +2 -2
- package/esm2022/lib/services/blob-create.service.mjs +1 -1
- package/fesm2022/croco-html.mjs +5 -13
- package/fesm2022/croco-html.mjs.map +1 -1
- package/lib/components/add-files-btn/add-files-btn.component.d.ts +2 -3
- package/lib/components/editor/main-editor-block/main-editor-block.component.d.ts +2 -3
- package/lib/index.d.ts +6 -6
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { EventEmitter
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { HtmlBodyTag } from '../../models/models';
|
|
3
3
|
import { FilePostingStarted, UploadFilesBtnComponent } from '../upload-files-btn/upload-files-btn.component';
|
|
4
4
|
import { PublicFilesUploadResponse } from '../../services/PublicFileUploadService';
|
|
5
5
|
import { PrivateFilesCreatedResult } from "../../services/PrivateFileUploadService";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AddFilesBtnComponent
|
|
7
|
+
export declare class AddFilesBtnComponent {
|
|
8
8
|
postFilesStarted: EventEmitter<FilePostingStarted>;
|
|
9
9
|
fakeBtn: UploadFilesBtnComponent;
|
|
10
10
|
fileIds: number[];
|
|
@@ -15,7 +15,6 @@ export declare class AddFilesBtnComponent implements OnInit {
|
|
|
15
15
|
filesUploadedPrivateHandler(data: PrivateFilesCreatedResult): void;
|
|
16
16
|
private buildFileTags;
|
|
17
17
|
handleClick(): void;
|
|
18
|
-
ngOnInit(): void;
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddFilesBtnComponent, never>;
|
|
20
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddFilesBtnComponent, "croco-html-add-files-btn", never, {}, { "postFilesStarted": "postFilesStarted"; "filesTagsReady": "filesTagsReady"; }, never, never, true, never>;
|
|
21
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EventEmitter
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { HtmlBodyTag } from '../../../models/models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MainEditorBlockComponent
|
|
4
|
+
export declare class MainEditorBlockComponent {
|
|
5
5
|
textTags: string[];
|
|
6
6
|
tag: HtmlBodyTag;
|
|
7
7
|
onTagSaved: EventEmitter<HtmlBodyTag>;
|
|
@@ -9,7 +9,6 @@ export declare class MainEditorBlockComponent implements OnInit {
|
|
|
9
9
|
tagUpdatedHandler(tag: HtmlBodyTag): void;
|
|
10
10
|
save(): void;
|
|
11
11
|
deleteItem(): void;
|
|
12
|
-
ngOnInit(): void;
|
|
13
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainEditorBlockComponent, never>;
|
|
14
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<MainEditorBlockComponent, "croco-html-main-editor-block", never, { "tag": { "alias": "tag"; "required": false; }; }, { "onTagSaved": "onTagSaved"; "onTagRemoved": "onTagRemoved"; }, never, never, true, never>;
|
|
15
14
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { MainEditorComponent } from "./components";
|
|
|
4
4
|
import { TextEditorComponent } from "./components";
|
|
5
5
|
import { FileIdSelectComponent } from "./components";
|
|
6
6
|
import { XmlTagHeaderInnerTextViewComponent } from "./components";
|
|
7
|
+
import { XmlTagHtmlViewComponent } from "./components";
|
|
7
8
|
import { XmlTagRichTextViewComponent } from "./components";
|
|
8
9
|
import { XmlTagTableViewComponent } from "./components";
|
|
9
10
|
import { XmlTagViewComponent } from "./components";
|
|
@@ -12,14 +13,13 @@ import { VisualEditorComponent } from './components';
|
|
|
12
13
|
import { AddFilesBtnComponent } from './components';
|
|
13
14
|
import { XmlTagExternalVideoComponent } from "./components";
|
|
14
15
|
import { HtmlRawEditorComponent } from "./components";
|
|
15
|
-
import {
|
|
16
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
16
17
|
import { RichTextToHtmlPipe, TagToSpanPipe, ToHtmlBodyTagsPipe, ToPreviewHtmlPipe, ToPreviewPipe } from "./pipes";
|
|
17
18
|
import { FileImageTagViewComponent, UploadFilesBtnComponent } from "./components";
|
|
18
19
|
import { HtmlRawViewComponent } from "./components";
|
|
19
|
-
import { HtmlViewComponent } from "./components";
|
|
20
20
|
import { XmlTagCustomWidgetComponent } from "./components";
|
|
21
|
-
export declare const EditorComponents: (typeof
|
|
22
|
-
export declare const XmlComponents: (typeof
|
|
21
|
+
export declare const EditorComponents: (typeof AddFilesBtnComponent | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof TextEditorComponent | typeof ImageEditorComponent | typeof HtmlRawEditorComponent | typeof CustomWidgetEditorComponent | typeof FileIdSelectComponent | typeof MainEditorComponent)[];
|
|
22
|
+
export declare const XmlComponents: (typeof XmlTagHtmlViewComponent | typeof XmlTagRichTextViewComponent | typeof FileImageTagViewComponent | typeof HtmlRawViewComponent | typeof XmlTagCustomWidgetComponent | typeof XmlTagExternalVideoComponent | typeof XmlTagHeaderInnerTextViewComponent | typeof XmlTagTableViewComponent | typeof XmlTagViewComponent)[];
|
|
23
23
|
export declare const CrocoPipes: (typeof RichTextToHtmlPipe | typeof ToPreviewPipe | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
|
|
24
|
-
export declare const CrocoHtmlDeclarations: (typeof
|
|
25
|
-
export declare const MaterialModules: (typeof
|
|
24
|
+
export declare const CrocoHtmlDeclarations: (typeof UploadFilesBtnComponent | typeof AddFilesBtnComponent | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof XmlTagHtmlViewComponent | typeof RichTextToHtmlPipe | typeof XmlTagRichTextViewComponent | typeof FileImageTagViewComponent | typeof HtmlRawViewComponent | typeof XmlTagCustomWidgetComponent | typeof TextEditorComponent | typeof ImageEditorComponent | typeof HtmlRawEditorComponent | typeof CustomWidgetEditorComponent | typeof XmlTagExternalVideoComponent | typeof XmlTagHeaderInnerTextViewComponent | typeof XmlTagTableViewComponent | typeof XmlTagViewComponent | typeof FileIdSelectComponent | typeof ToPreviewPipe | typeof MainEditorComponent | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
|
|
25
|
+
export declare const MaterialModules: (typeof MatFormFieldModule)[];
|