aq-fe-framework 0.1.812 → 0.1.813
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.
|
@@ -26,6 +26,10 @@ var utils_date = {
|
|
|
26
26
|
const year = parsedDate.getFullYear();
|
|
27
27
|
return `${day}/${month}/${year}`;
|
|
28
28
|
},
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated Hàm này không xài nữa nha mấy ní
|
|
31
|
+
* Vui lòng dùng `utils_date.toDDMMYYY` từ `utils-v2` thay thế.
|
|
32
|
+
*/
|
|
29
33
|
toMMYYY(date) {
|
|
30
34
|
const parsedDate = typeof date === "string" ? new Date(date) : date;
|
|
31
35
|
if (!(parsedDate instanceof Date) || isNaN(parsedDate.getTime())) return "";
|
package/dist/shared/index.mjs
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
utils_converter
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-OTCNTCGQ.mjs";
|
|
4
|
+
import {
|
|
5
|
+
enumLabel_gender,
|
|
6
|
+
enum_gender
|
|
7
|
+
} from "../chunk-U42DQAY7.mjs";
|
|
4
8
|
import {
|
|
5
9
|
MySelect
|
|
6
10
|
} from "../chunk-4OFNNM4J.mjs";
|
|
@@ -10,10 +14,6 @@ import "../chunk-7NNLZDND.mjs";
|
|
|
10
14
|
import "../chunk-O7YCQQO5.mjs";
|
|
11
15
|
import "../chunk-QSWIVDXC.mjs";
|
|
12
16
|
import "../chunk-KAC7JMQB.mjs";
|
|
13
|
-
import {
|
|
14
|
-
enumLabel_gender,
|
|
15
|
-
enum_gender
|
|
16
|
-
} from "../chunk-U42DQAY7.mjs";
|
|
17
17
|
import "../chunk-K6S7R6LU.mjs";
|
|
18
18
|
import "../chunk-NSBIYOKX.mjs";
|
|
19
19
|
import "../chunk-WZ6PXGGC.mjs";
|
|
@@ -10,6 +10,10 @@ declare const utils_currency: {
|
|
|
10
10
|
|
|
11
11
|
declare const utils_date: {
|
|
12
12
|
toDDMMYYY(date?: Date | string): string;
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Hàm này không xài nữa nha mấy ní
|
|
15
|
+
* Vui lòng dùng `utils_date.toDDMMYYY` từ `utils-v2` thay thế.
|
|
16
|
+
*/
|
|
13
17
|
toMMYYY(date?: Date | string): string;
|
|
14
18
|
formatToDateTimeStartEnd(startDate: Date, endDate: Date): string;
|
|
15
19
|
getHHmm(date: Date): string;
|
package/dist/utils-v2/index.mjs
CHANGED