vhobjects-user 0.8.4 → 0.8.5

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,11 +1,6 @@
1
1
  import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { VhEventMediator } from 'vhautowebdb';
4
- import { FunctionService } from 'vhobjects-service/src/services';
5
2
  import * as i0 from "@angular/core";
6
3
  export declare class AtwSharingSocial implements OnInit {
7
- functionService: FunctionService;
8
- private vhEventMediator;
9
4
  product: any;
10
5
  data: any;
11
6
  type: any;
@@ -16,20 +11,19 @@ export declare class AtwSharingSocial implements OnInit {
16
11
  isComponentExist: ElementRef<HTMLDivElement>;
17
12
  prevHeight: any;
18
13
  staticdata: any;
14
+ private animation;
19
15
  class: any;
20
16
  /** Chứa config của thiết bị */
21
17
  config: any;
22
- cutWebMan: boolean;
23
- dataContent: FormGroup;
24
- /** Subscription để theo dõi sự kiện thay đổi ngôn ngữ */
25
- languageChangedSubscription: any;
26
- socialLink: any;
18
+ private cutWebMan;
27
19
  socialItem: any;
28
- constructor(functionService: FunctionService, vhEventMediator: VhEventMediator);
20
+ constructor();
29
21
  ngOnInit(): void;
30
- ngOnDestroy(): void;
22
+ ngOnChanges(): void;
31
23
  ngAfterViewInit(): void;
24
+ private getDetailObject;
32
25
  getShareUrl(item: any): string;
26
+ ngOnDestroy(): void;
33
27
  static ɵfac: i0.ɵɵFactoryDeclaration<AtwSharingSocial, never>;
34
28
  static ɵcmp: i0.ɵɵComponentDeclaration<AtwSharingSocial, "app-sharing-social", never, { "product": "product"; "data": "data"; "type": "type"; "device": "device"; "index": "index"; "id_subproject": "id_subproject"; }, { "hanldleProcessResizeOffset": "hanldleProcessResizeOffset"; }, never, never>;
35
29
  }
@@ -80,6 +80,10 @@ export declare class AtwNewFieldImage implements OnInit {
80
80
  * - Tối ưu LCP trong SEO
81
81
  */
82
82
  private addPreload;
83
+ /**
84
+ * hàm này để set local những sp đã xem khi click xem chi tiết sp
85
+ */
86
+ private setProductViewed;
83
87
  static ɵfac: i0.ɵɵFactoryDeclaration<AtwNewFieldImage, never>;
84
88
  static ɵcmp: i0.ɵɵComponentDeclaration<AtwNewFieldImage, "atw-newField-image", never, { "data": "data"; "type": "type"; "device": "device"; "id_subproject": "id_subproject"; "product": "product"; "category": "category"; "currentField": "currentField"; }, {}, never, never>;
85
89
  }
@@ -26,12 +26,14 @@ export declare class AtwImageDetail implements OnInit {
26
26
  addObjectDuplicate: EventEmitter<any>;
27
27
  save: EventEmitter<any>;
28
28
  deleteTools: EventEmitter<any>;
29
+ hanldleProcessResizeOffset: EventEmitter<any>;
29
30
  id_subproject: any;
30
31
  isComponentExist: ElementRef<HTMLDivElement>;
31
32
  config: any;
32
33
  cutWebMan: boolean;
33
34
  animation: any;
34
35
  staticdata: any;
36
+ prevHeight: any;
35
37
  class: any;
36
38
  visible_config_tool: boolean;
37
39
  visible_config_tool_image: boolean;
@@ -63,11 +65,19 @@ export declare class AtwImageDetail implements OnInit {
63
65
  subscription: Subscription;
64
66
  loadingVideo: boolean;
65
67
  srcIframe: any;
68
+ subscribe: Subscription;
66
69
  constructor(router: Router, route: ActivatedRoute, vhImage: VhImage, matDialog: MatDialog, functionService: FunctionService, vhQueryAutoWeb: VhQueryAutoWeb, element: ElementRef, // Dùng cho hàm setAnimationVisible trong functionService
67
70
  vhEventMediator: VhEventMediator, platformId: Object, sanitizer: DomSanitizer);
68
71
  ngOnInit(): void;
69
72
  ngOnChanges(change: SimpleChanges): void;
70
73
  ngAfterViewInit(): void;
74
+ private getDetailObject;
75
+ dynamicHeight: string | null;
76
+ dynamicStyles: {
77
+ [key: string]: any;
78
+ } | null;
79
+ updateImageStyles(): void;
80
+ getHeight(): any;
71
81
  /**
72
82
  *
73
83
  * @description Hàm này dùng để chuyển tiếp tự động hiệu ứng.
@@ -115,5 +125,5 @@ export declare class AtwImageDetail implements OnInit {
115
125
  getUrlImage(src: string): string;
116
126
  private initVideoIframe;
117
127
  static ɵfac: i0.ɵɵFactoryDeclaration<AtwImageDetail, never>;
118
- static ɵcmp: i0.ɵɵComponentDeclaration<AtwImageDetail, "atw-image-detail", never, { "product": "product"; "resolution": "resolution"; "data": "data"; "type": "type"; "device": "device"; "id_subproject": "id_subproject"; }, { "onSomething": "onSomething"; "addObjectDuplicate": "addObjectDuplicate"; "save": "save"; "deleteTools": "deleteTools"; }, never, never>;
128
+ static ɵcmp: i0.ɵɵComponentDeclaration<AtwImageDetail, "atw-image-detail", never, { "product": "product"; "resolution": "resolution"; "data": "data"; "type": "type"; "device": "device"; "id_subproject": "id_subproject"; }, { "onSomething": "onSomething"; "addObjectDuplicate": "addObjectDuplicate"; "save": "save"; "deleteTools": "deleteTools"; "hanldleProcessResizeOffset": "hanldleProcessResizeOffset"; }, never, never>;
119
129
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhobjects-user",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"