croco-html 4.7.0 → 4.7.1

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/lib/index.d.ts CHANGED
@@ -11,13 +11,13 @@ import { VisualEditorComponent } from './components';
11
11
  import { AddFilesBtnComponent } from './components';
12
12
  import { XmlTagExternalVideoComponent } from "./components";
13
13
  import { HtmlRawEditorComponent } from "./components";
14
- import { MatFormFieldModule } from '@angular/material/form-field';
14
+ import { MatTabsModule } from '@angular/material/tabs';
15
15
  import { TagToSpanPipe, ToHtmlBodyTagsPipe, ToPreviewHtmlPipe, ToPreviewPipe } from "./pipes";
16
16
  import { FileImageTagViewComponent, AudioPlayerTagViewComponent, UploadFilesBtnComponent } from "./components";
17
17
  import { HtmlRawViewComponent } from "./components";
18
18
  import { XmlTagCustomWidgetComponent } from "./components";
19
- export declare const EditorComponents: (typeof DefinedCustomEditorBlockComponent | typeof TextEditorComponent | typeof FileIdSelectComponent | typeof ImageEditorComponent | typeof CustomWidgetEditorComponent | typeof HtmlRawEditorComponent | typeof MainEditorBlockComponent | typeof AddFilesBtnComponent | typeof CustomWidgetIconComponent | typeof VisualEditorComponent | typeof MainEditorComponent)[];
20
- export declare const XmlComponents: (typeof FileImageTagViewComponent | typeof AudioPlayerTagViewComponent | typeof XmlTagCustomWidgetComponent | typeof XmlTagExternalVideoComponent | typeof XmlTagTextViewComponent | typeof HtmlRawViewComponent | typeof XmlTagHtmlViewComponent | typeof DefinedCustomTagViewComponent | typeof XmlTagViewComponent)[];
21
- export declare const CrocoPipes: (typeof TagToSpanPipe | typeof ToPreviewPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
22
- export declare const CrocoHtmlDeclarations: (typeof DefinedCustomEditorBlockComponent | typeof TextEditorComponent | typeof FileIdSelectComponent | typeof ImageEditorComponent | typeof FileImageTagViewComponent | typeof AudioPlayerTagViewComponent | typeof XmlTagCustomWidgetComponent | typeof CustomWidgetEditorComponent | typeof XmlTagExternalVideoComponent | typeof XmlTagTextViewComponent | typeof HtmlRawViewComponent | typeof XmlTagHtmlViewComponent | typeof DefinedCustomTagViewComponent | typeof XmlTagViewComponent | typeof UploadFilesBtnComponent | typeof HtmlRawEditorComponent | typeof MainEditorBlockComponent | typeof AddFilesBtnComponent | typeof CustomWidgetIconComponent | typeof VisualEditorComponent | typeof MainEditorComponent | typeof TagToSpanPipe | typeof ToPreviewPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewHtmlPipe)[];
23
- export declare const MaterialModules: (typeof MatFormFieldModule)[];
19
+ export declare const EditorComponents: (typeof VisualEditorComponent | typeof MainEditorComponent | typeof AddFilesBtnComponent | typeof MainEditorBlockComponent | typeof CustomWidgetIconComponent | typeof TextEditorComponent | typeof ImageEditorComponent | typeof HtmlRawEditorComponent | typeof CustomWidgetEditorComponent | typeof DefinedCustomEditorBlockComponent | typeof FileIdSelectComponent)[];
20
+ export declare const XmlComponents: (typeof XmlTagTextViewComponent | typeof HtmlRawViewComponent | typeof FileImageTagViewComponent | typeof AudioPlayerTagViewComponent | typeof XmlTagHtmlViewComponent | typeof XmlTagExternalVideoComponent | typeof XmlTagCustomWidgetComponent | typeof DefinedCustomTagViewComponent | typeof XmlTagViewComponent)[];
21
+ export declare const CrocoPipes: (typeof ToPreviewHtmlPipe | typeof ToHtmlBodyTagsPipe | typeof ToPreviewPipe | typeof TagToSpanPipe)[];
22
+ export declare const CrocoHtmlDeclarations: (typeof ToPreviewHtmlPipe | typeof ToHtmlBodyTagsPipe | typeof VisualEditorComponent | typeof MainEditorComponent | typeof ToPreviewPipe | typeof AddFilesBtnComponent | typeof MainEditorBlockComponent | typeof CustomWidgetIconComponent | typeof TextEditorComponent | typeof ImageEditorComponent | typeof HtmlRawEditorComponent | typeof CustomWidgetEditorComponent | typeof DefinedCustomEditorBlockComponent | typeof FileIdSelectComponent | typeof XmlTagTextViewComponent | typeof HtmlRawViewComponent | typeof FileImageTagViewComponent | typeof AudioPlayerTagViewComponent | typeof XmlTagHtmlViewComponent | typeof XmlTagExternalVideoComponent | typeof XmlTagCustomWidgetComponent | typeof DefinedCustomTagViewComponent | typeof XmlTagViewComponent | typeof UploadFilesBtnComponent | typeof TagToSpanPipe)[];
23
+ export declare const MaterialModules: (typeof MatTabsModule)[];
@@ -7,6 +7,10 @@ export interface CrocoHtmlOptions {
7
7
  * Опции для отображения изображений.
8
8
  */
9
9
  imageOptions: CrocoHtmlImageOptions;
10
+ /**
11
+ * Формат адреса до оригиналов файлов по идентификатору и имени
12
+ */
13
+ fileIdAndNamePathUrlFormat: string;
10
14
  /**
11
15
  * Компонент для рендера кастомных виджетов
12
16
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "croco-html",
3
- "version": "4.7.0",
3
+ "version": "4.7.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.14",
6
6
  "@angular/core": "^19.2.14",