aq-fe-framework 0.1.438 → 0.1.440
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/{chunk-2SBUKAGS.mjs → chunk-BEFEWY44.mjs} +1 -1
- package/dist/{chunk-I2XIN2R3.mjs → chunk-EWDS5IOF.mjs} +5 -4
- package/dist/columns/index.mjs +2 -2
- package/dist/modules-features/index.mjs +2 -2
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
@@ -7,10 +7,11 @@ function U0DateToDDMMYYYString(date) {
|
|
7
7
|
return `${day}/${month}/${year}`;
|
8
8
|
}
|
9
9
|
function utils_date_dateToDDMMYYYString(date) {
|
10
|
-
|
11
|
-
|
12
|
-
const
|
13
|
-
const
|
10
|
+
const parsedDate = typeof date === "string" ? new Date(date) : date;
|
11
|
+
if (!(parsedDate instanceof Date) || isNaN(parsedDate.getTime())) return "";
|
12
|
+
const day = String(parsedDate.getDate()).padStart(2, "0");
|
13
|
+
const month = String(parsedDate.getMonth() + 1).padStart(2, "0");
|
14
|
+
const year = parsedDate.getFullYear();
|
14
15
|
return `${day}/${month}/${year}`;
|
15
16
|
}
|
16
17
|
function utils_date_formatToDateTimeStartEnd(startDate, endDate) {
|
package/dist/columns/index.mjs
CHANGED
@@ -7,10 +7,10 @@ import {
|
|
7
7
|
} from "../chunk-NRTOFI27.mjs";
|
8
8
|
import {
|
9
9
|
baseColumns
|
10
|
-
} from "../chunk-
|
10
|
+
} from "../chunk-BEFEWY44.mjs";
|
11
11
|
import {
|
12
12
|
U0DateToDDMMYYYString
|
13
|
-
} from "../chunk-
|
13
|
+
} from "../chunk-EWDS5IOF.mjs";
|
14
14
|
import {
|
15
15
|
F_authenticate_Logout,
|
16
16
|
MyActionIconDelete,
|
package/dist/utils/index.d.mts
CHANGED
@@ -22,7 +22,7 @@ declare function utils_converter_enumToSelectOptions<T extends Record<string, st
|
|
22
22
|
declare function utils_currency_formatWithSuffix(amount: number, suffix?: string): string;
|
23
23
|
|
24
24
|
declare function U0DateToDDMMYYYString(date: Date): string;
|
25
|
-
declare function utils_date_dateToDDMMYYYString(date: Date): string;
|
25
|
+
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
|
|
package/dist/utils/index.mjs
CHANGED