@aithe/aithe-ui 26.2.3 → 26.3.2

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 (620) hide show
  1. package/README.md +19 -11
  2. package/dist/apps/admin/app.js +12 -0
  3. package/dist/apps/admin/components/admin-app.js +83 -0
  4. package/dist/apps/admin/components/admin-layout.d.ts +0 -1
  5. package/dist/apps/admin/components/admin-layout.d.ts.map +1 -1
  6. package/dist/apps/admin/components/admin-layout.js +250 -0
  7. package/dist/apps/admin/datahub/auth.js +24 -0
  8. package/dist/apps/admin/datahub/dashboard.js +16 -0
  9. package/dist/apps/admin/datahub/index.js +42 -0
  10. package/dist/apps/admin/datahub/menu.js +16 -0
  11. package/dist/apps/admin/datahub/mock/auth.js +11 -0
  12. package/dist/apps/admin/datahub/mock/dashboard.js +10 -0
  13. package/dist/apps/admin/datahub/mock/menu.js +42 -0
  14. package/dist/apps/admin/i18n/de-DE.js +37 -0
  15. package/dist/apps/admin/i18n/en-US.js +37 -0
  16. package/dist/apps/admin/i18n/es-ES.js +38 -0
  17. package/dist/apps/admin/i18n/fr-FR.js +37 -0
  18. package/dist/apps/admin/i18n/index.js +27 -0
  19. package/dist/apps/admin/i18n/ja-JP.js +38 -0
  20. package/dist/apps/admin/i18n/ko-KR.js +37 -0
  21. package/dist/apps/admin/i18n/pt-BR.js +37 -0
  22. package/dist/apps/admin/i18n/zh-CN.js +37 -0
  23. package/dist/apps/admin/i18n/zh-HK.js +37 -0
  24. package/dist/apps/admin/i18n/zh-TW.js +37 -0
  25. package/dist/apps/admin/pages/dashboard-page.d.ts +1 -0
  26. package/dist/apps/admin/pages/dashboard-page.d.ts.map +1 -1
  27. package/dist/apps/admin/pages/dashboard-page.js +199 -0
  28. package/dist/apps/admin/pages/login-page.js +278 -0
  29. package/dist/apps/admin/pages/not-found-page.js +57 -0
  30. package/dist/apps/admin/pages/role-page.js +76 -0
  31. package/dist/apps/admin/pages/settings-page.js +95 -0
  32. package/dist/apps/admin/pages/user-page.js +76 -0
  33. package/dist/apps/admin/router/index.js +43 -0
  34. package/dist/apps/admin/standalone.js +1 -0
  35. package/dist/apps/admin/store/auth.js +42 -0
  36. package/dist/apps/api/app.js +82 -0
  37. package/dist/apps/api/demo-data.d.ts.map +1 -1
  38. package/dist/apps/api/demo-data.js +965 -0
  39. package/dist/apps/api/docs-viewer.js +684 -0
  40. package/dist/apps/api/i18n/de-DE.d.ts.map +1 -1
  41. package/dist/apps/api/i18n/de-DE.js +131 -0
  42. package/dist/apps/api/i18n/en-US.d.ts.map +1 -1
  43. package/dist/apps/api/i18n/en-US.js +141 -0
  44. package/dist/apps/api/i18n/es-ES.d.ts.map +1 -1
  45. package/dist/apps/api/i18n/es-ES.js +131 -0
  46. package/dist/apps/api/i18n/fr-FR.d.ts.map +1 -1
  47. package/dist/apps/api/i18n/fr-FR.js +131 -0
  48. package/dist/apps/api/i18n/index.js +27 -0
  49. package/dist/apps/api/i18n/ja-JP.d.ts.map +1 -1
  50. package/dist/apps/api/i18n/ja-JP.js +131 -0
  51. package/dist/apps/api/i18n/ko-KR.d.ts.map +1 -1
  52. package/dist/apps/api/i18n/ko-KR.js +131 -0
  53. package/dist/apps/api/i18n/pt-BR.d.ts.map +1 -1
  54. package/dist/apps/api/i18n/pt-BR.js +131 -0
  55. package/dist/apps/api/i18n/zh-CN.d.ts.map +1 -1
  56. package/dist/apps/api/i18n/zh-CN.js +141 -0
  57. package/dist/apps/api/i18n/zh-HK.d.ts.map +1 -1
  58. package/dist/apps/api/i18n/zh-HK.js +131 -0
  59. package/dist/apps/api/i18n/zh-TW.d.ts.map +1 -1
  60. package/dist/apps/api/i18n/zh-TW.js +131 -0
  61. package/dist/apps/api/pages/docs.d.ts.map +1 -1
  62. package/dist/apps/api/pages/docs.js +369 -0
  63. package/dist/apps/api/standalone.js +1 -0
  64. package/dist/apps/demo/app.d.ts.map +1 -1
  65. package/dist/apps/demo/app.js +275 -0
  66. package/dist/apps/demo/editor.d.ts.map +1 -1
  67. package/dist/apps/demo/editor.js +270 -0
  68. package/dist/apps/demo/helpers.js +7 -0
  69. package/dist/apps/demo/i18n/de-DE.d.ts.map +1 -1
  70. package/dist/apps/demo/i18n/de-DE.js +289 -0
  71. package/dist/apps/demo/i18n/en-US.d.ts.map +1 -1
  72. package/dist/apps/demo/i18n/en-US.js +301 -0
  73. package/dist/apps/demo/i18n/es-ES.d.ts.map +1 -1
  74. package/dist/apps/demo/i18n/es-ES.js +289 -0
  75. package/dist/apps/demo/i18n/fr-FR.d.ts.map +1 -1
  76. package/dist/apps/demo/i18n/fr-FR.js +289 -0
  77. package/dist/apps/demo/i18n/index.js +27 -0
  78. package/dist/apps/demo/i18n/ja-JP.d.ts.map +1 -1
  79. package/dist/apps/demo/i18n/ja-JP.js +289 -0
  80. package/dist/apps/demo/i18n/ko-KR.d.ts.map +1 -1
  81. package/dist/apps/demo/i18n/ko-KR.js +289 -0
  82. package/dist/apps/demo/i18n/pt-BR.d.ts.map +1 -1
  83. package/dist/apps/demo/i18n/pt-BR.js +289 -0
  84. package/dist/apps/demo/i18n/zh-CN.d.ts.map +1 -1
  85. package/dist/apps/demo/i18n/zh-CN.js +301 -0
  86. package/dist/apps/demo/i18n/zh-HK.d.ts.map +1 -1
  87. package/dist/apps/demo/i18n/zh-HK.js +289 -0
  88. package/dist/apps/demo/i18n/zh-TW.d.ts.map +1 -1
  89. package/dist/apps/demo/i18n/zh-TW.js +289 -0
  90. package/dist/apps/demo/pages/autoform.d.ts.map +1 -1
  91. package/dist/apps/demo/pages/autoform.js +422 -0
  92. package/dist/apps/demo/pages/autoview.d.ts +3 -0
  93. package/dist/apps/demo/pages/autoview.d.ts.map +1 -0
  94. package/dist/apps/demo/pages/autoview.js +310 -0
  95. package/dist/apps/demo/pages/basic.js +157 -0
  96. package/dist/apps/demo/pages/code.js +1088 -0
  97. package/dist/apps/demo/pages/container.js +42 -0
  98. package/dist/apps/demo/pages/dashboard.js +159 -0
  99. package/dist/apps/demo/pages/data.d.ts.map +1 -1
  100. package/dist/apps/demo/pages/data.js +327 -0
  101. package/dist/apps/demo/pages/display.d.ts.map +1 -1
  102. package/dist/apps/demo/pages/display.js +295 -0
  103. package/dist/apps/demo/pages/feedback.js +94 -0
  104. package/dist/apps/demo/pages/form.d.ts.map +1 -1
  105. package/dist/apps/demo/pages/form.js +119 -0
  106. package/dist/apps/demo/pages/layout.js +74 -0
  107. package/dist/apps/demo/pages/navigation.js +54 -0
  108. package/dist/apps/demo/pages/progress.js +42 -0
  109. package/dist/apps/demo/pages/theme.js +126 -0
  110. package/dist/apps/demo/standalone.js +1 -0
  111. package/dist/components/basic/AGENTS.md +1 -0
  112. package/dist/components/basic/avatar.js +168 -0
  113. package/dist/components/basic/badge.js +157 -0
  114. package/dist/components/basic/button-group.js +70 -0
  115. package/dist/components/basic/button.d.ts +2 -4
  116. package/dist/components/basic/button.d.ts.map +1 -1
  117. package/dist/components/basic/button.js +315 -0
  118. package/dist/components/basic/card.js +186 -0
  119. package/dist/components/basic/chip.js +103 -0
  120. package/dist/components/basic/divider.js +127 -0
  121. package/dist/components/basic/empty.js +72 -0
  122. package/dist/components/basic/icon.js +129 -0
  123. package/dist/components/basic/input.d.ts.map +1 -1
  124. package/dist/components/basic/input.js +314 -0
  125. package/dist/components/basic/tag.d.ts +7 -2
  126. package/dist/components/basic/tag.d.ts.map +1 -1
  127. package/dist/components/basic/tag.js +248 -0
  128. package/dist/components/basic/textarea.d.ts +0 -1
  129. package/dist/components/basic/textarea.d.ts.map +1 -1
  130. package/dist/components/basic/textarea.js +130 -0
  131. package/dist/components/container/callout.js +108 -0
  132. package/dist/components/container/details.js +117 -0
  133. package/dist/components/container/scroller.js +144 -0
  134. package/dist/components/container/split-panel.js +150 -0
  135. package/dist/components/data/AGENTS.md +1 -1
  136. package/dist/components/data/box-table.d.ts +53 -0
  137. package/dist/components/data/box-table.d.ts.map +1 -0
  138. package/dist/components/data/box-table.js +220 -0
  139. package/dist/components/data/dropdown.d.ts +8 -5
  140. package/dist/components/data/dropdown.d.ts.map +1 -1
  141. package/dist/components/data/dropdown.js +219 -0
  142. package/dist/components/data/metrics-group.js +180 -0
  143. package/dist/components/data/metrics.d.ts +11 -0
  144. package/dist/components/data/metrics.d.ts.map +1 -1
  145. package/dist/components/data/metrics.js +309 -0
  146. package/dist/components/data/pagination.js +119 -0
  147. package/dist/components/data/tab-pane.d.ts +58 -12
  148. package/dist/components/data/tab-pane.d.ts.map +1 -1
  149. package/dist/components/data/tab-pane.js +130 -0
  150. package/dist/components/data/table-column.d.ts +29 -5
  151. package/dist/components/data/table-column.d.ts.map +1 -1
  152. package/dist/components/data/table-column.js +123 -0
  153. package/dist/components/data/table.d.ts +134 -54
  154. package/dist/components/data/table.d.ts.map +1 -1
  155. package/dist/components/data/table.js +1210 -0
  156. package/dist/components/data/tabs.d.ts +60 -3
  157. package/dist/components/data/tabs.d.ts.map +1 -1
  158. package/dist/components/data/tabs.js +416 -0
  159. package/dist/components/data/timeline-item.js +127 -0
  160. package/dist/components/data/timeline.js +204 -0
  161. package/dist/components/data/tree-menu.d.ts +12 -2
  162. package/dist/components/data/tree-menu.d.ts.map +1 -1
  163. package/dist/components/data/tree-menu.js +482 -0
  164. package/dist/components/data/tree.js +269 -0
  165. package/dist/components/display/AGENTS.md +5 -2
  166. package/dist/components/display/animated-image.js +98 -0
  167. package/dist/components/display/autoview.d.ts +139 -0
  168. package/dist/components/display/autoview.d.ts.map +1 -0
  169. package/dist/components/display/autoview.js +460 -0
  170. package/dist/components/display/brief-box.d.ts +42 -0
  171. package/dist/components/display/brief-box.d.ts.map +1 -0
  172. package/dist/components/display/brief-box.js +117 -0
  173. package/dist/components/display/carousel.js +223 -0
  174. package/dist/components/display/code-editor.d.ts.map +1 -1
  175. package/dist/components/display/code-editor.js +976 -0
  176. package/dist/components/display/comparison.js +132 -0
  177. package/dist/components/display/desc-item.d.ts +48 -0
  178. package/dist/components/display/desc-item.d.ts.map +1 -0
  179. package/dist/components/display/desc-item.js +150 -0
  180. package/dist/components/display/desc.d.ts +68 -0
  181. package/dist/components/display/desc.d.ts.map +1 -0
  182. package/dist/components/display/desc.js +405 -0
  183. package/dist/components/display/detail-box.d.ts +51 -0
  184. package/dist/components/display/detail-box.d.ts.map +1 -0
  185. package/dist/components/display/detail-box.js +157 -0
  186. package/dist/components/display/label.js +166 -0
  187. package/dist/components/display/markdown-editor.js +319 -0
  188. package/dist/components/display/markdown.d.ts.map +1 -1
  189. package/dist/components/display/markdown.js +193 -0
  190. package/dist/components/display/mini-box.d.ts +31 -0
  191. package/dist/components/display/mini-box.d.ts.map +1 -0
  192. package/dist/components/display/mini-box.js +137 -0
  193. package/dist/components/display/profile.d.ts +18 -0
  194. package/dist/components/display/profile.d.ts.map +1 -0
  195. package/dist/components/display/profile.js +164 -0
  196. package/dist/components/feedback/AGENTS.md +1 -0
  197. package/dist/components/feedback/alert.js +150 -0
  198. package/dist/components/feedback/dialog.js +228 -0
  199. package/dist/components/feedback/drawer.d.ts.map +1 -1
  200. package/dist/components/feedback/drawer.js +338 -0
  201. package/dist/components/feedback/loading.js +130 -0
  202. package/dist/components/feedback/modal.d.ts.map +1 -1
  203. package/dist/components/feedback/modal.js +303 -0
  204. package/dist/components/feedback/notification.js +170 -0
  205. package/dist/components/feedback/popover.d.ts +1 -1
  206. package/dist/components/feedback/popover.js +124 -0
  207. package/dist/components/feedback/toast.js +142 -0
  208. package/dist/components/feedback/tooltip.d.ts +1 -1
  209. package/dist/components/feedback/tooltip.js +153 -0
  210. package/dist/components/form/AGENTS.md +4 -0
  211. package/dist/components/form/autoform-item.d.ts +6 -0
  212. package/dist/components/form/autoform-item.d.ts.map +1 -1
  213. package/dist/components/form/autoform-item.js +791 -0
  214. package/dist/components/form/autoform.d.ts +15 -5
  215. package/dist/components/form/autoform.d.ts.map +1 -1
  216. package/dist/components/form/autoform.js +303 -0
  217. package/dist/components/form/checkbox-group.js +118 -0
  218. package/dist/components/form/checkbox.js +123 -0
  219. package/dist/components/form/color-picker.js +148 -0
  220. package/dist/components/form/combobox.d.ts +4 -0
  221. package/dist/components/form/combobox.d.ts.map +1 -1
  222. package/dist/components/form/combobox.js +325 -0
  223. package/dist/components/form/date-picker.js +123 -0
  224. package/dist/components/form/form-item.d.ts.map +1 -1
  225. package/dist/components/form/form-item.js +141 -0
  226. package/dist/components/form/form.js +94 -0
  227. package/dist/components/form/radio-group.js +106 -0
  228. package/dist/components/form/radio.js +110 -0
  229. package/dist/components/form/rate.js +116 -0
  230. package/dist/components/form/select.d.ts +5 -1
  231. package/dist/components/form/select.d.ts.map +1 -1
  232. package/dist/components/form/select.js +539 -0
  233. package/dist/components/form/slider.js +134 -0
  234. package/dist/components/form/switch.js +146 -0
  235. package/dist/components/form/time-picker.js +92 -0
  236. package/dist/components/form/transfer.js +273 -0
  237. package/dist/components/form/upload.js +138 -0
  238. package/dist/components/framework/body.js +333 -0
  239. package/dist/components/framework/dashboard-panel.js +519 -0
  240. package/dist/components/framework/dashboard.d.ts.map +1 -1
  241. package/dist/components/framework/dashboard.js +1084 -0
  242. package/dist/components/framework/header.js +237 -0
  243. package/dist/components/framework/log-panel.js +637 -0
  244. package/dist/components/framework/page.js +151 -0
  245. package/dist/components/framework/sidebar.d.ts +4 -10
  246. package/dist/components/framework/sidebar.d.ts.map +1 -1
  247. package/dist/components/framework/sidebar.js +477 -0
  248. package/dist/components/layout/affix.js +137 -0
  249. package/dist/components/layout/col.js +103 -0
  250. package/dist/components/layout/collapse-item.js +165 -0
  251. package/dist/components/layout/collapse.js +108 -0
  252. package/dist/components/layout/container.js +92 -0
  253. package/dist/components/layout/flex.js +100 -0
  254. package/dist/components/layout/row.js +103 -0
  255. package/dist/components/layout/space.js +85 -0
  256. package/dist/components/navigation/back-top.js +127 -0
  257. package/dist/components/navigation/breadcrumb-item.js +108 -0
  258. package/dist/components/navigation/breadcrumb.js +70 -0
  259. package/dist/components/navigation/menu-item.js +181 -0
  260. package/dist/components/navigation/menu.js +126 -0
  261. package/dist/components/navigation/steps.js +183 -0
  262. package/dist/components/navigation/sub-menu.d.ts.map +1 -1
  263. package/dist/components/navigation/sub-menu.js +252 -0
  264. package/dist/components/progress/progress-bar.js +97 -0
  265. package/dist/components/progress/progress-ring.js +111 -0
  266. package/dist/components/progress/skeleton.js +108 -0
  267. package/dist/components/progress/spinner.js +129 -0
  268. package/dist/components/theme/locale-switch.js +241 -0
  269. package/dist/components/theme/shadow-picker.js +233 -0
  270. package/dist/components/theme/shape-picker.js +232 -0
  271. package/dist/components/theme/theme-picker.js +236 -0
  272. package/dist/components/theme/theme-preview.d.ts +1 -2
  273. package/dist/components/theme/theme-preview.d.ts.map +1 -1
  274. package/dist/components/theme/theme-preview.js +376 -0
  275. package/dist/components/theme/theme-switch.d.ts.map +1 -1
  276. package/dist/components/theme/theme-switch.js +318 -0
  277. package/dist/components/theme/typo-picker.js +219 -0
  278. package/dist/core/AGENTS.md +6 -1
  279. package/dist/core/aithe-element.d.ts +2 -2
  280. package/dist/core/aithe-element.js +135 -0
  281. package/dist/core/aithe-widget.js +30 -0
  282. package/dist/core/anchored-overlay.d.ts +3 -0
  283. package/dist/core/anchored-overlay.d.ts.map +1 -1
  284. package/dist/core/anchored-overlay.js +111 -0
  285. package/dist/core/autoform/autoform.js +79 -0
  286. package/dist/core/autoform/autoview.d.ts +86 -0
  287. package/dist/core/autoform/autoview.d.ts.map +1 -0
  288. package/dist/core/autoform/autoview.js +37 -0
  289. package/dist/core/autoform/condition.js +170 -0
  290. package/dist/core/autoform/index.d.ts +2 -0
  291. package/dist/core/autoform/index.d.ts.map +1 -1
  292. package/dist/core/autoform/index.js +9 -0
  293. package/dist/core/autoform/types.js +7 -0
  294. package/dist/core/datahub/__tests__/force-options.test.d.ts +8 -0
  295. package/dist/core/datahub/__tests__/force-options.test.d.ts.map +1 -0
  296. package/dist/core/datahub/__tests__/force-options.test.js +161 -0
  297. package/dist/core/datahub/config/strategy.d.ts +1 -1
  298. package/dist/core/datahub/config/strategy.d.ts.map +1 -1
  299. package/dist/core/datahub/config/strategy.js +50 -0
  300. package/dist/core/datahub/core/adapter/fetch-adapter.d.ts +1 -1
  301. package/dist/core/datahub/core/adapter/fetch-adapter.d.ts.map +1 -1
  302. package/dist/core/datahub/core/adapter/fetch-adapter.js +118 -0
  303. package/dist/core/datahub/core/adapter/index.js +7 -0
  304. package/dist/core/datahub/core/adapter/mock-adapter.d.ts +1 -1
  305. package/dist/core/datahub/core/adapter/mock-adapter.d.ts.map +1 -1
  306. package/dist/core/datahub/core/adapter/mock-adapter.js +58 -0
  307. package/dist/core/datahub/core/api-styles.d.ts +1 -1
  308. package/dist/core/datahub/core/api-styles.d.ts.map +1 -1
  309. package/dist/core/datahub/core/api-styles.js +136 -0
  310. package/dist/core/datahub/core/datahub-core.d.ts +53 -3
  311. package/dist/core/datahub/core/datahub-core.d.ts.map +1 -1
  312. package/dist/core/datahub/core/datahub-core.js +520 -0
  313. package/dist/core/datahub/core/index.js +7 -0
  314. package/dist/core/datahub/index.js +50 -0
  315. package/dist/core/datahub/types.d.ts +24 -0
  316. package/dist/core/datahub/types.d.ts.map +1 -1
  317. package/dist/core/datahub/types.js +31 -0
  318. package/dist/core/datahub/utils/cache.js +55 -0
  319. package/dist/core/datahub/utils/common.js +23 -0
  320. package/dist/core/datahub/utils/dedup.d.ts +1 -1
  321. package/dist/core/datahub/utils/dedup.d.ts.map +1 -1
  322. package/dist/core/datahub/utils/dedup.js +52 -0
  323. package/dist/core/datahub/utils/idempotent.js +61 -0
  324. package/dist/core/datahub/utils/is-query.js +53 -0
  325. package/dist/core/datahub/utils/loading.js +78 -0
  326. package/dist/core/filter/__tests__/index.test.d.ts +2 -0
  327. package/dist/core/filter/__tests__/index.test.d.ts.map +1 -0
  328. package/dist/core/filter/__tests__/index.test.js +230 -0
  329. package/dist/core/filter/builtins.d.ts +60 -0
  330. package/dist/core/filter/builtins.d.ts.map +1 -0
  331. package/dist/core/filter/builtins.js +172 -0
  332. package/dist/core/filter/factory.d.ts +54 -0
  333. package/dist/core/filter/factory.d.ts.map +1 -0
  334. package/dist/core/filter/factory.js +96 -0
  335. package/dist/core/filter/index.d.ts +11 -0
  336. package/dist/core/filter/index.d.ts.map +1 -0
  337. package/dist/core/filter/index.js +9 -0
  338. package/dist/core/filter/types.d.ts +12 -0
  339. package/dist/core/filter/types.d.ts.map +1 -0
  340. package/dist/core/filter/types.js +1 -0
  341. package/dist/core/floating.js +132 -0
  342. package/dist/core/highlight/index.js +43 -0
  343. package/dist/core/highlight/lang-bash.js +27 -0
  344. package/dist/core/highlight/lang-c.js +27 -0
  345. package/dist/core/highlight/lang-cmake.js +27 -0
  346. package/dist/core/highlight/lang-cpp.js +27 -0
  347. package/dist/core/highlight/lang-css.js +24 -0
  348. package/dist/core/highlight/lang-dart.js +27 -0
  349. package/dist/core/highlight/lang-dockerfile.js +16 -0
  350. package/dist/core/highlight/lang-fsharp.js +23 -0
  351. package/dist/core/highlight/lang-go.js +22 -0
  352. package/dist/core/highlight/lang-html.js +12 -0
  353. package/dist/core/highlight/lang-java.js +22 -0
  354. package/dist/core/highlight/lang-javascript.js +26 -0
  355. package/dist/core/highlight/lang-json.js +13 -0
  356. package/dist/core/highlight/lang-jsonline.js +13 -0
  357. package/dist/core/highlight/lang-jsx.js +30 -0
  358. package/dist/core/highlight/lang-kotlin.js +27 -0
  359. package/dist/core/highlight/lang-latex.js +22 -0
  360. package/dist/core/highlight/lang-lua.js +26 -0
  361. package/dist/core/highlight/lang-makefile.js +22 -0
  362. package/dist/core/highlight/lang-markdown.js +18 -0
  363. package/dist/core/highlight/lang-objectivec.js +24 -0
  364. package/dist/core/highlight/lang-perl.js +30 -0
  365. package/dist/core/highlight/lang-powershell.js +23 -0
  366. package/dist/core/highlight/lang-python.js +27 -0
  367. package/dist/core/highlight/lang-r.js +21 -0
  368. package/dist/core/highlight/lang-ruby.js +29 -0
  369. package/dist/core/highlight/lang-rust.js +24 -0
  370. package/dist/core/highlight/lang-scala.js +26 -0
  371. package/dist/core/highlight/lang-sql.js +21 -0
  372. package/dist/core/highlight/lang-svelte.js +27 -0
  373. package/dist/core/highlight/lang-swift.js +28 -0
  374. package/dist/core/highlight/lang-tsx.js +35 -0
  375. package/dist/core/highlight/lang-typescript.js +31 -0
  376. package/dist/core/highlight/lang-vue.js +29 -0
  377. package/dist/core/highlight/lang-wasm.js +22 -0
  378. package/dist/core/highlight/lang-xml.js +12 -0
  379. package/dist/core/highlight/lang-yaml.js +14 -0
  380. package/dist/core/highlight/registry.js +99 -0
  381. package/dist/core/logger/LoggerCore.js +626 -0
  382. package/dist/core/logger/index.js +10 -0
  383. package/dist/core/logger/types.js +29 -0
  384. package/dist/core/markdown/index.js +20 -0
  385. package/dist/core/markdown/parser.d.ts +2 -0
  386. package/dist/core/markdown/parser.d.ts.map +1 -1
  387. package/dist/core/markdown/parser.js +376 -0
  388. package/dist/core/markdown/plugins.d.ts +2 -1
  389. package/dist/core/markdown/plugins.d.ts.map +1 -1
  390. package/dist/core/markdown/plugins.js +755 -0
  391. package/dist/core/markdown/types.d.ts +5 -0
  392. package/dist/core/markdown/types.d.ts.map +1 -1
  393. package/dist/core/markdown/types.js +7 -0
  394. package/dist/core/router/index.js +244 -0
  395. package/dist/core/styles.js +44 -0
  396. package/dist/core/types.d.ts +52 -3
  397. package/dist/core/types.d.ts.map +1 -1
  398. package/dist/core/types.js +1 -0
  399. package/dist/index.d.ts +9 -0
  400. package/dist/index.d.ts.map +1 -1
  401. package/dist/index.js +3695 -1622
  402. package/dist/index.js.map +1 -1
  403. package/dist/index.umd.js +1844 -758
  404. package/dist/index.umd.js.map +1 -1
  405. package/dist/styles/aithe-ui.d.ts +23 -0
  406. package/dist/styles/aithe-ui.d.ts.map +1 -1
  407. package/dist/styles/aithe-ui.js +185 -0
  408. package/dist/styles/global.css.d.ts +1 -1
  409. package/dist/styles/global.css.d.ts.map +1 -1
  410. package/dist/styles/global.css.js +119 -0
  411. package/dist/styles/i18n/index.js +206 -0
  412. package/dist/styles/i18n/locales/de-DE.d.ts.map +1 -1
  413. package/dist/styles/i18n/locales/de-DE.js +151 -0
  414. package/dist/styles/i18n/locales/en-US.d.ts.map +1 -1
  415. package/dist/styles/i18n/locales/en-US.js +160 -0
  416. package/dist/styles/i18n/locales/es-ES.d.ts.map +1 -1
  417. package/dist/styles/i18n/locales/es-ES.js +151 -0
  418. package/dist/styles/i18n/locales/fr-FR.d.ts.map +1 -1
  419. package/dist/styles/i18n/locales/fr-FR.js +151 -0
  420. package/dist/styles/i18n/locales/index.js +14 -0
  421. package/dist/styles/i18n/locales/ja-JP.d.ts.map +1 -1
  422. package/dist/styles/i18n/locales/ja-JP.js +151 -0
  423. package/dist/styles/i18n/locales/ko-KR.d.ts.map +1 -1
  424. package/dist/styles/i18n/locales/ko-KR.js +151 -0
  425. package/dist/styles/i18n/locales/pt-BR.d.ts.map +1 -1
  426. package/dist/styles/i18n/locales/pt-BR.js +151 -0
  427. package/dist/styles/i18n/locales/zh-CN.d.ts.map +1 -1
  428. package/dist/styles/i18n/locales/zh-CN.js +160 -0
  429. package/dist/styles/i18n/locales/zh-HK.d.ts.map +1 -1
  430. package/dist/styles/i18n/locales/zh-HK.js +151 -0
  431. package/dist/styles/i18n/locales/zh-TW.d.ts.map +1 -1
  432. package/dist/styles/i18n/locales/zh-TW.js +151 -0
  433. package/dist/styles/layout/index.js +88 -0
  434. package/dist/styles/mixins.js +43 -0
  435. package/dist/styles/shadow/cyber.js +19 -0
  436. package/dist/styles/shadow/deep.js +19 -0
  437. package/dist/styles/shadow/diffuse.js +19 -0
  438. package/dist/styles/shadow/flat.js +19 -0
  439. package/dist/styles/shadow/glassmorphism.js +19 -0
  440. package/dist/styles/shadow/index.js +129 -0
  441. package/dist/styles/shadow/neumorphism.js +21 -0
  442. package/dist/styles/shadow/retro.js +19 -0
  443. package/dist/styles/shadow/sharp-business.js +19 -0
  444. package/dist/styles/shadow/skeuomorphic.js +21 -0
  445. package/dist/styles/shape/chamfer.js +19 -0
  446. package/dist/styles/shape/circle.js +19 -0
  447. package/dist/styles/shape/index.js +174 -0
  448. package/dist/styles/shape/organic.js +19 -0
  449. package/dist/styles/shape/pill.js +19 -0
  450. package/dist/styles/shape/rounded.js +21 -0
  451. package/dist/styles/shape/rounder.js +19 -0
  452. package/dist/styles/shape/sharp.js +19 -0
  453. package/dist/styles/shape/smooth.js +19 -0
  454. package/dist/styles/theme/aliyun.d.ts +1 -1
  455. package/dist/styles/theme/aliyun.d.ts.map +1 -1
  456. package/dist/styles/theme/aliyun.js +102 -0
  457. package/dist/styles/theme/amber.d.ts +1 -1
  458. package/dist/styles/theme/amber.d.ts.map +1 -1
  459. package/dist/styles/theme/amber.js +101 -0
  460. package/dist/styles/theme/blue.d.ts +1 -1
  461. package/dist/styles/theme/blue.d.ts.map +1 -1
  462. package/dist/styles/theme/blue.js +101 -0
  463. package/dist/styles/theme/charcoal.d.ts +1 -1
  464. package/dist/styles/theme/charcoal.d.ts.map +1 -1
  465. package/dist/styles/theme/charcoal.js +106 -0
  466. package/dist/styles/theme/cyan.d.ts +1 -1
  467. package/dist/styles/theme/cyan.d.ts.map +1 -1
  468. package/dist/styles/theme/cyan.js +96 -0
  469. package/dist/styles/theme/dark.d.ts +1 -1
  470. package/dist/styles/theme/dark.d.ts.map +1 -1
  471. package/dist/styles/theme/dark.js +106 -0
  472. package/dist/styles/theme/ebony.d.ts +1 -1
  473. package/dist/styles/theme/ebony.d.ts.map +1 -1
  474. package/dist/styles/theme/ebony.js +106 -0
  475. package/dist/styles/theme/festive.d.ts +1 -1
  476. package/dist/styles/theme/festive.d.ts.map +1 -1
  477. package/dist/styles/theme/festive.js +101 -0
  478. package/dist/styles/theme/graphite.d.ts +1 -1
  479. package/dist/styles/theme/graphite.d.ts.map +1 -1
  480. package/dist/styles/theme/graphite.js +106 -0
  481. package/dist/styles/theme/gray.d.ts +1 -1
  482. package/dist/styles/theme/gray.d.ts.map +1 -1
  483. package/dist/styles/theme/gray.js +101 -0
  484. package/dist/styles/theme/huawei.d.ts +1 -1
  485. package/dist/styles/theme/huawei.d.ts.map +1 -1
  486. package/dist/styles/theme/huawei.js +102 -0
  487. package/dist/styles/theme/index.d.ts +1 -1
  488. package/dist/styles/theme/index.d.ts.map +1 -1
  489. package/dist/styles/theme/index.js +276 -0
  490. package/dist/styles/theme/indigo.d.ts +1 -1
  491. package/dist/styles/theme/indigo.d.ts.map +1 -1
  492. package/dist/styles/theme/indigo.js +101 -0
  493. package/dist/styles/theme/ink.d.ts +1 -1
  494. package/dist/styles/theme/ink.d.ts.map +1 -1
  495. package/dist/styles/theme/ink.js +106 -0
  496. package/dist/styles/theme/light.d.ts +1 -1
  497. package/dist/styles/theme/light.d.ts.map +1 -1
  498. package/dist/styles/theme/light.js +102 -0
  499. package/dist/styles/theme/midnight.d.ts +1 -1
  500. package/dist/styles/theme/midnight.d.ts.map +1 -1
  501. package/dist/styles/theme/midnight.js +106 -0
  502. package/dist/styles/theme/navy.d.ts +1 -1
  503. package/dist/styles/theme/navy.d.ts.map +1 -1
  504. package/dist/styles/theme/navy.js +106 -0
  505. package/dist/styles/theme/obsidian.d.ts +1 -1
  506. package/dist/styles/theme/obsidian.d.ts.map +1 -1
  507. package/dist/styles/theme/obsidian.js +106 -0
  508. package/dist/styles/theme/onyx.d.ts +1 -1
  509. package/dist/styles/theme/onyx.d.ts.map +1 -1
  510. package/dist/styles/theme/onyx.js +106 -0
  511. package/dist/styles/theme/orange.d.ts +1 -1
  512. package/dist/styles/theme/orange.d.ts.map +1 -1
  513. package/dist/styles/theme/orange.js +101 -0
  514. package/dist/styles/theme/pink.d.ts +1 -1
  515. package/dist/styles/theme/pink.d.ts.map +1 -1
  516. package/dist/styles/theme/pink.js +101 -0
  517. package/dist/styles/theme/purple.d.ts +1 -1
  518. package/dist/styles/theme/purple.d.ts.map +1 -1
  519. package/dist/styles/theme/purple.js +101 -0
  520. package/dist/styles/theme/raisin.d.ts +1 -1
  521. package/dist/styles/theme/raisin.d.ts.map +1 -1
  522. package/dist/styles/theme/raisin.js +106 -0
  523. package/dist/styles/theme/slate.d.ts +1 -1
  524. package/dist/styles/theme/slate.d.ts.map +1 -1
  525. package/dist/styles/theme/slate.js +106 -0
  526. package/dist/styles/theme/teal.d.ts +1 -1
  527. package/dist/styles/theme/teal.d.ts.map +1 -1
  528. package/dist/styles/theme/teal.js +101 -0
  529. package/dist/styles/theme/tianyi.d.ts +1 -1
  530. package/dist/styles/theme/tianyi.d.ts.map +1 -1
  531. package/dist/styles/theme/tianyi.js +102 -0
  532. package/dist/styles/types.js +1 -0
  533. package/dist/styles/typo/business.js +34 -0
  534. package/dist/styles/typo/compact.js +34 -0
  535. package/dist/styles/typo/index.js +99 -0
  536. package/dist/styles/typo/luxury.js +34 -0
  537. package/dist/styles/typo/minimal.js +34 -0
  538. package/dist/types/index.js +2 -0
  539. package/dist/utils/dom.js +51 -0
  540. package/dist/utils/events.js +32 -0
  541. package/dist/utils/icon.js +176 -0
  542. package/dist/utils/index.js +4 -0
  543. package/dist/utils/utils.d.ts +5 -5
  544. package/dist/utils/utils.js +89 -0
  545. package/dist/utils/validation.js +52 -0
  546. package/docs/api/basic/button.md +9 -6
  547. package/docs/api/basic/tag.md +24 -17
  548. package/docs/api/data/box-table.md +73 -0
  549. package/docs/api/data/dropdown.md +3 -2
  550. package/docs/api/data/metrics.md +2 -0
  551. package/docs/api/data/table-column.md +37 -23
  552. package/docs/api/data/table.md +158 -44
  553. package/docs/api/data/tabs.md +46 -1
  554. package/docs/api/data/tree-menu.md +55 -2
  555. package/docs/api/display/autoview.md +277 -0
  556. package/docs/api/display/box.md +66 -0
  557. package/docs/api/display/brief-box.md +73 -0
  558. package/docs/api/display/desc-item.md +57 -0
  559. package/docs/api/display/desc.md +246 -0
  560. package/docs/api/display/detail-box.md +75 -0
  561. package/docs/api/display/mini-box.md +100 -0
  562. package/docs/api/display/profile.md +92 -0
  563. package/docs/api/feedback/popover.md +10 -10
  564. package/docs/api/feedback/tooltip.md +14 -14
  565. package/docs/api/form/autoform-item.md +115 -0
  566. package/docs/api/form/autoform.md +7 -3
  567. package/docs/api/form/combobox.md +27 -7
  568. package/docs/api/form/select.md +50 -28
  569. package/docs/api/framework/log-panel.md +46 -0
  570. package/docs/api/framework/sidebar.md +3 -2
  571. package/docs/api/summary.md +46 -35
  572. package/docs/api/theme/theme-switch.md +1 -1
  573. package/docs/autoform.md +14 -33
  574. package/docs/changelog/CHANGELOG.md +155 -0
  575. package/docs/changelog/VERSION_26.3.1.md +966 -0
  576. package/docs/changelog/VERSION_26.3.2.md +852 -0
  577. package/docs/datahub.md +4 -1
  578. package/docs/filter.md +332 -0
  579. package/docs/framework-integration.md +2 -2
  580. package/docs/guide.md +72 -6
  581. package/docs/i18n.md +2 -4
  582. package/docs/issue/26.3.1/issue_26.3.1.0.md +84 -0
  583. package/docs/issue/26.3.1/issue_26.3.1.1.md +72 -0
  584. package/docs/issue/26.3.1/issue_26.3.1.2.md +75 -0
  585. package/docs/issue/26.3.1/issue_26.3.1.3.md +78 -0
  586. package/docs/issue/26.3.1/issue_26.3.1.4.md +113 -0
  587. package/docs/issue/26.3.1/issue_26.3.1.5.md +142 -0
  588. package/docs/issue/26.3.1/issue_26.3.1.6.md +100 -0
  589. package/docs/issue/26.3.1/issue_26.3.1.7.md +78 -0
  590. package/docs/issue/26.3.2/issue_26.3.2.1.md +46 -0
  591. package/docs/issue/26.3.2/issue_26.3.2.2.md +82 -0
  592. package/docs/issue/26.3.2/issue_26.3.2.3.md +57 -0
  593. package/docs/issue/26.3.2/issue_26.3.2.4.md +43 -0
  594. package/docs/issue/AGENTS.md +24 -3
  595. package/docs/markdown.md +2 -2
  596. package/docs/quickstart.md +5 -5
  597. package/docs/theming.md +5 -4
  598. package/package.json +5 -2
  599. package/dist/components/navigation/dropdown.d.ts +0 -56
  600. package/dist/components/navigation/dropdown.d.ts.map +0 -1
  601. /package/docs/issue/{issue_26.2.2.1.md → 26.2.2/issue_26.2.2.1.md} +0 -0
  602. /package/docs/issue/{issue_26.2.2.2.md → 26.2.2/issue_26.2.2.2.md} +0 -0
  603. /package/docs/issue/{issue_26.2.2.3.md → 26.2.2/issue_26.2.2.3.md} +0 -0
  604. /package/docs/issue/{issue_26.2.2.4.md → 26.2.2/issue_26.2.2.4.md} +0 -0
  605. /package/docs/issue/{issue_26.2.3.1.md → 26.2.3/issue_26.2.3.1.md} +0 -0
  606. /package/docs/issue/{issue_26.2.3.10.md → 26.2.3/issue_26.2.3.10.md} +0 -0
  607. /package/docs/issue/{issue_26.2.3.11.md → 26.2.3/issue_26.2.3.11.md} +0 -0
  608. /package/docs/issue/{issue_26.2.3.12.md → 26.2.3/issue_26.2.3.12.md} +0 -0
  609. /package/docs/issue/{issue_26.2.3.13.md → 26.2.3/issue_26.2.3.13.md} +0 -0
  610. /package/docs/issue/{issue_26.2.3.14.md → 26.2.3/issue_26.2.3.14.md} +0 -0
  611. /package/docs/issue/{issue_26.2.3.15.md → 26.2.3/issue_26.2.3.15.md} +0 -0
  612. /package/docs/issue/{issue_26.2.3.16.md → 26.2.3/issue_26.2.3.16.md} +0 -0
  613. /package/docs/issue/{issue_26.2.3.2.md → 26.2.3/issue_26.2.3.2.md} +0 -0
  614. /package/docs/issue/{issue_26.2.3.3.md → 26.2.3/issue_26.2.3.3.md} +0 -0
  615. /package/docs/issue/{issue_26.2.3.4.md → 26.2.3/issue_26.2.3.4.md} +0 -0
  616. /package/docs/issue/{issue_26.2.3.5.md → 26.2.3/issue_26.2.3.5.md} +0 -0
  617. /package/docs/issue/{issue_26.2.3.6.md → 26.2.3/issue_26.2.3.6.md} +0 -0
  618. /package/docs/issue/{issue_26.2.3.7.md → 26.2.3/issue_26.2.3.7.md} +0 -0
  619. /package/docs/issue/{issue_26.2.3.8.md → 26.2.3/issue_26.2.3.8.md} +0 -0
  620. /package/docs/issue/{issue_26.2.3.9.md → 26.2.3/issue_26.2.3.9.md} +0 -0
@@ -0,0 +1,246 @@
1
+ # AitheDesc / AitheDesc 描述列表
2
+
3
+ > A description list component that displays key-value pairs in a structured table-like layout. Supports border styles, label background, column count, title, extra actions, direction control, colspan, and rowspan.
4
+ > 描述列表组件,以结构化的类表格布局展示键值对。支持边框样式、标签背景、列数、标题、额外操作、方向控制、列合并和行合并。
5
+
6
+ ## Import / 引入
7
+
8
+ ```ts
9
+ import '@aithe/aithe-ui/components/display/desc';
10
+ import '@aithe/aithe-ui/components/display/desc-item';
11
+ ```
12
+
13
+ ## Description / 描述
14
+
15
+ `AitheDesc` renders a structured key-value list using CSS Grid layout. It places `<aithe-desc-item>` children into a grid based on the `column` property and each item's `span` and `rowspan`. Supports border styles (`none`/`full`/`row`), label background (`filled`/`none`), vertical/horizontal direction, title, extra slot, and size variants.
16
+
17
+ `AitheDesc` 使用 CSS Grid 布局渲染结构化的键值列表。根据 `column` 属性和每个条目的 `span`/`rowspan` 将 `<aithe-desc-item>` 子元素放置到网格中。支持边框样式(`none`/`full`/`row`)、标签背景(`filled`/`none`)、垂直/水平方向、标题、额外插槽和尺寸变体。
18
+
19
+ ## AitheDesc Properties / AitheDesc 属性
20
+
21
+ | Name | Type | Default | Attribute | Description (EN) | Description (CN) |
22
+ | ---------------- | --------------------------------- | -------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
23
+ | title | `string` | `''` | `title` | Title text displayed in the header. | 头部标题文本。 |
24
+ | column | `number` | `1` | `column` | Number of columns for the description layout. | 描述布局的列数。 |
25
+ | border | `boolean` | `false` | `border` | Whether to show full borders (outer frame + cell separators). Equivalent to `border-style="full"`. | 是否显示完整边框(外框+单元格分隔线),等同 `border-style="full"`。 |
26
+ | border-style | `'none' \| 'full' \| 'row'` | `'none'` | `border-style` | Border style: `none` (no borders), `full` (outer + all cell separators), `row` (row separators only, no outer frame or column separators). | 边框样式:`none`(无边框)、`full`(外框+所有单元格分隔线)、`row`(仅行分隔线,无外框和列分隔线)。 |
27
+ | label-background | `'filled' \| 'none'` | `'filled'` | `label-background` | Label background style: `filled` (default gray) or `none` (transparent). | 标签背景样式:`filled`(默认灰底)或 `none`(透明)。 |
28
+ | direction | `'horizontal' \| 'vertical'` | `'horizontal'` | `direction` | Layout direction: label left of content or label above content. | 布局方向:标签在内容左侧或上方。 |
29
+ | size | `'sm' \| 'md' \| 'lg'` | `'md'` | `size` | Size of the description list. | 描述列表的尺寸。 |
30
+ | labelWidth | `string` | `'150px'` | `label-width` | Global label width. Falls back to individual item's label-width. | 全局标签宽度,item 单独设置时优先。 |
31
+ | showTitle | `boolean` | `true` | `show-title` | Whether to show the title header. | 是否显示标题头。 |
32
+ | maxRows | `number` | `0` | `max-rows` | Maximum visible rows. 0 means no limit. | 最大可见行数,0 表示不限制。 |
33
+
34
+ ## AitheDescItem Properties / AitheDescItem 属性
35
+
36
+ | Name | Type | Default | Attribute | Description (EN) | Description (CN) |
37
+ | ---------- | ------------------------ | ------- | ----------- | --------------------------------------------------- | ------------------------------ |
38
+ | label | `string` | `''` | `label` | Label text for the item. | 条目标签文本。 |
39
+ | span | `number` | `1` | `span` | Column span for this item. | 该条目占用的列数。 |
40
+ | rowspan | `number` | `1` | `rowspan` | Row span for this item. | 该条目占用的行数。 |
41
+ | labelWidth | `string` | `''` | `label-width` | Width of the label cell. | 标签单元格宽度。 |
42
+ | width | `string` | `''` | `width` | Width of the content cell. | 内容单元格宽度。 |
43
+ | minWidth | `string` | `''` | `min-width` | Minimum width of the content cell. | 内容单元格最小宽度。 |
44
+ | labelAlign | `'left' \| 'center' \| 'right'` | `'left'` | `label-align` | Text alignment of the label. | 标签文本对齐方式。 |
45
+ | align | `'left' \| 'center' \| 'right'` | `'left'` | `align` | Text alignment of the content. | 内容文本对齐方式。 |
46
+
47
+ ## AitheDesc Slots / AitheDesc 插槽
48
+
49
+ | Name | Description (EN) | Description (CN) |
50
+ | ------- | ----------------------------------------- | ---------------------------- |
51
+ | title | Custom title content in the header. | 头部自定义标题内容。 |
52
+ | extra | Extra action content in the header. | 头部额外操作内容。 |
53
+ | (default) | Description items (`<aithe-desc-item>`). | 描述条目(`<aithe-desc-item>`)。 |
54
+
55
+ ## AitheDescItem Slots / AitheDescItem 插槽
56
+
57
+ | Name | Description (EN) | Description (CN) |
58
+ | ------- | ----------------------------------------- | ---------------------------- |
59
+ | label | Custom label content. | 自定义标签内容。 |
60
+ | (default) | Value content. | 值内容。 |
61
+
62
+ ## AitheDesc Events / AitheDesc 事件
63
+
64
+ | Name | Detail | Cancelable | Description (EN) | Description (CN) |
65
+ | ----------------- | ------ | ---------- | -------------------------------------- | --------------------------- |
66
+ | `aithe-desc-click` | `{}` | No | Fired when the description is clicked. | 点击描述列表时触发。 |
67
+
68
+ ## AitheDesc CSS Parts / AitheDesc CSS 部件
69
+
70
+ | Name | Description (EN) | Description (CN) |
71
+ | ------ | ----------------------------------- | -------------------- |
72
+ | header | The header container. | 头部容器。 |
73
+ | body | The body container. | 主体容器。 |
74
+ | row | A row container. | 行容器。 |
75
+
76
+ ## AitheDescItem CSS Parts / AitheDescItem CSS 部件
77
+
78
+ | Name | Description (EN) | Description (CN) |
79
+ | ------- | ----------------------------------- | -------------------- |
80
+ | label | The label cell container. | 标签单元格容器。 |
81
+ | content | The content cell container. | 内容单元格容器。 |
82
+
83
+ ## Examples / 示例
84
+
85
+ ### Basic Usage / 基础用法
86
+
87
+ ```html
88
+ <aithe-desc title="User Info">
89
+ <aithe-desc-item label="Name">John Doe</aithe-desc-item>
90
+ <aithe-desc-item label="Age">30</aithe-desc-item>
91
+ <aithe-desc-item label="Email">john@example.com</aithe-desc-item>
92
+ <aithe-desc-item label="Phone">+1 234 5678</aithe-desc-item>
93
+ </aithe-desc>
94
+ ```
95
+
96
+ ### With Border / 带边框
97
+
98
+ ```html
99
+ <aithe-desc title="User Info" border>
100
+ <aithe-desc-item label="Name">John Doe</aithe-desc-item>
101
+ <aithe-desc-item label="Age">30</aithe-desc-item>
102
+ <aithe-desc-item label="Email">john@example.com</aithe-desc-item>
103
+ <aithe-desc-item label="Phone">+1 234 5678</aithe-desc-item>
104
+ </aithe-desc>
105
+ ```
106
+
107
+ ### Border Styles / 边框样式
108
+
109
+ `border-style` provides three modes: `none` (no borders), `full` (outer frame + all cell separators), `row` (row separators only).
110
+
111
+ `border-style` 提供三种模式:`none`(无边框)、`full`(外框+所有单元格分隔线)、`row`(仅行分隔线)。
112
+
113
+ ```html
114
+ <!-- Full border (equivalent to `border`) -->
115
+ <aithe-desc title="Full Border" border-style="full" column="2">
116
+ <aithe-desc-item label="Name">John Doe</aithe-desc-item>
117
+ <aithe-desc-item label="Age">30</aithe-desc-item>
118
+ <aithe-desc-item label="Email">john@example.com</aithe-desc-item>
119
+ <aithe-desc-item label="Phone">+1 234 5678</aithe-desc-item>
120
+ </aithe-desc>
121
+
122
+ <!-- Row separators only, no outer frame -->
123
+ <aithe-desc title="Row Separators" border-style="row" column="2">
124
+ <aithe-desc-item label="Name">John Doe</aithe-desc-item>
125
+ <aithe-desc-item label="Age">30</aithe-desc-item>
126
+ <aithe-desc-item label="Email">john@example.com</aithe-desc-item>
127
+ <aithe-desc-item label="Phone">+1 234 5678</aithe-desc-item>
128
+ </aithe-desc>
129
+ ```
130
+
131
+ ### Label Background / 标签背景
132
+
133
+ `label-background` controls whether the label cell has a gray background (`filled`, default) or is transparent (`none`). Combine with `border-style="row"` for a clean, minimal style.
134
+
135
+ `label-background` 控制标签单元格是否为灰底(`filled`,默认)或透明(`none`)。配合 `border-style="row"` 可实现简洁风格。
136
+
137
+ ```html
138
+ <!-- No label background + row separators: minimal style -->
139
+ <aithe-desc title="Minimal" border-style="row" label-background="none" column="2">
140
+ <aithe-desc-item label="Name">John Doe</aithe-desc-item>
141
+ <aithe-desc-item label="Age">30</aithe-desc-item>
142
+ <aithe-desc-item label="Email">john@example.com</aithe-desc-item>
143
+ <aithe-desc-item label="Phone">+1 234 5678</aithe-desc-item>
144
+ </aithe-desc>
145
+ ```
146
+
147
+ ### Column Span / 列合并
148
+
149
+ ```html
150
+ <aithe-desc title="User Info" :column="2" border>
151
+ <aithe-desc-item label="Name">John Doe</aithe-desc-item>
152
+ <aithe-desc-item label="Age">30</aithe-desc-item>
153
+ <aithe-desc-item label="Address" :span="2">123 Main Street, New York, NY 10001</aithe-desc-item>
154
+ </aithe-desc>
155
+ ```
156
+
157
+ ### Vertical Direction / 垂直方向
158
+
159
+ ```html
160
+ <aithe-desc title="User Info" direction="vertical" border>
161
+ <aithe-desc-item label="Name">John Doe</aithe-desc-item>
162
+ <aithe-desc-item label="Age">30</aithe-desc-item>
163
+ <aithe-desc-item label="Email">john@example.com</aithe-desc-item>
164
+ </aithe-desc>
165
+ ```
166
+
167
+ ### With Extra Slot / 带额外操作
168
+
169
+ ```html
170
+ <aithe-desc title="User Info" border>
171
+ <span slot="extra"><aithe-button size="sm">Edit</aithe-button></span>
172
+ <aithe-desc-item label="Name">John Doe</aithe-desc-item>
173
+ <aithe-desc-item label="Age">30</aithe-desc-item>
174
+ </aithe-desc>
175
+ ```
176
+
177
+ ### Size Variants / 尺寸变体
178
+
179
+ ```html
180
+ <aithe-desc title="Small" size="sm" border>
181
+ <aithe-desc-item label="Name">John Doe</aithe-desc-item>
182
+ <aithe-desc-item label="Age">30</aithe-desc-item>
183
+ </aithe-desc>
184
+ <aithe-desc title="Large" size="lg" border>
185
+ <aithe-desc-item label="Name">John Doe</aithe-desc-item>
186
+ <aithe-desc-item label="Age">30</aithe-desc-item>
187
+ </aithe-desc>
188
+ ```
189
+
190
+ ### Column Config / 列数配置
191
+
192
+ ```html
193
+ <aithe-desc title="2 Columns" :column="2" border>
194
+ <aithe-desc-item label="Name">John Doe</aithe-desc-item>
195
+ <aithe-desc-item label="Age">30</aithe-desc-item>
196
+ <aithe-desc-item label="Email">john@example.com</aithe-desc-item>
197
+ <aithe-desc-item label="Phone">+1 234 5678</aithe-desc-item>
198
+ </aithe-desc>
199
+ ```
200
+
201
+ ### Custom Label Width / 自定义标签宽度
202
+
203
+ ```html
204
+ <aithe-desc title="Server Config" border label-width="120px">
205
+ <aithe-desc-item label="Server Name">Production-Web-01</aithe-desc-item>
206
+ <aithe-desc-item label="IP Address">192.168.1.100</aithe-desc-item>
207
+ <aithe-desc-item label="Memory">64 GB DDR5</aithe-desc-item>
208
+ </aithe-desc>
209
+ ```
210
+
211
+ ### Row Span / 行合并
212
+
213
+ ```html
214
+ <aithe-desc title="User Profile" border>
215
+ <aithe-desc-item label="Name">Zhang Wei</aithe-desc-item>
216
+ <aithe-desc-item label="Age">28</aithe-desc-item>
217
+ <aithe-desc-item label="Gender">Male</aithe-desc-item>
218
+ <aithe-desc-item label="Phone">+86 138 0000 1234</aithe-desc-item>
219
+ <aithe-desc-item label="Email">zhangwei@example.com</aithe-desc-item>
220
+ <aithe-desc-item label="Address" :span="2" rowspan="2">No. 123, Chang'an Avenue, Haidian District, Beijing</aithe-desc-item>
221
+ <aithe-desc-item label="Position">Senior Engineer</aithe-desc-item>
222
+ <aithe-desc-item label="Department">Frontend Team</aithe-desc-item>
223
+ </aithe-desc>
224
+ ```
225
+
226
+ ### Hide Title / 隐藏标题
227
+
228
+ ```html
229
+ <aithe-desc title="Hidden Title" show-title="false" border>
230
+ <aithe-desc-item label="Name">John Doe</aithe-desc-item>
231
+ <aithe-desc-item label="Age">30</aithe-desc-item>
232
+ <aithe-desc-item label="Email">john@example.com</aithe-desc-item>
233
+ </aithe-desc>
234
+ ```
235
+
236
+ ### Max Rows / 限制行数
237
+
238
+ ```html
239
+ <aithe-desc title="Limited View" border max-rows="2">
240
+ <aithe-desc-item label="Name">John Doe</aithe-desc-item>
241
+ <aithe-desc-item label="Age">30</aithe-desc-item>
242
+ <aithe-desc-item label="Email">john@example.com</aithe-desc-item>
243
+ <aithe-desc-item label="Phone">+1 234 5678</aithe-desc-item>
244
+ <aithe-desc-item label="Address">123 Main Street</aithe-desc-item>
245
+ </aithe-desc>
246
+ ```
@@ -0,0 +1,75 @@
1
+ # AitheDetailBox / AitheDetailBox 详情记录
2
+
3
+ > Two-column detail record display with left metadata and right actions. Designed for rich detail views. All content is provided via named slots.
4
+ > 双列详情记录展示,左侧元数据、右侧操作。设计用于丰富的详情视图。所有内容通过具名插槽提供。
5
+
6
+ ## Import / 引入
7
+
8
+ ```ts
9
+ import '@aithe/aithe-ui/components/data/detail-box';
10
+ ```
11
+
12
+ ## Description / 描述
13
+
14
+ `<aithe-detail-box>` renders a two-column layout: the left column contains select, checkbox, name, tags, status, and expandable content; the right column contains actions. Designed for detailed record views where rich metadata and actions are displayed side by side. All content is provided via named slots.
15
+
16
+ `<aithe-detail-box>` 渲染双列布局:左列包含 select、checkbox、name、tags、status 和可展开内容;右列包含操作。设计用于详细记录视图,丰富的元数据和操作并排显示。所有内容通过具名插槽提供。
17
+
18
+ ## Slots / 插槽
19
+
20
+ | Name | Description (EN) | Description (CN) |
21
+ | --------- | ------------------------------------------------------------------- | ------------------------------ |
22
+ | select | Selection control region (e.g. radio). | 选择控件区域(如单选框)。 |
23
+ | checkbox | Checkbox region. | 复选框区域。 |
24
+ | name | Primary label / title region. | 主标签/标题区域。 |
25
+ | tags | Tags region. | 标签区域。 |
26
+ | status | Status indicator region. | 状态指示器区域。 |
27
+ | actions | Action buttons region. | 操作按钮区域。 |
28
+ | content | Expandable content region. | 可展开的内容区域。 |
29
+ | (default) | Default slot, rendered inside the content region. | 默认插槽,渲染在内容区域内。 |
30
+
31
+ ## CSS Parts / CSS 部件
32
+
33
+ | Name | Description (EN) | Description (CN) |
34
+ | ------- | ----------------------------------- | -------------------- |
35
+ | select | The select region container. | 选择区域容器。 |
36
+ | checkbox| The checkbox region container. | 复选框区域容器。 |
37
+ | name | The name region container. | 名称区域容器。 |
38
+ | tags | The tags region container. | 标签区域容器。 |
39
+ | status | The status region container. | 状态区域容器。 |
40
+ | actions | The actions region container. | 操作区域容器。 |
41
+ | content | The content region container. | 内容区域容器。 |
42
+
43
+ ## Properties / 属性
44
+
45
+ Inherits all properties from `AitheMiniBox`. See [AitheMiniBox](mini-box.md) for details.
46
+
47
+ ## Events / 事件
48
+
49
+ Inherits all events from `AitheMiniBox`. See [AitheMiniBox](mini-box.md) for details.
50
+
51
+ ## Usage / 用法
52
+
53
+ ### Basic / 基础用法
54
+
55
+ ```html
56
+ <aithe-detail-box>
57
+ <aithe-profile slot="name" title="Project Alpha" desc="Frontend application" icon="app"></aithe-profile>
58
+ <span slot="tags"><aithe-tag>frontend</aithe-tag> <aithe-tag>design</aithe-tag></span>
59
+ <span slot="status">Active</span>
60
+ <span slot="content">A front-end design system built with Lit and TypeScript.</span>
61
+ </aithe-detail-box>
62
+ ```
63
+
64
+ ### With Actions / 带操作按钮
65
+
66
+ ```html
67
+ <aithe-detail-box>
68
+ <aithe-profile slot="name" title="Project Alpha" desc="Frontend application" icon="app"></aithe-profile>
69
+ <span slot="status">Active</span>
70
+ <span slot="actions">
71
+ <aithe-button size="sm">Edit</aithe-button>
72
+ <aithe-button size="sm" variant="danger">Delete</aithe-button>
73
+ </span>
74
+ </aithe-detail-box>
75
+ ```
@@ -0,0 +1,100 @@
1
+ # AitheMiniBox / AitheMiniBox 迷你记录(基类)
2
+
3
+ > Base class for the Box component family. Provides region-based layout with named slots. The box only defines layout structure — all content is provided via named slots, with no data binding. Not intended for direct use as a base class — use `<aithe-mini-box>`, `<aithe-brief-box>`, or `<aithe-detail-box>` instead.
4
+ > Box 组件族的基类。提供基于区域的布局和具名插槽。Box 只定义布局结构——所有内容通过具名插槽提供,无数据绑定。不推荐作为基类直接使用——请使用 `<aithe-mini-box>`、`<aithe-brief-box>` 或 `<aithe-detail-box>`。
5
+
6
+ ## Import / 引入
7
+
8
+ ```ts
9
+ import '@aithe/aithe-ui/components/data/mini-box';
10
+ // or
11
+ import '@aithe/aithe-ui/components/data/brief-box';
12
+ // or
13
+ import '@aithe/aithe-ui/components/data/detail-box';
14
+ ```
15
+
16
+ ## Description / 描述
17
+
18
+ `AitheMiniBox` is the base class for the three Box variants. It defines the common property set, styling, and region rendering logic shared by all variants. Each variant implements a distinct layout strategy:
19
+
20
+ - `<aithe-mini-box>` — single horizontal row (compact list view)
21
+ - `<aithe-brief-box>` — three rows with description and vertically spanning checkbox/actions
22
+ - `<aithe-detail-box>` — two-column split with left metadata and right actions
23
+
24
+ All content is provided via named slots. The box only defines layout structure — it does not bind data.
25
+
26
+ `AitheMiniBox` 是三种 Box 变体的基类,定义了所有变体共享的公共属性集、样式和区域渲染逻辑。每种变体实现不同的布局策略:
27
+
28
+ - `<aithe-mini-box>` — 单行水平布局(紧凑列表视图)
29
+ - `<aithe-brief-box>` — 三行布局,含描述和垂直贯穿的 checkbox/actions
30
+ - `<aithe-detail-box>` — 左右分栏布局,左侧元数据、右侧操作
31
+
32
+ 所有内容通过具名插槽提供。Box 只定义布局结构——不绑定数据。
33
+
34
+ ## Slots / 插槽
35
+
36
+ | Name | Description (EN) | Description (CN) |
37
+ | --------- | ------------------------------------------------------------------- | ------------------------------ |
38
+ | select | Selection control region (e.g. radio). | 选择控件区域(如单选框)。 |
39
+ | checkbox | Checkbox region. | 复选框区域。 |
40
+ | name | Primary label / title region. | 主标签/标题区域。 |
41
+ | tags | Tags region. | 标签区域。 |
42
+ | status | Status indicator region. | 状态指示器区域。 |
43
+ | actions | Action buttons region. | 操作按钮区域。 |
44
+ | content | Expandable content region. | 可展开的内容区域。 |
45
+ | (default) | Default slot, rendered inside the content region. | 默认插槽,渲染在内容区域内。 |
46
+
47
+ ## CSS Parts / CSS 部件
48
+
49
+ | Name | Description (EN) | Description (CN) |
50
+ | ------- | ----------------------------------- | -------------------- |
51
+ | select | The select region container. | 选择区域容器。 |
52
+ | checkbox| The checkbox region container. | 复选框区域容器。 |
53
+ | name | The name region container. | 名称区域容器。 |
54
+ | tags | The tags region container. | 标签区域容器。 |
55
+ | status | The status region container. | 状态区域容器。 |
56
+ | actions | The actions region container. | 操作区域容器。 |
57
+ | content | The content region container. | 内容区域容器。 |
58
+
59
+ ## Properties / 属性
60
+
61
+ | Name | Type | Default | Attribute | Description (EN) | Description (CN) |
62
+ | --------- | ------------------------------ | -------- | ----------- | ------------------------------------------------------- | ------------------------------------ |
63
+ | selectable | `'none'` \| `'multi'` \| `'single'` | `'none'` | `selectable` | Selection mode. `'none'` disables selection, `'multi'` enables checkbox multi-select, `'single'` enables radio single-select. | 选择模式。`'none'` 不选择,`'multi'` 启用复选框多选,`'single'` 启用单选框单选。 |
64
+ | selected | `boolean` | `false` | `selected` | Whether the box is selected. | box 是否被选中。 |
65
+ | expanded | `boolean` | `false` | `expanded` | Whether the content region is expanded. | 内容区域是否展开。 |
66
+
67
+ ## Events / 事件
68
+
69
+ | Name | Detail | Cancelable | Description (EN) | Description (CN) |
70
+ | ----------------- | ------ | ---------- | ------------------------------ | ----------------------- |
71
+ | `aithe-box-click` | `{}` | No | Fired when the box is clicked. | 点击 box 时触发。 |
72
+
73
+ ## Usage / 用法
74
+
75
+ ### Basic / 基础用法
76
+
77
+ ```html
78
+ <aithe-mini-box>
79
+ <aithe-profile slot="name" title="Project Alpha" desc="Frontend application" icon="app"></aithe-profile>
80
+ <span slot="status">Active</span>
81
+ </aithe-mini-box>
82
+ ```
83
+
84
+ ### With Checkbox / 带复选框
85
+
86
+ ```html
87
+ <aithe-mini-box selectable>
88
+ <aithe-profile slot="name" title="Project Alpha" desc="Frontend application" icon="app"></aithe-profile>
89
+ <span slot="status">Active</span>
90
+ </aithe-mini-box>
91
+ ```
92
+
93
+ ### Selected State / 选中状态
94
+
95
+ ```html
96
+ <aithe-mini-box selectable selected>
97
+ <aithe-profile slot="name" title="Project Alpha" desc="Frontend application" icon="app"></aithe-profile>
98
+ <span slot="status">Active</span>
99
+ </aithe-mini-box>
100
+ ```
@@ -0,0 +1,92 @@
1
+ # AitheProfile / AitheProfile 档案展示
2
+
3
+ > Fixed left-right layout: icon/avatar on the left, title and description on the right. Designed as the standard name region component for the Box component family.
4
+ > 固定左右布局:左侧图标/头像,右侧标题和描述。作为 Box 组件族的标准 name 区域组件。
5
+
6
+ ## Import / 引入
7
+
8
+ ```ts
9
+ import '@aithe/aithe-ui/components/display/profile';
10
+ ```
11
+
12
+ ## Description / 描述
13
+
14
+ `AitheProfile` renders a fixed left-right layout with icon/avatar on the left and title/description on the right. It can be used independently or embedded into the `name` slot of `aithe-mini-box`, `aithe-brief-box`, or `aithe-detail-box`. Icon supports `(class)xxx` format for class-based icons, or auto-generates from the first character of `title` when `icon` is empty.
15
+
16
+ `AitheProfile` 渲染固定左右布局:左侧图标/头像,右侧标题和描述。可独立使用,也可嵌入 `aithe-mini-box` / `aithe-brief-box` / `aithe-detail-box` 的 name 插槽。Icon 支持 `(class)xxx` 格式使用 class 图标,icon 为空时自动用 title 首字符生成。
17
+
18
+ ## Properties / 属性
19
+
20
+ | Name | Type | Default | Attribute | Description (EN) | Description (CN) |
21
+ | ------------- | --------------------- | --------- | -------------- | ---------------------------------------------------------------------- | ------------------------------------ |
22
+ | icon | `string` | `''` | `icon` | Icon content. Supports `(class)xxx` format for class icons. Empty auto-generates from title first char. | 图标内容。支持 `(class)xxx` 格式使用 class 图标,空时自动用 title 首字符生成。 |
23
+ | icon-size | `string` | `'lg'` | `icon-size` | Icon size, same as `aithe-avatar` size. | 图标尺寸,同 `aithe-avatar` 的 size。 |
24
+ | icon-shape | `'circle' \| 'square' \| 'none'` | `'none'` | `icon-shape` | Icon shape. `'none'` renders `<aithe-icon>`, others render `<aithe-avatar>`. | 图标形状。`'none'` 渲染 `<aithe-icon>`,其他值渲染 `<aithe-avatar>`。 |
25
+ | title | `string` | `''` | `title` | Primary name text. | 主名称。 |
26
+ | desc | `string` | `''` | `desc` | Description text. | 描述文案。 |
27
+ | title-ellipsis | `boolean` | `true` | `title-ellipsis` | Whether to truncate title with ellipsis when overflow. | 标题超长时是否省略。 |
28
+ | desc-ellipsis | `boolean` | `true` | `desc-ellipsis` | Whether to truncate description with ellipsis when overflow. | 描述超长时是否省略。 |
29
+
30
+ ## Slots / 插槽
31
+
32
+ | Name | Description (EN) | Description (CN) |
33
+ | ----- | ----------------------------------------- | ---------------------------- |
34
+ | icon | Custom icon/avatar region, overrides default avatar. | 自定义图标/头像区域,覆盖默认 avatar。 |
35
+ | title | Custom title region, overrides default title text. | 自定义标题区域,覆盖默认 title 文本。 |
36
+ | desc | Custom description region, overrides default desc text. | 自定义描述区域,覆盖默认 desc 文本。 |
37
+
38
+ ## CSS Parts / CSS 部件
39
+
40
+ | Name | Description (EN) | Description (CN) |
41
+ | ----- | ----------------------------------- | -------------------- |
42
+ | title | The title region container. | 标题区域容器。 |
43
+ | desc | The description region container. | 描述区域容器。 |
44
+
45
+ ## Examples / 示例
46
+
47
+ ### Basic / 基础用法
48
+
49
+ ```html
50
+ <aithe-profile title="Project Alpha" desc="Frontend application" icon="(class)app"></aithe-profile>
51
+ ```
52
+
53
+ ### Title Only / 仅标题
54
+
55
+ ```html
56
+ <aithe-profile title="Project Alpha"></aithe-profile>
57
+ ```
58
+
59
+ ### Custom Icon Shape / 自定义图标形状
60
+
61
+ ```html
62
+ <aithe-profile title="User" desc="Administrator" icon="(class)user" icon-shape="circle"></aithe-profile>
63
+ <aithe-profile title="Server" desc="Production" icon="(class)server" icon-shape="square"></aithe-profile>
64
+ ```
65
+
66
+ ### Default Icon (aithe-icon) / 默认图标(aithe-icon)
67
+
68
+ ```html
69
+ <aithe-profile title="Project" desc="Description" icon="(class)app"></aithe-profile>
70
+ ```
71
+
72
+ ### Custom Icon Size / 自定义图标尺寸
73
+
74
+ ```html
75
+ <aithe-profile title="Project" desc="Description" icon="(class)app" icon-size="xl"></aithe-profile>
76
+ ```
77
+
78
+ ### Disable Ellipsis / 关闭省略号
79
+
80
+ ```html
81
+ <aithe-profile title="A very long project name that should not be truncated" desc="Description" ?title-ellipsis=${false}></aithe-profile>
82
+ ```
83
+
84
+ ### Custom Slots / 使用插槽自定义
85
+
86
+ ```html
87
+ <aithe-profile>
88
+ <img slot="icon" src="/avatar.png" style="width:40px;height:40px;border-radius:50%;" />
89
+ <div slot="title"><strong>Custom Title</strong></div>
90
+ <span slot="desc">Custom description with <aithe-tag>tag</aithe-tag></span>
91
+ </aithe-profile>
92
+ ```
@@ -5,22 +5,22 @@
5
5
 
6
6
  ## Slots / 插槽
7
7
 
8
- | Name | Description (EN) | Description (CN) |
9
- |------|-------------------|-------------------|
10
- | (default) | Default slot for the trigger element. | 触发元素内容。 |
11
- | content | Custom popover content. | 自定义弹出面板内容。 |
8
+ | Name | Description (EN) | Description (CN) |
9
+ | --------- | ------------------------------------- | -------------------- |
10
+ | (default) | Default slot for the trigger element. | 触发元素内容。 |
11
+ | content | Custom popover content. | 自定义弹出面板内容。 |
12
12
 
13
13
  ## Properties / 属性
14
14
 
15
- | Name | Type | Default | Description (EN) | Description (CN) |
16
- |------|------|---------|-------------------|-------------------|
15
+ | Name | Type | Default | Description (EN) | Description (CN) |
16
+ | --------- | -------------------------------------- | -------- | -------------------------------------- | ------------------------------ |
17
17
  | placement | 'top' \| 'right' \| 'bottom' \| 'left' | 'bottom' | Popover placement relative to trigger. | 弹出面板相对于触发元素的位置。 |
18
18
 
19
19
  ## Events / 事件
20
20
 
21
- | Name | Detail | Description (EN) | Description (CN) |
22
- |------|--------|-------------------|-------------------|
23
- | aithe-open-change | { open } | Emitted when open state changes. | 开关状态变更时触发。 |
21
+ | Name | Detail | Description (EN) | Description (CN) |
22
+ | --------------------- | -------- | -------------------------------- | -------------------- |
23
+ | aithe-dropdown-change | { open } | Emitted when open state changes. | 开关状态变更时触发。 |
24
24
 
25
25
  ## Examples / 示例
26
26
 
@@ -29,4 +29,4 @@
29
29
  <button>Click me</button>
30
30
  <slot name="content"><p>Popover content here.</p></slot>
31
31
  </aithe-popover>
32
- ```
32
+ ```
@@ -5,25 +5,25 @@
5
5
 
6
6
  ## Slots / 插槽
7
7
 
8
- | Name | Description (EN) | Description (CN) |
9
- |------|-------------------|-------------------|
10
- | (default) | Default slot for the anchor element. | 锚点元素内容。 |
11
- | content | Custom tooltip content (overrides `content` property). | 自定义工具提示内容。 |
8
+ | Name | Description (EN) | Description (CN) |
9
+ | --------- | ------------------------------------------------------ | -------------------- |
10
+ | (default) | Default slot for the anchor element. | 锚点元素内容。 |
11
+ | content | Custom tooltip content (overrides `content` property). | 自定义工具提示内容。 |
12
12
 
13
13
  ## Properties / 属性
14
14
 
15
- | Name | Type | Default | Description (EN) | Description (CN) |
16
- |------|------|---------|-------------------|-------------------|
17
- | content | String | '' | Tooltip text content. | 工具提示文本内容。 |
18
- | title | `string` | `''` | Display title (shown as tooltip). | 显示标题(作为工具提示)。 |
19
- | icon | `string` | `''` | Icon name to display before the tooltip content. | 在工具提示内容前显示的图标名称。 |
20
- | placement | 'top' \| 'right' \| 'bottom' \| 'left' | 'top' | Tooltip placement relative to anchor. | 工具提示相对于锚点的位置。 |
15
+ | Name | Type | Default | Description (EN) | Description (CN) |
16
+ | --------- | -------------------------------------- | ------- | ------------------------------------------------ | -------------------------------- |
17
+ | content | String | '' | Tooltip text content. | 工具提示文本内容。 |
18
+ | title | `string` | `''` | Display title (shown as tooltip). | 显示标题(作为工具提示)。 |
19
+ | icon | `string` | `''` | Icon name to display before the tooltip content. | 在工具提示内容前显示的图标名称。 |
20
+ | placement | 'top' \| 'right' \| 'bottom' \| 'left' | 'top' | Tooltip placement relative to anchor. | 工具提示相对于锚点的位置。 |
21
21
 
22
22
  ## Events / 事件
23
23
 
24
- | Name | Detail | Description (EN) | Description (CN) |
25
- |------|--------|-------------------|-------------------|
26
- | aithe-open-change | { open } | Inherited from AnchoredOverlay; emitted on open state change. | 开关状态变更时触发。 |
24
+ | Name | Detail | Description (EN) | Description (CN) |
25
+ | --------------------- | -------- | ------------------------------------------------------------- | -------------------------------------------- |
26
+ | aithe-dropdown-change | { open } | Inherited from AnchoredOverlay; emitted on open state change. | 继承自 AnchoredOverlay,开关状态变更时触发。 |
27
27
 
28
28
  ## Examples / 示例
29
29
 
@@ -31,4 +31,4 @@
31
31
  <aithe-tooltip content="Help text here" title="Help" icon="info" placement="top">
32
32
  <button>Hover me</button>
33
33
  </aithe-tooltip>
34
- ```
34
+ ```