vhobjects-config 0.5.1 → 0.5.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.
@@ -26,6 +26,10 @@ export declare class AtwMultiLanguageConfig extends AtwUpdateDbComponent impleme
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;
@@ -33,6 +37,7 @@ export declare class AtwMultiLanguageConfig extends AtwUpdateDbComponent impleme
33
37
  arr_link_page: any;
34
38
  id_subproject: any;
35
39
  customize: any;
40
+ codeEditLangName: string;
36
41
  constructor(vhQueryAutoWeb: VhQueryAutoWeb, http: HttpClient, matDialog: MatDialog, themeService: ThemeService, platformId: Object, functionService: FunctionService, vhEventMediator: VhEventMediator);
37
42
  ngOnInit(): void;
38
43
  ngOnChanges(): void;
@@ -112,6 +117,11 @@ export declare class AtwMultiLanguageConfig extends AtwUpdateDbComponent impleme
112
117
  * @param event width hieght của element sau khi thay đổi
113
118
  */
114
119
  changeWidthHeight(event: any): void;
120
+ initMissingData(): void;
121
+ /**
122
+ * Cập nhật kiểu hiển thị của đa ngôn ngữ
123
+ */
124
+ handleDisplayType(event: any): void;
115
125
  static ɵfac: i0.ɵɵFactoryDeclaration<AtwMultiLanguageConfig, never>;
116
126
  static ɵcmp: i0.ɵɵComponentDeclaration<AtwMultiLanguageConfig, "app-multi-language-config", never, { "objectChoosing": "objectChoosing"; "device": "device"; "class": "class"; "config": "config"; "staticdata": "staticdata"; }, {}, never, never>;
117
127
  }
@@ -2,7 +2,7 @@ import { HttpClient } from '@angular/common/http';
2
2
  import { OnInit, SimpleChanges } from '@angular/core';
3
3
  import { MatDialog } from '@angular/material/dialog';
4
4
  import { VhQueryAutoWeb, VhEventMediator } from 'vhautowebdb';
5
- import { FunctionService } from 'vhobjects-service/src/services';
5
+ import { FunctionService, ThemeService } from 'vhobjects-service/src/services';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class AtwButtonViewDetailConfig implements OnInit {
8
8
  vhQueryAutoWeb: VhQueryAutoWeb;
@@ -12,6 +12,7 @@ export declare class AtwButtonViewDetailConfig implements OnInit {
12
12
  private platformId;
13
13
  functionService: FunctionService;
14
14
  private matDialog;
15
+ themeService: ThemeService;
15
16
  isCollapsed: boolean;
16
17
  objectChoosing: any;
17
18
  device: any;
@@ -49,7 +50,7 @@ export declare class AtwButtonViewDetailConfig implements OnInit {
49
50
  effect_hover_data: any;
50
51
  width: number;
51
52
  height: number;
52
- constructor(vhQueryAutoWeb: VhQueryAutoWeb, dialog: MatDialog, http: HttpClient, vhEventMediator: VhEventMediator, platformId: Object, functionService: FunctionService, matDialog: MatDialog);
53
+ constructor(vhQueryAutoWeb: VhQueryAutoWeb, dialog: MatDialog, http: HttpClient, vhEventMediator: VhEventMediator, platformId: Object, functionService: FunctionService, matDialog: MatDialog, themeService: ThemeService);
53
54
  parserPercent: (value: string) => string;
54
55
  formatterPercent: (value: number) => string;
55
56
  ngOnInit(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhobjects-config",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"