@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
@@ -1,179 +0,0 @@
1
- 'use strict';
2
-
3
- const z = require('zod');
4
-
5
- function getDefTypeName(schema) {
6
- const def = schema._zod?.def;
7
- return def?.type || "";
8
- }
9
- function beautifyObjectName(string) {
10
- let output = string.replace(/([A-Z])/g, " $1");
11
- output = output.charAt(0).toUpperCase() + output.slice(1);
12
- return output;
13
- }
14
- function getBaseSchema(schema) {
15
- if (!schema) return null;
16
- const def = schema._zod?.def;
17
- if (!def) return schema;
18
- if (def.innerType) {
19
- return getBaseSchema(def.innerType);
20
- }
21
- if (def.out) {
22
- return getBaseSchema(def.out);
23
- }
24
- if (def.schema) {
25
- return getBaseSchema(def.schema);
26
- }
27
- return schema;
28
- }
29
- function getBaseType(schema) {
30
- const baseSchema = getBaseSchema(schema);
31
- if (!baseSchema) return "";
32
- const typeName = getDefTypeName(baseSchema);
33
- const typeMap = {
34
- object: "ZodObject",
35
- array: "ZodArray",
36
- string: "ZodString",
37
- number: "ZodNumber",
38
- int: "ZodNumber",
39
- float: "ZodNumber",
40
- boolean: "ZodBoolean",
41
- date: "ZodDate",
42
- enum: "ZodEnum",
43
- nativeEnum: "ZodNativeEnum",
44
- literal: "ZodLiteral",
45
- union: "ZodUnion"
46
- };
47
- return typeMap[typeName] || typeName;
48
- }
49
- function getDefaultValueInZodStack(schema) {
50
- const def = schema._zod?.def;
51
- if (!def) return void 0;
52
- if (def.type === "default") {
53
- const defaultValue = def.defaultValue;
54
- if (typeof defaultValue === "function") {
55
- return defaultValue();
56
- }
57
- return defaultValue;
58
- }
59
- if (def.innerType) {
60
- return getDefaultValueInZodStack(def.innerType);
61
- }
62
- if (def.schema) {
63
- return getDefaultValueInZodStack(def.schema);
64
- }
65
- return void 0;
66
- }
67
- function getDefaultValues(schema, fieldConfig) {
68
- if (!schema) return null;
69
- const { shape } = schema;
70
- const defaultValues = {};
71
- if (!shape) return defaultValues;
72
- for (const key of Object.keys(shape)) {
73
- const item = shape[key];
74
- if (getBaseType(item) === "ZodObject") {
75
- const defaultItems = getDefaultValues(
76
- getBaseSchema(item),
77
- fieldConfig?.[key]
78
- );
79
- if (defaultItems !== null) {
80
- for (const defaultItemKey of Object.keys(defaultItems)) {
81
- const pathKey = `${key}.${defaultItemKey}`;
82
- defaultValues[pathKey] = defaultItems[defaultItemKey];
83
- }
84
- }
85
- } else {
86
- let defaultValue = getDefaultValueInZodStack(item);
87
- if ((defaultValue === null || defaultValue === "") && fieldConfig?.[key]?.inputProps) {
88
- defaultValue = (fieldConfig?.[key]?.inputProps).defaultValue;
89
- }
90
- if (defaultValue !== void 0) {
91
- defaultValues[key] = defaultValue;
92
- }
93
- }
94
- }
95
- return defaultValues;
96
- }
97
- function getObjectFormSchema(schema) {
98
- if (!schema) return schema;
99
- const def = schema._zod?.def;
100
- if (!def) return schema;
101
- if (def.type === "pipe") {
102
- return getObjectFormSchema(def.in);
103
- }
104
- if (def.innerType) {
105
- return getObjectFormSchema(def.innerType);
106
- }
107
- if (def.schema) {
108
- return getObjectFormSchema(def.schema);
109
- }
110
- return schema;
111
- }
112
- function getSchemaDescription(schema) {
113
- const registered = z.z.globalRegistry.get(schema);
114
- if (registered?.description) {
115
- return registered.description;
116
- }
117
- const def = schema._zod?.def;
118
- return def?.description;
119
- }
120
- function zodToHtmlInputProps(schema) {
121
- const def = schema._zod?.def;
122
- const defType = def?.type || "";
123
- if (["optional", "nullable"].includes(defType)) {
124
- return {
125
- ...zodToHtmlInputProps(def.innerType),
126
- required: false
127
- };
128
- }
129
- if (defType === "default") {
130
- return {
131
- ...zodToHtmlInputProps(def.innerType),
132
- required: false
133
- };
134
- }
135
- const inputProps = {
136
- required: true
137
- };
138
- const checks = def?.checks;
139
- if (!checks || !Array.isArray(checks)) {
140
- return inputProps;
141
- }
142
- const type = getBaseType(schema);
143
- for (const check of checks) {
144
- const checkKind = check.kind || check.type;
145
- if (checkKind === "min" || checkKind === "min_length") {
146
- if (type === "ZodString") {
147
- inputProps.minLength = check.value ?? check.minimum;
148
- } else {
149
- inputProps.min = check.value ?? check.minimum;
150
- }
151
- }
152
- if (checkKind === "max" || checkKind === "max_length") {
153
- if (type === "ZodString") {
154
- inputProps.maxLength = check.value ?? check.maximum;
155
- } else {
156
- inputProps.max = check.value ?? check.maximum;
157
- }
158
- }
159
- }
160
- return inputProps;
161
- }
162
- function sortFieldsByOrder(fieldConfig, keys) {
163
- const sortedFields = keys.sort((a, b) => {
164
- const fieldA = fieldConfig?.[a]?.order ?? 0;
165
- const fieldB = fieldConfig?.[b]?.order ?? 0;
166
- return fieldA - fieldB;
167
- });
168
- return sortedFields;
169
- }
170
-
171
- exports.beautifyObjectName = beautifyObjectName;
172
- exports.getBaseSchema = getBaseSchema;
173
- exports.getBaseType = getBaseType;
174
- exports.getDefaultValueInZodStack = getDefaultValueInZodStack;
175
- exports.getDefaultValues = getDefaultValues;
176
- exports.getObjectFormSchema = getObjectFormSchema;
177
- exports.getSchemaDescription = getSchemaDescription;
178
- exports.sortFieldsByOrder = sortFieldsByOrder;
179
- exports.zodToHtmlInputProps = zodToHtmlInputProps;
@@ -1,169 +0,0 @@
1
- import { z } from 'zod';
2
-
3
- function getDefTypeName(schema) {
4
- const def = schema._zod?.def;
5
- return def?.type || "";
6
- }
7
- function beautifyObjectName(string) {
8
- let output = string.replace(/([A-Z])/g, " $1");
9
- output = output.charAt(0).toUpperCase() + output.slice(1);
10
- return output;
11
- }
12
- function getBaseSchema(schema) {
13
- if (!schema) return null;
14
- const def = schema._zod?.def;
15
- if (!def) return schema;
16
- if (def.innerType) {
17
- return getBaseSchema(def.innerType);
18
- }
19
- if (def.out) {
20
- return getBaseSchema(def.out);
21
- }
22
- if (def.schema) {
23
- return getBaseSchema(def.schema);
24
- }
25
- return schema;
26
- }
27
- function getBaseType(schema) {
28
- const baseSchema = getBaseSchema(schema);
29
- if (!baseSchema) return "";
30
- const typeName = getDefTypeName(baseSchema);
31
- const typeMap = {
32
- object: "ZodObject",
33
- array: "ZodArray",
34
- string: "ZodString",
35
- number: "ZodNumber",
36
- int: "ZodNumber",
37
- float: "ZodNumber",
38
- boolean: "ZodBoolean",
39
- date: "ZodDate",
40
- enum: "ZodEnum",
41
- nativeEnum: "ZodNativeEnum",
42
- literal: "ZodLiteral",
43
- union: "ZodUnion"
44
- };
45
- return typeMap[typeName] || typeName;
46
- }
47
- function getDefaultValueInZodStack(schema) {
48
- const def = schema._zod?.def;
49
- if (!def) return void 0;
50
- if (def.type === "default") {
51
- const defaultValue = def.defaultValue;
52
- if (typeof defaultValue === "function") {
53
- return defaultValue();
54
- }
55
- return defaultValue;
56
- }
57
- if (def.innerType) {
58
- return getDefaultValueInZodStack(def.innerType);
59
- }
60
- if (def.schema) {
61
- return getDefaultValueInZodStack(def.schema);
62
- }
63
- return void 0;
64
- }
65
- function getDefaultValues(schema, fieldConfig) {
66
- if (!schema) return null;
67
- const { shape } = schema;
68
- const defaultValues = {};
69
- if (!shape) return defaultValues;
70
- for (const key of Object.keys(shape)) {
71
- const item = shape[key];
72
- if (getBaseType(item) === "ZodObject") {
73
- const defaultItems = getDefaultValues(
74
- getBaseSchema(item),
75
- fieldConfig?.[key]
76
- );
77
- if (defaultItems !== null) {
78
- for (const defaultItemKey of Object.keys(defaultItems)) {
79
- const pathKey = `${key}.${defaultItemKey}`;
80
- defaultValues[pathKey] = defaultItems[defaultItemKey];
81
- }
82
- }
83
- } else {
84
- let defaultValue = getDefaultValueInZodStack(item);
85
- if ((defaultValue === null || defaultValue === "") && fieldConfig?.[key]?.inputProps) {
86
- defaultValue = (fieldConfig?.[key]?.inputProps).defaultValue;
87
- }
88
- if (defaultValue !== void 0) {
89
- defaultValues[key] = defaultValue;
90
- }
91
- }
92
- }
93
- return defaultValues;
94
- }
95
- function getObjectFormSchema(schema) {
96
- if (!schema) return schema;
97
- const def = schema._zod?.def;
98
- if (!def) return schema;
99
- if (def.type === "pipe") {
100
- return getObjectFormSchema(def.in);
101
- }
102
- if (def.innerType) {
103
- return getObjectFormSchema(def.innerType);
104
- }
105
- if (def.schema) {
106
- return getObjectFormSchema(def.schema);
107
- }
108
- return schema;
109
- }
110
- function getSchemaDescription(schema) {
111
- const registered = z.globalRegistry.get(schema);
112
- if (registered?.description) {
113
- return registered.description;
114
- }
115
- const def = schema._zod?.def;
116
- return def?.description;
117
- }
118
- function zodToHtmlInputProps(schema) {
119
- const def = schema._zod?.def;
120
- const defType = def?.type || "";
121
- if (["optional", "nullable"].includes(defType)) {
122
- return {
123
- ...zodToHtmlInputProps(def.innerType),
124
- required: false
125
- };
126
- }
127
- if (defType === "default") {
128
- return {
129
- ...zodToHtmlInputProps(def.innerType),
130
- required: false
131
- };
132
- }
133
- const inputProps = {
134
- required: true
135
- };
136
- const checks = def?.checks;
137
- if (!checks || !Array.isArray(checks)) {
138
- return inputProps;
139
- }
140
- const type = getBaseType(schema);
141
- for (const check of checks) {
142
- const checkKind = check.kind || check.type;
143
- if (checkKind === "min" || checkKind === "min_length") {
144
- if (type === "ZodString") {
145
- inputProps.minLength = check.value ?? check.minimum;
146
- } else {
147
- inputProps.min = check.value ?? check.minimum;
148
- }
149
- }
150
- if (checkKind === "max" || checkKind === "max_length") {
151
- if (type === "ZodString") {
152
- inputProps.maxLength = check.value ?? check.maximum;
153
- } else {
154
- inputProps.max = check.value ?? check.maximum;
155
- }
156
- }
157
- }
158
- return inputProps;
159
- }
160
- function sortFieldsByOrder(fieldConfig, keys) {
161
- const sortedFields = keys.sort((a, b) => {
162
- const fieldA = fieldConfig?.[a]?.order ?? 0;
163
- const fieldB = fieldConfig?.[b]?.order ?? 0;
164
- return fieldA - fieldB;
165
- });
166
- return sortedFields;
167
- }
168
-
169
- export { beautifyObjectName, getBaseSchema, getBaseType, getDefaultValueInZodStack, getDefaultValues, getObjectFormSchema, getSchemaDescription, sortFieldsByOrder, zodToHtmlInputProps };
@@ -1,66 +0,0 @@
1
- import { ControllerRenderProps, FieldValues } from 'react-hook-form';
2
- import * as zod from 'zod';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
-
5
- declare function AutoFormCheckbox({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
6
-
7
- declare function AutoFormDate({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
8
-
9
- declare function AutoFormEnum({ label, isRequired, field, fieldConfigItem, zodItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
10
-
11
- declare function AutoFormFile({ label, isRequired, fieldConfigItem, fieldProps, field, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
12
-
13
- declare function AutoFormInput({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
14
-
15
- declare function AutoFormNumber({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
16
-
17
- declare function AutoFormRadioGroup({ label, isRequired, field, zodItem, fieldProps, fieldConfigItem, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
18
-
19
- declare function AutoFormSwitch({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
20
-
21
- declare function AutoFormTextarea({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
22
-
23
- declare const INPUT_COMPONENTS: {
24
- checkbox: typeof AutoFormCheckbox;
25
- date: typeof AutoFormDate;
26
- select: typeof AutoFormEnum;
27
- radio: typeof AutoFormRadioGroup;
28
- switch: typeof AutoFormSwitch;
29
- textarea: typeof AutoFormTextarea;
30
- number: typeof AutoFormNumber;
31
- file: typeof AutoFormFile;
32
- fallback: typeof AutoFormInput;
33
- };
34
-
35
- /**
36
- * Available field types for AutoForm fieldConfig.
37
- * These map to the input components in ./config.ts
38
- */
39
- type AutoFormFieldType = keyof typeof INPUT_COMPONENTS;
40
- type FieldConfigItem = {
41
- description?: React.ReactNode;
42
- inputProps?: React.InputHTMLAttributes<HTMLInputElement> & React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
43
- showLabel?: boolean;
44
- };
45
- label?: string;
46
- fieldType?: keyof typeof INPUT_COMPONENTS | React.FC<AutoFormInputComponentProps>;
47
- renderParent?: (props: {
48
- children: React.ReactNode;
49
- }) => React.ReactElement | null;
50
- order?: number;
51
- };
52
- /**
53
- * A FormInput component can handle a specific Zod type (e.g. "ZodBoolean")
54
- */
55
- type AutoFormInputComponentProps = {
56
- zodInputProps: React.InputHTMLAttributes<HTMLInputElement>;
57
- field: ControllerRenderProps<FieldValues, any>;
58
- fieldConfigItem: FieldConfigItem;
59
- label: string;
60
- isRequired: boolean;
61
- fieldProps: any;
62
- zodItem: zod.ZodType;
63
- className?: string;
64
- };
65
-
66
- export type { AutoFormFieldType as A, AutoFormInputComponentProps as a };
@@ -1,66 +0,0 @@
1
- import { ControllerRenderProps, FieldValues } from 'react-hook-form';
2
- import * as zod from 'zod';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
-
5
- declare function AutoFormCheckbox({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
6
-
7
- declare function AutoFormDate({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
8
-
9
- declare function AutoFormEnum({ label, isRequired, field, fieldConfigItem, zodItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
10
-
11
- declare function AutoFormFile({ label, isRequired, fieldConfigItem, fieldProps, field, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
12
-
13
- declare function AutoFormInput({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
14
-
15
- declare function AutoFormNumber({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
16
-
17
- declare function AutoFormRadioGroup({ label, isRequired, field, zodItem, fieldProps, fieldConfigItem, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
18
-
19
- declare function AutoFormSwitch({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
20
-
21
- declare function AutoFormTextarea({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
22
-
23
- declare const INPUT_COMPONENTS: {
24
- checkbox: typeof AutoFormCheckbox;
25
- date: typeof AutoFormDate;
26
- select: typeof AutoFormEnum;
27
- radio: typeof AutoFormRadioGroup;
28
- switch: typeof AutoFormSwitch;
29
- textarea: typeof AutoFormTextarea;
30
- number: typeof AutoFormNumber;
31
- file: typeof AutoFormFile;
32
- fallback: typeof AutoFormInput;
33
- };
34
-
35
- /**
36
- * Available field types for AutoForm fieldConfig.
37
- * These map to the input components in ./config.ts
38
- */
39
- type AutoFormFieldType = keyof typeof INPUT_COMPONENTS;
40
- type FieldConfigItem = {
41
- description?: React.ReactNode;
42
- inputProps?: React.InputHTMLAttributes<HTMLInputElement> & React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
43
- showLabel?: boolean;
44
- };
45
- label?: string;
46
- fieldType?: keyof typeof INPUT_COMPONENTS | React.FC<AutoFormInputComponentProps>;
47
- renderParent?: (props: {
48
- children: React.ReactNode;
49
- }) => React.ReactElement | null;
50
- order?: number;
51
- };
52
- /**
53
- * A FormInput component can handle a specific Zod type (e.g. "ZodBoolean")
54
- */
55
- type AutoFormInputComponentProps = {
56
- zodInputProps: React.InputHTMLAttributes<HTMLInputElement>;
57
- field: ControllerRenderProps<FieldValues, any>;
58
- fieldConfigItem: FieldConfigItem;
59
- label: string;
60
- isRequired: boolean;
61
- fieldProps: any;
62
- zodItem: zod.ZodType;
63
- className?: string;
64
- };
65
-
66
- export type { AutoFormFieldType as A, AutoFormInputComponentProps as a };
@@ -1,66 +0,0 @@
1
- import { ControllerRenderProps, FieldValues } from 'react-hook-form';
2
- import * as zod from 'zod';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
-
5
- declare function AutoFormCheckbox({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
6
-
7
- declare function AutoFormDate({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
8
-
9
- declare function AutoFormEnum({ label, isRequired, field, fieldConfigItem, zodItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
10
-
11
- declare function AutoFormFile({ label, isRequired, fieldConfigItem, fieldProps, field, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
12
-
13
- declare function AutoFormInput({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
14
-
15
- declare function AutoFormNumber({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
16
-
17
- declare function AutoFormRadioGroup({ label, isRequired, field, zodItem, fieldProps, fieldConfigItem, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
18
-
19
- declare function AutoFormSwitch({ label, isRequired, field, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
20
-
21
- declare function AutoFormTextarea({ label, isRequired, fieldConfigItem, fieldProps, }: AutoFormInputComponentProps): react_jsx_runtime.JSX.Element;
22
-
23
- declare const INPUT_COMPONENTS: {
24
- checkbox: typeof AutoFormCheckbox;
25
- date: typeof AutoFormDate;
26
- select: typeof AutoFormEnum;
27
- radio: typeof AutoFormRadioGroup;
28
- switch: typeof AutoFormSwitch;
29
- textarea: typeof AutoFormTextarea;
30
- number: typeof AutoFormNumber;
31
- file: typeof AutoFormFile;
32
- fallback: typeof AutoFormInput;
33
- };
34
-
35
- /**
36
- * Available field types for AutoForm fieldConfig.
37
- * These map to the input components in ./config.ts
38
- */
39
- type AutoFormFieldType = keyof typeof INPUT_COMPONENTS;
40
- type FieldConfigItem = {
41
- description?: React.ReactNode;
42
- inputProps?: React.InputHTMLAttributes<HTMLInputElement> & React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
43
- showLabel?: boolean;
44
- };
45
- label?: string;
46
- fieldType?: keyof typeof INPUT_COMPONENTS | React.FC<AutoFormInputComponentProps>;
47
- renderParent?: (props: {
48
- children: React.ReactNode;
49
- }) => React.ReactElement | null;
50
- order?: number;
51
- };
52
- /**
53
- * A FormInput component can handle a specific Zod type (e.g. "ZodBoolean")
54
- */
55
- type AutoFormInputComponentProps = {
56
- zodInputProps: React.InputHTMLAttributes<HTMLInputElement>;
57
- field: ControllerRenderProps<FieldValues, any>;
58
- fieldConfigItem: FieldConfigItem;
59
- label: string;
60
- isRequired: boolean;
61
- fieldProps: any;
62
- zodItem: zod.ZodType;
63
- className?: string;
64
- };
65
-
66
- export type { AutoFormFieldType as A, AutoFormInputComponentProps as a };
@@ -1,68 +0,0 @@
1
- "use client";
2
-
3
- import { useEffect } from "react";
4
- import { usePluginOverrides } from "@btst/stack/context";
5
- import type { BlogPluginOverrides, RouteContext } from "../../overrides";
6
-
7
- /**
8
- * Hook to handle route lifecycle events
9
- * - Calls authorization check before render
10
- * - Calls onRouteRender on mount
11
- * - Handles errors with onRouteError
12
- */
13
- export function useRouteLifecycle({
14
- routeName,
15
- context,
16
- beforeRenderHook,
17
- }: {
18
- routeName: string;
19
- context: RouteContext;
20
- beforeRenderHook?: (
21
- overrides: BlogPluginOverrides,
22
- context: RouteContext,
23
- ) => boolean;
24
- }) {
25
- const overrides = usePluginOverrides<BlogPluginOverrides>("blog");
26
-
27
- // Authorization check - runs synchronously before render
28
- if (beforeRenderHook) {
29
- const canRender = beforeRenderHook(overrides, context);
30
- if (!canRender) {
31
- const error = new Error(`Unauthorized: Cannot render ${routeName}`);
32
- // Call error hook synchronously
33
- if (overrides.onRouteError) {
34
- try {
35
- const result = overrides.onRouteError(routeName, error, context);
36
- if (result instanceof Promise) {
37
- result.catch(() => {}); // Ignore promise rejection
38
- }
39
- } catch {
40
- // Ignore errors in error hook
41
- }
42
- }
43
- throw error;
44
- }
45
- }
46
-
47
- // Lifecycle hook - runs on mount
48
- useEffect(() => {
49
- if (overrides.onRouteRender) {
50
- try {
51
- const result = overrides.onRouteRender(routeName, context);
52
- if (result instanceof Promise) {
53
- result.catch((error) => {
54
- // If onRouteRender throws, call onRouteError
55
- if (overrides.onRouteError) {
56
- overrides.onRouteError(routeName, error, context);
57
- }
58
- });
59
- }
60
- } catch (error) {
61
- // If onRouteRender throws, call onRouteError
62
- if (overrides.onRouteError) {
63
- overrides.onRouteError(routeName, error as Error, context);
64
- }
65
- }
66
- }
67
- }, [routeName, overrides, context]);
68
- }