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