@finema/core 3.14.7 → 3.14.9
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/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
:start-time="startTime"
|
|
19
19
|
:teleport="teleport"
|
|
20
20
|
:required="required"
|
|
21
|
-
:flow="
|
|
21
|
+
:flow="flowCalendar"
|
|
22
22
|
@update:model-value="onInput"
|
|
23
23
|
>
|
|
24
24
|
<template
|
|
@@ -127,6 +127,9 @@ const {
|
|
|
127
127
|
const innerValue = ref();
|
|
128
128
|
const breakpoints = useBreakpoints(breakpointsTailwind);
|
|
129
129
|
const isMobile = breakpoints.smallerOrEqual("md");
|
|
130
|
+
const flowCalendar = computed(
|
|
131
|
+
() => props.autoApply && props.disabledTime ? ["calendar"] : ["calendar", "time"]
|
|
132
|
+
);
|
|
130
133
|
const initializeValue = () => {
|
|
131
134
|
const currentValue = value.value;
|
|
132
135
|
if (currentValue) {
|
|
@@ -158,7 +161,6 @@ const format = (date) => {
|
|
|
158
161
|
return TimeHelper.displayDateTime(date);
|
|
159
162
|
};
|
|
160
163
|
const onInput = (_value) => {
|
|
161
|
-
console.log(_value);
|
|
162
164
|
if (props.disabledTime && !props.isReturnISO) {
|
|
163
165
|
value.value = TimeHelper.getDateFormTime(_value);
|
|
164
166
|
} else {
|