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.
@@ -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;
@@ -40,4 +40,5 @@ export interface BodyComponent<T> {
40
40
  props: T;
41
41
  alias?: string;
42
42
  textColor?: string;
43
+ identifier?: string;
43
44
  }
@@ -0,0 +1,2 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const organization_name: InjectionToken<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ctt-babylon",
3
- "version": "0.10.11",
3
+ "version": "0.10.12",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
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';