fds-vue-core 6.2.4 → 6.2.6

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.
@@ -15108,7 +15108,7 @@ const checkIfDateIsBeforeToday = (date) => {
15108
15108
  const startOfToday = startOfDay(/* @__PURE__ */ new Date());
15109
15109
  return isAfter(startOfToday, startOfDate);
15110
15110
  };
15111
- const checkIfDateIsEnabled = (date, enabledDates) => enabledDates.includes(format(date, "yyyy-MM-dd"));
15111
+ const checkIfDateIsEnabled = (date, enabledDates) => enabledDates.some((enabledDate) => isSameDay(enabledDate, date));
15112
15112
  const _hoisted_1$5 = { class: "mb-6" };
15113
15113
  const _hoisted_2$4 = { class: "max-w-[487px]" };
15114
15114
  const _hoisted_3$4 = { class: "mb-3 flex w-full flex-row items-center" };
@@ -15205,12 +15205,12 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
15205
15205
  () => props.selected,
15206
15206
  (newSelected) => {
15207
15207
  selectedDay.value = newSelected ?? null;
15208
- emit("select-date", newSelected ? format(newSelected, "yyyy-MM-dd") : null);
15208
+ emit("select-date", newSelected ?? null);
15209
15209
  }
15210
15210
  );
15211
15211
  const onHandleSelectedDay = (weekDay) => {
15212
15212
  selectedDay.value = weekDay;
15213
- emit("select-date", weekDay ? format(weekDay, "yyyy-MM-dd") : null);
15213
+ emit("select-date", weekDay);
15214
15214
  };
15215
15215
  const onHandleSetCurrentWeek = (week) => {
15216
15216
  if (selectedDay.value && !isSameWeek(selectedDay.value, week, { weekStartsOn: 1 })) {