vhobjects-user 1.0.1 → 1.0.3

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,5 +1,5 @@
1
1
  import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
- import { ActivatedRoute } from '@angular/router';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
3
  import { VhQueryAutoWeb, VhEventMediator } from 'vhautowebdb';
4
4
  import { PipeFrameService } from '../../../../../services/pipe-frame.service';
5
5
  import { FunctionService } from 'vhobjects-service/src/services';
@@ -7,6 +7,7 @@ import * as i0 from "@angular/core";
7
7
  export declare class AtwFrameProductRelate implements OnInit {
8
8
  private vhQueryAutoWeb;
9
9
  private route;
10
+ private router;
10
11
  private vhEventMediator;
11
12
  functionService: FunctionService;
12
13
  private element;
@@ -90,7 +91,7 @@ export declare class AtwFrameProductRelate implements OnInit {
90
91
  loading: boolean;
91
92
  /** Các kiểu sort */
92
93
  private sortQueryMap;
93
- constructor(vhQueryAutoWeb: VhQueryAutoWeb, route: ActivatedRoute, vhEventMediator: VhEventMediator, functionService: FunctionService, element: ElementRef, // Dùng cho hàm setAnimationVisible trong functionService
94
+ constructor(vhQueryAutoWeb: VhQueryAutoWeb, route: ActivatedRoute, router: Router, vhEventMediator: VhEventMediator, functionService: FunctionService, element: ElementRef, // Dùng cho hàm setAnimationVisible trong functionService
94
95
  pipeFrameService: PipeFrameService, platformId: Object);
95
96
  ngOnInit(): void;
96
97
  outputs: {
@@ -173,6 +174,10 @@ export declare class AtwFrameProductRelate implements OnInit {
173
174
  *
174
175
  */
175
176
  private calcSpaceGrid;
177
+ /**
178
+ * Trả về URL đầy đủ của trang hiện tại kèm query param page, dùng cho href hiển thị khi hover
179
+ */
180
+ pageUrl(page: number): string;
176
181
  static ɵfac: i0.ɵɵFactoryDeclaration<AtwFrameProductRelate, never>;
177
182
  static ɵcmp: i0.ɵɵComponentDeclaration<AtwFrameProductRelate, "atw-frame-product-relate", never, { "resolution": "resolution"; "data": "data"; "id_subproject": "id_subproject"; "type": "type"; "objectChoosing": "objectChoosing"; "device": "device"; "blockChoosing": "blockChoosing"; "isPressingShift": "isPressingShift"; "isClone": "isClone"; "array_object_selected": "array_object_selected"; }, { "showToolBarObject": "showToolBarObject"; "hanldleProcessResizeOffset": "hanldleProcessResizeOffset"; }, never, never>;
178
183
  }
@@ -89,7 +89,7 @@ export declare class AtwNewFieldCkeditor implements OnInit {
89
89
  updateContentHeight(element: HTMLElement, init?: boolean): void;
90
90
  initForm(): void;
91
91
  /**
92
- * Set trường content theo ngôn ngữ, dựa trên this.product và ngôn ngữ được chọn trong functionService.selectedLanguageCode, nếu không có thì hiện 'Đang cập nhật'
92
+ * Set trường content theo ngôn ngữ, dựa trên this.product và ngôn ngữ được chọn trong functionService.selectedLanguageCode, nếu không có thì hiện ''
93
93
  */
94
94
  setDataContentValue(code?: string): void;
95
95
  /**
@@ -35,6 +35,7 @@ export declare class AtwNewFieldFrameGridDetail implements OnInit {
35
35
  } | null;
36
36
  /** Biến chứa danh sách dữ liệu */
37
37
  dataList: Record<string, string>[];
38
+ itemHeight: string;
38
39
  constructor(functionService: FunctionService, platformId: Object, vhEventMediator: VhEventMediator, vhQueryAutoWeb: VhQueryAutoWeb, cdr: ChangeDetectorRef);
39
40
  ngOnInit(): void;
40
41
  ngOnChanges(change: SimpleChanges): void;
@@ -80,7 +80,7 @@ export declare class AtwDetailedDescription implements OnInit {
80
80
  ngOnDestroy(): void;
81
81
  initForm(): void;
82
82
  /**
83
- * Set trường content theo ngôn ngữ, dựa trên this.product và ngôn ngữ được chọn trong functionService.selectedLanguageCode, nếu không có thì hiện 'Đang cập nhật'
83
+ * Set trường content theo ngôn ngữ, dựa trên this.product và ngôn ngữ được chọn trong functionService.selectedLanguageCode, nếu không có thì hiện ''
84
84
  * đặc tả kỹ thuật, hậu mãi, khuyến mãi, khác dùng chung component náy
85
85
  *
86
86
  */
@@ -95,7 +95,7 @@ export declare class AtwTextShortDescription implements OnInit {
95
95
  updateContentHeight(element: HTMLElement, init?: boolean): void;
96
96
  initForm(): void;
97
97
  /**
98
- * Set trường content theo ngôn ngữ, dựa trên this.product và ngôn ngữ được chọn trong functionService.selectedLanguageCode, nếu không có thì hiện 'Đang cập nhật'
98
+ * Set trường content theo ngôn ngữ, dựa trên this.product và ngôn ngữ được chọn trong functionService.selectedLanguageCode, nếu không có thì hiện ''
99
99
  */
100
100
  setDataContentValue(code?: string): void;
101
101
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhobjects-user",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"