@posiwise/resource-module 0.0.135 → 0.0.136
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/public/components/base/base-resource.component.mjs +127 -0
- package/esm2022/lib/public/components/base/base-top-banner.component.mjs +69 -0
- package/esm2022/lib/public/components/reslease-note-card/release-note-card.component.mjs +9 -9
- package/esm2022/lib/public/components/resource-blogs/resource-blog-top-banner/resource-blog-top-banner.component.mjs +10 -51
- package/esm2022/lib/public/components/resource-blogs/resource-blog.component.mjs +10 -45
- package/esm2022/lib/public/components/resource-case-studies/case-studies-cards/case-studies-cards.component.mjs +9 -9
- package/esm2022/lib/public/components/resource-case-studies/resource-case-studies.component.mjs +16 -66
- package/esm2022/lib/public/components/resource-company-card/resource-company-card.component.mjs +15 -13
- package/esm2022/lib/public/components/resource-edit-card/resource-edit-card.component.mjs +15 -15
- package/esm2022/lib/public/components/resource-integration/integration-top-banner/integration-top-banner.component.mjs +10 -52
- package/esm2022/lib/public/components/resource-integration/resource-integration.component.mjs +10 -9
- package/esm2022/lib/public/components/resource-post/related-resources/related-resources.component.mjs +7 -7
- package/esm2022/lib/public/components/resource-post/related-resources/resource-cards/resource-cards.component.mjs +9 -9
- package/esm2022/lib/public/components/resource-post/resource-post-details/resource-post-details.component.mjs +8 -7
- package/esm2022/lib/public/components/resource-release-notes/resource-release-notes-top-banner/resource-release-notes-top-banner.component.mjs +10 -51
- package/esm2022/lib/public/components/resource-release-notes/resource-release-notes.component.mjs +14 -17
- package/esm2022/lib/public/components/resource-top-banner-edit/resource-top-banner-edit.component.mjs +16 -16
- package/esm2022/lib/public/components/resource-vault/resource-vault.component.mjs +14 -28
- package/esm2022/lib/public/components/resource-videos/resource-video-cards/resource-video-cards.component.mjs +9 -9
- package/esm2022/lib/public/components/resource-videos/resource-videos-top-banner/resource-videos-top-banner.component.mjs +10 -51
- package/esm2022/lib/public/components/resource-videos/resource-videos.component.mjs +10 -45
- package/esm2022/lib/public/components/resource-webinars/replay-event-cards/replay-event-cards.component.mjs +7 -7
- package/esm2022/lib/public/components/resource-webinars/resource-webinars.component.mjs +7 -7
- package/esm2022/lib/public/components/resource-webinars/upcoming-event-cards/upcoming-event-cards.component.mjs +9 -9
- package/esm2022/lib/public/components/resources/resource-tags/resource-tags.component.mjs +9 -9
- package/esm2022/lib/public/components/resources/vault-section/vault-section.component.mjs +20 -18
- package/esm2022/lib/public/components/resources-hub/resources-hub.component.mjs +9 -9
- package/esm2022/lib/public/components/resources-read/resources-read.component.mjs +7 -7
- package/esm2022/lib/public/components/white-papers/white-papers-top-banner/white-papers-top-banner.component.mjs +10 -51
- package/esm2022/lib/public/components/white-papers/white-papers.component.mjs +10 -45
- package/fesm2022/posiwise-resource-module.mjs +418 -584
- package/fesm2022/posiwise-resource-module.mjs.map +1 -1
- package/lib/public/components/base/base-resource.component.d.ts +39 -0
- package/lib/public/components/base/base-top-banner.component.d.ts +30 -0
- package/lib/public/components/reslease-note-card/release-note-card.component.d.ts +3 -2
- package/lib/public/components/resource-blogs/resource-blog-top-banner/resource-blog-top-banner.component.d.ts +6 -21
- package/lib/public/components/resource-blogs/resource-blog.component.d.ts +6 -16
- package/lib/public/components/resource-case-studies/case-studies-cards/case-studies-cards.component.d.ts +3 -2
- package/lib/public/components/resource-case-studies/resource-case-studies.component.d.ts +9 -23
- package/lib/public/components/resource-company-card/resource-company-card.component.d.ts +4 -2
- package/lib/public/components/resource-edit-card/resource-edit-card.component.d.ts +7 -6
- package/lib/public/components/resource-integration/integration-top-banner/integration-top-banner.component.d.ts +6 -22
- package/lib/public/components/resource-integration/resource-integration.component.d.ts +3 -2
- package/lib/public/components/resource-post/related-resources/related-resources.component.d.ts +3 -2
- package/lib/public/components/resource-post/related-resources/resource-cards/resource-cards.component.d.ts +3 -2
- package/lib/public/components/resource-post/resource-post-details/resource-post-details.component.d.ts +3 -2
- package/lib/public/components/resource-release-notes/resource-release-notes-top-banner/resource-release-notes-top-banner.component.d.ts +6 -21
- package/lib/public/components/resource-release-notes/resource-release-notes.component.d.ts +3 -4
- package/lib/public/components/resource-top-banner-edit/resource-top-banner-edit.component.d.ts +6 -5
- package/lib/public/components/resource-vault/resource-vault.component.d.ts +6 -14
- package/lib/public/components/resource-videos/resource-video-cards/resource-video-cards.component.d.ts +3 -2
- package/lib/public/components/resource-videos/resource-videos-top-banner/resource-videos-top-banner.component.d.ts +6 -21
- package/lib/public/components/resource-videos/resource-videos.component.d.ts +6 -16
- package/lib/public/components/resource-webinars/replay-event-cards/replay-event-cards.component.d.ts +3 -2
- package/lib/public/components/resource-webinars/resource-webinars.component.d.ts +3 -2
- package/lib/public/components/resource-webinars/upcoming-event-cards/upcoming-event-cards.component.d.ts +3 -2
- package/lib/public/components/resources/resource-tags/resource-tags.component.d.ts +3 -2
- package/lib/public/components/resources/vault-section/vault-section.component.d.ts +3 -1
- package/lib/public/components/resources-hub/resources-hub.component.d.ts +3 -2
- package/lib/public/components/resources-read/resources-read.component.d.ts +3 -2
- package/lib/public/components/white-papers/white-papers-top-banner/white-papers-top-banner.component.d.ts +6 -21
- package/lib/public/components/white-papers/white-papers.component.d.ts +6 -16
- package/package.json +1 -1
package/lib/public/components/resource-webinars/replay-event-cards/replay-event-cards.component.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { TagService } from '@posiwise/common-services';
|
|
3
|
+
import { AuthService, TagService } from '@posiwise/common-services';
|
|
4
4
|
import { Resource, User } from '@posiwise/common-utilities';
|
|
5
5
|
import { ResourceService } from '../../../../resource.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ReplayEventCardComponent extends AppBaseComponent implements OnInit {
|
|
8
8
|
private readonly resourceService;
|
|
9
|
+
private readonly authService;
|
|
9
10
|
private readonly tagService;
|
|
10
11
|
showEventContent: boolean;
|
|
11
12
|
categoryId: string;
|
|
@@ -17,7 +18,7 @@ export declare class ReplayEventCardComponent extends AppBaseComponent implement
|
|
|
17
18
|
isLoaded: boolean;
|
|
18
19
|
blogPostTag: any;
|
|
19
20
|
user: User;
|
|
20
|
-
constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
|
|
21
|
+
constructor(resourceService: ResourceService, authService: AuthService, tagService: TagService, injector: Injector);
|
|
21
22
|
ngOnInit(): void;
|
|
22
23
|
private getPostTags;
|
|
23
24
|
getPosts(page: number, pageSize: number): void;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { TagService } from '@posiwise/common-services';
|
|
3
|
+
import { AuthService, TagService } from '@posiwise/common-services';
|
|
4
4
|
import { Resource, User } from '@posiwise/common-utilities';
|
|
5
5
|
import { ResourceService } from '../../../resource.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ResourceWebinarComponent extends AppBaseComponent implements OnInit {
|
|
8
8
|
private readonly resourceService;
|
|
9
|
+
private readonly authService;
|
|
9
10
|
private readonly tagService;
|
|
10
11
|
subscriptionId: number;
|
|
11
12
|
masterSubscriptionId: any;
|
|
@@ -16,7 +17,7 @@ export declare class ResourceWebinarComponent extends AppBaseComponent implement
|
|
|
16
17
|
blogPostTag: any;
|
|
17
18
|
isLoaded: boolean;
|
|
18
19
|
user: User;
|
|
19
|
-
constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
|
|
20
|
+
constructor(resourceService: ResourceService, authService: AuthService, tagService: TagService, injector: Injector);
|
|
20
21
|
ngOnInit(): void;
|
|
21
22
|
private getTags;
|
|
22
23
|
private getPostTags;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { TagService } from '@posiwise/common-services';
|
|
3
|
+
import { AuthService, TagService } from '@posiwise/common-services';
|
|
4
4
|
import { Resource, User } from '@posiwise/common-utilities';
|
|
5
5
|
import { ResourceService } from '../../../../resource.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class UpcomingEventCardComponent extends AppBaseComponent implements OnInit {
|
|
8
8
|
private readonly resourceService;
|
|
9
|
+
private readonly authService;
|
|
9
10
|
private readonly tagService;
|
|
10
11
|
showEventContent: boolean;
|
|
11
12
|
categoryId: string;
|
|
@@ -22,7 +23,7 @@ export declare class UpcomingEventCardComponent extends AppBaseComponent impleme
|
|
|
22
23
|
isLoaded: boolean;
|
|
23
24
|
blogPostTag: any;
|
|
24
25
|
user: User;
|
|
25
|
-
constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
|
|
26
|
+
constructor(resourceService: ResourceService, authService: AuthService, tagService: TagService, injector: Injector);
|
|
26
27
|
ngOnInit(): void;
|
|
27
28
|
private getPostTags;
|
|
28
29
|
getPosts(page: number, pageSize: number): void;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { EventEmitter, Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { TagService } from '@posiwise/common-services';
|
|
3
|
+
import { AuthService, TagService } from '@posiwise/common-services';
|
|
4
4
|
import { Tag, User } from '@posiwise/common-utilities';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ResourceTagComponent extends AppBaseComponent implements OnInit {
|
|
7
7
|
private readonly tagService;
|
|
8
|
+
private readonly authService;
|
|
8
9
|
tagsLoaded: EventEmitter<Tag[]>;
|
|
9
10
|
tagSelected: EventEmitter<Tag>;
|
|
10
11
|
tags: any[];
|
|
@@ -14,7 +15,7 @@ export declare class ResourceTagComponent extends AppBaseComponent implements On
|
|
|
14
15
|
loaded: boolean;
|
|
15
16
|
selectedTag: Tag | null;
|
|
16
17
|
user: User;
|
|
17
|
-
constructor(tagService: TagService, injector: Injector);
|
|
18
|
+
constructor(tagService: TagService, authService: AuthService, injector: Injector);
|
|
18
19
|
ngOnInit(): void;
|
|
19
20
|
navigateToTagList(): void;
|
|
20
21
|
selectTag(tag: Tag): void;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { AuthService } from '@posiwise/common-services';
|
|
4
5
|
import { User } from '@posiwise/common-utilities';
|
|
5
6
|
import { CustomUploaderComponent } from '@posiwise/shared-components';
|
|
6
7
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class VaultSectionComponent extends AppBaseComponent implements OnInit {
|
|
9
10
|
private readonly modalService;
|
|
11
|
+
private readonly authService;
|
|
10
12
|
private readonly adminService;
|
|
11
13
|
editResourceModalRef: TemplateRef<CustomUploaderComponent>;
|
|
12
14
|
companyName: any;
|
|
@@ -26,7 +28,7 @@ export declare class VaultSectionComponent extends AppBaseComponent implements O
|
|
|
26
28
|
url: string;
|
|
27
29
|
name: string;
|
|
28
30
|
};
|
|
29
|
-
constructor(injector: Injector, modalService: NgbModal, adminService: AdminService);
|
|
31
|
+
constructor(injector: Injector, modalService: NgbModal, authService: AuthService, adminService: AdminService);
|
|
30
32
|
ngOnInit(): void;
|
|
31
33
|
openEditResourceModal(): void;
|
|
32
34
|
saveResourceContent(modal: any): void;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { TagService } from '@posiwise/common-services';
|
|
3
|
+
import { AuthService, TagService } from '@posiwise/common-services';
|
|
4
4
|
import { Resource, Tag, User } from '@posiwise/common-utilities';
|
|
5
5
|
import { ResourceService } from '../../../resource.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ResourceHubComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
8
|
private readonly resourceService;
|
|
9
|
+
private readonly authService;
|
|
9
10
|
private readonly tagService;
|
|
10
11
|
private delayTimeout;
|
|
11
12
|
private userSub;
|
|
@@ -28,7 +29,7 @@ export declare class ResourceHubComponent extends AppBaseComponent implements On
|
|
|
28
29
|
scrollLocked: boolean;
|
|
29
30
|
iconClasses: string[];
|
|
30
31
|
user: User;
|
|
31
|
-
constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
|
|
32
|
+
constructor(resourceService: ResourceService, authService: AuthService, tagService: TagService, injector: Injector);
|
|
32
33
|
ngOnInit(): void;
|
|
33
34
|
getPostsAndTags(): void;
|
|
34
35
|
toggleDropdown(event: Event, post: any): void;
|
|
@@ -2,13 +2,14 @@ import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
-
import { CustomToastService } from '@posiwise/common-services';
|
|
5
|
+
import { AuthService, CustomToastService } from '@posiwise/common-services';
|
|
6
6
|
import { RecentPost, Resource, ResourceComment, User } from '@posiwise/common-utilities';
|
|
7
7
|
import { ResourceService } from '../../../resource.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class ResourceReadComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
10
10
|
private readonly resourceService;
|
|
11
11
|
private readonly toastr;
|
|
12
|
+
private readonly authService;
|
|
12
13
|
private readonly sanitizer;
|
|
13
14
|
post: Resource;
|
|
14
15
|
user: User;
|
|
@@ -19,7 +20,7 @@ export declare class ResourceReadComponent extends AppBaseComponent implements O
|
|
|
19
20
|
commentForm: UntypedFormGroup;
|
|
20
21
|
userLoggedIn: boolean;
|
|
21
22
|
buttonBusy: boolean;
|
|
22
|
-
constructor(resourceService: ResourceService, toastr: CustomToastService, injector: Injector, sanitizer: DomSanitizer);
|
|
23
|
+
constructor(resourceService: ResourceService, toastr: CustomToastService, authService: AuthService, injector: Injector, sanitizer: DomSanitizer);
|
|
23
24
|
ngOnInit(): void;
|
|
24
25
|
readingTime(text: string): string;
|
|
25
26
|
handleImageError(event: Event, fallbackPath: any): void;
|
|
@@ -1,26 +1,11 @@
|
|
|
1
|
-
import { Injector
|
|
2
|
-
import {
|
|
3
|
-
import { TagService } from '@posiwise/common-services';
|
|
4
|
-
import { Resource, User } from '@posiwise/common-utilities';
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { AuthService, TagService } from '@posiwise/common-services';
|
|
5
3
|
import { ResourceService } from '../../../../resource.service';
|
|
4
|
+
import { BaseTopBannerComponent } from '../../base/base-top-banner.component';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class WhitePaperTopBannerComponent extends
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
subscriptionId: number;
|
|
11
|
-
masterSubscriptionId: any;
|
|
12
|
-
posts: Resource[];
|
|
13
|
-
testimonialsPosts: any[];
|
|
14
|
-
userLoggedIn: boolean;
|
|
15
|
-
blogPostTag: any;
|
|
16
|
-
tagCategory: any;
|
|
17
|
-
blogTestimonialsPostTag: any;
|
|
18
|
-
isLoaded: boolean;
|
|
19
|
-
user: User;
|
|
20
|
-
constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
private getTags;
|
|
23
|
-
private getPostTags;
|
|
6
|
+
export declare class WhitePaperTopBannerComponent extends BaseTopBannerComponent {
|
|
7
|
+
constructor(resourceService: ResourceService, tagService: TagService, injector: Injector, authService: AuthService);
|
|
8
|
+
protected getSearchTerm(): string;
|
|
24
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<WhitePaperTopBannerComponent, never>;
|
|
25
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<WhitePaperTopBannerComponent, "pw-white-paper-top-banner", never, {}, {}, never, never, false, never>;
|
|
26
11
|
}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
-
import { Injector
|
|
2
|
-
import {
|
|
3
|
-
import { TagService } from '@posiwise/common-services';
|
|
4
|
-
import { Resource } from '@posiwise/common-utilities';
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { AuthService, TagService } from '@posiwise/common-services';
|
|
5
3
|
import { ResourceService } from '../../../resource.service';
|
|
4
|
+
import { BaseResourceComponent } from '../base/base-resource.component';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class WhitePaperComponent extends
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
subscriptionId: number;
|
|
11
|
-
masterSubscriptionId: any;
|
|
12
|
-
posts: Resource[];
|
|
13
|
-
userLoggedIn: boolean;
|
|
14
|
-
blogPostTag: any;
|
|
15
|
-
constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
private getPostTags;
|
|
18
|
-
getPosts(page: number, pageSize: number): void;
|
|
6
|
+
export declare class WhitePaperComponent extends BaseResourceComponent {
|
|
7
|
+
constructor(resourceService: ResourceService, tagService: TagService, injector: Injector, authService: AuthService);
|
|
8
|
+
protected getResourceType(): string;
|
|
19
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<WhitePaperComponent, never>;
|
|
20
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<WhitePaperComponent, "pw-resource-white-papers", never, {}, {}, never, never, false, never>;
|
|
21
11
|
}
|