@btst/stack 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node_modules/.pnpm/{react-day-picker@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
- package/dist/node_modules/.pnpm/{react-day-picker@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
- 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
- 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
- package/dist/node_modules/.pnpm/{react-day-picker@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
- package/dist/node_modules/.pnpm/{react-day-picker@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
- package/dist/packages/better-stack/src/plugins/cms/api/plugin.cjs +33 -4
- package/dist/packages/better-stack/src/plugins/cms/api/plugin.mjs +33 -4
- package/dist/packages/better-stack/src/plugins/cms/client/components/forms/content-form.cjs +26 -141
- package/dist/packages/better-stack/src/plugins/cms/client/components/forms/content-form.mjs +24 -139
- package/dist/packages/better-stack/src/plugins/cms/client/components/forms/file-upload.cjs +2 -2
- package/dist/packages/better-stack/src/plugins/cms/client/components/forms/file-upload.mjs +2 -2
- package/dist/packages/better-stack/src/plugins/cms/db.cjs +4 -0
- package/dist/packages/better-stack/src/plugins/cms/db.mjs +4 -0
- package/dist/packages/better-stack/src/plugins/cms/schemas.cjs +0 -1
- package/dist/packages/better-stack/src/plugins/cms/schemas.mjs +0 -1
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/common/label.cjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/common/label.mjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/config.cjs +0 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/config.mjs +0 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/array.cjs +15 -29
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/array.mjs +16 -16
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/checkbox.cjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/checkbox.mjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/date.cjs +29 -5
- package/dist/packages/ui/src/components/auto-form/fields/date.mjs +59 -0
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/enum.cjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/enum.mjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/input.cjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/input.mjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/number.cjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/number.mjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/object.cjs +7 -4
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/object.mjs +8 -5
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/radio-group.cjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/radio-group.mjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/switch.cjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/switch.mjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/textarea.cjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/fields/textarea.mjs +2 -2
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/index.cjs +3 -3
- package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/index.mjs +3 -3
- package/dist/packages/ui/src/components/auto-form/utils.cjs +306 -0
- package/dist/packages/ui/src/components/auto-form/utils.mjs +294 -0
- package/dist/packages/ui/src/components/calendar.cjs +2 -2
- package/dist/packages/ui/src/components/calendar.mjs +2 -2
- package/dist/plugins/cms/api/index.d.cts +2 -4
- package/dist/plugins/cms/api/index.d.mts +2 -4
- package/dist/plugins/cms/api/index.d.ts +2 -4
- package/dist/plugins/cms/client/hooks/index.d.cts +1 -4
- package/dist/plugins/cms/client/hooks/index.d.mts +1 -4
- package/dist/plugins/cms/client/hooks/index.d.ts +1 -4
- package/dist/plugins/cms/client/index.d.cts +113 -5
- package/dist/plugins/cms/client/index.d.mts +113 -5
- package/dist/plugins/cms/client/index.d.ts +113 -5
- package/dist/plugins/cms/query-keys.d.cts +1 -4
- package/dist/plugins/cms/query-keys.d.mts +1 -4
- package/dist/plugins/cms/query-keys.d.ts +1 -4
- package/dist/shared/{stack.DwnJA87a.d.ts → stack.L-UFwz2G.d.cts} +14 -14
- package/dist/shared/{stack.BwkyFwF8.d.cts → stack.L-UFwz2G.d.mts} +14 -14
- package/dist/shared/{stack.DBqxCs0V.d.mts → stack.L-UFwz2G.d.ts} +14 -14
- package/package.json +1 -1
- package/src/plugins/cms/__tests__/schema-roundtrip.test.ts +195 -0
- package/src/plugins/cms/api/plugin.ts +65 -4
- package/src/plugins/cms/client/components/forms/content-form.tsx +50 -234
- package/src/plugins/cms/client/components/forms/file-upload.tsx +3 -3
- package/src/plugins/cms/client/index.ts +1 -1
- package/src/plugins/cms/client/overrides.ts +1 -1
- package/src/plugins/cms/db.ts +4 -0
- package/src/plugins/cms/schemas.ts +1 -1
- package/src/plugins/cms/types.ts +14 -17
- package/dist/packages/ui/src/components/ui/auto-form/fields/date.mjs +0 -35
- package/dist/packages/ui/src/components/ui/auto-form/fields/file.cjs +0 -63
- package/dist/packages/ui/src/components/ui/auto-form/fields/file.mjs +0 -61
- package/dist/packages/ui/src/components/ui/auto-form/utils.cjs +0 -179
- package/dist/packages/ui/src/components/ui/auto-form/utils.mjs +0 -169
- package/dist/shared/stack.NZJogTUn.d.cts +0 -66
- package/dist/shared/stack.NZJogTUn.d.mts +0 -66
- package/dist/shared/stack.NZJogTUn.d.ts +0 -66
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/node_modules/.pnpm/{react-day-picker@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
- /package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/common/tooltip.cjs +0 -0
- /package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/common/tooltip.mjs +0 -0
- /package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/dependencies.cjs +0 -0
- /package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/dependencies.mjs +0 -0
- /package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/types.cjs +0 -0
- /package/dist/packages/ui/src/components/{ui/auto-form → auto-form}/types.mjs +0 -0
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { FormItem, FormControl, FormMessage } from '../../../form.mjs';
|
|
3
|
-
import { Input } from '../../../input.mjs';
|
|
4
|
-
import { Trash2 } from 'lucide-react';
|
|
5
|
-
import { useState } from 'react';
|
|
6
|
-
import AutoFormLabel from '../common/label.mjs';
|
|
7
|
-
import AutoFormTooltip from '../common/tooltip.mjs';
|
|
8
|
-
|
|
9
|
-
function AutoFormFile({
|
|
10
|
-
label,
|
|
11
|
-
isRequired,
|
|
12
|
-
fieldConfigItem,
|
|
13
|
-
fieldProps,
|
|
14
|
-
field
|
|
15
|
-
}) {
|
|
16
|
-
const { showLabel: _showLabel, ...fieldPropsWithoutShowLabel } = fieldProps;
|
|
17
|
-
const showLabel = _showLabel === void 0 ? true : _showLabel;
|
|
18
|
-
const [file, setFile] = useState(null);
|
|
19
|
-
const [fileName, setFileName] = useState(null);
|
|
20
|
-
const handleFileChange = (e) => {
|
|
21
|
-
const file2 = e.target.files?.[0];
|
|
22
|
-
if (file2) {
|
|
23
|
-
const reader = new FileReader();
|
|
24
|
-
reader.onloadend = () => {
|
|
25
|
-
setFile(reader.result);
|
|
26
|
-
setFileName(file2.name);
|
|
27
|
-
field.onChange(reader.result);
|
|
28
|
-
};
|
|
29
|
-
reader.readAsDataURL(file2);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
const handleRemoveClick = () => {
|
|
33
|
-
setFile(null);
|
|
34
|
-
};
|
|
35
|
-
return /* @__PURE__ */ jsxs(FormItem, { children: [
|
|
36
|
-
showLabel && /* @__PURE__ */ jsx(
|
|
37
|
-
AutoFormLabel,
|
|
38
|
-
{
|
|
39
|
-
label: fieldConfigItem?.label || label,
|
|
40
|
-
isRequired
|
|
41
|
-
}
|
|
42
|
-
),
|
|
43
|
-
!file && /* @__PURE__ */ jsx(FormControl, { children: /* @__PURE__ */ jsx(
|
|
44
|
-
Input,
|
|
45
|
-
{
|
|
46
|
-
type: "file",
|
|
47
|
-
...fieldPropsWithoutShowLabel,
|
|
48
|
-
onChange: handleFileChange,
|
|
49
|
-
value: ""
|
|
50
|
-
}
|
|
51
|
-
) }),
|
|
52
|
-
file && /* @__PURE__ */ jsxs("div", { className: "flex h-[40px] w-full flex-row items-center justify-between space-x-2 rounded-sm border p-2 text-black focus-visible:ring-0 focus-visible:ring-offset-0 dark:bg-white dark:text-black dark:focus-visible:ring-0 dark:focus-visible:ring-offset-0", children: [
|
|
53
|
-
/* @__PURE__ */ jsx("p", { children: fileName }),
|
|
54
|
-
/* @__PURE__ */ jsx("button", { onClick: handleRemoveClick, "aria-label": "Remove image", children: /* @__PURE__ */ jsx(Trash2, { size: 16 }) })
|
|
55
|
-
] }),
|
|
56
|
-
/* @__PURE__ */ jsx(AutoFormTooltip, { fieldConfigItem }),
|
|
57
|
-
/* @__PURE__ */ jsx(FormMessage, {})
|
|
58
|
-
] });
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export { AutoFormFile as default };
|
|
@@ -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 };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|