croco-html 4.0.2 → 4.1.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/fesm2022/croco-html.mjs +471 -512
- package/fesm2022/croco-html.mjs.map +1 -1
- package/index.d.ts +3 -954
- package/lib/components/add-files-btn/add-files-btn.component.d.ts +20 -0
- package/lib/components/editor/button-editor/button-editor.component.d.ts +13 -0
- package/lib/components/editor/custom-widget-editor/custom-widget-editor.component.d.ts +13 -0
- package/lib/components/editor/download-file-button-editor/download-file-button-editor.component.d.ts +13 -0
- package/lib/components/editor/external-video-editor/embedded-video/code-video.component.d.ts +14 -0
- package/lib/components/editor/external-video-editor/external-video-editor.component.d.ts +17 -0
- package/lib/components/editor/external-video-editor/vk-video-player/vk-video-player.component.d.ts +10 -0
- package/lib/components/editor/external-video-editor/youtube-video-player/youtube-video-player.component.d.ts +10 -0
- package/lib/components/editor/html-editor-settings-modal/html-editor-settings-modal.component.d.ts +17 -0
- package/lib/components/editor/html-raw-editor/html-raw-editor.component.d.ts +15 -0
- package/lib/components/editor/image-editor/image-editor.component.d.ts +34 -0
- package/lib/components/editor/index.d.ts +8 -0
- package/lib/components/editor/main-editor/main-editor.component.d.ts +34 -0
- package/lib/components/editor/main-editor-block/main-editor-block.component.d.ts +14 -0
- package/lib/components/editor/text-editor/text-editor.component.d.ts +12 -0
- package/lib/components/editor/visual-editor/DefaultAligments.d.ts +9 -0
- package/lib/components/editor/visual-editor/DefaultTags.d.ts +6 -0
- package/lib/components/editor/visual-editor/visual-editor.component.d.ts +72 -0
- package/lib/components/error-banner/error-banner.component.d.ts +6 -0
- package/lib/components/file-id-select/file-id-select.component.d.ts +38 -0
- package/lib/components/html-view/html-view.component.d.ts +6 -0
- package/lib/components/index.d.ts +6 -0
- package/lib/components/upload-files-btn/upload-files-btn.component.d.ts +26 -0
- package/lib/components/xml-tags/file-image-tag-view/file-image-tag-view.component.d.ts +22 -0
- package/lib/components/xml-tags/html-raw-view/html-raw-view.component.d.ts +12 -0
- package/lib/components/xml-tags/index.d.ts +10 -0
- package/lib/components/xml-tags/xml-tag-custom-button/xml-tag-button.component.d.ts +14 -0
- package/lib/components/xml-tags/xml-tag-custom-widget/xml-tag-custom-widget.component.d.ts +19 -0
- package/lib/components/xml-tags/xml-tag-download-file-button/xml-tag-download-file-button.component.d.ts +14 -0
- package/lib/components/xml-tags/xml-tag-external-video/xml-tag-external-video.component.d.ts +11 -0
- package/lib/components/xml-tags/xml-tag-header-inner-text-view/xml-tag-header-inner-text-view.component.d.ts +7 -0
- package/lib/components/xml-tags/xml-tag-header-text-view/xml-tag-header-text-view.component.d.ts +7 -0
- package/lib/components/xml-tags/xml-tag-html-view/xml-tag-html-view.component.d.ts +7 -0
- package/lib/components/xml-tags/xml-tag-table-view/xml-tag-table-view.component.d.ts +7 -0
- package/lib/components/xml-tags/xml-tag-text-view/xml-tag-text-view.component.d.ts +7 -0
- package/lib/components/xml-tags/xml-tag-view/xml-tag-view.component.d.ts +8 -0
- package/lib/consts/index.d.ts +1 -0
- package/lib/croco-html.module.d.ts +68 -0
- package/lib/extensions/AngularMaterialTableMethods.d.ts +7 -0
- package/lib/extensions/BodyTagsExtensions.d.ts +14 -0
- package/lib/extensions/BootstrapTableMethods.d.ts +9 -0
- package/lib/extensions/HtmlExtractionMethods.d.ts +28 -0
- package/lib/extensions/HtmlRawTagDataConsts.d.ts +10 -0
- package/lib/extensions/ImageMethods.d.ts +23 -0
- package/lib/extensions/InterfaceBlock.d.ts +10 -0
- package/lib/extensions/TableBuilder.d.ts +5 -0
- package/lib/extensions/TableMethods.d.ts +60 -0
- package/lib/extensions/Tags.d.ts +16 -0
- package/lib/extensions/TextMethods.d.ts +11 -0
- package/lib/extensions/TextSimpleMethods.d.ts +22 -0
- package/lib/extensions/VideoMethods.d.ts +26 -0
- package/lib/extensions/XmlExtensions.d.ts +5 -0
- package/lib/extensions/index.d.ts +10 -0
- package/lib/index.d.ts +24 -0
- package/lib/models/image-models.d.ts +19 -0
- package/lib/models/index.d.ts +2 -0
- package/lib/models/models.d.ts +18 -0
- package/lib/options/index.d.ts +46 -0
- package/lib/pipes/TagToSpanPipe.d.ts +7 -0
- package/lib/pipes/ToHtmlBodyTagsPipe.d.ts +11 -0
- package/lib/pipes/ToPreviewHtmlPipe.d.ts +11 -0
- package/lib/pipes/index.d.ts +4 -0
- package/lib/pipes/sprite-icon-path.pipe.d.ts +8 -0
- package/lib/pipes/to-preview.pipe.d.ts +11 -0
- package/lib/services/CrocoHtmlFileOptionsService.d.ts +10 -0
- package/lib/services/HtmlViewController.d.ts +11 -0
- package/lib/services/PrivateFileUploadService.d.ts +26 -0
- package/lib/services/PrivateFilesQueryService.d.ts +21 -0
- package/lib/services/PublicFileUploadService.d.ts +26 -0
- package/lib/services/PublicFilesQueryService.d.ts +12 -0
- package/lib/services/blob-create.service.d.ts +10 -0
- package/lib/services/file-models.d.ts +38 -0
- package/lib/services/index.d.ts +3 -0
- package/lib/services/screen-width.service.d.ts +10 -0
- package/lib/tag-services/ButtonTagService.d.ts +26 -0
- package/lib/tag-services/CustomWidgetTagService.d.ts +32 -0
- package/lib/tag-services/DownloadButtonTagService.d.ts +24 -0
- package/lib/tag-services/ExternalVideoTagService.d.ts +11 -0
- package/lib/tag-services/FileImageTagService.d.ts +11 -0
- package/lib/tag-services/HtmlRawTagService.d.ts +11 -0
- package/lib/tag-services/IMarkUpTagService.d.ts +26 -0
- package/lib/tag-services/TextTagHtmlMarkupTagService.d.ts +12 -0
- package/lib/tag-services/index.d.ts +8 -0
- package/package.json +1 -1
- package/public-api.d.ts +8 -0
- package/sprites-ids.type.d.ts +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CrocoHtmlOptionsToken = "croco-html-options";
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/forms";
|
|
4
|
+
import * as i3 from "@ng-select/ng-select";
|
|
5
|
+
import * as i4 from "@angular/material/badge";
|
|
6
|
+
import * as i5 from "@angular/material/table";
|
|
7
|
+
import * as i6 from "@angular/material/expansion";
|
|
8
|
+
import * as i7 from "@angular/material/form-field";
|
|
9
|
+
import * as i8 from "@angular/material/snack-bar";
|
|
10
|
+
import * as i9 from "@angular/material/progress-bar";
|
|
11
|
+
import * as i10 from "@angular/material/progress-spinner";
|
|
12
|
+
import * as i11 from "@angular/material/tabs";
|
|
13
|
+
import * as i12 from "@angular/material/menu";
|
|
14
|
+
import * as i13 from "@angular/material/card";
|
|
15
|
+
import * as i14 from "@angular/material/select";
|
|
16
|
+
import * as i15 from "@angular/material/tooltip";
|
|
17
|
+
import * as i16 from "@angular/material/checkbox";
|
|
18
|
+
import * as i17 from "@angular/material/chips";
|
|
19
|
+
import * as i18 from "@angular/material/list";
|
|
20
|
+
import * as i19 from "@angular/material/button";
|
|
21
|
+
import * as i20 from "@angular/material/input";
|
|
22
|
+
import * as i21 from "@angular/material/dialog";
|
|
23
|
+
import * as i22 from "@angular/material/paginator";
|
|
24
|
+
import * as i23 from "@angular/material/datepicker";
|
|
25
|
+
import * as i24 from "@angular/material/grid-list";
|
|
26
|
+
import * as i25 from "@angular/material/slide-toggle";
|
|
27
|
+
import * as i26 from "@angular/material/tree";
|
|
28
|
+
import * as i27 from "@angular/material/core";
|
|
29
|
+
import * as i28 from "@angular/material/autocomplete";
|
|
30
|
+
import * as i29 from "@angular/material/sidenav";
|
|
31
|
+
import * as i30 from "@angular/material/icon";
|
|
32
|
+
import * as i31 from "@angular/cdk/drag-drop";
|
|
33
|
+
import * as i32 from "@angular/material/button-toggle";
|
|
34
|
+
import * as i33 from "./components/error-banner/error-banner.component";
|
|
35
|
+
import * as i34 from "./components/editor/external-video-editor/vk-video-player/vk-video-player.component";
|
|
36
|
+
import * as i35 from "./components/editor/external-video-editor/youtube-video-player/youtube-video-player.component";
|
|
37
|
+
import * as i36 from "./components/editor/download-file-button-editor/download-file-button-editor.component";
|
|
38
|
+
import * as i37 from "./components/xml-tags/xml-tag-download-file-button/xml-tag-download-file-button.component";
|
|
39
|
+
import * as i38 from "./components/upload-files-btn/upload-files-btn.component";
|
|
40
|
+
import * as i39 from "./components/html-view/html-view.component";
|
|
41
|
+
import * as i40 from "./components/xml-tags/xml-tag-table-view/xml-tag-table-view.component";
|
|
42
|
+
import * as i41 from "./components/xml-tags/xml-tag-view/xml-tag-view.component";
|
|
43
|
+
import * as i42 from "./components/xml-tags/xml-tag-html-view/xml-tag-html-view.component";
|
|
44
|
+
import * as i43 from "./components/xml-tags/xml-tag-text-view/xml-tag-text-view.component";
|
|
45
|
+
import * as i44 from "./components/xml-tags/xml-tag-header-text-view/xml-tag-header-text-view.component";
|
|
46
|
+
import * as i45 from "./components/xml-tags/xml-tag-header-inner-text-view/xml-tag-header-inner-text-view.component";
|
|
47
|
+
import * as i46 from "./components/xml-tags/xml-tag-external-video/xml-tag-external-video.component";
|
|
48
|
+
import * as i47 from "./components/xml-tags/html-raw-view/html-raw-view.component";
|
|
49
|
+
import * as i48 from "./components/xml-tags/file-image-tag-view/file-image-tag-view.component";
|
|
50
|
+
import * as i49 from "./components/xml-tags/xml-tag-custom-widget/xml-tag-custom-widget.component";
|
|
51
|
+
import * as i50 from "./components/editor/main-editor/main-editor.component";
|
|
52
|
+
import * as i51 from "./components/file-id-select/file-id-select.component";
|
|
53
|
+
import * as i52 from "./components/editor/text-editor/text-editor.component";
|
|
54
|
+
import * as i53 from "./components/editor/image-editor/image-editor.component";
|
|
55
|
+
import * as i54 from "./components/editor/main-editor-block/main-editor-block.component";
|
|
56
|
+
import * as i55 from "./components/editor/visual-editor/visual-editor.component";
|
|
57
|
+
import * as i56 from "./components/add-files-btn/add-files-btn.component";
|
|
58
|
+
import * as i57 from "./components/editor/html-raw-editor/html-raw-editor.component";
|
|
59
|
+
import * as i58 from "./components/editor/custom-widget-editor/custom-widget-editor.component";
|
|
60
|
+
import * as i59 from "./pipes/TagToSpanPipe";
|
|
61
|
+
import * as i60 from "./pipes/to-preview.pipe";
|
|
62
|
+
import * as i61 from "./pipes/ToHtmlBodyTagsPipe";
|
|
63
|
+
import * as i62 from "./pipes/ToPreviewHtmlPipe";
|
|
64
|
+
export declare class CrocoHtmlModule {
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrocoHtmlModule, never>;
|
|
66
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CrocoHtmlModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.NgSelectModule, typeof i4.MatBadgeModule, typeof i5.MatTableModule, typeof i6.MatExpansionModule, typeof i7.MatFormFieldModule, typeof i8.MatSnackBarModule, typeof i9.MatProgressBarModule, typeof i10.MatProgressSpinnerModule, typeof i11.MatTabsModule, typeof i12.MatMenuModule, typeof i13.MatCardModule, typeof i14.MatSelectModule, typeof i15.MatTooltipModule, typeof i16.MatCheckboxModule, typeof i17.MatChipsModule, typeof i18.MatListModule, typeof i19.MatButtonModule, typeof i20.MatInputModule, typeof i21.MatDialogModule, typeof i22.MatPaginatorModule, typeof i23.MatDatepickerModule, typeof i24.MatGridListModule, typeof i25.MatSlideToggleModule, typeof i26.MatTreeModule, typeof i27.MatNativeDateModule, typeof i28.MatAutocompleteModule, typeof i29.MatSidenavModule, typeof i30.MatIconModule, typeof i31.DragDropModule, typeof i32.MatButtonToggleModule, typeof i33.ErrorBannerComponent, typeof i34.VkVideoPlayerComponent, typeof i35.YoutubeVideoPlayerComponent, typeof i36.DownloadFileButtonEditorComponent, typeof i37.XmlTagDownloadFileButtonComponent, typeof i38.UploadFilesBtnComponent, typeof i39.HtmlViewComponent, typeof i40.XmlTagTableViewComponent, typeof i41.XmlTagViewComponent, typeof i42.XmlTagHtmlViewComponent, typeof i43.XmlTagTextViewComponent, typeof i44.XmlTagHeaderTextViewComponent, typeof i45.XmlTagHeaderInnerTextViewComponent, typeof i46.XmlTagExternalVideoComponent, typeof i47.HtmlRawViewComponent, typeof i48.FileImageTagViewComponent, typeof i49.XmlTagCustomWidgetComponent, typeof i39.HtmlViewComponent, typeof i50.MainEditorComponent, typeof i51.FileIdSelectComponent, typeof i52.TextEditorComponent, typeof i53.ImageEditorComponent, typeof i54.MainEditorBlockComponent, typeof i55.VisualEditorComponent, typeof i56.AddFilesBtnComponent, typeof i57.HtmlRawEditorComponent, typeof i58.CustomWidgetEditorComponent, typeof i59.TagToSpanPipe, typeof i60.ToPreviewPipe, typeof i61.ToHtmlBodyTagsPipe, typeof i62.ToPreviewHtmlPipe], [typeof i38.UploadFilesBtnComponent, typeof i39.HtmlViewComponent, typeof i40.XmlTagTableViewComponent, typeof i41.XmlTagViewComponent, typeof i42.XmlTagHtmlViewComponent, typeof i43.XmlTagTextViewComponent, typeof i44.XmlTagHeaderTextViewComponent, typeof i45.XmlTagHeaderInnerTextViewComponent, typeof i46.XmlTagExternalVideoComponent, typeof i47.HtmlRawViewComponent, typeof i48.FileImageTagViewComponent, typeof i49.XmlTagCustomWidgetComponent, typeof i39.HtmlViewComponent, typeof i50.MainEditorComponent, typeof i51.FileIdSelectComponent, typeof i52.TextEditorComponent, typeof i53.ImageEditorComponent, typeof i54.MainEditorBlockComponent, typeof i55.VisualEditorComponent, typeof i56.AddFilesBtnComponent, typeof i57.HtmlRawEditorComponent, typeof i58.CustomWidgetEditorComponent, typeof i59.TagToSpanPipe, typeof i60.ToPreviewPipe, typeof i61.ToHtmlBodyTagsPipe, typeof i62.ToPreviewHtmlPipe]>;
|
|
67
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CrocoHtmlModule>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseApiResponse } from '../models';
|
|
2
|
+
import { AngularMaterialTableData, TableData, TableRowData } from './TableMethods';
|
|
3
|
+
export declare class AngularMaterialTableMethods {
|
|
4
|
+
static getAngularMaterialTableData(columns: string[], rows: TableRowData[]): AngularMaterialTableData;
|
|
5
|
+
static checkHeaders(tableData: TableData): BaseApiResponse;
|
|
6
|
+
static checkAngularMaterialTableData(tableData: TableData, checkHeaders?: boolean): BaseApiResponse;
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HtmlBodyTag } from "../models/models";
|
|
2
|
+
import { InterfaceBlock } from "./InterfaceBlock";
|
|
3
|
+
import { CrocoHtmlOptions } from "../options";
|
|
4
|
+
import { IMarkUpTagService } from "../tag-services/IMarkUpTagService";
|
|
5
|
+
export declare class BodyTagsExtensions {
|
|
6
|
+
static tagServices: {
|
|
7
|
+
[id: string]: IMarkUpTagService;
|
|
8
|
+
};
|
|
9
|
+
static convertToHtmlString(bodyTag: HtmlBodyTag): string;
|
|
10
|
+
static bodyTagsToHtml(bodyTags: HtmlBodyTag[]): string;
|
|
11
|
+
static getBodyTags(html: string, options: CrocoHtmlOptions): HtmlBodyTag[];
|
|
12
|
+
static sanitizeInnerHtml(html: string): string;
|
|
13
|
+
static toBodyTag(data: InterfaceBlock): HtmlBodyTag;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InterfaceBlock } from "./InterfaceBlock";
|
|
2
|
+
import { TableData, TableHeaderData, TableRowData } from './TableMethods';
|
|
3
|
+
export declare class BootstrapTableMethods {
|
|
4
|
+
static BuildTable(data: TableData): string;
|
|
5
|
+
static BuildHeader(data: TableHeaderData): string;
|
|
6
|
+
static BuildBody(rows: TableRowData[]): string;
|
|
7
|
+
static BuildInnerTags(tags: InterfaceBlock[]): string;
|
|
8
|
+
static BuildInnerTag(data: InterfaceBlock): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { InterfaceBlock } from "./InterfaceBlock";
|
|
2
|
+
import { CrocoHtmlOptions } from "../options";
|
|
3
|
+
export declare class HtmlExtractionMethods {
|
|
4
|
+
static Extractors: {
|
|
5
|
+
table: (elem: HTMLElement, options: CrocoHtmlOptions) => {
|
|
6
|
+
type: string;
|
|
7
|
+
data: import("./TableMethods").TableData;
|
|
8
|
+
validationResult: import("croco-html").BaseApiResponse;
|
|
9
|
+
bootstrapHtml: string;
|
|
10
|
+
} | {
|
|
11
|
+
angularMaterialTableDataCheck: import("croco-html").BaseApiResponse;
|
|
12
|
+
type: string;
|
|
13
|
+
data: import("./TableMethods").TableData;
|
|
14
|
+
validationResult: import("croco-html").BaseApiResponse;
|
|
15
|
+
bootstrapHtml: string;
|
|
16
|
+
} | {
|
|
17
|
+
angularMaterialTableDataCheck: import("croco-html").BaseApiResponse;
|
|
18
|
+
html: string;
|
|
19
|
+
angularMaterialTableData: import("./TableMethods").AngularMaterialTableData;
|
|
20
|
+
type: string;
|
|
21
|
+
data: import("./TableMethods").TableData;
|
|
22
|
+
validationResult: import("croco-html").BaseApiResponse;
|
|
23
|
+
bootstrapHtml: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
static transformHtmlElementToBlocks(element: HTMLElement, options: CrocoHtmlOptions): InterfaceBlock[];
|
|
27
|
+
static transformHtmlStringToBlocks(value: string, options: CrocoHtmlOptions): InterfaceBlock[];
|
|
28
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ImageRestrictions, IMediaRequest } from "../models";
|
|
2
|
+
import { CrocoHtmlOptions } from "../options";
|
|
3
|
+
export declare class FileImageTagDataConsts {
|
|
4
|
+
static readonly TagName = "file-image";
|
|
5
|
+
static readonly FileIdAttrName = "file-id";
|
|
6
|
+
static readonly ScreenMediaRequest = "screen-media-request";
|
|
7
|
+
static readonly MaxScreenWidth = "max-screen-width";
|
|
8
|
+
static readonly MinScreenWidth = "min-screen-width";
|
|
9
|
+
static readonly MaxImageHeight = "max-image-height";
|
|
10
|
+
static readonly MaxImageWidth = "max-image-width";
|
|
11
|
+
static readonly DefaultValueForFileImage = "max-screen-width:1200,min-screen-width:900,max-image-height:300;max-screen-width:900,min-screen-width:600,max-image-height:200";
|
|
12
|
+
}
|
|
13
|
+
export declare class ImageMethods {
|
|
14
|
+
static buildUrl(fileId: string, sizeType: string, options: CrocoHtmlOptions): string;
|
|
15
|
+
static buildSmallUrl(fileId: string, options: CrocoHtmlOptions): string;
|
|
16
|
+
static buildMediumUrl(fileId: string, options: CrocoHtmlOptions): string;
|
|
17
|
+
static isPrivateFileId(fileId: string): boolean;
|
|
18
|
+
static mediaRequestStringToArrayParser: (data: string) => IMediaRequest[];
|
|
19
|
+
static createMediaRequestValue(arr: string[], attribute: string): number | null;
|
|
20
|
+
static mediaRequestsArrayToString(data: IMediaRequest[]): string;
|
|
21
|
+
static mediaRequestToString(data: IMediaRequest): string;
|
|
22
|
+
static getImageRestrictionsByScreenSize(screenSize: number, requests: IMediaRequest[]): ImageRestrictions;
|
|
23
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { BaseApiResponse } from '../models';
|
|
2
|
+
import { CrocoHtmlOptions } from '../options';
|
|
3
|
+
import { InterfaceBlock } from "./InterfaceBlock";
|
|
4
|
+
export interface TableHeaderData {
|
|
5
|
+
type: "table-header";
|
|
6
|
+
columns: string[];
|
|
7
|
+
}
|
|
8
|
+
export interface TableRowColumnData {
|
|
9
|
+
type: "table-row-column-data";
|
|
10
|
+
data: {
|
|
11
|
+
text: string;
|
|
12
|
+
children: InterfaceBlock[];
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export interface TableRowData {
|
|
16
|
+
type: "table-row-column";
|
|
17
|
+
columns: TableRowColumnData[];
|
|
18
|
+
}
|
|
19
|
+
export interface TableData {
|
|
20
|
+
header: TableHeaderData;
|
|
21
|
+
rows: TableRowData[];
|
|
22
|
+
}
|
|
23
|
+
export interface TableTagData {
|
|
24
|
+
type: "table";
|
|
25
|
+
data: TableData;
|
|
26
|
+
}
|
|
27
|
+
export declare class TableTypes {
|
|
28
|
+
static readonly TableRowColumnData = "table-row-column-data";
|
|
29
|
+
static readonly Table = "table";
|
|
30
|
+
static readonly TableRowColumn = "table-row-column";
|
|
31
|
+
}
|
|
32
|
+
export interface AngularMaterialTableData {
|
|
33
|
+
displayedColumns: string[];
|
|
34
|
+
data: object[];
|
|
35
|
+
}
|
|
36
|
+
export declare class TableMethods {
|
|
37
|
+
static getTableFromHtmlTag(tableTag: HTMLTableElement, options: CrocoHtmlOptions): {
|
|
38
|
+
type: string;
|
|
39
|
+
data: TableData;
|
|
40
|
+
validationResult: BaseApiResponse;
|
|
41
|
+
bootstrapHtml: string;
|
|
42
|
+
} | {
|
|
43
|
+
angularMaterialTableDataCheck: BaseApiResponse;
|
|
44
|
+
type: string;
|
|
45
|
+
data: TableData;
|
|
46
|
+
validationResult: BaseApiResponse;
|
|
47
|
+
bootstrapHtml: string;
|
|
48
|
+
} | {
|
|
49
|
+
angularMaterialTableDataCheck: BaseApiResponse;
|
|
50
|
+
html: string;
|
|
51
|
+
angularMaterialTableData: AngularMaterialTableData;
|
|
52
|
+
type: string;
|
|
53
|
+
data: TableData;
|
|
54
|
+
validationResult: BaseApiResponse;
|
|
55
|
+
bootstrapHtml: string;
|
|
56
|
+
};
|
|
57
|
+
static checkTable(tableData: TableData): BaseApiResponse;
|
|
58
|
+
static getHeader(tableTag: HTMLTableElement): TableHeaderData;
|
|
59
|
+
static getTableRows(tableTag: HTMLTableElement, options: CrocoHtmlOptions): Array<TableRowData>;
|
|
60
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class Tags {
|
|
2
|
+
static readonly Text = "text";
|
|
3
|
+
static readonly H1 = "h1";
|
|
4
|
+
static readonly H2 = "h2";
|
|
5
|
+
static readonly H3 = "h3";
|
|
6
|
+
static readonly H4 = "h4";
|
|
7
|
+
static readonly H5 = "h5";
|
|
8
|
+
static readonly H6 = "h6";
|
|
9
|
+
static readonly HtmlRaw = "html-raw";
|
|
10
|
+
static readonly FileImage = "file-image";
|
|
11
|
+
static readonly Table = "table";
|
|
12
|
+
static readonly RichText = "rich-text";
|
|
13
|
+
static readonly ExternalVideo = "external-video";
|
|
14
|
+
static readonly UnsupportedTag = "unsupported-tag";
|
|
15
|
+
static readonly CustomWidget = "custom-widget";
|
|
16
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class TextTags {
|
|
2
|
+
static readonly text = "text";
|
|
3
|
+
static readonly h1 = "h1";
|
|
4
|
+
static readonly h2 = "h2";
|
|
5
|
+
static readonly h3 = "h3";
|
|
6
|
+
static readonly h4 = "h4";
|
|
7
|
+
static readonly h5 = "h5";
|
|
8
|
+
static readonly h6 = "h6";
|
|
9
|
+
static headerTextTags: string[];
|
|
10
|
+
static allTextTags: string[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseApiResponse } from "../models";
|
|
2
|
+
export declare class TextTagDataConsts {
|
|
3
|
+
static HAlign: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const TextTag = "text";
|
|
6
|
+
export interface GenericTextTag {
|
|
7
|
+
type: string;
|
|
8
|
+
data: SimpleTextTagData;
|
|
9
|
+
}
|
|
10
|
+
export interface SimpleTextTagData {
|
|
11
|
+
textTagName: string;
|
|
12
|
+
text: string;
|
|
13
|
+
html: string;
|
|
14
|
+
horizontalAlignment: "left" | "right" | "center";
|
|
15
|
+
validationResult: BaseApiResponse;
|
|
16
|
+
}
|
|
17
|
+
export declare class TextSimpleMethods {
|
|
18
|
+
static supportedTags: string[];
|
|
19
|
+
static ExtractTextTag(elem: HTMLElement): GenericTextTag;
|
|
20
|
+
static ValidateTextHtml(html: string): BaseApiResponse;
|
|
21
|
+
static ValidateTag(element: Element): BaseApiResponse;
|
|
22
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare class ExternalVideoTagDataConsts {
|
|
2
|
+
static readonly TagName = "external-video";
|
|
3
|
+
static readonly VideoTypeAttrName = "type";
|
|
4
|
+
static readonly LinkAttrName = "link";
|
|
5
|
+
static readonly UseResponsiveWrapperAttrName = "use-responsive-wrapper";
|
|
6
|
+
static readonly IframeAttrName = "iframe";
|
|
7
|
+
}
|
|
8
|
+
export declare class ExternalVideoSupportedTypes {
|
|
9
|
+
static readonly Youtube = "youtube";
|
|
10
|
+
static readonly VkVideo = "vk-video";
|
|
11
|
+
static readonly Code = "code";
|
|
12
|
+
}
|
|
13
|
+
export declare const ExternalVideoPlayers: {
|
|
14
|
+
type: string;
|
|
15
|
+
displayValue: string;
|
|
16
|
+
}[];
|
|
17
|
+
export interface ExternalVideoTag {
|
|
18
|
+
type: string;
|
|
19
|
+
data: ExternalVideoTagData;
|
|
20
|
+
}
|
|
21
|
+
export interface ExternalVideoTagData {
|
|
22
|
+
type: string;
|
|
23
|
+
link: string;
|
|
24
|
+
innerHtml: string;
|
|
25
|
+
useResponsiveWrapper: boolean;
|
|
26
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './AngularMaterialTableMethods';
|
|
2
|
+
export * from './BodyTagsExtensions';
|
|
3
|
+
export * from './BootstrapTableMethods';
|
|
4
|
+
export * from './ImageMethods';
|
|
5
|
+
export * from './TableBuilder';
|
|
6
|
+
export * from './TableMethods';
|
|
7
|
+
export * from './TextMethods';
|
|
8
|
+
export * from './TextSimpleMethods';
|
|
9
|
+
export * from './VideoMethods';
|
|
10
|
+
export * from './XmlExtensions';
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ImageEditorComponent } from "./components";
|
|
2
|
+
import { MainEditorBlockComponent } from "./components";
|
|
3
|
+
import { MainEditorComponent } from "./components";
|
|
4
|
+
import { TextEditorComponent } from "./components";
|
|
5
|
+
import { FileIdSelectComponent } from "./components";
|
|
6
|
+
import { XmlTagHeaderInnerTextViewComponent } from "./components";
|
|
7
|
+
import { XmlTagHtmlViewComponent } from "./components";
|
|
8
|
+
import { XmlTagTableViewComponent } from "./components";
|
|
9
|
+
import { XmlTagViewComponent } from "./components";
|
|
10
|
+
import { CustomWidgetEditorComponent } from "./components";
|
|
11
|
+
import { VisualEditorComponent } from './components';
|
|
12
|
+
import { AddFilesBtnComponent } from './components';
|
|
13
|
+
import { XmlTagExternalVideoComponent } from "./components";
|
|
14
|
+
import { HtmlRawEditorComponent } from "./components";
|
|
15
|
+
import { MatCardModule } from '@angular/material/card';
|
|
16
|
+
import { TagToSpanPipe, ToHtmlBodyTagsPipe, ToPreviewHtmlPipe, ToPreviewPipe } from "./pipes";
|
|
17
|
+
import { FileImageTagViewComponent, UploadFilesBtnComponent } from "./components";
|
|
18
|
+
import { HtmlRawViewComponent } from "./components";
|
|
19
|
+
import { XmlTagCustomWidgetComponent } from "./components";
|
|
20
|
+
export declare const EditorComponents: (typeof AddFilesBtnComponent | typeof HtmlRawEditorComponent | typeof FileIdSelectComponent | typeof ImageEditorComponent | typeof TextEditorComponent | typeof CustomWidgetEditorComponent | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof MainEditorComponent)[];
|
|
21
|
+
export declare const XmlComponents: (typeof XmlTagExternalVideoComponent | typeof XmlTagHeaderInnerTextViewComponent | typeof XmlTagHtmlViewComponent | typeof XmlTagTableViewComponent | typeof FileImageTagViewComponent | typeof HtmlRawViewComponent | typeof XmlTagCustomWidgetComponent | typeof XmlTagViewComponent)[];
|
|
22
|
+
export declare const CrocoPipes: (typeof ToPreviewPipe | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
|
|
23
|
+
export declare const CrocoHtmlDeclarations: (typeof UploadFilesBtnComponent | typeof AddFilesBtnComponent | typeof XmlTagExternalVideoComponent | typeof XmlTagHeaderInnerTextViewComponent | typeof XmlTagHtmlViewComponent | typeof XmlTagTableViewComponent | typeof FileImageTagViewComponent | typeof HtmlRawViewComponent | typeof XmlTagCustomWidgetComponent | typeof XmlTagViewComponent | typeof HtmlRawEditorComponent | typeof FileIdSelectComponent | typeof ImageEditorComponent | typeof TextEditorComponent | typeof CustomWidgetEditorComponent | typeof MainEditorBlockComponent | typeof VisualEditorComponent | typeof ToPreviewPipe | typeof MainEditorComponent | typeof TagToSpanPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
|
|
24
|
+
export declare const MaterialModules: (typeof MatCardModule)[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface ImageRestrictions {
|
|
2
|
+
maxWidth: number | undefined;
|
|
3
|
+
maxHeight: number | undefined;
|
|
4
|
+
}
|
|
5
|
+
export interface FileImageTag {
|
|
6
|
+
type: string;
|
|
7
|
+
data: FileImageTagData;
|
|
8
|
+
}
|
|
9
|
+
export interface FileImageTagData {
|
|
10
|
+
src: string;
|
|
11
|
+
fileId: string;
|
|
12
|
+
screenMediaRequest: string;
|
|
13
|
+
}
|
|
14
|
+
export interface IMediaRequest {
|
|
15
|
+
minScreenWidth: number;
|
|
16
|
+
maxScreenWidth: number;
|
|
17
|
+
maxImageHeight?: number;
|
|
18
|
+
maxImageWidth?: number;
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface TagItem {
|
|
2
|
+
/**
|
|
3
|
+
* Название тега
|
|
4
|
+
*/
|
|
5
|
+
tag: string;
|
|
6
|
+
displayValue: string;
|
|
7
|
+
isCustom: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface HtmlBodyTag {
|
|
10
|
+
tagDescription: TagItem;
|
|
11
|
+
innerHtml: string;
|
|
12
|
+
attributes: Object;
|
|
13
|
+
presentOrEdit: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface BaseApiResponse {
|
|
16
|
+
isSucceeded: boolean;
|
|
17
|
+
message: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Type } from "@angular/core";
|
|
2
|
+
import { IMediaRequest } from "../models";
|
|
3
|
+
import { VisualEditorComponent } from "../components";
|
|
4
|
+
export interface CrocoHtmlOptions {
|
|
5
|
+
/**
|
|
6
|
+
* Формат сслыки для показа изображений из публичных файлов.
|
|
7
|
+
* Содержит переменные: {sizeType} - тип размера, {fileId} - идентификатор изображения.
|
|
8
|
+
*/
|
|
9
|
+
publicImageResizedUrlFormat: string;
|
|
10
|
+
/**
|
|
11
|
+
* Формат сслыки для показа изображений из приватный файлов.
|
|
12
|
+
* Содержит переменные: {sizeType} - тип размера, {fileId} - идентификатор изображения.
|
|
13
|
+
*/
|
|
14
|
+
privateImageResizedUrlFormat: string;
|
|
15
|
+
globalMediaRequests?: IMediaRequest[];
|
|
16
|
+
/**
|
|
17
|
+
* Компонент для рендера кастомных виджетов
|
|
18
|
+
*/
|
|
19
|
+
customWidgetRendererComponent?: Type<any>;
|
|
20
|
+
/**
|
|
21
|
+
* Использовать кнопку для отрисовки кастомных виджетов
|
|
22
|
+
*/
|
|
23
|
+
useCustomWidgetsButton: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Показывать кнопку для запуска настроек
|
|
26
|
+
*/
|
|
27
|
+
showSettingsButton: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Обработчик нажатия на кнопку кастомных виджетов
|
|
30
|
+
* @returns
|
|
31
|
+
*/
|
|
32
|
+
customWidgetClickHandler: (editor: VisualEditorComponent) => void;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Опции для работы с файлами в редакторе разметки
|
|
36
|
+
*/
|
|
37
|
+
export interface CrocoHtmlEditorFileOptions {
|
|
38
|
+
/**
|
|
39
|
+
* Использовать приватные файлы
|
|
40
|
+
*/
|
|
41
|
+
usePrivateFiles: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Свойство которое подставляется в фильтр с файлами
|
|
44
|
+
*/
|
|
45
|
+
applicationId: string | null;
|
|
46
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TagToSpanPipe implements PipeTransform {
|
|
4
|
+
transform(value: string[]): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagToSpanPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TagToSpanPipe, "tagToSpan", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { HtmlBodyTag } from '../models/models';
|
|
3
|
+
import { CrocoHtmlOptions } from '../options';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ToHtmlBodyTagsPipe implements PipeTransform {
|
|
6
|
+
private readonly _options;
|
|
7
|
+
constructor(_options: CrocoHtmlOptions);
|
|
8
|
+
transform(value: string): HtmlBodyTag[];
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToHtmlBodyTagsPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToHtmlBodyTagsPipe, "tohtmlbodytags", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { InterfaceBlock } from "../extensions/InterfaceBlock";
|
|
3
|
+
import { CrocoHtmlOptions } from '../options';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ToPreviewHtmlPipe implements PipeTransform {
|
|
6
|
+
private readonly _options;
|
|
7
|
+
constructor(_options: CrocoHtmlOptions);
|
|
8
|
+
transform(value: string): InterfaceBlock[];
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToPreviewHtmlPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToPreviewHtmlPipe, "topreviewhtml", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { SpriteIdsType } from "../../sprites-ids.type";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SpriteIconPathPipe implements PipeTransform {
|
|
5
|
+
transform(id: SpriteIdsType): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpriteIconPathPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SpriteIconPathPipe, "spriteIconPath", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { InterfaceBlock } from "../extensions/InterfaceBlock";
|
|
3
|
+
import { CrocoHtmlOptions } from '../options';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ToPreviewPipe implements PipeTransform {
|
|
6
|
+
private readonly _options;
|
|
7
|
+
constructor(_options: CrocoHtmlOptions);
|
|
8
|
+
transform(value: string): InterfaceBlock[];
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToPreviewPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToPreviewPipe, "topreview", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CrocoHtmlEditorFileOptions } from "../options";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CrocoHtmlFileOptionsService {
|
|
4
|
+
private readonly localStorageToken;
|
|
5
|
+
private readonly defaultOptions;
|
|
6
|
+
set(data: CrocoHtmlEditorFileOptions): void;
|
|
7
|
+
get(): CrocoHtmlEditorFileOptions;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrocoHtmlFileOptionsService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CrocoHtmlFileOptionsService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Subject } from "rxjs";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Сервис для обработки логики разметки
|
|
5
|
+
*/
|
|
6
|
+
export declare class HtmlViewController {
|
|
7
|
+
onScriptCalled(script: string): void;
|
|
8
|
+
scriptCalled: Subject<string>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlViewController, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HtmlViewController>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { HttpClient, HttpEvent } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface UploadPrivateFilesWithProgressEvent {
|
|
5
|
+
loading: boolean;
|
|
6
|
+
response?: PrivateFilesCreatedResult;
|
|
7
|
+
uploadingLoaded: number;
|
|
8
|
+
uploadingTotal: number;
|
|
9
|
+
}
|
|
10
|
+
export interface PrivateFilesCreatedResult {
|
|
11
|
+
succeeded: boolean;
|
|
12
|
+
errorMessage: string;
|
|
13
|
+
setId: string;
|
|
14
|
+
fileIds: Array<string>;
|
|
15
|
+
}
|
|
16
|
+
export declare class PrivateFileUploadService {
|
|
17
|
+
private readonly _httpClient;
|
|
18
|
+
private readonly baseUrl;
|
|
19
|
+
constructor(_httpClient: HttpClient, baseUrl: string);
|
|
20
|
+
postFiles(files: FileList, applicationId: string | null): Observable<PrivateFilesCreatedResult>;
|
|
21
|
+
postFilesInner(formData: FormData, applicationId: string | null, withProgress: true): Observable<HttpEvent<PrivateFilesCreatedResult>>;
|
|
22
|
+
postFilesInner(formData: FormData, applicationId: string | null, withProgress?: false): Observable<PrivateFilesCreatedResult>;
|
|
23
|
+
postFilesInner(formData: FormData, applicationId: string | null, withProgress: boolean): Observable<PrivateFilesCreatedResult> | Observable<HttpEvent<PrivateFilesCreatedResult>>;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PrivateFileUploadService, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PrivateFileUploadService>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { FileType, GetListResult, SearchFilesRequest } from "./file-models";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface PrivateFileNameModel {
|
|
6
|
+
id: string;
|
|
7
|
+
setId: string;
|
|
8
|
+
fileName: string;
|
|
9
|
+
type: FileType;
|
|
10
|
+
downloadUrl: string;
|
|
11
|
+
createdOn: string;
|
|
12
|
+
applicationId: string;
|
|
13
|
+
}
|
|
14
|
+
export declare class PrivateFilesQueryService {
|
|
15
|
+
private readonly _httpClient;
|
|
16
|
+
private readonly _baseControllerUrl;
|
|
17
|
+
constructor(_httpClient: HttpClient, baseUrl: string);
|
|
18
|
+
search(model: SearchFilesRequest): Observable<GetListResult<PrivateFileNameModel>>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PrivateFilesQueryService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PrivateFilesQueryService>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { HttpClient, HttpEvent } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface UploadPublicFilesWithProgressEvent {
|
|
5
|
+
loading: boolean;
|
|
6
|
+
response?: PublicFilesUploadResponse;
|
|
7
|
+
uploadingLoaded: number;
|
|
8
|
+
uploadingTotal: number;
|
|
9
|
+
}
|
|
10
|
+
export interface PublicFilesUploadResponse {
|
|
11
|
+
succeeded: boolean;
|
|
12
|
+
errorMessage: string;
|
|
13
|
+
fileIds: Array<number>;
|
|
14
|
+
filesUploadedEventId: string;
|
|
15
|
+
}
|
|
16
|
+
export declare class PublicFileUploadService {
|
|
17
|
+
private readonly _httpClient;
|
|
18
|
+
private readonly baseUrl;
|
|
19
|
+
constructor(_httpClient: HttpClient, baseUrl: string);
|
|
20
|
+
postFiles(files: FileList, applicationId: string | null): Observable<PublicFilesUploadResponse>;
|
|
21
|
+
postFilesInner(formData: FormData, applicationId: string | null, withProgress: true): Observable<HttpEvent<PublicFilesUploadResponse>>;
|
|
22
|
+
postFilesInner(formData: FormData, applicationId: string | null, withProgress?: false): Observable<PublicFilesUploadResponse>;
|
|
23
|
+
postFilesInner(formData: FormData, applicationId: string | null, withProgress: boolean): Observable<PublicFilesUploadResponse> | Observable<HttpEvent<PublicFilesUploadResponse>>;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PublicFileUploadService, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PublicFileUploadService>;
|
|
26
|
+
}
|