@primeui/scheduler-core 0.0.1-alpha.1 → 1.0.0-beta.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/dist/{overlay-BYM9B6nC.d.mts → appointment-slots-DCiNFFed.d.mts} +2 -13
- package/dist/calendar/index.mjs +1 -1
- package/dist/{chunk-NMX4BW42.mjs → chunks/chunk-2YXHUV2A.mjs} +2 -2
- package/dist/{chunk-6PK5WSKT.mjs → chunks/chunk-56LJ2UG5.mjs} +3 -3
- package/dist/{chunk-FIBAZFC4.mjs → chunks/chunk-6Q5FR4PN.mjs} +1 -1
- package/dist/{chunk-NX46LPLF.mjs → chunks/chunk-BJFVXDZC.mjs} +2 -2
- package/dist/{chunk-ZUKUKGNK.mjs → chunks/chunk-DIYUG3BH.mjs} +7 -7
- package/dist/{chunk-TNKJPFGI.mjs → chunks/chunk-F2LYNUXG.mjs} +1 -1
- package/dist/{chunk-KQGRXTP5.mjs → chunks/chunk-HF32DKZY.mjs} +26 -270
- package/dist/chunks/chunk-HWGXSE6Q.mjs +269 -0
- package/dist/{chunk-HPC5B3AR.mjs → chunks/chunk-JCNXNPGM.mjs} +3 -3
- package/dist/{chunk-W2SJW3QQ.mjs → chunks/chunk-L6WPLJOO.mjs} +21 -50
- package/dist/{chunk-6OZAPQZ5.mjs → chunks/chunk-LMZ2J5Z5.mjs} +3 -3
- package/dist/{chunk-F5W5HD7S.mjs → chunks/chunk-LYPP7W7B.mjs} +79 -7
- package/dist/{chunk-6VYWVIGM.mjs → chunks/chunk-QBTFRSZM.mjs} +5 -5
- package/dist/{chunk-NZGJN7HG.mjs → chunks/chunk-RM6OQCEO.mjs} +2 -2
- package/dist/{chunk-2THQAZ26.mjs → chunks/chunk-URRTAW2Q.mjs} +7 -54
- package/dist/{chunk-WFUJWDST.mjs → chunks/chunk-XQAYO7CQ.mjs} +1 -1
- package/dist/controllers/index.d.mts +3 -3
- package/dist/controllers/index.mjs +946 -13
- package/dist/event/index.mjs +8 -8
- package/dist/index.d.mts +6 -13
- package/dist/index.mjs +32 -34
- package/dist/interaction/index.d.mts +2 -63
- package/dist/interaction/index.mjs +9 -9
- package/dist/month/index.mjs +6 -6
- package/dist/resource/index.mjs +1 -1
- package/dist/time-grid/index.d.mts +9 -2
- package/dist/time-grid/index.mjs +12 -13
- package/dist/timeline/index.d.mts +11 -1
- package/dist/timeline/index.mjs +7 -6
- package/dist/{touch-BhsMWsjf.d.mts → touch-B6xcJlyY.d.mts} +1 -1
- package/dist/utils/index.d.mts +2 -27
- package/dist/utils/index.mjs +16 -17
- package/dist/views/index.mjs +8 -8
- package/dist/views/timeline/index.mjs +4 -4
- package/dist/year/index.mjs +6 -6
- package/package.json +58 -3
- package/dist/chunk-5N4ZOBJV.mjs +0 -866
- package/dist/chunk-AAVM7UCG.mjs +0 -100
- /package/dist/{chunk-DYW6WUHE.mjs → chunks/chunk-6OTDPEJM.mjs} +0 -0
- /package/dist/{chunk-UMAMDBU4.mjs → chunks/chunk-73ID2V6E.mjs} +0 -0
- /package/dist/{chunk-C7ADJGNV.mjs → chunks/chunk-7TCZNLG7.mjs} +0 -0
- /package/dist/{chunk-5KORIWDT.mjs → chunks/chunk-AZRI6PHU.mjs} +0 -0
- /package/dist/{chunk-XUBQ2IQS.mjs → chunks/chunk-B4YDYPVO.mjs} +0 -0
- /package/dist/{chunk-SYJ5O4KH.mjs → chunks/chunk-IJH6YR4N.mjs} +0 -0
- /package/dist/{chunk-QDMZBJDV.mjs → chunks/chunk-P7CIUMQZ.mjs} +0 -0
- /package/dist/{chunk-2B3YLWHA.mjs → chunks/chunk-UKD2NVDC.mjs} +0 -0
- /package/dist/{chunk-QR2SVYAD.mjs → chunks/chunk-XMU4WSAX.mjs} +0 -0
package/dist/event/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { DEFAULT_RECURRENCE_EDIT_OPTIONS, addException, addRDate, applyRecurrenceDelete, applyRecurrenceEdit, applyRecurringDeleteChange, applyRecurringEditChange, buildSchedulerEventPipeline, calculateEventPosition, convertToSeries, createSchedulerEventPipelineMemo, deleteAll, deleteThisAndFuture, deleteThisOnly, editAll, editThisAndFuture, editThisOnly, getAllDayEventsForDay, getDeleteDescription, getDeleteScopeLabel, getEditScopeLabel, getExceptionForDate, getRecurrenceDeleteScopeMessage, getRecurrenceDescription, getRecurrenceEditScopeMessage, getTimedEventsForDay, hasExceptionForDate, isOccurrenceExcluded, isRecurringOccurrenceEvent, isRecurringSeries, normalizeRecurrenceEditOptions, normalizeSchedulerEventToDisplayTimezone, normalizeSchedulerEventsToDisplayTimezone, parseExDates, parseICalDate, parseRDates, positionAllDayEventsForWeek, positionEventsForDay, positionEventsForWeekRow, processRecurrenceDelete, processRecurrenceEdit, removeEventById, removeException, removeRDate, resolveDefaultDeleteScope, resolveDefaultEditScope, resolveRecurrenceDeleteScope, resolveRecurrenceEditContext, resolveRecurrenceEditScope, resolveRecurringContext, resolveSeriesIdFromOccurrence, serializeSeries, upsertEventById } from '../chunk-
|
|
2
|
-
export { eventMatchesResource, eventsOverlap, filterEventsByDateRange, filterEventsForDay, getEventColor, getEventEnd, getEventEndMinutes, getEventStart, getEventStartMinutes, getEventTextColor, getEventsForCell, getEventsForDayAndResource, getOverflowCountForCell, getTimedEventsForDayAndResource, getVisibleEventsForCell, isEventEndOnDate, isEventStartOnDate, moveEventTo, parseEvent, parseEventDate, parseEvents, resizeEventBy, sortEvents, sortEventsForCell } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
export { createRRule, daily, describeRRule, everyNthWeekday, expandRRule, expandRecurringSeries, lastWeekdayOfMonth, monthly, parseRRule, serializeRRule, weekdays, weekly, yearly } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
1
|
+
export { DEFAULT_RECURRENCE_EDIT_OPTIONS, addException, addRDate, applyRecurrenceDelete, applyRecurrenceEdit, applyRecurringDeleteChange, applyRecurringEditChange, buildSchedulerEventPipeline, calculateEventPosition, convertToSeries, createSchedulerEventPipelineMemo, deleteAll, deleteThisAndFuture, deleteThisOnly, editAll, editThisAndFuture, editThisOnly, getAllDayEventsForDay, getDeleteDescription, getDeleteScopeLabel, getEditScopeLabel, getExceptionForDate, getRecurrenceDeleteScopeMessage, getRecurrenceDescription, getRecurrenceEditScopeMessage, getTimedEventsForDay, hasExceptionForDate, isOccurrenceExcluded, isRecurringOccurrenceEvent, isRecurringSeries, normalizeRecurrenceEditOptions, normalizeSchedulerEventToDisplayTimezone, normalizeSchedulerEventsToDisplayTimezone, parseExDates, parseICalDate, parseRDates, positionAllDayEventsForWeek, positionEventsForDay, positionEventsForWeekRow, processRecurrenceDelete, processRecurrenceEdit, removeEventById, removeException, removeRDate, resolveDefaultDeleteScope, resolveDefaultEditScope, resolveRecurrenceDeleteScope, resolveRecurrenceEditContext, resolveRecurrenceEditScope, resolveRecurringContext, resolveSeriesIdFromOccurrence, serializeSeries, upsertEventById } from '../chunks/chunk-QBTFRSZM.mjs';
|
|
2
|
+
export { eventMatchesResource, eventsOverlap, filterEventsByDateRange, filterEventsForDay, getEventColor, getEventEnd, getEventEndMinutes, getEventStart, getEventStartMinutes, getEventTextColor, getEventsForCell, getEventsForDayAndResource, getOverflowCountForCell, getTimedEventsForDayAndResource, getVisibleEventsForCell, isEventEndOnDate, isEventStartOnDate, moveEventTo, parseEvent, parseEventDate, parseEvents, resizeEventBy, sortEvents, sortEventsForCell } from '../chunks/chunk-UKD2NVDC.mjs';
|
|
3
|
+
import '../chunks/chunk-7TCZNLG7.mjs';
|
|
4
|
+
import '../chunks/chunk-AZRI6PHU.mjs';
|
|
5
|
+
export { createRRule, daily, describeRRule, everyNthWeekday, expandRRule, expandRecurringSeries, lastWeekdayOfMonth, monthly, parseRRule, serializeRRule, weekdays, weekly, yearly } from '../chunks/chunk-6Q5FR4PN.mjs';
|
|
6
|
+
import '../chunks/chunk-P7CIUMQZ.mjs';
|
|
7
|
+
import '../chunks/chunk-F2LYNUXG.mjs';
|
|
8
|
+
import '../chunks/chunk-6OTDPEJM.mjs';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as _primeui_scheduler_types_scheduler from '@primeui/scheduler-types/scheduler';
|
|
2
|
-
import { SchedulerInstance, SchedulerProps
|
|
2
|
+
import { SchedulerInstance, SchedulerProps } from '@primeui/scheduler-types/scheduler';
|
|
3
3
|
export * from '@primeui/scheduler-types/scheduler';
|
|
4
4
|
export * from '@primeui/scheduler-types/view';
|
|
5
5
|
export * from '@primeui/scheduler-types/timeline';
|
|
6
6
|
import * as _primeui_core_types_api from '@primeui/core/types/api';
|
|
7
7
|
export { S as SchedulerGridCell, a as addDays, b as addHours, c as addMinutes, d as addMonths, e as addWeeks, f as addYears, g as applyDaysDelta, h as calculateDaysDelta, i as clampDate, j as differenceInDays, k as differenceInHours, l as differenceInMinutes, m as endOfDay, n as endOfMonth, o as endOfWeek, p as formatDateString, q as formatEventTime12h, r as formatGregorianDayNumber, s as formatGregorianMonthTitle, t as formatGregorianWeekday, u as formatGregorianYear, v as formatMonthYearTitle, w as formatWeekdayName, x as getDatesBetween, y as getDayHours, z as getDaysInMonth, A as getMonthDays, B as getMonthNames, C as getSchedulerGrid, D as getWeekDays, E as getWeekNumber, F as getWeekdayNames, G as getYearMonths, H as isAfter, I as isBefore, J as isBetween, K as isDateInRange, L as isSameDay, M as isSameMonth, N as isSameWeek, O as isSameYear, P as isToday, Q as isWeekend, R as minutesToPixels, T as minutesToTimeString, U as parseDate, V as parseTimeString, W as setTime, X as startOfDay, Y as startOfMonth, Z as startOfWeek, _ as timeStringToMinutes, $ as toDateString, a0 as toDateTimeString, a1 as toTimeString } from './date-D_CjQPmM.mjs';
|
|
8
|
-
export { BlockedIntervalDisplayLabels, BlockedIntervalDisplayOptions, COMMON_TIMEZONES, DEFAULT_ADAPTIVE_OPTIONS, DEFAULT_AUTO_HEIGHT_OPTIONS, DEFAULT_BUSINESS_HOURS, DEFAULT_CATEGORY_OPTIONS, DEFAULT_CONFLICT_OPTIONS, DEFAULT_STACKING_OPTIONS, DENSITY_CONFIGS, EventCategoryStyle, ImportFormat, LaneGeometry, LaneGeometryMode,
|
|
9
|
-
export { A as AppointmentSlotDisplayLabels, a as AppointmentSlotDisplayOptions, b as AppointmentSlotIndicator, c as AppointmentSlotOverlay, D as DEFAULT_APPOINTMENT_SLOTS_OPTIONS,
|
|
8
|
+
export { BlockedIntervalDisplayLabels, BlockedIntervalDisplayOptions, COMMON_TIMEZONES, DEFAULT_ADAPTIVE_OPTIONS, DEFAULT_AUTO_HEIGHT_OPTIONS, DEFAULT_BUSINESS_HOURS, DEFAULT_CATEGORY_OPTIONS, DEFAULT_CONFLICT_OPTIONS, DEFAULT_STACKING_OPTIONS, DENSITY_CONFIGS, EventCategoryStyle, ImportFormat, LaneGeometry, LaneGeometryMode, PrintFilterCategoryOption, PrintInvocationOptions, PrintLayoutOptions, PrintOrientationMode, PrintPageChromeOptions, PrintScaleMode, ResolveCalendarViewRangeInput, ResolveCurrentViewRangeInput, ResolveDaysOfWeekForViewInput, ResolveEventDensityOptions, ResolvePrintFiltersInput, ResolvePrintPageChromeStateInput, ResolvePrintRuntimeStateInput, ResolvedPrintLayoutOptions, ResolvedPrintOrientation, ResolvedPrintPageChromeState, ResolvedPrintRuntimeState, ResolvedPrintScaleMode, SchedulerLocaleConfig, SelectionEmitOutcome, TimeSlotBusinessHoursInfo, TimedColumnTextMode, TimelineDefaultTextMode, TimelineEventWithPosition, TimezoneInfo, applyDefaultResourceDrop, applyImportMerge, assignEventLanes, buildImportValidationReport, calculateAutoHeight, calculateCellRenderingInfo, calculateContrastTextColor, calculateMaxOverlappingEvents, calculateResourceRowAutoHeight, calculateTimelineRowHeight, calculateWeekViewAutoHeight, canCreateWithBlockedIntervals, canDropEvent, canDropEventWithResourceConstraints, canDropWithBlockedIntervals, canSelect, canSelectForView, checkAvailabilityConstraint, checkCapacityConstraint, checkDailyEventsConstraint, checkDailyHoursConstraint, checkEventDurationConstraint, checkOverlapConstraint, checkSkillConstraint, clampPrintScaleFactor, convertEventToDisplayTimezone, convertEventsToTimezone, createAdaptiveRenderingState, createDateInTimezone, defaultSchedulerText, detectImportFormat, endOfDayInTimezone, eventsTimeOverlap, expandBlockedInterval, exportScheduler, exportToCsv, exportToIcal, exportToJson, exportToPdf, exportToXlsx, filterEventsByCategory, filterEventsByCategoryExclude, findOverlappingEventsInResource, formatDateInTimezone, formatDateTimeInTimezone, formatInTimezone, formatPrintDate, formatPrintDateTime, formatPrintRange, formatTimeInTimezone, fromLocalTimezone, fromUTC, getAutoHeightClasses, getAvailableLocales, getBlockedIntervalDisplayLabels, getBlockedIntervalsForDay, getBusinessHoursForDay, getCapacityStatus, getCategoriesByIds, getCategoriesWithAutoTextColor, getCategoryById, getCategoryCounts, getCategoryWithAutoTextColor, getCommonTimezones, getDatePartsInTimezone, getDefaultFirstDayOfWeek, getDensityCSSVars, getDensityClasses, getDensityConfig, getDensityFromContainerWidth, getEventCategories, getEventCategory, getEventCategoryBorderColor, getEventCategoryColor, getEventCategoryIcon, getEventCategoryStyle, getEventCategoryTextColor, getEventDensityClasses, getEventResourceIds, getExpandedBlockedIntervals, getLocalTimezone, getLocaleConfig, getMoreText, getPrimaryResourceId, getResourceCapacity, getSchedulerText, getSchedulerWeekendToggleView, getSortedCategories, getStackedEventStyle, getStackingClasses, getTimeSlotBusinessHoursInfo, getTimezoneAbbreviation, getTimezoneDisplayLabel, getTimezoneInfo, getTimezoneName, getTimezoneOffset, getTimezoneOffsetString, getVisibleEvents, groupEventsByCategory, hasGroupingFieldValue, hasOverlapInAnyAssignedResource, importFromCsv, importFromIcal, importFromJson, importScheduler, isDateWithinConstraint, isDirectTimeSelectionView, isRTL, isRangeWithinBlockedInterval, isRangeWithinBusinessHours, isResourceLikeView, isSameDayInTimezone, isSchedulerAutoTextColor, isTimeSlotInBusinessHours, isTimeWithinBlockedInterval, isTimedCreateView, isTimelineLikeView, isTodayInTimezone, isValidTimezone, isWithinBusinessHours, markSchedulerAutoTextColor, normalizeAdaptiveOptions, normalizeAutoHeightOptions, normalizeBusinessHours, normalizeCategoryOptions, normalizeConflictOptions, normalizeStackingOptions, parseISOWithTimezone, preparePdfData, prepareXlsxData, previewImportMerge, registerLocale, resolveAutoResourceGroupingField, resolveCalendarViewRange, resolveClickCreateEnd, resolveCurrentViewRange, resolveDaysOfWeekForView, resolveEventDensity, resolveGroupedLaneGeometry, resolveOverlapPolicy, resolvePrintFilters, resolvePrintOrientation, resolvePrintPageChromeState, resolvePrintPageStyleRule, resolvePrintRuntimeState, resolvePrintScale, resolveSchedulerText, resolveSelectionEmitOutcome, resolveTimedColumnTextMode, resolveTimelineDefaultTextMode, sortMorePopoverEvents, startOfDayInTimezone, toCssLength, toDateOnlyString, toISOWithTimezone, toLocalTimezone, toNumber, toTimezone, toUTC, validateImportResult, validateResourceConstraints } from './utils/index.mjs';
|
|
9
|
+
export { A as AppointmentSlotDisplayLabels, a as AppointmentSlotDisplayOptions, b as AppointmentSlotIndicator, c as AppointmentSlotOverlay, D as DEFAULT_APPOINTMENT_SLOTS_OPTIONS, d as canBookSlot, e as createSlotFromTimeRange, g as generateAppointmentSlots, f as getAppointmentSlotDisplayLabels, h as getAppointmentSlotIndicators, i as getAppointmentSlotOverlays, j as getAvailableSlots, k as getSlotAtTime, l as getSlotById, m as getSlotCapacityDisplay, n as getSlotOverlayClasses, o as getSlotOverlayStyle, p as getSlotsForDay, q as getSlotsForTimeRange, r as getSlotsInTimeRange, s as normalizeAppointmentSlotsOptions, u as updateSlotAvailability, t as updateSlotsAvailability } from './appointment-slots-DCiNFFed.mjs';
|
|
10
10
|
export { D as DEFAULT_DATE_DISPLAY_OPTIONS, a as DEFAULT_DISPLAY_OPTIONS, b as DEFAULT_TIME_FORMAT_OPTIONS, c as SchedulerCalendarDisplayConfig, S as SchedulerCalendarDisplayConfigInput, d as SchedulerDateFormatter, _ as __clearDateTimeFormatterCache, e as __getDateTimeFormatterCacheSize, f as createSchedulerDateFormatter, g as formatDate, h as formatDateRange, i as formatDayOfMonth, j as formatEventDateTime, k as formatHeaderTitle, l as formatMonth, m as formatMonthYear, n as formatSlotTime, o as formatTime, p as formatTimeRange, q as formatWeekday, r as getRelativeDay, s as normalizeDateDisplayOptions, t as normalizeDisplayOptions, u as normalizeTimeFormatOptions, v as resolveSchedulerCalendarDisplayConfig } from './display-format-CLVvRt4I.mjs';
|
|
11
11
|
export { S as SchedulerEventSurfaceCategory, a as SchedulerEventSurfaceContext, b as SchedulerEventSurfaceOptions, g as getSchedulerEventSurfaceStyle, r as resolveSchedulerEventSurfaceColor } from './event-surface-_R_LHD95.mjs';
|
|
12
12
|
export { SchedulerCalendarAdapter, SchedulerCalendarAdapterOptions, SchedulerCalendarDate, SchedulerCalendarDuration, SchedulerCalendarIdResolution, SchedulerCalendarInteractionOptions, SchedulerInternationalCalendarFactory, SchedulerInternationalCalendarId, addCalendarDaysToDate, differenceInCalendarDays, getSchedulerCalendarAdapter, gregorianCalendarAdapter, isCalendarAdapterCorrectView, moveDateToCalendarDay, resolveSchedulerCalendarId, resolveSchedulerCalendarModeForView, schedulerInternationalCalendarIds } from './calendar/index.mjs';
|
|
@@ -14,13 +14,9 @@ export { AgendaViewOptions, ResourceDayViewOptions, ResourceWeekViewOptions, age
|
|
|
14
14
|
export { P as ParsedEvent, e as eventMatchesResource, a as eventsOverlap, f as filterEventsByDateRange, b as filterEventsForDay, g as getEventColor, c as getEventEnd, d as getEventEndMinutes, h as getEventStart, i as getEventStartMinutes, j as getEventTextColor, k as getEventsForCell, l as getEventsForDayAndResource, m as getOverflowCountForCell, n as getTimedEventsForDayAndResource, o as getVisibleEventsForCell, p as isEventEndOnDate, q as isEventStartOnDate, r as moveEventTo, s as parseEvent, t as parseEventDate, u as parseEvents, v as resizeEventBy, w as sortEvents, x as sortEventsForCell } from './event.utils-QSNdd-3W.mjs';
|
|
15
15
|
export { ApplyRecurringDeleteChangeInput, ApplyRecurringEditChangeInput, DEFAULT_RECURRENCE_EDIT_OPTIONS, DeleteAllResult, DeleteFutureResult, DeleteThisOnlyResult, EditAllResult, EditFutureResult, EditThisOnlyResult, ProcessRecurrenceDeleteInput, ProcessRecurrenceEditInput, RecurrenceContextResolution, RecurrenceDeleteApplyState, RecurrenceDeleteEmitInstruction, RecurrenceDeleteEmitPayload, RecurrenceDeleteScopeSelectionRequest, RecurrenceDeleteScopeSelector, RecurrenceDeleteWorkflowResult, RecurrenceEditApplyState, RecurrenceEditEmitInstruction, RecurrenceEditEmitPayload, RecurrenceEditScopeSelectionRequest, RecurrenceEditScopeSelector, RecurrenceEditWorkflowResult, RecurrenceResolvedContext, RecurrenceRuntimeAction, ResolveRecurrenceEditContextInput, SchedulerEventPipelineInput, SchedulerEventPipelineMemoizedBuilder, SchedulerEventPipelineResult, SchedulerRecurrenceDisplayOptions, addException, addRDate, applyRecurrenceDelete, applyRecurrenceEdit, applyRecurringDeleteChange, applyRecurringEditChange, buildSchedulerEventPipeline, convertToSeries, createRRule, createSchedulerEventPipelineMemo, daily, deleteAll, deleteThisAndFuture, deleteThisOnly, describeRRule, editAll, editThisAndFuture, editThisOnly, everyNthWeekday, expandRRule, expandRecurringSeries, getDeleteDescription, getDeleteScopeLabel, getEditScopeLabel, getExceptionForDate, getRecurrenceDeleteScopeMessage, getRecurrenceDescription, getRecurrenceEditScopeMessage, hasExceptionForDate, isOccurrenceExcluded, isRecurringOccurrenceEvent, isRecurringSeries, lastWeekdayOfMonth, monthly, normalizeRecurrenceEditOptions, normalizeSchedulerEventToDisplayTimezone, normalizeSchedulerEventsToDisplayTimezone, parseExDates, parseICalDate, parseRDates, parseRRule, processRecurrenceDelete, processRecurrenceEdit, removeEventById, removeException, removeRDate, resolveDefaultDeleteScope, resolveDefaultEditScope, resolveRecurrenceDeleteScope, resolveRecurrenceEditContext, resolveRecurrenceEditScope, resolveRecurringContext, resolveSeriesIdFromOccurrence, serializeRRule, serializeSeries, upsertEventById, weekdays, weekly, yearly } from './event/index.mjs';
|
|
16
16
|
export { E as EventGroup, M as MonthEventPosition, P as PositionedEvent, a as PositioningOptions, W as WeekRowEventData, c as calculateEventPosition, g as getAllDayEventsForDay, b as getTimedEventsForDay, p as positionAllDayEventsForWeek, d as positionEventsForDay, e as positionEventsForWeekRow } from './event.positioning-BdzAVPk7.mjs';
|
|
17
|
-
export { D as DEFAULT_DRAG_MIN_DISTANCE, a as DEFAULT_SNAP_DURATION, S as SchedulerDropCalendarOptions, b as SchedulerEventDropCandidate, c as SchedulerEventDropCandidateInput, d as SchedulerPointerInput, e as SchedulerRectInput, f as applyDeltaToEvent, g as calculateDayDelta, h as calculateDragDelta, i as calculateTimeDelta, j as clampTime, k as createDragState, l as createSchedulerEventDropCandidate, m as findOverlappingEvents, n as getDayIndexFromX, o as getPointerCoords, p as getSchedulerEventDropDelta, q as getSchedulerTimedInteractionDeltaMs, r as getTimeFromYPosition, s as getYPositionFromTime, t as isEventDraggable, u as snapTime, v as snapToSlot, w as updateDragState, x as validateDragPosition } from './touch-BhsMWsjf.mjs';
|
|
18
|
-
export { AutoScrollDelta, AutoScrollRect, AutoScrollTarget, BuildResourceCapacityMapInput, ChunkedCells, ColumnTimedOffset, ConflictEmitInstruction, ConflictWorkflowResult, DEFAULT_OVERSCAN, DayFocusContext, DragAutoScroller, DragAutoScrollerOptions, EvaluateDropConflictInput, EventSelectionModifiers, EventSelectionResult, FocusContext, GlobalKeyAction, GlobalKeyboardContext, KeyboardAction, KeyboardNavigationOptions, KeyboardNavigationResult, MonthFocusContext, NormalizedEventSelectionOptions, NormalizedInlineEditOptions, NormalizedQuickInfoOptions, OutsideClickAction, OutsideClickContext, ParsedInlineEditTime, ParsedTime, ProcessConflictDecisionInput, RESIZE_HANDLE_SIZE, RESOURCE_VIEWS, ResolveAutoScrollDeltaInput, ResourceConflictDecision, ResourceConflictEvaluationInput, ResourceConflictRuntimeInput, ResourceConflictRuntimeResult, SchedulerEventResizeEdge, SchedulerEventResizePreview, SchedulerEventResizePreviewResult, SchedulerKeyboardInput, VIRTUAL_THRESHOLD, ViewFocusContext, VirtualEventRange, VirtualRange, VirtualScrollState, WeekFocusContext, YearFocusContext, applyEventSelection, applyResizeToEvent, buildResourceCapacityMap, calculateNewEventTimes, calculateNewFocusedDate, calculateTotalWidth, calculateVirtualRange, calculateVisibleEvents, clampTimeToSlotBounds, clearEventSelection, computeColumnTimedMultiDragOffsets, computeDayMultiDragOffsets, computeTimedMultiDragOffsets, createChunkedCells, createDragAutoScroller, createResizeState, createVirtualScrollState, dedupeConflicts, detectResizeEdge, evaluateDropConflict, evaluateResourceConflictDecision, eventBelongsToResource, filterEventsByPermission, filterVisibleIdsByResource, findCellForDate, formatEventDate, formatEventDuration, formatEventTimeRange, formatTimeToken, getCellAtPosition, getDayOffset, getDefaultFocusDate, getDefaultFocusDateForDay, getDefaultFocusDateForMonth, getDefaultFocusDateForWeek, getDefaultFocusDateForYear, getDisplayedMonthFromGrid, getEndOfWeek, getEndOfWeekForFocus, getEstimatedScrollPosition, getInlineEditTimeValue, getKeyboardAction, getNavigationDirectionForDay, getNavigationDirectionForMonth, getNavigationDirectionForWeek, getNavigationDirectionForYear, getPeriodNavigationDirection, getResizeCursor, getSchedulerTimedResizePreview, getSchedulerTimelineResizePreview, getScrollPositionForDate, getScrollPositionForNow, getSelectedEventsForMultiDrag, getStartOfWeek, getStartOfWeekForFocus, getTimeOfDayMs, getVisibleChunks, handleKeyboardNavigation, hasInlineTimeChanged, invertSelection, isDateInDayView, isDateInMonthView, isDateInVisibleRange, isDateInWeekView, isDateInYearView, isEventDraggableWithPermission, isEventResizable, isEventResizableWithPermission, isMultiDragCandidate, isPermissionAllowed, isResourceView, normalizeEventSelectionOptions, normalizeInlineEditOptions, normalizeQuickInfoOptions, parseInlineEditTimeValue, parseInlineTimeToken, processConflictDecision, projectEventsWithCandidate, resolveAutoScrollDelta, resolveCapacityExceededPayloads, resolveGlobalKeyAction, resolveOutsideClickAction, resolveResourceConflictRuntime, selectAllVisibleEvents, shouldUseVirtualScrolling, snapTimeToSlot, toValidDate, updateConflictedEventIds, updateResizeState, updateVirtualScrollState, validateResize } from './interaction/index.mjs';
|
|
19
|
-
export { D as DateSelectionResult, a as DragEndResult, b as DragMoveResult, c as DragSelectionState, d as DragStartResult, S as SelectionMode, e as SelectionState, T as TimeSelectionResult, f as calculateDragRange, g as clearSelection, h as finalizeDragSelection, i as getActiveRange, j as handleDateSelection, k as handleTimeSelection, l as hasSelection, m as isDateInSelectionRange, n as isDateSelected, o as isRangeEnd, p as isRangeStart, s as startDragSelection, u as updateDragPreview } from './selection-CO_98HdS.mjs';
|
|
20
|
-
export { AppointmentSlotTrackingChange, AppointmentSlotTrackingContext, AppointmentSlotTrackingState, AppointmentSlotTrackingSyncResult, ColumnInfo, DragGhostStyle, MonthDragContext, MonthDragEndResult, MonthDragMoveResult, MonthResizeContext, MonthResizeEndResult, MonthResizeMoveResult, MonthResizePreviewData, PreviewStyle, RESIZE_EDGE_SIZE, SlotTrackingSnapshot, TIMELINE_RESIZE_EDGE_SIZE, TimedDragCalculation, TimedDragEndResult, TimedDragMoveResult, TimedPointerDispatchHandlers, TimedPointerStartInput, TimedPointerStartResult, TimedPreviewDropValidationInput, TimedResizeEndResult, TimedResizeMoveResult, TimedViewContext, TimelineDragContext, TimelineDragEndResult, TimelineDragGhostStyle, TimelineDragMoveResult, TimelineResizeContext, TimelineResizeEndResult, TimelineResizeMoveResult, TimelineResizePreviewStyle, TimelineResizeState, calculateDragClickOffset, calculateResizeDeltas, calculateResizePreviewPosition, calculateResizePreviewStyle, calculateTimedDragDelta, calculateTimedDragPreview, calculateTimedResizePreview, calculateTimelineDragDelta, calculateTimelineResizeDeltas, canDropTimedPreviewEvent, cloneEventForSlotTracking, createAppointmentSlotTrackingState, createTimelineDragState, createTimelineResizeState, detectResizeEdgeForAllDay, detectResizeEdgeForTimeline, dispatchTimedPointerEnd, dispatchTimedPointerMove, finalizeMonthDrag, finalizeMonthResize, finalizeTimedDrag, finalizeTimedResize, finalizeTimelineDrag, finalizeTimelineResize, findColumnIndexForDate, findEventPositionInGrid, getDragGhostStyle, getSlotTrackingKey, getTimedPreviewStyle, getTimelineDragGhostStyle, hasTimedDropConstraints, isAppointmentSlotTrackingView, processMonthDragMove, processMonthResizeMove, processTimedDragMove, processTimedResizeMove, processTimelineDragMove, processTimelineResizeMove, resolveTimedPointerStart, resolveTimelineSnapDuration, syncAppointmentSlotTracking, updateTimelineDragState } from './controllers/index.mjs';
|
|
21
17
|
export * from '@primeui/scheduler-types/resource';
|
|
22
18
|
export { AdaptiveGroupingOptions, AdaptiveGroupingState, BreadcrumbItem, DEFAULT_ADAPTIVE_BREAKPOINT, DEFAULT_RESOURCE_AREA_WIDTH, DEFAULT_RESOURCE_MIN_ROW_HEIGHT, DEFAULT_RESOURCE_ROW_HEIGHT, DEFAULT_SIDEBAR_WIDTH, DateResourceGroup, HierarchicalHeaderCell, HierarchicalHeaderRow, ResourceEventGroup, ResourceFilterResult, ResourceTreeMutationResult, adaptiveClasses, addResource, addResourceToEvent, addResourceToTree, areResourceIdSetsEqual, assignEventToResource, buildBreadcrumbPath, calculateExpandedRowHeight, calculateResourceColumnLayouts, calculateResourceRowLayouts, clearResourceSelection, closeSidebar, collapseAllResources, collapseResource, countLeafDescendants, countResources, createAdaptiveGroupingState, createResourceFilter, createResourceStore, dedupeResourceIds, detectMobileMode, expandAllResources, expandResource, filterResources, findResourceById, flattenResourceTree, flattenResources, getAllResourceIds, getAncestorIds, getAncestorResources, getChildResources, getEventsForResource, getEventsWithoutResource, getFilterStats, getFilteredEventsForResource, getHierarchicalHeaderRows, getLeafResources, getMaxDepth, getParentResource, getResourceAreaWidth, getResourceAtPosition, getResourceById, getResourceColumnAtPosition, getResourceIdsForEvent, getResourceLabel, getResourcesByIds, getSelectedResource, getSelectionDepth, getTotalResourceHeight, getVisibleResources, groupEventsByDate, groupEventsByResource, groupResourcesByField, hasHierarchy, highlightMatch, isResourceInPath, moveEventToResource, navigateBreadcrumb, openSidebar, removeResource, removeResourceFromEvent, removeResourceFromTree, resolveResourceScalePolicy, resolveResourceScaleStrategy, searchResources, selectResource, setMobileMode, setResourceExpansionInTree, sortResources, toggleResourceExpansion, toggleSidebar, updateResource, updateResourceInTree, upsertResourceById } from './resource/index.mjs';
|
|
23
|
-
export { BuildTimelineCellsInput, DEFAULT_TIMELINE_EVENT_MIN_HEIGHT, ResolveTimelineResourceRowHeightInput, TIMELINE_LANE_BASE_PADDING, TIMELINE_LANE_GAP, TimelineCellModel, TimelineHeaderCellModel, TimelineHeaderTierModel, TimelineLabelFormatters, TimelineLaneModel, TimelineResourceRowHeightMode, TimelineViewModel, TimelineViewModelInput, TimelineViewModelVirtualRange, buildTimelineCells, buildTimelineHeaderTiers, buildTimelineViewModel, computeTimelineLaneAssignment, filterTimelineLaneEvents, getTimelineEventRect, getTimelineLaneStackHeight, getTimelineVisibleDayStarts, isTimelineMonthGranularityView, resolveTimelineEventMinHeight, resolveTimelineResourceRowHeight, timeToTimelinePixels } from './timeline/index.mjs';
|
|
19
|
+
export { BuildTimelineCellsInput, DEFAULT_TIMELINE_EVENT_MIN_HEIGHT, ResolveTimelineResourceRowHeightInput, TIMELINE_LANE_BASE_PADDING, TIMELINE_LANE_GAP, TimelineCellModel, TimelineHeaderCellModel, TimelineHeaderTierModel, TimelineLabelFormatters, TimelineLaneModel, TimelineResourceRowHeightMode, TimelineViewModel, TimelineViewModelInput, TimelineViewModelVirtualRange, buildTimelineCells, buildTimelineHeaderTiers, buildTimelineViewModel, computeTimelineLaneAssignment, filterTimelineLaneEvents, getTimelineEventRect, getTimelineLaneStackHeight, getTimelineVisibleDayStarts, isTimelineMonthGranularityView, resolveTimelineEventMinHeight, resolveTimelineResourceRowHeight, timeToTimelinePixels, timelinePixelsToTime } from './timeline/index.mjs';
|
|
24
20
|
export { MonthGridDayCellViewModel, MonthGridViewModel, MonthGridViewModelInput, MonthGridWeekViewModel, MonthSpanningEventLayout, MonthWeekEventLayout, buildMonthGridViewModel, buildMonthWeekEventLayout, daysBetween, durationDays, getEventsForMonthDay, getEventsForMonthWeek, getMonthSpanningEventLayout } from './month/index.mjs';
|
|
25
21
|
export { TimeGridAllDayEventLayout, TimeGridAllDayWeekLayout, TimeGridPositionedEventResult, TimeGridSlotModel, TimeGridViewModel, TimeGridViewModelInput, buildTimeGridViewModel } from './time-grid/index.mjs';
|
|
26
22
|
export { YearGridDayCellViewModel, YearGridDayIndicatorViewModel, YearGridMiniMonthViewModel, YearGridViewModel, YearGridViewModelInput, YearGridWeekViewModel, YearGridWeekdayHeaderViewModel, buildYearGridViewModel } from './year/index.mjs';
|
|
@@ -29,6 +25,7 @@ export { ResourceTimelineOverlapPolicy } from '@primeui/scheduler-types/resource
|
|
|
29
25
|
export { SchedulerText } from '@primeui/scheduler-types/locale';
|
|
30
26
|
export { WeekNumbering } from '@primeui/scheduler-types/date';
|
|
31
27
|
export { calculateTimelineEventPosition, formatTimelineTitle, generateDayCells, generateTimelineCells, generateTimelineHeaderCells, getDefaultTimelineHeaderLevels, getEventsInDateRange, getTimelineDayViewData, getTimelineMonthViewData, getTimelineWeekViewData, getTimelineYearViewData, positionTimelineEvents, positionTimelineEventsForDayGranularity, positionTimelineEventsWithBusinessHours, timelineDayView, timelineMonthView, timelineWeekView, timelineYearView } from './views/timeline/index.mjs';
|
|
28
|
+
import './selection-CO_98HdS.mjs';
|
|
32
29
|
import '@internationalized/date';
|
|
33
30
|
|
|
34
31
|
declare const createScheduler: (context?: _primeui_core_types_api.Context<_primeui_scheduler_types_scheduler.SchedulerRefs, _primeui_scheduler_types_scheduler.SchedulerProps, _primeui_scheduler_types_scheduler.SchedulerState, _primeui_scheduler_types_scheduler.SchedulerEmits<unknown, unknown>>) => SchedulerInstance;
|
|
@@ -162,10 +159,6 @@ declare const schedulerDefaultFactoryKeys: readonly ["views", "date", "events",
|
|
|
162
159
|
declare function getSchedulerDefaultProp<Key extends SchedulerPropKey>(key: Key): (typeof schedulerDefaultProps)[Key];
|
|
163
160
|
declare function resolveSchedulerProps(props?: Partial<SchedulerProps>): SchedulerProps;
|
|
164
161
|
|
|
165
|
-
declare const defaultSchedulerRefs: SchedulerRefs;
|
|
166
|
-
|
|
167
|
-
declare const defaultSchedulerState: SchedulerState;
|
|
168
|
-
|
|
169
162
|
declare const schedulerClasses: {
|
|
170
163
|
root: string;
|
|
171
164
|
disabled: string;
|
|
@@ -1125,4 +1118,4 @@ declare const classes: {
|
|
|
1125
1118
|
sidebarTransition: string;
|
|
1126
1119
|
};
|
|
1127
1120
|
|
|
1128
|
-
export { type SchedulerPropKey, classes, createScheduler,
|
|
1121
|
+
export { type SchedulerPropKey, classes, createScheduler, getSchedulerDefaultProp, resolveSchedulerProps, schedulerClasses, schedulerDefaultFactoryKeys, schedulerDefaultProps, schedulerPropKeys };
|
package/dist/index.mjs
CHANGED
|
@@ -1,34 +1,32 @@
|
|
|
1
|
-
import './chunk-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
|
|
20
|
-
export {
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export {
|
|
29
|
-
|
|
30
|
-
export { addCalendarDaysToDate, differenceInCalendarDays, getSchedulerCalendarAdapter, gregorianCalendarAdapter, isCalendarAdapterCorrectView, moveDateToCalendarDay, resolveSchedulerCalendarId, resolveSchedulerCalendarModeForView, schedulerInternationalCalendarIds } from './chunk-DYW6WUHE.mjs';
|
|
31
|
-
export { DEFAULT_ADAPTIVE_BREAKPOINT, DEFAULT_RESOURCE_AREA_WIDTH, DEFAULT_RESOURCE_MIN_ROW_HEIGHT, DEFAULT_RESOURCE_ROW_HEIGHT, DEFAULT_SIDEBAR_WIDTH, adaptiveClasses, addResource, addResourceToEvent, addResourceToTree, areResourceIdSetsEqual, assignEventToResource, buildBreadcrumbPath, calculateExpandedRowHeight, calculateResourceColumnLayouts, calculateResourceRowLayouts, clearResourceSelection, closeSidebar, collapseAllResources, collapseResource, countLeafDescendants, countResources, createAdaptiveGroupingState, createResourceFilter, createResourceStore, dedupeResourceIds, detectMobileMode, expandAllResources, expandResource, filterResources, findResourceById, flattenResourceTree, flattenResources, getAllResourceIds, getAncestorIds, getAncestorResources, getChildResources, getEventsForResource, getEventsWithoutResource, getFilterStats, getFilteredEventsForResource, getHierarchicalHeaderRows, getLeafResources, getMaxDepth, getParentResource, getResourceAreaWidth, getResourceAtPosition, getResourceById, getResourceColumnAtPosition, getResourceIdsForEvent, getResourceLabel, getResourcesByIds, getSelectedResource, getSelectionDepth, getTotalResourceHeight, getVisibleResources, groupEventsByDate, groupEventsByResource, groupResourcesByField, hasHierarchy, highlightMatch, isResourceInPath, moveEventToResource, navigateBreadcrumb, openSidebar, removeResource, removeResourceFromEvent, removeResourceFromTree, resolveResourceScalePolicy, resolveResourceScaleStrategy, searchResources, selectResource, setMobileMode, setResourceExpansionInTree, sortResources, toggleResourceExpansion, toggleSidebar, updateResource, updateResourceInTree, upsertResourceById } from './chunk-QR2SVYAD.mjs';
|
|
1
|
+
import './chunks/chunk-73ID2V6E.mjs';
|
|
2
|
+
import './chunks/chunk-B4YDYPVO.mjs';
|
|
3
|
+
import { resolveCalendarViewRange } from './chunks/chunk-L6WPLJOO.mjs';
|
|
4
|
+
export { DEFAULT_ADAPTIVE_OPTIONS, DEFAULT_AUTO_HEIGHT_OPTIONS, DEFAULT_STACKING_OPTIONS, DENSITY_CONFIGS, applyImportMerge, assignEventLanes, buildImportValidationReport, calculateAutoHeight, calculateCellRenderingInfo, calculateMaxOverlappingEvents, calculateResourceRowAutoHeight, calculateTimelineRowHeight, calculateWeekViewAutoHeight, canSelectForView, clampPrintScaleFactor, createAdaptiveRenderingState, defaultSchedulerText, detectImportFormat, exportScheduler, exportToCsv, exportToIcal, exportToJson, exportToPdf, exportToXlsx, formatPrintDate, formatPrintDateTime, formatPrintRange, getAutoHeightClasses, getAvailableLocales, getDefaultFirstDayOfWeek, getDensityCSSVars, getDensityClasses, getDensityConfig, getDensityFromContainerWidth, getEventDensityClasses, getLocaleConfig, getMoreText, getSchedulerText, getSchedulerWeekendToggleView, getStackedEventStyle, getStackingClasses, getVisibleEvents, importFromCsv, importFromIcal, importFromJson, importScheduler, isDirectTimeSelectionView, isRTL, isResourceLikeView, isTimedCreateView, isTimelineLikeView, normalizeAdaptiveOptions, normalizeAutoHeightOptions, normalizeStackingOptions, preparePdfData, prepareXlsxData, previewImportMerge, registerLocale, resolveCalendarViewRange, resolveClickCreateEnd, resolveCurrentViewRange, resolveDaysOfWeekForView, resolveEventDensity, resolveGroupedLaneGeometry, resolvePrintFilters, resolvePrintOrientation, resolvePrintPageChromeState, resolvePrintPageStyleRule, resolvePrintRuntimeState, resolvePrintScale, resolveSchedulerText, resolveSelectionEmitOutcome, resolveTimedColumnTextMode, resolveTimelineDefaultTextMode, sortMorePopoverEvents, toDateOnlyString, validateImportResult } from './chunks/chunk-L6WPLJOO.mjs';
|
|
5
|
+
export { applyDefaultResourceDrop, eventsTimeOverlap, findOverlappingEventsInResource, getEventResourceIds, getPrimaryResourceId, hasGroupingFieldValue, hasOverlapInAnyAssignedResource, resolveAutoResourceGroupingField, resolveOverlapPolicy, toCssLength, toNumber } from './chunks/chunk-IJH6YR4N.mjs';
|
|
6
|
+
export { DEFAULT_CONFLICT_OPTIONS, canDropEventWithResourceConstraints, checkAvailabilityConstraint, checkCapacityConstraint, checkDailyEventsConstraint, checkDailyHoursConstraint, checkEventDurationConstraint, checkOverlapConstraint, checkSkillConstraint, getCapacityStatus, getResourceCapacity, normalizeConflictOptions, validateResourceConstraints } from './chunks/chunk-BJFVXDZC.mjs';
|
|
7
|
+
export { agendaView, dayView, formatEventTime, generateTimeSlots, getAgendaViewData, getAvailableViews, getCustomRangeTitle, getDayViewData, getEventHeight, getEventTopPosition, getMonthViewData, getNowIndicatorPosition, getResourceDayViewData, getResourceWeekViewData, getView, getWeekViewData, getYearViewData, getYearViewWeekdayNames, monthView, resourceDayView, resourceWeekView, viewRegistry, weekView, yearView } from './chunks/chunk-DIYUG3BH.mjs';
|
|
8
|
+
export { buildMonthGridViewModel, buildMonthWeekEventLayout, daysBetween, durationDays, getEventsForMonthDay, getEventsForMonthWeek, getMonthSpanningEventLayout } from './chunks/chunk-56LJ2UG5.mjs';
|
|
9
|
+
export { buildYearGridViewModel } from './chunks/chunk-LMZ2J5Z5.mjs';
|
|
10
|
+
export { calculateTimelineEventPosition, formatTimelineTitle, generateDayCells, generateTimelineCells, generateTimelineHeaderCells, getDefaultTimelineHeaderLevels, getEventsInDateRange, getTimelineDayViewData, getTimelineMonthViewData, getTimelineWeekViewData, getTimelineYearViewData, positionTimelineEvents, positionTimelineEventsForDayGranularity, positionTimelineEventsWithBusinessHours, timelineDayView, timelineMonthView, timelineWeekView, timelineYearView } from './chunks/chunk-2YXHUV2A.mjs';
|
|
11
|
+
export { buildTimelineViewModel } from './chunks/chunk-HWGXSE6Q.mjs';
|
|
12
|
+
import { DEFAULT_TIMELINE_EVENT_MIN_HEIGHT } from './chunks/chunk-HF32DKZY.mjs';
|
|
13
|
+
export { DEFAULT_TIMELINE_EVENT_MIN_HEIGHT, TIMELINE_LANE_BASE_PADDING, TIMELINE_LANE_GAP, buildTimelineCells, buildTimelineHeaderTiers, computeTimelineLaneAssignment, filterTimelineLaneEvents, getTimelineEventRect, getTimelineLaneStackHeight, getTimelineVisibleDayStarts, isTimelineMonthGranularityView, resolveTimelineEventMinHeight, resolveTimelineResourceRowHeight, timeToTimelinePixels, timelinePixelsToTime } from './chunks/chunk-HF32DKZY.mjs';
|
|
14
|
+
export { buildTimeGridViewModel } from './chunks/chunk-LYPP7W7B.mjs';
|
|
15
|
+
export { DEFAULT_RECURRENCE_EDIT_OPTIONS, addException, addRDate, applyRecurrenceDelete, applyRecurrenceEdit, applyRecurringDeleteChange, applyRecurringEditChange, buildSchedulerEventPipeline, calculateEventPosition, convertToSeries, createSchedulerEventPipelineMemo, deleteAll, deleteThisAndFuture, deleteThisOnly, editAll, editThisAndFuture, editThisOnly, getAllDayEventsForDay, getDeleteDescription, getDeleteScopeLabel, getEditScopeLabel, getExceptionForDate, getRecurrenceDeleteScopeMessage, getRecurrenceDescription, getRecurrenceEditScopeMessage, getTimedEventsForDay, hasExceptionForDate, isOccurrenceExcluded, isRecurringOccurrenceEvent, isRecurringSeries, normalizeRecurrenceEditOptions, normalizeSchedulerEventToDisplayTimezone, normalizeSchedulerEventsToDisplayTimezone, parseExDates, parseICalDate, parseRDates, positionAllDayEventsForWeek, positionEventsForDay, positionEventsForWeekRow, processRecurrenceDelete, processRecurrenceEdit, removeEventById, removeException, removeRDate, resolveDefaultDeleteScope, resolveDefaultEditScope, resolveRecurrenceDeleteScope, resolveRecurrenceEditContext, resolveRecurrenceEditScope, resolveRecurringContext, resolveSeriesIdFromOccurrence, serializeSeries, upsertEventById } from './chunks/chunk-QBTFRSZM.mjs';
|
|
16
|
+
export { eventMatchesResource, eventsOverlap, filterEventsByDateRange, filterEventsForDay, getEventColor, getEventEnd, getEventEndMinutes, getEventStart, getEventStartMinutes, getEventTextColor, getEventsForCell, getEventsForDayAndResource, getOverflowCountForCell, getTimedEventsForDayAndResource, getVisibleEventsForCell, isEventEndOnDate, isEventStartOnDate, moveEventTo, parseEvent, parseEventDate, parseEvents, resizeEventBy, sortEvents, sortEventsForCell } from './chunks/chunk-UKD2NVDC.mjs';
|
|
17
|
+
export { DEFAULT_CATEGORY_OPTIONS, calculateContrastTextColor, filterEventsByCategory, filterEventsByCategoryExclude, getCategoriesByIds, getCategoriesWithAutoTextColor, getCategoryById, getCategoryCounts, getCategoryWithAutoTextColor, getEventCategories, getEventCategory, getEventCategoryBorderColor, getEventCategoryColor, getEventCategoryIcon, getEventCategoryStyle, getEventCategoryTextColor, getSortedCategories, groupEventsByCategory, isSchedulerAutoTextColor, markSchedulerAutoTextColor, normalizeCategoryOptions } from './chunks/chunk-7TCZNLG7.mjs';
|
|
18
|
+
export { DEFAULT_APPOINTMENT_SLOTS_OPTIONS, canBookSlot, createSlotFromTimeRange, generateAppointmentSlots, getAppointmentSlotDisplayLabels, getAppointmentSlotIndicators, getAppointmentSlotOverlays, getAvailableSlots, getSlotAtTime, getSlotById, getSlotCapacityDisplay, getSlotOverlayClasses, getSlotOverlayStyle, getSlotsForDay, getSlotsForTimeRange, getSlotsInTimeRange, normalizeAppointmentSlotsOptions, updateSlotAvailability, updateSlotsAvailability } from './chunks/chunk-RM6OQCEO.mjs';
|
|
19
|
+
import { canSelect } from './chunks/chunk-JCNXNPGM.mjs';
|
|
20
|
+
export { DEFAULT_BUSINESS_HOURS, canCreateWithBlockedIntervals, canDropEvent, canDropWithBlockedIntervals, canSelect, expandBlockedInterval, getBlockedIntervalDisplayLabels, getBlockedIntervalsForDay, getBusinessHoursForDay, getExpandedBlockedIntervals, getTimeSlotBusinessHoursInfo, isDateWithinConstraint, isRangeWithinBlockedInterval, isRangeWithinBusinessHours, isTimeSlotInBusinessHours, isTimeWithinBlockedInterval, isWithinBusinessHours, normalizeBusinessHours } from './chunks/chunk-JCNXNPGM.mjs';
|
|
21
|
+
export { getSchedulerEventSurfaceStyle, resolveSchedulerEventSurfaceColor } from './chunks/chunk-AZRI6PHU.mjs';
|
|
22
|
+
export { createRRule, daily, describeRRule, everyNthWeekday, expandRRule, expandRecurringSeries, lastWeekdayOfMonth, monthly, parseRRule, serializeRRule, weekdays, weekly, yearly } from './chunks/chunk-6Q5FR4PN.mjs';
|
|
23
|
+
export { COMMON_TIMEZONES, convertEventToDisplayTimezone, convertEventsToTimezone, createDateInTimezone, endOfDayInTimezone, formatDateInTimezone, formatDateTimeInTimezone, formatInTimezone, formatTimeInTimezone, fromLocalTimezone, fromUTC, getCommonTimezones, getDatePartsInTimezone, getLocalTimezone, getTimezoneAbbreviation, getTimezoneDisplayLabel, getTimezoneInfo, getTimezoneName, getTimezoneOffset, getTimezoneOffsetString, isSameDayInTimezone, isTodayInTimezone, isValidTimezone, parseISOWithTimezone, startOfDayInTimezone, toISOWithTimezone, toLocalTimezone, toTimezone, toUTC } from './chunks/chunk-P7CIUMQZ.mjs';
|
|
24
|
+
import { isSameDay, toDateString, parseDate, clampDate, startOfDay, addDays, addWeeks } from './chunks/chunk-XQAYO7CQ.mjs';
|
|
25
|
+
export { addDays, addHours, addMinutes, addMonths, addWeeks, addYears, applyDaysDelta, calculateDaysDelta, clampDate, differenceInDays, differenceInHours, differenceInMinutes, endOfDay, endOfMonth, endOfWeek, formatDateString, formatEventTime12h, formatGregorianDayNumber, formatGregorianMonthTitle, formatGregorianWeekday, formatGregorianYear, formatMonthYearTitle, formatWeekdayName, getDatesBetween, getDayHours, getDaysInMonth, getMonthDays, getMonthNames, getSchedulerGrid, getWeekDays, getWeekNumber, getWeekdayNames, getYearMonths, isAfter, isBefore, isBetween, isDateInRange, isSameDay, isSameMonth, isSameWeek, isSameYear, isToday, isWeekend, minutesToPixels, minutesToTimeString, parseDate, parseTimeString, setTime, startOfDay, startOfMonth, startOfWeek, timeStringToMinutes, toDateString, toDateTimeString, toTimeString } from './chunks/chunk-XQAYO7CQ.mjs';
|
|
26
|
+
export { DEFAULT_DATE_DISPLAY_OPTIONS, DEFAULT_DISPLAY_OPTIONS, DEFAULT_TIME_FORMAT_OPTIONS, __clearDateTimeFormatterCache, __getDateTimeFormatterCacheSize, createSchedulerDateFormatter, formatDate, formatDateRange, formatDayOfMonth, formatEventDateTime, formatHeaderTitle, formatMonth, formatMonthYear, formatSlotTime, formatTime, formatTimeRange, formatWeekday, getRelativeDay, normalizeDateDisplayOptions, normalizeDisplayOptions, normalizeTimeFormatOptions, resolveSchedulerCalendarDisplayConfig } from './chunks/chunk-F2LYNUXG.mjs';
|
|
27
|
+
import { getSchedulerCalendarAdapter } from './chunks/chunk-6OTDPEJM.mjs';
|
|
28
|
+
export { addCalendarDaysToDate, differenceInCalendarDays, getSchedulerCalendarAdapter, gregorianCalendarAdapter, isCalendarAdapterCorrectView, moveDateToCalendarDay, resolveSchedulerCalendarId, resolveSchedulerCalendarModeForView, schedulerInternationalCalendarIds } from './chunks/chunk-6OTDPEJM.mjs';
|
|
29
|
+
export { DEFAULT_ADAPTIVE_BREAKPOINT, DEFAULT_RESOURCE_AREA_WIDTH, DEFAULT_RESOURCE_MIN_ROW_HEIGHT, DEFAULT_RESOURCE_ROW_HEIGHT, DEFAULT_SIDEBAR_WIDTH, adaptiveClasses, addResource, addResourceToEvent, addResourceToTree, areResourceIdSetsEqual, assignEventToResource, buildBreadcrumbPath, calculateExpandedRowHeight, calculateResourceColumnLayouts, calculateResourceRowLayouts, clearResourceSelection, closeSidebar, collapseAllResources, collapseResource, countLeafDescendants, countResources, createAdaptiveGroupingState, createResourceFilter, createResourceStore, dedupeResourceIds, detectMobileMode, expandAllResources, expandResource, filterResources, findResourceById, flattenResourceTree, flattenResources, getAllResourceIds, getAncestorIds, getAncestorResources, getChildResources, getEventsForResource, getEventsWithoutResource, getFilterStats, getFilteredEventsForResource, getHierarchicalHeaderRows, getLeafResources, getMaxDepth, getParentResource, getResourceAreaWidth, getResourceAtPosition, getResourceById, getResourceColumnAtPosition, getResourceIdsForEvent, getResourceLabel, getResourcesByIds, getSelectedResource, getSelectionDepth, getTotalResourceHeight, getVisibleResources, groupEventsByDate, groupEventsByResource, groupResourcesByField, hasHierarchy, highlightMatch, isResourceInPath, moveEventToResource, navigateBreadcrumb, openSidebar, removeResource, removeResourceFromEvent, removeResourceFromTree, resolveResourceScalePolicy, resolveResourceScaleStrategy, searchResources, selectResource, setMobileMode, setResourceExpansionInTree, sortResources, toggleResourceExpansion, toggleSidebar, updateResource, updateResourceInTree, upsertResourceById } from './chunks/chunk-XMU4WSAX.mjs';
|
|
32
30
|
import { defineComponent } from '@primeui/core';
|
|
33
31
|
|
|
34
32
|
// src/scheduler.logic.ts
|
|
@@ -191,7 +189,7 @@ function useSchedulerLogic(instance) {
|
|
|
191
189
|
const selectedEvents = getEvents().filter((event) => selectedIds.includes(event.id));
|
|
192
190
|
$emit("event-selection-change", { selectedIds, events: selectedEvents });
|
|
193
191
|
};
|
|
194
|
-
const
|
|
192
|
+
const clearEventSelection = () => {
|
|
195
193
|
$emit("event-selection-change", { selectedIds: [], events: [] });
|
|
196
194
|
};
|
|
197
195
|
const addEvent = (event) => {
|
|
@@ -282,7 +280,7 @@ function useSchedulerLogic(instance) {
|
|
|
282
280
|
getSelectedEventIds,
|
|
283
281
|
getSelectedEvents,
|
|
284
282
|
setSelectedEvents,
|
|
285
|
-
clearEventSelection
|
|
283
|
+
clearEventSelection,
|
|
286
284
|
addEvent,
|
|
287
285
|
updateEvent,
|
|
288
286
|
removeEvent,
|
|
@@ -1019,4 +1017,4 @@ var schedulerClasses = {
|
|
|
1019
1017
|
};
|
|
1020
1018
|
var classes = schedulerClasses;
|
|
1021
1019
|
|
|
1022
|
-
export { classes, createScheduler,
|
|
1020
|
+
export { classes, createScheduler, getSchedulerDefaultProp, resolveSchedulerProps, schedulerClasses, schedulerDefaultFactoryKeys, schedulerDefaultProps, schedulerPropKeys };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DEFAULT_DRAG_MIN_DISTANCE,
|
|
1
|
+
export { D as DEFAULT_DRAG_MIN_DISTANCE, c as DEFAULT_SNAP_DURATION, d as SchedulerDropCalendarOptions, e as SchedulerEventDropCandidate, f as SchedulerEventDropCandidateInput, S as SchedulerPointerInput, a as SchedulerRectInput, h as applyDeltaToEvent, i as calculateDayDelta, j as calculateDragDelta, k as calculateTimeDelta, l as clampTime, m as createDragState, n as createSchedulerEventDropCandidate, o as findOverlappingEvents, p as getDayIndexFromX, q as getPointerCoords, r as getSchedulerEventDropDelta, s as getSchedulerTimedInteractionDeltaMs, g as getTimeFromYPosition, b as getYPositionFromTime, t as isEventDraggable, u as snapTime, v as snapToSlot, w as updateDragState, x as validateDragPosition } from '../touch-B6xcJlyY.mjs';
|
|
2
2
|
import { SchedulerEventSelectionState, SchedulerEventSelectionOptions, SchedulerViewType, SchedulerEvent, EventResizeState, DragConstraints, TimeFormatOptions, QuickInfoOptions, InlineEditOptions, ConflictInfo, ConflictOptions, SchedulerResource, ConflictDetectedPayload, CapacityExceededPayload, ResourceCapacityInfo, SchedulerPermissionAction, SchedulerPermissionResolver, SchedulerPermissionContext } from '@primeui/scheduler-types/scheduler';
|
|
3
3
|
import { S as SchedulerGridCell } from '../date-D_CjQPmM.mjs';
|
|
4
4
|
export { D as DateSelectionResult, a as DragEndResult, b as DragMoveResult, c as DragSelectionState, d as DragStartResult, S as SelectionMode, e as SelectionState, T as TimeSelectionResult, f as calculateDragRange, g as clearSelection, h as finalizeDragSelection, i as getActiveRange, j as handleDateSelection, k as handleTimeSelection, l as hasSelection, m as isDateInSelectionRange, n as isDateSelected, o as isRangeEnd, p as isRangeStart, s as startDragSelection, u as updateDragPreview } from '../selection-CO_98HdS.mjs';
|
|
@@ -361,67 +361,6 @@ declare function processConflictDecision(input: ProcessConflictDecisionInput): C
|
|
|
361
361
|
declare function evaluateDropConflict(input: EvaluateDropConflictInput): boolean;
|
|
362
362
|
declare function buildResourceCapacityMap(input: BuildResourceCapacityMapInput): Record<string, ResourceCapacityInfo>;
|
|
363
363
|
|
|
364
|
-
interface GlobalKeyboardContext {
|
|
365
|
-
key: string;
|
|
366
|
-
ctrlKey: boolean;
|
|
367
|
-
metaKey: boolean;
|
|
368
|
-
altKey: boolean;
|
|
369
|
-
shiftKey: boolean;
|
|
370
|
-
popoverVisible: boolean;
|
|
371
|
-
quickInfoVisible: boolean;
|
|
372
|
-
morePopoverVisible: boolean;
|
|
373
|
-
focusedEventId: string | null;
|
|
374
|
-
isInsideRoot: boolean;
|
|
375
|
-
isEditableElement: boolean;
|
|
376
|
-
selectedEventCount: number;
|
|
377
|
-
eventSelectionEnabled: boolean;
|
|
378
|
-
availableViewCount: number;
|
|
379
|
-
}
|
|
380
|
-
type GlobalKeyAction = {
|
|
381
|
-
type: 'dismiss-popover';
|
|
382
|
-
} | {
|
|
383
|
-
type: 'dismiss-quickinfo';
|
|
384
|
-
} | {
|
|
385
|
-
type: 'dismiss-more-popover';
|
|
386
|
-
} | {
|
|
387
|
-
type: 'activate-event';
|
|
388
|
-
eventId: string;
|
|
389
|
-
} | {
|
|
390
|
-
type: 'escape-event-focus';
|
|
391
|
-
} | {
|
|
392
|
-
type: 'delete-events';
|
|
393
|
-
} | {
|
|
394
|
-
type: 'switch-view';
|
|
395
|
-
viewIndex: number;
|
|
396
|
-
} | {
|
|
397
|
-
type: 'navigate';
|
|
398
|
-
direction: 'prev' | 'next';
|
|
399
|
-
} | {
|
|
400
|
-
type: 'go-today';
|
|
401
|
-
} | {
|
|
402
|
-
type: 'select-all';
|
|
403
|
-
} | {
|
|
404
|
-
type: 'clear-event-selection';
|
|
405
|
-
} | {
|
|
406
|
-
type: 'none';
|
|
407
|
-
};
|
|
408
|
-
declare function resolveGlobalKeyAction(ctx: GlobalKeyboardContext): GlobalKeyAction;
|
|
409
|
-
interface OutsideClickContext {
|
|
410
|
-
isOutside: boolean;
|
|
411
|
-
isDragging: boolean;
|
|
412
|
-
unselectOnOutsideClick: boolean;
|
|
413
|
-
hasFocus: boolean;
|
|
414
|
-
hasDateSelection: boolean;
|
|
415
|
-
hasEventSelection: boolean;
|
|
416
|
-
eventSelectionEnabled: boolean;
|
|
417
|
-
}
|
|
418
|
-
interface OutsideClickAction {
|
|
419
|
-
clearFocus: boolean;
|
|
420
|
-
clearDateSelection: boolean;
|
|
421
|
-
clearEventSelection: boolean;
|
|
422
|
-
}
|
|
423
|
-
declare function resolveOutsideClickAction(ctx: OutsideClickContext): OutsideClickAction;
|
|
424
|
-
|
|
425
364
|
interface ColumnTimedOffset {
|
|
426
365
|
colIndexOffset: number;
|
|
427
366
|
milliseconds: number;
|
|
@@ -439,4 +378,4 @@ declare function filterEventsByPermission<TNativeEvent = unknown>(events: Schedu
|
|
|
439
378
|
declare function isEventDraggableWithPermission<TNativeEvent = unknown>(event: SchedulerEvent, globalEditable: boolean, eventStartEditable: boolean, resolver: SchedulerPermissionResolver<TNativeEvent> | undefined, view: SchedulerViewType): boolean;
|
|
440
379
|
declare function isEventResizableWithPermission<TNativeEvent = unknown>(event: SchedulerEvent, globalEditable: boolean, eventDurationEditable: boolean, resolver: SchedulerPermissionResolver<TNativeEvent> | undefined, view: SchedulerViewType): boolean;
|
|
441
380
|
|
|
442
|
-
export { type AutoScrollDelta, type AutoScrollRect, type AutoScrollTarget, type BuildResourceCapacityMapInput, type ChunkedCells, type ColumnTimedOffset, type ConflictEmitInstruction, type ConflictWorkflowResult, DEFAULT_OVERSCAN, type DayFocusContext, type DragAutoScroller, type DragAutoScrollerOptions, type EvaluateDropConflictInput, type EventSelectionModifiers, type EventSelectionResult, type FocusContext, type
|
|
381
|
+
export { type AutoScrollDelta, type AutoScrollRect, type AutoScrollTarget, type BuildResourceCapacityMapInput, type ChunkedCells, type ColumnTimedOffset, type ConflictEmitInstruction, type ConflictWorkflowResult, DEFAULT_OVERSCAN, type DayFocusContext, type DragAutoScroller, type DragAutoScrollerOptions, type EvaluateDropConflictInput, type EventSelectionModifiers, type EventSelectionResult, type FocusContext, type KeyboardAction, type KeyboardNavigationOptions, type KeyboardNavigationResult, type MonthFocusContext, type NormalizedEventSelectionOptions, type NormalizedInlineEditOptions, type NormalizedQuickInfoOptions, type ParsedInlineEditTime, type ParsedTime, type ProcessConflictDecisionInput, RESIZE_HANDLE_SIZE, RESOURCE_VIEWS, type ResolveAutoScrollDeltaInput, type ResourceConflictDecision, type ResourceConflictEvaluationInput, type ResourceConflictRuntimeInput, type ResourceConflictRuntimeResult, type SchedulerEventResizeEdge, type SchedulerEventResizePreview, type SchedulerEventResizePreviewResult, type SchedulerKeyboardInput, VIRTUAL_THRESHOLD, type ViewFocusContext, type VirtualEventRange, type VirtualRange, type VirtualScrollState, type WeekFocusContext, type YearFocusContext, applyEventSelection, applyResizeToEvent, buildResourceCapacityMap, calculateNewEventTimes, calculateNewFocusedDate, calculateTotalWidth, calculateVirtualRange, calculateVisibleEvents, clampTimeToSlotBounds, clearEventSelection, computeColumnTimedMultiDragOffsets, computeDayMultiDragOffsets, computeTimedMultiDragOffsets, createChunkedCells, createDragAutoScroller, createResizeState, createVirtualScrollState, dedupeConflicts, detectResizeEdge, evaluateDropConflict, evaluateResourceConflictDecision, eventBelongsToResource, filterEventsByPermission, filterVisibleIdsByResource, findCellForDate, formatEventDate, formatEventDuration, formatEventTimeRange, formatTimeToken, getCellAtPosition, getDayOffset, getDefaultFocusDate, getDefaultFocusDateForDay, getDefaultFocusDateForMonth, getDefaultFocusDateForWeek, getDefaultFocusDateForYear, getDisplayedMonthFromGrid, getEndOfWeek, getEndOfWeekForFocus, getEstimatedScrollPosition, getInlineEditTimeValue, getKeyboardAction, getNavigationDirectionForDay, getNavigationDirectionForMonth, getNavigationDirectionForWeek, getNavigationDirectionForYear, getPeriodNavigationDirection, getResizeCursor, getSchedulerTimedResizePreview, getSchedulerTimelineResizePreview, getScrollPositionForDate, getScrollPositionForNow, getSelectedEventsForMultiDrag, getStartOfWeek, getStartOfWeekForFocus, getTimeOfDayMs, getVisibleChunks, handleKeyboardNavigation, hasInlineTimeChanged, invertSelection, isDateInDayView, isDateInMonthView, isDateInVisibleRange, isDateInWeekView, isDateInYearView, isEventDraggableWithPermission, isEventResizable, isEventResizableWithPermission, isMultiDragCandidate, isPermissionAllowed, isResourceView, normalizeEventSelectionOptions, normalizeInlineEditOptions, normalizeQuickInfoOptions, parseInlineEditTimeValue, parseInlineTimeToken, processConflictDecision, projectEventsWithCandidate, resolveAutoScrollDelta, resolveCapacityExceededPayloads, resolveResourceConflictRuntime, selectAllVisibleEvents, shouldUseVirtualScrolling, snapTimeToSlot, toValidDate, updateConflictedEventIds, updateResizeState, updateVirtualScrollState, validateResize };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { DEFAULT_DRAG_MIN_DISTANCE, DEFAULT_OVERSCAN, DEFAULT_SNAP_DURATION, RESIZE_HANDLE_SIZE, RESOURCE_VIEWS, VIRTUAL_THRESHOLD, applyDeltaToEvent, applyEventSelection, applyResizeToEvent, buildResourceCapacityMap, calculateDayDelta, calculateDragDelta, calculateNewEventTimes, calculateNewFocusedDate, calculateTimeDelta, calculateTotalWidth, calculateVirtualRange, calculateVisibleEvents, clampTime, clampTimeToSlotBounds, clearEventSelection, computeColumnTimedMultiDragOffsets, computeDayMultiDragOffsets, computeTimedMultiDragOffsets, createChunkedCells, createDragAutoScroller, createDragState, createResizeState, createSchedulerEventDropCandidate, createVirtualScrollState, dedupeConflicts, detectResizeEdge, evaluateDropConflict, evaluateResourceConflictDecision, eventBelongsToResource, filterEventsByPermission, filterVisibleIdsByResource, findCellForDate, findOverlappingEvents, formatEventDate, formatEventDuration, formatEventTimeRange, formatTimeToken, getCellAtPosition, getDayIndexFromX, getDayOffset, getDefaultFocusDate, getDefaultFocusDateForDay, getDefaultFocusDateForMonth, getDefaultFocusDateForWeek, getDefaultFocusDateForYear, getDisplayedMonthFromGrid, getEndOfWeek, getEndOfWeekForFocus, getEstimatedScrollPosition, getInlineEditTimeValue, getKeyboardAction, getNavigationDirectionForDay, getNavigationDirectionForMonth, getNavigationDirectionForWeek, getNavigationDirectionForYear, getPeriodNavigationDirection, getPointerCoords, getResizeCursor, getSchedulerEventDropDelta, getSchedulerTimedInteractionDeltaMs, getSchedulerTimedResizePreview, getSchedulerTimelineResizePreview, getScrollPositionForDate, getScrollPositionForNow, getSelectedEventsForMultiDrag, getStartOfWeek, getStartOfWeekForFocus, getTimeFromYPosition, getTimeOfDayMs, getVisibleChunks, getYPositionFromTime, handleKeyboardNavigation, hasInlineTimeChanged, invertSelection, isDateInDayView, isDateInMonthView, isDateInVisibleRange, isDateInWeekView, isDateInYearView, isEventDraggable, isEventDraggableWithPermission, isEventResizable, isEventResizableWithPermission, isMultiDragCandidate, isPermissionAllowed, isResourceView, normalizeEventSelectionOptions, normalizeInlineEditOptions, normalizeQuickInfoOptions, parseInlineEditTimeValue, parseInlineTimeToken, processConflictDecision, projectEventsWithCandidate, resolveAutoScrollDelta, resolveCapacityExceededPayloads,
|
|
2
|
-
export { calculateDragRange, clearSelection, finalizeDragSelection, getActiveRange, handleDateSelection, handleTimeSelection, hasSelection, isDateInSelectionRange, isDateSelected, isRangeEnd, isRangeStart, startDragSelection, updateDragPreview } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
1
|
+
export { DEFAULT_DRAG_MIN_DISTANCE, DEFAULT_OVERSCAN, DEFAULT_SNAP_DURATION, RESIZE_HANDLE_SIZE, RESOURCE_VIEWS, VIRTUAL_THRESHOLD, applyDeltaToEvent, applyEventSelection, applyResizeToEvent, buildResourceCapacityMap, calculateDayDelta, calculateDragDelta, calculateNewEventTimes, calculateNewFocusedDate, calculateTimeDelta, calculateTotalWidth, calculateVirtualRange, calculateVisibleEvents, clampTime, clampTimeToSlotBounds, clearEventSelection, computeColumnTimedMultiDragOffsets, computeDayMultiDragOffsets, computeTimedMultiDragOffsets, createChunkedCells, createDragAutoScroller, createDragState, createResizeState, createSchedulerEventDropCandidate, createVirtualScrollState, dedupeConflicts, detectResizeEdge, evaluateDropConflict, evaluateResourceConflictDecision, eventBelongsToResource, filterEventsByPermission, filterVisibleIdsByResource, findCellForDate, findOverlappingEvents, formatEventDate, formatEventDuration, formatEventTimeRange, formatTimeToken, getCellAtPosition, getDayIndexFromX, getDayOffset, getDefaultFocusDate, getDefaultFocusDateForDay, getDefaultFocusDateForMonth, getDefaultFocusDateForWeek, getDefaultFocusDateForYear, getDisplayedMonthFromGrid, getEndOfWeek, getEndOfWeekForFocus, getEstimatedScrollPosition, getInlineEditTimeValue, getKeyboardAction, getNavigationDirectionForDay, getNavigationDirectionForMonth, getNavigationDirectionForWeek, getNavigationDirectionForYear, getPeriodNavigationDirection, getPointerCoords, getResizeCursor, getSchedulerEventDropDelta, getSchedulerTimedInteractionDeltaMs, getSchedulerTimedResizePreview, getSchedulerTimelineResizePreview, getScrollPositionForDate, getScrollPositionForNow, getSelectedEventsForMultiDrag, getStartOfWeek, getStartOfWeekForFocus, getTimeFromYPosition, getTimeOfDayMs, getVisibleChunks, getYPositionFromTime, handleKeyboardNavigation, hasInlineTimeChanged, invertSelection, isDateInDayView, isDateInMonthView, isDateInVisibleRange, isDateInWeekView, isDateInYearView, isEventDraggable, isEventDraggableWithPermission, isEventResizable, isEventResizableWithPermission, isMultiDragCandidate, isPermissionAllowed, isResourceView, normalizeEventSelectionOptions, normalizeInlineEditOptions, normalizeQuickInfoOptions, parseInlineEditTimeValue, parseInlineTimeToken, processConflictDecision, projectEventsWithCandidate, resolveAutoScrollDelta, resolveCapacityExceededPayloads, resolveResourceConflictRuntime, selectAllVisibleEvents, shouldUseVirtualScrolling, snapTime, snapTimeToSlot, snapToSlot, toValidDate, updateConflictedEventIds, updateDragState, updateResizeState, updateVirtualScrollState, validateDragPosition, validateResize } from '../chunks/chunk-URRTAW2Q.mjs';
|
|
2
|
+
export { calculateDragRange, clearSelection, finalizeDragSelection, getActiveRange, handleDateSelection, handleTimeSelection, hasSelection, isDateInSelectionRange, isDateSelected, isRangeEnd, isRangeStart, startDragSelection, updateDragPreview } from '../chunks/chunk-BJFVXDZC.mjs';
|
|
3
|
+
import '../chunks/chunk-UKD2NVDC.mjs';
|
|
4
|
+
import '../chunks/chunk-JCNXNPGM.mjs';
|
|
5
|
+
import '../chunks/chunk-6Q5FR4PN.mjs';
|
|
6
|
+
import '../chunks/chunk-XQAYO7CQ.mjs';
|
|
7
|
+
import '../chunks/chunk-F2LYNUXG.mjs';
|
|
8
|
+
import '../chunks/chunk-6OTDPEJM.mjs';
|
|
9
|
+
import '../chunks/chunk-XMU4WSAX.mjs';
|
package/dist/month/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../chunk-
|
|
2
|
-
export { buildMonthGridViewModel, buildMonthWeekEventLayout, daysBetween, durationDays, getEventsForMonthDay, getEventsForMonthWeek, getMonthSpanningEventLayout } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
1
|
+
import '../chunks/chunk-73ID2V6E.mjs';
|
|
2
|
+
export { buildMonthGridViewModel, buildMonthWeekEventLayout, daysBetween, durationDays, getEventsForMonthDay, getEventsForMonthWeek, getMonthSpanningEventLayout } from '../chunks/chunk-56LJ2UG5.mjs';
|
|
3
|
+
import '../chunks/chunk-P7CIUMQZ.mjs';
|
|
4
|
+
import '../chunks/chunk-XQAYO7CQ.mjs';
|
|
5
|
+
import '../chunks/chunk-F2LYNUXG.mjs';
|
|
6
|
+
import '../chunks/chunk-6OTDPEJM.mjs';
|
package/dist/resource/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DEFAULT_ADAPTIVE_BREAKPOINT, DEFAULT_RESOURCE_AREA_WIDTH, DEFAULT_RESOURCE_MIN_ROW_HEIGHT, DEFAULT_RESOURCE_ROW_HEIGHT, DEFAULT_SIDEBAR_WIDTH, adaptiveClasses, addResource, addResourceToEvent, addResourceToTree, areResourceIdSetsEqual, assignEventToResource, buildBreadcrumbPath, calculateExpandedRowHeight, calculateResourceColumnLayouts, calculateResourceRowLayouts, clearResourceSelection, closeSidebar, collapseAllResources, collapseResource, countLeafDescendants, countResources, createAdaptiveGroupingState, createResourceFilter, createResourceStore, dedupeResourceIds, detectMobileMode, expandAllResources, expandResource, filterResources, findResourceById, flattenResourceTree, flattenResources, getAllResourceIds, getAncestorIds, getAncestorResources, getChildResources, getEventsForResource, getEventsWithoutResource, getFilterStats, getFilteredEventsForResource, getHierarchicalHeaderRows, getLeafResources, getMaxDepth, getParentResource, getResourceAreaWidth, getResourceAtPosition, getResourceById, getResourceColumnAtPosition, getResourceIdsForEvent, getResourceLabel, getResourcesByIds, getSelectedResource, getSelectionDepth, getTotalResourceHeight, getVisibleResources, groupEventsByDate, groupEventsByResource, groupResourcesByField, hasHierarchy, highlightMatch, isResourceInPath, moveEventToResource, navigateBreadcrumb, openSidebar, removeResource, removeResourceFromEvent, removeResourceFromTree, resolveResourceScalePolicy, resolveResourceScaleStrategy, searchResources, selectResource, setMobileMode, setResourceExpansionInTree, sortResources, toggleResourceExpansion, toggleSidebar, updateResource, updateResourceInTree, upsertResourceById } from '../chunk-
|
|
1
|
+
export { DEFAULT_ADAPTIVE_BREAKPOINT, DEFAULT_RESOURCE_AREA_WIDTH, DEFAULT_RESOURCE_MIN_ROW_HEIGHT, DEFAULT_RESOURCE_ROW_HEIGHT, DEFAULT_SIDEBAR_WIDTH, adaptiveClasses, addResource, addResourceToEvent, addResourceToTree, areResourceIdSetsEqual, assignEventToResource, buildBreadcrumbPath, calculateExpandedRowHeight, calculateResourceColumnLayouts, calculateResourceRowLayouts, clearResourceSelection, closeSidebar, collapseAllResources, collapseResource, countLeafDescendants, countResources, createAdaptiveGroupingState, createResourceFilter, createResourceStore, dedupeResourceIds, detectMobileMode, expandAllResources, expandResource, filterResources, findResourceById, flattenResourceTree, flattenResources, getAllResourceIds, getAncestorIds, getAncestorResources, getChildResources, getEventsForResource, getEventsWithoutResource, getFilterStats, getFilteredEventsForResource, getHierarchicalHeaderRows, getLeafResources, getMaxDepth, getParentResource, getResourceAreaWidth, getResourceAtPosition, getResourceById, getResourceColumnAtPosition, getResourceIdsForEvent, getResourceLabel, getResourcesByIds, getSelectedResource, getSelectionDepth, getTotalResourceHeight, getVisibleResources, groupEventsByDate, groupEventsByResource, groupResourcesByField, hasHierarchy, highlightMatch, isResourceInPath, moveEventToResource, navigateBreadcrumb, openSidebar, removeResource, removeResourceFromEvent, removeResourceFromTree, resolveResourceScalePolicy, resolveResourceScaleStrategy, searchResources, selectResource, setMobileMode, setResourceExpansionInTree, sortResources, toggleResourceExpansion, toggleSidebar, updateResource, updateResourceInTree, upsertResourceById } from '../chunks/chunk-XMU4WSAX.mjs';
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
import { SchedulerEvent, BlockedInterval, SchedulerViewType, DensityMode, BusinessHours, BlockedIntervalsOptions, AppointmentSlotsOptions, SchedulerCalendarMode } from '@primeui/scheduler-types/scheduler';
|
|
1
|
+
import { ExpandedBlockedInterval, SchedulerEvent, BlockedInterval, SchedulerViewType, DensityMode, BusinessHours, BlockedIntervalsOptions, AppointmentSlotsOptions, SchedulerCalendarMode } from '@primeui/scheduler-types/scheduler';
|
|
2
2
|
import { SchedulerResource } from '@primeui/scheduler-types/resource';
|
|
3
3
|
import { P as ParsedEvent } from '../event.utils-QSNdd-3W.mjs';
|
|
4
4
|
import { P as PositionedEvent } from '../event.positioning-BdzAVPk7.mjs';
|
|
5
|
-
import {
|
|
5
|
+
import { c as AppointmentSlotOverlay, b as AppointmentSlotIndicator } from '../appointment-slots-DCiNFFed.mjs';
|
|
6
6
|
import '../display-format-CLVvRt4I.mjs';
|
|
7
7
|
|
|
8
|
+
interface TimedOverlay {
|
|
9
|
+
style: Record<string, string>;
|
|
10
|
+
title?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
interval?: ExpandedBlockedInterval;
|
|
13
|
+
}
|
|
14
|
+
|
|
8
15
|
interface TimeGridSlotModel {
|
|
9
16
|
time: string;
|
|
10
17
|
minutes: number;
|
package/dist/time-grid/index.mjs
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
export { buildTimeGridViewModel } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-DYW6WUHE.mjs';
|
|
1
|
+
export { buildTimeGridViewModel } from '../chunks/chunk-LYPP7W7B.mjs';
|
|
2
|
+
import '../chunks/chunk-QBTFRSZM.mjs';
|
|
3
|
+
import '../chunks/chunk-UKD2NVDC.mjs';
|
|
4
|
+
import '../chunks/chunk-7TCZNLG7.mjs';
|
|
5
|
+
import '../chunks/chunk-RM6OQCEO.mjs';
|
|
6
|
+
import '../chunks/chunk-JCNXNPGM.mjs';
|
|
7
|
+
import '../chunks/chunk-AZRI6PHU.mjs';
|
|
8
|
+
import '../chunks/chunk-6Q5FR4PN.mjs';
|
|
9
|
+
import '../chunks/chunk-P7CIUMQZ.mjs';
|
|
10
|
+
import '../chunks/chunk-XQAYO7CQ.mjs';
|
|
11
|
+
import '../chunks/chunk-F2LYNUXG.mjs';
|
|
12
|
+
import '../chunks/chunk-6OTDPEJM.mjs';
|
|
@@ -84,6 +84,16 @@ declare function timeToTimelinePixels(input: {
|
|
|
84
84
|
visibleMinutesPerDay: number;
|
|
85
85
|
totalWidth: number;
|
|
86
86
|
}): number;
|
|
87
|
+
declare function timelinePixelsToTime(input: {
|
|
88
|
+
x: number;
|
|
89
|
+
view: SchedulerViewType;
|
|
90
|
+
visibleDayStarts: Date[];
|
|
91
|
+
dayWidth: number;
|
|
92
|
+
minTimeMin: number;
|
|
93
|
+
visibleMinutesPerDay: number;
|
|
94
|
+
totalWidth: number;
|
|
95
|
+
snapDurationMin?: number;
|
|
96
|
+
}): Date;
|
|
87
97
|
declare function getTimelineEventRect(event: SchedulerEvent, input: Omit<Parameters<typeof timeToTimelinePixels>[0], 'date'> & {
|
|
88
98
|
fallbackDurationMinutes: number;
|
|
89
99
|
}): {
|
|
@@ -162,4 +172,4 @@ interface TimelineViewModel {
|
|
|
162
172
|
}
|
|
163
173
|
declare function buildTimelineViewModel(input: TimelineViewModelInput): TimelineViewModel;
|
|
164
174
|
|
|
165
|
-
export { type BuildTimelineCellsInput, DEFAULT_TIMELINE_EVENT_MIN_HEIGHT, type ResolveTimelineResourceRowHeightInput, TIMELINE_LANE_BASE_PADDING, TIMELINE_LANE_GAP, type TimelineCellModel, type TimelineHeaderCellModel, type TimelineHeaderTierModel, type TimelineLabelFormatters, type TimelineLaneModel, type TimelineResourceRowHeightMode, type TimelineViewModel, type TimelineViewModelInput, type TimelineViewModelVirtualRange, buildTimelineCells, buildTimelineHeaderTiers, buildTimelineViewModel, computeTimelineLaneAssignment, filterTimelineLaneEvents, getTimelineEventRect, getTimelineLaneStackHeight, getTimelineVisibleDayStarts, isTimelineMonthGranularityView, resolveTimelineEventMinHeight, resolveTimelineResourceRowHeight, timeToTimelinePixels };
|
|
175
|
+
export { type BuildTimelineCellsInput, DEFAULT_TIMELINE_EVENT_MIN_HEIGHT, type ResolveTimelineResourceRowHeightInput, TIMELINE_LANE_BASE_PADDING, TIMELINE_LANE_GAP, type TimelineCellModel, type TimelineHeaderCellModel, type TimelineHeaderTierModel, type TimelineLabelFormatters, type TimelineLaneModel, type TimelineResourceRowHeightMode, type TimelineViewModel, type TimelineViewModelInput, type TimelineViewModelVirtualRange, buildTimelineCells, buildTimelineHeaderTiers, buildTimelineViewModel, computeTimelineLaneAssignment, filterTimelineLaneEvents, getTimelineEventRect, getTimelineLaneStackHeight, getTimelineVisibleDayStarts, isTimelineMonthGranularityView, resolveTimelineEventMinHeight, resolveTimelineResourceRowHeight, timeToTimelinePixels, timelinePixelsToTime };
|
package/dist/timeline/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
1
|
+
export { buildTimelineViewModel } from '../chunks/chunk-HWGXSE6Q.mjs';
|
|
2
|
+
export { DEFAULT_TIMELINE_EVENT_MIN_HEIGHT, TIMELINE_LANE_BASE_PADDING, TIMELINE_LANE_GAP, buildTimelineCells, buildTimelineHeaderTiers, computeTimelineLaneAssignment, filterTimelineLaneEvents, getTimelineEventRect, getTimelineLaneStackHeight, getTimelineVisibleDayStarts, isTimelineMonthGranularityView, resolveTimelineEventMinHeight, resolveTimelineResourceRowHeight, timeToTimelinePixels, timelinePixelsToTime } from '../chunks/chunk-HF32DKZY.mjs';
|
|
3
|
+
import '../chunks/chunk-P7CIUMQZ.mjs';
|
|
4
|
+
import '../chunks/chunk-XQAYO7CQ.mjs';
|
|
5
|
+
import '../chunks/chunk-F2LYNUXG.mjs';
|
|
6
|
+
import '../chunks/chunk-6OTDPEJM.mjs';
|
|
7
|
+
import '../chunks/chunk-XMU4WSAX.mjs';
|
|
@@ -66,4 +66,4 @@ declare function getPointerCoords(input: SchedulerPointerInput): {
|
|
|
66
66
|
clientY: number;
|
|
67
67
|
};
|
|
68
68
|
|
|
69
|
-
export { DEFAULT_DRAG_MIN_DISTANCE as D, type
|
|
69
|
+
export { DEFAULT_DRAG_MIN_DISTANCE as D, type SchedulerPointerInput as S, type SchedulerRectInput as a, getYPositionFromTime as b, DEFAULT_SNAP_DURATION as c, type SchedulerDropCalendarOptions as d, type SchedulerEventDropCandidate as e, type SchedulerEventDropCandidateInput as f, getTimeFromYPosition as g, applyDeltaToEvent as h, calculateDayDelta as i, calculateDragDelta as j, calculateTimeDelta as k, clampTime as l, createDragState as m, createSchedulerEventDropCandidate as n, findOverlappingEvents as o, getDayIndexFromX as p, getPointerCoords as q, getSchedulerEventDropDelta as r, getSchedulerTimedInteractionDeltaMs as s, isEventDraggable as t, snapTime as u, snapToSlot as v, updateDragState as w, validateDragPosition as x };
|