@dynect/base 0.7.1 → 0.7.3

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.
Files changed (67) hide show
  1. package/package.json +1 -1
  2. package/src/runtime/components/base/event-calendar/AgendaView.vue +1 -0
  3. package/src/runtime/components/base/event-calendar/ColorManager.vue +1 -0
  4. package/src/runtime/components/base/event-calendar/DayEventsOverflowPopup.vue +1 -0
  5. package/src/runtime/components/base/event-calendar/DayView.vue +1 -0
  6. package/src/runtime/components/base/event-calendar/DragDropVisualFeedback.vue +1 -0
  7. package/src/runtime/components/base/event-calendar/EventCalendar.vue +1 -0
  8. package/src/runtime/components/base/event-calendar/EventModal.vue +2 -0
  9. package/src/runtime/components/base/event-calendar/EventResizeHandle.vue +1 -0
  10. package/src/runtime/components/base/event-calendar/ExternalCalendarSettings.vue +1 -0
  11. package/src/runtime/components/base/event-calendar/LocationDisplay.vue +1 -0
  12. package/src/runtime/components/base/event-calendar/MonthView.vue +1 -0
  13. package/src/runtime/components/base/event-calendar/WeekView.vue +1 -0
  14. package/src/runtime/components/base/org-chart/index.vue +1 -0
  15. package/src/runtime/components/base/signature/index.vue +1 -0
  16. package/src/runtime/components/base/toast/Toast.vue +1 -0
  17. package/src/runtime/components/base/toast/Toaster.vue +1 -0
  18. package/src/runtime/components/chart/Bar.vue +1 -0
  19. package/src/runtime/components/chart/Line.vue +1 -0
  20. package/src/runtime/components/chart/Pie.vue +1 -0
  21. package/src/runtime/components/chart/Radar.vue +1 -0
  22. package/src/runtime/components/dynect/Accordion.vue +1 -0
  23. package/src/runtime/components/dynect/Alert.vue +1 -0
  24. package/src/runtime/components/dynect/Autocomplete.vue +2 -0
  25. package/src/runtime/components/dynect/Badge.vue +1 -0
  26. package/src/runtime/components/dynect/Checkbox.vue +2 -0
  27. package/src/runtime/components/dynect/DatePicker.vue +2 -0
  28. package/src/runtime/components/dynect/DateRange.vue +2 -0
  29. package/src/runtime/components/dynect/Dropzone.vue +2 -0
  30. package/src/runtime/components/dynect/EventCalendar.vue +1 -0
  31. package/src/runtime/components/dynect/Filters.vue +1 -0
  32. package/src/runtime/components/dynect/FormField.vue +1 -0
  33. package/src/runtime/components/dynect/Gantt.vue +1 -0
  34. package/src/runtime/components/dynect/Input.vue +2 -0
  35. package/src/runtime/components/dynect/Modal.vue +1 -0
  36. package/src/runtime/components/dynect/OtpInput.vue +2 -0
  37. package/src/runtime/components/dynect/Progress.vue +1 -0
  38. package/src/runtime/components/dynect/Radio.vue +2 -0
  39. package/src/runtime/components/dynect/Select.vue +2 -0
  40. package/src/runtime/components/dynect/SelectMultiple.vue +2 -0
  41. package/src/runtime/components/dynect/Sheet.vue +1 -0
  42. package/src/runtime/components/dynect/Signature.vue +2 -0
  43. package/src/runtime/components/dynect/SwitchColor.vue +1 -0
  44. package/src/runtime/components/dynect/Table.vue +2 -1
  45. package/src/runtime/components/dynect/TagsInput.vue +2 -0
  46. package/src/runtime/components/dynect/Telephone.vue +2 -0
  47. package/src/runtime/components/dynect/TextEditor.vue +1 -0
  48. package/src/runtime/components/dynect/Textarea.vue +2 -0
  49. package/src/runtime/components/dynect/TimePicker.vue +2 -0
  50. package/src/runtime/components/dynect/Timeline.vue +1 -0
  51. package/src/runtime/components/dynect/Toggle.vue +2 -0
  52. package/src/runtime/components/ui/carousel/Carousel.vue +1 -0
  53. package/src/runtime/components/ui/carousel/CarouselContent.vue +1 -0
  54. package/src/runtime/components/ui/field/index.ts +1 -0
  55. package/src/runtime/components/ui/form/index.ts +1 -0
  56. package/src/runtime/components/ui/gantt/Gantt.vue +1 -0
  57. package/src/runtime/components/ui/gantt/GanttFeatureItem.vue +1 -0
  58. package/src/runtime/components/ui/gantt/GanttMarker.vue +1 -0
  59. package/src/runtime/components/ui/gantt/GanttSidebar.vue +1 -0
  60. package/src/runtime/components/ui/gantt/GanttTimeline.vue +1 -0
  61. package/src/runtime/components/ui/gantt/GanttToday.vue +1 -0
  62. package/src/runtime/components/ui/inline-editable-input/InlineEditableInput.vue +1 -0
  63. package/src/runtime/components/ui/kanban/Kanban.vue +1 -0
  64. package/src/runtime/components/ui/kanban/KanbanBoard.vue +1 -0
  65. package/src/runtime/components/ui/kanban/KanbanCard.vue +1 -0
  66. package/src/runtime/components/ui/kanban/KanbanCards.vue +1 -0
  67. package/src/runtime/components/ui/resizable/ResizablePanel.vue +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynect/base",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
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,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed } from 'vue';
2
3
  import type { CalendarEvent } from './types';
3
4
  import LocationDisplay from './LocationDisplay.vue';
4
5
  import { useColorManager } from './composables/useColorManager';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed } from 'vue';
2
3
  import type { CalendarEvent, EventColor } from './types';
3
4
  import { useColorManager } from './composables/useColorManager';
4
5
 
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed, ref } from 'vue';
2
3
  import type { CalendarEvent } from './types';
3
4
 
4
5
  const props = defineProps<{
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed, ref } from 'vue';
2
3
  import type { CalendarEvent, DayColumnData, TimeSlot } from './types';
3
4
  import { useCalendarUtils } from './composables/useCalendarUtils';
4
5
  import LocationDisplay from './LocationDisplay.vue';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed, onMounted, onUnmounted, ref } from 'vue';
2
3
  import type { CalendarEvent } from './types';
3
4
  import { useColorManager } from './composables/useColorManager';
4
5
 
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed, ref, shallowRef, watch } from 'vue';
2
3
  import { useKeyboardNavigation } from './composables/useKeyboardNavigation';
3
4
  import { useDragAndDropSystem } from './composables/useDragAndDrop';
4
5
  import { useCompatibility } from './composables/useCompatibility';
@@ -1,4 +1,6 @@
1
1
  <script setup lang="ts">
2
+ import { Form, useForm } from 'vee-validate';
3
+ import { computed, reactive, ref, watch } from 'vue';
2
4
  import { useId } from 'nuxt/app';
3
5
  import { onKeyStroke } from '@vueuse/core';
4
6
  import { toDate } from 'reka-ui/date';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed, onUnmounted, ref } from 'vue';
2
3
  import type { CalendarEvent } from './types';
3
4
 
4
5
  interface ResizeHandleProps {
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { ref } from 'vue';
2
3
  import { useExternalCalendar, type ExternalCalendarConfig } from './composables/useExternalCalendar';
3
4
 
4
5
  const props = defineProps<{
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed } from 'vue';
2
3
  interface LocationDisplayProps {
3
4
  location?: string;
4
5
  showIcon?: boolean;
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed, onUnmounted, ref } from 'vue';
2
3
  import type { CalendarEvent, MonthViewDay } from './types';
3
4
  import DayEventsOverflowPopup from './DayEventsOverflowPopup.vue';
4
5
  import LocationDisplay from './LocationDisplay.vue';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed, onMounted, ref } from 'vue';
2
3
  import type { CalendarEvent, DayColumnData, TimeSlot } from './types';
3
4
  import { useCalendarUtils } from './composables/useCalendarUtils';
4
5
  import LocationDisplay from './LocationDisplay.vue';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { onBeforeUnmount, onMounted, ref, shallowRef, watch } from 'vue';
2
3
  import { OrgChart } from './main';
3
4
  import { SVG_ICONS, createIconSVG } from './svg-icons';
4
5
  import type { OrgChartNodeData, OrgChartNode } from './types';
@@ -5,6 +5,7 @@
5
5
  </template>
6
6
 
7
7
  <script setup lang="ts">
8
+ import { onMounted, reactive, watch } from 'vue';
8
9
  import { useId } from 'nuxt/app';
9
10
  import SignaturePad from 'signature_pad';
10
11
 
@@ -146,6 +146,7 @@
146
146
  </template>
147
147
 
148
148
  <script lang="ts" setup>
149
+ import { computed, nextTick, onBeforeUnmount, onMounted, ref, watch, watchEffect } from 'vue';
149
150
  import { cn } from '@/lib/utils';
150
151
  import { type HeightT, type ToastProps, type ToastT, isAction } from './types';
151
152
  import { useIsDocumentHidden, getDefaultSwipeDirections } from './hooks';
@@ -107,6 +107,7 @@
107
107
  <script lang="ts"></script>
108
108
 
109
109
  <script lang="ts" setup>
110
+ import { computed, nextTick, ref, watchEffect } from 'vue';
110
111
  import type { HeightT, Position, ToastT, ToastToDismiss, ToasterProps } from './types';
111
112
  import { ToastState } from './state';
112
113
  import Toast from './Toast.vue';
@@ -3,6 +3,7 @@
3
3
  </template>
4
4
 
5
5
  <script setup lang="ts">
6
+ import { computed, provide } from 'vue';
6
7
  import { use } from 'echarts/core';
7
8
  import { CanvasRenderer } from 'echarts/renderers';
8
9
  import { BarChart } from 'echarts/charts';
@@ -3,6 +3,7 @@
3
3
  </template>
4
4
 
5
5
  <script setup lang="ts">
6
+ import { computed, provide } from 'vue';
6
7
  import { use } from 'echarts/core';
7
8
  import { CanvasRenderer } from 'echarts/renderers';
8
9
  import { LineChart } from 'echarts/charts';
@@ -3,6 +3,7 @@
3
3
  </template>
4
4
 
5
5
  <script setup lang="ts">
6
+ import { computed, provide } from 'vue';
6
7
  import { use } from 'echarts/core';
7
8
  import { CanvasRenderer } from 'echarts/renderers';
8
9
  import { PieChart } from 'echarts/charts';
@@ -3,6 +3,7 @@
3
3
  </template>
4
4
 
5
5
  <script setup lang="ts">
6
+ import { computed, provide } from 'vue';
6
7
  import { use } from 'echarts/core';
7
8
  import { CanvasRenderer } from 'echarts/renderers';
8
9
  import { RadarChart } from 'echarts/charts';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed } from 'vue';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import { cva, type VariantProps } from 'class-variance-authority';
4
5
  import { cn } from '@/lib/utils';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed, ref } from 'vue';
2
3
  import { cn } from '@/lib/utils';
3
4
 
4
5
  type AlertVariant = 'success' | 'danger' | 'warning' | 'info' | 'default';
@@ -1,4 +1,6 @@
1
1
  <script setup lang="ts">
2
+ import { useField } from 'vee-validate';
3
+ import { computed, ref } from 'vue';
2
4
  import { useId } from 'nuxt/app';
3
5
  import type { HTMLAttributes } from 'vue';
4
6
  import { cva } from 'class-variance-authority';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed } from 'vue';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import { cva, type VariantProps } from 'class-variance-authority';
4
5
  import { cn } from '@/lib/utils';
@@ -41,6 +41,8 @@
41
41
  </template>
42
42
 
43
43
  <script setup lang="ts">
44
+ import { useField } from 'vee-validate';
45
+ import { computed } from 'vue';
44
46
  import { useId } from 'nuxt/app';
45
47
  import { cn } from '@/lib/utils';
46
48
 
@@ -50,6 +50,8 @@
50
50
  </template>
51
51
 
52
52
  <script setup lang="ts">
53
+ import { useField } from 'vee-validate';
54
+ import { computed, readonly, ref, watch } from 'vue';
53
55
  import { useId } from 'nuxt/app';
54
56
  import type { DateValue } from '@internationalized/date';
55
57
  import { DateFormatter, getLocalTimeZone, parseDate, today } from '@internationalized/date';
@@ -53,6 +53,8 @@
53
53
  </template>
54
54
 
55
55
  <script setup lang="ts">
56
+ import { useField } from 'vee-validate';
57
+ import { computed, readonly, ref, watch } from 'vue';
56
58
  import { useId } from 'nuxt/app';
57
59
  import type { DateValue } from '@internationalized/date';
58
60
  import { DateFormatter, getLocalTimeZone, today, parseDate } from '@internationalized/date';
@@ -95,6 +95,8 @@
95
95
  </template>
96
96
 
97
97
  <script setup lang="ts">
98
+ import { useField } from 'vee-validate';
99
+ import { computed, onMounted, onUnmounted, ref, watch } from 'vue';
98
100
  import { useId } from 'nuxt/app';
99
101
  import type { HTMLAttributes } from 'vue';
100
102
 
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed } from 'vue';
2
3
  import type { CalendarEvent, ViewMode } from '@/components/base/event-calendar/types';
3
4
 
4
5
  // Re-export types for convenience
@@ -61,6 +61,7 @@
61
61
  </template>
62
62
 
63
63
  <script setup lang="ts">
64
+ import { ref, watch } from 'vue';
64
65
  export interface FilterOption {
65
66
  label: string;
66
67
  value: string;
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { Form } from 'vee-validate';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import { cn } from '@/lib/utils';
4
5
 
@@ -89,6 +89,7 @@
89
89
  </template>
90
90
 
91
91
  <script setup lang="ts" generic="T extends DynectGanttFeature">
92
+ import { computed } from 'vue';
92
93
  import { cn } from '@/lib/utils';
93
94
  import type { GanttFeature, GanttRange } from '@/composables/useGantt';
94
95
 
@@ -1,4 +1,6 @@
1
1
  <script setup lang="ts">
2
+ import { useField } from 'vee-validate';
3
+ import { computed, readonly } from 'vue';
2
4
  import { useId } from 'nuxt/app';
3
5
  import type { HTMLAttributes } from 'vue';
4
6
  import { cva } from 'class-variance-authority';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed } from 'vue';
2
3
  import { cn } from '@/lib/utils';
3
4
 
4
5
  interface DialogProps {
@@ -1,4 +1,6 @@
1
1
  <script setup lang="ts">
2
+ import { Field, useField } from 'vee-validate';
3
+ import { computed } from 'vue';
2
4
  import { useId } from 'nuxt/app';
3
5
  import type { HTMLAttributes } from 'vue';
4
6
  import type { OTPInputEmits, OTPInputProps } from 'vue-input-otp';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed } from 'vue';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import { cva, type VariantProps } from 'class-variance-authority';
4
5
  import { cn } from '@/lib/utils';
@@ -37,6 +37,8 @@
37
37
  </template>
38
38
 
39
39
  <script setup lang="ts">
40
+ import { useField } from 'vee-validate';
41
+ import { computed } from 'vue';
40
42
  import { useId } from 'nuxt/app';
41
43
  import { cn } from '@/lib/utils';
42
44
 
@@ -1,4 +1,6 @@
1
1
  <script setup lang="ts">
2
+ import { Field, useField } from 'vee-validate';
3
+ import { computed, ref } from 'vue';
2
4
  import { useId } from 'nuxt/app';
3
5
  import type { HTMLAttributes } from 'vue';
4
6
  import { cva } from 'class-variance-authority';
@@ -1,4 +1,6 @@
1
1
  <script setup lang="ts">
2
+ import { Field, useField } from 'vee-validate';
3
+ import { computed, ref } from 'vue';
2
4
  import { useId } from 'nuxt/app';
3
5
  import type { HTMLAttributes } from 'vue';
4
6
  import { cva } from 'class-variance-authority';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed } from 'vue';
2
3
  import { cn } from '@/lib/utils';
3
4
 
4
5
  interface SheetProps {
@@ -20,6 +20,8 @@
20
20
  </template>
21
21
 
22
22
  <script setup lang="ts">
23
+ import { useField } from 'vee-validate';
24
+ import { computed, reactive, ref } from 'vue';
23
25
  import { useId } from 'nuxt/app';
24
26
  interface BaseSignatureInstance {
25
27
  save: (format?: string) => string;
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed } from 'vue';
2
3
  import { useColorMode } from '#imports';
3
4
  const colorMode: any = useColorMode();
4
5
  const isDark = computed(() => colorMode.value === 'dark');
@@ -1,4 +1,5 @@
1
- <script setup lang="ts" generic="TData extends Record<string, any>">
1
+ <script setup lang="ts" generic="TData extends Record<string, any>
2
+ import { computed, onMounted, ref, watch } from 'vue';">
2
3
  import { cn } from '@/lib/utils';
3
4
 
4
5
  // Column definition
@@ -101,6 +101,8 @@
101
101
  </template>
102
102
 
103
103
  <script setup lang="ts">
104
+ import { Field, useField } from 'vee-validate';
105
+ import { computed, readonly, ref, watch } from 'vue';
104
106
  import { useId } from 'nuxt/app';
105
107
  import { onClickOutside } from '@vueuse/core';
106
108
  import { cva } from 'class-variance-authority';
@@ -107,6 +107,8 @@
107
107
  </template>
108
108
 
109
109
  <script setup lang="ts">
110
+ import { useField } from 'vee-validate';
111
+ import { computed, nextTick, onMounted, reactive, readonly, ref, watch } from 'vue';
110
112
  import { parsePhoneNumberFromString, type CountryCode, type NumberFormat } from 'libphonenumber-js/max';
111
113
  import { cva } from 'class-variance-authority';
112
114
  import { useState, useId } from 'nuxt/app';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { watch } from 'vue';
2
3
  import type { Content, Extensions } from '@tiptap/vue-3';
3
4
  import type { HTMLAttributes } from 'vue';
4
5
  import { cn } from '@/lib/utils';
@@ -1,4 +1,6 @@
1
1
  <script setup lang="ts">
2
+ import { useField } from 'vee-validate';
3
+ import { computed, readonly } from 'vue';
2
4
  import { useId } from 'nuxt/app';
3
5
  import type { HTMLAttributes } from 'vue';
4
6
  import { cva } from 'class-variance-authority';
@@ -87,6 +87,8 @@
87
87
  </template>
88
88
 
89
89
  <script setup lang="ts">
90
+ import { useField } from 'vee-validate';
91
+ import { computed, readonly, ref, watch } from 'vue';
90
92
  import { useId } from 'nuxt/app';
91
93
  import { cn } from '@/lib/utils';
92
94
 
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { computed } from 'vue';
2
3
  import type { HTMLAttributes } from 'vue';
3
4
  import { cva, type VariantProps } from 'class-variance-authority';
4
5
  import { cn } from '@/lib/utils';
@@ -60,6 +60,8 @@
60
60
  </template>
61
61
 
62
62
  <script setup lang="ts">
63
+ import { useField } from 'vee-validate';
64
+ import { computed } from 'vue';
63
65
  import { useId } from 'nuxt/app';
64
66
  import { cn } from '@/lib/utils';
65
67
 
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { ref } from 'vue';
2
3
  import type { CarouselEmits, CarouselProps, WithClassAsProps } from './interface';
3
4
  import { cn } from '@/lib/utils';
4
5
  import { useProvideCarousel } from './useCarousel';
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { ref } from 'vue';
2
3
  import type { WithClassAsProps } from './interface';
3
4
  import { cn } from '@/lib/utils';
4
5
  import { useCarousel } from './useCarousel';
@@ -1,3 +1,4 @@
1
+ import { Field } from 'vee-validate';
1
2
  import type { VariantProps } from 'class-variance-authority';
2
3
  import { cva } from 'class-variance-authority';
3
4
 
@@ -1,3 +1,4 @@
1
+ import { Field, FieldArray, Form } from 'vee-validate';
1
2
  export { default as FormControl } from './FormControl.vue';
2
3
  export { default as FormDescription } from './FormDescription.vue';
3
4
  export { default as FormItem } from './FormItem.vue';
@@ -5,6 +5,7 @@
5
5
  </template>
6
6
 
7
7
  <script setup lang="ts">
8
+ import { computed, ref } from 'vue';
8
9
  import { cn } from '@/lib/utils';
9
10
 
10
11
  export interface GanttProps {
@@ -51,6 +51,7 @@
51
51
  </template>
52
52
 
53
53
  <script setup lang="ts">
54
+ import { computed, onUnmounted, ref } from 'vue';
54
55
  import { cn } from '@/lib/utils';
55
56
 
56
57
  const props = defineProps({ id: { type: String, required: true }, startAt: { type: Date, required: true }, endAt: { type: Date, required: true }, class: { type: String, required: false }, status: { type: Object, required: false }, progress: { type: Number, required: false } });
@@ -23,6 +23,7 @@
23
23
  </template>
24
24
 
25
25
  <script setup lang="ts">
26
+ import { computed, onUnmounted, ref } from 'vue';
26
27
  import { cn } from '@/lib/utils';
27
28
 
28
29
  export interface GanttMarkerProps {
@@ -15,6 +15,7 @@
15
15
  </template>
16
16
 
17
17
  <script setup lang="ts">
18
+ import { onMounted, onUnmounted, ref } from 'vue';
18
19
  import { cn } from '@/lib/utils';
19
20
 
20
21
  export interface GanttSidebarProps {
@@ -7,6 +7,7 @@
7
7
  </template>
8
8
 
9
9
  <script setup lang="ts">
10
+ import { computed, onMounted, onUnmounted, ref } from 'vue';
10
11
  import { cn } from '@/lib/utils';
11
12
 
12
13
  export interface GanttTimelineProps {
@@ -17,6 +17,7 @@
17
17
  </template>
18
18
 
19
19
  <script setup lang="ts">
20
+ import { computed } from 'vue';
20
21
  import { cn } from '@/lib/utils';
21
22
 
22
23
  export interface GanttTodayProps {
@@ -18,6 +18,7 @@
18
18
  </template>
19
19
 
20
20
  <script setup lang="ts">
21
+ import { onMounted, ref, watch } from 'vue';
21
22
  import { cn } from '@/lib/utils';
22
23
 
23
24
  interface Props {
@@ -9,6 +9,7 @@
9
9
  </template>
10
10
 
11
11
  <script setup lang="ts" generic="T extends KanbanItemProps, C extends KanbanColumnProps">
12
+ import { toRef } from 'vue';
12
13
  import { DnDProvider } from '@vue-dnd-kit/core';
13
14
  import { cn } from '~/lib/utils';
14
15
 
@@ -6,6 +6,7 @@
6
6
  </template>
7
7
 
8
8
  <script setup lang="ts">
9
+ import { computed, ref } from 'vue';
9
10
  import { makeDroppable } from '@vue-dnd-kit/core';
10
11
  import { cn } from '@/lib/utils';
11
12
  import type { IDragEvent } from '@vue-dnd-kit/core';
@@ -9,6 +9,7 @@
9
9
  </template>
10
10
 
11
11
  <script setup lang="ts" generic="T extends KanbanItemProps">
12
+ import { computed, ref } from 'vue';
12
13
  import { makeDraggable } from '@vue-dnd-kit/core';
13
14
  import { cn } from '@/lib/utils';
14
15
  import type { IDragEvent } from '@vue-dnd-kit/core';
@@ -8,6 +8,7 @@
8
8
  </template>
9
9
 
10
10
  <script setup lang="ts" generic="T extends KanbanItemProps">
11
+ import { computed } from 'vue';
11
12
  import { cn } from '@/lib/utils';
12
13
 
13
14
  export interface KanbanCardsProps {
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { ref } from 'vue';
2
3
  import type { SplitterPanelEmits, SplitterPanelProps } from 'reka-ui';
3
4
  import { SplitterPanel, useForwardExpose, useForwardPropsEmits } from 'reka-ui';
4
5