@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.
Files changed (49) hide show
  1. package/dist/{overlay-BYM9B6nC.d.mts → appointment-slots-DCiNFFed.d.mts} +2 -13
  2. package/dist/calendar/index.mjs +1 -1
  3. package/dist/{chunk-NMX4BW42.mjs → chunks/chunk-2YXHUV2A.mjs} +2 -2
  4. package/dist/{chunk-6PK5WSKT.mjs → chunks/chunk-56LJ2UG5.mjs} +3 -3
  5. package/dist/{chunk-FIBAZFC4.mjs → chunks/chunk-6Q5FR4PN.mjs} +1 -1
  6. package/dist/{chunk-NX46LPLF.mjs → chunks/chunk-BJFVXDZC.mjs} +2 -2
  7. package/dist/{chunk-ZUKUKGNK.mjs → chunks/chunk-DIYUG3BH.mjs} +7 -7
  8. package/dist/{chunk-TNKJPFGI.mjs → chunks/chunk-F2LYNUXG.mjs} +1 -1
  9. package/dist/{chunk-KQGRXTP5.mjs → chunks/chunk-HF32DKZY.mjs} +26 -270
  10. package/dist/chunks/chunk-HWGXSE6Q.mjs +269 -0
  11. package/dist/{chunk-HPC5B3AR.mjs → chunks/chunk-JCNXNPGM.mjs} +3 -3
  12. package/dist/{chunk-W2SJW3QQ.mjs → chunks/chunk-L6WPLJOO.mjs} +21 -50
  13. package/dist/{chunk-6OZAPQZ5.mjs → chunks/chunk-LMZ2J5Z5.mjs} +3 -3
  14. package/dist/{chunk-F5W5HD7S.mjs → chunks/chunk-LYPP7W7B.mjs} +79 -7
  15. package/dist/{chunk-6VYWVIGM.mjs → chunks/chunk-QBTFRSZM.mjs} +5 -5
  16. package/dist/{chunk-NZGJN7HG.mjs → chunks/chunk-RM6OQCEO.mjs} +2 -2
  17. package/dist/{chunk-2THQAZ26.mjs → chunks/chunk-URRTAW2Q.mjs} +7 -54
  18. package/dist/{chunk-WFUJWDST.mjs → chunks/chunk-XQAYO7CQ.mjs} +1 -1
  19. package/dist/controllers/index.d.mts +3 -3
  20. package/dist/controllers/index.mjs +946 -13
  21. package/dist/event/index.mjs +8 -8
  22. package/dist/index.d.mts +6 -13
  23. package/dist/index.mjs +32 -34
  24. package/dist/interaction/index.d.mts +2 -63
  25. package/dist/interaction/index.mjs +9 -9
  26. package/dist/month/index.mjs +6 -6
  27. package/dist/resource/index.mjs +1 -1
  28. package/dist/time-grid/index.d.mts +9 -2
  29. package/dist/time-grid/index.mjs +12 -13
  30. package/dist/timeline/index.d.mts +11 -1
  31. package/dist/timeline/index.mjs +7 -6
  32. package/dist/{touch-BhsMWsjf.d.mts → touch-B6xcJlyY.d.mts} +1 -1
  33. package/dist/utils/index.d.mts +2 -27
  34. package/dist/utils/index.mjs +16 -17
  35. package/dist/views/index.mjs +8 -8
  36. package/dist/views/timeline/index.mjs +4 -4
  37. package/dist/year/index.mjs +6 -6
  38. package/package.json +58 -3
  39. package/dist/chunk-5N4ZOBJV.mjs +0 -866
  40. package/dist/chunk-AAVM7UCG.mjs +0 -100
  41. /package/dist/{chunk-DYW6WUHE.mjs → chunks/chunk-6OTDPEJM.mjs} +0 -0
  42. /package/dist/{chunk-UMAMDBU4.mjs → chunks/chunk-73ID2V6E.mjs} +0 -0
  43. /package/dist/{chunk-C7ADJGNV.mjs → chunks/chunk-7TCZNLG7.mjs} +0 -0
  44. /package/dist/{chunk-5KORIWDT.mjs → chunks/chunk-AZRI6PHU.mjs} +0 -0
  45. /package/dist/{chunk-XUBQ2IQS.mjs → chunks/chunk-B4YDYPVO.mjs} +0 -0
  46. /package/dist/{chunk-SYJ5O4KH.mjs → chunks/chunk-IJH6YR4N.mjs} +0 -0
  47. /package/dist/{chunk-QDMZBJDV.mjs → chunks/chunk-P7CIUMQZ.mjs} +0 -0
  48. /package/dist/{chunk-2B3YLWHA.mjs → chunks/chunk-UKD2NVDC.mjs} +0 -0
  49. /package/dist/{chunk-QR2SVYAD.mjs → chunks/chunk-XMU4WSAX.mjs} +0 -0
@@ -4,7 +4,7 @@ export { SchedulerText } from '@primeui/scheduler-types/locale';
4
4
  import { BusinessHoursConfig, SchedulerViewType, SchedulerEvent, EventConstraint, EventAllowCallback, BusinessHours, BlockedIntervalsOptions, SelectConstraintConfig, SelectAllowCallback, TimeFormatOptions, BlockedInterval, ExpandedBlockedInterval, ConflictOptions, SchedulerResource, ConflictInfo, ResourceCapacityInfo, CategoryOptions, EventCategory, ExportOptions, ExportResult, CsvExportOptions, ICalExportOptions, JsonExportOptions, PdfExportOptions, PdfExportAdapter, XlsxExportOptions, XlsxExportAdapter, ImportMergeOptions, ImportResult, ImportValidationIssue, ImportValidationReport, CsvImportOptions, ICalImportOptions, JsonImportOptions, ImportMergePreview, AdaptiveRenderingOptions, AutoHeightOptions, StackingOptions, DensityMode, DensityConfig, CellRenderingInfo, AdaptiveRenderingState, StackingMode, DateRange, SchedulerCalendarMode, SchedulerDateSelectPayload, EventSlotDensity } from '@primeui/scheduler-types/scheduler';
5
5
  import { S as SchedulerCalendarDisplayConfigInput } from '../display-format-CLVvRt4I.mjs';
6
6
  export { D as DEFAULT_DATE_DISPLAY_OPTIONS, a as DEFAULT_DISPLAY_OPTIONS, b as DEFAULT_TIME_FORMAT_OPTIONS, c as SchedulerCalendarDisplayConfig, 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';
7
- export { A as AppointmentSlotDisplayLabels, a as AppointmentSlotDisplayOptions, b as AppointmentSlotIndicator, c as AppointmentSlotOverlay, D as DEFAULT_APPOINTMENT_SLOTS_OPTIONS, T as TimedOverlay, 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 getTimedBlockedIntervalsOverlays, t as getTimedBusinessHoursOverlays, u as isSlotInBlockedInterval, v as isSlotInBusinessHours, w as normalizeAppointmentSlotsOptions, x as updateSlotAvailability, y as updateSlotsAvailability } from '../overlay-BYM9B6nC.mjs';
7
+ 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';
8
8
  import { P as ParsedEvent } from '../event.utils-QSNdd-3W.mjs';
9
9
  import { ResourceTimelineOverlapPolicy } from '@primeui/scheduler-types/resource-runtime';
10
10
  export { ResourceTimelineOverlapPolicy } from '@primeui/scheduler-types/resource-runtime';
@@ -361,31 +361,6 @@ declare function resolvePrintPageStyleRule(orientation: ResolvedPrintOrientation
361
361
  declare function resolvePrintPageChromeState(input: ResolvePrintPageChromeStateInput): ResolvedPrintPageChromeState | null;
362
362
  declare function resolvePrintRuntimeState(input: ResolvePrintRuntimeStateInput): ResolvedPrintRuntimeState;
363
363
 
364
- interface PrintSessionState {
365
- orientation: ResolvedPrintOrientation;
366
- scaleMode: ResolvedPrintScaleMode;
367
- scaleFactor: number;
368
- pageChromeState: ResolvedPrintPageChromeState | null;
369
- pageStyleRule: string;
370
- }
371
- interface ResolvePrintSessionInput {
372
- view: SchedulerViewType;
373
- options?: PrintInvocationOptions;
374
- pageChromeContext: Omit<ResolvePrintPageChromeStateInput, 'pageChrome'>;
375
- }
376
- type PrintColorAction = {
377
- type: 'set';
378
- restoreAction: 'add' | 'remove';
379
- } | {
380
- type: 'unset';
381
- restoreAction: 'add' | 'remove';
382
- } | {
383
- type: 'none';
384
- };
385
- declare function resolvePrintSession(input: ResolvePrintSessionInput): PrintSessionState;
386
- declare function getIdlePrintSessionState(): PrintSessionState;
387
- declare function resolvePrintColorAction(colorOption: boolean | undefined, hadColorClass: boolean): PrintColorAction;
388
-
389
364
  declare function toCssLength(value: number | string | undefined, fallback: string): string;
390
365
  declare function toNumber(value: number | string | undefined, fallback: number): number;
391
366
  declare function hasGroupingFieldValue(resourceList: SchedulerResource$1[], fieldName: string): boolean;
@@ -491,4 +466,4 @@ declare function resolveGroupedLaneGeometry(opts: {
491
466
 
492
467
  declare function sortMorePopoverEvents(events: SchedulerEvent[]): SchedulerEvent[];
493
468
 
494
- export { type BlockedIntervalDisplayLabels, type BlockedIntervalDisplayOptions, COMMON_TIMEZONES, DEFAULT_ADAPTIVE_OPTIONS, DEFAULT_AUTO_HEIGHT_OPTIONS, DEFAULT_BUSINESS_HOURS, DEFAULT_CATEGORY_OPTIONS, DEFAULT_CONFLICT_OPTIONS, DEFAULT_STACKING_OPTIONS, DENSITY_CONFIGS, type EventCategoryStyle, type ImportFormat, type LaneGeometry, type LaneGeometryMode, type PrintColorAction, type PrintFilterCategoryOption, type PrintInvocationOptions, type PrintLayoutOptions, type PrintOrientationMode, type PrintPageChromeOptions, type PrintScaleMode, type PrintSessionState, type ResolveCalendarViewRangeInput, type ResolveCurrentViewRangeInput, type ResolveDaysOfWeekForViewInput, type ResolveEventDensityOptions, type ResolvePrintFiltersInput, type ResolvePrintPageChromeStateInput, type ResolvePrintRuntimeStateInput, type ResolvePrintSessionInput, type ResolvedPrintLayoutOptions, type ResolvedPrintOrientation, type ResolvedPrintPageChromeState, type ResolvedPrintRuntimeState, type ResolvedPrintScaleMode, SchedulerCalendarDisplayConfigInput, type SchedulerLocaleConfig, type SelectionEmitOutcome, type TimeSlotBusinessHoursInfo, type TimedColumnTextMode, type TimelineDefaultTextMode, type TimelineEventWithPosition, type 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, getIdlePrintSessionState, 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, resolvePrintColorAction, resolvePrintFilters, resolvePrintOrientation, resolvePrintPageChromeState, resolvePrintPageStyleRule, resolvePrintRuntimeState, resolvePrintScale, resolvePrintSession, resolveSchedulerText, resolveSelectionEmitOutcome, resolveTimedColumnTextMode, resolveTimelineDefaultTextMode, sortMorePopoverEvents, startOfDayInTimezone, toCssLength, toDateOnlyString, toISOWithTimezone, toLocalTimezone, toNumber, toTimezone, toUTC, validateImportResult, validateResourceConstraints };
469
+ export { type BlockedIntervalDisplayLabels, type BlockedIntervalDisplayOptions, COMMON_TIMEZONES, DEFAULT_ADAPTIVE_OPTIONS, DEFAULT_AUTO_HEIGHT_OPTIONS, DEFAULT_BUSINESS_HOURS, DEFAULT_CATEGORY_OPTIONS, DEFAULT_CONFLICT_OPTIONS, DEFAULT_STACKING_OPTIONS, DENSITY_CONFIGS, type EventCategoryStyle, type ImportFormat, type LaneGeometry, type LaneGeometryMode, type PrintFilterCategoryOption, type PrintInvocationOptions, type PrintLayoutOptions, type PrintOrientationMode, type PrintPageChromeOptions, type PrintScaleMode, type ResolveCalendarViewRangeInput, type ResolveCurrentViewRangeInput, type ResolveDaysOfWeekForViewInput, type ResolveEventDensityOptions, type ResolvePrintFiltersInput, type ResolvePrintPageChromeStateInput, type ResolvePrintRuntimeStateInput, type ResolvedPrintLayoutOptions, type ResolvedPrintOrientation, type ResolvedPrintPageChromeState, type ResolvedPrintRuntimeState, type ResolvedPrintScaleMode, SchedulerCalendarDisplayConfigInput, type SchedulerLocaleConfig, type SelectionEmitOutcome, type TimeSlotBusinessHoursInfo, type TimedColumnTextMode, type TimelineDefaultTextMode, type TimelineEventWithPosition, type 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 };
@@ -1,17 +1,16 @@
1
- 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, getIdlePrintSessionState, 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, resolvePrintColorAction, resolvePrintFilters, resolvePrintOrientation, resolvePrintPageChromeState, resolvePrintPageStyleRule, resolvePrintRuntimeState, resolvePrintScale, resolvePrintSession, resolveSchedulerText, resolveSelectionEmitOutcome, resolveTimedColumnTextMode, resolveTimelineDefaultTextMode, sortMorePopoverEvents, toDateOnlyString, validateImportResult } from '../chunk-W2SJW3QQ.mjs';
2
- export { applyDefaultResourceDrop, eventsTimeOverlap, findOverlappingEventsInResource, getEventResourceIds, getPrimaryResourceId, hasGroupingFieldValue, hasOverlapInAnyAssignedResource, resolveAutoResourceGroupingField, resolveOverlapPolicy, toCssLength, toNumber } from '../chunk-SYJ5O4KH.mjs';
3
- export { DEFAULT_CONFLICT_OPTIONS, canDropEventWithResourceConstraints, checkAvailabilityConstraint, checkCapacityConstraint, checkDailyEventsConstraint, checkDailyHoursConstraint, checkEventDurationConstraint, checkOverlapConstraint, checkSkillConstraint, getCapacityStatus, getResourceCapacity, normalizeConflictOptions, validateResourceConstraints } from '../chunk-NX46LPLF.mjs';
4
- import '../chunk-ZUKUKGNK.mjs';
5
- import '../chunk-6PK5WSKT.mjs';
6
- import '../chunk-6OZAPQZ5.mjs';
7
- import '../chunk-NMX4BW42.mjs';
8
- export { getTimedBlockedIntervalsOverlays, getTimedBusinessHoursOverlays, isSlotInBlockedInterval, isSlotInBusinessHours } from '../chunk-AAVM7UCG.mjs';
9
- 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 '../chunk-C7ADJGNV.mjs';
10
- export { DEFAULT_APPOINTMENT_SLOTS_OPTIONS, canBookSlot, createSlotFromTimeRange, generateAppointmentSlots, getAppointmentSlotDisplayLabels, getAppointmentSlotIndicators, getAppointmentSlotOverlays, getAvailableSlots, getSlotAtTime, getSlotById, getSlotCapacityDisplay, getSlotOverlayClasses, getSlotOverlayStyle, getSlotsForDay, getSlotsForTimeRange, getSlotsInTimeRange, normalizeAppointmentSlotsOptions, updateSlotAvailability, updateSlotsAvailability } from '../chunk-NZGJN7HG.mjs';
11
- export { DEFAULT_BUSINESS_HOURS, canCreateWithBlockedIntervals, canDropEvent, canDropWithBlockedIntervals, canSelect, expandBlockedInterval, getBlockedIntervalDisplayLabels, getBlockedIntervalsForDay, getBusinessHoursForDay, getExpandedBlockedIntervals, getTimeSlotBusinessHoursInfo, isDateWithinConstraint, isRangeWithinBlockedInterval, isRangeWithinBusinessHours, isTimeSlotInBusinessHours, isTimeWithinBlockedInterval, isWithinBusinessHours, normalizeBusinessHours } from '../chunk-HPC5B3AR.mjs';
12
- export { getSchedulerEventSurfaceStyle, resolveSchedulerEventSurfaceColor } from '../chunk-5KORIWDT.mjs';
13
- import '../chunk-FIBAZFC4.mjs';
14
- 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 '../chunk-QDMZBJDV.mjs';
15
- 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 '../chunk-WFUJWDST.mjs';
16
- 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 '../chunk-TNKJPFGI.mjs';
17
- import '../chunk-DYW6WUHE.mjs';
1
+ 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';
2
+ export { applyDefaultResourceDrop, eventsTimeOverlap, findOverlappingEventsInResource, getEventResourceIds, getPrimaryResourceId, hasGroupingFieldValue, hasOverlapInAnyAssignedResource, resolveAutoResourceGroupingField, resolveOverlapPolicy, toCssLength, toNumber } from '../chunks/chunk-IJH6YR4N.mjs';
3
+ export { DEFAULT_CONFLICT_OPTIONS, canDropEventWithResourceConstraints, checkAvailabilityConstraint, checkCapacityConstraint, checkDailyEventsConstraint, checkDailyHoursConstraint, checkEventDurationConstraint, checkOverlapConstraint, checkSkillConstraint, getCapacityStatus, getResourceCapacity, normalizeConflictOptions, validateResourceConstraints } from '../chunks/chunk-BJFVXDZC.mjs';
4
+ import '../chunks/chunk-DIYUG3BH.mjs';
5
+ import '../chunks/chunk-56LJ2UG5.mjs';
6
+ import '../chunks/chunk-LMZ2J5Z5.mjs';
7
+ import '../chunks/chunk-2YXHUV2A.mjs';
8
+ 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';
9
+ 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';
10
+ 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';
11
+ export { getSchedulerEventSurfaceStyle, resolveSchedulerEventSurfaceColor } from '../chunks/chunk-AZRI6PHU.mjs';
12
+ import '../chunks/chunk-6Q5FR4PN.mjs';
13
+ 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';
14
+ 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';
15
+ 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';
16
+ import '../chunks/chunk-6OTDPEJM.mjs';
@@ -1,8 +1,8 @@
1
- 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 '../chunk-ZUKUKGNK.mjs';
2
- import '../chunk-6PK5WSKT.mjs';
3
- import '../chunk-6OZAPQZ5.mjs';
4
- export { calculateTimelineEventPosition, formatTimelineTitle, generateDayCells, generateTimelineCells, generateTimelineHeaderCells, getDefaultTimelineHeaderLevels, getEventsInDateRange, getTimelineDayViewData, getTimelineMonthViewData, getTimelineWeekViewData, getTimelineYearViewData, positionTimelineEvents, positionTimelineEventsForDayGranularity, positionTimelineEventsWithBusinessHours, timelineDayView, timelineMonthView, timelineWeekView, timelineYearView } from '../chunk-NMX4BW42.mjs';
5
- import '../chunk-QDMZBJDV.mjs';
6
- import '../chunk-WFUJWDST.mjs';
7
- import '../chunk-TNKJPFGI.mjs';
8
- import '../chunk-DYW6WUHE.mjs';
1
+ 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';
2
+ import '../chunks/chunk-56LJ2UG5.mjs';
3
+ import '../chunks/chunk-LMZ2J5Z5.mjs';
4
+ export { calculateTimelineEventPosition, formatTimelineTitle, generateDayCells, generateTimelineCells, generateTimelineHeaderCells, getDefaultTimelineHeaderLevels, getEventsInDateRange, getTimelineDayViewData, getTimelineMonthViewData, getTimelineWeekViewData, getTimelineYearViewData, positionTimelineEvents, positionTimelineEventsForDayGranularity, positionTimelineEventsWithBusinessHours, timelineDayView, timelineMonthView, timelineWeekView, timelineYearView } from '../chunks/chunk-2YXHUV2A.mjs';
5
+ import '../chunks/chunk-P7CIUMQZ.mjs';
6
+ import '../chunks/chunk-XQAYO7CQ.mjs';
7
+ import '../chunks/chunk-F2LYNUXG.mjs';
8
+ import '../chunks/chunk-6OTDPEJM.mjs';
@@ -1,4 +1,4 @@
1
- export { calculateTimelineEventPosition, formatTimelineTitle, generateDayCells, generateTimelineCells, generateTimelineHeaderCells, getDefaultTimelineHeaderLevels, getEventsInDateRange, getTimelineDayViewData, getTimelineMonthViewData, getTimelineWeekViewData, getTimelineYearViewData, positionTimelineEvents, positionTimelineEventsForDayGranularity, positionTimelineEventsWithBusinessHours, timelineDayView, timelineMonthView, timelineWeekView, timelineYearView } from '../../chunk-NMX4BW42.mjs';
2
- import '../../chunk-WFUJWDST.mjs';
3
- import '../../chunk-TNKJPFGI.mjs';
4
- import '../../chunk-DYW6WUHE.mjs';
1
+ export { calculateTimelineEventPosition, formatTimelineTitle, generateDayCells, generateTimelineCells, generateTimelineHeaderCells, getDefaultTimelineHeaderLevels, getEventsInDateRange, getTimelineDayViewData, getTimelineMonthViewData, getTimelineWeekViewData, getTimelineYearViewData, positionTimelineEvents, positionTimelineEventsForDayGranularity, positionTimelineEventsWithBusinessHours, timelineDayView, timelineMonthView, timelineWeekView, timelineYearView } from '../../chunks/chunk-2YXHUV2A.mjs';
2
+ import '../../chunks/chunk-XQAYO7CQ.mjs';
3
+ import '../../chunks/chunk-F2LYNUXG.mjs';
4
+ import '../../chunks/chunk-6OTDPEJM.mjs';
@@ -1,6 +1,6 @@
1
- import '../chunk-XUBQ2IQS.mjs';
2
- export { buildYearGridViewModel } from '../chunk-6OZAPQZ5.mjs';
3
- import '../chunk-QDMZBJDV.mjs';
4
- import '../chunk-WFUJWDST.mjs';
5
- import '../chunk-TNKJPFGI.mjs';
6
- import '../chunk-DYW6WUHE.mjs';
1
+ import '../chunks/chunk-B4YDYPVO.mjs';
2
+ export { buildYearGridViewModel } from '../chunks/chunk-LMZ2J5Z5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primeui/scheduler-core",
3
- "version": "0.0.1-alpha.1",
3
+ "version": "1.0.0-beta.1",
4
4
  "author": "PrimeTek Informatics",
5
5
  "description": "Scheduler API for PrimeUI.",
6
6
  "keywords": [
@@ -24,6 +24,61 @@
24
24
  "import": "./dist/index.mjs",
25
25
  "default": "./dist/index.mjs"
26
26
  },
27
+ "./calendar": {
28
+ "types": "./dist/calendar/index.d.mts",
29
+ "import": "./dist/calendar/index.mjs",
30
+ "default": "./dist/calendar/index.mjs"
31
+ },
32
+ "./controllers": {
33
+ "types": "./dist/controllers/index.d.mts",
34
+ "import": "./dist/controllers/index.mjs",
35
+ "default": "./dist/controllers/index.mjs"
36
+ },
37
+ "./event": {
38
+ "types": "./dist/event/index.d.mts",
39
+ "import": "./dist/event/index.mjs",
40
+ "default": "./dist/event/index.mjs"
41
+ },
42
+ "./interaction": {
43
+ "types": "./dist/interaction/index.d.mts",
44
+ "import": "./dist/interaction/index.mjs",
45
+ "default": "./dist/interaction/index.mjs"
46
+ },
47
+ "./month": {
48
+ "types": "./dist/month/index.d.mts",
49
+ "import": "./dist/month/index.mjs",
50
+ "default": "./dist/month/index.mjs"
51
+ },
52
+ "./resource": {
53
+ "types": "./dist/resource/index.d.mts",
54
+ "import": "./dist/resource/index.mjs",
55
+ "default": "./dist/resource/index.mjs"
56
+ },
57
+ "./time-grid": {
58
+ "types": "./dist/time-grid/index.d.mts",
59
+ "import": "./dist/time-grid/index.mjs",
60
+ "default": "./dist/time-grid/index.mjs"
61
+ },
62
+ "./timeline": {
63
+ "types": "./dist/timeline/index.d.mts",
64
+ "import": "./dist/timeline/index.mjs",
65
+ "default": "./dist/timeline/index.mjs"
66
+ },
67
+ "./utils": {
68
+ "types": "./dist/utils/index.d.mts",
69
+ "import": "./dist/utils/index.mjs",
70
+ "default": "./dist/utils/index.mjs"
71
+ },
72
+ "./views": {
73
+ "types": "./dist/views/index.d.mts",
74
+ "import": "./dist/views/index.mjs",
75
+ "default": "./dist/views/index.mjs"
76
+ },
77
+ "./year": {
78
+ "types": "./dist/year/index.d.mts",
79
+ "import": "./dist/year/index.mjs",
80
+ "default": "./dist/year/index.mjs"
81
+ },
27
82
  "./*": {
28
83
  "types": "./dist/*/index.d.mts",
29
84
  "import": "./dist/*/index.mjs",
@@ -41,8 +96,8 @@
41
96
  ],
42
97
  "dependencies": {
43
98
  "@internationalized/date": "^3.12.1",
44
- "@primeui/scheduler-types": "0.0.1-alpha.1",
45
- "@primeui/core": "0.0.1-alpha.1"
99
+ "@primeui/scheduler-types": "1.0.0-beta.1",
100
+ "@primeui/core": "1.0.0-beta.1"
46
101
  },
47
102
  "scripts": {
48
103
  "build": "cross-env NODE_ENV=production INPUT_DIR=src/ OUTPUT_DIR=dist/ pnpm run build:package",