@lssm/lib.ui-kit 1.11.0 → 1.41.0

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 (439) hide show
  1. package/README.md +5 -0
  2. package/dist/-core/src/utils.js +10 -0
  3. package/dist/_virtual/rolldown_runtime.js +33 -0
  4. package/dist/index.js +1 -2
  5. package/dist/node_modules/@hookform/resolvers/dist/resolvers.js +34 -0
  6. package/dist/node_modules/@hookform/resolvers/zod/dist/zod.js +118 -0
  7. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +14 -0
  8. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +35 -0
  9. package/dist/node_modules/lucide-react/dist/esm/Icon.js +25 -0
  10. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +24 -0
  11. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +21 -0
  12. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +17 -0
  13. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +17 -0
  14. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +17 -0
  15. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +17 -0
  16. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-left.js +20 -0
  17. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-right.js +20 -0
  18. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis.js +33 -0
  19. package/dist/node_modules/lucide-react/dist/esm/icons/funnel.js +17 -0
  20. package/dist/node_modules/lucide-react/dist/esm/icons/house.js +20 -0
  21. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js +17 -0
  22. package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +20 -0
  23. package/dist/node_modules/lucide-react/dist/esm/icons/refresh-ccw.js +31 -0
  24. package/dist/node_modules/lucide-react/dist/esm/icons/refresh-cw.js +31 -0
  25. package/dist/node_modules/lucide-react/dist/esm/icons/search.js +22 -0
  26. package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +27 -0
  27. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +20 -0
  28. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +22 -0
  29. package/dist/node_modules/next/dist/client/add-base-path.js +30 -0
  30. package/dist/node_modules/next/dist/client/add-locale.js +29 -0
  31. package/dist/node_modules/next/dist/client/detect-domain-locale.js +26 -0
  32. package/dist/node_modules/next/dist/client/get-domain-locale.js +41 -0
  33. package/dist/node_modules/next/dist/client/has-base-path.js +28 -0
  34. package/dist/node_modules/next/dist/client/link.js +311 -0
  35. package/dist/node_modules/next/dist/client/normalize-locale-path.js +30 -0
  36. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +34 -0
  37. package/dist/node_modules/next/dist/client/request-idle-callback.js +44 -0
  38. package/dist/node_modules/next/dist/client/resolve-href.js +86 -0
  39. package/dist/node_modules/next/dist/client/use-intersection.js +104 -0
  40. package/dist/node_modules/next/dist/client/use-merged-ref.js +56 -0
  41. package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +372 -0
  42. package/dist/node_modules/next/dist/lib/constants.js +316 -0
  43. package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +69 -0
  44. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +23 -0
  45. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +22 -0
  46. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +42 -0
  47. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +23 -0
  48. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +23 -0
  49. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +30 -0
  50. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +24 -0
  51. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +41 -0
  52. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +78 -0
  53. package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +151 -0
  54. package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +77 -0
  55. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +32 -0
  56. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +92 -0
  57. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +41 -0
  58. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +26 -0
  59. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +31 -0
  60. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +24 -0
  61. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +33 -0
  62. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +36 -0
  63. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +24 -0
  64. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +56 -0
  65. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +26 -0
  66. package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +94 -0
  67. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +46 -0
  68. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +203 -0
  69. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +167 -0
  70. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +20 -0
  71. package/dist/node_modules/next/dist/shared/lib/segment.js +80 -0
  72. package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +25 -0
  73. package/dist/node_modules/next/dist/shared/lib/utils.js +172 -0
  74. package/dist/node_modules/next/link.js +12 -0
  75. package/dist/node_modules/react-hook-form/dist/index.esm.js +2074 -0
  76. package/dist/node_modules/zod/v4/classic/errors.js +29 -0
  77. package/dist/node_modules/zod/v4/classic/iso.js +37 -0
  78. package/dist/node_modules/zod/v4/classic/parse.js +19 -0
  79. package/dist/node_modules/zod/v4/classic/schemas.js +418 -0
  80. package/dist/node_modules/zod/v4/core/api.js +404 -0
  81. package/dist/node_modules/zod/v4/core/checks.js +225 -0
  82. package/dist/node_modules/zod/v4/core/core.js +61 -0
  83. package/dist/node_modules/zod/v4/core/errors.js +62 -0
  84. package/dist/node_modules/zod/v4/core/json-schema-processors.js +148 -0
  85. package/dist/node_modules/zod/v4/core/parse.js +109 -0
  86. package/dist/node_modules/zod/v4/core/regexes.js +57 -0
  87. package/dist/node_modules/zod/v4/core/registries.js +52 -0
  88. package/dist/node_modules/zod/v4/core/schemas.js +744 -0
  89. package/dist/node_modules/zod/v4/core/to-json-schema.js +260 -0
  90. package/dist/node_modules/zod/v4/core/util.js +155 -0
  91. package/dist/node_modules/zod/v4/core/versions.js +9 -0
  92. package/dist/tsconfig.tsbuildinfo +1 -1
  93. package/dist/ui/accordion.js +2 -3
  94. package/dist/ui/alert-dialog.js +2 -3
  95. package/dist/ui/alert.js +2 -3
  96. package/dist/ui/aspect-ratio.js +1 -2
  97. package/dist/ui/atoms/FilterSelect/FilterSelect.js +1 -2
  98. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js +4 -5
  99. package/dist/ui/atoms/Pagination/Pagination.js +5 -3
  100. package/dist/ui/atoms/SearchInput/SearchInput.js +3 -3
  101. package/dist/ui/avatar.js +2 -3
  102. package/dist/ui/badge.js +2 -3
  103. package/dist/ui/breadcrumb.js +5 -5
  104. package/dist/ui/button.js +2 -3
  105. package/dist/ui/card.js +2 -3
  106. package/dist/ui/carousel.js +1 -2
  107. package/dist/ui/checkbox.js +2 -3
  108. package/dist/ui/collapsible.js +1 -2
  109. package/dist/ui/command.js +1 -2
  110. package/dist/ui/context-menu.js +2 -3
  111. package/dist/ui/date-picker.js +2 -3
  112. package/dist/ui/date-range-picker.js +2 -3
  113. package/dist/ui/datetime-picker.js +1 -2
  114. package/dist/ui/dialog.js +2 -3
  115. package/dist/ui/dropdown-menu.js +2 -3
  116. package/dist/ui/empty-state.js +2 -3
  117. package/dist/ui/empty.js +2 -3
  118. package/dist/ui/fab.js +2 -3
  119. package/dist/ui/field.js +2 -3
  120. package/dist/ui/form.js +2 -3
  121. package/dist/ui/hover-card.js +2 -3
  122. package/dist/ui/icons/Check.js +1 -2
  123. package/dist/ui/icons/ChevronDown.js +1 -2
  124. package/dist/ui/icons/ChevronRight.js +1 -2
  125. package/dist/ui/icons/ChevronUp.js +1 -2
  126. package/dist/ui/icons/CircleUser.js +1 -2
  127. package/dist/ui/icons/Info.js +1 -2
  128. package/dist/ui/icons/Key.js +1 -2
  129. package/dist/ui/icons/MoonStar.js +1 -2
  130. package/dist/ui/icons/Sun.js +1 -2
  131. package/dist/ui/icons/X.js +1 -2
  132. package/dist/ui/icons/iconWithClassName.js +1 -2
  133. package/dist/ui/input.js +2 -3
  134. package/dist/ui/label.js +2 -3
  135. package/dist/ui/link.js +2 -3
  136. package/dist/ui/loading-button.js +1 -2
  137. package/dist/ui/loading-overlay.js +1 -2
  138. package/dist/ui/loading-screen.js +1 -2
  139. package/dist/ui/marketing/FeatureGrid.js +1 -2
  140. package/dist/ui/marketing/Hero.js +2 -3
  141. package/dist/ui/marketing/PricingTable.js +2 -3
  142. package/dist/ui/menubar.js +2 -3
  143. package/dist/ui/molecules/Autocomplete/index.js +1 -2
  144. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +5 -4
  145. package/dist/ui/molecules/SkeletonList.js +1 -2
  146. package/dist/ui/nativewind-env.d.js +0 -0
  147. package/dist/ui/navigation-menu.js +2 -3
  148. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +6 -5
  149. package/dist/ui/organisms/ListPage/ListPage.js +13 -9
  150. package/dist/ui/page-header.js +2 -3
  151. package/dist/ui/password-strength.js +1 -2
  152. package/dist/ui/popover.js +2 -3
  153. package/dist/ui/progress.js +2 -3
  154. package/dist/ui/radio-group.js +2 -3
  155. package/dist/ui/select.js +2 -3
  156. package/dist/ui/separator.js +2 -3
  157. package/dist/ui/sheet.js +1 -2
  158. package/dist/ui/sidebar.js +1 -2
  159. package/dist/ui/skeleton.js +2 -3
  160. package/dist/ui/stack.js +2 -3
  161. package/dist/ui/stepper.js +2 -3
  162. package/dist/ui/switch.js +2 -3
  163. package/dist/ui/table.js +2 -3
  164. package/dist/ui/tabs.js +2 -3
  165. package/dist/ui/text.js +2 -3
  166. package/dist/ui/textarea.js +2 -3
  167. package/dist/ui/time-picker.js +2 -3
  168. package/dist/ui/toggle-group.js +2 -3
  169. package/dist/ui/toggle.js +2 -3
  170. package/dist/ui/tooltip.js +2 -3
  171. package/dist/ui/typography.js +2 -3
  172. package/dist/ui/useColorScheme.js +1 -2
  173. package/dist/ui/useListState.js +1 -2
  174. package/dist/ui/usecases/UseCaseCard.js +1 -2
  175. package/dist/ui/usecases/UserStoryCard.js +1 -2
  176. package/dist/ui/utils.js +1 -2
  177. package/package.json +204 -114
  178. package/dist/index.d.ts +0 -5
  179. package/dist/index.d.ts.map +0 -1
  180. package/dist/index.js.map +0 -1
  181. package/dist/ui/accordion.d.ts +0 -36
  182. package/dist/ui/accordion.d.ts.map +0 -1
  183. package/dist/ui/accordion.js.map +0 -1
  184. package/dist/ui/alert-dialog.d.ts +0 -72
  185. package/dist/ui/alert-dialog.d.ts.map +0 -1
  186. package/dist/ui/alert-dialog.js.map +0 -1
  187. package/dist/ui/alert.d.ts +0 -37
  188. package/dist/ui/alert.d.ts.map +0 -1
  189. package/dist/ui/alert.js.map +0 -1
  190. package/dist/ui/aspect-ratio.d.ts +0 -12
  191. package/dist/ui/aspect-ratio.d.ts.map +0 -1
  192. package/dist/ui/aspect-ratio.js.map +0 -1
  193. package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +0 -8
  194. package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts.map +0 -1
  195. package/dist/ui/atoms/FilterSelect/FilterSelect.js.map +0 -1
  196. package/dist/ui/atoms/FilterSelect/index.d.ts +0 -3
  197. package/dist/ui/atoms/FilterSelect/types.d.ts +0 -19
  198. package/dist/ui/atoms/FilterSelect/types.d.ts.map +0 -1
  199. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +0 -23
  200. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts.map +0 -1
  201. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js.map +0 -1
  202. package/dist/ui/atoms/LoadingSpinner/index.d.ts +0 -2
  203. package/dist/ui/atoms/Pagination/Pagination.d.ts +0 -8
  204. package/dist/ui/atoms/Pagination/Pagination.d.ts.map +0 -1
  205. package/dist/ui/atoms/Pagination/Pagination.js.map +0 -1
  206. package/dist/ui/atoms/Pagination/index.d.ts +0 -3
  207. package/dist/ui/atoms/Pagination/types.d.ts +0 -16
  208. package/dist/ui/atoms/Pagination/types.d.ts.map +0 -1
  209. package/dist/ui/atoms/SearchInput/SearchInput.d.ts +0 -8
  210. package/dist/ui/atoms/SearchInput/SearchInput.d.ts.map +0 -1
  211. package/dist/ui/atoms/SearchInput/SearchInput.js.map +0 -1
  212. package/dist/ui/atoms/SearchInput/index.d.ts +0 -3
  213. package/dist/ui/atoms/SearchInput/types.d.ts +0 -13
  214. package/dist/ui/atoms/SearchInput/types.d.ts.map +0 -1
  215. package/dist/ui/avatar.d.ts +0 -28
  216. package/dist/ui/avatar.d.ts.map +0 -1
  217. package/dist/ui/avatar.js.map +0 -1
  218. package/dist/ui/badge.d.ts +0 -22
  219. package/dist/ui/badge.d.ts.map +0 -1
  220. package/dist/ui/badge.js.map +0 -1
  221. package/dist/ui/breadcrumb.d.ts +0 -39
  222. package/dist/ui/breadcrumb.d.ts.map +0 -1
  223. package/dist/ui/breadcrumb.js.map +0 -1
  224. package/dist/ui/button.d.ts +0 -26
  225. package/dist/ui/button.d.ts.map +0 -1
  226. package/dist/ui/button.js.map +0 -1
  227. package/dist/ui/card.d.ts +0 -44
  228. package/dist/ui/card.d.ts.map +0 -1
  229. package/dist/ui/card.js.map +0 -1
  230. package/dist/ui/carousel.d.ts +0 -5
  231. package/dist/ui/carousel.d.ts.map +0 -1
  232. package/dist/ui/carousel.js.map +0 -1
  233. package/dist/ui/checkbox.d.ts +0 -17
  234. package/dist/ui/checkbox.d.ts.map +0 -1
  235. package/dist/ui/checkbox.js.map +0 -1
  236. package/dist/ui/collapsible.d.ts +0 -25
  237. package/dist/ui/collapsible.d.ts.map +0 -1
  238. package/dist/ui/collapsible.js.map +0 -1
  239. package/dist/ui/command.d.ts +0 -5
  240. package/dist/ui/command.d.ts.map +0 -1
  241. package/dist/ui/command.js.map +0 -1
  242. package/dist/ui/context-menu.d.ts +0 -110
  243. package/dist/ui/context-menu.d.ts.map +0 -1
  244. package/dist/ui/context-menu.js.map +0 -1
  245. package/dist/ui/date-picker.d.ts +0 -24
  246. package/dist/ui/date-picker.d.ts.map +0 -1
  247. package/dist/ui/date-picker.js.map +0 -1
  248. package/dist/ui/date-range-picker.d.ts +0 -31
  249. package/dist/ui/date-range-picker.d.ts.map +0 -1
  250. package/dist/ui/date-range-picker.js.map +0 -1
  251. package/dist/ui/datetime-picker.d.ts +0 -28
  252. package/dist/ui/datetime-picker.d.ts.map +0 -1
  253. package/dist/ui/datetime-picker.js.map +0 -1
  254. package/dist/ui/dialog.d.ts +0 -69
  255. package/dist/ui/dialog.d.ts.map +0 -1
  256. package/dist/ui/dialog.js.map +0 -1
  257. package/dist/ui/dropdown-menu.d.ts +0 -112
  258. package/dist/ui/dropdown-menu.d.ts.map +0 -1
  259. package/dist/ui/dropdown-menu.js.map +0 -1
  260. package/dist/ui/empty-state.d.ts +0 -29
  261. package/dist/ui/empty-state.d.ts.map +0 -1
  262. package/dist/ui/empty-state.js.map +0 -1
  263. package/dist/ui/empty.d.ts +0 -37
  264. package/dist/ui/empty.d.ts.map +0 -1
  265. package/dist/ui/empty.js.map +0 -1
  266. package/dist/ui/fab.d.ts +0 -36
  267. package/dist/ui/fab.d.ts.map +0 -1
  268. package/dist/ui/fab.js.map +0 -1
  269. package/dist/ui/field.d.ts +0 -67
  270. package/dist/ui/field.d.ts.map +0 -1
  271. package/dist/ui/field.js.map +0 -1
  272. package/dist/ui/form.d.ts +0 -50
  273. package/dist/ui/form.d.ts.map +0 -1
  274. package/dist/ui/form.js.map +0 -1
  275. package/dist/ui/hover-card.d.ts +0 -30
  276. package/dist/ui/hover-card.d.ts.map +0 -1
  277. package/dist/ui/hover-card.js.map +0 -1
  278. package/dist/ui/icons/Check.d.ts +0 -2
  279. package/dist/ui/icons/Check.js.map +0 -1
  280. package/dist/ui/icons/ChevronDown.d.ts +0 -2
  281. package/dist/ui/icons/ChevronDown.js.map +0 -1
  282. package/dist/ui/icons/ChevronRight.d.ts +0 -2
  283. package/dist/ui/icons/ChevronRight.js.map +0 -1
  284. package/dist/ui/icons/ChevronUp.d.ts +0 -2
  285. package/dist/ui/icons/ChevronUp.js.map +0 -1
  286. package/dist/ui/icons/CircleUser.d.ts +0 -2
  287. package/dist/ui/icons/CircleUser.js.map +0 -1
  288. package/dist/ui/icons/Info.d.ts +0 -2
  289. package/dist/ui/icons/Info.js.map +0 -1
  290. package/dist/ui/icons/Key.d.ts +0 -2
  291. package/dist/ui/icons/Key.js.map +0 -1
  292. package/dist/ui/icons/MoonStar.d.ts +0 -2
  293. package/dist/ui/icons/MoonStar.js.map +0 -1
  294. package/dist/ui/icons/Sun.d.ts +0 -2
  295. package/dist/ui/icons/Sun.js.map +0 -1
  296. package/dist/ui/icons/X.d.ts +0 -2
  297. package/dist/ui/icons/X.js.map +0 -1
  298. package/dist/ui/icons/iconWithClassName.d.ts +0 -7
  299. package/dist/ui/icons/iconWithClassName.d.ts.map +0 -1
  300. package/dist/ui/icons/iconWithClassName.js.map +0 -1
  301. package/dist/ui/input.d.ts +0 -15
  302. package/dist/ui/input.d.ts.map +0 -1
  303. package/dist/ui/input.js.map +0 -1
  304. package/dist/ui/label.d.ts +0 -16
  305. package/dist/ui/label.d.ts.map +0 -1
  306. package/dist/ui/label.js.map +0 -1
  307. package/dist/ui/link.d.ts +0 -14
  308. package/dist/ui/link.d.ts.map +0 -1
  309. package/dist/ui/link.js.map +0 -1
  310. package/dist/ui/loading-button.d.ts +0 -20
  311. package/dist/ui/loading-button.d.ts.map +0 -1
  312. package/dist/ui/loading-button.js.map +0 -1
  313. package/dist/ui/loading-overlay.d.ts +0 -16
  314. package/dist/ui/loading-overlay.d.ts.map +0 -1
  315. package/dist/ui/loading-overlay.js.map +0 -1
  316. package/dist/ui/loading-screen.d.ts +0 -14
  317. package/dist/ui/loading-screen.d.ts.map +0 -1
  318. package/dist/ui/loading-screen.js.map +0 -1
  319. package/dist/ui/marketing/FeatureGrid.d.ts +0 -21
  320. package/dist/ui/marketing/FeatureGrid.d.ts.map +0 -1
  321. package/dist/ui/marketing/FeatureGrid.js.map +0 -1
  322. package/dist/ui/marketing/Hero.d.ts +0 -28
  323. package/dist/ui/marketing/Hero.d.ts.map +0 -1
  324. package/dist/ui/marketing/Hero.js.map +0 -1
  325. package/dist/ui/marketing/PricingTable.d.ts +0 -25
  326. package/dist/ui/marketing/PricingTable.d.ts.map +0 -1
  327. package/dist/ui/marketing/PricingTable.js.map +0 -1
  328. package/dist/ui/marketing/index.d.ts +0 -4
  329. package/dist/ui/menubar.d.ts +0 -115
  330. package/dist/ui/menubar.d.ts.map +0 -1
  331. package/dist/ui/menubar.js.map +0 -1
  332. package/dist/ui/molecules/Autocomplete/index.d.ts +0 -5
  333. package/dist/ui/molecules/Autocomplete/index.d.ts.map +0 -1
  334. package/dist/ui/molecules/Autocomplete/index.js.map +0 -1
  335. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +0 -8
  336. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts.map +0 -1
  337. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js.map +0 -1
  338. package/dist/ui/molecules/SearchAndFilter/index.d.ts +0 -3
  339. package/dist/ui/molecules/SearchAndFilter/types.d.ts +0 -25
  340. package/dist/ui/molecules/SearchAndFilter/types.d.ts.map +0 -1
  341. package/dist/ui/molecules/SkeletonList.d.ts +0 -16
  342. package/dist/ui/molecules/SkeletonList.d.ts.map +0 -1
  343. package/dist/ui/molecules/SkeletonList.js.map +0 -1
  344. package/dist/ui/nativewind-env.d.ts +0 -1
  345. package/dist/ui/navigation-menu.d.ts +0 -68
  346. package/dist/ui/navigation-menu.d.ts.map +0 -1
  347. package/dist/ui/navigation-menu.js.map +0 -1
  348. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +0 -30
  349. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts.map +0 -1
  350. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js.map +0 -1
  351. package/dist/ui/organisms/ErrorBoundary/index.d.ts +0 -2
  352. package/dist/ui/organisms/ListPage/ListPage.d.ts +0 -29
  353. package/dist/ui/organisms/ListPage/ListPage.d.ts.map +0 -1
  354. package/dist/ui/organisms/ListPage/ListPage.js.map +0 -1
  355. package/dist/ui/organisms/ListPage/index.d.ts +0 -3
  356. package/dist/ui/organisms/ListPage/types.d.ts +0 -42
  357. package/dist/ui/organisms/ListPage/types.d.ts.map +0 -1
  358. package/dist/ui/page-header.d.ts +0 -27
  359. package/dist/ui/page-header.d.ts.map +0 -1
  360. package/dist/ui/page-header.js.map +0 -1
  361. package/dist/ui/password-strength.d.ts +0 -21
  362. package/dist/ui/password-strength.d.ts.map +0 -1
  363. package/dist/ui/password-strength.js.map +0 -1
  364. package/dist/ui/popover.d.ts +0 -30
  365. package/dist/ui/popover.d.ts.map +0 -1
  366. package/dist/ui/popover.js.map +0 -1
  367. package/dist/ui/progress.d.ts +0 -17
  368. package/dist/ui/progress.d.ts.map +0 -1
  369. package/dist/ui/progress.js.map +0 -1
  370. package/dist/ui/radio-group.d.ts +0 -15
  371. package/dist/ui/radio-group.d.ts.map +0 -1
  372. package/dist/ui/radio-group.js.map +0 -1
  373. package/dist/ui/select.d.ts +0 -84
  374. package/dist/ui/select.d.ts.map +0 -1
  375. package/dist/ui/select.js.map +0 -1
  376. package/dist/ui/separator.d.ts +0 -16
  377. package/dist/ui/separator.d.ts.map +0 -1
  378. package/dist/ui/separator.js.map +0 -1
  379. package/dist/ui/sheet.d.ts +0 -5
  380. package/dist/ui/sheet.d.ts.map +0 -1
  381. package/dist/ui/sheet.js.map +0 -1
  382. package/dist/ui/sidebar.d.ts +0 -5
  383. package/dist/ui/sidebar.d.ts.map +0 -1
  384. package/dist/ui/sidebar.js.map +0 -1
  385. package/dist/ui/skeleton.d.ts +0 -12
  386. package/dist/ui/skeleton.d.ts.map +0 -1
  387. package/dist/ui/skeleton.js.map +0 -1
  388. package/dist/ui/stack.d.ts +0 -77
  389. package/dist/ui/stack.d.ts.map +0 -1
  390. package/dist/ui/stack.js.map +0 -1
  391. package/dist/ui/stepper.d.ts +0 -23
  392. package/dist/ui/stepper.d.ts.map +0 -1
  393. package/dist/ui/stepper.js.map +0 -1
  394. package/dist/ui/switch.d.ts +0 -15
  395. package/dist/ui/switch.d.ts.map +0 -1
  396. package/dist/ui/switch.js.map +0 -1
  397. package/dist/ui/table.d.ts +0 -51
  398. package/dist/ui/table.d.ts.map +0 -1
  399. package/dist/ui/table.js.map +0 -1
  400. package/dist/ui/tabs.d.ts +0 -33
  401. package/dist/ui/tabs.d.ts.map +0 -1
  402. package/dist/ui/tabs.js.map +0 -1
  403. package/dist/ui/text.d.ts +0 -21
  404. package/dist/ui/text.d.ts.map +0 -1
  405. package/dist/ui/text.js.map +0 -1
  406. package/dist/ui/textarea.d.ts +0 -10
  407. package/dist/ui/textarea.d.ts.map +0 -1
  408. package/dist/ui/textarea.js.map +0 -1
  409. package/dist/ui/time-picker.d.ts +0 -22
  410. package/dist/ui/time-picker.d.ts.map +0 -1
  411. package/dist/ui/time-picker.js.map +0 -1
  412. package/dist/ui/toggle-group.d.ts +0 -36
  413. package/dist/ui/toggle-group.d.ts.map +0 -1
  414. package/dist/ui/toggle-group.js.map +0 -1
  415. package/dist/ui/toggle.d.ts +0 -34
  416. package/dist/ui/toggle.d.ts.map +0 -1
  417. package/dist/ui/toggle.js.map +0 -1
  418. package/dist/ui/tooltip.d.ts +0 -32
  419. package/dist/ui/tooltip.d.ts.map +0 -1
  420. package/dist/ui/tooltip.js.map +0 -1
  421. package/dist/ui/typography.d.ts +0 -65
  422. package/dist/ui/typography.d.ts.map +0 -1
  423. package/dist/ui/typography.js.map +0 -1
  424. package/dist/ui/useColorScheme.d.ts +0 -12
  425. package/dist/ui/useColorScheme.d.ts.map +0 -1
  426. package/dist/ui/useColorScheme.js.map +0 -1
  427. package/dist/ui/useListState.d.ts +0 -34
  428. package/dist/ui/useListState.d.ts.map +0 -1
  429. package/dist/ui/useListState.js.map +0 -1
  430. package/dist/ui/usecases/UseCaseCard.d.ts +0 -19
  431. package/dist/ui/usecases/UseCaseCard.d.ts.map +0 -1
  432. package/dist/ui/usecases/UseCaseCard.js.map +0 -1
  433. package/dist/ui/usecases/UserStoryCard.d.ts +0 -15
  434. package/dist/ui/usecases/UserStoryCard.d.ts.map +0 -1
  435. package/dist/ui/usecases/UserStoryCard.js.map +0 -1
  436. package/dist/ui/usecases/index.d.ts +0 -3
  437. package/dist/ui/utils.d.ts +0 -7
  438. package/dist/ui/utils.d.ts.map +0 -1
  439. package/dist/ui/utils.js.map +0 -1
@@ -0,0 +1,29 @@
1
+ import { $constructor } from "../core/core.js";
2
+ import { jsonStringifyReplacer } from "../core/util.js";
3
+ import { $ZodError, flattenError, formatError } from "../core/errors.js";
4
+
5
+ //#region ../../../node_modules/zod/v4/classic/errors.js
6
+ const initializer = (inst, issues) => {
7
+ $ZodError.init(inst, issues);
8
+ inst.name = "ZodError";
9
+ Object.defineProperties(inst, {
10
+ format: { value: (mapper) => formatError(inst, mapper) },
11
+ flatten: { value: (mapper) => flattenError(inst, mapper) },
12
+ addIssue: { value: (issue) => {
13
+ inst.issues.push(issue);
14
+ inst.message = JSON.stringify(inst.issues, jsonStringifyReplacer, 2);
15
+ } },
16
+ addIssues: { value: (issues$1) => {
17
+ inst.issues.push(...issues$1);
18
+ inst.message = JSON.stringify(inst.issues, jsonStringifyReplacer, 2);
19
+ } },
20
+ isEmpty: { get() {
21
+ return inst.issues.length === 0;
22
+ } }
23
+ });
24
+ };
25
+ const ZodError = $constructor("ZodError", initializer);
26
+ const ZodRealError = $constructor("ZodError", initializer, { Parent: Error });
27
+
28
+ //#endregion
29
+ export { ZodRealError };
@@ -0,0 +1,37 @@
1
+ import { $constructor } from "../core/core.js";
2
+ import { $ZodISODate, $ZodISODateTime, $ZodISODuration, $ZodISOTime } from "../core/schemas.js";
3
+ import { _isoDate, _isoDateTime, _isoDuration, _isoTime } from "../core/api.js";
4
+ import { ZodStringFormat } from "./schemas.js";
5
+
6
+ //#region ../../../node_modules/zod/v4/classic/iso.js
7
+ const ZodISODateTime = /* @__PURE__ */ $constructor("ZodISODateTime", (inst, def) => {
8
+ $ZodISODateTime.init(inst, def);
9
+ ZodStringFormat.init(inst, def);
10
+ });
11
+ function datetime(params) {
12
+ return _isoDateTime(ZodISODateTime, params);
13
+ }
14
+ const ZodISODate = /* @__PURE__ */ $constructor("ZodISODate", (inst, def) => {
15
+ $ZodISODate.init(inst, def);
16
+ ZodStringFormat.init(inst, def);
17
+ });
18
+ function date(params) {
19
+ return _isoDate(ZodISODate, params);
20
+ }
21
+ const ZodISOTime = /* @__PURE__ */ $constructor("ZodISOTime", (inst, def) => {
22
+ $ZodISOTime.init(inst, def);
23
+ ZodStringFormat.init(inst, def);
24
+ });
25
+ function time(params) {
26
+ return _isoTime(ZodISOTime, params);
27
+ }
28
+ const ZodISODuration = /* @__PURE__ */ $constructor("ZodISODuration", (inst, def) => {
29
+ $ZodISODuration.init(inst, def);
30
+ ZodStringFormat.init(inst, def);
31
+ });
32
+ function duration(params) {
33
+ return _isoDuration(ZodISODuration, params);
34
+ }
35
+
36
+ //#endregion
37
+ export { date, datetime, duration, time };
@@ -0,0 +1,19 @@
1
+ import { _decode, _decodeAsync, _encode, _encodeAsync, _parse, _parseAsync, _safeDecode, _safeDecodeAsync, _safeEncode, _safeEncodeAsync, _safeParse, _safeParseAsync } from "../core/parse.js";
2
+ import { ZodRealError } from "./errors.js";
3
+
4
+ //#region ../../../node_modules/zod/v4/classic/parse.js
5
+ const parse = /* @__PURE__ */ _parse(ZodRealError);
6
+ const parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
7
+ const safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
8
+ const safeParseAsync = /* @__PURE__ */ _safeParseAsync(ZodRealError);
9
+ const encode = /* @__PURE__ */ _encode(ZodRealError);
10
+ const decode = /* @__PURE__ */ _decode(ZodRealError);
11
+ const encodeAsync = /* @__PURE__ */ _encodeAsync(ZodRealError);
12
+ const decodeAsync = /* @__PURE__ */ _decodeAsync(ZodRealError);
13
+ const safeEncode = /* @__PURE__ */ _safeEncode(ZodRealError);
14
+ const safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
15
+ const safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
16
+ const safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
17
+
18
+ //#endregion
19
+ export { decode, decodeAsync, encode, encodeAsync, parse, parseAsync, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync };
@@ -0,0 +1,418 @@
1
+ import { $ZodEncodeError, $constructor } from "../core/core.js";
2
+ import { clone, issue, mergeDefs, normalizeParams, shallowClone } from "../core/util.js";
3
+ import { $ZodArray, $ZodBase64, $ZodBase64URL, $ZodCIDRv4, $ZodCIDRv6, $ZodCUID, $ZodCUID2, $ZodCatch, $ZodCustom, $ZodDefault, $ZodE164, $ZodEmail, $ZodEmoji, $ZodGUID, $ZodIPv4, $ZodIPv6, $ZodIntersection, $ZodJWT, $ZodKSUID, $ZodNanoID, $ZodNonOptional, $ZodNullable, $ZodOptional, $ZodPipe, $ZodPrefault, $ZodReadonly, $ZodString, $ZodStringFormat, $ZodTransform, $ZodType, $ZodULID, $ZodURL, $ZodUUID, $ZodUnion, $ZodXID } from "../core/schemas.js";
4
+ import { globalRegistry } from "../core/registries.js";
5
+ import { _array, _base64, _base64url, _cidrv4, _cidrv6, _cuid, _cuid2, _e164, _email, _emoji, _endsWith, _guid, _includes, _ipv4, _ipv6, _jwt, _ksuid, _length, _lowercase, _maxLength, _minLength, _nanoid, _normalize, _overwrite, _refine, _regex, _slugify, _startsWith, _string, _superRefine, _toLowerCase, _toUpperCase, _trim, _ulid, _uppercase, _url, _uuid, _uuidv4, _uuidv6, _uuidv7, _xid, describe as describe$1, meta as meta$1 } from "../core/api.js";
6
+ import { createStandardJSONSchemaMethod, createToJSONSchemaMethod } from "../core/to-json-schema.js";
7
+ import { arrayProcessor, catchProcessor, customProcessor, defaultProcessor, intersectionProcessor, nonoptionalProcessor, nullableProcessor, optionalProcessor, pipeProcessor, prefaultProcessor, readonlyProcessor, stringProcessor, transformProcessor, unionProcessor } from "../core/json-schema-processors.js";
8
+ import { date, datetime, duration, time } from "./iso.js";
9
+ import { decode, decodeAsync, encode, encodeAsync, parse, parseAsync, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync } from "./parse.js";
10
+
11
+ //#region ../../../node_modules/zod/v4/classic/schemas.js
12
+ const ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
13
+ $ZodType.init(inst, def);
14
+ Object.assign(inst["~standard"], { jsonSchema: {
15
+ input: createStandardJSONSchemaMethod(inst, "input"),
16
+ output: createStandardJSONSchemaMethod(inst, "output")
17
+ } });
18
+ inst.toJSONSchema = createToJSONSchemaMethod(inst, {});
19
+ inst.def = def;
20
+ inst.type = def.type;
21
+ Object.defineProperty(inst, "_def", { value: def });
22
+ inst.check = (...checks) => {
23
+ return inst.clone(mergeDefs(def, { checks: [...def.checks ?? [], ...checks.map((ch) => typeof ch === "function" ? { _zod: {
24
+ check: ch,
25
+ def: { check: "custom" },
26
+ onattach: []
27
+ } } : ch)] }));
28
+ };
29
+ inst.clone = (def$1, params) => clone(inst, def$1, params);
30
+ inst.brand = () => inst;
31
+ inst.register = ((reg, meta$2) => {
32
+ reg.add(inst, meta$2);
33
+ return inst;
34
+ });
35
+ inst.parse = (data, params) => parse(inst, data, params, { callee: inst.parse });
36
+ inst.safeParse = (data, params) => safeParse(inst, data, params);
37
+ inst.parseAsync = async (data, params) => parseAsync(inst, data, params, { callee: inst.parseAsync });
38
+ inst.safeParseAsync = async (data, params) => safeParseAsync(inst, data, params);
39
+ inst.spa = inst.safeParseAsync;
40
+ inst.encode = (data, params) => encode(inst, data, params);
41
+ inst.decode = (data, params) => decode(inst, data, params);
42
+ inst.encodeAsync = async (data, params) => encodeAsync(inst, data, params);
43
+ inst.decodeAsync = async (data, params) => decodeAsync(inst, data, params);
44
+ inst.safeEncode = (data, params) => safeEncode(inst, data, params);
45
+ inst.safeDecode = (data, params) => safeDecode(inst, data, params);
46
+ inst.safeEncodeAsync = async (data, params) => safeEncodeAsync(inst, data, params);
47
+ inst.safeDecodeAsync = async (data, params) => safeDecodeAsync(inst, data, params);
48
+ inst.refine = (check, params) => inst.check(refine(check, params));
49
+ inst.superRefine = (refinement) => inst.check(superRefine(refinement));
50
+ inst.overwrite = (fn) => inst.check(_overwrite(fn));
51
+ inst.optional = () => optional(inst);
52
+ inst.nullable = () => nullable(inst);
53
+ inst.nullish = () => optional(nullable(inst));
54
+ inst.nonoptional = (params) => nonoptional(inst, params);
55
+ inst.array = () => array(inst);
56
+ inst.or = (arg) => union([inst, arg]);
57
+ inst.and = (arg) => intersection(inst, arg);
58
+ inst.transform = (tx) => pipe(inst, transform(tx));
59
+ inst.default = (def$1) => _default(inst, def$1);
60
+ inst.prefault = (def$1) => prefault(inst, def$1);
61
+ inst.catch = (params) => _catch(inst, params);
62
+ inst.pipe = (target) => pipe(inst, target);
63
+ inst.readonly = () => readonly(inst);
64
+ inst.describe = (description) => {
65
+ const cl = inst.clone();
66
+ globalRegistry.add(cl, { description });
67
+ return cl;
68
+ };
69
+ Object.defineProperty(inst, "description", {
70
+ get() {
71
+ return globalRegistry.get(inst)?.description;
72
+ },
73
+ configurable: true
74
+ });
75
+ inst.meta = (...args) => {
76
+ if (args.length === 0) return globalRegistry.get(inst);
77
+ const cl = inst.clone();
78
+ globalRegistry.add(cl, args[0]);
79
+ return cl;
80
+ };
81
+ inst.isOptional = () => inst.safeParse(void 0).success;
82
+ inst.isNullable = () => inst.safeParse(null).success;
83
+ return inst;
84
+ });
85
+ /** @internal */
86
+ const _ZodString = /* @__PURE__ */ $constructor("_ZodString", (inst, def) => {
87
+ $ZodString.init(inst, def);
88
+ ZodType.init(inst, def);
89
+ inst._zod.processJSONSchema = (ctx, json, params) => stringProcessor(inst, ctx, json, params);
90
+ const bag = inst._zod.bag;
91
+ inst.format = bag.format ?? null;
92
+ inst.minLength = bag.minimum ?? null;
93
+ inst.maxLength = bag.maximum ?? null;
94
+ inst.regex = (...args) => inst.check(_regex(...args));
95
+ inst.includes = (...args) => inst.check(_includes(...args));
96
+ inst.startsWith = (...args) => inst.check(_startsWith(...args));
97
+ inst.endsWith = (...args) => inst.check(_endsWith(...args));
98
+ inst.min = (...args) => inst.check(_minLength(...args));
99
+ inst.max = (...args) => inst.check(_maxLength(...args));
100
+ inst.length = (...args) => inst.check(_length(...args));
101
+ inst.nonempty = (...args) => inst.check(_minLength(1, ...args));
102
+ inst.lowercase = (params) => inst.check(_lowercase(params));
103
+ inst.uppercase = (params) => inst.check(_uppercase(params));
104
+ inst.trim = () => inst.check(_trim());
105
+ inst.normalize = (...args) => inst.check(_normalize(...args));
106
+ inst.toLowerCase = () => inst.check(_toLowerCase());
107
+ inst.toUpperCase = () => inst.check(_toUpperCase());
108
+ inst.slugify = () => inst.check(_slugify());
109
+ });
110
+ const ZodString = /* @__PURE__ */ $constructor("ZodString", (inst, def) => {
111
+ $ZodString.init(inst, def);
112
+ _ZodString.init(inst, def);
113
+ inst.email = (params) => inst.check(_email(ZodEmail, params));
114
+ inst.url = (params) => inst.check(_url(ZodURL, params));
115
+ inst.jwt = (params) => inst.check(_jwt(ZodJWT, params));
116
+ inst.emoji = (params) => inst.check(_emoji(ZodEmoji, params));
117
+ inst.guid = (params) => inst.check(_guid(ZodGUID, params));
118
+ inst.uuid = (params) => inst.check(_uuid(ZodUUID, params));
119
+ inst.uuidv4 = (params) => inst.check(_uuidv4(ZodUUID, params));
120
+ inst.uuidv6 = (params) => inst.check(_uuidv6(ZodUUID, params));
121
+ inst.uuidv7 = (params) => inst.check(_uuidv7(ZodUUID, params));
122
+ inst.nanoid = (params) => inst.check(_nanoid(ZodNanoID, params));
123
+ inst.guid = (params) => inst.check(_guid(ZodGUID, params));
124
+ inst.cuid = (params) => inst.check(_cuid(ZodCUID, params));
125
+ inst.cuid2 = (params) => inst.check(_cuid2(ZodCUID2, params));
126
+ inst.ulid = (params) => inst.check(_ulid(ZodULID, params));
127
+ inst.base64 = (params) => inst.check(_base64(ZodBase64, params));
128
+ inst.base64url = (params) => inst.check(_base64url(ZodBase64URL, params));
129
+ inst.xid = (params) => inst.check(_xid(ZodXID, params));
130
+ inst.ksuid = (params) => inst.check(_ksuid(ZodKSUID, params));
131
+ inst.ipv4 = (params) => inst.check(_ipv4(ZodIPv4, params));
132
+ inst.ipv6 = (params) => inst.check(_ipv6(ZodIPv6, params));
133
+ inst.cidrv4 = (params) => inst.check(_cidrv4(ZodCIDRv4, params));
134
+ inst.cidrv6 = (params) => inst.check(_cidrv6(ZodCIDRv6, params));
135
+ inst.e164 = (params) => inst.check(_e164(ZodE164, params));
136
+ inst.datetime = (params) => inst.check(datetime(params));
137
+ inst.date = (params) => inst.check(date(params));
138
+ inst.time = (params) => inst.check(time(params));
139
+ inst.duration = (params) => inst.check(duration(params));
140
+ });
141
+ function string(params) {
142
+ return _string(ZodString, params);
143
+ }
144
+ const ZodStringFormat = /* @__PURE__ */ $constructor("ZodStringFormat", (inst, def) => {
145
+ $ZodStringFormat.init(inst, def);
146
+ _ZodString.init(inst, def);
147
+ });
148
+ const ZodEmail = /* @__PURE__ */ $constructor("ZodEmail", (inst, def) => {
149
+ $ZodEmail.init(inst, def);
150
+ ZodStringFormat.init(inst, def);
151
+ });
152
+ const ZodGUID = /* @__PURE__ */ $constructor("ZodGUID", (inst, def) => {
153
+ $ZodGUID.init(inst, def);
154
+ ZodStringFormat.init(inst, def);
155
+ });
156
+ const ZodUUID = /* @__PURE__ */ $constructor("ZodUUID", (inst, def) => {
157
+ $ZodUUID.init(inst, def);
158
+ ZodStringFormat.init(inst, def);
159
+ });
160
+ const ZodURL = /* @__PURE__ */ $constructor("ZodURL", (inst, def) => {
161
+ $ZodURL.init(inst, def);
162
+ ZodStringFormat.init(inst, def);
163
+ });
164
+ const ZodEmoji = /* @__PURE__ */ $constructor("ZodEmoji", (inst, def) => {
165
+ $ZodEmoji.init(inst, def);
166
+ ZodStringFormat.init(inst, def);
167
+ });
168
+ const ZodNanoID = /* @__PURE__ */ $constructor("ZodNanoID", (inst, def) => {
169
+ $ZodNanoID.init(inst, def);
170
+ ZodStringFormat.init(inst, def);
171
+ });
172
+ const ZodCUID = /* @__PURE__ */ $constructor("ZodCUID", (inst, def) => {
173
+ $ZodCUID.init(inst, def);
174
+ ZodStringFormat.init(inst, def);
175
+ });
176
+ const ZodCUID2 = /* @__PURE__ */ $constructor("ZodCUID2", (inst, def) => {
177
+ $ZodCUID2.init(inst, def);
178
+ ZodStringFormat.init(inst, def);
179
+ });
180
+ const ZodULID = /* @__PURE__ */ $constructor("ZodULID", (inst, def) => {
181
+ $ZodULID.init(inst, def);
182
+ ZodStringFormat.init(inst, def);
183
+ });
184
+ const ZodXID = /* @__PURE__ */ $constructor("ZodXID", (inst, def) => {
185
+ $ZodXID.init(inst, def);
186
+ ZodStringFormat.init(inst, def);
187
+ });
188
+ const ZodKSUID = /* @__PURE__ */ $constructor("ZodKSUID", (inst, def) => {
189
+ $ZodKSUID.init(inst, def);
190
+ ZodStringFormat.init(inst, def);
191
+ });
192
+ const ZodIPv4 = /* @__PURE__ */ $constructor("ZodIPv4", (inst, def) => {
193
+ $ZodIPv4.init(inst, def);
194
+ ZodStringFormat.init(inst, def);
195
+ });
196
+ const ZodIPv6 = /* @__PURE__ */ $constructor("ZodIPv6", (inst, def) => {
197
+ $ZodIPv6.init(inst, def);
198
+ ZodStringFormat.init(inst, def);
199
+ });
200
+ const ZodCIDRv4 = /* @__PURE__ */ $constructor("ZodCIDRv4", (inst, def) => {
201
+ $ZodCIDRv4.init(inst, def);
202
+ ZodStringFormat.init(inst, def);
203
+ });
204
+ const ZodCIDRv6 = /* @__PURE__ */ $constructor("ZodCIDRv6", (inst, def) => {
205
+ $ZodCIDRv6.init(inst, def);
206
+ ZodStringFormat.init(inst, def);
207
+ });
208
+ const ZodBase64 = /* @__PURE__ */ $constructor("ZodBase64", (inst, def) => {
209
+ $ZodBase64.init(inst, def);
210
+ ZodStringFormat.init(inst, def);
211
+ });
212
+ const ZodBase64URL = /* @__PURE__ */ $constructor("ZodBase64URL", (inst, def) => {
213
+ $ZodBase64URL.init(inst, def);
214
+ ZodStringFormat.init(inst, def);
215
+ });
216
+ const ZodE164 = /* @__PURE__ */ $constructor("ZodE164", (inst, def) => {
217
+ $ZodE164.init(inst, def);
218
+ ZodStringFormat.init(inst, def);
219
+ });
220
+ const ZodJWT = /* @__PURE__ */ $constructor("ZodJWT", (inst, def) => {
221
+ $ZodJWT.init(inst, def);
222
+ ZodStringFormat.init(inst, def);
223
+ });
224
+ const ZodArray = /* @__PURE__ */ $constructor("ZodArray", (inst, def) => {
225
+ $ZodArray.init(inst, def);
226
+ ZodType.init(inst, def);
227
+ inst._zod.processJSONSchema = (ctx, json, params) => arrayProcessor(inst, ctx, json, params);
228
+ inst.element = def.element;
229
+ inst.min = (minLength, params) => inst.check(_minLength(minLength, params));
230
+ inst.nonempty = (params) => inst.check(_minLength(1, params));
231
+ inst.max = (maxLength, params) => inst.check(_maxLength(maxLength, params));
232
+ inst.length = (len, params) => inst.check(_length(len, params));
233
+ inst.unwrap = () => inst.element;
234
+ });
235
+ function array(element, params) {
236
+ return _array(ZodArray, element, params);
237
+ }
238
+ const ZodUnion = /* @__PURE__ */ $constructor("ZodUnion", (inst, def) => {
239
+ $ZodUnion.init(inst, def);
240
+ ZodType.init(inst, def);
241
+ inst._zod.processJSONSchema = (ctx, json, params) => unionProcessor(inst, ctx, json, params);
242
+ inst.options = def.options;
243
+ });
244
+ function union(options, params) {
245
+ return new ZodUnion({
246
+ type: "union",
247
+ options,
248
+ ...normalizeParams(params)
249
+ });
250
+ }
251
+ const ZodIntersection = /* @__PURE__ */ $constructor("ZodIntersection", (inst, def) => {
252
+ $ZodIntersection.init(inst, def);
253
+ ZodType.init(inst, def);
254
+ inst._zod.processJSONSchema = (ctx, json, params) => intersectionProcessor(inst, ctx, json, params);
255
+ });
256
+ function intersection(left, right) {
257
+ return new ZodIntersection({
258
+ type: "intersection",
259
+ left,
260
+ right
261
+ });
262
+ }
263
+ const ZodTransform = /* @__PURE__ */ $constructor("ZodTransform", (inst, def) => {
264
+ $ZodTransform.init(inst, def);
265
+ ZodType.init(inst, def);
266
+ inst._zod.processJSONSchema = (ctx, json, params) => transformProcessor(inst, ctx, json, params);
267
+ inst._zod.parse = (payload, _ctx) => {
268
+ if (_ctx.direction === "backward") throw new $ZodEncodeError(inst.constructor.name);
269
+ payload.addIssue = (issue$1) => {
270
+ if (typeof issue$1 === "string") payload.issues.push(issue(issue$1, payload.value, def));
271
+ else {
272
+ const _issue = issue$1;
273
+ if (_issue.fatal) _issue.continue = false;
274
+ _issue.code ?? (_issue.code = "custom");
275
+ _issue.input ?? (_issue.input = payload.value);
276
+ _issue.inst ?? (_issue.inst = inst);
277
+ payload.issues.push(issue(_issue));
278
+ }
279
+ };
280
+ const output = def.transform(payload.value, payload);
281
+ if (output instanceof Promise) return output.then((output$1) => {
282
+ payload.value = output$1;
283
+ return payload;
284
+ });
285
+ payload.value = output;
286
+ return payload;
287
+ };
288
+ });
289
+ function transform(fn) {
290
+ return new ZodTransform({
291
+ type: "transform",
292
+ transform: fn
293
+ });
294
+ }
295
+ const ZodOptional = /* @__PURE__ */ $constructor("ZodOptional", (inst, def) => {
296
+ $ZodOptional.init(inst, def);
297
+ ZodType.init(inst, def);
298
+ inst._zod.processJSONSchema = (ctx, json, params) => optionalProcessor(inst, ctx, json, params);
299
+ inst.unwrap = () => inst._zod.def.innerType;
300
+ });
301
+ function optional(innerType) {
302
+ return new ZodOptional({
303
+ type: "optional",
304
+ innerType
305
+ });
306
+ }
307
+ const ZodNullable = /* @__PURE__ */ $constructor("ZodNullable", (inst, def) => {
308
+ $ZodNullable.init(inst, def);
309
+ ZodType.init(inst, def);
310
+ inst._zod.processJSONSchema = (ctx, json, params) => nullableProcessor(inst, ctx, json, params);
311
+ inst.unwrap = () => inst._zod.def.innerType;
312
+ });
313
+ function nullable(innerType) {
314
+ return new ZodNullable({
315
+ type: "nullable",
316
+ innerType
317
+ });
318
+ }
319
+ const ZodDefault = /* @__PURE__ */ $constructor("ZodDefault", (inst, def) => {
320
+ $ZodDefault.init(inst, def);
321
+ ZodType.init(inst, def);
322
+ inst._zod.processJSONSchema = (ctx, json, params) => defaultProcessor(inst, ctx, json, params);
323
+ inst.unwrap = () => inst._zod.def.innerType;
324
+ inst.removeDefault = inst.unwrap;
325
+ });
326
+ function _default(innerType, defaultValue) {
327
+ return new ZodDefault({
328
+ type: "default",
329
+ innerType,
330
+ get defaultValue() {
331
+ return typeof defaultValue === "function" ? defaultValue() : shallowClone(defaultValue);
332
+ }
333
+ });
334
+ }
335
+ const ZodPrefault = /* @__PURE__ */ $constructor("ZodPrefault", (inst, def) => {
336
+ $ZodPrefault.init(inst, def);
337
+ ZodType.init(inst, def);
338
+ inst._zod.processJSONSchema = (ctx, json, params) => prefaultProcessor(inst, ctx, json, params);
339
+ inst.unwrap = () => inst._zod.def.innerType;
340
+ });
341
+ function prefault(innerType, defaultValue) {
342
+ return new ZodPrefault({
343
+ type: "prefault",
344
+ innerType,
345
+ get defaultValue() {
346
+ return typeof defaultValue === "function" ? defaultValue() : shallowClone(defaultValue);
347
+ }
348
+ });
349
+ }
350
+ const ZodNonOptional = /* @__PURE__ */ $constructor("ZodNonOptional", (inst, def) => {
351
+ $ZodNonOptional.init(inst, def);
352
+ ZodType.init(inst, def);
353
+ inst._zod.processJSONSchema = (ctx, json, params) => nonoptionalProcessor(inst, ctx, json, params);
354
+ inst.unwrap = () => inst._zod.def.innerType;
355
+ });
356
+ function nonoptional(innerType, params) {
357
+ return new ZodNonOptional({
358
+ type: "nonoptional",
359
+ innerType,
360
+ ...normalizeParams(params)
361
+ });
362
+ }
363
+ const ZodCatch = /* @__PURE__ */ $constructor("ZodCatch", (inst, def) => {
364
+ $ZodCatch.init(inst, def);
365
+ ZodType.init(inst, def);
366
+ inst._zod.processJSONSchema = (ctx, json, params) => catchProcessor(inst, ctx, json, params);
367
+ inst.unwrap = () => inst._zod.def.innerType;
368
+ inst.removeCatch = inst.unwrap;
369
+ });
370
+ function _catch(innerType, catchValue) {
371
+ return new ZodCatch({
372
+ type: "catch",
373
+ innerType,
374
+ catchValue: typeof catchValue === "function" ? catchValue : () => catchValue
375
+ });
376
+ }
377
+ const ZodPipe = /* @__PURE__ */ $constructor("ZodPipe", (inst, def) => {
378
+ $ZodPipe.init(inst, def);
379
+ ZodType.init(inst, def);
380
+ inst._zod.processJSONSchema = (ctx, json, params) => pipeProcessor(inst, ctx, json, params);
381
+ inst.in = def.in;
382
+ inst.out = def.out;
383
+ });
384
+ function pipe(in_, out) {
385
+ return new ZodPipe({
386
+ type: "pipe",
387
+ in: in_,
388
+ out
389
+ });
390
+ }
391
+ const ZodReadonly = /* @__PURE__ */ $constructor("ZodReadonly", (inst, def) => {
392
+ $ZodReadonly.init(inst, def);
393
+ ZodType.init(inst, def);
394
+ inst._zod.processJSONSchema = (ctx, json, params) => readonlyProcessor(inst, ctx, json, params);
395
+ inst.unwrap = () => inst._zod.def.innerType;
396
+ });
397
+ function readonly(innerType) {
398
+ return new ZodReadonly({
399
+ type: "readonly",
400
+ innerType
401
+ });
402
+ }
403
+ const ZodCustom = /* @__PURE__ */ $constructor("ZodCustom", (inst, def) => {
404
+ $ZodCustom.init(inst, def);
405
+ ZodType.init(inst, def);
406
+ inst._zod.processJSONSchema = (ctx, json, params) => customProcessor(inst, ctx, json, params);
407
+ });
408
+ function refine(fn, _params = {}) {
409
+ return _refine(ZodCustom, fn, _params);
410
+ }
411
+ function superRefine(fn) {
412
+ return _superRefine(fn);
413
+ }
414
+ const describe = describe$1;
415
+ const meta = meta$1;
416
+
417
+ //#endregion
418
+ export { ZodStringFormat, string };