@posiwise/resource-module 0.0.143 → 0.0.144
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-top-banner.component.mjs +1 -2
- package/esm2022/lib/public/components/resources/vault-section/vault-section.component.mjs +20 -2
- package/fesm2022/posiwise-resource-module.mjs +19 -2
- package/fesm2022/posiwise-resource-module.mjs.map +1 -1
- package/lib/public/components/resources/vault-section/vault-section.component.d.ts +6 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Injector, OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { Injector, OnDestroy, OnInit, 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';
|
|
@@ -7,7 +7,7 @@ import { User } from '@posiwise/common-utilities';
|
|
|
7
7
|
import { CustomUploaderComponent } from '@posiwise/shared-components';
|
|
8
8
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class VaultSectionComponent extends AppBaseComponent implements OnInit {
|
|
10
|
+
export declare class VaultSectionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
11
11
|
private readonly modalService;
|
|
12
12
|
private readonly authService;
|
|
13
13
|
private readonly adminService;
|
|
@@ -30,8 +30,11 @@ export declare class VaultSectionComponent extends AppBaseComponent implements O
|
|
|
30
30
|
url: string;
|
|
31
31
|
name: string;
|
|
32
32
|
};
|
|
33
|
+
private seoUpdateTimer;
|
|
33
34
|
constructor(injector: Injector, modalService: NgbModal, authService: AuthService, adminService: AdminService, titleService: Title);
|
|
34
35
|
ngOnInit(): void;
|
|
36
|
+
private scheduleSEOMetadataUpdate;
|
|
37
|
+
private clearSEOTimer;
|
|
35
38
|
private updateSEOMetadata;
|
|
36
39
|
private updateMetaDescription;
|
|
37
40
|
openEditResourceModal(): void;
|
|
@@ -39,6 +42,7 @@ export declare class VaultSectionComponent extends AppBaseComponent implements O
|
|
|
39
42
|
openImageModal(modalTemplate: any): void;
|
|
40
43
|
onImageSelected(base64: string): void;
|
|
41
44
|
removeImage(): void;
|
|
45
|
+
ngOnDestroy(): void;
|
|
42
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<VaultSectionComponent, never>;
|
|
43
47
|
static ɵcmp: i0.ɵɵComponentDeclaration<VaultSectionComponent, "pw-vault-section", never, {}, {}, never, never, false, never>;
|
|
44
48
|
}
|