awing-library 2.1.2-dev.96 → 2.1.2-dev.98
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/dist/esm/Helpers/number.d.ts +2 -1
- package/dist/esm/index.js +3399 -3398
- package/dist/index.d.ts +2 -1
- package/package.json +12 -4
package/dist/index.d.ts
CHANGED
|
@@ -3341,7 +3341,8 @@ declare function parseJSON(str: string): any;
|
|
|
3341
3341
|
* Xử lý các thao tác số học và toán học một cách tiện lợi.
|
|
3342
3342
|
* Hỗ trợ các phép toán phức tạp hoặc tối ưu hóa các logic tính toán thường dùng.
|
|
3343
3343
|
*/
|
|
3344
|
-
|
|
3344
|
+
/** Danh sách các nước */
|
|
3345
|
+
type Locale = 'vi' | 'en' | 'ja' | 'th' | 'id' | 'fil';
|
|
3345
3346
|
declare function formatNumberByLocale(value?: number | bigint, lang?: string, locale?: string): string;
|
|
3346
3347
|
declare function roundDecimalNumber(number: any): string | null;
|
|
3347
3348
|
declare function WMAPEcalculator(data: any): number | "∞";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "awing-library",
|
|
3
|
-
"version": "2.1.2-dev.
|
|
3
|
+
"version": "2.1.2-dev.98",
|
|
4
4
|
"main": "dist/esm/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"clean": "rimraf dist lib",
|
|
15
15
|
"generate": "graphql-codegen",
|
|
16
16
|
"preview": "concurrently \"vite build --watch\" \"vite preview\"",
|
|
17
|
-
"build:micro": "vite build"
|
|
17
|
+
"build:micro": "vite build",
|
|
18
|
+
"prepare": "husky install"
|
|
18
19
|
},
|
|
19
20
|
"peerDependencies": {
|
|
20
21
|
"@emotion/react": "11.14.0",
|
|
@@ -86,16 +87,17 @@
|
|
|
86
87
|
"globals": "15.12.0",
|
|
87
88
|
"graphql": "^16.9.0",
|
|
88
89
|
"html2canvas": "^1.4.1",
|
|
90
|
+
"husky": "^9.1.7",
|
|
89
91
|
"i18next": "23.16.2",
|
|
90
92
|
"i18next-browser-languagedetector": "^8.1.0",
|
|
91
93
|
"i18next-http-backend": "^3.0.2",
|
|
92
94
|
"jspdf": "^2.5.2",
|
|
93
|
-
"lint-staged": "^
|
|
95
|
+
"lint-staged": "^16.1.2",
|
|
94
96
|
"lodash": "4.17.21",
|
|
95
97
|
"moment": "2.30.1",
|
|
96
98
|
"path": "0.12.7",
|
|
97
99
|
"postcss-import": "16.1.0",
|
|
98
|
-
"prettier": "^3.
|
|
100
|
+
"prettier": "^3.6.2",
|
|
99
101
|
"prismjs": "1.29.0",
|
|
100
102
|
"react": "19.0.0",
|
|
101
103
|
"react-chartjs-2": "5.2.0",
|
|
@@ -143,6 +145,12 @@
|
|
|
143
145
|
"tabWidth": 4,
|
|
144
146
|
"singleQuote": true
|
|
145
147
|
},
|
|
148
|
+
"lint-staged": {
|
|
149
|
+
"**/*.{jsx,tsx,json}": [
|
|
150
|
+
"prettier --write",
|
|
151
|
+
"git add"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
146
154
|
"browserslist": {
|
|
147
155
|
"production": [
|
|
148
156
|
">0.2%",
|