vhobjects-service 0.5.8 → 0.5.9

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.
@@ -128,7 +128,23 @@ export declare class AnimationsConfigComponent implements OnInit {
128
128
  /**
129
129
  * Hàm xử lý xoá một item màu trong danh sách color
130
130
  */
131
- handleRemoveColor(index: number, item: any): void;
131
+ handleRemoveColor(item: any, index: number): void;
132
+ /**
133
+ * Xử lý sự kiện kéo thả để thay đổi thứ tự các phần tử trong mảng.
134
+ * @param {Object} item - Đối tượng chứa mảng dữ liệu.
135
+ * @param {CdkDragDrop<string[]>} event - Sự kiện kéo thả từ Angular CDK.
136
+ */
137
+ handleBgImgGradientColorPositionDrop(item: any, event: any): void;
138
+ /**
139
+ * Hàm theo dõi (trackBy) cho vòng lặp ngFor trong Angular.
140
+ * Giúp Angular định danh các phần tử trong danh sách dựa trên chỉ số (index)
141
+ * thay vì giá trị của phần tử. Điều này ngăn chặn việc render lại toàn bộ DOM
142
+ * khi giá trị chuỗi thay đổi, từ đó khắc phục lỗi mất focus khi người dùng nhập liệu.
143
+ * @param {number} index - Chỉ số của phần tử hiện tại trong mảng.
144
+ * @param {any} item - Giá trị của phần tử tại vị trí index đó.
145
+ * @returns {number} Trả về index để Angular dùng làm khóa định danh.
146
+ */
147
+ trackColorListByIndex(index: number, item: any): number;
132
148
  /**
133
149
  * Hàm xử lý bùa cho viền màu của shape
134
150
  *
@@ -14,6 +14,8 @@ export declare class BrightnessContrastConfigComponent implements OnInit {
14
14
  opacityClass: any;
15
15
  type: any;
16
16
  elementChoosing: any;
17
+ configType: 'image' | 'background-image';
18
+ isBlock: boolean;
17
19
  constructor(vhQueryAutoWeb: VhQueryAutoWeb, functionService: FunctionService);
18
20
  ngOnInit(): void;
19
21
  updateFilter(): void;
@@ -30,5 +32,5 @@ export declare class BrightnessContrastConfigComponent implements OnInit {
30
32
  */
31
33
  updateObject(): void;
32
34
  static ɵfac: i0.ɵɵFactoryDeclaration<BrightnessContrastConfigComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<BrightnessContrastConfigComponent, "app-brightness-contrast-config", never, { "id_object": "id_object"; "device": "device"; "class": "class"; "config": "config"; "staticdata": "staticdata"; "filterConfig": "filterConfig"; "opacityClass": "opacityClass"; "type": "type"; "elementChoosing": "elementChoosing"; }, {}, never, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<BrightnessContrastConfigComponent, "app-brightness-contrast-config", never, { "id_object": "id_object"; "device": "device"; "class": "class"; "config": "config"; "staticdata": "staticdata"; "filterConfig": "filterConfig"; "opacityClass": "opacityClass"; "type": "type"; "elementChoosing": "elementChoosing"; "configType": "configType"; "isBlock": "isBlock"; }, {}, never, never>;
34
36
  }
@@ -27,6 +27,7 @@ export declare class LinkPageComponent implements OnInit {
27
27
  resultSearchPageName: any[];
28
28
  private searchPageNameChange;
29
29
  isLoadingSearchPageName: boolean;
30
+ device: string;
30
31
  constructor(vhQueryAutoWeb: VhQueryAutoWeb, vhAlgorithm: VhAlgorithm, functionService: FunctionService, languageService: LanguageService);
31
32
  ngOnInit(): void;
32
33
  getBlocksbyPage(): void;
@@ -98,6 +99,7 @@ export declare class LinkPageComponent implements OnInit {
98
99
  * @returns
99
100
  */
100
101
  private removeAccents;
102
+ handleSetScrollBlockType(event: any): void;
101
103
  static ɵfac: i0.ɵɵFactoryDeclaration<LinkPageComponent, never>;
102
104
  static ɵcmp: i0.ɵɵComponentDeclaration<LinkPageComponent, "app-link-page-config", never, { "objectChoosing": "objectChoosing"; "staticdata": "staticdata"; "linkStaticdata": "linkStaticdata"; "id_object": "id_object"; "blocks_of_page": "blocks_of_page"; "dynamic_data": "dynamic_data"; "type_page": "type_page"; "type_contact": "type_contact"; "hasContact": "hasContact"; }, {}, never, never>;
103
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhobjects-service",
3
- "version": "0.5.8",
3
+ "version": "0.5.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"