vhobjects-user 0.7.5 → 0.7.6
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/fesm2015/vhobjects-user.js +1 -1
- package/fesm2015/vhobjects-user.js.map +1 -1
- package/lib/objects/basic/button-close-popup/user/button-close-popup.component.d.ts +8 -4
- package/lib/objects/product/customize-newField/user/customize-newField/newField-text/newField-text.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
2
3
|
import { Subscription } from 'rxjs';
|
|
3
4
|
import { VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb';
|
|
4
5
|
import { FunctionService } from 'vhobjects-service/src/services';
|
|
@@ -8,6 +9,7 @@ export declare class AtwButtonClosePopup implements OnInit {
|
|
|
8
9
|
private elementRef;
|
|
9
10
|
private element;
|
|
10
11
|
private vhEventMediator;
|
|
12
|
+
private router;
|
|
11
13
|
functionService: FunctionService;
|
|
12
14
|
private platformId;
|
|
13
15
|
data: any;
|
|
@@ -29,15 +31,17 @@ export declare class AtwButtonClosePopup implements OnInit {
|
|
|
29
31
|
observer: IntersectionObserver;
|
|
30
32
|
subscription: Subscription;
|
|
31
33
|
constructor(vhQueryAutoWeb: VhQueryAutoWeb, elementRef: ElementRef, element: ElementRef, // Dùng cho hàm setAnimationVisible trong functionService
|
|
32
|
-
vhEventMediator: VhEventMediator, functionService: FunctionService, platformId: Object);
|
|
34
|
+
vhEventMediator: VhEventMediator, router: Router, functionService: FunctionService, platformId: Object);
|
|
33
35
|
ngOnInit(): void;
|
|
34
36
|
ngAfterViewInit(): void;
|
|
35
37
|
ngOnDestroy(): void;
|
|
36
38
|
handleClick(): void;
|
|
37
|
-
|
|
38
|
-
* Đóng popup
|
|
39
|
-
*/
|
|
39
|
+
closeModal(): void;
|
|
40
40
|
navigate(): void;
|
|
41
|
+
/**
|
|
42
|
+
* Hàm chờ khối xuất hiện và cuộn đến
|
|
43
|
+
* */
|
|
44
|
+
scrollToBlockWhenAvailable(blockId: string, offset?: number): void;
|
|
41
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<AtwButtonClosePopup, never>;
|
|
42
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<AtwButtonClosePopup, "atw-button-close-popup", never, { "data": "data"; "type": "type"; "device": "device"; "id_subproject": "id_subproject"; "closePopup": "closePopup"; }, { "hanldleProcessResizeOffset": "hanldleProcessResizeOffset"; }, never, never>;
|
|
43
47
|
}
|