@posiwise/resource-module 0.0.146 → 0.0.147
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 +12 -2
- package/esm2022/lib/public/components/base/base-top-banner.component.mjs +12 -2
- package/esm2022/lib/public/components/reslease-note-card/release-note-card.component.mjs +29 -24
- package/esm2022/lib/public/components/resource-blogs/resource-blog-top-banner/resource-blog-top-banner.component.mjs +3 -3
- package/esm2022/lib/public/components/resource-blogs/resource-blog.component.mjs +3 -3
- package/esm2022/lib/public/components/resource-case-studies/case-studies-cards/case-studies-cards.component.mjs +29 -24
- package/esm2022/lib/public/components/resource-case-studies/resource-case-studies.component.mjs +3 -3
- package/esm2022/lib/public/components/resource-company-card/resource-company-card.component.mjs +30 -32
- package/esm2022/lib/public/components/resource-integration/integration-top-banner/integration-top-banner.component.mjs +3 -3
- package/esm2022/lib/public/components/resource-integration/resource-integration.component.mjs +15 -4
- package/esm2022/lib/public/components/resource-post/related-resources/related-resources.component.mjs +3 -3
- package/esm2022/lib/public/components/resource-post/related-resources/resource-cards/resource-cards.component.mjs +29 -24
- package/esm2022/lib/public/components/resource-post/resource-post.component.mjs +23 -12
- package/esm2022/lib/public/components/resource-release-notes/resource-release-notes-top-banner/resource-release-notes-top-banner.component.mjs +3 -3
- package/esm2022/lib/public/components/resource-release-notes/resource-release-notes.component.mjs +3 -3
- package/esm2022/lib/public/components/resource-top-banner-edit/resource-top-banner-edit.component.mjs +18 -21
- package/esm2022/lib/public/components/resource-vault/resource-vault.component.mjs +3 -3
- package/esm2022/lib/public/components/resource-videos/resource-video-cards/resource-video-cards.component.mjs +29 -24
- package/esm2022/lib/public/components/resource-videos/resource-videos-top-banner/resource-videos-top-banner.component.mjs +3 -3
- package/esm2022/lib/public/components/resource-videos/resource-videos.component.mjs +3 -3
- package/esm2022/lib/public/components/resource-webinars/replay-event-cards/replay-event-cards.component.mjs +32 -24
- package/esm2022/lib/public/components/resource-webinars/resource-webinars.component.mjs +14 -4
- package/esm2022/lib/public/components/resource-webinars/upcoming-event-cards/upcoming-event-cards.component.mjs +32 -24
- package/esm2022/lib/public/components/resources/resource-tags/resource-tags.component.mjs +24 -27
- package/esm2022/lib/public/components/resources/resources.component.mjs +35 -19
- package/esm2022/lib/public/components/resources/vault-section/vault-section.component.mjs +36 -31
- package/esm2022/lib/public/components/resources-hub/resources-hub.component.mjs +14 -4
- package/esm2022/lib/public/components/white-papers/white-papers-top-banner/white-papers-top-banner.component.mjs +3 -3
- package/esm2022/lib/public/components/white-papers/white-papers.component.mjs +3 -3
- package/fesm2022/posiwise-resource-module.mjs +411 -300
- package/fesm2022/posiwise-resource-module.mjs.map +1 -1
- package/lib/public/components/base/base-resource.component.d.ts +2 -0
- package/lib/public/components/base/base-top-banner.component.d.ts +2 -0
- package/lib/public/components/reslease-note-card/release-note-card.component.d.ts +9 -7
- package/lib/public/components/resource-case-studies/case-studies-cards/case-studies-cards.component.d.ts +9 -7
- package/lib/public/components/resource-company-card/resource-company-card.component.d.ts +6 -6
- package/lib/public/components/resource-integration/resource-integration.component.d.ts +2 -0
- package/lib/public/components/resource-post/related-resources/resource-cards/resource-cards.component.d.ts +9 -7
- package/lib/public/components/resource-post/resource-post.component.d.ts +9 -5
- package/lib/public/components/resource-top-banner-edit/resource-top-banner-edit.component.d.ts +5 -6
- package/lib/public/components/resource-videos/resource-video-cards/resource-video-cards.component.d.ts +10 -8
- package/lib/public/components/resource-webinars/replay-event-cards/replay-event-cards.component.d.ts +9 -7
- package/lib/public/components/resource-webinars/resource-webinars.component.d.ts +2 -0
- package/lib/public/components/resource-webinars/upcoming-event-cards/upcoming-event-cards.component.d.ts +10 -8
- package/lib/public/components/resources/resource-tags/resource-tags.component.d.ts +10 -8
- package/lib/public/components/resources/resources.component.d.ts +10 -2
- package/lib/public/components/resources/vault-section/vault-section.component.d.ts +9 -8
- package/lib/public/components/resources-hub/resources-hub.component.d.ts +2 -0
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ export declare abstract class BaseResourceComponent extends AppBaseComponent imp
|
|
|
19
19
|
isLoaded: boolean;
|
|
20
20
|
user: User;
|
|
21
21
|
isMasterSubscription: any;
|
|
22
|
+
canEditResourcesValue: boolean;
|
|
22
23
|
constructor(resourceService: ResourceService, tagService: TagService, authService: AuthService, injector: Injector);
|
|
23
24
|
ngOnInit(): void;
|
|
24
25
|
protected initializeComponent(): void;
|
|
@@ -35,6 +36,7 @@ export declare abstract class BaseResourceComponent extends AppBaseComponent imp
|
|
|
35
36
|
protected getSearchTerm(): string;
|
|
36
37
|
protected shouldUseTagCategories(): boolean;
|
|
37
38
|
protected shouldLoadTestimonials(): boolean;
|
|
39
|
+
private updateCanEditResourcesValue;
|
|
38
40
|
canEditResources(): boolean;
|
|
39
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseResourceComponent, never>;
|
|
40
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<BaseResourceComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
@@ -21,6 +21,7 @@ export declare abstract class BaseTopBannerComponent extends AppBaseComponent im
|
|
|
21
21
|
isLoaded: boolean;
|
|
22
22
|
user: User;
|
|
23
23
|
isMasterSubscription: any;
|
|
24
|
+
canEditResourcesValue: boolean;
|
|
24
25
|
constructor(resourceService: ResourceService, tagService: TagService, authService: AuthService, titleService: Title, injector: Injector);
|
|
25
26
|
ngOnInit(): void;
|
|
26
27
|
protected getTags(): void;
|
|
@@ -30,6 +31,7 @@ export declare abstract class BaseTopBannerComponent extends AppBaseComponent im
|
|
|
30
31
|
protected updateSEOMetadata(): void;
|
|
31
32
|
private updateMetaDescription;
|
|
32
33
|
protected abstract getSearchTerm(): string;
|
|
34
|
+
private updateCanEditResourcesValue;
|
|
33
35
|
canEditResources(): boolean;
|
|
34
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseTopBannerComponent, never>;
|
|
35
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<BaseTopBannerComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { Injector, OnInit } from '@angular/core';
|
|
1
|
+
import { Injector, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import {
|
|
3
|
+
import { 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
|
-
export declare class ResourceNoteCardComponent extends AppBaseComponent implements OnInit {
|
|
7
|
+
export declare class ResourceNoteCardComponent extends AppBaseComponent implements OnInit, OnChanges {
|
|
8
8
|
private readonly resourceService;
|
|
9
|
-
private readonly authService;
|
|
10
9
|
private readonly tagService;
|
|
11
10
|
releaseHeader: boolean;
|
|
12
11
|
categoryId: string;
|
|
@@ -14,6 +13,8 @@ export declare class ResourceNoteCardComponent extends AppBaseComponent implemen
|
|
|
14
13
|
postSlice: boolean;
|
|
15
14
|
resourceTitle: string;
|
|
16
15
|
tag: any;
|
|
16
|
+
user: User;
|
|
17
|
+
canEditResourcesValue: boolean;
|
|
17
18
|
userLoggedIn: boolean;
|
|
18
19
|
isLoaded: boolean;
|
|
19
20
|
subscriptionId: any;
|
|
@@ -31,10 +32,10 @@ export declare class ResourceNoteCardComponent extends AppBaseComponent implemen
|
|
|
31
32
|
isEditingTitle: boolean;
|
|
32
33
|
isPressEditingTitle: boolean;
|
|
33
34
|
editedTitle: string;
|
|
34
|
-
user: User;
|
|
35
35
|
isMasterSubscription: any;
|
|
36
|
-
constructor(injector: Injector, resourceService: ResourceService,
|
|
36
|
+
constructor(injector: Injector, resourceService: ResourceService, tagService: TagService);
|
|
37
37
|
ngOnInit(): void;
|
|
38
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
38
39
|
private getTags;
|
|
39
40
|
private getPostTags;
|
|
40
41
|
private findTag;
|
|
@@ -48,7 +49,8 @@ export declare class ResourceNoteCardComponent extends AppBaseComponent implemen
|
|
|
48
49
|
saveEditedTitle(type: any): void;
|
|
49
50
|
/** Helper method to get effective subscription ID */
|
|
50
51
|
private getEffectiveSubscriptionId;
|
|
52
|
+
private updateCanEditResourcesValue;
|
|
51
53
|
canEditResources(): boolean;
|
|
52
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceNoteCardComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceNoteCardComponent, "pw-resource-note-card", never, { "releaseHeader": { "alias": "releaseHeader"; "required": false; }; "categoryId": { "alias": "categoryId"; "required": false; }; "isReleasePress": { "alias": "isReleasePress"; "required": false; }; "postSlice": { "alias": "postSlice"; "required": false; }; "resourceTitle": { "alias": "resourceTitle"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; }, {}, never, never, false, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceNoteCardComponent, "pw-resource-note-card", never, { "releaseHeader": { "alias": "releaseHeader"; "required": false; }; "categoryId": { "alias": "categoryId"; "required": false; }; "isReleasePress": { "alias": "isReleasePress"; "required": false; }; "postSlice": { "alias": "postSlice"; "required": false; }; "resourceTitle": { "alias": "resourceTitle"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "user": { "alias": "user"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; }, {}, never, never, false, never>;
|
|
54
56
|
}
|
|
@@ -1,36 +1,38 @@
|
|
|
1
|
-
import { Injector, OnInit } from '@angular/core';
|
|
1
|
+
import { Injector, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import {
|
|
3
|
+
import { 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
|
-
export declare class CaseStudyCardComponent extends AppBaseComponent implements OnInit {
|
|
7
|
+
export declare class CaseStudyCardComponent extends AppBaseComponent implements OnInit, OnChanges {
|
|
8
8
|
private readonly resourceService;
|
|
9
|
-
private readonly authService;
|
|
10
9
|
private readonly tagService;
|
|
11
10
|
showCaseStudyHeader: boolean;
|
|
12
11
|
categoryId: string;
|
|
13
12
|
postSlice: boolean;
|
|
14
13
|
tag: any;
|
|
15
14
|
resourceTitle: string;
|
|
15
|
+
user: User;
|
|
16
|
+
canEditResourcesValue: boolean;
|
|
16
17
|
userLoggedIn: boolean;
|
|
17
18
|
isLoaded: boolean;
|
|
18
19
|
subscriptionId: any;
|
|
19
20
|
masterSubscriptionId: any;
|
|
20
21
|
companyName: any;
|
|
21
22
|
posts: Resource[];
|
|
22
|
-
user: User;
|
|
23
23
|
isMasterSubscription: any;
|
|
24
24
|
isEditingTitle: boolean;
|
|
25
25
|
editedTitle: string;
|
|
26
|
-
constructor(injector: Injector, resourceService: ResourceService,
|
|
26
|
+
constructor(injector: Injector, resourceService: ResourceService, tagService: TagService);
|
|
27
27
|
ngOnInit(): void;
|
|
28
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
28
29
|
getPosts(page: number, pageSize: number): void;
|
|
29
30
|
toggleEditTitle(): void;
|
|
30
31
|
saveEditedTitle(): void;
|
|
31
32
|
/** Helper method to get effective subscription ID */
|
|
32
33
|
private getEffectiveSubscriptionId;
|
|
34
|
+
private updateCanEditResourcesValue;
|
|
33
35
|
canEditResources(): boolean;
|
|
34
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseStudyCardComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaseStudyCardComponent, "pw-case-studies-card", never, { "showCaseStudyHeader": { "alias": "showCaseStudyHeader"; "required": false; }; "categoryId": { "alias": "categoryId"; "required": false; }; "postSlice": { "alias": "postSlice"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "resourceTitle": { "alias": "resourceTitle"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaseStudyCardComponent, "pw-case-studies-card", never, { "showCaseStudyHeader": { "alias": "showCaseStudyHeader"; "required": false; }; "categoryId": { "alias": "categoryId"; "required": false; }; "postSlice": { "alias": "postSlice"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "resourceTitle": { "alias": "resourceTitle"; "required": false; }; "user": { "alias": "user"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
38
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, Injector, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { AuthService } from '@posiwise/common-services';
|
|
4
3
|
import { ResourcePost, User } from '@posiwise/common-utilities';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
interface PageEvent {
|
|
@@ -10,28 +9,29 @@ interface PageEvent {
|
|
|
10
9
|
pageCount: number;
|
|
11
10
|
}
|
|
12
11
|
export declare class ResourceCompanyCardComponent extends AppBaseComponent implements OnChanges, OnInit, OnDestroy {
|
|
13
|
-
private readonly authService;
|
|
14
12
|
getPosts: EventEmitter<ResourcePost[]>;
|
|
15
13
|
private readonly destroy$;
|
|
14
|
+
canEditResourcesValue: boolean;
|
|
16
15
|
header: string;
|
|
17
16
|
data: any[];
|
|
18
17
|
integrationCountDisplay: any;
|
|
19
18
|
vendor: boolean;
|
|
19
|
+
user: User;
|
|
20
|
+
userLoggedIn: boolean;
|
|
20
21
|
postData: boolean;
|
|
21
22
|
filteredData: any[];
|
|
22
23
|
first: number;
|
|
23
24
|
rows: number;
|
|
24
|
-
userLoggedIn: boolean;
|
|
25
25
|
subscriptionId: string;
|
|
26
|
-
|
|
27
|
-
constructor(injector: Injector, authService: AuthService);
|
|
26
|
+
constructor(injector: Injector);
|
|
28
27
|
ngOnChanges(): void;
|
|
29
28
|
ngOnInit(): void;
|
|
30
29
|
search(keywords?: any): void;
|
|
31
30
|
onPageChange(event: PageEvent): void;
|
|
32
31
|
ngOnDestroy(): void;
|
|
32
|
+
private updateCanEditResourcesValue;
|
|
33
33
|
canEditResources(): boolean;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceCompanyCardComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceCompanyCardComponent, "pw-resource-company-card", never, { "header": { "alias": "header"; "required": false; }; "data": { "alias": "data"; "required": false; }; "integrationCountDisplay": { "alias": "integrationCountDisplay"; "required": false; }; "vendor": { "alias": "vendor"; "required": false; }; }, { "getPosts": "getPosts"; }, never, never, false, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceCompanyCardComponent, "pw-resource-company-card", never, { "header": { "alias": "header"; "required": false; }; "data": { "alias": "data"; "required": false; }; "integrationCountDisplay": { "alias": "integrationCountDisplay"; "required": false; }; "vendor": { "alias": "vendor"; "required": false; }; "user": { "alias": "user"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; }, { "getPosts": "getPosts"; }, never, never, false, never>;
|
|
36
36
|
}
|
|
37
37
|
export {};
|
|
@@ -60,6 +60,7 @@ export declare class ResourceIntegrationComponent extends AppBaseComponent imple
|
|
|
60
60
|
items: any[];
|
|
61
61
|
};
|
|
62
62
|
user: User;
|
|
63
|
+
canEditResourcesValue: boolean;
|
|
63
64
|
domainId: any;
|
|
64
65
|
constructor(sanitizer: DomSanitizer, resourceService: ResourceService, modalService: NgbModal, tagService: TagService, authService: AuthService, adminService: AdminService, injector: Injector);
|
|
65
66
|
ngOnInit(): void;
|
|
@@ -80,6 +81,7 @@ export declare class ResourceIntegrationComponent extends AppBaseComponent imple
|
|
|
80
81
|
dropGuides(event: CdkDragDrop<string[]>): void;
|
|
81
82
|
/** Helper method to get effective subscription ID */
|
|
82
83
|
private getEffectiveSubscriptionId;
|
|
84
|
+
private updateCanEditResourcesValue;
|
|
83
85
|
canEditResources(): boolean;
|
|
84
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceIntegrationComponent, never>;
|
|
85
87
|
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceIntegrationComponent, "pw-resource-integration", never, {}, {}, never, never, false, never>;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { Injector, OnInit } from '@angular/core';
|
|
1
|
+
import { Injector, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import {
|
|
3
|
+
import { 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
|
-
export declare class ResourceCardComponent extends AppBaseComponent implements OnInit {
|
|
7
|
+
export declare class ResourceCardComponent extends AppBaseComponent implements OnInit, OnChanges {
|
|
8
8
|
private readonly resourceService;
|
|
9
|
-
private readonly authService;
|
|
10
9
|
private readonly tagService;
|
|
11
10
|
categoryId: string;
|
|
12
11
|
isHeaderVisible: boolean;
|
|
@@ -16,6 +15,7 @@ export declare class ResourceCardComponent extends AppBaseComponent implements O
|
|
|
16
15
|
header: any;
|
|
17
16
|
tag: any;
|
|
18
17
|
resourceLink: any;
|
|
18
|
+
user: User;
|
|
19
19
|
userLoggedIn: boolean;
|
|
20
20
|
isLoaded: boolean;
|
|
21
21
|
subscriptionId: any;
|
|
@@ -23,16 +23,18 @@ export declare class ResourceCardComponent extends AppBaseComponent implements O
|
|
|
23
23
|
posts: Resource[];
|
|
24
24
|
isEditingTitle: boolean;
|
|
25
25
|
editedTitle: string;
|
|
26
|
-
user: User;
|
|
27
26
|
isMasterSubscription: any;
|
|
28
|
-
|
|
27
|
+
canEditResourcesValue: boolean;
|
|
28
|
+
constructor(injector: Injector, resourceService: ResourceService, tagService: TagService);
|
|
29
29
|
ngOnInit(): void;
|
|
30
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
30
31
|
getPosts(page: number, pageSize: number): void;
|
|
31
32
|
toggleTagEditTitle(): void;
|
|
32
33
|
saveEditedTitle(): void;
|
|
33
34
|
/** Helper method to get effective subscription ID */
|
|
34
35
|
private getEffectiveSubscriptionId;
|
|
36
|
+
private updateCanEditResourcesValue;
|
|
35
37
|
canEditResources(): boolean;
|
|
36
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceCardComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceCardComponent, "pw-resource-cards", never, { "categoryId": { "alias": "categoryId"; "required": false; }; "isHeaderVisible": { "alias": "isHeaderVisible"; "required": false; }; "isRelated": { "alias": "isRelated"; "required": false; }; "resourceTitle": { "alias": "resourceTitle"; "required": false; }; "postSlice": { "alias": "postSlice"; "required": false; }; "header": { "alias": "header"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "resourceLink": { "alias": "resourceLink"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceCardComponent, "pw-resource-cards", never, { "categoryId": { "alias": "categoryId"; "required": false; }; "isHeaderVisible": { "alias": "isHeaderVisible"; "required": false; }; "isRelated": { "alias": "isRelated"; "required": false; }; "resourceTitle": { "alias": "resourceTitle"; "required": false; }; "postSlice": { "alias": "postSlice"; "required": false; }; "header": { "alias": "header"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "resourceLink": { "alias": "resourceLink"; "required": false; }; "user": { "alias": "user"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; }, {}, never, never, false, never>;
|
|
38
40
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { Title } from '@angular/platform-browser';
|
|
3
|
-
import {
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { AuthService } from '@posiwise/common-services';
|
|
5
|
+
import { User } from '@posiwise/common-utilities';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ResourcePostComponent implements OnInit {
|
|
6
|
-
private readonly route;
|
|
7
|
+
export declare class ResourcePostComponent extends AppBaseComponent implements OnInit {
|
|
7
8
|
private readonly titleService;
|
|
9
|
+
private readonly authService;
|
|
8
10
|
slug: string;
|
|
9
|
-
|
|
11
|
+
user: User;
|
|
12
|
+
userLoggedIn: boolean | undefined;
|
|
13
|
+
constructor(titleService: Title, authService: AuthService, injector: Injector);
|
|
10
14
|
ngOnInit(): void;
|
|
11
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourcePostComponent, never>;
|
|
12
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<ResourcePostComponent, "app-resource-post", never, {}, {}, never, never, false, never>;
|
package/lib/public/components/resource-top-banner-edit/resource-top-banner-edit.component.d.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import {
|
|
4
|
+
import { TagService } from '@posiwise/common-services';
|
|
5
5
|
import { User } from '@posiwise/common-utilities';
|
|
6
6
|
import { CustomUploaderComponent } from '@posiwise/shared-components';
|
|
7
7
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class ResourceTopBannerEditComponent extends AppBaseComponent implements OnInit {
|
|
10
10
|
private readonly fb;
|
|
11
|
-
private readonly authService;
|
|
12
11
|
private readonly modalService;
|
|
13
12
|
private readonly tagService;
|
|
14
13
|
blogPostTag: any;
|
|
14
|
+
user: User;
|
|
15
|
+
userLoggedIn: boolean;
|
|
15
16
|
getUpdatedTag: EventEmitter<any>;
|
|
16
17
|
editModal: TemplateRef<CustomUploaderComponent>;
|
|
17
18
|
imageCropContent: TemplateRef<CustomUploaderComponent>;
|
|
@@ -19,12 +20,10 @@ export declare class ResourceTopBannerEditComponent extends AppBaseComponent imp
|
|
|
19
20
|
image: string | null;
|
|
20
21
|
defaultImage: string;
|
|
21
22
|
file: File;
|
|
22
|
-
userLoggedIn: boolean;
|
|
23
23
|
subscriptionId: string;
|
|
24
24
|
imageModalRef: any;
|
|
25
25
|
buttonBusy: boolean;
|
|
26
|
-
|
|
27
|
-
constructor(fb: FormBuilder, authService: AuthService, modalService: NgbModal, tagService: TagService, injector: Injector);
|
|
26
|
+
constructor(fb: FormBuilder, modalService: NgbModal, tagService: TagService, injector: Injector);
|
|
28
27
|
ngOnInit(): void;
|
|
29
28
|
openEditModal(): void;
|
|
30
29
|
openImageModal(modalRef: any): void;
|
|
@@ -34,5 +33,5 @@ export declare class ResourceTopBannerEditComponent extends AppBaseComponent imp
|
|
|
34
33
|
handleImageError(event: Event): void;
|
|
35
34
|
save(): void;
|
|
36
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceTopBannerEditComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceTopBannerEditComponent, "pw-resource-top-banner-edit", never, { "blogPostTag": { "alias": "blogPostTag"; "required": false; }; }, { "getUpdatedTag": "getUpdatedTag"; }, never, never, false, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceTopBannerEditComponent, "pw-resource-top-banner-edit", never, { "blogPostTag": { "alias": "blogPostTag"; "required": false; }; "user": { "alias": "user"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; }, { "getUpdatedTag": "getUpdatedTag"; }, never, never, false, never>;
|
|
38
37
|
}
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
import { Injector, OnInit } from '@angular/core';
|
|
1
|
+
import { Injector, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import {
|
|
4
|
+
import { TagService } from '@posiwise/common-services';
|
|
5
5
|
import { Resource, User } from '@posiwise/common-utilities';
|
|
6
6
|
import { ResourceService } from '../../../../resource.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ResourceVideoCardComponent extends AppBaseComponent implements OnInit {
|
|
8
|
+
export declare class ResourceVideoCardComponent extends AppBaseComponent implements OnInit, OnChanges {
|
|
9
9
|
private readonly sanitizer;
|
|
10
10
|
private readonly resourceService;
|
|
11
|
-
private readonly authService;
|
|
12
11
|
private readonly tagService;
|
|
13
12
|
showVideoSection: boolean;
|
|
14
13
|
categoryId: string;
|
|
15
14
|
tag: any;
|
|
16
15
|
postSlice: boolean;
|
|
17
16
|
resourceTitle: string;
|
|
17
|
+
user: User;
|
|
18
|
+
canEditResourcesValue: boolean;
|
|
19
|
+
userLoggedIn: boolean;
|
|
18
20
|
subscriptionId: number;
|
|
19
21
|
masterSubscriptionId: any;
|
|
20
22
|
posts: Resource[];
|
|
@@ -25,20 +27,20 @@ export declare class ResourceVideoCardComponent extends AppBaseComponent impleme
|
|
|
25
27
|
url: SafeResourceUrl;
|
|
26
28
|
};
|
|
27
29
|
};
|
|
28
|
-
userLoggedIn: boolean;
|
|
29
30
|
isEditingTitle: boolean;
|
|
30
31
|
editedTitle: string;
|
|
31
|
-
user: User;
|
|
32
32
|
isMasterSubscription: any;
|
|
33
|
-
constructor(sanitizer: DomSanitizer, resourceService: ResourceService,
|
|
33
|
+
constructor(sanitizer: DomSanitizer, resourceService: ResourceService, tagService: TagService, injector: Injector);
|
|
34
34
|
ngOnInit(): void;
|
|
35
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
35
36
|
loadVideo(post: any): void;
|
|
36
37
|
getPosts(page: number, pageSize: number): void;
|
|
37
38
|
toggleTagEditTitle(): void;
|
|
38
39
|
saveEditedTitle(): void;
|
|
39
40
|
/** Helper method to get effective subscription ID */
|
|
40
41
|
private getEffectiveSubscriptionId;
|
|
42
|
+
private updateCanEditResourcesValue;
|
|
41
43
|
canEditResources(): boolean;
|
|
42
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceVideoCardComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceVideoCardComponent, "pw-resource-video-card", never, { "showVideoSection": { "alias": "showVideoSection"; "required": false; }; "categoryId": { "alias": "categoryId"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "postSlice": { "alias": "postSlice"; "required": false; }; "resourceTitle": { "alias": "resourceTitle"; "required": false; }; }, {}, never, never, false, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceVideoCardComponent, "pw-resource-video-card", never, { "showVideoSection": { "alias": "showVideoSection"; "required": false; }; "categoryId": { "alias": "categoryId"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "postSlice": { "alias": "postSlice"; "required": false; }; "resourceTitle": { "alias": "resourceTitle"; "required": false; }; "user": { "alias": "user"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; }, {}, never, never, false, never>;
|
|
44
46
|
}
|
package/lib/public/components/resource-webinars/replay-event-cards/replay-event-cards.component.d.ts
CHANGED
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
import { Injector, OnInit } from '@angular/core';
|
|
1
|
+
import { Injector, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import {
|
|
3
|
+
import { 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
|
-
export declare class ReplayEventCardComponent extends AppBaseComponent implements OnInit {
|
|
7
|
+
export declare class ReplayEventCardComponent extends AppBaseComponent implements OnInit, OnChanges {
|
|
8
8
|
private readonly resourceService;
|
|
9
|
-
private readonly authService;
|
|
10
9
|
private readonly tagService;
|
|
11
10
|
showEventContent: boolean;
|
|
12
11
|
categoryId: string;
|
|
13
12
|
resourceTitle: string;
|
|
13
|
+
user: User;
|
|
14
|
+
canEditResourcesValue: boolean;
|
|
14
15
|
userLoggedIn: boolean;
|
|
15
16
|
subscriptionId: any;
|
|
16
17
|
masterSubscriptionId: any;
|
|
17
18
|
posts: Resource[];
|
|
18
19
|
isLoaded: boolean;
|
|
19
20
|
blogPostTag: any;
|
|
20
|
-
user: User;
|
|
21
21
|
isMasterSubscription: any;
|
|
22
|
-
constructor(resourceService: ResourceService,
|
|
22
|
+
constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
|
|
23
23
|
ngOnInit(): void;
|
|
24
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
24
25
|
private getPostTags;
|
|
25
26
|
getPosts(page: number, pageSize: number): void;
|
|
26
27
|
/** Helper method to get effective subscription ID */
|
|
27
28
|
private getEffectiveSubscriptionId;
|
|
29
|
+
private updateCanEditResourcesValue;
|
|
28
30
|
canEditResources(): boolean;
|
|
29
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReplayEventCardComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ReplayEventCardComponent, "pw-replay-event-card", never, { "showEventContent": { "alias": "showEventContent"; "required": false; }; "categoryId": { "alias": "categoryId"; "required": false; }; "resourceTitle": { "alias": "resourceTitle"; "required": false; }; }, {}, never, never, false, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReplayEventCardComponent, "pw-replay-event-card", never, { "showEventContent": { "alias": "showEventContent"; "required": false; }; "categoryId": { "alias": "categoryId"; "required": false; }; "resourceTitle": { "alias": "resourceTitle"; "required": false; }; "user": { "alias": "user"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
33
|
}
|
|
@@ -18,6 +18,7 @@ export declare class ResourceWebinarComponent extends AppBaseComponent implement
|
|
|
18
18
|
userLoggedIn: boolean;
|
|
19
19
|
blogPostTag: any;
|
|
20
20
|
isLoaded: boolean;
|
|
21
|
+
canEditResourcesValue: boolean;
|
|
21
22
|
user: User;
|
|
22
23
|
isMasterSubscription: any;
|
|
23
24
|
constructor(resourceService: ResourceService, authService: AuthService, tagService: TagService, titleService: Title, injector: Injector);
|
|
@@ -28,6 +29,7 @@ export declare class ResourceWebinarComponent extends AppBaseComponent implement
|
|
|
28
29
|
private updateMetaDescription;
|
|
29
30
|
/** Helper method to get effective subscription ID */
|
|
30
31
|
private getEffectiveSubscriptionId;
|
|
32
|
+
private updateCanEditResourcesValue;
|
|
31
33
|
canEditResources(): boolean;
|
|
32
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceWebinarComponent, never>;
|
|
33
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceWebinarComponent, "pw-resource-webinars", never, {}, {}, never, never, false, never>;
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { Injector, OnInit } from '@angular/core';
|
|
1
|
+
import { Injector, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import {
|
|
3
|
+
import { 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
|
-
export declare class UpcomingEventCardComponent extends AppBaseComponent implements OnInit {
|
|
7
|
+
export declare class UpcomingEventCardComponent extends AppBaseComponent implements OnInit, OnChanges {
|
|
8
8
|
private readonly resourceService;
|
|
9
|
-
private readonly authService;
|
|
10
9
|
private readonly tagService;
|
|
11
10
|
showEventContent: boolean;
|
|
12
11
|
categoryId: string;
|
|
13
12
|
tag: any;
|
|
14
13
|
postSlice: boolean;
|
|
15
14
|
resourceTitle: string;
|
|
15
|
+
user: User;
|
|
16
|
+
userLoggedIn: boolean;
|
|
17
|
+
canEditResourcesValue: boolean;
|
|
16
18
|
now: number;
|
|
17
19
|
subscriptionId: any;
|
|
18
|
-
userLoggedIn: boolean;
|
|
19
20
|
isEditingTitle: boolean;
|
|
20
21
|
editedTitle: string;
|
|
21
22
|
masterSubscriptionId: any;
|
|
22
23
|
posts: Resource[];
|
|
23
24
|
isLoaded: boolean;
|
|
24
25
|
blogPostTag: any;
|
|
25
|
-
user: User;
|
|
26
26
|
isMasterSubscription: any;
|
|
27
|
-
constructor(resourceService: ResourceService,
|
|
27
|
+
constructor(resourceService: ResourceService, tagService: TagService, injector: Injector);
|
|
28
28
|
ngOnInit(): void;
|
|
29
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
29
30
|
private getPostTags;
|
|
30
31
|
getPosts(page: number, pageSize: number): void;
|
|
31
32
|
isUpcoming(post: any): boolean;
|
|
@@ -34,7 +35,8 @@ export declare class UpcomingEventCardComponent extends AppBaseComponent impleme
|
|
|
34
35
|
saveEditedTitle(): void;
|
|
35
36
|
/** Helper method to get effective subscription ID */
|
|
36
37
|
private getEffectiveSubscriptionId;
|
|
38
|
+
private updateCanEditResourcesValue;
|
|
37
39
|
canEditResources(): boolean;
|
|
38
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<UpcomingEventCardComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UpcomingEventCardComponent, "pw-upcoming-event-card", never, { "showEventContent": { "alias": "showEventContent"; "required": false; }; "categoryId": { "alias": "categoryId"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "postSlice": { "alias": "postSlice"; "required": false; }; "resourceTitle": { "alias": "resourceTitle"; "required": false; }; }, {}, never, never, false, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpcomingEventCardComponent, "pw-upcoming-event-card", never, { "showEventContent": { "alias": "showEventContent"; "required": false; }; "categoryId": { "alias": "categoryId"; "required": false; }; "tag": { "alias": "tag"; "required": false; }; "postSlice": { "alias": "postSlice"; "required": false; }; "resourceTitle": { "alias": "resourceTitle"; "required": false; }; "user": { "alias": "user"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; }, {}, never, never, false, never>;
|
|
40
42
|
}
|
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import { EventEmitter, Injector, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, Injector, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import {
|
|
3
|
+
import { TagService } from '@posiwise/common-services';
|
|
4
4
|
import { Tag, User } from '@posiwise/common-utilities';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ResourceTagComponent extends AppBaseComponent implements OnInit {
|
|
6
|
+
export declare class ResourceTagComponent extends AppBaseComponent implements OnInit, OnChanges {
|
|
7
7
|
private readonly tagService;
|
|
8
|
-
private readonly authService;
|
|
9
8
|
tagsLoaded: EventEmitter<Tag[]>;
|
|
10
9
|
tagSelected: EventEmitter<Tag>;
|
|
10
|
+
user: User;
|
|
11
|
+
userLoggedIn: boolean;
|
|
11
12
|
tags: any[];
|
|
12
13
|
subscriptionId: number;
|
|
13
|
-
userLoggedIn: boolean;
|
|
14
14
|
loading: boolean;
|
|
15
15
|
loaded: boolean;
|
|
16
16
|
selectedTag: Tag | null;
|
|
17
|
-
user: User;
|
|
18
17
|
isMasterSubscription: any;
|
|
19
|
-
|
|
18
|
+
canEditResourcesValue: boolean;
|
|
19
|
+
constructor(tagService: TagService, injector: Injector);
|
|
20
20
|
ngOnInit(): void;
|
|
21
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
21
22
|
navigateToTagList(): void;
|
|
22
23
|
selectTag(tag: Tag): void;
|
|
23
24
|
getTags(): void;
|
|
24
25
|
/** Helper method to get effective subscription ID */
|
|
25
26
|
private getEffectiveSubscriptionId;
|
|
27
|
+
private updateCanEditResourcesValue;
|
|
26
28
|
canEditResources(): boolean;
|
|
27
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceTagComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceTagComponent, "pw-resource-tags", never, {}, { "tagsLoaded": "tagsLoaded"; "tagSelected": "tagSelected"; }, never, never, false, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceTagComponent, "pw-resource-tags", never, { "user": { "alias": "user"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; }, { "tagsLoaded": "tagsLoaded"; "tagSelected": "tagSelected"; }, never, never, false, never>;
|
|
29
31
|
}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
+
import { AuthService } from '@posiwise/common-services';
|
|
4
|
+
import { Tag, User } from '@posiwise/common-utilities';
|
|
2
5
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ResourceComponent {
|
|
6
|
+
export declare class ResourceComponent extends AppBaseComponent implements OnInit {
|
|
7
|
+
private readonly authService;
|
|
4
8
|
allTags: Tag[];
|
|
9
|
+
user: User;
|
|
10
|
+
userLoggedIn: boolean;
|
|
11
|
+
constructor(authService: AuthService, injector: Injector);
|
|
12
|
+
ngOnInit(): void;
|
|
5
13
|
onTagsLoaded(tags: Tag[]): void;
|
|
6
14
|
hasTag(name: string): boolean;
|
|
7
15
|
getCategoryIdByTagName(name: string): number | undefined;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Title } from '@angular/platform-browser';
|
|
3
3
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
4
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
-
import { AuthService } from '@posiwise/common-services';
|
|
6
5
|
import { User } from '@posiwise/common-utilities';
|
|
7
6
|
import { CustomUploaderComponent } from '@posiwise/shared-components';
|
|
8
7
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class VaultSectionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
9
|
+
export declare class VaultSectionComponent extends AppBaseComponent implements OnInit, OnChanges, OnDestroy {
|
|
11
10
|
private readonly modalService;
|
|
12
|
-
private readonly authService;
|
|
13
11
|
private readonly adminService;
|
|
14
12
|
private readonly titleService;
|
|
15
13
|
editResourceModalRef: TemplateRef<CustomUploaderComponent>;
|
|
14
|
+
user: User;
|
|
15
|
+
userLoggedIn: boolean;
|
|
16
16
|
companyName: any;
|
|
17
17
|
resourceTagLine: any;
|
|
18
18
|
resourceImage: any;
|
|
@@ -23,17 +23,17 @@ export declare class VaultSectionComponent extends AppBaseComponent implements O
|
|
|
23
23
|
imageModalRef: any;
|
|
24
24
|
editingTagline: string;
|
|
25
25
|
editingDescription: string;
|
|
26
|
-
userLoggedIn: boolean;
|
|
27
26
|
subscriptionId: any;
|
|
28
|
-
user: User;
|
|
29
27
|
isMasterSubscription: any;
|
|
30
28
|
previewResourceImage: {
|
|
31
29
|
url: string;
|
|
32
30
|
name: string;
|
|
33
31
|
};
|
|
32
|
+
canEditResourcesValue: boolean;
|
|
34
33
|
private seoUpdateTimer;
|
|
35
|
-
constructor(injector: Injector, modalService: NgbModal,
|
|
34
|
+
constructor(injector: Injector, modalService: NgbModal, adminService: AdminService, titleService: Title);
|
|
36
35
|
ngOnInit(): void;
|
|
36
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
37
37
|
private scheduleSEOMetadataUpdate;
|
|
38
38
|
private clearSEOTimer;
|
|
39
39
|
private updateSEOMetadata;
|
|
@@ -47,7 +47,8 @@ export declare class VaultSectionComponent extends AppBaseComponent implements O
|
|
|
47
47
|
/** Helper method to get effective subscription ID */
|
|
48
48
|
private getEffectiveSubscriptionId;
|
|
49
49
|
handleImageError(event: Event, fallbackPath: any): void;
|
|
50
|
+
private updateCanEditResourcesValue;
|
|
50
51
|
canEditResources(): boolean;
|
|
51
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<VaultSectionComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VaultSectionComponent, "pw-vault-section", never, {}, {}, never, never, false, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VaultSectionComponent, "pw-vault-section", never, { "user": { "alias": "user"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; }, {}, never, never, false, never>;
|
|
53
54
|
}
|
|
@@ -30,6 +30,7 @@ export declare class ResourceHubComponent extends AppBaseComponent implements On
|
|
|
30
30
|
scrollLocked: boolean;
|
|
31
31
|
iconClasses: string[];
|
|
32
32
|
user: User;
|
|
33
|
+
canEditResourcesValue: boolean;
|
|
33
34
|
constructor(resourceService: ResourceService, authService: AuthService, tagService: TagService, injector: Injector);
|
|
34
35
|
ngOnInit(): void;
|
|
35
36
|
getPostsAndTags(): void;
|
|
@@ -44,6 +45,7 @@ export declare class ResourceHubComponent extends AppBaseComponent implements On
|
|
|
44
45
|
ngOnDestroy(): void;
|
|
45
46
|
/** Helper method to get effective subscription ID */
|
|
46
47
|
private getEffectiveSubscriptionId;
|
|
48
|
+
private updateCanEditResourcesValue;
|
|
47
49
|
canEditResources(): boolean;
|
|
48
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceHubComponent, never>;
|
|
49
51
|
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceHubComponent, "pw-posts-list", never, {}, {}, never, never, false, never>;
|