@dynect/base 0.10.1 → 0.10.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.
- package/package.json +1 -1
- package/src/runtime/components/base/event-calendar/AgendaView.vue +2 -0
- package/src/runtime/components/base/event-calendar/DayEventsOverflowPopup.vue +1 -0
- package/src/runtime/components/base/event-calendar/DayView.vue +2 -0
- package/src/runtime/components/base/event-calendar/EventCalendar.vue +2 -0
- package/src/runtime/components/base/event-calendar/EventModal.vue +2 -0
- package/src/runtime/components/base/event-calendar/MonthView.vue +1 -0
- package/src/runtime/components/base/event-calendar/WeekView.vue +2 -0
- package/src/runtime/components/base/event-calendar/composables/useAdvancedValidation.ts +1 -0
- package/src/runtime/components/base/event-calendar/composables/useCalendarUtils.ts +1 -0
- package/src/runtime/components/base/event-calendar/composables/useCompatibility.ts +1 -0
- package/src/runtime/components/base/event-calendar/composables/useDragAndDrop.ts +1 -0
- package/src/runtime/components/base/event-calendar/composables/useEventFiltering.ts +1 -0
- package/src/runtime/components/base/event-calendar/composables/useEventStatus.ts +1 -0
- package/src/runtime/components/base/event-calendar/composables/useMultiDayLayout.ts +1 -0
- package/src/runtime/components/base/event-calendar/composables/useRecurringEvents.ts +1 -0
- package/src/runtime/components/base/event-calendar/composables/useTimezone.ts +2 -0
- package/src/runtime/components/base/org-chart/index.vue +2 -1
- package/src/runtime/components/base/toast/Toaster.vue +1 -1
- package/src/runtime/components/dynect/Autocomplete.vue +1 -0
- package/src/runtime/components/dynect/Dropzone.vue +1 -0
- package/src/runtime/components/dynect/Select.vue +1 -0
- package/src/runtime/components/dynect/SelectMultiple.vue +1 -0
- package/src/runtime/components/dynect/SwitchLanguage.vue +1 -0
- package/src/runtime/components/dynect/TagsInput.vue +1 -0
- package/src/runtime/components/dynect/Telephone.vue +2 -1
- package/src/runtime/components/ui/gantt/GanttCreateMarkerTrigger.vue +1 -0
- package/src/runtime/components/ui/gantt/GanttFeatureItem.vue +1 -0
- package/src/runtime/components/ui/gantt/GanttHeader.vue +1 -0
- package/src/runtime/components/ui/gantt/GanttMarker.vue +1 -0
- package/src/runtime/components/ui/gantt/GanttTimeline.vue +1 -0
- package/src/runtime/components/ui/gantt/GanttToday.vue +1 -0
- package/src/runtime/composables/useDropzone.ts +1 -0
package/package.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
import { formatDateTime } from '../../../utils/date';
|
|
3
|
+
import { toLowerCase } from '../../../utils/function';
|
|
2
4
|
import { computed } from 'vue';
|
|
3
5
|
import type { CalendarEvent } from './types';
|
|
4
6
|
import LocationDisplay from './LocationDisplay.vue';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
import { formatDateTime } from '../../../utils/date';
|
|
3
|
+
import { debounce, throttle } from '../../../utils/function';
|
|
2
4
|
import { computed, ref } from 'vue';
|
|
3
5
|
import type { CalendarEvent, DayColumnData, TimeSlot } from './types';
|
|
4
6
|
import { useCalendarUtils } from './composables/useCalendarUtils';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
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';
|
|
2
4
|
import { computed, ref, shallowRef, watch } from 'vue';
|
|
3
5
|
import { useKeyboardNavigation } from './composables/useKeyboardNavigation';
|
|
4
6
|
import { useDragAndDropSystem } from './composables/useDragAndDrop';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
import { addHours, getDay, getDayNameShort, isBefore, setHours } from '../../../utils/date';
|
|
3
|
+
import { convertDateTime, toLowerCase } from '../../../utils/function';
|
|
2
4
|
import { Form, useForm } from 'vee-validate';
|
|
3
5
|
import { computed, reactive, ref, watch } from 'vue';
|
|
4
6
|
import { useId } from 'nuxt/app';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
import { formatDateTime, isSameDay, startOfDay, subDays } from '../../../utils/date';
|
|
2
3
|
import { computed, onUnmounted, ref } from 'vue';
|
|
3
4
|
import type { CalendarEvent, MonthViewDay } from './types';
|
|
4
5
|
import DayEventsOverflowPopup from './DayEventsOverflowPopup.vue';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
import { formatDateTime } from '../../../utils/date';
|
|
3
|
+
import { debounce, throttle } from '../../../utils/function';
|
|
2
4
|
import { computed, onMounted, ref } from 'vue';
|
|
3
5
|
import type { CalendarEvent, DayColumnData, TimeSlot } from './types';
|
|
4
6
|
import { useCalendarUtils } from './composables/useCalendarUtils';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { differenceInMinutes, eachHourOfInterval, endOfDay, formatDateTime, setHours, setMinutes, startOfDay } from '../../../../utils/date';
|
|
1
2
|
import type { CalendarEvent, TimeSlot } from '../types';
|
|
2
3
|
|
|
3
4
|
export const PIXELS_PER_HOUR_CONFIG = 60; // Can be made configurable
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { TZDate, formatDateTime } from '../../../../utils/date';
|
|
2
|
+
import { getAllTimezones } from '../../../../utils/function';
|
|
1
3
|
import { type ComputedRef, computed, ref } from 'vue';
|
|
2
4
|
import type { CalendarEvent } from '../types';
|
|
3
5
|
import { getLocalTimeZone } from '@internationalized/date';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import {
|
|
2
|
+
import { toLowerCase } from '../../../utils/function';
|
|
3
|
+
import { onBeforeUnmount, onMounted, ref, shallowRef, useSlots, watch } from 'vue';
|
|
3
4
|
import { OrgChart } from './main';
|
|
4
5
|
import { SVG_ICONS, createIconSVG } from './svg-icons';
|
|
5
6
|
import type { OrgChartNodeData, OrgChartNode } from './types';
|
|
@@ -107,7 +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
|
+
import { computed, nextTick, ref, useAttrs, watchEffect } from 'vue';
|
|
111
111
|
import type { HeightT, Position, ToastT, ToastToDismiss, ToasterProps } from './types';
|
|
112
112
|
import { ToastState } from './state';
|
|
113
113
|
import Toast from './Toast.vue';
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
</template>
|
|
96
96
|
|
|
97
97
|
<script setup lang="ts">
|
|
98
|
+
import { toLowerCase } from '../../utils/function';
|
|
98
99
|
import { useDropzone } from '../../composables/useDropzone';
|
|
99
100
|
import { useField } from 'vee-validate';
|
|
100
101
|
import { computed, onMounted, onUnmounted, ref, watch } from 'vue';
|
|
@@ -107,8 +107,9 @@
|
|
|
107
107
|
</template>
|
|
108
108
|
|
|
109
109
|
<script setup lang="ts">
|
|
110
|
+
import { capitalizeFirstLetter, countryList, toLowerCase, toUpperCase } from '../../utils/function';
|
|
110
111
|
import { useField } from 'vee-validate';
|
|
111
|
-
import { computed, nextTick, onMounted, reactive, readonly, ref, watch } from 'vue';
|
|
112
|
+
import { computed, nextTick, onMounted, reactive, readonly, ref, useTemplateRef, watch } from 'vue';
|
|
112
113
|
import { parsePhoneNumberFromString, type CountryCode, type NumberFormat } from 'libphonenumber-js/max';
|
|
113
114
|
import { cva } from 'class-variance-authority';
|
|
114
115
|
import { useState, useId } from 'nuxt/app';
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
</template>
|
|
52
52
|
|
|
53
53
|
<script setup lang="ts">
|
|
54
|
+
import { addDays, differenceInDays, formatDateTime } from '../../../utils/date';
|
|
54
55
|
import { useGantt } from '../../../composables/useGantt';
|
|
55
56
|
import { computed, onUnmounted, ref } from 'vue';
|
|
56
57
|
import { cn } from '@/lib/utils';
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
</template>
|
|
24
24
|
|
|
25
25
|
<script setup lang="ts">
|
|
26
|
+
import { addDays, formatDateTime } from '../../../utils/date';
|
|
26
27
|
import { useGantt } from '../../../composables/useGantt';
|
|
27
28
|
import { computed, onUnmounted, ref } from 'vue';
|
|
28
29
|
import { cn } from '@/lib/utils';
|