croco-html 2.0.0 → 2.0.2
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/croco-html.mjs +4 -4
- package/esm2022/lib/components/add-files-btn/add-files-btn.component.mjs +53 -53
- package/esm2022/lib/components/editor/external-video-block/external-video-block.component.mjs +43 -43
- package/esm2022/lib/components/editor/html-raw-editor/html-raw-editor.component.mjs +25 -25
- package/esm2022/lib/components/editor/image-editor/image-editor.component.mjs +46 -46
- package/esm2022/lib/components/editor/index.mjs +7 -7
- package/esm2022/lib/components/editor/main-editor/main-editor.component.mjs +76 -76
- package/esm2022/lib/components/editor/main-editor-block/main-editor-block.component.mjs +41 -41
- package/esm2022/lib/components/editor/text-editor/text-editor.component.mjs +30 -30
- package/esm2022/lib/components/editor/visual-editor/DefaultTags.mjs +27 -27
- package/esm2022/lib/components/editor/visual-editor/visual-editor.component.mjs +134 -134
- package/esm2022/lib/components/file-id-select/file-id-select.component.mjs +58 -58
- package/esm2022/lib/components/html-view/html-view.component.mjs +18 -18
- package/esm2022/lib/components/index.mjs +6 -6
- package/esm2022/lib/components/upload-files-btn/upload-files-btn.component.mjs +54 -54
- package/esm2022/lib/components/xml-tags/file-image-tag-view/file-image-tag-view.component.mjs +30 -0
- package/esm2022/lib/components/xml-tags/html-raw-view/html-raw-view.component.mjs +22 -22
- package/esm2022/lib/components/xml-tags/index.mjs +11 -10
- package/esm2022/lib/components/xml-tags/xml-tag-external-video/xml-tag-external-video.component.mjs +49 -49
- package/esm2022/lib/components/xml-tags/xml-tag-header-inner-text-view/xml-tag-header-inner-text-view.component.mjs +17 -17
- package/esm2022/lib/components/xml-tags/xml-tag-header-text-view/xml-tag-header-text-view.component.mjs +18 -18
- package/esm2022/lib/components/xml-tags/xml-tag-html-view/xml-tag-html-view.component.mjs +16 -16
- package/esm2022/lib/components/xml-tags/xml-tag-rich-text-view/xml-tag-rich-text-view.component.mjs +20 -20
- package/esm2022/lib/components/xml-tags/xml-tag-table-view/xml-tag-table-view.component.mjs +20 -20
- package/esm2022/lib/components/xml-tags/xml-tag-text-view/xml-tag-text-view.component.mjs +17 -17
- package/esm2022/lib/components/xml-tags/xml-tag-view/xml-tag-view.component.mjs +30 -22
- package/esm2022/lib/croco-html.module.mjs +92 -92
- package/esm2022/lib/extensions/AngularMaterialTableMethods.mjs +64 -64
- package/esm2022/lib/extensions/BodyTagsExtensions.mjs +120 -120
- package/esm2022/lib/extensions/BootstrapTableMethods.mjs +67 -67
- package/esm2022/lib/extensions/HtmlExtractionMethods.mjs +63 -63
- package/esm2022/lib/extensions/HtmlRawTagDataConsts.mjs +3 -3
- package/esm2022/lib/extensions/ImageMethods.mjs +32 -32
- package/esm2022/lib/extensions/InterfaceBlock.mjs +1 -1
- package/esm2022/lib/extensions/TableBuilder.mjs +35 -35
- package/esm2022/lib/extensions/TableMethods.mjs +108 -108
- package/esm2022/lib/extensions/TextMethods.mjs +29 -29
- package/esm2022/lib/extensions/TextSimpleMethods.mjs +77 -77
- package/esm2022/lib/extensions/VideoMethods.mjs +19 -19
- package/esm2022/lib/extensions/XmlExtensions.mjs +25 -25
- package/esm2022/lib/extensions/index.mjs +12 -12
- package/esm2022/lib/index.mjs +117 -117
- package/esm2022/lib/models/models.mjs +1 -1
- package/esm2022/lib/pipes/RichTextToHtmlPipe.mjs +26 -26
- package/esm2022/lib/pipes/TagToSpanPipe.mjs +16 -16
- package/esm2022/lib/pipes/ToHtmlBodyTagsPipe.mjs +17 -17
- package/esm2022/lib/pipes/ToPreviewHtmlPipe.mjs +17 -17
- package/esm2022/lib/pipes/index.mjs +5 -5
- package/esm2022/lib/pipes/to-preview.pipe.mjs +20 -20
- package/esm2022/lib/services/file-upload.service.mjs +70 -70
- package/esm2022/lib/services/files-query.service.mjs +27 -27
- package/esm2022/public-api.mjs +7 -7
- package/fesm2022/croco-html.mjs +1525 -1489
- package/fesm2022/croco-html.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/components/add-files-btn/add-files-btn.component.d.ts +18 -18
- package/lib/components/editor/external-video-block/external-video-block.component.d.ts +17 -17
- package/lib/components/editor/html-raw-editor/html-raw-editor.component.d.ts +11 -11
- package/lib/components/editor/image-editor/image-editor.component.d.ts +18 -18
- package/lib/components/editor/index.d.ts +7 -7
- package/lib/components/editor/main-editor/main-editor.component.d.ts +27 -27
- package/lib/components/editor/main-editor-block/main-editor-block.component.d.ts +16 -16
- package/lib/components/editor/text-editor/text-editor.component.d.ts +12 -12
- package/lib/components/editor/visual-editor/DefaultTags.d.ts +6 -6
- package/lib/components/editor/visual-editor/visual-editor.component.d.ts +36 -36
- package/lib/components/file-id-select/file-id-select.component.d.ts +27 -27
- package/lib/components/html-view/html-view.component.d.ts +6 -6
- package/lib/components/index.d.ts +6 -6
- package/lib/components/upload-files-btn/upload-files-btn.component.d.ts +24 -24
- package/lib/components/xml-tags/file-image-tag-view/file-image-tag-view.component.d.ts +12 -0
- package/lib/components/xml-tags/html-raw-view/html-raw-view.component.d.ts +13 -13
- package/lib/components/xml-tags/index.d.ts +10 -9
- package/lib/components/xml-tags/xml-tag-external-video/xml-tag-external-video.component.d.ts +16 -16
- package/lib/components/xml-tags/xml-tag-header-inner-text-view/xml-tag-header-inner-text-view.component.d.ts +10 -10
- package/lib/components/xml-tags/xml-tag-header-text-view/xml-tag-header-text-view.component.d.ts +10 -10
- package/lib/components/xml-tags/xml-tag-html-view/xml-tag-html-view.component.d.ts +7 -7
- package/lib/components/xml-tags/xml-tag-rich-text-view/xml-tag-rich-text-view.component.d.ts +10 -10
- package/lib/components/xml-tags/xml-tag-table-view/xml-tag-table-view.component.d.ts +7 -7
- package/lib/components/xml-tags/xml-tag-text-view/xml-tag-text-view.component.d.ts +10 -10
- package/lib/components/xml-tags/xml-tag-view/xml-tag-view.component.d.ts +13 -8
- package/lib/croco-html.module.d.ts +64 -64
- package/lib/extensions/AngularMaterialTableMethods.d.ts +7 -7
- package/lib/extensions/BodyTagsExtensions.d.ts +11 -11
- package/lib/extensions/BootstrapTableMethods.d.ts +9 -9
- package/lib/extensions/HtmlExtractionMethods.d.ts +73 -73
- package/lib/extensions/HtmlRawTagDataConsts.d.ts +3 -3
- package/lib/extensions/ImageMethods.d.ts +18 -18
- package/lib/extensions/InterfaceBlock.d.ts +4 -4
- package/lib/extensions/TableBuilder.d.ts +5 -5
- package/lib/extensions/TableMethods.d.ts +59 -59
- package/lib/extensions/TextMethods.d.ts +19 -19
- package/lib/extensions/TextSimpleMethods.d.ts +23 -23
- package/lib/extensions/VideoMethods.d.ts +19 -19
- package/lib/extensions/XmlExtensions.d.ts +5 -5
- package/lib/extensions/index.d.ts +10 -10
- package/lib/index.d.ts +21 -22
- package/lib/models/models.d.ts +14 -14
- package/lib/pipes/RichTextToHtmlPipe.d.ts +8 -8
- package/lib/pipes/TagToSpanPipe.d.ts +7 -7
- package/lib/pipes/ToHtmlBodyTagsPipe.d.ts +8 -8
- package/lib/pipes/ToPreviewHtmlPipe.d.ts +9 -9
- package/lib/pipes/index.d.ts +5 -5
- package/lib/pipes/to-preview.pipe.d.ts +8 -8
- package/lib/services/file-upload.service.d.ts +34 -34
- package/lib/services/files-query.service.d.ts +42 -42
- package/package.json +2 -2
- package/public-api.d.ts +4 -4
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="croco-html" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="croco-html" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { HtmlBodyTag } from '../../models/models';
|
|
3
|
-
import { BaseApiResponseWithFilesIds } from '../../services/file-upload.service';
|
|
4
|
-
import { FilePostingStarted, UploadFilesBtnComponent } from '../upload-files-btn/upload-files-btn.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AddFilesBtnComponent implements OnInit {
|
|
7
|
-
postFilesStarted: EventEmitter<FilePostingStarted>;
|
|
8
|
-
fakeBtn: UploadFilesBtnComponent;
|
|
9
|
-
fileIds: number[];
|
|
10
|
-
constructor();
|
|
11
|
-
filesTagsReady: EventEmitter<HtmlBodyTag[]>;
|
|
12
|
-
postFilesStartedEventHandler(data: FilePostingStarted): void;
|
|
13
|
-
filesUploadedHandler(data: BaseApiResponseWithFilesIds): void;
|
|
14
|
-
handleClick(): void;
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AddFilesBtnComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddFilesBtnComponent, "croco-html-add-files-btn", never, {}, { "postFilesStarted": "postFilesStarted"; "filesTagsReady": "filesTagsReady"; }, never, never, false, never>;
|
|
18
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HtmlBodyTag } from '../../models/models';
|
|
3
|
+
import { BaseApiResponseWithFilesIds } from '../../services/file-upload.service';
|
|
4
|
+
import { FilePostingStarted, UploadFilesBtnComponent } from '../upload-files-btn/upload-files-btn.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AddFilesBtnComponent implements OnInit {
|
|
7
|
+
postFilesStarted: EventEmitter<FilePostingStarted>;
|
|
8
|
+
fakeBtn: UploadFilesBtnComponent;
|
|
9
|
+
fileIds: number[];
|
|
10
|
+
constructor();
|
|
11
|
+
filesTagsReady: EventEmitter<HtmlBodyTag[]>;
|
|
12
|
+
postFilesStartedEventHandler(data: FilePostingStarted): void;
|
|
13
|
+
filesUploadedHandler(data: BaseApiResponseWithFilesIds): void;
|
|
14
|
+
handleClick(): void;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddFilesBtnComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddFilesBtnComponent, "croco-html-add-files-btn", never, {}, { "postFilesStarted": "postFilesStarted"; "filesTagsReady": "filesTagsReady"; }, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ExternalVideoTagData } from '../../../extensions/VideoMethods';
|
|
3
|
-
import { HtmlBodyTag } from '../../../models/models';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ExternalVideoBlockComponent implements OnInit {
|
|
6
|
-
tag: HtmlBodyTag;
|
|
7
|
-
onTagUpdated: EventEmitter<HtmlBodyTag>;
|
|
8
|
-
defaultLink: string;
|
|
9
|
-
data: {
|
|
10
|
-
youtubeLink: string;
|
|
11
|
-
};
|
|
12
|
-
tagData: ExternalVideoTagData;
|
|
13
|
-
linkChanged(): void;
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalVideoBlockComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExternalVideoBlockComponent, "croco-html-external-video-block", never, { "tag": { "alias": "tag"; "required": false; }; }, { "onTagUpdated": "onTagUpdated"; }, never, never, false, never>;
|
|
17
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { ExternalVideoTagData } from '../../../extensions/VideoMethods';
|
|
3
|
+
import { HtmlBodyTag } from '../../../models/models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ExternalVideoBlockComponent implements OnInit {
|
|
6
|
+
tag: HtmlBodyTag;
|
|
7
|
+
onTagUpdated: EventEmitter<HtmlBodyTag>;
|
|
8
|
+
defaultLink: string;
|
|
9
|
+
data: {
|
|
10
|
+
youtubeLink: string;
|
|
11
|
+
};
|
|
12
|
+
tagData: ExternalVideoTagData;
|
|
13
|
+
linkChanged(): void;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalVideoBlockComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExternalVideoBlockComponent, "croco-html-external-video-block", never, { "tag": { "alias": "tag"; "required": false; }; }, { "onTagUpdated": "onTagUpdated"; }, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { HtmlBodyTag } from '../../../models/models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class HtmlRawEditorComponent implements OnInit {
|
|
5
|
-
tag: HtmlBodyTag;
|
|
6
|
-
onTagUpdated: EventEmitter<HtmlBodyTag>;
|
|
7
|
-
constructor();
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlRawEditorComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlRawEditorComponent, "croco-html-html-raw-editor", never, { "tag": { "alias": "tag"; "required": false; }; }, { "onTagUpdated": "onTagUpdated"; }, never, never, false, never>;
|
|
11
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HtmlBodyTag } from '../../../models/models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HtmlRawEditorComponent implements OnInit {
|
|
5
|
+
tag: HtmlBodyTag;
|
|
6
|
+
onTagUpdated: EventEmitter<HtmlBodyTag>;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlRawEditorComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlRawEditorComponent, "croco-html-html-raw-editor", never, { "tag": { "alias": "tag"; "required": false; }; }, { "onTagUpdated": "onTagUpdated"; }, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { HtmlBodyTag } from '../../../models/models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ImageEditorComponent implements OnInit {
|
|
5
|
-
hasImageError: boolean;
|
|
6
|
-
searchOrEdit: string;
|
|
7
|
-
tag: HtmlBodyTag;
|
|
8
|
-
onErrorHandler(): void;
|
|
9
|
-
onTagUpdated: EventEmitter<HtmlBodyTag>;
|
|
10
|
-
constructor();
|
|
11
|
-
getSrc(): string;
|
|
12
|
-
hasFileId(): boolean;
|
|
13
|
-
onFileIdChanged(fileId: number): void;
|
|
14
|
-
removeImageError(): void;
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEditorComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEditorComponent, "croco-html-image-editor", never, { "tag": { "alias": "tag"; "required": false; }; }, { "onTagUpdated": "onTagUpdated"; }, never, never, false, never>;
|
|
18
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HtmlBodyTag } from '../../../models/models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ImageEditorComponent implements OnInit {
|
|
5
|
+
hasImageError: boolean;
|
|
6
|
+
searchOrEdit: string;
|
|
7
|
+
tag: HtmlBodyTag;
|
|
8
|
+
onErrorHandler(): void;
|
|
9
|
+
onTagUpdated: EventEmitter<HtmlBodyTag>;
|
|
10
|
+
constructor();
|
|
11
|
+
getSrc(): string;
|
|
12
|
+
hasFileId(): boolean;
|
|
13
|
+
onFileIdChanged(fileId: number): void;
|
|
14
|
+
removeImageError(): void;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEditorComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEditorComponent, "croco-html-image-editor", never, { "tag": { "alias": "tag"; "required": false; }; }, { "onTagUpdated": "onTagUpdated"; }, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './external-video-block/external-video-block.component';
|
|
2
|
-
export * from './html-raw-editor/html-raw-editor.component';
|
|
3
|
-
export * from './image-editor/image-editor.component';
|
|
4
|
-
export * from './main-editor/main-editor.component';
|
|
5
|
-
export * from './main-editor-block/main-editor-block.component';
|
|
6
|
-
export * from './text-editor/text-editor.component';
|
|
7
|
-
export * from './visual-editor/visual-editor.component';
|
|
1
|
+
export * from './external-video-block/external-video-block.component';
|
|
2
|
+
export * from './html-raw-editor/html-raw-editor.component';
|
|
3
|
+
export * from './image-editor/image-editor.component';
|
|
4
|
+
export * from './main-editor/main-editor.component';
|
|
5
|
+
export * from './main-editor-block/main-editor-block.component';
|
|
6
|
+
export * from './text-editor/text-editor.component';
|
|
7
|
+
export * from './visual-editor/visual-editor.component';
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { AfterContentChecked, AfterViewInit, ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
|
-
import { ClipboardService } from 'ngx-clipboard';
|
|
4
|
-
import { VisualEditorComponent } from '../visual-editor/visual-editor.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class MainEditorComponent implements OnInit, AfterContentChecked, AfterViewInit {
|
|
7
|
-
private _clipboardService;
|
|
8
|
-
private _snackBar;
|
|
9
|
-
private _cdref;
|
|
10
|
-
visualEditorRendered: boolean;
|
|
11
|
-
visualEditor: VisualEditorComponent;
|
|
12
|
-
showMarkUp: boolean;
|
|
13
|
-
useHtmlRaw: boolean;
|
|
14
|
-
html: string;
|
|
15
|
-
onHtmlChanged: EventEmitter<string>;
|
|
16
|
-
constructor(_clipboardService: ClipboardService, _snackBar: MatSnackBar, _cdref: ChangeDetectorRef);
|
|
17
|
-
ngAfterViewInit(): void;
|
|
18
|
-
ngAfterContentChecked(): void;
|
|
19
|
-
visualEditorRenderedHandler(): void;
|
|
20
|
-
onHtmlChangedHandler(html: string): void;
|
|
21
|
-
textAreaModelChangedHandler(): void;
|
|
22
|
-
recalculateBodyTags(): void;
|
|
23
|
-
copyMarkUp(): void;
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MainEditorComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MainEditorComponent, "croco-html-main-editor", never, { "showMarkUp": { "alias": "showMarkUp"; "required": false; }; "useHtmlRaw": { "alias": "useHtmlRaw"; "required": false; }; "html": { "alias": "html"; "required": false; }; }, { "html": "html"; "onHtmlChanged": "onHtmlChanged"; }, never, never, false, never>;
|
|
27
|
-
}
|
|
1
|
+
import { AfterContentChecked, AfterViewInit, ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
|
+
import { ClipboardService } from 'ngx-clipboard';
|
|
4
|
+
import { VisualEditorComponent } from '../visual-editor/visual-editor.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MainEditorComponent implements OnInit, AfterContentChecked, AfterViewInit {
|
|
7
|
+
private _clipboardService;
|
|
8
|
+
private _snackBar;
|
|
9
|
+
private _cdref;
|
|
10
|
+
visualEditorRendered: boolean;
|
|
11
|
+
visualEditor: VisualEditorComponent;
|
|
12
|
+
showMarkUp: boolean;
|
|
13
|
+
useHtmlRaw: boolean;
|
|
14
|
+
html: string;
|
|
15
|
+
onHtmlChanged: EventEmitter<string>;
|
|
16
|
+
constructor(_clipboardService: ClipboardService, _snackBar: MatSnackBar, _cdref: ChangeDetectorRef);
|
|
17
|
+
ngAfterViewInit(): void;
|
|
18
|
+
ngAfterContentChecked(): void;
|
|
19
|
+
visualEditorRenderedHandler(): void;
|
|
20
|
+
onHtmlChangedHandler(html: string): void;
|
|
21
|
+
textAreaModelChangedHandler(): void;
|
|
22
|
+
recalculateBodyTags(): void;
|
|
23
|
+
copyMarkUp(): void;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MainEditorComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MainEditorComponent, "croco-html-main-editor", never, { "showMarkUp": { "alias": "showMarkUp"; "required": false; }; "useHtmlRaw": { "alias": "useHtmlRaw"; "required": false; }; "html": { "alias": "html"; "required": false; }; }, { "html": "html"; "onHtmlChanged": "onHtmlChanged"; }, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { HtmlBodyTag } from '../../../models/models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MainEditorBlockComponent implements OnInit {
|
|
5
|
-
textTags: string[];
|
|
6
|
-
tag: HtmlBodyTag;
|
|
7
|
-
onTagSaved: EventEmitter<HtmlBodyTag>;
|
|
8
|
-
onTagRemoved: EventEmitter<HtmlBodyTag>;
|
|
9
|
-
constructor();
|
|
10
|
-
tagUpdatedHandler(tag: HtmlBodyTag): void;
|
|
11
|
-
save(): void;
|
|
12
|
-
deleteItem(): void;
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MainEditorBlockComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MainEditorBlockComponent, "croco-html-main-editor-block", never, { "tag": { "alias": "tag"; "required": false; }; }, { "onTagSaved": "onTagSaved"; "onTagRemoved": "onTagRemoved"; }, never, never, false, never>;
|
|
16
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HtmlBodyTag } from '../../../models/models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MainEditorBlockComponent implements OnInit {
|
|
5
|
+
textTags: string[];
|
|
6
|
+
tag: HtmlBodyTag;
|
|
7
|
+
onTagSaved: EventEmitter<HtmlBodyTag>;
|
|
8
|
+
onTagRemoved: EventEmitter<HtmlBodyTag>;
|
|
9
|
+
constructor();
|
|
10
|
+
tagUpdatedHandler(tag: HtmlBodyTag): void;
|
|
11
|
+
save(): void;
|
|
12
|
+
deleteItem(): void;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MainEditorBlockComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MainEditorBlockComponent, "croco-html-main-editor-block", never, { "tag": { "alias": "tag"; "required": false; }; }, { "onTagSaved": "onTagSaved"; "onTagRemoved": "onTagRemoved"; }, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { HtmlBodyTag } from '../../../models/models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TextEditorComponent implements OnInit {
|
|
5
|
-
tag: HtmlBodyTag;
|
|
6
|
-
onTagUpdated: EventEmitter<HtmlBodyTag>;
|
|
7
|
-
constructor();
|
|
8
|
-
ngOnInit(): void;
|
|
9
|
-
getInnerHtml(): string;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextEditorComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "croco-html-text-editor", never, { "tag": { "alias": "tag"; "required": false; }; }, { "onTagUpdated": "onTagUpdated"; }, never, never, false, never>;
|
|
12
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { HtmlBodyTag } from '../../../models/models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TextEditorComponent implements OnInit {
|
|
5
|
+
tag: HtmlBodyTag;
|
|
6
|
+
onTagUpdated: EventEmitter<HtmlBodyTag>;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
getInnerHtml(): string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextEditorComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "croco-html-text-editor", never, { "tag": { "alias": "tag"; "required": false; }; }, { "onTagUpdated": "onTagUpdated"; }, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TagItem } from '../../../models/models';
|
|
2
|
-
export declare class DefaultTags {
|
|
3
|
-
static tags: TagItem[];
|
|
4
|
-
static htmlRawTag: TagItem;
|
|
5
|
-
static getTags(useHtmlRaw: boolean): TagItem[];
|
|
6
|
-
}
|
|
1
|
+
import { TagItem } from '../../../models/models';
|
|
2
|
+
export declare class DefaultTags {
|
|
3
|
+
static tags: TagItem[];
|
|
4
|
+
static htmlRawTag: TagItem;
|
|
5
|
+
static getTags(useHtmlRaw: boolean): TagItem[];
|
|
6
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
|
-
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
3
|
-
import { TagItem, HtmlBodyTag } from '../../../models/models';
|
|
4
|
-
import { FilePostingStarted } from '../../upload-files-btn/upload-files-btn.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class VisualEditorComponent implements OnInit, AfterViewInit {
|
|
7
|
-
private _cdref;
|
|
8
|
-
isLoading: boolean;
|
|
9
|
-
loadingText: string;
|
|
10
|
-
showMarkUp: boolean;
|
|
11
|
-
tags: TagItem[];
|
|
12
|
-
selectedValue: string;
|
|
13
|
-
useHtmlRaw: boolean;
|
|
14
|
-
html: string;
|
|
15
|
-
isHtmlSet(): boolean;
|
|
16
|
-
clearHtml(): void;
|
|
17
|
-
getHtml(): string;
|
|
18
|
-
onHtmlChanged: EventEmitter<string>;
|
|
19
|
-
rendered: EventEmitter<boolean>;
|
|
20
|
-
bodyTags: HtmlBodyTag[];
|
|
21
|
-
constructor(_cdref: ChangeDetectorRef);
|
|
22
|
-
ngAfterViewInit(): void;
|
|
23
|
-
ngAfterContentChecked(): void;
|
|
24
|
-
addTag(): void;
|
|
25
|
-
postFilesStartedEventHandler(model: FilePostingStarted): void;
|
|
26
|
-
addTagCustom(tag: HtmlBodyTag): void;
|
|
27
|
-
filesTagsReadyHandler(tags: HtmlBodyTag[]): void;
|
|
28
|
-
drop(event: CdkDragDrop<object[]>): void;
|
|
29
|
-
onTagSavedHandler(tag: HtmlBodyTag): void;
|
|
30
|
-
onTagRemovedHandler(index: number): void;
|
|
31
|
-
recalculateHtml(): void;
|
|
32
|
-
recalculateBodyTags(): void;
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VisualEditorComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VisualEditorComponent, "croco-visual-editor", never, { "showMarkUp": { "alias": "showMarkUp"; "required": false; }; "useHtmlRaw": { "alias": "useHtmlRaw"; "required": false; }; "html": { "alias": "html"; "required": false; }; }, { "html": "html"; "onHtmlChanged": "onHtmlChanged"; "rendered": "rendered"; }, never, never, false, never>;
|
|
36
|
-
}
|
|
1
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
3
|
+
import { TagItem, HtmlBodyTag } from '../../../models/models';
|
|
4
|
+
import { FilePostingStarted } from '../../upload-files-btn/upload-files-btn.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class VisualEditorComponent implements OnInit, AfterViewInit {
|
|
7
|
+
private _cdref;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
loadingText: string;
|
|
10
|
+
showMarkUp: boolean;
|
|
11
|
+
tags: TagItem[];
|
|
12
|
+
selectedValue: string;
|
|
13
|
+
useHtmlRaw: boolean;
|
|
14
|
+
html: string;
|
|
15
|
+
isHtmlSet(): boolean;
|
|
16
|
+
clearHtml(): void;
|
|
17
|
+
getHtml(): string;
|
|
18
|
+
onHtmlChanged: EventEmitter<string>;
|
|
19
|
+
rendered: EventEmitter<boolean>;
|
|
20
|
+
bodyTags: HtmlBodyTag[];
|
|
21
|
+
constructor(_cdref: ChangeDetectorRef);
|
|
22
|
+
ngAfterViewInit(): void;
|
|
23
|
+
ngAfterContentChecked(): void;
|
|
24
|
+
addTag(): void;
|
|
25
|
+
postFilesStartedEventHandler(model: FilePostingStarted): void;
|
|
26
|
+
addTagCustom(tag: HtmlBodyTag): void;
|
|
27
|
+
filesTagsReadyHandler(tags: HtmlBodyTag[]): void;
|
|
28
|
+
drop(event: CdkDragDrop<object[]>): void;
|
|
29
|
+
onTagSavedHandler(tag: HtmlBodyTag): void;
|
|
30
|
+
onTagRemovedHandler(index: number): void;
|
|
31
|
+
recalculateHtml(): void;
|
|
32
|
+
recalculateBodyTags(): void;
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VisualEditorComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VisualEditorComponent, "croco-visual-editor", never, { "showMarkUp": { "alias": "showMarkUp"; "required": false; }; "useHtmlRaw": { "alias": "useHtmlRaw"; "required": false; }; "html": { "alias": "html"; "required": false; }; }, { "html": "html"; "onHtmlChanged": "onHtmlChanged"; "rendered": "rendered"; }, never, never, false, never>;
|
|
36
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FileNameAndIdModel, FilesQueryService } from '../../services/files-query.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface SearchQuestionsFormData {
|
|
5
|
-
q: string;
|
|
6
|
-
}
|
|
7
|
-
export declare class FileIdSelectComponent implements OnInit, OnChanges {
|
|
8
|
-
private _fileService;
|
|
9
|
-
q: string;
|
|
10
|
-
labelText: string;
|
|
11
|
-
fileId: number;
|
|
12
|
-
loading: boolean;
|
|
13
|
-
files: FileNameAndIdModel[];
|
|
14
|
-
onFileIdChanged: EventEmitter<number>;
|
|
15
|
-
constructor(_fileService: FilesQueryService);
|
|
16
|
-
onModelChanged(fileId: number): void;
|
|
17
|
-
getSrc(fileId: number): string;
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
loadFiles(): void;
|
|
20
|
-
onSearchChanged(q: {
|
|
21
|
-
term: string;
|
|
22
|
-
items: object[];
|
|
23
|
-
}): void;
|
|
24
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileIdSelectComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileIdSelectComponent, "croco-html-file-id-select", never, { "labelText": { "alias": "labelText"; "required": false; }; "fileId": { "alias": "fileId"; "required": false; }; }, { "fileId": "fileId"; "onFileIdChanged": "onFileIdChanged"; }, never, never, false, never>;
|
|
27
|
-
}
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FileNameAndIdModel, FilesQueryService } from '../../services/files-query.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface SearchQuestionsFormData {
|
|
5
|
+
q: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class FileIdSelectComponent implements OnInit, OnChanges {
|
|
8
|
+
private _fileService;
|
|
9
|
+
q: string;
|
|
10
|
+
labelText: string;
|
|
11
|
+
fileId: number;
|
|
12
|
+
loading: boolean;
|
|
13
|
+
files: FileNameAndIdModel[];
|
|
14
|
+
onFileIdChanged: EventEmitter<number>;
|
|
15
|
+
constructor(_fileService: FilesQueryService);
|
|
16
|
+
onModelChanged(fileId: number): void;
|
|
17
|
+
getSrc(fileId: number): string;
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
loadFiles(): void;
|
|
20
|
+
onSearchChanged(q: {
|
|
21
|
+
term: string;
|
|
22
|
+
items: object[];
|
|
23
|
+
}): void;
|
|
24
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileIdSelectComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileIdSelectComponent, "croco-html-file-id-select", never, { "labelText": { "alias": "labelText"; "required": false; }; "fileId": { "alias": "fileId"; "required": false; }; }, { "fileId": "fileId"; "onFileIdChanged": "onFileIdChanged"; }, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class HtmlViewComponent {
|
|
3
|
-
html: string;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlViewComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlViewComponent, "croco-html-view", never, { "html": { "alias": "html"; "required": false; }; }, {}, never, never, false, never>;
|
|
6
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class HtmlViewComponent {
|
|
3
|
+
html: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlViewComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlViewComponent, "croco-html-view", never, { "html": { "alias": "html"; "required": false; }; }, {}, never, never, false, never>;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './add-files-btn/add-files-btn.component';
|
|
2
|
-
export * from './editor/';
|
|
3
|
-
export * from './file-id-select/file-id-select.component';
|
|
4
|
-
export * from './upload-files-btn/upload-files-btn.component';
|
|
5
|
-
export * from './xml-tags';
|
|
6
|
-
export * from './html-view/html-view.component';
|
|
1
|
+
export * from './add-files-btn/add-files-btn.component';
|
|
2
|
+
export * from './editor/';
|
|
3
|
+
export * from './file-id-select/file-id-select.component';
|
|
4
|
+
export * from './upload-files-btn/upload-files-btn.component';
|
|
5
|
+
export * from './xml-tags';
|
|
6
|
+
export * from './html-view/html-view.component';
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { BaseApiResponseWithFilesIds, FileUploadService } from '../../services/file-upload.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface FilePostingStarted {
|
|
5
|
-
filesCount: number;
|
|
6
|
-
createLocalCopiesNow: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare class UploadFilesBtnComponent implements OnInit {
|
|
9
|
-
private _fileUploadService;
|
|
10
|
-
constructor(_fileUploadService: FileUploadService);
|
|
11
|
-
private fileInput;
|
|
12
|
-
extAccepts: string;
|
|
13
|
-
isMultiple: boolean;
|
|
14
|
-
btnText: string;
|
|
15
|
-
createLocalCopiesNow: boolean;
|
|
16
|
-
hidden: boolean;
|
|
17
|
-
postFilesStarted: EventEmitter<FilePostingStarted>;
|
|
18
|
-
onFilesUploaded: EventEmitter<BaseApiResponseWithFilesIds>;
|
|
19
|
-
handleFileInput(files: FileList): void;
|
|
20
|
-
clickFileInput(): void;
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UploadFilesBtnComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UploadFilesBtnComponent, "croco-app-upload-files-btn", never, { "extAccepts": { "alias": "extAccepts"; "required": false; }; "isMultiple": { "alias": "isMultiple"; "required": false; }; "btnText": { "alias": "btnText"; "required": false; }; "createLocalCopiesNow": { "alias": "createLocalCopiesNow"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; }, { "postFilesStarted": "postFilesStarted"; "onFilesUploaded": "onFilesUploaded"; }, never, never, false, never>;
|
|
24
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { BaseApiResponseWithFilesIds, FileUploadService } from '../../services/file-upload.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface FilePostingStarted {
|
|
5
|
+
filesCount: number;
|
|
6
|
+
createLocalCopiesNow: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare class UploadFilesBtnComponent implements OnInit {
|
|
9
|
+
private _fileUploadService;
|
|
10
|
+
constructor(_fileUploadService: FileUploadService);
|
|
11
|
+
private fileInput;
|
|
12
|
+
extAccepts: string;
|
|
13
|
+
isMultiple: boolean;
|
|
14
|
+
btnText: string;
|
|
15
|
+
createLocalCopiesNow: boolean;
|
|
16
|
+
hidden: boolean;
|
|
17
|
+
postFilesStarted: EventEmitter<FilePostingStarted>;
|
|
18
|
+
onFilesUploaded: EventEmitter<BaseApiResponseWithFilesIds>;
|
|
19
|
+
handleFileInput(files: FileList): void;
|
|
20
|
+
clickFileInput(): void;
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadFilesBtnComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadFilesBtnComponent, "croco-app-upload-files-btn", never, { "extAccepts": { "alias": "extAccepts"; "required": false; }; "isMultiple": { "alias": "isMultiple"; "required": false; }; "btnText": { "alias": "btnText"; "required": false; }; "createLocalCopiesNow": { "alias": "createLocalCopiesNow"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; }, { "postFilesStarted": "postFilesStarted"; "onFilesUploaded": "onFilesUploaded"; }, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { InterfaceBlock } from '../../../extensions/InterfaceBlock';
|
|
3
|
+
import { ITagViewOptions } from '../xml-tag-view/xml-tag-view.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FileImageTagViewComponent implements OnInit {
|
|
6
|
+
item: InterfaceBlock;
|
|
7
|
+
viewOptions: ITagViewOptions;
|
|
8
|
+
imageSrc: string;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileImageTagViewComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileImageTagViewComponent, "croco-html-file-image-tag-view", never, { "item": { "alias": "item"; "required": false; }; "viewOptions": { "alias": "viewOptions"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class HtmlRawViewComponent implements OnInit {
|
|
5
|
-
private readonly _sanitizer;
|
|
6
|
-
rawHtml: string;
|
|
7
|
-
safeHtml: SafeHtml;
|
|
8
|
-
isInitialized: boolean;
|
|
9
|
-
constructor(_sanitizer: DomSanitizer);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlRawViewComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlRawViewComponent, "croco-html-raw-view", never, { "rawHtml": { "alias": "rawHtml"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HtmlRawViewComponent implements OnInit {
|
|
5
|
+
private readonly _sanitizer;
|
|
6
|
+
rawHtml: string;
|
|
7
|
+
safeHtml: SafeHtml;
|
|
8
|
+
isInitialized: boolean;
|
|
9
|
+
constructor(_sanitizer: DomSanitizer);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlRawViewComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlRawViewComponent, "croco-html-raw-view", never, { "rawHtml": { "alias": "rawHtml"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export * from './xml-tag-external-video/xml-tag-external-video.component';
|
|
2
|
-
export * from './xml-tag-header-inner-text-view/xml-tag-header-inner-text-view.component';
|
|
3
|
-
export * from './xml-tag-header-text-view/xml-tag-header-text-view.component';
|
|
4
|
-
export * from './xml-tag-html-view/xml-tag-html-view.component';
|
|
5
|
-
export * from './xml-tag-rich-text-view/xml-tag-rich-text-view.component';
|
|
6
|
-
export * from './xml-tag-table-view/xml-tag-table-view.component';
|
|
7
|
-
export * from './xml-tag-text-view/xml-tag-text-view.component';
|
|
8
|
-
export * from './xml-tag-view/xml-tag-view.component';
|
|
9
|
-
export * from './html-raw-view/html-raw-view.component';
|
|
1
|
+
export * from './xml-tag-external-video/xml-tag-external-video.component';
|
|
2
|
+
export * from './xml-tag-header-inner-text-view/xml-tag-header-inner-text-view.component';
|
|
3
|
+
export * from './xml-tag-header-text-view/xml-tag-header-text-view.component';
|
|
4
|
+
export * from './xml-tag-html-view/xml-tag-html-view.component';
|
|
5
|
+
export * from './xml-tag-rich-text-view/xml-tag-rich-text-view.component';
|
|
6
|
+
export * from './xml-tag-table-view/xml-tag-table-view.component';
|
|
7
|
+
export * from './xml-tag-text-view/xml-tag-text-view.component';
|
|
8
|
+
export * from './xml-tag-view/xml-tag-view.component';
|
|
9
|
+
export * from './html-raw-view/html-raw-view.component';
|
|
10
|
+
export * from './file-image-tag-view/file-image-tag-view.component';
|
package/lib/components/xml-tags/xml-tag-external-video/xml-tag-external-video.component.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
-
import { InterfaceBlock } from "../../../extensions/InterfaceBlock";
|
|
4
|
-
import { ExternalVideoTagData } from '../../../extensions';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class XmlTagExternalVideoComponent implements OnInit {
|
|
7
|
-
private _domSanitizer;
|
|
8
|
-
set data(value: InterfaceBlock);
|
|
9
|
-
set tagData(value: ExternalVideoTagData);
|
|
10
|
-
videoId?: string;
|
|
11
|
-
constructor(_domSanitizer: DomSanitizer);
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
private getYouTubeId;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<XmlTagExternalVideoComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagExternalVideoComponent, "croco-html-xml-tag-external-video", never, { "data": { "alias": "data"; "required": false; }; "tagData": { "alias": "tagData"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
import { InterfaceBlock } from "../../../extensions/InterfaceBlock";
|
|
4
|
+
import { ExternalVideoTagData } from '../../../extensions';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class XmlTagExternalVideoComponent implements OnInit {
|
|
7
|
+
private _domSanitizer;
|
|
8
|
+
set data(value: InterfaceBlock);
|
|
9
|
+
set tagData(value: ExternalVideoTagData);
|
|
10
|
+
videoId?: string;
|
|
11
|
+
constructor(_domSanitizer: DomSanitizer);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
private getYouTubeId;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XmlTagExternalVideoComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XmlTagExternalVideoComponent, "croco-html-xml-tag-external-video", never, { "data": { "alias": "data"; "required": false; }; "tagData": { "alias": "tagData"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
}
|