@libs-ui/utils 0.2.355-2 → 0.2.355-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.
- package/esm2022/language.mjs +17 -3
- package/fesm2022/libs-ui-utils.mjs +16 -2
- package/fesm2022/libs-ui-utils.mjs.map +1 -1
- package/language.d.ts +5 -2
- package/package.json +2 -2
package/language.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TYPE_LANGUAGE_SUPPORT } from '@libs-ui/interfaces-types';
|
|
1
2
|
export declare class UtilsLanguageConstants {
|
|
2
3
|
static VI: string;
|
|
3
4
|
static EN: string;
|
|
@@ -26,8 +27,10 @@ export declare class UtilsLanguageConstants {
|
|
|
26
27
|
static CEB: string;
|
|
27
28
|
static JV: string;
|
|
28
29
|
static SU: string;
|
|
29
|
-
static
|
|
30
|
-
static
|
|
30
|
+
static browserLang: string;
|
|
31
|
+
static defaultLang: () => string;
|
|
32
|
+
private static supportedLanguages;
|
|
33
|
+
static setSupportedLanguages(languages: Array<TYPE_LANGUAGE_SUPPORT>): void;
|
|
31
34
|
/**
|
|
32
35
|
* Kiểm tra xem ngôn ngữ đầu vào có được hỗ trợ không
|
|
33
36
|
* @param lang Mã ngôn ngữ cần kiểm tra
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/utils",
|
|
3
|
-
"version": "0.2.355-
|
|
3
|
+
"version": "0.2.355-4",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
7
7
|
"crypto-es": "^2.1.0",
|
|
8
8
|
"dayjs": "1.11.5",
|
|
9
|
-
"@libs-ui/interfaces-types": "0.2.355-
|
|
9
|
+
"@libs-ui/interfaces-types": "0.2.355-4",
|
|
10
10
|
"rxjs": "~7.8.0"
|
|
11
11
|
},
|
|
12
12
|
"sideEffects": false,
|