croco-html 0.1.6 → 0.2.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/esm2020/lib/components/add-files-btn/add-files-btn.component.mjs +7 -7
- package/esm2020/lib/components/editor/external-video-block/external-video-block.component.mjs +13 -13
- package/esm2020/lib/components/editor/html-raw-editor/html-raw-editor.component.mjs +10 -10
- package/esm2020/lib/components/editor/image-editor/image-editor.component.mjs +17 -17
- package/esm2020/lib/components/editor/main-editor/main-editor.component.mjs +15 -15
- package/esm2020/lib/components/editor/main-editor-block/main-editor-block.component.mjs +12 -12
- package/esm2020/lib/components/editor/text-editor/text-editor.component.mjs +14 -14
- package/esm2020/lib/components/editor/visual-editor/visual-editor.component.mjs +29 -29
- package/esm2020/lib/components/file-id-select/file-id-select.component.mjs +6 -6
- package/esm2020/lib/components/upload-files-btn/upload-files-btn.component.mjs +5 -5
- package/esm2020/lib/components/xml-tags/xml-tag-external-video/xml-tag-external-video.component.mjs +7 -7
- package/esm2020/lib/components/xml-tags/xml-tag-header-inner-text-view/xml-tag-header-inner-text-view.component.mjs +5 -5
- package/esm2020/lib/components/xml-tags/xml-tag-header-text-view/xml-tag-header-text-view.component.mjs +7 -7
- package/esm2020/lib/components/xml-tags/xml-tag-html-view/xml-tag-html-view.component.mjs +5 -5
- package/esm2020/lib/components/xml-tags/xml-tag-rich-text-view/xml-tag-rich-text-view.component.mjs +5 -5
- package/esm2020/lib/components/xml-tags/xml-tag-table-view/xml-tag-table-view.component.mjs +7 -7
- package/esm2020/lib/components/xml-tags/xml-tag-text-view/xml-tag-text-view.component.mjs +5 -5
- package/esm2020/lib/components/xml-tags/xml-tag-view/xml-tag-view.component.mjs +9 -9
- package/esm2020/lib/croco-html.module.mjs +8 -11
- package/esm2020/lib/extensions/TextSimpleMethods.mjs +2 -2
- package/esm2020/lib/index.mjs +1 -1
- package/esm2020/lib/pipes/RichTextToHtmlPipe.mjs +4 -4
- package/esm2020/lib/pipes/TagToSpanPipe.mjs +4 -4
- package/esm2020/lib/pipes/ToHtmlBodyTagsPipe.mjs +4 -4
- package/esm2020/lib/pipes/to-preview.pipe.mjs +4 -4
- package/esm2020/lib/services/file-upload.service.mjs +4 -4
- package/esm2020/lib/services/files-query.service.mjs +4 -4
- package/fesm2015/croco-html.mjs +198 -201
- package/fesm2015/croco-html.mjs.map +1 -1
- package/fesm2020/croco-html.mjs +198 -201
- package/fesm2020/croco-html.mjs.map +1 -1
- package/lib/components/add-files-btn/add-files-btn.component.d.ts +1 -1
- package/lib/components/editor/external-video-block/external-video-block.component.d.ts +3 -3
- package/lib/components/editor/html-raw-editor/html-raw-editor.component.d.ts +1 -1
- package/lib/components/editor/image-editor/image-editor.component.d.ts +3 -3
- package/lib/components/editor/main-editor/main-editor.component.d.ts +3 -3
- package/lib/components/editor/main-editor-block/main-editor-block.component.d.ts +1 -1
- package/lib/components/editor/text-editor/text-editor.component.d.ts +3 -3
- package/lib/components/editor/visual-editor/visual-editor.component.d.ts +3 -3
- package/lib/components/file-id-select/file-id-select.component.d.ts +4 -4
- package/lib/components/upload-files-btn/upload-files-btn.component.d.ts +1 -1
- package/lib/components/xml-tags/xml-tag-external-video/xml-tag-external-video.component.d.ts +1 -1
- package/lib/components/xml-tags/xml-tag-header-inner-text-view/xml-tag-header-inner-text-view.component.d.ts +1 -1
- package/lib/components/xml-tags/xml-tag-header-text-view/xml-tag-header-text-view.component.d.ts +1 -1
- package/lib/components/xml-tags/xml-tag-html-view/xml-tag-html-view.component.d.ts +1 -1
- package/lib/components/xml-tags/xml-tag-rich-text-view/xml-tag-rich-text-view.component.d.ts +1 -1
- package/lib/components/xml-tags/xml-tag-table-view/xml-tag-table-view.component.d.ts +1 -1
- package/lib/components/xml-tags/xml-tag-text-view/xml-tag-text-view.component.d.ts +1 -1
- package/lib/components/xml-tags/xml-tag-view/xml-tag-view.component.d.ts +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/pipes/RichTextToHtmlPipe.d.ts +1 -1
- package/lib/pipes/TagToSpanPipe.d.ts +1 -1
- package/lib/pipes/ToHtmlBodyTagsPipe.d.ts +1 -1
- package/lib/pipes/to-preview.pipe.d.ts +1 -1
- package/package.json +7 -7
- /package/{croco-html.d.ts → index.d.ts} +0 -0
|
@@ -14,5 +14,5 @@ export declare class AddFilesBtnComponent implements OnInit {
|
|
|
14
14
|
handleClick(): void;
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddFilesBtnComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddFilesBtnComponent, "croco-add-files-btn", never, {}, { "postFilesStarted": "postFilesStarted"; "filesTagsReady": "filesTagsReady"; }, never, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddFilesBtnComponent, "croco-add-files-btn", never, {}, { "postFilesStarted": "postFilesStarted"; "filesTagsReady": "filesTagsReady"; }, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { ExternalVideoTagData } from '../../../extensions/VideoMethods';
|
|
4
4
|
import { HtmlBodyTag } from '../../../models/models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ExternalVideoBlockComponent implements OnInit {
|
|
7
7
|
tag: HtmlBodyTag;
|
|
8
8
|
onTagUpdated: EventEmitter<HtmlBodyTag>;
|
|
9
|
-
myForm:
|
|
9
|
+
myForm: UntypedFormGroup;
|
|
10
10
|
defaultLink: string;
|
|
11
11
|
data: {
|
|
12
12
|
youtubeLink: string;
|
|
@@ -15,5 +15,5 @@ export declare class ExternalVideoBlockComponent implements OnInit {
|
|
|
15
15
|
linkChanged(): void;
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalVideoBlockComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExternalVideoBlockComponent, "croco-html-external-video-block", never, { "tag": "tag"; }, { "onTagUpdated": "onTagUpdated"; }, never, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExternalVideoBlockComponent, "croco-html-external-video-block", never, { "tag": "tag"; }, { "onTagUpdated": "onTagUpdated"; }, never, never, false, never>;
|
|
19
19
|
}
|
|
@@ -7,5 +7,5 @@ export declare class HtmlRawEditorComponent implements OnInit {
|
|
|
7
7
|
constructor();
|
|
8
8
|
ngOnInit(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlRawEditorComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlRawEditorComponent, "croco-html-html-raw-editor", never, { "tag": "tag"; }, { "onTagUpdated": "onTagUpdated"; }, never, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlRawEditorComponent, "croco-html-html-raw-editor", never, { "tag": "tag"; }, { "onTagUpdated": "onTagUpdated"; }, never, never, false, never>;
|
|
11
11
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { HtmlBodyTag } from '../../../models/models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ImageEditorComponent implements OnInit {
|
|
6
6
|
hasImageError: boolean;
|
|
7
7
|
searchOrEdit: string;
|
|
8
8
|
tag: HtmlBodyTag;
|
|
9
|
-
myForm:
|
|
9
|
+
myForm: UntypedFormGroup;
|
|
10
10
|
onErrorHandler(): void;
|
|
11
11
|
onTagUpdated: EventEmitter<HtmlBodyTag>;
|
|
12
12
|
constructor();
|
|
@@ -16,5 +16,5 @@ export declare class ImageEditorComponent implements OnInit {
|
|
|
16
16
|
removeImageError(): void;
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEditorComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEditorComponent, "croco-html-image-editor", never, { "tag": "tag"; }, { "onTagUpdated": "onTagUpdated"; }, never, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEditorComponent, "croco-html-image-editor", never, { "tag": "tag"; }, { "onTagUpdated": "onTagUpdated"; }, never, never, false, never>;
|
|
20
20
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterContentChecked, ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
4
4
|
import { ClipboardService } from 'ngx-clipboard';
|
|
5
5
|
import { VisualEditorComponent } from '../visual-editor/visual-editor.component';
|
|
@@ -12,7 +12,7 @@ export declare class MainEditorComponent implements OnInit, AfterContentChecked
|
|
|
12
12
|
visualEditor: VisualEditorComponent;
|
|
13
13
|
showMarkUp: boolean;
|
|
14
14
|
useHtmlRaw: boolean;
|
|
15
|
-
myForm:
|
|
15
|
+
myForm: UntypedFormGroup;
|
|
16
16
|
html: string;
|
|
17
17
|
onHtmlChanged: EventEmitter<string>;
|
|
18
18
|
constructor(_clipboardService: ClipboardService, _snackBar: MatSnackBar, _cdref: ChangeDetectorRef);
|
|
@@ -24,5 +24,5 @@ export declare class MainEditorComponent implements OnInit, AfterContentChecked
|
|
|
24
24
|
copyMarkUp(): void;
|
|
25
25
|
ngOnInit(): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainEditorComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MainEditorComponent, "croco-html-main-editor", never, { "showMarkUp": "showMarkUp"; "useHtmlRaw": "useHtmlRaw"; "html": "html"; }, { "html": "html"; "onHtmlChanged": "onHtmlChanged"; }, never, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MainEditorComponent, "croco-html-main-editor", never, { "showMarkUp": "showMarkUp"; "useHtmlRaw": "useHtmlRaw"; "html": "html"; }, { "html": "html"; "onHtmlChanged": "onHtmlChanged"; }, never, never, false, never>;
|
|
28
28
|
}
|
|
@@ -12,5 +12,5 @@ export declare class MainEditorBlockComponent implements OnInit {
|
|
|
12
12
|
deleteItem(): void;
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainEditorBlockComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MainEditorBlockComponent, "croco-html-main-editor-block", never, { "tag": "tag"; }, { "onTagSaved": "onTagSaved"; "onTagRemoved": "onTagRemoved"; }, never, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MainEditorBlockComponent, "croco-html-main-editor-block", never, { "tag": "tag"; }, { "onTagSaved": "onTagSaved"; "onTagRemoved": "onTagRemoved"; }, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { HtmlBodyTag } from '../../../models/models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TextEditorComponent implements OnInit {
|
|
6
|
-
myForm:
|
|
6
|
+
myForm: UntypedFormGroup;
|
|
7
7
|
tag: HtmlBodyTag;
|
|
8
8
|
onTagUpdated: EventEmitter<HtmlBodyTag>;
|
|
9
9
|
constructor();
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
getInnerHtml(): string;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextEditorComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "croco-html-text-editor", never, { "tag": "tag"; }, { "onTagUpdated": "onTagUpdated"; }, never, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "croco-html-text-editor", never, { "tag": "tag"; }, { "onTagUpdated": "onTagUpdated"; }, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
2
|
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
4
4
|
import { TagItem, HtmlBodyTag } from '../../../models/models';
|
|
5
5
|
import { FilePostingStarted } from '../../upload-files-btn/upload-files-btn.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -14,7 +14,7 @@ export declare class VisualEditorComponent implements OnInit, AfterViewInit {
|
|
|
14
14
|
isLoading: boolean;
|
|
15
15
|
loadingText: string;
|
|
16
16
|
showMarkUp: boolean;
|
|
17
|
-
myForm:
|
|
17
|
+
myForm: UntypedFormGroup;
|
|
18
18
|
tags: TagItem[];
|
|
19
19
|
selectedValue: string;
|
|
20
20
|
useHtmlRaw: boolean;
|
|
@@ -39,5 +39,5 @@ export declare class VisualEditorComponent implements OnInit, AfterViewInit {
|
|
|
39
39
|
recalculateBodyTags(): void;
|
|
40
40
|
ngOnInit(): void;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<VisualEditorComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VisualEditorComponent, "croco-visual-editor", never, { "showMarkUp": "showMarkUp"; "useHtmlRaw": "useHtmlRaw"; "html": "html"; }, { "html": "html"; "onHtmlChanged": "onHtmlChanged"; "rendered": "rendered"; }, never, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VisualEditorComponent, "croco-visual-editor", never, { "showMarkUp": "showMarkUp"; "useHtmlRaw": "useHtmlRaw"; "html": "html"; }, { "html": "html"; "onHtmlChanged": "onHtmlChanged"; "rendered": "rendered"; }, never, never, false, never>;
|
|
43
43
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { FileNameAndIdModel, FilesQueryService } from '../../services/files-query.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export interface SearchQuestionsFormData {
|
|
@@ -12,10 +12,10 @@ export declare class FileIdSelectComponent implements OnInit, OnChanges {
|
|
|
12
12
|
labelText: string;
|
|
13
13
|
fileId: number;
|
|
14
14
|
loading: boolean;
|
|
15
|
-
form:
|
|
15
|
+
form: UntypedFormGroup;
|
|
16
16
|
files: FileNameAndIdModel[];
|
|
17
17
|
onFileIdChanged: EventEmitter<number>;
|
|
18
|
-
constructor(fb:
|
|
18
|
+
constructor(fb: UntypedFormBuilder, _fileService: FilesQueryService);
|
|
19
19
|
onModelChanged(fileId: number): void;
|
|
20
20
|
getSrc(fileId: number): string;
|
|
21
21
|
ngOnInit(): void;
|
|
@@ -26,5 +26,5 @@ export declare class FileIdSelectComponent implements OnInit, OnChanges {
|
|
|
26
26
|
}): void;
|
|
27
27
|
ngOnChanges(changes: SimpleChanges): void;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileIdSelectComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileIdSelectComponent, "croco-html-file-id-select", never, { "labelText": "labelText"; "fileId": "fileId"; }, { "fileId": "fileId"; "onFileIdChanged": "onFileIdChanged"; }, never, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileIdSelectComponent, "croco-html-file-id-select", never, { "labelText": "labelText"; "fileId": "fileId"; }, { "fileId": "fileId"; "onFileIdChanged": "onFileIdChanged"; }, never, never, false, never>;
|
|
30
30
|
}
|
|
@@ -20,5 +20,5 @@ export declare class UploadFilesBtnComponent implements OnInit {
|
|
|
20
20
|
clickFileInput(): void;
|
|
21
21
|
ngOnInit(): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadFilesBtnComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UploadFilesBtnComponent, "croco-app-upload-files-btn", never, { "extAccepts": "extAccepts"; "isMultiple": "isMultiple"; "btnText": "btnText"; "createLocalCopiesNow": "createLocalCopiesNow"; "hidden": "hidden"; }, { "postFilesStarted": "postFilesStarted"; "onFilesUploaded": "onFilesUploaded"; }, never, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadFilesBtnComponent, "croco-app-upload-files-btn", never, { "extAccepts": "extAccepts"; "isMultiple": "isMultiple"; "btnText": "btnText"; "createLocalCopiesNow": "createLocalCopiesNow"; "hidden": "hidden"; }, { "postFilesStarted": "postFilesStarted"; "onFilesUploaded": "onFilesUploaded"; }, never, never, false, never>;
|
|
24
24
|
}
|
package/lib/components/xml-tags/xml-tag-external-video/xml-tag-external-video.component.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ export declare class XmlTagExternalVideoComponent implements OnInit {
|
|
|
13
13
|
constructor(_domSanitizer: DomSanitizer);
|
|
14
14
|
ngOnInit(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<XmlTagExternalVideoComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagExternalVideoComponent, "croco-html-xml-tag-external-video", never, { "data": "data"; "tagData": "tagData"; }, {}, never, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagExternalVideoComponent, "croco-html-xml-tag-external-video", never, { "data": "data"; "tagData": "tagData"; }, {}, never, never, false, never>;
|
|
17
17
|
}
|
|
@@ -6,5 +6,5 @@ export declare class XmlTagHeaderInnerTextViewComponent implements OnInit {
|
|
|
6
6
|
constructor();
|
|
7
7
|
ngOnInit(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<XmlTagHeaderInnerTextViewComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagHeaderInnerTextViewComponent, "croco-html-xml-tag-header-inner-text-view", never, { "item": "item"; }, {}, never, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagHeaderInnerTextViewComponent, "croco-html-xml-tag-header-inner-text-view", never, { "item": "item"; }, {}, never, never, false, never>;
|
|
10
10
|
}
|
package/lib/components/xml-tags/xml-tag-header-text-view/xml-tag-header-text-view.component.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ export declare class XmlTagHeaderTextViewComponent implements OnInit {
|
|
|
6
6
|
constructor();
|
|
7
7
|
ngOnInit(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<XmlTagHeaderTextViewComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagHeaderTextViewComponent, "croco-html-xml-tag-header-text-view", never, { "item": "item"; }, {}, never, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagHeaderTextViewComponent, "croco-html-xml-tag-header-text-view", never, { "item": "item"; }, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -3,5 +3,5 @@ export declare class XmlTagHtmlViewComponent {
|
|
|
3
3
|
constructor();
|
|
4
4
|
html: string;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<XmlTagHtmlViewComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagHtmlViewComponent, "croco-html-xml-tag-html-view", never, { "html": "html"; }, {}, never, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagHtmlViewComponent, "croco-html-xml-tag-html-view", never, { "html": "html"; }, {}, never, never, false, never>;
|
|
7
7
|
}
|
package/lib/components/xml-tags/xml-tag-rich-text-view/xml-tag-rich-text-view.component.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ export declare class XmlTagRichTextViewComponent implements OnInit {
|
|
|
6
6
|
constructor();
|
|
7
7
|
ngOnInit(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<XmlTagRichTextViewComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagRichTextViewComponent, "croco-html-xml-tag-rich-text-view", never, { "richTextData": "richTextData"; }, {}, never, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagRichTextViewComponent, "croco-html-xml-tag-rich-text-view", never, { "richTextData": "richTextData"; }, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -3,5 +3,5 @@ export declare class XmlTagTableViewComponent {
|
|
|
3
3
|
displayedColumns: string[];
|
|
4
4
|
data: object;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<XmlTagTableViewComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagTableViewComponent, "croco-html-xml-tag-table-view", never, { "displayedColumns": "displayedColumns"; "data": "data"; }, {}, never, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagTableViewComponent, "croco-html-xml-tag-table-view", never, { "displayedColumns": "displayedColumns"; "data": "data"; }, {}, never, never, false, never>;
|
|
7
7
|
}
|
|
@@ -6,5 +6,5 @@ export declare class XmlTagTextViewComponent implements OnInit {
|
|
|
6
6
|
constructor();
|
|
7
7
|
ngOnInit(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<XmlTagTextViewComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagTextViewComponent, "croco-html-xml-tag-text-view", never, { "item": "item"; }, {}, never, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagTextViewComponent, "croco-html-xml-tag-text-view", never, { "item": "item"; }, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -4,5 +4,5 @@ export declare class XmlTagViewComponent {
|
|
|
4
4
|
data: InterfaceBlock[];
|
|
5
5
|
constructor();
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<XmlTagViewComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagViewComponent, "croco-html-xml-tag-view", never, { "data": "data"; }, {}, never, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagViewComponent, "croco-html-xml-tag-view", never, { "data": "data"; }, {}, never, never, false, never>;
|
|
8
8
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -10,11 +10,11 @@ import { VisualEditorComponent } from './components/editor/visual-editor/visual-
|
|
|
10
10
|
import { AddFilesBtnComponent } from './components/add-files-btn/add-files-btn.component';
|
|
11
11
|
import { XmlTagExternalVideoComponent } from "./components/xml-tags/xml-tag-external-video/xml-tag-external-video.component";
|
|
12
12
|
import { HtmlRawEditorComponent } from "./components/editor/html-raw-editor/html-raw-editor.component";
|
|
13
|
-
import {
|
|
13
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
14
14
|
import { RichTextToHtmlPipe, TagToSpanPipe, ToHtmlBodyTagsPipe, ToPreviewPipe } from "./pipes";
|
|
15
15
|
import { UploadFilesBtnComponent } from "./components";
|
|
16
16
|
export declare const EditorComponents: (typeof AddFilesBtnComponent | typeof HtmlRawEditorComponent | typeof VisualEditorComponent | typeof MainEditorComponent | typeof MainEditorBlockComponent | typeof FileIdSelectComponent)[];
|
|
17
17
|
export declare const XmlComponents: (typeof XmlTagExternalVideoComponent | typeof XmlTagHeaderInnerTextViewComponent | typeof XmlTagHtmlViewComponent | typeof XmlTagRichTextViewComponent | typeof XmlTagTableViewComponent | typeof XmlTagViewComponent)[];
|
|
18
18
|
export declare const CrocoPipes: (typeof RichTextToHtmlPipe | typeof TagToSpanPipe | typeof ToPreviewPipe | typeof ToHtmlBodyTagsPipe)[];
|
|
19
19
|
export declare const CrocoHtmlDeclarations: (typeof UploadFilesBtnComponent | typeof AddFilesBtnComponent | typeof HtmlRawEditorComponent | typeof VisualEditorComponent | typeof MainEditorComponent | typeof MainEditorBlockComponent | typeof FileIdSelectComponent | typeof XmlTagExternalVideoComponent | typeof XmlTagHeaderInnerTextViewComponent | typeof XmlTagHtmlViewComponent | typeof XmlTagRichTextViewComponent | typeof XmlTagTableViewComponent | typeof XmlTagViewComponent | typeof RichTextToHtmlPipe | typeof TagToSpanPipe | typeof ToPreviewPipe | typeof ToHtmlBodyTagsPipe)[];
|
|
20
|
-
export declare const MaterialModules: (typeof
|
|
20
|
+
export declare const MaterialModules: (typeof MatButtonModule)[];
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class RichTextToHtmlPipe implements PipeTransform {
|
|
5
5
|
transform(value: RichTextData): string;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextToHtmlPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<RichTextToHtmlPipe, "richTextToHtml">;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RichTextToHtmlPipe, "richTextToHtml", false>;
|
|
8
8
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class TagToSpanPipe implements PipeTransform {
|
|
4
4
|
transform(value: string[]): string;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TagToSpanPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TagToSpanPipe, "tagToSpan">;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TagToSpanPipe, "tagToSpan", false>;
|
|
7
7
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class ToHtmlBodyTagsPipe implements PipeTransform {
|
|
5
5
|
transform(value: string): HtmlBodyTag[];
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToHtmlBodyTagsPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ToHtmlBodyTagsPipe, "tohtmlbodytags">;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToHtmlBodyTagsPipe, "tohtmlbodytags", false>;
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class ToPreviewPipe implements PipeTransform {
|
|
5
5
|
transform(value: string): InterfaceBlock[];
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToPreviewPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ToPreviewPipe, "topreview">;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToPreviewPipe, "topreview", false>;
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "croco-html",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": ">=
|
|
6
|
-
"@angular/core": ">=
|
|
7
|
-
"@angular/material": ">=
|
|
8
|
-
"@angular/cdk": ">=
|
|
5
|
+
"@angular/common": ">=15.0.0",
|
|
6
|
+
"@angular/core": ">=15.0.0",
|
|
7
|
+
"@angular/material": ">=15.0.0",
|
|
8
|
+
"@angular/cdk": ">=15.0.0",
|
|
9
9
|
"ngx-clipboard": ">=15.1.0",
|
|
10
10
|
"@ng-select/ng-select": ">=8.3.0"
|
|
11
11
|
},
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"esm2020": "esm2020/croco-html.mjs",
|
|
18
18
|
"fesm2020": "fesm2020/croco-html.mjs",
|
|
19
19
|
"fesm2015": "fesm2015/croco-html.mjs",
|
|
20
|
-
"typings": "
|
|
20
|
+
"typings": "index.d.ts",
|
|
21
21
|
"exports": {
|
|
22
22
|
"./package.json": {
|
|
23
23
|
"default": "./package.json"
|
|
24
24
|
},
|
|
25
25
|
".": {
|
|
26
|
-
"types": "./
|
|
26
|
+
"types": "./index.d.ts",
|
|
27
27
|
"esm2020": "./esm2020/croco-html.mjs",
|
|
28
28
|
"es2020": "./fesm2020/croco-html.mjs",
|
|
29
29
|
"es2015": "./fesm2015/croco-html.mjs",
|
|
File without changes
|