croco-html 4.2.5 → 4.3.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.
Files changed (27) hide show
  1. package/fesm2022/croco-html.mjs +1 -1
  2. package/fesm2022/croco-html.mjs.map +1 -1
  3. package/lib/components/xml-tags/defined-custom-tag-view/defined-custom-tag-view.component.d.ts +1 -1
  4. package/lib/components/xml-tags/file-image-tag-view/file-image-tag-view.component.d.ts +1 -1
  5. package/lib/components/xml-tags/xml-tag-custom-button/xml-tag-button.component.d.ts +1 -1
  6. package/lib/components/xml-tags/xml-tag-download-file-button/xml-tag-download-file-button.component.d.ts +1 -1
  7. package/lib/components/xml-tags/xml-tag-external-video/xml-tag-external-video.component.d.ts +1 -1
  8. package/lib/components/xml-tags/xml-tag-view/xml-tag-view.component.d.ts +1 -1
  9. package/lib/extensions/BodyTagsExtensions.d.ts +1 -1
  10. package/lib/extensions/BootstrapTableMethods.d.ts +1 -1
  11. package/lib/extensions/HtmlExtractionMethods.d.ts +1 -1
  12. package/lib/extensions/TableMethods.d.ts +1 -1
  13. package/lib/{extensions → models}/InterfaceBlock.d.ts +1 -1
  14. package/lib/models/index.d.ts +1 -0
  15. package/lib/pipes/ToPreviewHtmlPipe.d.ts +1 -1
  16. package/lib/pipes/to-preview.pipe.d.ts +1 -1
  17. package/lib/tag-services/ButtonTagService.d.ts +1 -1
  18. package/lib/tag-services/CustomWidgetTagService.d.ts +1 -1
  19. package/lib/tag-services/DownloadButtonTagService.d.ts +1 -1
  20. package/lib/tag-services/ExternalVideoTagService.d.ts +1 -1
  21. package/lib/tag-services/FileImageTagService.d.ts +1 -1
  22. package/lib/tag-services/HtmlRawTagService.d.ts +1 -1
  23. package/lib/tag-services/IMarkUpTagService.d.ts +1 -1
  24. package/lib/tag-services/TableTagService.d.ts +1 -1
  25. package/lib/tag-services/TextTagHtmlMarkupTagService.d.ts +1 -1
  26. package/package.json +1 -1
  27. package/public-api.d.ts +1 -0
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from '../../../extensions/InterfaceBlock';
1
+ import { InterfaceBlock } from '../../../models/InterfaceBlock';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class DefinedCustomTagViewComponent {
4
4
  set data(value: InterfaceBlock);
@@ -1,5 +1,5 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
- import { InterfaceBlock } from '../../../extensions/InterfaceBlock';
2
+ import { InterfaceBlock } from '../../../models/InterfaceBlock';
3
3
  import { ScreenWidthService } from "../../../services/screen-width.service";
4
4
  import { CrocoHtmlOptions } from '../../../options';
5
5
  import { IImageMediaRequest } from '../../../models';
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "../../../extensions/InterfaceBlock";
1
+ import { InterfaceBlock } from "../../../models/InterfaceBlock";
2
2
  import { HtmlViewController } from '../../../services/HtmlViewController';
3
3
  import { ButtonTagData } from '../../../tag-services/ButtonTagService';
4
4
  import * as i0 from "@angular/core";
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "../../../extensions/InterfaceBlock";
1
+ import { InterfaceBlock } from "../../../models/InterfaceBlock";
2
2
  import { BlobCreateService } from "../../../services/blob-create.service";
3
3
  import { DownloadButtonTagData } from '../../../tag-services/DownloadButtonTagService';
4
4
  import * as i0 from "@angular/core";
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "../../../extensions/InterfaceBlock";
1
+ import { InterfaceBlock } from "../../../models/InterfaceBlock";
2
2
  import { ExternalVideoSupportedTypes, ExternalVideoTagData } from '../../../extensions';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class XmlTagExternalVideoComponent {
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "../../../extensions/InterfaceBlock";
1
+ import { InterfaceBlock } from "../../../models/InterfaceBlock";
2
2
  import { CrocoHtmlOptions } from '../../../options';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class XmlTagViewComponent {
@@ -1,5 +1,5 @@
1
1
  import { HtmlBodyTag } from "../models/models";
2
- import { InterfaceBlock } from "./InterfaceBlock";
2
+ import { InterfaceBlock } from "../models/InterfaceBlock";
3
3
  import { CrocoHtmlOptions } from "../options";
4
4
  import { IMarkUpTagService } from "../tag-services/IMarkUpTagService";
5
5
  export declare class BodyTagsExtensions {
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "./InterfaceBlock";
1
+ import { InterfaceBlock } from "../models/InterfaceBlock";
2
2
  import { TableHeaderData, TableRowData } from './TableMethods';
3
3
  export declare class BootstrapTableMethods {
4
4
  static BuildTable(header: TableHeaderData, rows: TableRowData[]): string;
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "./InterfaceBlock";
1
+ import { InterfaceBlock } from "../models/InterfaceBlock";
2
2
  import { CrocoHtmlOptions } from "../options";
3
3
  export declare class HtmlExtractionMethods {
4
4
  static transformHtmlElementToBlocks(element: HTMLElement, options: CrocoHtmlOptions): InterfaceBlock[];
@@ -1,6 +1,6 @@
1
1
  import { BaseApiResponse } from '../models';
2
2
  import { CrocoHtmlOptions } from '../options';
3
- import { InterfaceBlock } from "./InterfaceBlock";
3
+ import { InterfaceBlock } from "../models/InterfaceBlock";
4
4
  export interface TableHeaderData {
5
5
  type: "table-header";
6
6
  columns: string[];
@@ -1,4 +1,4 @@
1
- import { BaseApiResponse } from "../models";
1
+ import { BaseApiResponse } from ".";
2
2
  export interface InterfaceBlock {
3
3
  /**
4
4
  * Название тега
@@ -1,2 +1,3 @@
1
1
  export * from './image-models';
2
2
  export * from './models';
3
+ export * from './InterfaceBlock';
@@ -1,5 +1,5 @@
1
1
  import { PipeTransform } from '@angular/core';
2
- import { InterfaceBlock } from "../extensions/InterfaceBlock";
2
+ import { InterfaceBlock } from "../models/InterfaceBlock";
3
3
  import { CrocoHtmlOptions } from '../options';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ToPreviewHtmlPipe implements PipeTransform {
@@ -1,5 +1,5 @@
1
1
  import { PipeTransform } from '@angular/core';
2
- import { InterfaceBlock } from "../extensions/InterfaceBlock";
2
+ import { InterfaceBlock } from "../models/InterfaceBlock";
3
3
  import { CrocoHtmlOptions } from '../options';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ToPreviewPipe implements PipeTransform {
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "../extensions/InterfaceBlock";
1
+ import { InterfaceBlock } from "../models/InterfaceBlock";
2
2
  import { HtmlBodyTag } from "../models";
3
3
  import { CrocoHtmlOptions } from "../options";
4
4
  import { IMarkUpTagService, IVisualEditorProps } from "./IMarkUpTagService";
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "../extensions/InterfaceBlock";
1
+ import { InterfaceBlock } from "../models/InterfaceBlock";
2
2
  import { HtmlBodyTag } from "../models";
3
3
  import { CrocoHtmlOptions } from "../options";
4
4
  import { IMarkUpTagService, IVisualEditorProps } from "./IMarkUpTagService";
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "../extensions/InterfaceBlock";
1
+ import { InterfaceBlock } from "../models/InterfaceBlock";
2
2
  import { HtmlBodyTag } from "../models";
3
3
  import { CrocoHtmlOptions } from "../options";
4
4
  import { IMarkUpTagService, IVisualEditorProps } from "./IMarkUpTagService";
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "../extensions/InterfaceBlock";
1
+ import { InterfaceBlock } from "../models/InterfaceBlock";
2
2
  import { HtmlBodyTag } from "../models";
3
3
  import { CrocoHtmlOptions } from "../options";
4
4
  import { IMarkUpTagService, IVisualEditorProps } from "./IMarkUpTagService";
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "../extensions/InterfaceBlock";
1
+ import { InterfaceBlock } from "../models/InterfaceBlock";
2
2
  import { HtmlBodyTag } from "../models";
3
3
  import { CrocoHtmlOptions } from "../options";
4
4
  import { IMarkUpTagService } from "../tag-services/IMarkUpTagService";
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "../extensions/InterfaceBlock";
1
+ import { InterfaceBlock } from "../models/InterfaceBlock";
2
2
  import { HtmlBodyTag } from "../models";
3
3
  import { CrocoHtmlOptions } from "../options";
4
4
  import { IMarkUpTagService, IVisualEditorProps } from "./IMarkUpTagService";
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "../extensions/InterfaceBlock";
1
+ import { InterfaceBlock } from "../models/InterfaceBlock";
2
2
  import { HtmlBodyTag } from "../models";
3
3
  import { CrocoHtmlOptions } from "../options";
4
4
  export interface IVisualEditorProps {
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "../extensions/InterfaceBlock";
1
+ import { InterfaceBlock } from "../models/InterfaceBlock";
2
2
  import { HtmlBodyTag } from "../models";
3
3
  import { CrocoHtmlOptions } from "../options";
4
4
  import { IMarkUpTagService, IVisualEditorProps } from "./IMarkUpTagService";
@@ -1,4 +1,4 @@
1
- import { InterfaceBlock } from "../extensions/InterfaceBlock";
1
+ import { InterfaceBlock } from "../models/InterfaceBlock";
2
2
  import { HtmlBodyTag } from "../models";
3
3
  import { CrocoHtmlOptions } from "../options";
4
4
  import { IMarkUpTagService, IVisualEditorProps } from "../tag-services/IMarkUpTagService";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "croco-html",
3
- "version": "4.2.5",
3
+ "version": "4.3.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.14",
6
6
  "@angular/core": "^19.2.14",
package/public-api.d.ts CHANGED
@@ -6,3 +6,4 @@ export * from './lib/models';
6
6
  export * from './lib/consts';
7
7
  export * from './lib/services';
8
8
  export * from './lib/options';
9
+ export * from './lib/tag-services';