ctt-babylon 0.9.24 → 0.9.25
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/esm2022/lib/components/core/babylon-blog-details/babylon-blog-details.component.mjs +55 -7
- package/fesm2022/ctt-babylon.mjs +53 -5
- package/fesm2022/ctt-babylon.mjs.map +1 -1
- package/lib/components/core/babylon-blog-details/babylon-blog-details.component.d.ts +10 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
1
|
+
import { OnChanges, OnDestroy, SimpleChanges, PipeTransform } from '@angular/core';
|
|
2
2
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
3
|
import { BabylonTagsI, BabylonTextsColorsI } from '../../../interfaces';
|
|
4
4
|
import { BabylonButtonI } from '../../../interfaces/babylon-button.interface';
|
|
@@ -12,7 +12,8 @@ export declare class SafeHtmlPipe implements PipeTransform {
|
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
|
|
13
13
|
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", true>;
|
|
14
14
|
}
|
|
15
|
-
export declare class BabylonBlogDetailsComponent {
|
|
15
|
+
export declare class BabylonBlogDetailsComponent implements OnChanges, OnDestroy {
|
|
16
|
+
private document;
|
|
16
17
|
title?: string;
|
|
17
18
|
subtitle?: string;
|
|
18
19
|
description?: string;
|
|
@@ -32,6 +33,13 @@ export declare class BabylonBlogDetailsComponent {
|
|
|
32
33
|
relatedPosts?: BabylonBlogPostI[];
|
|
33
34
|
searchPlaceHolder?: string;
|
|
34
35
|
share?: string;
|
|
36
|
+
private scriptId;
|
|
37
|
+
constructor(document: Document);
|
|
38
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
private updateJsonLd;
|
|
41
|
+
private insertScript;
|
|
42
|
+
private removeJsonLd;
|
|
35
43
|
get currentUrl(): string;
|
|
36
44
|
get shareText(): string;
|
|
37
45
|
get facebookShareUrl(): string;
|