ctt-babylon 0.10.11 → 0.10.12
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 +58 -17
- package/esm2022/lib/components/core/babylon-gr-c2-img/babylon-gr-c2-img.component.mjs +3 -3
- package/esm2022/lib/interfaces/babylon-page-config.interface.mjs +1 -1
- package/esm2022/lib/services/mapper/mapper.service.mjs +2 -1
- package/esm2022/lib/utils/organization-name.token.mjs +6 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/ctt-babylon.mjs +61 -16
- package/fesm2022/ctt-babylon.mjs.map +1 -1
- package/lib/components/core/babylon-blog-details/babylon-blog-details.component.d.ts +5 -1
- package/lib/interfaces/babylon-page-config.interface.d.ts +1 -0
- package/lib/utils/organization-name.token.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -4,6 +4,7 @@ import { BabylonTagsI, BabylonTextsColorsI } from '../../../interfaces';
|
|
|
4
4
|
import { BabylonButtonI } from '../../../interfaces/babylon-button.interface';
|
|
5
5
|
import { BabylonImageI } from '../../../interfaces/babylon-image.interface';
|
|
6
6
|
import { BabylonBlogCategoryI, BabylonBlogPostI } from '../babylon-blog-list';
|
|
7
|
+
import { ActivatedRoute } from '@angular/router';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class SafeHtmlPipe implements PipeTransform {
|
|
9
10
|
private sanitizer;
|
|
@@ -14,6 +15,7 @@ export declare class SafeHtmlPipe implements PipeTransform {
|
|
|
14
15
|
}
|
|
15
16
|
export declare class BabylonBlogDetailsComponent implements OnChanges, OnDestroy {
|
|
16
17
|
private document;
|
|
18
|
+
private route;
|
|
17
19
|
title?: string;
|
|
18
20
|
subtitle?: string;
|
|
19
21
|
description?: string;
|
|
@@ -33,13 +35,15 @@ export declare class BabylonBlogDetailsComponent implements OnChanges, OnDestroy
|
|
|
33
35
|
relatedPosts?: BabylonBlogPostI[];
|
|
34
36
|
searchPlaceHolder?: string;
|
|
35
37
|
share?: string;
|
|
38
|
+
private organizationName;
|
|
36
39
|
private scriptId;
|
|
37
|
-
constructor(document: Document);
|
|
40
|
+
constructor(document: Document, route: ActivatedRoute);
|
|
38
41
|
ngOnChanges(changes: SimpleChanges): void;
|
|
39
42
|
ngOnDestroy(): void;
|
|
40
43
|
private updateJsonLd;
|
|
41
44
|
private insertScript;
|
|
42
45
|
private removeJsonLd;
|
|
46
|
+
private htmlToText;
|
|
43
47
|
get currentUrl(): string;
|
|
44
48
|
get shareText(): string;
|
|
45
49
|
get facebookShareUrl(): string;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -4,5 +4,6 @@ export * from './lib/services';
|
|
|
4
4
|
export * from './lib/interfaces/index';
|
|
5
5
|
export * from './lib/utils';
|
|
6
6
|
export * from './lib/utils/complex-links.token';
|
|
7
|
+
export * from './lib/utils/organization-name.token';
|
|
7
8
|
export * from './lib/Enum';
|
|
8
9
|
export * from './lib/components/external/core/index';
|