croco-html 0.2.9 → 0.2.10
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/pipes/ToPreviewHtmlPipe.mjs +17 -0
- package/esm2020/lib/pipes/index.mjs +2 -1
- package/fesm2015/croco-html.mjs +15 -1
- package/fesm2015/croco-html.mjs.map +1 -1
- package/fesm2020/croco-html.mjs +15 -1
- package/fesm2020/croco-html.mjs.map +1 -1
- package/lib/pipes/ToPreviewHtmlPipe.d.ts +9 -0
- package/lib/pipes/index.d.ts +1 -0
- package/package.json +1 -1
package/fesm2020/croco-html.mjs
CHANGED
|
@@ -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;
|
|
@@ -1558,5 +1572,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1558
1572
|
* Generated bundle index. Do not edit.
|
|
1559
1573
|
*/
|
|
1560
1574
|
|
|
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 };
|
|
1575
|
+
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
1576
|
//# sourceMappingURL=croco-html.mjs.map
|