@vavt/react-ui 1.4.5 → 1.5.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 (446) hide show
  1. package/README.md +40 -8
  2. package/dist/AutoComplete-D8yHFMHQ.js +185 -0
  3. package/dist/AutoComplete-Drl00grg.cjs +1 -0
  4. package/dist/Avatar-CVGMy2Ws.cjs +1 -0
  5. package/dist/Avatar-DiZ9p6tu.js +125 -0
  6. package/dist/{Badge-FzXPw1qS.js → Badge-CchY6uXz.js} +1 -1
  7. package/dist/{Badge-BkqoSV-F.cjs → Badge-D3htuSXY.cjs} +1 -1
  8. package/dist/Breadcrumb-BWR92yK_.cjs +1 -0
  9. package/dist/Breadcrumb-BmZKaAQx.js +88 -0
  10. package/dist/Cascader-ZVE95kvm.cjs +1 -0
  11. package/dist/Cascader-bozg6Ebp.js +268 -0
  12. package/dist/Collapse-DVxYsq3L.cjs +1 -0
  13. package/dist/Collapse-DszkYUfD.js +112 -0
  14. package/dist/{Cron-BVMn9OXM.js → Cron-BWqWgWuv.js} +401 -398
  15. package/dist/Cron-zcb1FZ09.cjs +1 -0
  16. package/dist/{DatePicker-3wbkApMJ.js → DatePicker-DBjtTP2Q.js} +1 -1
  17. package/dist/{DatePicker-B3mA7BzE.cjs → DatePicker-apiCVsKF.cjs} +1 -1
  18. package/dist/{DateTimePicker-C1bggaBl.cjs → DateTimePicker-2omkPUuf.cjs} +1 -1
  19. package/dist/{DateTimePicker--A4EWUe-.js → DateTimePicker-IpyJLY4J.js} +1 -1
  20. package/dist/Descriptions-CmSiqsqf.cjs +1 -0
  21. package/dist/Descriptions-EL2QcZ1K.js +32 -0
  22. package/dist/{Drawer-D1elCS8V.js → Drawer--aEf7OiI.js} +8 -8
  23. package/dist/{Drawer-DbH5rUvZ.cjs → Drawer-BEDZEapD.cjs} +1 -1
  24. package/dist/Dropdown-FrlX_2wd.js +332 -0
  25. package/dist/Dropdown-dvIwbqMc.cjs +1 -0
  26. package/dist/{Form-DiYdJJNH.js → Form-CGJDPj0N.js} +9 -9
  27. package/dist/{Form-X98FSlHG.cjs → Form-lygZzVRZ.cjs} +1 -1
  28. package/dist/Image-D7FGl2cQ.cjs +1 -0
  29. package/dist/Image-DJb-tcA-.js +295 -0
  30. package/dist/{Input-BbJ4Q_xu.cjs → Input-BI-gwi8w.cjs} +1 -1
  31. package/dist/{Input-DpoSxIdb.js → Input-CoS-XMv1.js} +5 -5
  32. package/dist/Layout-CJpTIRSF.cjs +1 -0
  33. package/dist/Layout-l-rfDdFR.js +60 -0
  34. package/dist/List-BupBfl-B.js +45 -0
  35. package/dist/List-DAkXmKFR.cjs +1 -0
  36. package/dist/{Loading-BAKnIASq.js → Loading-C9LBGbnd.js} +1 -1
  37. package/dist/{Loading-BSqhKOle.cjs → Loading-CRhiY3Ok.cjs} +1 -1
  38. package/dist/Menu-CsGCo2ck.cjs +1 -0
  39. package/dist/Menu-t8GRH6oh.js +168 -0
  40. package/dist/Message-Bo-hPakI.js +170 -0
  41. package/dist/Message-D2WGz_wk.cjs +1 -0
  42. package/dist/{MessageBox-C0dCtUie.js → MessageBox-CaTZOiZC.js} +8 -8
  43. package/dist/{MessageBox-Bp-3oqz4.cjs → MessageBox-D9rZAvhY.cjs} +1 -1
  44. package/dist/Modal-BTMB0xbR.js +250 -0
  45. package/dist/{Modal-BfHARuVJ.cjs → Modal-ToC7SNzp.cjs} +1 -1
  46. package/dist/Notification-C1lOX5Hn.js +187 -0
  47. package/dist/Notification-DK5jP-kX.cjs +1 -0
  48. package/dist/{Pagination-CtnBykzs.cjs → Pagination-D_SAnFOA.cjs} +1 -1
  49. package/dist/{Pagination-BGbiLFtp.js → Pagination-fbC5EEq-.js} +1 -1
  50. package/dist/Popconfirm-CQ59-YOh.cjs +1 -0
  51. package/dist/Popconfirm-D2zgbhKF.js +91 -0
  52. package/dist/Popover-Cb8BrtQC.js +232 -0
  53. package/dist/Popover-Dqrb-lKh.cjs +1 -0
  54. package/dist/Result-C3RqWqnc.cjs +1 -0
  55. package/dist/Result-CcnBHoE5.js +77 -0
  56. package/dist/Segmented-CQ18snYg.cjs +1 -0
  57. package/dist/Segmented-OykaARP4.js +39 -0
  58. package/dist/Select-CpoP5kRp.js +504 -0
  59. package/dist/Select-D8udcz4F.cjs +1 -0
  60. package/dist/Skeleton-B_cZyDWx.cjs +1 -0
  61. package/dist/Skeleton-C80MPzfN.js +31 -0
  62. package/dist/Statistic-BitBMhSW.cjs +1 -0
  63. package/dist/Statistic-DVduwOGW.js +35 -0
  64. package/dist/Steps-B9phXfUl.cjs +1 -0
  65. package/dist/Steps-Cnswg-bb.js +85 -0
  66. package/dist/{Table-CpyEziz5.js → Table-DMqVnyDN.js} +1 -1
  67. package/dist/{Table-uBqeNSnm.cjs → Table-rgp7iAWc.cjs} +1 -1
  68. package/dist/TimePicker-BydMgSVN.js +220 -0
  69. package/dist/TimePicker-t4eGpNEu.cjs +1 -0
  70. package/dist/Tooltip-CWQDc8Nf.js +201 -0
  71. package/dist/Tooltip-Cn9pIMfU.cjs +1 -0
  72. package/dist/Transfer-BRjVUdyi.js +115 -0
  73. package/dist/Transfer-BfWsmx_x.cjs +1 -0
  74. package/dist/{Transition-X_89ga-e.cjs → Transition-BBMxZ5_8.cjs} +1 -1
  75. package/dist/{Transition-DiO4GsP3.js → Transition-CJDv6yI5.js} +2 -2
  76. package/dist/Tree-BsG6l54c.js +202 -0
  77. package/dist/Tree-CcSMb0_M.cjs +1 -0
  78. package/dist/TreeSelect-DBJkW7zM.cjs +1 -0
  79. package/dist/TreeSelect-DWmDo7pg.js +120 -0
  80. package/dist/Typography-C9Ef3jN5.js +91 -0
  81. package/dist/Typography-DLrh1jPn.cjs +1 -0
  82. package/dist/{Upload-DZ6VaM7r.js → Upload-aLdxGpWh.js} +7 -7
  83. package/dist/{Upload-wHEEoe1c.cjs → Upload-wt5lnQHc.cjs} +1 -1
  84. package/dist/base.css +1 -1
  85. package/dist/choice-popup-Crn_uZzu.cjs +1 -0
  86. package/dist/choice-popup-CzxryGs6.js +168 -0
  87. package/dist/cjs/AutoComplete.cjs +1 -0
  88. package/dist/cjs/Avatar.cjs +1 -0
  89. package/dist/cjs/Badge.cjs +1 -1
  90. package/dist/cjs/Breadcrumb.cjs +1 -0
  91. package/dist/cjs/Cascader.cjs +1 -0
  92. package/dist/cjs/Collapse.cjs +1 -0
  93. package/dist/cjs/Cron.cjs +1 -1
  94. package/dist/cjs/DatePicker.cjs +1 -1
  95. package/dist/cjs/DateTimePicker.cjs +1 -1
  96. package/dist/cjs/Descriptions.cjs +1 -0
  97. package/dist/cjs/Drawer.cjs +1 -1
  98. package/dist/cjs/Dropdown.cjs +1 -1
  99. package/dist/cjs/Form.cjs +1 -1
  100. package/dist/cjs/Image.cjs +1 -0
  101. package/dist/cjs/Input.cjs +1 -1
  102. package/dist/cjs/Layout.cjs +1 -0
  103. package/dist/cjs/List.cjs +1 -0
  104. package/dist/cjs/Loading.cjs +1 -1
  105. package/dist/cjs/Menu.cjs +1 -0
  106. package/dist/cjs/Message.cjs +1 -0
  107. package/dist/cjs/MessageBox.cjs +1 -1
  108. package/dist/cjs/Modal.cjs +1 -1
  109. package/dist/cjs/Notification.cjs +1 -1
  110. package/dist/cjs/Pagination.cjs +1 -1
  111. package/dist/cjs/Popconfirm.cjs +1 -0
  112. package/dist/cjs/Popover.cjs +1 -0
  113. package/dist/cjs/Result.cjs +1 -0
  114. package/dist/cjs/Segmented.cjs +1 -0
  115. package/dist/cjs/Select.cjs +1 -1
  116. package/dist/cjs/Skeleton.cjs +1 -0
  117. package/dist/cjs/Statistic.cjs +1 -0
  118. package/dist/cjs/Steps.cjs +1 -0
  119. package/dist/cjs/Table.cjs +1 -1
  120. package/dist/cjs/TimePicker.cjs +1 -1
  121. package/dist/cjs/Tooltip.cjs +1 -1
  122. package/dist/cjs/Transfer.cjs +1 -0
  123. package/dist/cjs/Transition.cjs +1 -1
  124. package/dist/cjs/Tree.cjs +1 -0
  125. package/dist/cjs/TreeSelect.cjs +1 -0
  126. package/dist/cjs/Typography.cjs +1 -0
  127. package/dist/cjs/Upload.cjs +1 -1
  128. package/dist/cjs/global.cjs +1 -1
  129. package/dist/cjs/index.cjs +1 -1
  130. package/dist/cjs/register.cjs +1 -1
  131. package/dist/css/AutoComplete.css +1 -0
  132. package/dist/css/Avatar.css +1 -0
  133. package/dist/css/Breadcrumb.css +1 -0
  134. package/dist/css/Cascader.css +1 -0
  135. package/dist/css/Checkbox.css +1 -1
  136. package/dist/css/Collapse.css +1 -0
  137. package/dist/css/Descriptions.css +1 -0
  138. package/dist/css/Image.css +1 -0
  139. package/dist/css/Layout.css +1 -0
  140. package/dist/css/List.css +1 -0
  141. package/dist/css/Menu.css +1 -0
  142. package/dist/css/Message.css +1 -0
  143. package/dist/css/Popconfirm.css +1 -0
  144. package/dist/css/Popover.css +1 -0
  145. package/dist/css/Radio.css +1 -1
  146. package/dist/css/Result.css +1 -0
  147. package/dist/css/Segmented.css +1 -0
  148. package/dist/css/Skeleton.css +1 -0
  149. package/dist/css/Statistic.css +1 -0
  150. package/dist/css/Steps.css +1 -0
  151. package/dist/css/Switch.css +1 -1
  152. package/dist/css/Transfer.css +1 -0
  153. package/dist/css/Tree.css +1 -0
  154. package/dist/css/TreeSelect.css +1 -0
  155. package/dist/css/Typography.css +1 -0
  156. package/dist/date-picker-BUZofYHp.js +644 -0
  157. package/dist/date-picker-CDbRvH7g.cjs +1 -0
  158. package/dist/dialog-shell-Bv1Jvhjb.js +219 -0
  159. package/dist/dialog-shell-HPbp3xhc.cjs +1 -0
  160. package/dist/es/AutoComplete.mjs +3 -0
  161. package/dist/es/Avatar.mjs +3 -0
  162. package/dist/es/Badge.mjs +1 -1
  163. package/dist/es/Breadcrumb.mjs +3 -0
  164. package/dist/es/Cascader.mjs +3 -0
  165. package/dist/es/Collapse.mjs +3 -0
  166. package/dist/es/Cron.mjs +1 -1
  167. package/dist/es/DatePicker.mjs +1 -1
  168. package/dist/es/DateTimePicker.mjs +1 -1
  169. package/dist/es/Descriptions.mjs +3 -0
  170. package/dist/es/Drawer.mjs +1 -1
  171. package/dist/es/Dropdown.mjs +1 -1
  172. package/dist/es/Form.mjs +1 -1
  173. package/dist/es/Image.mjs +3 -0
  174. package/dist/es/Input.mjs +1 -1
  175. package/dist/es/Layout.mjs +3 -0
  176. package/dist/es/List.mjs +3 -0
  177. package/dist/es/Loading.mjs +1 -1
  178. package/dist/es/Menu.mjs +3 -0
  179. package/dist/es/Message.mjs +3 -0
  180. package/dist/es/MessageBox.mjs +1 -1
  181. package/dist/es/Modal.mjs +1 -1
  182. package/dist/es/Notification.mjs +1 -1
  183. package/dist/es/Pagination.mjs +1 -1
  184. package/dist/es/Popconfirm.mjs +3 -0
  185. package/dist/es/Popover.mjs +3 -0
  186. package/dist/es/Result.mjs +3 -0
  187. package/dist/es/Segmented.mjs +3 -0
  188. package/dist/es/Select.mjs +1 -1
  189. package/dist/es/Skeleton.mjs +3 -0
  190. package/dist/es/Statistic.mjs +3 -0
  191. package/dist/es/Steps.mjs +3 -0
  192. package/dist/es/Table.mjs +1 -1
  193. package/dist/es/TimePicker.mjs +1 -1
  194. package/dist/es/Tooltip.mjs +1 -1
  195. package/dist/es/Transfer.mjs +3 -0
  196. package/dist/es/Transition.mjs +1 -1
  197. package/dist/es/Tree.mjs +3 -0
  198. package/dist/es/TreeSelect.mjs +3 -0
  199. package/dist/es/Typography.mjs +3 -0
  200. package/dist/es/Upload.mjs +1 -1
  201. package/dist/es/global.mjs +1 -1
  202. package/dist/es/index.mjs +62 -40
  203. package/dist/es/register.mjs +1 -1
  204. package/dist/floating-B6CCQcuK.cjs +1 -0
  205. package/dist/{floating-BqCWEj83.js → floating-C8pd2mFu.js} +62 -56
  206. package/dist/index.css +1 -1
  207. package/dist/layer-B9unaPbV.js +109 -0
  208. package/dist/layer-BcLkE2NM.cjs +1 -0
  209. package/dist/notice-timer-BRLTVgTj.js +28 -0
  210. package/dist/notice-timer-OkrpLRrG.cjs +1 -0
  211. package/dist/registry-BFCksD7k.js +131 -0
  212. package/dist/registry-DftkiQnN.cjs +1 -0
  213. package/dist/style/AutoComplete.cjs +9 -0
  214. package/dist/style/AutoComplete.mjs +9 -0
  215. package/dist/style/Avatar.cjs +7 -0
  216. package/dist/style/Avatar.mjs +7 -0
  217. package/dist/style/Breadcrumb.cjs +7 -0
  218. package/dist/style/Breadcrumb.mjs +7 -0
  219. package/dist/style/Cascader.cjs +9 -0
  220. package/dist/style/Cascader.mjs +9 -0
  221. package/dist/style/Collapse.cjs +7 -0
  222. package/dist/style/Collapse.mjs +7 -0
  223. package/dist/style/Descriptions.cjs +7 -0
  224. package/dist/style/Descriptions.mjs +7 -0
  225. package/dist/style/Image.cjs +10 -0
  226. package/dist/style/Image.mjs +10 -0
  227. package/dist/style/Layout.cjs +7 -0
  228. package/dist/style/Layout.mjs +7 -0
  229. package/dist/style/List.cjs +9 -0
  230. package/dist/style/List.mjs +9 -0
  231. package/dist/style/Menu.cjs +8 -0
  232. package/dist/style/Menu.mjs +8 -0
  233. package/dist/style/Message.cjs +8 -0
  234. package/dist/style/Message.mjs +8 -0
  235. package/dist/style/Popconfirm.cjs +9 -0
  236. package/dist/style/Popconfirm.mjs +9 -0
  237. package/dist/style/Popover.cjs +8 -0
  238. package/dist/style/Popover.mjs +8 -0
  239. package/dist/style/Result.cjs +7 -0
  240. package/dist/style/Result.mjs +7 -0
  241. package/dist/style/Segmented.cjs +8 -0
  242. package/dist/style/Segmented.mjs +8 -0
  243. package/dist/style/Skeleton.cjs +7 -0
  244. package/dist/style/Skeleton.mjs +7 -0
  245. package/dist/style/Statistic.cjs +7 -0
  246. package/dist/style/Statistic.mjs +7 -0
  247. package/dist/style/Steps.cjs +7 -0
  248. package/dist/style/Steps.mjs +7 -0
  249. package/dist/style/Transfer.cjs +11 -0
  250. package/dist/style/Transfer.mjs +11 -0
  251. package/dist/style/Tree.cjs +9 -0
  252. package/dist/style/Tree.mjs +9 -0
  253. package/dist/style/TreeSelect.cjs +10 -0
  254. package/dist/style/TreeSelect.mjs +10 -0
  255. package/dist/style/Typography.cjs +7 -0
  256. package/dist/style/Typography.mjs +7 -0
  257. package/dist/types/AutoComplete/AutoComplete.d.cts +6 -0
  258. package/dist/types/AutoComplete/AutoComplete.d.ts +6 -0
  259. package/dist/types/AutoComplete/index.d.cts +2 -0
  260. package/dist/types/AutoComplete/index.d.ts +2 -0
  261. package/dist/types/AutoComplete/type.d.cts +57 -0
  262. package/dist/types/AutoComplete/type.d.ts +57 -0
  263. package/dist/types/Avatar/Avatar.d.cts +4 -0
  264. package/dist/types/Avatar/Avatar.d.ts +4 -0
  265. package/dist/types/Avatar/AvatarGroup.d.cts +7 -0
  266. package/dist/types/Avatar/AvatarGroup.d.ts +7 -0
  267. package/dist/types/Avatar/context.d.cts +6 -0
  268. package/dist/types/Avatar/context.d.ts +6 -0
  269. package/dist/types/Avatar/index.d.cts +7 -0
  270. package/dist/types/Avatar/index.d.ts +7 -0
  271. package/dist/types/Avatar/type.d.cts +36 -0
  272. package/dist/types/Avatar/type.d.ts +36 -0
  273. package/dist/types/Breadcrumb/Breadcrumb.d.cts +5 -0
  274. package/dist/types/Breadcrumb/Breadcrumb.d.ts +5 -0
  275. package/dist/types/Breadcrumb/index.d.cts +6 -0
  276. package/dist/types/Breadcrumb/index.d.ts +6 -0
  277. package/dist/types/Breadcrumb/type.d.cts +59 -0
  278. package/dist/types/Breadcrumb/type.d.ts +59 -0
  279. package/dist/types/Cascader/Cascader.d.cts +3 -0
  280. package/dist/types/Cascader/Cascader.d.ts +3 -0
  281. package/dist/types/Cascader/index.d.cts +2 -0
  282. package/dist/types/Cascader/index.d.ts +2 -0
  283. package/dist/types/Cascader/type.d.cts +38 -0
  284. package/dist/types/Cascader/type.d.ts +38 -0
  285. package/dist/types/Collapse/Collapse.d.cts +3 -0
  286. package/dist/types/Collapse/Collapse.d.ts +3 -0
  287. package/dist/types/Collapse/index.d.cts +4 -0
  288. package/dist/types/Collapse/index.d.ts +4 -0
  289. package/dist/types/Collapse/type.d.cts +46 -0
  290. package/dist/types/Collapse/type.d.ts +46 -0
  291. package/dist/types/Descriptions/Descriptions.d.cts +3 -0
  292. package/dist/types/Descriptions/Descriptions.d.ts +3 -0
  293. package/dist/types/Descriptions/index.d.cts +4 -0
  294. package/dist/types/Descriptions/index.d.ts +4 -0
  295. package/dist/types/Descriptions/type.d.cts +20 -0
  296. package/dist/types/Descriptions/type.d.ts +20 -0
  297. package/dist/types/Image/Image.d.cts +3 -0
  298. package/dist/types/Image/Image.d.ts +3 -0
  299. package/dist/types/Image/ImagePreview.d.cts +4 -0
  300. package/dist/types/Image/ImagePreview.d.ts +4 -0
  301. package/dist/types/Image/index.d.cts +3 -0
  302. package/dist/types/Image/index.d.ts +3 -0
  303. package/dist/types/Image/type.d.cts +25 -0
  304. package/dist/types/Image/type.d.ts +25 -0
  305. package/dist/types/Layout/Layout.d.cts +8 -0
  306. package/dist/types/Layout/Layout.d.ts +8 -0
  307. package/dist/types/Layout/index.d.cts +2 -0
  308. package/dist/types/Layout/index.d.ts +2 -0
  309. package/dist/types/Layout/type.d.cts +20 -0
  310. package/dist/types/Layout/type.d.ts +20 -0
  311. package/dist/types/List/List.d.cts +3 -0
  312. package/dist/types/List/List.d.ts +3 -0
  313. package/dist/types/List/index.d.cts +2 -0
  314. package/dist/types/List/index.d.ts +2 -0
  315. package/dist/types/List/type.d.cts +15 -0
  316. package/dist/types/List/type.d.ts +15 -0
  317. package/dist/types/Menu/Menu.d.cts +4 -0
  318. package/dist/types/Menu/Menu.d.ts +4 -0
  319. package/dist/types/Menu/index.d.cts +2 -0
  320. package/dist/types/Menu/index.d.ts +2 -0
  321. package/dist/types/Menu/type.d.cts +26 -0
  322. package/dist/types/Menu/type.d.ts +26 -0
  323. package/dist/types/Message/Message.d.cts +3 -0
  324. package/dist/types/Message/Message.d.ts +3 -0
  325. package/dist/types/Message/host.d.cts +5 -0
  326. package/dist/types/Message/host.d.ts +5 -0
  327. package/dist/types/Message/index.d.cts +4 -0
  328. package/dist/types/Message/index.d.ts +4 -0
  329. package/dist/types/Message/service.d.cts +4 -0
  330. package/dist/types/Message/service.d.ts +4 -0
  331. package/dist/types/Message/type.d.cts +34 -0
  332. package/dist/types/Message/type.d.ts +34 -0
  333. package/dist/types/Popconfirm/Popconfirm.d.cts +4 -0
  334. package/dist/types/Popconfirm/Popconfirm.d.ts +4 -0
  335. package/dist/types/Popconfirm/index.d.cts +4 -0
  336. package/dist/types/Popconfirm/index.d.ts +4 -0
  337. package/dist/types/Popconfirm/type.d.cts +14 -0
  338. package/dist/types/Popconfirm/type.d.ts +14 -0
  339. package/dist/types/Popover/Popover.d.cts +3 -0
  340. package/dist/types/Popover/Popover.d.ts +3 -0
  341. package/dist/types/Popover/index.d.cts +4 -0
  342. package/dist/types/Popover/index.d.ts +4 -0
  343. package/dist/types/Popover/type.d.cts +27 -0
  344. package/dist/types/Popover/type.d.ts +27 -0
  345. package/dist/types/Result/Result.d.cts +3 -0
  346. package/dist/types/Result/Result.d.ts +3 -0
  347. package/dist/types/Result/index.d.cts +2 -0
  348. package/dist/types/Result/index.d.ts +2 -0
  349. package/dist/types/Result/type.d.cts +11 -0
  350. package/dist/types/Result/type.d.ts +11 -0
  351. package/dist/types/Segmented/Segmented.d.cts +4 -0
  352. package/dist/types/Segmented/Segmented.d.ts +4 -0
  353. package/dist/types/Segmented/index.d.cts +2 -0
  354. package/dist/types/Segmented/index.d.ts +2 -0
  355. package/dist/types/Segmented/type.d.cts +21 -0
  356. package/dist/types/Segmented/type.d.ts +21 -0
  357. package/dist/types/Skeleton/Skeleton.d.cts +4 -0
  358. package/dist/types/Skeleton/Skeleton.d.ts +4 -0
  359. package/dist/types/Skeleton/index.d.cts +4 -0
  360. package/dist/types/Skeleton/index.d.ts +4 -0
  361. package/dist/types/Skeleton/type.d.cts +15 -0
  362. package/dist/types/Skeleton/type.d.ts +15 -0
  363. package/dist/types/Statistic/Statistic.d.cts +4 -0
  364. package/dist/types/Statistic/Statistic.d.ts +4 -0
  365. package/dist/types/Statistic/index.d.cts +2 -0
  366. package/dist/types/Statistic/index.d.ts +2 -0
  367. package/dist/types/Statistic/type.d.cts +11 -0
  368. package/dist/types/Statistic/type.d.ts +11 -0
  369. package/dist/types/Steps/Steps.d.cts +4 -0
  370. package/dist/types/Steps/Steps.d.ts +4 -0
  371. package/dist/types/Steps/index.d.cts +2 -0
  372. package/dist/types/Steps/index.d.ts +2 -0
  373. package/dist/types/Steps/type.d.cts +24 -0
  374. package/dist/types/Steps/type.d.ts +24 -0
  375. package/dist/types/Transfer/Transfer.d.cts +4 -0
  376. package/dist/types/Transfer/Transfer.d.ts +4 -0
  377. package/dist/types/Transfer/index.d.cts +2 -0
  378. package/dist/types/Transfer/index.d.ts +2 -0
  379. package/dist/types/Transfer/type.d.cts +24 -0
  380. package/dist/types/Transfer/type.d.ts +24 -0
  381. package/dist/types/Transition/type.d.cts +1 -1
  382. package/dist/types/Transition/type.d.ts +1 -1
  383. package/dist/types/Tree/Tree.d.cts +3 -0
  384. package/dist/types/Tree/Tree.d.ts +3 -0
  385. package/dist/types/Tree/index.d.cts +2 -0
  386. package/dist/types/Tree/index.d.ts +2 -0
  387. package/dist/types/Tree/type.d.cts +42 -0
  388. package/dist/types/Tree/type.d.ts +42 -0
  389. package/dist/types/TreeSelect/TreeSelect.d.cts +4 -0
  390. package/dist/types/TreeSelect/TreeSelect.d.ts +4 -0
  391. package/dist/types/TreeSelect/index.d.cts +3 -0
  392. package/dist/types/TreeSelect/index.d.ts +3 -0
  393. package/dist/types/TreeSelect/type.d.cts +26 -0
  394. package/dist/types/TreeSelect/type.d.ts +26 -0
  395. package/dist/types/Typography/Typography.d.cts +7 -0
  396. package/dist/types/Typography/Typography.d.ts +7 -0
  397. package/dist/types/Typography/index.d.cts +2 -0
  398. package/dist/types/Typography/index.d.ts +2 -0
  399. package/dist/types/Typography/type.d.cts +23 -0
  400. package/dist/types/Typography/type.d.ts +23 -0
  401. package/dist/types/_shared/choice-popup.d.cts +44 -0
  402. package/dist/types/_shared/choice-popup.d.ts +44 -0
  403. package/dist/types/_shared/dialog-layer.d.cts +4 -1
  404. package/dist/types/_shared/dialog-layer.d.ts +4 -1
  405. package/dist/types/_shared/dialog.d.cts +4 -1
  406. package/dist/types/_shared/dialog.d.ts +4 -1
  407. package/dist/types/_shared/floating.d.cts +3 -3
  408. package/dist/types/_shared/floating.d.ts +3 -3
  409. package/dist/types/_shared/focus.d.cts +1 -1
  410. package/dist/types/_shared/focus.d.ts +1 -1
  411. package/dist/types/_shared/notice-timer.d.cts +11 -0
  412. package/dist/types/_shared/notice-timer.d.ts +11 -0
  413. package/dist/types/_shared/popup-scope.d.cts +30 -0
  414. package/dist/types/_shared/popup-scope.d.ts +30 -0
  415. package/dist/types/_shared/tree.d.cts +28 -0
  416. package/dist/types/_shared/tree.d.ts +28 -0
  417. package/dist/types/global.d.cts +44 -0
  418. package/dist/types/global.d.ts +44 -0
  419. package/dist/types/index.d.cts +22 -0
  420. package/dist/types/index.d.ts +22 -0
  421. package/dist/types/registry.d.cts +26 -0
  422. package/dist/types/registry.d.ts +26 -0
  423. package/package.json +3 -2
  424. package/dist/Cron-2avclmKf.cjs +0 -1
  425. package/dist/Dropdown-CYo0Ckcg.js +0 -330
  426. package/dist/Dropdown-DlT_kSLw.cjs +0 -1
  427. package/dist/Modal-UWOcLzA6.js +0 -250
  428. package/dist/Notification-CJraaZIi.js +0 -197
  429. package/dist/Notification-D6m4qHKz.cjs +0 -1
  430. package/dist/Select-BBw595_R.js +0 -497
  431. package/dist/Select-CcuSjVhm.cjs +0 -1
  432. package/dist/TimePicker-BtorXdZv.cjs +0 -1
  433. package/dist/TimePicker-DxDA8bbO.js +0 -215
  434. package/dist/Tooltip-2-mZgyai.js +0 -198
  435. package/dist/Tooltip-BCH9SOnY.cjs +0 -1
  436. package/dist/date-picker-BrlkzTx6.cjs +0 -1
  437. package/dist/date-picker-DBzPbLf2.js +0 -639
  438. package/dist/dialog-shell-DqKDnSak.js +0 -207
  439. package/dist/dialog-shell-WCsdja9-.cjs +0 -1
  440. package/dist/floating-BpTI3sWS.cjs +0 -1
  441. package/dist/focus-BDDJyKk3.js +0 -9
  442. package/dist/focus-D-h8CbGr.cjs +0 -1
  443. package/dist/layer-CWiOhvXF.js +0 -53
  444. package/dist/layer-DfWO72Y-.cjs +0 -1
  445. package/dist/registry-7LU6RUh_.cjs +0 -1
  446. package/dist/registry-BYt8u6us.js +0 -87
@@ -0,0 +1,219 @@
1
+ import { t as e } from "./effect-nifYL_rH.js";
2
+ import { t } from "./Transition-CJDv6yI5.js";
3
+ import { a as n, c as r, d as i, g as a, i as o, l as s, n as c, p as l, r as u, s as d, t as f } from "./layer-B9unaPbV.js";
4
+ import { createContext as p, useCallback as m, useContext as h, useEffect as g, useMemo as _, useRef as v, useState as y, useSyncExternalStore as b } from "react";
5
+ import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
6
+ import { createPortal as w } from "react-dom";
7
+ //#region components/_shared/dialog-layer.tsx
8
+ var T = [], E = /* @__PURE__ */ new Set(), D = 0, O = p(null), k = p(null), A = (e) => (E.add(e), () => {
9
+ E.delete(e);
10
+ }), j = () => E.forEach((e) => e()), M = ({ tokenOffset: e, absolute: t }) => {
11
+ if (e === void 0) return {
12
+ base: t,
13
+ offset: 0
14
+ };
15
+ let r = {
16
+ base: o.modal,
17
+ offset: e,
18
+ rank: u[o.modal]
19
+ };
20
+ return t === void 0 ? r : {
21
+ base: `max(${n(r)}, ${t})`,
22
+ offset: 0
23
+ };
24
+ }, N = (e) => {
25
+ let t = e === void 0 ? { tokenOffset: 0 } : { absolute: e };
26
+ return {
27
+ order: 0,
28
+ open: !1,
29
+ reserved: !1,
30
+ phase: "closed",
31
+ zIndex: e,
32
+ level: t,
33
+ layer: M(t)
34
+ };
35
+ }, P = (e, t, n) => {
36
+ let r = n ? e.zIndex === void 0 ? t ? {} : { tokenOffset: 0 } : { absolute: e.zIndex } : { ...e.level };
37
+ t?.level.tokenOffset !== void 0 && (r.tokenOffset = Math.max(r.tokenOffset ?? -Infinity, t.level.tokenOffset + 2)), t?.level.absolute !== void 0 && (r.absolute = Math.max(r.absolute ?? -Infinity, t.level.absolute + 2)), (r.tokenOffset !== e.level.tokenOffset || r.absolute !== e.level.absolute) && (e.level = r, e.layer = M(r));
38
+ }, F = (e, t) => {
39
+ let n = T.indexOf(e);
40
+ n >= 0 && T.splice(n, 1);
41
+ let r = T.findIndex((t) => t.order > e.order), i = r < 0 ? T.length : r;
42
+ T.splice(i, 0, e), P(e, T[i - 1], t);
43
+ for (let e = i + 1; e < T.length; e += 1) P(T[e], T[e - 1], !1);
44
+ }, I = (e) => {
45
+ let t = N(e);
46
+ return t.order = ++D, t.reserved = !0, t.phase = "reserved", F(t, !0), j(), t;
47
+ }, L = (e) => {
48
+ let t = T.indexOf(e);
49
+ t < 0 || (T.splice(t, 1), e.phase = "closed", j());
50
+ }, R = (e) => {
51
+ let t = e.parent ? R(e.parent) : !1, { entry: n, zIndex: r } = e;
52
+ if (!e.active) return n.open ? (n.open = !1, n.phase = "leaving", !0) : t;
53
+ let i = !n.open && !n.reserved;
54
+ if (i && (n.order = ++D), i || n.phase !== "active" || n.zIndex !== r) {
55
+ let e = i || n.zIndex !== r;
56
+ n.zIndex = r, n.reserved = !1, n.open = !0, n.phase = "active", F(n, e), t = !0;
57
+ }
58
+ return t;
59
+ }, z = ({ active: t, zIndex: r }) => {
60
+ let i = h(O), a = h(k), [s] = y(() => a ?? N(r)), l = _(() => ({
61
+ entry: s,
62
+ active: t,
63
+ zIndex: r,
64
+ parent: i
65
+ }), [
66
+ s,
67
+ t,
68
+ r,
69
+ i
70
+ ]), u = m(() => s.layer, [s]), d = b(A, u, u);
71
+ e(() => {
72
+ R(l) && j();
73
+ }, [l]), e(() => () => L(s), [s]);
74
+ let f = m(() => {
75
+ for (let e = T.length - 1; e >= 0; --e) if (T[e].phase === "active") return T[e] === s;
76
+ return !1;
77
+ }, [s]), p = m(() => {
78
+ s.open || L(s);
79
+ }, [s]), g = r === void 0 && d.base === o.modal && d.offset === 0;
80
+ return {
81
+ scope: l,
82
+ layer: d,
83
+ isTopLayer: f,
84
+ onAfterLeave: p,
85
+ zIndex: g ? void 0 : n(d),
86
+ maskZIndex: g ? void 0 : c(d, -1)
87
+ };
88
+ }, B = ({ value: e, children: t }) => /* @__PURE__ */ S(O.Provider, {
89
+ value: e.scope,
90
+ children: /* @__PURE__ */ S(k.Provider, {
91
+ value: null,
92
+ children: /* @__PURE__ */ S(d, {
93
+ scope: e.interactionScope ?? null,
94
+ children: /* @__PURE__ */ S(f, {
95
+ layer: e.layer,
96
+ children: t
97
+ })
98
+ })
99
+ })
100
+ }), V = 0, H = 0, U = "", W = "", G = "", K = () => {
101
+ if (V === 0) {
102
+ U = document.body.style.overflow, W = document.body.style.paddingRight;
103
+ let e = document.documentElement.clientWidth, t = e > 0 ? Math.max(0, window.innerWidth - e) : 0;
104
+ if (t > 0) {
105
+ let e = Number.parseFloat(window.getComputedStyle(document.body).paddingRight) || 0;
106
+ document.body.style.paddingRight = `${e + t}px`;
107
+ }
108
+ document.body.style.overflow = "hidden";
109
+ }
110
+ V += 1;
111
+ let e = !1;
112
+ return () => {
113
+ e || (e = !0, V = Math.max(0, V - 1), V === 0 && (document.body.style.overflow = U, document.body.style.paddingRight = W));
114
+ };
115
+ }, q = () => {
116
+ H === 0 && (G = document.body.style.userSelect, document.body.style.userSelect = "none"), H += 1;
117
+ let e = !1;
118
+ return () => {
119
+ e || (e = !0, H = Math.max(0, H - 1), H === 0 && (document.body.style.userSelect = G));
120
+ };
121
+ }, J = ({ active: t, zIndex: n, containerRef: o, closeOnPressEscape: c, lockScroll: u, onRequestClose: d }) => {
122
+ let f = z({
123
+ active: t,
124
+ zIndex: n
125
+ }), p = l({
126
+ active: t,
127
+ rootRef: o,
128
+ floatingRef: o,
129
+ kind: "dialog",
130
+ isTopDialog: f.isTopLayer
131
+ }), { isTopLayer: m } = f, h = v(null), _ = v(!1), y = v({
132
+ closeOnPressEscape: c,
133
+ onRequestClose: d
134
+ });
135
+ return e(() => {
136
+ y.current = {
137
+ closeOnPressEscape: c,
138
+ onRequestClose: d
139
+ };
140
+ }, [c, d]), g(() => {
141
+ if (t && u) return K();
142
+ }, [t, u]), g(() => {
143
+ if (!t) return;
144
+ _.current = !0, h.current = document.activeElement instanceof HTMLElement ? document.activeElement : null;
145
+ let e = () => {
146
+ let e = o.current;
147
+ !_.current || !m() || !e || i(p, document.activeElement) || a(e);
148
+ }, n = window.requestAnimationFrame(e), c = A(() => {
149
+ m() && (i(p, document.activeElement) || (window.cancelAnimationFrame(n), n = window.requestAnimationFrame(e)));
150
+ }), l = (e) => {
151
+ if (!m() || e.defaultPrevented) return;
152
+ if (e.key === "Escape" && y.current.closeOnPressEscape && s(p, e)) {
153
+ e.preventDefault(), y.current.onRequestClose();
154
+ return;
155
+ }
156
+ if (e.key !== "Tab") return;
157
+ let t = o.current;
158
+ if (!t) return;
159
+ let n = r(p);
160
+ if (!n.length) {
161
+ e.preventDefault(), t.focus({ preventScroll: !0 });
162
+ return;
163
+ }
164
+ let a = n[0], c = n.at(-1) ?? a, l = document.activeElement;
165
+ e.shiftKey && (l === a || !i(p, l)) ? (e.preventDefault(), c.focus()) : !e.shiftKey && (l === c || !i(p, l)) && (e.preventDefault(), a.focus());
166
+ }, u = (e) => {
167
+ if (!m()) return;
168
+ let t = o.current;
169
+ !t || i(p, e.target) || a(t);
170
+ };
171
+ return document.addEventListener("keydown", l), document.addEventListener("focusin", u), () => {
172
+ window.cancelAnimationFrame(n), document.removeEventListener("keydown", l), document.removeEventListener("focusin", u), c(), _.current = !1;
173
+ let e = h.current;
174
+ h.current = null, window.requestAnimationFrame(() => {
175
+ !_.current && e?.isConnected && e.focus({ preventScroll: !0 });
176
+ });
177
+ };
178
+ }, [
179
+ t,
180
+ o,
181
+ m,
182
+ p
183
+ ]), {
184
+ ...f,
185
+ interactionScope: p
186
+ };
187
+ }, Y = ({ clientReady: e, open: n, mask: r, destroyOnClose: i, maskUnmountOnExit: a = !1, maskTransitionName: o, transitionName: s, maskClassName: c, panelClassName: l, panelStyle: u, maskStyle: d, panelRef: f, role: p, ariaModal: m = !0, ariaLabel: h, ariaLabelledBy: g, ariaDescribedBy: _, onMaskClick: v, onPanelClick: y, onAfterLeave: b, panelProps: T, children: E }) => e ? w(/* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S(t, {
188
+ show: n && r,
189
+ name: o,
190
+ unmountOnExit: a,
191
+ children: /* @__PURE__ */ S("div", {
192
+ className: c,
193
+ style: d,
194
+ "aria-hidden": "true",
195
+ onClick: v
196
+ })
197
+ }), /* @__PURE__ */ S(t, {
198
+ show: n,
199
+ name: s,
200
+ unmountOnExit: i,
201
+ onAfterLeave: b,
202
+ children: /* @__PURE__ */ S("div", {
203
+ ref: f,
204
+ className: l,
205
+ style: u,
206
+ role: p,
207
+ "aria-modal": m,
208
+ "aria-label": h,
209
+ "aria-labelledby": g,
210
+ "aria-describedby": _,
211
+ "aria-hidden": !n || void 0,
212
+ tabIndex: -1,
213
+ onClick: y,
214
+ ...T,
215
+ children: E
216
+ })
217
+ })] }), document.body) : null;
218
+ //#endregion
219
+ export { k as a, B as i, q as n, L as o, J as r, I as s, Y as t };
@@ -0,0 +1 @@
1
+ const e=require("./effect-BpNxm_06.cjs"),t=require("./Transition-BBMxZ5_8.cjs"),n=require("./layer-BcLkE2NM.cjs");let r=require("react"),i=require("react/jsx-runtime"),a=require("react-dom");var o=[],s=new Set,c=0,l=(0,r.createContext)(null),u=(0,r.createContext)(null),d=e=>(s.add(e),()=>{s.delete(e)}),f=()=>s.forEach(e=>e()),p=({tokenOffset:e,absolute:t})=>{if(e===void 0)return{base:t,offset:0};let r={base:n.i.modal,offset:e,rank:n.r[n.i.modal]};return t===void 0?r:{base:`max(${n.a(r)}, ${t})`,offset:0}},m=e=>{let t=e===void 0?{tokenOffset:0}:{absolute:e};return{order:0,open:!1,reserved:!1,phase:`closed`,zIndex:e,level:t,layer:p(t)}},h=(e,t,n)=>{let r=n?e.zIndex===void 0?t?{}:{tokenOffset:0}:{absolute:e.zIndex}:{...e.level};t?.level.tokenOffset!==void 0&&(r.tokenOffset=Math.max(r.tokenOffset??-1/0,t.level.tokenOffset+2)),t?.level.absolute!==void 0&&(r.absolute=Math.max(r.absolute??-1/0,t.level.absolute+2)),(r.tokenOffset!==e.level.tokenOffset||r.absolute!==e.level.absolute)&&(e.level=r,e.layer=p(r))},g=(e,t)=>{let n=o.indexOf(e);n>=0&&o.splice(n,1);let r=o.findIndex(t=>t.order>e.order),i=r<0?o.length:r;o.splice(i,0,e),h(e,o[i-1],t);for(let e=i+1;e<o.length;e+=1)h(o[e],o[e-1],!1)},_=e=>{let t=m(e);return t.order=++c,t.reserved=!0,t.phase=`reserved`,g(t,!0),f(),t},v=e=>{let t=o.indexOf(e);t<0||(o.splice(t,1),e.phase=`closed`,f())},y=e=>{let t=e.parent?y(e.parent):!1,{entry:n,zIndex:r}=e;if(!e.active)return n.open?(n.open=!1,n.phase=`leaving`,!0):t;let i=!n.open&&!n.reserved;if(i&&(n.order=++c),i||n.phase!==`active`||n.zIndex!==r){let e=i||n.zIndex!==r;n.zIndex=r,n.reserved=!1,n.open=!0,n.phase=`active`,g(n,e),t=!0}return t},b=({active:t,zIndex:i})=>{let a=(0,r.useContext)(l),s=(0,r.useContext)(u),[c]=(0,r.useState)(()=>s??m(i)),p=(0,r.useMemo)(()=>({entry:c,active:t,zIndex:i,parent:a}),[c,t,i,a]),h=(0,r.useCallback)(()=>c.layer,[c]),g=(0,r.useSyncExternalStore)(d,h,h);e.t(()=>{y(p)&&f()},[p]),e.t(()=>()=>v(c),[c]);let _=(0,r.useCallback)(()=>{for(let e=o.length-1;e>=0;--e)if(o[e].phase===`active`)return o[e]===c;return!1},[c]),b=(0,r.useCallback)(()=>{c.open||v(c)},[c]),x=i===void 0&&g.base===n.i.modal&&g.offset===0;return{scope:p,layer:g,isTopLayer:_,onAfterLeave:b,zIndex:x?void 0:n.a(g),maskZIndex:x?void 0:n.n(g,-1)}},x=({value:e,children:t})=>(0,i.jsx)(l.Provider,{value:e.scope,children:(0,i.jsx)(u.Provider,{value:null,children:(0,i.jsx)(n.s,{scope:e.interactionScope??null,children:(0,i.jsx)(n.t,{layer:e.layer,children:t})})})}),S=0,C=0,w=``,T=``,E=``,D=()=>{if(S===0){w=document.body.style.overflow,T=document.body.style.paddingRight;let e=document.documentElement.clientWidth,t=e>0?Math.max(0,window.innerWidth-e):0;if(t>0){let e=Number.parseFloat(window.getComputedStyle(document.body).paddingRight)||0;document.body.style.paddingRight=`${e+t}px`}document.body.style.overflow=`hidden`}S+=1;let e=!1;return()=>{e||(e=!0,S=Math.max(0,S-1),S===0&&(document.body.style.overflow=w,document.body.style.paddingRight=T))}},O=()=>{C===0&&(E=document.body.style.userSelect,document.body.style.userSelect=`none`),C+=1;let e=!1;return()=>{e||(e=!0,C=Math.max(0,C-1),C===0&&(document.body.style.userSelect=E))}},k=({active:t,zIndex:i,containerRef:a,closeOnPressEscape:o,lockScroll:s,onRequestClose:c})=>{let l=b({active:t,zIndex:i}),u=n.p({active:t,rootRef:a,floatingRef:a,kind:`dialog`,isTopDialog:l.isTopLayer}),{isTopLayer:f}=l,p=(0,r.useRef)(null),m=(0,r.useRef)(!1),h=(0,r.useRef)({closeOnPressEscape:o,onRequestClose:c});return e.t(()=>{h.current={closeOnPressEscape:o,onRequestClose:c}},[o,c]),(0,r.useEffect)(()=>{if(t&&s)return D()},[t,s]),(0,r.useEffect)(()=>{if(!t)return;m.current=!0,p.current=document.activeElement instanceof HTMLElement?document.activeElement:null;let e=()=>{let e=a.current;!m.current||!f()||!e||n.d(u,document.activeElement)||n.g(e)},r=window.requestAnimationFrame(e),i=d(()=>{f()&&(n.d(u,document.activeElement)||(window.cancelAnimationFrame(r),r=window.requestAnimationFrame(e)))}),o=e=>{if(!f()||e.defaultPrevented)return;if(e.key===`Escape`&&h.current.closeOnPressEscape&&n.l(u,e)){e.preventDefault(),h.current.onRequestClose();return}if(e.key!==`Tab`)return;let t=a.current;if(!t)return;let r=n.c(u);if(!r.length){e.preventDefault(),t.focus({preventScroll:!0});return}let i=r[0],o=r.at(-1)??i,s=document.activeElement;e.shiftKey&&(s===i||!n.d(u,s))?(e.preventDefault(),o.focus()):!e.shiftKey&&(s===o||!n.d(u,s))&&(e.preventDefault(),i.focus())},s=e=>{if(!f())return;let t=a.current;!t||n.d(u,e.target)||n.g(t)};return document.addEventListener(`keydown`,o),document.addEventListener(`focusin`,s),()=>{window.cancelAnimationFrame(r),document.removeEventListener(`keydown`,o),document.removeEventListener(`focusin`,s),i(),m.current=!1;let e=p.current;p.current=null,window.requestAnimationFrame(()=>{!m.current&&e?.isConnected&&e.focus({preventScroll:!0})})}},[t,a,f,u]),{...l,interactionScope:u}},A=({clientReady:e,open:n,mask:r,destroyOnClose:o,maskUnmountOnExit:s=!1,maskTransitionName:c,transitionName:l,maskClassName:u,panelClassName:d,panelStyle:f,maskStyle:p,panelRef:m,role:h,ariaModal:g=!0,ariaLabel:_,ariaLabelledBy:v,ariaDescribedBy:y,onMaskClick:b,onPanelClick:x,onAfterLeave:S,panelProps:C,children:w})=>e?(0,a.createPortal)((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.t,{show:n&&r,name:c,unmountOnExit:s,children:(0,i.jsx)(`div`,{className:u,style:p,"aria-hidden":`true`,onClick:b})}),(0,i.jsx)(t.t,{show:n,name:l,unmountOnExit:o,onAfterLeave:S,children:(0,i.jsx)(`div`,{ref:m,className:d,style:f,role:h,"aria-modal":g,"aria-label":_,"aria-labelledby":v,"aria-describedby":y,"aria-hidden":!n||void 0,tabIndex:-1,onClick:x,...C,children:w})})]}),document.body):null;Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return A}});
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { t as e } from "../AutoComplete-D8yHFMHQ.js";
3
+ export { e as VlAutoComplete, e as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { i as e, n as t, r as n, t as r } from "../Avatar-DiZ9p6tu.js";
3
+ export { e as AvatarGroup, t as VlAvatar, n as VlAvatarGroup, r as default };
package/dist/es/Badge.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../Badge-FzXPw1qS.js";
2
+ import { n as e, t } from "../Badge-CchY6uXz.js";
3
3
  export { e as VlBadge, t as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { n as e, t } from "../Breadcrumb-BmZKaAQx.js";
3
+ export { e as VlBreadcrumb, t as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { t as e } from "../Cascader-bozg6Ebp.js";
3
+ export { e as VlCascader, e as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { n as e, t } from "../Collapse-DszkYUfD.js";
3
+ export { e as VlCollapse, t as default };
package/dist/es/Cron.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../Cron-BVMn9OXM.js";
2
+ import { n as e, t } from "../Cron-BWqWgWuv.js";
3
3
  export { e as VlCron, t as default };
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../DatePicker-3wbkApMJ.js";
2
+ import { n as e, t } from "../DatePicker-DBjtTP2Q.js";
3
3
  export { e as VlDatePicker, t as default };
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../DateTimePicker--A4EWUe-.js";
2
+ import { n as e, t } from "../DateTimePicker-IpyJLY4J.js";
3
3
  export { e as VlDateTimePicker, t as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { n as e, t } from "../Descriptions-EL2QcZ1K.js";
3
+ export { e as VlDescriptions, t as default };
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../Drawer-D1elCS8V.js";
2
+ import { n as e, t } from "../Drawer--aEf7OiI.js";
3
3
  export { e as VlDrawer, t as default };
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../Dropdown-CYo0Ckcg.js";
2
+ import { n as e, t } from "../Dropdown-FrlX_2wd.js";
3
3
  export { e as VlDropdown, t as default };
package/dist/es/Form.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../Form-DiYdJJNH.js";
2
+ import { n as e, t } from "../Form-CGJDPj0N.js";
3
3
  export { t as VlForm, t as default, e as VlFormItem };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { n as e, t } from "../Image-DJb-tcA-.js";
3
+ export { t as VlImage, t as default, e as VlImagePreview };
package/dist/es/Input.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../Input-DpoSxIdb.js";
2
+ import { n as e, t } from "../Input-CoS-XMv1.js";
3
3
  export { e as VlInput, t as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { a as e, i as t, n, r, t as i } from "../Layout-l-rfDdFR.js";
3
+ export { i as VlLayout, i as default, n as VlLayoutContent, r as VlLayoutFooter, t as VlLayoutHeader, e as VlLayoutSider };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { t as e } from "../List-BupBfl-B.js";
3
+ export { e as VlList, e as default };
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../Loading-BAKnIASq.js";
2
+ import { n as e, t } from "../Loading-C9LBGbnd.js";
3
3
  export { e as VlLoading, t as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { t as e } from "../Menu-t8GRH6oh.js";
3
+ export { e as VlMenu, e as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { t as e } from "../Message-Bo-hPakI.js";
3
+ export { e as VlMessage, e as default };
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { t as e } from "../MessageBox-C0dCtUie.js";
2
+ import { t as e } from "../MessageBox-CaTZOiZC.js";
3
3
  export { e as VlMessageBox, e as default };
package/dist/es/Modal.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../Modal-UWOcLzA6.js";
2
+ import { n as e, t } from "../Modal-BTMB0xbR.js";
3
3
  export { e as VlModal, t as default };
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { t as e } from "../Notification-CJraaZIi.js";
2
+ import { t as e } from "../Notification-C1lOX5Hn.js";
3
3
  export { e as VlNotification, e as default };
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../Pagination-BGbiLFtp.js";
2
+ import { n as e, t } from "../Pagination-fbC5EEq-.js";
3
3
  export { e as VlPagination, t as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { n as e, t } from "../Popconfirm-D2zgbhKF.js";
3
+ export { e as VlPopconfirm, t as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { n as e, t } from "../Popover-Cb8BrtQC.js";
3
+ export { e as VlPopover, t as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { t as e } from "../Result-CcnBHoE5.js";
3
+ export { e as VlResult, e as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { t as e } from "../Segmented-OykaARP4.js";
3
+ export { e as VlSegmented, e as default };
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../Select-BBw595_R.js";
2
+ import { n as e, t } from "../Select-CpoP5kRp.js";
3
3
  export { e as VlSelect, t as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { n as e, t } from "../Skeleton-C80MPzfN.js";
3
+ export { e as VlSkeleton, t as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { t as e } from "../Statistic-DVduwOGW.js";
3
+ export { e as VlStatistic, e as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { t as e } from "../Steps-Cnswg-bb.js";
3
+ export { e as VlSteps, e as default };
package/dist/es/Table.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../Table-CpyEziz5.js";
2
+ import { n as e, t } from "../Table-DMqVnyDN.js";
3
3
  export { e as VlTable, t as default };
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../TimePicker-DxDA8bbO.js";
2
+ import { n as e, t } from "../TimePicker-BydMgSVN.js";
3
3
  export { e as VlTimePicker, t as default };
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../Tooltip-2-mZgyai.js";
2
+ import { n as e, t } from "../Tooltip-CWQDc8Nf.js";
3
3
  export { e as VlTooltip, t as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { t as e } from "../Transfer-BRjVUdyi.js";
3
+ export { e as VlTransfer, e as default };
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../Transition-DiO4GsP3.js";
2
+ import { n as e, t } from "../Transition-CJDv6yI5.js";
3
3
  export { e as VlTransition, t as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { t as e } from "../Tree-BsG6l54c.js";
3
+ export { e as VlTree, e as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { t as e } from "../TreeSelect-DWmDo7pg.js";
3
+ export { e as VlTreeSelect, e as default };
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { a as e, i as t, n, r, t as i } from "../Typography-C9Ef3jN5.js";
3
+ export { i as VlTypography, i as default, n as VlTypographyLink, r as VlTypographyParagraph, t as VlTypographyText, e as VlTypographyTitle };
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../Upload-DZ6VaM7r.js";
2
+ import { n as e, t } from "../Upload-aLdxGpWh.js";
3
3
  export { e as VlUpload, t as default };
@@ -1,3 +1,3 @@
1
1
  'use client';
2
- import { n as e, t } from "../registry-BYt8u6us.js";
2
+ import { n as e, t } from "../registry-BFCksD7k.js";
3
3
  export { t as globalComponents, e as registerGlobalComponents };
package/dist/es/index.mjs CHANGED
@@ -2,43 +2,65 @@
2
2
  import { n as e } from "../Alert-BGyLKuv0.js";
3
3
  import { n as t } from "../Anchor-CAZPkv56.js";
4
4
  import { n } from "../Announcement-CznCpx2T.js";
5
- import { n as r } from "../Transition-DiO4GsP3.js";
6
- import { n as i } from "../Badge-FzXPw1qS.js";
7
- import { n as a, r as o } from "../Button-CwkWSWau.js";
8
- import { n as s } from "../Card-DCLfLn1x.js";
9
- import { n as c, r as l } from "../Checkbox-bHOjYdMp.js";
10
- import { n as u } from "../Col-BZdKuXbj.js";
11
- import { n as d } from "../Input-DpoSxIdb.js";
12
- import { n as f } from "../Tabs-HWLkyrQR.js";
13
- import { n as p } from "../NumberInput-CB-nKZgs.js";
14
- import { n as m } from "../Cron-BVMn9OXM.js";
15
- import { n as h } from "../Dropdown-CYo0Ckcg.js";
16
- import { n as g } from "../DatePicker-3wbkApMJ.js";
17
- import { n as _ } from "../DateTimePicker--A4EWUe-.js";
18
- import { n as v } from "../Divider-BXNZyvHY.js";
19
- import { n as y } from "../Drawer-D1elCS8V.js";
20
- import { n as b } from "../Empty-MmxZitR8.js";
21
- import { n as x, t as S } from "../Form-DiYdJJNH.js";
22
- import { n as C } from "../Tooltip-2-mZgyai.js";
23
- import { n as w } from "../Loading-BAKnIASq.js";
24
- import { n as T } from "../Scrollbar-BdMGZrYi.js";
25
- import { n as E } from "../Modal-UWOcLzA6.js";
26
- import { t as D } from "../MessageBox-C0dCtUie.js";
27
- import { t as O } from "../Notification-CJraaZIi.js";
28
- import { n as k } from "../Select-BBw595_R.js";
29
- import { n as A } from "../Pagination-BGbiLFtp.js";
30
- import { n as j } from "../Progress-D2C6LCml.js";
31
- import { VlRadio as M, VlRadioGroup as N } from "./Radio.mjs";
32
- import { VlRow as P } from "./Row.mjs";
33
- import { n as F } from "../Sidebar-ByLinOVm.js";
34
- import { n as I } from "../Slider-CKU03SsT.js";
35
- import { n as L } from "../Space-gnVH7rEt.js";
36
- import { n as R } from "../Switch-CqTFvp-k.js";
37
- import { n as z } from "../Table-CpyEziz5.js";
38
- import { n as B } from "../Tag-TeYTDdHt.js";
39
- import { n as V } from "../Textarea-CA6Vzu7t.js";
40
- import { n as H } from "../Timeline-euWvUS4e.js";
41
- import { n as U } from "../TimePicker-DxDA8bbO.js";
42
- import { n as W } from "../Upload-DZ6VaM7r.js";
43
- import { n as G, t as K } from "../registry-BYt8u6us.js";
44
- export { e as VlAlert, t as VlAnchor, n as VlAnnouncement, i as VlBadge, a as VlButton, o as VlButtonGroup, s as VlCard, c as VlCheckbox, l as VlCheckboxGroup, u as VlCol, m as VlCron, g as VlDatePicker, _ as VlDateTimePicker, v as VlDivider, y as VlDrawer, h as VlDropdown, b as VlEmpty, S as VlForm, x as VlFormItem, d as VlInput, w as VlLoading, D as VlMessageBox, E as VlModal, O as VlNotification, p as VlNumberInput, A as VlPagination, j as VlProgress, M as VlRadio, N as VlRadioGroup, P as VlRow, T as VlScrollbar, k as VlSelect, F as VlSidebar, I as VlSlider, L as VlSpace, R as VlSwitch, z as VlTable, f as VlTabs, B as VlTag, V as VlTextarea, U as VlTimePicker, H as VlTimeline, C as VlTooltip, r as VlTransition, W as VlUpload, K as globalComponents, G as registerGlobalComponents };
5
+ import { n as r } from "../Transition-CJDv6yI5.js";
6
+ import { n as i } from "../Input-CoS-XMv1.js";
7
+ import { t as a } from "../AutoComplete-D8yHFMHQ.js";
8
+ import { i as o, n as s, r as c } from "../Avatar-DiZ9p6tu.js";
9
+ import { n as l } from "../Badge-CchY6uXz.js";
10
+ import { n as u } from "../Breadcrumb-BmZKaAQx.js";
11
+ import { n as d, r as f } from "../Button-CwkWSWau.js";
12
+ import { n as p } from "../Card-DCLfLn1x.js";
13
+ import { t as m } from "../Cascader-bozg6Ebp.js";
14
+ import { n as h, r as g } from "../Checkbox-bHOjYdMp.js";
15
+ import { n as _ } from "../Col-BZdKuXbj.js";
16
+ import { n as v } from "../Collapse-DszkYUfD.js";
17
+ import { n as y } from "../Tabs-HWLkyrQR.js";
18
+ import { n as b } from "../NumberInput-CB-nKZgs.js";
19
+ import { n as x } from "../Cron-BWqWgWuv.js";
20
+ import { n as S } from "../Dropdown-FrlX_2wd.js";
21
+ import { n as C } from "../DatePicker-DBjtTP2Q.js";
22
+ import { n as w } from "../DateTimePicker-IpyJLY4J.js";
23
+ import { n as T } from "../Descriptions-EL2QcZ1K.js";
24
+ import { n as E } from "../Divider-BXNZyvHY.js";
25
+ import { n as D } from "../Drawer--aEf7OiI.js";
26
+ import { n as O } from "../Empty-MmxZitR8.js";
27
+ import { n as k, t as A } from "../Form-CGJDPj0N.js";
28
+ import { n as j } from "../Tooltip-CWQDc8Nf.js";
29
+ import { n as M } from "../Scrollbar-BdMGZrYi.js";
30
+ import { n as N } from "../Modal-BTMB0xbR.js";
31
+ import { n as P, t as F } from "../Image-DJb-tcA-.js";
32
+ import { a as I, i as L, n as R, r as z, t as B } from "../Layout-l-rfDdFR.js";
33
+ import { n as V } from "../Skeleton-C80MPzfN.js";
34
+ import { t as H } from "../List-BupBfl-B.js";
35
+ import { n as U } from "../Loading-C9LBGbnd.js";
36
+ import { n as W } from "../Popover-Cb8BrtQC.js";
37
+ import { t as G } from "../Menu-t8GRH6oh.js";
38
+ import { t as K } from "../Message-Bo-hPakI.js";
39
+ import { t as q } from "../MessageBox-CaTZOiZC.js";
40
+ import { t as J } from "../Notification-C1lOX5Hn.js";
41
+ import { n as Y } from "../Select-CpoP5kRp.js";
42
+ import { n as X } from "../Pagination-fbC5EEq-.js";
43
+ import { n as Z } from "../Popconfirm-D2zgbhKF.js";
44
+ import { n as Q } from "../Progress-D2C6LCml.js";
45
+ import { VlRadio as $, VlRadioGroup as ee } from "./Radio.mjs";
46
+ import { t as te } from "../Result-CcnBHoE5.js";
47
+ import { VlRow as ne } from "./Row.mjs";
48
+ import { t as re } from "../Segmented-OykaARP4.js";
49
+ import { n as ie } from "../Sidebar-ByLinOVm.js";
50
+ import { n as ae } from "../Slider-CKU03SsT.js";
51
+ import { n as oe } from "../Space-gnVH7rEt.js";
52
+ import { t as se } from "../Statistic-DVduwOGW.js";
53
+ import { t as ce } from "../Steps-Cnswg-bb.js";
54
+ import { n as le } from "../Switch-CqTFvp-k.js";
55
+ import { n as ue } from "../Table-DMqVnyDN.js";
56
+ import { n as de } from "../Tag-TeYTDdHt.js";
57
+ import { n as fe } from "../Textarea-CA6Vzu7t.js";
58
+ import { n as pe } from "../Timeline-euWvUS4e.js";
59
+ import { n as me } from "../TimePicker-BydMgSVN.js";
60
+ import { t as he } from "../Transfer-BRjVUdyi.js";
61
+ import { t as ge } from "../Tree-BsG6l54c.js";
62
+ import { t as _e } from "../TreeSelect-DWmDo7pg.js";
63
+ import { a as ve, i as ye, n as be, r as xe, t as Se } from "../Typography-C9Ef3jN5.js";
64
+ import { n as Ce } from "../Upload-aLdxGpWh.js";
65
+ import { n as we, t as Te } from "../registry-BFCksD7k.js";
66
+ export { o as AvatarGroup, e as VlAlert, t as VlAnchor, n as VlAnnouncement, a as VlAutoComplete, s as VlAvatar, c as VlAvatarGroup, l as VlBadge, u as VlBreadcrumb, d as VlButton, f as VlButtonGroup, p as VlCard, m as VlCascader, h as VlCheckbox, g as VlCheckboxGroup, _ as VlCol, v as VlCollapse, x as VlCron, C as VlDatePicker, w as VlDateTimePicker, T as VlDescriptions, E as VlDivider, D as VlDrawer, S as VlDropdown, O as VlEmpty, A as VlForm, k as VlFormItem, F as VlImage, P as VlImagePreview, i as VlInput, B as VlLayout, R as VlLayoutContent, z as VlLayoutFooter, L as VlLayoutHeader, I as VlLayoutSider, H as VlList, U as VlLoading, G as VlMenu, K as VlMessage, q as VlMessageBox, N as VlModal, J as VlNotification, b as VlNumberInput, X as VlPagination, Z as VlPopconfirm, W as VlPopover, Q as VlProgress, $ as VlRadio, ee as VlRadioGroup, te as VlResult, ne as VlRow, M as VlScrollbar, re as VlSegmented, Y as VlSelect, ie as VlSidebar, V as VlSkeleton, ae as VlSlider, oe as VlSpace, se as VlStatistic, ce as VlSteps, le as VlSwitch, ue as VlTable, y as VlTabs, de as VlTag, fe as VlTextarea, me as VlTimePicker, pe as VlTimeline, j as VlTooltip, he as VlTransfer, r as VlTransition, ge as VlTree, _e as VlTreeSelect, Se as VlTypography, be as VlTypographyLink, xe as VlTypographyParagraph, ye as VlTypographyText, ve as VlTypographyTitle, Ce as VlUpload, Te as globalComponents, we as registerGlobalComponents };
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { n as e, t } from "../registry-BYt8u6us.js";
2
+ import { n as e, t } from "../registry-BFCksD7k.js";
3
3
  import "./global.mjs";
4
4
  //#region components/register.ts
5
5
  typeof window < "u" && e();
@@ -0,0 +1 @@
1
+ const e=require("./effect-BpNxm_06.cjs"),t=require("./number-B7qJF_ZY.cjs"),n=require("./layer-BcLkE2NM.cjs");let r=require("react");var i=(e={},t={})=>{let n=Object.keys(e);return n.length===Object.keys(t).length&&n.every(n=>Object.is(e[n],t[n]))},a=e=>{let[t,n]=(0,r.useState)({placement:e,style:{}}),a=(0,r.useRef)(t);return[t,(0,r.useCallback)(e=>{let t=a.current;t.placement===e.placement&&i(t.style,e.style)&&i(t.arrowStyle,e.arrowStyle)||(a.current=e,n(e))},[])]},o=({active:t,rootRef:i,floatingRef:a,closeOnOutsideClick:o=!0,ignoreEscapeInsideFloating:s=!1,isOwnedPopup:c,onOutsideClick:l,onEscape:u,onViewportChange:d})=>{let f=n.p({active:t,rootRef:i,floatingRef:a}),p=(0,r.useRef)({rootRef:i,floatingRef:a,closeOnOutsideClick:o,ignoreEscapeInsideFloating:s,isOwnedPopup:c,onOutsideClick:l,onEscape:u,onViewportChange:d});e.t(()=>{p.current={rootRef:i,floatingRef:a,closeOnOutsideClick:o,ignoreEscapeInsideFloating:s,isOwnedPopup:c,onOutsideClick:l,onEscape:u,onViewportChange:d}});let m=!!u,h=!!d;return(0,r.useEffect)(()=>{if(!f.active)return;let e=null,t=e=>{let{closeOnOutsideClick:t,rootRef:r,floatingRef:i,isOwnedPopup:a,onOutsideClick:o}=p.current;if(!t)return;let s=e.composedPath(),c=r.current,l=i.current;!c||s.includes(c)||l&&s.includes(l)||a?.(s)||s.some(e=>e instanceof Node&&n.d(f,e))||o?.()},r=e=>{let{ignoreEscapeInsideFloating:t,floatingRef:r,onEscape:i}=p.current;e.key!==`Escape`||!i||e.defaultPrevented||!n.l(f,e)||t&&r.current?.contains(e.target)||(e.preventDefault(),i())},i=()=>{p.current.onViewportChange&&e===null&&(e=(typeof window<`u`&&typeof window.requestAnimationFrame==`function`?window.requestAnimationFrame:e=>setTimeout(e,16))(()=>{e=null,p.current.onViewportChange?.()}))};return document.addEventListener(`pointerdown`,t,!0),m&&document.addEventListener(`keydown`,r),h&&(window.addEventListener(`resize`,i,{passive:!0}),window.addEventListener(`scroll`,i,{passive:!0,capture:!0})),()=>{e!==null&&(typeof window<`u`&&typeof window.cancelAnimationFrame==`function`?window.cancelAnimationFrame(e):clearTimeout(e),e=null),document.removeEventListener(`pointerdown`,t,!0),m&&document.removeEventListener(`keydown`,r),h&&(window.removeEventListener(`resize`,i),window.removeEventListener(`scroll`,i,!0))}},[t,m,h,f]),f},s=e=>({"bottom-start":[`bottom-start`,`bottom-end`,`top-start`,`top-end`],"bottom-end":[`bottom-end`,`bottom-start`,`top-end`,`top-start`],"top-start":[`top-start`,`top-end`,`bottom-start`,`bottom-end`],"top-end":[`top-end`,`top-start`,`bottom-end`,`bottom-start`]})[e],c=({anchorRect:e,floatingRect:n,placement:r,offset:i,edgePadding:a=8,getCandidates:o=l,fallbackFits:s})=>{let c=t=>{let r=t.split(`-`)[0],a=!t.endsWith(`-start`)&&!t.endsWith(`-end`),o=t.endsWith(`-end`);if(r===`top`||r===`bottom`)return{x:a?e.left+(e.width-n.width)/2:o?e.right-n.width:e.left,y:r===`top`?e.top-i-n.height:e.bottom+i};let s=a?e.top+(e.height-n.height)/2:o?e.bottom-n.height:e.top;return{x:r===`left`?e.left-i-n.width:e.right+i,y:s}},u=({x:e,y:t})=>e>=a&&e+n.width<=window.innerWidth-a&&t>=a&&t+n.height<=window.innerHeight-a,d=o(r),f=d.find(e=>u(c(e)))??(s?d.find(e=>s(c(e))):void 0)??r,p=c(f),m=Math.max(a,window.innerWidth-n.width-a),h=Math.max(a,window.innerHeight-n.height-a);return{placement:f,x:t.t(p.x,a,m),y:t.t(p.y,a,h)}},l=e=>({top:[`top`,`bottom`,`left`,`right`],"top-start":[`top-start`,`bottom-start`,`top-end`,`bottom-end`],"top-end":[`top-end`,`bottom-end`,`top-start`,`bottom-start`],bottom:[`bottom`,`top`,`left`,`right`],"bottom-start":[`bottom-start`,`top-start`,`bottom-end`,`top-end`],"bottom-end":[`bottom-end`,`top-end`,`bottom-start`,`top-start`],left:[`left`,`right`,`top`,`bottom`],"left-start":[`left-start`,`right-start`,`left-end`,`right-end`],"left-end":[`left-end`,`right-end`,`left-start`,`right-start`],right:[`right`,`left`,`top`,`bottom`],"right-start":[`right-start`,`left-start`,`right-end`,`left-end`],"right-end":[`right-end`,`left-end`,`right-start`,`left-start`]})[e],u=e=>{let{edgePadding:t=8,...n}=e;return c({...n,edgePadding:t,getCandidates:s,fallbackFits:({y:n})=>n>=t&&n+e.floatingRect.height<=window.innerHeight-t})};Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return u}});