vhobjects-user 1.0.6 → 1.0.7
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, EventEmitter, NgZone, OnInit } from '@angular/core';
|
|
2
2
|
import { VhAlgorithm, VhEventMediator, VhQueryAutoWeb } from 'vhautowebdb';
|
|
3
3
|
import { ElementRef } from '@angular/core';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
@@ -17,6 +17,7 @@ export declare class AtwFrameRepeat implements OnInit {
|
|
|
17
17
|
private platformId;
|
|
18
18
|
router: Router;
|
|
19
19
|
private languageService;
|
|
20
|
+
private zone;
|
|
20
21
|
array_object_selected: any[];
|
|
21
22
|
resolution: any;
|
|
22
23
|
data: any;
|
|
@@ -86,8 +87,10 @@ export declare class AtwFrameRepeat implements OnInit {
|
|
|
86
87
|
isItemVisible: boolean;
|
|
87
88
|
searchValue: string;
|
|
88
89
|
private searchDebounce;
|
|
90
|
+
changeDetection: ChangeDetectionStrategy.OnPush;
|
|
91
|
+
private hovering;
|
|
89
92
|
constructor(vhQueryAutoWeb: VhQueryAutoWeb, pipeFrameService: PipeFrameService, functionService: FunctionService, element: ElementRef, // Dùng cho hàm setAnimationVisible trong functionService
|
|
90
|
-
vhEventMediator: VhEventMediator, vhAlgorithm: VhAlgorithm, platformId: Object, router: Router, languageService: LanguageService);
|
|
93
|
+
vhEventMediator: VhEventMediator, vhAlgorithm: VhAlgorithm, platformId: Object, router: Router, languageService: LanguageService, zone: NgZone);
|
|
91
94
|
ngOnInit(): void;
|
|
92
95
|
outputs: {
|
|
93
96
|
showToolBarObject: (event: any) => void;
|
|
@@ -174,6 +177,7 @@ export declare class AtwFrameRepeat implements OnInit {
|
|
|
174
177
|
*/
|
|
175
178
|
pageUrl(page: number): string;
|
|
176
179
|
private migrateStaticDataToBasics;
|
|
180
|
+
onCellHover(key: string, v: boolean): void;
|
|
177
181
|
static ɵfac: i0.ɵɵFactoryDeclaration<AtwFrameRepeat, never>;
|
|
178
182
|
static ɵcmp: i0.ɵɵComponentDeclaration<AtwFrameRepeat, "atw-frame-repeat", never, { "array_object_selected": "array_object_selected"; "resolution": "resolution"; "data": "data"; "id_subproject": "id_subproject"; "type": "type"; "objectChoosing": "objectChoosing"; "device": "device"; "blockChoosing": "blockChoosing"; "isPressingShift": "isPressingShift"; "isClone": "isClone"; }, { "showToolBarObject": "showToolBarObject"; "hanldleProcessResizeOffset": "hanldleProcessResizeOffset"; }, never, never>;
|
|
179
183
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, ElementRef, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { VhQueryAutoWeb, VhAlgorithm } from 'vhautowebdb';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
4
5
|
import { FunctionService } from 'vhobjects-service/src/services';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class AtwTextRepeat implements OnInit {
|
|
@@ -17,6 +18,7 @@ export declare class AtwTextRepeat implements OnInit {
|
|
|
17
18
|
product: any;
|
|
18
19
|
private dataAfterChange;
|
|
19
20
|
id_subproject: any;
|
|
21
|
+
hoverKey?: string;
|
|
20
22
|
isComponentExist: ElementRef<HTMLDivElement>;
|
|
21
23
|
config: any;
|
|
22
24
|
private animation;
|
|
@@ -28,9 +30,12 @@ export declare class AtwTextRepeat implements OnInit {
|
|
|
28
30
|
private observer;
|
|
29
31
|
private subscription;
|
|
30
32
|
dataItem: any;
|
|
33
|
+
isParentHover$: Observable<boolean>;
|
|
34
|
+
changeDetection: ChangeDetectionStrategy.OnPush;
|
|
31
35
|
constructor(router: Router, vhQueryAutoWeb: VhQueryAutoWeb, vhAlgorithm: VhAlgorithm, element: ElementRef, // Dùng cho hàm setAnimationVisible trong functionService
|
|
32
36
|
functionService: FunctionService, platformId: Object);
|
|
33
37
|
ngOnInit(): void;
|
|
38
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
34
39
|
ngOnDestroy(): void;
|
|
35
40
|
/**
|
|
36
41
|
* Hàm update object vào database.
|
|
@@ -52,5 +57,5 @@ export declare class AtwTextRepeat implements OnInit {
|
|
|
52
57
|
private scrollToBlockWhenAvailable;
|
|
53
58
|
showRoute(): any;
|
|
54
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<AtwTextRepeat, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AtwTextRepeat, "atw-text-repeat", never, { "data": "data"; "type": "type"; "device": "device"; "index": "index"; "product": "product"; "id_subproject": "id_subproject"; }, {}, never, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AtwTextRepeat, "atw-text-repeat", never, { "data": "data"; "type": "type"; "device": "device"; "index": "index"; "product": "product"; "id_subproject": "id_subproject"; "hoverKey": "hoverKey"; }, {}, never, never>;
|
|
56
61
|
}
|