@routa/ui-vue 0.1.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 (504) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +52 -0
  3. package/base.css +1 -0
  4. package/dist/autocomplete/AutoComplete.vue.d.ts +336 -0
  5. package/dist/autocomplete/index.d.ts +298 -0
  6. package/dist/autocomplete/index.js +4 -0
  7. package/dist/autocomplete/index.mjs +321 -0
  8. package/dist/autocomplete/types.d.ts +58 -0
  9. package/dist/avatar/Avatar.vue.d.ts +36 -0
  10. package/dist/avatar/AvatarGroup.vue.d.ts +7 -0
  11. package/dist/avatar/index.d.ts +7 -0
  12. package/dist/avatar/index.js +3 -0
  13. package/dist/avatar/index.mjs +192 -0
  14. package/dist/avatar/types.d.ts +111 -0
  15. package/dist/badge/Badge.vue.d.ts +25 -0
  16. package/dist/badge/index.d.ts +5 -0
  17. package/dist/badge/index.js +2 -0
  18. package/dist/badge/index.mjs +72 -0
  19. package/dist/badge/types.d.ts +86 -0
  20. package/dist/breadcrumb/Breadcrumb.vue.d.ts +38 -0
  21. package/dist/breadcrumb/BreadcrumbItem.vue.d.ts +48 -0
  22. package/dist/breadcrumb/index.d.ts +7 -0
  23. package/dist/breadcrumb/index.js +2 -0
  24. package/dist/breadcrumb/index.mjs +87 -0
  25. package/dist/breadcrumb/types.d.ts +28 -0
  26. package/dist/button/Button.vue.d.ts +27 -0
  27. package/dist/button/index.d.ts +5 -0
  28. package/dist/button/index.js +2 -0
  29. package/dist/button/index.mjs +10 -0
  30. package/dist/button/types.d.ts +14 -0
  31. package/dist/card/Card.vue.d.ts +49 -0
  32. package/dist/card/index.d.ts +72 -0
  33. package/dist/card/index.js +2 -0
  34. package/dist/card/index.mjs +60 -0
  35. package/dist/card/types.d.ts +16 -0
  36. package/dist/carousel/Carousel.vue.d.ts +134 -0
  37. package/dist/carousel/CarouselItem.vue.d.ts +23 -0
  38. package/dist/carousel/index.d.ts +250 -0
  39. package/dist/carousel/index.js +2 -0
  40. package/dist/carousel/index.mjs +354 -0
  41. package/dist/carousel/types.d.ts +97 -0
  42. package/dist/cascader/Cascader.vue.d.ts +109 -0
  43. package/dist/cascader/CascaderPanel.vue.d.ts +55 -0
  44. package/dist/cascader/index.d.ts +110 -0
  45. package/dist/cascader/index.js +5 -0
  46. package/dist/cascader/index.mjs +370 -0
  47. package/dist/cascader/types.d.ts +54 -0
  48. package/dist/checkbox/Checkbox.vue.d.ts +99 -0
  49. package/dist/checkbox/CheckboxGroup.vue.d.ts +59 -0
  50. package/dist/checkbox/constants.d.ts +2 -0
  51. package/dist/checkbox/index.d.ts +9 -0
  52. package/dist/checkbox/index.js +2 -0
  53. package/dist/checkbox/index.mjs +70 -0
  54. package/dist/checkbox/types.d.ts +64 -0
  55. package/dist/chunks/Button.vue_vue_type_script_setup_true_lang-BthtEkGw.mjs +170 -0
  56. package/dist/chunks/Button.vue_vue_type_script_setup_true_lang-Do1NtIFC.js +1 -0
  57. package/dist/chunks/Checkbox.vue_vue_type_script_setup_true_lang-DxecbRJE.js +1 -0
  58. package/dist/chunks/Checkbox.vue_vue_type_script_setup_true_lang-fOXXjwnz.mjs +289 -0
  59. package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-LQ-KuJ6a.mjs +57 -0
  60. package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-YDWguTmi.js +1 -0
  61. package/dist/chunks/Input.vue_vue_type_script_setup_true_lang-8x2HE2Cj.js +1 -0
  62. package/dist/chunks/Input.vue_vue_type_script_setup_true_lang-PeDZ7smO.mjs +391 -0
  63. package/dist/chunks/Popover.vue_vue_type_script_setup_true_lang-CVWbekIQ.mjs +176 -0
  64. package/dist/chunks/Popover.vue_vue_type_script_setup_true_lang-TF9OnqB0.js +1 -0
  65. package/dist/chunks/Scrollbar.vue_vue_type_script_setup_true_lang-CtBz7Ha9.js +1 -0
  66. package/dist/chunks/Scrollbar.vue_vue_type_script_setup_true_lang-kKvR0Hz3.mjs +124 -0
  67. package/dist/chunks/TimePanel.vue_vue_type_script_setup_true_lang-BNTM3OeU.js +1 -0
  68. package/dist/chunks/TimePanel.vue_vue_type_script_setup_true_lang-BxuIhLsF.mjs +170 -0
  69. package/dist/chunks/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
  70. package/dist/chunks/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  71. package/dist/chunks/auto-update-6n8Xn1EH.js +1 -0
  72. package/dist/chunks/auto-update-Dw-2qIsQ.mjs +59 -0
  73. package/dist/chunks/color-BBpRjg5d.mjs +32 -0
  74. package/dist/chunks/color-m1q_rZ68.js +1 -0
  75. package/dist/chunks/context-BEsW77hb.js +1 -0
  76. package/dist/chunks/context-BlK-PJ3n.mjs +5 -0
  77. package/dist/chunks/controller-37WpkEdZ.js +1 -0
  78. package/dist/chunks/controller-3cWaJJMW.mjs +318 -0
  79. package/dist/chunks/controller-BQhkT8pi.mjs +95 -0
  80. package/dist/chunks/controller-BnNZOOMj.js +1 -0
  81. package/dist/chunks/controller-CV-a983I.js +1 -0
  82. package/dist/chunks/controller-D1BTHmfO.js +1 -0
  83. package/dist/chunks/controller-DZp6lWY1.mjs +96 -0
  84. package/dist/chunks/controller-DdEBnv9V.mjs +82 -0
  85. package/dist/chunks/id-CfLxBW9l.js +1 -0
  86. package/dist/chunks/id-VS2potoV.mjs +7 -0
  87. package/dist/chunks/index-B0yEC3RG.mjs +136 -0
  88. package/dist/chunks/index-B4GP5rXr.mjs +170 -0
  89. package/dist/chunks/index-DWAWrVaT.js +1 -0
  90. package/dist/chunks/index-RYR-1S7A.js +1 -0
  91. package/dist/chunks/install-DJNxamQ0.mjs +10 -0
  92. package/dist/chunks/install-gnn2dOg9.js +1 -0
  93. package/dist/chunks/manager-BUdQK4AD.mjs +156 -0
  94. package/dist/chunks/manager-C-VTKQvg.mjs +85 -0
  95. package/dist/chunks/manager-C0AUxQ1I.js +2 -0
  96. package/dist/chunks/manager-d-AJMlyO.js +1 -0
  97. package/dist/chunks/modal-BiivqQQz.mjs +86 -0
  98. package/dist/chunks/modal-CRbFkVcm.js +1 -0
  99. package/dist/chunks/responsive-BYScjISa.js +1 -0
  100. package/dist/chunks/responsive-jCVnPx1a.mjs +49 -0
  101. package/dist/chunks/style-C-58-Hx4.mjs +7 -0
  102. package/dist/chunks/style-CjCLKeeU.js +1 -0
  103. package/dist/chunks/types-CXAGM03M.mjs +92 -0
  104. package/dist/chunks/types-DS78vyi2.js +1 -0
  105. package/dist/chunks/use-form-item-CloIcyon.js +1 -0
  106. package/dist/chunks/use-form-item-CqDbWCiU.mjs +16 -0
  107. package/dist/chunks/use-id-BycaM3-h.js +1 -0
  108. package/dist/chunks/use-id-D3casveg.mjs +9 -0
  109. package/dist/chunks/use-signals-Bz1smiXh.js +1 -0
  110. package/dist/chunks/use-signals-CE1T2jXK.mjs +50 -0
  111. package/dist/chunks/useCanvasRenderer-BPTNzGy0.mjs +87 -0
  112. package/dist/chunks/useCanvasRenderer-D77k3JCQ.js +1 -0
  113. package/dist/chunks/useResizeObserver-Cki4q_CI.mjs +60 -0
  114. package/dist/chunks/useResizeObserver-DMkB1OF3.js +1 -0
  115. package/dist/chunks/z-index-CNZLw1v7.js +1 -0
  116. package/dist/chunks/z-index-D9ecXoNe.mjs +14 -0
  117. package/dist/collapse/Collapse.vue.d.ts +30 -0
  118. package/dist/collapse/CollapseItem.vue.d.ts +20 -0
  119. package/dist/collapse/index.d.ts +8 -0
  120. package/dist/collapse/index.js +3 -0
  121. package/dist/collapse/index.mjs +144 -0
  122. package/dist/collapse/types.d.ts +54 -0
  123. package/dist/color-picker/AlphaSlider.vue.d.ts +38 -0
  124. package/dist/color-picker/ColorPicker.vue.d.ts +57 -0
  125. package/dist/color-picker/HueSlider.vue.d.ts +28 -0
  126. package/dist/color-picker/SaturationPanel.vue.d.ts +46 -0
  127. package/dist/color-picker/index.d.ts +56 -0
  128. package/dist/color-picker/index.js +6 -0
  129. package/dist/color-picker/index.mjs +481 -0
  130. package/dist/config-provider/ConfigProvider.vue.d.ts +64 -0
  131. package/dist/config-provider/context.d.ts +888 -0
  132. package/dist/config-provider/index.d.ts +97 -0
  133. package/dist/config-provider/index.js +1 -0
  134. package/dist/config-provider/index.mjs +396 -0
  135. package/dist/config-provider/resolver.d.ts +2 -0
  136. package/dist/config-provider/runtime.d.ts +5 -0
  137. package/dist/config-provider/teleport.d.ts +6 -0
  138. package/dist/config-provider/types.d.ts +131 -0
  139. package/dist/context-menu/ContextMenu.vue.d.ts +87 -0
  140. package/dist/context-menu/index.d.ts +5 -0
  141. package/dist/context-menu/index.js +3 -0
  142. package/dist/context-menu/index.mjs +215 -0
  143. package/dist/context-menu/types.d.ts +34 -0
  144. package/dist/date-picker/Calendar.vue.d.ts +22 -0
  145. package/dist/date-picker/DatePicker.vue.d.ts +31 -0
  146. package/dist/date-picker/DateRangePicker.vue.d.ts +26 -0
  147. package/dist/date-picker/DateTimePicker.vue.d.ts +27 -0
  148. package/dist/date-picker/DateTimeRangePicker.vue.d.ts +27 -0
  149. package/dist/date-picker/index.d.ts +13 -0
  150. package/dist/date-picker/index.js +6 -0
  151. package/dist/date-picker/index.mjs +1229 -0
  152. package/dist/date-picker/utils.d.ts +3 -0
  153. package/dist/dialog/Dialog.vue.d.ts +97 -0
  154. package/dist/dialog/index.d.ts +5 -0
  155. package/dist/dialog/index.js +2 -0
  156. package/dist/dialog/index.mjs +161 -0
  157. package/dist/dialog/types.d.ts +38 -0
  158. package/dist/divider/Divider.vue.d.ts +74 -0
  159. package/dist/divider/index.d.ts +5 -0
  160. package/dist/divider/index.js +2 -0
  161. package/dist/divider/index.mjs +96 -0
  162. package/dist/divider/types.d.ts +57 -0
  163. package/dist/drawer/Drawer.vue.d.ts +106 -0
  164. package/dist/drawer/index.d.ts +5 -0
  165. package/dist/drawer/index.js +2 -0
  166. package/dist/drawer/index.mjs +168 -0
  167. package/dist/drawer/types.d.ts +42 -0
  168. package/dist/dropdown/Dropdown.vue.d.ts +109 -0
  169. package/dist/dropdown/DropdownItem.vue.d.ts +60 -0
  170. package/dist/dropdown/index.d.ts +7 -0
  171. package/dist/dropdown/index.js +3 -0
  172. package/dist/dropdown/index.mjs +310 -0
  173. package/dist/dropdown/types.d.ts +87 -0
  174. package/dist/empty/Empty.vue.d.ts +47 -0
  175. package/dist/empty/index.d.ts +70 -0
  176. package/dist/empty/index.js +2 -0
  177. package/dist/empty/index.mjs +50 -0
  178. package/dist/empty/types.d.ts +16 -0
  179. package/dist/feedback-runtime/manager.d.ts +109 -0
  180. package/dist/feedback-runtime/mount.d.ts +5 -0
  181. package/dist/feedback-runtime/types.d.ts +27 -0
  182. package/dist/form/Form.vue.d.ts +37 -0
  183. package/dist/form/FormItem.vue.d.ts +32 -0
  184. package/dist/form/FormSchemaFields.vue.d.ts +7 -0
  185. package/dist/form/context.d.ts +33 -0
  186. package/dist/form/index.d.ts +6 -0
  187. package/dist/form/index.js +2 -0
  188. package/dist/form/index.mjs +389 -0
  189. package/dist/grid/Col.vue.d.ts +101 -0
  190. package/dist/grid/Row.vue.d.ts +56 -0
  191. package/dist/grid/index.d.ts +7 -0
  192. package/dist/grid/index.js +2 -0
  193. package/dist/grid/index.mjs +182 -0
  194. package/dist/grid/responsive.d.ts +9 -0
  195. package/dist/grid/types.d.ts +85 -0
  196. package/dist/hooks/index.d.ts +3 -0
  197. package/dist/hooks/index.js +1 -0
  198. package/dist/hooks/index.mjs +9 -0
  199. package/dist/hooks/use-form-item.d.ts +13 -0
  200. package/dist/hooks/use-id.d.ts +5 -0
  201. package/dist/hooks/useCanvasRenderer.d.ts +10 -0
  202. package/dist/hooks/useImageLoader.d.ts +20 -0
  203. package/dist/hooks/useResizeObserver.d.ts +17 -0
  204. package/dist/icon/Icon.vue.d.ts +20 -0
  205. package/dist/icon/index.d.ts +5 -0
  206. package/dist/icon/index.js +2 -0
  207. package/dist/icon/index.mjs +10 -0
  208. package/dist/icon/types.d.ts +45 -0
  209. package/dist/image/Image.vue.d.ts +38 -0
  210. package/dist/image/index.d.ts +5 -0
  211. package/dist/image/index.js +2 -0
  212. package/dist/image/index.mjs +128 -0
  213. package/dist/image/types.d.ts +10 -0
  214. package/dist/index.d.ts +59 -0
  215. package/dist/index.js +1 -0
  216. package/dist/index.mjs +362 -0
  217. package/dist/input/Input.vue.d.ts +47 -0
  218. package/dist/input/index.d.ts +5 -0
  219. package/dist/input/index.js +2 -0
  220. package/dist/input/index.mjs +10 -0
  221. package/dist/input/types.d.ts +51 -0
  222. package/dist/input-number/InputNumber.vue.d.ts +119 -0
  223. package/dist/input-number/index.d.ts +5 -0
  224. package/dist/input-number/index.js +2 -0
  225. package/dist/input-number/index.mjs +312 -0
  226. package/dist/input-number/types.d.ts +58 -0
  227. package/dist/layout/Content.vue.d.ts +29 -0
  228. package/dist/layout/Footer.vue.d.ts +29 -0
  229. package/dist/layout/Header.vue.d.ts +29 -0
  230. package/dist/layout/Layout.vue.d.ts +32 -0
  231. package/dist/layout/Sider.vue.d.ts +59 -0
  232. package/dist/layout/index.d.ts +13 -0
  233. package/dist/layout/index.js +2 -0
  234. package/dist/layout/index.mjs +154 -0
  235. package/dist/layout/types.d.ts +51 -0
  236. package/dist/layout-system/responsive.d.ts +4 -0
  237. package/dist/layout-system/types.d.ts +3 -0
  238. package/dist/loading/Loading.vue.d.ts +57 -0
  239. package/dist/loading/LoadingMask.vue.d.ts +8 -0
  240. package/dist/loading/directive.d.ts +5 -0
  241. package/dist/loading/index.d.ts +7 -0
  242. package/dist/loading/index.js +2 -0
  243. package/dist/loading/index.mjs +275 -0
  244. package/dist/loading/types.d.ts +23 -0
  245. package/dist/mentions/Mentions.vue.d.ts +337 -0
  246. package/dist/mentions/index.d.ts +296 -0
  247. package/dist/mentions/index.js +5 -0
  248. package/dist/mentions/index.mjs +357 -0
  249. package/dist/mentions/types.d.ts +55 -0
  250. package/dist/menu/Menu.vue.d.ts +120 -0
  251. package/dist/menu/MenuDivider.vue.d.ts +2 -0
  252. package/dist/menu/MenuGroup.vue.d.ts +29 -0
  253. package/dist/menu/MenuItem.vue.d.ts +48 -0
  254. package/dist/menu/MenuNodeRenderer.vue.d.ts +6 -0
  255. package/dist/menu/SubMenu.vue.d.ts +57 -0
  256. package/dist/menu/index.d.ts +13 -0
  257. package/dist/menu/index.js +2 -0
  258. package/dist/menu/index.mjs +772 -0
  259. package/dist/menu/types.d.ts +126 -0
  260. package/dist/message/MessageHost.vue.d.ts +15 -0
  261. package/dist/message/MessageItem.vue.d.ts +15 -0
  262. package/dist/message/index.d.ts +10 -0
  263. package/dist/message/index.js +2 -0
  264. package/dist/message/index.mjs +199 -0
  265. package/dist/message/runtime.d.ts +149 -0
  266. package/dist/message/types.d.ts +12 -0
  267. package/dist/notification/NotificationHost.vue.d.ts +15 -0
  268. package/dist/notification/NotificationItem.vue.d.ts +15 -0
  269. package/dist/notification/index.d.ts +10 -0
  270. package/dist/notification/index.js +2 -0
  271. package/dist/notification/index.mjs +207 -0
  272. package/dist/notification/runtime.d.ts +155 -0
  273. package/dist/notification/types.d.ts +12 -0
  274. package/dist/otp-input/OTPInput.vue.d.ts +84 -0
  275. package/dist/otp-input/index.d.ts +5 -0
  276. package/dist/otp-input/index.js +2 -0
  277. package/dist/otp-input/index.mjs +216 -0
  278. package/dist/otp-input/types.d.ts +41 -0
  279. package/dist/pagination/Pagination.vue.d.ts +101 -0
  280. package/dist/pagination/index.d.ts +102 -0
  281. package/dist/pagination/index.js +2 -0
  282. package/dist/pagination/index.mjs +260 -0
  283. package/dist/pagination/types.d.ts +48 -0
  284. package/dist/popover/Popover.vue.d.ts +136 -0
  285. package/dist/popover/index.d.ts +5 -0
  286. package/dist/popover/index.js +2 -0
  287. package/dist/popover/index.mjs +13 -0
  288. package/dist/popover/types.d.ts +49 -0
  289. package/dist/radio/Radio.vue.d.ts +30 -0
  290. package/dist/radio/RadioGroup.vue.d.ts +26 -0
  291. package/dist/radio/constants.d.ts +3 -0
  292. package/dist/radio/index.d.ts +7 -0
  293. package/dist/radio/index.js +2 -0
  294. package/dist/radio/index.mjs +273 -0
  295. package/dist/radio/types.d.ts +45 -0
  296. package/dist/rate/Rate.vue.d.ts +139 -0
  297. package/dist/rate/index.d.ts +140 -0
  298. package/dist/rate/index.js +3 -0
  299. package/dist/rate/index.mjs +276 -0
  300. package/dist/rate/types.d.ts +66 -0
  301. package/dist/rich-text/RichText.vue.d.ts +25 -0
  302. package/dist/rich-text/index.d.ts +17 -0
  303. package/dist/rich-text/index.js +2 -0
  304. package/dist/rich-text/index.mjs +312 -0
  305. package/dist/scrollbar/Scrollbar.vue.d.ts +37 -0
  306. package/dist/scrollbar/index.d.ts +5 -0
  307. package/dist/scrollbar/index.js +2 -0
  308. package/dist/scrollbar/index.mjs +10 -0
  309. package/dist/scrollbar/types.d.ts +17 -0
  310. package/dist/select/Option.vue.d.ts +45 -0
  311. package/dist/select/Select.vue.d.ts +136 -0
  312. package/dist/select/index.d.ts +9 -0
  313. package/dist/select/index.js +3 -0
  314. package/dist/select/index.mjs +656 -0
  315. package/dist/select/types.d.ts +92 -0
  316. package/dist/slider/Slider.vue.d.ts +123 -0
  317. package/dist/slider/index.d.ts +5 -0
  318. package/dist/slider/index.js +2 -0
  319. package/dist/slider/index.mjs +326 -0
  320. package/dist/slider/types.d.ts +57 -0
  321. package/dist/space/Space.vue.d.ts +75 -0
  322. package/dist/space/index.d.ts +5 -0
  323. package/dist/space/index.js +2 -0
  324. package/dist/space/index.mjs +104 -0
  325. package/dist/space/types.d.ts +34 -0
  326. package/dist/splitter/Splitter.vue.d.ts +52 -0
  327. package/dist/splitter/SplitterPane.vue.d.ts +38 -0
  328. package/dist/splitter/index.d.ts +7 -0
  329. package/dist/splitter/index.js +2 -0
  330. package/dist/splitter/index.mjs +252 -0
  331. package/dist/splitter/types.d.ts +41 -0
  332. package/dist/splitter/utils.d.ts +6 -0
  333. package/dist/style/Button.css +1 -0
  334. package/dist/style/Checkbox.css +1 -0
  335. package/dist/style/Icon.css +1 -0
  336. package/dist/style/Input.css +1 -0
  337. package/dist/style/Popover.css +1 -0
  338. package/dist/style/Scrollbar.css +1 -0
  339. package/dist/style/TimePanel.css +1 -0
  340. package/dist/style/autocomplete.css +1 -0
  341. package/dist/style/avatar.css +1 -0
  342. package/dist/style/badge.css +1 -0
  343. package/dist/style/base.css +1 -0
  344. package/dist/style/breadcrumb.css +1 -0
  345. package/dist/style/card.css +1 -0
  346. package/dist/style/carousel.css +1 -0
  347. package/dist/style/cascader.css +1 -0
  348. package/dist/style/collapse.css +1 -0
  349. package/dist/style/color-picker.css +1 -0
  350. package/dist/style/context-menu.css +1 -0
  351. package/dist/style/date-picker.css +1 -0
  352. package/dist/style/dialog.css +1 -0
  353. package/dist/style/divider.css +1 -0
  354. package/dist/style/drawer.css +1 -0
  355. package/dist/style/empty.css +1 -0
  356. package/dist/style/form.css +1 -0
  357. package/dist/style/grid.css +1 -0
  358. package/dist/style/image.css +1 -0
  359. package/dist/style/index.css +1 -0
  360. package/dist/style/input-number.css +1 -0
  361. package/dist/style/layout.css +1 -0
  362. package/dist/style/loading.css +1 -0
  363. package/dist/style/mentions.css +1 -0
  364. package/dist/style/menu.css +1 -0
  365. package/dist/style/message.css +1 -0
  366. package/dist/style/notification.css +1 -0
  367. package/dist/style/otp-input.css +1 -0
  368. package/dist/style/pagination.css +1 -0
  369. package/dist/style/radio.css +1 -0
  370. package/dist/style/rate.css +1 -0
  371. package/dist/style/rich-text.css +1 -0
  372. package/dist/style/select.css +1 -0
  373. package/dist/style/slider.css +1 -0
  374. package/dist/style/space.css +1 -0
  375. package/dist/style/splitter.css +1 -0
  376. package/dist/style/switch.css +1 -0
  377. package/dist/style/table.css +1 -0
  378. package/dist/style/tabs.css +1 -0
  379. package/dist/style/tag.css +1 -0
  380. package/dist/style/tooltip.css +1 -0
  381. package/dist/style/transfer.css +1 -0
  382. package/dist/style/tree-select.css +1 -0
  383. package/dist/style/tree.css +1 -0
  384. package/dist/style/upload.css +1 -0
  385. package/dist/style/watermark.css +1 -0
  386. package/dist/switch/Switch.vue.d.ts +95 -0
  387. package/dist/switch/index.d.ts +5 -0
  388. package/dist/switch/index.js +2 -0
  389. package/dist/switch/index.mjs +285 -0
  390. package/dist/switch/types.d.ts +81 -0
  391. package/dist/table/Table.vue.d.ts +102 -0
  392. package/dist/table/index.d.ts +5 -0
  393. package/dist/table/index.js +2 -0
  394. package/dist/table/index.mjs +263 -0
  395. package/dist/table/types.d.ts +64 -0
  396. package/dist/tabs/TabPane.vue.d.ts +55 -0
  397. package/dist/tabs/Tabs.vue.d.ts +92 -0
  398. package/dist/tabs/index.d.ts +7 -0
  399. package/dist/tabs/index.js +2 -0
  400. package/dist/tabs/index.mjs +266 -0
  401. package/dist/tabs/types.d.ts +78 -0
  402. package/dist/tag/Tag.vue.d.ts +38 -0
  403. package/dist/tag/index.d.ts +5 -0
  404. package/dist/tag/index.js +2 -0
  405. package/dist/tag/index.mjs +123 -0
  406. package/dist/tag/types.d.ts +83 -0
  407. package/dist/time-picker/TimePanel.vue.d.ts +19 -0
  408. package/dist/time-picker/TimePicker.vue.d.ts +15 -0
  409. package/dist/time-picker/index.d.ts +6 -0
  410. package/dist/time-picker/index.js +4 -0
  411. package/dist/time-picker/index.mjs +91 -0
  412. package/dist/tooltip/Tooltip.vue.d.ts +99 -0
  413. package/dist/tooltip/index.d.ts +5 -0
  414. package/dist/tooltip/index.js +2 -0
  415. package/dist/tooltip/index.mjs +186 -0
  416. package/dist/tooltip/types.d.ts +37 -0
  417. package/dist/transfer/Transfer.vue.d.ts +104 -0
  418. package/dist/transfer/TransferPanel.vue.d.ts +90 -0
  419. package/dist/transfer/index.d.ts +167 -0
  420. package/dist/transfer/index.js +7 -0
  421. package/dist/transfer/index.mjs +343 -0
  422. package/dist/tree/Tree.vue.d.ts +237 -0
  423. package/dist/tree/TreeRow.vue.d.ts +24 -0
  424. package/dist/tree/TreeView.vue.d.ts +24 -0
  425. package/dist/tree/context.d.ts +3 -0
  426. package/dist/tree/index.d.ts +431 -0
  427. package/dist/tree/index.js +2 -0
  428. package/dist/tree/index.mjs +548 -0
  429. package/dist/tree/types.d.ts +127 -0
  430. package/dist/tree/use-tree-foundation.d.ts +37 -0
  431. package/dist/tree-select/TreeNode.vue.d.ts +7 -0
  432. package/dist/tree-select/TreeSelect.vue.d.ts +210 -0
  433. package/dist/tree-select/index.d.ts +7 -0
  434. package/dist/tree-select/index.js +3 -0
  435. package/dist/tree-select/index.mjs +799 -0
  436. package/dist/tree-select/types.d.ts +111 -0
  437. package/dist/upload/Upload.vue.d.ts +50 -0
  438. package/dist/upload/index.d.ts +67 -0
  439. package/dist/upload/index.js +3 -0
  440. package/dist/upload/index.mjs +271 -0
  441. package/dist/utils/install.d.ts +3 -0
  442. package/dist/utils/style.d.ts +1 -0
  443. package/dist/watermark/Watermark.vue.d.ts +98 -0
  444. package/dist/watermark/index.d.ts +5 -0
  445. package/dist/watermark/index.js +2 -0
  446. package/dist/watermark/index.mjs +183 -0
  447. package/dist/watermark/types.d.ts +85 -0
  448. package/package.json +69 -0
  449. package/src/autocomplete/style/index.css +80 -0
  450. package/src/avatar/style/index.css +105 -0
  451. package/src/badge/style/index.css +232 -0
  452. package/src/base.css +4 -0
  453. package/src/breadcrumb/style/index.css +75 -0
  454. package/src/button/style/index.css +242 -0
  455. package/src/card/style/index.css +60 -0
  456. package/src/carousel/style/index.css +195 -0
  457. package/src/cascader/style/index.css +153 -0
  458. package/src/checkbox/style/index.css +165 -0
  459. package/src/collapse/style/index.css +166 -0
  460. package/src/color-picker/style/index.css +132 -0
  461. package/src/context-menu/style/index.css +21 -0
  462. package/src/date-picker/style/index.css +372 -0
  463. package/src/dialog/style/index.css +141 -0
  464. package/src/divider/style/index.css +112 -0
  465. package/src/drawer/style/index.css +211 -0
  466. package/src/dropdown/style/index.css +118 -0
  467. package/src/empty/style/index.css +87 -0
  468. package/src/form/style/index.css +148 -0
  469. package/src/grid/style/index.css +16 -0
  470. package/src/icon/style/index.css +28 -0
  471. package/src/image/style/index.css +114 -0
  472. package/src/input/style/index.css +217 -0
  473. package/src/input-number/style/index.css +166 -0
  474. package/src/layout/style/index.css +37 -0
  475. package/src/loading/style/index.css +58 -0
  476. package/src/mentions/style/index.css +83 -0
  477. package/src/menu/style/index.css +300 -0
  478. package/src/message/style/index.css +109 -0
  479. package/src/notification/style/index.css +116 -0
  480. package/src/otp-input/style/index.css +96 -0
  481. package/src/pagination/style/index.css +96 -0
  482. package/src/popover/style/index.css +47 -0
  483. package/src/radio/style/index.css +185 -0
  484. package/src/rate/style/index.css +89 -0
  485. package/src/rich-text/style/index.css +154 -0
  486. package/src/scrollbar/style/index.css +57 -0
  487. package/src/select/style/index.css +262 -0
  488. package/src/slider/style/index.css +181 -0
  489. package/src/space/style/index.css +31 -0
  490. package/src/splitter/style/index.css +76 -0
  491. package/src/style.css +1 -0
  492. package/src/styles/reset.css +29 -0
  493. package/src/switch/style/index.css +164 -0
  494. package/src/table/style/index.css +108 -0
  495. package/src/tabs/style/index.css +270 -0
  496. package/src/tag/style/index.css +207 -0
  497. package/src/time-picker/style/index.css +135 -0
  498. package/src/tooltip/style/index.css +50 -0
  499. package/src/transfer/style/index.css +181 -0
  500. package/src/tree/style/index.css +246 -0
  501. package/src/tree-select/style/index.css +346 -0
  502. package/src/upload/style/index.css +166 -0
  503. package/src/watermark/style/index.css +15 -0
  504. package/style.css +1 -0
@@ -0,0 +1,101 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLDivElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
+ readonly span: {
12
+ readonly type: NumberConstructor;
13
+ readonly default: undefined;
14
+ };
15
+ readonly offset: {
16
+ readonly type: NumberConstructor;
17
+ readonly default: undefined;
18
+ };
19
+ readonly order: {
20
+ readonly type: NumberConstructor;
21
+ readonly default: undefined;
22
+ };
23
+ readonly flex: {
24
+ readonly type: import('vue').PropType<number | string>;
25
+ readonly default: undefined;
26
+ };
27
+ readonly xs: {
28
+ readonly type: import('vue').PropType<import('./types').ColResponsiveValue>;
29
+ readonly default: undefined;
30
+ };
31
+ readonly sm: {
32
+ readonly type: import('vue').PropType<import('./types').ColResponsiveValue>;
33
+ readonly default: undefined;
34
+ };
35
+ readonly md: {
36
+ readonly type: import('vue').PropType<import('./types').ColResponsiveValue>;
37
+ readonly default: undefined;
38
+ };
39
+ readonly lg: {
40
+ readonly type: import('vue').PropType<import('./types').ColResponsiveValue>;
41
+ readonly default: undefined;
42
+ };
43
+ readonly xl: {
44
+ readonly type: import('vue').PropType<import('./types').ColResponsiveValue>;
45
+ readonly default: undefined;
46
+ };
47
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
48
+ readonly span: {
49
+ readonly type: NumberConstructor;
50
+ readonly default: undefined;
51
+ };
52
+ readonly offset: {
53
+ readonly type: NumberConstructor;
54
+ readonly default: undefined;
55
+ };
56
+ readonly order: {
57
+ readonly type: NumberConstructor;
58
+ readonly default: undefined;
59
+ };
60
+ readonly flex: {
61
+ readonly type: import('vue').PropType<number | string>;
62
+ readonly default: undefined;
63
+ };
64
+ readonly xs: {
65
+ readonly type: import('vue').PropType<import('./types').ColResponsiveValue>;
66
+ readonly default: undefined;
67
+ };
68
+ readonly sm: {
69
+ readonly type: import('vue').PropType<import('./types').ColResponsiveValue>;
70
+ readonly default: undefined;
71
+ };
72
+ readonly md: {
73
+ readonly type: import('vue').PropType<import('./types').ColResponsiveValue>;
74
+ readonly default: undefined;
75
+ };
76
+ readonly lg: {
77
+ readonly type: import('vue').PropType<import('./types').ColResponsiveValue>;
78
+ readonly default: undefined;
79
+ };
80
+ readonly xl: {
81
+ readonly type: import('vue').PropType<import('./types').ColResponsiveValue>;
82
+ readonly default: undefined;
83
+ };
84
+ }>> & Readonly<{}>, {
85
+ readonly offset: number;
86
+ readonly order: number;
87
+ readonly span: number;
88
+ readonly sm: import('./types').ColResponsiveValue;
89
+ readonly md: import('./types').ColResponsiveValue;
90
+ readonly lg: import('./types').ColResponsiveValue;
91
+ readonly flex: string | number;
92
+ readonly xs: import('./types').ColResponsiveValue;
93
+ readonly xl: import('./types').ColResponsiveValue;
94
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
95
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
96
+ export default _default;
97
+ type __VLS_WithTemplateSlots<T, S> = T & {
98
+ new (): {
99
+ $slots: S;
100
+ };
101
+ };
@@ -0,0 +1,56 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLDivElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
+ readonly gutter: {
12
+ readonly type: import('vue').PropType<import('./types').RowGutter>;
13
+ readonly default: 0;
14
+ };
15
+ readonly justify: {
16
+ readonly type: import('vue').PropType<import('./types').GridJustify>;
17
+ readonly default: "start";
18
+ };
19
+ readonly align: {
20
+ readonly type: import('vue').PropType<import('./types').GridAlign>;
21
+ readonly default: "stretch";
22
+ };
23
+ readonly wrap: {
24
+ readonly type: BooleanConstructor;
25
+ readonly default: true;
26
+ };
27
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
+ readonly gutter: {
29
+ readonly type: import('vue').PropType<import('./types').RowGutter>;
30
+ readonly default: 0;
31
+ };
32
+ readonly justify: {
33
+ readonly type: import('vue').PropType<import('./types').GridJustify>;
34
+ readonly default: "start";
35
+ };
36
+ readonly align: {
37
+ readonly type: import('vue').PropType<import('./types').GridAlign>;
38
+ readonly default: "stretch";
39
+ };
40
+ readonly wrap: {
41
+ readonly type: BooleanConstructor;
42
+ readonly default: true;
43
+ };
44
+ }>> & Readonly<{}>, {
45
+ readonly wrap: boolean;
46
+ readonly justify: import('./types').GridJustify;
47
+ readonly align: import('./types').GridAlign;
48
+ readonly gutter: import('./types').RowGutter;
49
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
50
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
51
+ export default _default;
52
+ type __VLS_WithTemplateSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };
@@ -0,0 +1,7 @@
1
+ import { Plugin } from 'vue';
2
+ import { default as Row } from './Row.vue';
3
+ import { default as Col } from './Col.vue';
4
+ export declare const LRow: typeof Row & Plugin;
5
+ export declare const LCol: typeof Col & Plugin;
6
+ export * from './types';
7
+ export default LRow;
@@ -0,0 +1,2 @@
1
+ require('../style/grid.css');
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),i=require("../chunks/responsive-BYScjISa.js"),$=require("../chunks/style-CjCLKeeU.js"),g={gutter:{type:[Number,String,Array,Object],default:0},justify:{type:String,default:"start"},align:{type:String,default:"stretch"},wrap:{type:Boolean,default:!0}},b={span:{type:Number,default:void 0},offset:{type:Number,default:void 0},order:{type:Number,default:void 0},flex:{type:[Number,String],default:void 0},xs:{type:[Number,Object],default:void 0},sm:{type:[Number,Object],default:void 0},md:{type:[Number,Object],default:void 0},lg:{type:[Number,Object],default:void 0},xl:{type:[Number,Object],default:void 0}},m=Symbol("rowGutterKey"),w={start:"flex-start",end:"flex-end"};function C(e,t=!1){const n=e.trim().match(/^(-?\d+(?:\.\d+)?)([a-z%]+)$/i);if(!n)return t?`calc(${e} / -2)`:`calc(${e} / 2)`;const r=Number(n[1])/2,l=n[2];return`${t?-r:r}${l}`.replace(/\.0+(?=[a-z%])/i,"").replace(/(\.\d*?)0+(?=[a-z%])/i,"$1")}function k(e){return typeof e=="number"?{span:e}:e??{}}function y(e){return e==="start"||e==="end"?w[e]:e}function p(e){return $.addUnit(e)??"0px"}function x(e,t){const n=i.resolveResponsiveValue(e,t)??0;return Array.isArray(n)?{x:p(n[0]),y:p(n[1])}:{x:p(n),y:"0px"}}function L(e,t){const n={span:e.span,offset:e.offset,order:e.order,flex:e.flex};for(const r of i.layoutBreakpointOrder){const l=e[r];if(l!==void 0&&Object.assign(n,k(l)),r===t)break}return n}function u(e,t=!1){return e==="0px"?"0px":C(e,t)}function v(e){const t=e/24*100;return Number.isInteger(t)?`${t}%`:`${t.toFixed(10).replace(/\.?0+$/,"")}%`}function z(e){return typeof e=="number"?`${e} ${e} 0%`:/^-?\d+(?:\.\d+)?(?:[a-z%]+)?$/i.test(e)?/^\d+(?:\.\d+)?$/.test(e)?`${e} ${e} 0%`:`0 0 ${e}`:e}const B=o.defineComponent({name:"LRow",__name:"Row",props:g,setup(e){const t=e,n=i.useLayoutBreakpoint(),r=o.computed(()=>x(t.gutter,n.value));o.provide(m,r);const l=o.computed(()=>["l-row",{"l-row--nowrap":!t.wrap}]),s=o.computed(()=>({justifyContent:y(t.justify),alignItems:y(t.align),marginLeft:u(r.value.x,!0),marginRight:u(r.value.x,!0),marginTop:u(r.value.y,!0),marginBottom:u(r.value.y,!0)}));return(a,c)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(l.value),style:o.normalizeStyle(s.value)},[o.renderSlot(a.$slots,"default")],6))}}),S=o.defineComponent({name:"LCol",__name:"Col",props:b,setup(e){const t=e,n=i.useLayoutBreakpoint(),r=o.inject(m,o.computed(()=>x(0,n.value))),l=o.computed(()=>L(t,n.value)),s=o.computed(()=>{const a={paddingLeft:u(r.value.x),paddingRight:u(r.value.x),paddingTop:u(r.value.y),paddingBottom:u(r.value.y)};if(l.value.flex!==void 0)a.flex=z(l.value.flex),a.maxWidth="100%";else if(l.value.span!==void 0){const c=v(l.value.span);a.flex=`0 0 ${c}`,a.maxWidth=c}return l.value.offset!==void 0&&(a.marginLeft=v(l.value.offset)),l.value.order!==void 0&&(a.order=l.value.order),a});return(a,c)=>(o.openBlock(),o.createElementBlock("div",{class:"l-col",style:o.normalizeStyle(s.value)},[o.renderSlot(a.$slots,"default")],4))}}),d=B,f=S;d.install=e=>{e.component("LRow",d),e.component("LCol",f)};f.install=e=>{e.component("LCol",f)};exports.layoutBreakpointOrder=i.layoutBreakpointOrder;exports.LCol=f;exports.LRow=d;exports.colProps=b;exports.default=d;exports.rowGutterKey=m;exports.rowProps=g;
@@ -0,0 +1,182 @@
1
+ import '../style/grid.css';
2
+ import { defineComponent as y, computed as i, provide as z, openBlock as v, createElementBlock as x, normalizeStyle as g, normalizeClass as N, renderSlot as b, inject as j } from "vue";
3
+ import { r as L, l as h, u as $ } from "../chunks/responsive-jCVnPx1a.mjs";
4
+ import { a as _ } from "../chunks/style-C-58-Hx4.mjs";
5
+ const k = {
6
+ gutter: {
7
+ type: [Number, String, Array, Object],
8
+ default: 0
9
+ },
10
+ justify: {
11
+ type: String,
12
+ default: "start"
13
+ },
14
+ align: {
15
+ type: String,
16
+ default: "stretch"
17
+ },
18
+ wrap: {
19
+ type: Boolean,
20
+ default: !0
21
+ }
22
+ }, S = {
23
+ span: {
24
+ type: Number,
25
+ default: void 0
26
+ },
27
+ offset: {
28
+ type: Number,
29
+ default: void 0
30
+ },
31
+ order: {
32
+ type: Number,
33
+ default: void 0
34
+ },
35
+ flex: {
36
+ type: [Number, String],
37
+ default: void 0
38
+ },
39
+ xs: {
40
+ type: [Number, Object],
41
+ default: void 0
42
+ },
43
+ sm: {
44
+ type: [Number, Object],
45
+ default: void 0
46
+ },
47
+ md: {
48
+ type: [Number, Object],
49
+ default: void 0
50
+ },
51
+ lg: {
52
+ type: [Number, Object],
53
+ default: void 0
54
+ },
55
+ xl: {
56
+ type: [Number, Object],
57
+ default: void 0
58
+ }
59
+ }, w = Symbol("rowGutterKey"), B = {
60
+ start: "flex-start",
61
+ end: "flex-end"
62
+ };
63
+ function O(e, t = !1) {
64
+ const o = e.trim().match(/^(-?\d+(?:\.\d+)?)([a-z%]+)$/i);
65
+ if (!o)
66
+ return t ? `calc(${e} / -2)` : `calc(${e} / 2)`;
67
+ const r = Number(o[1]) / 2, n = o[2];
68
+ return `${t ? -r : r}${n}`.replace(/\.0+(?=[a-z%])/i, "").replace(/(\.\d*?)0+(?=[a-z%])/i, "$1");
69
+ }
70
+ function R(e) {
71
+ return typeof e == "number" ? { span: e } : e ?? {};
72
+ }
73
+ function d(e) {
74
+ return e === "start" || e === "end" ? B[e] : e;
75
+ }
76
+ function f(e) {
77
+ return _(e) ?? "0px";
78
+ }
79
+ function C(e, t) {
80
+ const o = L(e, t) ?? 0;
81
+ return Array.isArray(o) ? {
82
+ x: f(o[0]),
83
+ y: f(o[1])
84
+ } : {
85
+ x: f(o),
86
+ y: "0px"
87
+ };
88
+ }
89
+ function G(e, t) {
90
+ const o = {
91
+ span: e.span,
92
+ offset: e.offset,
93
+ order: e.order,
94
+ flex: e.flex
95
+ };
96
+ for (const r of h) {
97
+ const n = e[r];
98
+ if (n !== void 0 && Object.assign(o, R(n)), r === t)
99
+ break;
100
+ }
101
+ return o;
102
+ }
103
+ function l(e, t = !1) {
104
+ return e === "0px" ? "0px" : O(e, t);
105
+ }
106
+ function p(e) {
107
+ const t = e / 24 * 100;
108
+ return Number.isInteger(t) ? `${t}%` : `${t.toFixed(10).replace(/\.?0+$/, "")}%`;
109
+ }
110
+ function A(e) {
111
+ return typeof e == "number" ? `${e} ${e} 0%` : /^-?\d+(?:\.\d+)?(?:[a-z%]+)?$/i.test(e) ? /^\d+(?:\.\d+)?$/.test(e) ? `${e} ${e} 0%` : `0 0 ${e}` : e;
112
+ }
113
+ const V = /* @__PURE__ */ y({
114
+ name: "LRow",
115
+ __name: "Row",
116
+ props: k,
117
+ setup(e) {
118
+ const t = e, o = $(), r = i(() => C(t.gutter, o.value));
119
+ z(w, r);
120
+ const n = i(() => [
121
+ "l-row",
122
+ {
123
+ "l-row--nowrap": !t.wrap
124
+ }
125
+ ]), s = i(() => ({
126
+ justifyContent: d(t.justify),
127
+ alignItems: d(t.align),
128
+ marginLeft: l(r.value.x, !0),
129
+ marginRight: l(r.value.x, !0),
130
+ marginTop: l(r.value.y, !0),
131
+ marginBottom: l(r.value.y, !0)
132
+ }));
133
+ return (a, u) => (v(), x("div", {
134
+ class: N(n.value),
135
+ style: g(s.value)
136
+ }, [
137
+ b(a.$slots, "default")
138
+ ], 6));
139
+ }
140
+ }), P = /* @__PURE__ */ y({
141
+ name: "LCol",
142
+ __name: "Col",
143
+ props: S,
144
+ setup(e) {
145
+ const t = e, o = $(), r = j(w, i(() => C(0, o.value))), n = i(() => G(t, o.value)), s = i(() => {
146
+ const a = {
147
+ paddingLeft: l(r.value.x),
148
+ paddingRight: l(r.value.x),
149
+ paddingTop: l(r.value.y),
150
+ paddingBottom: l(r.value.y)
151
+ };
152
+ if (n.value.flex !== void 0)
153
+ a.flex = A(n.value.flex), a.maxWidth = "100%";
154
+ else if (n.value.span !== void 0) {
155
+ const u = p(n.value.span);
156
+ a.flex = `0 0 ${u}`, a.maxWidth = u;
157
+ }
158
+ return n.value.offset !== void 0 && (a.marginLeft = p(n.value.offset)), n.value.order !== void 0 && (a.order = n.value.order), a;
159
+ });
160
+ return (a, u) => (v(), x("div", {
161
+ class: "l-col",
162
+ style: g(s.value)
163
+ }, [
164
+ b(a.$slots, "default")
165
+ ], 4));
166
+ }
167
+ }), m = V, c = P;
168
+ m.install = (e) => {
169
+ e.component("LRow", m), e.component("LCol", c);
170
+ };
171
+ c.install = (e) => {
172
+ e.component("LCol", c);
173
+ };
174
+ export {
175
+ c as LCol,
176
+ m as LRow,
177
+ S as colProps,
178
+ m as default,
179
+ h as layoutBreakpointOrder,
180
+ w as rowGutterKey,
181
+ k as rowProps
182
+ };
@@ -0,0 +1,9 @@
1
+ import { ColProps, GridAlign, GridGapValue, GridJustify, LayoutBreakpoint, ResolvedColConfig, ResolvedRowGutter, RowGutter } from './types';
2
+ export { useLayoutBreakpoint } from '../layout-system/responsive';
3
+ export declare function normalizeAxisValue(value: GridAlign | GridJustify): "center" | "space-around" | "space-between" | "space-evenly" | "stretch" | "flex-end" | "flex-start" | "baseline";
4
+ export declare function normalizeGapValue(value: GridGapValue): string;
5
+ export declare function resolveRowGutter(gutter: RowGutter, breakpoint: LayoutBreakpoint): ResolvedRowGutter;
6
+ export declare function resolveColConfig(props: ColProps, breakpoint: LayoutBreakpoint): ResolvedColConfig;
7
+ export declare function getHalfGap(value: string, negate?: boolean): string;
8
+ export declare function spanToPercent(span: number): string;
9
+ export declare function normalizeColFlex(value: number | string): string;
@@ -0,0 +1,85 @@
1
+ import { ComputedRef, ExtractPropTypes, InjectionKey, PropType } from 'vue';
2
+ import { ResponsiveValue } from '../layout-system/types';
3
+ export type { LayoutBreakpoint, ResponsiveValue } from '../layout-system/types';
4
+ export { layoutBreakpointOrder } from '../layout-system/types';
5
+ export type GridAlign = 'start' | 'center' | 'end' | 'stretch' | 'baseline';
6
+ export type GridJustify = 'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly';
7
+ export type GridGapValue = number | string;
8
+ export type GridGutterValue = GridGapValue | [GridGapValue, GridGapValue];
9
+ export type RowGutter = ResponsiveValue<GridGutterValue>;
10
+ export interface ResolvedRowGutter {
11
+ x: string;
12
+ y: string;
13
+ }
14
+ export interface ColBreakpointConfig {
15
+ span?: number;
16
+ offset?: number;
17
+ order?: number;
18
+ flex?: number | string;
19
+ }
20
+ export type ColResponsiveValue = number | ColBreakpointConfig;
21
+ export interface ResolvedColConfig {
22
+ span?: number;
23
+ offset?: number;
24
+ order?: number;
25
+ flex?: number | string;
26
+ }
27
+ export declare const rowProps: {
28
+ readonly gutter: {
29
+ readonly type: PropType<RowGutter>;
30
+ readonly default: 0;
31
+ };
32
+ readonly justify: {
33
+ readonly type: PropType<GridJustify>;
34
+ readonly default: "start";
35
+ };
36
+ readonly align: {
37
+ readonly type: PropType<GridAlign>;
38
+ readonly default: "stretch";
39
+ };
40
+ readonly wrap: {
41
+ readonly type: BooleanConstructor;
42
+ readonly default: true;
43
+ };
44
+ };
45
+ export declare const colProps: {
46
+ readonly span: {
47
+ readonly type: NumberConstructor;
48
+ readonly default: undefined;
49
+ };
50
+ readonly offset: {
51
+ readonly type: NumberConstructor;
52
+ readonly default: undefined;
53
+ };
54
+ readonly order: {
55
+ readonly type: NumberConstructor;
56
+ readonly default: undefined;
57
+ };
58
+ readonly flex: {
59
+ readonly type: PropType<number | string>;
60
+ readonly default: undefined;
61
+ };
62
+ readonly xs: {
63
+ readonly type: PropType<ColResponsiveValue>;
64
+ readonly default: undefined;
65
+ };
66
+ readonly sm: {
67
+ readonly type: PropType<ColResponsiveValue>;
68
+ readonly default: undefined;
69
+ };
70
+ readonly md: {
71
+ readonly type: PropType<ColResponsiveValue>;
72
+ readonly default: undefined;
73
+ };
74
+ readonly lg: {
75
+ readonly type: PropType<ColResponsiveValue>;
76
+ readonly default: undefined;
77
+ };
78
+ readonly xl: {
79
+ readonly type: PropType<ColResponsiveValue>;
80
+ readonly default: undefined;
81
+ };
82
+ };
83
+ export type RowProps = ExtractPropTypes<typeof rowProps>;
84
+ export type ColProps = ExtractPropTypes<typeof colProps>;
85
+ export declare const rowGutterKey: InjectionKey<ComputedRef<ResolvedRowGutter>>;
@@ -0,0 +1,3 @@
1
+ export * from './useImageLoader';
2
+ export * from './useCanvasRenderer';
3
+ export * from './useResizeObserver';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/useCanvasRenderer-D77k3JCQ.js"),e=require("../chunks/useResizeObserver-DMkB1OF3.js");exports.useCanvasRenderer=r.useCanvasRenderer;exports.useImageLoader=r.useImageLoader;exports.observe=e.observe;exports.unobserve=e.unobserve;exports.useResizeObserver=e.useResizeObserver;
@@ -0,0 +1,9 @@
1
+ import { u as a, a as r } from "../chunks/useCanvasRenderer-BPTNzGy0.mjs";
2
+ import { o as u, u as v, a as b } from "../chunks/useResizeObserver-Cki4q_CI.mjs";
3
+ export {
4
+ u as observe,
5
+ v as unobserve,
6
+ a as useCanvasRenderer,
7
+ r as useImageLoader,
8
+ b as useResizeObserver
9
+ };
@@ -0,0 +1,13 @@
1
+ export interface FormItemProps {
2
+ size?: 'sm' | 'md' | 'lg';
3
+ disabled?: boolean;
4
+ readonly?: boolean;
5
+ }
6
+ export declare function useFormItem(props?: FormItemProps): {
7
+ form: import('..').FormContext | undefined;
8
+ formItem: import('..').FormItemContext | undefined;
9
+ size: import('vue').ComputedRef<"sm" | "md" | "lg">;
10
+ disabled: import('vue').ComputedRef<boolean>;
11
+ readonly: import('vue').ComputedRef<boolean>;
12
+ inputId: import('vue').ComputedRef<string | undefined>;
13
+ };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generate a unique ID for components.
3
+ * Combines component instance UID and a global counter to ensure uniqueness.
4
+ */
5
+ export declare function useId(prefix?: string): string;
@@ -0,0 +1,10 @@
1
+ import { Ref } from 'vue';
2
+ interface RendererOptions {
3
+ fit: Ref<'contain' | 'cover' | 'fill' | 'none' | 'scale-down'>;
4
+ bitmap: Ref<ImageBitmap | null>;
5
+ }
6
+ export declare function useCanvasRenderer(canvasRef: Ref<HTMLCanvasElement | null>, options: RendererOptions): {
7
+ draw: () => void;
8
+ initResizeObserver: (el: HTMLElement) => void;
9
+ };
10
+ export {};
@@ -0,0 +1,20 @@
1
+ import { ImagePriority } from '../../../headless/src/index.ts';
2
+ export declare function useImageLoader(props: {
3
+ src: string;
4
+ priority?: ImagePriority;
5
+ }): {
6
+ status: import('vue').Ref<"error" | "loading" | "idle" | "loaded", "error" | "loading" | "idle" | "loaded">;
7
+ errorMsg: import('vue').Ref<string, string>;
8
+ displayedSrc: import('vue').Ref<string | null, string | null>;
9
+ currentBitmap: import('vue').Ref<{
10
+ readonly height: number;
11
+ readonly width: number;
12
+ close: () => void;
13
+ } | null, ImageBitmap | {
14
+ readonly height: number;
15
+ readonly width: number;
16
+ close: () => void;
17
+ } | null>;
18
+ load: () => Promise<string | ImageBitmap | undefined>;
19
+ reset: () => void;
20
+ };
@@ -0,0 +1,17 @@
1
+ import { Ref } from 'vue';
2
+ export type MaybeRefOrGetter<T> = T | Ref<T> | (() => T);
3
+ /**
4
+ * 工业级 ResizeObserver Hook
5
+ * 采用全局单例模式,无论监听多少个 DOM,底层只运行一个监听器,性能极高。
6
+ */
7
+ export declare function useResizeObserver(target: MaybeRefOrGetter<Element | null>, callback: MaybeRefOrGetter<(entry: ResizeObserverEntry) => void>): {
8
+ cleanup: () => void;
9
+ };
10
+ /**
11
+ * 手动监听接口 (Manual Observation API)
12
+ */
13
+ export declare function observe(el: Element, callback: (entry: ResizeObserverEntry) => void): void;
14
+ /**
15
+ * 手动取消监听接口 (Manual Unobservation API)
16
+ */
17
+ export declare function unobserve(el: Element, callback: (entry: ResizeObserverEntry) => void): void;
@@ -0,0 +1,20 @@
1
+ import { IconProps } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: HTMLSpanElement;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IconProps> & Readonly<{}>, {
12
+ size: string | number;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,5 @@
1
+ import { Plugin } from 'vue';
2
+ import { default as Icon } from './Icon.vue';
3
+ export declare const LIcon: typeof Icon & Plugin;
4
+ export * from './types';
5
+ export default LIcon;
@@ -0,0 +1,2 @@
1
+ require('../style/Icon.css');
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../chunks/Icon.vue_vue_type_script_setup_true_lang-YDWguTmi.js"),e=n._sfc_main;e.install=t=>{t.component("LIcon",e)};exports.LIcon=e;exports.default=e;
@@ -0,0 +1,10 @@
1
+ import '../style/Icon.css';
2
+ import { _ as t } from "../chunks/Icon.vue_vue_type_script_setup_true_lang-LQ-KuJ6a.mjs";
3
+ const o = t;
4
+ o.install = (n) => {
5
+ n.component("LIcon", o);
6
+ };
7
+ export {
8
+ o as LIcon,
9
+ o as default
10
+ };
@@ -0,0 +1,45 @@
1
+ import { Component, CSSProperties } from 'vue';
2
+ import { IconifyIcon } from '@iconify/vue';
3
+ export type IconSourceType = 'iconify' | 'font' | 'svg' | 'component';
4
+ export interface IconProps {
5
+ /**
6
+ * 图标名称或标识符
7
+ * - Iconify: 'mdi:home'
8
+ * - Font: 'fa fa-user'
9
+ * - SVG URL: '/icons/logo.svg'
10
+ */
11
+ name?: string;
12
+ /**
13
+ * 直接传入图标数据 (离线模式)
14
+ * 支持 IconifyIcon 对象
15
+ */
16
+ icon?: string | IconifyIcon;
17
+ /**
18
+ * 图标尺寸 (默认: 1em)
19
+ */
20
+ size?: string | number;
21
+ /**
22
+ * 图标颜色
23
+ */
24
+ color?: string;
25
+ /**
26
+ * 旋转角度
27
+ */
28
+ rotate?: number;
29
+ /**
30
+ * 是否开启旋转动画
31
+ */
32
+ spin?: boolean;
33
+ /**
34
+ * 自定义组件渲染
35
+ */
36
+ component?: Component;
37
+ /**
38
+ * 自定义类名
39
+ */
40
+ class?: any;
41
+ /**
42
+ * 自定义样式
43
+ */
44
+ style?: CSSProperties;
45
+ }
@@ -0,0 +1,38 @@
1
+ import { ImageProps } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ error?(_: {}): any;
6
+ loading?(_: {}): any;
7
+ };
8
+ refs: {
9
+ containerRef: HTMLDivElement;
10
+ canvasRef: HTMLCanvasElement;
11
+ };
12
+ rootEl: HTMLDivElement;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
+ error: (err: any) => any;
17
+ loading: () => any;
18
+ load: (url: string) => any;
19
+ }, string, import('vue').PublicProps, Readonly<ImageProps> & Readonly<{
20
+ onError?: ((err: any) => any) | undefined;
21
+ onLoading?: (() => any) | undefined;
22
+ onLoad?: ((url: string) => any) | undefined;
23
+ }>, {
24
+ lazy: boolean;
25
+ priority: import('../../../headless/src/index.ts').ImagePriority;
26
+ fit: "contain" | "cover" | "fill" | "none" | "scale-down";
27
+ draggable: boolean;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
29
+ containerRef: HTMLDivElement;
30
+ canvasRef: HTMLCanvasElement;
31
+ }, HTMLDivElement>;
32
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
+ export default _default;
34
+ type __VLS_WithTemplateSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };