simpo-component-library 3.6.970 → 3.6.972
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/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +17 -9
- package/esm2022/lib/sections/view-blog/view-blog.component.mjs +12 -1
- package/fesm2022/simpo-component-library.mjs +24 -6
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/sections/recent-blog-post-section/recent-blog-post-section.component.d.ts +4 -1
- package/lib/sections/view-blog/view-blog.component.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.972.tgz +0 -0
- package/simpo-component-library-3.6.970.tgz +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
2
3
|
import { EventsService } from '../../services/events.service';
|
|
3
4
|
import { RestService } from '../../services/rest.service';
|
|
4
5
|
import { StorageLike } from '../../services/storage-like';
|
|
@@ -11,6 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
11
12
|
export declare class RecentBlogPostSectionComponent extends BaseSection implements OnInit {
|
|
12
13
|
private _eventService;
|
|
13
14
|
private readonly restService;
|
|
15
|
+
private readonly router;
|
|
14
16
|
private readonly storage;
|
|
15
17
|
data?: RecentBlogPostSectionModel;
|
|
16
18
|
index?: number;
|
|
@@ -28,7 +30,7 @@ export declare class RecentBlogPostSectionComponent extends BaseSection implemen
|
|
|
28
30
|
size?: number;
|
|
29
31
|
popularBlogs: any[];
|
|
30
32
|
apiLoading: boolean;
|
|
31
|
-
constructor(_eventService: EventsService, restService: RestService, storage: StorageLike);
|
|
33
|
+
constructor(_eventService: EventsService, restService: RestService, router: Router, storage: StorageLike);
|
|
32
34
|
ngOnInit(): void;
|
|
33
35
|
get headingSpace(): SPACING;
|
|
34
36
|
get stylesLayout(): LayOutModel;
|
|
@@ -41,6 +43,7 @@ export declare class RecentBlogPostSectionComponent extends BaseSection implemen
|
|
|
41
43
|
loadPopularBlogs(): void;
|
|
42
44
|
getSliceParameters(): number[];
|
|
43
45
|
getBlogById(blogId: any): void;
|
|
46
|
+
goToBlog(content: any): void;
|
|
44
47
|
openBlogList(): void;
|
|
45
48
|
editSection(): void;
|
|
46
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecentBlogPostSectionComponent, never>;
|
|
@@ -28,6 +28,7 @@ export declare class ViewBlogComponent implements OnInit, OnChanges, AfterViewIn
|
|
|
28
28
|
get tags(): string[];
|
|
29
29
|
editSection(): void;
|
|
30
30
|
scrollToBlock(event: Event, blockId: string): void;
|
|
31
|
+
private ensureBlockIds;
|
|
31
32
|
private buildTableOfContents;
|
|
32
33
|
isTocAnchor(blockId: string): boolean;
|
|
33
34
|
hasVisibleText(html: string | undefined): boolean;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|