@dynect/base 0.17.0 → 0.18.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynect/base",
3
- "version": "0.17.0",
3
+ "version": "0.18.1",
4
4
  "description": "Reusable Nuxt base module — components, composables, utils, plugins and i18n from the Dynect design system.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,6 +1,5 @@
1
1
  <script setup lang="ts">
2
2
  import { addDays, addMonths, addWeeks, eachDayOfInterval, endOfDay, endOfMonth, endOfWeek, formatDateTime, isSameDay, isWithinInterval, startOfDay, startOfMonth, startOfWeek, subDays } from '../../../utils/date';
3
- import { toUpperCase } from '../../../utils/function';
4
3
  import { computed, ref, shallowRef, watch } from 'vue';
5
4
  import { useKeyboardNavigation } from './composables/useKeyboardNavigation';
6
5
  import { useDragAndDropSystem } from './composables/useDragAndDrop';
@@ -17,6 +16,13 @@ import { useMonitoring } from './composables/useMonitoring';
17
16
  import { useAdvancedValidation } from './composables/useAdvancedValidation';
18
17
  import { PIXELS_PER_HOUR_CONFIG } from './composables/useCalendarUtils';
19
18
 
19
+ import BaseEventCalendarMonthView from './MonthView.vue';
20
+ import BaseEventCalendarWeekView from './WeekView.vue';
21
+ import BaseEventCalendarDayView from './DayView.vue';
22
+ import BaseEventCalendarAgendaView from './AgendaView.vue';
23
+ import BaseEventCalendarEventModal from './EventModal.vue';
24
+ import BaseEventCalendarDragDropVisualFeedback from './DragDropVisualFeedback.vue';
25
+
20
26
  const props = withDefaults(
21
27
  defineProps<{
22
28
  events?: CalendarEvent[];
@@ -254,7 +254,7 @@ onUnmounted(() => {
254
254
  <Popover
255
255
  :open="overflowPopupOpenForDateKey === formatDateTime(day.date, 'yyyy-MM-dd')"
256
256
  @update:open="
257
- (isOpen) => {
257
+ (isOpen: boolean) => {
258
258
  if (!isOpen) overflowPopupOpenForDateKey = null;
259
259
  }
260
260
  "
@@ -1,9 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { computed } from 'vue';
3
3
  import type { CalendarEvent, ViewMode } from '../base/event-calendar/types';
4
-
5
- // Re-export types for convenience
6
- export type { CalendarEvent, ViewMode, EventColor, EventStatus, RecurringPattern } from '../base/event-calendar/types';
4
+ import BaseEventCalendar from '../base/event-calendar/EventCalendar.vue';
7
5
 
8
6
  // ── Props ────────────────────────────────────────────────────────────────────
9
7
  interface Props {