@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,62 @@
1
+ import { $constructor } from "./core.js";
2
+ import { jsonStringifyReplacer } from "./util.js";
3
+
4
+ //#region ../../../node_modules/zod/v4/core/errors.js
5
+ const initializer = (inst, def) => {
6
+ inst.name = "$ZodError";
7
+ Object.defineProperty(inst, "_zod", {
8
+ value: inst._zod,
9
+ enumerable: false
10
+ });
11
+ Object.defineProperty(inst, "issues", {
12
+ value: def,
13
+ enumerable: false
14
+ });
15
+ inst.message = JSON.stringify(def, jsonStringifyReplacer, 2);
16
+ Object.defineProperty(inst, "toString", {
17
+ value: () => inst.message,
18
+ enumerable: false
19
+ });
20
+ };
21
+ const $ZodError = $constructor("$ZodError", initializer);
22
+ const $ZodRealError = $constructor("$ZodError", initializer, { Parent: Error });
23
+ function flattenError(error, mapper = (issue) => issue.message) {
24
+ const fieldErrors = {};
25
+ const formErrors = [];
26
+ for (const sub of error.issues) if (sub.path.length > 0) {
27
+ fieldErrors[sub.path[0]] = fieldErrors[sub.path[0]] || [];
28
+ fieldErrors[sub.path[0]].push(mapper(sub));
29
+ } else formErrors.push(mapper(sub));
30
+ return {
31
+ formErrors,
32
+ fieldErrors
33
+ };
34
+ }
35
+ function formatError(error, mapper = (issue) => issue.message) {
36
+ const fieldErrors = { _errors: [] };
37
+ const processError = (error$1) => {
38
+ for (const issue of error$1.issues) if (issue.code === "invalid_union" && issue.errors.length) issue.errors.map((issues) => processError({ issues }));
39
+ else if (issue.code === "invalid_key") processError({ issues: issue.issues });
40
+ else if (issue.code === "invalid_element") processError({ issues: issue.issues });
41
+ else if (issue.path.length === 0) fieldErrors._errors.push(mapper(issue));
42
+ else {
43
+ let curr = fieldErrors;
44
+ let i = 0;
45
+ while (i < issue.path.length) {
46
+ const el = issue.path[i];
47
+ if (!(i === issue.path.length - 1)) curr[el] = curr[el] || { _errors: [] };
48
+ else {
49
+ curr[el] = curr[el] || { _errors: [] };
50
+ curr[el]._errors.push(mapper(issue));
51
+ }
52
+ curr = curr[el];
53
+ i++;
54
+ }
55
+ }
56
+ };
57
+ processError(error);
58
+ return fieldErrors;
59
+ }
60
+
61
+ //#endregion
62
+ export { $ZodError, $ZodRealError, flattenError, formatError };
@@ -0,0 +1,148 @@
1
+ import { process } from "./to-json-schema.js";
2
+
3
+ //#region ../../../node_modules/zod/v4/core/json-schema-processors.js
4
+ const formatMap = {
5
+ guid: "uuid",
6
+ url: "uri",
7
+ datetime: "date-time",
8
+ json_string: "json-string",
9
+ regex: ""
10
+ };
11
+ const stringProcessor = (schema, ctx, _json, _params) => {
12
+ const json = _json;
13
+ json.type = "string";
14
+ const { minimum, maximum, format, patterns, contentEncoding } = schema._zod.bag;
15
+ if (typeof minimum === "number") json.minLength = minimum;
16
+ if (typeof maximum === "number") json.maxLength = maximum;
17
+ if (format) {
18
+ json.format = formatMap[format] ?? format;
19
+ if (json.format === "") delete json.format;
20
+ }
21
+ if (contentEncoding) json.contentEncoding = contentEncoding;
22
+ if (patterns && patterns.size > 0) {
23
+ const regexes = [...patterns];
24
+ if (regexes.length === 1) json.pattern = regexes[0].source;
25
+ else if (regexes.length > 1) json.allOf = [...regexes.map((regex) => ({
26
+ ...ctx.target === "draft-07" || ctx.target === "draft-04" || ctx.target === "openapi-3.0" ? { type: "string" } : {},
27
+ pattern: regex.source
28
+ }))];
29
+ }
30
+ };
31
+ const customProcessor = (_schema, ctx, _json, _params) => {
32
+ if (ctx.unrepresentable === "throw") throw new Error("Custom types cannot be represented in JSON Schema");
33
+ };
34
+ const transformProcessor = (_schema, ctx, _json, _params) => {
35
+ if (ctx.unrepresentable === "throw") throw new Error("Transforms cannot be represented in JSON Schema");
36
+ };
37
+ const arrayProcessor = (schema, ctx, _json, params) => {
38
+ const json = _json;
39
+ const def = schema._zod.def;
40
+ const { minimum, maximum } = schema._zod.bag;
41
+ if (typeof minimum === "number") json.minItems = minimum;
42
+ if (typeof maximum === "number") json.maxItems = maximum;
43
+ json.type = "array";
44
+ json.items = process(def.element, ctx, {
45
+ ...params,
46
+ path: [...params.path, "items"]
47
+ });
48
+ };
49
+ const unionProcessor = (schema, ctx, json, params) => {
50
+ const def = schema._zod.def;
51
+ const isExclusive = def.inclusive === false;
52
+ const options = def.options.map((x, i) => process(x, ctx, {
53
+ ...params,
54
+ path: [
55
+ ...params.path,
56
+ isExclusive ? "oneOf" : "anyOf",
57
+ i
58
+ ]
59
+ }));
60
+ if (isExclusive) json.oneOf = options;
61
+ else json.anyOf = options;
62
+ };
63
+ const intersectionProcessor = (schema, ctx, json, params) => {
64
+ const def = schema._zod.def;
65
+ const a = process(def.left, ctx, {
66
+ ...params,
67
+ path: [
68
+ ...params.path,
69
+ "allOf",
70
+ 0
71
+ ]
72
+ });
73
+ const b = process(def.right, ctx, {
74
+ ...params,
75
+ path: [
76
+ ...params.path,
77
+ "allOf",
78
+ 1
79
+ ]
80
+ });
81
+ const isSimpleIntersection = (val) => "allOf" in val && Object.keys(val).length === 1;
82
+ json.allOf = [...isSimpleIntersection(a) ? a.allOf : [a], ...isSimpleIntersection(b) ? b.allOf : [b]];
83
+ };
84
+ const nullableProcessor = (schema, ctx, json, params) => {
85
+ const def = schema._zod.def;
86
+ const inner = process(def.innerType, ctx, params);
87
+ const seen = ctx.seen.get(schema);
88
+ if (ctx.target === "openapi-3.0") {
89
+ seen.ref = def.innerType;
90
+ json.nullable = true;
91
+ } else json.anyOf = [inner, { type: "null" }];
92
+ };
93
+ const nonoptionalProcessor = (schema, ctx, _json, params) => {
94
+ const def = schema._zod.def;
95
+ process(def.innerType, ctx, params);
96
+ const seen = ctx.seen.get(schema);
97
+ seen.ref = def.innerType;
98
+ };
99
+ const defaultProcessor = (schema, ctx, json, params) => {
100
+ const def = schema._zod.def;
101
+ process(def.innerType, ctx, params);
102
+ const seen = ctx.seen.get(schema);
103
+ seen.ref = def.innerType;
104
+ json.default = JSON.parse(JSON.stringify(def.defaultValue));
105
+ };
106
+ const prefaultProcessor = (schema, ctx, json, params) => {
107
+ const def = schema._zod.def;
108
+ process(def.innerType, ctx, params);
109
+ const seen = ctx.seen.get(schema);
110
+ seen.ref = def.innerType;
111
+ if (ctx.io === "input") json._prefault = JSON.parse(JSON.stringify(def.defaultValue));
112
+ };
113
+ const catchProcessor = (schema, ctx, json, params) => {
114
+ const def = schema._zod.def;
115
+ process(def.innerType, ctx, params);
116
+ const seen = ctx.seen.get(schema);
117
+ seen.ref = def.innerType;
118
+ let catchValue;
119
+ try {
120
+ catchValue = def.catchValue(void 0);
121
+ } catch {
122
+ throw new Error("Dynamic catch values are not supported in JSON Schema");
123
+ }
124
+ json.default = catchValue;
125
+ };
126
+ const pipeProcessor = (schema, ctx, _json, params) => {
127
+ const def = schema._zod.def;
128
+ const innerType = ctx.io === "input" ? def.in._zod.def.type === "transform" ? def.out : def.in : def.out;
129
+ process(innerType, ctx, params);
130
+ const seen = ctx.seen.get(schema);
131
+ seen.ref = innerType;
132
+ };
133
+ const readonlyProcessor = (schema, ctx, json, params) => {
134
+ const def = schema._zod.def;
135
+ process(def.innerType, ctx, params);
136
+ const seen = ctx.seen.get(schema);
137
+ seen.ref = def.innerType;
138
+ json.readOnly = true;
139
+ };
140
+ const optionalProcessor = (schema, ctx, _json, params) => {
141
+ const def = schema._zod.def;
142
+ process(def.innerType, ctx, params);
143
+ const seen = ctx.seen.get(schema);
144
+ seen.ref = def.innerType;
145
+ };
146
+
147
+ //#endregion
148
+ export { arrayProcessor, catchProcessor, customProcessor, defaultProcessor, intersectionProcessor, nonoptionalProcessor, nullableProcessor, optionalProcessor, pipeProcessor, prefaultProcessor, readonlyProcessor, stringProcessor, transformProcessor, unionProcessor };
@@ -0,0 +1,109 @@
1
+ import { $ZodAsyncError, config } from "./core.js";
2
+ import { captureStackTrace, finalizeIssue } from "./util.js";
3
+ import { $ZodError, $ZodRealError } from "./errors.js";
4
+
5
+ //#region ../../../node_modules/zod/v4/core/parse.js
6
+ const _parse = (_Err) => (schema, value, _ctx, _params) => {
7
+ const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
8
+ const result = schema._zod.run({
9
+ value,
10
+ issues: []
11
+ }, ctx);
12
+ if (result instanceof Promise) throw new $ZodAsyncError();
13
+ if (result.issues.length) {
14
+ const e = new (_params?.Err ?? _Err)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())));
15
+ captureStackTrace(e, _params?.callee);
16
+ throw e;
17
+ }
18
+ return result.value;
19
+ };
20
+ const parse = /* @__PURE__ */ _parse($ZodRealError);
21
+ const _parseAsync = (_Err) => async (schema, value, _ctx, params) => {
22
+ const ctx = _ctx ? Object.assign(_ctx, { async: true }) : { async: true };
23
+ let result = schema._zod.run({
24
+ value,
25
+ issues: []
26
+ }, ctx);
27
+ if (result instanceof Promise) result = await result;
28
+ if (result.issues.length) {
29
+ const e = new (params?.Err ?? _Err)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())));
30
+ captureStackTrace(e, params?.callee);
31
+ throw e;
32
+ }
33
+ return result.value;
34
+ };
35
+ const parseAsync = /* @__PURE__ */ _parseAsync($ZodRealError);
36
+ const _safeParse = (_Err) => (schema, value, _ctx) => {
37
+ const ctx = _ctx ? {
38
+ ..._ctx,
39
+ async: false
40
+ } : { async: false };
41
+ const result = schema._zod.run({
42
+ value,
43
+ issues: []
44
+ }, ctx);
45
+ if (result instanceof Promise) throw new $ZodAsyncError();
46
+ return result.issues.length ? {
47
+ success: false,
48
+ error: new (_Err ?? $ZodError)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())))
49
+ } : {
50
+ success: true,
51
+ data: result.value
52
+ };
53
+ };
54
+ const safeParse = /* @__PURE__ */ _safeParse($ZodRealError);
55
+ const _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
56
+ const ctx = _ctx ? Object.assign(_ctx, { async: true }) : { async: true };
57
+ let result = schema._zod.run({
58
+ value,
59
+ issues: []
60
+ }, ctx);
61
+ if (result instanceof Promise) result = await result;
62
+ return result.issues.length ? {
63
+ success: false,
64
+ error: new _Err(result.issues.map((iss) => finalizeIssue(iss, ctx, config())))
65
+ } : {
66
+ success: true,
67
+ data: result.value
68
+ };
69
+ };
70
+ const safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
71
+ const _encode = (_Err) => (schema, value, _ctx) => {
72
+ const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
73
+ return _parse(_Err)(schema, value, ctx);
74
+ };
75
+ const encode = /* @__PURE__ */ _encode($ZodRealError);
76
+ const _decode = (_Err) => (schema, value, _ctx) => {
77
+ return _parse(_Err)(schema, value, _ctx);
78
+ };
79
+ const decode = /* @__PURE__ */ _decode($ZodRealError);
80
+ const _encodeAsync = (_Err) => async (schema, value, _ctx) => {
81
+ const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
82
+ return _parseAsync(_Err)(schema, value, ctx);
83
+ };
84
+ const encodeAsync = /* @__PURE__ */ _encodeAsync($ZodRealError);
85
+ const _decodeAsync = (_Err) => async (schema, value, _ctx) => {
86
+ return _parseAsync(_Err)(schema, value, _ctx);
87
+ };
88
+ const decodeAsync = /* @__PURE__ */ _decodeAsync($ZodRealError);
89
+ const _safeEncode = (_Err) => (schema, value, _ctx) => {
90
+ const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
91
+ return _safeParse(_Err)(schema, value, ctx);
92
+ };
93
+ const safeEncode = /* @__PURE__ */ _safeEncode($ZodRealError);
94
+ const _safeDecode = (_Err) => (schema, value, _ctx) => {
95
+ return _safeParse(_Err)(schema, value, _ctx);
96
+ };
97
+ const safeDecode = /* @__PURE__ */ _safeDecode($ZodRealError);
98
+ const _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
99
+ const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
100
+ return _safeParseAsync(_Err)(schema, value, ctx);
101
+ };
102
+ const safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync($ZodRealError);
103
+ const _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
104
+ return _safeParseAsync(_Err)(schema, value, _ctx);
105
+ };
106
+ const safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
107
+
108
+ //#endregion
109
+ export { _decode, _decodeAsync, _encode, _encodeAsync, _parse, _parseAsync, _safeDecode, _safeDecodeAsync, _safeEncode, _safeEncodeAsync, _safeParse, _safeParseAsync, parse, parseAsync, safeParse, safeParseAsync };
@@ -0,0 +1,57 @@
1
+ //#region ../../../node_modules/zod/v4/core/regexes.js
2
+ const cuid = /^[cC][^\s-]{8,}$/;
3
+ const cuid2 = /^[0-9a-z]+$/;
4
+ const ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
5
+ const xid = /^[0-9a-vA-V]{20}$/;
6
+ const ksuid = /^[A-Za-z0-9]{27}$/;
7
+ const nanoid = /^[a-zA-Z0-9_-]{21}$/;
8
+ /** ISO 8601-1 duration regex. Does not support the 8601-2 extensions like negative durations or fractional/negative components. */
9
+ const duration = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;
10
+ /** A regex for any UUID-like identifier: 8-4-4-4-12 hex pattern */
11
+ const guid = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/;
12
+ /** Returns a regex for validating an RFC 9562/4122 UUID.
13
+ *
14
+ * @param version Optionally specify a version 1-8. If no version is specified, all versions are supported. */
15
+ const uuid = (version) => {
16
+ if (!version) return /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;
17
+ return /* @__PURE__ */ new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${version}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`);
18
+ };
19
+ /** Practical email validation */
20
+ const email = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;
21
+ const _emoji = `^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;
22
+ function emoji() {
23
+ return new RegExp(_emoji, "u");
24
+ }
25
+ const ipv4 = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/;
26
+ const ipv6 = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/;
27
+ const cidrv4 = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/;
28
+ const cidrv6 = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/;
29
+ const base64 = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/;
30
+ const base64url = /^[A-Za-z0-9_-]*$/;
31
+ const e164 = /^\+(?:[0-9]){6,14}[0-9]$/;
32
+ const dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;
33
+ const date = /* @__PURE__ */ new RegExp(`^${dateSource}$`);
34
+ function timeSource(args) {
35
+ const hhmm = `(?:[01]\\d|2[0-3]):[0-5]\\d`;
36
+ return typeof args.precision === "number" ? args.precision === -1 ? `${hhmm}` : args.precision === 0 ? `${hhmm}:[0-5]\\d` : `${hhmm}:[0-5]\\d\\.\\d{${args.precision}}` : `${hhmm}(?::[0-5]\\d(?:\\.\\d+)?)?`;
37
+ }
38
+ function time(args) {
39
+ return /* @__PURE__ */ new RegExp(`^${timeSource(args)}$`);
40
+ }
41
+ function datetime(args) {
42
+ const time$1 = timeSource({ precision: args.precision });
43
+ const opts = ["Z"];
44
+ if (args.local) opts.push("");
45
+ if (args.offset) opts.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);
46
+ const timeRegex = `${time$1}(?:${opts.join("|")})`;
47
+ return /* @__PURE__ */ new RegExp(`^${dateSource}T(?:${timeRegex})$`);
48
+ }
49
+ const string = (params) => {
50
+ const regex = params ? `[\\s\\S]{${params?.minimum ?? 0},${params?.maximum ?? ""}}` : `[\\s\\S]*`;
51
+ return /* @__PURE__ */ new RegExp(`^${regex}$`);
52
+ };
53
+ const lowercase = /^[^A-Z]*$/;
54
+ const uppercase = /^[^a-z]*$/;
55
+
56
+ //#endregion
57
+ export { base64, base64url, cidrv4, cidrv6, cuid, cuid2, date, datetime, duration, e164, email, emoji, guid, ipv4, ipv6, ksuid, lowercase, nanoid, string, time, ulid, uppercase, uuid, xid };
@@ -0,0 +1,52 @@
1
+ //#region ../../../node_modules/zod/v4/core/registries.js
2
+ var _a;
3
+ var $ZodRegistry = class {
4
+ constructor() {
5
+ this._map = /* @__PURE__ */ new WeakMap();
6
+ this._idmap = /* @__PURE__ */ new Map();
7
+ }
8
+ add(schema, ..._meta) {
9
+ const meta = _meta[0];
10
+ this._map.set(schema, meta);
11
+ if (meta && typeof meta === "object" && "id" in meta) {
12
+ if (this._idmap.has(meta.id)) throw new Error(`ID ${meta.id} already exists in the registry`);
13
+ this._idmap.set(meta.id, schema);
14
+ }
15
+ return this;
16
+ }
17
+ clear() {
18
+ this._map = /* @__PURE__ */ new WeakMap();
19
+ this._idmap = /* @__PURE__ */ new Map();
20
+ return this;
21
+ }
22
+ remove(schema) {
23
+ const meta = this._map.get(schema);
24
+ if (meta && typeof meta === "object" && "id" in meta) this._idmap.delete(meta.id);
25
+ this._map.delete(schema);
26
+ return this;
27
+ }
28
+ get(schema) {
29
+ const p = schema._zod.parent;
30
+ if (p) {
31
+ const pm = { ...this.get(p) ?? {} };
32
+ delete pm.id;
33
+ const f = {
34
+ ...pm,
35
+ ...this._map.get(schema)
36
+ };
37
+ return Object.keys(f).length ? f : void 0;
38
+ }
39
+ return this._map.get(schema);
40
+ }
41
+ has(schema) {
42
+ return this._map.has(schema);
43
+ }
44
+ };
45
+ function registry() {
46
+ return new $ZodRegistry();
47
+ }
48
+ (_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
49
+ const globalRegistry = globalThis.__zod_globalRegistry;
50
+
51
+ //#endregion
52
+ export { globalRegistry };