@libs-ui/utils 0.2.116 → 0.2.118

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.
package/language.d.ts CHANGED
@@ -1,5 +1,37 @@
1
1
  export declare class UtilsLanguageConstants {
2
2
  static VI: string;
3
3
  static EN: string;
4
+ static FR: string;
5
+ static DE: string;
6
+ static ES: string;
7
+ static ZH: string;
8
+ static ZH_TW: string;
9
+ static JA: string;
10
+ static KO: string;
11
+ static RU: string;
12
+ static IT: string;
13
+ static PT: string;
14
+ static TH: string;
15
+ static ID: string;
16
+ static MS: string;
17
+ static AR: string;
18
+ static HI: string;
19
+ static BN: string;
20
+ static TR: string;
21
+ static NL: string;
22
+ static KM: string;
23
+ static LO: string;
24
+ static MY: string;
25
+ static TL: string;
26
+ static CEB: string;
27
+ static JV: string;
28
+ static SU: string;
4
29
  static defaultLang: string;
30
+ static supportedLanguages: Set<string>;
31
+ /**
32
+ * Kiểm tra xem ngôn ngữ đầu vào có được hỗ trợ không
33
+ * @param lang Mã ngôn ngữ cần kiểm tra
34
+ * @returns True nếu được hỗ trợ, False nếu không
35
+ */
36
+ static isSupported(lang: string): boolean;
5
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libs-ui/utils",
3
- "version": "0.2.116",
3
+ "version": "0.2.118",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0",