croco-html 0.2.9 → 0.2.11

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.
@@ -38,35 +38,35 @@ import * as i8 from '@angular/material/chips';
38
38
  import { MatChipsModule } from '@angular/material/chips';
39
39
  import * as i2$3 from '@angular/material/table';
40
40
  import { MatTableModule } from '@angular/material/table';
41
- import * as i34 from '@angular/material/tooltip';
41
+ import * as i35 from '@angular/material/tooltip';
42
42
  import { MatTooltipModule } from '@angular/material/tooltip';
43
- import * as i35 from '@angular/material/checkbox';
43
+ import * as i36 from '@angular/material/checkbox';
44
44
  import { MatCheckboxModule } from '@angular/material/checkbox';
45
- import * as i47 from '@angular/material/autocomplete';
45
+ import * as i48 from '@angular/material/autocomplete';
46
46
  import { MatAutocompleteModule } from '@angular/material/autocomplete';
47
- import * as i42 from '@angular/material/datepicker';
47
+ import * as i43 from '@angular/material/datepicker';
48
48
  import { MatDatepickerModule } from '@angular/material/datepicker';
49
- import * as i40 from '@angular/material/dialog';
49
+ import * as i41 from '@angular/material/dialog';
50
50
  import { MatDialogModule } from '@angular/material/dialog';
51
- import * as i25 from '@angular/material/expansion';
51
+ import * as i26 from '@angular/material/expansion';
52
52
  import { MatExpansionModule } from '@angular/material/expansion';
53
- import * as i43 from '@angular/material/grid-list';
53
+ import * as i44 from '@angular/material/grid-list';
54
54
  import { MatGridListModule } from '@angular/material/grid-list';
55
- import * as i37 from '@angular/material/list';
55
+ import * as i38 from '@angular/material/list';
56
56
  import { MatListModule } from '@angular/material/list';
57
- import * as i31 from '@angular/material/menu';
57
+ import * as i32 from '@angular/material/menu';
58
58
  import { MatMenuModule } from '@angular/material/menu';
59
- import * as i41 from '@angular/material/paginator';
59
+ import * as i42 from '@angular/material/paginator';
60
60
  import { MatPaginatorModule } from '@angular/material/paginator';
61
- import * as i28 from '@angular/material/progress-bar';
61
+ import * as i29 from '@angular/material/progress-bar';
62
62
  import { MatProgressBarModule } from '@angular/material/progress-bar';
63
- import * as i48 from '@angular/material/sidenav';
63
+ import * as i49 from '@angular/material/sidenav';
64
64
  import { MatSidenavModule } from '@angular/material/sidenav';
65
- import * as i44 from '@angular/material/slide-toggle';
65
+ import * as i45 from '@angular/material/slide-toggle';
66
66
  import { MatSlideToggleModule } from '@angular/material/slide-toggle';
67
- import * as i45 from '@angular/material/tree';
67
+ import * as i46 from '@angular/material/tree';
68
68
  import { MatTreeModule } from '@angular/material/tree';
69
- import * as i23 from '@angular/material/badge';
69
+ import * as i24 from '@angular/material/badge';
70
70
  import { MatBadgeModule } from '@angular/material/badge';
71
71
 
72
72
  class FileImageTagDataConsts {
@@ -1421,6 +1421,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1421
1421
  }]
1422
1422
  }] });
1423
1423
 
1424
+ class ToPreviewHtmlPipe {
1425
+ transform(value, options) {
1426
+ return HtmlExtractionMethods.transformHtmlStringToBlocks(value, options);
1427
+ }
1428
+ }
1429
+ ToPreviewHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToPreviewHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1430
+ ToPreviewHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ToPreviewHtmlPipe, name: "topreviewhtml" });
1431
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToPreviewHtmlPipe, decorators: [{
1432
+ type: Pipe,
1433
+ args: [{
1434
+ name: 'topreviewhtml'
1435
+ }]
1436
+ }] });
1437
+
1424
1438
  class TableBuilder {
1425
1439
  static getTableMarkUp(rows, cols, generateHeaders) {
1426
1440
  rows = +rows;
@@ -1481,6 +1495,7 @@ const CrocoPipes = [
1481
1495
  TagToSpanPipe,
1482
1496
  ToPreviewPipe,
1483
1497
  ToHtmlBodyTagsPipe,
1498
+ ToPreviewHtmlPipe
1484
1499
  ];
1485
1500
  const CrocoHtmlDeclarations = [
1486
1501
  UploadFilesBtnComponent,
@@ -1523,10 +1538,10 @@ const MaterialModules = [
1523
1538
  class CrocoHtmlModule {
1524
1539
  }
1525
1540
  CrocoHtmlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CrocoHtmlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1526
- CrocoHtmlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CrocoHtmlModule, declarations: [UploadFilesBtnComponent, XmlTagTableViewComponent, XmlTagViewComponent, XmlTagRichTextViewComponent, XmlTagHtmlViewComponent, XmlTagTextViewComponent, XmlTagHeaderTextViewComponent, XmlTagHeaderInnerTextViewComponent, XmlTagExternalVideoComponent, MainEditorComponent, FileIdSelectComponent, TextEditorComponent, ExternalVideoBlockComponent, ImageEditorComponent, MainEditorBlockComponent, VisualEditorComponent, AddFilesBtnComponent, HtmlRawEditorComponent, RichTextToHtmlPipe, TagToSpanPipe, ToPreviewPipe, ToHtmlBodyTagsPipe], imports: [CommonModule,
1541
+ CrocoHtmlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CrocoHtmlModule, declarations: [UploadFilesBtnComponent, XmlTagTableViewComponent, XmlTagViewComponent, XmlTagRichTextViewComponent, XmlTagHtmlViewComponent, XmlTagTextViewComponent, XmlTagHeaderTextViewComponent, XmlTagHeaderInnerTextViewComponent, XmlTagExternalVideoComponent, MainEditorComponent, FileIdSelectComponent, TextEditorComponent, ExternalVideoBlockComponent, ImageEditorComponent, MainEditorBlockComponent, VisualEditorComponent, AddFilesBtnComponent, HtmlRawEditorComponent, RichTextToHtmlPipe, TagToSpanPipe, ToPreviewPipe, ToHtmlBodyTagsPipe, ToPreviewHtmlPipe], imports: [CommonModule,
1527
1542
  FormsModule,
1528
1543
  ReactiveFormsModule,
1529
- NgSelectModule, i23.MatBadgeModule, i2$3.MatTableModule, i25.MatExpansionModule, i3.MatFormFieldModule, i2$2.MatSnackBarModule, i28.MatProgressBarModule, i4$1.MatProgressSpinnerModule, i6$2.MatTabsModule, i31.MatMenuModule, i5$2.MatCardModule, i6$1.MatSelectModule, i34.MatTooltipModule, i35.MatCheckboxModule, i8.MatChipsModule, i37.MatListModule, i2.MatButtonModule, i4.MatInputModule, i40.MatDialogModule, i41.MatPaginatorModule, i42.MatDatepickerModule, i43.MatGridListModule, i44.MatSlideToggleModule, i45.MatTreeModule, i7.MatNativeDateModule, i47.MatAutocompleteModule, i48.MatSidenavModule, i5$1.MatIconModule, i10.DragDropModule, i6.MatButtonToggleModule], exports: [UploadFilesBtnComponent, XmlTagTableViewComponent, XmlTagViewComponent, XmlTagRichTextViewComponent, XmlTagHtmlViewComponent, XmlTagTextViewComponent, XmlTagHeaderTextViewComponent, XmlTagHeaderInnerTextViewComponent, XmlTagExternalVideoComponent, MainEditorComponent, FileIdSelectComponent, TextEditorComponent, ExternalVideoBlockComponent, ImageEditorComponent, MainEditorBlockComponent, VisualEditorComponent, AddFilesBtnComponent, HtmlRawEditorComponent, RichTextToHtmlPipe, TagToSpanPipe, ToPreviewPipe, ToHtmlBodyTagsPipe] });
1544
+ NgSelectModule, i24.MatBadgeModule, i2$3.MatTableModule, i26.MatExpansionModule, i3.MatFormFieldModule, i2$2.MatSnackBarModule, i29.MatProgressBarModule, i4$1.MatProgressSpinnerModule, i6$2.MatTabsModule, i32.MatMenuModule, i5$2.MatCardModule, i6$1.MatSelectModule, i35.MatTooltipModule, i36.MatCheckboxModule, i8.MatChipsModule, i38.MatListModule, i2.MatButtonModule, i4.MatInputModule, i41.MatDialogModule, i42.MatPaginatorModule, i43.MatDatepickerModule, i44.MatGridListModule, i45.MatSlideToggleModule, i46.MatTreeModule, i7.MatNativeDateModule, i48.MatAutocompleteModule, i49.MatSidenavModule, i5$1.MatIconModule, i10.DragDropModule, i6.MatButtonToggleModule], exports: [UploadFilesBtnComponent, XmlTagTableViewComponent, XmlTagViewComponent, XmlTagRichTextViewComponent, XmlTagHtmlViewComponent, XmlTagTextViewComponent, XmlTagHeaderTextViewComponent, XmlTagHeaderInnerTextViewComponent, XmlTagExternalVideoComponent, MainEditorComponent, FileIdSelectComponent, TextEditorComponent, ExternalVideoBlockComponent, ImageEditorComponent, MainEditorBlockComponent, VisualEditorComponent, AddFilesBtnComponent, HtmlRawEditorComponent, RichTextToHtmlPipe, TagToSpanPipe, ToPreviewPipe, ToHtmlBodyTagsPipe, ToPreviewHtmlPipe] });
1530
1545
  CrocoHtmlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CrocoHtmlModule, imports: [CommonModule,
1531
1546
  FormsModule,
1532
1547
  ReactiveFormsModule,
@@ -1558,5 +1573,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
1558
1573
  * Generated bundle index. Do not edit.
1559
1574
  */
1560
1575
 
1561
- export { AddFilesBtnComponent, AngularMaterialTableMethods, BodyTagsExtensions, BootstrapTableMethods, CrocoHtmlModule, ExternalVideoBlockComponent, ExternalVideoSupportedTypes, ExternalVideoTagDataConsts, FileIdSelectComponent, FileImageTagDataConsts, HtmlRawEditorComponent, ImageEditorComponent, ImageMethods, MainEditorBlockComponent, MainEditorComponent, RichTextToHtmlPipe, TableBuilder, TableMethods, TableTypes, TagToSpanPipe, TextEditorComponent, TextMethods, TextSimpleMethods, TextTag, ToHtmlBodyTagsPipe, ToPreviewPipe, UploadFilesBtnComponent, VideoMethods, VisualEditorComponent, XmlExtensions, XmlTagExternalVideoComponent, XmlTagHeaderInnerTextViewComponent, XmlTagHeaderTextViewComponent, XmlTagHtmlViewComponent, XmlTagRichTextViewComponent, XmlTagTableViewComponent, XmlTagTextViewComponent, XmlTagViewComponent };
1576
+ export { AddFilesBtnComponent, AngularMaterialTableMethods, BodyTagsExtensions, BootstrapTableMethods, CrocoHtmlModule, ExternalVideoBlockComponent, ExternalVideoSupportedTypes, ExternalVideoTagDataConsts, FileIdSelectComponent, FileImageTagDataConsts, HtmlRawEditorComponent, ImageEditorComponent, ImageMethods, MainEditorBlockComponent, MainEditorComponent, RichTextToHtmlPipe, TableBuilder, TableMethods, TableTypes, TagToSpanPipe, TextEditorComponent, TextMethods, TextSimpleMethods, TextTag, ToHtmlBodyTagsPipe, ToPreviewHtmlPipe, ToPreviewPipe, UploadFilesBtnComponent, VideoMethods, VisualEditorComponent, XmlExtensions, XmlTagExternalVideoComponent, XmlTagHeaderInnerTextViewComponent, XmlTagHeaderTextViewComponent, XmlTagHtmlViewComponent, XmlTagRichTextViewComponent, XmlTagTableViewComponent, XmlTagTextViewComponent, XmlTagViewComponent };
1562
1577
  //# sourceMappingURL=croco-html.mjs.map