vhobjects-admin 0.5.2 → 0.5.4

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.
@@ -37,6 +37,7 @@ export declare class AtwFrameRepeatAdmin implements OnInit {
37
37
  id_subproject: string;
38
38
  isShowUploadToServer: boolean;
39
39
  compressType: string;
40
+ isSharedImg: boolean;
40
41
  compressWidth: number;
41
42
  compressHeight: number;
42
43
  uploadToServerLoading: boolean;
@@ -177,6 +178,7 @@ export declare class AtwFrameRepeatAdmin implements OnInit {
177
178
  * Sao chép đường dẫn hình ảnh vào bộ nhớ tạm
178
179
  */
179
180
  copyLinkImg(text?: string): void;
181
+ handleLinkImg(dataRow: any): void;
180
182
  static ɵfac: i0.ɵɵFactoryDeclaration<AtwFrameRepeatAdmin, [null, null, null, null, null, null, { optional: true; }, null, null, null]>;
181
183
  static ɵcmp: i0.ɵɵComponentDeclaration<AtwFrameRepeatAdmin, "atw-frame-repeat-admin", never, { "data": "data"; "type": "type"; }, {}, never, never>;
182
184
  }
@@ -205,14 +205,6 @@ export declare class AtwImageAdminConfig extends AtwUpdateDbComponent implements
205
205
  copyLinkImg(text?: string): void;
206
206
  /** Hàm kiểm tra có cần phải hiển thị nút cập nhật không */
207
207
  private checkDesignImageSize;
208
- /**
209
- * Hàm kiểm tra
210
- * - Ratio có bị lệch nhiều hay không hoặc
211
- * - Kích thước có lớn hơn nhiều so với kích thước hiển thị hay không?
212
- * @param imgSize Kích thước của file ảnh gốc
213
- * @param containerSize Kích thước thực tế người dùng thấy
214
- */
215
- private checkRatioDesignImgSize;
216
208
  /**
217
209
  * Hàm update kích thước ảnh phù hợp cho từng kích thước thiết kế của từng thiết bị
218
210
  */
@@ -26,6 +26,10 @@ export declare class AtwMultiLanguageAdminConfig extends AtwUpdateDbComponent im
26
26
  title: string;
27
27
  index: number;
28
28
  }[];
29
+ displayType: {
30
+ name: string;
31
+ type: string;
32
+ }[];
29
33
  fonts: any[];
30
34
  effect_hover: any[];
31
35
  effect_hover_data: any;
@@ -34,6 +38,7 @@ export declare class AtwMultiLanguageAdminConfig extends AtwUpdateDbComponent im
34
38
  id_subproject: any;
35
39
  customize: any;
36
40
  configMode: 'basic' | 'advanced';
41
+ codeEditLangName: string;
37
42
  constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, matDialog: MatDialog, themeService: ThemeService, functionService: FunctionService, platformId: Object, vhEventMediator: VhEventMediator);
38
43
  ngOnInit(): void;
39
44
  ngOnChanges(): void;
@@ -105,6 +110,11 @@ export declare class AtwMultiLanguageAdminConfig extends AtwUpdateDbComponent im
105
110
  * Hàm này để xử lý hiệu ứng khi xuất hiện
106
111
  */
107
112
  openAnimationAppear(): void;
113
+ initMissingData(): void;
114
+ /**
115
+ * Cập nhật kiểu hiển thị của đa ngôn ngữ
116
+ */
117
+ handleDisplayType(event: any): void;
108
118
  static ɵfac: i0.ɵɵFactoryDeclaration<AtwMultiLanguageAdminConfig, never>;
109
119
  static ɵcmp: i0.ɵɵComponentDeclaration<AtwMultiLanguageAdminConfig, "atw-multi-language-admin-config", never, { "objectChoosing": "objectChoosing"; "device": "device"; "class": "class"; "config": "config"; "staticdata": "staticdata"; }, {}, never, never>;
110
120
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhobjects-admin",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"