vueless 0.0.499 → 0.0.500
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/package.json +1 -1
- package/ui.form-calendar/UCalendar.vue +8 -2
- package/web-types.json +1 -1
package/package.json
CHANGED
|
@@ -340,7 +340,7 @@ const unwatchInit = watch(
|
|
|
340
340
|
() => {
|
|
341
341
|
if (isInit) unwatchInit();
|
|
342
342
|
|
|
343
|
-
if (selectedDate.value && isTimepickerEnabled.value && isInputRefs.value) {
|
|
343
|
+
if (selectedDate.value && isTimepickerEnabled.value && isInputRefs.value && props.timepicker) {
|
|
344
344
|
hoursRef.value!.value = String(selectedDate.value.getHours()).padStart(2, "0");
|
|
345
345
|
minutesRef.value!.value = String(selectedDate.value.getMinutes()).padStart(2, "0");
|
|
346
346
|
secondsRef.value!.value = String(selectedDate.value.getSeconds()).padStart(2, "0");
|
|
@@ -349,8 +349,14 @@ const unwatchInit = watch(
|
|
|
349
349
|
|
|
350
350
|
isInit = true;
|
|
351
351
|
}
|
|
352
|
+
|
|
353
|
+
if (selectedDate.value) {
|
|
354
|
+
emit("userDateChange", userFormattedDate.value);
|
|
355
|
+
|
|
356
|
+
isInit = true;
|
|
357
|
+
}
|
|
352
358
|
},
|
|
353
|
-
{ deep: true },
|
|
359
|
+
{ deep: true, immediate: true },
|
|
354
360
|
);
|
|
355
361
|
|
|
356
362
|
function getCurrentValueType(value: DateValue): DateValue {
|