@btst/stack 1.5.0 → 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 (325) 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/blog/client/components/pages/edit-post-page.internal.cjs +7 -6
  8. package/dist/packages/better-stack/src/plugins/blog/client/components/pages/edit-post-page.internal.mjs +7 -6
  9. package/dist/packages/better-stack/src/plugins/blog/client/components/pages/home-page.internal.cjs +9 -7
  10. package/dist/packages/better-stack/src/plugins/blog/client/components/pages/home-page.internal.mjs +9 -7
  11. package/dist/packages/better-stack/src/plugins/blog/client/components/pages/new-post-page.internal.cjs +7 -6
  12. package/dist/packages/better-stack/src/plugins/blog/client/components/pages/new-post-page.internal.mjs +7 -6
  13. package/dist/packages/better-stack/src/plugins/blog/client/components/pages/post-page.internal.cjs +7 -5
  14. package/dist/packages/better-stack/src/plugins/blog/client/components/pages/post-page.internal.mjs +7 -5
  15. package/dist/packages/better-stack/src/plugins/blog/client/components/pages/tag-page.internal.cjs +5 -3
  16. package/dist/packages/better-stack/src/plugins/blog/client/components/pages/tag-page.internal.mjs +5 -3
  17. package/dist/packages/better-stack/src/plugins/blog/client/plugin.cjs +6 -6
  18. package/dist/packages/better-stack/src/plugins/blog/client/plugin.mjs +6 -6
  19. package/dist/packages/better-stack/src/plugins/cms/api/plugin.cjs +33 -4
  20. package/dist/packages/better-stack/src/plugins/cms/api/plugin.mjs +33 -4
  21. package/dist/packages/better-stack/src/plugins/cms/client/components/forms/content-form.cjs +26 -141
  22. package/dist/packages/better-stack/src/plugins/cms/client/components/forms/content-form.mjs +24 -139
  23. package/dist/packages/better-stack/src/plugins/cms/client/components/forms/file-upload.cjs +2 -2
  24. package/dist/packages/better-stack/src/plugins/cms/client/components/forms/file-upload.mjs +2 -2
  25. package/dist/packages/better-stack/src/plugins/cms/client/components/pages/content-editor-page.internal.cjs +19 -2
  26. package/dist/packages/better-stack/src/plugins/cms/client/components/pages/content-editor-page.internal.mjs +19 -2
  27. package/dist/packages/better-stack/src/plugins/cms/client/components/pages/content-list-page.internal.cjs +19 -6
  28. package/dist/packages/better-stack/src/plugins/cms/client/components/pages/content-list-page.internal.mjs +19 -6
  29. package/dist/packages/better-stack/src/plugins/cms/client/components/pages/dashboard-page.internal.cjs +18 -2
  30. package/dist/packages/better-stack/src/plugins/cms/client/components/pages/dashboard-page.internal.mjs +18 -2
  31. package/dist/packages/better-stack/src/plugins/cms/client/plugin.cjs +112 -22
  32. package/dist/packages/better-stack/src/plugins/cms/client/plugin.mjs +112 -22
  33. package/dist/packages/better-stack/src/plugins/cms/db.cjs +4 -0
  34. package/dist/packages/better-stack/src/plugins/cms/db.mjs +4 -0
  35. package/dist/packages/better-stack/src/plugins/cms/schemas.cjs +0 -1
  36. package/dist/packages/better-stack/src/plugins/cms/schemas.mjs +0 -1
  37. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/common/label.cjs +2 -2
  38. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/common/label.mjs +2 -2
  39. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/config.cjs +0 -2
  40. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/config.mjs +0 -2
  41. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/array.cjs +15 -29
  42. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/array.mjs +16 -16
  43. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/checkbox.cjs +2 -2
  44. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/checkbox.mjs +2 -2
  45. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/date.cjs +29 -5
  46. package/dist/packages/ui/src/components/auto-form/fields/date.mjs +59 -0
  47. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/enum.cjs +2 -2
  48. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/enum.mjs +2 -2
  49. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/input.cjs +2 -2
  50. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/input.mjs +2 -2
  51. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/number.cjs +2 -2
  52. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/number.mjs +2 -2
  53. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/object.cjs +7 -4
  54. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/object.mjs +8 -5
  55. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/radio-group.cjs +2 -2
  56. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/radio-group.mjs +2 -2
  57. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/switch.cjs +2 -2
  58. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/switch.mjs +2 -2
  59. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/textarea.cjs +2 -2
  60. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/textarea.mjs +2 -2
  61. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/index.cjs +3 -3
  62. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/index.mjs +3 -3
  63. package/dist/packages/ui/src/components/auto-form/utils.cjs +306 -0
  64. package/dist/packages/ui/src/components/auto-form/utils.mjs +294 -0
  65. package/dist/packages/ui/src/components/calendar.cjs +2 -2
  66. package/dist/packages/ui/src/components/calendar.mjs +2 -2
  67. package/dist/packages/{better-stack/src/plugins/blog/client/components/shared → ui/src/hooks}/use-route-lifecycle.cjs +8 -9
  68. package/dist/packages/{better-stack/src/plugins/blog/client/components/shared → ui/src/hooks}/use-route-lifecycle.mjs +1 -2
  69. package/dist/plugins/blog/api/index.d.cts +1 -1
  70. package/dist/plugins/blog/api/index.d.mts +1 -1
  71. package/dist/plugins/blog/api/index.d.ts +1 -1
  72. package/dist/plugins/blog/client/hooks/index.d.cts +2 -2
  73. package/dist/plugins/blog/client/hooks/index.d.mts +2 -2
  74. package/dist/plugins/blog/client/hooks/index.d.ts +2 -2
  75. package/dist/plugins/blog/client/index.d.cts +1 -1
  76. package/dist/plugins/blog/client/index.d.mts +1 -1
  77. package/dist/plugins/blog/client/index.d.ts +1 -1
  78. package/dist/plugins/blog/query-keys.d.cts +2 -2
  79. package/dist/plugins/blog/query-keys.d.mts +2 -2
  80. package/dist/plugins/blog/query-keys.d.ts +2 -2
  81. package/dist/plugins/cms/api/index.d.cts +2 -4
  82. package/dist/plugins/cms/api/index.d.mts +2 -4
  83. package/dist/plugins/cms/api/index.d.ts +2 -4
  84. package/dist/plugins/cms/client/hooks/index.d.cts +1 -4
  85. package/dist/plugins/cms/client/hooks/index.d.mts +1 -4
  86. package/dist/plugins/cms/client/hooks/index.d.ts +1 -4
  87. package/dist/plugins/cms/client/index.d.cts +178 -5
  88. package/dist/plugins/cms/client/index.d.mts +178 -5
  89. package/dist/plugins/cms/client/index.d.ts +178 -5
  90. package/dist/plugins/cms/query-keys.d.cts +1 -4
  91. package/dist/plugins/cms/query-keys.d.mts +1 -4
  92. package/dist/plugins/cms/query-keys.d.ts +1 -4
  93. package/dist/shared/{stack.DwnJA87a.d.ts → stack.L-UFwz2G.d.cts} +14 -14
  94. package/dist/shared/{stack.BwkyFwF8.d.cts → stack.L-UFwz2G.d.mts} +14 -14
  95. package/dist/shared/{stack.DBqxCs0V.d.mts → stack.L-UFwz2G.d.ts} +14 -14
  96. package/package.json +1 -1
  97. package/src/plugins/blog/client/components/pages/edit-post-page.internal.tsx +4 -3
  98. package/src/plugins/blog/client/components/pages/home-page.internal.tsx +4 -2
  99. package/src/plugins/blog/client/components/pages/new-post-page.internal.tsx +4 -3
  100. package/src/plugins/blog/client/components/pages/post-page.internal.tsx +4 -2
  101. package/src/plugins/blog/client/components/pages/tag-page.internal.tsx +4 -2
  102. package/src/plugins/blog/client/plugin.tsx +10 -9
  103. package/src/plugins/cms/__tests__/schema-roundtrip.test.ts +195 -0
  104. package/src/plugins/cms/api/plugin.ts +65 -4
  105. package/src/plugins/cms/client/components/forms/content-form.tsx +50 -234
  106. package/src/plugins/cms/client/components/forms/file-upload.tsx +3 -3
  107. package/src/plugins/cms/client/components/pages/content-editor-page.internal.tsx +21 -3
  108. package/src/plugins/cms/client/components/pages/content-list-page.internal.tsx +21 -6
  109. package/src/plugins/cms/client/components/pages/dashboard-page.internal.tsx +20 -3
  110. package/src/plugins/cms/client/index.ts +2 -2
  111. package/src/plugins/cms/client/overrides.ts +1 -1
  112. package/src/plugins/cms/client/plugin.tsx +236 -25
  113. package/src/plugins/cms/db.ts +4 -0
  114. package/src/plugins/cms/schemas.ts +1 -1
  115. package/src/plugins/cms/types.ts +14 -17
  116. package/dist/packages/ui/src/components/ui/auto-form/fields/date.mjs +0 -35
  117. package/dist/packages/ui/src/components/ui/auto-form/fields/file.cjs +0 -63
  118. package/dist/packages/ui/src/components/ui/auto-form/fields/file.mjs +0 -61
  119. package/dist/packages/ui/src/components/ui/auto-form/utils.cjs +0 -179
  120. package/dist/packages/ui/src/components/ui/auto-form/utils.mjs +0 -169
  121. package/dist/shared/stack.NZJogTUn.d.cts +0 -66
  122. package/dist/shared/stack.NZJogTUn.d.mts +0 -66
  123. package/dist/shared/stack.NZJogTUn.d.ts +0 -66
  124. package/src/plugins/blog/client/components/shared/use-route-lifecycle.tsx +0 -68
  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/UI.cjs +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/UI.mjs +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/classes/CalendarDay.cjs +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/classes/CalendarDay.mjs +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/classes/CalendarMonth.cjs +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/classes/CalendarMonth.mjs +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/classes/CalendarWeek.cjs +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/classes/CalendarWeek.mjs +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/classes/DateLib.cjs +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/classes/DateLib.mjs +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/Button.cjs +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/Button.mjs +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/CaptionLabel.cjs +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/CaptionLabel.mjs +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/Chevron.cjs +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/Chevron.mjs +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/Day.cjs +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/Day.mjs +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/DayButton.cjs +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/components/DayButton.mjs +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/components/Dropdown.cjs +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/components/Dropdown.mjs +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/components/DropdownNav.cjs +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/components/DropdownNav.mjs +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/components/Footer.cjs +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/components/Footer.mjs +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/components/Month.cjs +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/components/Month.mjs +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/components/MonthCaption.cjs +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/components/MonthCaption.mjs +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/components/MonthGrid.cjs +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/components/MonthGrid.mjs +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/components/Months.cjs +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/components/Months.mjs +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/components/MonthsDropdown.cjs +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/components/MonthsDropdown.mjs +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/components/Nav.cjs +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/components/Nav.mjs +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/components/NextMonthButton.cjs +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/components/NextMonthButton.mjs +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/components/Option.cjs +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/components/Option.mjs +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/components/PreviousMonthButton.cjs +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/components/PreviousMonthButton.mjs +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/components/Root.cjs +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/components/Root.mjs +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/components/Select.cjs +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/components/Select.mjs +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/components/Week.cjs +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/components/Week.mjs +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/components/WeekNumber.cjs +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/components/WeekNumber.mjs +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/components/WeekNumberHeader.cjs +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/components/WeekNumberHeader.mjs +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/components/Weekday.cjs +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/components/Weekday.mjs +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/components/Weekdays.cjs +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/components/Weekdays.mjs +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/components/Weeks.cjs +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/components/Weeks.mjs +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/components/YearsDropdown.cjs +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/components/YearsDropdown.mjs +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/components/custom-components.cjs +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/components/custom-components.mjs +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/formatters/formatCaption.cjs +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/formatters/formatCaption.mjs +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/formatters/formatDay.cjs +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/formatters/formatDay.mjs +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/formatters/formatMonthDropdown.cjs +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/formatters/formatMonthDropdown.mjs +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/formatters/formatWeekNumber.cjs +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/formatters/formatWeekNumber.mjs +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/formatters/formatWeekNumberHeader.cjs +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/formatters/formatWeekNumberHeader.mjs +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/formatters/formatWeekdayName.cjs +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/formatters/formatWeekdayName.mjs +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/formatters/formatYearDropdown.cjs +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/formatters/formatYearDropdown.mjs +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/formatters/index.cjs +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/formatters/index.mjs +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/calculateFocusTarget.cjs +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/calculateFocusTarget.mjs +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/createGetModifiers.cjs +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/createGetModifiers.mjs +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/endOfBroadcastWeek.cjs +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/endOfBroadcastWeek.mjs +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/getBroadcastWeeksInMonth.cjs +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/getBroadcastWeeksInMonth.mjs +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/getClassNamesForModifiers.cjs +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/helpers/getClassNamesForModifiers.mjs +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/helpers/getComponents.cjs +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/helpers/getComponents.mjs +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/helpers/getDataAttributes.cjs +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/helpers/getDataAttributes.mjs +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/helpers/getDates.cjs +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/helpers/getDates.mjs +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/helpers/getDays.cjs +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/helpers/getDays.mjs +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/helpers/getDefaultClassNames.cjs +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/helpers/getDefaultClassNames.mjs +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/helpers/getDisplayMonths.cjs +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/helpers/getDisplayMonths.mjs +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/helpers/getFocusableDate.cjs +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/helpers/getFocusableDate.mjs +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/helpers/getFormatters.cjs +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/helpers/getFormatters.mjs +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/helpers/getInitialMonth.cjs +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/helpers/getInitialMonth.mjs +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/helpers/getLabels.cjs +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/helpers/getLabels.mjs +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/helpers/getMonthOptions.cjs +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/helpers/getMonthOptions.mjs +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/helpers/getMonths.cjs +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/helpers/getMonths.mjs +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/helpers/getNavMonth.cjs +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/helpers/getNavMonth.mjs +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/helpers/getNextFocus.cjs +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/helpers/getNextFocus.mjs +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/helpers/getNextMonth.cjs +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/helpers/getNextMonth.mjs +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/helpers/getPreviousMonth.cjs +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/helpers/getPreviousMonth.mjs +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/helpers/getStyleForModifiers.cjs +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/helpers/getStyleForModifiers.mjs +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/helpers/getWeekdays.cjs +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/helpers/getWeekdays.mjs +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/helpers/getWeeks.cjs +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/helpers/getWeeks.mjs +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/helpers/getYearOptions.cjs +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/helpers/getYearOptions.mjs +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/helpers/startOfBroadcastWeek.cjs +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/helpers/startOfBroadcastWeek.mjs +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/helpers/useControlledValue.cjs +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/helpers/useControlledValue.mjs +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/labels/index.cjs +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/labels/index.mjs +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/labels/labelDayButton.cjs +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/labels/labelDayButton.mjs +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/labels/labelGrid.cjs +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/labels/labelGrid.mjs +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/labels/labelGridcell.cjs +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/labels/labelGridcell.mjs +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/labels/labelMonthDropdown.cjs +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/labels/labelMonthDropdown.mjs +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/labels/labelNav.cjs +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/labels/labelNav.mjs +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/labels/labelNext.cjs +0 -0
  272. 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
  273. 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
  274. 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
  275. 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
  276. 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
  277. 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
  278. 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
  279. 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
  280. 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
  281. 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
  282. 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
  283. 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
  284. 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
  285. 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
  286. 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
  287. 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
  288. 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
  289. 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
  290. 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
  291. 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
  292. 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
  293. 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
  294. 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
  295. 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
  296. 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
  297. 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
  298. 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
  299. 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
  300. 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
  301. 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
  302. 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
  303. 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
  304. 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
  305. 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
  306. 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
  307. 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
  308. 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
  309. 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
  310. 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
  311. 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
  312. 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
  313. 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
  314. 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
  315. 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
  316. 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
  317. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/common/tooltip.cjs +0 -0
  318. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/common/tooltip.mjs +0 -0
  319. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/dependencies.cjs +0 -0
  320. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/dependencies.mjs +0 -0
  321. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/types.cjs +0 -0
  322. package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/types.mjs +0 -0
  323. package/dist/shared/{stack.CcI4sYJP.d.cts → stack.DLhzx1-D.d.cts} +1 -1
  324. package/dist/shared/{stack.CcI4sYJP.d.mts → stack.DLhzx1-D.d.mts} +1 -1
  325. package/dist/shared/{stack.CcI4sYJP.d.ts → stack.DLhzx1-D.d.ts} +1 -1
@@ -3,32 +3,96 @@ import * as react from 'react';
3
3
  import { ComponentType } from 'react';
4
4
  import * as _btst_yar from '@btst/yar';
5
5
  import { QueryClient } from '@tanstack/react-query';
6
- import { a as AutoFormInputComponentProps } from '../../../shared/stack.NZJogTUn.cjs';
6
+ import { ControllerRenderProps, FieldValues } from 'react-hook-form';
7
+ import * as zod from 'zod';
7
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
- import 'react-hook-form';
9
- import 'zod';
10
9
 
11
10
  /**
12
11
  * Context passed to loader hooks
13
12
  */
14
13
  interface LoaderContext {
14
+ /** Current route path */
15
15
  path: string;
16
+ /** Route parameters (e.g., { typeSlug: "product", id: "123" }) */
16
17
  params?: Record<string, string>;
18
+ /** Whether rendering on server (true) or client (false) */
17
19
  isSSR: boolean;
20
+ /** Base URL for API calls */
18
21
  apiBaseURL: string;
22
+ /** Path where the API is mounted */
19
23
  apiBasePath: string;
24
+ /** Optional headers for the request */
20
25
  headers?: Headers;
26
+ /** Additional context properties */
27
+ [key: string]: unknown;
28
+ }
29
+ /**
30
+ * Hooks for CMS client plugin
31
+ * All hooks are optional and allow consumers to customize behavior
32
+ */
33
+ interface CMSClientHooks {
34
+ /**
35
+ * Called before loading the dashboard page. Return false to cancel loading.
36
+ * @param context - Loader context with path, params, etc.
37
+ */
38
+ beforeLoadDashboard?: (context: LoaderContext) => Promise<boolean> | boolean;
39
+ /**
40
+ * Called after the dashboard is loaded.
41
+ * @param context - Loader context
42
+ */
43
+ afterLoadDashboard?: (context: LoaderContext) => Promise<void> | void;
44
+ /**
45
+ * Called before loading a content list page. Return false to cancel loading.
46
+ * @param typeSlug - The content type slug
47
+ * @param context - Loader context
48
+ */
49
+ beforeLoadContentList?: (typeSlug: string, context: LoaderContext) => Promise<boolean> | boolean;
50
+ /**
51
+ * Called after a content list is loaded.
52
+ * @param typeSlug - The content type slug
53
+ * @param context - Loader context
54
+ */
55
+ afterLoadContentList?: (typeSlug: string, context: LoaderContext) => Promise<void> | void;
56
+ /**
57
+ * Called before loading the content editor page. Return false to cancel loading.
58
+ * @param typeSlug - The content type slug
59
+ * @param id - The content item ID (undefined for new items)
60
+ * @param context - Loader context
61
+ */
62
+ beforeLoadContentEditor?: (typeSlug: string, id: string | undefined, context: LoaderContext) => Promise<boolean> | boolean;
63
+ /**
64
+ * Called after the content editor is loaded.
65
+ * @param typeSlug - The content type slug
66
+ * @param id - The content item ID (undefined for new items)
67
+ * @param context - Loader context
68
+ */
69
+ afterLoadContentEditor?: (typeSlug: string, id: string | undefined, context: LoaderContext) => Promise<void> | void;
70
+ /**
71
+ * Called when a loading error occurs.
72
+ * Use this for redirects on authorization failures.
73
+ * @param error - The error that occurred
74
+ * @param context - Loader context
75
+ */
76
+ onLoadError?: (error: Error, context: LoaderContext) => Promise<void> | void;
21
77
  }
22
78
  /**
23
79
  * Configuration for CMS client plugin
24
80
  */
25
81
  interface CMSClientConfig {
82
+ /** Base URL for API calls (e.g., "http://localhost:3000") */
26
83
  apiBaseURL: string;
84
+ /** Path where the API is mounted (e.g., "/api/data") */
27
85
  apiBasePath: string;
86
+ /** Base URL of your site */
28
87
  siteBaseURL: string;
88
+ /** Path where pages are mounted (e.g., "/pages") */
29
89
  siteBasePath: string;
90
+ /** React Query client instance for caching */
30
91
  queryClient: QueryClient;
92
+ /** Optional headers for SSR (e.g., forwarding cookies) */
31
93
  headers?: Headers;
94
+ /** Optional hooks for customizing behavior (authorization, redirects, etc.) */
95
+ hooks?: CMSClientHooks;
32
96
  }
33
97
  /**
34
98
  * CMS client plugin
@@ -174,6 +238,115 @@ declare const CMS_LOCALIZATION: {
174
238
  };
175
239
  type CMSLocalization = typeof CMS_LOCALIZATION;
176
240
 
241
+ declare function AutoFormCheckbox({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
242
+
243
+ declare function AutoFormDate({ label, isRequired, field, fieldConfigItem, fieldProps, zodItem, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
244
+
245
+ declare function AutoFormEnum({ label, isRequired, field, fieldConfigItem, zodItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
246
+
247
+ declare function AutoFormInput({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
248
+
249
+ declare function AutoFormNumber({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
250
+
251
+ declare function AutoFormRadioGroup({ label, isRequired, field, zodItem, fieldProps, fieldConfigItem, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
252
+
253
+ declare function AutoFormSwitch({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
254
+
255
+ declare function AutoFormTextarea({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
256
+
257
+ declare const INPUT_COMPONENTS: {
258
+ checkbox: typeof AutoFormCheckbox;
259
+ date: typeof AutoFormDate;
260
+ select: typeof AutoFormEnum;
261
+ radio: typeof AutoFormRadioGroup;
262
+ switch: typeof AutoFormSwitch;
263
+ textarea: typeof AutoFormTextarea;
264
+ number: typeof AutoFormNumber;
265
+ fallback: typeof AutoFormInput;
266
+ };
267
+
268
+ /**
269
+ * Common input props shared by all field types.
270
+ */
271
+ interface BaseInputProps {
272
+ /** Whether the field is disabled */
273
+ disabled?: boolean;
274
+ /** Whether the field is read-only */
275
+ readOnly?: boolean;
276
+ /** Whether the field is required */
277
+ required?: boolean;
278
+ /** Whether to show the label (auto-form specific) */
279
+ showLabel?: boolean;
280
+ }
281
+ /**
282
+ * Generic input props that accept any field type.
283
+ * Use this when the backing type is not known at compile time.
284
+ *
285
+ * This is the catch-all type used for runtime flexibility.
286
+ */
287
+ interface SerializableInputProps extends BaseInputProps {
288
+ placeholder?: string;
289
+ type?: string;
290
+ defaultValue?: unknown;
291
+ min?: number | string;
292
+ max?: number | string;
293
+ step?: number | string;
294
+ minLength?: number;
295
+ maxLength?: number;
296
+ pattern?: string;
297
+ autoComplete?: string;
298
+ /** Allow additional props for extensibility */
299
+ [key: string]: unknown;
300
+ }
301
+
302
+ /**
303
+ * Input props for form fields.
304
+ *
305
+ * This is the runtime type that accepts any input props.
306
+ * For type-safe props, use the discriminated types:
307
+ * - StringInputProps for text inputs
308
+ * - NumberInputProps for number inputs
309
+ * - BooleanInputProps for checkboxes/switches
310
+ * - DateInputProps for date pickers
311
+ * - EnumInputProps for selects/radios
312
+ */
313
+ type FieldInputProps = SerializableInputProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof SerializableInputProps> & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, keyof SerializableInputProps>;
314
+ /**
315
+ * Configuration for a single field in AutoForm.
316
+ *
317
+ * Note: This type is designed to align with form-builder's FormBuilderFieldProps
318
+ * so that JSON Schema properties can be easily converted to field configs.
319
+ */
320
+ type FieldConfigItem = {
321
+ /** Description text or React node */
322
+ description?: React.ReactNode;
323
+ /** Input props passed to the field component */
324
+ inputProps?: FieldInputProps;
325
+ /** Display label */
326
+ label?: string;
327
+ /** Field type override - built-in type or custom component */
328
+ fieldType?: keyof typeof INPUT_COMPONENTS | React.FC<AutoFormInputComponentProps>;
329
+ /** Wrapper component for custom field layout */
330
+ renderParent?: (props: {
331
+ children: React.ReactNode;
332
+ }) => React.ReactElement | null;
333
+ /** Display order for field ordering */
334
+ order?: number;
335
+ };
336
+ /**
337
+ * A FormInput component can handle a specific Zod type (e.g. "ZodBoolean")
338
+ */
339
+ type AutoFormInputComponentProps = {
340
+ zodInputProps: React.InputHTMLAttributes<HTMLInputElement>;
341
+ field: ControllerRenderProps<FieldValues, any>;
342
+ fieldConfigItem: FieldConfigItem;
343
+ label: string;
344
+ isRequired: boolean;
345
+ fieldProps: any;
346
+ zodItem: zod.ZodType;
347
+ className?: string;
348
+ };
349
+
177
350
  /**
178
351
  * Context passed to lifecycle hooks
179
352
  */
@@ -340,5 +513,5 @@ interface CMSFileUploadProps extends AutoFormInputComponentProps {
340
513
  */
341
514
  declare function CMSFileUpload({ label, isRequired, fieldConfigItem, fieldProps, field, uploadImage, }: CMSFileUploadProps): react_jsx_runtime.JSX.Element;
342
515
 
343
- export { AutoFormInputComponentProps, CMSFileUpload, cmsClientPlugin };
344
- export type { CMSClientConfig, CMSFileUploadProps, CMSLocalization, CMSPluginOverrides, LoaderContext, RouteContext };
516
+ export { CMSFileUpload, cmsClientPlugin };
517
+ export type { AutoFormInputComponentProps, CMSClientConfig, CMSClientHooks, CMSFileUploadProps, CMSLocalization, CMSPluginOverrides, LoaderContext, RouteContext };
@@ -3,32 +3,96 @@ import * as react from 'react';
3
3
  import { ComponentType } from 'react';
4
4
  import * as _btst_yar from '@btst/yar';
5
5
  import { QueryClient } from '@tanstack/react-query';
6
- import { a as AutoFormInputComponentProps } from '../../../shared/stack.NZJogTUn.mjs';
6
+ import { ControllerRenderProps, FieldValues } from 'react-hook-form';
7
+ import * as zod from 'zod';
7
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
- import 'react-hook-form';
9
- import 'zod';
10
9
 
11
10
  /**
12
11
  * Context passed to loader hooks
13
12
  */
14
13
  interface LoaderContext {
14
+ /** Current route path */
15
15
  path: string;
16
+ /** Route parameters (e.g., { typeSlug: "product", id: "123" }) */
16
17
  params?: Record<string, string>;
18
+ /** Whether rendering on server (true) or client (false) */
17
19
  isSSR: boolean;
20
+ /** Base URL for API calls */
18
21
  apiBaseURL: string;
22
+ /** Path where the API is mounted */
19
23
  apiBasePath: string;
24
+ /** Optional headers for the request */
20
25
  headers?: Headers;
26
+ /** Additional context properties */
27
+ [key: string]: unknown;
28
+ }
29
+ /**
30
+ * Hooks for CMS client plugin
31
+ * All hooks are optional and allow consumers to customize behavior
32
+ */
33
+ interface CMSClientHooks {
34
+ /**
35
+ * Called before loading the dashboard page. Return false to cancel loading.
36
+ * @param context - Loader context with path, params, etc.
37
+ */
38
+ beforeLoadDashboard?: (context: LoaderContext) => Promise<boolean> | boolean;
39
+ /**
40
+ * Called after the dashboard is loaded.
41
+ * @param context - Loader context
42
+ */
43
+ afterLoadDashboard?: (context: LoaderContext) => Promise<void> | void;
44
+ /**
45
+ * Called before loading a content list page. Return false to cancel loading.
46
+ * @param typeSlug - The content type slug
47
+ * @param context - Loader context
48
+ */
49
+ beforeLoadContentList?: (typeSlug: string, context: LoaderContext) => Promise<boolean> | boolean;
50
+ /**
51
+ * Called after a content list is loaded.
52
+ * @param typeSlug - The content type slug
53
+ * @param context - Loader context
54
+ */
55
+ afterLoadContentList?: (typeSlug: string, context: LoaderContext) => Promise<void> | void;
56
+ /**
57
+ * Called before loading the content editor page. Return false to cancel loading.
58
+ * @param typeSlug - The content type slug
59
+ * @param id - The content item ID (undefined for new items)
60
+ * @param context - Loader context
61
+ */
62
+ beforeLoadContentEditor?: (typeSlug: string, id: string | undefined, context: LoaderContext) => Promise<boolean> | boolean;
63
+ /**
64
+ * Called after the content editor is loaded.
65
+ * @param typeSlug - The content type slug
66
+ * @param id - The content item ID (undefined for new items)
67
+ * @param context - Loader context
68
+ */
69
+ afterLoadContentEditor?: (typeSlug: string, id: string | undefined, context: LoaderContext) => Promise<void> | void;
70
+ /**
71
+ * Called when a loading error occurs.
72
+ * Use this for redirects on authorization failures.
73
+ * @param error - The error that occurred
74
+ * @param context - Loader context
75
+ */
76
+ onLoadError?: (error: Error, context: LoaderContext) => Promise<void> | void;
21
77
  }
22
78
  /**
23
79
  * Configuration for CMS client plugin
24
80
  */
25
81
  interface CMSClientConfig {
82
+ /** Base URL for API calls (e.g., "http://localhost:3000") */
26
83
  apiBaseURL: string;
84
+ /** Path where the API is mounted (e.g., "/api/data") */
27
85
  apiBasePath: string;
86
+ /** Base URL of your site */
28
87
  siteBaseURL: string;
88
+ /** Path where pages are mounted (e.g., "/pages") */
29
89
  siteBasePath: string;
90
+ /** React Query client instance for caching */
30
91
  queryClient: QueryClient;
92
+ /** Optional headers for SSR (e.g., forwarding cookies) */
31
93
  headers?: Headers;
94
+ /** Optional hooks for customizing behavior (authorization, redirects, etc.) */
95
+ hooks?: CMSClientHooks;
32
96
  }
33
97
  /**
34
98
  * CMS client plugin
@@ -174,6 +238,115 @@ declare const CMS_LOCALIZATION: {
174
238
  };
175
239
  type CMSLocalization = typeof CMS_LOCALIZATION;
176
240
 
241
+ declare function AutoFormCheckbox({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
242
+
243
+ declare function AutoFormDate({ label, isRequired, field, fieldConfigItem, fieldProps, zodItem, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
244
+
245
+ declare function AutoFormEnum({ label, isRequired, field, fieldConfigItem, zodItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
246
+
247
+ declare function AutoFormInput({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
248
+
249
+ declare function AutoFormNumber({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
250
+
251
+ declare function AutoFormRadioGroup({ label, isRequired, field, zodItem, fieldProps, fieldConfigItem, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
252
+
253
+ declare function AutoFormSwitch({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
254
+
255
+ declare function AutoFormTextarea({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
256
+
257
+ declare const INPUT_COMPONENTS: {
258
+ checkbox: typeof AutoFormCheckbox;
259
+ date: typeof AutoFormDate;
260
+ select: typeof AutoFormEnum;
261
+ radio: typeof AutoFormRadioGroup;
262
+ switch: typeof AutoFormSwitch;
263
+ textarea: typeof AutoFormTextarea;
264
+ number: typeof AutoFormNumber;
265
+ fallback: typeof AutoFormInput;
266
+ };
267
+
268
+ /**
269
+ * Common input props shared by all field types.
270
+ */
271
+ interface BaseInputProps {
272
+ /** Whether the field is disabled */
273
+ disabled?: boolean;
274
+ /** Whether the field is read-only */
275
+ readOnly?: boolean;
276
+ /** Whether the field is required */
277
+ required?: boolean;
278
+ /** Whether to show the label (auto-form specific) */
279
+ showLabel?: boolean;
280
+ }
281
+ /**
282
+ * Generic input props that accept any field type.
283
+ * Use this when the backing type is not known at compile time.
284
+ *
285
+ * This is the catch-all type used for runtime flexibility.
286
+ */
287
+ interface SerializableInputProps extends BaseInputProps {
288
+ placeholder?: string;
289
+ type?: string;
290
+ defaultValue?: unknown;
291
+ min?: number | string;
292
+ max?: number | string;
293
+ step?: number | string;
294
+ minLength?: number;
295
+ maxLength?: number;
296
+ pattern?: string;
297
+ autoComplete?: string;
298
+ /** Allow additional props for extensibility */
299
+ [key: string]: unknown;
300
+ }
301
+
302
+ /**
303
+ * Input props for form fields.
304
+ *
305
+ * This is the runtime type that accepts any input props.
306
+ * For type-safe props, use the discriminated types:
307
+ * - StringInputProps for text inputs
308
+ * - NumberInputProps for number inputs
309
+ * - BooleanInputProps for checkboxes/switches
310
+ * - DateInputProps for date pickers
311
+ * - EnumInputProps for selects/radios
312
+ */
313
+ type FieldInputProps = SerializableInputProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof SerializableInputProps> & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, keyof SerializableInputProps>;
314
+ /**
315
+ * Configuration for a single field in AutoForm.
316
+ *
317
+ * Note: This type is designed to align with form-builder's FormBuilderFieldProps
318
+ * so that JSON Schema properties can be easily converted to field configs.
319
+ */
320
+ type FieldConfigItem = {
321
+ /** Description text or React node */
322
+ description?: React.ReactNode;
323
+ /** Input props passed to the field component */
324
+ inputProps?: FieldInputProps;
325
+ /** Display label */
326
+ label?: string;
327
+ /** Field type override - built-in type or custom component */
328
+ fieldType?: keyof typeof INPUT_COMPONENTS | React.FC<AutoFormInputComponentProps>;
329
+ /** Wrapper component for custom field layout */
330
+ renderParent?: (props: {
331
+ children: React.ReactNode;
332
+ }) => React.ReactElement | null;
333
+ /** Display order for field ordering */
334
+ order?: number;
335
+ };
336
+ /**
337
+ * A FormInput component can handle a specific Zod type (e.g. "ZodBoolean")
338
+ */
339
+ type AutoFormInputComponentProps = {
340
+ zodInputProps: React.InputHTMLAttributes<HTMLInputElement>;
341
+ field: ControllerRenderProps<FieldValues, any>;
342
+ fieldConfigItem: FieldConfigItem;
343
+ label: string;
344
+ isRequired: boolean;
345
+ fieldProps: any;
346
+ zodItem: zod.ZodType;
347
+ className?: string;
348
+ };
349
+
177
350
  /**
178
351
  * Context passed to lifecycle hooks
179
352
  */
@@ -340,5 +513,5 @@ interface CMSFileUploadProps extends AutoFormInputComponentProps {
340
513
  */
341
514
  declare function CMSFileUpload({ label, isRequired, fieldConfigItem, fieldProps, field, uploadImage, }: CMSFileUploadProps): react_jsx_runtime.JSX.Element;
342
515
 
343
- export { AutoFormInputComponentProps, CMSFileUpload, cmsClientPlugin };
344
- export type { CMSClientConfig, CMSFileUploadProps, CMSLocalization, CMSPluginOverrides, LoaderContext, RouteContext };
516
+ export { CMSFileUpload, cmsClientPlugin };
517
+ export type { AutoFormInputComponentProps, CMSClientConfig, CMSClientHooks, CMSFileUploadProps, CMSLocalization, CMSPluginOverrides, LoaderContext, RouteContext };
@@ -3,32 +3,96 @@ import * as react from 'react';
3
3
  import { ComponentType } from 'react';
4
4
  import * as _btst_yar from '@btst/yar';
5
5
  import { QueryClient } from '@tanstack/react-query';
6
- import { a as AutoFormInputComponentProps } from '../../../shared/stack.NZJogTUn.js';
6
+ import { ControllerRenderProps, FieldValues } from 'react-hook-form';
7
+ import * as zod from 'zod';
7
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
- import 'react-hook-form';
9
- import 'zod';
10
9
 
11
10
  /**
12
11
  * Context passed to loader hooks
13
12
  */
14
13
  interface LoaderContext {
14
+ /** Current route path */
15
15
  path: string;
16
+ /** Route parameters (e.g., { typeSlug: "product", id: "123" }) */
16
17
  params?: Record<string, string>;
18
+ /** Whether rendering on server (true) or client (false) */
17
19
  isSSR: boolean;
20
+ /** Base URL for API calls */
18
21
  apiBaseURL: string;
22
+ /** Path where the API is mounted */
19
23
  apiBasePath: string;
24
+ /** Optional headers for the request */
20
25
  headers?: Headers;
26
+ /** Additional context properties */
27
+ [key: string]: unknown;
28
+ }
29
+ /**
30
+ * Hooks for CMS client plugin
31
+ * All hooks are optional and allow consumers to customize behavior
32
+ */
33
+ interface CMSClientHooks {
34
+ /**
35
+ * Called before loading the dashboard page. Return false to cancel loading.
36
+ * @param context - Loader context with path, params, etc.
37
+ */
38
+ beforeLoadDashboard?: (context: LoaderContext) => Promise<boolean> | boolean;
39
+ /**
40
+ * Called after the dashboard is loaded.
41
+ * @param context - Loader context
42
+ */
43
+ afterLoadDashboard?: (context: LoaderContext) => Promise<void> | void;
44
+ /**
45
+ * Called before loading a content list page. Return false to cancel loading.
46
+ * @param typeSlug - The content type slug
47
+ * @param context - Loader context
48
+ */
49
+ beforeLoadContentList?: (typeSlug: string, context: LoaderContext) => Promise<boolean> | boolean;
50
+ /**
51
+ * Called after a content list is loaded.
52
+ * @param typeSlug - The content type slug
53
+ * @param context - Loader context
54
+ */
55
+ afterLoadContentList?: (typeSlug: string, context: LoaderContext) => Promise<void> | void;
56
+ /**
57
+ * Called before loading the content editor page. Return false to cancel loading.
58
+ * @param typeSlug - The content type slug
59
+ * @param id - The content item ID (undefined for new items)
60
+ * @param context - Loader context
61
+ */
62
+ beforeLoadContentEditor?: (typeSlug: string, id: string | undefined, context: LoaderContext) => Promise<boolean> | boolean;
63
+ /**
64
+ * Called after the content editor is loaded.
65
+ * @param typeSlug - The content type slug
66
+ * @param id - The content item ID (undefined for new items)
67
+ * @param context - Loader context
68
+ */
69
+ afterLoadContentEditor?: (typeSlug: string, id: string | undefined, context: LoaderContext) => Promise<void> | void;
70
+ /**
71
+ * Called when a loading error occurs.
72
+ * Use this for redirects on authorization failures.
73
+ * @param error - The error that occurred
74
+ * @param context - Loader context
75
+ */
76
+ onLoadError?: (error: Error, context: LoaderContext) => Promise<void> | void;
21
77
  }
22
78
  /**
23
79
  * Configuration for CMS client plugin
24
80
  */
25
81
  interface CMSClientConfig {
82
+ /** Base URL for API calls (e.g., "http://localhost:3000") */
26
83
  apiBaseURL: string;
84
+ /** Path where the API is mounted (e.g., "/api/data") */
27
85
  apiBasePath: string;
86
+ /** Base URL of your site */
28
87
  siteBaseURL: string;
88
+ /** Path where pages are mounted (e.g., "/pages") */
29
89
  siteBasePath: string;
90
+ /** React Query client instance for caching */
30
91
  queryClient: QueryClient;
92
+ /** Optional headers for SSR (e.g., forwarding cookies) */
31
93
  headers?: Headers;
94
+ /** Optional hooks for customizing behavior (authorization, redirects, etc.) */
95
+ hooks?: CMSClientHooks;
32
96
  }
33
97
  /**
34
98
  * CMS client plugin
@@ -174,6 +238,115 @@ declare const CMS_LOCALIZATION: {
174
238
  };
175
239
  type CMSLocalization = typeof CMS_LOCALIZATION;
176
240
 
241
+ declare function AutoFormCheckbox({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
242
+
243
+ declare function AutoFormDate({ label, isRequired, field, fieldConfigItem, fieldProps, zodItem, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
244
+
245
+ declare function AutoFormEnum({ label, isRequired, field, fieldConfigItem, zodItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
246
+
247
+ declare function AutoFormInput({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
248
+
249
+ declare function AutoFormNumber({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
250
+
251
+ declare function AutoFormRadioGroup({ label, isRequired, field, zodItem, fieldProps, fieldConfigItem, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
252
+
253
+ declare function AutoFormSwitch({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
254
+
255
+ declare function AutoFormTextarea({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
256
+
257
+ declare const INPUT_COMPONENTS: {
258
+ checkbox: typeof AutoFormCheckbox;
259
+ date: typeof AutoFormDate;
260
+ select: typeof AutoFormEnum;
261
+ radio: typeof AutoFormRadioGroup;
262
+ switch: typeof AutoFormSwitch;
263
+ textarea: typeof AutoFormTextarea;
264
+ number: typeof AutoFormNumber;
265
+ fallback: typeof AutoFormInput;
266
+ };
267
+
268
+ /**
269
+ * Common input props shared by all field types.
270
+ */
271
+ interface BaseInputProps {
272
+ /** Whether the field is disabled */
273
+ disabled?: boolean;
274
+ /** Whether the field is read-only */
275
+ readOnly?: boolean;
276
+ /** Whether the field is required */
277
+ required?: boolean;
278
+ /** Whether to show the label (auto-form specific) */
279
+ showLabel?: boolean;
280
+ }
281
+ /**
282
+ * Generic input props that accept any field type.
283
+ * Use this when the backing type is not known at compile time.
284
+ *
285
+ * This is the catch-all type used for runtime flexibility.
286
+ */
287
+ interface SerializableInputProps extends BaseInputProps {
288
+ placeholder?: string;
289
+ type?: string;
290
+ defaultValue?: unknown;
291
+ min?: number | string;
292
+ max?: number | string;
293
+ step?: number | string;
294
+ minLength?: number;
295
+ maxLength?: number;
296
+ pattern?: string;
297
+ autoComplete?: string;
298
+ /** Allow additional props for extensibility */
299
+ [key: string]: unknown;
300
+ }
301
+
302
+ /**
303
+ * Input props for form fields.
304
+ *
305
+ * This is the runtime type that accepts any input props.
306
+ * For type-safe props, use the discriminated types:
307
+ * - StringInputProps for text inputs
308
+ * - NumberInputProps for number inputs
309
+ * - BooleanInputProps for checkboxes/switches
310
+ * - DateInputProps for date pickers
311
+ * - EnumInputProps for selects/radios
312
+ */
313
+ type FieldInputProps = SerializableInputProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, keyof SerializableInputProps> & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, keyof SerializableInputProps>;
314
+ /**
315
+ * Configuration for a single field in AutoForm.
316
+ *
317
+ * Note: This type is designed to align with form-builder's FormBuilderFieldProps
318
+ * so that JSON Schema properties can be easily converted to field configs.
319
+ */
320
+ type FieldConfigItem = {
321
+ /** Description text or React node */
322
+ description?: React.ReactNode;
323
+ /** Input props passed to the field component */
324
+ inputProps?: FieldInputProps;
325
+ /** Display label */
326
+ label?: string;
327
+ /** Field type override - built-in type or custom component */
328
+ fieldType?: keyof typeof INPUT_COMPONENTS | React.FC<AutoFormInputComponentProps>;
329
+ /** Wrapper component for custom field layout */
330
+ renderParent?: (props: {
331
+ children: React.ReactNode;
332
+ }) => React.ReactElement | null;
333
+ /** Display order for field ordering */
334
+ order?: number;
335
+ };
336
+ /**
337
+ * A FormInput component can handle a specific Zod type (e.g. "ZodBoolean")
338
+ */
339
+ type AutoFormInputComponentProps = {
340
+ zodInputProps: React.InputHTMLAttributes<HTMLInputElement>;
341
+ field: ControllerRenderProps<FieldValues, any>;
342
+ fieldConfigItem: FieldConfigItem;
343
+ label: string;
344
+ isRequired: boolean;
345
+ fieldProps: any;
346
+ zodItem: zod.ZodType;
347
+ className?: string;
348
+ };
349
+
177
350
  /**
178
351
  * Context passed to lifecycle hooks
179
352
  */
@@ -340,5 +513,5 @@ interface CMSFileUploadProps extends AutoFormInputComponentProps {
340
513
  */
341
514
  declare function CMSFileUpload({ label, isRequired, fieldConfigItem, fieldProps, field, uploadImage, }: CMSFileUploadProps): react_jsx_runtime.JSX.Element;
342
515
 
343
- export { AutoFormInputComponentProps, CMSFileUpload, cmsClientPlugin };
344
- export type { CMSClientConfig, CMSFileUploadProps, CMSLocalization, CMSPluginOverrides, LoaderContext, RouteContext };
516
+ export { CMSFileUpload, cmsClientPlugin };
517
+ export type { AutoFormInputComponentProps, CMSClientConfig, CMSClientHooks, CMSFileUploadProps, CMSLocalization, CMSPluginOverrides, LoaderContext, RouteContext };
@@ -1,11 +1,8 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { createApiClient } from '@btst/stack/plugins/client';
3
- import { S as SerializedContentType, P as PaginatedContentItems, a as SerializedContentItemWithType } from '../../shared/stack.BwkyFwF8.cjs';
3
+ import { S as SerializedContentType, P as PaginatedContentItems, a as SerializedContentItemWithType } from '../../shared/stack.L-UFwz2G.cjs';
4
4
  import { CMSApiRouter } from './api/index.cjs';
5
5
  import 'zod';
6
- import '../../shared/stack.NZJogTUn.cjs';
7
- import 'react-hook-form';
8
- import 'react/jsx-runtime';
9
6
  import '@btst/stack/plugins/api';
10
7
  import 'better-call';
11
8