@btst/stack 1.5.1 → 1.5.2

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 (277) hide show
  1. package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/DayPicker.cjs +14 -2
  2. package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/DayPicker.mjs +14 -2
  3. package/dist/node_modules/.pnpm/react-day-picker@9.13.0_react@19.2.0/node_modules/react-day-picker/dist/esm/noonDateLib.cjs +162 -0
  4. package/dist/node_modules/.pnpm/react-day-picker@9.13.0_react@19.2.0/node_modules/react-day-picker/dist/esm/noonDateLib.mjs +160 -0
  5. package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.cjs +12 -8
  6. package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.mjs +12 -8
  7. package/dist/packages/better-stack/src/plugins/cms/api/plugin.cjs +33 -4
  8. package/dist/packages/better-stack/src/plugins/cms/api/plugin.mjs +33 -4
  9. package/dist/packages/better-stack/src/plugins/cms/client/components/forms/content-form.cjs +26 -141
  10. package/dist/packages/better-stack/src/plugins/cms/client/components/forms/content-form.mjs +24 -139
  11. package/dist/packages/better-stack/src/plugins/cms/client/components/forms/file-upload.cjs +2 -2
  12. package/dist/packages/better-stack/src/plugins/cms/client/components/forms/file-upload.mjs +2 -2
  13. package/dist/packages/better-stack/src/plugins/cms/db.cjs +4 -0
  14. package/dist/packages/better-stack/src/plugins/cms/db.mjs +4 -0
  15. package/dist/packages/better-stack/src/plugins/cms/schemas.cjs +0 -1
  16. package/dist/packages/better-stack/src/plugins/cms/schemas.mjs +0 -1
  17. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/common/label.cjs +2 -2
  18. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/common/label.mjs +2 -2
  19. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/config.cjs +0 -2
  20. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/config.mjs +0 -2
  21. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/array.cjs +15 -29
  22. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/array.mjs +16 -16
  23. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/checkbox.cjs +2 -2
  24. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/checkbox.mjs +2 -2
  25. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/date.cjs +29 -5
  26. package/dist/packages/ui/src/components/auto-form/fields/date.mjs +59 -0
  27. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/enum.cjs +2 -2
  28. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/enum.mjs +2 -2
  29. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/input.cjs +2 -2
  30. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/input.mjs +2 -2
  31. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/number.cjs +2 -2
  32. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/number.mjs +2 -2
  33. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/object.cjs +7 -4
  34. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/object.mjs +8 -5
  35. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/radio-group.cjs +2 -2
  36. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/radio-group.mjs +2 -2
  37. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/switch.cjs +2 -2
  38. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/switch.mjs +2 -2
  39. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/textarea.cjs +2 -2
  40. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/textarea.mjs +2 -2
  41. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/index.cjs +3 -3
  42. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/index.mjs +3 -3
  43. package/dist/packages/ui/src/components/auto-form/utils.cjs +306 -0
  44. package/dist/packages/ui/src/components/auto-form/utils.mjs +294 -0
  45. package/dist/packages/ui/src/components/calendar.cjs +2 -2
  46. package/dist/packages/ui/src/components/calendar.mjs +2 -2
  47. package/dist/plugins/cms/api/index.d.cts +2 -4
  48. package/dist/plugins/cms/api/index.d.mts +2 -4
  49. package/dist/plugins/cms/api/index.d.ts +2 -4
  50. package/dist/plugins/cms/client/hooks/index.d.cts +1 -4
  51. package/dist/plugins/cms/client/hooks/index.d.mts +1 -4
  52. package/dist/plugins/cms/client/hooks/index.d.ts +1 -4
  53. package/dist/plugins/cms/client/index.d.cts +113 -5
  54. package/dist/plugins/cms/client/index.d.mts +113 -5
  55. package/dist/plugins/cms/client/index.d.ts +113 -5
  56. package/dist/plugins/cms/query-keys.d.cts +1 -4
  57. package/dist/plugins/cms/query-keys.d.mts +1 -4
  58. package/dist/plugins/cms/query-keys.d.ts +1 -4
  59. package/dist/shared/{stack.DwnJA87a.d.ts → stack.L-UFwz2G.d.cts} +14 -14
  60. package/dist/shared/{stack.BwkyFwF8.d.cts → stack.L-UFwz2G.d.mts} +14 -14
  61. package/dist/shared/{stack.DBqxCs0V.d.mts → stack.L-UFwz2G.d.ts} +14 -14
  62. package/package.json +1 -1
  63. package/src/plugins/cms/__tests__/schema-roundtrip.test.ts +195 -0
  64. package/src/plugins/cms/api/plugin.ts +65 -4
  65. package/src/plugins/cms/client/components/forms/content-form.tsx +50 -234
  66. package/src/plugins/cms/client/components/forms/file-upload.tsx +3 -3
  67. package/src/plugins/cms/client/index.ts +1 -1
  68. package/src/plugins/cms/client/overrides.ts +1 -1
  69. package/src/plugins/cms/db.ts +4 -0
  70. package/src/plugins/cms/schemas.ts +1 -1
  71. package/src/plugins/cms/types.ts +14 -17
  72. package/dist/packages/ui/src/components/ui/auto-form/fields/date.mjs +0 -35
  73. package/dist/packages/ui/src/components/ui/auto-form/fields/file.cjs +0 -63
  74. package/dist/packages/ui/src/components/ui/auto-form/fields/file.mjs +0 -61
  75. package/dist/packages/ui/src/components/ui/auto-form/utils.cjs +0 -179
  76. package/dist/packages/ui/src/components/ui/auto-form/utils.mjs +0 -169
  77. package/dist/shared/stack.NZJogTUn.d.cts +0 -66
  78. package/dist/shared/stack.NZJogTUn.d.mts +0 -66
  79. package/dist/shared/stack.NZJogTUn.d.ts +0 -66
  80. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/UI.cjs +0 -0
  81. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/UI.mjs +0 -0
  82. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/classes/CalendarDay.cjs +0 -0
  83. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/classes/CalendarDay.mjs +0 -0
  84. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.cjs +0 -0
  85. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.mjs +0 -0
  86. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.cjs +0 -0
  87. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.mjs +0 -0
  88. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/classes/DateLib.cjs +0 -0
  89. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/classes/DateLib.mjs +0 -0
  90. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Button.cjs +0 -0
  91. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Button.mjs +0 -0
  92. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/CaptionLabel.cjs +0 -0
  93. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/CaptionLabel.mjs +0 -0
  94. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Chevron.cjs +0 -0
  95. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Chevron.mjs +0 -0
  96. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Day.cjs +0 -0
  97. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Day.mjs +0 -0
  98. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/DayButton.cjs +0 -0
  99. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/DayButton.mjs +0 -0
  100. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Dropdown.cjs +0 -0
  101. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Dropdown.mjs +0 -0
  102. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/DropdownNav.cjs +0 -0
  103. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/DropdownNav.mjs +0 -0
  104. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Footer.cjs +0 -0
  105. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Footer.mjs +0 -0
  106. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Month.cjs +0 -0
  107. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Month.mjs +0 -0
  108. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/MonthCaption.cjs +0 -0
  109. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/MonthCaption.mjs +0 -0
  110. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/MonthGrid.cjs +0 -0
  111. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/MonthGrid.mjs +0 -0
  112. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Months.cjs +0 -0
  113. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Months.mjs +0 -0
  114. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.cjs +0 -0
  115. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.mjs +0 -0
  116. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Nav.cjs +0 -0
  117. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Nav.mjs +0 -0
  118. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/NextMonthButton.cjs +0 -0
  119. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/NextMonthButton.mjs +0 -0
  120. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Option.cjs +0 -0
  121. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Option.mjs +0 -0
  122. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.cjs +0 -0
  123. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.mjs +0 -0
  124. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Root.cjs +0 -0
  125. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Root.mjs +0 -0
  126. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Select.cjs +0 -0
  127. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Select.mjs +0 -0
  128. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Week.cjs +0 -0
  129. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Week.mjs +0 -0
  130. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/WeekNumber.cjs +0 -0
  131. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/WeekNumber.mjs +0 -0
  132. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.cjs +0 -0
  133. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.mjs +0 -0
  134. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Weekday.cjs +0 -0
  135. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Weekday.mjs +0 -0
  136. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Weekdays.cjs +0 -0
  137. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Weekdays.mjs +0 -0
  138. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Weeks.cjs +0 -0
  139. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/Weeks.mjs +0 -0
  140. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/YearsDropdown.cjs +0 -0
  141. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/YearsDropdown.mjs +0 -0
  142. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/custom-components.cjs +0 -0
  143. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/components/custom-components.mjs +0 -0
  144. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/formatCaption.cjs +0 -0
  145. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/formatCaption.mjs +0 -0
  146. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/formatDay.cjs +0 -0
  147. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/formatDay.mjs +0 -0
  148. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.cjs +0 -0
  149. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.mjs +0 -0
  150. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.cjs +0 -0
  151. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.mjs +0 -0
  152. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.cjs +0 -0
  153. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.mjs +0 -0
  154. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.cjs +0 -0
  155. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.mjs +0 -0
  156. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.cjs +0 -0
  157. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.mjs +0 -0
  158. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/index.cjs +0 -0
  159. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/formatters/index.mjs +0 -0
  160. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.cjs +0 -0
  161. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.mjs +0 -0
  162. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.cjs +0 -0
  163. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.mjs +0 -0
  164. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.cjs +0 -0
  165. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.mjs +0 -0
  166. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.cjs +0 -0
  167. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.mjs +0 -0
  168. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.cjs +0 -0
  169. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.mjs +0 -0
  170. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getComponents.cjs +0 -0
  171. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getComponents.mjs +0 -0
  172. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.cjs +0 -0
  173. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.mjs +0 -0
  174. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getDates.cjs +0 -0
  175. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getDates.mjs +0 -0
  176. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getDays.cjs +0 -0
  177. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getDays.mjs +0 -0
  178. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.cjs +0 -0
  179. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.mjs +0 -0
  180. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.cjs +0 -0
  181. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.mjs +0 -0
  182. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.cjs +0 -0
  183. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.mjs +0 -0
  184. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getFormatters.cjs +0 -0
  185. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getFormatters.mjs +0 -0
  186. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.cjs +0 -0
  187. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.mjs +0 -0
  188. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getLabels.cjs +0 -0
  189. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getLabels.mjs +0 -0
  190. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.cjs +0 -0
  191. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.mjs +0 -0
  192. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getMonths.cjs +0 -0
  193. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getMonths.mjs +0 -0
  194. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.cjs +0 -0
  195. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.mjs +0 -0
  196. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.cjs +0 -0
  197. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.mjs +0 -0
  198. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.cjs +0 -0
  199. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.mjs +0 -0
  200. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.cjs +0 -0
  201. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.mjs +0 -0
  202. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.cjs +0 -0
  203. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.mjs +0 -0
  204. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.cjs +0 -0
  205. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.mjs +0 -0
  206. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getWeeks.cjs +0 -0
  207. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getWeeks.mjs +0 -0
  208. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.cjs +0 -0
  209. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.mjs +0 -0
  210. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.cjs +0 -0
  211. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.mjs +0 -0
  212. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.cjs +0 -0
  213. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.mjs +0 -0
  214. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/index.cjs +0 -0
  215. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/index.mjs +0 -0
  216. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelDayButton.cjs +0 -0
  217. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelDayButton.mjs +0 -0
  218. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelGrid.cjs +0 -0
  219. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelGrid.mjs +0 -0
  220. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelGridcell.cjs +0 -0
  221. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelGridcell.mjs +0 -0
  222. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.cjs +0 -0
  223. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.mjs +0 -0
  224. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelNav.cjs +0 -0
  225. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelNav.mjs +0 -0
  226. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelNext.cjs +0 -0
  227. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelNext.mjs +0 -0
  228. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelPrevious.cjs +0 -0
  229. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelPrevious.mjs +0 -0
  230. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.cjs +0 -0
  231. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.mjs +0 -0
  232. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.cjs +0 -0
  233. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.mjs +0 -0
  234. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelWeekday.cjs +0 -0
  235. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelWeekday.mjs +0 -0
  236. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.cjs +0 -0
  237. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.mjs +0 -0
  238. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/locale/en-US.cjs +0 -0
  239. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/locale/en-US.mjs +0 -0
  240. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/selection/useMulti.cjs +0 -0
  241. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/selection/useMulti.mjs +0 -0
  242. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/selection/useRange.cjs +0 -0
  243. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/selection/useRange.mjs +0 -0
  244. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/selection/useSingle.cjs +0 -0
  245. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/selection/useSingle.mjs +0 -0
  246. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/useAnimation.cjs +0 -0
  247. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/useAnimation.mjs +0 -0
  248. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/useCalendar.cjs +0 -0
  249. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/useCalendar.mjs +0 -0
  250. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/useDayPicker.cjs +0 -0
  251. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/useDayPicker.mjs +0 -0
  252. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/useFocus.cjs +0 -0
  253. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/useFocus.mjs +0 -0
  254. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/useSelection.cjs +0 -0
  255. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/useSelection.mjs +0 -0
  256. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/addToRange.cjs +0 -0
  257. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/addToRange.mjs +0 -0
  258. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.cjs +0 -0
  259. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.mjs +0 -0
  260. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.cjs +0 -0
  261. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.mjs +0 -0
  262. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.cjs +0 -0
  263. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.mjs +0 -0
  264. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.cjs +0 -0
  265. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.mjs +0 -0
  266. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.cjs +0 -0
  267. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.mjs +0 -0
  268. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/toTimeZone.cjs +0 -0
  269. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/toTimeZone.mjs +0 -0
  270. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/typeguards.cjs +0 -0
  271. /package/dist/node_modules/.pnpm/{react-day-picker@9.12.0_react@19.2.0 → react-day-picker@9.13.0_react@19.2.0}/node_modules/react-day-picker/dist/esm/utils/typeguards.mjs +0 -0
  272. /package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/common/tooltip.cjs +0 -0
  273. /package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/common/tooltip.mjs +0 -0
  274. /package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/dependencies.cjs +0 -0
  275. /package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/dependencies.mjs +0 -0
  276. /package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/types.cjs +0 -0
  277. /package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/types.mjs +0 -0
@@ -13,6 +13,7 @@ const getMonthOptions = require('./helpers/getMonthOptions.cjs');
13
13
  const getStyleForModifiers = require('./helpers/getStyleForModifiers.cjs');
14
14
  const getWeekdays = require('./helpers/getWeekdays.cjs');
15
15
  const getYearOptions = require('./helpers/getYearOptions.cjs');
16
+ const noonDateLib = require('./noonDateLib.cjs');
16
17
  const UI = require('./UI.cjs');
17
18
  const useAnimation = require('./useAnimation.cjs');
18
19
  const useCalendar = require('./useCalendar.cjs');
@@ -92,15 +93,25 @@ function DayPicker(initialProps) {
92
93
  }
93
94
  const { components, formatters, labels, dateLib, locale, classNames } = React.useMemo(() => {
94
95
  const locale = { ...enUS.enUS, ...props.locale };
96
+ const weekStartsOn = props.broadcastCalendar ? 1 : props.weekStartsOn;
97
+ const noonOverrides = props.noonSafe && props.timeZone
98
+ ? noonDateLib.createNoonOverrides(props.timeZone, {
99
+ weekStartsOn,
100
+ locale,
101
+ })
102
+ : undefined;
103
+ const overrides = props.dateLib && noonOverrides
104
+ ? { ...noonOverrides, ...props.dateLib }
105
+ : (props.dateLib ?? noonOverrides);
95
106
  const dateLib = new DateLib.DateLib({
96
107
  locale,
97
- weekStartsOn: props.broadcastCalendar ? 1 : props.weekStartsOn,
108
+ weekStartsOn,
98
109
  firstWeekContainsDate: props.firstWeekContainsDate,
99
110
  useAdditionalWeekYearTokens: props.useAdditionalWeekYearTokens,
100
111
  useAdditionalDayOfYearTokens: props.useAdditionalDayOfYearTokens,
101
112
  timeZone: props.timeZone,
102
113
  numerals: props.numerals,
103
- }, props.dateLib);
114
+ }, overrides);
104
115
  return {
105
116
  dateLib,
106
117
  components: getComponents.getComponents(props.components),
@@ -119,6 +130,7 @@ function DayPicker(initialProps) {
119
130
  props.timeZone,
120
131
  props.numerals,
121
132
  props.dateLib,
133
+ props.noonSafe,
122
134
  props.components,
123
135
  props.formatters,
124
136
  props.labels,
@@ -11,6 +11,7 @@ import { getMonthOptions } from './helpers/getMonthOptions.mjs';
11
11
  import { getStyleForModifiers } from './helpers/getStyleForModifiers.mjs';
12
12
  import { getWeekdays } from './helpers/getWeekdays.mjs';
13
13
  import { getYearOptions } from './helpers/getYearOptions.mjs';
14
+ import { createNoonOverrides } from './noonDateLib.mjs';
14
15
  import { UI, DayFlag, SelectionState } from './UI.mjs';
15
16
  import { useAnimation } from './useAnimation.mjs';
16
17
  import { useCalendar } from './useCalendar.mjs';
@@ -86,15 +87,25 @@ function DayPicker(initialProps) {
86
87
  }
87
88
  const { components, formatters, labels, dateLib, locale, classNames } = useMemo(() => {
88
89
  const locale = { ...enUS, ...props.locale };
90
+ const weekStartsOn = props.broadcastCalendar ? 1 : props.weekStartsOn;
91
+ const noonOverrides = props.noonSafe && props.timeZone
92
+ ? createNoonOverrides(props.timeZone, {
93
+ weekStartsOn,
94
+ locale,
95
+ })
96
+ : undefined;
97
+ const overrides = props.dateLib && noonOverrides
98
+ ? { ...noonOverrides, ...props.dateLib }
99
+ : (props.dateLib ?? noonOverrides);
89
100
  const dateLib = new DateLib({
90
101
  locale,
91
- weekStartsOn: props.broadcastCalendar ? 1 : props.weekStartsOn,
102
+ weekStartsOn,
92
103
  firstWeekContainsDate: props.firstWeekContainsDate,
93
104
  useAdditionalWeekYearTokens: props.useAdditionalWeekYearTokens,
94
105
  useAdditionalDayOfYearTokens: props.useAdditionalDayOfYearTokens,
95
106
  timeZone: props.timeZone,
96
107
  numerals: props.numerals,
97
- }, props.dateLib);
108
+ }, overrides);
98
109
  return {
99
110
  dateLib,
100
111
  components: getComponents(props.components),
@@ -113,6 +124,7 @@ function DayPicker(initialProps) {
113
124
  props.timeZone,
114
125
  props.numerals,
115
126
  props.dateLib,
127
+ props.noonSafe,
116
128
  props.components,
117
129
  props.formatters,
118
130
  props.labels,
@@ -0,0 +1,162 @@
1
+ 'use strict';
2
+
3
+ const index = require('../../../../../@date-fns_tz@1.4.1/node_modules/@date-fns/tz/date/index.cjs');
4
+ require('../../../../../@date-fns_tz@1.4.1/node_modules/@date-fns/tz/date/mini.cjs');
5
+ const dateFns = require('date-fns');
6
+
7
+ /**
8
+ * Creates `dateLib` overrides that keep all calendar math at noon in the target
9
+ * time zone. This avoids second-level offset changes (e.g., historical zones
10
+ * with +03:41:12) from pushing dates backward across midnight.
11
+ */
12
+ function createNoonOverrides(timeZone, options = {}) {
13
+ const { weekStartsOn, locale } = options;
14
+ const fallbackWeekStartsOn = (weekStartsOn ??
15
+ locale?.options?.weekStartsOn ??
16
+ 0);
17
+ // Keep all internal math anchored at noon in the target zone to avoid
18
+ // historical second-level offsets from crossing midnight.
19
+ const toNoonTZDate = (date) => {
20
+ const normalizedDate = typeof date === "number" || typeof date === "string"
21
+ ? new Date(date)
22
+ : date;
23
+ return new index.TZDate(normalizedDate.getFullYear(), normalizedDate.getMonth(), normalizedDate.getDate(), 12, 0, 0, timeZone);
24
+ };
25
+ // Convert a value into a host `Date` that represents the same calendar day
26
+ // as the target-zone noon. This is useful for helpers (e.g., date-fns week
27
+ // utilities) that expect local `Date` instances rather than `TZDate`s.
28
+ const toCalendarDate = (date) => {
29
+ const zoned = toNoonTZDate(date);
30
+ return new Date(zoned.getFullYear(), zoned.getMonth(), zoned.getDate(), 0, 0, 0, 0);
31
+ };
32
+ return {
33
+ today: () => {
34
+ return toNoonTZDate(index.TZDate.tz(timeZone));
35
+ },
36
+ newDate: (year, monthIndex, date) => {
37
+ return new index.TZDate(year, monthIndex, date, 12, 0, 0, timeZone);
38
+ },
39
+ startOfDay: (date) => {
40
+ return toNoonTZDate(date);
41
+ },
42
+ startOfWeek: (date, options) => {
43
+ const base = toNoonTZDate(date);
44
+ const weekStartsOnValue = (options?.weekStartsOn ??
45
+ fallbackWeekStartsOn);
46
+ const diff = (base.getDay() - weekStartsOnValue + 7) % 7;
47
+ base.setDate(base.getDate() - diff);
48
+ return base;
49
+ },
50
+ startOfISOWeek: (date) => {
51
+ const base = toNoonTZDate(date);
52
+ const diff = (base.getDay() - 1 + 7) % 7;
53
+ base.setDate(base.getDate() - diff);
54
+ return base;
55
+ },
56
+ startOfMonth: (date) => {
57
+ const base = toNoonTZDate(date);
58
+ base.setDate(1);
59
+ return base;
60
+ },
61
+ startOfYear: (date) => {
62
+ const base = toNoonTZDate(date);
63
+ base.setMonth(0, 1);
64
+ return base;
65
+ },
66
+ endOfWeek: (date, options) => {
67
+ const base = toNoonTZDate(date);
68
+ const weekStartsOnValue = (options?.weekStartsOn ??
69
+ fallbackWeekStartsOn);
70
+ const endDow = (weekStartsOnValue + 6) % 7;
71
+ const diff = (endDow - base.getDay() + 7) % 7;
72
+ base.setDate(base.getDate() + diff);
73
+ return base;
74
+ },
75
+ endOfISOWeek: (date) => {
76
+ const base = toNoonTZDate(date);
77
+ const diff = (7 - base.getDay()) % 7;
78
+ base.setDate(base.getDate() + diff);
79
+ return base;
80
+ },
81
+ endOfMonth: (date) => {
82
+ const base = toNoonTZDate(date);
83
+ base.setMonth(base.getMonth() + 1, 0);
84
+ return base;
85
+ },
86
+ endOfYear: (date) => {
87
+ const base = toNoonTZDate(date);
88
+ base.setMonth(11, 31);
89
+ return base;
90
+ },
91
+ eachMonthOfInterval: (interval) => {
92
+ const start = toNoonTZDate(interval.start);
93
+ const end = toNoonTZDate(interval.end);
94
+ const result = [];
95
+ const cursor = new index.TZDate(start.getFullYear(), start.getMonth(), 1, 12, 0, 0, timeZone);
96
+ const endKey = end.getFullYear() * 12 + end.getMonth();
97
+ while (cursor.getFullYear() * 12 + cursor.getMonth() <= endKey) {
98
+ result.push(new index.TZDate(cursor, timeZone));
99
+ cursor.setMonth(cursor.getMonth() + 1, 1);
100
+ }
101
+ return result;
102
+ },
103
+ // Normalize to noon once before arithmetic (avoid DST/midnight edge cases),
104
+ // mutate the same TZDate, and return it.
105
+ addDays: (date, amount) => {
106
+ const base = toNoonTZDate(date);
107
+ base.setDate(base.getDate() + amount);
108
+ return base;
109
+ },
110
+ addWeeks: (date, amount) => {
111
+ const base = toNoonTZDate(date);
112
+ base.setDate(base.getDate() + amount * 7);
113
+ return base;
114
+ },
115
+ addMonths: (date, amount) => {
116
+ const base = toNoonTZDate(date);
117
+ base.setMonth(base.getMonth() + amount);
118
+ return base;
119
+ },
120
+ addYears: (date, amount) => {
121
+ const base = toNoonTZDate(date);
122
+ base.setFullYear(base.getFullYear() + amount);
123
+ return base;
124
+ },
125
+ eachYearOfInterval: (interval) => {
126
+ const start = toNoonTZDate(interval.start);
127
+ const end = toNoonTZDate(interval.end);
128
+ const years = [];
129
+ const cursor = new index.TZDate(start.getFullYear(), 0, 1, 12, 0, 0, timeZone);
130
+ while (cursor.getFullYear() <= end.getFullYear()) {
131
+ years.push(new index.TZDate(cursor, timeZone));
132
+ cursor.setFullYear(cursor.getFullYear() + 1, 0, 1);
133
+ }
134
+ return years;
135
+ },
136
+ getWeek: (date, options) => {
137
+ const base = toCalendarDate(date);
138
+ return dateFns.getWeek(base, {
139
+ weekStartsOn: options?.weekStartsOn ?? fallbackWeekStartsOn,
140
+ firstWeekContainsDate: options?.firstWeekContainsDate ??
141
+ locale?.options?.firstWeekContainsDate ??
142
+ 1,
143
+ });
144
+ },
145
+ getISOWeek: (date) => {
146
+ const base = toCalendarDate(date);
147
+ return dateFns.getISOWeek(base);
148
+ },
149
+ differenceInCalendarDays: (dateLeft, dateRight) => {
150
+ const left = toCalendarDate(dateLeft);
151
+ const right = toCalendarDate(dateRight);
152
+ return dateFns.differenceInCalendarDays(left, right);
153
+ },
154
+ differenceInCalendarMonths: (dateLeft, dateRight) => {
155
+ const left = toCalendarDate(dateLeft);
156
+ const right = toCalendarDate(dateRight);
157
+ return dateFns.differenceInCalendarMonths(left, right);
158
+ },
159
+ };
160
+ }
161
+
162
+ exports.createNoonOverrides = createNoonOverrides;
@@ -0,0 +1,160 @@
1
+ import { TZDate } from '../../../../../@date-fns_tz@1.4.1/node_modules/@date-fns/tz/date/index.mjs';
2
+ import '../../../../../@date-fns_tz@1.4.1/node_modules/@date-fns/tz/date/mini.mjs';
3
+ import { differenceInCalendarMonths, differenceInCalendarDays, getISOWeek, getWeek } from 'date-fns';
4
+
5
+ /**
6
+ * Creates `dateLib` overrides that keep all calendar math at noon in the target
7
+ * time zone. This avoids second-level offset changes (e.g., historical zones
8
+ * with +03:41:12) from pushing dates backward across midnight.
9
+ */
10
+ function createNoonOverrides(timeZone, options = {}) {
11
+ const { weekStartsOn, locale } = options;
12
+ const fallbackWeekStartsOn = (weekStartsOn ??
13
+ locale?.options?.weekStartsOn ??
14
+ 0);
15
+ // Keep all internal math anchored at noon in the target zone to avoid
16
+ // historical second-level offsets from crossing midnight.
17
+ const toNoonTZDate = (date) => {
18
+ const normalizedDate = typeof date === "number" || typeof date === "string"
19
+ ? new Date(date)
20
+ : date;
21
+ return new TZDate(normalizedDate.getFullYear(), normalizedDate.getMonth(), normalizedDate.getDate(), 12, 0, 0, timeZone);
22
+ };
23
+ // Convert a value into a host `Date` that represents the same calendar day
24
+ // as the target-zone noon. This is useful for helpers (e.g., date-fns week
25
+ // utilities) that expect local `Date` instances rather than `TZDate`s.
26
+ const toCalendarDate = (date) => {
27
+ const zoned = toNoonTZDate(date);
28
+ return new Date(zoned.getFullYear(), zoned.getMonth(), zoned.getDate(), 0, 0, 0, 0);
29
+ };
30
+ return {
31
+ today: () => {
32
+ return toNoonTZDate(TZDate.tz(timeZone));
33
+ },
34
+ newDate: (year, monthIndex, date) => {
35
+ return new TZDate(year, monthIndex, date, 12, 0, 0, timeZone);
36
+ },
37
+ startOfDay: (date) => {
38
+ return toNoonTZDate(date);
39
+ },
40
+ startOfWeek: (date, options) => {
41
+ const base = toNoonTZDate(date);
42
+ const weekStartsOnValue = (options?.weekStartsOn ??
43
+ fallbackWeekStartsOn);
44
+ const diff = (base.getDay() - weekStartsOnValue + 7) % 7;
45
+ base.setDate(base.getDate() - diff);
46
+ return base;
47
+ },
48
+ startOfISOWeek: (date) => {
49
+ const base = toNoonTZDate(date);
50
+ const diff = (base.getDay() - 1 + 7) % 7;
51
+ base.setDate(base.getDate() - diff);
52
+ return base;
53
+ },
54
+ startOfMonth: (date) => {
55
+ const base = toNoonTZDate(date);
56
+ base.setDate(1);
57
+ return base;
58
+ },
59
+ startOfYear: (date) => {
60
+ const base = toNoonTZDate(date);
61
+ base.setMonth(0, 1);
62
+ return base;
63
+ },
64
+ endOfWeek: (date, options) => {
65
+ const base = toNoonTZDate(date);
66
+ const weekStartsOnValue = (options?.weekStartsOn ??
67
+ fallbackWeekStartsOn);
68
+ const endDow = (weekStartsOnValue + 6) % 7;
69
+ const diff = (endDow - base.getDay() + 7) % 7;
70
+ base.setDate(base.getDate() + diff);
71
+ return base;
72
+ },
73
+ endOfISOWeek: (date) => {
74
+ const base = toNoonTZDate(date);
75
+ const diff = (7 - base.getDay()) % 7;
76
+ base.setDate(base.getDate() + diff);
77
+ return base;
78
+ },
79
+ endOfMonth: (date) => {
80
+ const base = toNoonTZDate(date);
81
+ base.setMonth(base.getMonth() + 1, 0);
82
+ return base;
83
+ },
84
+ endOfYear: (date) => {
85
+ const base = toNoonTZDate(date);
86
+ base.setMonth(11, 31);
87
+ return base;
88
+ },
89
+ eachMonthOfInterval: (interval) => {
90
+ const start = toNoonTZDate(interval.start);
91
+ const end = toNoonTZDate(interval.end);
92
+ const result = [];
93
+ const cursor = new TZDate(start.getFullYear(), start.getMonth(), 1, 12, 0, 0, timeZone);
94
+ const endKey = end.getFullYear() * 12 + end.getMonth();
95
+ while (cursor.getFullYear() * 12 + cursor.getMonth() <= endKey) {
96
+ result.push(new TZDate(cursor, timeZone));
97
+ cursor.setMonth(cursor.getMonth() + 1, 1);
98
+ }
99
+ return result;
100
+ },
101
+ // Normalize to noon once before arithmetic (avoid DST/midnight edge cases),
102
+ // mutate the same TZDate, and return it.
103
+ addDays: (date, amount) => {
104
+ const base = toNoonTZDate(date);
105
+ base.setDate(base.getDate() + amount);
106
+ return base;
107
+ },
108
+ addWeeks: (date, amount) => {
109
+ const base = toNoonTZDate(date);
110
+ base.setDate(base.getDate() + amount * 7);
111
+ return base;
112
+ },
113
+ addMonths: (date, amount) => {
114
+ const base = toNoonTZDate(date);
115
+ base.setMonth(base.getMonth() + amount);
116
+ return base;
117
+ },
118
+ addYears: (date, amount) => {
119
+ const base = toNoonTZDate(date);
120
+ base.setFullYear(base.getFullYear() + amount);
121
+ return base;
122
+ },
123
+ eachYearOfInterval: (interval) => {
124
+ const start = toNoonTZDate(interval.start);
125
+ const end = toNoonTZDate(interval.end);
126
+ const years = [];
127
+ const cursor = new TZDate(start.getFullYear(), 0, 1, 12, 0, 0, timeZone);
128
+ while (cursor.getFullYear() <= end.getFullYear()) {
129
+ years.push(new TZDate(cursor, timeZone));
130
+ cursor.setFullYear(cursor.getFullYear() + 1, 0, 1);
131
+ }
132
+ return years;
133
+ },
134
+ getWeek: (date, options) => {
135
+ const base = toCalendarDate(date);
136
+ return getWeek(base, {
137
+ weekStartsOn: options?.weekStartsOn ?? fallbackWeekStartsOn,
138
+ firstWeekContainsDate: options?.firstWeekContainsDate ??
139
+ locale?.options?.firstWeekContainsDate ??
140
+ 1,
141
+ });
142
+ },
143
+ getISOWeek: (date) => {
144
+ const base = toCalendarDate(date);
145
+ return getISOWeek(base);
146
+ },
147
+ differenceInCalendarDays: (dateLeft, dateRight) => {
148
+ const left = toCalendarDate(dateLeft);
149
+ const right = toCalendarDate(dateRight);
150
+ return differenceInCalendarDays(left, right);
151
+ },
152
+ differenceInCalendarMonths: (dateLeft, dateRight) => {
153
+ const left = toCalendarDate(dateLeft);
154
+ const right = toCalendarDate(dateRight);
155
+ return differenceInCalendarMonths(left, right);
156
+ },
157
+ };
158
+ }
159
+
160
+ export { createNoonOverrides };
@@ -1,17 +1,21 @@
1
1
  'use strict';
2
2
 
3
+ require('../../../../../../@date-fns_tz@1.4.1/node_modules/@date-fns/tz/date/mini.cjs');
3
4
  const toTimeZone = require('./toTimeZone.cjs');
4
5
  const typeguards = require('./typeguards.cjs');
5
6
 
6
- function convertMatcher(matcher, timeZone) {
7
+ function toZoneNoon(date, timeZone, noonSafe) {
8
+ return toTimeZone.toTimeZone(date, timeZone);
9
+ }
10
+ function convertMatcher(matcher, timeZone, noonSafe) {
7
11
  if (typeof matcher === "boolean" || typeof matcher === "function") {
8
12
  return matcher;
9
13
  }
10
14
  if (matcher instanceof Date) {
11
- return toTimeZone.toTimeZone(matcher, timeZone);
15
+ return toZoneNoon(matcher, timeZone);
12
16
  }
13
17
  if (Array.isArray(matcher)) {
14
- return matcher.map((value) => value instanceof Date ? toTimeZone.toTimeZone(value, timeZone) : value);
18
+ return matcher.map((value) => value instanceof Date ? toZoneNoon(value, timeZone) : value);
15
19
  }
16
20
  if (typeguards.isDateRange(matcher)) {
17
21
  return {
@@ -22,18 +26,18 @@ function convertMatcher(matcher, timeZone) {
22
26
  }
23
27
  if (typeguards.isDateInterval(matcher)) {
24
28
  return {
25
- before: toTimeZone.toTimeZone(matcher.before, timeZone),
26
- after: toTimeZone.toTimeZone(matcher.after, timeZone),
29
+ before: toZoneNoon(matcher.before, timeZone),
30
+ after: toZoneNoon(matcher.after, timeZone),
27
31
  };
28
32
  }
29
33
  if (typeguards.isDateAfterType(matcher)) {
30
34
  return {
31
- after: toTimeZone.toTimeZone(matcher.after, timeZone),
35
+ after: toZoneNoon(matcher.after, timeZone),
32
36
  };
33
37
  }
34
38
  if (typeguards.isDateBeforeType(matcher)) {
35
39
  return {
36
- before: toTimeZone.toTimeZone(matcher.before, timeZone),
40
+ before: toZoneNoon(matcher.before, timeZone),
37
41
  };
38
42
  }
39
43
  return matcher;
@@ -46,7 +50,7 @@ function convertMatcher(matcher, timeZone) {
46
50
  * @returns The converted matcher(s).
47
51
  * @group Utilities
48
52
  */
49
- function convertMatchersToTimeZone(matchers, timeZone) {
53
+ function convertMatchersToTimeZone(matchers, timeZone, noonSafe) {
50
54
  if (!matchers) {
51
55
  return matchers;
52
56
  }
@@ -1,15 +1,19 @@
1
+ import '../../../../../../@date-fns_tz@1.4.1/node_modules/@date-fns/tz/date/mini.mjs';
1
2
  import { toTimeZone } from './toTimeZone.mjs';
2
3
  import { isDateRange, isDateInterval, isDateAfterType, isDateBeforeType } from './typeguards.mjs';
3
4
 
4
- function convertMatcher(matcher, timeZone) {
5
+ function toZoneNoon(date, timeZone, noonSafe) {
6
+ return toTimeZone(date, timeZone);
7
+ }
8
+ function convertMatcher(matcher, timeZone, noonSafe) {
5
9
  if (typeof matcher === "boolean" || typeof matcher === "function") {
6
10
  return matcher;
7
11
  }
8
12
  if (matcher instanceof Date) {
9
- return toTimeZone(matcher, timeZone);
13
+ return toZoneNoon(matcher, timeZone);
10
14
  }
11
15
  if (Array.isArray(matcher)) {
12
- return matcher.map((value) => value instanceof Date ? toTimeZone(value, timeZone) : value);
16
+ return matcher.map((value) => value instanceof Date ? toZoneNoon(value, timeZone) : value);
13
17
  }
14
18
  if (isDateRange(matcher)) {
15
19
  return {
@@ -20,18 +24,18 @@ function convertMatcher(matcher, timeZone) {
20
24
  }
21
25
  if (isDateInterval(matcher)) {
22
26
  return {
23
- before: toTimeZone(matcher.before, timeZone),
24
- after: toTimeZone(matcher.after, timeZone),
27
+ before: toZoneNoon(matcher.before, timeZone),
28
+ after: toZoneNoon(matcher.after, timeZone),
25
29
  };
26
30
  }
27
31
  if (isDateAfterType(matcher)) {
28
32
  return {
29
- after: toTimeZone(matcher.after, timeZone),
33
+ after: toZoneNoon(matcher.after, timeZone),
30
34
  };
31
35
  }
32
36
  if (isDateBeforeType(matcher)) {
33
37
  return {
34
- before: toTimeZone(matcher.before, timeZone),
38
+ before: toZoneNoon(matcher.before, timeZone),
35
39
  };
36
40
  }
37
41
  return matcher;
@@ -44,7 +48,7 @@ function convertMatcher(matcher, timeZone) {
44
48
  * @returns The converted matcher(s).
45
49
  * @group Utilities
46
50
  */
47
- function convertMatchersToTimeZone(matchers, timeZone) {
51
+ function convertMatchersToTimeZone(matchers, timeZone, noonSafe) {
48
52
  if (!matchers) {
49
53
  return matchers;
50
54
  }
@@ -6,9 +6,35 @@ const db = require('../db.cjs');
6
6
  const schemas = require('../schemas.cjs');
7
7
  const utils = require('../utils.cjs');
8
8
 
9
+ function migrateToUnifiedSchema(jsonSchemaStr, fieldConfigStr) {
10
+ if (!fieldConfigStr) {
11
+ return jsonSchemaStr;
12
+ }
13
+ try {
14
+ const jsonSchema = JSON.parse(jsonSchemaStr);
15
+ const fieldConfig = JSON.parse(fieldConfigStr);
16
+ if (!jsonSchema.properties || typeof fieldConfig !== "object") {
17
+ return jsonSchemaStr;
18
+ }
19
+ for (const [key, config] of Object.entries(fieldConfig)) {
20
+ if (jsonSchema.properties[key] && typeof config === "object" && config !== null && "fieldType" in config) {
21
+ jsonSchema.properties[key].fieldType = config.fieldType;
22
+ }
23
+ }
24
+ return JSON.stringify(jsonSchema);
25
+ } catch {
26
+ return jsonSchemaStr;
27
+ }
28
+ }
9
29
  function serializeContentType(ct) {
30
+ const needsMigration = !ct.autoFormVersion || ct.autoFormVersion < 2;
31
+ const migratedJsonSchema = needsMigration ? migrateToUnifiedSchema(ct.jsonSchema, ct.fieldConfig) : ct.jsonSchema;
10
32
  return {
11
- ...ct,
33
+ id: ct.id,
34
+ name: ct.name,
35
+ slug: ct.slug,
36
+ description: ct.description,
37
+ jsonSchema: migratedJsonSchema,
12
38
  createdAt: ct.createdAt.toISOString(),
13
39
  updatedAt: ct.updatedAt.toISOString()
14
40
  };
@@ -30,7 +56,6 @@ function serializeContentItemWithType(item) {
30
56
  async function syncContentTypes(adapter, config) {
31
57
  for (const ct of config.contentTypes) {
32
58
  const jsonSchema = JSON.stringify(z.z.toJSONSchema(ct.schema));
33
- const fieldConfig = ct.fieldConfig ? JSON.stringify(ct.fieldConfig) : null;
34
59
  const existing = await adapter.findOne({
35
60
  model: "contentType",
36
61
  where: [{ field: "slug", value: ct.slug, operator: "eq" }]
@@ -43,7 +68,9 @@ async function syncContentTypes(adapter, config) {
43
68
  name: ct.name,
44
69
  description: ct.description ?? null,
45
70
  jsonSchema,
46
- fieldConfig,
71
+ fieldConfig: null,
72
+ // No longer used in version 2
73
+ autoFormVersion: 2,
47
74
  updatedAt: /* @__PURE__ */ new Date()
48
75
  }
49
76
  });
@@ -56,7 +83,9 @@ async function syncContentTypes(adapter, config) {
56
83
  slug: ct.slug,
57
84
  description: ct.description ?? null,
58
85
  jsonSchema,
59
- fieldConfig,
86
+ fieldConfig: null,
87
+ // No longer used in version 2
88
+ autoFormVersion: 2,
60
89
  createdAt: /* @__PURE__ */ new Date(),
61
90
  updatedAt: /* @__PURE__ */ new Date()
62
91
  }
@@ -4,9 +4,35 @@ import { cmsSchema } from '../db.mjs';
4
4
  import { listContentQuerySchema } from '../schemas.mjs';
5
5
  import { slugify } from '../utils.mjs';
6
6
 
7
+ function migrateToUnifiedSchema(jsonSchemaStr, fieldConfigStr) {
8
+ if (!fieldConfigStr) {
9
+ return jsonSchemaStr;
10
+ }
11
+ try {
12
+ const jsonSchema = JSON.parse(jsonSchemaStr);
13
+ const fieldConfig = JSON.parse(fieldConfigStr);
14
+ if (!jsonSchema.properties || typeof fieldConfig !== "object") {
15
+ return jsonSchemaStr;
16
+ }
17
+ for (const [key, config] of Object.entries(fieldConfig)) {
18
+ if (jsonSchema.properties[key] && typeof config === "object" && config !== null && "fieldType" in config) {
19
+ jsonSchema.properties[key].fieldType = config.fieldType;
20
+ }
21
+ }
22
+ return JSON.stringify(jsonSchema);
23
+ } catch {
24
+ return jsonSchemaStr;
25
+ }
26
+ }
7
27
  function serializeContentType(ct) {
28
+ const needsMigration = !ct.autoFormVersion || ct.autoFormVersion < 2;
29
+ const migratedJsonSchema = needsMigration ? migrateToUnifiedSchema(ct.jsonSchema, ct.fieldConfig) : ct.jsonSchema;
8
30
  return {
9
- ...ct,
31
+ id: ct.id,
32
+ name: ct.name,
33
+ slug: ct.slug,
34
+ description: ct.description,
35
+ jsonSchema: migratedJsonSchema,
10
36
  createdAt: ct.createdAt.toISOString(),
11
37
  updatedAt: ct.updatedAt.toISOString()
12
38
  };
@@ -28,7 +54,6 @@ function serializeContentItemWithType(item) {
28
54
  async function syncContentTypes(adapter, config) {
29
55
  for (const ct of config.contentTypes) {
30
56
  const jsonSchema = JSON.stringify(z.toJSONSchema(ct.schema));
31
- const fieldConfig = ct.fieldConfig ? JSON.stringify(ct.fieldConfig) : null;
32
57
  const existing = await adapter.findOne({
33
58
  model: "contentType",
34
59
  where: [{ field: "slug", value: ct.slug, operator: "eq" }]
@@ -41,7 +66,9 @@ async function syncContentTypes(adapter, config) {
41
66
  name: ct.name,
42
67
  description: ct.description ?? null,
43
68
  jsonSchema,
44
- fieldConfig,
69
+ fieldConfig: null,
70
+ // No longer used in version 2
71
+ autoFormVersion: 2,
45
72
  updatedAt: /* @__PURE__ */ new Date()
46
73
  }
47
74
  });
@@ -54,7 +81,9 @@ async function syncContentTypes(adapter, config) {
54
81
  slug: ct.slug,
55
82
  description: ct.description ?? null,
56
83
  jsonSchema,
57
- fieldConfig,
84
+ fieldConfig: null,
85
+ // No longer used in version 2
86
+ autoFormVersion: 2,
58
87
  createdAt: /* @__PURE__ */ new Date(),
59
88
  updatedAt: /* @__PURE__ */ new Date()
60
89
  }