aq-fe-framework 0.1.500 → 0.1.501

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.
@@ -213,7 +213,7 @@ async function utils_file_docxtemplaterDownload({
213
213
 
214
214
  // src/utils/utils_format.ts
215
215
  function utils_format_fixDecimal(number, digits = 2) {
216
- if (typeof number !== "number" || isNaN(number)) return 0;
216
+ if (typeof number !== "number" || isNaN(number)) return void 0;
217
217
  return parseFloat(number.toFixed(digits));
218
218
  }
219
219
 
@@ -4,7 +4,7 @@ import {
4
4
  utils_config_getBaseUrl,
5
5
  utils_converter_enumToSelectOptions,
6
6
  utils_file_fileToAQDocumentType
7
- } from "../chunk-CMWDA4NM.mjs";
7
+ } from "../chunk-RBWFK2GG.mjs";
8
8
  import {
9
9
  baseColumns
10
10
  } from "../chunk-BEFEWY44.mjs";
@@ -26,7 +26,7 @@ declare function utils_date_dateToDDMMYYYString(date?: Date | string): string;
26
26
  declare function utils_date_formatToDateTimeStartEnd(startDate: Date, endDate: Date): string;
27
27
  declare function utils_date_getHHmm(date: Date): string;
28
28
 
29
- declare function utils_format_fixDecimal(number: number, digits?: number): number;
29
+ declare function utils_format_fixDecimal(number: number, digits?: number): number | undefined;
30
30
 
31
31
  /**
32
32
  * Cập nhật danh sách dạng many-to-many có cờ enable.
@@ -24,7 +24,7 @@ import {
24
24
  utils_time_getCurrentTimeString,
25
25
  utils_time_getHourMinuteFromString,
26
26
  utils_validator_validateCode
27
- } from "../chunk-CMWDA4NM.mjs";
27
+ } from "../chunk-RBWFK2GG.mjs";
28
28
  import {
29
29
  U0DateToDDMMYYYString,
30
30
  utils_date_dateToDDMMYYYString,
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.500",
45
+ "version": "0.1.501",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"