croco-html 2.8.0 → 2.10.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/error-banner/error-banner.component.mjs +24 -0
- package/esm2022/lib/components/xml-tags/xml-tag-header-text-view/xml-tag-header-text-view.component.mjs +3 -3
- package/esm2022/lib/components/xml-tags/xml-tag-view/xml-tag-view.component.mjs +12 -11
- package/esm2022/lib/croco-html.module.mjs +7 -3
- package/esm2022/lib/extensions/InterfaceBlock.mjs +1 -1
- package/esm2022/lib/extensions/TableMethods.mjs +1 -1
- package/esm2022/lib/extensions/TextMethods.mjs +3 -2
- package/fesm2022/croco-html.mjs +55 -33
- package/fesm2022/croco-html.mjs.map +1 -1
- package/lib/components/error-banner/error-banner.component.d.ts +6 -0
- package/lib/components/xml-tags/xml-tag-view/xml-tag-view.component.d.ts +1 -1
- package/lib/croco-html.module.d.ts +4 -3
- package/lib/extensions/InterfaceBlock.d.ts +3 -0
- package/lib/extensions/TextMethods.d.ts +1 -0
- package/lib/index.d.ts +6 -6
- package/package.json +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ErrorBannerComponent {
|
|
3
|
+
message: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorBannerComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorBannerComponent, "croco-html-error-banner", never, { "message": { "alias": "message"; "required": true; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -2,7 +2,7 @@ import { InterfaceBlock } from "../../../extensions/InterfaceBlock";
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class XmlTagViewComponent {
|
|
4
4
|
data: InterfaceBlock[];
|
|
5
|
-
|
|
5
|
+
isHeaderTextTag(item: InterfaceBlock): boolean;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<XmlTagViewComponent, never>;
|
|
7
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagViewComponent, "croco-html-xml-tag-view", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
|
|
8
8
|
}
|
|
@@ -57,10 +57,11 @@ import * as i55 from "@angular/material/sidenav";
|
|
|
57
57
|
import * as i56 from "@angular/material/icon";
|
|
58
58
|
import * as i57 from "@angular/cdk/drag-drop";
|
|
59
59
|
import * as i58 from "@angular/material/button-toggle";
|
|
60
|
-
import * as i59 from "
|
|
61
|
-
import * as i60 from "
|
|
60
|
+
import * as i59 from "./components/error-banner/error-banner.component";
|
|
61
|
+
import * as i60 from "@angular/youtube-player";
|
|
62
|
+
import * as i61 from "./components/editor/external-video-block/vk-video-player/vk-video-player.component";
|
|
62
63
|
export declare class CrocoHtmlModule {
|
|
63
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<CrocoHtmlModule, never>;
|
|
64
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CrocoHtmlModule, [typeof i1.UploadFilesBtnComponent, typeof i2.HtmlViewComponent, typeof i3.XmlTagTableViewComponent, typeof i4.XmlTagViewComponent, typeof i5.XmlTagRichTextViewComponent, typeof i6.XmlTagHtmlViewComponent, typeof i7.XmlTagTextViewComponent, typeof i8.XmlTagHeaderTextViewComponent, typeof i9.XmlTagHeaderInnerTextViewComponent, typeof i10.XmlTagExternalVideoComponent, typeof i11.HtmlRawViewComponent, typeof i12.FileImageTagViewComponent, typeof i2.HtmlViewComponent, typeof i13.MainEditorComponent, typeof i14.FileIdSelectComponent, typeof i15.TextEditorComponent, typeof i16.ExternalVideoBlockComponent, typeof i17.ImageEditorComponent, typeof i18.MainEditorBlockComponent, typeof i19.VisualEditorComponent, typeof i20.AddFilesBtnComponent, typeof i21.HtmlRawEditorComponent, typeof i22.RichTextToHtmlPipe, typeof i23.TagToSpanPipe, typeof i24.ToPreviewPipe, typeof i25.ToHtmlBodyTagsPipe, typeof i26.ToPreviewHtmlPipe], [typeof i27.CommonModule, typeof i28.FormsModule, typeof i28.ReactiveFormsModule, typeof i29.NgSelectModule, typeof i30.MatBadgeModule, typeof i31.MatTableModule, typeof i32.MatExpansionModule, typeof i33.MatFormFieldModule, typeof i34.MatSnackBarModule, typeof i35.MatProgressBarModule, typeof i36.MatProgressSpinnerModule, typeof i37.MatTabsModule, typeof i38.MatMenuModule, typeof i39.MatCardModule, typeof i40.MatSelectModule, typeof i41.MatTooltipModule, typeof i42.MatCheckboxModule, typeof i43.MatChipsModule, typeof i44.MatListModule, typeof i45.MatButtonModule, typeof i46.MatInputModule, typeof i47.MatDialogModule, typeof i48.MatPaginatorModule, typeof i49.MatDatepickerModule, typeof i50.MatGridListModule, typeof i51.MatSlideToggleModule, typeof i52.MatTreeModule, typeof i53.MatNativeDateModule, typeof i54.MatAutocompleteModule, typeof i55.MatSidenavModule, typeof i56.MatIconModule, typeof i57.DragDropModule, typeof i58.MatButtonToggleModule, typeof i59.
|
|
65
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CrocoHtmlModule, [typeof i1.UploadFilesBtnComponent, typeof i2.HtmlViewComponent, typeof i3.XmlTagTableViewComponent, typeof i4.XmlTagViewComponent, typeof i5.XmlTagRichTextViewComponent, typeof i6.XmlTagHtmlViewComponent, typeof i7.XmlTagTextViewComponent, typeof i8.XmlTagHeaderTextViewComponent, typeof i9.XmlTagHeaderInnerTextViewComponent, typeof i10.XmlTagExternalVideoComponent, typeof i11.HtmlRawViewComponent, typeof i12.FileImageTagViewComponent, typeof i2.HtmlViewComponent, typeof i13.MainEditorComponent, typeof i14.FileIdSelectComponent, typeof i15.TextEditorComponent, typeof i16.ExternalVideoBlockComponent, typeof i17.ImageEditorComponent, typeof i18.MainEditorBlockComponent, typeof i19.VisualEditorComponent, typeof i20.AddFilesBtnComponent, typeof i21.HtmlRawEditorComponent, typeof i22.RichTextToHtmlPipe, typeof i23.TagToSpanPipe, typeof i24.ToPreviewPipe, typeof i25.ToHtmlBodyTagsPipe, typeof i26.ToPreviewHtmlPipe], [typeof i27.CommonModule, typeof i28.FormsModule, typeof i28.ReactiveFormsModule, typeof i29.NgSelectModule, typeof i30.MatBadgeModule, typeof i31.MatTableModule, typeof i32.MatExpansionModule, typeof i33.MatFormFieldModule, typeof i34.MatSnackBarModule, typeof i35.MatProgressBarModule, typeof i36.MatProgressSpinnerModule, typeof i37.MatTabsModule, typeof i38.MatMenuModule, typeof i39.MatCardModule, typeof i40.MatSelectModule, typeof i41.MatTooltipModule, typeof i42.MatCheckboxModule, typeof i43.MatChipsModule, typeof i44.MatListModule, typeof i45.MatButtonModule, typeof i46.MatInputModule, typeof i47.MatDialogModule, typeof i48.MatPaginatorModule, typeof i49.MatDatepickerModule, typeof i50.MatGridListModule, typeof i51.MatSlideToggleModule, typeof i52.MatTreeModule, typeof i53.MatNativeDateModule, typeof i54.MatAutocompleteModule, typeof i55.MatSidenavModule, typeof i56.MatIconModule, typeof i57.DragDropModule, typeof i58.MatButtonToggleModule, typeof i59.ErrorBannerComponent, typeof i60.YouTubePlayerModule, typeof i61.VkVideoPlayerComponent], [typeof i1.UploadFilesBtnComponent, typeof i2.HtmlViewComponent, typeof i3.XmlTagTableViewComponent, typeof i4.XmlTagViewComponent, typeof i5.XmlTagRichTextViewComponent, typeof i6.XmlTagHtmlViewComponent, typeof i7.XmlTagTextViewComponent, typeof i8.XmlTagHeaderTextViewComponent, typeof i9.XmlTagHeaderInnerTextViewComponent, typeof i10.XmlTagExternalVideoComponent, typeof i11.HtmlRawViewComponent, typeof i12.FileImageTagViewComponent, typeof i2.HtmlViewComponent, typeof i13.MainEditorComponent, typeof i14.FileIdSelectComponent, typeof i15.TextEditorComponent, typeof i16.ExternalVideoBlockComponent, typeof i17.ImageEditorComponent, typeof i18.MainEditorBlockComponent, typeof i19.VisualEditorComponent, typeof i20.AddFilesBtnComponent, typeof i21.HtmlRawEditorComponent, typeof i22.RichTextToHtmlPipe, typeof i23.TagToSpanPipe, typeof i24.ToPreviewPipe, typeof i25.ToHtmlBodyTagsPipe, typeof i26.ToPreviewHtmlPipe]>;
|
|
65
66
|
static ɵinj: i0.ɵɵInjectorDeclaration<CrocoHtmlModule>;
|
|
66
67
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { MainEditorBlockComponent } from "./components/editor/main-editor-block/
|
|
|
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
5
|
import { XmlTagHeaderTextViewComponent } from "./components/xml-tags/xml-tag-header-text-view/xml-tag-header-text-view.component";
|
|
6
|
-
import { XmlTagHtmlViewComponent } from "./components/xml-tags/xml-tag-html-view/xml-tag-html-view.component";
|
|
7
6
|
import { XmlTagRichTextViewComponent } from "./components/xml-tags/xml-tag-rich-text-view/xml-tag-rich-text-view.component";
|
|
8
7
|
import { XmlTagTableViewComponent } from "./components/xml-tags/xml-tag-table-view/xml-tag-table-view.component";
|
|
9
8
|
import { XmlTagViewComponent } from "./components/xml-tags/xml-tag-view/xml-tag-view.component";
|
|
@@ -11,12 +10,13 @@ import { VisualEditorComponent } from './components/editor/visual-editor/visual-
|
|
|
11
10
|
import { AddFilesBtnComponent } from './components/add-files-btn/add-files-btn.component';
|
|
12
11
|
import { XmlTagExternalVideoComponent } from "./components/xml-tags/xml-tag-external-video/xml-tag-external-video.component";
|
|
13
12
|
import { HtmlRawEditorComponent } from "./components/editor/html-raw-editor/html-raw-editor.component";
|
|
14
|
-
import {
|
|
13
|
+
import { MatCardModule } from '@angular/material/card';
|
|
15
14
|
import { RichTextToHtmlPipe, TagToSpanPipe, ToHtmlBodyTagsPipe, ToPreviewHtmlPipe, ToPreviewPipe } from "./pipes";
|
|
16
15
|
import { FileImageTagViewComponent, UploadFilesBtnComponent } from "./components";
|
|
17
16
|
import { HtmlRawViewComponent } from "./components/xml-tags/html-raw-view/html-raw-view.component";
|
|
17
|
+
import { HtmlViewComponent } from "./components/html-view/html-view.component";
|
|
18
18
|
export declare const EditorComponents: (typeof MainEditorComponent | typeof FileIdSelectComponent | typeof ImageEditorComponent | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof AddFilesBtnComponent | typeof HtmlRawEditorComponent)[];
|
|
19
|
-
export declare const XmlComponents: (typeof
|
|
20
|
-
export declare const CrocoPipes: (typeof
|
|
21
|
-
export declare const CrocoHtmlDeclarations: (typeof
|
|
22
|
-
export declare const MaterialModules: (typeof
|
|
19
|
+
export declare const XmlComponents: (typeof FileImageTagViewComponent | typeof XmlTagViewComponent | typeof XmlTagExternalVideoComponent | typeof HtmlViewComponent | typeof XmlTagTableViewComponent | typeof XmlTagRichTextViewComponent | typeof XmlTagHeaderTextViewComponent | typeof HtmlRawViewComponent)[];
|
|
20
|
+
export declare const CrocoPipes: (typeof ToPreviewHtmlPipe | typeof ToPreviewPipe | typeof RichTextToHtmlPipe | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe)[];
|
|
21
|
+
export declare const CrocoHtmlDeclarations: (typeof ToPreviewHtmlPipe | typeof ToPreviewPipe | typeof FileImageTagViewComponent | typeof XmlTagViewComponent | typeof XmlTagExternalVideoComponent | typeof UploadFilesBtnComponent | typeof HtmlViewComponent | typeof XmlTagTableViewComponent | typeof XmlTagRichTextViewComponent | typeof XmlTagHeaderTextViewComponent | typeof HtmlRawViewComponent | typeof MainEditorComponent | typeof FileIdSelectComponent | typeof ImageEditorComponent | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof AddFilesBtnComponent | typeof HtmlRawEditorComponent | typeof RichTextToHtmlPipe | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe)[];
|
|
22
|
+
export declare const MaterialModules: (typeof MatCardModule)[];
|