aq-fe-framework 0.1.446 → 0.1.447
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-PDIW6MN3.mjs → chunk-J7PZ4DWS.mjs} +8 -2
- package/dist/core/index.mjs +2 -2
- package/dist/modules-features/index.mjs +6 -6
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/{chunk-YSIPY7DY.mjs → chunk-GYRGAJN7.mjs} +3 -3
@@ -278,8 +278,14 @@ function utils_time_convertTimeStringToSeconds(time) {
|
|
278
278
|
const [hours, minutes, seconds] = time.split(":").map(Number);
|
279
279
|
return hours * 3600 + minutes * 60 + seconds;
|
280
280
|
}
|
281
|
-
function utils_time_getHourMinuteFromString(
|
282
|
-
|
281
|
+
function utils_time_getHourMinuteFromString(input) {
|
282
|
+
if (!input) return "";
|
283
|
+
if (typeof input === "string") {
|
284
|
+
const [hour2, minute2] = input.split(":");
|
285
|
+
return `${hour2}:${minute2}`;
|
286
|
+
}
|
287
|
+
const hour = String(input.getHours()).padStart(2, "0");
|
288
|
+
const minute = String(input.getMinutes()).padStart(2, "0");
|
283
289
|
return `${hour}:${minute}`;
|
284
290
|
}
|
285
291
|
function utils_time_getCurrentTimeString() {
|
package/dist/core/index.mjs
CHANGED
@@ -14,11 +14,11 @@ import {
|
|
14
14
|
MyStatsCard,
|
15
15
|
MyTextInput,
|
16
16
|
MyWeeklySessionSchedulerPicker
|
17
|
-
} from "../chunk-
|
17
|
+
} from "../chunk-GYRGAJN7.mjs";
|
18
18
|
import "../chunk-RZBHPPQT.mjs";
|
19
|
+
import "../chunk-K6S7R6LU.mjs";
|
19
20
|
import "../chunk-GFEMKKFH.mjs";
|
20
21
|
import "../chunk-OMJJAHOC.mjs";
|
21
|
-
import "../chunk-K6S7R6LU.mjs";
|
22
22
|
import "../chunk-PRN7KYPD.mjs";
|
23
23
|
import "../chunk-7ZCOFATU.mjs";
|
24
24
|
import "../chunk-FWCSY2DS.mjs";
|
@@ -4,7 +4,7 @@ import {
|
|
4
4
|
utils_config_getBaseUrl,
|
5
5
|
utils_converter_enumToSelectOptions,
|
6
6
|
utils_file_fileToAQDocumentType
|
7
|
-
} from "../chunk-
|
7
|
+
} from "../chunk-J7PZ4DWS.mjs";
|
8
8
|
import {
|
9
9
|
baseColumns
|
10
10
|
} from "../chunk-BEFEWY44.mjs";
|
@@ -42,22 +42,22 @@ import {
|
|
42
42
|
MyButton as MyButton2,
|
43
43
|
MyDataTableSelectOne,
|
44
44
|
MyTextInput as MyTextInput2
|
45
|
-
} from "../chunk-
|
45
|
+
} from "../chunk-GYRGAJN7.mjs";
|
46
46
|
import {
|
47
47
|
MyDataTable,
|
48
48
|
MyFlexColumn,
|
49
49
|
MyFlexRow
|
50
50
|
} from "../chunk-RZBHPPQT.mjs";
|
51
|
+
import {
|
52
|
+
enum_emailConfigModule
|
53
|
+
} from "../chunk-VH4ZAD6M.mjs";
|
54
|
+
import "../chunk-K6S7R6LU.mjs";
|
51
55
|
import {
|
52
56
|
const_object_documentTypes
|
53
57
|
} from "../chunk-GFEMKKFH.mjs";
|
54
58
|
import {
|
55
59
|
const_object_colors
|
56
60
|
} from "../chunk-OMJJAHOC.mjs";
|
57
|
-
import {
|
58
|
-
enum_emailConfigModule
|
59
|
-
} from "../chunk-VH4ZAD6M.mjs";
|
60
|
-
import "../chunk-K6S7R6LU.mjs";
|
61
61
|
import {
|
62
62
|
baseAxios_default,
|
63
63
|
createBaseApi,
|
package/dist/utils/index.d.mts
CHANGED
@@ -59,7 +59,7 @@ declare function utils_reactQuery_updateListItemInQuery<T>({ queryClient, queryK
|
|
59
59
|
declare function utils_text_getNormalizedTextFromHtml(html?: string): string;
|
60
60
|
|
61
61
|
declare function utils_time_convertTimeStringToSeconds(time: string): number;
|
62
|
-
declare function utils_time_getHourMinuteFromString(
|
62
|
+
declare function utils_time_getHourMinuteFromString(input?: string | Date): string;
|
63
63
|
declare function utils_time_getCurrentTimeString(): string;
|
64
64
|
declare function utils_time_extractHourMinute(isoString?: string): string;
|
65
65
|
|
package/dist/utils/index.mjs
CHANGED
package/package.json
CHANGED
@@ -3,12 +3,12 @@ import {
|
|
3
3
|
MyFlexColumn,
|
4
4
|
MyFlexRow
|
5
5
|
} from "./chunk-RZBHPPQT.mjs";
|
6
|
-
import {
|
7
|
-
const_object_colors
|
8
|
-
} from "./chunk-OMJJAHOC.mjs";
|
9
6
|
import {
|
10
7
|
enum_daysOfWeek
|
11
8
|
} from "./chunk-K6S7R6LU.mjs";
|
9
|
+
import {
|
10
|
+
const_object_colors
|
11
|
+
} from "./chunk-OMJJAHOC.mjs";
|
12
12
|
import {
|
13
13
|
useMyReactMutation,
|
14
14
|
useMyReactQuery
|