croco-html 0.2.1 → 0.2.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/esm2020/lib/components/editor/external-video-block/external-video-block.component.mjs +3 -7
- package/esm2020/lib/components/editor/image-editor/image-editor.component.mjs +1 -1
- package/esm2020/lib/components/editor/main-editor/main-editor.component.mjs +3 -3
- package/esm2020/lib/components/editor/text-editor/text-editor.component.mjs +3 -7
- package/esm2020/lib/components/editor/visual-editor/visual-editor.component.mjs +1 -5
- package/esm2020/lib/components/file-id-select/file-id-select.component.mjs +8 -12
- package/esm2020/lib/components/xml-tags/xml-tag-html-view/xml-tag-html-view.component.mjs +3 -3
- package/fesm2015/croco-html.mjs +15 -28
- package/fesm2015/croco-html.mjs.map +1 -1
- package/fesm2020/croco-html.mjs +15 -28
- package/fesm2020/croco-html.mjs.map +1 -1
- package/lib/components/editor/external-video-block/external-video-block.component.d.ts +0 -2
- package/lib/components/editor/text-editor/text-editor.component.d.ts +0 -2
- package/lib/components/editor/visual-editor/visual-editor.component.d.ts +0 -2
- package/lib/components/file-id-select/file-id-select.component.d.ts +1 -4
- package/package.json +1 -1
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
2
|
import { ExternalVideoTagData } from '../../../extensions/VideoMethods';
|
|
4
3
|
import { HtmlBodyTag } from '../../../models/models';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class ExternalVideoBlockComponent implements OnInit {
|
|
7
6
|
tag: HtmlBodyTag;
|
|
8
7
|
onTagUpdated: EventEmitter<HtmlBodyTag>;
|
|
9
|
-
myForm: UntypedFormGroup;
|
|
10
8
|
defaultLink: string;
|
|
11
9
|
data: {
|
|
12
10
|
youtubeLink: string;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
2
|
import { HtmlBodyTag } from '../../../models/models';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class TextEditorComponent implements OnInit {
|
|
6
|
-
myForm: UntypedFormGroup;
|
|
7
5
|
tag: HtmlBodyTag;
|
|
8
6
|
onTagUpdated: EventEmitter<HtmlBodyTag>;
|
|
9
7
|
constructor();
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
2
|
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
3
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
4
3
|
import { TagItem, HtmlBodyTag } from '../../../models/models';
|
|
5
4
|
import { FilePostingStarted } from '../../upload-files-btn/upload-files-btn.component';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
@@ -14,7 +13,6 @@ export declare class VisualEditorComponent implements OnInit, AfterViewInit {
|
|
|
14
13
|
isLoading: boolean;
|
|
15
14
|
loadingText: string;
|
|
16
15
|
showMarkUp: boolean;
|
|
17
|
-
myForm: UntypedFormGroup;
|
|
18
16
|
tags: TagItem[];
|
|
19
17
|
selectedValue: string;
|
|
20
18
|
useHtmlRaw: boolean;
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
2
|
import { FileNameAndIdModel, FilesQueryService } from '../../services/files-query.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export interface SearchQuestionsFormData {
|
|
6
5
|
q: string;
|
|
7
6
|
}
|
|
8
7
|
export declare class FileIdSelectComponent implements OnInit, OnChanges {
|
|
9
|
-
private fb;
|
|
10
8
|
private _fileService;
|
|
11
9
|
q: string;
|
|
12
10
|
labelText: string;
|
|
13
11
|
fileId: number;
|
|
14
12
|
loading: boolean;
|
|
15
|
-
form: UntypedFormGroup;
|
|
16
13
|
files: FileNameAndIdModel[];
|
|
17
14
|
onFileIdChanged: EventEmitter<number>;
|
|
18
|
-
constructor(
|
|
15
|
+
constructor(_fileService: FilesQueryService);
|
|
19
16
|
onModelChanged(fileId: number): void;
|
|
20
17
|
getSrc(fileId: number): string;
|
|
21
18
|
ngOnInit(): void;
|