@intlayer/design-system 5.7.8 → 5.8.1-canary.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 (413) hide show
  1. package/dist/.vite/manifest.json +127 -91
  2. package/dist/{better-auth.8zoxzg-F-D8e0X4ys.js → better-auth.CMQ3rA-I-7umXOENE.js} +1 -7
  3. package/dist/better-auth.CMQ3rA-I-7umXOENE.js.map +1 -0
  4. package/dist/{better-auth.8zoxzg-F-BEBqzpjz.cjs → better-auth.CMQ3rA-I-C2nBKRMa.cjs} +1 -7
  5. package/dist/better-auth.CMQ3rA-I-C2nBKRMa.cjs.map +1 -0
  6. package/dist/components/Accordion/Accordion.cjs +2 -2
  7. package/dist/components/Accordion/Accordion.cjs.map +1 -1
  8. package/dist/components/Accordion/Accordion.d.ts.map +1 -1
  9. package/dist/components/Accordion/Accordion.mjs +3 -3
  10. package/dist/components/Accordion/Accordion.mjs.map +1 -1
  11. package/dist/components/Badge/index.cjs +69 -12
  12. package/dist/components/Badge/index.cjs.map +1 -1
  13. package/dist/components/Badge/index.d.ts +18 -2
  14. package/dist/components/Badge/index.d.ts.map +1 -1
  15. package/dist/components/Badge/index.mjs +69 -12
  16. package/dist/components/Badge/index.mjs.map +1 -1
  17. package/dist/components/Breadcrumb/index.cjs +4 -5
  18. package/dist/components/Breadcrumb/index.cjs.map +1 -1
  19. package/dist/components/Breadcrumb/index.d.ts +2 -1
  20. package/dist/components/Breadcrumb/index.d.ts.map +1 -1
  21. package/dist/components/Breadcrumb/index.mjs +7 -8
  22. package/dist/components/Breadcrumb/index.mjs.map +1 -1
  23. package/dist/components/Button/Button.cjs +95 -40
  24. package/dist/components/Button/Button.cjs.map +1 -1
  25. package/dist/components/Button/Button.d.ts +42 -1
  26. package/dist/components/Button/Button.d.ts.map +1 -1
  27. package/dist/components/Button/Button.mjs +96 -41
  28. package/dist/components/Button/Button.mjs.map +1 -1
  29. package/dist/components/Button/index.cjs +5 -0
  30. package/dist/components/Button/index.cjs.map +1 -1
  31. package/dist/components/Button/index.mjs +7 -2
  32. package/dist/components/Container/index.cjs +67 -0
  33. package/dist/components/Container/index.cjs.map +1 -1
  34. package/dist/components/Container/index.d.ts +53 -0
  35. package/dist/components/Container/index.d.ts.map +1 -1
  36. package/dist/components/Container/index.mjs +67 -0
  37. package/dist/components/Container/index.mjs.map +1 -1
  38. package/dist/components/ContentEditor/ContentEditor.cjs +3 -1
  39. package/dist/components/ContentEditor/ContentEditor.cjs.map +1 -1
  40. package/dist/components/ContentEditor/ContentEditor.d.ts.map +1 -1
  41. package/dist/components/ContentEditor/ContentEditor.mjs +3 -1
  42. package/dist/components/ContentEditor/ContentEditor.mjs.map +1 -1
  43. package/dist/components/ContentEditor/ContentEditorInput.cjs +7 -7
  44. package/dist/components/ContentEditor/ContentEditorInput.cjs.map +1 -1
  45. package/dist/components/ContentEditor/ContentEditorInput.d.ts +1 -1
  46. package/dist/components/ContentEditor/ContentEditorInput.d.ts.map +1 -1
  47. package/dist/components/ContentEditor/ContentEditorInput.mjs +9 -9
  48. package/dist/components/ContentEditor/ContentEditorInput.mjs.map +1 -1
  49. package/dist/components/CopyButton/CopyButton.content.cjs.map +1 -0
  50. package/dist/components/CopyButton/CopyButton.content.d.ts.map +1 -0
  51. package/dist/components/CopyButton/CopyButton.content.mjs.map +1 -0
  52. package/dist/components/CopyButton/index.cjs +4 -5
  53. package/dist/components/CopyButton/index.cjs.map +1 -1
  54. package/dist/components/CopyButton/index.d.ts.map +1 -1
  55. package/dist/components/CopyButton/index.mjs +6 -7
  56. package/dist/components/CopyButton/index.mjs.map +1 -1
  57. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.cjs +29 -33
  58. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.cjs.map +1 -1
  59. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
  60. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +32 -36
  61. package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
  62. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +4 -6
  63. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
  64. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.d.ts.map +1 -1
  65. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +5 -7
  66. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
  67. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs +2 -1
  68. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs.map +1 -1
  69. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +1 -0
  70. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts.map +1 -1
  71. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs +1 -0
  72. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs.map +1 -1
  73. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs +2 -3
  74. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.cjs.map +1 -1
  75. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts.map +1 -1
  76. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs +3 -4
  77. package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs.map +1 -1
  78. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +5 -5
  79. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
  80. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +6 -6
  81. package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
  82. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +2 -1
  83. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
  84. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +3 -24
  85. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
  86. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +1 -0
  87. package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
  88. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs +2 -3
  89. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.cjs.map +1 -1
  90. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs +2 -1
  91. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs.map +1 -1
  92. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +1 -0
  93. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -1
  94. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs +1 -0
  95. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs.map +1 -1
  96. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.d.ts.map +1 -1
  97. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs +3 -4
  98. package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.mjs.map +1 -1
  99. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +6 -10
  100. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
  101. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
  102. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +9 -13
  103. package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
  104. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs +8 -9
  105. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.cjs.map +1 -1
  106. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts +1 -1
  107. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.d.ts.map +1 -1
  108. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +10 -11
  109. package/dist/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs.map +1 -1
  110. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs +2 -1
  111. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs.map +1 -1
  112. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +1 -0
  113. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -1
  114. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs +1 -0
  115. package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs.map +1 -1
  116. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs +1 -2
  117. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.cjs.map +1 -1
  118. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.d.ts.map +1 -1
  119. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs +2 -3
  120. package/dist/components/DictionaryFieldEditor/NodeTypeSelector.mjs.map +1 -1
  121. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +14 -14
  122. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
  123. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
  124. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +16 -16
  125. package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
  126. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +2 -1
  127. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
  128. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +3 -24
  129. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
  130. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +1 -0
  131. package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
  132. package/dist/components/DictionaryFieldEditor/StructureView/StructureView.cjs +11 -12
  133. package/dist/components/DictionaryFieldEditor/StructureView/StructureView.cjs.map +1 -1
  134. package/dist/components/DictionaryFieldEditor/StructureView/StructureView.mjs +13 -14
  135. package/dist/components/DictionaryFieldEditor/StructureView/StructureView.mjs.map +1 -1
  136. package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.cjs +3 -2
  137. package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.cjs.map +1 -1
  138. package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +1 -0
  139. package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts.map +1 -1
  140. package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.mjs +2 -1
  141. package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.mjs.map +1 -1
  142. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs +5 -8
  143. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs.map +1 -1
  144. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.d.ts.map +1 -1
  145. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs +7 -10
  146. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs.map +1 -1
  147. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.cjs +1 -1
  148. package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.mjs +1 -1
  149. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs +2 -1
  150. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs.map +1 -1
  151. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +1 -0
  152. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts.map +1 -1
  153. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs +1 -0
  154. package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs.map +1 -1
  155. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs +2 -1
  156. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs.map +1 -1
  157. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +1 -0
  158. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
  159. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs +1 -0
  160. package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs.map +1 -1
  161. package/dist/components/DropDown/index.cjs +11 -2
  162. package/dist/components/DropDown/index.cjs.map +1 -1
  163. package/dist/components/DropDown/index.d.ts +7 -2
  164. package/dist/components/DropDown/index.d.ts.map +1 -1
  165. package/dist/components/DropDown/index.mjs +12 -3
  166. package/dist/components/DropDown/index.mjs.map +1 -1
  167. package/dist/components/EditableField/EditableFieldLayout.cjs +9 -9
  168. package/dist/components/EditableField/EditableFieldLayout.cjs.map +1 -1
  169. package/dist/components/EditableField/EditableFieldLayout.d.ts +1 -1
  170. package/dist/components/EditableField/EditableFieldLayout.d.ts.map +1 -1
  171. package/dist/components/EditableField/EditableFieldLayout.mjs +10 -10
  172. package/dist/components/EditableField/EditableFieldLayout.mjs.map +1 -1
  173. package/dist/components/EditableField/EditableFieldTextArea.cjs +1 -1
  174. package/dist/components/EditableField/EditableFieldTextArea.mjs +1 -1
  175. package/dist/components/ExpandCollapse/ExpandCollapse.cjs +56 -0
  176. package/dist/components/ExpandCollapse/ExpandCollapse.cjs.map +1 -0
  177. package/dist/components/ExpandCollapse/ExpandCollapse.d.ts +9 -0
  178. package/dist/components/ExpandCollapse/ExpandCollapse.d.ts.map +1 -0
  179. package/dist/components/ExpandCollapse/ExpandCollapse.mjs +56 -0
  180. package/dist/components/ExpandCollapse/ExpandCollapse.mjs.map +1 -0
  181. package/dist/components/ExpandCollapse/expandCollapse.content.cjs +41 -0
  182. package/dist/components/ExpandCollapse/expandCollapse.content.cjs.map +1 -0
  183. package/dist/components/ExpandCollapse/expandCollapse.content.d.ts +40 -0
  184. package/dist/components/ExpandCollapse/expandCollapse.content.d.ts.map +1 -0
  185. package/dist/components/ExpandCollapse/expandCollapse.content.mjs +42 -0
  186. package/dist/components/ExpandCollapse/expandCollapse.content.mjs.map +1 -0
  187. package/dist/components/ExpandCollapse/index.cjs +5 -0
  188. package/dist/components/ExpandCollapse/index.cjs.map +1 -0
  189. package/dist/components/ExpandCollapse/index.d.ts +2 -0
  190. package/dist/components/ExpandCollapse/index.d.ts.map +1 -0
  191. package/dist/components/ExpandCollapse/index.mjs +5 -0
  192. package/dist/components/ExpandCollapse/index.mjs.map +1 -0
  193. package/dist/components/Form/FormBase.cjs +1 -1
  194. package/dist/components/Form/FormBase.mjs +1 -1
  195. package/dist/components/Form/elements/FormElementWrapper.cjs +2 -2
  196. package/dist/components/Form/elements/FormElementWrapper.mjs +2 -2
  197. package/dist/components/IDE/Code.cjs +12 -1
  198. package/dist/components/IDE/Code.cjs.map +1 -1
  199. package/dist/components/IDE/Code.d.ts +1 -0
  200. package/dist/components/IDE/Code.d.ts.map +1 -1
  201. package/dist/components/IDE/Code.mjs +12 -1
  202. package/dist/components/IDE/Code.mjs.map +1 -1
  203. package/dist/components/IDE/CodeBlockClient.cjs +2 -2
  204. package/dist/components/IDE/CodeBlockClient.cjs.map +1 -1
  205. package/dist/components/IDE/CodeBlockClient.mjs +2 -2
  206. package/dist/components/IDE/CodeBlockClient.mjs.map +1 -1
  207. package/dist/components/IDE/CodeBlockServer.cjs +2 -2
  208. package/dist/components/IDE/CodeBlockServer.cjs.map +1 -1
  209. package/dist/components/IDE/CodeBlockServer.mjs +2 -2
  210. package/dist/components/IDE/CodeBlockServer.mjs.map +1 -1
  211. package/dist/components/IDE/CodeContext.cjs +1 -1
  212. package/dist/components/IDE/CodeContext.mjs +1 -1
  213. package/dist/components/IDE/CopyCode.cjs +2 -3
  214. package/dist/components/IDE/CopyCode.cjs.map +1 -1
  215. package/dist/components/IDE/CopyCode.d.ts.map +1 -1
  216. package/dist/components/IDE/CopyCode.mjs +4 -5
  217. package/dist/components/IDE/CopyCode.mjs.map +1 -1
  218. package/dist/components/Input/Checkbox.cjs +21 -0
  219. package/dist/components/Input/Checkbox.cjs.map +1 -1
  220. package/dist/components/Input/Checkbox.d.ts +21 -1
  221. package/dist/components/Input/Checkbox.d.ts.map +1 -1
  222. package/dist/components/Input/Checkbox.mjs +21 -0
  223. package/dist/components/Input/Checkbox.mjs.map +1 -1
  224. package/dist/components/Input/Input.cjs +12 -0
  225. package/dist/components/Input/Input.cjs.map +1 -1
  226. package/dist/components/Input/Input.d.ts +13 -2
  227. package/dist/components/Input/Input.d.ts.map +1 -1
  228. package/dist/components/Input/Input.mjs +12 -0
  229. package/dist/components/Input/Input.mjs.map +1 -1
  230. package/dist/components/Input/index.cjs +4 -0
  231. package/dist/components/Input/index.cjs.map +1 -1
  232. package/dist/components/Input/index.mjs +6 -2
  233. package/dist/components/Link/Link.cjs +60 -19
  234. package/dist/components/Link/Link.cjs.map +1 -1
  235. package/dist/components/Link/Link.d.ts +27 -2
  236. package/dist/components/Link/Link.d.ts.map +1 -1
  237. package/dist/components/Link/Link.mjs +60 -19
  238. package/dist/components/Link/Link.mjs.map +1 -1
  239. package/dist/components/Link/index.cjs +3 -0
  240. package/dist/components/Link/index.cjs.map +1 -1
  241. package/dist/components/Link/index.mjs +4 -1
  242. package/dist/components/Loader/index.content.d.ts +2 -24
  243. package/dist/components/Loader/index.content.d.ts.map +1 -1
  244. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs +8 -9
  245. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs.map +1 -1
  246. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.d.ts.map +1 -1
  247. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +11 -12
  248. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs.map +1 -1
  249. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.cjs +1 -1
  250. package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.mjs +1 -1
  251. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs +4 -5
  252. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.cjs.map +1 -1
  253. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.d.ts.map +1 -1
  254. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +6 -7
  255. package/dist/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs.map +1 -1
  256. package/dist/components/MarkDownRender/index.cjs +17 -23
  257. package/dist/components/MarkDownRender/index.cjs.map +1 -1
  258. package/dist/components/MarkDownRender/index.d.ts.map +1 -1
  259. package/dist/components/MarkDownRender/index.mjs +18 -24
  260. package/dist/components/MarkDownRender/index.mjs.map +1 -1
  261. package/dist/components/Modal/Modal.cjs +14 -5
  262. package/dist/components/Modal/Modal.cjs.map +1 -1
  263. package/dist/components/Modal/Modal.d.ts +10 -4
  264. package/dist/components/Modal/Modal.d.ts.map +1 -1
  265. package/dist/components/Modal/Modal.mjs +16 -7
  266. package/dist/components/Modal/Modal.mjs.map +1 -1
  267. package/dist/components/Modal/index.cjs +1 -0
  268. package/dist/components/Modal/index.cjs.map +1 -1
  269. package/dist/components/Modal/index.mjs +3 -2
  270. package/dist/components/Navbar/DesktopNavbar.cjs +2 -2
  271. package/dist/components/Navbar/DesktopNavbar.cjs.map +1 -1
  272. package/dist/components/Navbar/DesktopNavbar.d.ts.map +1 -1
  273. package/dist/components/Navbar/DesktopNavbar.mjs +3 -3
  274. package/dist/components/Navbar/DesktopNavbar.mjs.map +1 -1
  275. package/dist/components/Navbar/MobileNavbar.cjs +1 -1
  276. package/dist/components/Navbar/MobileNavbar.mjs +1 -1
  277. package/dist/components/Navbar/index.cjs +2 -2
  278. package/dist/components/Navbar/index.cjs.map +1 -1
  279. package/dist/components/Navbar/index.mjs +2 -2
  280. package/dist/components/Navbar/index.mjs.map +1 -1
  281. package/dist/components/Popover/index.cjs +12 -0
  282. package/dist/components/Popover/index.cjs.map +1 -1
  283. package/dist/components/Popover/index.d.ts +10 -2
  284. package/dist/components/Popover/index.d.ts.map +1 -1
  285. package/dist/components/Popover/index.mjs +13 -1
  286. package/dist/components/Popover/index.mjs.map +1 -1
  287. package/dist/components/RightDrawer/RightDrawer.cjs +5 -5
  288. package/dist/components/RightDrawer/RightDrawer.cjs.map +1 -1
  289. package/dist/components/RightDrawer/RightDrawer.mjs +6 -6
  290. package/dist/components/RightDrawer/RightDrawer.mjs.map +1 -1
  291. package/dist/components/Select/Multiselect.cjs +1 -1
  292. package/dist/components/Select/Multiselect.cjs.map +1 -1
  293. package/dist/components/Select/Multiselect.mjs +2 -2
  294. package/dist/components/Select/Multiselect.mjs.map +1 -1
  295. package/dist/components/Select/Select.cjs +12 -1
  296. package/dist/components/Select/Select.cjs.map +1 -1
  297. package/dist/components/Select/Select.d.ts +5 -1
  298. package/dist/components/Select/Select.d.ts.map +1 -1
  299. package/dist/components/Select/Select.mjs +12 -1
  300. package/dist/components/Select/Select.mjs.map +1 -1
  301. package/dist/components/Select/index.cjs +1 -0
  302. package/dist/components/Select/index.cjs.map +1 -1
  303. package/dist/components/Select/index.mjs +2 -1
  304. package/dist/components/SocialNetworks/index.cjs +1 -1
  305. package/dist/components/SocialNetworks/index.cjs.map +1 -1
  306. package/dist/components/SocialNetworks/index.mjs +1 -1
  307. package/dist/components/SocialNetworks/index.mjs.map +1 -1
  308. package/dist/components/SwitchSelector/index.cjs +89 -18
  309. package/dist/components/SwitchSelector/index.cjs.map +1 -1
  310. package/dist/components/SwitchSelector/index.d.ts +16 -2
  311. package/dist/components/SwitchSelector/index.d.ts.map +1 -1
  312. package/dist/components/SwitchSelector/index.mjs +90 -19
  313. package/dist/components/SwitchSelector/index.mjs.map +1 -1
  314. package/dist/components/TabSelector/TabSelector.cjs +12 -1
  315. package/dist/components/TabSelector/TabSelector.cjs.map +1 -1
  316. package/dist/components/TabSelector/TabSelector.d.ts +12 -1
  317. package/dist/components/TabSelector/TabSelector.d.ts.map +1 -1
  318. package/dist/components/TabSelector/TabSelector.mjs +13 -2
  319. package/dist/components/TabSelector/TabSelector.mjs.map +1 -1
  320. package/dist/components/TabSelector/index.cjs +1 -0
  321. package/dist/components/TabSelector/index.cjs.map +1 -1
  322. package/dist/components/TabSelector/index.d.ts +1 -0
  323. package/dist/components/TabSelector/index.d.ts.map +1 -1
  324. package/dist/components/TabSelector/index.mjs +3 -2
  325. package/dist/components/Table/Table.cjs +58 -0
  326. package/dist/components/Table/Table.cjs.map +1 -0
  327. package/dist/components/Table/Table.d.ts +7 -0
  328. package/dist/components/Table/Table.d.ts.map +1 -0
  329. package/dist/components/Table/Table.mjs +58 -0
  330. package/dist/components/Table/Table.mjs.map +1 -0
  331. package/dist/components/Table/index.cjs +5 -0
  332. package/dist/components/Table/index.cjs.map +1 -0
  333. package/dist/components/Table/index.d.ts +2 -0
  334. package/dist/components/Table/index.d.ts.map +1 -0
  335. package/dist/components/Table/index.mjs +5 -0
  336. package/dist/components/Table/index.mjs.map +1 -0
  337. package/dist/components/Table/table.content.cjs +24 -0
  338. package/dist/components/Table/table.content.cjs.map +1 -0
  339. package/dist/components/Table/table.content.d.ts +40 -0
  340. package/dist/components/Table/table.content.d.ts.map +1 -0
  341. package/dist/components/Table/table.content.mjs +25 -0
  342. package/dist/components/Table/table.content.mjs.map +1 -0
  343. package/dist/components/Tag/index.cjs +131 -22
  344. package/dist/components/Tag/index.cjs.map +1 -1
  345. package/dist/components/Tag/index.d.ts +37 -5
  346. package/dist/components/Tag/index.d.ts.map +1 -1
  347. package/dist/components/Tag/index.mjs +132 -23
  348. package/dist/components/Tag/index.mjs.map +1 -1
  349. package/dist/components/TextArea/AutocompleteTextArea.cjs +1 -1
  350. package/dist/components/TextArea/AutocompleteTextArea.mjs +1 -1
  351. package/dist/components/TextArea/TextArea.cjs.map +1 -1
  352. package/dist/components/TextArea/TextArea.d.ts +5 -3
  353. package/dist/components/TextArea/TextArea.d.ts.map +1 -1
  354. package/dist/components/TextArea/TextArea.mjs.map +1 -1
  355. package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs +1 -1
  356. package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.cjs.map +1 -1
  357. package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs +2 -2
  358. package/dist/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs.map +1 -1
  359. package/dist/components/index.cjs +36 -0
  360. package/dist/components/index.cjs.map +1 -1
  361. package/dist/components/index.d.ts +1 -0
  362. package/dist/components/index.d.ts.map +1 -1
  363. package/dist/components/index.mjs +49 -13
  364. package/dist/components/index.mjs.map +1 -1
  365. package/dist/hooks/auth.cjs +2 -2
  366. package/dist/hooks/auth.cjs.map +1 -1
  367. package/dist/hooks/auth.mjs +1 -1
  368. package/dist/hooks/auth.mjs.map +1 -1
  369. package/dist/hooks/intlayerAPIHooks.cjs +1 -1
  370. package/dist/hooks/intlayerAPIHooks.d.ts +1 -1
  371. package/dist/hooks/intlayerAPIHooks.d.ts.map +1 -1
  372. package/dist/hooks/intlayerAPIHooks.mjs +1 -1
  373. package/dist/hooks/useAsync/useAsync.cjs +6 -6
  374. package/dist/hooks/useAsync/useAsync.cjs.map +1 -1
  375. package/dist/hooks/useAsync/useAsync.mjs +6 -6
  376. package/dist/hooks/useAsync/useAsync.mjs.map +1 -1
  377. package/dist/hooks/useUser/index.cjs +1 -1
  378. package/dist/hooks/useUser/index.mjs +1 -1
  379. package/dist/index-BCuMWKyy.js.map +1 -1
  380. package/dist/index-BYzBot7l.cjs.map +1 -1
  381. package/dist/{parse-BJVwmz92.cjs → parse-Ltyyb1op.cjs} +9 -11
  382. package/dist/parse-Ltyyb1op.cjs.map +1 -0
  383. package/dist/{parse-pnJgclyf.js → parse-Vrm0h1r9.js} +30 -32
  384. package/dist/parse-Vrm0h1r9.js.map +1 -0
  385. package/dist/{schemas-BIuxHDyZ.js → schemas-DEXdAbCK.js} +75 -46
  386. package/dist/schemas-DEXdAbCK.js.map +1 -0
  387. package/dist/{schemas-Q6C7ZNs3.cjs → schemas-lh5OFOvX.cjs} +75 -46
  388. package/dist/schemas-lh5OFOvX.cjs.map +1 -0
  389. package/dist/{zod-K7y5gPX4.cjs → zod-BvUVjPTw.cjs} +11 -11
  390. package/dist/zod-BvUVjPTw.cjs.map +1 -0
  391. package/dist/{zod-D4WapgbL.js → zod-CJrbzxwg.js} +11 -11
  392. package/dist/zod-CJrbzxwg.js.map +1 -0
  393. package/package.json +42 -35
  394. package/dist/better-auth.8zoxzg-F-BEBqzpjz.cjs.map +0 -1
  395. package/dist/better-auth.8zoxzg-F-D8e0X4ys.js.map +0 -1
  396. package/dist/components/Headers/SectionScroller.cjs +0 -29
  397. package/dist/components/Headers/SectionScroller.cjs.map +0 -1
  398. package/dist/components/Headers/SectionScroller.d.ts +0 -2
  399. package/dist/components/Headers/SectionScroller.d.ts.map +0 -1
  400. package/dist/components/Headers/SectionScroller.mjs +0 -29
  401. package/dist/components/Headers/SectionScroller.mjs.map +0 -1
  402. package/dist/components/IDE/CopyButton.content.cjs.map +0 -1
  403. package/dist/components/IDE/CopyButton.content.d.ts.map +0 -1
  404. package/dist/components/IDE/CopyButton.content.mjs.map +0 -1
  405. package/dist/parse-BJVwmz92.cjs.map +0 -1
  406. package/dist/parse-pnJgclyf.js.map +0 -1
  407. package/dist/schemas-BIuxHDyZ.js.map +0 -1
  408. package/dist/schemas-Q6C7ZNs3.cjs.map +0 -1
  409. package/dist/zod-D4WapgbL.js.map +0 -1
  410. package/dist/zod-K7y5gPX4.cjs.map +0 -1
  411. /package/dist/components/{IDE → CopyButton}/CopyButton.content.cjs +0 -0
  412. /package/dist/components/{IDE → CopyButton}/CopyButton.content.d.ts +0 -0
  413. /package/dist/components/{IDE → CopyButton}/CopyButton.content.mjs +0 -0
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const parse$1 = require("./parse-BJVwmz92.cjs");
2
+ const parse$1 = require("./parse-Ltyyb1op.cjs");
3
3
  const cuid = /^[cC][^\s-]{8,}$/;
4
4
  const cuid2 = /^[0-9a-z]+$/;
5
5
  const ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
@@ -59,11 +59,12 @@ const $ZodCheck = /* @__PURE__ */ parse$1.$constructor("$ZodCheck", (inst, def)
59
59
  (_a = inst._zod).onattach ?? (_a.onattach = []);
60
60
  });
61
61
  const $ZodCheckMaxLength = /* @__PURE__ */ parse$1.$constructor("$ZodCheckMaxLength", (inst, def) => {
62
+ var _a;
62
63
  $ZodCheck.init(inst, def);
63
- inst._zod.when = (payload) => {
64
+ (_a = inst._zod.def).when ?? (_a.when = (payload) => {
64
65
  const val = payload.value;
65
66
  return !parse$1.nullish(val) && val.length !== void 0;
66
- };
67
+ });
67
68
  inst._zod.onattach.push((inst2) => {
68
69
  const curr = inst2._zod.bag.maximum ?? Number.POSITIVE_INFINITY;
69
70
  if (def.maximum < curr)
@@ -87,11 +88,12 @@ const $ZodCheckMaxLength = /* @__PURE__ */ parse$1.$constructor("$ZodCheckMaxLen
87
88
  };
88
89
  });
89
90
  const $ZodCheckMinLength = /* @__PURE__ */ parse$1.$constructor("$ZodCheckMinLength", (inst, def) => {
91
+ var _a;
90
92
  $ZodCheck.init(inst, def);
91
- inst._zod.when = (payload) => {
93
+ (_a = inst._zod.def).when ?? (_a.when = (payload) => {
92
94
  const val = payload.value;
93
95
  return !parse$1.nullish(val) && val.length !== void 0;
94
- };
96
+ });
95
97
  inst._zod.onattach.push((inst2) => {
96
98
  const curr = inst2._zod.bag.minimum ?? Number.NEGATIVE_INFINITY;
97
99
  if (def.minimum > curr)
@@ -115,11 +117,12 @@ const $ZodCheckMinLength = /* @__PURE__ */ parse$1.$constructor("$ZodCheckMinLen
115
117
  };
116
118
  });
117
119
  const $ZodCheckLengthEquals = /* @__PURE__ */ parse$1.$constructor("$ZodCheckLengthEquals", (inst, def) => {
120
+ var _a;
118
121
  $ZodCheck.init(inst, def);
119
- inst._zod.when = (payload) => {
122
+ (_a = inst._zod.def).when ?? (_a.when = (payload) => {
120
123
  const val = payload.value;
121
124
  return !parse$1.nullish(val) && val.length !== void 0;
122
- };
125
+ });
123
126
  inst._zod.onattach.push((inst2) => {
124
127
  const bag = inst2._zod.bag;
125
128
  bag.minimum = def.length;
@@ -136,6 +139,8 @@ const $ZodCheckLengthEquals = /* @__PURE__ */ parse$1.$constructor("$ZodCheckLen
136
139
  payload.issues.push({
137
140
  origin,
138
141
  ...tooBig ? { code: "too_big", maximum: def.length } : { code: "too_small", minimum: def.length },
142
+ inclusive: true,
143
+ exact: true,
139
144
  input: payload.value,
140
145
  inst,
141
146
  continue: !def.abort
@@ -143,7 +148,7 @@ const $ZodCheckLengthEquals = /* @__PURE__ */ parse$1.$constructor("$ZodCheckLen
143
148
  };
144
149
  });
145
150
  const $ZodCheckStringFormat = /* @__PURE__ */ parse$1.$constructor("$ZodCheckStringFormat", (inst, def) => {
146
- var _a;
151
+ var _a, _b;
147
152
  $ZodCheck.init(inst, def);
148
153
  inst._zod.onattach.push((inst2) => {
149
154
  const bag = inst2._zod.bag;
@@ -153,22 +158,24 @@ const $ZodCheckStringFormat = /* @__PURE__ */ parse$1.$constructor("$ZodCheckStr
153
158
  bag.patterns.add(def.pattern);
154
159
  }
155
160
  });
156
- (_a = inst._zod).check ?? (_a.check = (payload) => {
157
- if (!def.pattern)
158
- throw new Error("Not implemented.");
159
- def.pattern.lastIndex = 0;
160
- if (def.pattern.test(payload.value))
161
- return;
162
- payload.issues.push({
163
- origin: "string",
164
- code: "invalid_format",
165
- format: def.format,
166
- input: payload.value,
167
- ...def.pattern ? { pattern: def.pattern.toString() } : {},
168
- inst,
169
- continue: !def.abort
161
+ if (def.pattern)
162
+ (_a = inst._zod).check ?? (_a.check = (payload) => {
163
+ def.pattern.lastIndex = 0;
164
+ if (def.pattern.test(payload.value))
165
+ return;
166
+ payload.issues.push({
167
+ origin: "string",
168
+ code: "invalid_format",
169
+ format: def.format,
170
+ input: payload.value,
171
+ ...def.pattern ? { pattern: def.pattern.toString() } : {},
172
+ inst,
173
+ continue: !def.abort
174
+ });
175
+ });
176
+ else
177
+ (_b = inst._zod).check ?? (_b.check = () => {
170
178
  });
171
- });
172
179
  });
173
180
  const $ZodCheckRegex = /* @__PURE__ */ parse$1.$constructor("$ZodCheckRegex", (inst, def) => {
174
181
  $ZodCheckStringFormat.init(inst, def);
@@ -313,7 +320,6 @@ const version = {
313
320
  const $ZodType = /* @__PURE__ */ parse$1.$constructor("$ZodType", (inst, def) => {
314
321
  var _a;
315
322
  inst ?? (inst = {});
316
- parse$1.defineLazy(inst._zod, "id", () => def.type + "_" + parse$1.randomString(10));
317
323
  inst._zod.def = def;
318
324
  inst._zod.bag = inst._zod.bag || {};
319
325
  inst._zod.version = version;
@@ -336,8 +342,8 @@ const $ZodType = /* @__PURE__ */ parse$1.$constructor("$ZodType", (inst, def) =>
336
342
  let isAborted = parse$1.aborted(payload);
337
343
  let asyncResult;
338
344
  for (const ch of checks2) {
339
- if (ch._zod.when) {
340
- const shouldRun = ch._zod.when(payload);
345
+ if (ch._zod.def.when) {
346
+ const shouldRun = ch._zod.def.when(payload);
341
347
  if (!shouldRun)
342
348
  continue;
343
349
  } else if (isAborted) {
@@ -451,7 +457,9 @@ const $ZodURL = /* @__PURE__ */ parse$1.$constructor("$ZodURL", (inst, def) => {
451
457
  $ZodStringFormat.init(inst, def);
452
458
  inst._zod.check = (payload) => {
453
459
  try {
454
- const url = new URL(payload.value);
460
+ const orig = payload.value;
461
+ const url = new URL(orig);
462
+ const href = url.href;
455
463
  if (def.hostname) {
456
464
  def.hostname.lastIndex = 0;
457
465
  if (!def.hostname.test(url.hostname)) {
@@ -480,6 +488,11 @@ const $ZodURL = /* @__PURE__ */ parse$1.$constructor("$ZodURL", (inst, def) => {
480
488
  });
481
489
  }
482
490
  }
491
+ if (!orig.endsWith("/") && href.endsWith("/")) {
492
+ payload.value = href.slice(0, -1);
493
+ } else {
494
+ payload.value = href;
495
+ }
483
496
  return;
484
497
  } catch (_) {
485
498
  payload.issues.push({
@@ -523,7 +536,6 @@ const $ZodKSUID = /* @__PURE__ */ parse$1.$constructor("$ZodKSUID", (inst, def)
523
536
  const $ZodISODateTime = /* @__PURE__ */ parse$1.$constructor("$ZodISODateTime", (inst, def) => {
524
537
  def.pattern ?? (def.pattern = datetime$1(def));
525
538
  $ZodStringFormat.init(inst, def);
526
- inst._zod.check;
527
539
  });
528
540
  const $ZodISODate = /* @__PURE__ */ parse$1.$constructor("$ZodISODate", (inst, def) => {
529
541
  def.pattern ?? (def.pattern = date$1);
@@ -532,7 +544,6 @@ const $ZodISODate = /* @__PURE__ */ parse$1.$constructor("$ZodISODate", (inst, d
532
544
  const $ZodISOTime = /* @__PURE__ */ parse$1.$constructor("$ZodISOTime", (inst, def) => {
533
545
  def.pattern ?? (def.pattern = time$1(def));
534
546
  $ZodStringFormat.init(inst, def);
535
- inst._zod.check;
536
547
  });
537
548
  const $ZodISODuration = /* @__PURE__ */ parse$1.$constructor("$ZodISODuration", (inst, def) => {
538
549
  def.pattern ?? (def.pattern = duration$1);
@@ -661,6 +672,8 @@ function isValidJWT(token, algorithm = null) {
661
672
  if (tokensParts.length !== 3)
662
673
  return false;
663
674
  const [header] = tokensParts;
675
+ if (!header)
676
+ return false;
664
677
  const parsedHeader = JSON.parse(atob(header));
665
678
  if ("typ" in parsedHeader && parsedHeader?.typ !== "JWT")
666
679
  return false;
@@ -799,19 +812,20 @@ const $ZodObject = /* @__PURE__ */ parse$1.$constructor("$ZodObject", (inst, def
799
812
  });
800
813
  const generateFastpass = (shape) => {
801
814
  const doc = new Doc(["shape", "payload", "ctx"]);
802
- const { keys, optionalKeys } = _normalized.value;
815
+ const normalized = _normalized.value;
803
816
  const parseStr = (key) => {
804
817
  const k = parse$1.esc(key);
805
818
  return `shape[${k}]._zod.run({ value: input[${k}], issues: [] }, ctx)`;
806
819
  };
807
820
  doc.write(`const input = payload.value;`);
808
821
  const ids = /* @__PURE__ */ Object.create(null);
809
- for (const key of keys) {
810
- ids[key] = parse$1.randomString(15);
822
+ let counter = 0;
823
+ for (const key of normalized.keys) {
824
+ ids[key] = `key_${counter++}`;
811
825
  }
812
826
  doc.write(`const newResult = {}`);
813
- for (const key of keys) {
814
- if (optionalKeys.has(key)) {
827
+ for (const key of normalized.keys) {
828
+ if (normalized.optionalKeys.has(key)) {
815
829
  const id = ids[key];
816
830
  doc.write(`const ${id} = ${parseStr(key)};`);
817
831
  const k = parse$1.esc(key);
@@ -856,7 +870,7 @@ const $ZodObject = /* @__PURE__ */ parse$1.$constructor("$ZodObject", (inst, def
856
870
  const jit = !parse$1.globalConfig.jitless;
857
871
  const allowsEval = parse$1.allowsEval;
858
872
  const fastEnabled = jit && allowsEval.value;
859
- const { catchall } = def;
873
+ const catchall = def.catchall;
860
874
  let value;
861
875
  inst._zod.parse = (payload, ctx) => {
862
876
  value ?? (value = _normalized.value);
@@ -944,6 +958,8 @@ function handleUnionResults(results, final, inst, ctx) {
944
958
  }
945
959
  const $ZodUnion = /* @__PURE__ */ parse$1.$constructor("$ZodUnion", (inst, def) => {
946
960
  $ZodType.init(inst, def);
961
+ parse$1.defineLazy(inst._zod, "optin", () => def.options.some((o) => o._zod.optin === "optional") ? "optional" : void 0);
962
+ parse$1.defineLazy(inst._zod, "optout", () => def.options.some((o) => o._zod.optout === "optional") ? "optional" : void 0);
947
963
  parse$1.defineLazy(inst._zod, "values", () => {
948
964
  if (def.options.every((o) => o._zod.values)) {
949
965
  return new Set(def.options.flatMap((option) => Array.from(option._zod.values)));
@@ -984,7 +1000,7 @@ const $ZodUnion = /* @__PURE__ */ parse$1.$constructor("$ZodUnion", (inst, def)
984
1000
  const $ZodIntersection = /* @__PURE__ */ parse$1.$constructor("$ZodIntersection", (inst, def) => {
985
1001
  $ZodType.init(inst, def);
986
1002
  inst._zod.parse = (payload, ctx) => {
987
- const { value: input } = payload;
1003
+ const input = payload.value;
988
1004
  const left = def.left._zod.run({ value: input, issues: [] }, ctx);
989
1005
  const right = def.right._zod.run({ value: input, issues: [] }, ctx);
990
1006
  const async = left instanceof Promise || right instanceof Promise;
@@ -1105,6 +1121,9 @@ const $ZodOptional = /* @__PURE__ */ parse$1.$constructor("$ZodOptional", (inst,
1105
1121
  return pattern ? new RegExp(`^(${parse$1.cleanRegex(pattern.source)})?$`) : void 0;
1106
1122
  });
1107
1123
  inst._zod.parse = (payload, ctx) => {
1124
+ if (def.innerType._zod.optin === "optional") {
1125
+ return def.innerType._zod.run(payload, ctx);
1126
+ }
1108
1127
  if (payload.value === void 0) {
1109
1128
  return payload;
1110
1129
  }
@@ -1188,7 +1207,7 @@ function handleNonOptionalResult(payload, inst) {
1188
1207
  }
1189
1208
  const $ZodCatch = /* @__PURE__ */ parse$1.$constructor("$ZodCatch", (inst, def) => {
1190
1209
  $ZodType.init(inst, def);
1191
- parse$1.defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
1210
+ inst._zod.optin = "optional";
1192
1211
  parse$1.defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
1193
1212
  parse$1.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
1194
1213
  inst._zod.parse = (payload, ctx) => {
@@ -1245,6 +1264,7 @@ function handlePipeResult(left, def, ctx) {
1245
1264
  const $ZodReadonly = /* @__PURE__ */ parse$1.$constructor("$ZodReadonly", (inst, def) => {
1246
1265
  $ZodType.init(inst, def);
1247
1266
  parse$1.defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
1267
+ parse$1.defineLazy(inst._zod, "values", () => def.innerType._zod.values);
1248
1268
  parse$1.defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
1249
1269
  parse$1.defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
1250
1270
  inst._zod.parse = (payload, ctx) => {
@@ -1294,7 +1314,7 @@ function handleRefineResult(result, payload, input, inst) {
1294
1314
  }
1295
1315
  class $ZodRegistry {
1296
1316
  constructor() {
1297
- this._map = /* @__PURE__ */ new WeakMap();
1317
+ this._map = /* @__PURE__ */ new Map();
1298
1318
  this._idmap = /* @__PURE__ */ new Map();
1299
1319
  }
1300
1320
  add(schema, ..._meta) {
@@ -1308,7 +1328,16 @@ class $ZodRegistry {
1308
1328
  }
1309
1329
  return this;
1310
1330
  }
1331
+ clear() {
1332
+ this._map = /* @__PURE__ */ new Map();
1333
+ this._idmap = /* @__PURE__ */ new Map();
1334
+ return this;
1335
+ }
1311
1336
  remove(schema) {
1337
+ const meta = this._map.get(schema);
1338
+ if (meta && typeof meta === "object" && "id" in meta) {
1339
+ this._idmap.delete(meta.id);
1340
+ }
1312
1341
  this._map.delete(schema);
1313
1342
  return this;
1314
1343
  }
@@ -1769,10 +1798,10 @@ const ZodType = /* @__PURE__ */ parse$1.$constructor("ZodType", (inst, def) => {
1769
1798
  };
1770
1799
  inst.clone = (def2, params) => parse$1.clone(inst, def2, params);
1771
1800
  inst.brand = () => inst;
1772
- inst.register = (reg, meta) => {
1801
+ inst.register = ((reg, meta) => {
1773
1802
  reg.add(inst, meta);
1774
1803
  return inst;
1775
- };
1804
+ });
1776
1805
  inst.parse = (data, params) => parse(inst, data, params, { callee: inst.parse });
1777
1806
  inst.safeParse = (data, params) => safeParse(inst, data, params);
1778
1807
  inst.parseAsync = async (data, params) => parseAsync(inst, data, params, { callee: inst.parseAsync });
@@ -2217,10 +2246,10 @@ const ZodCustom = /* @__PURE__ */ parse$1.$constructor("ZodCustom", (inst, def)
2217
2246
  $ZodCustom.init(inst, def);
2218
2247
  ZodType.init(inst, def);
2219
2248
  });
2220
- function check(fn, params) {
2249
+ function check(fn) {
2221
2250
  const ch = new $ZodCheck({
2222
- check: "custom",
2223
- ...parse$1.normalizeParams(params)
2251
+ check: "custom"
2252
+ // ...util.normalizeParams(params),
2224
2253
  });
2225
2254
  ch._zod.check = fn;
2226
2255
  return ch;
@@ -2228,7 +2257,7 @@ function check(fn, params) {
2228
2257
  function refine(fn, _params = {}) {
2229
2258
  return _refine(ZodCustom, fn, _params);
2230
2259
  }
2231
- function superRefine(fn, params) {
2260
+ function superRefine(fn) {
2232
2261
  const ch = check((payload) => {
2233
2262
  payload.addIssue = (issue) => {
2234
2263
  if (typeof issue === "string") {
@@ -2245,10 +2274,10 @@ function superRefine(fn, params) {
2245
2274
  }
2246
2275
  };
2247
2276
  return fn(payload.value, payload);
2248
- }, params);
2277
+ });
2249
2278
  return ch;
2250
2279
  }
2251
2280
  exports.array = array;
2252
2281
  exports.object = object;
2253
2282
  exports.string = string;
2254
- //# sourceMappingURL=schemas-Q6C7ZNs3.cjs.map
2283
+ //# sourceMappingURL=schemas-lh5OFOvX.cjs.map