aq-fe-framework 0.1.150 → 0.1.152
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.
@@ -23,10 +23,10 @@ function utils_converter_enumToSelectOptions(enumObject) {
|
|
23
23
|
}
|
24
24
|
|
25
25
|
// src/utils/utils_currency.ts
|
26
|
-
function utils_currency_formatWithSuffix(amount,
|
26
|
+
function utils_currency_formatWithSuffix(amount, suffix = "") {
|
27
27
|
const formatter = new Intl.NumberFormat("vi-VN");
|
28
28
|
const formattedAmount = formatter.format(amount);
|
29
|
-
return
|
29
|
+
return `${formattedAmount}${suffix}`;
|
30
30
|
}
|
31
31
|
|
32
32
|
// src/utils/utils_date.ts
|
package/dist/utils/index.d.mts
CHANGED
@@ -14,7 +14,7 @@ declare function utils_converter_enumToSelectOptions<T extends Record<string, st
|
|
14
14
|
label: string;
|
15
15
|
}>;
|
16
16
|
|
17
|
-
declare function utils_currency_formatWithSuffix(amount: number,
|
17
|
+
declare function utils_currency_formatWithSuffix(amount: number, suffix?: string): string;
|
18
18
|
|
19
19
|
declare function U0DateToDDMMYYYString(date: Date): string;
|
20
20
|
declare function utils_date_dateToDDMMYYYString(date: Date): string;
|
package/dist/utils/index.mjs
CHANGED
@@ -14,7 +14,7 @@ import {
|
|
14
14
|
utils_file_fileToAQDocumentType,
|
15
15
|
utils_time_convertTimeStringToSeconds,
|
16
16
|
utils_time_getCurrentTimeString
|
17
|
-
} from "../chunk-
|
17
|
+
} from "../chunk-P67AOBLX.mjs";
|
18
18
|
import {
|
19
19
|
utils_pdf_download
|
20
20
|
} from "../chunk-5U2JSHSJ.mjs";
|